Backport &key-parsing improvement from trunk
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-24 Daniel Colascione <dancol@dancol.org>
2
3 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
4 instead of cl-loop search function.
5
6 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
7
8 * frameset.el (frameset--initial-params): Fix typo in parameter name.
9
10 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11
12 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
13
14 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
15
16 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
17 Match special global variables without curlies, too.
18 (ruby-font-lock-keywords): Simplify the matcher for special global
19 variables. Don't require a non-word character after the variable.
20 (Bug#17057)
21
22 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * simple.el (redisplay-highlight-region-function): Increase priority of
25 overlay to make sure boundaries are visible (bug#15899).
26
27 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
28
29 * frameset.el (frameset-restore): Compare display strings with equal.
30
31 * frame.el (make-frame): Don't quote display name in error message,
32 it is already a string.
33
34 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
35
36 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
37 the password.
38
39 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
40
41 * emacs-lisp/package.el (package-show-package-list): If the buffer
42 is already displayed in another window, switch to that window.
43
44 2014-03-21 Daniel Colascione <dancol@dancol.org>
45
46 * mail/emacsbug.el (report-emacs-bug): Include memory usage
47 information in bug reports.
48
49 2014-03-23 Daniel Colascione <dancol@dancol.org>
50
51 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
52 list to look for keyword arguments instead of `memq', fixing
53 (Bug#3647) --- unfortunately, only for freshly-compiled code.
54 Please make bootstrap.
55
56 2014-03-23 Richard Stallman <rms@gnu.org>
57
58 * battery.el (battery-linux-sysfs): Search for each field
59 from the beginning of the buffer.
60
61 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
62
63 * emacs-lisp/package.el (package-desc): Use the contents of the
64 quoted form, not its cdr. (Bug#16873)
65
66 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
67
68 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
69 benefit of doc.c; change parameter profile to match the X function.
70
71 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
72
73 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
74 and `tramp-copy-env'.
75
76 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
77 (tramp-maybe-open-connection): Handle `tramp-login-env'.
78
79 2014-03-21 Glenn Morris <rgm@gnu.org>
80
81 * electric.el (electric-indent-post-self-insert-function): Add doc.
82
83 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
84
85 * emacs-lisp/package.el (package-compute-transaction):
86 Use `version-list-<=' to compare the requirement version against
87 the version of package already to be installed. Update the error
88 message. (Bug#16826)
89
90 * progmodes/ruby-mode.el (ruby-smie-rules):
91 Add indentation rule for ` @ '. (Bug#17050)
92
93 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
94
95 * align.el (align-regexp): Remove superfluous backslash.
96
97 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
98 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
99 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
100 Fix docstring typos.
101 (ffap-next): Use C-u in docstring.
102 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
103 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
104 Remove superfluous backslashes.
105 (ffap-string-at-point): Reflow docstring.
106
107 * server.el (server-host): Reflow docstring.
108 (server-unload-function): Fix docstring typo.
109 (server-eval-at): Remove superfluous backslash.
110
111 * skeleton.el (skeleton-insert): Remove superfluous backslash.
112 (skeleton-insert): Doc fix.
113 (skeleton-insert): Reflow docstring.
114
115 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
116 (tty-color-approximate, tty-color-by-index, tty-color-values)
117 (tty-color-desc): Remove superfluous backslashes.
118
119 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
120
121 * electric.el (electric-newline-and-maybe-indent): New command.
122 Bind it globally to C-j.
123 (electric-indent-mode): Don't mess with the global map any more.
124 Don't drop the post-self-insert-hook is some buffer is still using it
125 (bug#16770).
126 * bindings.el (global-map): Remove C-j binding.
127
128 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
129 the docstring of functions advised before dumping (bug#16993).
130
131 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
132
133 * ps-print.el (ps-generate-postscript-with-faces):
134 Explicitly deactivate the mark (bug#16866).
135 * simple.el (deactivate-mark): Update region highlight.
136
137 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
138
139 * emacs-lisp/package.el (describe-package-1):
140 Decode commentary (bug#16733).
141
142 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
143
144 * custom.el (defcustom): Doc fix: recommend avoiding destructive
145 modification of the value argument of :set (bug#16755).
146
147 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * simple.el (newline-and-indent): Do autofill (bug#17031).
150
151 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
152
153 * newcomment.el (comment-normalize-vars): Only add escaping check
154 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
155 (comment-beginning): Use `narrow-to-region' instead of moving back
156 one character.
157 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
158 (comment-start-skip): Update the docstring.
159
160 2014-03-18 Richard Stallman <rms@gnu.org>
161
162 * dired.el (dired-display-file): Force use of other window.
163
164 2014-03-18 Daniel Colascione <dancol@dancol.org>
165
166 * startup.el (tty-handle-args): Remove debug message from 2007.
167
168 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
171 (advice--make-interactive-form): Use it to avoid (auto)loading function.
172 (advice--make-1, advice-add, advice-remove):
173 Remove braindead :advice-pending hack.
174
175 2014-03-17 Glenn Morris <rgm@gnu.org>
176
177 * calendar/calendar.el (calendar-generate-month): Apply weekend
178 face to the right days; fixes 2013-08-06 change. (Bug#17028)
179
180 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
181
182 * net/tramp.el (tramp-action-out-of-band): Read pending output.
183 (tramp-call-process): Trace also DESTINATION.
184
185 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
186 Quote file names when they are local. Remove superfluous trace.
187
188 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
189
190 * newcomment.el (comment-beginning): If `comment-start-skip'
191 doesn't match, move back one char and try again. (Bug#16971)
192
193 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
194 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
195 Set `comment-start-skip' to a simpler value that doesn't try to
196 check if the semicolon is escaped (this is handled by
197 `syntax-ppss' now). (Bug#16971)
198
199 * progmodes/scheme.el (scheme-mode-variables): Same.
200
201 2014-03-16 Martin Rudalics <rudalics@gmx.at>
202
203 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
204 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
205 current (Bug#16816, Bug#17007).
206 (with-current-buffer-window): New macro doing the same as
207 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
208 * help.el (help-print-return-message): Warn in doc-string to not
209 use this in `with-help-window'.
210 (describe-bindings-internal): Call `describe-buffer-bindings'
211 from within help buffer. See Juanma's scenario in (Bug#16816).
212 (with-help-window): Update doc-string.
213 * dired.el (dired-mark-pop-up):
214 * files.el (save-buffers-kill-emacs):
215 * register.el (register-preview): Use `with-current-buffer-window'
216 instead of `with-temp-buffer-window'.
217
218 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
219
220 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
221 Implement inserting into current buffer, documented in their docstrings.
222 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
223 (rst-section-tree-point, rst-forward-section, rst-indent)
224 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
225 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
226 (rst-font-lock-handle-adornment-pre-match-form)
227 (rst-repeat-last-character): Reflow docstrings.
228 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
229 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
230 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
231 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
232 Fix docstring typos.
233 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
234 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
235 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
236
237 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
238
239 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
240 for compatibility with other ports.
241 (ns-initialize-window-system): Use it. It is set in term/common-win.el
242 from the -xrm command line argument, but in the Nextstep port its value
243 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
244
245 * progmodes/python.el (defconst, python-syntax-count-quotes)
246 (python-indent-region, python-indent-shift-right)
247 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
248 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
249 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
250 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
251 (inferior-python-mode, python-shell-make-comint, run-python-internal)
252 (python-shell-buffer-substring, python-shell-send-buffer)
253 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
254 (python-completion-complete-at-point, python-fill-docstring-style)
255 (python-eldoc-function, python-imenu-format-item-label)
256 (python-imenu-format-parent-item-label)
257 (python-imenu-format-parent-item-jump-label)
258 (python-imenu--build-tree, python-imenu-create-index)
259 (python-imenu-create-flat-index): Fix docstring typos.
260 (python-indent-context, python-shell-prompt-regexp, run-python):
261 Remove superfluous backslashes.
262 (python-indent-line, python-nav-beginning-of-defun)
263 (python-shell-get-buffer, python-shell-get-process)
264 (python-info-current-defun, python-info-current-line-comment-p)
265 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
266 (python-indent-post-self-insert-function, python-shell-send-file)
267 (python-shell-completion-get-completions)
268 (python-shell-completion-complete-or-indent)
269 (python-eldoc--get-doc-at-point): Reflow docstrings.
270
271 2014-03-14 Glenn Morris <rgm@gnu.org>
272
273 * emacs-lisp/package.el (package-menu-mode-map):
274 Replace use of obsolete function alias. Tweak menu item text.
275
276 * info.el (Info-finder-find-node):
277 Ignore the `emacs' metapackage. (Bug#10813)
278
279 * finder.el (finder-list-matches): Include unversioned packages
280 in the result of a keyword search.
281
282 * finder.el (finder--builtins-descriptions): New constant.
283 (finder-compile-keywords): Use finder--builtins-descriptions.
284
285 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
286
287 * simple.el (blink-matching-paren): Describe the new value,
288 `jump', enabling the old behavior.
289 (blink-matching-open): Use that value. (Bug#17008)
290
291 2014-03-14 Glenn Morris <rgm@gnu.org>
292
293 * finder.el (finder-no-scan-regexp): Add leim-list.
294 (finder-compile-keywords):
295 Don't skip files with same basename. (Bug#14010)
296 * Makefile.in (setwins_finder): New, excluding leim.
297 (finder-data): Use setwins_finder.
298
299 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
300 (help-function-arglist, help-make-usage): Move from here...
301 * help.el (help-split-fundoc, help-add-fundoc-usage)
302 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
303 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
304
305 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
306
307 * net/socks.el (socks, socks-override-functions)
308 (socks-find-services-entry):
309 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
310 (hif-find-ifdef-block):
311 * progmodes/modula2.el (m2-indent): Fix docstring typos.
312
313 * net/tls.el (tls-program): Reflow docstring.
314
315 * progmodes/pascal.el (pascal-mode-abbrev-table)
316 (pascal-imenu-generic-expression, pascal-auto-endcomments)
317 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
318 (pascal-outline-mode): Fix docstring typos.
319 (pascal-mode): Let define-derived-mode document mode hook.
320 (pascal-uncomment-area): Reflow.
321 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
322
323 * progmodes/opascal.el (opascal-compound-block-indent)
324 (opascal-case-label-indent): Fix docstring typos.
325 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
326
327 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
328
329 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
330 Fontify multiple adjacent negation chars. (Bug#17004)
331
332 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
333
334 * emacs-lisp/package.el (package--prepare-dependencies):
335 Accept requirements without explicit version (bug#14941).
336
337 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
338
339 * register.el (register-separator, copy-to-register): Doc fixes.
340 (register-preview-default): Remove unnecessary call to concat.
341
342 * frameset.el (frameset-restore): When checking for a visible frame,
343 use the action map instead of calling visible-frame-list.
344
345 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
346
347 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
348
349 2014-03-12 Martin Rudalics <rudalics@gmx.at>
350
351 * window.el (fit-frame-to-buffer): Get maximum width from
352 display's width instead of height.
353
354 2014-03-12 Glenn Morris <rgm@gnu.org>
355
356 * desktop.el (desktop-restore-frames)
357 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
358 (desktop-restore-reuses-frames): Doc tweaks.
359
360 * electric.el (electric-indent-mode): Doc fix.
361
362 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
363
364 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
365 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
366 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
367 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
368 (cvs-dired-use-hook): Fix docstring typos.
369 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
370 Doc fixes.
371
372 * vc/pcvs-defs.el (cvs-auto-remove-handled)
373 (cvs-auto-remove-directories, cvs-default-ignore-marks)
374 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
375 (cvs-execute-single-dir): Fix docstring typos.
376
377 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
378 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
379
380 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
381
382 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
383 Fix docstring typos.
384
385 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
386
387 * frameset.el (frameset--jump-to-register): Add autoload; it could be
388 called from jump-to-register after unloading the frameset package.
389
390 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
393 (bug#16975). Deactivate the mark before setting it to nil.
394 (activate-mark): Do nothing if region is already active.
395
396 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
397
398 * frameset.el (frameset--target-display): Remove definition; declare.
399 (frameset-save, frameset-restore): Let-bind frameset--target-display.
400
401 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
404 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
405 when the advice is pending.
406 (advice-remove): Remove this marker when not needed any more.
407
408 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
409
410 * frameset.el: Separate options for reusing frames and cleaning up.
411 (frameset--reuse-list): Remove definition; declare.
412 (frameset--action-map): Declare.
413 (frameset--find-frame-if): Doc fix.
414 (frameset--restore-frame): Cache frame action.
415 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
416 how to clean up the frame list after restoring. Remove cleaning
417 options from REUSE-FRAMES. Change all keyword values to symbols.
418 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
419
420 * desktop.el (desktop-restore-forces-onscreen)
421 (desktop-restore-reuses-frames): Use non-keyword values.
422 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
423
424 2014-03-10 Glenn Morris <rgm@gnu.org>
425
426 * files.el (find-file): Doc fix: update info node name.
427
428 * emacs-lisp/advice.el (ad-add-advice, defadvice):
429 Doc fix: remove references to deleted info nodes.
430
431 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
432
433 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
434 Do not add `nil' to the environment, when there's no remote `locale'.
435 (tramp-find-inline-encoding): Check, that the remote host has
436 installed perl, before sending scripts.
437
438 2014-03-10 Leo Liu <sdl.web@gmail.com>
439
440 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
441 Clear eldoc-last-message. (Bug#16920)
442
443 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
446 (bug#14430).
447
448 2014-03-09 Juri Linkov <juri@jurta.org>
449
450 * ansi-color.el (ansi-color-names-vector): Copy default colors
451 from `xterm-standard-colors' that look well on the default white
452 background (and also on the black background) to avoid illegible
453 color combinations like yellow-on-white and white-on-white.
454 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
455
456 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
457
458 * frameset.el (frameset-restore): When no frame is visible, do not
459 generate a list of frames, just make visible the selected one.
460
461 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
462
463 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
464 it only contains the repository root. (Bug#16897)
465
466 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
467
468 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
469 only when `remote-file-name-inhibit-cache' is nil.
470 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
471
472 2014-03-06 Martin Rudalics <rudalics@gmx.at>
473
474 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
475 Fix doc-strings.
476 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
477 fit-frame-to-buffer variable. Fix doc-string.
478 (fit-window-to-buffer): Set ONLY argument in call of
479 fit-frame-to-buffer. Fix doc-string.
480
481 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
482
483 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
484 (tramp-action-password): Clear password cache if needed.
485 (tramp-read-passwd): Do not clear password cache.
486
487 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
488 cache unless it is the first password request.
489
490 2014-03-06 Glenn Morris <rgm@gnu.org>
491
492 * simple.el (newline): Doc tweak.
493
494 * emacs-lisp/shadow.el (load-path-shadows-find):
495 Ignore dir-locals. (Bug#12357)
496
497 2014-03-05 Glenn Morris <rgm@gnu.org>
498
499 * files.el (interpreter-mode-alist):
500 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
501
502 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
503
504 * frameset.el (frameset--initial-params): Filter out null entries.
505
506 2014-03-05 Martin Rudalics <rudalics@gmx.at>
507
508 * window.el (window-min-height, window-min-width):
509 Rewrite doc-strings.
510 (window-body-size): Add PIXELWISE argument to make it consistent
511 with its callees.
512
513 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
514
515 * finder.el (finder-mode-map, finder-mode-syntax-table):
516 Revert part of 2014-02-28 change.
517
518 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
519
520 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
521 (eww-setup-buffer): Clear next/prev/etc more reliably.
522 (eww-textarea-map): [tab] doesn't work on tty.
523 Reported by Mario Lang.
524
525 * net/shr.el (shr-map): Ditto.
526
527 2014-03-04 Glenn Morris <rgm@gnu.org>
528
529 * minibuffer.el (completion-hilit-commonality):
530 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
531
532 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
533
534 * hilit-chg.el (hilit-chg-unload-function): New function.
535 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
536 (hilit-chg-map-changes): Prefer cardinal number to digit.
537 (hilit-chg-display-changes): Reflow docstring.
538 (highlight-changes-rotate-faces): Remove superfluous backslash.
539
540 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
541
542 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
543 `tramp-send-command-and-check'.
544
545 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
546
547 * hexl.el (hexl-address-region, hexl-ascii-region)
548 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
549 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
550 (hexl-forward-word, hexl-previous-line, hexl-next-line):
551 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
552 (hexl-mode): Doc fix.
553 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
554 (hexl-mode-ruler): Fix typos in docstrings.
555
556 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
557 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
558 Remove superfluous backslashes.
559 (strokes-last-stroke, strokes-global-map, strokes-mode):
560 Reflow docstrings.
561 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
562 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
563 (strokes-distance-squared, strokes-global-set-stroke)
564 (strokes-global-set-stroke-string): Doc fixes.
565 (strokes-help): Fix typos; reflow docstring.
566
567 2014-03-04 Martin Rudalics <rudalics@gmx.at>
568
569 * window.el (window-in-direction): Fix doc-string.
570
571 2014-03-04 Glenn Morris <rgm@gnu.org>
572
573 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
574 Explicit error if no grammar.
575 (smie-config-save): Doc fix. Fix quote typo.
576
577 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
578
579 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
580 electric-indent-mode-hook if we obey electric-indent-mode.
581 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
582 decide whether we obey electric-indent-mode.
583 (c-change-set-fl-decl-start, c-extend-after-change-region):
584 Silence warnings.
585 (c-electric-indent-mode-hook): Assume we do want to obey
586 electric-indent-mode.
587
588 * electric.el (electric-indent-mode-has-been-called): Remove.
589 (electric-indent-mode): Fix accordingly.
590
591 * files.el (hack-local-variables): Mention file name in warning.
592
593 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
594
595 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
596
597 * binding.el: Add comment describing why C-d binds to `delete-char'.
598 * simple.el (delete-forward-char): Mark as interactive-only.
599
600 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
601
602 * icomplete.el (icomplete-completions):
603 Follow-up to 2014-03-01 change.
604
605 * icomplete.el: Miscellaneous doc fixes.
606 Use Icomplete everywhere instead of icomplete for consistency.
607 (icomplete-max-delay-chars): Fix typo.
608 (icomplete-mode): Use \[].
609 (icomplete-tidy, icomplete-exhibit): Reflow.
610 (icomplete-minibuffer-setup-hook, icomplete-completions):
611 Remove superfluous backlashes.
612
613 * ido.el: Miscellaneous doc fixes.
614 Use Ido everywhere instead of ido or `ido' for consistency.
615 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
616 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
617 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
618 (ido-separator): Extract obsolescence info from docstring and declare
619 with make-obsolete-variable.
620 (ido-minibuffer-setup-hook): Simplify example.
621 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
622 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
623 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
624 (ido-everywhere): Reflow docstring.
625 (ido-toggle-vc): Doc fix.
626 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
627 of long list of keybindings.
628
629 2014-03-03 Glenn Morris <rgm@gnu.org>
630
631 * frame.el (display-pixel-height, display-pixel-width)
632 (display-mm-dimensions-alist, display-mm-height)
633 (display-mm-width): Doc tweaks.
634
635 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
636
637 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
638 case of undo in region.
639
640 2014-03-02 Martin Rudalics <rudalics@gmx.at>
641
642 * window.el (fit-window-to-buffer): Fix argument in window-size
643 call when window is horizontally combined.
644
645 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
646
647 * icomplete.el (icomplete-completions): Use string-width.
648 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
649
650 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
651
652 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
653 Highlight regexp options. (Bug#16914)
654
655 2014-03-01 Martin Rudalics <rudalics@gmx.at>
656
657 * window.el (window--max-delta-1): Round down when calculating
658 how many lines/columns we can get from a window.
659
660 2014-03-01 Glenn Morris <rgm@gnu.org>
661
662 * isearch.el (search-invisible): Doc fix.
663
664 * minibuffer.el (completion-hilit-commonality):
665 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
666 * comint.el (comint-dynamic-list-completions): Doc fix.
667 * comint.el (comint-dynamic-list-completions):
668 * filecache.el (file-cache-minibuffer-complete):
669 * tempo.el (tempo-display-completions):
670 * eshell/em-hist.el (eshell-list-history):
671 Replace use of obsolete argument of display-completion-list.
672
673 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
674
675 * icomplete.el (icomplete-completions):
676 Revert back to using "..." when ?… cannot be displayed.
677
678 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
679
680 * finder.el (finder-unload-function): New function.
681
682 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
683
684 * dframe.el (dframe-detach):
685 * find-dired.el (find-dired, find-name-dired):
686 * finder.el (finder-mode-map, finder-mode-syntax-table)
687 (finder-headmark, finder-select, finder-mouse-select):
688 Fix docstring typos.
689
690 2014-02-28 Martin Rudalics <rudalics@gmx.at>
691
692 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
693 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
694 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
695 Fix doc-string based on a suggestion by Nicolas Richard
696 <theonewiththeevillook@yahoo.fr>.
697 * help.el (with-help-window): Fix doc-string.
698
699 2014-02-28 Ivan Kanis <ivan@kanis.fr>
700
701 * net/shr.el (shr-image-animate): New option.
702 (shr-put-image): Respect shr-image-animate.
703
704 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
705
706 * net/tramp-adb.el (tramp-adb-parse-device-names):
707 Use `accept-process-output'.
708 (tramp-adb-handle-file-truename): Cache the localname only.
709 (tramp-adb-handle-make-directory)
710 (tramp-adb-handle-delete-directory): Flush file properties correctly.
711 (tramp-adb-handle-set-file-modes): Do not raise an error when file
712 modes cannot be changed.
713
714 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
715 file properties of symlinks.
716
717 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
718
719 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
720 required/optional fields to match development biblatex. (Bug#16781)
721
722 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
723
724 * saveplace.el (toggle-save-place):
725 Fix argument handling. (Bug#16673)
726
727 2014-02-28 Glenn Morris <rgm@gnu.org>
728
729 * minibuffer.el (completions-first-difference)
730 (completions-common-part, completion-hilit-commonality): Doc fixes.
731
732 2014-02-28 Karl Berry <karl@gnu.org>
733
734 * info.el (Info-mode-map): Add H for describe-mode,
735 to synchronize with standalone Info.
736
737 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
738
739 * progmodes/sql.el (sql-interactive-mode):
740 Avoid setting global comint-input-ring-separator. (Bug#16814)
741
742 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
743
744 * net/dbus.el (dbus--init-bus): Declare function.
745 (dbus-path-local, dbus-interface-local): New defconst.
746 (dbus-init-bus): Use them.
747 (dbus-return-values-table): Extend doc.
748 (dbus-handle-bus-disconnect): Extend error message.
749
750 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
751
752 * subr.el (y-or-n-p): Fix double space issue in message.
753
754 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
755
756 * net/tramp.el (tramp-call-process): Improve trace message.
757 (tramp-handle-insert-file-contents): Trace error case.
758
759 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
760 <insert-directory>: Use `tramp-handle-insert-directory'.
761 (tramp-adb-handle-insert-directory): Remove function.
762 (tramp-adb-send-command-and-check): New defun, replacing
763 `tramp-adb-command-exit-status'. Change all callees.
764 (tramp-adb-handle-file-attributes)
765 (tramp-adb-handle-directory-files-and-attributes): Use it.
766 (tramp-adb-ls-output-name-less-p):
767 Use `directory-listing-before-filename-regexp'.
768 (tramp-adb-handle-delete-directory): Flush also file properties of
769 the truename of directory.
770 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
771 (tramp-adb-handle-file-local-copy): Make the local copy readable.
772 (tramp-adb-handle-write-region): Implement APPEND.
773 (tramp-adb-handle-rename-file): Make it more robust. Flush file
774 properties correctly.
775 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
776 variables. Check for connected devices only when needed.
777
778 2014-02-27 Glenn Morris <rgm@gnu.org>
779
780 * minibuffer.el (completion-table-dynamic)
781 (completion-table-with-cache): Doc fixes.
782
783 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
784 (completing-read-multiple): Doc fixes.
785
786 2014-02-27 Daniel Colascione <dancol@dancol.org>
787
788 * minibuffer.el (completion--nth-completion): Fix indentation.
789
790 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
791 explicit tramp path is empty.
792
793 2014-02-27 Glenn Morris <rgm@gnu.org>
794
795 * emacs-lisp/crm.el (completing-read-multiple):
796 Empower help-enable-auto-load.
797
798 2014-02-26 Glenn Morris <rgm@gnu.org>
799
800 * startup.el (command-line): Don't init the tty in daemon mode.
801
802 Avoid calling tty-setup-hook twice, eg if a term file
803 explicitly calls tty-run-terminal-initialization. (Bug#16859)
804 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
805 (tty-create-frame-with-faces): Use it.
806 * startup.el (command-line): Pass run-hook argument
807 to tty-run-terminal-initialization.
808
809 * dired.el (dired-restore-desktop-buffer): Demote errors;
810 eg in case a glob match fails. (Bug#16884)
811
812 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
813
814 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
815 error from `read-from-string'. (Bug#16850)
816
817 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
818 result of `completing-read' in the interactive form. (Bug#16854)
819
820 2014-02-25 Glenn Morris <rgm@gnu.org>
821
822 * image.el (image-animate, image-animate-timeout):
823 Stop animating images in dead buffers. (Bug#16878)
824
825 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
826
827 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
828 Doc fixes.
829 * startup.el (term-setup-hook): Doc fix. Make obsolete.
830 * term/sun.el (sun-raw-prefix-hooks):
831 Use tty-setup-hook instead of term-setup-hook.
832 (terminal-init-sun): Construct message from bytecomp plist.
833 * term/wyse50.el (enable-arrow-keys): Doc fix.
834
835 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
836
837 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
838 Fix docstring typos.
839
840 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
841
842 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
843
844 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
845
846 * minibuffer.el (completion--try-word-completion):
847 Fix error when completing M-x commands (bug#16808).
848
849 2014-02-24 Leo Liu <sdl.web@gmail.com>
850
851 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
852
853 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
854
855 * apropos.el (apropos-print): Avoid formatting error when
856 apropos-do-all and apropos-compact-layout are both t.
857
858 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
859
860 * apropos.el (apropos-property, apropos-all-words-regexp)
861 (apropos-true-hit, apropos-variable, apropos-print):
862 Fix docstring typos, and remove obsolete comment.
863
864 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
865
866 * net/tramp-sh.el (tramp-sh-handle-file-truename):
867 Preserve trailing "/". (Bug#16851)
868
869 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
870
871 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
872 after `=>' (bug#16811).
873 (ruby-smie-rules): Handle the inconsistent second element of the
874 list returned by `smie-indent--parent'.
875 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
876 method call.
877
878 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
879
880 * elec-pair.el (electric-pair-text-syntax-table)
881 (electric-pair-syntax-info, electric-pair--syntax-ppss)
882 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
883 (electric-pair--looking-at-unterminated-string-p): Doc fix.
884 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
885
886 2014-02-22 Glenn Morris <rgm@gnu.org>
887
888 * imenu.el (imenu--generic-function): Doc fix.
889
890 * register.el (frame-configuration-to-register): Make obsolete.
891
892 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
893
894 * desktop.el (desktop-save-buffer-p): Do not fail when
895 desktop-files-not-to-save is nil. Return t for true result
896 as the doc says.
897
898 2014-02-22 Daniel Colascione <dancol@dancol.org>
899
900 * net/secrets.el (secrets-create-item, secrets-search-items):
901 Check that attribute values are strings, avoiding the construction
902 of invalid dbus messages.
903
904 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
905
906 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
907 defun-declarations-alist.
908
909 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
910
911 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
912 (bug#16829).
913
914 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
915
916 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
917 (whitespace-newline, whitespace-trailing, whitespace-line)
918 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
919 (whitespace-space-after-tab): Fix typo in docstrings.
920
921 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
922
923 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
924
925 * electric.el (electric-indent-functions-without-reindent):
926 Add `yaml-indent-line'.
927
928 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
929
930 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
931 It has done nothing for years; should be removed after the release.
932
933 * simple.el (choose-completion): Fix docstring typo.
934 (read-quoted-char-radix): Remove unneeded * in docstring.
935 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
936 Don't escape parentheses unnecessarily in docstrings.
937
938 2014-02-21 Martin Rudalics <rudalics@gmx.at>
939
940 Fix handling of window-min-height/-width (Bug#16738).
941 * window.el (window--dump-window, window--dump-frame):
942 New functions.
943 (window--min-size-1): Account for window dividers.
944 When window-resize-pixelwise is nil, delay rounding till after the
945 sum of the window components has been calculated.
946 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
947 nil make sure at least one text line and two text columns remain
948 fully visible.
949 (window-resize): Signal an error when window-resize-apply fails.
950 (window--resize-child-windows): Fix calculation of by how many
951 pixels a window can still be shrunk via window-new-normal.
952 (adjust-window-trailing-edge): Call window--resizable with
953 correct TRAIL argument.
954
955 (with-temp-buffer-window): Don't evaluate BODY within
956 with-current-buffer (Bug#16816).
957
958 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
959
960 * net/tramp.el (tramp-check-cached-permissions):
961 Call `file-attributes' with `suffix' being a symbol but a string.
962
963 2014-02-21 Daniel Colascione <dancol@dancol.org>
964
965 * net/dbus.el (dbus-init-bus-1): Declare new subr.
966 (dbus-init-bus): New function: call into dbus-init-bus-1
967 and installs a handler for the disconnect signal.
968 (dbus-call-method): Rewrite to look for result in cons.
969 (dbus-call-method-handler): Store result in cons.
970 (dbus-check-event): Recognize events with nil sender as valid.
971 (dbus-handle-bus-disconnect): New function. React to bus
972 disconnection signal by synthesizing dbus error for each
973 pending synchronous or asynchronous call.
974 (dbus-notice-synchronous-call-errors): New function.
975 (dbus-handle-event): Raise errors directly only when `dbus-debug'
976 is true, not all the time.
977
978 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
979
980 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
981 Remove obsolescence declarations, these variables do not exist anymore.
982
983 * savehist.el (savehist-save-minibuffer-history)
984 (savehist-additional-variables, savehist-file, savehist-mode-hook)
985 (savehist-save-hook, savehist-coding-system, savehist-loaded)
986 (savehist-load, savehist-install, savehist-autosave): Fix typos;
987 mostly, refer to "Savehist mode" when talking about the mode,
988 and not the function.
989
990 * saveplace.el (save-place): Remove redundant info in docstring.
991 (save-place-forget-unreadable-files, toggle-save-place)
992 (save-place-forget-unreadable-files, save-place-dired-hook):
993 Fix typos and remove unneeded backslashes.
994
995 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
996
997 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
998 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
999
1000 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1001 <insert-directory>: Use `tramp-handle-insert-directory'.
1002 (tramp-gvfs-handle-insert-directory): Remove function.
1003
1004 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1005 Call `tramp-handle-insert-directory'.
1006
1007 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1008
1009 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1010 before the start of buffer/region (bug#16799).
1011
1012 2014-02-20 Glenn Morris <rgm@gnu.org>
1013
1014 * isearch.el (search-invisible): Doc fix.
1015
1016 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1017
1018 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1019 (bug#16657).
1020
1021 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1022
1023 * frameset.el (frameset-restore): Delay removing an old frame's
1024 duplicate id until the new frame has been correctly created.
1025
1026 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1027
1028 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1029 (tramp-check-cached-permissions): Call `file-attributes' if the
1030 cache is empty.
1031
1032 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1033 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1034
1035 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1036 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1037 (tramp-gvfs-maybe-open-connection): Set always connection
1038 properties, even if target is mounted already.
1039
1040 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1041 Set tramp-autoload cookie.
1042 (tramp-get-remote-touch): New defun.
1043 (tramp-sh-handle-set-file-times): Use it.
1044 (tramp-sh-handle-directory-files-and-attributes):
1045 Use `tramp-handle-directory-files-and-attributes' if neither stat
1046 nor perl are available on the remote host.
1047
1048 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1049 "/". Write long listing only when "l" belongs to the switches.
1050
1051 * net/trampver.el: Update release number.
1052
1053 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1054
1055 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1056
1057 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1058
1059 * window.el (window-state-put): Allow WINDOW to refer to an
1060 internal window (Bug#16793).
1061
1062 2014-02-19 Glenn Morris <rgm@gnu.org>
1063
1064 * textmodes/remember.el: Move provide statement to end.
1065 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1066 (remember-notes): Doc fixes.
1067
1068 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * delsel.el (delete-char): Restore incorrectly erased property
1071 (bug#16795).
1072
1073 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1074
1075 * frameset.el (frameset--restore-frame): When a frame is being reused
1076 and its root window is not alive, delete all the frame's windows before
1077 restoring the window state. This works around the issue in bug#16793.
1078
1079 2014-02-18 Glenn Morris <rgm@gnu.org>
1080
1081 * textmodes/remember.el (remember-data-directory)
1082 (remember-directory-file-name-format, remember-store-in-files)
1083 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1084 (remember-notes-save-and-bury-buffer)
1085 (remember-notes--kill-buffer-query): Doc fixes.
1086
1087 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1088
1089 2014-02-17 Alan Mackenzie <acm@muc.de>
1090
1091 Connect electric-indent-mode up with CC Mode. Bug #15478.
1092 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1093 to electric-indent-{,local-}-mode.
1094 (c-basic-common-init): Set electric-indent-inhibit.
1095 Initialise c-electric-flag from electric-indent-mode.
1096 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1097 New hook functions which propagate electric-indent-mode to CC mode.
1098
1099 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1100 hit, toggle electric-indent-local-mode.
1101
1102 * electric.el (electric-indent-mode-has-been-called):
1103 New variable.
1104
1105 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1106
1107 * frameset.el (frameset-cfg-id): New function.
1108 (frameset--reuse-frame, frameset-restore): Use it.
1109 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1110
1111 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * ido.el (ido-file-internal): Remove unused var `d'.
1114 Use \` for to match BoS. Fit within 80n columns.
1115
1116 2014-02-17 Daniel Colascione <dancol@dancol.org>
1117
1118 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1119 dbus-call-method check for completion using a busy-wait loop with
1120 gradual backoff.
1121
1122 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1123
1124 Sync with Tramp 2.2.9.
1125
1126 * net/trampver.el: Update release number.
1127
1128 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1129
1130 * ido.el (ido-file-internal): Don't add the name of an existing
1131 directory twice. (Bug#16747)
1132
1133 2014-02-16 Glenn Morris <rgm@gnu.org>
1134
1135 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1136 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1137
1138 2014-02-15 Michael R. Mauger <michael@mauger.com>
1139
1140 * progmodes/sql.el: Version 3.4
1141 (sql-oracle-options): New default value ("-L").
1142 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1143 (sql-placeholders-filter): Correct placeholder pattern.
1144 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1145 (sql-login-delay): New variable.
1146 (sql-product-interactive): Use it.
1147
1148 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1149
1150 * frameset.el (frameset--jump-to-register): Check that buffer is live
1151 (bug#16749).
1152
1153 2014-02-15 Glenn Morris <rgm@gnu.org>
1154
1155 * info.el (info-initialize): Revert 2014-01-10 change.
1156
1157 2014-02-14 Glenn Morris <rgm@gnu.org>
1158
1159 * replace.el (map-query-replace-regexp)
1160 (read-regexp-defaults-function, read-regexp): Doc fixes.
1161
1162 * dired.el (dired-read-regexp):
1163 * faces.el (list-faces-display):
1164 * misearch.el (multi-isearch-read-matching-buffers)
1165 (multi-isearch-read-matching-files):
1166 * play/cookie1.el (cookie-apropos):
1167 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1168
1169 * textmodes/remember.el (remember): Use frameset-to-register
1170 rather than frame-configuration-to-register.
1171
1172 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1173
1174 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1175 incorrect keybinding.
1176
1177 2014-02-13 Daniel Colascione <dancol@dancol.org>
1178
1179 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1180 when adding overlays so that line numbers from compiler match line
1181 numbers we use.
1182
1183 2014-02-13 Glenn Morris <rgm@gnu.org>
1184
1185 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1186
1187 * jit-lock.el (jit-lock-mode): Doc fix.
1188
1189 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1190
1191 * apropos.el (apropos-read-pattern): When the user passes an empty
1192 string, give a more helpful error message than "Wrong type
1193 argument: stringp, nil".
1194
1195 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1198
1199 2014-02-13 Glenn Morris <rgm@gnu.org>
1200
1201 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1202
1203 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1206 shift-select commands.
1207
1208 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1209
1210 * progmodes/js.el (js-indent-line): Don't widen.
1211 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1212
1213 2014-02-12 Glenn Morris <rgm@gnu.org>
1214
1215 * icomplete.el (icomplete): Add info-link to defgroup.
1216 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1217 (icomplete-minibuffer-map, icomplete-mode)
1218 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1219
1220 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1221 (package-menu-filter): Rename from package-menu-filter-interactive.
1222 Doc fix.
1223
1224 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1225
1226 * frameset.el (frameset--jump-to-register): Select the required
1227 window and buffer before restoring position (bug#16696).
1228
1229 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1230
1231 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1232
1233 2014-02-10 Glenn Morris <rgm@gnu.org>
1234
1235 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1236
1237 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1238
1239 * w32-common-fns.el (x-get-selection): Doc fix.
1240 * select.el (x-get-selection): Doc fix. (Bug#15109)
1241
1242 * face-remap.el (face-remap-add-relative)
1243 (face-remap-remove-relative, face-remap-reset-base)
1244 (face-remap-set-base): Call force-mode-line-update to redisplay
1245 the current buffer due to potential change in faces. (Bug#16709)
1246
1247 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1248
1249 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1250 script more robustly.
1251
1252 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1253
1254 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1255
1256 * simple.el (choose-completion): Doc fix (bug#14160).
1257
1258 * subr.el (event-start): Say what a nil EVENT value means.
1259
1260 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1261 (bug#14197).
1262
1263 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1264
1265 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1266
1267 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1268
1269 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1270 predicate function (bug#15455).
1271
1272 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1273
1274 * ielm.el (inferior-emacs-lisp-mode): Instead of
1275 `comment-use-global-state', set `comment-use-syntax'.
1276
1277 2014-02-10 Glenn Morris <rgm@gnu.org>
1278
1279 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1280
1281 2014-02-09 Alan Mackenzie <acm@muc.de>
1282
1283 Fix c-invalidate-state-cache on narrowed buffers.
1284 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1285 Widen when setting and clearing the CPP delimiter properties.
1286
1287 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1288
1289 * help.el (describe-bindings): Doc fix (bug#9888).
1290
1291 * files.el (save-buffer): Use ARG as the parameter name for
1292 consistency (bug#10346).
1293 (save-buffer): Clarify the 0 argument (bug#10346).
1294
1295 * cus-edit.el (customize-apropos): Fix error string.
1296 (custom-buffer-create): Doc fix (bug#11122).
1297 (custom-sort-items): Doc fix (bug#11121).
1298
1299 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1300
1301 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1302 (icomplete-simple-completing-p): Mention the previous variable.
1303
1304 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1305 meaning of the parameter (bug#12282).
1306
1307 * files.el (find-file-noselect): Clarify prompt when changing
1308 readedness (bug#13261).
1309 (locate-file): Suffixes aren't returned, so don't say that they
1310 are (bug#12674).
1311 (backup-inhibited): Doc clarification (bug#12525).
1312
1313 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1314 before we actually start to delete things (bug#16331).
1315
1316 * subr.el (event-start): Doc fix (bug#14228).
1317 (event-end): Ditto.
1318
1319 2014-02-09 Glenn Morris <rgm@gnu.org>
1320
1321 * emacs-lisp/warnings.el (lwarn):
1322 Empower help-enable-auto-load. (Bug#15940)
1323
1324 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1325
1326 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1327 (Bug#16690)
1328
1329 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1330
1331 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1332 Insert output at end of buffer. (Bug#16120)
1333
1334 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1335
1336 * simple.el (choose-completion-string-functions): Document new
1337 calling convention (bug#14153).
1338 (execute-extended-command): Clarify doc string (bug#13373).
1339
1340 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1341
1342 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1343 (find-grep-dired): Doc fix (bug#14288).
1344
1345 2014-02-08 Juri Linkov <juri@jurta.org>
1346
1347 * isearch.el (isearch-quote-char): Check character validity
1348 like in `quoted-insert' (bug#16677).
1349
1350 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1351
1352 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1353
1354 * isearch.el (isearch-hide-immediately): Doc clarification
1355 (bug#14723).
1356
1357 * simple.el (line-move): Document utility function used many
1358 places in the Emacs sources (bug#14843).
1359
1360 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1361 (dired-prev-marked-file): Doc fix (bug#14855).
1362 (dired-up-directory): Doc fix (bug#14848).
1363
1364 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1365
1366 * files.el (file-relative-name): Doc fix (bug#15159).
1367
1368 * fringe.el (fringe-styles): Doc fix (bug#15239).
1369
1370 * isearch.el (isearch-filter-predicate): Documentation typo fix
1371 (bug#15474).
1372
1373 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1374
1375 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1376
1377 * replace.el (replace-match-maybe-edit): Doc clarification
1378 (bug#15632).
1379
1380 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1381
1382 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1383
1384 2014-02-08 Glenn Morris <rgm@gnu.org>
1385
1386 * help-fns.el (describe-variable):
1387 Check {file,dir}-local-variables-alist, and buffer-file-name,
1388 in the correct buffer.
1389
1390 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1391
1392 * help-fns.el (describe-variable): Fix the case where
1393 a value is directory-local with no dir-locals file. (Bug#16635)
1394
1395 2014-02-08 Glenn Morris <rgm@gnu.org>
1396
1397 * abbrev.el (edit-abbrevs-mode):
1398 Derive from fundamental-mode. (Bug#16682)
1399
1400 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1401
1402 * simple.el (quoted-insert): Check character validity (bug#16677).
1403
1404 2014-02-07 Juri Linkov <juri@jurta.org>
1405
1406 * desktop.el (desktop-read): Claim the lock when the owner is not
1407 the current process. (Bug#16157)
1408
1409 2014-02-07 Juri Linkov <juri@jurta.org>
1410
1411 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1412 to "\\` ". (Bug#16651)
1413
1414 2014-02-07 Juri Linkov <juri@jurta.org>
1415
1416 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1417 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1418 (desktop-auto-save-cancel-timer): New function with some code from
1419 `desktop-auto-save-set-timer'.
1420 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1421 Instead of setting `desktop-save-mode' to nil, call
1422 `desktop-save-mode' with arg 0. (Bug#16630)
1423
1424 2014-02-07 Glenn Morris <rgm@gnu.org>
1425
1426 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1427 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1428 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1429
1430 * obsolete/iswitchb.el: Move to obsolete/.
1431 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1432 since obsolete/ is not scanned for autoloads.
1433 * emacs-lisp/authors.el (authors-valid-file-names):
1434 Add iswitchb.el.
1435
1436 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1437 Disable now non-functional find-file-hook.
1438
1439 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1440
1441 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1442 instead of ";" in order to avoid additional prompts. Let heredoc
1443 scripts read from tty. (Bug#16582)
1444 (tramp-send-command): No special handling of heredocs, it isn't
1445 necessary anymore.
1446
1447 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1450 with a space (bug#16664). Limit the symbols considered to the ones
1451 that are bound or fbound (bug#16646).
1452
1453 2014-02-06 Glenn Morris <rgm@gnu.org>
1454
1455 * epa.el (epa-mail-aliases): Doc fix.
1456
1457 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1458
1459 * emacs-lisp/lisp.el (lisp-completion-at-point):
1460 Use `completion-table-merge' instead of `completion-table-in-turn'
1461 (bug#16604).
1462
1463 * minibuffer.el (completion-table-merge): New function.
1464
1465 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1466
1467 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1468 (tramp-sh-handle-set-file-acl)
1469 (tramp-sh-handle-start-file-process)
1470 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1471 (tramp-find-executable, tramp-send-command): Use it.
1472
1473 2014-02-05 Glenn Morris <rgm@gnu.org>
1474
1475 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1476
1477 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1478
1479 * progmodes/python.el (python-shell-send-string)
1480 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1481
1482 2014-02-04 Anders Lindgren <andlind@gmail.com>
1483
1484 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1485 the names (bug#16620).
1486
1487 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1488
1489 * faces.el (window-divider): New default value. Rewrite doc-string.
1490 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1491
1492 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1493
1494 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1495 `protected' and `public' can also be called without arguments.
1496
1497 2014-02-03 Glenn Morris <rgm@gnu.org>
1498
1499 * register.el (window-configuration-to-register)
1500 (frame-configuration-to-register): Unadvertise unused argument.
1501 * frameset.el (frameset-to-register): Remove unused argument.
1502
1503 * frameset.el (frameset-to-register):
1504 * kmacro.el (kmacro-to-register):
1505 * register.el (increment-register):
1506 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1507 (calc-append-to-register, calc-prepend-to-register):
1508 * play/gametree.el (gametree-layout-to-register)
1509 (gametree-apply-register-layout):
1510 * textmodes/picture.el (picture-clear-rectangle-to-register)
1511 (picture-yank-rectangle-from-register):
1512 * vc/emerge.el (emerge-combine-versions-register):
1513 Use register-read-with-preview to read registers.
1514
1515 2014-02-03 João Távora <joaotavora@gmail.com>
1516
1517 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1518 when at beginning of (possibly narrowed) buffer.
1519
1520 2014-02-02 Daniel Colascione <dancol@dancol.org>
1521
1522 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1523 Also try to display local help from just before point.
1524
1525 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1526
1527 c-parse-state. Don't "append-lower-brace-pair" in certain
1528 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1529 recognised as a comment.
1530
1531 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1532 as well as normal comment starter.
1533 (c-parse-state-get-strategy): Extra return possibility
1534 'back-and-forward.
1535 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1536 return value list to indicate replacement of a brace-pair cons
1537 with its car.
1538 (c-parse-state-1): With 'back-and-forward, only call
1539 c-append-lower-brace-pair-to state-cache when cons-separated.
1540
1541 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1542
1543 * term/ns-win.el (ns-suspend-error): New function.
1544 (ns-initialize-window-system): Add ns-suspend-error to
1545 suspend-hook (Bug#16612).
1546
1547 2014-02-02 Daniel Colascione <dancol@dancol.org>
1548
1549 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1550 Make loading cc-mode silent.
1551
1552 2014-02-02 Daniel Colascione <dancol@dancol.org>
1553
1554 * comint.el (comint-prompt-read-only): Change doc to suggest
1555 remap keybinding.
1556
1557 2014-02-02 Glenn Morris <rgm@gnu.org>
1558
1559 * register.el (register-read-with-preview, point-to-register)
1560 (window-configuration-to-register, frame-configuration-to-register)
1561 (jump-to-register, number-to-register, view-register, insert-register)
1562 (copy-to-register, append-to-register, prepend-to-register)
1563 (copy-rectangle-to-register): Doc fixes.
1564
1565 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1568 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1569 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1570 * help-fns.el (describe-function-1): Use it.
1571
1572 2014-02-02 Glenn Morris <rgm@gnu.org>
1573
1574 * register.el (register-preview-default): New function,
1575 split from register-preview.
1576 (register-preview-function): Rename from register-preview-functions,
1577 make it not a hook.
1578 (register-preview): Use register-preview-function.
1579 (register-read-with-preview): Error on non-character event. (Bug#16595)
1580
1581 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1582
1583 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1584 `:' before binary operators (bug#16609). Don't check for `:'
1585 before `[' and `(', or their syntax status. A percent literal
1586 can't end with either.
1587 (ruby-font-lock-keywords): For built-ins that require arguments,
1588 check that they're followed by something that looks like argument
1589 (bug#16610).
1590
1591 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1592
1593 * subr.el (butlast): Document what an omitted N means (bug#13437).
1594 (nbutlast): Ditto.
1595
1596 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1597
1598 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1599 depth shallower (bug#16587).
1600 (shr-tag-svg): Respect `shr-inhibit-images'.
1601 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1602
1603 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1604
1605 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1606 (ruby-smie-grammar): Make "." right-associative. Make its priority
1607 lower than the ternary and all binary operators.
1608 (ruby-smie-rules): Indent "(" relative to the first non-"."
1609 parent, or the first "." parent at indentation.
1610 Use `ruby-align-chained-calls' for indentation of "." tokens.
1611 (Bug#16593)
1612
1613 2014-01-31 Juri Linkov <juri@jurta.org>
1614
1615 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1616 from `make-hash-table'.
1617
1618 * textmodes/ispell.el (ispell-init-process): Change message format
1619 to be consistent with other messages.
1620
1621 2014-01-31 Glenn Morris <rgm@gnu.org>
1622
1623 * delsel.el (delete-selection-mode): Doc fix.
1624
1625 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1626 (trace-function-background): Doc fixes.
1627
1628 * ido.el (ido-use-virtual-buffers): Doc fix.
1629 Reset :version, since the default value has not changed.
1630
1631 * register.el (register-preview-delay, register-read-with-preview):
1632 Doc fixes.
1633
1634 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1635 do not mess with mail-buffer position (fixes 2009-11-03 change).
1636 * progmodes/cc-mode.el (c-submit-bug-report):
1637 Check auto-fill-mode is bound. (Bug#16592)
1638
1639 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1640
1641 * startup.el (fancy-splash-image-file): New function,
1642 split from fancy-splash-head.
1643 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1644 so that we are both using the same image. (Bug#16574)
1645
1646 2014-01-30 Glenn Morris <rgm@gnu.org>
1647
1648 * simple.el (eval-expression): Doc fix.
1649
1650 * hexl.el (hexl-mode-hook):
1651 * ielm.el (ielm-mode-hook):
1652 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1653 (lisp-interaction-mode-hook):
1654 * progmodes/cfengine.e (cfengine3-documentation-function):
1655 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1656
1657 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1660 is a symbol (bug#16584).
1661
1662 2014-01-30 Glenn Morris <rgm@gnu.org>
1663
1664 * help.el (help-for-help-internal): Add "P" to text.
1665
1666 2014-01-29 Glenn Morris <rgm@gnu.org>
1667
1668 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1669
1670 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1671
1672 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1673 height constraints.
1674
1675 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1676
1677 * progmodes/hideif.el: Extend to full CPP expression syntax.
1678 (hif-token-alist): Add missing tokens.
1679 (hif-token-regexp): Add support for float/octal/hex immediates.
1680 (hif-string-literal-regexp): New const.
1681 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1682 (hif-exprlist): New function.
1683 (hif-parse-if-exp): Use it.
1684 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1685 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1686 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1687 (hif-logxor, hif-comma): New functions.
1688
1689 2014-01-28 Glenn Morris <rgm@gnu.org>
1690
1691 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1692
1693 * indent.el (tab-stop-list): Doc fix. Add :version.
1694
1695 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1696 (cvs-append-to-ignore): Add compatibility alias.
1697
1698 2014-01-27 Glenn Morris <rgm@gnu.org>
1699
1700 * dired.el (dired-hide-details-mode): Don't autoload it,
1701 since it cannot be used outside Dired buffers anyway.
1702
1703 * emulation/cua-base.el (cua-mode): Doc fix.
1704
1705 * dired.el (dired-hide-details-hide-symlink-targets)
1706 (dired-hide-details-hide-information-lines)
1707 (dired-hide-details-mode): Doc fixes.
1708
1709 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1710 * strokes.el (strokes-file): Doc fix. Bump :version.
1711 (strokes-help): Doc fix.
1712 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1713 * emulation/viper.el (viper): Doc fix for custom group.
1714 (top-level): Remove oh-so-no-longer-relevant text about vip.
1715 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1716
1717 * ido.el (ido-save-directory-list-file):
1718 * saveplace.el (save-place-file):
1719 * calendar/timeclock.el (timeclock-file):
1720 * net/quickurl.el (quickurl-url-file):
1721 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1722 * progmodes/idlwave.el (idlwave-config-directory):
1723 * textmodes/remember.el (remember-data-file):
1724 Bump :version.
1725
1726 2014-01-26 Glenn Morris <rgm@gnu.org>
1727
1728 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1729 Doc fix. Make obsolete.
1730 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1731
1732 * sort.el (delete-duplicate-lines): Doc fix.
1733
1734 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1735
1736 * progmodes/ada-mode.el (ada):
1737 * woman.el (woman): Link to info manual and Commentary section.
1738
1739 * progmodes/flymake.el (flymake):
1740 * nxml/nxml-mode.el (nxml):
1741 * net/eww.el (eww):
1742 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1743 * htmlfontify.el (htmlfontify):
1744 * ses.el (ses):
1745 * epa.el (epa):
1746 * ido.el (ido): Link to info manual.
1747
1748 2014-01-25 Leo Liu <sdl.web@gmail.com>
1749
1750 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1751
1752 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1753
1754 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1755 (bug#16537).
1756
1757 >>>>>>> MERGE-SOURCE
1758 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1759
1760 * net/eww.el (eww-download-callback):
1761 Fix reference to eww-download-directory.
1762
1763 * emacs-lisp/bytecomp.el (byte-compile-file):
1764 Remove unused local variable `file-name'.
1765
1766 2014-01-24 Glenn Morris <rgm@gnu.org>
1767
1768 * woman.el (woman-default-faces, woman-monochrome-faces):
1769 Fix obsolescence specification.
1770
1771 * subr.el (with-demoted-errors): Doc fix.
1772
1773 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1776 (cl--macroexp-fboundp): New function.
1777 (cl--make-type-test): Use it.
1778
1779 2014-01-23 Glenn Morris <rgm@gnu.org>
1780
1781 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1782 * simple.el (eval-expression): Doc fixes.
1783
1784 2014-01-22 Glenn Morris <rgm@gnu.org>
1785
1786 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1787
1788 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * emacs-lisp/package.el: Write files silently.
1791 (package-autoload-ensure-default-file, package--write-file-no-coding)
1792 (package-generate-description-file, package--download-one-archive)
1793 (package-install-from-archive): Tell `write-region' to stay quiet.
1794 (package-menu-mode, package-menu--print-info): Omit the Archive column
1795 if there's only one archive.
1796 (package-all-keywords, package--has-keyword-p): Remove dead code.
1797
1798 2014-01-22 Glenn Morris <rgm@gnu.org>
1799
1800 * version.el (emacs-bzr-version-bzr): Fix typo.
1801
1802 * version.el (emacs-repository-get-version):
1803 Check either .bzr or .git, but not both.
1804 Make the git case actually use the DIR argument, and return nil
1805 rather than the empty string.
1806 Avoid error if .git exists but the git executable is not found.
1807
1808 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1809
1810 Fixes in window size functions around Bug#16430 and Bug#16470.
1811 * window.el (window-total-size, window-size): New argument ROUND.
1812 (window--min-delta-1, window-min-delta, window--max-delta-1):
1813 Be more conservative when calculating the numbers of lines or
1814 columns a window can shrink (Bug#16430).
1815 (fit-window-to-buffer): Simplify code.
1816 * term.el (term-window-width): Call window-body-width again.
1817
1818 2014-01-22 Glenn Morris <rgm@gnu.org>
1819
1820 * image.el (image-format-suffixes): Doc fix.
1821
1822 * international/quail.el (quail-define-package): Doc fix.
1823
1824 * emacs-lisp/authors.el (authors-valid-file-names)
1825 (authors-renamed-files-alist): Additions.
1826
1827 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1828 reverts 2014-01-09 change. (Bug#16422)
1829
1830 * calc/calc-embed.el (thing-at-point-looking-at):
1831 * emacs-lisp/map-ynp.el (x-popup-dialog):
1832 * obsolete/lmenu.el (x-popup-dialog):
1833 * emacs-lisp/package.el (url-recreate-url):
1834 * mail/mailclient.el (clipboard-kill-ring-save):
1835 * subr.el (x-popup-dialog): Update declaration.
1836 * mail/rmail.el (rmail-mime-message-p):
1837 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1838
1839 2014-01-21 Daniel Colascione <dancol@dancol.org>
1840
1841 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1842 Correctly detect when we're inside an arithmetic expansion form
1843 containing nested parenthesis.
1844 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1845 to detect cases where we shouldn't expand "<<" to a heredoc
1846 skeleton.
1847
1848 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1851 (eldoc--message-command-p): New function.
1852 (eldoc-display-message-p): Use it.
1853 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1854 message is not automatically erased for us.
1855 (eldoc-print-current-symbol-info): Erase previous message, if any.
1856
1857 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1858
1859 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1860 specify it's an interactive function.
1861
1862 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1863 Fix regex used for scanning for citation keys which failed for
1864 citations with optional arguments.
1865
1866 2014-01-21 Leo Liu <sdl.web@gmail.com>
1867
1868 * simple.el (read--expression): Don't enable eldoc-mode.
1869
1870 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * simple.el (move-beginning-of-line): Make sure we don't move forward
1873 (bug#16497).
1874
1875 2014-01-20 Juri Linkov <juri@jurta.org>
1876
1877 * saveplace.el (toggle-save-place, save-place-to-alist)
1878 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1879 'dired-mode) before checking for dired-directory. (Bug#16477)
1880
1881 2014-01-20 Juri Linkov <juri@jurta.org>
1882
1883 * indent.el (indent-line-to): Use backward-to-indentation
1884 instead of back-to-indentation. (Bug#16461)
1885
1886 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1887
1888 Revert some of the CANNOT_DUMP fix (Bug#16494).
1889 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1890 but fixing this can wait until after the next release.
1891 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1892
1893 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1894
1895 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1896 Use `password-word-equivalents'.
1897 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1898 to t. (Bug#5664, Bug#13124)
1899
1900 2014-01-19 Alan Mackenzie <acm@muc.de>
1901
1902 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1903 points.
1904 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1905 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1906 * progmodes/cc-mode.el (c-before-change, c-after-change)
1907 (c-font-lock-fontify-region): Bind it here.
1908
1909 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1910
1911 * term.el (term-window-width): Call window-text-width instead of
1912 window-width (Bug#16470).
1913
1914 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1915
1916 * simple.el (password-word-equivalents): Remove duplicates.
1917 Sort, to make this easier next time.
1918 Downcase. Omit ": " after "jelszó".
1919
1920 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1921
1922 * term/common-win.el (saved-region-selection): Defvar it.
1923 (x-select-text): Set saved-region-selection (Bug#16382).
1924
1925 2014-01-18 Glenn Morris <rgm@gnu.org>
1926
1927 * emacs-lisp/authors.el (authors-aliases)
1928 (authors-renamed-files-alist): Add some entries.
1929
1930 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1931
1932 * net/tramp.el (tramp-password-prompt-regexp):
1933 Use `password-word-equivalents' if available.
1934 (tramp-action-password, tramp-process-one-action)
1935 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1936
1937 2014-01-17 Chong Yidong <cyd@gnu.org>
1938
1939 * simple.el (password-word-equivalents): New defcustom.
1940 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1941 to 24.4.
1942 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1943 to t. (Bug#13124)
1944
1945 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1946
1947 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1948 (ruby-align-to-stmt-keywords): Change the default value.
1949 Use `ruby-alignable-keywords' to generate the possible customization
1950 choices.
1951 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1952 keywords, check against the value of `ruby-alignable-keywords'
1953 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1954
1955 2014-01-17 Glenn Morris <rgm@gnu.org>
1956
1957 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1958
1959 Make M-x authors return zero *Authors Errors* from current logs.
1960 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1961 (authors-ignored-files): Add some entries, remove others.
1962 (authors-ambiguous-files, authors-valid-file-names):
1963 Add some entries.
1964 (authors-renamed-files-alist): Add, remove, and adjust entries.
1965 (authors-renamed-files-regexps): Add some entries.
1966 Remove some very broad ones. Make some entries `lax'.
1967 (authors-lax-changelogs): New constant.
1968 (authors-disambiguate-file-name): Treat top-level specially.
1969 (authors-lax-changelog-p): New function.
1970 (authors-canonical-file-name): Check file as written against
1971 authors-valid-file-names. Do not special-case etc/.
1972 Handle `lax' logs and authors-renamed-files-regexps elements.
1973
1974 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1975
1976 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1977 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1978 callers.
1979
1980 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1983 Assume we're already in the proper buffer.
1984 Inspired by Anders Lindgren <andlind@gmail.com>.
1985 (follow-post-command-hook): Call it from the right buffer.
1986 (follow-comint-scroll-to-bottom): Adjust call.
1987 (follow-all-followers): Use get-buffer-window-list.
1988
1989 2014-01-15 Daniel Colascione <dancol@dancol.org>
1990
1991 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1992 `buffer-file-name' in interactive-form so that we don't leave
1993 pathless file names in `file-name-history'.
1994
1995 2014-01-15 Juri Linkov <juri@jurta.org>
1996
1997 * indent.el (indent-rigidly): Set deactivate-mark to nil
1998 in transient indentation mode. (Bug#16438)
1999
2000 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2001
2002 * emacs-lisp/package.el (package-desc-keywords): New function
2003 (Bug#16222).
2004 (describe-package-1, package-all-keywords)
2005 (package--has-keyword-p): Use it.
2006
2007 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2008
2009 * simple.el (define-alternatives): When creating the
2010 COMMAND-alternatives variable, assign COMMAND as its definition
2011 name so that `describe-variable' can relocate it.
2012
2013 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2014
2015 * font-lock.el (font-lock-keywords): Fix typo in docstring
2016 (bug#16307).
2017
2018 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2019
2020 * ispell.el (ispell-region): Reset `in-comment' for new line
2021 instead of wrongly reset `add-coment' (bug#13577).
2022
2023 2014-01-14 Daiki Ueno <ueno@gnu.org>
2024
2025 * epa-file.el (epa-file-write-region): Encode the region according
2026 to `buffer-file-format'. Problem reported at:
2027 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2028
2029 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2032 so it applies in the right buffer (bug#16410).
2033
2034 2014-01-13 Daniel Colascione <dancol@dancol.org>
2035
2036 * textmodes/rst.el (rst-define-key): Provide deprecated
2037 keybindings through named functions instead of anonymous ones so
2038 that "??" doesn't appear in describe-mode output.
2039
2040 2014-01-13 Bastien Guerry <bzg@gnu.org>
2041
2042 * simple.el (define-alternatives): Call the selected command
2043 interactively. When setting `COMMAND--implementation' for the
2044 first time, tell the user how to chose another implementation.
2045 Enhance the docstring.
2046
2047 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2050 (log-edit--match-first-line): New function.
2051 (log-edit-font-lock-keywords): Use it.
2052 (log-edit-mode): Make jit-lock-defer-multiline work.
2053
2054 2014-01-13 Bastien Guerry <bzg@gnu.org>
2055
2056 * rect.el (rectangle-mark-mode): When the region is not active,
2057 display a message saying that the mark as been set and that
2058 rectangle mode is in use.
2059 (rectangle--highlight-for-redisplay): Only put an overlay with a
2060 visible vertical bar when (display-graphic-p) is non-nil.
2061 This partially fixes Bug#16403.
2062
2063 2014-01-13 Juri Linkov <juri@jurta.org>
2064
2065 * info.el (Info-find-file): Go to DIR before displaying the error
2066 about a nonexistent file if no previous Info file is visited.
2067 Use `user-error' instead of `error' for "Info file %s does not exist".
2068 (Info-find-node-2): In case of a nonexistent node in unwind forms
2069 go to the Top node if there is no previous node to revert to.
2070 (Bug#16405)
2071
2072 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2073
2074 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2075 * window.el (fit-frame-to-buffer): Fix doc-string.
2076 Respect window-min-height/-width. Fit pixelwise when
2077 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2078 when avoiding that frame goes partially off-screen.
2079 (fit-window-to-buffer): Respect window-min-height/-width
2080 (Bug#14096).
2081
2082 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2083
2084 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2085 after an empty line.
2086
2087 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2088
2089 * net/shr.el (shr-render-region): Autoload.
2090
2091 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2092
2093 * net/eww.el (eww-download-directory): Rename from
2094 `eww-download-path' (Bug#16419).
2095
2096 2014-01-12 Leo Liu <sdl.web@gmail.com>
2097
2098 * dired-x.el (dired-mode-map): Fix last change.
2099
2100 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2101
2102 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2103
2104 Spelling fixes.
2105 * emacs-lisp/generic.el (generic--normalize-comments):
2106 Rename from generic--normalise-comments. All uses changed.
2107 * play/bubbles.el (bubbles--neighborhood-score)
2108 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2109 (bubbles--neighborhood-available)
2110 (bubbles--update-neighborhood-score):
2111 Rename from names with 'neighbourhood'. All uses changed.
2112
2113 2014-01-12 Leo Liu <sdl.web@gmail.com>
2114
2115 Re-implement the feature of showing eldoc info after editing.
2116 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2117 (eldoc-edit-message-commands): New function.
2118 (eldoc-print-after-edit): New variable.
2119 (eldoc-pre-command-refresh-echo-area): Emit message only by
2120 eldoc-message-commands.
2121 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2122 if eldoc-print-after-edit is set. (Bug#16346)
2123 * simple.el (read--expression): Enable eldoc-mode.
2124 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2125
2126 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2127 Eric S. Raymond <esr@thyrsus.com>
2128
2129 * version.el (emacs-repository-get-version): Enhance so the
2130 function works correctly in either a Bazaar or Git repo.
2131
2132 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2133
2134 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2135 Goes with removal of the joke manpages from /etc.
2136
2137 2014-01-10 Kenichi Handa <handa@gnu.org>
2138
2139 * mail/rmail.el (rmail-get-coding-system):
2140 Check rmail-get-coding-function before "funcall"ing it.
2141
2142 2014-01-10 Glenn Morris <rgm@gnu.org>
2143
2144 * emacs-lisp/authors.el (authors-fixed-entries):
2145 Update for files that no longer exist.
2146
2147 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2148
2149 * version.el (emacs-bzr-get-version): Restore compatibilty with
2150 24.3 (Tested).
2151
2152 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2153
2154 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2155 and Podfile.
2156
2157 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2158
2159 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2160
2161 2014-01-10 Chong Yidong <cyd@gnu.org>
2162
2163 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2164
2165 2014-01-10 Anders Lindgren <andlind@gmail.com>
2166
2167 * follow.el (follow-cache-command-list): Include right-char and
2168 left-char.
2169
2170 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2171
2172 Spelling fixes.
2173 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2174 * woman.el (woman-mark-horizontal-position):
2175 Rename from woman-mark-horizonal-position. Use changed.
2176
2177 2014-01-10 Glenn Morris <rgm@gnu.org>
2178
2179 * info.el (info-initialize): If running uninstalled, ensure our
2180 own info files are always found first, even if INFOPATH is set.
2181
2182 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2183
2184 2014-01-09 David Engster <deng@randomsample.de>
2185
2186 * emacs-lisp/eieio-custom.el:
2187 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2188 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2189 * emacs-lisp/eieio.el: Regenerate autoloads.
2190
2191 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2192
2193 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2194 following renames. (Bug#8756)
2195
2196 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2199 (bug#16382).
2200 (activate-mark): Add `no-tmm' argument.
2201 (set-mark, push-mark-command): Use it instead of running
2202 activate-mark-hook by hand.
2203
2204 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2205
2206 In preparation for the move to git, sanitize out some
2207 Bazaar-specific names.
2208
2209 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2210
2211 * version.el (emacs-bzr-version): Name changed to
2212 emacs-repository-version. Obsolete-variable alias made.
2213 * loadup.el: Follow through on this name change.
2214 * mail/emacsbug.el (report-emacs-bug): Factor out any
2215 assumption about the version control system in use.
2216
2217 2014-01-08 David Engster <deng@randomsample.de>
2218
2219 * help-fns.el (help-fns-describe-function-functions):
2220 New variable to call functions for augmenting help buffers.
2221 (describe-function-1): Remove explicit calls to
2222 `help-fns--compiler-macro', `help-fns--parent-mode' and
2223 `help-fns--obsolete'. Put them in above new variable instead, and
2224 call them through `run-hook-with-args'.
2225 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2226 `eieio-describe-class'. Not meant for interactive use anymore,
2227 but to augment existing help buffers. Remove optional second
2228 argument. Create proper button for file location.
2229 Rewrite function to use `insert' instead of `princ' and `prin1' where
2230 possible.
2231 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2232 (eieio-method-def, eieio-class-def): Move further up.
2233 (describe-method, describe-generic, eieio-describe-method):
2234 Remove aliases.
2235 (eieio-help-constructor, eieio-help-generic): Rename from
2236 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2237 Rewrite to use `insert' in the current buffer and use proper help
2238 buttons.
2239 (eieio-help-find-method-definition)
2240 (eieio-help-find-class-definition): Also accept symbols as
2241 arguments.
2242 (eieio-help-mode-augmentation-maybee): Remove.
2243 (eieio-describe-class-sb): Use `describe-function'.
2244 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2245 Add `eieio-help-generic' and `eieio-help-constructor'.
2246
2247 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2248
2249 Spelling fixes.
2250 * language/china-util.el (hz-ascii-designation):
2251 Rename from hz-ascii-designnation.
2252 (hz-ascii-designation): Rename from hz-ascii-designnation.
2253 All uses changed.
2254
2255 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2256
2257 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2258 package-alist.
2259
2260 2014-01-08 Bastien Guerry <bzg@gnu.org>
2261
2262 * emacs-lisp/package.el (package-delete):
2263 Correctly delete the package from package-alist.
2264
2265 2014-01-08 Daiki Ueno <ueno@gnu.org>
2266
2267 * emacs-lisp/package.el (url-recreate-url): Declare.
2268 (url-http-target-url): Declare.
2269 (package-handle-response): Include requested URL in the error message.
2270 (package--check-signature): Don't re-signal errors from
2271 package--with-work-buffer. Suggested by Stefan Monnier.
2272
2273 2014-01-07 Bastien Guerry <bzg@gnu.org>
2274
2275 * minibuffer.el (completion--try-word-completion): When both a
2276 hyphen and a space are possible candidates for the character
2277 following a word, display both candidates. (Bug#15980)
2278
2279 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2280
2281 * window.el (balance-windows-2): While rounding don't give a
2282 window more than the remainder. Bug#16351, bug#16383.
2283
2284 2014-01-07 Glenn Morris <rgm@gnu.org>
2285
2286 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2287 (menu-bar-help-menu): Use view-external-packages instead.
2288
2289 2014-01-07 Bastien Guerry <bzg@gnu.org>
2290
2291 * emacs-lisp/package.el (package-delete): Also delete the package
2292 name from `package-alist', not its description only.
2293
2294 2014-01-07 Glenn Morris <rgm@gnu.org>
2295
2296 * help.el (view-external-packages):
2297 * menu-bar.el (menu-bar-help-extra-packages):
2298 Visit efaq.info rather than etc/MORE.STUFF.
2299
2300 2014-01-07 Juri Linkov <juri@jurta.org>
2301
2302 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2303 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2304
2305 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2306 that shadows RET. (Bug#16342)
2307
2308 2014-01-07 Chong Yidong <cyd@gnu.org>
2309
2310 * isearch.el (isearch-yank-char, isearch-yank-word)
2311 (isearch-yank-line): Doc fix.
2312
2313 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2316 * emacs-lisp/elint.el (elint-find-builtins):
2317 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2318 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2319 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2320 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2321 * apropos.el (apropos-safe-documentation):
2322 * subr.el (symbol-file): Remove redundant fboundp.
2323 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2324
2325 2014-01-06 Bastien Guerry <bzg@gnu.org>
2326
2327 * hl-line.el (global-hl-line-overlay): Make a local variable.
2328 (global-hl-line-overlays): New variable to store all overlays.
2329 (global-hl-line-mode): Don't delete overlays from the current
2330 buffer when `global-hl-line-sticky-flag' is non-nil.
2331 (global-hl-line-highlight): Add new overlays to
2332 `global-hl-line-overlays'.
2333 (global-hl-line-unhighlight-all): New function to delete all
2334 overlays when turning off `global-hl-line-mode'.
2335 This fixes Bug#16183.
2336
2337 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * subr.el (set-transient-map): Fix nested case and docstring.
2340
2341 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2342
2343 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2344 `Texinfo' entry.
2345
2346 2014-01-06 Daniel Colascione <dancol@dancol.org>
2347
2348 Fix defun navigation in vc log view.
2349
2350 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2351 like `beginning-of-defun'.
2352 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2353 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2354 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2355 (log-view-extract-comment): Call `log-view-current-entry' directly
2356 instead of relying on broken `log-view-beginning-of-defun' behavior.
2357
2358 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2359
2360 Spelling fixes.
2361 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2362 * emacs-lisp/debug.el (cancel-debug-on-entry):
2363 * epg.el (epg-error-to-string):
2364 * files.el (recover-file):
2365 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2366 * mail/emacsbug.el (report-emacs-bug-hook):
2367 * mail/sendmail.el (mail-recover):
2368 * ses.el (ses-yank-resize):
2369 * term/ns-win.el (ns-print-buffer):
2370 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2371 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2372 All uses changed.
2373 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2374
2375 2014-01-06 Leo Liu <sdl.web@gmail.com>
2376
2377 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2378 to avoid shadowing global key. (Bug#16354)
2379
2380 2014-01-06 Daniel Colascione <dancol@dancol.org>
2381
2382 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2383 rst-mode.
2384
2385 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2386
2387 * window.el (balance-windows): Add mising t to fix Bug#16351.
2388
2389 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2390
2391 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2392 (bug#16285).
2393 (shr-insert): If we have a word that's longer than `shr-width',
2394 break after it anyway. Otherwise we'll do no breaking once we get
2395 such a long word.
2396
2397 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2398
2399 * net/eww.el (eww): Support single/double quote for search.
2400 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2401 (eww-history-quit): Delete and use quit-window.
2402 (eww-history-kill): Delete, because it doesn't work well and
2403 not necessary.
2404 (eww-history-mode-map): Delete some keys and add easy-menu.
2405
2406 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2407
2408 Fix misspelling of 'chinese' in rx (Bug#16237).
2409 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2410 chinese-two-byte.
2411
2412 Change subword regexps back to vars (Bug#16296).
2413 * progmodes/subword.el (subword-forward-regexp)
2414 (subword-backward-regexp): Change these back to variables.
2415
2416 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2417
2418 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2419 syntax-begin-function (bug#16247).
2420
2421 2014-01-03 Chong Yidong <cyd@gnu.org>
2422
2423 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2424 (advice--docstring): Delete variable.
2425 (advice--make-1): Leave the docstring empty.
2426 (advice-add): Use function-documentation for advised docstring.
2427
2428 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2429 Ignore function-documentation property when getting documentation.
2430 (ad-activate-advised-definition): Use function-documentation
2431 generate the docstring.
2432 (ad-make-advised-definition): Don't call
2433 ad-make-advised-definition-docstring.
2434 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2435 Delete functions.
2436
2437 * progmodes/sql.el (sql-help): Use function-documentation instead
2438 of dynamic-docstring-function property. No need to autoload now.
2439 (sql--help-docstring): New variable.
2440 (sql--make-help-docstring): Use it.
2441
2442 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * ielm.el (ielm-tab): Retarget.
2445 (ielm-map): Use ielm-tab for tab.
2446 (ielm-complete-filename): Use comint-filename-completion.
2447 (ielm-complete-symbol): Remove.
2448 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2449 remove ielm-tab from completion-at-point-functions (bug#16224).
2450
2451 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2452 Beware signals raised by predicates (bug#16201).
2453
2454 2014-01-02 Richard Stallman <rms@gnu.org>
2455
2456 * dired-aux.el (dired-do-print): Handle printer-name.
2457
2458 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2459 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2460 (rmail-epa-decrypt): Turn off mime processing.
2461
2462 * mail/rmail.el (rmail-make-in-reply-to-field):
2463 Add parens in message-id.
2464
2465 * mail/rmail.el (rmail-get-coding-function): Variable.
2466 (rmail-get-coding-system): Use it.
2467
2468 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2469
2470 * international/mule-conf.el: Unify the charset indian-is13194.
2471 (indian-is13194): Specify unify-map.
2472
2473 2013-12-31 Leo Liu <sdl.web@gmail.com>
2474
2475 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2476
2477 2013-12-30 Daniel Colascione <dancol@dancol.org>
2478
2479 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2480 of printing a useless when we resume from sleep.
2481
2482 * progmodes/sh-script.el
2483 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2484 in indentation code. (Bug#16233)
2485
2486 2013-12-28 João Távora <joaotavora@gmail.com>
2487
2488 * elec-pair.el (electric-pair-post-self-insert-function):
2489 Don't open extra newlines at beginning of buffer. (Bug#16272)
2490
2491 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2492
2493 * frame.el (window-system-for-display): Don't allow to create a
2494 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2495
2496 2013-12-28 Glenn Morris <rgm@gnu.org>
2497
2498 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2499 Update callers.
2500
2501 * apropos.el (apropos-match-face):
2502 * calculator.el (calculator-displayer):
2503 * dabbrev.el (dabbrev-search-these-buffers-only):
2504 * face-remap.el (buffer-face-mode-face):
2505 * simple.el (yank-handled-properties):
2506 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2507 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2508 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2509 (hashcash-double-spend-database):
2510 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2511 (ruby-deep-indent-paren-style):
2512 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2513 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2514 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2515 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2516 Specify custom types.
2517
2518 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2519 * bookmark.el (bookmark-bmenu-use-header-line):
2520 * doc-view.el (doc-view-scale-internally):
2521 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2522 * register.el (register-preview-delay):
2523 * net/shr.el (shr-bullet):
2524 * progmodes/cfengine.el (cfengine-cf-promises)
2525 (cfengine-parameters-indent):
2526 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2527 * textmodes/reftex-vars.el (reftex-label-regexps):
2528 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2529
2530 * net/tls.el (tls-certtool-program): Fix default value.
2531
2532 * desktop.el (desktop-restore-in-current-display):
2533 * newcomment.el (comment-empty-lines):
2534 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2535 (idlwave-pad-keyword):
2536 * progmodes/tcl.el (tcl-tab-always-indent):
2537 * textmodes/reftex-vars.el (reftex-index-default-tag):
2538 * elec-pair.el (electric-pair-skip-whitespace):
2539 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2540
2541 * emacs-lisp/authors.el (authors-ignored-files)
2542 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2543
2544 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2545
2546 * shell.el (shell-dynamic-complete-command): Doc fix.
2547 (shell--command-completion-data): Shell completion now matches
2548 executable filenames from the current buffer's directory, on
2549 systems in which this behavior is the default (windows-nt, ms-dos).
2550
2551 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2552
2553 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2554
2555 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2558 (bug#16251).
2559
2560 * electric.el: Move all electric-pair-* to elec-pair.el.
2561 * elec-pair.el: New file, split from electric.el.
2562
2563 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2564
2565 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2566 indentation level is larger than the width, because that will
2567 infloop.
2568 (shr-insert): Fill repeatedly long texts, so that Japanese is
2569 formatted correctly (bug#16263).
2570 (shr-find-fill-point): Off by one error in comparison with the
2571 indentation.
2572
2573 2013-12-26 João Távora <joaotavora@gmail.com>
2574
2575 * electric.el (electric-pair-mode): More flexible engine for skip-
2576 and inhibit predicates, new options for pairing-related functionality.
2577 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2578 if that keeps or improves their balance in buffers.
2579 (electric-pair-delete-adjacent-pairs): Delete the pair when
2580 backspacing over adjacent matched delimiters.
2581 (electric-pair-open-extra-newline): Open extra newline when
2582 inserting newlines between adjacent matched delimiters.
2583 (electric--sort-post-self-insertion-hook):
2584 Sort post-self-insert-hook according to priority values when
2585 minor-modes are activated.
2586 * simple.el (newline-and-indent): Call newline with interactive
2587 set to t.
2588 (blink-paren-post-self-insert-function): Set priority to 100.
2589 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2590 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2591 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2592 electric-pair-open-newline-between-pairs to nil.
2593
2594 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2595
2596 * progmodes/python.el: Use lexical-binding.
2597 (python-nav-beginning-of-defun): Stop searching ASAP.
2598
2599 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2600
2601 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2602 Fix interactive spec. Doc fix. (Bug#15754)
2603
2604 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2605
2606 * emacs-lisp/byte-run.el (eval-when-compile):
2607 * progmodes/cc-defs.el (cc-eval-when-compile):
2608 Fix edebug spec (bug#16184).
2609
2610 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2611
2612 * net/shr.el (shr-visit-file): Remove debugging function.
2613 (shr-insert): Don't infloop if we can't find a good place to break
2614 the line (bug#16256).
2615
2616 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2617
2618 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2619 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2620 python-nav-lisp-forward-sexp-safe.
2621 (python-nav--forward-sexp): New argument SAFE allows switching
2622 forward sexp movement behavior for parens.
2623 (python-nav-forward-sexp): Throw errors on unterminated parens
2624 (Bug#16191).
2625 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2626 (python-nav-backward-sexp-safe): New functions.
2627 (python-shell-buffer-substring):
2628 Use `python-nav-forward-sexp-safe'.
2629
2630 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2631
2632 * net/shr.el (shr-find-fill-point): Don't break lines before a
2633 quotation mark.
2634 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2635 (shr-find-fill-point): Remove the special checks for the quotation
2636 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2637
2638 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2639
2640 * net/eww.el (eww-form-textarea): Use a different face for
2641 textareas than text input since they have different keymaps
2642 (bug#16142).
2643
2644 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2645
2646 * progmodes/python.el (python-nav-beginning-of-statement):
2647 Speed up (Bug#15295).
2648
2649 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2650
2651 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2652 the window configuration.
2653
2654 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2655
2656 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2657 we run on MS-Windows or MS-DOS.
2658
2659 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2660
2661 * window.el (balance-windows-area): Call window-size instead of
2662 window-height and window-width. Bug#16241.
2663
2664 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2665
2666 * net/eww.el (eww-bookmark-quit): Remove.
2667 (eww-bookmark-browse): Restore the window configuration when you
2668 choose a bookmark (bug#16144).
2669
2670 2013-12-24 Daniel Colascione <dancol@dancol.org>
2671
2672 * icomplete.el: Remove redundant :group arguments to `defcustom'
2673 throughout.
2674 (icomplete-show-matches-on-no-input): New customizable variable.
2675 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2676 we have something to show.
2677 (icomplete-exhibit): Compute completions even if we have no user input.
2678
2679 2013-12-23 Daniel Colascione <dancol@dancol.org>
2680
2681 * icomplete.el: Move `provide' to end of file.
2682
2683 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2684
2685 * net/gnutls.el (gnutls-verify-error): Add version tag.
2686
2687 2013-12-23 Chong Yidong <cyd@gnu.org>
2688
2689 * subr.el (set-transient-map): Rename from
2690 set-temporary-overlay-map. Doc fix.
2691
2692 * face-remap.el (text-scale-adjust):
2693 * indent.el (indent-rigidly):
2694 * kmacro.el (kmacro-call-macro):
2695 * minibuffer.el (minibuffer-force-complete):
2696 * repeat.el (repeat):
2697 * simple.el (universal-argument--mode):
2698 * calendar/todo-mode.el (todo-insert-item--next-param):
2699 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2700
2701 * indent.el (indent-rigidly): Use substitute-command-keys.
2702
2703 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2704
2705 * net/eww.el (eww-tag-select): Add text-property to jump to next
2706 select field.
2707 (eww): Add non-supported ftp error.
2708
2709 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2710
2711 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2712 comments. Handle electric indent after typing `?' and `!'.
2713
2714 2013-12-22 Chong Yidong <cyd@gnu.org>
2715
2716 * faces.el (face-spec-recalc): If the theme specs are not
2717 applicable to a frame, fall back on the defface spec.
2718 This prevents themes from obliterating faces on low-color terminals.
2719
2720 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2721
2722 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2723 after `{'. We need it after block openers, and it doesn't seem
2724 to hurt after hash openers.
2725
2726 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2727
2728 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2729 extracted from `ruby-smie-rules'.
2730 (ruby--electric-indent-chars): New variable.
2731 (ruby--electric-indent-p): New function.
2732 (ruby-mode): Use `electric-indent-functions' instead of
2733 `electric-indent-chars'.
2734
2735 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2736
2737 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2738 docstring.
2739 (ruby-smie-rules): Indent plus one level after `=>'.
2740
2741 2013-12-21 Richard Stallman <rms@gnu.org>
2742
2743 * simple.el (newline): Doc fix.
2744
2745 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2746
2747 * net/eww.el (eww-list-histories, eww-list-histories)
2748 (eww-history-browse, eww-history-quit, eww-history-kill)
2749 (eww-history-mode-map, eww-history-mode): New command and
2750 functions to list browser histories.
2751 (eww-form-text): Support text form with disabled
2752 and readonly attributes.
2753 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2754
2755 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2756
2757 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2758 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2759 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2760 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2761 Use `user-error'.
2762 (eww-bookmark-mode-map): Add menu.
2763 (eww-render, eww-mode): Use `setq-local'.
2764 (eww-tool-bar-map): New variable.
2765 (eww-mode): Set `tool-bar-map'.
2766 (eww-view-source): Check for `html-mode' with `fboundp'.
2767
2768 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2769
2770 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2771 elements with text inside. Also remove debugging.
2772
2773 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2774
2775 * cus-start.el (all): Add ns-use-srgb-colorspace.
2776
2777 2013-12-21 Chong Yidong <cyd@gnu.org>
2778
2779 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2780 undefined. Thus, theme settings for undefined faces do not take
2781 effect until the faces are defined with defface, the same as with
2782 theme variables.
2783
2784 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2785 (face-spec-reset-face): Don't assign extra properties in temacs.
2786 (face-spec-recalc): Apply X resources too.
2787
2788 2013-12-21 Chong Yidong <cyd@gnu.org>
2789
2790 * faces.el (face-spec-set):
2791 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2792 * custom.el (defface): Doc fixes (Bug#16203).
2793
2794 * indent.el (indent-rigidly-map): Add docstring, and move commands
2795 into named functions.
2796 (indent-rigidly-left, indent-rigidly-right)
2797 (indent-rigidly-left-to-tab-stop)
2798 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2799 indentation direction based on bidi direction, and accumulate
2800 sequential commands in a single undo boundary.
2801 (indent-rigidly--pop-undo): New utility function.
2802
2803 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2804
2805 * faces.el (read-face-name): Require crm.el when using crm-separator.
2806
2807 2013-12-20 Daniel Colascione <dancol@dancol.org>
2808
2809 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2810 so that we don't reflow comments into the shebang line.
2811
2812 2013-12-20 Juri Linkov <juri@jurta.org>
2813
2814 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2815 a position when `dired-directory' is non-nil. Check integer
2816 positions with `integerp'.
2817 (toggle-save-place, save-places-to-alist): Add check for
2818 `dired-directory'.
2819 (save-place-find-file-hook): Check integer positions with
2820 `integerp'.
2821 (save-place-dired-hook): Use `dired-goto-file' when
2822 `dired-filename' is found in the assoc list. Check integer
2823 positions with `integerp'.
2824 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2825
2826 * dired.el (dired-initial-position-hook): Rename back from
2827 `dired-initial-point-hook'.
2828 (dired-initial-position): Rename `dired-initial-point-hook' to
2829 `dired-initial-position-hook'.
2830 (dired-file-name-at-point): Doc fix. (Bug#15329)
2831
2832 2013-12-20 Juri Linkov <juri@jurta.org>
2833
2834 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2835 (read-regexp-suggestions): New function.
2836 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2837 Use `read-regexp-suggestions'. Add non-empty default to history
2838 for empty input.
2839 (occur-read-regexp-defaults-function): Remove function.
2840 (occur-read-primary-args): Use `regexp-history-last' instead of
2841 `occur-read-regexp-defaults-function'.
2842
2843 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2844 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2845 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2846 `hi-lock-read-regexp-defaults-function'. Doc fix.
2847 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2848 with `find-tag-default-as-symbol-regexp'. Doc fix.
2849 (hi-lock-read-regexp-defaults): Remove function.
2850 (hi-lock-regexp-okay): Add check for null.
2851
2852 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2853 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2854
2855 * subr.el (find-tag-default-as-symbol-regexp): New function.
2856 (find-tag-default-as-regexp): Move symbol regexp formatting to
2857 `find-tag-default-as-symbol-regexp'.
2858
2859 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2860
2861 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2862 (Bug#14179)
2863
2864 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2865
2866 * calendar/todo-mode.el: New implementation of item insertion
2867 commands and key bindings.
2868 (todo-key-prompt): New face.
2869 (todo-insert-item): New command.
2870 (todo-insert-item--parameters): New defconst, replacing defvar
2871 todo-insertion-commands-args-genlist.
2872 (todo-insert-item--param-key-alist): New defconst, replacing
2873 defvar todo-insertion-commands-arg-key-list.
2874 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2875 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2876 (todo-insert-item--next-param): New functions.
2877 (todo-insert-item--args, todo-insert-item--argleft)
2878 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2879 New variables.
2880 (todo-key-bindings-t): Change binding of "i" from
2881 todo-insertion-map to todo-insert-item.
2882 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2883 (todo-insertion-command-name, todo-insertion-commands-names)
2884 (todo-define-insertion-command, todo-insertion-commands)
2885 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2886
2887 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2888
2889 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2890 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2891 eval-when-compile.
2892 (todo-move-category): Allow choosing a non-existing todo file to
2893 move the category to, and create that file.
2894 (todo-default-priority): New user option.
2895 (todo-set-item-priority): Use it.
2896 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2897 (desktop-restore-file-buffer): Declare.
2898 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2899 (todo-modes-set-2): Locally set desktop-save-buffer to
2900 todo-desktop-save-buffer.
2901 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2902 (auto-mode-alist): Add autoload cookie.
2903
2904 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2905
2906 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2907 helpers.el was a poor choice of name.
2908 (string-remove-prefix): New function.
2909 (string-remove-suffix): New function.
2910
2911 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2912
2913 Fix assignment for new window total sizes.
2914 * window.el (window--pixel-to-size): Remove function.
2915 (window--pixel-to-total-1, window--pixel-to-total):
2916 Fix calculation of new total sizes.
2917
2918 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2919
2920 * comint.el (comint-output-filter): Fix rear-nonsticky property
2921 placement (Bug#16010).
2922
2923 2013-12-20 Chong Yidong <cyd@gnu.org>
2924
2925 * faces.el (read-color): Minor fix for completion function.
2926
2927 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2928
2929 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2930 New option. (Bug#16182)
2931 (ruby-smie--indent-to-stmt-p): Use it.
2932 (ruby-smie-rules): Revert the logic in the handling of `when'.
2933 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2934 (ruby-deep-arglist, ruby-deep-indent-paren)
2935 (ruby-deep-indent-paren-style): Update docstrings to note that the
2936 vars don't have any effect with SMIE.
2937
2938 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2939
2940 * calc/calc.el (calc-enter, calc-pop): Use the variable
2941 `calc-context-sensitive-enter'.
2942
2943 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2944
2945 * net/shr.el (shr-insert): Protect against infloops in degenerate
2946 tables.
2947
2948 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2949
2950 * progmodes/octave.el (octave): Add link to manual and octave
2951 homepage.
2952 (octave-mode-menu): Link to octave-mode manual.
2953
2954 2013-12-20 Leo Liu <sdl.web@gmail.com>
2955
2956 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2957 insertion using skeleton-end-newline. (Bug#16138)
2958
2959 2013-12-20 Juri Linkov <juri@jurta.org>
2960
2961 * replace.el (occur-engine): Use `add-face-text-property'
2962 to add the face property to matches and titles. (Bug#14645)
2963
2964 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2965 the palette of other hi-lock colors.
2966 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2967
2968 2013-12-19 Juri Linkov <juri@jurta.org>
2969
2970 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2971 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2972 (minibuffer-history-symbol): Move variable declaration closer to
2973 its usage.
2974
2975 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2976 (Bug#14785)
2977
2978 2013-12-19 Juri Linkov <juri@jurta.org>
2979
2980 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2981 New function.
2982 (log-edit-hook): Add it to :options. (Bug#16170)
2983
2984 2013-12-19 Juri Linkov <juri@jurta.org>
2985
2986 * simple.el (eval-expression-print-format): Don't check for
2987 command names and the last command. Always display additional
2988 formats of the integer result in the echo area, and insert them
2989 to the current buffer only with a zero prefix arg.
2990 Display character when char-displayable-p is non-nil.
2991 (eval-expression): With a zero prefix arg, set `print-length' and
2992 `print-level' to nil, and insert the integer values from
2993 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2994
2995 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2996 `eval-last-sexp-arg-internal'. Doc fix.
2997 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2998 `eval-last-sexp-print-value'. Doc fix.
2999 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3000 Set `print-length' and `print-level' to nil when arg is zero.
3001 (eval-last-sexp): Doc fix.
3002 (eval-defun-2): Print the integer values from
3003 `eval-expression-print-format' at the end.
3004
3005 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3006 values from `eval-expression-print-format' at the end.
3007
3008 * ielm.el (ielm-eval-input): Print the integer
3009 values from `eval-expression-print-format' at the end.
3010
3011 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3012
3013 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3014 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3015
3016 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3019 (hl-line-highlight, global-hl-line-highlight): Use it.
3020 (hl-line-overlay): Use defvar-local.
3021
3022 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3023
3024 * term/ns-win.el: Require dnd.
3025 (global-map): Remove drag items.
3026 (ns-insert-text, ns-set-foreground-at-mouse)
3027 (ns-set-background-at-mouse):
3028 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3029 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3030 New functions.
3031
3032 2013-12-19 Glenn Morris <rgm@gnu.org>
3033
3034 * emacs-lisp/ert.el (ert-select-tests):
3035 Fix string/symbol mixup. (Bug#16121)
3036
3037 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3038
3039 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3040 keywords to their parent.
3041
3042 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3043
3044 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3045 first arg to be a string (fixed dead code), or an operator symbol.
3046 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3047 operator symbols.
3048 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3049 did nothing. Don't respond to `(:after ".")', it will be called
3050 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3051 change anything. Only return indentation for binary operators
3052 when they are hanging. De-dent opening paren when its parent is
3053 `.', otherwise it looks bad when the dot is not at bol or eol
3054 (bug#16182).
3055
3056 2013-12-19 Juri Linkov <juri@jurta.org>
3057
3058 * replace.el (query-replace-read-args): Split a non-negative arg
3059 and a negative arg into separate elements.
3060 (query-replace, query-replace-regexp, replace-string)
3061 (replace-regexp): Add arg `backward'. Doc fix.
3062 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3063 move point to the beginning of the match.
3064 (replace-search, replace-highlight): Use new arg `backward'
3065 to set the value of `isearch-forward'.
3066 (perform-replace): Add arg `backward' and use it to perform
3067 replacement backward. (Bug#14979)
3068
3069 * isearch.el (isearch-query-replace): Use a negative prefix arg
3070 to call `perform-replace' with a non-nil arg `backward'.
3071
3072 2013-12-18 Juri Linkov <juri@jurta.org>
3073
3074 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3075 to the default list. Move `log-edit-show-files' to the end.
3076 Add more available functions to options.
3077 (log-edit): Move default specific settings to
3078 `log-edit-insert-message-template'. Don't move point.
3079 (log-edit-insert-message-template): New function.
3080 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3081 (Bug#16170)
3082
3083 2013-12-18 Juri Linkov <juri@jurta.org>
3084
3085 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3086 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3087
3088 2013-12-18 Leo Liu <sdl.web@gmail.com>
3089
3090 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3091 (Bug#16186)
3092
3093 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3094
3095 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3096 formats for displaying file sizes when the -s switch is given.
3097 Instead, compute a separate format for displaying the size in
3098 blocks, which is displayed in addition to the "regular" size.
3099 When -h is given in addition to -s, produce size in blocks in
3100 human-readable form as well. (Bug#16179)
3101
3102 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3103
3104 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3105 Reference tables with ~\ref{...} instead of only \ref{...}.
3106
3107 2013-12-18 Chong Yidong <cyd@gnu.org>
3108
3109 * cus-edit.el (custom-magic-alist): Fix "themed" description
3110 (Bug#14348).
3111
3112 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3113 is non-nil, do not create a new entry in the symbol's theme-value
3114 or theme-face property; update theme-settings only (Bug#14664).
3115 (custom-available-themes): Doc fix.
3116
3117 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3118 (Bug#15674).
3119
3120 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3121
3122 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3123
3124 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3125 (Bug#13914).
3126
3127 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3128
3129 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3130
3131 2013-12-18 Glenn Morris <rgm@gnu.org>
3132
3133 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3134 * cus-start.el (load-prefer-newer): New option.
3135
3136 2013-12-18 Le Wang <l26wang@gmail.com>
3137
3138 * comint.el (comint-previous-matching-input-from-input):
3139 Retain point (Bug#13404).
3140
3141 2013-12-18 Chong Yidong <cyd@gnu.org>
3142
3143 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3144
3145 2013-12-18 Glenn Morris <rgm@gnu.org>
3146
3147 * mail/emacsbug.el (report-emacs-bug):
3148 Only mention enable-multibyte-characters if non-standard.
3149
3150 2013-12-17 Juri Linkov <juri@jurta.org>
3151
3152 * arc-mode.el (archive-extract-by-file): Check if directory exists
3153 before deletion to not show irrelevant errors if it doesn't exist.
3154
3155 2013-12-17 Juri Linkov <juri@jurta.org>
3156
3157 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3158 (Bug#14751)
3159
3160 * net/eww.el (browse-web): Add alias to `eww'.
3161 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3162 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3163
3164 * net/browse-url.el (browse-url-browser-function): Move `eww'
3165 closer to similar functions.
3166
3167 * startup.el (fancy-startup-screen, fancy-about-screen):
3168 Set browse-url-browser-function to eww-browse-url locally.
3169 (Bug#14751)
3170
3171 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * window.el (window--pixel-to-total): Remove unused `mini' var.
3174 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3175 (split-window): Remove unused `new' var.
3176 (window--display-buffer): Remove unused `frame' and `delta' vars.
3177 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3178 and display-width'.
3179
3180 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3181
3182 * dired.el (dired-mark-pop-up):
3183 * register.el (register-preview): Don't bind
3184 split-height-threshold here since it's now done in
3185 display-buffer-below-selected.
3186
3187 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3188
3189 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3190 xterm-rgb-convert-to-16bit.
3191 (rxvt-register-default-colors): Standardize with
3192 xterm-register-default-colors (Bug#14078).
3193
3194 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3195
3196 * simple.el (kill-region): Pass mark first, then point, so that
3197 kill-append works right (Bug#12819).
3198 (copy-region-as-kill, kill-ring-save): Likewise.
3199
3200 2013-12-17 Leo Liu <sdl.web@gmail.com>
3201
3202 * net/rcirc.el (rcirc-add-face):
3203 * eshell/em-prompt.el (eshell-emit-prompt):
3204 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3205 (Bug#16167)
3206
3207 2013-12-17 Chong Yidong <cyd@gnu.org>
3208
3209 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3210 Suggested by Xue Fuqiao.
3211
3212 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3213
3214 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3215
3216 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * net/shr.el (shr-insert-document): Remove unused var
3219 `shr-preliminary-table-render'.
3220 (shr-rescale-image): Remove unused arg `force'.
3221 (shr-put-image): Update calls accordingly.
3222 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3223
3224 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3225
3226 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3227 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3228 :close-all, to see which indentation method to use (Bug#16116).
3229 (smie-rules-function): Document the method :close-all.
3230
3231 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3232
3233 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3234
3235 * net/eww.el (eww-display-html): If we can't find the anchor we're
3236 looking for, then go to point-min.
3237
3238 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3239
3240 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3241 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3242 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3243 Expand dir too, in case it's relative.
3244
3245 2013-12-16 Juri Linkov <juri@jurta.org>
3246
3247 * desktop.el (desktop-auto-save-timeout): Change default to
3248 `auto-save-timeout'. Doc fix.
3249 (desktop-save): Skip the timestamp in desktop-saved-frameset
3250 when checking for auto-save changes.
3251 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3252 `desktop-auto-save' is called repeatedly by the idle timer.
3253 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3254 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3255 (Bug#15331)
3256
3257 2013-12-16 Juri Linkov <juri@jurta.org>
3258
3259 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3260 (Bug#16035)
3261 (isearch-pre-command-hook): Check `this-command' for symbolp.
3262
3263 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3266
3267 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3268
3269 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3270 (cfengine3--current-function): Bring in the current-function
3271 functionality from `cfengine3--current-word'.
3272 (cfengine3-completion-function): Bring in the
3273 bounds-of-current-word functionality from
3274 `cfengine3--current-word'.
3275
3276 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3277
3278 * window.el (display-buffer-below-selected):
3279 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3280
3281 2013-12-16 Leo Liu <sdl.web@gmail.com>
3282
3283 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3284 Remove NOMSG arg and all uses changed.
3285
3286 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3289 (cua--deactivate-rectangle): Don't deactivate the mark.
3290 (cua-set-rectangle-mark): Don't set mark-active since
3291 cua--activate-rectangle already does it for us.
3292 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3293 non-rectangular region.
3294
3295 * emulation/cua-base.el (cua-repeat-replace-region):
3296 Use with-current-buffer.
3297
3298 * net/gnutls.el: Use cl-lib.
3299 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3300
3301 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3302
3303 * emacs-lisp/package.el (package-built-in-p): Support both
3304 built-in and the package.el converted package descriptions.
3305 (package-show-package-list): Allow keywords.
3306 (package-keyword-button-action): Use it instead of
3307 `finder-list-matches'.
3308 (package-menu-filter-interactive): Interactive filtering (by
3309 keyword) function.
3310 (package-menu--generate): Support keywords and change keymappings
3311 and headers when they are given.
3312 (package--has-keyword-p): Helper function.
3313 (package-menu--refresh): Use it.
3314 (package--mapc): Helper function.
3315 (package-all-keywords): Use it.
3316 (package-menu-mode-map): Set up menu items and keybindings to
3317 provide a filtering UI.
3318
3319 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3320
3321 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3322 the behavior when a certificate fails validation. Defaults to
3323 old behavior: never abort, just warn.
3324 (gnutls-negotiate): Use it.
3325
3326 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3327
3328 * window.el (display-buffer-below-selected): Never split window
3329 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3330
3331 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3332
3333 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3334 (package-buffer-info): Use it (bug#15108).
3335
3336 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 * icomplete.el (icomplete-completions): Make sure the prefix is already
3339 displayed elsewhere before hiding it (bug#16219).
3340
3341 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3342
3343 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3344 open-paren tokens when preceded by a open-paren, too.
3345 (ruby-smie-rules): Handle virtual indentation after open-paren
3346 tokens specially. If there is code between it and eol, return the
3347 column where is starts (Bug#16118).
3348
3349 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3350
3351 * progmodes/cfengine.el: Fix `add-hook' doc.
3352 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3353 (cfengine3--current-word): Fix parameters.
3354 (cfengine3-make-syntax-cache): Simplify further.
3355 (cfengine3-completion-function, cfengine3--current-function):
3356 Use `assq' for symbols.
3357 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3358
3359 2013-12-13 Glenn Morris <rgm@gnu.org>
3360
3361 * loadup.el (load-path): Warn if site-load or site-init changes it.
3362 No more need to reset it when bootstrapping.
3363
3364 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3365
3366 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3367 locations for cf-promises.
3368 (cfengine-mode-syntax-functions-regex): New caching variable.
3369 (cfengine3-fallback-syntax): Fallback syntax for cases where
3370 cf-promises doesn't run.
3371 (cfengine3--current-word): Reimplement using
3372 `cfengine-mode-syntax-functions-regex'.
3373 (cfengine3-completion-function, cfengine3--current-function):
3374 Use `cfengine3-make-syntax-cache' directly.
3375 (cfengine3-clear-syntax-cache): New function.
3376 (cfengine3-make-syntax-cache): Simplify and create
3377 `cfengine-mode-syntax-functions-regex' on demand.
3378 (cfengine3-format-function-docstring): Don't call
3379 `cfengine3-make-syntax-cache' explicitly.
3380
3381 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3382
3383 Fix windmove-find-other-window broken after pixelwise resizing
3384 (Bug#16017).
3385 * windmove.el (windmove-other-window-loc): Revert change from
3386 2013-12-04.
3387 (windmove-find-other-window): Call window-in-direction.
3388 * window.el (window-in-direction): New arguments SIGN, WRAP and
3389 MINI to emulate original windmove-find-other-window behavior.
3390
3391 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3392
3393 * simple.el (blink-matching--overlay): New variable.
3394 (blink-matching-open): Instead of moving point, highlight the
3395 matching paren with an overlay
3396 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3397
3398 * faces.el (paren-showing-faces, show-paren-match)
3399 (show-paren-mismatch): Move from paren.el.
3400
3401 2013-12-13 Leo Liu <sdl.web@gmail.com>
3402
3403 * indent.el (indent-region): Disable progress reporter in
3404 minibuffer. (Bug#16108)
3405
3406 * bindings.el (visual-order-cursor-movement): Fix version.
3407
3408 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3409
3410 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3411 Also match after beginning of line.
3412 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3413 files. Thanks to Russell Sim. (Bug#15378)
3414
3415 2013-12-13 Juri Linkov <juri@jurta.org>
3416
3417 * simple.el <Keypad support>: Remove key bindings duplicated
3418 with bindings.el. (Bug#14397)
3419
3420 2013-12-13 Juri Linkov <juri@jurta.org>
3421
3422 * comint.el (comint-mode-map): Replace `delete-char' with
3423 `delete-forward-char'. (Bug#16109)
3424
3425 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3426
3427 * progmodes/python.el (python-indent-calculate-indentation):
3428 Fix de-denters cornercase. (Bug#15731)
3429
3430 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3433 (advice--make): Pay attention to `depth'.
3434 (advice--make-1): Don't autoload commands eagerly.
3435 * emacs-lisp/elp.el (elp-instrument-function):
3436 * emacs-lisp/trace.el (trace-function-internal):
3437 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3438
3439 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3440
3441 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3442
3443 * term/w32-win.el (w32-handle-dropped-file):
3444 * startup.el (normal-top-level):
3445 * net/browse-url.el (browse-url-file-url):
3446 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3447 decode file names using 'utf-8' rather than
3448 file-name-coding-system.
3449
3450 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3451
3452 * progmodes/python.el (python-indent-context)
3453 (python-indent-calculate-indentation): Fix auto-identation
3454 behavior for comment blocks. (Bug#15916)
3455
3456 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3457
3458 * progmodes/python.el (python-indent-calculate-indentation):
3459 When determining indentation, don't treat "return", "pass", etc., as
3460 operators when they are just string constituents. (Bug#15812)
3461
3462 2013-12-12 Juri Linkov <juri@jurta.org>
3463
3464 * uniquify.el (uniquify-buffer-name-style): Change default to
3465 `post-forward-angle-brackets'.
3466
3467 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3468 `uniquify'. Change default to `post-forward-angle-brackets'.
3469
3470 2013-12-11 Glenn Morris <rgm@gnu.org>
3471
3472 * emacs-lisp/package.el (finder-list-matches):
3473 Autoload rather than falsely declaring.
3474
3475 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3476
3477 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3478 (eww-mode-map): Use them.
3479
3480 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3481
3482 * window.el (display-buffer-in-side-window): Fix doc-string
3483 (Bug#16115).
3484
3485 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3486
3487 * vc/vc-git.el: Silence byte-compiler warnings.
3488 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3489 (log-edit-set-header): Declare.
3490
3491 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3492
3493 * Makefile.in (custom-deps, finder-data): Run output file names
3494 through unmsys--file-name. (Bug#16099)
3495
3496 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3499 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3500
3501 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3502 instead of deleting the selection "by hand" (bug#16098).
3503 Rely on insert-for-yank to yank rectangles.
3504 (cua-highlight-region-shift-only): Mark obsolete.
3505 (cua-mode): Don't enable/disable transient-mark-mode,
3506 shift-select-mode (cua-mode works both with and without them), and
3507 pc-selection-mode (obsolete).
3508 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3509 (cua--deactivate-rectangle): Deactivate it.
3510
3511 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3512 (delete-selection-helper): Make sure yank starts at the top of the
3513 deleted region.
3514 (minibuffer-keyboard-quit): Use region-active-p.
3515
3516 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3517
3518 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3519 to `delete' (bug#16109).
3520
3521 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3522
3523 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3524 info manual and show keybindings and set `:group' keyword.
3525
3526 2013-12-11 Juri Linkov <juri@jurta.org>
3527
3528 * delsel.el (delete-active-region): Let-bind `this-command'
3529 to prevent `kill-region' from changing its original value.
3530 (delete-selection-helper): Handle `overwrite-mode' for the type
3531 `kill' exactly the same way as for the type `t'.
3532 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3533 Support more commands. (Bug#13312)
3534
3535 2013-12-11 Juri Linkov <juri@jurta.org>
3536
3537 * bindings.el: Map kp keys to non-kp keys systematically
3538 with basic modifiers control, meta and shift. (Bug#14397)
3539
3540 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3541
3542 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3543 "Close browser" menu items. Fix wrong function of "List
3544 bookmarks".
3545
3546 2013-12-11 Juri Linkov <juri@jurta.org>
3547
3548 * misearch.el (multi-isearch-buffers): Set the value of
3549 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3550 arg of isearch-forward to t.
3551 (multi-isearch-buffers-regexp): Set the value of
3552 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3553 arg of isearch-forward-regexp to t.
3554 (multi-isearch-files): Set the value of
3555 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3556 arg of isearch-forward to t.
3557 (multi-isearch-files-regexp): Set the value of
3558 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3559 arg of isearch-forward-regexp to t. (Bug#16035)
3560
3561 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3562 arg of isearch-forward to t.
3563 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3564 arg of isearch-forward-regexp to t.
3565 (dired-isearch-filter-filenames): Remove unnecessary check for
3566 `dired-isearch-filenames'.
3567
3568 * comint.el (comint-history-isearch-backward):
3569 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3570 (comint-history-isearch-backward-regexp):
3571 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3572
3573 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3574
3575 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3576 unmsys--file-name. (Bug#16099)
3577
3578 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3579
3580 * emacs-lisp/package.el (package-keyword-button-action):
3581 Remove finder.el require dependency.
3582
3583 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3584
3585 * emacs-lisp/package.el: Require finder.el.
3586 (describe-package-1): Add keyword buttons.
3587 (package-make-button): New convenience function.
3588 (package-keyword-button-action): Keyword button action using
3589 `finder-list-matches'.
3590
3591 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3592
3593 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3594 last commit.
3595
3596 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3597
3598 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3599 symlinked files.
3600
3601 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3602
3603 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3604 after the end of a percent literal.
3605
3606 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3607
3608 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3609 Handle caret-delimited strings (Bug#16079).
3610
3611 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3612
3613 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3614 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3615 `ruby-parse-partial' (Bug#16078).
3616
3617 2013-12-09 Leo Liu <sdl.web@gmail.com>
3618
3619 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3620
3621 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3622
3623 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3624 (js-switch-indent-offset): New option.
3625 (js--proper-indentation): Use it. And handle the case when
3626 "default" is actually a key in an object literal.
3627 (js--same-line): New function.
3628 (js--multi-line-declaration-indentation): Use it.
3629 (js--indent-in-array-comp, js--array-comp-indentation):
3630 New functions.
3631 (js--proper-indentation): Use them, to handle array comprehension
3632 continuations.
3633
3634 2013-12-08 Leo Liu <sdl.web@gmail.com>
3635
3636 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3637 (flymake-make-overlay): Remove arg MOUSE-FACE.
3638 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3639
3640 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3641
3642 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3643 New function.
3644 (redisplay-highlight-region-function): Use it.
3645
3646 * emulation/cua-base.el (cua--explicit-region-start)
3647 (cua--last-region-shifted): Remove.
3648 (cua--deactivate): Use deactivate-mark.
3649 (cua--pre-command-handler-1): Don't handle shift-selection.
3650 (cua--post-command-handler-1): Don't change transient-mark-mode.
3651 (cua--select-keymaps): Use region-active-p rather than
3652 cua--explicit-region-start or cua--last-region-shifted.
3653 (cua-mode): Enable shift-select-mode.
3654
3655 2013-12-08 Leo Liu <sdl.web@gmail.com>
3656
3657 * progmodes/flymake.el (flymake-popup-current-error-menu):
3658 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3659 (flymake-posn-at-point-as-event, flymake-popup-menu)
3660 (flymake-make-emacs-menu): Remove. (Bug#16077)
3661
3662 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3663
3664 * rect.el (rectangle-mark-mode): Activate mark even if
3665 transient-mark-mode is off (bug#16066).
3666 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3667 is > mark and at bolp.
3668
3669 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3670 (region-extract-function): Use it.
3671 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3672 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3673 Delete functions.
3674 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3675 kill-ring-save, kill-region, delete-char, delete-forward-char.
3676 Ignore self-insert-iso.
3677
3678 * emulation/cua-gmrk.el (cua--init-global-mark):
3679 Ignore `self-insert-iso'.
3680
3681 * emulation/cua-base.el (cua--prefix-copy-handler)
3682 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3683 checking cua--rectangle.
3684 (cua-delete-region): Use region-extract-function.
3685 (cua-replace-region): Delete function.
3686 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3687 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3688 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3689 (cua--init-keymaps): Don't remap delete-selection commands.
3690 (cua-mode): Use delete-selection-mode instead of rolling our own
3691 (bug#16085).
3692
3693 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3694 Obey region-extract-function.
3695
3696 Make registers and delete-selection-mode work on rectangles.
3697 * register.el (describe-register-1): Don't modify the register's value.
3698 (copy-to-register): Obey region-extract-function.
3699 * delsel.el (delete-active-region): Obey region-extract-function.
3700
3701 2013-12-08 Leo Liu <sdl.web@gmail.com>
3702
3703 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3704 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3705 (flymake-compilation-prevents-syntax-check)
3706 (flymake-start-syntax-check-on-newline)
3707 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3708 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3709 (flymake-xml-program, flymake-master-file-dirs)
3710 (flymake-master-file-count-limit)
3711 (flymake-allowed-file-name-masks): Relocate.
3712 (flymake-makehash, flymake-float-time)
3713 (flymake-replace-regexp-in-string, flymake-split-string)
3714 (flymake-get-temp-dir): Remove.
3715 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3716 (flymake-current-row, flymake-selected-frame)
3717 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3718 related functions. (Bug#16077)
3719
3720 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3721
3722 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3723
3724 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3725
3726 * help-fns.el (describe-function-1): Use new advice-* functions
3727 rather than old ad-* functions. Fix function type description and
3728 source links for advised functions and subrs.
3729
3730 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3731
3732 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3733
3734 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3735
3736 * progmodes/compile.el (compilation-start):
3737 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3738
3739 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3740 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3741
3742 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3743
3744 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3745 Touch up the last change.
3746
3747 2013-12-06 Leo Liu <sdl.web@gmail.com>
3748
3749 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3750 (inferior-octave-startup): Always use "octave> " for prompt.
3751 (octave-goto-function-definition)
3752 (octave-sync-function-file-names)
3753 (octave-find-definition-default-filename): Remove redundant backquotes.
3754
3755 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3756
3757 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3758 syntax for `?'.
3759 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3760 where appropriate already.
3761 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3762 end of method names (Bug#15874).
3763
3764 2013-12-06 Juri Linkov <juri@jurta.org>
3765
3766 * isearch.el (isearch--saved-overriding-local-map):
3767 New internal variable.
3768 (isearch-mode): Set it to the initial value of
3769 `overriding-terminal-local-map'.
3770 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3771 with `isearch--saved-overriding-local-map'. (Bug#16035)
3772
3773 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3774
3775 * progmodes/octave.el (inferior-octave-completion-table):
3776 Turn back into function, use `completion-table-with-cache'
3777 (Bug#11906). Update all references.
3778
3779 * minibuffer.el (completion-table-with-cache): New function.
3780
3781 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3782
3783 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3784
3785 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3786
3787 * net/eww.el (eww-current-source): New variable to store page
3788 source.
3789 (eww-display-html, eww-mode, eww-save-history)
3790 (eww-restore-history): Use it.
3791 (eww-view-source): New command to view page source.
3792 Opportunistically uses `html-mode' to highlight the buffer.
3793 (eww-mode-map): Install it.
3794
3795 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3796
3797 * net/dbus.el (dbus-unregister-service)
3798 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3799 Fix docstring.
3800 (dbus-unregister-service): Skip :serial entries in
3801 `dbus-registered-objects-table'.
3802 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3803
3804 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3805
3806 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3807 around keywords with extra `split-string' argument.
3808
3809 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3810
3811 * windmove.el (windmove-other-window-loc): Handle navigation
3812 between windows (excluding the minibuffer window - Bug#16017).
3813
3814 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3815
3816 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3817 in D-Bus type syntax.
3818 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3819 preserve unibyte strings. (Bug#16048)
3820
3821 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3822
3823 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3824 Call force-mode-line-update is the proper buffer (bug#16042).
3825
3826 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3827
3828 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3829 `log-edit-remember-comment', make argument optional. Adjust all
3830 callers.
3831 (log-edit-mode): Add `log-edit-remember-comment' to
3832 `kill-buffer-hook' locally.
3833 (log-edit-kill-buffer): Don't remember comment explicitly since
3834 the buffer is killed anyway.
3835
3836 2013-12-04 Juri Linkov <juri@jurta.org>
3837
3838 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3839 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3840
3841 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3842
3843 * notifications.el (notifications-close-notification): Call the
3844 D-Bus method with ID being a `:uint32'. (Bug#16030)
3845
3846 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3847
3848 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3849
3850 2013-12-03 Juri Linkov <juri@jurta.org>
3851
3852 * progmodes/compile.el (compilation-start): Rename window alist
3853 entry `no-display-ok' to `allow-no-window'.
3854
3855 * simple.el (shell-command): Add window alist entry
3856 `allow-no-window' to `display-buffer'.
3857 (async-shell-command): Doc fix.
3858
3859 * window.el (display-buffer-no-window): New action function.
3860 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3861
3862 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3863
3864 * vc/log-edit.el (log-edit-set-header): Extract from
3865 `log-edit-toggle-header'.
3866 (log-edit-extract-headers): Separate the summary, when extracted
3867 from header, from the rest of the message with an empty line.
3868
3869 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3870 line, if present, to the Summary header.
3871
3872 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3875 in current-buffer (bug#16029).
3876
3877 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3878
3879 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3880 (debugger-mode-map): Bind it.
3881 (debugger--backtrace-base): New function.
3882 (debugger-eval-expression): Use it.
3883 (debugger-frame-number): Skip local vars when present.
3884 (debugger--locals-visible-p, debugger--insert-locals)
3885 (debugger--show-locals, debugger--hide-locals): New functions.
3886
3887 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3888
3889 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3890 "LC_ALL".
3891 (tramp-get-remote-locale): New defun.
3892 (tramp-open-connection-setup-interactive-shell): Use it.
3893
3894 2013-12-02 Leo Liu <sdl.web@gmail.com>
3895
3896 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3897
3898 * progmodes/sh-script.el (sh-shell-process):
3899 * progmodes/octave.el (inferior-octave-process-live-p):
3900 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3901 (gdb-inferior-io-sentinel):
3902 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3903
3904 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3905
3906 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3907 `save-selected-window' to `log-edit-hide-buf'. This makes
3908 `log-edit-show-files' idempotent.
3909 (log-edit-show-files): Mark the new window as dedicated.
3910
3911 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3912
3913 * vc/log-edit.el (log-edit-mode-map): Add binding for
3914 `log-edit-kill-biffer'.
3915 (log-edit-hide-buf): Add a FIXME comment.
3916 (log-edit-add-new-comment): New function, extracted from
3917 `log-edit-done'.
3918 (log-edit-done, log-edit-add-to-changelog): Use it.
3919 (log-edit-kill-buffer): New command.
3920
3921 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3922
3923 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3924 instead of killing the buffer.
3925
3926 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3927
3928 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3929
3930 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3931
3932 * net/eww.el (eww-form-checkbox-selected-symbol)
3933 (eww-form-checkbox-symbol): New customizable variable.
3934 (eww-form-checkbox, eww-toggle-checkbox):
3935 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3936
3937 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3938 (shr--get-media-pref, shr--extract-best-source): New function.
3939 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3940 no :src tag was specified.
3941
3942 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3943 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3944 Use \\` to match beginning of string instead of ^.
3945 (eww-browse-with-external-browser): Provide optional URL parameter.
3946 (eww-render): Set `eww-current-title' back to "".
3947
3948 * net/shr.el (shr-tag-video): Display content for video if no
3949 poster is available.
3950 (shr-tag-audio): Add support for <audio> tag.
3951
3952 * net/eww.el (eww-text-input-types): New const.
3953 (eww-process-text-input): Treat input types in
3954 `eww-text-input-types' as text.
3955
3956 * net/shr.el (shr-tag-table): Fix comment typo.
3957
3958 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3959
3960 * net/eww.el (eww-follow-link): New command to avoid reloading
3961 pages when we follow #target links (bug#15243).
3962 (eww-quit): Special mode buffers shouldn't query before exiting.
3963
3964 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3965
3966 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3967 forms.
3968
3969 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3970
3971 * net/eww.el (eww-restore-history): Update the window title after
3972 moving in the history.
3973 (eww-current-dom): New variable used to save the current DOM.
3974
3975 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3976
3977 * vc/log-edit.el (log-edit-mode-map): Add binding for
3978 `log-edit-beginning-of-line'.
3979 (log-edit-setup-add-author): New user option.
3980 (log-edit-beginning-of-line): New command.
3981 (log-edit): Move major mode call above the contents setup so that
3982 the local variable values are already applied.
3983 (log-edit): Only insert "Author: " when
3984 `log-edit-setup-add-author' is non-nil.
3985 (log-edit): When SETUP is non-nil, position point after ": "
3986 instead of point-min.
3987
3988 2013-12-01 Glenn Morris <rgm@gnu.org>
3989
3990 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3991
3992 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3993
3994 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3995 redisplay to make sure the initial frame gets a chance to become
3996 visible. (Bug#16014)
3997
3998 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3999
4000 Support resizing frames and windows pixelwise.
4001 * cus-start.el (frame-resize-pixelwise)
4002 (window-resize-pixelwise): New entries.
4003 * emacs-lisp/debug.el (debug): Use window-total-height instead
4004 of window-total-size.
4005 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4006 * help.el (describe-bindings-internal): Use help-buffer as
4007 argument for with-help-window.
4008 (temp-buffer-max-width): New option.
4009 (resize-temp-buffer-window, help-window-setup)
4010 (with-help-window): Rewrite.
4011 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4012 dragging dividers.
4013 * window.el (frame-char-size, window-min-pixel-height)
4014 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4015 (window-min-pixel-width, window-safe-min-pixel-size)
4016 (window-combination-p, window-safe-min-size)
4017 (window-resizable-p, window--size-to-pixel)
4018 (window--pixel-to-size, window--resize-apply-p): New functions.
4019 (window-safe-min-height): Fix doc-string.
4020 (window-size, window-min-size, window--min-size-1)
4021 (window-sizable, window-sizable-p, window--min-delta-1)
4022 (window-min-delta, window--max-delta-1, window-max-delta)
4023 (window--resizable, window--resizable-p, window-resizable)
4024 (window-full-height-p, window-full-width-p, window-at-side-p)
4025 (window--in-direction-2, window-in-direction)
4026 (window--resize-reset-1, window--resize-mini-window)
4027 (window-resize, window-resize-no-error)
4028 (window--resize-child-windows-normal)
4029 (window--resize-child-windows, window--resize-siblings)
4030 (window--resize-this-window, window--resize-root-window)
4031 (window--resize-root-window-vertically)
4032 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4033 (maximize-window, minimize-window, delete-window)
4034 (quit-restore-window, window-split-min-size, split-window)
4035 (balance-windows-2, balance-windows)
4036 (balance-windows-area-adjust, balance-windows-area)
4037 (window--state-get-1, window-state-get, window--state-put-1)
4038 (window--state-put-2, window-state-put)
4039 (display-buffer-record-window, window--display-buffer):
4040 Make functions handle pixelwise sizing of windows.
4041 (display-buffer--action-function-custom-type)
4042 (display-buffer-fallback-action):
4043 Add display-buffer-in-previous-window.
4044 (display-buffer-use-some-window): Resize window to height it had
4045 before.
4046 (fit-window-to-buffer-horizontally): New option.
4047 (fit-frame-to-buffer): Describe new values.
4048 (fit-frame-to-buffer-bottom-margin): Replace with
4049 fit-frame-to-buffer-margins.
4050 (window--sanitize-margin): New function.
4051 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4052 using window-text-pixel-size.
4053
4054 2013-11-30 Glenn Morris <rgm@gnu.org>
4055
4056 * emacs-lisp/bytecomp.el (byte-compile-form):
4057 Make the `interactive-only' warning like the `obsolete' one.
4058 * comint.el (comint-run):
4059 * files.el (insert-file-literally, insert-file):
4060 * replace.el (replace-string, replace-regexp):
4061 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4062 (goto-line, insert-buffer, next-line, previous-line):
4063 Tweak `interactive-only' spec.
4064
4065 Stop keeping (most) generated cedet grammar files in the repository.
4066 * Makefile.in (semantic): New.
4067 (compile-main): Depend on semantic.
4068
4069 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4070
4071 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4072 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4073
4074 * uniquify.el (uniquify-buffer-name-style): Change default.
4075
4076 * loadup.el: Preload "uniquify".
4077
4078 * time.el (display-time-update): Update all mode lines (bug#15999).
4079
4080 * electric.el (electric-indent-mode): Enable by default.
4081 * loadup.el: Preload "electric".
4082
4083 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4084
4085 * emacs-lisp/helpers.el (string-empty-p): New function.
4086 (string-blank-p): New function.
4087
4088 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4089
4090 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4091 (Bug#14029).
4092
4093 2013-11-29 Andreas Politz <politza@fh-trier.de>
4094 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4095 allow non-lambda lists as functions.
4096 (imenu--in-alist): Don't recurse into non-subalists.
4097 (imenu): Don't pass function itself as an argument (Bug#14029).
4098
4099 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * progmodes/python.el (python-mode-map): Remove binding for ":".
4102 (python-indent-electric-colon): Remove command.
4103 (python-indent-post-self-insert-function): Integrate the previous code
4104 of python-indent-electric-colon. Make it conditional on
4105 electric-indent-mode.
4106 (python-mode): Add ?: to electric-indent-chars.
4107 Move python-indent-post-self-insert-function to the end of
4108 post-self-insert-hook.
4109
4110 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4111
4112 * doc-view.el (doc-view-goto-page): Update mode-line.
4113
4114 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4115
4116 2013-11-27 Glenn Morris <rgm@gnu.org>
4117
4118 * international/charprop.el, international/uni-bidi.el:
4119 * international/uni-category.el, international/uni-combining.el:
4120 * international/uni-comment.el, international/uni-decimal.el:
4121 * international/uni-decomposition.el, international/uni-digit.el:
4122 * international/uni-lowercase.el, international/uni-mirrored.el:
4123 * international/uni-name.el, international/uni-numeric.el:
4124 * international/uni-old-name.el, international/uni-titlecase.el:
4125 * international/uni-uppercase.el:
4126 Remove generated files from VCS repository.
4127
4128 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4129
4130 * filenotify.el (file-notify-add-watch): Don't special-case
4131 w32notify when computing the directory to watch.
4132
4133 2013-11-27 Glenn Morris <rgm@gnu.org>
4134
4135 Make bootstrap without generated uni-*.el files possible again.
4136 * loadup.el: Update command-line-args checking for unidata-gen.
4137 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4138 * composite.el, international/characters.el:
4139 Handle unicode tables being undefined.
4140
4141 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4142 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4143 (compile-main): Depend on leim rule.
4144 (leim): New rule.
4145 * loadup.el: Move leim-list.el to leim/ subdirectory.
4146 * startup.el (normal-top-level): No more leim directory.
4147 * international/ja-dic-cnv.el (skkdic-convert):
4148 Disable version-control and autoloads in output files.
4149 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4150 Disable version-control and autoloads in output files.
4151 * leim/quail: Move here from ../leim.
4152 * leim/quail/hangul.el (hangul-input-method-activate):
4153 Add autoload cookie.
4154 (generated-autoload-load-name): Set file-local value.
4155 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4156 (generated-autoload-load-name): Set file-local value.
4157
4158 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4159
4160 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4161 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4162 (eww-quit): Ask confirmation before quitting eww.
4163
4164 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4165
4166 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4167 reading output from Diff on MS-Windows and MS-DOS.
4168
4169 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4170
4171 * emacs-lisp/helpers.el (string-reverse): New function.
4172
4173 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4174
4175 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4176 names on MS Windows, like "/[::1]:".
4177
4178 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4179 SWITCHES.
4180
4181 2013-11-26 Glenn Morris <rgm@gnu.org>
4182
4183 * progmodes/python.el (python-indent-guess-indent-offset):
4184 Avoid corner-case error. (Bug#15975)
4185
4186 Preload leim-list.el. (Bug#4789)
4187 * loadup.el: Load leim-list.el when found.
4188 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4189
4190 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4191
4192 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4193
4194 * emacs-lisp/helpers.el (string-join): New function.
4195
4196 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4197
4198 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4199 Mark as obsolete and replace it with a symbol property.
4200 (byte-compile-form): Use new 'interactive-only property.
4201 * comint.el, files.el, replace.el, simple.el:
4202 Apply new 'interactive-only properly.
4203
4204 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4205
4206 * window.el (display-buffer-at-bottom): Make sure that
4207 split-window-sensibly creates the new window on bottom
4208 (Bug#15961).
4209
4210 2013-11-23 David Kastrup <dak@gnu.org>
4211
4212 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4213 on the conflict markers when available.
4214 (smerge--get-marker): New function.
4215 (smerge-end-re, smerge-base-re): Add subgroup.
4216
4217 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * frame.el (handle-focus-in, handle-focus-out): Add missing
4220 interactive spec.
4221
4222 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4223
4224 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4225 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4226
4227 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4230 (gomoku--last-pos): New var.
4231 (gomoku--intangible-chars): New const.
4232 (gomoku--intangible): New function.
4233 (gomoku-mode): Use it. Derive from special-mode.
4234 (gomoku-move-up): Adjust line count.
4235 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4236 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4237 Simplify accordingly.
4238
4239 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4240 Remove blink-cursor code.
4241 (blink-cursor-timer-function, blink-cursor-suspend):
4242 Don't special-case GUIs.
4243 (blink-cursor-mode): Use focus-in/out-hook.
4244
4245 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4246
4247 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4248 work when annotation is invisible (Bug#13886).
4249
4250 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4251
4252 * json.el (json-alist-p): Only return non-nil if the alist has
4253 simple keys (Bug#13518).
4254
4255 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4256
4257 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4258 when control-statement is the first statement in a buffer (Bug#15956).
4259
4260 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4261
4262 * imenu.el (imenu-generic-skip-comments-and-strings):
4263 New option (Bug#15560).
4264 (imenu--generic-function): Use it.
4265
4266 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4267
4268 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4269 (Bug#13898)
4270
4271 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4272
4273 * emacs-lisp/helpers.el: Add some string helpers.
4274 (string-trim-left): Removes leading whitespace.
4275 (string-trim-right): Removes trailing whitespace.
4276 (string-trim): Removes leading and trailing whitespace.
4277
4278 * subr.el (string-suffix-p): New function.
4279
4280 2013-11-23 Glenn Morris <rgm@gnu.org>
4281
4282 * progmodes/python.el (python-shell-send-file):
4283 Add option to delete file when done. (Bug#15647)
4284 (python-shell-send-string, python-shell-send-region): Use it.
4285
4286 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4287
4288 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4289 to set buffer-read-only to t, never to nil. (Bug#15938)
4290
4291 * textmodes/tex-mode.el (latex-noindent-environments):
4292 Add safe-local-variable property. (Bug#15936)
4293
4294 2013-11-23 Glenn Morris <rgm@gnu.org>
4295
4296 * textmodes/enriched.el (enriched-mode): Doc fix.
4297 * emacs-lisp/authors.el (authors-renamed-files-alist):
4298 Add enriched.doc -> enriched.txt.
4299
4300 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4301
4302 2013-11-22 Leo Liu <sdl.web@gmail.com>
4303
4304 * progmodes/octave.el (inferior-octave-startup): Spit out error
4305 message.
4306
4307 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4308
4309 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4310 Improve docstring.
4311 Add :version.
4312 (ruby-encoding-magic-comment-style): Add :version.
4313
4314 2013-11-22 Leo Liu <sdl.web@gmail.com>
4315
4316 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4317 (Bug#15076)
4318 (octave-help-mode): Adapt to change to help-mode-finish to use
4319 derived-mode-p on 2013-09-17.
4320 (inferior-octave-prompt): Also match octave-gui.
4321 (octave-kill-process): Don't ask twice. (Bug#10564)
4322
4323 2013-11-22 Leo Liu <sdl.web@gmail.com>
4324
4325 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4326 (inferior-octave-startup, inferior-octave-check-process)
4327 (inferior-octave-track-window-width-change)
4328 (octave-completion-at-point, octave-eldoc-function): Use it.
4329 (octave-kill-process): Provide confirmation. (Bug#10564)
4330
4331 2013-11-21 Leo Liu <sdl.web@gmail.com>
4332
4333 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4334 Fix obsolete variable comment-use-global-state.
4335
4336 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4337
4338 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4339 Add `octave-source-file'.
4340 (octave-source-file): New function. (Bug#15935)
4341
4342 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4343
4344 * net/eww.el (eww-local-regex): New variable.
4345 (eww): Use it to detect localhost and similar.
4346
4347 2013-11-21 Leo Liu <sdl.web@gmail.com>
4348
4349 Add completion for command `ag'.
4350 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4351 (pcomplete/ag): New function.
4352 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4353
4354 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4357 (bug#14646).
4358 (make-obsolete): Remove interactive spec.
4359
4360 2013-11-21 Glenn Morris <rgm@gnu.org>
4361
4362 * startup.el (command-line-1): Use path-separator with -L.
4363
4364 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4365
4366 * emacs-lisp/package.el (describe-package-1): Add package archive
4367 to shown fields.
4368
4369 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4370
4371 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4372 Change default to "# encoding: %s" to differentiate it from the
4373 default Ruby encoding comment template.
4374
4375 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4376
4377 * ses.el (ses-mode): Doc fix. (Bug#14748)
4378
4379 2013-11-20 Leo Liu <sdl.web@gmail.com>
4380
4381 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4382
4383 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4384
4385 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4386 when rebase or bisect are in progress.
4387
4388 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4389
4390 * filenotify.el (file-notify-add-watch): Doc fix.
4391
4392 2013-11-19 Leo Liu <sdl.web@gmail.com>
4393
4394 * obsolete/rcompile.el: Mark obsolete.
4395
4396 * progmodes/compile.el (compilation-start)
4397 (compilation-goto-locus, compilation-find-file):
4398 Pass no-display-ok and handle nil value from display-buffer.
4399 (Bug#13594)
4400
4401 * window.el (display-buffer-alist, display-buffer): Document the
4402 new parameter no-display-ok. Return either a window or nil
4403 but never a non-window value.
4404
4405 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * electric.el (electric-indent-mode-map): Remove.
4408 (electric-indent-mode): Change the global-map instead (bug#15915).
4409
4410 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4411 Use add-function.
4412
4413 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 * emacs-lisp/nadvice.el (remove-function): Align with
4416 add-function's behavior.
4417
4418 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4419 (gdb--string-regexp): New constant.
4420 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4421 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4422 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4423 submatch 1.
4424 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4425 Adjust use accordingly.
4426 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4427
4428 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4429
4430 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4431 interpolation curlies (Bug#15914).
4432
4433 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4434
4435 * calc/calc.el (calc-context-sensitive-enter): New variable.
4436 (calc-enter): Use `calc-context-sensitive-enter'.
4437
4438 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4439
4440 * progmodes/cfengine.el: Version bump.
4441 (cfengine-cf-promises): New defcustom to locate cf-promises.
4442 (cfengine3-vartypes): Add new "data" type.
4443 (cfengine3--current-word): New function to get current name-like
4444 word or its bounds.
4445 (cfengine3--current-function): New function to look up a CFEngine
4446 function's definition.
4447 (cfengine3-format-function-docstring): New function.
4448 (cfengine3-make-syntax-cache): New function.
4449 (cfengine3-documentation-function): New function: ElDoc glue.
4450 (cfengine3-completion-function): New function: completion glue.
4451 (cfengine3-mode): Set `compile-command',
4452 `eldoc-documentation-function', and add to
4453 `completion-at-point-functions'.
4454
4455 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4456
4457 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4458 `tramp-current-connection'.
4459
4460 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4461
4462 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4463 nil/self/true/false with "end of symbol".
4464
4465 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4466
4467 * subr.el (version-regexp-alist): Fix a typo.
4468
4469 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4470
4471 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4472 "en_US.utf8" and "LC_CTYPE" to "".
4473 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4474 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4475
4476 2013-11-15 Leo Liu <sdl.web@gmail.com>
4477
4478 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4479
4480 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * progmodes/gud.el (ctl-x-map):
4483 Remove C-x SPC binding. (Bug#12342)
4484 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4485
4486 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4487
4488 * subr.el (version-regexp-alist):
4489 Recognize hg, svn and darcs versions as snapshot versions.
4490
4491 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4492 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4493 (ruby--encoding-comment-required-p): Extract from
4494 `ruby-mode-set-encoding'.
4495 (ruby-mode-set-encoding): Add the ability to always insert an
4496 utf-8 encoding comment. Fix and simplify coding comment update
4497 logic.
4498
4499 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4500
4501 * net/tramp-gvfs.el (top): Run init code only when
4502 `tramp-gvfs-enabled' is not nil.
4503 (tramp-gvfs-enabled): Check also :system bus.
4504
4505 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 Sync with upstream verilog-mode revision 78e66ba.
4508 * progmodes/verilog-mode.el (verilog-end-of-defun)
4509 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4510 (verilog-get-end-of-defun): Remove unused argument.
4511 (verilog-comment-depth): Remove unused local `e'.
4512 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4513 Don't pass arg to verilog-get-end-of-defun.
4514
4515 2013-11-14 Glenn Morris <rgm@gnu.org>
4516
4517 * obsolete/assoc.el (aget): Prefix dynamic variable.
4518
4519 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4520
4521 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * widget.el, hfy-cmap.el: Remove bogus package version number.
4524
4525 2013-11-13 Glenn Morris <rgm@gnu.org>
4526
4527 * replace.el (replace-eval-replacement):
4528 Try to give more helpful error message. (Bug#15836)
4529
4530 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4531 (archive-7z-update): Avoid custom type mismatches.
4532
4533 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4534
4535 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4536
4537 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4538 address can be empty.
4539
4540 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4541 Accept nil SWITCHES.
4542 (tramp-gvfs-handle-write-region): Implement APPEND.
4543
4544 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4545
4546 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4547 binary "|" operator and closing block args delimiter.
4548 Remove FIXME comment referring to Ruby 1.8-only syntax.
4549 (ruby-smie--implicit-semi-p): Not after "|" operator.
4550 (ruby-smie--closing-pipe-p): New function.
4551 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4552 (ruby-smie-rules): Indent after "|".
4553
4554 2013-11-12 Glenn Morris <rgm@gnu.org>
4555
4556 * ps-print.el (ps-face-attribute-list):
4557 Handle anonymous faces. (Bug#15827)
4558
4559 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4560
4561 * window.el (display-buffer-other-frame): Fix doc-string.
4562 (Bug#15868)
4563
4564 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4565
4566 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4567
4568 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4569
4570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4571 (tramp-sh-handle-file-local-copy): Don't write a message when
4572 saving temporary files.
4573
4574 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4575 both directories are remote.
4576 (tramp-smb-handle-directory-files): Do not return double entries.
4577 Do not expand full file names.
4578 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4579 (tramp-smb-handle-write-region): Implement APPEND.
4580 (tramp-smb-get-stat-capability): Fix a stupid bug.
4581
4582 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4585
4586 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4587
4588 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4589 throwing error over malformed let/let* (bug#15814).
4590
4591 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * iswitchb.el (iswitchb-mode): Mark obsolete.
4594
4595 2013-11-11 Glenn Morris <rgm@gnu.org>
4596
4597 * international/uni-bidi.el, international/uni-category.el:
4598 * international/uni-name.el, international/uni-numeric.el:
4599 Regenerate for Unicode 6.3.0.
4600
4601 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4602
4603 * net/tramp.el (tramp-methods):
4604 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4605 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4606
4607 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4608
4609 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4610 Force highlighting text after Summary keyword in doc face for rpm.
4611
4612 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4613
4614 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4615 available and the word has no wildcards, append one to the grep pattern.
4616 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4617 (ispell-complete-word): Call `ispell-lookup-words' with the value
4618 independent of `ispell-look-p'.
4619
4620 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4621
4622 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4623 Not after "||".
4624 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4625 their parent.
4626
4627 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4630 (ruby-font-lock-keywords): Use backquote.
4631
4632 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4633
4634 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4635 (ruby-smie--backward-token): Only consider full-string matches.
4636
4637 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4638
4639 * faces.el (describe-face): Add distant-foreground.
4640
4641 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4642
4643 * progmodes/ruby-mode.el: Improve encoding comment handling.
4644 (ruby-encoding-magic-comment-style): New option.
4645 (ruby-custom-encoding-magic-comment-template): New option.
4646 (ruby--insert-coding-comment, ruby--detect-encoding):
4647 New functions extracted from `ruby-mode-set-encoding'.
4648 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4649 to control the style of the auto-inserted encoding comment.
4650
4651 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4652
4653 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4654 Use `smie-backward-sexp' with token argument.
4655
4656 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4657
4658 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4659 Remove instrumentation code.
4660
4661 2013-11-08 Glenn Morris <rgm@gnu.org>
4662
4663 * progmodes/autoconf.el (autoconf-mode):
4664 Tweak comment-start-skip. (Bug#15822)
4665
4666 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4669 at bobp (bug#15826).
4670 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4671
4672 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4673
4674 * man.el (Man-start-calling): New macro, extracted from
4675 Man-getpage-in-background.
4676 (Man-getpage-in-background): Use it.
4677 (Man-update-manpage): New command.
4678 (Man-mode-map): Bind it.
4679
4680 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4681
4682 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4683 of "and", "or", "&&" and "||".
4684 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4685 argument. Prohibit opening curly brace because it could only be a
4686 block opener in that position.
4687 (ruby-smie--forward-token, ruby-smie--backward-token):
4688 Separate "|" from "&" or "*" going after it. That can happen in block
4689 arguments.
4690 (ruby-smie--indent-to-stmt): New function, seeks the end of
4691 previous statement or beginning of buffer.
4692 (ruby-smie-rules): Use it.
4693 (ruby-smie-rules): Check if there's a ":" before a curly block
4694 opener candidate; if there is, it's a hash.
4695
4696 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4699 (cl--block-wrapper): Fix last accidental change.
4700
4701 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4702
4703 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4704 Instrument, in order to hunt failure on hydra.
4705
4706 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4707
4708 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4709 malformed bindings form (bug#15814).
4710
4711 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4712
4713 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4714 "." compared to " @ ". This incidentally fixes some indentation
4715 examples with "do".
4716 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4717 (ruby-smie-grammar): New tokens: "and" and "or".
4718 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4719 Exclude "and" and "or". Remove "do" in order to work around token
4720 priorities.
4721 (ruby-smie-rules): Add all infix tokens. Handle the case of
4722 beginning-of-buffer.
4723
4724 2013-11-06 Glenn Morris <rgm@gnu.org>
4725
4726 * Makefile.in (setwins_almost, setwins_for_subdirs):
4727 Avoid accidental matches.
4728
4729 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4730
4731 * menu-bar.el (popup-menu): Use key-binding.
4732
4733 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4734
4735 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4736 menus, support also the menus produced by minor modes.
4737 (Bug#15817)
4738
4739 2013-11-06 Leo Liu <sdl.web@gmail.com>
4740
4741 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4742 DISTANCE to bound the search. All uses changed. (Bug#15808)
4743
4744 2013-11-06 Glenn Morris <rgm@gnu.org>
4745
4746 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4747 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4748 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4749
4750 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4751
4752 * electric.el (electric-indent-just-newline): New command.
4753 (electric-indent-mode-map): New keymap.
4754 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4755 Re-add :group which weren't redundant.
4756
4757 * electric.el (electric-indent-local-mode): New minor mode.
4758 (electric-indent-functions-without-reindent): New var.
4759 (electric-indent-post-self-insert-function): Use it.
4760 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4761
4762 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4763
4764 * international/quail.el (quail-help): Be more explicit about the
4765 meaning of the labels shown on the keys. (Bug#15800)
4766
4767 * startup.el (normal-top-level): Load the subdirs.el files before
4768 setting the locale environment. (Bug#15805)
4769
4770 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4773 via arguments so as to get the right ones (bug#15418).
4774
4775 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4776
4777 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4778
4779 Fix problems found while writing a test suite.
4780
4781 * net/tramp-compat.el (tramp-compat-load): New defun.
4782 * net/tramp.el (tramp-handle-load): Use it.
4783
4784 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4785 "(numberp ok-if-already-exists)" correctly.
4786
4787 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4788
4789 * international/characters.el (glyphless-char-display-control):
4790 Add usage note.
4791
4792 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4793
4794 * progmodes/python.el (python-mode):
4795 * progmodes/scheme.el (scheme-mode):
4796 * progmodes/prolog.el (prolog-mode):
4797 * progmodes/ruby-mode.el (ruby-mode):
4798 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4799 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4800
4801 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * rect.el (rectangle--highlight-for-redisplay):
4804 * emacs-lisp/smie.el (smie--next-indent-change):
4805 Use buffer-chars-modified-tick.
4806
4807 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4808
4809 * electric.el (electric-indent-post-self-insert-function):
4810 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4811
4812 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4813
4814 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4815
4816 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4817
4818 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4819 (bug#15786).
4820
4821 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4824
4825 * progmodes/python.el: Fix up last change.
4826 (python-shell--save-temp-file): New function.
4827 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4828 `string' comes from the current buffer.
4829 (python-shell-send-string-no-output): Remove `msg' arg.
4830 (python--use-fake-loc): New var.
4831 (python-shell-buffer-substring): Obey it. Try to compensate for the
4832 extra coding line added by python-shell--save-temp-file.
4833 (python-shell-send-region): Use python-shell--save-temp-file and
4834 python-shell-send-file directly. Add `nomain' argument.
4835 (python-shell-send-buffer): Use python-shell-send-region.
4836 (python-electric-pair-string-delimiter): New function.
4837 (python-mode): Use it.
4838
4839 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4840
4841 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4842 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4843 environment and decoding all of the default-directory's to here
4844 from command-line.
4845 (command-line): Decode also argv[0].
4846
4847 * loadup.el: Error out if default-directory is a multibyte string
4848 when we are dumping.
4849
4850 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4851
4852 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4853
4854 * emacs-lisp/package.el (package-menu-mode)
4855 (package-menu--print-info, package-menu--archive-predicate):
4856 Add Archive column to package list.
4857
4858 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4859
4860 Fix problems found while writing a test suite.
4861
4862 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4863 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4864 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4865 to nil when running original file name handler. Otherwise,
4866 there are problems with constructs like "$$FOO".
4867
4868 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4869 for `localname'.
4870
4871 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4872
4873 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4874
4875 * subr.el (version<, version<=, version=):
4876 Update docstrings with information for snapshot versions.
4877
4878 * helpers.el: New library for misc helper functions.
4879 (hash-table-keys): New function returning a list of hash keys.
4880 (hash-table-values): New function returning a list of hash values.
4881
4882 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4883
4884 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4885 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4886
4887 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4888
4889 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4890 checking whether point is after a 1-letter word.
4891
4892 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4893
4894 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4895 Don't infloop when expanding region over `multiline' syntax-type that
4896 begins a line (bug#15778).
4897
4898 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4901 Make it into a proper minor mode.
4902 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4903 (rectangle-mark-mode-map): New keymap.
4904 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4905
4906 2013-11-04 Glenn Morris <rgm@gnu.org>
4907
4908 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4909
4910 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4913 (ruby-smie-rules): Use smie-rule-parent instead.
4914
4915 * emacs-lisp/smie.el (smie-rule-parent): Always call
4916 smie-indent-virtual rather than only for hanging tokens.
4917 (smie--next-indent-change): New helper command.
4918
4919 2013-11-03 Glenn Morris <rgm@gnu.org>
4920
4921 * Makefile.in (abs_srcdir): Remove.
4922 (emacs): Unset EMACSLOADPATH.
4923
4924 2013-11-02 Glenn Morris <rgm@gnu.org>
4925
4926 * Makefile.in (EMACS): Use a relative filename.
4927 (abs_top_builddir): Remove.
4928 (custom-deps, finder-data, autoloads): Use --chdir.
4929
4930 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4931
4932 Use relative filenames in TAGS files.
4933 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4934 (lisptagsfiles4, TAGS): Use relative file names.
4935 (TAGS-LISP): Remove.
4936 (maintainer-clean): No more TAGS-LISP file.
4937
4938 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4939 (lisptagsfiles4): Use absolute filenames again.
4940 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4941 Remove all *loaddefs files, not just the first. Remove esh-groups.
4942 (maintainer-clean): Delete TAGS, TAGS-LISP.
4943
4944 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4945
4946 * emacs-lisp/package.el (package-version-join):
4947 Recognize snapshot versions.
4948
4949 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4950
4951 * subr.el (version-regexp-alist): Add support for snapshot versions.
4952
4953 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4954
4955 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4956 New function, replacement for `smie-rule-parent' for when we want to
4957 skip over our direct parent if it's an assignment token..
4958 (ruby-smie-rules): Use it.
4959
4960 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4961
4962 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4963 unconditionally. Remove now unnecessary forward declarations.
4964 Remove XEmacs-specific setup.
4965 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4966 (ruby-font-lock-syntactic-keywords)
4967 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4968 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4969 (ruby-here-doc-end-syntax): Remove.
4970 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4971 defined as function.
4972
4973 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4974
4975 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4976
4977 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4978
4979 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4980 table and abbrev table, `define-derived-mode' does that for us
4981 anyway.
4982
4983 2013-11-01 Glenn Morris <rgm@gnu.org>
4984
4985 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4986 files is atomic for some time, so no parallel compilation issues).
4987
4988 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4989
4990 * faces.el (face-x-resources): Add :distant-foreground.
4991 (region): Use :distant-foreground for gtk and ns.
4992
4993 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4994
4995 Allow multiple bibliographies when BibLaTeX is used rather than
4996 BibTeX.
4997 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4998 (reftex-locate-bibliography-files): Us it.
4999
5000 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5001
5002 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5003 allow comments in pbm files.
5004
5005 * term/w32-win.el (dynamic-library-alist): Support newer versions
5006 of libjpeg starting with v7: look only for the DLL from the
5007 version against which Emacs was built.
5008 Support versions of libpng beyond 1.4.x.
5009 Support libtiff v4.x.
5010
5011 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5012
5013 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5014 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5015 Add property :safe.
5016 (ruby-deep-arglist): Add property :type.
5017
5018 2013-10-31 Glenn Morris <rgm@gnu.org>
5019
5020 * Makefile.in (custom-deps, finder-data): No need to setq the target
5021 variables, we are in the right directory and the defaults work fine.
5022
5023 2013-10-30 Glenn Morris <rgm@gnu.org>
5024
5025 * Makefile.in (autoloads): Do not use abs_lisp.
5026
5027 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5028 `newline' does not respect `standard-output', so use `princ'.
5029
5030 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5031
5032 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5033 * buff-menu.el (Buffer-menu--unmark): New function.
5034 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5035
5036 2013-10-30 Glenn Morris <rgm@gnu.org>
5037
5038 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5039
5040 * emacs-lisp/package.el (lm-homepage): Declare.
5041
5042 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5043 Fix doc typos.
5044
5045 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5046
5047 * Makefile.in (finder-data, autoloads, update-subdirs)
5048 (compile-main, compile-clean, compile-always, bootstrap-clean):
5049 Check return value of cd.
5050 (compile-calc): Remove.
5051
5052 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5053
5054 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5055
5056 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5057 (byte-compile-and-folded): New function.
5058 (=, <, >, <=, >=): Use it.
5059
5060 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5061 (path-separator, null-device, buffer-file-coding-system)
5062 (lpr-headers-switches): Check system-type before modifying them.
5063 (find-buffer-file-type-coding-system): Mark obsolete.
5064 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5065 find-file-not-found-set-buffer-file-coding-system.
5066 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5067 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5068 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5069 (w32-direct-print-region-helper, w32-direct-print-region-function)
5070 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5071 * startup.el (normal-top-level-add-subdirs-to-load-path):
5072 * ps-print.el (ps-print-region-function):
5073 * lpr.el (print-region-function): Use new name.
5074
5075 * subr.el (custom-declare-variable-early): Remove function.
5076 (custom-declare-variable-list): Remove var.
5077 (error, user-error): Remove `while' loop.
5078 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5079 (user-emacs-directory-warning, locate-user-emacs-file):
5080 Move to files.el.
5081 * simple.el (read-quoted-char-radix, read-quoted-char):
5082 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5083 Move from subr.el.
5084 * custom.el (custom-declare-variable-list): Don't process
5085 custom-declare-variable-list.
5086
5087 * progmodes/python.el (python-shell-get-buffer): New function.
5088 (python-shell-get-process): Use it.
5089 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5090 Python which encoding was used. Don't split-string since we only care
5091 about the first line. Return the temp-file, if applicable.
5092 (python-shell-send-region): Tell compile.el how to turn locations in
5093 the temp-file into locations in the source buffer.
5094
5095 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * subr.el (undefined): Add missing behavior from the C code for
5098 unbound keys.
5099
5100 * rect.el: Use lexical-binding. Add new rectangular region support.
5101 (rectangle-mark): New command.
5102 (rectangle--region): New var.
5103 (deactivate-mark-hook): Reset rectangle--region.
5104 (rectangle--extract-region, rectangle--insert-for-yank)
5105 (rectangle--highlight-for-redisplay)
5106 (rectangle--unhighlight-for-redisplay): New functions.
5107 (region-extract-function, redisplay-unhighlight-region-function)
5108 (redisplay-highlight-region-function): Use them to handle
5109 rectangular region.
5110 * simple.el (region-extract-function): New var.
5111 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5112 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5113 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5114 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5115 (redisplay-unhighlight-region-function)
5116 (redisplay-highlight-region-function): New vars.
5117 (redisplay--update-region-highlight): New function.
5118 (pre-redisplay-function): Use it.
5119 (exchange-point-and-mark): Don't deactivate the mark before
5120 reactivate-it anyway.
5121 * comint.el (comint-kill-region): Remove yank-handler argument.
5122 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5123 (delete-char): Remove property, since it's now part of their
5124 default behavior.
5125 (self-insert-iso): Remove property since this command doesn't exist.
5126
5127 * emacs-lisp/package.el (package--download-one-archive)
5128 (describe-package-1): Don't query the user about final newline.
5129
5130 2013-10-29 Daniel Colascione <dancol@dancol.org>
5131
5132 * net/tramp.el (tramp-methods): Document new functionality.
5133 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5134 tramp-hostname-checker if method provides one instead of scanning
5135 argument list for "%h" to decide hostname acceptability.
5136
5137 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5138
5139 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5140 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5141 Handle COPY-CONTENTS. (Bug#15737)
5142
5143 2013-10-28 Daiki Ueno <ueno@gnu.org>
5144
5145 * epa-file.el
5146 (epa-file-cache-passphrase-for-symmetric-encryption):
5147 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5148
5149 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5150
5151 * image.el (defimage, image-load-path): Doc fixes.
5152
5153 2013-10-27 Alan Mackenzie <acm@muc.de>
5154
5155 Indent statements in macros following "##" correctly.
5156 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5157 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5158
5159 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5160
5161 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5162
5163 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5164
5165 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5166 after `=' is probably a new expression.
5167
5168 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5169
5170 * man.el (man-imenu-title): New option.
5171 (Man-mode-map): Add menu. (Bug#15722)
5172 (Man-mode): Add imenu to menu.
5173
5174 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5175
5176 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5177 specific in what the first arg can be: a non-keyword word,
5178 string/regexp/percent literal opener, opening paren, or unary
5179 operator followed directly by word.
5180
5181 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5184 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5185 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5186 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5187 Remove vars, they do not apply any more.
5188 (prolog-mode-abbrev-table): Remove redundant declaration.
5189 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5190 (prolog-use-smie): Remove.
5191 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5192 supported by prolog-electric-if-then-else-flag.
5193 (prolog-mode-variables, prolog-menu): Use setq-local.
5194 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5195 Remove binding to `Backspace' since this key doesn't exist anyway.
5196 Remove bindings for electric self-inserting keys.
5197 (prog-mode): Assume it's defined.
5198 (prolog-post-self-insert): New function.
5199 (prolog-mode): Use it.
5200 (prolog-indent-line, prolog-indent-level)
5201 (prolog-find-indent-of-matching-paren)
5202 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5203 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5204 (prolog-goto-next-paren, prolog-in-string-or-comment)
5205 (prolog-tokenize, prolog-inside-mline-comment)
5206 (prolog-find-start-of-mline-comment): Remove functions.
5207 (prolog-find-unmatched-paren, prolog-clause-end)
5208 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5209 (prolog-electric--if-then-else): Rename from
5210 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5211 (prolog-tokenize-searchkey): Remove const.
5212 (prolog-clause-info): Use forward-sexp.
5213 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5214 (prolog-electric-if-then-else): Remove commands.
5215 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5216 for use in post-self-insert-hook.
5217 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5218 for use in post-self-insert-hook.
5219 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5220 for use in post-self-insert-hook.
5221 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5222 adapt it for use in post-self-insert-hook.
5223
5224 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5225
5226 * emacs-lisp/ert.el (ert-run-tests-interactively):
5227 Use `completing-read'. (Bug#9756)
5228
5229 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5230
5231 * simple.el (line-move): Call line-move-1 instead of
5232 line-move-visual when the current window hscroll is zero, but
5233 temporary-goal-column indicates we will need to hscroll as result
5234 of the movement. (Bug#15712)
5235
5236 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5237
5238 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5239 capitalization. Use :visible instead of :active.
5240 Fix `ruby-indent-exp' reference. Add menu items for the generic
5241 commands that are used with SMIE.
5242 (ruby-do-end-to-brace): Insert space after `{'.
5243
5244 2013-10-25 John Anthony <john@jo.hnanthony.com>
5245
5246 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5247
5248 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5249
5250 2013-10-25 Glenn Morris <rgm@gnu.org>
5251
5252 * vc/vc.el (vc-print-log): Don't use a working revision unless
5253 one was explicitly specified. (Bug#15322)
5254
5255 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5256
5257 * subr.el (add-to-list): Preserve return value in compiler-macro
5258 (bug#15692).
5259
5260 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5261
5262 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5263 result. Ask user to retry using '-all' flag. (Bug#15701)
5264
5265 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5266
5267 * emacs-lisp/smie.el: New smie-config system.
5268 (smie-config): New defcustom.
5269 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5270 (smie-config-guess, smie-config-save): New commands.
5271 (smie-config--mode-local, smie-config--buffer-local)
5272 (smie-config--trace, smie-config--modefuns): New vars.
5273 (smie-config--advice, smie-config--mode-hook)
5274 (smie-config--setter, smie-config-local, smie-config--get-trace)
5275 (smie-config--guess-value, smie-config--guess): New functions.
5276 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5277 text properties. Treat "string fence" syntax like string syntax.
5278
5279 * progmodes/sh-script.el (sh-use-smie): Change default.
5280 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5281 (sh-var-value): Simplify by CSE.
5282 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5283 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5284 is used.
5285 (sh-guess-basic-offset): Use cl-incf.
5286 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5287
5288 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5289
5290 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5291 (bug#15699).
5292
5293 2013-10-24 Glenn Morris <rgm@gnu.org>
5294
5295 * Makefile.in (abs_top_srcdir): Remove.
5296 (update-subdirs): Use relative path to update-subdirs.
5297
5298 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5299
5300 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5301 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5302 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5303 Call unmsys--file-name before expand-file-name, not after it.
5304
5305 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5306
5307 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5308 (ert-test-skipped): New error.
5309 (ert-skip, ert-stats-skipped): New defuns.
5310 (ert--skip-unless): New macro.
5311 (ert-test-skipped): New struct.
5312 (ert--run-test-debugger, ert-test-result-type-p)
5313 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5314 (ert--stats-set-test-and-result, ert-char-for-test-result)
5315 (ert-string-for-test-result, ert-run-tests-batch)
5316 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5317 Handle skipped tests. (Bug#9803)
5318
5319 2013-10-24 Glenn Morris <rgm@gnu.org>
5320
5321 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5322
5323 * Makefile.in (abs_top_srcdir): New, set by configure.
5324 (update-subdirs): Correct build-aux location.
5325
5326 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5327
5328 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5329 value, whether we could auto-deduce `backend', or not.
5330
5331 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5332 with parameters" example. Simplify the "is it block or is it
5333 hash" check, but also make it more thorough.
5334
5335 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5336
5337 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5338
5339 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5342 { if it is hanging.
5343
5344 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5345 :before ";".
5346
5347 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5348
5349 * progmodes/compile.el (compilation-directory-matcher)
5350 (compilation-page-delimiter):
5351 Support GNU Make-4.0 directory quoting. (Bug#15678)
5352
5353 2013-10-23 Leo Liu <sdl.web@gmail.com>
5354
5355 * ido.el (ido-tidy): Handle read-only text.
5356
5357 2013-10-23 Glenn Morris <rgm@gnu.org>
5358
5359 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5360 (emacs, compile, compile-always):
5361 Quote entities that might contain whitespace.
5362 (custom-deps, finder-data, autoloads): Use abs_lisp.
5363 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5364 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5365 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5366
5367 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5368
5369 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5370 Use `following-char'.
5371
5372 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5373
5374 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5375 * progmodes/ruby-mode.el (ruby-smie-rules):
5376 Remove corresponding workaround. Fix indentation rule of ";" so it
5377 also applies when ";" is the parent.
5378
5379 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5380
5381 * frame.el (display-screens, display-pixel-height)
5382 (display-pixel-width, display-mm-width, display-backing-store)
5383 (display-save-under, display-planes, display-color-cells)
5384 (display-visual-class, display-monitor-attributes-list):
5385 Mention the optional ‘display’ argument in doc strings.
5386
5387 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5388
5389 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5390 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5391
5392 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5393
5394 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5395 TODO. Add "." after " @ ".
5396 (ruby-smie--at-dot-call): New function. Checks if point at method
5397 call with explicit target.
5398 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5399 to the method name tokens when it precedes them.
5400 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5401 (ruby-smie-rules): Add rule for indentation before and after "."
5402 token.
5403
5404 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * textmodes/remember.el (remember-diary-extract-entries):
5407 Avoid add-to-list.
5408
5409 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5410 an instruction.
5411
5412 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5413
5414 * progmodes/ruby-mode.el (ruby-smie-grammar):
5415 Add (almost) all infix operators.
5416 (ruby-smie--implicit-semi-p): Add new operator chars.
5417
5418 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5419 `smie-down-list'.
5420 (ruby-smie--args-separator-p): Check that there's no newline
5421 between method call and its arguments.
5422
5423 2013-10-20 Alan Mackenzie <acm@muc.de>
5424
5425 Allow comma separated lists after Java "implements".
5426
5427 * progmodes/cc-engine.el (c-backward-over-enum-header):
5428 Parse commas.
5429 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5430 from a "disallowed" list in enum fontification.
5431
5432 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5433
5434 * startup.el (default-frame-background-mode): Remove unused defvar.
5435
5436 * progmodes/verilog-mode.el (verilog-mode): Don't set
5437 comment-indent-function globally.
5438
5439 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5440
5441 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5442 Move Info menu item creation to ns-win.el.
5443
5444 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5445 in menu bar.
5446
5447 * menu-bar.el: Move GNUstep specific menus...
5448
5449 * term/ns-win.el (ns-initialize-window-system): ... to here.
5450
5451 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * simple.el (newline): Only run post-self-insert-hook when
5454 called interactively.
5455
5456 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5457
5458 * icomplete.el (icomplete-with-completion-tables): Add :version.
5459
5460 2013-10-19 Alan Mackenzie <acm@muc.de>
5461
5462 Fix fontification bugs with constructors and const.
5463
5464 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5465 CASE 2) Remove the check for the absence of a suffix construct
5466 after a function declaration with only types (no identifiers) in
5467 the parentheses. Also, accept a function declaration with just a
5468 type inside the parentheses, if this type can be positively
5469 recognised as such, or if a prefix keyword like "explicit" nails
5470 down the construct as a declaration.
5471
5472 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5473
5474 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5475 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5476 the problem whereby selecting a menu item that leads to a
5477 minibuffer prompt moves the cursor out of the minibuffer window,
5478 making it hard to type at the prompt. Suggested by Stefan Monnier
5479 <monnier@iro.umontreal.ca>.
5480
5481 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5482
5483 * menu-bar.el: Don't make Services menu.
5484
5485 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5486
5487 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5488 (ffap-alist): Use ffap-c++-mode for c++-mode.
5489 (ffap-c++-path): New variable.
5490 (ffap-c++-mode): New function.
5491
5492 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5493
5494 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5495
5496 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5499 introduced on 2013-09-08, which results in an infinite loop
5500 requesting a password.
5501
5502 2013-10-18 Glenn Morris <rgm@gnu.org>
5503
5504 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5505
5506 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5507
5508 Sync with upstream verilog-mode revision 1a6ecec7.
5509 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5510 (verilog-mode-release-date): Remove.
5511 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5512 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5513 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5514 (verilog-auto-tieoff-ignore-regexp)
5515 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5516 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5517 (verilog-signals-with, verilog-dir-cache-preserving)
5518 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5519 Doc fixes.
5520 (verilog-case-fold): New option, to control case folding in
5521 regexp searches, bug597.
5522 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5523 (verilog-string-match-fold, verilog-in-paren-count)
5524 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5525 (verilog-at-close-struct-p): New functions.
5526 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5527 (verilog-forward-sexp, verilog-set-auto-endcomments)
5528 (verilog-leap-to-case-head): Handle "unique0" case.
5529 (verilog-in-constraint-re): New constant.
5530 (verilog-keywords, verilog-type-font-keywords):
5531 Add some SystemVerilog 1800-2012 keywords.
5532 (verilog-label-be): Remove unimplemented argument, bug669.
5533 (verilog-batch-execute-func): When batch expanding clear
5534 create-lockfiles to prevent spurious user locks when a file ends
5535 up not changing.
5536 (verilog-calculate-indent, verilog-calc-1)
5537 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5538 (verilog-do-indent): Fix indentation of nested constraints
5539 and structures.
5540 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5541 (verilog-auto-inst-param): Use verilog-string-match-fold.
5542 (verilog-read-inst-module-matcher):
5543 Fix AUTOINST on gate primitives with #1.
5544 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5545 Reads all user-defined typed variables.
5546 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5547 (verilog-signals-matching-regexp)
5548 (verilog-signals-not-matching-regexp, verilog-auto):
5549 Respect verilog-case-fold.
5550 (verilog-diff-report): Fix line count.
5551 (verilog-auto-assign-modport): Remove unused local `modi'.
5552 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5553 better handle multidimensional arrays.
5554 Fix packed array ports misadding bit index in AUTOINST, bug637.
5555 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5556 to not double-declare existing outputs and inputs, respectively.
5557 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5558 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5559 (verilog-sk-uvm-component): New skeleton.
5560 (verilog-submit-bug-report): Add verilog-case-fold,
5561 remove verilog-mode-release-date.
5562
5563 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5564
5565 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5566 as before.
5567
5568 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5569
5570 * textmodes/remember.el (remember): Set buffer-offer-save in
5571 remember buffers (bug#13566).
5572
5573 2013-10-18 Daniel Colascione <dancol@dancol.org>
5574
5575 When evaluating forms in ielm, direct standard output to ielm
5576 buffer. Add new ielm-return-for-effect command. Remove trailing
5577 whitespace throughout.
5578
5579 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5580 (ielm-return-for-effect): New command.
5581 (ielm-send-input): Accept optional `for-effect' parameter.
5582 (ielm-eval-input): Accept optional `for-effect' parameter.
5583 Bind `standard-output' to stream we create using
5584 `ielm-standard-output-impl'. Suppress printing result when
5585 `for-effect'.
5586 (ielm-standard-output-impl): New function.
5587 (inferior-emacs-lisp-mode): Explain new features in documentation.
5588
5589 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5590
5591 Code cleanup.
5592
5593 * net/tramp.el (tramp-debug-message): Do not check for connection
5594 buffer.
5595 (tramp-message): Use "vector" connection property.
5596
5597 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5598 (tramp-equal-remote, tramp-eshell-directory-change)
5599 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5600 (tramp-adb-handle-rename-file)
5601 * net/tramp-cmds.el (tramp-list-remote-buffers)
5602 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5603 * net/tramp-compat.el (tramp-compat-process-running-p)
5604 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5605 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5606 (tramp-gvfs-handle-rename-file)
5607 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5608 (tramp-set-file-uid-gid)
5609 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5610 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5611 of `file-remote-p'.
5612
5613 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5614 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5615 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5616 (tramp-gw-open-network-stream): Suppress unrelated traces.
5617
5618 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5619 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5620 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5621 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5622 connection property.
5623
5624 * net/tramp-cache.el (top): Suppress traces when reading
5625 persistency file.
5626
5627 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5628 Refactor common code. Improve debug message.
5629 (tramp-maybe-open-connection)
5630 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5631 connection buffer too early.
5632
5633 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5634 from `tramp-smb-actions-with-acl'.
5635 (tramp-smb-actions-set-acl): New defconst.
5636 (tramp-smb-handle-copy-directory)
5637 (tramp-smb-action-get-acl): New defun, renamed from
5638 `tramp-smb-action-with-acl'.
5639 (tramp-smb-action-set-acl): New defun.
5640 (tramp-smb-handle-set-file-acl): Rewrite.
5641
5642 2013-10-17 Glenn Morris <rgm@gnu.org>
5643
5644 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5645
5646 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * skeleton.el (skeleton-newline): Remove.
5649 (skeleton-internal-1): Use (insert "\n") instead.
5650
5651 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5652 let-bindings.
5653
5654 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5655 forward-sexp-function while we redo its job (bug#15613).
5656
5657 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5658
5659 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5660 represented by lists.
5661
5662 2013-10-16 Glenn Morris <rgm@gnu.org>
5663
5664 * tmm.el (tmm--history): New dynamic variable.
5665 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5666
5667 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5668
5669 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5670 (tramp-smb-errors): Add error messages.
5671 (tramp-smb-actions-with-acl): New defconst.
5672 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5673 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5674 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5675 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5676 (tramp-smb-get-stat-capability): Fix tests.
5677
5678 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5679
5680 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5681 (bug#15580).
5682
5683 2013-10-16 Glenn Morris <rgm@gnu.org>
5684
5685 * ansi-color.el (ansi-color-drop-regexp):
5686 Add 1J, 1K, 2K. (Bug#15617)
5687
5688 * files.el (hack-local-variables--warned-lexical): New.
5689 (hack-local-variables):
5690 Warn about misplaced lexical-binding. (Bug#15616)
5691
5692 * net/eww.el (eww-render): Always set eww-current-url,
5693 and update header line. (Bug#15622)
5694 (eww-display-html): ... Rather than just doing it here.
5695
5696 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5697
5698 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5699 menu navigations commands.
5700
5701 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5702
5703 * progmodes/subword.el (subword-capitalize): Be careful when
5704 the search for [[:alpha:]] fails (bug#15580).
5705
5706 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5707
5708 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5709 to commands that scroll the menu.
5710
5711 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5712
5713 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5714 Handle methods ending with `?' and `!'.
5715
5716 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5717
5718 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5719 `japanese-cp932' to `cp932' to fix the problem where saving a
5720 source file written in Shift_JIS twice would end up having
5721 `coding: japanese-cp932' which Ruby could not recognize.
5722 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5723 in `ruby-encoding-map'.
5724 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5725 doesn't need to be explicitly declared in magic comment.
5726 (ruby-encoding-map): Add type declaration for better customize UI.
5727
5728 2013-10-13 Glenn Morris <rgm@gnu.org>
5729
5730 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5731 Occur buffers are read-only. http://bugs.debian.org/720775
5732
5733 * emacs-lisp/authors.el (authors-fixed-entries):
5734 Comment out old alpha stuff.
5735
5736 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5737
5738 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5739 to `after-save-hook' instead of `before-save-hook'.
5740 (ruby-mode-set-encoding): Use the value of coding system used to
5741 write the file. Call `basic-save-buffer-1' after modifying the
5742 buffer.
5743
5744 2013-10-13 Alan Mackenzie <acm@muc.de>
5745
5746 Fix indentation/fontification of Java enum with
5747 "implements"/generic.
5748
5749 * progmodes/cc-engine.el (c-backward-over-enum-header):
5750 Extracted from the three other places and enhanced to handle generics.
5751 (c-inside-bracelist-p): Uses new function above.
5752 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5753 function above.
5754 (c-font-lock-enum-tail): Uses new function above.
5755
5756 2013-10-13 Kenichi Handa <handa@gnu.org>
5757
5758 * international/mule-cmds.el (select-safe-coding-system): Remove a
5759 superfluous condition in chekcing whether a coding system is safe
5760 or not.
5761
5762 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5763
5764 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5765
5766 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5767
5768 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5769
5770 2013-10-13 Glenn Morris <rgm@gnu.org>
5771
5772 * menu-bar.el (menu-bar-update-buffers):
5773 Unify Buffers menu prompt string. (Bug#15576)
5774
5775 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5776
5777 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5778 Add some entries.
5779 (authors-fixed-entries): Use accented form of name.
5780
5781 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5784 method calls (bug#15594).
5785 (ruby-smie--args-separator-p): New function.
5786 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5787 recognize paren-free method calls.
5788
5789 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5790 internals of universal-argument.
5791
5792 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5793
5794 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5795 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5796 dropped menu on second mouse click on the menu bar.
5797
5798 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5801 (explicit-shell-file-name): Declare.
5802 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5803 (sh-completion-at-point-function): New function.
5804 (sh-mode): Use it.
5805 (sh-smie--keyword-p): Remove unused argument.
5806 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5807 vars.
5808 (sh-set-shell): Always setup SMIE, even if we use the
5809 old indentation code.
5810
5811 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5812
5813 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5814 cases of ? and =.
5815 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5816 predicate would return nil are almost non-existent.
5817 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5818
5819 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5820 cache also after commands that modify the buffer but don't move
5821 point.
5822
5823 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5824
5825 * env.el (substitute-env-in-file-name): New function.
5826 (substitute-env-vars): Extend the meaning of the optional arg.
5827
5828 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5829
5830 * term/w32-win.el (dynamic-library-alist): Define separate lists
5831 of GIF DLLs for versions before and after 5.0.0 of giflib.
5832 (Bug#15531)
5833
5834 2013-10-10 João Távora <joaotavora@gmail.com>
5835
5836 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5837 not locked, use last revision and current source as
5838 defaults. (Bug#15569)
5839
5840 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5841
5842 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5843 menu-bar is hidden.
5844
5845 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5846
5847 * window.el (pop-to-buffer-same-window): Fix doc-string.
5848 (Bug#15492)
5849
5850 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5853
5854 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5855
5856 * calendar/icalendar.el (icalendar-import-file):
5857 Fix interactive spec. (Bug#15482)
5858
5859 2013-10-10 Glenn Morris <rgm@gnu.org>
5860
5861 * desktop.el (desktop-save): Default to saving in .emacs.d,
5862 since PWD is no longer in desktop-path by default. (Bug#15319)
5863
5864 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5865 now that text mode has a menu with the same entry.
5866 (menu-bar-text-mode-auto-fill): Remove now unused func.
5867 * textmodes/text-mode.el (text-mode-map):
5868 Use auto-fill help text from menu-bar.el.
5869
5870 2013-10-10 John Anthony <john@jo.hnanthony.com>
5871
5872 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5873
5874 2013-10-09 Juri Linkov <juri@jurta.org>
5875
5876 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5877 instead of this-command-keys. Add universal-argument-more and
5878 universal-argument-minus to the list of prefix commands. (Bug#15568)
5879
5880 2013-10-09 Glenn Morris <rgm@gnu.org>
5881
5882 * vc/vc-svn.el (vc-svn-create-repo):
5883 Expand paths in file://... url. (Bug#15446)
5884
5885 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5886 Add some entries.
5887 (authors): Remove unused local variables.
5888
5889 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * profiler.el: Create a more coherent calltree from partial backtraces.
5892 (profiler-format): Hide the tail with `invisible' so that C-s can still
5893 find the hidden elements.
5894 (profiler-calltree-depth): Don't recurse so enthusiastically.
5895 (profiler-function-equal): New hash-table-test.
5896 (profiler-calltree-build-unified): New function.
5897 (profiler-calltree-build): Use it.
5898 (profiler-report-make-name-part): Indent the calltree less.
5899 (profiler-report-mode): Add visibility specs for profiler-format.
5900 (profiler-report-expand-entry, profiler-report-toggle-entry):
5901 Expand the whole subtree when provided with a prefix arg.
5902
5903 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5904
5905 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5906 iuwu-mod token.
5907 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5908 hanging iuwu-mod token.
5909 (ruby-smie--forward-token): Do not include a dot after a token in
5910 that token.
5911 (ruby-smie--backward-token): Likewise.
5912
5913 2013-10-08 Juri Linkov <juri@jurta.org>
5914
5915 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5916 to isearch-other-control-char.
5917 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5918 and isearch-post-command-hook to post-command-hook.
5919 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5920 and isearch-post-command-hook from post-command-hook.
5921 (isearch-unread-key-sequence)
5922 (isearch-reread-key-sequence-naturally)
5923 (isearch-lookup-scroll-key, isearch-other-control-char)
5924 (isearch-other-meta-char): Remove functions.
5925 (isearch-pre-command-hook, isearch-post-command-hook):
5926 New functions based on isearch-other-meta-char rewritten
5927 relying on the new behavior of overriding-terminal-local-map
5928 that does not replace the local keymaps any more. (Bug#15200)
5929
5930 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5931
5932 Support menus on text-mode terminals.
5933 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5934 functionality.
5935
5936 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5937
5938 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5939 Move here from mouse.el.
5940 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5941 and arrow keys.
5942 (tty-menu-navigation-map): New map for TTY menu navigation.
5943
5944 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5945
5946 * frame.el (display-mouse-p): Report text-mode mouse as available
5947 on w32.
5948 (display-popup-menus-p): Report availability if mouse is
5949 available; don't condition on window-system.
5950
5951 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5952 (tty-menu-selected-face): New faces.
5953
5954 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5955
5956 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5957 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5958 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5959 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5960 New constants.
5961 (lisp-mode-variables): New `elisp' argument.
5962 (emacs-lisp-mode): Use it.
5963 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5964 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5965
5966 * indent.el: Use lexical-binding.
5967 (indent-region): Add progress reporter.
5968 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5969 last step.
5970 (indent--next-tab-stop): New function to implement this behavior.
5971 (tab-to-tab-stop, move-to-tab-stop): Use it.
5972
5973 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5974
5975 * indent.el (indent-rigidly--current-indentation): New function.
5976 (indent-rigidly-map): New var.
5977 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5978
5979 2013-10-08 Bastien Guerry <bzg@gnu.org>
5980
5981 * register.el (insert-register): Fix 2013-10-07 change.
5982
5983 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5984
5985 * progmodes/perl-mode.el: Use lexical-binding.
5986 Remove redundant :group args.
5987 (perl-nochange): Change default to be closer to other major modes's
5988 standard behavior.
5989 (perl-indent-line): Don't consider text on current line as a
5990 valid beginning of function from which to indent.
5991
5992 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5993 with more than one argument (bug#15538).
5994
5995 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5996
5997 * vc/pcvs.el: Use lexical-binding.
5998 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5999 environment of `eval'.
6000 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6001 than a list of expressions. Adjust callers.
6002 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6003
6004 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6005
6006 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6007 case of the dot in a chained method call being on the following line.
6008
6009 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * electric.el (electric-indent-inhibit): New var.
6012 (electric-indent-post-self-insert-function): Use it.
6013 * progmodes/python.el (python-mode): Set it.
6014
6015 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6016 open braces.
6017
6018 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6019
6020 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6021 (css-mode): Use electric-indent-chars.
6022
6023 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6024 (font-lock-beg, font-lock-end): Move before first use.
6025 (nxml-mode): Use syntax-propertize-function.
6026 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6027 (nxml-extend-after-change-region): Remove.
6028 * nxml/xmltok.el: Use lexical-binding.
6029 (xmltok-save): Use `declare'.
6030 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6031 * nxml/nxml-util.el: Use lexical-binding.
6032 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6033 Use `declare'.
6034 * nxml/nxml-ns.el: Use lexical-binding.
6035 (nxml-ns-save): Use `declare'.
6036 (nxml-ns-prefixes-for): Avoid add-to-list.
6037 * nxml/rng-match.el: Use lexical-binding.
6038 (rng--ipattern): Use cl-defstruct.
6039 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6040 (rng-cons-group-after, rng-subst-group-after)
6041 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6042 Use closures instead of `(lambda...).
6043
6044 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6045
6046 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6047 of BEG and END.
6048
6049 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6050 Use `tramp-handle-insert-file-contents'.
6051 (tramp-gvfs-handle-insert-file-contents): Remove function.
6052
6053 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6054 Use `save-restriction' in order to keep markers.
6055
6056 * net/trampver.el: Update release number.
6057
6058 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6059
6060 * progmodes/compile.el (compilation-parse-errors):
6061 Use compilation--put-prop.
6062 (compilation--ensure-parse): Check compilation-multiline.
6063
6064 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6065
6066 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6067 lexical-binding.
6068
6069 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6070
6071 * progmodes/ruby-mode.el: Fix recently added tests.
6072 (ruby-smie-grammar): Add - and +.
6073 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6074 (ruby-smie--backward-id): New functions.
6075 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6076 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6077 any more.
6078
6079 2013-10-07 Leo Liu <sdl.web@gmail.com>
6080
6081 * register.el (register-preview-delay)
6082 (register-preview-functions): New variables.
6083 (register-read-with-preview, register-preview)
6084 (register-describe-oneline): New functions.
6085 (point-to-register, window-configuration-to-register)
6086 (frame-configuration-to-register, jump-to-register)
6087 (number-to-register, view-register, insert-register)
6088 (copy-to-register, append-to-register, prepend-to-register)
6089 (copy-rectangle-to-register): Use register-read-with-preview to
6090 read register. (Bug#15525)
6091
6092 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6093
6094 * net/network-stream.el (network-stream-open-starttls): Don't add
6095 --insecure if it's already present, because that gnutls-cli
6096 rejects getting that parameter twice.
6097
6098 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6099
6100 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6101 keyword, too.
6102
6103 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6104
6105 * newcomment.el (comment-use-global-state): Change default value
6106 to t, mark obsolete (Bug#15251).
6107 (comment-beginning): In addition to `comment-to-syntax', check the
6108 value of `comment-use-global-state'.
6109
6110 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6113 (ruby-comment-column): Follow the global default, by default.
6114 (ruby-smie-grammar): Add assignment syntax.
6115 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6116 open-paren, a comma, or a \.
6117 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6118 and line continuations.
6119 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6120 followed by implicit semi-colons. Add rule for string concatenation
6121 and for indentation at BOB.
6122 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6123
6124 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6125 calling next-sexp, since next-token may have skipped chars which
6126 next-sexp doesn't know should be skipped!
6127
6128 2013-10-05 Leo Liu <sdl.web@gmail.com>
6129
6130 * progmodes/octave.el (octave-send-region):
6131 Call compilation-forget-errors.
6132
6133 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6134
6135 * vc/vc-svn.el (vc-svn-find-admin-dir):
6136 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6137 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6138 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6139 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6140
6141 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6142
6143 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6144
6145 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * subr.el (read-passwd): Hide chars even when called within a context
6148 where after-change-functions is disabled (bug#15501).
6149 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6150 until we removed ourself from overriding-terminal-local-map.
6151
6152 2013-10-04 Leo Liu <sdl.web@gmail.com>
6153
6154 * progmodes/octave.el (inferior-octave-mode):
6155 Call compilation-forget-errors.
6156
6157 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6158
6159 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6160
6161 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6162
6163 * net/secrets.el (secrets-create-collection): Add optional
6164 argument ALIAS. Use proper Label keyword. Append ALIAS as
6165 dbus-call-method argument. (Bug#15516)
6166
6167 2013-10-04 Leo Liu <sdl.web@gmail.com>
6168
6169 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6170 (inferior-octave-compilation-font-lock-keywords): New variables.
6171 (compilation-error-regexp-alist)
6172 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6173 (inferior-octave-mode): Use compilation-shell-minor-mode.
6174
6175 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6176
6177 * minibuffer.el (completion--replace): Be careful that `end' might be
6178 a marker.
6179
6180 2013-10-03 Daiki Ueno <ueno@gnu.org>
6181
6182 Add support for package signature checking.
6183 * emacs-lisp/package.el (url-http-file-exists-p)
6184 (epg-make-context, epg-context-set-home-directory)
6185 (epg-verify-string, epg-context-result-for)
6186 (epg-signature-status, epg-signature-to-string)
6187 (epg-check-configuration, epg-configuration)
6188 (epg-import-keys-from-file): Declare.
6189 (package-check-signature): New user option.
6190 (package-unsigned-archives): New user option.
6191 (package-desc): Add `signed' field.
6192 (package-load-descriptor): Set `signed' field if .signed file exists.
6193 (package--archive-file-exists-p): New function.
6194 (package--check-signature): New function.
6195 (package-install-from-archive): Check package signature.
6196 (package--download-one-archive): Check archive signature.
6197 (package-delete): Remove .signed file.
6198 (package-import-keyring): New command.
6199 (package-refresh-contents): Import default keyring.
6200 (package-desc-status): Add "unsigned" status.
6201 (describe-package-1, package-menu--print-info)
6202 (package-menu-mark-delete, package-menu--find-upgrades)
6203 (package-menu--status-predicate): Support "unsigned" status.
6204
6205 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6208 the new compilation scheme using the new byte-codes.
6209
6210 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6211 (byte-pophandler): New byte codes.
6212 (byte-goto-ops): Adjust accordingly.
6213 (byte-compile--use-old-handlers): New var.
6214 (byte-compile-catch): Use new byte codes depending on
6215 byte-compile--use-old-handlers.
6216 (byte-compile-condition-case--old): Rename from
6217 byte-compile-condition-case.
6218 (byte-compile-condition-case--new): New function.
6219 (byte-compile-condition-case): New function that dispatches depending
6220 on byte-compile--use-old-handlers.
6221 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6222 when we can.
6223
6224 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6225 Optimize under `condition-case' and `catch' if
6226 byte-compile--use-old-handlers is nil.
6227 (disassemble-offset): Handle new bytecodes.
6228
6229 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6230
6231 * subr.el (error): Use `declare'.
6232 (decode-char, encode-char): Use advertised-calling-convention instead
6233 of the docstring to discourage use of the `restriction' arg.
6234
6235 2013-10-03 Daiki Ueno <ueno@gnu.org>
6236
6237 * epg.el (epg-verify-file): Add a comment saying that it does not
6238 notify verification error as a return value nor a signal.
6239 (epg-verify-string): Ditto.
6240
6241 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6242
6243 * progmodes/compile.el (compilation-start): Try globbing the arg to
6244 `cd' (bug#15417).
6245
6246 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6247
6248 Sync with Tramp 2.2.8.
6249
6250 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6251 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6252 * net/trampver.el: Update release number.
6253
6254 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6255
6256 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6257 and default-process-coding-system for darwin only.
6258
6259 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6262
6263 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6264
6265 * vc/vc-git.el (vc-git-grep): Disable pager.
6266
6267 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6268
6269 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6270 Use :url instead of :homepage, as per
6271 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6272
6273 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6274 non-nil, use `syntax-ppss' (Bug#15251).
6275
6276 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6277
6278 * progmodes/octave.el (inferior-octave-startup-file):
6279 Prefer ~/.emacs.d/init_octave.m.
6280
6281 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6282
6283 * emacs-lisp/package.el (package-desc-from-define):
6284 Accept additional arguments as plist, convert them to an alist and store
6285 them in the `extras' slot.
6286 (package-generate-description-file): Convert extras alist back to
6287 plist and append to the `define-package' form arguments.
6288 (package--alist-to-plist): New function.
6289 (package--ac-desc): Add `extras' slot.
6290 (package--add-to-archive-contents): Check if the archive-contents
6291 vector is long enough, and if it is, pass its `extras' slot value
6292 to `package-desc-create'.
6293 (package-buffer-info): Call `lm-homepage', pass the returned value
6294 to `package-desc-from-define'.
6295 (describe-package-1): Render the homepage button (Bug#13291).
6296
6297 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6298 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6299
6300 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6301
6302 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6303 and default-process-coding-system to utf-8-unix (Bug#15402).
6304
6305 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6306
6307 * subr.el (looking-back): Do not recommend using looking-back.
6308
6309 2013-09-28 Alan Mackenzie <acm@muc.de>
6310
6311 Fix indentation/fontification of Java enum with "implements".
6312
6313 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6314 regexp which matches "implements", etc., in Java.
6315 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6316 specifier clauses coming after "enum".
6317 * progmodes/cc-fonts.el (c-font-lock-declarations)
6318 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6319 after "enum".
6320
6321 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6322
6323 * faces.el (region): Change ns_selection_color to
6324 ns_selection_fg_color, add ns_selection_bg_color.
6325
6326 2013-09-28 Leo Liu <sdl.web@gmail.com>
6327
6328 * progmodes/octave.el (inferior-octave-completion-table)
6329 (inferior-octave-completion-at-point): Minor tweaks.
6330
6331 * textmodes/ispell.el (ispell-lookup-words): Rename from
6332 lookup-words. (Bug#15460)
6333 (lookup-words): Obsolete.
6334 (ispell-complete-word, ispell-command-loop): All uses changed.
6335
6336 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6337
6338 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6339 (octave-mode-menu): Add octave-send-buffer.
6340 (octave-send-buffer): New function.
6341
6342 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6343
6344 * progmodes/octave.el (octave-mode-map): Add key binding for
6345 octave-lookfor.
6346 (octave-mode-menu): Add octave-lookfor.
6347 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6348 octave-lookfor.
6349 (octave-lookfor): New function.
6350
6351 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6354 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6355 its convention.
6356 (cl--loop-set-iterator-function): New function.
6357 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6358 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6359 Bind `it' with `let' instead of substituting it with `cl-subst'.
6360 (cl--unused-var-p): New function.
6361 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6362 Eliminate some unused variable warnings (bug#15326).
6363
6364 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6365
6366 * doc-view.el (doc-view-scale-reset): Rename from
6367 `doc-view-reset-zoom-level'.
6368 (doc-view-scale-adjust): New command.
6369 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6370 `doc-view-scale-adjust'.
6371
6372 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6373
6374 * doc-view.el (doc-view-reset-zoom-level): New command.
6375 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6376 zoom commands (bug#15466).
6377
6378 2013-09-26 Kenichi Handa <handa@gnu.org>
6379
6380 * international/quail.el (quail-help): Make it not a command.
6381
6382 2013-09-26 Leo Liu <sdl.web@gmail.com>
6383
6384 * minibuffer.el (completion-all-sorted-completions): Make args
6385 optional as they are.
6386
6387 2013-09-25 Daniel Colascione <dancol@dancol.org>
6388
6389 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6390 specs are and that they're not evaluated.
6391
6392 2013-09-24 Sam Steingold <sds@gnu.org>
6393
6394 * midnight.el (clean-buffer-list-kill-regexps)
6395 (clean-buffer-list-kill-buffer-names): Update for the new Man
6396 buffer naming which includes the object name.
6397
6398 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6401 (eshell-parse-command, eshell-parse-pipeline): Use it since
6402 eshell-separate-commands requires a dynamic scoped var.
6403 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6404
6405 2013-09-23 Leo Liu <sdl.web@gmail.com>
6406
6407 * autoinsert.el (auto-insert-alist): Make the value of
6408 lexical-binding match its file setting.
6409
6410 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6411
6412 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6413
6414 * autoarg.el (autoarg-kp-digit-argument):
6415 * electric.el (Electric-command-loop):
6416 * kmacro.el (kmacro-step-edit-insert):
6417 Do not set universal-argument-num-events.
6418
6419 2013-09-22 Leo Liu <sdl.web@gmail.com>
6420
6421 * files.el (interpreter-mode-alist): Add octave.
6422
6423 2013-09-21 Alan Mackenzie <acm@muc.de>
6424
6425 C++: fontify identifier in declaration following "public:" correctly.
6426 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6427 to match "public", etc.
6428 (c-decl-prefix-re): Add ":" into the C++ value.
6429 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6430 bit. Add a check for a ":" preceded by "public", etc.
6431
6432 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6433
6434 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6435 recognized by GDB 7.5 and later.
6436
6437 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6438
6439 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6440
6441 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * subr.el (internal--call-interactively): New const.
6444 (called-interactively-p): Use it (bug#3984).
6445
6446 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6447
6448 * vc/pcvs.el (cvs-mode-ignore):
6449 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6450 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6451
6452 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6455 (eshell-ls-orig-insert-directory): Remove.
6456 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6457 (eshell-ls-use-in-dired): Use advice-add/remove.
6458 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6459 Add `orig-fun' arg for use in :around advice.
6460 Make it check (redundantly) eshell-ls-use-in-dired.
6461
6462 2013-09-19 Glenn Morris <rgm@gnu.org>
6463
6464 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6465
6466 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6467
6468 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6469
6470 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6471
6472 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6473 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6474 (tramp-get-remote-python): New defuns.
6475 (tramp-get-remote-uid-with-perl)
6476 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6477 contributed by yary <not.com@gmail.com> (tiny change).
6478 (tramp-get-remote-uid-with-python)
6479 (tramp-get-remote-gid-with-python): New defuns. Python code
6480 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6481 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6482
6483 2013-09-19 Glenn Morris <rgm@gnu.org>
6484
6485 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6486
6487 * eshell/em-unix.el (eshell-remove-entries):
6488 Rename argument to avoid name-clash with global `top-level'.
6489
6490 * eshell/esh-proc.el (eshell-kill-process-function):
6491 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6492 (eshell-reset-after-proc): Remove unused arg `proc'.
6493
6494 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6495 (directory-files-and-attributes): Mark unused arg.
6496
6497 * eshell/em-unix.el (eshell-remove-entries):
6498 Remove unused arg `path'. Update callers.
6499
6500 * eshell/em-hist.el (eshell-hist-parse-arguments):
6501 Remove unused arg `silent'. Update callers.
6502
6503 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6504 Fix (f)boundp mix-up.
6505
6506 * eshell/em-smart.el (eshell-smart-scroll-window)
6507 (eshell-disable-after-change):
6508 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6509
6510 2013-09-18 Alan Mackenzie <acm@muc.de>
6511
6512 Fix fontification of type when followed by "const".
6513 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6514 "known" types from fontification.
6515
6516 2013-09-18 Glenn Morris <rgm@gnu.org>
6517
6518 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6519 (chart-face-list): Drop Emacsen without display-color-p.
6520
6521 * net/eww.el (libxml-parse-html-region): Declare.
6522 (eww-display-html): Explicit error if no libxml2 support.
6523
6524 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6525
6526 * image.el (image-type-from-buffer, image-multi-frame-p):
6527 Remove --without-x warning/error.
6528
6529 * mouse.el (mouse-yank-primary):
6530 * term.el (term-mouse-paste):
6531 Reorder to silence --without-x compilation.
6532
6533 * mpc.el (doc-view-mode): Silence --without-x compilation.
6534
6535 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6536 Silence --without-x compilation.
6537
6538 * progmodes/gud.el (gud-find-file, gud-mode):
6539 Silence --without-x compilation.
6540 (tooltip-mode): Declare.
6541
6542 * wdired.el (dired-backup-overwrite): Remove declaration.
6543 (wdired-mode-map): Add doc string.
6544
6545 * custom.el (x-get-resource): Declare.
6546
6547 * eshell/em-glob.el (ange-cache):
6548 * eshell/em-unix.el (ange-cache): Declare.
6549
6550 * faces.el (x-display-list, x-open-connection, x-get-resource):
6551 Declare.
6552
6553 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6554 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6555 Declare.
6556
6557 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6558
6559 * net/gnutls.el (gnutls-log-level): Declare.
6560
6561 * net/shr.el (image-size, image-animate): Declare.
6562
6563 * simple.el (font-info): Declare.
6564
6565 * subr.el (x-popup-dialog): Declare.
6566
6567 * term/common-win.el (x-select-enable-primary)
6568 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6569 Declare.
6570
6571 * term/ns-win.el (x-handle-args): Declare.
6572
6573 * term/x-win.el (x-select-enable-clipboard): Declare.
6574
6575 * term/w32-win.el (create-default-fontset): Declare.
6576
6577 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6578 Declare.
6579
6580 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6581 (fit-frame-to-buffer): Explicit error if --without-x.
6582 (mouse-autoselect-window-select): Silence compiler.
6583
6584 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6585
6586 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6587 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6588 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6589 * eshell/esh-util.el (eshell-sublist):
6590 Remove unused local variables.
6591
6592 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6593
6594 * textmodes/two-column.el: Make 2C-split work for --without-x.
6595 (scroll-bar-columns): Autoload.
6596 (top-level): Require fringe when compiling.
6597
6598 2013-09-18 Leo Liu <sdl.web@gmail.com>
6599
6600 * subr.el (add-hook): Robustify to handle closure as well.
6601
6602 2013-09-17 Glenn Morris <rgm@gnu.org>
6603
6604 * simple.el (messages-buffer-mode-map): Unbind "g".
6605
6606 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6607
6608 * help-mode.el (help-mode-finish): Use derived-mode-p.
6609 Remove obsolete highlighting.
6610
6611 * play/life.el (life-mode): Use define-derived-mode. Derive from
6612 special-mode.
6613 (life): Let-bind inhibit-read-only.
6614 (life-setup): Avoid `setq'. Use `life-mode'.
6615
6616 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6617 which should not be needed any more.
6618 (package-menu-refresh, package-menu-describe-package): Use user-error.
6619
6620 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6621 (eshell-post-rewrite-command-hook): Make obsolete.
6622 (eshell-parse-command): Simplify.
6623 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6624 (eshell--cmd): Declare.
6625 (eshell-parse-pipeline): Remove unused var `final-p'.
6626 Pass a dynvar to eshell-post-rewrite-command-hook.
6627 Implement the new eshell-post-rewrite-command-function.
6628 (eshell-invoke-directly): Remove unused arg `input'.
6629 * eshell/esh-io.el (eshell-io-initialize):
6630 Use eshell-post-rewrite-command-function (bug#15399).
6631 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6632 adjust to new calling convention.
6633 (eshell-create-handles): Rename args to avoid clashing with dynvar
6634 `standard-output'.
6635
6636 2013-09-17 Glenn Morris <rgm@gnu.org>
6637
6638 * simple.el (messages-buffer-mode): New major mode.
6639 (messages-buffer): New function.
6640 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6641 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6642 (ert-run-test): Use `messages-buffer' function.
6643 (ert--force-message-log-buffer-truncation): Ignore read-only.
6644 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6645 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6646
6647 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6648
6649 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6650
6651 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6652
6653 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * icomplete.el (icomplete-in-buffer): New var.
6656 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6657 vars and replace them with functions.
6658 (icomplete-minibuffer-setup): Adjust accordingly.
6659 (icomplete--completion-table, icomplete--completion-predicate)
6660 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6661 New functions.
6662 (icomplete-forward-completions, icomplete-backward-completions)
6663 (icomplete-simple-completing-p, icomplete-exhibit)
6664 (icomplete-completions): Use them.
6665 (icomplete--in-region-buffer): New var.
6666 (icomplete--in-region-setup): New function.
6667 (icomplete-mode): Use it.
6668
6669 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6670 (bug#15379).
6671 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6672 return args and options.
6673 (eshell-eval-using-options): Use the new return value of
6674 eshell--do-opts to set the options's vars in their scope.
6675 (eshell--set-option): Rename from eshell-set-option.
6676 Add arg `opt-vals'.
6677 (eshell--process-option): Rename from eshell-process-option.
6678 Add arg `opt-vals'.
6679 (eshell--process-args): Use an `opt-vals' alist to store the options's
6680 values during their processing and return them additionally to the
6681 remaining args.
6682
6683 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6684
6685 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6686 continuation character an operator, as far as indentation is
6687 concerned (Bug#15369).
6688
6689 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6690
6691 * window.el (window--state-put-2): Don't process buffer state
6692 when buffer doesn't exist any more (Bug#15382).
6693
6694 2013-09-15 Glenn Morris <rgm@gnu.org>
6695
6696 * eshell/em-unix.el (eshell/rm):
6697 Make -f ignore missing files. (Bug#15373)
6698
6699 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6700 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6701 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6702
6703 2013-09-14 Glenn Morris <rgm@gnu.org>
6704
6705 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6706
6707 2013-09-13 Glenn Morris <rgm@gnu.org>
6708
6709 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6710 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6711
6712 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6713
6714 * frame.el (x-focus-frame): Mark as declared in frame.c.
6715
6716 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * ls-lisp.el: Use advice-add.
6719 (original-insert-directory): Remove.
6720 (ls-lisp--insert-directory): Rename from insert-directory; add
6721 `orig-fun' argument.
6722 (insert-directory): Advise.
6723
6724 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6725
6726 * term.el (term-emulate-terminal): Decode the command string
6727 before passing it to term-command-hook. (Bug#15337)
6728
6729 2013-09-13 Glenn Morris <rgm@gnu.org>
6730
6731 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6732
6733 * eshell/esh-ext.el (eshell-search-path): Declare.
6734
6735 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6736 Otherwise an error occurs if eshell-dirs module not loaded.
6737
6738 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6739
6740 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6741
6742 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6743 `tramp-check-proper-host'. Check for a valid method name.
6744
6745 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6746 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6747 * net/tramp-sh.el (tramp-maybe-open-connection):
6748 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6749
6750 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6751 also for hash values.
6752
6753 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6754
6755 * term/ns-win.el (parameters): Don't declare as dynamic.
6756 (before-make-frame-hook): Don't add ineffective function.
6757
6758 * eshell/*.el: Use lexical-binding (bug#15231).
6759
6760 2013-09-12 Kenichi Handa <handa@gnu.org>
6761
6762 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6763
6764 2013-09-12 Glenn Morris <rgm@gnu.org>
6765
6766 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6767 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6768
6769 * subr.el (do-after-load-evaluation): Also give compiler warnings
6770 when obsolete files are used (except by obsolete files).
6771
6772 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6773 in the status output, assume `filename' is the first. (Bug#15322)
6774
6775 * vc/vc.el (vc-deduce-fileset): Doc fix.
6776
6777 * calc/calc-help.el (Info-goto-node):
6778 * progmodes/cperl-mode.el (Info-find-node):
6779 * vc/ediff.el (Info-goto-node): Update declarations.
6780
6781 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6782
6783 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6784 (vc-bzr-pull): Require vc-dispatcher.
6785 * vc/vc-git.el (vc-compilation-mode): Declare.
6786 (vc-git-pull): Require vc-dispatcher.
6787
6788 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6789
6790 * progmodes/octave.el (help-button-action): Declare.
6791
6792 * shell.el (shell-directory-tracker): Output error as a message
6793 rather than just returning it as a string.
6794 (shell-process-pushd): Remove useless use of message.
6795
6796 * dframe.el (dframe-timer-fn):
6797 * files.el (dir-locals-read-from-file):
6798 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6799 (mpc-format):
6800 * reveal.el (reveal-post-command):
6801 * saveplace.el (load-save-place-alist-from-file):
6802 * shell.el (shell-resync-dirs):
6803 * w32-common-fns.el (x-get-selection-value):
6804 * emacs-lisp/copyright.el (copyright-find-copyright):
6805 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6806 * emulation/tpu-edt.el (tpu-copy-keyfile):
6807 * play/bubbles.el (bubbles--mark-neighbourhood):
6808 * progmodes/executable.el
6809 (executable-make-buffer-file-executable-if-script-p):
6810 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6811
6812 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 Cleanup Eshell to rely less on dynamic scoping.
6815 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6816 last-value, and ext-command here. Bind `args' closer to `body'.
6817 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6818 (eshell--args): Declare new dynamic var.
6819 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6820 last-value, and ext-command. Pass `args' to `body'.
6821 (eshell-process-args): Bind eshell--args.
6822 (eshell-set-option): Use eshell--args.
6823 * eshell/eshell.el (eshell): Use derived-mode-p.
6824 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6825 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6826 (eshell-glob-function): Declare.
6827 * eshell/esh-util.el: Require cl-lib.
6828 (eshell-read-hosts-file): Avoid add-to-list.
6829 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6830 `err'.
6831 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6832 Declare.
6833 (eshell/diff): Remove unused var `err'.
6834 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6835 `killflag'.
6836 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6837 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6838 first use.
6839 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6840 Move declaration before first use.
6841 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6842 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6843 rely on cl-return.
6844
6845 2013-09-12 Glenn Morris <rgm@gnu.org>
6846
6847 * term/ns-win.el (global-map): Remove binding for ispell-next,
6848 deleted 1999-05-29. (Bug#15357)
6849
6850 2013-09-11 Glenn Morris <rgm@gnu.org>
6851
6852 * echistory.el (electric-command-history): Remove call to deleted func.
6853
6854 * play/landmark.el (landmark-mode): Fix typos.
6855
6856 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6857 Check cvs-sort-ignore-file is bound.
6858
6859 * savehist.el: No need for cl when compiling on Emacs.
6860
6861 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6862
6863 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6864 (bug#15338).
6865 (eshell-self-insert-command, eshell-send-invisible):
6866 Remove unused argument.
6867 (eshell-handle-control-codes): Remove unused var `orig'.
6868 Avoid delete-backward-char.
6869
6870 * files.el (set-auto-mode): Simplify a bit further.
6871
6872 2013-09-11 Glenn Morris <rgm@gnu.org>
6873
6874 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6875 (set-auto-mode): Don't regexp-quote elements.
6876 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6877 * progmodes/cc-mode.el (interpreter-mode-alist):
6878 * progmodes/ruby-mode.el (interpreter-mode-alist):
6879 Revert previous change.
6880
6881 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * play/snake.el (snake-mode):
6884 * play/mpuz.el (mpuz-mode):
6885 * play/landmark.el (lm-mode):
6886 * play/blackbox.el (blackbox-mode):
6887 * play/5x5.el (5x5-mode):
6888 * obsolete/options.el (Edit-options-mode):
6889 * net/quickurl.el (quickurl-list-mode):
6890 * net/newst-treeview.el (newsticker-treeview-mode):
6891 * mail/rmailsum.el (rmail-summary-mode):
6892 * mail/mspools.el (mspools-mode):
6893 * locate.el (locate-mode):
6894 * ibuffer.el (ibuffer-mode):
6895 * emulation/ws-mode.el (wordstar-mode):
6896 * emacs-lisp/debug.el (debugger-mode):
6897 * array.el (array-mode):
6898 * net/eudc.el (eudc-mode): Use define-derived-mode.
6899 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6900 Move initialization into declaration.
6901 (mairix-searches-mode): Use define-derived-mode.
6902 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6903 (eudc-edit-hotlist): Use dolist.
6904 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6905 (Man-mode): Use define-derived-mode.
6906 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6907 (Info-edit-mode): Use define-derived-mode.
6908 (Info-cease-edit): Use Info-mode.
6909 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6910 into declaration.
6911 (eshell-mode): Use define-derived-mode.
6912 * chistory.el (command-history-mode-map): Rename from
6913 command-history-map.
6914 (command-history-mode): Use define-derived-mode.
6915 (Command-history-setup): Remove function.
6916 * calc/calc.el (calc-trail-mode-map): New var.
6917 (calc-trail-mode): Use define-derived-mode.
6918 (calc-trail-buffer): Set calc-main-buffer manually.
6919 * bookmark.el (bookmark-insert-annotation): New function.
6920 (bookmark-edit-annotation): Use it.
6921 (bookmark-edit-annotation-mode): Make it a proper major mode.
6922 (bookmark-send-edited-annotation): Use derived-mode-p.
6923 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6924 closer to its ideal place. Use \' to match EOS.
6925
6926 * profiler.el (profiler-calltree-find): Use function-equal.
6927
6928 2013-09-10 Glenn Morris <rgm@gnu.org>
6929
6930 * files.el (interpreter-mode-alist): Convert to regexps.
6931 (set-auto-mode): Adapt for this. (Bug#15306)
6932 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6933 Comment out unused variable.
6934 * progmodes/cc-mode.el (interpreter-mode-alist):
6935 * progmodes/python.el (interpreter-mode-alist):
6936 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6937 * progmodes/sh-script.el (sh-set-shell):
6938 No longer use interpreter-mode-alist to get list of shells.
6939
6940 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6941
6942 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * simple.el: Use set-temporary-overlay-map for universal-argument.
6945 (universal-argument-map): Don't use default-bindings (bug#15317).
6946 Bind switch-frame explicitly. Replace universal-argument-minus with
6947 a conditional binding.
6948 (universal-argument-num-events, saved-overriding-map): Remove.
6949 (restore-overriding-map): Remove.
6950 (universal-argument--mode): Rename from save&set-overriding-map,
6951 and rewrite.
6952 (universal-argument, universal-argument-more, negative-argument)
6953 (digit-argument): Adjust accordingly.
6954 (universal-argument-minus): Remove.
6955 (universal-argument-other-key): Remove.
6956
6957 * subr.el (with-demoted-errors): Add `format' argument.
6958
6959 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6960
6961 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6962 `tramp-cleanup-connection'.
6963
6964 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6965 parameters KEEP-DEBUG and KEEP-PASSWORD.
6966
6967 * net/tramp.el (tramp-file-name-handler):
6968 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6969 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6970 (tramp-maybe-open-connection):
6971 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6972 Use `tramp-cleanup-connection'.
6973
6974 * net/tramp-sh.el (tramp-maybe-open-connection):
6975 Catch 'uname-changed inside the progress reporter.
6976
6977 2013-09-10 Glenn Morris <rgm@gnu.org>
6978
6979 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6980
6981 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6982 returns "alternate access method" in mode (eg "-rw-r--r--.").
6983
6984 2013-09-08 Glenn Morris <rgm@gnu.org>
6985
6986 * saveplace.el (load-save-place-alist-from-file):
6987 Demote errors. (Bug#15305)
6988
6989 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6990
6991 Improve compatibility with older Emacsen, and XEmacs.
6992
6993 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6994 only if it is bound. It isn't for XEmacs.
6995 (with-tramp-progress-reporter): Do not let-bind `result'.
6996 This yields to scoping errors in XEmacs.
6997 (tramp-handle-make-auto-save-file-name): New function, moved from
6998 tramp-sh.el.
6999
7000 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7001 for `make-auto-save-file-name'.
7002 (tramp-adb--gnu-switches-to-ash):
7003 Use `tramp-compat-replace-regexp-in-string'.
7004
7005 * net/tramp-cache.el (tramp-cache-print): Call
7006 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7007
7008 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7009 bound. It isn't for XEmacs.
7010
7011 * net/tramp-compat.el (tramp-compat-copy-file):
7012 Catch `wrong-number-of-arguments' error.
7013 (tramp-compat-replace-regexp-in-string): New defun.
7014
7015 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7016 for `make-auto-save-file-name'.
7017 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7018 `copy-file'.
7019 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7020 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7021 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7022
7023 * net/tramp-gw.el (tramp-gw-open-network-stream):
7024 Use `tramp-compat-replace-regexp-in-string'.
7025
7026 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7027 Call `tramp-handle-make-auto-save-file-name'.
7028 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7029 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7030 (tramp-sh-file-inotifywait-process-filter):
7031 Use `tramp-compat-replace-regexp-in-string'.
7032 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7033
7034 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7035 for `make-auto-save-file-name'.
7036 (tramp-smb-handle-copy-directory):
7037 Call `tramp-compat-replace-regexp-in-string'.
7038 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7039 (tramp-smb-handle-copy-file): Improve error message.
7040 (tramp-smb-handle-rename-file): Rename directly only in case
7041 `newname' does not exist yet. This is a restriction of smbclient.
7042 (tramp-smb-maybe-open-connection): Rerun the function only when
7043 `auth-sources' is non-nil.
7044
7045 2013-09-08 Kenichi Handa <handa@gnu.org>
7046
7047 * international/characters.el: Set category "^" (Combining) for
7048 more characters.
7049
7050 2013-09-07 Alan Mackenzie <acm@muc.de>
7051
7052 Correctly fontify Java class constructors.
7053 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7054 in Java Mode.
7055 (c-recognize-typeless-decls): Set the Java value to t.
7056 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7057 While handling a "(", add a check for, effectively, Java, and handle a
7058 "typeless" declaration there.
7059
7060 2013-09-07 Roland Winkler <winkler@gnu.org>
7061
7062 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7063 field subtitle for entry type book.
7064
7065 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * minibuffer.el: Make minibuffer-complete call completion-in-region
7068 rather than other way around.
7069 (completion--some, completion-pcm--find-all-completions):
7070 Don't delay signals when debugging.
7071 (minibuffer-completion-contents): Beware fields within the
7072 minibuffer contents.
7073 (completion-all-sorted-completions): Use defvar-local.
7074 (completion--do-completion, completion--cache-all-sorted-completions)
7075 (completion-all-sorted-completions, minibuffer-force-complete):
7076 Add args `beg' and `end'.
7077 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7078 (minibuffer-complete): Use completion-in-region.
7079 (completion-complete-and-exit): New fun, extracted from
7080 minibuffer-complete-and-exit.
7081 (minibuffer-complete-and-exit): Use it.
7082 (completion--complete-and-exit): Rename from
7083 minibuffer--complete-and-exit.
7084 (completion-in-region--single-word): New function, extracted from
7085 minibuffer-complete-word.
7086 (minibuffer-complete-word): Use it.
7087 (display-completion-list): Make `common-substring' argument obsolete.
7088 (completion--in-region): Call completion--in-region-1 instead of
7089 minibuffer-complete.
7090 (completion-help-at-point): Pass boundaries to
7091 minibuffer-completion-help as args rather than via an overlay.
7092 (completion-pcm--string->pattern): Use `any-delim'.
7093 (completion-pcm--optimize-pattern): New function.
7094 (completion-pcm--pattern->regex): Handle `any-delim'.
7095 * icomplete.el (icomplete-forward-completions)
7096 (icomplete-backward-completions, icomplete-completions):
7097 Adjust calls to completion-all-sorted-completions and
7098 completion--cache-all-sorted-completions.
7099 (icomplete-with-completion-tables): Default to t.
7100 * emacs-lisp/crm.el (crm--current-element): Rename from
7101 crm--select-current-element. Don't put an overlay but return the
7102 boundaries instead.
7103 (crm--completion-command): Take two new args to bind to the boundaries.
7104 (crm-completion-help): Adjust accordingly.
7105 (crm-complete): Use completion-in-region.
7106 (crm-complete-word): Use completion-in-region--single-word.
7107 (crm-complete-and-exit): Use completion-complete-and-exit.
7108
7109 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7112 than dynamically.
7113
7114 2013-09-06 Juri Linkov <juri@jurta.org>
7115
7116 * info.el (Info-display-images-node): When image file doesn't exist
7117 display text version of the image if it's provided in the Info file.
7118 Otherwise, display the location of missing image from SRC attribute.
7119 Add help-echo text property from ALT attribute. (Bug#15279)
7120
7121 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7124 (edit-abbrevs-mode): Use define-derived-mode.
7125
7126 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7127 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7128 that it's defined.
7129 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7130 Use define-derived-mode.
7131
7132 * epg.el (epg-start-encrypt): Minor CSE simplification.
7133
7134 2013-09-06 William Xu <william.xwl@gmail.com>
7135
7136 * arc-mode.el: Add support for 7za (bug#15264).
7137 (archive-7z-program): New var.
7138 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7139 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7140 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7141
7142 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7143
7144 Remove URL syntax.
7145
7146 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7147 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7148 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7149 (tramp-postfix-host-format, tramp-file-name-regexp)
7150 (tramp-completion-file-name-regexp)
7151 (tramp-completion-dissect-file-name)
7152 (tramp-handle-substitute-in-file-name): Remove 'url case.
7153 (tramp-file-name-regexp-url)
7154 (tramp-completion-file-name-regexp-url): Remove constants.
7155
7156 2013-09-06 Glenn Morris <rgm@gnu.org>
7157
7158 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7159
7160 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7161
7162 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7163 keywords" below "here-doc beginnings" (Bug#15270).
7164
7165 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7166
7167 * subr.el (pop): Use `car-safe'.
7168 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7169 to detect unused `pop' return value.
7170
7171 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7172 var `block-regexp'.
7173 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7174 (python-fill-string): Remove unused var `marker'.
7175 (python-skeleton-add-menu-items): Remove unused var `items'.
7176
7177 * international/mule-cmds.el: Require CL.
7178 (find-coding-systems-for-charsets): Avoid add-to-list.
7179 (sanitize-coding-system-list): New function, extracted from
7180 select-safe-coding-system-interactively.
7181 (select-safe-coding-system-interactively): Use it.
7182 (read-input-method-name): Accept symbols for `default'.
7183
7184 * emacs-lisp/advice.el (defadvice): Add indent rule.
7185
7186 2013-09-05 Daniel Hackney <dan@haxney.org>
7187
7188 * dired-x.el:
7189 * net/ange-ftp.el:
7190 * net/browse-url.el:
7191 * net/dbus.el:
7192 * net/eudc.el:
7193 * net/eudcb-ldap.el:
7194 * net/eww.el:
7195 * net/imap.el:
7196 * printing.el:
7197 * vc/ediff-diff.el:
7198 * vc/ediff-init.el:
7199 * vc/ediff-merg.el:
7200 * vc/ediff-mult.el:
7201 * vc/ediff-util.el:
7202 * vc/ediff-wind.el:
7203 * vc/ediff.el:
7204 * vc/emerge.el:
7205 * vc/pcvs.el:
7206 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7207 byte compiler. Remove some unused let-bound variables.
7208
7209 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7212 a "ref-cell", since it gets better optimized (bug#14883).
7213
7214 2013-09-05 Glenn Morris <rgm@gnu.org>
7215
7216 * progmodes/cc-awk.el (c-forward-sws): Declare.
7217
7218 2013-09-04 Glenn Morris <rgm@gnu.org>
7219
7220 * generic-x.el [rul-generic-mode]: Require cc-mode.
7221 (c++-mode-syntax-table): Declare.
7222 (rul-generic-mode-syntax-table): Init in the defvar.
7223
7224 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7227 (vc-do-command, vc-set-async-update):
7228 * vc/vc-mtn.el (vc-mtn-dir-status):
7229 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7230 (vc-hg-pull, vc-hg-merge-branch):
7231 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7232 (vc-git-merge-branch):
7233 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7234 (vc-cvs-dir-status-files):
7235 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7236 (vc-bzr-dir-status-files):
7237 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7238 * vc/vc-annotate.el: Use lexical-binding.
7239 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7240 (vc-sentinel-movepoint): Declare.
7241 (vc-annotate): Don't use `goto-line'.
7242 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7243 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7244 (vc-sentinel-movepoint): Declare.
7245 * vc/vc-svn.el: Use lexical-binding.
7246 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7247 * vc/vc-sccs.el:
7248 * vc/vc-rcs.el: Use lexical-binding.
7249
7250 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7251 `deleted'. Don't drop errors silently.
7252
7253 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7254
7255 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7256
7257 * vc/vc.el (vc-ignore): Rewrite.
7258 (vc-default-ignore): New function.
7259 (vc-default-ignore-completion-table): Use find-ignore-file.
7260
7261 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7262 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7263 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7264 Remove. Most code moved to vc.el.
7265
7266 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7269 * net/tramp-smb.el (tramp-smb-get-file-entries):
7270 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7271 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7272
7273 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7274 Update call to it.
7275 (eww-change-select): Remove unused var `properties'.
7276 (eww-make-unique-file-name): Remove unused var `base'.
7277
7278 * finder.el (finder-compile-keywords): Don't mess with windows.
7279
7280 * calculator.el (calculator-funcall): Fix typo in last change.
7281
7282 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7283
7284 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7285 <pkg>-autoloads.el file stop us.
7286
7287 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7288 warnings, and factor out common code.
7289
7290 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7291
7292 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7293 two-character operators and whether the character preceding them
7294 changes their meaning (Bug#15208).
7295
7296 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7297
7298 Format code sent to Python shell for robustness.
7299 * progmodes/python.el (python-shell-buffer-substring):
7300 New function.
7301 (python-shell-send-region, python-shell-send-buffer): Use it.
7302
7303 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7304
7305 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7306 * net/tramp.el (tramp-user-error): ... here.
7307 (tramp-find-method, tramp-check-proper-host)
7308 (tramp-dissect-file-name, tramp-debug-message)
7309 (tramp-handle-shell-command):
7310 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7311 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7312
7313 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7314
7315 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7316
7317 * avoid.el (mouse-avoidance-point-position)
7318 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7319 returns nil.
7320
7321 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7322
7323 * progmodes/python.el (python-shell-completion-get-completions):
7324 Drop use of deleted `comint-last-prompt-overlay'.
7325 (python-nav-if-name-main): New command.
7326
7327 2013-09-01 Glenn Morris <rgm@gnu.org>
7328
7329 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7330 Avoid leading space in $wins. Otherwise the sed command used by
7331 eg compile-main ends up containing "/*.el". (Bug#15170)
7332
7333 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7334
7335 2013-08-30 Glenn Morris <rgm@gnu.org>
7336
7337 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7338 Fix is-this-a-directory logic. (Bug#15220)
7339
7340 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * textmodes/css-mode.el: Use SMIE.
7343 (css-smie-grammar): New var.
7344 (css-smie--forward-token, css-smie--backward-token)
7345 (css-smie-rules): New functions.
7346 (css-mode): Use them.
7347 (css-navigation-syntax-table): Remove var.
7348 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7349 (css-indent-calculate, css-indent-line): Remove functions.
7350
7351 Misc changes to reduce use of `(lambda...); and other cleanups.
7352 * cus-edit.el: Use lexical-binding.
7353 (customize-push-and-save, customize-apropos)
7354 (custom-buffer-create-internal): Use closures.
7355 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7356 * progmodes/ada-xref.el: Use setq.
7357 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7358 * dframe.el: Use lexical-binding.
7359 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7360 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7361 * descr-text.el: Use lexical-binding.
7362 (describe-text-widget, describe-text-sexp, describe-property-list):
7363 Use closures.
7364 * comint.el (comint-history-isearch-push-state): Use a closure.
7365 * calculator.el: Use lexical-binding.
7366 (calculator-number-to-string): Make it work with lexical-binding.
7367 (calculator-funcall): Same and use cl-letf.
7368
7369 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7370 (lisp--company-doc-string, lisp--company-location): New functions.
7371 (lisp-completion-at-point): Use them to improve Company support.
7372
7373 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7374 params of lambda expressions.
7375 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7376 (ruby-smie--opening-pipe-p): New function.
7377 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7378 symbols and matched |...| for formal params.
7379 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7380 from being treated as hanging. Handle "rescue".
7381
7382 2013-08-29 Glenn Morris <rgm@gnu.org>
7383
7384 * progmodes/cc-engine.el (c-pull-open-brace):
7385 Move definition before use.
7386
7387 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7390 are immutable. Don't use `unsafe' any more.
7391 (cl--defsubst-expand): Don't substitute at the same time as keeping
7392 a residual unused let-binding. Don't use `unsafe' any more.
7393
7394 2013-08-29 Glenn Morris <rgm@gnu.org>
7395
7396 * calendar/cal-china.el (calendar-chinese-year-cache):
7397 Recenter on 2015.
7398
7399 * nxml/nxml-util.el (nxml-debug-clear-inside):
7400 Use cl-loop rather than loop.
7401
7402 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7403
7404 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7405
7406 2013-08-28 Glenn Morris <rgm@gnu.org>
7407
7408 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7409
7410 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7411
7412 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7413
7414 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * simple.el (repeat-complex-command--called-interactively-skip):
7417 New function.
7418 (repeat-complex-command): Use it (bug#14136).
7419
7420 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7421 (c-define-abbrev-table): Add `doc' argument.
7422 (c-mode-abbrev-table, c++-mode-abbrev-table)
7423 (objc-mode-abbrev-table, java-mode-abbrev-table)
7424 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7425 (awk-mode-abbrev-table): Use it.
7426 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7427 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7428 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7429 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7430 Move initialization into the declaration; and remove any
7431 autoload cookie.
7432
7433 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7434 and dynamic let binding.
7435
7436 * vc/smerge-mode.el: Remove redundant :group args.
7437
7438 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7439 to load-path.
7440
7441 2013-08-28 Juri Linkov <juri@jurta.org>
7442
7443 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7444 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7445 (isearch-other-meta-char): Handle an undefined shifted printing
7446 character by downshifting it. (Bug#15200)
7447
7448 2013-08-28 Juri Linkov <juri@jurta.org>
7449
7450 * isearch.el (isearch-search): Change regexp error message for
7451 non-regexp searches. (Bug#15166)
7452
7453 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7454
7455 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7456 for portability to hosts where /bin/sh has problems.
7457
7458 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7459
7460 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7461
7462 2013-08-27 Juri Linkov <juri@jurta.org>
7463
7464 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7465 in the keyboard macro. (Bug#15126)
7466
7467 2013-08-27 Juri Linkov <juri@jurta.org>
7468
7469 * isearch.el (isearch-quote-char): Comment out converting unibyte
7470 to multibyte, thus syncing with its `quoted-insert' counterpart.
7471 (Bug#15166)
7472
7473 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7474
7475 * window.el (display-buffer-use-some-window): Add missing
7476 argument in call of get-largest-window (Bug#15185).
7477 Reported by Stephen Leake.
7478
7479 2013-08-27 Glenn Morris <rgm@gnu.org>
7480
7481 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7482
7483 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7486 from a matcher-function unless there's no more matches (bug#15161).
7487
7488 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7489
7490 * minibuffer.el: Revert change from 2013-08-20.
7491
7492 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7493 with text property `tramp-default', if appropriate.
7494 (tramp-check-proper-host): New defun.
7495 (tramp-dissect-file-name): Do not check hostname. Revert change
7496 of 2013-03-18.
7497 (tramp-backtrace): Make VEC-OR-PROC optional.
7498
7499 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7500 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7501 * net/tramp-sh.el (tramp-maybe-open-connection):
7502 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7503 Apply `tramp-check-proper-host'.
7504
7505 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7506
7507 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7508 lambda expression in order to have `describe-variable' display it.
7509
7510 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7511
7512 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7513 BUF can be optional. (Bug#15186)
7514
7515 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7516
7517 * progmodes/flymake.el (flymake-get-real-file-name-function):
7518 Fix broken customization. (Bug#15184)
7519
7520 2013-08-25 Alan Mackenzie <acm@muc.de>
7521
7522 Improve indentation of bracelists defined by macros (without "=").
7523
7524 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7525 expansion begins with "{", regard it as bracelist when it doesn't
7526 contain a ";".
7527
7528 Parse C++ inher-intro when there's a template split over 2 lines.
7529
7530 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7531 rigorously the search for "class" etc. followed by ":".
7532
7533 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7534 random languages a regexp which never matches rather than nil.
7535
7536 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7537
7538 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7539 (c-awk-regexp-one-line-possibly-open-char-list-re)
7540 (c-awk-one-line-possibly-open-regexp-re)
7541 (c-awk-one-line-non-syn-ws*-re): Remove.
7542 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7543 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7544 (c-awk-space*-unclosed-regexp-/-re): New constants.
7545 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7546 aren't regexp delimiters.
7547
7548 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7549 handling for a rare situation in AWK Mode involving unterminated
7550 strings/regexps.
7551
7552 2013-08-23 Glenn Morris <rgm@gnu.org>
7553
7554 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7555
7556 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7557
7558 * files.el (create-file-buffer): If the result would begin with
7559 spaces, prepend a "|" instead of removing them. (Bug#15162)
7560
7561 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7564 text-properties (bug#15155).
7565
7566 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7567 exist any more.
7568 (calc-keypad-redraw): Remove unused var `pad'.
7569 (calc-keypad-press): Remove unused var `menu'.
7570
7571 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7572
7573 * window.el (display-buffer-pop-up-frame):
7574 Call pop-up-frame-function with BUFFER current so `make-frame' will
7575 use it as the new frame's buffer (Bug#15133).
7576
7577 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * calendar/timeclock.el: Minor cleanups.
7580 (timeclock-ask-before-exiting, timeclock-use-display-time):
7581 Use `symbol'.
7582 (timeclock-modeline-display): Define as alias before the
7583 actual definition.
7584 (timeclock-mode-line-display): Use define-minor-mode.
7585 (timeclock-day-list-template): Make it a function, add an argument.
7586 (timeclock-day-list-required, timeclock-day-list-length)
7587 (timeclock-day-list-debt, timeclock-day-list-span)
7588 (timeclock-day-list-break): Adjust calls accordingly.
7589
7590 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7593 Use read--expression so that completion works again.
7594
7595 2013-08-21 Sam Steingold <sds@gnu.org>
7596
7597 Add rudimentary inferior shell interaction
7598 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7599 (sh-set-shell): Reset it.
7600 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7601 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7602
7603 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7604
7605 * align.el: Use lexical-binding.
7606 (align-region): Simplify accordingly.
7607
7608 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7609
7610 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7611
7612 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7613 `non-essential' up.
7614
7615 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7616
7617 * net/tramp.el:
7618 * net/tramp-adb.el:
7619 * net/tramp-cmds.el:
7620 * net/tramp-ftp.el:
7621 * net/tramp-gvfs.el:
7622 * net/tramp-gw.el:
7623 * net/tramp-sh.el: Don't wrap external variable declarations by
7624 `eval-when-compile'.
7625
7626 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7627
7628 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7629 now that Emacs supports ImageMagick animations.
7630
7631 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7632
7633 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7634 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7635
7636 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7637
7638 * window.el (mouse-autoselect-window-select): Do autoselect when
7639 mouse pointer is on margin.
7640
7641 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7642
7643 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7644
7645 2013-08-16 Glenn Morris <rgm@gnu.org>
7646
7647 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7648 Handle "Remote Directory" response of some clients. (Bug#15058)
7649
7650 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7651 Tweak warning. (Bug#14926)
7652
7653 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7654 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7655
7656 * image-mode.el (image-mode-map): Add menu items to reverse,
7657 increase, decrease, reset animation speed.
7658 (image--set-speed, image-increase-speed, image-decrease-speed)
7659 (image-reverse-speed, image-reset-speed): New functions.
7660 (image-mode-map): Add bindings for speed commands.
7661
7662 * image.el (image-animate-get-speed, image-animate-set-speed):
7663 New functions.
7664 (image-animate-timeout): Respect image :speed property.
7665
7666 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7669 previous line (bug#15101).
7670 (debugger-eval-expression, debugger-record-expression):
7671 Use read--expression (bug#15102).
7672
7673 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7674
7675 Remove byte compiler warnings, visible when compiling with
7676 `byte-compile-force-lexical-warnings' set to t.
7677
7678 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7679 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7680 (tramp-handle-unhandled-file-name-directory)
7681 (tramp-handle-file-notify-add-watch, tramp-action-login)
7682 (tramp-action-succeed, tramp-action-permission-denied)
7683 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7684 arguments with "_".
7685
7686 * net/tramp-adb.el (tramp-adb-parse-device-names)
7687 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7688 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7689 (tramp-adb-handle-file-truename): Remove unused arguments.
7690
7691 * net/tramp-cache.el (tramp-flush-directory-property)
7692 (tramp-flush-connection-property, tramp-list-connections)
7693 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7694
7695 * net/tramp-compat.el (tramp-compat-make-temp-file):
7696 Rename FILENAME to F.
7697
7698 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7699 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7700 (tramp-zeroconf-parse-workstation-device-names)
7701 (tramp-zeroconf-parse-webdav-device-names)
7702 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7703
7704 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7705 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7706
7707 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7708 arguments.
7709 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7710 (tramp-sh-handle-insert-file-contents-literally)
7711 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7712 with "_".
7713 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7714 Remove unused variables.
7715
7716 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7717 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7718 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7719
7720 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7721 Make them a defconst.
7722 (tramp-uuencode-region): Remove unused variable.
7723
7724 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7725
7726 * frameset.el (frameset--prop-setter): New function.
7727 (frameset-prop): Add gv-setter declaration.
7728 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7729 parameter was already set in FILTERED. Doc fix.
7730 (frameset--record-minibuffer-relationships): Allow saving a
7731 minibufferless frame without its corresponding minibuffer frame.
7732 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7733 frame, if the frame id matches.
7734 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7735 frames before orphaned ones.
7736 (frameset-restore): Warn about orphaned windows, instead of error out.
7737
7738 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7739
7740 * window.el (window-make-atom): Don't overwrite parameter
7741 already present.
7742 (display-buffer-in-atom-window): Handle special case where we
7743 split an already atomic window.
7744 (window--major-non-side-window, display-buffer-in-side-window)
7745 (window--side-check): Ignore minibuffer window when walking
7746 window tree.
7747 (window-deletable-p): Return 'frame only if no other frame uses
7748 our minibuffer window.
7749 (record-window-buffer): Run buffer-list-update-hook.
7750 (split-window): Make sure window--check-frame won't destroy an
7751 existing atomic window in case the new window gets nested
7752 inside.
7753 (display-buffer-at-bottom): Ignore minibuffer window when
7754 walking window tree. Don't split a side window.
7755 (pop-to-buffer): Don't set-buffer here, the select-window call
7756 should do that.
7757 (mouse-autoselect-window-select): Autoselect only if we are in the
7758 text portion of the window.
7759
7760 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7761
7762 * net/shr.el (shr-parse-image-data): New function to grab both the
7763 data itself and the Content-Type.
7764 (shr-put-image): Use it.
7765
7766 * net/eww.el (eww-display-image): Ditto.
7767
7768 * image.el (image-content-type-suffixes): New variable.
7769
7770 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7771
7772 * progmodes/python.el (python-imenu--build-tree)
7773 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7774
7775 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7776
7777 * simple.el (backward-word): Mention the optional argument.
7778
7779 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * frameset.el (frameset--make): Rename constructor from make-frameset.
7782 (frameset-p, frameset-valid-p): Don't autoload.
7783 (frameset-valid-p): Use normal accessors.
7784
7785 2013-08-13 Glenn Morris <rgm@gnu.org>
7786
7787 * progmodes/compile.el (compile-command): Tweak example in doc.
7788 * obsolete/scribe.el (scribe-mode):
7789 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7790
7791 * mail/feedmail.el (feedmail-confirm-outgoing)
7792 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7793
7794 * cus-start.el (truncate-partial-width-windows): Fix type.
7795
7796 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7797
7798 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7799
7800 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7801
7802 * emacs-lisp/timer.el (timer--time-setter): New function.
7803 (timer--time): Use it as gv-setter.
7804
7805 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7806 setter is not a symbol.
7807
7808 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7809
7810 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7811 if sending fails. This makes debugging easier.
7812
7813 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7814
7815 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7816 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7817 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7818
7819 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7820
7821 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7822
7823 2013-08-12 Glenn Morris <rgm@gnu.org>
7824
7825 * format.el (format-annotate-function):
7826 Handle read-only text properties in the source. (Bug#14887)
7827
7828 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7829
7830 * net/eww.el (eww-display-html): Ignore coding system errors.
7831 One web site uses "utf-8lias" as the coding system.
7832
7833 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7834
7835 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7836
7837 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7838
7839 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7840 (tutorial--detailed-help): Remove unused local variables.
7841 (tutorial--save-tutorial-to): Use ignore-errors.
7842 (help-with-tutorial): Use looking-at-p.
7843
7844 * view.el (view-buffer-other-window, view-buffer-other-frame):
7845 Mark unused arguments.
7846
7847 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7848 (woman-select-symbol-fonts, woman, woman-find-file)
7849 (woman-insert-file-contents, woman-non-underline-faces):
7850 Use string-match-p.
7851 (woman1-unquote): Move declaration.
7852
7853 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7854 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7855 argument. Remove unused local variable.
7856 (xml-parse-elem-type): Use string-match-p.
7857 (xml-substitute-numeric-entities): Use ignore-errors.
7858
7859 * calculator.el (calculator): Mark unused argument.
7860 (calculator-paste, calculator-quit, calculator-integer-p):
7861 Use ignore-errors.
7862 (calculator-string-to-number, calculator-decimal, calculator-exp)
7863 (calculator-op-or-exp): Use string-match-p.
7864
7865 * dired.el (dired-buffer-more-recently-used-p): Declare.
7866 (dired-insert-set-properties, dired-insert-old-subdirs):
7867 Use ignore-errors.
7868
7869 * dired-aux.el (dired-compress): Use ignore-errors.
7870 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7871 (dired-do-async-shell-command, dired-do-shell-command)
7872 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7873 (dired-insert-subdir-validate): Use string-match-p.
7874 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7875 (dired-add-entry): Use string-match-p, looking-at-p.
7876 (dired-insert-subdir-newpos): Remove unused local variable.
7877
7878 * filenotify.el (file-notify-callback): Remove unused local variable.
7879
7880 * filesets.el (filesets-error): Mark unused argument.
7881 (filesets-which-command-p, filesets-filter-dir-names)
7882 (filesets-directory-files, filesets-get-external-viewer)
7883 (filesets-ingroup-get-data): Use string-match-p.
7884
7885 * find-file.el (ff-other-file-name, ff-other-file-name)
7886 (ff-find-the-other-file, ff-cc-hh-converter):
7887 Remove unused local variables.
7888 (ff-get-file-name): Use string-match-p.
7889 (ff-all-dirs-under): Use ignore-errors.
7890
7891 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7892 (follow-select-if-visible): Remove unused local variable.
7893
7894 * forms.el (read-file-filter): Move declaration.
7895 (forms--make-format, forms--make-parser, forms-insert-record):
7896 Quote function with #'.
7897 (forms--update): Use string-match-p. Quote function with #'.
7898
7899 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7900 (help-make-xrefs): Use looking-at-p.
7901 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7902
7903 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7904 (ibuffer-confirm-operation-on): Use string-match-p.
7905
7906 * msb.el (msb-item-handler, msb-dired-item-handler):
7907 Mark unused arguments.
7908
7909 * ses.el (ses-decode-cell-symbol)
7910 (ses-kill-override): Remove unused local variable.
7911 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7912 (ses-load): Use ignore-errors, looking-at-p.
7913 (ses-jump-safe): Use ignore-errors.
7914 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7915
7916 * tabify.el (untabify, tabify): Mark unused arguments.
7917
7918 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7919 Mark unused argument.
7920 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7921 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7922
7923 * emacs-lisp/timer.el (timer--time): Define setter with
7924 gv-define-setter to avoid deprecation warning.
7925
7926 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7927 (*record-cmpl-statistics-p*): Remove (was commented out).
7928 (cmpl-statistics-block): Remove (body was commented out).
7929 All callers changed.
7930 (add-completions-from-buffer, load-completions-from-file):
7931 Remove unused variables.
7932
7933 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7934
7935 * filecache.el (file-cache-delete-file-list):
7936 Print message only when told so.
7937 (file-cache-files-matching): Use #' in mapconcat argument.
7938
7939 * ffap.el (ffap-url-at-point): Fix reference to variable
7940 thing-at-point-default-mail-uri-scheme.
7941
7942 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7943
7944 * subr.el (define-error): New function.
7945 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7946 error-file-not-found and define with define-error.
7947 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7948 and define with define-error.
7949 * userlock.el (file-locked, file-supersession):
7950 * simple.el (mark-inactive):
7951 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7952 * progmodes/ada-mode.el (ada-mode-errors):
7953 * play/life.el (life-extinct):
7954 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7955 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7956 * nxml/rng-util.el (rng-error):
7957 * nxml/rng-uri.el (rng-uri-error):
7958 * nxml/rng-match.el (rng-compile-error):
7959 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7960 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7961 * nxml/nxml-rap.el (nxml-scan-error):
7962 * nxml/nxml-outln.el (nxml-outline-error):
7963 * net/soap-client.el (soap-error):
7964 * net/gnutls.el (gnutls-error):
7965 * net/ange-ftp.el (ftp-error):
7966 * mpc.el (mpc-proc-error):
7967 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7968 (json-number-format, json-string-escape, json-string-format)
7969 (json-key-format, json-object-format):
7970 * jka-compr.el (compression-error):
7971 * international/quail.el (quail-error):
7972 * international/kkc.el (kkc-error):
7973 * emacs-lisp/ert.el (ert-test-failed):
7974 * calc/calc.el (calc-error, inexact-result, math-overflow)
7975 (math-underflow):
7976 * bookmark.el (bookmark-error-no-filename):
7977 * epg.el (epg-error): Define with define-error.
7978
7979 * time.el (display-time-event-handler)
7980 (display-time-next-load-average): Don't call sit-for since it seems
7981 unnecessary (bug#15045).
7982
7983 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7984 Use #' instead of ' to quote functions.
7985 (checkdoc-output-mode): Use setq-local.
7986 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7987 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7988 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7989 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7990 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7991 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7992 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7993 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7994
7995 * ido.el (ido-completion-help): Fix up compiler warning.
7996
7997 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * frameset.el (frameset-p): Add autoload cookie.
8000 (frameset--jump-to-register): New function, based on code moved from
8001 register.el.
8002 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8003
8004 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8005 (frameset-restore, frameset-save, frameset-session-filter-alist):
8006 Remove declarations.
8007 (register-alist): Doc fix.
8008 (frameset-to-register): Move to frameset.el.
8009 (jump-to-register, describe-register-1): Remove frameset-specific code.
8010
8011 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8012
8013 * allout-widgets.el (allout-widgets-pre-command-business)
8014 (allout-widgets-post-command-business)
8015 (allout-widgets-after-change-handler)
8016 (allout-decorate-item-and-context, allout-set-boundary-marker)
8017 (allout-body-modification-handler)
8018 (allout-graphics-modification-handler): Mark ignored arguments.
8019 (allout-widgets-post-command-business)
8020 (allout-widgets-exposure-change-processor)
8021 (allout-widgets-exposure-undo-processor)
8022 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8023 (allout-parse-item-at-point, allout-decorate-item-guides)
8024 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8025 * allout.el (epa-passphrase-callback-function): Declare.
8026 (allout-overlay-insert-in-front-handler)
8027 (allout-overlay-interior-modification-handler)
8028 (allout-isearch-end-handler, allout-chart-siblings)
8029 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8030 (allout-yank-processing, allout-process-exposed)
8031 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8032 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8033 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8034 (lisp-indent-defform): Mark ignored arguments.
8035 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8036 (calculate-lisp-indent): Remove unused variables.
8037 * international/characters.el (indian-2-column, arabic-2-column)
8038 (tibetan): Mark ignored arguments.
8039 (use-cjk-char-width-table): Mark ignored arguments.
8040 Remove unused variables.
8041 * international/fontset.el (build-default-fontset-data)
8042 (x-compose-font-name, create-fontset-from-fontset-spec):
8043 Mark ignored arguments.
8044 (fontset-plain-name): Remove unused variables.
8045 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8046 (keyboard-coding-system): Mark ignored arguments.
8047 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8048 * help.el (resize-temp-buffer-window):
8049 * window.el (display-buffer-in-major-side-window)
8050 (display-buffer-in-side-window, display-buffer-in-previous-window):
8051 Remove unused variables.
8052 * isearch.el (isearch-forward-symbol):
8053 * version.el (emacs-bzr-version-bzr):
8054 * international/mule-cmds.el (current-language-environment):
8055 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8056 (x-handle-display):
8057 * term/pc-win.el (x-list-fonts, x-display-planes)
8058 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8059 (x-server-version, x-display-screens, x-display-mm-height)
8060 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8061 (x-selection-owner-p, x-own-selection-internal)
8062 (x-disown-selection-internal, x-get-selection-internal)
8063 (msdos-initialize-window-system):
8064 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8065 * term/x-win.el (x-handle-no-bitmap-icon):
8066 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8067 (vc-default-find-file-hook, vc-default-extra-menu):
8068 Mark ignored arguments.
8069
8070 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8073 break-condition in the context of the debugged code (bug#12685).
8074
8075 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8076
8077 * comint.el:
8078 Do not use an overlay to highlight the last prompt. (Bug#14744)
8079 (comint-mode): Make comint-last-prompt buffer local.
8080 (comint-last-prompt): New variable.
8081 (comint-last-prompt-overlay): Remove. Superseded by
8082 comint-last-prompt.
8083 (comint-snapshot-last-prompt, comint-output-filter):
8084 Use comint-last-prompt.
8085
8086 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8089 (frameset-save): Check validity of the resulting frameset.
8090
8091 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8092
8093 * ido.el (ido-record-command): Add doc string.
8094
8095 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8096
8097 * frameset.el (frameset): Do not disable creation of the default
8098 frameset-p predicate. Doc fix.
8099 (frameset-valid-p): New function, copied from the old predicate-p.
8100 Add additional checks.
8101 (frameset-restore): Check with frameset-valid-p.
8102 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8103 (frameset-name, frameset-description, frameset-properties)
8104 (frameset-states): Add docstring.
8105 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8106 (frameset-filter-alist): Doc fixes.
8107
8108 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8109
8110 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8111
8112 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8115 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8116 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8117 (byte-compile-normal-call): Remove obsolescence check.
8118
8119 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8120
8121 * frameset.el (frameset-restore): Doc fix.
8122
8123 * register.el (frameset-frame-id, frameset-frame-with-id)
8124 (frameset-p, frameset-restore, frameset-save): Declare.
8125 (register-alist): Document framesets.
8126 (frameset-session-filter-alist): Declare.
8127 (frameset-to-register): New function.
8128 (jump-to-register): Implement jumping to framesets. Doc fix.
8129 (describe-register-1): Describe framesets.
8130
8131 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8132
8133 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8134
8135 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8136 Use lexical-binding.
8137
8138 * frameset.el (frameset): Use type vector, not list (incompatible
8139 change). Do not declare a new constructor, use the default one.
8140 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8141 `name' and `description', respectively, and add read-only slot
8142 `timestamp'. Doc fixes.
8143 (frameset-copy, frameset-persistent-filter-alist)
8144 (frameset-filter-alist, frameset-switch-to-gui-p)
8145 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8146 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8147 (frameset-filter-iconified, frameset-keep-original-display-p):
8148 Doc fixes.
8149 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8150 Rename from frameset-filter-(save|restore)-param. All callers changed.
8151 Doc fix.
8152 (frameset-p): Adapt to change to vector and be more thorough.
8153 Change arg name to OBJECT. Doc fix.
8154 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8155 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8156 All callers changed.
8157 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8158 All callers changed.
8159 (frameset--record-minibuffer-relationships): Rename from
8160 frameset--process-minibuffer-frames. All callers changed.
8161 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8162 Use new default constructor (again). Doc fix.
8163 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8164 All callers changed.
8165 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8166 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8167 Doc fix.
8168 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8169 PARAMETERS and WINDOW-STATE, respectively.
8170 (frameset-restore): Add new keyword argument PREDICATE.
8171 Reset frameset--target-display to nil. Doc fix.
8172
8173 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8176 (bat-mode): Use it.
8177 (bat-mode-syntax-table): Mark \n as end-of-comment.
8178 (bat-font-lock-keywords): Remove comment rule.
8179
8180 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8181 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8182
8183 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8184 (byte-compile-callargs-warn): Use `push'.
8185 (byte-compile-arglist-warn): Ignore higher-order "calls".
8186 (byte-compile-file-form-autoload): Use `pcase'.
8187 (byte-compile-function-form): If quoting a symbol, check that it exists.
8188
8189 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8190
8191 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8192 and add a few popular commands found in batch files.
8193 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8194 (dos-mode): Doc fixes.
8195
8196 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8199 (dos-mode): Use setq-local. Add space after "rem".
8200 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8201 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8202
8203 2013-08-07 Arni Magnusson <arnima@hafro.is>
8204
8205 * progmodes/dos.el: New file.
8206 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8207 dos-mode.
8208
8209 2013-08-06 Glenn Morris <rgm@gnu.org>
8210
8211 * calendar/calendar.el: Add new faces, and day-header-array.
8212 (calendar-weekday-header, calendar-weekend-header)
8213 (calendar-month-header): New faces.
8214 (calendar-day-header-construct): New function.
8215 (calendar-day-header-width): Also :set calendar-day-header-array.
8216 (calendar-american-month-header, calendar-european-month-header)
8217 (calendar-iso-month-header): Use calendar- faces.
8218 (calendar-generate-month):
8219 Use calendar-day-header-array for day headers; apply faces to them.
8220 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8221 (calendar-abbrev-construct): Add optional maxlen argument.
8222 (calendar-day-name-array): Doc fix.
8223 (calendar-day-name-array, calendar-abbrev-length)
8224 (calendar-day-abbrev-array):
8225 Also :set calendar-day-header-array, and maybe redraw.
8226 (calendar-day-header-array): New option. (Bug#15007)
8227 (calendar-font-lock-keywords): Set to nil and make obsolete.
8228 (calendar-day-name): Add option to use header array.
8229
8230 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8231
8232 * net/shr.el (shr-render-td): Remove debugging.
8233 (shr-render-td): Make width computation consistent by defaulting
8234 all zero-width columns to 10 characters. This may not be optimal,
8235 but it's at least consistent.
8236 (shr-make-table-1): Redo last change to fix the real problem in
8237 colspan handling.
8238
8239 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8240
8241 * files.el (cache-long-line-scans):
8242 Make obsolete alias to `cache-long-scans'.
8243
8244 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8245
8246 * frameset.el (frameset, frameset-filter-alist)
8247 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8248 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8249 (frameset-compute-pos): Rename from frameset--compute-pos,
8250 and add docstring.
8251 (frameset-move-onscreen): Use frameset-compute-pos.
8252 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8253
8254 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8255 Fix typos in docstrings.
8256
8257 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8258
8259 * frame.el (get-other-frame): Tiny cleanup.
8260
8261 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8262
8263 * vc/vc.el (vc-default-ignore-completion-table):
8264 Silence byte-compiler warning.
8265
8266 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8267 slot, which can indeed be nil.
8268 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8269 Move entry for `left' from persistent to live filter alist.
8270 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8271 Doc fixes.
8272 (frameset-filter-params): When restoring a frame, copy items added to
8273 `filtered', to avoid unwittingly modifying the original parameters.
8274 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8275 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8276
8277 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8278 to use looking-at-p instead of looking-at. (Bug#15028)
8279
8280 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 Revert introduction of isearch-filter-predicates (bug#14714).
8283 Rely on add-function instead.
8284 * isearch.el (isearch-filter-predicates): Rename it back to
8285 isearch-filter-predicate.
8286 (isearch-message-prefix): Use advice-function-mapc and advice
8287 properties to get the isearch-message-prefix.
8288 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8289 instead of run-hook-with-args-until-failure.
8290 (isearch-filter-visible): Not obsolete any more.
8291 * loadup.el: Preload nadvice.
8292 * replace.el (perform-replace): Revert to funcall
8293 instead of run-hook-with-args-until-failure.
8294 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8295 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8296 dired-isearch-filenames-toggle; make it into a proper minor mode.
8297 Use add/remove-function.
8298 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8299 Call the minor-mode rather than add/remove-hook.
8300 (dired-isearch-filter-filenames):
8301 Remove isearch-message-prefix property.
8302 * info.el (Info--search-loop): New function, extracted from Info-search.
8303 Funcall isearch-filter-predicate instead of
8304 run-hook-with-args-until-failure isearch-filter-predicates.
8305 (Info-search): Use it.
8306 (Info-mode): Use isearch-filter-predicate instead of
8307 isearch-filter-predicates.
8308
8309 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8310
8311 Do not call to `selected-window' where it is assumed by default.
8312 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8313 `window-hscroll', `window-width', `window-height', `window-buffer',
8314 `window-frame', `window-start', `window-point', `next-window'
8315 and `window-display-table'.
8316 * abbrev.el (abbrev--default-expand):
8317 * bs.el (bs--show-with-configuration):
8318 * buff-menu.el (Buffer-menu-mouse-select):
8319 * calc/calc.el (calc):
8320 * calendar/calendar.el (calendar-generate-window):
8321 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8322 (diary-make-entry):
8323 * comint.el (send-invisible, comint-dynamic-complete-filename)
8324 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8325 * completion.el (complete):
8326 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8327 * disp-table.el (describe-current-display-table):
8328 * doc-view.el (doc-view-insert-image):
8329 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8330 * ehelp.el (with-electric-help):
8331 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8332 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8333 * emacs-lisp/helper.el (Helper-help-scroller):
8334 * emulation/cua-base.el (cua--post-command-handler-1):
8335 * eshell/esh-mode.el (eshell-output-filter):
8336 * ffap.el (ffap-gnus-wrapper):
8337 * help-macro.el (make-help-screen):
8338 * hilit-chg.el (highlight-compare-buffers):
8339 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8340 * hl-line.el (global-hl-line-highlight):
8341 * icomplete.el (icomplete-simple-completing-p):
8342 * isearch.el (isearch-done):
8343 * jit-lock.el (jit-lock-stealth-fontify):
8344 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8345 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8346 * mpc.el (mpc-tagbrowser, mpc):
8347 * net/rcirc.el (rcirc-any-buffer):
8348 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8349 * play/landmark.el (landmark-max-width, landmark-max-height):
8350 * play/zone.el (zone):
8351 * progmodes/compile.el (compilation-goto-locus):
8352 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8353 * progmodes/etags.el (find-tag-other-window):
8354 * progmodes/fortran.el (fortran-column-ruler):
8355 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8356 * progmodes/verilog-mode.el (verilog-point-text):
8357 * reposition.el (reposition-window):
8358 * rot13.el (toggle-rot13-mode):
8359 * server.el (server-switch-buffer):
8360 * shell.el (shell-dynamic-complete-command)
8361 (shell-dynamic-complete-environment-variable):
8362 * simple.el (insert-buffer, set-selective-display)
8363 (delete-completion-window):
8364 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8365 (speedbar-recenter):
8366 * startup.el (fancy-splash-head):
8367 * textmodes/ispell.el (ispell-command-loop):
8368 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8369 * tutorial.el (help-with-tutorial):
8370 * vc/add-log.el (add-change-log-entry):
8371 * vc/compare-w.el (compare-windows):
8372 * vc/ediff-help.el (ediff-indent-help-message):
8373 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8374 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8375 (ediff-setup-control-frame):
8376 * vc/emerge.el (emerge-position-region):
8377 * vc/pcvs-util.el (cvs-bury-buffer):
8378 * window.el (walk-windows, mouse-autoselect-window-select):
8379 * winner.el (winner-set-conf, winner-undo): Related users changed.
8380
8381 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8382
8383 * frameset.el (frameset--set-id): Doc fix.
8384 (frameset-frame-id, frameset-frame-id-equal-p)
8385 (frameset-locate-frame-id): New functions.
8386 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8387 (frameset-restore): Use them.
8388
8389 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8390
8391 Do not call to `selected-frame' where it is assumed by default.
8392 Affected functions are `raise-frame', `redraw-frame',
8393 `frame-first-window', `frame-terminal' and `delete-frame'.
8394 * calendar/appt.el (appt-disp-window):
8395 * epg.el (epg-wait-for-completion):
8396 * follow.el (follow-delete-other-windows-and-split)
8397 (follow-avoid-tail-recenter):
8398 * international/mule.el (set-terminal-coding-system):
8399 * mail/rmail.el (rmail-mail-return):
8400 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8401 * progmodes/f90.el (f90-add-imenu-menu):
8402 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8403 * server.el (server-switch-buffer):
8404 * simple.el (delete-completion-window):
8405 * talk.el (talk):
8406 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8407 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8408 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8409 * vc/ediff.el (ediff-documentation): Related users changed.
8410 * frame.el (selected-terminal): Remove the leftover.
8411
8412 2013-08-05 Glenn Morris <rgm@gnu.org>
8413
8414 * calendar/calendar.el (calendar-generate-month):
8415 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8416 (calendar-generate-month, calendar-font-lock-keywords):
8417 Fix for calendar-day-header-width > length of any day name.
8418
8419 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8420
8421 * desktop.el (desktop-clear): Use new name of sort predicate.
8422
8423 * frameset.el (frameset): Add docstring. Move :version property to its
8424 own `version' slot.
8425 (frameset-copy): Rename from copy-frameset.
8426 (frameset-p): Check more thoroughly.
8427 (frameset-prop): Do not check for :version, which is no longer a prop.
8428 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8429 Use new :never value instead of t.
8430 (frameset-filter-alist): Expand and clarify docstring.
8431 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8432 (frameset-filter-minibuffer, frameset-filter-save-param)
8433 (frameset-filter-restore-param, frameset-filter-iconified):
8434 Add pointer to docstring of frameset-filter-alist.
8435 (frameset-filter-params): Rename filter values to be more meaningful:
8436 :never instead of t, and reverse the meanings of :save and :restore.
8437 (frameset--process-minibuffer-frames): Clarify error message.
8438 (frameset-save): Avoid unnecessary and confusing call to framep.
8439 Use new BOA constructor for framesets.
8440 (frameset--reuse-list): Doc fix.
8441 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8442 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8443 (frameset-minibufferless-first-p): Doc fix.
8444 Rename from frameset-sort-frames-for-deletion.
8445 (frameset-restore): Doc fixes. Use new function names.
8446 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8447
8448 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8449
8450 * desktop.el (desktop-restore-forces-onscreen)
8451 (desktop-restore-reuses-frames): Document :keyword constant values.
8452 (desktop-filter-parameters-alist): Remove, now identical to
8453 frameset-filter-alist.
8454 (desktop--filter-tty*): Remove, moved to frameset.el.
8455 (desktop-save-frameset, desktop-restore-frameset):
8456 Do not pass :filters argument.
8457
8458 * frameset.el (frameset-live-filter-alist)
8459 (frameset-persistent-filter-alist): New variables.
8460 (frameset-filter-alist): Use them. Add autoload cookie.
8461 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8462 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8463 `frameset--id' (it's supposed to be internal to frameset.el).
8464 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8465 (frameset--initial-params): New function.
8466 (frameset--get-frame): Use it. Doc fix.
8467 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8468 Accept :all, not 'all.
8469 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8470 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8471 with fbound symbols. Fix frame id matching, and remove matching ids if
8472 the frame being restored is deleted. Obey :delete.
8473
8474 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * subr.el (macrop): New function.
8477 (text-clone--maintaining): New var.
8478 (text-clone--maintain): Rename from text-clone-maintain. Use it
8479 instead of inhibit-modification-hooks.
8480
8481 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8482 a proxy, so as handle autoloads and redefinitions of the target.
8483 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8484
8485 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8486 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8487 (pcase--mutually-exclusive-p): New function.
8488 (pcase--split-consp): Use it.
8489 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8490 mutually exclusive with the current predicate.
8491
8492 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8493 (edebug-macrop): Remove. Use `macrop' instead.
8494 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8495 (ad-macro-p):
8496 * eshell/esh-cmd.el (eshell-macrop):
8497 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8498
8499 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8502 (advice-mapc): New function, using it.
8503 (advice-function-member-p): New function.
8504 (advice--normalize): Store the cdr in advice--saved-rewrite since
8505 that's the part that will be changed.
8506 (advice--symbol-function): New function.
8507 (advice-remove): Handle removal before the function is defined.
8508 Adjust to new advice--saved-rewrite.
8509 (advice-member-p): Use advice-function-member-p and
8510 advice--symbol-function.
8511
8512 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8513
8514 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8515 (frameset-filter-minibuffer): Doc fix.
8516 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8517 (frameset--set-id, frameset--process-minibuffer-frames)
8518 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8519 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8520
8521 * desktop.el (desktop-clear): Only delete frames when called
8522 interactively and desktop-restore-frames is non-nil. Doc fix.
8523 (desktop-read): Set desktop-saved-frameset to nil.
8524
8525 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8526
8527 * vc/vc.el (vc-ignore): Rewrite.
8528 (vc-default-ignore-completion-table, vc--read-lines)
8529 (vc--add-line, vc--remove-regexp): New functions.
8530
8531 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8532 (vc-svn-ignore-completion-table): New function.
8533
8534 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8535 (vc-hg-ignore-completion-table)
8536 (vc-hg-find-ignore-file): New functions.
8537
8538 * vc/vc-git.el (vc-git-ignore): Rewrite.
8539 (vc-git-ignore-completion-table)
8540 (vc-git-find-ignore-file): New functions.
8541
8542 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8543
8544 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8545 (vc-bzr-ignore-completion-table)
8546 (vc-bzr-find-ignore-file): New functions.
8547
8548 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8549
8550 * frameset.el (frameset-prop): New function and setter.
8551 (frameset-save): Do not modify frame list passed by the caller.
8552
8553 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8556
8557 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8558
8559 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8560 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8561
8562 * custom.el (custom-initialize-default, custom-initialize-set)
8563 (custom-initialize-reset, custom-initialize-changed): Affect the
8564 toplevel-default-value (bug#6275, bug#14586).
8565 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8566 for bug#6275.
8567
8568 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8569
8570 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8571 Add cl-def* expressions.
8572
8573 * frameset.el (frameset-filter-params): Fix order of arguments.
8574
8575 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8576
8577 Move code related to saving frames to frameset.el.
8578 * desktop.el: Require frameset.
8579 (desktop-restore-frames): Doc fix.
8580 (desktop-restore-reuses-frames): Rename from
8581 desktop-restoring-reuses-frames.
8582 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8583 (desktop-clear): Clear frames too.
8584 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8585 (desktop--filter-tty*, desktop-save, desktop-read):
8586 Use frameset functions.
8587 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8588 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8589 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8590 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8591 (desktop--process-minibuffer-frames, desktop-save-frames)
8592 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8593 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8594 (desktop--sort-states, desktop-restoring-frames-p)
8595 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8596 (desktop-restoring-frameset-p, desktop-restore-frameset)
8597 (desktop--check-dont-save, desktop-save-frameset): New functions.
8598 (desktop--app-id): New constant.
8599 (desktop-first-buffer, desktop-buffer-ok-count)
8600 (desktop-buffer-fail-count): Move before first use.
8601 * frameset.el: New file.
8602
8603 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * files.el: Use lexical-binding.
8606 (dir-locals-read-from-file): Remove unused `err' variable.
8607 (hack-dir-local-variables--warned-coding): New var.
8608 (hack-dir-local-variables): Use it to avoid repeated warnings.
8609 (make-backup-file-name--default-function): New function.
8610 (make-backup-file-name-function): Use it as default.
8611 (buffer-stale--default-function): New function.
8612 (buffer-stale-function): Use it as default.
8613 (revert-buffer-insert-file-contents--default-function): New function.
8614 (revert-buffer-insert-file-contents-function): Use it as default.
8615 (insert-directory): Avoid add-to-list.
8616
8617 * autorevert.el (auto-revert-handler): Simplify.
8618 Use buffer-stale--default-function.
8619
8620 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8621
8622 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8623
8624 * whitespace.el (whitespace-ensure-local-variables): New function.
8625 (whitespace-cleanup-region): Call it.
8626 (whitespace-turn-on): Call it.
8627
8628 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8629
8630 Complete file name handlers.
8631
8632 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8633 (tramp-handle-verify-visited-file-modtime)
8634 (tramp-handle-file-notify-rm-watch): New functions.
8635 (tramp-call-process): Do not bind `default-directory'.
8636
8637 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8638 Order alphabetically.
8639 <access-file, add-name-to-file, dired-call-process>:
8640 <dired-compress-file, file-acl, file-notify-rm-watch>:
8641 <file-ownership-preserved-p, file-selinux-context>:
8642 <make-directory-internal, make-symbolic-link, set-file-acl>:
8643 <set-file-selinux-context, set-visited-file-modtime>:
8644 <verify-visited-file-modtime>: Add handler.
8645 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8646
8647 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8648 <file-notify-add-watch, file-notify-rm-watch>:
8649 <set-file-times, set-visited-file-modtime>:
8650 <verify-visited-file-modtime>: Add handler.
8651 (with-tramp-gvfs-error-message)
8652 (tramp-gvfs-handle-set-visited-file-modtime)
8653 (tramp-gvfs-fuse-file-name): Remove.
8654 (tramp-gvfs-handle-file-notify-add-watch)
8655 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8656 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8657
8658 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8659 Order alphabetically.
8660 <file-notify-rm-watch>: Use default Tramp handler.
8661 <executable-find>: Remove private handler.
8662 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8663 `default-directory'.
8664 (tramp-sh-handle-executable-find)
8665 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8666 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8667 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8668 Do not use `format' in `tramp-message'.
8669
8670 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8671 <file-notify-rm-watch, set-visited-file-modtime>:
8672 <verify-visited-file-modtime>: Add handler.
8673 (tramp-smb-call-winexe): Do not bind `default-directory'.
8674
8675 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8676
8677 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8678
8679 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8680
8681 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8682 use it.
8683 (log-view-diff-changeset): Same.
8684 (log-view-diff-common): Call backend command `previous-revision'
8685 to find out the previous revision, in both cases. Swap the
8686 variables `to' and `fr', so that `fr' usually refers to the
8687 earlier revision (Bug#14989).
8688
8689 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8690
8691 * ibuf-ext.el (ibuffer-filter-by-filename):
8692 Make it work with dired buffers too.
8693
8694 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8695
8696 * emacs-lisp/re-builder.el (reb-color-display-p):
8697 * files.el (save-buffers-kill-terminal):
8698 * net/browse-url.el (browse-url):
8699 * server.el (server-save-buffers-kill-terminal):
8700 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8701 Prefer nil to selected-frame for the first arg of frame-parameter.
8702
8703 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8704
8705 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8706
8707 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8708
8709 * minibuffer.el (completion--twq-all): Try and preserve each
8710 completion's case choice (bug#14907).
8711
8712 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8713
8714 * net/network-stream.el (open-network-stream): Mention the new
8715 :nogreeting parameter.
8716 (network-stream-open-starttls): Use the :nogreeting parameter
8717 (bug#14938).
8718
8719 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8720
8721 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8722 more natural than popping.
8723
8724 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8725 (shr-urlify): Highlight under mouse.
8726
8727 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8728
8729 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8730
8731 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8732
8733 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8734 buffer for output.
8735
8736 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8737 point-min==1. Fix search string. Fix parentheses missing.
8738
8739 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8740 assume point-min==1. Fix search string. Fix parentheses missing.
8741
8742 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8743
8744 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8745 buffer for output.
8746
8747 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8748
8749 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8750 initial frame is minibuffer-less. (Bug#14841)
8751
8752 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8753
8754 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8755 option.
8756
8757 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8758 (tramp-maybe-open-connection): Use it.
8759
8760 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8761
8762 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8763 minimal set of parameters passed when creating a frame, because
8764 the minibuffer status of a frame cannot be changed later.
8765
8766 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8767
8768 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8769 replace-regexp-in-string and inadvertent omissions in previous change.
8770 (todo-filter-items): Ensure only file names are comma-separated in
8771 name of filtered items buffer.
8772
8773 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8774
8775 * desktop.el: Optionally force offscreen frames back onscreen.
8776 (desktop-restoring-reuses-frames): New option.
8777 (desktop--compute-pos, desktop--move-onscreen): New functions.
8778 (desktop--make-frame): Use desktop--move-onscreen.
8779
8780 2013-07-27 Alan Mackenzie <acm@muc.de>
8781
8782 Fontify a Java generic method as a function.
8783 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8784 value to t.
8785
8786 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8787
8788 * calendar/todo-mode.el: Add command to rename todo files.
8789 (todo-rename-file): New command.
8790 (todo-key-bindings-t): Add key binding for it. Change the
8791 bindings of todo-filter-regexp-items(-multifile) to use `x'
8792 instead of `r', since the latter is better suited to the new
8793 renaming command.
8794
8795 2013-07-27 Alan Mackenzie <acm@muc.de>
8796
8797 Make Java try-with-resources statement parse properly.
8798 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8799 (c-block-stmt-1-2-key): New language constants/variables.
8800 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8801 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8802 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8803 with c-block-stmt-1-2-key.
8804
8805 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8806
8807 * desktop.el (desktop--make-frame): Apply most frame parameters after
8808 creating the frame to force (partially or totally) offscreen frames to
8809 be restored as such.
8810
8811 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8812
8813 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8814 (Bug#14948)
8815
8816 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8817
8818 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8819 `base' arg of backtrace-frame.
8820
8821 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8822
8823 * simple.el (list-processes): Doc fix.
8824
8825 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8826
8827 * desktop.el (desktop--select-frame):
8828 Try harder to reuse existing frames.
8829
8830 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8833 (edebug-eval): Use backtrace-eval.
8834 (edebug--display, edebug--recursive-edit): Don't let-bind the
8835 edebug-outer-* vars that keep track of variables we locally let-bind.
8836 (edebug-outside-excursion): Don't restore outside values of locally
8837 let-bound vars.
8838 (edebug--display): Use user-error.
8839 (cl-lexical-debug, cl-debug-env): Remove.
8840
8841 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8842
8843 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8844 are restored to be sure that they are visible before deleting any
8845 remaining ones.
8846
8847 2013-07-26 Matthias Meulien <orontee@gmail.com>
8848
8849 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8850 vc-print-root-log. (Bug#14948)
8851
8852 2013-07-26 Richard Stallman <rms@gnu.org>
8853
8854 Add aliases for encrypting mail.
8855 * epa.el (epa-mail-aliases): New option.
8856 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8857 Bind inhibit-read-only so read-only text doesn't ruin everything.
8858 (epa-mail-default-recipients): New subroutine broken out.
8859 Handle epa-mail-aliases.
8860
8861 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 Add support for lexical variables to the debugger's `e' command.
8864 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8865 vars, except for debugger-outer-match-data.
8866 (debugger-frame-number): Move check for "on a function call" from
8867 callers into it. Add `skip-base' argument.
8868 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8869 (debugger-env-macro): Only reset the state stored in non-variables,
8870 i.e. current-buffer and match-data.
8871 (debugger-eval-expression): Rewrite using backtrace-eval.
8872 * subr.el (internal--called-interactively-p--get-frame): Remove.
8873 (called-interactively-p):
8874 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8875 `base' arg of backtrace-frame instead.
8876
8877 2013-07-26 Glenn Morris <rgm@gnu.org>
8878
8879 * align.el (align-regexp): Doc fix. (Bug#14857)
8880 (align-region): Explicit error if subexpression missing/does not match.
8881
8882 * simple.el (global-visual-line-mode):
8883 Do not duplicate the mode lighter. (Bug#14858)
8884
8885 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8886
8887 * window.el (display-buffer): In display-buffer bind
8888 split-window-keep-point to t, bug#14829.
8889
8890 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8891
8892 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8893 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8894 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8895 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8896 Change accordingly.
8897 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8898 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8899
8900 2013-07-25 Glenn Morris <rgm@gnu.org>
8901
8902 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8903
8904 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8905
8906 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8907 parameter to modify-frame-parameters if the value has not changed;
8908 this is a workaround for bug#14949.
8909 (desktop--make-frame): On cl-delete-if call, check parameter name,
8910 not full parameter.
8911
8912 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8913
8914 * vc/vc.el (vc-ignore): New function.
8915
8916 * vc/vc-svn.el (vc-svn-ignore): New function.
8917
8918 * vc/vc-hg.el (vc-hg-ignore): New function.
8919
8920 * vc/vc-git.el (vc-git-ignore): New function.
8921
8922 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8923 (vc-dir-ignore): New function.
8924
8925 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8926 (cvs-append-to-ignore): Move here from pcvs.el.
8927
8928 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8929
8930 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8931
8932 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8933
8934 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8935 (desktop-restore-frames): Warn when deleting an existing frame failed.
8936
8937 2013-07-24 Glenn Morris <rgm@gnu.org>
8938
8939 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8940
8941 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8942
8943 * filenotify.el (file-notify-supported-p):
8944 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8945 Remove functions.
8946
8947 * autorevert.el (auto-revert-use-notify)
8948 (auto-revert-notify-add-watch):
8949 * net/tramp.el (tramp-file-name-for-operation):
8950 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8951 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8952 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8953 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8954 Remove `file-notify-supported-p' entry.
8955
8956 2013-07-24 Glenn Morris <rgm@gnu.org>
8957
8958 * printing.el: Replace all uses of deleted ps-windows-system,
8959 ps-lp-system, ps-flatten-list with lpr- versions.
8960
8961 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8962
8963 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8964 checked with memq (bug#14935).
8965
8966 * files.el (revert-buffer-function): Use a non-nil default.
8967 (revert-buffer-preserve-modes): Declare var to
8968 provide access to the `preserve-modes' argument.
8969 (revert-buffer): Let-bind it.
8970 (revert-buffer--default): New function, extracted from revert-buffer.
8971
8972 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * lpr.el: Signal print errors more prominently.
8975 (print-region-function): Don't default to nil.
8976 (lpr-print-region): New function, extracted from print-region-1.
8977 Check lpr's return value and signal an error in case of problem.
8978 (print-region-1): Use it.
8979 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8980 versions instead.
8981 (ps-printer-name): Default to nil.
8982 (ps-printer-name-option): Default to lpr-printer-switch.
8983 (ps-print-region-function): Don't default to nil.
8984 (ps-postscript-code-directory): Simplify default.
8985 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8986 (ps-string-list, ps-eval-switch, ps-flatten-list)
8987 (ps-flatten-list-1): Remove.
8988 (ps-multibyte-buffer): Avoid setq.
8989 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8990 (print-region-function, ps-print-region-function): Don't set them here.
8991
8992 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8993
8994 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8995 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8996 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8997 (ido-decorations): Doc fix.
8998
8999 * ansi-color.el: Fix old URL.
9000
9001 2013-07-23 Michael R. Mauger <michael@mauger.com>
9002
9003 * progmodes/sql.el: Version 3.3
9004 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9005 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9006 (sql-interactive-remove-continuation-prompt): Rewrite, use
9007 functions above. Fix continuation prompt and complete output line
9008 handling.
9009 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9010 redirected output buffer.
9011 (sql-mode): Restore deleted code (Bug#13591).
9012
9013 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9014
9015 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9016
9017 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9018
9019 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9020
9021 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9022 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9023 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9024
9025 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9026
9027 * desktop.el (desktop-clear): Simplify; remove useless checks
9028 against invalid buffer names.
9029 (desktop-list*): Use cl-list*.
9030 (desktop-buffer-info, desktop-create-buffer): Simplify.
9031
9032 2013-07-23 Leo Liu <sdl.web@gmail.com>
9033
9034 * bookmark.el (bookmark-make-record): Restore NAME as a default
9035 value. (Bug#14933)
9036
9037 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9040 extracted from autoload--insert-text.
9041 (autoload--insert-text): Remove.
9042 (autoload--print-cookie-text): New function, extracted from
9043 autoload--insert-cookie-text.
9044 (autoload--insert-cookie-text): Remove.
9045 (autoload-generate-file-autoloads): Adjust calls accordingly.
9046
9047 * winner.el (winner-hook-installed-p): Remove.
9048 (winner-mode): Simplify accordingly.
9049
9050 * subr.el (add-to-list): Fix compiler-macro when `append' is
9051 not constant. Don't use `cl-member' for the base case.
9052
9053 * progmodes/subword.el: Fix boundary case (bug#13758).
9054 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9055 own group.
9056 (subword-backward-regexp): Make it a constant.
9057 (subword-forward-internal): Don't treat a trailing capital as the
9058 beginning of a word.
9059
9060 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9061
9062 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9063 global value of tabulated-list-revert-hook (bug#14930).
9064
9065 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9066
9067 * desktop.el: Require 'cl-lib.
9068 (desktop-before-saving-frames-functions): New hook.
9069 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9070 for frames being saved. Rename from desktop--save-minibuffer-frames.
9071 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9072 Do not save frames with non-nil `desktop-dont-save' parameter.
9073 Filter out deleted frames.
9074 (desktop--find-frame): Use cl-find-if.
9075 (desktop--select-frame): Use cl-(first|second|third) to access values
9076 of desktop-mini.
9077 (desktop--make-frame): Use cl-delete-if.
9078 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9079 (desktop-restore-frames): Use cl-(first|second|third) to access values
9080 of desktop-mini. Look for visible frame at the end, not while
9081 restoring frames.
9082
9083 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9084 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9085 Use string-match-p, looking-at-p (bug#14927).
9086
9087 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9088
9089 * desktop.el (desktop-saved-frame-states):
9090 Rename from desktop--saved-states; all users changed.
9091 (desktop-save-frames): Rename from desktop--save-frames.
9092 Do not save state to desktop file.
9093 (desktop-save): Save desktop-saved-frame-states to desktop file
9094 and reset to nil.
9095 (desktop-restoring-frames-p): New function.
9096 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9097 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9098 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9099
9100 * desktop.el: Correctly restore iconified frames.
9101 (desktop--filter-iconified-position): New function.
9102 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9103
9104 2013-07-20 Glenn Morris <rgm@gnu.org>
9105
9106 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9107 Let `message' do the formatting.
9108 (def-gdb-preempt-display-buffer): Add explicit format.
9109
9110 * image-dired.el (image-dired-track-original-file):
9111 Use with-current-buffer.
9112 (image-dired-track-thumbnail): Use with-current-buffer.
9113 Avoid changing point of wrong window.
9114
9115 * image-dired.el (image-dired-track-original-file):
9116 Avoid changing point of wrong window. (Bug#14909)
9117
9118 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9119
9120 * progmodes/gdb-mi.el (gdb-done-or-error):
9121 Guard against "%" in gdb output. (Bug#14127)
9122
9123 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9124
9125 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9126 (Bug#14826)
9127
9128 * international/mule.el (coding-system-iso-2022-flags): Fix last
9129 change.
9130
9131 2013-07-20 Kenichi Handa <handa@gnu.org>
9132
9133 * international/mule.el (coding-system-iso-2022-flags):
9134 Add `8-bit-level-4'. (Bug#8522)
9135
9136 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9137
9138 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9139 (bug#14815).
9140
9141 * net/eww.el (eww-process-text-input): Allow inputting when the
9142 point is at the start of the line, as the properties aren't
9143 front-sticky.
9144
9145 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9146 degenerate widths.
9147
9148 2013-07-19 Richard Stallman <rms@gnu.org>
9149
9150 * epa.el (epa-popup-info-window): Doc fix.
9151
9152 * subr.el (split-string): New arg TRIM.
9153
9154 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9155
9156 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9157 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9158
9159 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9160
9161 * filenotify.el (file-notify--library): Rename from
9162 `file-notify-support'. Do not autoload. Adapt all uses.
9163 (file-notify-supported-p): New defun.
9164
9165 * autorevert.el (auto-revert-use-notify):
9166 Use `file-notify-supported-p' instead of `file-notify-support'.
9167 Adapt docstring.
9168 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9169
9170 * net/tramp.el (tramp-file-name-for-operation):
9171 Add `file-notify-supported-p'.
9172
9173 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9174 New defun.
9175 (tramp-sh-file-name-handler-alist): Add it as handler for
9176 `file-notify-supported-p '.
9177
9178 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9179 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9180 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9181 Add `ignore' as handler for `file-notify-*' functions.
9182
9183 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9184
9185 * simple.el (line-move-partial, line-move): Don't start vscroll or
9186 scroll-up if the current line is not taller than the window.
9187 (Bug#14881)
9188
9189 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9190
9191 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9192 highlight question marks in the method names as strings.
9193 (ruby-block-beg-keywords): Inline.
9194 (ruby-font-lock-keyword-beg-re): Extract from
9195 `ruby-font-lock-keywords'.
9196
9197 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9198
9199 * frame.el (blink-cursor-blinks): New defcustom.
9200 (blink-cursor-blinks-done): New defvar.
9201 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9202 (blink-cursor-timer-function): Check if number of blinks has been
9203 done on X and NS.
9204 (blink-cursor-suspend, blink-cursor-check): New defuns.
9205
9206 2013-07-15 Glenn Morris <rgm@gnu.org>
9207
9208 * edmacro.el (edmacro-format-keys): Fix previous change.
9209
9210 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9211
9212 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9213 The hack didn't work outside English locales anyway.
9214
9215 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9216
9217 * simple.el (define-alternatives): Rename from alternatives-define,
9218 per RMS' suggestion.
9219
9220 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9221
9222 * desktop.el (desktop-restore-frames): Change default to t.
9223 (desktop-restore-in-current-display): Now offer more options.
9224 (desktop-restoring-reuses-frames): New customization option.
9225 (desktop--saved-states): Doc fix.
9226 (desktop-filter-parameters-alist): New variable, renamed and expanded
9227 from desktop--excluded-frame-parameters.
9228 (desktop--target-display): New variable.
9229 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9230 (desktop--filter-tty*, desktop--filter-*-color)
9231 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9232 (desktop--filter-save-desktop-parm)
9233 (desktop-restore-in-original-display-p): New functions.
9234 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9235 (desktop--save-minibuffer-frames): New function, inspired by a similar
9236 function from Martin Rudalics.
9237 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9238 (desktop--restore-in-this-display-p): Remove.
9239 (desktop--find-frame): Rename from desktop--find-frame-in-display
9240 and add predicate argument.
9241 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9242 (desktop--reuse-list): New variable.
9243 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9244 New functions.
9245 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9246
9247 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9248
9249 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9250
9251 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9252
9253 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9254 Highlight conversion methods on Kernel.
9255
9256 2013-07-13 Alan Mackenzie <acm@muc.de>
9257
9258 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9259 and comment it out. This out-commenting enables certain C++
9260 declarations to be parsed correctly.
9261
9262 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9263
9264 * international/mule.el (define-coding-system): Doc fix.
9265
9266 * simple.el (default-font-height): Don't call font-info if the
9267 frame's default font didn't change since the frame was created.
9268 (Bug#14838)
9269
9270 2013-07-13 Leo Liu <sdl.web@gmail.com>
9271
9272 * ido.el (ido-read-file-name): Guard against non-symbol value.
9273
9274 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9275
9276 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9277 in nested defuns.
9278
9279 2013-07-13 Leo Liu <sdl.web@gmail.com>
9280
9281 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9282 ido-set-matches call. (Bug#6852)
9283
9284 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9285
9286 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9287 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9288 Ruby 2.0.
9289 (ruby-font-lock-keywords): Distinguish calls to functions with
9290 module-like names from module references. Highlight character
9291 literals.
9292
9293 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9294
9295 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9296 (gdb-send): Handle continued commands. (Bug#14847)
9297
9298 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9299
9300 * desktop.el (desktop--v2s): Remove unused local variable.
9301 (desktop-save-buffer): Make defvar-local; adjust docstring.
9302 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9303 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9304
9305 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9306
9307 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9308
9309 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9310
9311 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9312 (Bug#14842)
9313
9314 2013-07-12 Glenn Morris <rgm@gnu.org>
9315
9316 * doc-view.el: Require cl-lib at runtime too.
9317 (doc-view-remove-if): Remove.
9318 (doc-view-search-next-match, doc-view-search-previous-match):
9319 Use cl-remove-if.
9320
9321 * edmacro.el: Require cl-lib at runtime too.
9322 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9323 (edmacro-mismatch, edmacro-subseq): Remove.
9324
9325 * shadowfile.el: Require cl-lib.
9326 (shadow-remove-if): Remove.
9327 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9328 Use cl-remove-if.
9329
9330 * wid-edit.el: Require cl-lib.
9331 (widget-choose): Use cl-remove-if.
9332 (widget-remove-if): Remove.
9333
9334 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9335 (ebrowse-delete-if-not): Remove.
9336 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9337 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9338 Use cl-delete-if-not.
9339
9340 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9341
9342 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9343 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9344
9345 2013-07-12 Leo Liu <sdl.web@gmail.com>
9346
9347 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9348
9349 2013-07-11 Glenn Morris <rgm@gnu.org>
9350
9351 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9352 (edebug-gensym-index, edebug-gensym):
9353 Remove reimplementation of cl-gensym.
9354 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9355
9356 * thumbs.el: Require cl-lib at run-time too.
9357 (thumbs-gensym-counter, thumbs-gensym):
9358 Remove reimplementation of cl-gensym.
9359 (thumbs-temp-file): Use cl-gensym.
9360
9361 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9362 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9363 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9364 (ert--union, ert--gensym-counter, ert--gensym-counter)
9365 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9366 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9367 (ert-make-test-unbound, ert--expand-should-1)
9368 (ert--expand-should, ert--should-error-handle-error)
9369 (should-error, ert--explain-equal-rec)
9370 (ert--plist-difference-explanation, ert-select-tests)
9371 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9372 Use cl-lib functions rather than reimplementations.
9373
9374 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9375
9376 * net/tramp.el (tramp-methods): Extend docstring.
9377 (tramp-connection-timeout): New defcustom.
9378 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9379 (with-tramp-progress-reporter): Simplify.
9380 (tramp-process-actions): Improve messages.
9381
9382 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9383 * net/tramp-sh.el (tramp-maybe-open-connection):
9384 Use `tramp-connection-timeout'.
9385 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9386 (Bug#14808)
9387
9388 2013-07-11 Leo Liu <sdl.web@gmail.com>
9389
9390 * ido.el (ido-read-file-name): Conform to the requirements of
9391 read-file-name. (Bug#11861)
9392 (ido-read-directory-name): Conform to the requirements of
9393 read-directory-name.
9394
9395 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9396
9397 * subr.el (delay-warning): New function.
9398
9399 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9400
9401 * simple.el (default-line-height): New function.
9402 (line-move-partial, line-move): Use it instead of computing the
9403 line height inline.
9404 (line-move-partial): Always compute ROWH. If the last line is
9405 partially-visible, but its text is completely visible, allow
9406 cursor to enter such a partially-visible line.
9407
9408 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9409
9410 Improve error messages. (Bug#14808)
9411
9412 * net/tramp.el (tramp-current-connection): New defvar, moved from
9413 tramp-sh.el.
9414 (tramp-message-show-progress-reporter-message): Remove, not
9415 needed anymore.
9416 (tramp-error-with-buffer): Show message in minibuffer.
9417 Discard input before waiting. Reset connection timestamp.
9418 (with-tramp-progress-reporter): Improve messages.
9419 (tramp-process-actions): Use progress reporter. Delete process in
9420 case of error. Improve messages.
9421
9422 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9423 Call `tramp-error-with-buffer' with vector and buffer.
9424 (tramp-current-connection): Remove.
9425 (tramp-maybe-open-connection): The car of
9426 `tramp-current-connection' are the first 3 slots of the vector.
9427
9428 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9429
9430 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9431 inside continued strings.
9432
9433 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9434
9435 Timestamp fixes for undo (Bug#14824).
9436 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9437
9438 2013-07-10 Leo Liu <sdl.web@gmail.com>
9439
9440 * files.el (require-final-newline): Allow safe local value.
9441 (Bug#14834)
9442
9443 2013-07-09 Leo Liu <sdl.web@gmail.com>
9444
9445 * ido.el (ido-read-directory-name): Handle fallback.
9446 (ido-read-file-name): Update DIR to ido-current-directory.
9447 (Bug#1516)
9448 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9449
9450 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9451
9452 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9453 "autoload". Remove "warn lower camel case" section, previously
9454 commented out. Highlight negation char. Do not highlight the
9455 target in singleton method definitions.
9456
9457 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * faces.el (tty-setup-hook): Declare the hook.
9460
9461 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9462 and detect when a guard/pred depends on local vars (bug#14773).
9463 (pcase--u1): Adjust caller.
9464
9465 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9466
9467 * simple.el (line-move-partial, line-move): Account for
9468 line-spacing.
9469 (line-move-partial): Avoid setting vscroll when the last
9470 partially-visible line in window is of default height.
9471
9472 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9473
9474 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9475 been used a while.
9476
9477 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9478
9479 * subr.el (read-quoted-char): Remove unused local variable `char'.
9480
9481 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9482
9483 * ediff.el (ediff-version): Version update.
9484 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9485 (ediff-merge-with-ancestor-command, ediff-directories-command)
9486 (ediff-directories3-command, ediff-merge-directories-command)
9487 (ediff-merge-directories-with-ancestor-command): New functions.
9488 All are command-line interfaces to ediff: to facilitate calling
9489 Emacs with the appropriate ediff functions invoked.
9490
9491 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9492 (viper-save-kill-buffer): Check if buffer is modified.
9493
9494 * viper.el (viper-version): Version update.
9495 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9496
9497 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9498
9499 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9500 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9501 (viper-intercept-ESC-key): Simplify.
9502 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9503 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9504 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9505 (viper-setup-ESC-to-escape): New functions.
9506 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9507 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9508
9509 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9510
9511 * simple.el (default-font-height, window-screen-lines):
9512 New functions.
9513 (line-move, line-move-partial): Use them instead of
9514 frame-char-height and window-text-height. This makes scrolling
9515 text smoother when the buffer's default face uses a font that is
9516 different from the frame's default font.
9517
9518 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9519
9520 * files.el (write-file): Do not display confirm dialog for NS,
9521 it does its own dialog, which can't be canceled (Bug#14578).
9522
9523 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9524
9525 * simple.el (line-move-partial): Adjust the row returned by
9526 posn-at-point for the current window-vscroll. (Bug#14567)
9527
9528 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9529
9530 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9531 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9532 spaces.
9533
9534 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9535
9536 * window.el (window-state-put-stale-windows): New variable.
9537 (window--state-put-2): Save list of windows without matching buffer.
9538 (window-state-put): Remove "bufferless" windows if possible.
9539
9540 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9541
9542 * simple.el (alternatives-define): Remove leftover :group keyword.
9543 Tweak docstring.
9544
9545 2013-07-06 Leo Liu <sdl.web@gmail.com>
9546
9547 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9548 (ido-enable-virtual-buffers): New variable.
9549 (ido-buffer-internal, ido-toggle-virtual-buffers)
9550 (ido-make-buffer-list): Use it.
9551 (ido-exhibit): Support turning on and off virtual buffers
9552 automatically.
9553
9554 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9555
9556 * simple.el (alternatives-define): New macro.
9557
9558 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * subr.el (read-quoted-char): Use read-key.
9561 (sit-for): Let read-event decode tty input (bug#14782).
9562
9563 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9564
9565 * calendar/todo-mode.el: Add handling of file deletion, both by
9566 mode command and externally. Fix various related bugs.
9567 Clarify Commentary and improve some documentation strings and code.
9568 (todo-delete-file): New command.
9569 (todo-check-file): New function.
9570 (todo-show): Handle external deletion of the file we're trying to
9571 show (bug#14688). Replace called-interactively-p by an optional
9572 prefix argument to avoid problematic interaction with catch form
9573 when byte compiled (bug#14702).
9574 (todo-quit): Handle external deletion of the archive's todo file.
9575 Make sure the buffer that was visiting the archive file is still
9576 live before trying to bury it.
9577 (todo-category-completions): Handle external deletion of any
9578 category completion files.
9579 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9580 of todo files, in case of external deletion.
9581 (todo-add-file): Replace unnecessary setq by let-binding.
9582 (todo-find-archive): Check whether there are any archives.
9583 Replace unnecessary setq by let-binding.
9584 (todo-archive-done-item): Use find-file-noselect to get the
9585 archive buffer whether or not the archive already exists.
9586 Remove superfluous code. Use file size instead of buffer-file-name to
9587 check if the archive is new; if it is, update list of archives.
9588 (todo-default-todo-file): Allow nil to be a valid value for when
9589 there are no todo files.
9590 (todo-reevaluate-default-file-defcustom): Use corrected definition
9591 of todo-default-todo-file.
9592 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9593 (todo-delete-category, todo-show-categories-table)
9594 (todo-category-number): Clarify comment.
9595 (todo-filter-items): Clarify documentation string.
9596 (todo-show-current-file, todo-display-as-todo-file)
9597 (todo-reset-and-enable-done-separator): Tweak documentation string.
9598 (todo-done-separator): Make separator length window-width, since
9599 bug#2749 is now fixed.
9600
9601 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9602
9603 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9604 Support both "gvfs-monitor-dir" and "inotifywait".
9605 (tramp-sh-file-inotifywait-process-filter): Rename from
9606 `tramp-sh-file-notify-process-filter'.
9607 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9608 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9609
9610 2013-07-05 Leo Liu <sdl.web@gmail.com>
9611
9612 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9613
9614 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9615
9616 * frame.el (display-pixel-height, display-pixel-width)
9617 (display-mm-height, display-mm-width): Mention behavior on
9618 multi-monitor setups in docstrings.
9619 (w32-display-monitor-attributes-list): Declare function.
9620 (display-monitor-attributes-list): Use it.
9621
9622 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9623
9624 * filenotify.el: New package.
9625
9626 * autorevert.el (top): Require filenotify.el.
9627 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9628 instead.
9629 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9630 (auto-revert-notify-handler): Use `file-notify-*' functions.
9631
9632 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9633
9634 * net/tramp.el (tramp-file-name-for-operation):
9635 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9636
9637 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9638 for `file-notify-add-watch' and `file-notify-rm-watch'.
9639 (tramp-process-sentinel): Improve trace.
9640 (tramp-sh-handle-file-notify-add-watch)
9641 (tramp-sh-file-notify-process-filter)
9642 (tramp-sh-handle-file-notify-rm-watch)
9643 (tramp-get-remote-inotifywait): New defuns.
9644
9645 2013-07-03 Juri Linkov <juri@jurta.org>
9646
9647 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9648 call of `occur-read-primary-args' to interactive spec.
9649
9650 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9651 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9652
9653 2013-07-03 Matthias Meulien <orontee@gmail.com>
9654
9655 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9656 `Buffer-menu-multi-occur'. Add it to the menu.
9657 (Buffer-menu-mode): Document it in docstring.
9658 (Buffer-menu-multi-occur): New command. (Bug#14673)
9659
9660 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9661
9662 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9663 keywords and built-ins.
9664
9665 2013-07-03 Glenn Morris <rgm@gnu.org>
9666
9667 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9668
9669 Make info-xref checks case-sensitive by default
9670 * info.el (Info-find-node, Info-find-in-tag-table)
9671 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9672 Add option for exact case matching of nodes.
9673 * info-xref.el (info-xref): New custom group.
9674 (info-xref-case-fold): New option.
9675 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9676
9677 2013-07-03 Leo Liu <sdl.web@gmail.com>
9678
9679 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9680
9681 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9682
9683 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9684 middle of block statement initially, lower the depth. Remove
9685 FIXME comment, not longer valid. Remove middle of block statement
9686 detection, no need to do that anymore since we've been using
9687 `ruby-parse-region' here.
9688
9689 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9690
9691 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9692
9693 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9694
9695 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9696
9697 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9698
9699 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9700 (desktop-restore-in-current-display): New customization option.
9701 (desktop--excluded-frame-parameters): Add `font'.
9702 (desktop--save-frames): Rename from desktop--save-windows.
9703 (desktop--restore-in-this-display-p): New function.
9704 (desktop--make-full-frame): Remove unwanted width/height from
9705 full(width|height) frames.
9706 (desktop--restore-frames): Rename from desktop--restore-windows.
9707 Obey desktop-restore-current-display. Do not delete old frames or
9708 select a new frame unless we were able to restore at least one frame.
9709
9710 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9711
9712 * files.el (find-file-noselect): Simplify conditional expression.
9713
9714 * textmodes/remember.el (remember-append-to-file):
9715 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9716
9717 Add `remember-notes' function to store random notes across Emacs
9718 restarts.
9719 * textmodes/remember.el (remember-data-file): Add :set callback to
9720 affect notes buffer (if any).
9721 (remember-notes): New command.
9722 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9723 New defcustoms for the `remember-notes' function.
9724 (remember-notes-save-and-bury-buffer): New command.
9725 (remember-notes-mode-map): New variable.
9726 (remember-mode): New minor mode.
9727 (remember-notes--kill-buffer-query): New function.
9728 * startup.el (initial-buffer-choice): Add notes to custom type.
9729
9730 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9731
9732 * bindings.el (right-char, left-char): Don't call sit-for, this is
9733 no longer needed. Use arithmetic comparison only for numerical
9734 arguments.
9735
9736 * international/mule-cmds.el (select-safe-coding-system):
9737 Handle the case of FROM being a string correctly. (Bug#14755)
9738
9739 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9740
9741 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9742 progression on degenerate tables.
9743 (shr-rescale-image): ImageMagick animated images currently don't work.
9744
9745 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9746
9747 Some fixes and improvements for desktop frame restoration.
9748 It is still experimental and disabled by default.
9749 * desktop.el (desktop--save-windows): Put the selected frame at
9750 the head of the list.
9751 (desktop--make-full-frame): New function.
9752 (desktop--restore-windows): Try to re-select the frame that was
9753 selected upon saving. Do not abort if some frames fail to restore,
9754 just show an error message and continue. Set up maximized frames
9755 so they have default non-maximized dimensions.
9756
9757 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9758
9759 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9760 Don't start heredoc inside a string or comment.
9761
9762 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9763
9764 * bindings.el (visual-order-cursor-movement): New defcustom.
9765 (right-char, left-char): Provide visual-order cursor motion by
9766 calling move-point-visually. Update the doc strings.
9767
9768 2013-06-28 Kenichi Handa <handa@gnu.org>
9769
9770 * international/mule.el (define-coding-system): New coding system
9771 properties :inhibit-null-byte-detection,
9772 :inhibit-iso-escape-detection, and :prefer-utf-8.
9773 (set-buffer-file-coding-system): If :charset-list property of
9774 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9775 appropriate for setting.
9776
9777 * international/mule-cmds.el (select-safe-coding-system):
9778 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9779 multibyte characters, return utf-8 (or one of its siblings).
9780
9781 * international/mule-conf.el (prefer-utf-8): New coding system.
9782 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9783 files.
9784
9785 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9786
9787 * net/shr.el (shr-render-region): New function.
9788
9789 * net/eww.el: Autoload `eww-browse-url'.
9790
9791 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9792
9793 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9794 Adapt to `package-desc-version' being a list.
9795 Use `package--ac-desc-version' to retrieve version from a package
9796 archive element.
9797
9798 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9799
9800 New experimental feature to save&restore window and frame setup.
9801 * desktop.el (desktop-save-windows): New defcustom.
9802 (desktop--saved-states): New var.
9803 (desktop--excluded-frame-parameters): New defconst.
9804 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9805 (desktop--restore-windows, desktop--save-windows): New functions.
9806 (desktop-save): Call `desktop--save-windows'.
9807 (desktop-read): Call `desktop--restore-windows'.
9808
9809 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9810
9811 * net/shr.el (add-face-text-property): Remove compat definition.
9812
9813 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9814
9815 * info.el (Info-try-follow-nearest-node): Move search for footnote
9816 above search for node name to prevent missing a footnote (bug#14717).
9817
9818 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9819
9820 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9821
9822 2013-06-27 Leo Liu <sdl.web@gmail.com>
9823
9824 * net/eww.el (eww-read-bookmarks): Check file size.
9825
9826 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9827
9828 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9829 advice--pending if newdef is nil or an autoload (bug#13820).
9830 (advice-mapc): New function.
9831
9832 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9833
9834 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9835 probably.
9836 (eww-mode-map): Add a menu bar.
9837 (eww-add-bookmark): New command.
9838 (eww-bookmark-mode): New mode and commands.
9839 (eww-add-bookmark): Remove newlines from the title.
9840 (eww-bookmark-browse): Don't bug out if it's the only window.
9841
9842 2013-06-26 Glenn Morris <rgm@gnu.org>
9843
9844 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9845 (hfy-size): Handle ttys. (Bug#14668)
9846
9847 * info-xref.el: Update for Texinfo 5 change in *note format.
9848 (info-xref-node-re, info-xref-note-re): New constants.
9849 (info-xref-check-buffer): Use info-xref-note-re.
9850
9851 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9852
9853 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9854
9855 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9856 nil terminate the loop (bug#14718).
9857
9858 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9859
9860 * net/eww.el: Rework history traversal. When going forward/back,
9861 put these actions into the history, too, so that they can be
9862 replayed.
9863 (eww-render): Move the history reset to the correct buffer.
9864
9865 2013-06-25 Juri Linkov <juri@jurta.org>
9866
9867 * files-x.el (modify-dir-local-variable): Change the header comment
9868 in the file with directory local variables. (Bug#14692)
9869
9870 * files-x.el (read-file-local-variable-value): Add `default'.
9871 (Bug#14710)
9872
9873 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9874
9875 * net/eww.el (eww-make-unique-file-name): Create a unique file
9876 name before saving to entering `y' accidentally asynchronously.
9877
9878 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9879
9880 * net/eww.el (eww-download): New command and keystroke.
9881
9882 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9883
9884 * net/eww.el (eww-copy-page-url): Change name of command.
9885
9886 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9887 be more consistent with Info and dired.
9888
9889 * net/eww.el (eww-mode-map): Ditto.
9890
9891 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9892
9893 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9894 packages from archives.
9895 (package-archive-contents): Change format; include obsolete packages.
9896 (package-desc): Use `dir' to mark builtin packages.
9897 (package--from-builtin): Set the `dir' field to `builtin'.
9898 (generated-autoload-file, version-control): Declare.
9899 (package-compute-transaction): Change first arg and return value to be
9900 lists of package-descs. Adjust to new package-archive-contents format.
9901 (package--add-to-archive-contents): Adjust to new
9902 package-archive-contents format.
9903 (package-download-transaction): Arg is now a list of package-descs.
9904 (package-install): If `pkg' is a package name, pass it as
9905 a requirement, so it is subject to the usual (e.g. disabled) checks.
9906 (describe-package): Accept package-desc as well.
9907 (describe-package-1): Describe a specific package-desc. Add links to
9908 other package-descs for the same package name.
9909 (package-menu-describe-package): Pass the actual package-desc.
9910 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9911 works correctly.
9912 (package-desc-status): New function.
9913 (package-menu--refresh): New function, extracted
9914 from package-menu--generate.
9915 (package-menu--generate): Use it.
9916 (package-delete): Update package-alist.
9917 (package-menu-execute): Don't call package-initialize.
9918
9919 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9920 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9921 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9922 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9923 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9924 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9925
9926 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9927
9928 * window.el (window--state-get-1): Workaround for bug#14527.
9929 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9930
9931 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9932
9933 * net/eww.el (eww-back-url): Implement the history by stashing all
9934 the data into a list.
9935 (eww-forward-url): Allow going forward in the history, too.
9936
9937 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9940 for values and use read--expression for expressions (bug#14710).
9941 (read-file-local-variable): Avoid setq.
9942 (read-file-local-variable-mode): Use minor-mode-list.
9943
9944 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9945
9946 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9947 for DOI URLs.
9948
9949 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9950
9951 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9952 Update imenu-support when dialect changes.
9953
9954 2013-06-25 Leo Liu <sdl.web@gmail.com>
9955
9956 * ido.el (ido-read-internal): Allow forward slash on windows.
9957
9958 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9959
9960 * net/eww.el (eww): Start of strings is \\`, not ^.
9961
9962 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9963
9964 * net/shr.el (shr-browse-url): Fix interactive spec.
9965
9966 * net/eww.el (eww): Add a trailing slash to domain names.
9967
9968 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9969
9970 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9971
9972 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9973
9974 * net/shr.el (shr-browse-url): Use an external browser if given a
9975 prefix.
9976
9977 * net/eww.el (eww-external-browser): Move to shr.
9978
9979 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9980
9981 * net/eww.el (eww): Work more correctly for file: URLs.
9982 (eww-detect-charset): Allow quoted charsets.
9983 (eww-yank-page-url): New command and keystroke.
9984
9985 2013-06-24 Daiki Ueno <ueno@gnu.org>
9986
9987 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9988 file name of gpg executable.
9989 (epg-context-program): New function.
9990 (epg-context-home-directory): New function.
9991 (epg-context-set-program): New function.
9992 (epg-context-set-home-directory): New function.
9993 (epg--start): Use `epg-context-program' instead of
9994 'epg-gpg-program'.
9995 (epg--list-keys-1): Likewise.
9996
9997 2013-06-24 Leo Liu <sdl.web@gmail.com>
9998
9999 * ido.el (ido-read-internal): Fix bug#14620.
10000
10001 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10002
10003 * faces.el (face-documentation): Simplify.
10004 (read-face-attribute, tty-find-type, x-resolve-font-name):
10005 Use `string-match-p'.
10006 (list-faces-display): Use `string-match-p'. Simplify.
10007 (face-spec-recalc): Check face to avoid face alias loops.
10008 (read-color): Use `string-match-p' and non-capturing parenthesis.
10009
10010 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10011
10012 * net/shr.el (shr-rescale-image): Use the new
10013 :max-width/:max-height functionality.
10014
10015 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10016
10017 * net/eww.el (eww-search-prefix): New variable.
10018 (eww): Use it.
10019 (eww-external-browser): New variable.
10020 (eww-mode-map): New keystroke.
10021 (eww-browse-with-external-browser): New command.
10022
10023 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10024
10025 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10026
10027 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10028 Don't skip aligning the next header field when padding is 0;
10029 otherwise, field width is not respected unless the title is as
10030 wide as the field.
10031
10032 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * emacs-lisp/package.el (package-el-version): Remove.
10035 (package-process-define-package): Fix inf-loop.
10036 (package-install): Allow symbols as arguments again.
10037
10038 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10039
10040 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10041 add some more keyword-like methods.
10042 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10043
10044 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10045
10046 * bs.el (bs-buffer-show-mark): Make defvar-local.
10047 (bs-mode): Use setq-local.
10048
10049 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10050 (emacs-lock--try-unlocking): Make defvar-local.
10051
10052 2013-06-22 Glenn Morris <rgm@gnu.org>
10053
10054 * play/cookie1.el (cookie-apropos): Minor simplification.
10055
10056 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10057
10058 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10059
10060 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10061 `regexp-opt', it breaks the build during dumping.
10062
10063 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10064
10065 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10066 Highlight keyword-like methods on Kernel and Module with
10067 font-lock-builtin-face.
10068 (auto-mode-alist): Consolidate different entries into one regexp
10069 and add more *file-s.
10070
10071 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10072
10073 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10074
10075 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10076 (diary-entry): Use it in the action of this button type instead of
10077 diary-goto-entry.
10078
10079 * calendar/todo-mode.el: New version.
10080 (todo-add-category): Append new category to end of file and give
10081 it the highest number, instead of putting it at the beginning and
10082 giving it 0. Incorporate noninteractive functionality.
10083 (todo-forward-category): Adapt to 1-based category numbering.
10084 Allow skipping over archived categories.
10085 (todo-backward-category): Derive from todo-forward-category.
10086 (todo-backward-item, todo-forward-item): Make noninteractive and
10087 delegate interactive part to new commands. Make sensitive to done items.
10088 (todo-categories): Make value an alist of category names and
10089 vectors of item counts.
10090 (todo-category-beg): Make a defconst.
10091 (todo-category-number): Use 1 instead of 0 as initial value.
10092 (todo-category-select): Make sensitive to overlays, optional item
10093 highlighting and done items.
10094 (todo-delete-item): Make sensitive to overlays and marked and done items.
10095 (todo-edit-item): Make sensitive to overlays and editing of
10096 date/time header optional. Add format checks.
10097 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10098 no-op if point is not on an item. Advertise using todo-edit-quit.
10099 (todo-edit-mode): Make sensitive to new format, font-locking, and
10100 multiple todo files.
10101 (todo-insert-item, todo-insert-item-here): Derive from
10102 todo-basic-insert-item and extend functionality.
10103 (todo-item-end, todo-item-start): Make sensitive to done items.
10104 (todo-item-string): Don't return text properties. Restore point.
10105 (todo-jump-to-category): Make sensitive to multiple todo files and
10106 todo archives. Use extended category completion.
10107 (todo-lower-item, todo-raise-item): Rename to *-priority and
10108 derive from todo-set-item-priority.
10109 (todo-mode): Derive from special-mode. Make sensitive to new
10110 format, font-locking and multiple todo files. Make read-only.
10111 (todo-mode-map): Don't suppress digit keys, so they can supply
10112 prefix arguments. Add many new key bindings.
10113 (todo-prefix): Insert as an overlay instead of file text.
10114 Change semantics from diary date expression to purely visual mark.
10115 (todo-print): Rename to todo-print-buffer. Make buffer display
10116 features printable. Remove option to restrict number of items
10117 printed. Add option to print to file.
10118 (todo-print-function): Rename to todo-print-buffer-function.
10119 (todo-quit): Extend to handle exiting new todo modes.
10120 (todo-remove-item): Make sensitive to overlays.
10121 (todo-save): Extend to buffers of filtered items.
10122 (todo-show): Make sensitive to done items, multiple todo files and
10123 new todo modes. Offer to convert legacy todo file before creating
10124 first new todo file.
10125 (todo-show-priorities): Rename to todo-top-priorities.
10126 Change semantics of value 0.
10127 (todo-top-priorities): Rename to todo-filter-top-priorities,
10128 derive from todo-filter-items and extend functionality.
10129 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10130 and extend functionality to other types of filtered items.
10131 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10132 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10133 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10134 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10135 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10136 (todo-edit-mode-hook, todo-entry-prefix-function)
10137 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10138 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10139 (todo-initials, todo-insert-threshold, todo-item-string-start)
10140 (todo-line-string, todo-menu, todo-mode-hook)
10141 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10142 (todo-print-priorities, todo-remove-separator)
10143 (todo-save-top-priorities-too, todo-string-count-lines)
10144 (todo-string-multiline-p, todo-time-string-format)
10145 (todo-tmp-buffer-name): Remove.
10146 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10147 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10148 (todo-edit-category-diary-inclusion)
10149 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10150 (todo-edit-file, todo-edit-item-date-day)
10151 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10152 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10153 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10154 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10155 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10156 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10157 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10158 (todo-filter-top-priorities-multifile, todo-find-archive)
10159 (todo-find-filtered-items-file, todo-go-to-source-item)
10160 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10161 (todo-jump-to-archive-category, todo-lower-category)
10162 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10163 (todo-move-category, todo-move-item, todo-next-button)
10164 (todo-next-item, todo-padded-string, todo-powerset)
10165 (todo-previous-button, todo-previous-item)
10166 (todo-print-buffer-to-file, todo-raise-category)
10167 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10168 (todo-set-category-number, todo-set-item-priority)
10169 (todo-set-top-priorities-in-category)
10170 (todo-set-top-priorities-in-file, todo-show-categories-table)
10171 (todo-sort-categories-alphabetically-or-numerically)
10172 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10173 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10174 (todo-toggle-item-header, todo-toggle-item-highlighting)
10175 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10176 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10177 (todo-unarchive-items, todo-unmark-category): New commands.
10178 (todo-absolute-file-name, todo-add-to-buffer-list)
10179 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10180 (todo-basic-insert-item, todo-category-completions)
10181 (todo-category-number, todo-category-string-matcher-1)
10182 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10183 (todo-check-format, todo-clear-matches)
10184 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10185 (todo-current-category, todo-date-string-matcher)
10186 (todo-define-insertion-command, todo-diary-expired-matcher)
10187 (todo-diary-goto-entry, todo-diary-item-p)
10188 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10189 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10190 (todo-done-item-section-p, todo-done-separator)
10191 (todo-done-string-matcher, todo-files, todo-filter-items)
10192 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10193 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10194 (todo-insert-category-line, todo-insert-item-from-calendar)
10195 (todo-insert-sort-button, todo-insert-with-overlays)
10196 (todo-insertion-command-name, todo-insertion-key-bindings)
10197 (todo-label-to-key, todo-longest-category-name-length)
10198 (todo-make-categories-list, todo-mode-external-set)
10199 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10200 (todo-modes-set-3, todo-multiple-filter-files)
10201 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10202 (todo-read-category, todo-read-date, todo-read-dayname)
10203 (todo-read-file-name, todo-read-time)
10204 (todo-reevaluate-category-completions-files-defcustom)
10205 (todo-reevaluate-default-file-defcustom)
10206 (todo-reevaluate-filelist-defcustoms)
10207 (todo-reevaluate-filter-files-defcustom)
10208 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10209 (todo-reset-done-separator, todo-reset-done-separator-string)
10210 (todo-reset-done-string, todo-reset-global-current-todo-file)
10211 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10212 (todo-reset-prefix, todo-set-categories)
10213 (todo-set-date-from-calendar, todo-set-show-current-file)
10214 (todo-set-top-priorities, todo-short-file-name)
10215 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10216 (todo-total-item-counts, todo-update-buffer-list)
10217 (todo-update-categories-display, todo-update-categories-sexp)
10218 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10219 New functions.
10220 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10221 New major modes.
10222 (todo-categories, todo-display, todo-edit, todo-faces)
10223 (todo-filtered): New defgroups.
10224 (todo-archived-only, todo-button, todo-category-string, todo-date)
10225 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10226 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10227 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10228 (todo-add-item-if-new-category, todo-always-add-time-string)
10229 (todo-categories-align, todo-categories-archived-label)
10230 (todo-categories-category-label, todo-categories-diary-label)
10231 (todo-categories-done-label, todo-categories-number-separator)
10232 (todo-categories-todo-label, todo-categories-totals-label)
10233 (todo-category-completions-files, todo-completion-ignore-case)
10234 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10235 (todo-done-separator-string, todo-done-string)
10236 (todo-files-function, todo-filter-done-items, todo-filter-files)
10237 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10238 (todo-initial-category, todo-initial-file, todo-item-mark)
10239 (todo-legacy-date-time-regexp, todo-mode-line-function)
10240 (todo-nondiary-marker, todo-number-prefix)
10241 (todo-print-buffer-function, todo-show-current-file)
10242 (todo-show-done-only, todo-show-first, todo-show-with-done)
10243 (todo-skip-archived-categories, todo-top-priorities-overrides)
10244 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10245 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10246 New defcustoms.
10247 (todo-category-done, todo-date-pattern, todo-date-string-start)
10248 (todo-diary-items-buffer, todo-done-string-start)
10249 (todo-filtered-items-buffer, todo-item-start)
10250 (todo-month-abbrev-array, todo-month-name-array)
10251 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10252 (todo-top-priorities-buffer): New defconsts.
10253 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10254 (todo-categories-with-marks, todo-category-string-face)
10255 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10256 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10257 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10258 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10259 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10260 (todo-font-lock-keywords, todo-global-current-todo-file)
10261 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10262 (todo-insertion-commands-args)
10263 (todo-insertion-commands-args-genlist)
10264 (todo-insertion-commands-names, todo-insertion-map)
10265 (todo-key-bindings-t, todo-key-bindings-t+a)
10266 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10267 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10268 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10269 (todo-visited): New variables.
10270
10271 2013-06-21 Glenn Morris <rgm@gnu.org>
10272
10273 * play/cookie1.el (cookie-apropos): Add optional display argument.
10274 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10275 (psychoanalyze-pinhead): Use cookie-doctor.
10276
10277 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10278
10279 * emacs-lisp/package.el (tar-get-file-descriptor)
10280 (tar--extract): Declare.
10281
10282 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10283
10284 Extend flymake's warning predicate to be a function (bug#14217).
10285 * progmodes/flymake.el (flymake-warning-predicate): New.
10286 (flymake-parse-line): Use it.
10287 (flymake-warning-re): Make obsolete alias to
10288 `flymake-warning-predicate'.
10289
10290 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10293 (package-obsolete-list): Remove.
10294 (package-activate): Remove min-version argument. Add `force' argument.
10295 Adjust to new package-alist format.
10296 (package-mark-obsolete): Remove.
10297 (package-unpack): Force reload of the package's autoloads.
10298 (package-installed-p): Check builtins if the installed package is not
10299 recent enough.
10300 (package-initialize): Don't reset package-obsolete-list.
10301 Don't specify which package version to activate.
10302 (package-process-define-package, describe-package-1)
10303 (package-menu--generate): Adjust to new package-alist format.
10304
10305 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10306
10307 * allout-widgets.el (allout-widgets-mode-off)
10308 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10309 (allout-widgets-post-command-business)
10310 (allout-widgets-after-copy-or-kill-function)
10311 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10312 (allout-decorate-item-and-context)
10313 (allout-graphics-modification-handler): Fix typos in docstrings.
10314 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10315
10316 * cmuscheme.el (scheme-start-file): Doc fix.
10317 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10318 (scheme-input-filter): Use `string-match-p'.
10319
10320 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10321
10322 * dired-x.el: Use Dired consistently in docstrings.
10323
10324 * dired.el: Use Dired consistently in docstrings.
10325 (dired-readin, dired-mode): Use `setq-local'.
10326 (dired-switches-alist): Make defvar-local.
10327 (dired-buffers-for-dir): Use `zerop'.
10328 (dired-safe-switches-p, dired-switches-escape-p)
10329 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10330 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10331 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10332 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10333 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10334 (dired-toggle-marks, dired-mark-files-containing-regexp)
10335 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10336 (dired-flag-auto-save-files, dired-flag-backup-files):
10337 Use `looking-at-p'.
10338 (dired-mark-files-regexp, dired-build-subdir-alist):
10339 Use `string-match-p', `looking-at-p'.
10340
10341 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10342 (direct-print-region-helper): Use `string-match-p'.
10343
10344 2013-06-21 Leo Liu <sdl.web@gmail.com>
10345
10346 * comint.el (comint-redirect-results-list-from-process):
10347 Fix infinite loop.
10348
10349 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10350
10351 * net/eww.el (eww-update-header-line-format): Quote % characters.
10352
10353 2013-06-21 Glenn Morris <rgm@gnu.org>
10354
10355 * play/cookie1.el (cookie): New custom group.
10356 (cookie-file): New option.
10357 (cookie-check-file): New function.
10358 (cookie): Make it interactive. Make start and end messages optional.
10359 Interactively, display the result. Default to cookie-file.
10360 (cookie-insert): Default to cookie-file.
10361 (cookie-snarf): Make start and end messages optional.
10362 Default to cookie-file. Use with-temp-buffer.
10363 (cookie-read): Rename from read-cookie.
10364 Make start and end messages optional. Default to cookie-file.
10365 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10366 Do not autoload it.
10367 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10368 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10369
10370 2013-06-21 Leo Liu <sdl.web@gmail.com>
10371
10372 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10373
10374 2013-06-21 Glenn Morris <rgm@gnu.org>
10375
10376 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10377
10378 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10379 Daniel Hackney <dan@haxney.org>
10380
10381 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10382 Consolidate the single-file vs tarball code.
10383 (package-desc-suffix): New function.
10384 (package-desc-full-name): Don't bother inlining it.
10385 (package-load-descriptor): Return the new package-desc.
10386 (package-mark-obsolete): Remove unused arg `package'.
10387 (package-unpack): Make it work for single files as well.
10388 Make it update package-alist.
10389 (package--make-autoloads-and-stuff): Rename from
10390 package--make-autoloads-and-compile. Don't compile any more.
10391 (package--compile): New function.
10392 (package-generate-description-file): New function, extracted from
10393 package-unpack-single.
10394 (package-unpack-single): Remove.
10395 (package--with-work-buffer): Add indentation and debugging info.
10396 (package-download-single): Remove.
10397 (package-install-from-archive): Rename from package-download-tar, make
10398 it take a pkg-desc, and make it work for single files as well.
10399 (package-download-transaction): Simplify.
10400 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10401 external tar program.
10402 (package-install-from-buffer): Remove `pkg-desc' argument.
10403 Use package-tar-file-info for tar-mode buffers.
10404 (package-install-file): Simplify accordingly.
10405 (package-archive-base): Change to take a pkg-desc.
10406 * tar-mode.el (tar--check-descriptor): New function, extracted from
10407 tar-get-descriptor.
10408 (tar-get-descriptor): Use it.
10409 (tar-get-file-descriptor): New function.
10410 (tar--extract): New function, extracted from tar-extract.
10411 (tar--extract): Use it.
10412 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10413 case the summary uses non-ascii. Adjust to new calling convention of
10414 package-tar-file-info.
10415
10416 2013-06-21 Leo Liu <sdl.web@gmail.com>
10417
10418 * comint.el (comint-redirect-results-list-from-process):
10419 Fix random delay. (Bug#14681)
10420
10421 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10422
10423 * profiler.el (profiler-format-number): Use log, not log10.
10424
10425 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10426
10427 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10428
10429 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10430
10431 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10432 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10433 yet available.
10434 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10435 (AUTOGENEL): ... here.
10436 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10437 (cl--defsubst-expand): Use it.
10438
10439 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10440
10441 * subr.el (log10): Move here from C code, and declare as obsolete.
10442 All uses of (log10 X) replaced with (log X 10).
10443
10444 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10445
10446 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10447 Declare with `defvar-local'.
10448 (tabulated-list-use-header-line, tabulated-list-entries)
10449 (tabulated-list-padding, tabulated-list-printer)
10450 (tabulated-list-sort-key): Declare with `defvar-local'.
10451 (tabulated-list-init-header, tabulated-list-print-fake-header):
10452 Use `setq-local'.
10453
10454 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10455
10456 * arc-mode.el (archive-mode): Add `archive-write-file' to
10457 `write-contents-functions' also for remote files. (Bug#14652)
10458
10459 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10460
10461 * cus-edit.el (custom-commands): Fix typos.
10462 (custom-display): Fix tooltip text.
10463 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10464 Fix typos in docstrings.
10465 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10466 (custom-unlispify-menu-entry, custom-magic-value-create)
10467 (custom-add-see-also, custom-group-value-create): Use ?\s.
10468 (custom-guess-type, customize-apropos, editable-field)
10469 (custom-face-value-create): Use `string-match-p'.
10470 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10471
10472 * custom.el (custom-load-symbol): Use `string-match-p'.
10473
10474 * ansi-color.el: Convert to lexical binding.
10475 (ansi-colors): Fix URL.
10476 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10477 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10478 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10479
10480 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10481
10482 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10483
10484 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10485
10486 2013-06-19 Tom Tromey <tromey@redhat.com>
10487
10488 * net/eww.el (eww-top-url): Remove.
10489 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10490 (eww-render): Set new variables. Don't set eww-top-url.
10491 (eww-handle-link): Handle "prev", "home", and "contents".
10492 Downcase the rel text.
10493 (eww-top-url): Choose best top URL.
10494
10495 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10496
10497 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10498 relying in widget.el. Using widget.el leads to too many
10499 user interface inconsistencies.
10500 (eww-self-insert): Implement entering commands in text fields.
10501 (eww-process-text-input): New function to make text input field editing
10502 work.
10503 (eww-submit): Rewrite to use the new-style form methods.
10504 (eww-select-display): Display the correct selected item.
10505 (eww-change-select): Implement changing the select value.
10506 (eww-toggle-checkbox): Implement radio/checkboxes.
10507 (eww-update-field): Fix compilation error.
10508 (eww-tag-textarea): Implement <textarea>.
10509
10510 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10511 we don't shadow mode-specific bindings.
10512
10513 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10514 nothing to push.
10515
10516 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10517
10518 2013-06-19 Glenn Morris <rgm@gnu.org>
10519
10520 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10521
10522 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10523
10524 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10525 not needed.
10526
10527 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10528
10529 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10530
10531 * net/browse-url.el (browse-url-browser-function):
10532 `eww-browse-url' has the right calling signature, `eww' does not.
10533
10534 2013-06-19 Glenn Morris <rgm@gnu.org>
10535
10536 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10537 Only eval autoloaded macros.
10538 (byte-compile-autoload): Only give the macro warning for macros.
10539
10540 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10541 (ps-underlined-faces): Declare.
10542
10543 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10544 (speedbar-add-supported-extension): Declare.
10545
10546 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10547 Don't include a date stamp in the header of the generated file;
10548 it leads to needless differences between output files.
10549
10550 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10551
10552 * net/secrets.el (secrets-struct-secret-content-type):
10553 Replace check of introspection data by a test call of "CreateItem".
10554 Some servers do not offer introspection.
10555
10556 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10557
10558 * electric.el (electric-pair-mode): Improve interaction with
10559 electric-layout-mode.
10560 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10561 (electric-pair-syntax): Use text-mode-syntax-table in comments
10562 and strings.
10563 (electric-pair--insert): New function.
10564 (electric-pair-post-self-insert-function): Use it and
10565 electric--after-char-pos.
10566
10567 2013-06-19 Leo Liu <sdl.web@gmail.com>
10568
10569 * progmodes/octave.el (octave-help): Fix regexp.
10570
10571 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10572
10573 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10574 (shr-table-horizontal-line): Allow nil as a value, and change the
10575 default.
10576 (shr-insert-table-ruler): Respect the nil value.
10577
10578 2013-06-18 Tom Tromey <tromey@barimba>
10579
10580 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10581 New defvars.
10582 (eww-open-file): New defun.
10583 (eww-render): Initialize new variables.
10584 (eww-display-html): Handle "link" and "a".
10585 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10586 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10587 (eww-back-url): Rename from eww-previous-url.
10588 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10589 New defuns.
10590
10591 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10592
10593 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10594 Distinguish ternary operator tokens from slash symbol and slash
10595 char literal.
10596
10597 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10598
10599 Convert symbol prettification into minor mode and global minor mode.
10600
10601 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10602 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10603 (prettify-symbols--keywords): Rename from
10604 `prog-prettify-symbols-alist' and make a local defvar.
10605 (prettify-symbols--compose-symbol): Rename from
10606 `prog--prettify-font-lock-compose-symbol'.
10607 (prettify-symbols--make-keywords): Rename from
10608 `prog-prettify-font-lock-symbols-keywords' and simplify.
10609 (prog-prettify-install): Remove.
10610 (prettify-symbols-mode): New minor mode, based on
10611 `prog-prettify-install'.
10612 (turn-on-prettify-symbols-mode): New function.
10613 (global-prettify-symbols-mode): New globalized minor mode.
10614
10615 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10616 * progmodes/cfengine.el (cfengine3-mode):
10617 * progmodes/perl-mode.el (perl-mode): Don't call
10618 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10619
10620 2013-06-18 Juri Linkov <juri@jurta.org>
10621
10622 * files-x.el (modify-file-local-variable-message): New function.
10623 (modify-file-local-variable)
10624 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10625 and call `modify-file-local-variable-message' when it's non-nil.
10626 (add-file-local-variable, delete-file-local-variable)
10627 (add-file-local-variable-prop-line)
10628 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10629 and use it. (Bug#9820)
10630
10631 2013-06-18 Juri Linkov <juri@jurta.org>
10632
10633 * emulation/vi.el (vi-shell-op):
10634 * emulation/vip.el (vip-execute-com, ex-command):
10635 * emulation/viper-cmd.el (viper-exec-bang):
10636 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10637 the call of `shell-command-on-region'. (Bug#14637)
10638
10639 * simple.el (shell-command-on-region): Doc fix.
10640
10641 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10642
10643 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10644 (bug#14633).
10645
10646 2013-06-18 Glenn Morris <rgm@gnu.org>
10647
10648 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10649
10650 * newcomment.el (comment-search-forward, comment-search-backward):
10651 Doc fix. (Bug#14376)
10652
10653 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10654
10655 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10656 (buffer-face-mode-invoke): Doc fix.
10657
10658 2013-06-18 Matthias Meulien <orontee@gmail.com>
10659
10660 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10661 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10662
10663 2013-06-18 Glenn Morris <rgm@gnu.org>
10664
10665 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10666 Replace obsolete function generic-make-keywords with its expansion.
10667
10668 * progmodes/python.el (ffap-alist): Declare.
10669
10670 * textmodes/reftex.el (bibtex-mode-map): Declare.
10671
10672 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10673
10674 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10675 (package-unpack, package-unpack-single): Return the pkg-dir.
10676 (package-download-transaction): Use it to update package-alist.
10677
10678 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10679
10680 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10681 possible choice.
10682
10683 2013-06-17 Juri Linkov <juri@jurta.org>
10684
10685 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10686
10687 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10688
10689 * emacs-lisp/package.el (package-load-descriptor):
10690 Remove `with-syntax-table' call, `read' doesn't need it.
10691 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10692
10693 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10694
10695 * startup.el (command-line): Expand package name returned by
10696 `package--description-file' (bug#14639).
10697
10698 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10699
10700 * emacs-lisp/package.el (package-load-descriptor): Do not call
10701 `emacs-lisp-mode', just use its syntax table.
10702
10703 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10704
10705 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10706 `font-lock-extra-managed-props' if any prettifying keyword is added.
10707 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10708 (prog-mode): Use `setq-local'.
10709
10710 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10711
10712 * international/characters.el (standard-case-table): Set syntax of ?»
10713 and ?« to punctuation.
10714
10715 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10716
10717 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10718 Save relevant match data before calling `syntax-ppss' (bug#14595).
10719
10720 2013-06-15 Juri Linkov <juri@jurta.org>
10721
10722 * files-x.el (modify-file-local-variable-prop-line): Add local
10723 variables to the end of the existing comment on the first line.
10724 Use `file-auto-mode-skip' to skip interpreter magic line,
10725 and also skip XML declaration.
10726
10727 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * startup.el (package--builtin-versions): New var.
10730 (package-subdirectory-regexp): Remove.
10731 (package--description-file): Hard code its value instead.
10732
10733 * emacs-lisp/package.el: Don't activate packages older than builtin.
10734 (package-obsolete-list): Rename from package-obsolete-alist, and make
10735 it into a simple list of package-desc.
10736 (package-strip-version): Remove.
10737 (package-built-in-p): Use package--builtin-versions.
10738 (package-mark-obsolete): Simplify.
10739 (package-process-define-package): Mark it obsolete if older than the
10740 builtin version.
10741 (package-handle-response): Use line-end-position.
10742 (package-read-archive-contents, package--download-one-archive):
10743 Simplify.
10744 (package--add-to-archive-contents): Skip if older than the builtin or
10745 installed version.
10746 (package-menu-describe-package): Fix last change.
10747 (package-list-unversioned): New var.
10748 (package-menu--generate): Use it.
10749
10750 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10751 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10752 (autoload-builtin-package-versions): New variable.
10753 (autoload-generate-file-autoloads): Use them.
10754 Remove the list of autoloaded functions/macros from the
10755 (autoload...) comments.
10756
10757 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10758
10759 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10760
10761 * simple.el (line-move-partial): Don't jump to the next screen
10762 line as soon as it becomes visible. Instead, continue enlarging
10763 the vscroll until the portion of a tall screen line that's left on
10764 display is about the height of the frame's default font.
10765 (Bug#14567)
10766
10767 2013-06-15 Glenn Morris <rgm@gnu.org>
10768
10769 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10770 compilation-error-regexp-alist void, or local while let-bound.
10771
10772 * progmodes/make-mode.el (makefile-mode-syntax-table):
10773 Treat "=" as punctuation. (Bug#14614)
10774
10775 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10776
10777 * help-fns.el (describe-variable):
10778 Add extra line for permanent-local variables.
10779
10780 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10781
10782 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10783 Add export, import, library. (Bug#9164)
10784 (library): Set indent function.
10785
10786 2013-06-14 Glenn Morris <rgm@gnu.org>
10787
10788 * term/xterm.el (xterm--query):
10789 Stop after first matching handler. (Bug#14615)
10790
10791 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10792
10793 Add support for dired in saveplace.
10794 * dired.el (dired-initial-position-hook): New variable.
10795 (dired-initial-position): Call hook to place cursor position.
10796 * saveplace.el (save-place-to-alist): Add dired position.
10797 (save-place-dired-hook): New function.
10798
10799 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10802 through a symbol rather than letrec.
10803
10804 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10805 (package-desc): Add `dir' field.
10806 (package-desc-full-name): New function.
10807 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10808 (package-maybe-load-descriptor): Remove.
10809 (package-load-all-descriptors): Just call package-load-descriptor.
10810 (package--disabled-p): New function.
10811 (package-desc-vers, package-desc-doc): Remove aliases.
10812 (package--dir): Remove function.
10813 (package-activate): Check if a package is disabled.
10814 (package-process-define-package): New function, extracted from
10815 define-package.
10816 (define-package): Turn into a place holder.
10817 (package-unpack-single, package-tar-file-info):
10818 Use package--description-file.
10819 (package-compute-transaction): Use package--disabled-p.
10820 (package-download-transaction): Don't call
10821 package-maybe-load-descriptor since they're all loaded anyway.
10822 (package-install): Change argument to be a pkg-desc.
10823 (package-delete): Use a single pkg-desc argument.
10824 (describe-package-1): Use package-desc-dir instead of package--dir.
10825 Use package-desc property instead of package-symbol.
10826 (package-install-button-action): Adjust accordingly.
10827 (package--push): Rewrite.
10828 (package-menu--print-info): Adjust accordingly. Change the ID format
10829 to be a pkg-desc.
10830 (package-menu-describe-package, package-menu-get-status)
10831 (package-menu--find-upgrades, package-menu-mark-upgrades)
10832 (package-menu-execute, package-menu--name-predicate):
10833 Adjust accordingly.
10834 * startup.el (package--description-file): New function.
10835 (command-line): Use it.
10836 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10837 Use package-desc-version.
10838
10839 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10840 (byte-compile-preprocess): Use it.
10841 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10842 can't quite recognize.
10843 (byte-compile-add-to-list): Remove.
10844 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10845 (cconv-closure-convert): Add assertion.
10846
10847 * emacs-lisp/map-ynp.el: Use lexical-binding.
10848 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10849 Factor out some repeated code.
10850
10851 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * subr.el (with-eval-after-load): New macro.
10854 (eval-after-load): Allow form to be a function.
10855 take advantage of lexical-binding.
10856 (do-after-load-evaluation): Use dolist and adjust to new format.
10857 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10858
10859 2013-06-13 Juri Linkov <juri@jurta.org>
10860
10861 * replace.el (perform-replace): Display "symbol " and other search
10862 modes from `isearch-message-prefix' in the *Help* buffer.
10863
10864 * isearch.el (isearch-query-replace): Add " symbol" and other
10865 possible search modes from `isearch-message-prefix' to the prompt.
10866 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10867 when reading a regexp to collect.
10868
10869 2013-06-13 Juri Linkov <juri@jurta.org>
10870
10871 * isearch.el (word-search-regexp): Match whitespace if the search
10872 string begins or ends in whitespace. The LAX arg is applied to
10873 both ends of the search string. Use `regexp-quote' and explicit
10874 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10875 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10876 boundaries are replaced with symbol boundaries, and characters
10877 between symbols match non-word non-symbol syntax. (Bug#14602)
10878
10879 2013-06-13 Juri Linkov <juri@jurta.org>
10880
10881 * isearch.el (isearch-del-char): Don't exceed the length of
10882 `isearch-string' by the prefix arg. (Bug#14563)
10883
10884 2013-06-13 Juri Linkov <juri@jurta.org>
10885
10886 * isearch.el (isearch-yank-word, isearch-yank-line)
10887 (isearch-char-by-name, isearch-quote-char)
10888 (isearch-printing-char, isearch-process-search-char):
10889 Add optional count prefix arg. (Bug#14563)
10890
10891 * international/isearch-x.el
10892 (isearch-process-search-multibyte-characters):
10893 Add optional count prefix arg.
10894
10895 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10898 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10899 lexical-binding.
10900
10901 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10902
10903 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10904
10905 2013-06-13 Glenn Morris <rgm@gnu.org>
10906
10907 * startup.el (tty-handle-args):
10908 Don't just discard "--" and anything after. (Bug#14608)
10909
10910 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10911
10912 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10913
10914 Implement changes in Secret Service API. Make it backward compatible.
10915 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10916 (secrets-create-item): Use it. Prefix properties with interface.
10917
10918 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10919
10920 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10921 (term-emulate-terminal): Respect term-suppress-hard-newline.
10922
10923 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10924
10925 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10926 Only remove a `thumb-file' overlay. (Bug#14548)
10927
10928 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10929
10930 * mail/reporter.el (reporter-submit-bug-report):
10931 Handle missing package-name. (Bug#14600)
10932
10933 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10934
10935 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10936 (reftex-citation-prompt, reftex-default-bibliography)
10937 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10938 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10939 (reftex-bib-sort-author, reftex-bib-sort-year)
10940 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10941 (reftex-extract-bib-entries-from-thebibliography)
10942 (reftex-get-bibkey-default, reftex-get-bib-names)
10943 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10944 (reftex-format-bib-entry, reftex-parse-bibitem)
10945 (reftex-format-bibitem, reftex-do-citation)
10946 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10947 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10948 (reftex-insert-bib-matches, reftex-format-citation)
10949 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10950 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10951 existing comments into docstrings.
10952
10953 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10954
10955 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10956
10957 2013-06-12 Andreas Schwab <schwab@suse.de>
10958
10959 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10960 for auto-save files.
10961
10962 2013-06-12 Glenn Morris <rgm@gnu.org>
10963
10964 * ido.el (ido-delete-ignored-files): Remove.
10965 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10966 Go back to calling ido-ignore-item-p directly.
10967
10968 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10969
10970 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10971
10972 * ido.el (ido-delete-ignored-files): New function,
10973 split from ido-make-file-list-1.
10974 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10975 (ido-make-file-list-1): Use ido-delete-ignored-files.
10976
10977 2013-06-12 Leo Liu <sdl.web@gmail.com>
10978
10979 * progmodes/octave.el (inferior-octave-startup)
10980 (inferior-octave-completion-table)
10981 (inferior-octave-track-window-width-change)
10982 (octave-eldoc-function-signatures, octave-help)
10983 (octave-find-definition): Use single quoted strings.
10984 (inferior-octave-startup-args): Change default value.
10985 (inferior-octave-startup): Do not hard code "-i" and
10986 "--no-line-editing".
10987 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10988 (inferior-octave-directory-tracker): Use it.
10989 (octave-goto-function-definition): Robustify.
10990 (octave-help): Support highlighting operators in 'See also'.
10991 (octave-find-definition): Find subfunctions only in Octave mode.
10992
10993 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10994
10995 * help-fns.el (help-fns--compiler-macro): If the handler function is
10996 named, then put a link to it.
10997 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10998 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10999 (cl-typep): Use it.
11000 (cl-eval-when): Simplify debug spec.
11001 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11002 compiler-macro function instead of setting `compiler-macro-file'.
11003
11004 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11005
11006 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11007 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11008
11009 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11010 Daniel Hackney <dan@haxney.org>
11011
11012 First part of Daniel Hackney's patch to package.el.
11013 * emacs-lisp/package.el: Use defstruct.
11014 (package-desc): New, main struct.
11015 (package--bi-desc, package--ac-desc): New structs, used to describe the
11016 format in external files.
11017 (package-desc-vers): Replace with package-desc-version accessor.
11018 (package-desc-doc): Replace with package-desc-summary accessor.
11019 (package-activate-1): Remove `package' arg since the pkg-vec now
11020 includes the name.
11021 (define-package): Use package-desc-from-define.
11022 (package-unpack-single): Change file-name arg to be a symbol.
11023 (package--add-to-archive-contents): Use package-desc-create and new
11024 accessor functions to package--ac-desc.
11025 (package-buffer-info, package-tar-file-info): Return a package-desc.
11026 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11027 arg to be a package-desc.
11028 (package-install-file): Adjust accordingly. Use \' to match EOS.
11029 (package--from-builtin): New function.
11030 (describe-package-1, package-menu--generate): Use it.
11031 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11032 (package-generate-autoloads): Idem and return the name of the file.
11033 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11034 Change pkg-info arg to be a package-desc.
11035 Use package-make-ac-desc.
11036 (package-upload-file): Use \' to match EOS.
11037 * finder.el (finder-compile-keywords): Use package-make-builtin.
11038
11039 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11040
11041 * vc/vc.el (vc-deduce-fileset): Change error message.
11042 (vc-read-backend): New function.
11043 (vc-next-action): Use it.
11044
11045 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11046
11047 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11048 (prolog-font-lock-keywords): Use regexp-opt instead.
11049 Don't manually highlight strings.
11050 (prolog-mode-variables): Simplify comment-start-skip.
11051 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11052
11053 * emacs-lisp/generic.el (generic--normalise-comments)
11054 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11055 (generic-mode-set-comments): Use them.
11056 (generic-bracket-support): Use setq-local.
11057 (generic-make-keywords-list): Declare obsolete.
11058
11059 2013-06-11 Glenn Morris <rgm@gnu.org>
11060
11061 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11062 Prettify after setting font-lock-defaults. (Bug#14574)
11063
11064 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11065
11066 * replace.el (query-replace, occur-read-regexp-defaults-function)
11067 (replace-search):
11068 * subr.el (declare-function, number-sequence, local-set-key)
11069 (substitute-key-definition, locate-user-emacs-file)
11070 (with-silent-modifications, split-string, eval-after-load):
11071 Fix typos, remove unneeded backslashes and reflow some docstrings.
11072
11073 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11074
11075 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11076 default for Elisp files.
11077
11078 2013-06-11 Glenn Morris <rgm@gnu.org>
11079
11080 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11081 although define-derived-mode was doing this anyway. (Bug#14583)
11082
11083 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11084
11085 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11086 Fix make-variable-buffer-local call to refer to the correct variable.
11087
11088 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11089
11090 * eshell/em-term.el (eshell-visual-commands)
11091 (eshell-visual-subcommands, eshell-visual-options):
11092 Add summary line to docstrings. Add cross-references.
11093
11094 2013-06-10 Glenn Morris <rgm@gnu.org>
11095
11096 * epa.el (epa-read-file-name): New function. (Bug#14510)
11097 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11098
11099 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11100
11101 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11102 output redirection to be ignored with visual commands.
11103
11104 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11105
11106 * eshell/em-term.el (eshell-visual-command-p): New function.
11107 (eshell-term-initialize): Move long lambda to separate function
11108 eshell-visual-command-p.
11109 * eshell/em-dirs.el (eshell-dirs-initialize):
11110 * eshell/em-script.el (eshell-script-initialize):
11111 Add missing #' to lambda.
11112
11113 2013-06-08 Leo Liu <sdl.web@gmail.com>
11114
11115 * progmodes/octave.el (octave-add-log-current-defun): New function.
11116 (octave-mode): Set add-log-current-defun-function.
11117 (octave-goto-function-definition): Do not move point if not found.
11118 (octave-find-definition): Enhance to try subfunctions first.
11119
11120 2013-06-08 Glenn Morris <rgm@gnu.org>
11121
11122 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11123 (byte-compile-backward-char, byte-compile-backward-word):
11124 Improve previous change, to handle non-explicit nil.
11125
11126 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11129 (smie--opener/closer-at-point): New function.
11130 (smie--matching-block-data): Use it. Don't match from right after an
11131 opener or right before a closer. Obey smie-blink-matching-inners.
11132 Don't signal a mismatch for repeated inners like "switch..case..case".
11133
11134 2013-06-07 Leo Liu <sdl.web@gmail.com>
11135
11136 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11137 to t. (Bug#14303)
11138 (octave-function-header-regexp): Fix. (Bug#14570)
11139 (octave-help-mode-finish-hook, octave-help-mode-finish):
11140 Remove. Just use temp-buffer-show-hook.
11141
11142 * newcomment.el (comment-search-backward): Revert last change.
11143 (Bug#14434)
11144
11145 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11146
11147 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11148
11149 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11150 through xargs, to avoid failure due to MS-Windows limitations on
11151 command-line length.
11152
11153 2013-06-06 Glenn Morris <rgm@gnu.org>
11154
11155 * font-lock.el (lisp-font-lock-keywords-2):
11156 Treat user-error like error.
11157
11158 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11159 (byte-compile-backward-char, byte-compile-backward-word):
11160 Handle explicit nil arguments. (Bug#14565)
11161
11162 2013-06-05 Alan Mackenzie <acm@muc.de>
11163
11164 * isearch.el (isearch-allow-prefix): New user option.
11165 (isearch-other-meta-char): Don't exit isearch when a prefix
11166 argument is typed whilst `isearch-allow-prefix' is non-nil.
11167 (Bug#9706)
11168
11169 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * autorevert.el (auto-revert-notify-handler): Use memq.
11172 Hide assertion failure.
11173
11174 * skeleton.el: Use cl-lib.
11175 (skeleton-further-elements): Use defvar-local.
11176 (skeleton-insert): Use cl-progv.
11177
11178 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11179
11180 * progmodes/prog-mode.el (prog-prettify-symbols)
11181 (prog-prettify-install): Update docstrings.
11182
11183 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11184
11185 * simple.el: Move all the prog-mode code to prog-mode.el.
11186 * progmodes/prog-mode.el: New file.
11187 * loadup.el: Add prog-mode.el.
11188
11189 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11190
11191 * simple.el (prog-prettify-symbols): Add version.
11192 (prog-prettify-install): Add convenience function to prettify symbols.
11193
11194 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11195 (perl--augmented-font-lock-keywords-1)
11196 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11197 variables and use it.
11198
11199 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11200 (cfengine3-mode): Remove unneeded variable and use it.
11201
11202 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11203 (lisp--augmented-font-lock-keywords-1)
11204 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11205 Remove unneeded variables and use it.
11206
11207 2013-06-05 João Távora <joaotavora@gmail.com>
11208
11209 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11210 to point when opening the connection. (Bug#14380)
11211
11212 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11213
11214 * subr.el (load-history-regexp, load-history-filename-element)
11215 (eval-after-load, after-load-functions, do-after-load-evaluation)
11216 (eval-next-after-load, display-delayed-warnings)
11217 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11218 definition of save-match-data.
11219 (overriding-local-map): Remove accidental obsolescence declaration.
11220
11221 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11222
11223 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11224
11225 Generalize symbol prettify support to prog-mode and implement it
11226 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11227 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11228 (prog--prettify-font-lock-compose-symbol)
11229 (prog-prettify-font-lock-symbols-keywords): New variables and
11230 functions to support symbol prettification.
11231 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11232 (lisp--augmented-font-lock-keywords-1)
11233 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11234 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11235 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11236 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11237 Implement prettify of -> => :: strings.
11238 * progmodes/perl-mode.el (perl-prettify-symbols)
11239 (perl--font-lock-compose-symbol)
11240 (perl--font-lock-symbols-keywords): Move to prog-mode.
11241 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11242 (perl-font-lock-keywords-1)
11243 (perl-font-lock-keywords-2): Remove explicit prettify support.
11244 (perl--augmented-font-lock-keywords)
11245 (perl--augmented-font-lock-keywords-1)
11246 (perl--augmented-font-lock-keywords-2, perl-mode):
11247 Implement prettify support.
11248
11249 2013-06-05 Leo Liu <sdl.web@gmail.com>
11250
11251 Re-implement SMIE matching block highlight using
11252 show-paren-data-function. (Bug#14395)
11253 * emacs-lisp/smie.el (smie-matching-block-highlight)
11254 (smie--highlight-matching-block-overlay)
11255 (smie--highlight-matching-block-lastpos)
11256 (smie-highlight-matching-block)
11257 (smie-highlight-matching-block-mode): Remove.
11258 (smie--matching-block-data-cache): New variable.
11259 (smie--matching-block-data): New function.
11260 (smie-setup): Use smie--matching-block-data for
11261 show-paren-data-function.
11262
11263 * progmodes/octave.el (octave-mode-menu): Fix.
11264 (octave-find-definition): Skip garbage lines.
11265
11266 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11267
11268 Fix compilation error with simultaneous dynamic+lexical scoping.
11269 Add warning when a defvar appears after the first let-binding.
11270 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11271 (byte-compile-close-variables): Initialize it.
11272 (byte-compile--declare-var): New function.
11273 (byte-compile-file-form-defvar)
11274 (byte-compile-file-form-define-abbrev-table)
11275 (byte-compile-file-form-custom-declare-variable): Use it.
11276 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11277 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11278 (byte-compile-bind): Handle dynamic bindings that shadow
11279 lexical bindings.
11280 (byte-compile-unbind): Make arg non-optional.
11281 (byte-compile-let): Simplify.
11282 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11283 (cconv--analyse-function, cconv-analyse-form): Populate it.
11284 Protect byte-compile-bound-variables to limit the scope of defvars.
11285 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11286 Remove unneeded rule for `declare'.
11287
11288 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11289 so as to avoid depending on cl-adjoin at run-time.
11290 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11291
11292 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11293 (macroexp--warn-and-return): Use it.
11294
11295 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11296
11297 * subr.el: Convert to lexical binding.
11298 (overriding-local-map): Make obsolete.
11299 (add-to-list): Doc fix. Add compiler macro.
11300 (read-key): Swap values of local maps.
11301
11302 2013-06-05 Leo Liu <sdl.web@gmail.com>
11303
11304 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11305
11306 2013-06-04 Leo Liu <sdl.web@gmail.com>
11307
11308 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11309 (compilation-auto-jump): Suppress the "Mark set" message to give
11310 way to exit message.
11311
11312 2013-06-04 Alan Mackenzie <acm@muc.de>
11313
11314 Remove faulty optimisation from indentation calculation.
11315 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11316 search limit based on 2000 characters back from indent-point.
11317
11318 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11319
11320 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11321
11322 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * emacs-lisp/lisp.el: Use lexical-binding.
11325 (lisp--local-variables-1, lisp--local-variables): New functions.
11326 (lisp--local-variables-completion-table): New var.
11327 (lisp-completion-at-point): Use it complete let-bound vars.
11328
11329 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11330 eagerly (bug#14422).
11331
11332 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11333
11334 * autorevert.el (auto-revert-notify-enabled)
11335 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11336 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11337 (auto-revert-notify-handler): Handle also gfilenotify.
11338
11339 * subr.el (file-notify-handle-event): New defun. Replacing ...
11340 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11341 Remove.
11342
11343 2013-06-03 Juri Linkov <juri@jurta.org>
11344
11345 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11346 `M-s h .'. (Bug#14427)
11347
11348 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11349 command `hi-lock-face-symbol-at-point'.
11350 (hi-lock-face-symbol-at-point): New command.
11351 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11352 (hi-lock-menu): Add `highlight-symbol-at-point'.
11353 (hi-lock-mode): Doc fix.
11354
11355 * isearch.el (isearch-forward-symbol-at-point): New command.
11356 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11357 (isearch-highlight-regexp): Add a regexp which matches
11358 words/symbols for word/symbol mode.
11359
11360 * subr.el (find-tag-default-bounds): New function with the body
11361 mostly moved from `find-tag-default'.
11362 (find-tag-default): Move most code to `find-tag-default-bounds',
11363 call it and apply `buffer-substring-no-properties' afterwards.
11364
11365 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11366
11367 * eshell/em-term.el (eshell-term-initialize):
11368 Use `cl-intersection' rather than `intersection'.
11369
11370 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11371
11372 * vc/log-view.el: Doc fix.
11373 (log-view-mode-map): Copy keymap from `special-mode-map'.
11374
11375 2013-06-02 Eric Ludlam <zappo@gnu.org>
11376
11377 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11378 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11379 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11380 (eieio-unbound, eieio-default-superclass)
11381 (eieio--define-field-accessors, method-static, method-before)
11382 (method-primary, method-after, method-num-lists)
11383 (method-generic-before, method-generic-primary)
11384 (method-generic-after, method-num-slots)
11385 (eieio-specialized-key-to-generic-key)
11386 (eieio--check-type, class-v, class-p)
11387 (eieio-class-name, define-obsolete-function-alias)
11388 (eieio-class-parents-fast, eieio-class-children-fast)
11389 (same-class-fast-p, class-constructor, generic-p)
11390 (generic-primary-only-p, generic-primary-only-one-p)
11391 (class-option-assoc, class-option, eieio-object-p)
11392 (class-abstract-p, class-method-invocation-order)
11393 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11394 (eieio-class-un-autoload, eieio-defclass)
11395 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11396 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11397 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11398 (eieio-defgeneric-reset-generic-form)
11399 (eieio-defgeneric-form-primary-only)
11400 (eieio-defgeneric-reset-generic-form-primary-only)
11401 (eieio-defgeneric-form-primary-only-one)
11402 (eieio-defgeneric-reset-generic-form-primary-only-one)
11403 (eieio-unbind-method-implementations)
11404 (eieio--defmethod, eieio--typep)
11405 (eieio-perform-slot-validation, eieio-validate-slot-value)
11406 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11407 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11408 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11409 (eieio-slot-name-index, eieio-class-slot-name-index)
11410 (eieio-set-defaults, eieio-initarg-to-attribute)
11411 (eieio-attribute-to-initarg, eieio-c3-candidate)
11412 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11413 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11414 (eieio-class-precedence-list, eieio-generic-call-methodname)
11415 (eieio-generic-call-arglst, eieio-generic-call-key)
11416 (eieio-generic-call-next-method-list)
11417 (eieio-pre-method-execution-functions, eieio-generic-call)
11418 (eieio-generic-call-primary-only, eieiomt-method-list)
11419 (eieiomt-optimizing-obarray, eieiomt-install)
11420 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11421 (eieio-generic-form, eieio-defmethod, make-obsolete)
11422 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11423 (defclass): Remove `eval-and-compile' from macro.
11424 (call-next-method, shared-initialize): Instead of using
11425 `scoped-class' variable, use new eieio--scoped-class, and
11426 eieio--with-scoped-class.
11427 (initialize-instance): Rename local variable 'scoped-class' to
11428 'this-class' to remove ambiguitity from old global.
11429
11430 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11431 eieio.el.
11432 (eieio--scoped-class-stack): New variable.
11433 (eieio--scoped-class): New fcn.
11434 (eieio--with-scoped-class): New scoping macro.
11435 (eieio-defclass): Use pushnew instead of add-to-list.
11436 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11437 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11438 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11439 `scoped-class' variable, use new eieio--scoped-class, and
11440 eieio--with-scoped-class.
11441
11442 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11443
11444 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11445
11446 * eshell/esh-ext.el (eshell-external-command): Pass args to
11447 `eshell-find-interpreter'.
11448 (eshell-find-interpreter): Add new second parameter ARGS.
11449
11450 * eshell/em-script.el (eshell-script-initialize): Add second arg
11451 to the function added as MATCH to `eshell-interpreter-alist'.
11452
11453 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11454 the function added as MATCH to `eshell-interpreter-alist'.
11455
11456 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11457 (eshell-visual-options): New defcustom.
11458 (eshell-escape-control-x): Adapt docstring.
11459 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11460 `eshell-visual-options' in addition to `eshell-visual-commands'.
11461 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11462
11463 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11464
11465 * progmodes/python.el (python-indent-block-enders): Add break,
11466 continue and raise keywords.
11467
11468 2013-06-01 Glenn Morris <rgm@gnu.org>
11469
11470 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11471
11472 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11473 * progmodes/cc-cmds.el (delete-forward-p):
11474 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11475 * progmodes/cc-engine.el (buffer-syntactic-context):
11476 * progmodes/cc-fonts.el (face-property-instance):
11477 * progmodes/cc-mode.el (set-keymap-parents):
11478 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11479 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11480 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11481 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11482 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11483
11484 * progmodes/cc-vars.el (other): Emacs has this widget since
11485 at least 21.1, so don't (re)define it.
11486
11487 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11488 Replace the obsolete alias pcomplete-arg-quote-list.
11489
11490 2013-06-01 Leo Liu <sdl.web@gmail.com>
11491
11492 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11493 punctuation syntax.
11494 (inferior-octave-minimal-columns)
11495 (inferior-octave-last-column-width): New variables.
11496 (inferior-octave-track-window-width-change): New function.
11497 (inferior-octave-mode): Adjust column width so that Octave output,
11498 for example from 'ls', can fit into the window nicely.
11499
11500 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11501
11502 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11503 Highlight expansions inside regexp literals.
11504
11505 2013-05-31 Glenn Morris <rgm@gnu.org>
11506
11507 * obsolete/sym-comp.el (symbol-complete):
11508 Replace obsolete completion-annotate-function.
11509
11510 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11511
11512 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11513
11514 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11515 New function, checks if point is inside a literal that allows
11516 expression expansion.
11517 (ruby-syntax-propertize-expansion): Use it.
11518 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11519 around the body.
11520
11521 2013-05-30 Juri Linkov <juri@jurta.org>
11522
11523 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11524 to "\M-si".
11525 (isearch-invisible): New variable.
11526 (isearch-forward): Doc fix.
11527 (isearch-mode): Set `isearch-invisible'
11528 to the value of `search-invisible'.
11529 (isearch-toggle-case-fold): Doc fix.
11530 (isearch-toggle-invisible): New command.
11531 (isearch-query-replace): Let-bind `search-invisible'
11532 to the value of `isearch-invisible'.
11533 (isearch-search): Use `isearch-invisible' instead of
11534 `search-invisible'. Let-bind `search-invisible'
11535 to the value of `isearch-invisible'. (Bug#11378)
11536
11537 2013-05-30 Juri Linkov <juri@jurta.org>
11538
11539 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11540 call when `query-flag' is nil and `search-invisible' is non-nil.
11541 (Bug#11746)
11542
11543 2013-05-30 Glenn Morris <rgm@gnu.org>
11544
11545 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11546
11547 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11548 (cc-require): Suppress spurious "noruntime" warnings.
11549 (cc-require-when-compile): Use fboundp, for sake of compiler.
11550
11551 * progmodes/cc-mode.el: Move load of cc-vars before that of
11552 cc-langs (which in turn loads cc-vars), to quieten compiler.
11553
11554 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 * paren.el: Simplify the code.
11557 (show-paren-mode): Always start the timer.
11558 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11559 (show-paren--overlay, show-paren--overlay-1): Rename from
11560 show-paren-overlay and show-paren-overlay-1, and initialize to an
11561 overlay rather than to nil.
11562 (show-paren-function): Misc cleanup and simplifications.
11563
11564 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11565
11566 * paren.el (show-paren-data-function): New hook.
11567 (show-paren--default): New function, extracted from show-paren-function.
11568 (show-paren-function): Use show-paren-data-function.
11569
11570 2013-05-30 Glenn Morris <rgm@gnu.org>
11571
11572 * ielm.el (ielm-map, ielm-complete-symbol):
11573 Use completion-at-point rather than obsolete functions.
11574 (inferior-emacs-lisp-mode): Doc fix.
11575 Set completion-at-point-functions, rather than
11576 comint-dynamic-complete-functions.
11577
11578 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11579 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11580 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11581
11582 * image.el (image-animated-p): Tweak definition.
11583
11584 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11585 (rlogin-process-connection-type): Tweak default. Add set-after.
11586 (rlogin-host): Doc fix.
11587 (rlogin): Tweak prompt.
11588 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11589
11590 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11591 * progmodes/tcl.el (inferior-tcl-mode-map):
11592 Use completion-at-point rather than obsolete alias.
11593
11594 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11595
11596 * minibuffer.el (read-file-name-completion-ignore-case):
11597 Move before completion--in-region, for eager macro expansion.
11598
11599 2013-05-29 Juri Linkov <juri@jurta.org>
11600
11601 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11602 for total count of matching lines. Add `global-matches' for total
11603 count of matches. Rename `matches' to `lines' for count of
11604 matching lines. Add `matches' for count of matches.
11605 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11606 to `prev-line' for line number of prev match endpt.
11607 Increment `matches' for every match. Print the number of
11608 matching lines in the header.
11609 (occur-context-lines): Rename `lines' to `curr-line'.
11610 Rename `prev-lines' to `prev-line'. (Bug#14017)
11611
11612 2013-05-29 Juri Linkov <juri@jurta.org>
11613
11614 * replace.el (perform-replace): Add `skip-read-only-count',
11615 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11616 Increment them for corresponding conditions and report the number
11617 of skipped occurrences in the final message. (Bug#11746)
11618 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11619 (replace-string, replace-regexp): Doc fix.
11620
11621 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11622
11623 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11624
11625 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11626 prog-mode-map (bug#14504).
11627
11628 2013-05-29 Leo Liu <sdl.web@gmail.com>
11629
11630 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11631 (octave-help): Small simplification.
11632
11633 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11634 off the highlight first.
11635
11636 2013-05-29 Glenn Morris <rgm@gnu.org>
11637
11638 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11639 Handle idlwave-last-system-routine-info-cons-cell being nil.
11640
11641 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11642 (idlwave-write-paths): Simplify via with-temp-buffer.
11643
11644 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11645 * emulation/cua-rect.el: Also load cua-base at run time.
11646
11647 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11648 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11649 (cperl-imenu-on-info): Require imenu.
11650
11651 2013-05-28 Alan Mackenzie <acm@muc.de>
11652
11653 Handle "capitalised keywords" correctly.
11654 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11655
11656 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11657
11658 * eshell/em-unix.el: Add -r option to cp.
11659
11660 2013-05-28 Glenn Morris <rgm@gnu.org>
11661
11662 * vc/vc-arch.el (vc-exec-after): Declare.
11663 (vc-switches): Autoload.
11664 * vc/vc-bzr.el: No need to require vc when compiling.
11665 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11666 (vc-resynch-buffer, vc-dir-refresh): Declare.
11667 (vc-setup-buffer, vc-switches): Autoload.
11668 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11669 (vc-resynch-buffer): Declare.
11670 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11671 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11672 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11673 (grep-read-regexp, grep-read-files, grep-expand-template)
11674 (vc-dir-refresh): Declare.
11675 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11676 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11677 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11678 * vc/vc-mtn.el (vc-exec-after): Declare.
11679 (vc-switches): Autoload.
11680 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11681 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11682 (vc-file-tree-walk): Declare.
11683 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11684 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11685 (vc-tag-precondition, vc-rename-master): Autoload.
11686 * vc/vc-svn.el (vc-exec-after): Declare.
11687 (vc-switches, vc-setup-buffer): Autoload.
11688 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11689 Autoload.
11690 (vc-resynch-buffer): Declare.
11691
11692 * obsolete/fast-lock.el (byte-compile-warnings):
11693 Don't warn about obsolete features in this obsolete file.
11694
11695 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11696 Move definition before use.
11697
11698 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11699 (dun-unix-verbs): Remove dun-zippy.
11700 (dun-zippy): Remove function.
11701
11702 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11703
11704 2013-05-27 Juri Linkov <juri@jurta.org>
11705
11706 * replace.el (replace-search): New function with code moved out
11707 from `perform-replace'.
11708 (replace-highlight, replace-dehighlight): Move function definitions
11709 up closer to `replace-search'. (Bug#11746)
11710
11711 2013-05-27 Juri Linkov <juri@jurta.org>
11712
11713 * replace.el (perform-replace): Ignore invisible matches.
11714 In addition to checking `query-replace-skip-read-only', also
11715 filter out matches by calling `run-hook-with-args-until-failure'
11716 on `isearch-filter-predicates', and also check `search-invisible'
11717 for t or call `isearch-range-invisible'.
11718 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11719
11720 2013-05-27 Juri Linkov <juri@jurta.org>
11721
11722 * isearch.el (isearch-filter-predicates): Rename from
11723 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11724 (isearch-message-prefix): Display text from the property
11725 `isearch-message-prefix' of the currently active filters.
11726 (isearch-search): Don't compare `isearch-filter-predicate' with
11727 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11728 on `isearch-filter-predicates'. Also check `search-invisible' for t
11729 or call `isearch-range-invisible'.
11730 (isearch-filter-visible): Make obsolete.
11731 (isearch-lazy-highlight-search):
11732 Call `run-hook-with-args-until-failure' on
11733 `isearch-filter-predicates' and use `isearch-range-invisible'.
11734
11735 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11736 `isearch-filter-predicates' instead of `funcall'ing
11737 `isearch-filter-predicate'.
11738 (Info-mode): Set `Info-isearch-filter' to
11739 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11740
11741 * dired-aux.el (dired-isearch-filter-predicate-orig):
11742 Remove variable.
11743 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11744 (dired-isearch-filenames-end): Add and remove
11745 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11746 instead of changing the value of `isearch-filter-predicate'.
11747 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11748 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11749 Put property `isearch-message-prefix' to "filename " on
11750 `dired-isearch-filter-filenames'.
11751
11752 * wdired.el (wdired-change-to-wdired-mode):
11753 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11754 locally instead of changing `isearch-filter-predicate'.
11755 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11756
11757 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11758
11759 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11760 return the commit hash (Bug#14459). Also set the
11761 `vc-git-detached' property.
11762 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11763 (vc-git-mode-line-string): Use the same help-echo format whether
11764 in detached mode or not, because we know the actual revision now.
11765 When in detached mode, shorten the revision to 7 chars.
11766
11767 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * emacs-lisp/easy-mmode.el (define-minor-mode):
11770 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11771 mode hook and provide a docstring.
11772
11773 2013-05-27 Alan Mackenzie <acm@muc.de>
11774
11775 Remove spurious syntax-table text properties inserted by C-y.
11776 * progmodes/cc-mode.el (c-after-change): Also clear hard
11777 syntax-table property with value nil.
11778
11779 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11780
11781 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11782 when reading the events; the buffer layout shall not be changed.
11783
11784 2013-05-27 Leo Liu <sdl.web@gmail.com>
11785
11786 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11787 New variable.
11788 (inferior-octave-directory-tracker): Automatically re-sync
11789 default-directory.
11790 (octave-help): Improve handling of 'See also'.
11791
11792 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * doc-view.el: Minor naming convention tweaks.
11795 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11796
11797 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11798 even if there's no `display' property yet (bug#14435).
11799
11800 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11801
11802 * subr.el (unmsys--file-name): Rename from reveal-filename.
11803
11804 * Makefile.in (custom-deps, finder-data, autoloads)
11805 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11806 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11807 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11808
11809 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11812 error-completion on the first 2 args of condition-case (bug#14446).
11813 Don't burp at EOB.
11814
11815 2013-05-25 Leo Liu <sdl.web@gmail.com>
11816
11817 * comint.el (comint-previous-matching-input): Do not flood the
11818 *Messages* buffer with trivial messages.
11819
11820 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11821
11822 * progmodes/flymake.el (flymake-nop): Don't return a string.
11823 (flymake-set-at): Fix typo.
11824
11825 * simple.el (read--expression): New function, extracted from
11826 eval-expression. Set completion-at-point-functions (bug#14465).
11827 (eval-expression, eval-minibuffer): Use it.
11828
11829 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11830
11831 * progmodes/flymake.el (flymake-save-buffer-in-file)
11832 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11833 (flymake-selected-frame, flymake-log, flymake-ins-after)
11834 (flymake-set-at, flymake-get-buildfile-from-cache)
11835 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11836 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11837 Refine the doc string.
11838 (flymake-get-file-name-mode-and-masks): Reformat.
11839 (flymake-get-real-file-name-function): Fix a minor bug.
11840
11841 2013-05-24 Juri Linkov <juri@jurta.org>
11842
11843 * progmodes/grep.el (grep-mode-font-lock-keywords):
11844 Support =linenumber= format used by git-grep for lines with
11845 function names. (Bug#13549)
11846
11847 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11850 0 after a semi-colon; it works better for smie-auto-fill.
11851 (octave--indent-new-comment-line): New function.
11852 (octave-indent-new-comment-line): Use it (indirectly).
11853 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11854 modify comment-line-break-function.
11855
11856 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11857 (smie-setup): Use add-function to set it.
11858
11859 2013-05-24 Sam Steingold <sds@gnu.org>
11860
11861 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11862 argument (before the `interactive' argument).
11863
11864 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11865
11866 * image-mode.el (image-mode-winprops): Add winprops to
11867 image-mode-winprops-alist before running
11868 image-mode-new-window-functions.
11869 * doc-view.el (doc-view-new-window-function): Don't delay
11870 doc-view-goto-page via timers (bug#14435).
11871
11872 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11873
11874 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11875 (doc-view-desktop-save-buffer): New function.
11876 (doc-view-restore-desktop-buffer): New function.
11877 (desktop-buffer-mode-handlers):
11878 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11879 handler.
11880 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11881 `desktop-save-buffer' function.
11882
11883 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11884
11885 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11886 (tramp-gvfs-file-name-handler): Raise a user error when
11887 `tramp-gvfs-enabled' is nil.
11888 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11889 Do not raise a user error when loading package. (Bug#14447)
11890
11891 * net/xesam.el: Move to obsolete/.
11892
11893 2013-05-24 Glenn Morris <rgm@gnu.org>
11894
11895 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11896
11897 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11898
11899 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11900 (Info-find-node, Man-getpage-in-background): Declare.
11901
11902 * mail/unrmail.el (unrmail):
11903 Replace obsolete detect-coding-with-priority.
11904
11905 * net/socks.el (socks-split-string): Use this rather than split-string.
11906 (socks-nslookup-host): Update for above change.
11907 (dynamic-choice, s5-dynamic-choice-match)
11908 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11909 Comment out unused code.
11910
11911 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11912 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11913 (gud-tooltip-echo-area): Make obsolete.
11914 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11915
11916 * progmodes/js.el (js--optimize-arglist): Declare.
11917
11918 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11919
11920 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11921 (ediff-window-C): Declare.
11922
11923 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11924 Tweak requires to silence compiler.
11925
11926 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11927 (he-search-string, he-tried-table, he-expand-list)
11928 (he-init-string, he-string-member, he-substitute-string)
11929 (he-reset-string): Declare.
11930
11931 * obsolete/options.el (list-options): Use custom-variable-p,
11932 rather than obsolete alias.
11933
11934 2013-05-23 Sam Steingold <sds@gnu.org>
11935
11936 * simple.el (shell-command-on-region): Pass the `replace' argument
11937 down to `call-process-region' to comply with the doc as reported on
11938 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11939
11940 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * emacs-lisp/smie.el (smie-indent-forward-token)
11943 (smie-indent-backward-token): Handle string tokens (bug#14381).
11944
11945 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11946
11947 * ielm.el (ielm-menu): New menu.
11948 (inferior-emacs-lisp-mode): Set comment-start.
11949
11950 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11951
11952 * textmodes/reftex.el (reftex-ref-style-toggle):
11953 Fix deactivate action.
11954
11955 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11956 Add cleveref macros.
11957
11958 * textmodes/reftex-parse.el
11959 (reftex-locate-bibliography-files): Accept options for
11960 bibliography commands.
11961 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11962 Add addbibresource. Basic Biblatex support.
11963
11964 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11965
11966 * net/tramp-gvfs.el (top):
11967 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11968 when loading package. (Bug#14447)
11969
11970 2013-05-23 Glenn Morris <rgm@gnu.org>
11971
11972 * progmodes/js.el: No need to load comint when compiling.
11973 (ring-insert, comint-send-string, comint-send-input)
11974 (comint-last-input-end, ido-chop): Declare.
11975
11976 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11977 * vc/ediff-mult.el: Adjust requires.
11978 (ediff-directories-internal, ediff-directory-revisions-internal)
11979 (ediff-patch-file-internal): Declare.
11980 * vc/ediff-ptch.el: Adjust requires.
11981 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11982 (ediff-find-file): Autoload.
11983 * vc/ediff-util.el: No need to load ediff when compiling.
11984 (ediff-regions-internal): Declare.
11985 * vc/ediff-wind.el: Adjust requires.
11986 (ediff-compute-toolbar-width): Define when compiling.
11987 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11988 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11989 (dired-get-filename, dired-get-marked-files)
11990 (ediff-last-dir-patch, ediff-patch-default-directory)
11991 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11992 (ediff-patch-buffer-internal): Declare.
11993
11994 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11995 (ispell-process, ispell-buffer-local-words, lm-summary)
11996 (lm-section-start, lm-section-end): Declare.
11997 (checkdoc-ispell-init): Simplify.
11998
11999 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12000 (he-string-member, he-reset-string, he-substitute-string): Declare.
12001
12002 * eshell/em-ls.el: Adjust requires.
12003 (eshell-glob-regexp): Declare.
12004 * eshell/em-tramp.el: Adjust requires.
12005 (eshell-parse-command): Autoload.
12006 * eshell/em-xtra.el: Adjust requires.
12007 (eshell-parse-command): Autoload.
12008 * eshell/esh-ext.el: Adjust requires.
12009 (eshell-parse-command, eshell-close-handles): Autoload.
12010 * eshell/esh-io.el: Adjust requires.
12011 (eshell-output-filter): Autoload.
12012 * eshell/esh-util.el: No need to load tramp when compiling.
12013 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12014 Declare.
12015 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12016 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12017 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12018 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12019 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12020 * eshell/esh-opt.el, eshell/esh-proc.el:
12021 * eshell/esh-var.el: Adjust requires.
12022 * eshell/eshell.el: Do not require esh-util twice.
12023 (eshell-add-input-to-history): Declare.
12024 (eshell-command): Check history module is active before using it.
12025
12026 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12027
12028 2013-05-22 Leo Liu <sdl.web@gmail.com>
12029
12030 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12031
12032 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12033
12034 * autorevert.el (auto-revert-notify-add-watch)
12035 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12036 it indicates changes in file modification time.
12037
12038 2013-05-22 Glenn Morris <rgm@gnu.org>
12039
12040 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12041 Always delete the autoloaded function from the noruntime and
12042 unresolved functions lists.
12043
12044 * allout.el: No need to load epa, epg, overlay when compiling.
12045 (epg-context-set-passphrase-callback, epg-list-keys)
12046 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12047 (epg-key-user-id-list): Declare.
12048
12049 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12050 (viper-set-parsing-style-toggling-macro)
12051 (viper-set-emacs-state-searchstyle-macros):
12052 Use called-interactively-p on Emacs.
12053 (viper-looking-back): Make it an obsolete alias. Update callers.
12054 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12055 Use looking-back rather than viper-looking-back.
12056 (viper-tmp-insert-at-eob, viper-enlarge-region)
12057 (viper-read-string-with-history, viper-register-to-point)
12058 (viper-append-to-register, viper-change-state-to-vi)
12059 (viper-backward-char-carefully, viper-forward-char-carefully)
12060 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12061 (viper-change-state-to-emacs): Declare.
12062 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12063 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12064 * emulation/viper-mous.el: Do not load viper-cmd.
12065 (viper-backward-char-carefully, viper-forward-char-carefully)
12066 (viper-forward-word, viper-adjust-window): Declare.
12067
12068 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12069
12070 * progmodes/idlw-help.el (idlwave-help-fontify):
12071 Use called-interactively-p.
12072
12073 * term/w32console.el (w32-get-console-codepage)
12074 (w32-get-console-output-codepage): Declare.
12075
12076 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12077 Remove unnecessary declarations.
12078 (dframe-message): Doc fix.
12079
12080 * info.el (dframe-select-attached-frame, dframe-current-frame):
12081 Declare.
12082
12083 * speedbar.el (speedbar-message): Make it an obsolete alias.
12084 Update all callers.
12085 (speedbar-with-attached-buffer)
12086 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12087 (speedbar-with-writable): Use backquote.
12088 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12089 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12090 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12091 rather than speedbar- aliases.
12092 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12093 (speedbar-make-specialized-keymap, speedbar-insert-button)
12094 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12095 (speedbar-do-function-pointer): Declare.
12096 (rmail-speedbar-button, rmail-speedbar-find-file)
12097 (rmail-speedbar-move-message):
12098 Use dframe-with-attached-buffer rather than speedbar- alias.
12099 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12100 (dframe-message, speedbar-make-specialized-keymap)
12101 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12102 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12103 (speedbar-insert-button, dframe-select-attached-frame)
12104 (dframe-maybee-jump-to-attached-frame)
12105 (speedbar-change-initial-expansion-list)
12106 (speedbar-previously-used-expansion-list-name): Declare.
12107 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12108 Use dframe-message, dframe-with-attached-buffer rather than
12109 speedbar- aliases.
12110 (gud-sentinel): Silence compiler.
12111 * progmodes/vhdl-mode.el (speedbar-refresh)
12112 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12113 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12114 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12115 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12116 (speedbar-file-lists, speedbar-make-tag-line)
12117 (speedbar-line-directory, speedbar-goto-this-file)
12118 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12119 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12120 (speedbar-make-button, speedbar-reset-scanners)
12121 (speedbar-files-item-info, speedbar-line-text)
12122 (speedbar-find-file-in-frame, speedbar-set-timer)
12123 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12124 (speedbar-with-writable): Do not (re)define it.
12125 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12126 rather than speedbar- alias.
12127
12128 2013-05-21 Leo Liu <sdl.web@gmail.com>
12129
12130 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12131 menu items.
12132 (octave-mode): Tweak fill-nobreak-predicate.
12133 (inferior-octave-startup): Check process to avoid infinite loop.
12134 (inferior-octave): Pop to buffer first to show abornmal process
12135 exit information.
12136
12137 2013-05-21 Glenn Morris <rgm@gnu.org>
12138
12139 * printing.el (pr-menu-bar): Define when compiling.
12140
12141 2013-05-21 Leo Liu <sdl.web@gmail.com>
12142
12143 * progmodes/octave.el (octave-auto-fill): Remove.
12144 (octave-indent-new-comment-line): Improve.
12145 (octave-mode): Use auto fill mode through
12146 comment-line-break-function and fill-nobreak-predicate.
12147 (octave-goto-function-definition): Support DEFUN_DLD.
12148 (octave-beginning-of-defun): Small tweak.
12149 (octave-help): Show parent directory.
12150
12151 2013-05-21 Glenn Morris <rgm@gnu.org>
12152
12153 * files.el (dired-unmark):
12154 * progmodes/gud.el (gdb-input): Update declarations.
12155
12156 * calculator.el (electric, ehelp): No need to load when compiling.
12157 (Electric-command-loop, electric-describe-mode): Declare.
12158
12159 * doc-view.el (doc-view-current-converter-processes): Move before use.
12160
12161 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12162 Move MODE-set-explicitly definition before use.
12163
12164 * international/mule-diag.el (mule-diag):
12165 Don't use obsolete window-system-version.
12166
12167 * mail/feedmail.el (smtpmail): No need to load when compiling.
12168 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12169
12170 * mail/mail-utils.el (rfc822): No need to load when compiling.
12171 (rfc822-addresses): Autoload it.
12172 (mail-strip-quoted-names): Trivial simplification.
12173
12174 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12175 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12176
12177 * net/snmp-mode.el (tempo): Don't duplicate requires.
12178
12179 * progmodes/prolog.el (info): No need to load when compiling.
12180 (comint): Require before shell requires it.
12181 (Info-goto-node): Autoload it.
12182 (Info-follow-nearest-node): Declare.
12183 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12184
12185 * textmodes/artist.el (picture-mode-exit): Declare.
12186
12187 * textmodes/reftex-parse.el (reftex-parse-from-file):
12188 Trivial rewrite so the compiler can parse it better.
12189
12190 2013-05-20 Leo Liu <sdl.web@gmail.com>
12191
12192 * progmodes/octave.el (octave-help-mode-map)
12193 (octave-help-mode-finish-hook): New variables.
12194 (octave-help-mode, octave-help-mode-finish): New functions.
12195 (octave-help): Use octave-help-mode.
12196
12197 2013-05-20 Glenn Morris <rgm@gnu.org>
12198
12199 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12200
12201 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12202
12203 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12204 start at point, so that expansion starting right after opening
12205 slash in a regexp is recognized.
12206 (ruby-syntax-before-regexp-re): New defvar, extracted from
12207 ruby-syntax-propertize-function. Since the value of this regexp
12208 is looked up at runtime now, we should be able to turn
12209 `ruby-syntax-methods-before-regexp' into a defcustom later.
12210 (ruby-syntax-propertize-function): Split regexp matching into two
12211 parts, for opening and closing slashes. That allows us to skip
12212 over string interpolations and support multiline regexps.
12213 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12214 for them, which calls `ruby-syntax-propertize-expansion'.
12215 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12216 call to `ruby-syntax-propertize-function'.
12217 (ruby-syntax-propertize-expansion): Extracted from
12218 `ruby-syntax-propertize-expansions'. Handles one expansion.
12219 (ruby-syntax-propertize-percent-literal): Leave point right after
12220 the percent symbol, so that the expression expansion rule can
12221 propertize the contents.
12222 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12223 heredoc openers.
12224 (ruby-syntax-propertize-expansions): Remove.
12225
12226 2013-05-18 Juri Linkov <juri@jurta.org>
12227
12228 * man.el (Man-default-man-entry): Remove `-' from the end
12229 of the default value. (Bug#14400)
12230
12231 2013-05-18 Glenn Morris <rgm@gnu.org>
12232
12233 * comint.el (comint-password-prompt-regexp):
12234 Allow "password for XXX" where XXX contains colons (eg https://...).
12235
12236 2013-05-18 Leo Liu <sdl.web@gmail.com>
12237
12238 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12239 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12240 (octave-source-directories): Don't check process.
12241 (octave-source-directories, octave-find-definition): Doc fix.
12242
12243 2013-05-18 Glenn Morris <rgm@gnu.org>
12244
12245 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12246 Remove backspace/delete bindings. (Bug#14392)
12247
12248 * cus-dep.el (custom-make-dependencies): Sort the output.
12249 (custom-versions-load-alist): Convert comment to doc.
12250
12251 2013-05-17 Leo Liu <sdl.web@gmail.com>
12252
12253 * newcomment.el (comment-search-backward): Stricter in finding
12254 comment start. (Bug#14303)
12255
12256 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12257 (octave-comment-start-skip): Properly anchored.
12258
12259 2013-05-17 Leo Liu <sdl.web@gmail.com>
12260
12261 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12262 Clean up when turned off. (Bug#14395)
12263 (smie--highlight-matching-block-overlay): No longer buffer-local.
12264 (smie-highlight-matching-block): Adjust.
12265
12266 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12267
12268 Doc string fix for "nanoseconds" (Bug#14406).
12269 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12270 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12271
12272 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12273
12274 * calc/calc-units.el (math-extract-units): Preserve powers
12275 of units.
12276
12277 2013-05-17 Leo Liu <sdl.web@gmail.com>
12278
12279 * subr.el (delete-consecutive-dups): New function.
12280 * ido.el (ido-set-matches-1): Use it.
12281 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12282 * ido.el (ido-remove-consecutive-dups): Remove.
12283
12284 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12285
12286 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12287 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12288 regexp-opt's `words'.
12289
12290 2013-05-16 Leo Liu <sdl.web@gmail.com>
12291
12292 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12293 (smie--highlight-matching-block-overlay)
12294 (smie--highlight-matching-block-lastpos)
12295 (smie--highlight-matching-block-timer): New variables.
12296 (smie-highlight-matching-block): New function.
12297 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12298 (smie-setup): Conditionally enable smie-blink-matching-open.
12299
12300 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12301
12302 Sync with upstream verilog-mode r840.
12303 * progmodes/verilog-mode.el (verilog-mode-version)
12304 (verilog-mode-release-date): Update.
12305 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12306 (verilog-sig-tieoff): Fix string error on
12307 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12308 (verilog-read-decls): Fix parameters confusing
12309 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12310
12311 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12312
12313 * subr.el (reveal-filename): New function.
12314
12315 * loadup.el: Compute Emacs executable versions on MS-Windows,
12316 where executables have the .exe extension. Add a hard link
12317 emacs-XX.YY.ZZ.exe on MS-Windows.
12318
12319 * Makefile.in (XARGS_LIMIT): New variable.
12320 (custom-deps, finder-data, autoloads)
12321 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12322 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12323 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12324 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12325
12326 2013-05-16 Leo Liu <sdl.web@gmail.com>
12327
12328 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12329 (octave-mode-menu, octave-mode-map): Remove its uses.
12330
12331 2013-05-16 Reto Zimmermann <reto@gnu.org>
12332
12333 Sync with upstream vhdl mode v3.34.2.
12334 * progmodes/vhdl-mode.el: Use `push' throughout.
12335 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12336 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12337 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12338 (vhdl-actual-generic-name): New option to derive actual generic name.
12339 (vhdl-port-paste-signals): Replace formal by actual generics.
12340 (vhdl-beautify): New name for old group vhdl-align. Update users.
12341 (vhdl-beautify-options): New option.
12342 (vhdl-last-input-event): New compat alias. Use throughout.
12343 (vhdl-goto-line): Replace user level function `goto-line'.
12344 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12345 vhdl-fix-statement-buffer.
12346 (vhdl-create-mode-menu): Add some entries.
12347 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12348 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12349 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12350 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12351 to force statements on one line.
12352 (vhdl-remove-trailing-spaces-region):
12353 New, split from vhdl-remove-trailing-spaces.
12354 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12355 Respect vhdl-beautify-options.
12356 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12357 (vhdl-update-sensitivity-list): Not add with index if exists without.
12358 Not include array index with signal. Ignore keywords in comments.
12359 (vhdl-get-visible-signals): Regexp tweaks.
12360 (vhdl-template-component-inst): Handle empty library.
12361 (vhdl-template-type): Add template for 'enum' type.
12362 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12363 Use vhdl-replace-string.
12364 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12365 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12366 (vhdl-speedbar-initialize): Update for above name change.
12367 (vhdl-compose-wire-components): Fix in handling of constants.
12368 (vhdl-error-regexp-emacs-alist): New variable.
12369 (vhdl-error-regexp-add-emacs): New function;
12370 adds support for new compile.el (Emacs 22+)
12371 (vhdl-generate-makefile-1): Change target order for single lib. units.
12372 Allow use of absolute file names.
12373
12374 2013-05-16 Leo Liu <sdl.web@gmail.com>
12375
12376 * simple.el (prog-indent-sexp): Indent enclosing defun.
12377
12378 2013-05-15 Glenn Morris <rgm@gnu.org>
12379
12380 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12381 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12382 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12383 (whitespace-highlight): Move to whitespace group.
12384
12385 * comint.el (comint-source):
12386 * pcmpl-linux.el (pcmpl-linux):
12387 * shell.el (shell-faces):
12388 * eshell/esh-opt.el (eshell-opt):
12389 * international/ccl.el (ccl): Remove empty custom groups.
12390
12391 * completion.el (dynamic-completion-mode):
12392 * jit-lock.el (jit-lock-debug-mode):
12393 * minibuffer.el (completion-in-region-mode):
12394 * type-break.el (type-break-mode-line-message-mode)
12395 (type-break-query-mode):
12396 * emulation/tpu-edt.el (tpu-edt-mode):
12397 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12398 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12399 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12400
12401 * term/xterm.el (xterm): Change parent group to terminals.
12402
12403 * master.el (master): Remove empty custom group.
12404 (master-mode): Remove unused :group argument.
12405 * textmodes/refill.el (refill): Remove empty custom group.
12406 (refill-mode): Remove unused :group argument.
12407
12408 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12409
12410 * cus-dep.el: Provide a feature.
12411 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12412 Don't mistakenly ignore files whose basenames match a basename
12413 from preloaded-file-list (eg cedet/ede/simple.el).
12414 Add a fallback method for getting :group.
12415
12416 2013-05-15 Juri Linkov <juri@jurta.org>
12417
12418 * isearch.el (isearch-char-by-name): Rename from
12419 `isearch-insert-char-by-name'. Doc fix.
12420 (isearch-forward): Mention `isearch-char-by-name' in
12421 the docstring. (Bug#13348)
12422
12423 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12424 `exit-minibuffer' instead of
12425 `isearch-nonincremental-exit-minibuffer'.
12426 (isearch-edit-string): Remove mention of
12427 `isearch-nonincremental-exit-minibuffer' from docstring.
12428 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12429 (isearch-forward-exit-minibuffer)
12430 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12431
12432 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12433
12434 * loadup.el: Just use unversioned DOC.
12435
12436 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12437 literals as extending to EOB.
12438 (nxml-last-fontify-end): Remove unused variable.
12439 (nxml-after-change1): Use with-silent-modifications.
12440 (nxml-extend-after-change-region): Simplify.
12441 (nxml-extend-after-change-region1): Remove function.
12442 (nxml-after-change1): Don't adjust for dependent regions.
12443 (nxml-fontify-matcher): Simplify.
12444 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12445 (xmltok-add-dependent): Remove function.
12446 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12447 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12448 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12449 unclosed <[[, <?, comment, and other literals as extending to EOB.
12450 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12451 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12452 Remove functions.
12453 (rng-do-some-validation-1): Don't mark dependent regions.
12454 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12455 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12456 (nxml-clear-dependent-regions): Remove functions.
12457 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12458 (nxml-ensure-scan-up-to-date):
12459 Don't clear&mark dependent regions.
12460
12461 2013-05-15 Leo Liu <sdl.web@gmail.com>
12462
12463 * progmodes/octave.el (octave-goto-function-definition):
12464 Improve and fix callers.
12465
12466 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12467
12468 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12469 the setter (bug#14387).
12470
12471 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12472 surrounding group (bug#14402).
12473
12474 2013-05-14 Juri Linkov <juri@jurta.org>
12475
12476 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12477 (Bug#14390)
12478
12479 2013-05-14 Glenn Morris <rgm@gnu.org>
12480
12481 * progmodes/f90.el (f90-imenu-generic-expression):
12482 Fix typo in 2013-05-08 change. (Bug#14402)
12483
12484 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12485
12486 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12487 Remove signals for which replies are never received.
12488
12489 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12490
12491 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12492 (gdb-handler-alist, gdb-handler-number): Remove variables.
12493 (gdb-handler-list): New variable.
12494 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12495 (gdb-pending-handler-p, gdb-handle-reply)
12496 (gdb-remove-all-pending-triggers): New functions.
12497 (gdb-discard-unordered-replies): New defcustom.
12498 (gdb-handler): New defstruct.
12499 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12500 instead of gdb-pending-triggers. Update docstring.
12501 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12502 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12503 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12504 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12505 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12506 (gdb-frame-handler): Pending triggers are now automatically managed.
12507 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12508 Remove argument.
12509 (gdb-input): Automatically handles pending triggers. Update docstring.
12510 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12511 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12512 Update comments.
12513 (gdb-done-or-error): Now use gdb-handle-reply.
12514
12515 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12516
12517 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12518 gdb-debug-log.
12519
12520 2013-05-14 Glenn Morris <rgm@gnu.org>
12521
12522 * subr.el (user-emacs-directory-warning): New option.
12523 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12524
12525 2013-05-14 Leo Liu <sdl.web@gmail.com>
12526
12527 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12528 during redisplay.
12529 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12530 (octave-font-lock-texinfo-comment): Fix invalid search bound
12531 error: wrong side of point.
12532
12533 2013-05-14 Glenn Morris <rgm@gnu.org>
12534
12535 * progmodes/flymake.el (flymake-xml-program): New option.
12536 (flymake-xml-init): Use it.
12537
12538 * term/xterm.el: Provide a feature.
12539
12540 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12541
12542 2013-05-13 Glenn Morris <rgm@gnu.org>
12543
12544 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12545 Add compat aliases as a hack workaround. (Bug#14384)
12546
12547 2013-05-13 Leo Liu <sdl.web@gmail.com>
12548
12549 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12550 ###, and %!.
12551 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12552 C-M-q.
12553 (octave-comment-start-skip): Include %!.
12554 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12555
12556 2013-05-12 Leo Liu <sdl.web@gmail.com>
12557
12558 * progmodes/octave.el (inferior-octave-startup): Store the value
12559 of __octave_srcdir__ for octave-source-directories.
12560 (inferior-octave-check-process): New function refactored out of
12561 inferior-octave-send-list-and-digest.
12562 (octave-source-directories)
12563 (octave-find-definition-filename-function): New variables.
12564 (octave-source-directories)
12565 (octave-find-definition-default-filename): New functions.
12566 (octave-find-definition): Improve to find functions implemented in C++.
12567
12568 2013-05-12 Glenn Morris <rgm@gnu.org>
12569
12570 * calendar/diary-lib.el (diary-outlook-format-1):
12571 Don't include dayname in the output. (Bug#14349)
12572
12573 2013-05-11 Glenn Morris <rgm@gnu.org>
12574
12575 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12576
12577 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12578 Treat cc-provide like provide.
12579
12580 2013-05-11 Kevin Ryde <user42@zip.com.au>
12581
12582 * cus-dep.el (custom-make-dependencies):
12583 Use generated-autoload-load-name for the sake of files such
12584 such cedet/semantic/bovine/c.el, where the base file name
12585 is not in load-path. (Bug#5277)
12586
12587 2013-05-11 Glenn Morris <rgm@gnu.org>
12588
12589 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12590 Provide features.
12591
12592 2013-05-11 Leo Liu <sdl.web@gmail.com>
12593
12594 * progmodes/octave.el (octave-indent-comment): Improve.
12595 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12596 (octave-eldoc-function-signatures, octave-eldoc-function):
12597 New functions.
12598 (octave-mode, inferior-octave-mode): Add eldoc support.
12599
12600 2013-05-11 Richard Stallman <rms@gnu.org>
12601
12602 * epa.el (epa-decrypt-file): Take output file name as argument
12603 and read it using `interactive'.
12604
12605 2013-05-11 Leo Liu <sdl.web@gmail.com>
12606
12607 * progmodes/octave.el (octave-beginning-of-line)
12608 (octave-end-of-line): Check before using up-list because it jumps
12609 out of more syntactic contructs since moving to smie.
12610 (octave-indent-comment): New function.
12611 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12612 (octave-begin-keywords, octave-end-keywords)
12613 (octave-reserved-words, octave-smie-bnf-table)
12614 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12615
12616 2013-05-11 Glenn Morris <rgm@gnu.org>
12617
12618 * faces.el (internal-face-x-get-resource):
12619 * frame.el (ns-display-monitor-attributes-list):
12620 * calc/calc-aent.el (math-to-radians-2):
12621 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12622 Fix declarations.
12623
12624 * calc/calc-menu.el: Make it loadable in isolation.
12625
12626 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12627 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12628 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12629 (eudc-bbdb-query-internal): Require 'bbdb.
12630
12631 * lpr.el (lpr-headers-switches):
12632 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12633
12634 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12635
12636 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12637
12638 * term.el (term-set-escape-char): Make it idempotent.
12639
12640 2013-05-10 Leo Liu <sdl.web@gmail.com>
12641
12642 * progmodes/octave.el (inferior-octave-completion-table):
12643 No longer a function and all uses changed. Use cache to speed up
12644 completion due to bug#11906.
12645 (octave-beginning-of-defun): Re-write to be more general.
12646
12647 2013-05-10 Glenn Morris <rgm@gnu.org>
12648
12649 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12650
12651 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12652
12653 * comint.el (comint-redirect-send-command-to-process): Use :around
12654 rather than :override for comint-redirect-filter.
12655 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12656 Call it instead of comint-redirect-original-filter-function (which
12657 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12658
12659 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12660
12661 * frame.el (display-monitor-attributes-list): Add NS case.
12662 (ns-display-monitor-attributes-list): Declare.
12663
12664 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12665
12666 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12667
12668 2013-05-09 Glenn Morris <rgm@gnu.org>
12669
12670 * international/fontset.el (vertical-centering-font-regexp):
12671 Set standard-value.
12672
12673 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12674
12675 * bookmark.el (bookmark-search-delay):
12676 * cus-start.el (vertical-centering-font-regexp):
12677 * ps-mule.el (ps-mule-font-info-database-default):
12678 * ps-print.el (ps-default-fg, ps-default-bg):
12679 * type-break.el (type-break-good-break-interval):
12680 * whitespace.el (whitespace-indentation-regexp)
12681 (whitespace-space-after-tab-regexp):
12682 * emacs-lisp/testcover.el (testcover-1value-functions)
12683 (testcover-noreturn-functions, testcover-progn-functions)
12684 (testcover-prog1-functions):
12685 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12686 * eshell/em-glob.el (eshell-glob-translate-alist):
12687 * play/tetris.el (tetris-tty-colors):
12688 * progmodes/cpp.el (cpp-face-default-list):
12689 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12690 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12691 (idlwave-help-browser-generic-args):
12692 * progmodes/make-mode.el (makefile-special-targets-list):
12693 * progmodes/python.el (python-shell-virtualenv-path):
12694 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12695 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12696 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12697 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12698 * textmodes/reftex-vars.el (reftex-format-label-function):
12699 * textmodes/remember.el (remember-diary-file): Fix custom types.
12700
12701 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12702 Add :version.
12703
12704 2013-05-09 Leo Liu <sdl.web@gmail.com>
12705
12706 * progmodes/octave.el (inferior-octave-completion-at-point):
12707 Restore file completion. (Bug#14300)
12708 (inferior-octave-startup): Fix incorrect highlighting for the
12709 first prompt.
12710
12711 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12712
12713 * progmodes/ruby-mode.el: First cut at SMIE support.
12714 (ruby-use-smie): New var.
12715 (ruby-smie-grammar): New constant.
12716 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12717 (ruby-smie--forward-token, ruby-smie--backward-token)
12718 (ruby-smie-rules): New functions.
12719 (ruby-mode-variables): Setup SMIE if applicable.
12720
12721 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12722
12723 * simple.el (line-move-visual): Signal beginning/end of buffer
12724 only if vertical-motion moved less than it was requested. Avoids
12725 silly incorrect error messages when there are display strings with
12726 multiple newlines at EOL.
12727
12728 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12731 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12732 (prolog-char-quote-workaround):
12733 * progmodes/cperl-mode.el (cperl-under-as-char):
12734 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12735 Mark as obsolete.
12736 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12737 their declaration.
12738 (vhdl-mode-syntax-table-init): Remove.
12739
12740 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12741 last change.
12742
12743 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12744 syntax for "_".
12745 (ld-script-font-lock-keywords):
12746 Change regexps to use things like \_< and \_>.
12747
12748 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12749 Change all regexps to use things like \_< and \_>.
12750
12751 * progmodes/autoconf.el (autoconf-definition-regexp)
12752 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12753 Handle a _ with symbol syntax.
12754 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12755
12756 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12757 Consolidate declaration.
12758 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12759 the declaration.
12760 (ada-create-syntax-table): Remove.
12761 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12762 already has the right syntax nowadays.
12763 (ada-goto-next-word): Don't change the syntax of "_".
12764
12765 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12766 with-wrapper-hook.
12767
12768 2013-05-08 Sam Steingold <sds@gnu.org>
12769
12770 * thingatpt.el (thing-at-point): Accept optional second argument
12771 NO-PROPERTIES to strip the text properties from the return value.
12772 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12773 to `thing-at-point' instead of stripping the properties ourselves.
12774 Also, when `thing-at-point' fails to find a url, prepend "http://"
12775 to the filename at point on the assumption that the user is
12776 pointing at something like gnu.org/gnu.
12777
12778 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12779
12780 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12781 * faces.el (crm-separator):
12782 Silence byte-compiler.
12783
12784 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12785 (tool-bar-map): Remove unneeded defvars.
12786
12787 2013-05-08 Leo Liu <sdl.web@gmail.com>
12788
12789 Re-work a fix for bug#10994 based on Le Wang's patch.
12790 * ido.el (ido-remove-consecutive-dups): New helper.
12791 (ido-completing-read): Use it.
12792 (ido-chop): Revert fix for bug#10994.
12793
12794 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12795
12796 * cus-edit.el (custom-save-variables):
12797 Pretty-print long values. (Bug#14187)
12798
12799 2013-05-08 Glenn Morris <rgm@gnu.org>
12800
12801 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12802 (m4-mode-syntax-table): Init in the defvar.
12803 (m4-mode-abbrev-table): Let define-derived-mode define it.
12804
12805 2013-05-08 Tom Tromey <tromey@redhat.com>
12806
12807 * progmodes/m4-mode.el (m4-mode-syntax-table):
12808 Do not treat "_" as word constituent. (Bug#14167)
12809
12810 2013-05-07 Glenn Morris <rgm@gnu.org>
12811
12812 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12813 Remove explicit eshell-isearch-cancel-map.
12814
12815 * progmodes/f90.el (f90-smart-end-names): New option.
12816 (f90-smart-end): Doc fix.
12817 (f90-end-block-optional-name): New constant.
12818 (f90-block-match): Respect f90-smart-end-names.
12819
12820 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12821
12822 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12823 about implicit semi-colons (bug#14218).
12824
12825 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12826
12827 * frame.el (display-monitor-attributes-list)
12828 (frame-monitor-attributes): New functions.
12829
12830 2013-05-06 Leo Liu <sdl.web@gmail.com>
12831
12832 * progmodes/octave.el (octave-syntax-propertize-function): Change
12833 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12834 (octave-font-lock-keywords): Use octave-operator-regexp.
12835 (octave-completion-at-point): Rename from
12836 octave-completion-at-point-function.
12837 (inferior-octave-directory-tracker): Robustify.
12838 (octave-text-functions): Remove and fix its uses. No such things
12839 any more.
12840
12841 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12842
12843 * emacs-lisp/trace.el (trace--display-buffer): New function.
12844 (trace-make-advice): Use it.
12845
12846 2013-05-06 Juri Linkov <juri@jurta.org>
12847
12848 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12849 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12850 Doc fix.
12851 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12852 in the help string. (Bug#12985)
12853
12854 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12855
12856 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12857
12858 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12859
12860 * progmodes/perl-mode.el: Add support for here documents.
12861 (perl-syntax-propertize-function): Match here-doc markers.
12862 (perl-syntax-propertize-special-constructs): Find their end.
12863 (perl-imenu-generic-expression): Use [:alnum:].
12864
12865 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12866 (advice--add-function): Refresh the advice if already present
12867 (bug#14317).
12868
12869 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12870
12871 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12872
12873 2013-05-06 Glenn Morris <rgm@gnu.org>
12874
12875 * w32-fns.el (w32-charset-info-alist): Declare.
12876
12877 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12878 of its defcustom properties.
12879 (eshell-cmpl-initialize): No need to load pcomplete.
12880
12881 * generic-x.el: No need to require comint when compiling.
12882
12883 * net/eudc-export.el: Make it loadable without bbdb.
12884 (top-level): Use require rather than load-library.
12885 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12886 (eudc-batch-export-records-to-bbdb)
12887 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12888 Require bbdb.
12889
12890 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12893 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12894 some tweaks, instead.
12895
12896 2013-05-05 Leo Liu <sdl.web@gmail.com>
12897
12898 * progmodes/octave.el (octave-font-lock-keywords)
12899 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12900 (inferior-octave-send-list-and-digest): Improve error message.
12901 (octave-mode, inferior-octave-mode): Use setq-local.
12902 (octave-help): Set info-lookup-mode.
12903
12904 2013-05-05 Richard Stallman <rms@gnu.org>
12905
12906 * vc/compare-w.el (compare-windows-whitespace):
12907 Treat no-break space as whitespace.
12908
12909 * mail/rmailsum.el (rmail-summary-rmail-update):
12910 Detect empty summary and don't change selected message.
12911 (rmail-summary-goto-msg): Likewise.
12912
12913 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12914 Doc fixes, rename args.
12915
12916 2013-05-05 Alan Mackenzie <acm@muc.de>
12917
12918 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12919
12920 2013-05-05 Juri Linkov <juri@jurta.org>
12921
12922 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12923 to not add the length of the summary segment to the return value.
12924 (Bug#14125)
12925
12926 2013-05-05 Leo Liu <sdl.web@gmail.com>
12927
12928 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12929 (inferior-octave-output-filter): Remove.
12930 (octave-send-region, inferior-octave-startup): Fix callers.
12931 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12932 (octave-binary-file-extensions): New user variable.
12933 (octave-find-definition): Confirm if opening binary files.
12934 (octave-help-file): Use octave-find-definition to get the binary
12935 confirmation.
12936 (octave-help): Adjust for octave-help-file change.
12937
12938 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12939
12940 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12941 Merge the two entries that handle function definitions.
12942 (pascal--syntax-propertize): New const.
12943 (pascal-mode): Use it. Use setq-local.
12944
12945 2013-05-04 Glenn Morris <rgm@gnu.org>
12946
12947 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12948 (diary-from-outlook): Respect diary-from-outlook-function.
12949
12950 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12951
12952 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12953 Move the declaration from C.
12954 (read-minibuffer, eval-minibuffer): Move from C.
12955 (completion-setup-function): Avoid minibuffer-completion-contents.
12956
12957 2013-05-03 Leo Liu <sdl.web@gmail.com>
12958
12959 * progmodes/octave.el (octave-font-lock-keywords): Do not
12960 dehighlight 'end' in comments or strings.
12961 (octave-completing-read, octave-goto-function-definition):
12962 New helpers.
12963 (octave-help-buffer): New user variable.
12964 (octave-help-file, octave-help-function): New button types.
12965 (octave-help): New command and bind it to C-h ;.
12966 (octave-find-definition): New command and bind it to M-.
12967 (user-error): Alias to error if not defined.
12968
12969 2013-05-02 Leo Liu <sdl.web@gmail.com>
12970
12971 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12972 for \. (bug#14332)
12973 (octave-font-lock-keywords): Include [ and {.
12974
12975 2013-05-02 Leo Liu <sdl.web@gmail.com>
12976
12977 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12978 (inferior-octave): Remove calling comint-mode and return the buffer.
12979 (inferior-octave-startup): Cosmetic changes.
12980
12981 2013-05-02 Leo Liu <sdl.web@gmail.com>
12982
12983 * progmodes/octave.el (octave-syntax-propertize-function):
12984 Include the case when ' is at line beginning. (Bug#14336)
12985
12986 2013-05-02 Glenn Morris <rgm@gnu.org>
12987
12988 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12989 * desktop.el (vc-dir-mode): Just autoload it here.
12990
12991 2013-05-02 Alan Mackenzie <acm@muc.de>
12992
12993 Eliminate variable c-standard-font-lock-fontify-region-function.
12994 * progmodes/cc-mode.el
12995 (c-standard-font-lock-fontify-region-function): Remove.
12996 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12997
12998 2013-05-01 Leo Liu <sdl.web@gmail.com>
12999
13000 * progmodes/octave.el: Compatible with older emacs-24 releases.
13001 (inferior-octave-has-built-in-variables): Remove. Built-in
13002 variables were removed from Octave in 2007.
13003 (inferior-octave-startup): Fix uses.
13004 (comint-line-beginning-position): Remove compatibility code for
13005 emacs 21.
13006
13007 2013-05-01 Juri Linkov <juri@jurta.org>
13008
13009 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13010
13011 2013-05-01 Juri Linkov <juri@jurta.org>
13012
13013 * comint.el (comint-previous-matching-input): Don't print message
13014 "History item: %d" when `isearch-mode' is active.
13015 (comint-history-isearch-message): Print message "History item: %d"
13016 when `comint-input-ring-index' is not empty and this function is
13017 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13018
13019 2013-05-01 Leo Liu <sdl.web@gmail.com>
13020
13021 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13022 definitions. Use completion-at-point to insert keywords.
13023 (octave-abbrev-start): Remove.
13024 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13025
13026 2013-04-30 Leo Liu <sdl.web@gmail.com>
13027
13028 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13029 change.
13030
13031 2013-04-30 Alan Mackenzie <acm@muc.de>
13032
13033 Handle arbitrarily long C++ member initialisation lists.
13034 * progmodes/cc-engine.el (c-back-over-member-initializers):
13035 new function.
13036 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13037 (most) member init lists.
13038
13039 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13040
13041 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13042 variable.
13043
13044 2013-04-30 Leo Liu <sdl.web@gmail.com>
13045
13046 * progmodes/octave.el (octave-variables): Remove. No builtin
13047 variables any more. All converted to functions.
13048 (octave-font-lock-keywords, octave-completion-at-point-function):
13049 Fix uses.
13050 (octave-font-lock-texinfo-comment): New user variable.
13051 (octave-texinfo-font-lock-keywords): New variable for texinfo
13052 comment block.
13053 (octave-function-comment-block): New face.
13054 (octave-font-lock-texinfo-comment): New function.
13055 (octave-mode): Font lock texinfo comment block.
13056
13057 2013-04-29 Leo Liu <sdl.web@gmail.com>
13058
13059 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13060 indexing expression.
13061 (octave-continuation-string): Do not use \.
13062 (inferior-octave-complete-impossible): Remove.
13063 (inferior-octave-completion-table)
13064 (inferior-octave-completion-at-point): Remove its uses.
13065 (inferior-octave-startup): completion_matches was introduced to
13066 Octave in 1996 so safe to assume it.
13067 (octave-function-file-comment): Improve to follow how Octave does it.
13068 (octave-update-function-file-comment): Tweak.
13069
13070 2013-04-29 Leo Liu <sdl.web@gmail.com>
13071
13072 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13073 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13074 (octave-function-file-comment): Fix typo.
13075 (octave-sync-function-file-names): Use read-char-choice.
13076
13077 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13078
13079 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13080 to t for the less important warnings.
13081
13082 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13083
13084 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13085
13086 2013-04-27 Glenn Morris <rgm@gnu.org>
13087
13088 * vc/log-view.el (log-view-current-entry):
13089 Treat "---" separator lines as part of the following rev. (Bug#14169)
13090
13091 2013-04-27 Juri Linkov <juri@jurta.org>
13092
13093 * subr.el (read-number): Doc fix about using it by interactive
13094 code letter `n'. (Bug#14254)
13095
13096 2013-04-27 Juri Linkov <juri@jurta.org>
13097
13098 * desktop.el (desktop-auto-save-timeout): New option.
13099 (desktop-file-checksum): New variable.
13100 (desktop-save): Add optional arg `auto-save' and don't auto-save
13101 if nothing changed.
13102 (desktop-auto-save-timer): New variable.
13103 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13104 (after-init-hook): Call `desktop-auto-save-set-timer'.
13105 Suggested by Reuben Thomas <rrt@sc3d.org> in
13106 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13107
13108 2013-04-27 Leo Liu <sdl.web@gmail.com>
13109
13110 * progmodes/octave.el (octave-function-file-p)
13111 (octave-skip-comment-forward, octave-function-file-comment)
13112 (octave-update-function-file-comment): New functions.
13113 (octave-mode-map): Bind C-c ; to
13114 octave-update-function-file-comment.
13115 (octave-mode-menu): Add octave-update-function-file-comment.
13116 (octave-mode, inferior-octave-mode): Fix doc-string.
13117 (octave-insert-defun): Conform to Octave's coding convention.
13118 (Bug#14285)
13119
13120 * files.el (basic-save-buffer): Don't let errors in
13121 before-save-hook prevent saving buffer.
13122
13123 2013-04-20 Roland Winkler <winkler@gnu.org>
13124
13125 * faces.el (read-face-name): Use completing-read if arg multiple
13126 is nil.
13127
13128 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13129
13130 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13131 displayed, move point to after the totals line.
13132 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13133 for the details.
13134
13135 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13138 Add current dir to the load-path.
13139 (package-generate-autoloads): Don't rely on
13140 autoload-ensure-default-file.
13141
13142 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13143
13144 * textmodes/remember.el (remember-store-in-files): Document that
13145 the file name format is passed to `format-time-string'.
13146
13147 2013-04-26 Leo Liu <sdl.web@gmail.com>
13148
13149 * progmodes/octave.el (octave-sync-function-file-names): New function.
13150 (octave-mode): Use it in before-save-hook.
13151
13152 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13153
13154 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13155 (bug#14274).
13156
13157 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13158 \n and comment, even if it's not an implicit ; (bug#14218).
13159
13160 2013-04-26 Glenn Morris <rgm@gnu.org>
13161
13162 * subr.el (read-number): Once more use `read' rather than
13163 `string-to-number', to trap non-numeric input. (Bug#14254)
13164
13165 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13166
13167 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13168 Use `syntax-multiline' text property consistently instead of
13169 `font-lock-multiline'. (Bug#14237)
13170
13171 2013-04-26 Glenn Morris <rgm@gnu.org>
13172
13173 * emacs-lisp/shadow.el (list-load-path-shadows):
13174 No longer necessary to check for duplicate simple.el, since
13175 2012-07-07 change to init_lread to not include installation lisp
13176 directories in load-path when running uninstalled. (Bug#14270)
13177
13178 2013-04-26 Leo Liu <sdl.web@gmail.com>
13179
13180 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13181 (octave-mode, inferior-octave-mode): Use setq-local.
13182 (octave-not-in-string-or-comment-p): Rename to
13183 octave-in-string-or-comment-p.
13184 (octave-in-comment-p, octave-in-string-p)
13185 (octave-in-string-or-comment-p): Replace defsubst with defun.
13186
13187 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13188
13189 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13190
13191 2013-04-25 Bastien Guerry <bzg@gnu.org>
13192
13193 * textmodes/remember.el (remember-data-directory)
13194 (remember-directory-file-name-format): Fix custom types.
13195
13196 2013-04-25 Leo Liu <sdl.web@gmail.com>
13197
13198 * progmodes/octave.el (octave-completion-at-point-function):
13199 Make use of inferior octave process.
13200 (octave-initialize-completions): Remove.
13201 (inferior-octave-completion-table): New function.
13202 (inferior-octave-completion-at-point): Use it.
13203 (octave-completion-alist): Remove.
13204
13205 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13206
13207 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13208 (opascal-mode-syntax-table): New var.
13209 (opascal-literal-kind, opascal-is-literal-end)
13210 (opascal-literal-token-at): Rewrite.
13211 (opascal--literal-start-re, opascal-font-lock-keywords)
13212 (opascal--syntax-propertize): New constants.
13213 (opascal-font-lock-defaults): Adjust.
13214 (opascal-mode): Use them. Set comment-<foo> variables as well.
13215 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13216 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13217 (delphi-other-face, opascal-other-face): Remove face variables.
13218 (opascal-save-state): Remove macro.
13219 (opascal-fontifying-progress-step): Remove constant.
13220 (opascal--ignore-changes): Remove var.
13221 (opascal-set-token-property, opascal-parse-next-literal)
13222 (opascal-is-stable-literal, opascal-complete-literal)
13223 (opascal-is-literal-start, opascal-face-of)
13224 (opascal-parse-region, opascal-parse-region-until-stable)
13225 (opascal-fontify-region, opascal-after-change)
13226 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13227 (opascal-debug-parse-region, opascal-debug-parse-window)
13228 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13229 (opascal-debug-fontify-buffer): Remove.
13230 (opascal-debug-mode-map): Adjust accordingly.
13231
13232 2013-04-25 Leo Liu <sdl.web@gmail.com>
13233
13234 Merge octave-mod.el and octave-inf.el into octave.el with some
13235 cleanups.
13236 * progmodes/octave.el: New file renamed from octave-mod.el.
13237 * progmodes/octave-inf.el: Merged into octave.el.
13238 * progmodes/octave-mod.el: Renamed to octave.el.
13239
13240 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13241
13242 * textmodes/reftex-vars.el
13243 (reftex-label-ignored-macros-and-environments): New defcustom.
13244
13245 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13246
13247 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13248
13249 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13250 (smie-indent-keyword): Improve the check to ensure that the next
13251 comment is really on the same line.
13252 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13253
13254 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13255 semi-colons if the line is not otherwise empty (bug#14218).
13256
13257 2013-04-25 Glenn Morris <rgm@gnu.org>
13258
13259 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13260
13261 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13262
13263 * progmodes/opascal.el (opascal-set-token-property): Rename from
13264 opascal-set-text-properties and only set `token' (bug#14134).
13265 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13266 (opascal-literal-text-properties): Remove.
13267 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13268 Adjust callers.
13269
13270 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13271
13272 * textmodes/remember.el (remember-handler-functions): Add an
13273 option for a new handler `remember-store-in-files'.
13274 (remember-data-directory, remember-directory-file-name-format):
13275 New options.
13276 (remember-store-in-files): New function to store remember notes
13277 as separate files within a directory.
13278
13279 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13280
13281 * progmodes/compile.el (compilation-next-error-function):
13282 Pass "formats" to compilation-find-file (bug#11777).
13283
13284 2013-04-24 Glenn Morris <rgm@gnu.org>
13285
13286 * vc/vc-bzr.el (vc-bzr-print-log):
13287 * vc/vc-hg.el (vc-hg-print-log):
13288 * vc/vc-svn.el (vc-svn-print-log):
13289 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13290
13291 * vc/vc-bzr.el (vc-bzr-print-log):
13292 * vc/vc-cvs.el (vc-cvs-print-log):
13293 * vc/vc-git.el (vc-git-print-log):
13294 * vc/vc-hg.el (vc-hg-print-log):
13295 * vc/vc-mtn.el (vc-mtn-print-log):
13296 * vc/vc-rcs.el (vc-rcs-print-log):
13297 * vc/vc-sccs.el (vc-sccs-print-log):
13298 * vc/vc-svn.el (vc-svn-print-log):
13299 * vc/vc.el (vc-print-log-internal): Doc fixes.
13300
13301 2013-04-23 Glenn Morris <rgm@gnu.org>
13302
13303 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13304 Remove venerable code attempting to avoid substitute-command-keys.
13305
13306 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13307
13308 * textmodes/reftex-vars.el (reftex-label-regexps):
13309 Call `reftex-compile-variables' after changes to this variable.
13310
13311 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13312
13313 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13314 Use lexical-binding.
13315 (jit-lock-force-redisplay): Use markers, check buffer's continued
13316 existence and beware narrowed buffers.
13317 (jit-lock-fontify-now): Adjust call accordingly.
13318
13319 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13322 to avoid misleading the user.
13323
13324 2013-04-22 Leo Liu <sdl.web@gmail.com>
13325
13326 * info-look.el: Prefer latex2e.info. (Bug#14240)
13327
13328 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13329
13330 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13331
13332 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13333 * net/tramp.el (tramp-call-process): ... here.
13334 (tramp-set-completion-function, tramp-parse-putty):
13335 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13336 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13337 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13338 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13339 (tramp-call-local-coding-command): Use `tramp-call-process'
13340 instead of `tramp-compat-call-process'.
13341
13342 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13343 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13344 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13345 (tramp-find-inline-compress): Improve traces.
13346 (tramp-maybe-send-script): Check for Perl binary.
13347 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13348
13349 2013-04-22 Daiki Ueno <ueno@gnu.org>
13350
13351 * epg.el (epg-context-pinentry-mode): New function.
13352 (epg-context-set-pinentry-mode): New function.
13353 (epg--start): Pass --pinentry-mode option to gpg command.
13354
13355 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13356
13357 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13358 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13359 `completion-at-point'. (Bug#13774)
13360
13361 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13362 default key binding for `describe-distribution' has been moved to
13363 `C-h C-o'. (Bug#13970)
13364
13365 2013-04-21 Glenn Morris <rgm@gnu.org>
13366
13367 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13368 Add doc strings.
13369 (vc-print-log): Clarify interactive prompt.
13370
13371 2013-04-20 Glenn Morris <rgm@gnu.org>
13372
13373 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13374 No longer include timestamp etc information.
13375
13376 2013-04-20 Roland Winkler <winkler@gnu.org>
13377
13378 * faces.el (read-face-name): Bug fix, return just one face if arg
13379 multiple is nil. (Bug#14209)
13380
13381 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13382
13383 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13384 (remove-function): Autoload.
13385
13386 * comint.el (comint-redirect-original-filter-function): Remove.
13387 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13388 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13389 (vc-cvs-annotate-command):
13390 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13391 * progmodes/prolog.el (prolog-consult-compile):
13392 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13393 Use add/remove-function instead.
13394 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13395 (gud-tooltip-process-output, gud-tooltip-tips):
13396 Use add/remove-function instead.
13397 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13398 (scheme-interaction-mode, exit-scheme-interaction-mode):
13399 Use add/remove-function instead.
13400
13401 * vc/vc-dispatcher.el: Use lexical-binding.
13402 (vc--process-sentinel): Rename from vc-process-sentinel.
13403 Change last arg to be the code to run. Don't use vc-previous-sentinel
13404 and vc-sentinel-commands any more.
13405 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13406 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13407
13408 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13409
13410 * progmodes/sh-script.el (sh-imenu-generic-expression):
13411 Handle function names with a single character. (Bug#14111)
13412
13413 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13414
13415 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13416 for subroutines defined in an eval (bug#14182).
13417
13418 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13419
13420 * bookmark.el (bookmark-completing-read): Improve handling of empty
13421 string (bug#14176).
13422
13423 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13424
13425 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13426
13427 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13428
13429 New faster Imenu implementation (bug#14058).
13430 * progmodes/python.el:
13431 (python-imenu-prev-index-position):
13432 (python-imenu-format-item-label-function)
13433 (python-imenu-format-parent-item-label-function)
13434 (python-imenu-format-parent-item-jump-label-function):
13435 New vars.
13436 (python-imenu-format-item-label)
13437 (python-imenu-format-parent-item-label)
13438 (python-imenu-format-parent-item-jump-label)
13439 (python-imenu--put-parent, python-imenu--build-tree)
13440 (python-imenu-create-index, python-imenu-create-flat-index)
13441 (python-util-popn): New functions.
13442 (python-mode): Set imenu-create-index-function to
13443 python-imenu-create-index.
13444
13445 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * winner.el (winner-active-region): Use region-active-p, activate-mark
13448 and deactivate-mark (bug#14225).
13449
13450 * simple.el (deactivate-mark): Don't inline it.
13451
13452 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13453
13454 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13455
13456 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13457
13458 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13459 file extensions from the archive-mode entry in order to prefer
13460 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13461
13462 2013-04-18 Leo Liu <sdl.web@gmail.com>
13463
13464 * bindings.el (help-event-list): Add ?\?.
13465
13466 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * subr.el (with-wrapper-hook): Declare obsolete.
13469 * simple.el (filter-buffer-substring-function): New hook.
13470 (filter-buffer-substring): Use it.
13471 (filter-buffer-substring-functions): Mark obsolete.
13472 * minibuffer.el (completion-in-region-function): New hook.
13473 (completion-in-region): Use it.
13474 (completion-in-region-functions): Mark obsolete.
13475 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13476 * abbrev.el (abbrev-expand-function): New hook.
13477 (expand-abbrev): Use it.
13478 (abbrev-expand-functions): Mark obsolete.
13479 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13480 and :filter-return.
13481
13482 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13483
13484 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13485 and do not care about match data.
13486
13487 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13488
13489 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13490 completion tables when completing error conditions and
13491 `declare' arguments.
13492 (lisp-complete-symbol, field-complete): Mark as obsolete.
13493 (check-parens): Unmatched parens are user errors.
13494 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13495
13496 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13497
13498 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13499 command changed buffer (ie. `flyspell-pre-buffer' is not current
13500 buffer), which prevents making decisions based on invalid value of
13501 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13502 cause an error when `flyspell-pre-point' was nil after switching
13503 buffers.
13504 (flyspell-post-command-hook): No longer needs to change buffers when
13505 checking pre-word. While at it remove unnecessary progn.
13506
13507 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13508
13509 * textmodes/ispell.el (ispell-add-per-file-word-list):
13510 Fix `flyspell-correct-word-before-point' error when accepting
13511 words and `coment-padding' is an integer by using
13512 `comment-normalize-vars' (Bug #14214).
13513
13514 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13515
13516 New defun movement commands.
13517 * progmodes/python.el (python-nav--syntactically)
13518 (python-nav--forward-defun, python-nav-backward-defun)
13519 (python-nav-forward-defun): New functions.
13520
13521 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13522
13523 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13524 (python-syntax-context): Use named compiler-macro for backwards
13525 compatibility with Emacs 24.x.
13526
13527 2013-04-17 Leo Liu <sdl.web@gmail.com>
13528
13529 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13530 octave-hide-process-buffer.
13531
13532 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13533
13534 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13535 (bug#14216).
13536
13537 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13538
13539 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13540 Fix adjustment of offset when receiving incomplete responses from GDB
13541 (bug#14129).
13542
13543 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13544
13545 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13546 python-mode-abbrev-table.
13547 (python-skeleton-define): Adjust accordingly.
13548 (python-mode-abbrev-table): New table that inherits from it so that
13549 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13550
13551 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13552 (abbrev-symbol): Use it.
13553 (abbrev--before-point): Use it since we already handle inheritance.
13554
13555 2013-04-16 Leo Liu <sdl.web@gmail.com>
13556
13557 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13558 binding to info-lookup-symbol.
13559
13560 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13561
13562 * minibuffer.el (completion--twq-all):
13563 * term/ns-win.el (ns-initialize-window-system):
13564 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13565
13566 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13567
13568 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13569 global bindings.
13570
13571 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13572
13573 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13574
13575 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13576 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13577 to nil.
13578 (ruby-end-of-defun): Remove the unused arg, change the docstring
13579 to reflect that this function is only used as the value of
13580 `end-of-defun-function'.
13581 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13582 to reflect an earlier change that beginning/end-of-defun functions
13583 jump between methods in a class definition, as well as top-level
13584 functions.
13585
13586 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * minibuffer.el (minibuffer-complete): Don't just scroll
13589 a *Completions* that's been iconified.
13590 (minibuffer-force-complete): Make sure repetitions do cycle when going
13591 through completion-in-region -> minibuffer-complete.
13592
13593 2013-04-15 Alan Mackenzie <acm@muc.de>
13594
13595 Correct the placement of c-cpp-delimiters when there're #s not at
13596 col 0.
13597
13598 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13599 place a submatch around the #.
13600 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13601 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13602 on the #, not BOL.
13603
13604 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13605
13606 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13607 (advice--member-p): New arg `name'.
13608 (advice--add-function, advice-member-p): Use it (bug#14202).
13609
13610 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13611
13612 Reformulate java imenu-generic-expression.
13613 The old expression contained ill formed regexps.
13614
13615 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13616 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13617 (cc-imenu-java-method-arg-regexp): New defconsts.
13618 (cc-imenu-java-build-type-args-regex): New defun.
13619 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13620 handling of spaces in the regexp.
13621
13622 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13623
13624 * textmodes/ispell.el (ispell-command-loop): Remove
13625 flyspell highlight of a word when ispell accepts it (bug #14178).
13626
13627 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13628
13629 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13630 uses code from the previous `ange-ftp-run-real-handler'.
13631 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13632 only in case that function exist. This is needed for proper
13633 unloading of Tramp.
13634
13635 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13636
13637 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13638
13639 * textmodes/reftex.el (reftex-compile-variables): Use it.
13640
13641 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13642
13643 * files.el (normal-mode): Only use default major-mode if no other mode
13644 was specified.
13645
13646 * emacs-lisp/trace.el (trace-values): New function.
13647
13648 * files.el: Allow : in local variables (bug#14089).
13649 (hack-local-variable-regexp): New var.
13650 (hack-local-variables-prop-line, hack-local-variables): Use it.
13651
13652 2013-04-13 Roland Winkler <winkler@gnu.org>
13653
13654 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13655 data before it gets modified by bibtex-beginning-of-entry.
13656
13657 2013-04-13 Roland Winkler <winkler@gnu.org>
13658
13659 * textmodes/bibtex.el (bibtex-url): Doc fix.
13660
13661 2013-04-13 Roland Winkler <winkler@gnu.org>
13662
13663 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13664 does not visit a BibTeX file, exclude it from the list of buffers
13665 returned by bibtex-initialize.
13666
13667 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13668
13669 * window.el (split-window): Remove interactive form, since as a
13670 command this function is a special case of split-window-below.
13671 Correct doc string.
13672
13673 2013-04-12 Roland Winkler <winkler@gnu.org>
13674
13675 * faces.el (read-face-name): Do not override value of arg default.
13676 Allow single faces and strings as default values. Remove those
13677 elements from return value that are not faces.
13678 (describe-face): Simplify.
13679 (face-at-point): New optional args thing and multiple so that this
13680 function can provide the same functionality previously provided by
13681 read-face-name.
13682 (make-face-bold, make-face-unbold, make-face-italic)
13683 (make-face-unitalic, make-face-bold-italic, invert-face)
13684 (modify-face, read-face-and-attribute): Use face-at-point.
13685
13686 * cus-edit.el (customize-face, customize-face-other-window)
13687 * cus-theme.el (custom-theme-add-face)
13688 * face-remap.el (buffer-face-set)
13689 * facemenu.el (facemenu-set-face): Use face-at-point.
13690
13691 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13692
13693 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13694
13695 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13696
13697 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13698 off leading { and trailing } from field values.
13699
13700 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13701
13702 * emacs-lisp/timer.el (timer--check): New function.
13703 (timer--time, timer-set-function, timer-event-handler): Use it.
13704 (timer-set-idle-time): Simplify.
13705 (timer--activate): CSE.
13706 (timer-event-handler): Give more info in error message.
13707 (internal-timer-start-idle): New function, moved from C.
13708
13709 * mpc.el (mpc-proc): Add `restart' argument.
13710 (mpc-proc-cmd): Use it.
13711 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13712 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13713 less often.
13714
13715 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13716
13717 * progmodes/sh-script.el: Implement `sh-mode' own
13718 `add-log-current-defun-function' (bug#14112).
13719 (sh-current-defun-name): New function.
13720 (sh-mode): Use the function.
13721
13722 2013-04-09 Bastien Guerry <bzg@gnu.org>
13723
13724 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13725
13726 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13727
13728 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13729
13730 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13731 timer (bug#14156).
13732
13733 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13734
13735 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13736 declaration.
13737
13738 2013-04-07 Leo Liu <sdl.web@gmail.com>
13739
13740 * pcmpl-x.el: New file.
13741
13742 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13743
13744 Do not set x-display-name until X connection is established.
13745 This is needed to prevent from weird situation described at
13746 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13747 * frame.el (make-frame): Set x-display-name after call to
13748 window system initialization function, not before.
13749 * term/x-win.el (x-initialize-window-system): Add optional
13750 display argument and use it.
13751 * term/w32-win.el (w32-initialize-window-system):
13752 * term/ns-win.el (ns-initialize-window-system):
13753 * term/pc-win.el (msdos-initialize-window-system):
13754 Add compatible optional display argument.
13755
13756 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13757
13758 * files.el (normal-backup-enable-predicate): On MS-Windows and
13759 MS-DOS compare truenames of temporary-file-directory and of the
13760 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13761 don't fail comparison by compare-strings. Also, compare file
13762 names case-insensitively on MS-Windows and MS-DOS.
13763
13764 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13765
13766 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13767 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13768
13769 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13770
13771 * whitespace.el (whitespace-color-on, whitespace-color-off):
13772 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13773
13774 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13775
13776 * ispell.el (ispell-set-spellchecker-params):
13777 Really set `ispell-args' for all equivs.
13778
13779 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13780
13781 * ido.el (ido-completions): Use extra elements of ido-decorations
13782 (bug#14143).
13783 (ido-decorations): Update docstring.
13784
13785 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13786
13787 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13788 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13789 nil during initialization, in order not to miss changes since the
13790 file was opened. (Bug#14140)
13791
13792 2013-04-05 Leo Liu <sdl.web@gmail.com>
13793
13794 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13795
13796 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13797
13798 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13799
13800 2013-04-04 Glenn Morris <rgm@gnu.org>
13801
13802 * electric.el (electric-pair-inhibit-predicate): Add :version.
13803
13804 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13805
13806 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13807 when a package is required several times (bug#14082).
13808
13809 2013-04-04 Roland Winkler <winkler@gnu.org>
13810
13811 * faces.el (read-face-name): Behave as promised by the docstring.
13812 Assume that arg default is a list of faces.
13813 (describe-face): Call read-face-name with list of default faces.
13814
13815 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13816
13817 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13818 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13819 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13820 the header.
13821 (bookmark-exit-hook-internal): Save even if list is empty.
13822
13823 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13824
13825 * emacs-lisp/package.el (package-pinned-packages): New var.
13826 (package--add-to-archive-contents): Obey it (bug#14118).
13827
13828 2013-04-03 Alan Mackenzie <acm@muc.de>
13829
13830 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13831 Also adapt to the new values of element 7 of a parse state.
13832
13833 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13834 parameter `not-in-delimiter'. Handle being inside comment opener.
13835 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13836 character in case we're typing a '*' after a '/'.
13837 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13838 instead by passing the parameter to c-state-pp-to-literal.
13839
13840 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13841 for elt. 7 of a parse state.
13842
13843 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13844
13845 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13846 * international/latin1-disp.el, international/mule-util.el:
13847 * language/cyril-util.el, language/european.el, language/ind-util.el:
13848 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13849 * language/tibetan.el, language/viet-util.el:
13850 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13851
13852 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13855 (electric-pair-post-self-insert-function): Use it.
13856 (electric-pair-default-inhibit): New function, extracted from
13857 electric-pair-post-self-insert-function.
13858
13859 2013-03-31 Roland Winkler <winkler@gnu.org>
13860
13861 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13862
13863 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13864
13865 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13866
13867 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13868
13869 Un-indent after "pass" and "return" statements (Bug#13888)
13870 * progmodes/python.el (python-indent-block-enders): New var.
13871 (python-indent-calculate-indentation): Use it.
13872
13873 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13874
13875 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13876 defun. Defining it as defalias could introduce too eager
13877 byte-compiler optimization. (Bug#14030)
13878
13879 2013-03-30 Chong Yidong <cyd@gnu.org>
13880
13881 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13882
13883 2013-03-30 Leo Liu <sdl.web@gmail.com>
13884
13885 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13886 (kmacro-execute-from-register): Pass the keyboard macro to
13887 kmacro-call-macro or repeating won't work correctly.
13888
13889 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13890
13891 * progmodes/subword.el: Back to using `forward-symbol'.
13892
13893 * subr.el (forward-whitespace, forward-symbol)
13894 (forward-same-syntax): Move from thingatpt.el.
13895
13896 2013-03-29 Leo Liu <sdl.web@gmail.com>
13897
13898 * kmacro.el (kmacro-to-register): New command.
13899 (kmacro-execute-from-register): New function.
13900 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13901
13902 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13903
13904 * mpc.el: Use defvar-local and setq-local.
13905 (mpc--proc-connect): Connection failures are not bugs.
13906 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13907 (mpc-volume-map): Bind to the up-events.
13908
13909 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13910
13911 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13912 instead of `forward-symbol'.
13913
13914 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13915
13916 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13917 (edebug--recursive-edit): Use it.
13918 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13919 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13920
13921 2013-03-28 Leo Liu <sdl.web@gmail.com>
13922
13923 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13924
13925 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13926
13927 * facemenu.el (list-colors-callback): New defvar.
13928 (list-colors-redisplay): New function.
13929 (list-colors-display): Install list-colors-redisplay as the
13930 revert-buffer-function. (Bug#14063)
13931
13932 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13933
13934 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13935 and suffixes don't overlap (bug#14061).
13936
13937 * case-table.el: Use lexical-binding.
13938 (case-table-get-table): New function.
13939 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13940
13941 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13942
13943 * progmodes/subword.el: Add `superword-mode' to do word motion
13944 over symbol_words (parallels and leverages `subword-mode' which
13945 does word motion inside MixedCaseWords).
13946
13947 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13948
13949 * eshell/em-unix.el: Move su and sudo to...
13950 * eshell/em-tramp.el: ...Eshell tramp module.
13951
13952 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13955 Change return value to be a sexp. Delay `get-buffer' to after
13956 restoring the desktop (bug#13951).
13957
13958 2013-03-26 Leo Liu <sdl.web@gmail.com>
13959
13960 * register.el: Move semantic tag handling back to
13961 cedet/semantic/senator.el. (Bug#14052)
13962
13963 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13964
13965 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13966 into the prompt either (bug#13963).
13967
13968 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13969
13970 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13971 part of "(error-foo)".
13972
13973 2013-03-24 Juri Linkov <juri@jurta.org>
13974
13975 * replace.el (list-matching-lines-prefix-face): New defcustom.
13976 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13977 `occur-engine' if `face-differs-from-default-p' returns t.
13978 (occur-engine): Add `,' inside backquote construct to evaluate
13979 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13980 Pass `prefix-face' to the functions `occur-context-lines' and
13981 `occur-engine-add-prefix'.
13982 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13983 `prefix-face' and propertize the prefix with `prefix-face'.
13984 (Bug#14017)
13985
13986 2013-03-24 Leo Liu <sdl.web@gmail.com>
13987
13988 * nxml/rng-valid.el (rng-validate-while-idle)
13989 (rng-validate-quick-while-idle): Guard against deleted buffer.
13990 (Bug#13999)
13991
13992 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13993 is the last entry in kill-buffer-hook.
13994
13995 * files.el (kill-buffer-hook): Doc fix.
13996
13997 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13998
13999 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14000 Make it safe-local.
14001
14002 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14003
14004 2013-03-23 Leo Liu <sdl.web@gmail.com>
14005
14006 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14007 Remove.
14008
14009 * nxml/rng-valid.el (rng-validate-mode)
14010 (rng-after-change-function, rng-do-some-validation):
14011 * nxml/rng-maint.el (rng-validate-buffer):
14012 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14013 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14014 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14015 (nxml-extend-after-change-region): Use with-silent-modifications.
14016
14017 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14018 timer-idle-list.
14019
14020 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14021 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14022 timer-idle-list. (Bug#13999)
14023
14024 2013-03-23 Juri Linkov <juri@jurta.org>
14025
14026 * info.el (info-index-match): New face.
14027 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14028 main pattern and add text properties with the new face to matches
14029 in index entries relative to the beginning of the index entry.
14030 (Bug#14015)
14031
14032 2013-03-21 Eric Ludlam <zappo@gnu.org>
14033
14034 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14035 Inhibit read only while inserting objects.
14036
14037 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14038
14039 * progmodes/cfengine.el: Update docs to mention
14040 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14041 symbol motion. Remove "_" from the word syntax.
14042
14043 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14044
14045 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14046 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14047
14048 2013-03-20 Juri Linkov <juri@jurta.org>
14049
14050 * info.el (Info-next-reference-or-link)
14051 (Info-prev-reference-or-link): New functions.
14052 (Info-next-reference, Info-prev-reference): Use them.
14053 (Info-try-follow-nearest-node): Handle footnote navigation.
14054 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14055
14056 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14057
14058 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14059 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14060
14061 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14062
14063 Suppress unnecessary non-ASCII chatter during build process.
14064 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14065 (batch-skkdic-convert): Suppress most of the chatter.
14066 It's not needed so much now that machines are faster,
14067 and its non-ASCII component was confusing; see Dmitry Gutov in
14068 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14069
14070 2013-03-20 Leo Liu <sdl.web@gmail.com>
14071
14072 * ido.el (ido-chop): Fix bug#10994.
14073
14074 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14075
14076 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14077 Remove vars.
14078 (whitespace-color-on, whitespace-color-off):
14079 Use `font-lock-fontify-buffer' (Bug#13817).
14080
14081 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14082
14083 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14084 remapping in mode-line.
14085 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14086
14087 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14088
14089 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14090 value for `whitespace-line' face (Bug#13875).
14091 (whitespace-font-lock-keywords): Change description.
14092 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14093 the constructed keywords instead.
14094 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14095
14096 2013-03-19 Leo Liu <sdl.web@gmail.com>
14097
14098 * progmodes/compile.el (compilation-display-error): New command.
14099 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14100 C-o. (Bug#13992)
14101
14102 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14103
14104 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14105
14106 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14107
14108 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14109
14110 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14111
14112 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14113
14114 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14115 * net/tramp-gvfs.el (top):
14116 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14117 (tramp-handle-shell-command): Use it.
14118 (tramp-dissect-file-name): Raise an error when hostname is a
14119 method name, and neither method nor user is specified.
14120
14121 * net/trampver.el: Update release number.
14122
14123 2013-03-18 Leo Liu <sdl.web@gmail.com>
14124
14125 Make sure eldoc can be turned off properly.
14126 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14127 eldoc-mode.
14128 (eldoc-display-message-p): Revert last change.
14129 (eldoc-display-message-no-interference-p)
14130 (eldoc-print-current-symbol-info): Tweak.
14131
14132 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14133
14134 * doc-view.el (doc-view-new-window-function): Check the new window
14135 overlay's display property instead the char property of the
14136 buffer's first char. Use `with-selected-window' instead of
14137 `save-window-excursion' with `select-window'.
14138 (doc-view-document->bitmap): Check the current doc-view overlay's
14139 display property instead the char property of the buffer's first char.
14140
14141 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14142
14143 Automate the build of ja-dic.el (Bug#13984).
14144 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14145 from the input, rather than assume that it's been done for us by the
14146 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14147 the current date into a ja-dic.el comment, as that complicates
14148 regression testing.
14149
14150 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14151
14152 * whitespace.el: Fix double evaluation.
14153 (whitespace-space, whitespace-hspace, whitespace-tab)
14154 (whitespace-newline, whitespace-trailing, whitespace-line)
14155 (whitespace-space-before-tab, whitespace-indentation)
14156 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14157 obsolete defvars.
14158 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14159 (whitespace-color-on): Use a single font-lock-add-keywords call.
14160 Fix double-evaluation of face variables.
14161
14162 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14163
14164 * net/tramp-adb.el (tramp-adb-parse-device-names):
14165 Use `start-process' instead of `call-process'. Otherwise, the
14166 function might be blocked under MS Windows. (Bug#13299)
14167
14168 2013-03-17 Leo Liu <sdl.web@gmail.com>
14169
14170 Extend eldoc to display info in the mode-line. (Bug#13978)
14171 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14172 (eldoc-mode-line-string): New variable.
14173 (eldoc-minibuffer-message): New function.
14174 (eldoc-message-function): New variable.
14175 (eldoc-message): Use it.
14176 (eldoc-display-message-p)
14177 (eldoc-display-message-no-interference-p):
14178 Support eldoc-post-insert-mode.
14179
14180 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14181 (eval-expression): Run it.
14182
14183 2013-03-17 Roland Winkler <winkler@gnu.org>
14184
14185 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14186 strings in the list of return values.
14187
14188 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14189
14190 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14191 radix before checking for HMS forms.
14192
14193 2013-03-16 Leo Liu <sdl.web@gmail.com>
14194
14195 * progmodes/scheme.el: Add indentation and font-locking for λ.
14196 (Bug#13975)
14197
14198 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14199
14200 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14201 token before point (bug#13942).
14202
14203 2013-03-16 Leo Liu <sdl.web@gmail.com>
14204
14205 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14206
14207 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14208
14209 * startup.el (command-line-normalize-file-name): Fix handling of
14210 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14211 <xfq.free@gmail.com> in
14212 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14213
14214 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14215
14216 Sync with Tramp 2.2.7.
14217
14218 * net/trampver.el: Update release number.
14219
14220 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14221
14222 * doc-view.el: Fix bug#13887.
14223 (doc-view-insert-image): Don't modify overlay associated to
14224 non-live windows, and implement horizontal centering of image in
14225 case it's smaller than the window.
14226 (doc-view-new-window-function): Force redisplay of new windows on
14227 doc-view buffers.
14228
14229 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14230
14231 * saveplace.el (save-place-alist-to-file): Don't sort
14232 `save-place-alist', just pretty-print it (bug#13882).
14233
14234 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14235
14236 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14237 Check whether `default-file-name-coding-system' is bound.
14238 It isn't in XEmacs.
14239
14240 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14241
14242 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14243 backquotes for `obsolete' (bug#13929).
14244
14245 * international/mule.el (find-auto-coding): Include file name in
14246 obsolescence warning (bug#13922).
14247
14248 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14249
14250 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14251 for CFEngine 3-specific indentation.
14252 (cfengine3-indent-line): Use it. Fix up category regex.
14253 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14254
14255 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 * type-break.el (type-break-file-name):
14258 * textmodes/remember.el (remember-data-file):
14259 * strokes.el (strokes-file):
14260 * shadowfile.el (shadow-initialize):
14261 * saveplace.el (save-place-file):
14262 * ps-bdf.el (bdf-cache-file):
14263 * progmodes/idlwave.el (idlwave-config-directory):
14264 * net/quickurl.el (quickurl-url-file):
14265 * international/kkc.el (kkc-init-file-name):
14266 * ido.el (ido-save-directory-list-file):
14267 * emulation/viper.el (viper-custom-file-name):
14268 * emulation/vip.el (vip-startup-file):
14269 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14270 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14271
14272 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14273
14274 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14275 * language/thai-word.el: Switch to UTF-8.
14276
14277 See ChangeLog.16 for earlier changes.
14278
14279 ;; Local Variables:
14280 ;; coding: utf-8
14281 ;; End:
14282
14283 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14284
14285 This file is part of GNU Emacs.
14286
14287 GNU Emacs is free software: you can redistribute it and/or modify
14288 it under the terms of the GNU General Public License as published by
14289 the Free Software Foundation, either version 3 of the License, or
14290 (at your option) any later version.
14291
14292 GNU Emacs is distributed in the hope that it will be useful,
14293 but WITHOUT ANY WARRANTY; without even the implied warranty of
14294 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14295 GNU General Public License for more details.
14296
14297 You should have received a copy of the GNU General Public License
14298 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.