Match special globals in Ruby better
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
4 Match special global variables without curlies, too.
5 (ruby-font-lock-keywords): Simplify the matcher for special global
6 variables. Don't require a non-word character after the variable.
7 (Bug#17057)
8
9 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * simple.el (redisplay-highlight-region-function): Increase priority of
12 overlay to make sure boundaries are visible (bug#15899).
13
14 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
15
16 * frameset.el (frameset-restore): Compare display strings with equal.
17
18 * frame.el (make-frame): Don't quote display name in error message,
19 it is already a string.
20
21 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22
23 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
24 the password.
25
26 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
27
28 * emacs-lisp/package.el (package-show-package-list): If the buffer
29 is already displayed in another window, switch to that window.
30
31 2014-03-21 Daniel Colascione <dancol@dancol.org>
32
33 * mail/emacsbug.el (report-emacs-bug): Include memory usage
34 information in bug reports.
35
36 2014-03-23 Daniel Colascione <dancol@dancol.org>
37
38 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
39 list to look for keyword arguments instead of `memq', fixing
40 (Bug#3647) --- unfortunately, only for freshly-compiled code.
41 Please make bootstrap.
42
43 2014-03-23 Richard Stallman <rms@gnu.org>
44
45 * battery.el (battery-linux-sysfs): Search for each field
46 from the beginning of the buffer.
47
48 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
49
50 * emacs-lisp/package.el (package-desc): Use the contents of the
51 quoted form, not its cdr. (Bug#16873)
52
53 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
54
55 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
56 benefit of doc.c; change parameter profile to match the X function.
57
58 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
59
60 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
61 and `tramp-copy-env'.
62
63 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
64 (tramp-maybe-open-connection): Handle `tramp-login-env'.
65
66 2014-03-21 Glenn Morris <rgm@gnu.org>
67
68 * electric.el (electric-indent-post-self-insert-function): Add doc.
69
70 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
71
72 * emacs-lisp/package.el (package-compute-transaction):
73 Use `version-list-<=' to compare the requirement version against
74 the version of package already to be installed. Update the error
75 message. (Bug#16826)
76
77 * progmodes/ruby-mode.el (ruby-smie-rules):
78 Add indentation rule for ` @ '. (Bug#17050)
79
80 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
81
82 * align.el (align-regexp): Remove superfluous backslash.
83
84 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
85 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
86 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
87 Fix docstring typos.
88 (ffap-next): Use C-u in docstring.
89 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
90 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
91 Remove superfluous backslashes.
92 (ffap-string-at-point): Reflow docstring.
93
94 * server.el (server-host): Reflow docstring.
95 (server-unload-function): Fix docstring typo.
96 (server-eval-at): Remove superfluous backslash.
97
98 * skeleton.el (skeleton-insert): Remove superfluous backslash.
99 (skeleton-insert): Doc fix.
100 (skeleton-insert): Reflow docstring.
101
102 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
103 (tty-color-approximate, tty-color-by-index, tty-color-values)
104 (tty-color-desc): Remove superfluous backslashes.
105
106 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * electric.el (electric-newline-and-maybe-indent): New command.
109 Bind it globally to C-j.
110 (electric-indent-mode): Don't mess with the global map any more.
111 Don't drop the post-self-insert-hook is some buffer is still using it
112 (bug#16770).
113 * bindings.el (global-map): Remove C-j binding.
114
115 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
116 the docstring of functions advised before dumping (bug#16993).
117
118 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
119
120 * ps-print.el (ps-generate-postscript-with-faces):
121 Explicitly deactivate the mark (bug#16866).
122 * simple.el (deactivate-mark): Update region highlight.
123
124 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
125
126 * emacs-lisp/package.el (describe-package-1):
127 Decode commentary (bug#16733).
128
129 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
130
131 * custom.el (defcustom): Doc fix: recommend avoiding destructive
132 modification of the value argument of :set (bug#16755).
133
134 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * simple.el (newline-and-indent): Do autofill (bug#17031).
137
138 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
139
140 * newcomment.el (comment-normalize-vars): Only add escaping check
141 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
142 (comment-beginning): Use `narrow-to-region' instead of moving back
143 one character.
144 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
145 (comment-start-skip): Update the docstring.
146
147 2014-03-18 Richard Stallman <rms@gnu.org>
148
149 * dired.el (dired-display-file): Force use of other window.
150
151 2014-03-18 Daniel Colascione <dancol@dancol.org>
152
153 * startup.el (tty-handle-args): Remove debug message from 2007.
154
155 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
158 (advice--make-interactive-form): Use it to avoid (auto)loading function.
159 (advice--make-1, advice-add, advice-remove):
160 Remove braindead :advice-pending hack.
161
162 2014-03-17 Glenn Morris <rgm@gnu.org>
163
164 * calendar/calendar.el (calendar-generate-month): Apply weekend
165 face to the right days; fixes 2013-08-06 change. (Bug#17028)
166
167 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
168
169 * net/tramp.el (tramp-action-out-of-band): Read pending output.
170 (tramp-call-process): Trace also DESTINATION.
171
172 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
173 Quote file names when they are local. Remove superfluous trace.
174
175 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
176
177 * newcomment.el (comment-beginning): If `comment-start-skip'
178 doesn't match, move back one char and try again. (Bug#16971)
179
180 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
181 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
182 Set `comment-start-skip' to a simpler value that doesn't try to
183 check if the semicolon is escaped (this is handled by
184 `syntax-ppss' now). (Bug#16971)
185
186 * progmodes/scheme.el (scheme-mode-variables): Same.
187
188 2014-03-16 Martin Rudalics <rudalics@gmx.at>
189
190 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
191 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
192 current (Bug#16816, Bug#17007).
193 (with-current-buffer-window): New macro doing the same as
194 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
195 * help.el (help-print-return-message): Warn in doc-string to not
196 use this in `with-help-window'.
197 (describe-bindings-internal): Call `describe-buffer-bindings'
198 from within help buffer. See Juanma's scenario in (Bug#16816).
199 (with-help-window): Update doc-string.
200 * dired.el (dired-mark-pop-up):
201 * files.el (save-buffers-kill-emacs):
202 * register.el (register-preview): Use `with-current-buffer-window'
203 instead of `with-temp-buffer-window'.
204
205 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
206
207 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
208 Implement inserting into current buffer, documented in their docstrings.
209 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
210 (rst-section-tree-point, rst-forward-section, rst-indent)
211 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
212 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
213 (rst-font-lock-handle-adornment-pre-match-form)
214 (rst-repeat-last-character): Reflow docstrings.
215 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
216 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
217 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
218 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
219 Fix docstring typos.
220 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
221 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
222 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
223
224 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
225
226 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
227 for compatibility with other ports.
228 (ns-initialize-window-system): Use it. It is set in term/common-win.el
229 from the -xrm command line argument, but in the Nextstep port its value
230 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
231
232 * progmodes/python.el (defconst, python-syntax-count-quotes)
233 (python-indent-region, python-indent-shift-right)
234 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
235 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
236 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
237 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
238 (inferior-python-mode, python-shell-make-comint, run-python-internal)
239 (python-shell-buffer-substring, python-shell-send-buffer)
240 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
241 (python-completion-complete-at-point, python-fill-docstring-style)
242 (python-eldoc-function, python-imenu-format-item-label)
243 (python-imenu-format-parent-item-label)
244 (python-imenu-format-parent-item-jump-label)
245 (python-imenu--build-tree, python-imenu-create-index)
246 (python-imenu-create-flat-index): Fix docstring typos.
247 (python-indent-context, python-shell-prompt-regexp, run-python):
248 Remove superfluous backslashes.
249 (python-indent-line, python-nav-beginning-of-defun)
250 (python-shell-get-buffer, python-shell-get-process)
251 (python-info-current-defun, python-info-current-line-comment-p)
252 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
253 (python-indent-post-self-insert-function, python-shell-send-file)
254 (python-shell-completion-get-completions)
255 (python-shell-completion-complete-or-indent)
256 (python-eldoc--get-doc-at-point): Reflow docstrings.
257
258 2014-03-14 Glenn Morris <rgm@gnu.org>
259
260 * emacs-lisp/package.el (package-menu-mode-map):
261 Replace use of obsolete function alias. Tweak menu item text.
262
263 * info.el (Info-finder-find-node):
264 Ignore the `emacs' metapackage. (Bug#10813)
265
266 * finder.el (finder-list-matches): Include unversioned packages
267 in the result of a keyword search.
268
269 * finder.el (finder--builtins-descriptions): New constant.
270 (finder-compile-keywords): Use finder--builtins-descriptions.
271
272 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
273
274 * simple.el (blink-matching-paren): Describe the new value,
275 `jump', enabling the old behavior.
276 (blink-matching-open): Use that value. (Bug#17008)
277
278 2014-03-14 Glenn Morris <rgm@gnu.org>
279
280 * finder.el (finder-no-scan-regexp): Add leim-list.
281 (finder-compile-keywords):
282 Don't skip files with same basename. (Bug#14010)
283 * Makefile.in (setwins_finder): New, excluding leim.
284 (finder-data): Use setwins_finder.
285
286 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
287 (help-function-arglist, help-make-usage): Move from here...
288 * help.el (help-split-fundoc, help-add-fundoc-usage)
289 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
290 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
291
292 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
293
294 * net/socks.el (socks, socks-override-functions)
295 (socks-find-services-entry):
296 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
297 (hif-find-ifdef-block):
298 * progmodes/modula2.el (m2-indent): Fix docstring typos.
299
300 * net/tls.el (tls-program): Reflow docstring.
301
302 * progmodes/pascal.el (pascal-mode-abbrev-table)
303 (pascal-imenu-generic-expression, pascal-auto-endcomments)
304 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
305 (pascal-outline-mode): Fix docstring typos.
306 (pascal-mode): Let define-derived-mode document mode hook.
307 (pascal-uncomment-area): Reflow.
308 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
309
310 * progmodes/opascal.el (opascal-compound-block-indent)
311 (opascal-case-label-indent): Fix docstring typos.
312 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
313
314 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
315
316 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
317 Fontify multiple adjacent negation chars. (Bug#17004)
318
319 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
320
321 * emacs-lisp/package.el (package--prepare-dependencies):
322 Accept requirements without explicit version (bug#14941).
323
324 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
325
326 * register.el (register-separator, copy-to-register): Doc fixes.
327 (register-preview-default): Remove unnecessary call to concat.
328
329 * frameset.el (frameset-restore): When checking for a visible frame,
330 use the action map instead of calling visible-frame-list.
331
332 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
333
334 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
335
336 2014-03-12 Martin Rudalics <rudalics@gmx.at>
337
338 * window.el (fit-frame-to-buffer): Get maximum width from
339 display's width instead of height.
340
341 2014-03-12 Glenn Morris <rgm@gnu.org>
342
343 * desktop.el (desktop-restore-frames)
344 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
345 (desktop-restore-reuses-frames): Doc tweaks.
346
347 * electric.el (electric-indent-mode): Doc fix.
348
349 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
350
351 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
352 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
353 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
354 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
355 (cvs-dired-use-hook): Fix docstring typos.
356 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
357 Doc fixes.
358
359 * vc/pcvs-defs.el (cvs-auto-remove-handled)
360 (cvs-auto-remove-directories, cvs-default-ignore-marks)
361 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
362 (cvs-execute-single-dir): Fix docstring typos.
363
364 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
365 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
366
367 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
368
369 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
370 Fix docstring typos.
371
372 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
373
374 * frameset.el (frameset--jump-to-register): Add autoload; it could be
375 called from jump-to-register after unloading the frameset package.
376
377 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
380 (bug#16975). Deactivate the mark before setting it to nil.
381 (activate-mark): Do nothing if region is already active.
382
383 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
384
385 * frameset.el (frameset--target-display): Remove definition; declare.
386 (frameset-save, frameset-restore): Let-bind frameset--target-display.
387
388 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
391 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
392 when the advice is pending.
393 (advice-remove): Remove this marker when not needed any more.
394
395 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
396
397 * frameset.el: Separate options for reusing frames and cleaning up.
398 (frameset--reuse-list): Remove definition; declare.
399 (frameset--action-map): Declare.
400 (frameset--find-frame-if): Doc fix.
401 (frameset--restore-frame): Cache frame action.
402 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
403 how to clean up the frame list after restoring. Remove cleaning
404 options from REUSE-FRAMES. Change all keyword values to symbols.
405 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
406
407 * desktop.el (desktop-restore-forces-onscreen)
408 (desktop-restore-reuses-frames): Use non-keyword values.
409 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
410
411 2014-03-10 Glenn Morris <rgm@gnu.org>
412
413 * files.el (find-file): Doc fix: update info node name.
414
415 * emacs-lisp/advice.el (ad-add-advice, defadvice):
416 Doc fix: remove references to deleted info nodes.
417
418 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
419
420 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
421 Do not add `nil' to the environment, when there's no remote `locale'.
422 (tramp-find-inline-encoding): Check, that the remote host has
423 installed perl, before sending scripts.
424
425 2014-03-10 Leo Liu <sdl.web@gmail.com>
426
427 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
428 Clear eldoc-last-message. (Bug#16920)
429
430 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
433 (bug#14430).
434
435 2014-03-09 Juri Linkov <juri@jurta.org>
436
437 * ansi-color.el (ansi-color-names-vector): Copy default colors
438 from `xterm-standard-colors' that look well on the default white
439 background (and also on the black background) to avoid illegible
440 color combinations like yellow-on-white and white-on-white.
441 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
442
443 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
444
445 * frameset.el (frameset-restore): When no frame is visible, do not
446 generate a list of frames, just make visible the selected one.
447
448 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
449
450 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
451 it only contains the repository root. (Bug#16897)
452
453 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
454
455 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
456 only when `remote-file-name-inhibit-cache' is nil.
457 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
458
459 2014-03-06 Martin Rudalics <rudalics@gmx.at>
460
461 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
462 Fix doc-strings.
463 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
464 fit-frame-to-buffer variable. Fix doc-string.
465 (fit-window-to-buffer): Set ONLY argument in call of
466 fit-frame-to-buffer. Fix doc-string.
467
468 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
469
470 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
471 (tramp-action-password): Clear password cache if needed.
472 (tramp-read-passwd): Do not clear password cache.
473
474 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
475 cache unless it is the first password request.
476
477 2014-03-06 Glenn Morris <rgm@gnu.org>
478
479 * simple.el (newline): Doc tweak.
480
481 * emacs-lisp/shadow.el (load-path-shadows-find):
482 Ignore dir-locals. (Bug#12357)
483
484 2014-03-05 Glenn Morris <rgm@gnu.org>
485
486 * files.el (interpreter-mode-alist):
487 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
488
489 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
490
491 * frameset.el (frameset--initial-params): Filter out null entries.
492
493 2014-03-05 Martin Rudalics <rudalics@gmx.at>
494
495 * window.el (window-min-height, window-min-width):
496 Rewrite doc-strings.
497 (window-body-size): Add PIXELWISE argument to make it consistent
498 with its callees.
499
500 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
501
502 * finder.el (finder-mode-map, finder-mode-syntax-table):
503 Revert part of 2014-02-28 change.
504
505 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
506
507 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
508 (eww-setup-buffer): Clear next/prev/etc more reliably.
509 (eww-textarea-map): [tab] doesn't work on tty.
510 Reported by Mario Lang.
511
512 * net/shr.el (shr-map): Ditto.
513
514 2014-03-04 Glenn Morris <rgm@gnu.org>
515
516 * minibuffer.el (completion-hilit-commonality):
517 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
518
519 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
520
521 * hilit-chg.el (hilit-chg-unload-function): New function.
522 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
523 (hilit-chg-map-changes): Prefer cardinal number to digit.
524 (hilit-chg-display-changes): Reflow docstring.
525 (highlight-changes-rotate-faces): Remove superfluous backslash.
526
527 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
528
529 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
530 `tramp-send-command-and-check'.
531
532 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
533
534 * hexl.el (hexl-address-region, hexl-ascii-region)
535 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
536 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
537 (hexl-forward-word, hexl-previous-line, hexl-next-line):
538 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
539 (hexl-mode): Doc fix.
540 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
541 (hexl-mode-ruler): Fix typos in docstrings.
542
543 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
544 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
545 Remove superfluous backslashes.
546 (strokes-last-stroke, strokes-global-map, strokes-mode):
547 Reflow docstrings.
548 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
549 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
550 (strokes-distance-squared, strokes-global-set-stroke)
551 (strokes-global-set-stroke-string): Doc fixes.
552 (strokes-help): Fix typos; reflow docstring.
553
554 2014-03-04 Martin Rudalics <rudalics@gmx.at>
555
556 * window.el (window-in-direction): Fix doc-string.
557
558 2014-03-04 Glenn Morris <rgm@gnu.org>
559
560 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
561 Explicit error if no grammar.
562 (smie-config-save): Doc fix. Fix quote typo.
563
564 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
567 electric-indent-mode-hook if we obey electric-indent-mode.
568 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
569 decide whether we obey electric-indent-mode.
570 (c-change-set-fl-decl-start, c-extend-after-change-region):
571 Silence warnings.
572 (c-electric-indent-mode-hook): Assume we do want to obey
573 electric-indent-mode.
574
575 * electric.el (electric-indent-mode-has-been-called): Remove.
576 (electric-indent-mode): Fix accordingly.
577
578 * files.el (hack-local-variables): Mention file name in warning.
579
580 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
581
582 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
583
584 * binding.el: Add comment describing why C-d binds to `delete-char'.
585 * simple.el (delete-forward-char): Mark as interactive-only.
586
587 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
588
589 * icomplete.el (icomplete-completions):
590 Follow-up to 2014-03-01 change.
591
592 * icomplete.el: Miscellaneous doc fixes.
593 Use Icomplete everywhere instead of icomplete for consistency.
594 (icomplete-max-delay-chars): Fix typo.
595 (icomplete-mode): Use \[].
596 (icomplete-tidy, icomplete-exhibit): Reflow.
597 (icomplete-minibuffer-setup-hook, icomplete-completions):
598 Remove superfluous backlashes.
599
600 * ido.el: Miscellaneous doc fixes.
601 Use Ido everywhere instead of ido or `ido' for consistency.
602 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
603 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
604 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
605 (ido-separator): Extract obsolescence info from docstring and declare
606 with make-obsolete-variable.
607 (ido-minibuffer-setup-hook): Simplify example.
608 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
609 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
610 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
611 (ido-everywhere): Reflow docstring.
612 (ido-toggle-vc): Doc fix.
613 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
614 of long list of keybindings.
615
616 2014-03-03 Glenn Morris <rgm@gnu.org>
617
618 * frame.el (display-pixel-height, display-pixel-width)
619 (display-mm-dimensions-alist, display-mm-height)
620 (display-mm-width): Doc tweaks.
621
622 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
623
624 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
625 case of undo in region.
626
627 2014-03-02 Martin Rudalics <rudalics@gmx.at>
628
629 * window.el (fit-window-to-buffer): Fix argument in window-size
630 call when window is horizontally combined.
631
632 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
633
634 * icomplete.el (icomplete-completions): Use string-width.
635 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
636
637 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
638
639 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
640 Highlight regexp options. (Bug#16914)
641
642 2014-03-01 Martin Rudalics <rudalics@gmx.at>
643
644 * window.el (window--max-delta-1): Round down when calculating
645 how many lines/columns we can get from a window.
646
647 2014-03-01 Glenn Morris <rgm@gnu.org>
648
649 * isearch.el (search-invisible): Doc fix.
650
651 * minibuffer.el (completion-hilit-commonality):
652 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
653 * comint.el (comint-dynamic-list-completions): Doc fix.
654 * comint.el (comint-dynamic-list-completions):
655 * filecache.el (file-cache-minibuffer-complete):
656 * tempo.el (tempo-display-completions):
657 * eshell/em-hist.el (eshell-list-history):
658 Replace use of obsolete argument of display-completion-list.
659
660 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
661
662 * icomplete.el (icomplete-completions):
663 Revert back to using "..." when ?… cannot be displayed.
664
665 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
666
667 * finder.el (finder-unload-function): New function.
668
669 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
670
671 * dframe.el (dframe-detach):
672 * find-dired.el (find-dired, find-name-dired):
673 * finder.el (finder-mode-map, finder-mode-syntax-table)
674 (finder-headmark, finder-select, finder-mouse-select):
675 Fix docstring typos.
676
677 2014-02-28 Martin Rudalics <rudalics@gmx.at>
678
679 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
680 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
681 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
682 Fix doc-string based on a suggestion by Nicolas Richard
683 <theonewiththeevillook@yahoo.fr>.
684 * help.el (with-help-window): Fix doc-string.
685
686 2014-02-28 Ivan Kanis <ivan@kanis.fr>
687
688 * net/shr.el (shr-image-animate): New option.
689 (shr-put-image): Respect shr-image-animate.
690
691 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
692
693 * net/tramp-adb.el (tramp-adb-parse-device-names):
694 Use `accept-process-output'.
695 (tramp-adb-handle-file-truename): Cache the localname only.
696 (tramp-adb-handle-make-directory)
697 (tramp-adb-handle-delete-directory): Flush file properties correctly.
698 (tramp-adb-handle-set-file-modes): Do not raise an error when file
699 modes cannot be changed.
700
701 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
702 file properties of symlinks.
703
704 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
705
706 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
707 required/optional fields to match development biblatex. (Bug#16781)
708
709 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
710
711 * saveplace.el (toggle-save-place):
712 Fix argument handling. (Bug#16673)
713
714 2014-02-28 Glenn Morris <rgm@gnu.org>
715
716 * minibuffer.el (completions-first-difference)
717 (completions-common-part, completion-hilit-commonality): Doc fixes.
718
719 2014-02-28 Karl Berry <karl@gnu.org>
720
721 * info.el (Info-mode-map): Add H for describe-mode,
722 to synchronize with standalone Info.
723
724 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
725
726 * progmodes/sql.el (sql-interactive-mode):
727 Avoid setting global comint-input-ring-separator. (Bug#16814)
728
729 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
730
731 * net/dbus.el (dbus--init-bus): Declare function.
732 (dbus-path-local, dbus-interface-local): New defconst.
733 (dbus-init-bus): Use them.
734 (dbus-return-values-table): Extend doc.
735 (dbus-handle-bus-disconnect): Extend error message.
736
737 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
738
739 * subr.el (y-or-n-p): Fix double space issue in message.
740
741 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
742
743 * net/tramp.el (tramp-call-process): Improve trace message.
744 (tramp-handle-insert-file-contents): Trace error case.
745
746 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
747 <insert-directory>: Use `tramp-handle-insert-directory'.
748 (tramp-adb-handle-insert-directory): Remove function.
749 (tramp-adb-send-command-and-check): New defun, replacing
750 `tramp-adb-command-exit-status'. Change all callees.
751 (tramp-adb-handle-file-attributes)
752 (tramp-adb-handle-directory-files-and-attributes): Use it.
753 (tramp-adb-ls-output-name-less-p):
754 Use `directory-listing-before-filename-regexp'.
755 (tramp-adb-handle-delete-directory): Flush also file properties of
756 the truename of directory.
757 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
758 (tramp-adb-handle-file-local-copy): Make the local copy readable.
759 (tramp-adb-handle-write-region): Implement APPEND.
760 (tramp-adb-handle-rename-file): Make it more robust. Flush file
761 properties correctly.
762 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
763 variables. Check for connected devices only when needed.
764
765 2014-02-27 Glenn Morris <rgm@gnu.org>
766
767 * minibuffer.el (completion-table-dynamic)
768 (completion-table-with-cache): Doc fixes.
769
770 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
771 (completing-read-multiple): Doc fixes.
772
773 2014-02-27 Daniel Colascione <dancol@dancol.org>
774
775 * minibuffer.el (completion--nth-completion): Fix indentation.
776
777 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
778 explicit tramp path is empty.
779
780 2014-02-27 Glenn Morris <rgm@gnu.org>
781
782 * emacs-lisp/crm.el (completing-read-multiple):
783 Empower help-enable-auto-load.
784
785 2014-02-26 Glenn Morris <rgm@gnu.org>
786
787 * startup.el (command-line): Don't init the tty in daemon mode.
788
789 Avoid calling tty-setup-hook twice, eg if a term file
790 explicitly calls tty-run-terminal-initialization. (Bug#16859)
791 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
792 (tty-create-frame-with-faces): Use it.
793 * startup.el (command-line): Pass run-hook argument
794 to tty-run-terminal-initialization.
795
796 * dired.el (dired-restore-desktop-buffer): Demote errors;
797 eg in case a glob match fails. (Bug#16884)
798
799 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
800
801 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
802 error from `read-from-string'. (Bug#16850)
803
804 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
805 result of `completing-read' in the interactive form. (Bug#16854)
806
807 2014-02-25 Glenn Morris <rgm@gnu.org>
808
809 * image.el (image-animate, image-animate-timeout):
810 Stop animating images in dead buffers. (Bug#16878)
811
812 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
813
814 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
815 Doc fixes.
816 * startup.el (term-setup-hook): Doc fix. Make obsolete.
817 * term/sun.el (sun-raw-prefix-hooks):
818 Use tty-setup-hook instead of term-setup-hook.
819 (terminal-init-sun): Construct message from bytecomp plist.
820 * term/wyse50.el (enable-arrow-keys): Doc fix.
821
822 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
823
824 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
825 Fix docstring typos.
826
827 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
828
829 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
830
831 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
832
833 * minibuffer.el (completion--try-word-completion):
834 Fix error when completing M-x commands (bug#16808).
835
836 2014-02-24 Leo Liu <sdl.web@gmail.com>
837
838 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
839
840 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
841
842 * apropos.el (apropos-print): Avoid formatting error when
843 apropos-do-all and apropos-compact-layout are both t.
844
845 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
846
847 * apropos.el (apropos-property, apropos-all-words-regexp)
848 (apropos-true-hit, apropos-variable, apropos-print):
849 Fix docstring typos, and remove obsolete comment.
850
851 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
852
853 * net/tramp-sh.el (tramp-sh-handle-file-truename):
854 Preserve trailing "/". (Bug#16851)
855
856 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
857
858 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
859 after `=>' (bug#16811).
860 (ruby-smie-rules): Handle the inconsistent second element of the
861 list returned by `smie-indent--parent'.
862 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
863 method call.
864
865 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
866
867 * elec-pair.el (electric-pair-text-syntax-table)
868 (electric-pair-syntax-info, electric-pair--syntax-ppss)
869 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
870 (electric-pair--looking-at-unterminated-string-p): Doc fix.
871 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
872
873 2014-02-22 Glenn Morris <rgm@gnu.org>
874
875 * imenu.el (imenu--generic-function): Doc fix.
876
877 * register.el (frame-configuration-to-register): Make obsolete.
878
879 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
880
881 * desktop.el (desktop-save-buffer-p): Do not fail when
882 desktop-files-not-to-save is nil. Return t for true result
883 as the doc says.
884
885 2014-02-22 Daniel Colascione <dancol@dancol.org>
886
887 * net/secrets.el (secrets-create-item, secrets-search-items):
888 Check that attribute values are strings, avoiding the construction
889 of invalid dbus messages.
890
891 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
892
893 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
894 defun-declarations-alist.
895
896 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
899 (bug#16829).
900
901 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
902
903 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
904 (whitespace-newline, whitespace-trailing, whitespace-line)
905 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
906 (whitespace-space-after-tab): Fix typo in docstrings.
907
908 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
909
910 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
911
912 * electric.el (electric-indent-functions-without-reindent):
913 Add `yaml-indent-line'.
914
915 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
916
917 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
918 It has done nothing for years; should be removed after the release.
919
920 * simple.el (choose-completion): Fix docstring typo.
921 (read-quoted-char-radix): Remove unneeded * in docstring.
922 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
923 Don't escape parentheses unnecessarily in docstrings.
924
925 2014-02-21 Martin Rudalics <rudalics@gmx.at>
926
927 Fix handling of window-min-height/-width (Bug#16738).
928 * window.el (window--dump-window, window--dump-frame):
929 New functions.
930 (window--min-size-1): Account for window dividers.
931 When window-resize-pixelwise is nil, delay rounding till after the
932 sum of the window components has been calculated.
933 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
934 nil make sure at least one text line and two text columns remain
935 fully visible.
936 (window-resize): Signal an error when window-resize-apply fails.
937 (window--resize-child-windows): Fix calculation of by how many
938 pixels a window can still be shrunk via window-new-normal.
939 (adjust-window-trailing-edge): Call window--resizable with
940 correct TRAIL argument.
941
942 (with-temp-buffer-window): Don't evaluate BODY within
943 with-current-buffer (Bug#16816).
944
945 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
946
947 * net/tramp.el (tramp-check-cached-permissions):
948 Call `file-attributes' with `suffix' being a symbol but a string.
949
950 2014-02-21 Daniel Colascione <dancol@dancol.org>
951
952 * net/dbus.el (dbus-init-bus-1): Declare new subr.
953 (dbus-init-bus): New function: call into dbus-init-bus-1
954 and installs a handler for the disconnect signal.
955 (dbus-call-method): Rewrite to look for result in cons.
956 (dbus-call-method-handler): Store result in cons.
957 (dbus-check-event): Recognize events with nil sender as valid.
958 (dbus-handle-bus-disconnect): New function. React to bus
959 disconnection signal by synthesizing dbus error for each
960 pending synchronous or asynchronous call.
961 (dbus-notice-synchronous-call-errors): New function.
962 (dbus-handle-event): Raise errors directly only when `dbus-debug'
963 is true, not all the time.
964
965 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
966
967 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
968 Remove obsolescence declarations, these variables do not exist anymore.
969
970 * savehist.el (savehist-save-minibuffer-history)
971 (savehist-additional-variables, savehist-file, savehist-mode-hook)
972 (savehist-save-hook, savehist-coding-system, savehist-loaded)
973 (savehist-load, savehist-install, savehist-autosave): Fix typos;
974 mostly, refer to "Savehist mode" when talking about the mode,
975 and not the function.
976
977 * saveplace.el (save-place): Remove redundant info in docstring.
978 (save-place-forget-unreadable-files, toggle-save-place)
979 (save-place-forget-unreadable-files, save-place-dired-hook):
980 Fix typos and remove unneeded backslashes.
981
982 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
983
984 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
985 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
986
987 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
988 <insert-directory>: Use `tramp-handle-insert-directory'.
989 (tramp-gvfs-handle-insert-directory): Remove function.
990
991 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
992 Call `tramp-handle-insert-directory'.
993
994 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
995
996 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
997 before the start of buffer/region (bug#16799).
998
999 2014-02-20 Glenn Morris <rgm@gnu.org>
1000
1001 * isearch.el (search-invisible): Doc fix.
1002
1003 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1004
1005 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1006 (bug#16657).
1007
1008 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1009
1010 * frameset.el (frameset-restore): Delay removing an old frame's
1011 duplicate id until the new frame has been correctly created.
1012
1013 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1014
1015 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1016 (tramp-check-cached-permissions): Call `file-attributes' if the
1017 cache is empty.
1018
1019 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1020 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1021
1022 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1023 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1024 (tramp-gvfs-maybe-open-connection): Set always connection
1025 properties, even if target is mounted already.
1026
1027 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1028 Set tramp-autoload cookie.
1029 (tramp-get-remote-touch): New defun.
1030 (tramp-sh-handle-set-file-times): Use it.
1031 (tramp-sh-handle-directory-files-and-attributes):
1032 Use `tramp-handle-directory-files-and-attributes' if neither stat
1033 nor perl are available on the remote host.
1034
1035 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1036 "/". Write long listing only when "l" belongs to the switches.
1037
1038 * net/trampver.el: Update release number.
1039
1040 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1041
1042 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1043
1044 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1045
1046 * window.el (window-state-put): Allow WINDOW to refer to an
1047 internal window (Bug#16793).
1048
1049 2014-02-19 Glenn Morris <rgm@gnu.org>
1050
1051 * textmodes/remember.el: Move provide statement to end.
1052 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1053 (remember-notes): Doc fixes.
1054
1055 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1056
1057 * delsel.el (delete-char): Restore incorrectly erased property
1058 (bug#16795).
1059
1060 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1061
1062 * frameset.el (frameset--restore-frame): When a frame is being reused
1063 and its root window is not alive, delete all the frame's windows before
1064 restoring the window state. This works around the issue in bug#16793.
1065
1066 2014-02-18 Glenn Morris <rgm@gnu.org>
1067
1068 * textmodes/remember.el (remember-data-directory)
1069 (remember-directory-file-name-format, remember-store-in-files)
1070 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1071 (remember-notes-save-and-bury-buffer)
1072 (remember-notes--kill-buffer-query): Doc fixes.
1073
1074 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1075
1076 2014-02-17 Alan Mackenzie <acm@muc.de>
1077
1078 Connect electric-indent-mode up with CC Mode. Bug #15478.
1079 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1080 to electric-indent-{,local-}-mode.
1081 (c-basic-common-init): Set electric-indent-inhibit.
1082 Initialise c-electric-flag from electric-indent-mode.
1083 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1084 New hook functions which propagate electric-indent-mode to CC mode.
1085
1086 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1087 hit, toggle electric-indent-local-mode.
1088
1089 * electric.el (electric-indent-mode-has-been-called):
1090 New variable.
1091
1092 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1093
1094 * frameset.el (frameset-cfg-id): New function.
1095 (frameset--reuse-frame, frameset-restore): Use it.
1096 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1097
1098 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * ido.el (ido-file-internal): Remove unused var `d'.
1101 Use \` for to match BoS. Fit within 80n columns.
1102
1103 2014-02-17 Daniel Colascione <dancol@dancol.org>
1104
1105 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1106 dbus-call-method check for completion using a busy-wait loop with
1107 gradual backoff.
1108
1109 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1110
1111 Sync with Tramp 2.2.9.
1112
1113 * net/trampver.el: Update release number.
1114
1115 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1116
1117 * ido.el (ido-file-internal): Don't add the name of an existing
1118 directory twice. (Bug#16747)
1119
1120 2014-02-16 Glenn Morris <rgm@gnu.org>
1121
1122 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1123 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1124
1125 2014-02-15 Michael R. Mauger <michael@mauger.com>
1126
1127 * progmodes/sql.el: Version 3.4
1128 (sql-oracle-options): New default value ("-L").
1129 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1130 (sql-placeholders-filter): Correct placeholder pattern.
1131 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1132 (sql-login-delay): New variable.
1133 (sql-product-interactive): Use it.
1134
1135 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1136
1137 * frameset.el (frameset--jump-to-register): Check that buffer is live
1138 (bug#16749).
1139
1140 2014-02-15 Glenn Morris <rgm@gnu.org>
1141
1142 * info.el (info-initialize): Revert 2014-01-10 change.
1143
1144 2014-02-14 Glenn Morris <rgm@gnu.org>
1145
1146 * replace.el (map-query-replace-regexp)
1147 (read-regexp-defaults-function, read-regexp): Doc fixes.
1148
1149 * dired.el (dired-read-regexp):
1150 * faces.el (list-faces-display):
1151 * misearch.el (multi-isearch-read-matching-buffers)
1152 (multi-isearch-read-matching-files):
1153 * play/cookie1.el (cookie-apropos):
1154 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1155
1156 * textmodes/remember.el (remember): Use frameset-to-register
1157 rather than frame-configuration-to-register.
1158
1159 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1160
1161 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1162 incorrect keybinding.
1163
1164 2014-02-13 Daniel Colascione <dancol@dancol.org>
1165
1166 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1167 when adding overlays so that line numbers from compiler match line
1168 numbers we use.
1169
1170 2014-02-13 Glenn Morris <rgm@gnu.org>
1171
1172 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1173
1174 * jit-lock.el (jit-lock-mode): Doc fix.
1175
1176 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1177
1178 * apropos.el (apropos-read-pattern): When the user passes an empty
1179 string, give a more helpful error message than "Wrong type
1180 argument: stringp, nil".
1181
1182 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1185
1186 2014-02-13 Glenn Morris <rgm@gnu.org>
1187
1188 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1189
1190 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1193 shift-select commands.
1194
1195 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1196
1197 * progmodes/js.el (js-indent-line): Don't widen.
1198 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1199
1200 2014-02-12 Glenn Morris <rgm@gnu.org>
1201
1202 * icomplete.el (icomplete): Add info-link to defgroup.
1203 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1204 (icomplete-minibuffer-map, icomplete-mode)
1205 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1206
1207 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1208 (package-menu-filter): Rename from package-menu-filter-interactive.
1209 Doc fix.
1210
1211 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1212
1213 * frameset.el (frameset--jump-to-register): Select the required
1214 window and buffer before restoring position (bug#16696).
1215
1216 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1217
1218 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1219
1220 2014-02-10 Glenn Morris <rgm@gnu.org>
1221
1222 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1223
1224 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1225
1226 * w32-common-fns.el (x-get-selection): Doc fix.
1227 * select.el (x-get-selection): Doc fix. (Bug#15109)
1228
1229 * face-remap.el (face-remap-add-relative)
1230 (face-remap-remove-relative, face-remap-reset-base)
1231 (face-remap-set-base): Call force-mode-line-update to redisplay
1232 the current buffer due to potential change in faces. (Bug#16709)
1233
1234 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1235
1236 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1237 script more robustly.
1238
1239 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1240
1241 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1242
1243 * simple.el (choose-completion): Doc fix (bug#14160).
1244
1245 * subr.el (event-start): Say what a nil EVENT value means.
1246
1247 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1248 (bug#14197).
1249
1250 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1251
1252 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1253
1254 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1255
1256 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1257 predicate function (bug#15455).
1258
1259 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1260
1261 * ielm.el (inferior-emacs-lisp-mode): Instead of
1262 `comment-use-global-state', set `comment-use-syntax'.
1263
1264 2014-02-10 Glenn Morris <rgm@gnu.org>
1265
1266 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1267
1268 2014-02-09 Alan Mackenzie <acm@muc.de>
1269
1270 Fix c-invalidate-state-cache on narrowed buffers.
1271 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1272 Widen when setting and clearing the CPP delimiter properties.
1273
1274 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1275
1276 * help.el (describe-bindings): Doc fix (bug#9888).
1277
1278 * files.el (save-buffer): Use ARG as the parameter name for
1279 consistency (bug#10346).
1280 (save-buffer): Clarify the 0 argument (bug#10346).
1281
1282 * cus-edit.el (customize-apropos): Fix error string.
1283 (custom-buffer-create): Doc fix (bug#11122).
1284 (custom-sort-items): Doc fix (bug#11121).
1285
1286 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1287
1288 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1289 (icomplete-simple-completing-p): Mention the previous variable.
1290
1291 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1292 meaning of the parameter (bug#12282).
1293
1294 * files.el (find-file-noselect): Clarify prompt when changing
1295 readedness (bug#13261).
1296 (locate-file): Suffixes aren't returned, so don't say that they
1297 are (bug#12674).
1298 (backup-inhibited): Doc clarification (bug#12525).
1299
1300 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1301 before we actually start to delete things (bug#16331).
1302
1303 * subr.el (event-start): Doc fix (bug#14228).
1304 (event-end): Ditto.
1305
1306 2014-02-09 Glenn Morris <rgm@gnu.org>
1307
1308 * emacs-lisp/warnings.el (lwarn):
1309 Empower help-enable-auto-load. (Bug#15940)
1310
1311 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1312
1313 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1314 (Bug#16690)
1315
1316 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1317
1318 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1319 Insert output at end of buffer. (Bug#16120)
1320
1321 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1322
1323 * simple.el (choose-completion-string-functions): Document new
1324 calling convention (bug#14153).
1325 (execute-extended-command): Clarify doc string (bug#13373).
1326
1327 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1328
1329 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1330 (find-grep-dired): Doc fix (bug#14288).
1331
1332 2014-02-08 Juri Linkov <juri@jurta.org>
1333
1334 * isearch.el (isearch-quote-char): Check character validity
1335 like in `quoted-insert' (bug#16677).
1336
1337 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1338
1339 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1340
1341 * isearch.el (isearch-hide-immediately): Doc clarification
1342 (bug#14723).
1343
1344 * simple.el (line-move): Document utility function used many
1345 places in the Emacs sources (bug#14843).
1346
1347 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1348 (dired-prev-marked-file): Doc fix (bug#14855).
1349 (dired-up-directory): Doc fix (bug#14848).
1350
1351 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1352
1353 * files.el (file-relative-name): Doc fix (bug#15159).
1354
1355 * fringe.el (fringe-styles): Doc fix (bug#15239).
1356
1357 * isearch.el (isearch-filter-predicate): Documentation typo fix
1358 (bug#15474).
1359
1360 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1361
1362 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1363
1364 * replace.el (replace-match-maybe-edit): Doc clarification
1365 (bug#15632).
1366
1367 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1368
1369 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1370
1371 2014-02-08 Glenn Morris <rgm@gnu.org>
1372
1373 * help-fns.el (describe-variable):
1374 Check {file,dir}-local-variables-alist, and buffer-file-name,
1375 in the correct buffer.
1376
1377 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1378
1379 * help-fns.el (describe-variable): Fix the case where
1380 a value is directory-local with no dir-locals file. (Bug#16635)
1381
1382 2014-02-08 Glenn Morris <rgm@gnu.org>
1383
1384 * abbrev.el (edit-abbrevs-mode):
1385 Derive from fundamental-mode. (Bug#16682)
1386
1387 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1388
1389 * simple.el (quoted-insert): Check character validity (bug#16677).
1390
1391 2014-02-07 Juri Linkov <juri@jurta.org>
1392
1393 * desktop.el (desktop-read): Claim the lock when the owner is not
1394 the current process. (Bug#16157)
1395
1396 2014-02-07 Juri Linkov <juri@jurta.org>
1397
1398 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1399 to "\\` ". (Bug#16651)
1400
1401 2014-02-07 Juri Linkov <juri@jurta.org>
1402
1403 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1404 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1405 (desktop-auto-save-cancel-timer): New function with some code from
1406 `desktop-auto-save-set-timer'.
1407 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1408 Instead of setting `desktop-save-mode' to nil, call
1409 `desktop-save-mode' with arg 0. (Bug#16630)
1410
1411 2014-02-07 Glenn Morris <rgm@gnu.org>
1412
1413 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1414 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1415 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1416
1417 * obsolete/iswitchb.el: Move to obsolete/.
1418 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1419 since obsolete/ is not scanned for autoloads.
1420 * emacs-lisp/authors.el (authors-valid-file-names):
1421 Add iswitchb.el.
1422
1423 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1424 Disable now non-functional find-file-hook.
1425
1426 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1427
1428 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1429 instead of ";" in order to avoid additional prompts. Let heredoc
1430 scripts read from tty. (Bug#16582)
1431 (tramp-send-command): No special handling of heredocs, it isn't
1432 necessary anymore.
1433
1434 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1435
1436 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1437 with a space (bug#16664). Limit the symbols considered to the ones
1438 that are bound or fbound (bug#16646).
1439
1440 2014-02-06 Glenn Morris <rgm@gnu.org>
1441
1442 * epa.el (epa-mail-aliases): Doc fix.
1443
1444 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1445
1446 * emacs-lisp/lisp.el (lisp-completion-at-point):
1447 Use `completion-table-merge' instead of `completion-table-in-turn'
1448 (bug#16604).
1449
1450 * minibuffer.el (completion-table-merge): New function.
1451
1452 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1453
1454 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1455 (tramp-sh-handle-set-file-acl)
1456 (tramp-sh-handle-start-file-process)
1457 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1458 (tramp-find-executable, tramp-send-command): Use it.
1459
1460 2014-02-05 Glenn Morris <rgm@gnu.org>
1461
1462 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1463
1464 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1465
1466 * progmodes/python.el (python-shell-send-string)
1467 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1468
1469 2014-02-04 Anders Lindgren <andlind@gmail.com>
1470
1471 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1472 the names (bug#16620).
1473
1474 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1475
1476 * faces.el (window-divider): New default value. Rewrite doc-string.
1477 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1478
1479 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1480
1481 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1482 `protected' and `public' can also be called without arguments.
1483
1484 2014-02-03 Glenn Morris <rgm@gnu.org>
1485
1486 * register.el (window-configuration-to-register)
1487 (frame-configuration-to-register): Unadvertise unused argument.
1488 * frameset.el (frameset-to-register): Remove unused argument.
1489
1490 * frameset.el (frameset-to-register):
1491 * kmacro.el (kmacro-to-register):
1492 * register.el (increment-register):
1493 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1494 (calc-append-to-register, calc-prepend-to-register):
1495 * play/gametree.el (gametree-layout-to-register)
1496 (gametree-apply-register-layout):
1497 * textmodes/picture.el (picture-clear-rectangle-to-register)
1498 (picture-yank-rectangle-from-register):
1499 * vc/emerge.el (emerge-combine-versions-register):
1500 Use register-read-with-preview to read registers.
1501
1502 2014-02-03 João Távora <joaotavora@gmail.com>
1503
1504 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1505 when at beginning of (possibly narrowed) buffer.
1506
1507 2014-02-02 Daniel Colascione <dancol@dancol.org>
1508
1509 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1510 Also try to display local help from just before point.
1511
1512 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1513
1514 c-parse-state. Don't "append-lower-brace-pair" in certain
1515 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1516 recognised as a comment.
1517
1518 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1519 as well as normal comment starter.
1520 (c-parse-state-get-strategy): Extra return possibility
1521 'back-and-forward.
1522 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1523 return value list to indicate replacement of a brace-pair cons
1524 with its car.
1525 (c-parse-state-1): With 'back-and-forward, only call
1526 c-append-lower-brace-pair-to state-cache when cons-separated.
1527
1528 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1529
1530 * term/ns-win.el (ns-suspend-error): New function.
1531 (ns-initialize-window-system): Add ns-suspend-error to
1532 suspend-hook (Bug#16612).
1533
1534 2014-02-02 Daniel Colascione <dancol@dancol.org>
1535
1536 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1537 Make loading cc-mode silent.
1538
1539 2014-02-02 Daniel Colascione <dancol@dancol.org>
1540
1541 * comint.el (comint-prompt-read-only): Change doc to suggest
1542 remap keybinding.
1543
1544 2014-02-02 Glenn Morris <rgm@gnu.org>
1545
1546 * register.el (register-read-with-preview, point-to-register)
1547 (window-configuration-to-register, frame-configuration-to-register)
1548 (jump-to-register, number-to-register, view-register, insert-register)
1549 (copy-to-register, append-to-register, prepend-to-register)
1550 (copy-rectangle-to-register): Doc fixes.
1551
1552 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1555 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1556 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1557 * help-fns.el (describe-function-1): Use it.
1558
1559 2014-02-02 Glenn Morris <rgm@gnu.org>
1560
1561 * register.el (register-preview-default): New function,
1562 split from register-preview.
1563 (register-preview-function): Rename from register-preview-functions,
1564 make it not a hook.
1565 (register-preview): Use register-preview-function.
1566 (register-read-with-preview): Error on non-character event. (Bug#16595)
1567
1568 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1569
1570 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1571 `:' before binary operators (bug#16609). Don't check for `:'
1572 before `[' and `(', or their syntax status. A percent literal
1573 can't end with either.
1574 (ruby-font-lock-keywords): For built-ins that require arguments,
1575 check that they're followed by something that looks like argument
1576 (bug#16610).
1577
1578 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1579
1580 * subr.el (butlast): Document what an omitted N means (bug#13437).
1581 (nbutlast): Ditto.
1582
1583 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1584
1585 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1586 depth shallower (bug#16587).
1587 (shr-tag-svg): Respect `shr-inhibit-images'.
1588 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1589
1590 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1591
1592 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1593 (ruby-smie-grammar): Make "." right-associative. Make its priority
1594 lower than the ternary and all binary operators.
1595 (ruby-smie-rules): Indent "(" relative to the first non-"."
1596 parent, or the first "." parent at indentation.
1597 Use `ruby-align-chained-calls' for indentation of "." tokens.
1598 (Bug#16593)
1599
1600 2014-01-31 Juri Linkov <juri@jurta.org>
1601
1602 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1603 from `make-hash-table'.
1604
1605 * textmodes/ispell.el (ispell-init-process): Change message format
1606 to be consistent with other messages.
1607
1608 2014-01-31 Glenn Morris <rgm@gnu.org>
1609
1610 * delsel.el (delete-selection-mode): Doc fix.
1611
1612 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1613 (trace-function-background): Doc fixes.
1614
1615 * ido.el (ido-use-virtual-buffers): Doc fix.
1616 Reset :version, since the default value has not changed.
1617
1618 * register.el (register-preview-delay, register-read-with-preview):
1619 Doc fixes.
1620
1621 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1622 do not mess with mail-buffer position (fixes 2009-11-03 change).
1623 * progmodes/cc-mode.el (c-submit-bug-report):
1624 Check auto-fill-mode is bound. (Bug#16592)
1625
1626 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1627
1628 * startup.el (fancy-splash-image-file): New function,
1629 split from fancy-splash-head.
1630 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1631 so that we are both using the same image. (Bug#16574)
1632
1633 2014-01-30 Glenn Morris <rgm@gnu.org>
1634
1635 * simple.el (eval-expression): Doc fix.
1636
1637 * hexl.el (hexl-mode-hook):
1638 * ielm.el (ielm-mode-hook):
1639 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1640 (lisp-interaction-mode-hook):
1641 * progmodes/cfengine.e (cfengine3-documentation-function):
1642 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1643
1644 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1647 is a symbol (bug#16584).
1648
1649 2014-01-30 Glenn Morris <rgm@gnu.org>
1650
1651 * help.el (help-for-help-internal): Add "P" to text.
1652
1653 2014-01-29 Glenn Morris <rgm@gnu.org>
1654
1655 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1656
1657 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1658
1659 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1660 height constraints.
1661
1662 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1663
1664 * progmodes/hideif.el: Extend to full CPP expression syntax.
1665 (hif-token-alist): Add missing tokens.
1666 (hif-token-regexp): Add support for float/octal/hex immediates.
1667 (hif-string-literal-regexp): New const.
1668 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1669 (hif-exprlist): New function.
1670 (hif-parse-if-exp): Use it.
1671 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1672 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1673 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1674 (hif-logxor, hif-comma): New functions.
1675
1676 2014-01-28 Glenn Morris <rgm@gnu.org>
1677
1678 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1679
1680 * indent.el (tab-stop-list): Doc fix. Add :version.
1681
1682 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1683 (cvs-append-to-ignore): Add compatibility alias.
1684
1685 2014-01-27 Glenn Morris <rgm@gnu.org>
1686
1687 * dired.el (dired-hide-details-mode): Don't autoload it,
1688 since it cannot be used outside Dired buffers anyway.
1689
1690 * emulation/cua-base.el (cua-mode): Doc fix.
1691
1692 * dired.el (dired-hide-details-hide-symlink-targets)
1693 (dired-hide-details-hide-information-lines)
1694 (dired-hide-details-mode): Doc fixes.
1695
1696 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1697 * strokes.el (strokes-file): Doc fix. Bump :version.
1698 (strokes-help): Doc fix.
1699 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1700 * emulation/viper.el (viper): Doc fix for custom group.
1701 (top-level): Remove oh-so-no-longer-relevant text about vip.
1702 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1703
1704 * ido.el (ido-save-directory-list-file):
1705 * saveplace.el (save-place-file):
1706 * calendar/timeclock.el (timeclock-file):
1707 * net/quickurl.el (quickurl-url-file):
1708 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1709 * progmodes/idlwave.el (idlwave-config-directory):
1710 * textmodes/remember.el (remember-data-file):
1711 Bump :version.
1712
1713 2014-01-26 Glenn Morris <rgm@gnu.org>
1714
1715 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1716 Doc fix. Make obsolete.
1717 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1718
1719 * sort.el (delete-duplicate-lines): Doc fix.
1720
1721 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1722
1723 * progmodes/ada-mode.el (ada):
1724 * woman.el (woman): Link to info manual and Commentary section.
1725
1726 * progmodes/flymake.el (flymake):
1727 * nxml/nxml-mode.el (nxml):
1728 * net/eww.el (eww):
1729 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1730 * htmlfontify.el (htmlfontify):
1731 * ses.el (ses):
1732 * epa.el (epa):
1733 * ido.el (ido): Link to info manual.
1734
1735 2014-01-25 Leo Liu <sdl.web@gmail.com>
1736
1737 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1738
1739 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1740
1741 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1742 (bug#16537).
1743
1744 >>>>>>> MERGE-SOURCE
1745 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1746
1747 * net/eww.el (eww-download-callback):
1748 Fix reference to eww-download-directory.
1749
1750 * emacs-lisp/bytecomp.el (byte-compile-file):
1751 Remove unused local variable `file-name'.
1752
1753 2014-01-24 Glenn Morris <rgm@gnu.org>
1754
1755 * woman.el (woman-default-faces, woman-monochrome-faces):
1756 Fix obsolescence specification.
1757
1758 * subr.el (with-demoted-errors): Doc fix.
1759
1760 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1763 (cl--macroexp-fboundp): New function.
1764 (cl--make-type-test): Use it.
1765
1766 2014-01-23 Glenn Morris <rgm@gnu.org>
1767
1768 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1769 * simple.el (eval-expression): Doc fixes.
1770
1771 2014-01-22 Glenn Morris <rgm@gnu.org>
1772
1773 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1774
1775 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * emacs-lisp/package.el: Write files silently.
1778 (package-autoload-ensure-default-file, package--write-file-no-coding)
1779 (package-generate-description-file, package--download-one-archive)
1780 (package-install-from-archive): Tell `write-region' to stay quiet.
1781 (package-menu-mode, package-menu--print-info): Omit the Archive column
1782 if there's only one archive.
1783 (package-all-keywords, package--has-keyword-p): Remove dead code.
1784
1785 2014-01-22 Glenn Morris <rgm@gnu.org>
1786
1787 * version.el (emacs-bzr-version-bzr): Fix typo.
1788
1789 * version.el (emacs-repository-get-version):
1790 Check either .bzr or .git, but not both.
1791 Make the git case actually use the DIR argument, and return nil
1792 rather than the empty string.
1793 Avoid error if .git exists but the git executable is not found.
1794
1795 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1796
1797 Fixes in window size functions around Bug#16430 and Bug#16470.
1798 * window.el (window-total-size, window-size): New argument ROUND.
1799 (window--min-delta-1, window-min-delta, window--max-delta-1):
1800 Be more conservative when calculating the numbers of lines or
1801 columns a window can shrink (Bug#16430).
1802 (fit-window-to-buffer): Simplify code.
1803 * term.el (term-window-width): Call window-body-width again.
1804
1805 2014-01-22 Glenn Morris <rgm@gnu.org>
1806
1807 * image.el (image-format-suffixes): Doc fix.
1808
1809 * international/quail.el (quail-define-package): Doc fix.
1810
1811 * emacs-lisp/authors.el (authors-valid-file-names)
1812 (authors-renamed-files-alist): Additions.
1813
1814 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1815 reverts 2014-01-09 change. (Bug#16422)
1816
1817 * calc/calc-embed.el (thing-at-point-looking-at):
1818 * emacs-lisp/map-ynp.el (x-popup-dialog):
1819 * obsolete/lmenu.el (x-popup-dialog):
1820 * emacs-lisp/package.el (url-recreate-url):
1821 * mail/mailclient.el (clipboard-kill-ring-save):
1822 * subr.el (x-popup-dialog): Update declaration.
1823 * mail/rmail.el (rmail-mime-message-p):
1824 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1825
1826 2014-01-21 Daniel Colascione <dancol@dancol.org>
1827
1828 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1829 Correctly detect when we're inside an arithmetic expansion form
1830 containing nested parenthesis.
1831 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1832 to detect cases where we shouldn't expand "<<" to a heredoc
1833 skeleton.
1834
1835 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1838 (eldoc--message-command-p): New function.
1839 (eldoc-display-message-p): Use it.
1840 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1841 message is not automatically erased for us.
1842 (eldoc-print-current-symbol-info): Erase previous message, if any.
1843
1844 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1845
1846 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1847 specify it's an interactive function.
1848
1849 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1850 Fix regex used for scanning for citation keys which failed for
1851 citations with optional arguments.
1852
1853 2014-01-21 Leo Liu <sdl.web@gmail.com>
1854
1855 * simple.el (read--expression): Don't enable eldoc-mode.
1856
1857 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * simple.el (move-beginning-of-line): Make sure we don't move forward
1860 (bug#16497).
1861
1862 2014-01-20 Juri Linkov <juri@jurta.org>
1863
1864 * saveplace.el (toggle-save-place, save-place-to-alist)
1865 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1866 'dired-mode) before checking for dired-directory. (Bug#16477)
1867
1868 2014-01-20 Juri Linkov <juri@jurta.org>
1869
1870 * indent.el (indent-line-to): Use backward-to-indentation
1871 instead of back-to-indentation. (Bug#16461)
1872
1873 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1874
1875 Revert some of the CANNOT_DUMP fix (Bug#16494).
1876 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1877 but fixing this can wait until after the next release.
1878 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1879
1880 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1881
1882 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1883 Use `password-word-equivalents'.
1884 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1885 to t. (Bug#5664, Bug#13124)
1886
1887 2014-01-19 Alan Mackenzie <acm@muc.de>
1888
1889 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1890 points.
1891 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1892 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1893 * progmodes/cc-mode.el (c-before-change, c-after-change)
1894 (c-font-lock-fontify-region): Bind it here.
1895
1896 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1897
1898 * term.el (term-window-width): Call window-text-width instead of
1899 window-width (Bug#16470).
1900
1901 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1902
1903 * simple.el (password-word-equivalents): Remove duplicates.
1904 Sort, to make this easier next time.
1905 Downcase. Omit ": " after "jelszó".
1906
1907 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1908
1909 * term/common-win.el (saved-region-selection): Defvar it.
1910 (x-select-text): Set saved-region-selection (Bug#16382).
1911
1912 2014-01-18 Glenn Morris <rgm@gnu.org>
1913
1914 * emacs-lisp/authors.el (authors-aliases)
1915 (authors-renamed-files-alist): Add some entries.
1916
1917 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1918
1919 * net/tramp.el (tramp-password-prompt-regexp):
1920 Use `password-word-equivalents' if available.
1921 (tramp-action-password, tramp-process-one-action)
1922 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1923
1924 2014-01-17 Chong Yidong <cyd@gnu.org>
1925
1926 * simple.el (password-word-equivalents): New defcustom.
1927 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1928 to 24.4.
1929 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1930 to t. (Bug#13124)
1931
1932 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1933
1934 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1935 (ruby-align-to-stmt-keywords): Change the default value.
1936 Use `ruby-alignable-keywords' to generate the possible customization
1937 choices.
1938 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1939 keywords, check against the value of `ruby-alignable-keywords'
1940 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1941
1942 2014-01-17 Glenn Morris <rgm@gnu.org>
1943
1944 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1945
1946 Make M-x authors return zero *Authors Errors* from current logs.
1947 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1948 (authors-ignored-files): Add some entries, remove others.
1949 (authors-ambiguous-files, authors-valid-file-names):
1950 Add some entries.
1951 (authors-renamed-files-alist): Add, remove, and adjust entries.
1952 (authors-renamed-files-regexps): Add some entries.
1953 Remove some very broad ones. Make some entries `lax'.
1954 (authors-lax-changelogs): New constant.
1955 (authors-disambiguate-file-name): Treat top-level specially.
1956 (authors-lax-changelog-p): New function.
1957 (authors-canonical-file-name): Check file as written against
1958 authors-valid-file-names. Do not special-case etc/.
1959 Handle `lax' logs and authors-renamed-files-regexps elements.
1960
1961 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1962
1963 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1964 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1965 callers.
1966
1967 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1970 Assume we're already in the proper buffer.
1971 Inspired by Anders Lindgren <andlind@gmail.com>.
1972 (follow-post-command-hook): Call it from the right buffer.
1973 (follow-comint-scroll-to-bottom): Adjust call.
1974 (follow-all-followers): Use get-buffer-window-list.
1975
1976 2014-01-15 Daniel Colascione <dancol@dancol.org>
1977
1978 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1979 `buffer-file-name' in interactive-form so that we don't leave
1980 pathless file names in `file-name-history'.
1981
1982 2014-01-15 Juri Linkov <juri@jurta.org>
1983
1984 * indent.el (indent-rigidly): Set deactivate-mark to nil
1985 in transient indentation mode. (Bug#16438)
1986
1987 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1988
1989 * emacs-lisp/package.el (package-desc-keywords): New function
1990 (Bug#16222).
1991 (describe-package-1, package-all-keywords)
1992 (package--has-keyword-p): Use it.
1993
1994 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1995
1996 * simple.el (define-alternatives): When creating the
1997 COMMAND-alternatives variable, assign COMMAND as its definition
1998 name so that `describe-variable' can relocate it.
1999
2000 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2001
2002 * font-lock.el (font-lock-keywords): Fix typo in docstring
2003 (bug#16307).
2004
2005 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2006
2007 * ispell.el (ispell-region): Reset `in-comment' for new line
2008 instead of wrongly reset `add-coment' (bug#13577).
2009
2010 2014-01-14 Daiki Ueno <ueno@gnu.org>
2011
2012 * epa-file.el (epa-file-write-region): Encode the region according
2013 to `buffer-file-format'. Problem reported at:
2014 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2015
2016 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2019 so it applies in the right buffer (bug#16410).
2020
2021 2014-01-13 Daniel Colascione <dancol@dancol.org>
2022
2023 * textmodes/rst.el (rst-define-key): Provide deprecated
2024 keybindings through named functions instead of anonymous ones so
2025 that "??" doesn't appear in describe-mode output.
2026
2027 2014-01-13 Bastien Guerry <bzg@gnu.org>
2028
2029 * simple.el (define-alternatives): Call the selected command
2030 interactively. When setting `COMMAND--implementation' for the
2031 first time, tell the user how to chose another implementation.
2032 Enhance the docstring.
2033
2034 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2037 (log-edit--match-first-line): New function.
2038 (log-edit-font-lock-keywords): Use it.
2039 (log-edit-mode): Make jit-lock-defer-multiline work.
2040
2041 2014-01-13 Bastien Guerry <bzg@gnu.org>
2042
2043 * rect.el (rectangle-mark-mode): When the region is not active,
2044 display a message saying that the mark as been set and that
2045 rectangle mode is in use.
2046 (rectangle--highlight-for-redisplay): Only put an overlay with a
2047 visible vertical bar when (display-graphic-p) is non-nil.
2048 This partially fixes Bug#16403.
2049
2050 2014-01-13 Juri Linkov <juri@jurta.org>
2051
2052 * info.el (Info-find-file): Go to DIR before displaying the error
2053 about a nonexistent file if no previous Info file is visited.
2054 Use `user-error' instead of `error' for "Info file %s does not exist".
2055 (Info-find-node-2): In case of a nonexistent node in unwind forms
2056 go to the Top node if there is no previous node to revert to.
2057 (Bug#16405)
2058
2059 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2060
2061 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2062 * window.el (fit-frame-to-buffer): Fix doc-string.
2063 Respect window-min-height/-width. Fit pixelwise when
2064 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2065 when avoiding that frame goes partially off-screen.
2066 (fit-window-to-buffer): Respect window-min-height/-width
2067 (Bug#14096).
2068
2069 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2072 after an empty line.
2073
2074 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2075
2076 * net/shr.el (shr-render-region): Autoload.
2077
2078 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2079
2080 * net/eww.el (eww-download-directory): Rename from
2081 `eww-download-path' (Bug#16419).
2082
2083 2014-01-12 Leo Liu <sdl.web@gmail.com>
2084
2085 * dired-x.el (dired-mode-map): Fix last change.
2086
2087 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2088
2089 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2090
2091 Spelling fixes.
2092 * emacs-lisp/generic.el (generic--normalize-comments):
2093 Rename from generic--normalise-comments. All uses changed.
2094 * play/bubbles.el (bubbles--neighborhood-score)
2095 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2096 (bubbles--neighborhood-available)
2097 (bubbles--update-neighborhood-score):
2098 Rename from names with 'neighbourhood'. All uses changed.
2099
2100 2014-01-12 Leo Liu <sdl.web@gmail.com>
2101
2102 Re-implement the feature of showing eldoc info after editing.
2103 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2104 (eldoc-edit-message-commands): New function.
2105 (eldoc-print-after-edit): New variable.
2106 (eldoc-pre-command-refresh-echo-area): Emit message only by
2107 eldoc-message-commands.
2108 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2109 if eldoc-print-after-edit is set. (Bug#16346)
2110 * simple.el (read--expression): Enable eldoc-mode.
2111 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2112
2113 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2114 Eric S. Raymond <esr@thyrsus.com>
2115
2116 * version.el (emacs-repository-get-version): Enhance so the
2117 function works correctly in either a Bazaar or Git repo.
2118
2119 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2120
2121 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2122 Goes with removal of the joke manpages from /etc.
2123
2124 2014-01-10 Kenichi Handa <handa@gnu.org>
2125
2126 * mail/rmail.el (rmail-get-coding-system):
2127 Check rmail-get-coding-function before "funcall"ing it.
2128
2129 2014-01-10 Glenn Morris <rgm@gnu.org>
2130
2131 * emacs-lisp/authors.el (authors-fixed-entries):
2132 Update for files that no longer exist.
2133
2134 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2135
2136 * version.el (emacs-bzr-get-version): Restore compatibilty with
2137 24.3 (Tested).
2138
2139 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2140
2141 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2142 and Podfile.
2143
2144 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2145
2146 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2147
2148 2014-01-10 Chong Yidong <cyd@gnu.org>
2149
2150 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2151
2152 2014-01-10 Anders Lindgren <andlind@gmail.com>
2153
2154 * follow.el (follow-cache-command-list): Include right-char and
2155 left-char.
2156
2157 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2158
2159 Spelling fixes.
2160 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2161 * woman.el (woman-mark-horizontal-position):
2162 Rename from woman-mark-horizonal-position. Use changed.
2163
2164 2014-01-10 Glenn Morris <rgm@gnu.org>
2165
2166 * info.el (info-initialize): If running uninstalled, ensure our
2167 own info files are always found first, even if INFOPATH is set.
2168
2169 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2170
2171 2014-01-09 David Engster <deng@randomsample.de>
2172
2173 * emacs-lisp/eieio-custom.el:
2174 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2175 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2176 * emacs-lisp/eieio.el: Regenerate autoloads.
2177
2178 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2179
2180 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2181 following renames. (Bug#8756)
2182
2183 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2184
2185 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2186 (bug#16382).
2187 (activate-mark): Add `no-tmm' argument.
2188 (set-mark, push-mark-command): Use it instead of running
2189 activate-mark-hook by hand.
2190
2191 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2192
2193 In preparation for the move to git, sanitize out some
2194 Bazaar-specific names.
2195
2196 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2197
2198 * version.el (emacs-bzr-version): Name changed to
2199 emacs-repository-version. Obsolete-variable alias made.
2200 * loadup.el: Follow through on this name change.
2201 * mail/emacsbug.el (report-emacs-bug): Factor out any
2202 assumption about the version control system in use.
2203
2204 2014-01-08 David Engster <deng@randomsample.de>
2205
2206 * help-fns.el (help-fns-describe-function-functions):
2207 New variable to call functions for augmenting help buffers.
2208 (describe-function-1): Remove explicit calls to
2209 `help-fns--compiler-macro', `help-fns--parent-mode' and
2210 `help-fns--obsolete'. Put them in above new variable instead, and
2211 call them through `run-hook-with-args'.
2212 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2213 `eieio-describe-class'. Not meant for interactive use anymore,
2214 but to augment existing help buffers. Remove optional second
2215 argument. Create proper button for file location.
2216 Rewrite function to use `insert' instead of `princ' and `prin1' where
2217 possible.
2218 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2219 (eieio-method-def, eieio-class-def): Move further up.
2220 (describe-method, describe-generic, eieio-describe-method):
2221 Remove aliases.
2222 (eieio-help-constructor, eieio-help-generic): Rename from
2223 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2224 Rewrite to use `insert' in the current buffer and use proper help
2225 buttons.
2226 (eieio-help-find-method-definition)
2227 (eieio-help-find-class-definition): Also accept symbols as
2228 arguments.
2229 (eieio-help-mode-augmentation-maybee): Remove.
2230 (eieio-describe-class-sb): Use `describe-function'.
2231 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2232 Add `eieio-help-generic' and `eieio-help-constructor'.
2233
2234 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2235
2236 Spelling fixes.
2237 * language/china-util.el (hz-ascii-designation):
2238 Rename from hz-ascii-designnation.
2239 (hz-ascii-designation): Rename from hz-ascii-designnation.
2240 All uses changed.
2241
2242 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2245 package-alist.
2246
2247 2014-01-08 Bastien Guerry <bzg@gnu.org>
2248
2249 * emacs-lisp/package.el (package-delete):
2250 Correctly delete the package from package-alist.
2251
2252 2014-01-08 Daiki Ueno <ueno@gnu.org>
2253
2254 * emacs-lisp/package.el (url-recreate-url): Declare.
2255 (url-http-target-url): Declare.
2256 (package-handle-response): Include requested URL in the error message.
2257 (package--check-signature): Don't re-signal errors from
2258 package--with-work-buffer. Suggested by Stefan Monnier.
2259
2260 2014-01-07 Bastien Guerry <bzg@gnu.org>
2261
2262 * minibuffer.el (completion--try-word-completion): When both a
2263 hyphen and a space are possible candidates for the character
2264 following a word, display both candidates. (Bug#15980)
2265
2266 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2267
2268 * window.el (balance-windows-2): While rounding don't give a
2269 window more than the remainder. Bug#16351, bug#16383.
2270
2271 2014-01-07 Glenn Morris <rgm@gnu.org>
2272
2273 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2274 (menu-bar-help-menu): Use view-external-packages instead.
2275
2276 2014-01-07 Bastien Guerry <bzg@gnu.org>
2277
2278 * emacs-lisp/package.el (package-delete): Also delete the package
2279 name from `package-alist', not its description only.
2280
2281 2014-01-07 Glenn Morris <rgm@gnu.org>
2282
2283 * help.el (view-external-packages):
2284 * menu-bar.el (menu-bar-help-extra-packages):
2285 Visit efaq.info rather than etc/MORE.STUFF.
2286
2287 2014-01-07 Juri Linkov <juri@jurta.org>
2288
2289 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2290 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2291
2292 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2293 that shadows RET. (Bug#16342)
2294
2295 2014-01-07 Chong Yidong <cyd@gnu.org>
2296
2297 * isearch.el (isearch-yank-char, isearch-yank-word)
2298 (isearch-yank-line): Doc fix.
2299
2300 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2303 * emacs-lisp/elint.el (elint-find-builtins):
2304 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2305 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2306 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2307 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2308 * apropos.el (apropos-safe-documentation):
2309 * subr.el (symbol-file): Remove redundant fboundp.
2310 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2311
2312 2014-01-06 Bastien Guerry <bzg@gnu.org>
2313
2314 * hl-line.el (global-hl-line-overlay): Make a local variable.
2315 (global-hl-line-overlays): New variable to store all overlays.
2316 (global-hl-line-mode): Don't delete overlays from the current
2317 buffer when `global-hl-line-sticky-flag' is non-nil.
2318 (global-hl-line-highlight): Add new overlays to
2319 `global-hl-line-overlays'.
2320 (global-hl-line-unhighlight-all): New function to delete all
2321 overlays when turning off `global-hl-line-mode'.
2322 This fixes Bug#16183.
2323
2324 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2325
2326 * subr.el (set-transient-map): Fix nested case and docstring.
2327
2328 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2329
2330 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2331 `Texinfo' entry.
2332
2333 2014-01-06 Daniel Colascione <dancol@dancol.org>
2334
2335 Fix defun navigation in vc log view.
2336
2337 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2338 like `beginning-of-defun'.
2339 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2340 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2341 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2342 (log-view-extract-comment): Call `log-view-current-entry' directly
2343 instead of relying on broken `log-view-beginning-of-defun' behavior.
2344
2345 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2346
2347 Spelling fixes.
2348 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2349 * emacs-lisp/debug.el (cancel-debug-on-entry):
2350 * epg.el (epg-error-to-string):
2351 * files.el (recover-file):
2352 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2353 * mail/emacsbug.el (report-emacs-bug-hook):
2354 * mail/sendmail.el (mail-recover):
2355 * ses.el (ses-yank-resize):
2356 * term/ns-win.el (ns-print-buffer):
2357 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2358 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2359 All uses changed.
2360 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2361
2362 2014-01-06 Leo Liu <sdl.web@gmail.com>
2363
2364 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2365 to avoid shadowing global key. (Bug#16354)
2366
2367 2014-01-06 Daniel Colascione <dancol@dancol.org>
2368
2369 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2370 rst-mode.
2371
2372 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2373
2374 * window.el (balance-windows): Add mising t to fix Bug#16351.
2375
2376 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2377
2378 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2379 (bug#16285).
2380 (shr-insert): If we have a word that's longer than `shr-width',
2381 break after it anyway. Otherwise we'll do no breaking once we get
2382 such a long word.
2383
2384 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2385
2386 * net/eww.el (eww): Support single/double quote for search.
2387 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2388 (eww-history-quit): Delete and use quit-window.
2389 (eww-history-kill): Delete, because it doesn't work well and
2390 not necessary.
2391 (eww-history-mode-map): Delete some keys and add easy-menu.
2392
2393 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2394
2395 Fix misspelling of 'chinese' in rx (Bug#16237).
2396 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2397 chinese-two-byte.
2398
2399 Change subword regexps back to vars (Bug#16296).
2400 * progmodes/subword.el (subword-forward-regexp)
2401 (subword-backward-regexp): Change these back to variables.
2402
2403 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2406 syntax-begin-function (bug#16247).
2407
2408 2014-01-03 Chong Yidong <cyd@gnu.org>
2409
2410 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2411 (advice--docstring): Delete variable.
2412 (advice--make-1): Leave the docstring empty.
2413 (advice-add): Use function-documentation for advised docstring.
2414
2415 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2416 Ignore function-documentation property when getting documentation.
2417 (ad-activate-advised-definition): Use function-documentation
2418 generate the docstring.
2419 (ad-make-advised-definition): Don't call
2420 ad-make-advised-definition-docstring.
2421 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2422 Delete functions.
2423
2424 * progmodes/sql.el (sql-help): Use function-documentation instead
2425 of dynamic-docstring-function property. No need to autoload now.
2426 (sql--help-docstring): New variable.
2427 (sql--make-help-docstring): Use it.
2428
2429 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * ielm.el (ielm-tab): Retarget.
2432 (ielm-map): Use ielm-tab for tab.
2433 (ielm-complete-filename): Use comint-filename-completion.
2434 (ielm-complete-symbol): Remove.
2435 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2436 remove ielm-tab from completion-at-point-functions (bug#16224).
2437
2438 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2439 Beware signals raised by predicates (bug#16201).
2440
2441 2014-01-02 Richard Stallman <rms@gnu.org>
2442
2443 * dired-aux.el (dired-do-print): Handle printer-name.
2444
2445 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2446 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2447 (rmail-epa-decrypt): Turn off mime processing.
2448
2449 * mail/rmail.el (rmail-make-in-reply-to-field):
2450 Add parens in message-id.
2451
2452 * mail/rmail.el (rmail-get-coding-function): Variable.
2453 (rmail-get-coding-system): Use it.
2454
2455 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2456
2457 * international/mule-conf.el: Unify the charset indian-is13194.
2458 (indian-is13194): Specify unify-map.
2459
2460 2013-12-31 Leo Liu <sdl.web@gmail.com>
2461
2462 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2463
2464 2013-12-30 Daniel Colascione <dancol@dancol.org>
2465
2466 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2467 of printing a useless when we resume from sleep.
2468
2469 * progmodes/sh-script.el
2470 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2471 in indentation code. (Bug#16233)
2472
2473 2013-12-28 João Távora <joaotavora@gmail.com>
2474
2475 * elec-pair.el (electric-pair-post-self-insert-function):
2476 Don't open extra newlines at beginning of buffer. (Bug#16272)
2477
2478 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2479
2480 * frame.el (window-system-for-display): Don't allow to create a
2481 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2482
2483 2013-12-28 Glenn Morris <rgm@gnu.org>
2484
2485 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2486 Update callers.
2487
2488 * apropos.el (apropos-match-face):
2489 * calculator.el (calculator-displayer):
2490 * dabbrev.el (dabbrev-search-these-buffers-only):
2491 * face-remap.el (buffer-face-mode-face):
2492 * simple.el (yank-handled-properties):
2493 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2494 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2495 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2496 (hashcash-double-spend-database):
2497 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2498 (ruby-deep-indent-paren-style):
2499 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2500 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2501 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2502 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2503 Specify custom types.
2504
2505 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2506 * bookmark.el (bookmark-bmenu-use-header-line):
2507 * doc-view.el (doc-view-scale-internally):
2508 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2509 * register.el (register-preview-delay):
2510 * net/shr.el (shr-bullet):
2511 * progmodes/cfengine.el (cfengine-cf-promises)
2512 (cfengine-parameters-indent):
2513 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2514 * textmodes/reftex-vars.el (reftex-label-regexps):
2515 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2516
2517 * net/tls.el (tls-certtool-program): Fix default value.
2518
2519 * desktop.el (desktop-restore-in-current-display):
2520 * newcomment.el (comment-empty-lines):
2521 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2522 (idlwave-pad-keyword):
2523 * progmodes/tcl.el (tcl-tab-always-indent):
2524 * textmodes/reftex-vars.el (reftex-index-default-tag):
2525 * elec-pair.el (electric-pair-skip-whitespace):
2526 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2527
2528 * emacs-lisp/authors.el (authors-ignored-files)
2529 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2530
2531 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2532
2533 * shell.el (shell-dynamic-complete-command): Doc fix.
2534 (shell--command-completion-data): Shell completion now matches
2535 executable filenames from the current buffer's directory, on
2536 systems in which this behavior is the default (windows-nt, ms-dos).
2537
2538 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2539
2540 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2541
2542 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2545 (bug#16251).
2546
2547 * electric.el: Move all electric-pair-* to elec-pair.el.
2548 * elec-pair.el: New file, split from electric.el.
2549
2550 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2551
2552 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2553 indentation level is larger than the width, because that will
2554 infloop.
2555 (shr-insert): Fill repeatedly long texts, so that Japanese is
2556 formatted correctly (bug#16263).
2557 (shr-find-fill-point): Off by one error in comparison with the
2558 indentation.
2559
2560 2013-12-26 João Távora <joaotavora@gmail.com>
2561
2562 * electric.el (electric-pair-mode): More flexible engine for skip-
2563 and inhibit predicates, new options for pairing-related functionality.
2564 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2565 if that keeps or improves their balance in buffers.
2566 (electric-pair-delete-adjacent-pairs): Delete the pair when
2567 backspacing over adjacent matched delimiters.
2568 (electric-pair-open-extra-newline): Open extra newline when
2569 inserting newlines between adjacent matched delimiters.
2570 (electric--sort-post-self-insertion-hook):
2571 Sort post-self-insert-hook according to priority values when
2572 minor-modes are activated.
2573 * simple.el (newline-and-indent): Call newline with interactive
2574 set to t.
2575 (blink-paren-post-self-insert-function): Set priority to 100.
2576 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2577 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2578 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2579 electric-pair-open-newline-between-pairs to nil.
2580
2581 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2582
2583 * progmodes/python.el: Use lexical-binding.
2584 (python-nav-beginning-of-defun): Stop searching ASAP.
2585
2586 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2587
2588 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2589 Fix interactive spec. Doc fix. (Bug#15754)
2590
2591 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2592
2593 * emacs-lisp/byte-run.el (eval-when-compile):
2594 * progmodes/cc-defs.el (cc-eval-when-compile):
2595 Fix edebug spec (bug#16184).
2596
2597 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2598
2599 * net/shr.el (shr-visit-file): Remove debugging function.
2600 (shr-insert): Don't infloop if we can't find a good place to break
2601 the line (bug#16256).
2602
2603 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2604
2605 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2606 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2607 python-nav-lisp-forward-sexp-safe.
2608 (python-nav--forward-sexp): New argument SAFE allows switching
2609 forward sexp movement behavior for parens.
2610 (python-nav-forward-sexp): Throw errors on unterminated parens
2611 (Bug#16191).
2612 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2613 (python-nav-backward-sexp-safe): New functions.
2614 (python-shell-buffer-substring):
2615 Use `python-nav-forward-sexp-safe'.
2616
2617 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2618
2619 * net/shr.el (shr-find-fill-point): Don't break lines before a
2620 quotation mark.
2621 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2622 (shr-find-fill-point): Remove the special checks for the quotation
2623 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2624
2625 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2626
2627 * net/eww.el (eww-form-textarea): Use a different face for
2628 textareas than text input since they have different keymaps
2629 (bug#16142).
2630
2631 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2632
2633 * progmodes/python.el (python-nav-beginning-of-statement):
2634 Speed up (Bug#15295).
2635
2636 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2637
2638 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2639 the window configuration.
2640
2641 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2642
2643 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2644 we run on MS-Windows or MS-DOS.
2645
2646 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2647
2648 * window.el (balance-windows-area): Call window-size instead of
2649 window-height and window-width. Bug#16241.
2650
2651 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2652
2653 * net/eww.el (eww-bookmark-quit): Remove.
2654 (eww-bookmark-browse): Restore the window configuration when you
2655 choose a bookmark (bug#16144).
2656
2657 2013-12-24 Daniel Colascione <dancol@dancol.org>
2658
2659 * icomplete.el: Remove redundant :group arguments to `defcustom'
2660 throughout.
2661 (icomplete-show-matches-on-no-input): New customizable variable.
2662 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2663 we have something to show.
2664 (icomplete-exhibit): Compute completions even if we have no user input.
2665
2666 2013-12-23 Daniel Colascione <dancol@dancol.org>
2667
2668 * icomplete.el: Move `provide' to end of file.
2669
2670 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2671
2672 * net/gnutls.el (gnutls-verify-error): Add version tag.
2673
2674 2013-12-23 Chong Yidong <cyd@gnu.org>
2675
2676 * subr.el (set-transient-map): Rename from
2677 set-temporary-overlay-map. Doc fix.
2678
2679 * face-remap.el (text-scale-adjust):
2680 * indent.el (indent-rigidly):
2681 * kmacro.el (kmacro-call-macro):
2682 * minibuffer.el (minibuffer-force-complete):
2683 * repeat.el (repeat):
2684 * simple.el (universal-argument--mode):
2685 * calendar/todo-mode.el (todo-insert-item--next-param):
2686 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2687
2688 * indent.el (indent-rigidly): Use substitute-command-keys.
2689
2690 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2691
2692 * net/eww.el (eww-tag-select): Add text-property to jump to next
2693 select field.
2694 (eww): Add non-supported ftp error.
2695
2696 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2697
2698 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2699 comments. Handle electric indent after typing `?' and `!'.
2700
2701 2013-12-22 Chong Yidong <cyd@gnu.org>
2702
2703 * faces.el (face-spec-recalc): If the theme specs are not
2704 applicable to a frame, fall back on the defface spec.
2705 This prevents themes from obliterating faces on low-color terminals.
2706
2707 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2708
2709 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2710 after `{'. We need it after block openers, and it doesn't seem
2711 to hurt after hash openers.
2712
2713 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2714
2715 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2716 extracted from `ruby-smie-rules'.
2717 (ruby--electric-indent-chars): New variable.
2718 (ruby--electric-indent-p): New function.
2719 (ruby-mode): Use `electric-indent-functions' instead of
2720 `electric-indent-chars'.
2721
2722 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2723
2724 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2725 docstring.
2726 (ruby-smie-rules): Indent plus one level after `=>'.
2727
2728 2013-12-21 Richard Stallman <rms@gnu.org>
2729
2730 * simple.el (newline): Doc fix.
2731
2732 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2733
2734 * net/eww.el (eww-list-histories, eww-list-histories)
2735 (eww-history-browse, eww-history-quit, eww-history-kill)
2736 (eww-history-mode-map, eww-history-mode): New command and
2737 functions to list browser histories.
2738 (eww-form-text): Support text form with disabled
2739 and readonly attributes.
2740 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2741
2742 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2743
2744 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2745 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2746 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2747 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2748 Use `user-error'.
2749 (eww-bookmark-mode-map): Add menu.
2750 (eww-render, eww-mode): Use `setq-local'.
2751 (eww-tool-bar-map): New variable.
2752 (eww-mode): Set `tool-bar-map'.
2753 (eww-view-source): Check for `html-mode' with `fboundp'.
2754
2755 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2756
2757 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2758 elements with text inside. Also remove debugging.
2759
2760 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2761
2762 * cus-start.el (all): Add ns-use-srgb-colorspace.
2763
2764 2013-12-21 Chong Yidong <cyd@gnu.org>
2765
2766 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2767 undefined. Thus, theme settings for undefined faces do not take
2768 effect until the faces are defined with defface, the same as with
2769 theme variables.
2770
2771 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2772 (face-spec-reset-face): Don't assign extra properties in temacs.
2773 (face-spec-recalc): Apply X resources too.
2774
2775 2013-12-21 Chong Yidong <cyd@gnu.org>
2776
2777 * faces.el (face-spec-set):
2778 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2779 * custom.el (defface): Doc fixes (Bug#16203).
2780
2781 * indent.el (indent-rigidly-map): Add docstring, and move commands
2782 into named functions.
2783 (indent-rigidly-left, indent-rigidly-right)
2784 (indent-rigidly-left-to-tab-stop)
2785 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2786 indentation direction based on bidi direction, and accumulate
2787 sequential commands in a single undo boundary.
2788 (indent-rigidly--pop-undo): New utility function.
2789
2790 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2791
2792 * faces.el (read-face-name): Require crm.el when using crm-separator.
2793
2794 2013-12-20 Daniel Colascione <dancol@dancol.org>
2795
2796 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2797 so that we don't reflow comments into the shebang line.
2798
2799 2013-12-20 Juri Linkov <juri@jurta.org>
2800
2801 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2802 a position when `dired-directory' is non-nil. Check integer
2803 positions with `integerp'.
2804 (toggle-save-place, save-places-to-alist): Add check for
2805 `dired-directory'.
2806 (save-place-find-file-hook): Check integer positions with
2807 `integerp'.
2808 (save-place-dired-hook): Use `dired-goto-file' when
2809 `dired-filename' is found in the assoc list. Check integer
2810 positions with `integerp'.
2811 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2812
2813 * dired.el (dired-initial-position-hook): Rename back from
2814 `dired-initial-point-hook'.
2815 (dired-initial-position): Rename `dired-initial-point-hook' to
2816 `dired-initial-position-hook'.
2817 (dired-file-name-at-point): Doc fix. (Bug#15329)
2818
2819 2013-12-20 Juri Linkov <juri@jurta.org>
2820
2821 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2822 (read-regexp-suggestions): New function.
2823 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2824 Use `read-regexp-suggestions'. Add non-empty default to history
2825 for empty input.
2826 (occur-read-regexp-defaults-function): Remove function.
2827 (occur-read-primary-args): Use `regexp-history-last' instead of
2828 `occur-read-regexp-defaults-function'.
2829
2830 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2831 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2832 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2833 `hi-lock-read-regexp-defaults-function'. Doc fix.
2834 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2835 with `find-tag-default-as-symbol-regexp'. Doc fix.
2836 (hi-lock-read-regexp-defaults): Remove function.
2837 (hi-lock-regexp-okay): Add check for null.
2838
2839 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2840 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2841
2842 * subr.el (find-tag-default-as-symbol-regexp): New function.
2843 (find-tag-default-as-regexp): Move symbol regexp formatting to
2844 `find-tag-default-as-symbol-regexp'.
2845
2846 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2847
2848 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2849 (Bug#14179)
2850
2851 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2852
2853 * calendar/todo-mode.el: New implementation of item insertion
2854 commands and key bindings.
2855 (todo-key-prompt): New face.
2856 (todo-insert-item): New command.
2857 (todo-insert-item--parameters): New defconst, replacing defvar
2858 todo-insertion-commands-args-genlist.
2859 (todo-insert-item--param-key-alist): New defconst, replacing
2860 defvar todo-insertion-commands-arg-key-list.
2861 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2862 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2863 (todo-insert-item--next-param): New functions.
2864 (todo-insert-item--args, todo-insert-item--argleft)
2865 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2866 New variables.
2867 (todo-key-bindings-t): Change binding of "i" from
2868 todo-insertion-map to todo-insert-item.
2869 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2870 (todo-insertion-command-name, todo-insertion-commands-names)
2871 (todo-define-insertion-command, todo-insertion-commands)
2872 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2873
2874 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2875
2876 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2877 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2878 eval-when-compile.
2879 (todo-move-category): Allow choosing a non-existing todo file to
2880 move the category to, and create that file.
2881 (todo-default-priority): New user option.
2882 (todo-set-item-priority): Use it.
2883 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2884 (desktop-restore-file-buffer): Declare.
2885 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2886 (todo-modes-set-2): Locally set desktop-save-buffer to
2887 todo-desktop-save-buffer.
2888 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2889 (auto-mode-alist): Add autoload cookie.
2890
2891 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2892
2893 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2894 helpers.el was a poor choice of name.
2895 (string-remove-prefix): New function.
2896 (string-remove-suffix): New function.
2897
2898 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2899
2900 Fix assignment for new window total sizes.
2901 * window.el (window--pixel-to-size): Remove function.
2902 (window--pixel-to-total-1, window--pixel-to-total):
2903 Fix calculation of new total sizes.
2904
2905 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2906
2907 * comint.el (comint-output-filter): Fix rear-nonsticky property
2908 placement (Bug#16010).
2909
2910 2013-12-20 Chong Yidong <cyd@gnu.org>
2911
2912 * faces.el (read-color): Minor fix for completion function.
2913
2914 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2915
2916 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2917 New option. (Bug#16182)
2918 (ruby-smie--indent-to-stmt-p): Use it.
2919 (ruby-smie-rules): Revert the logic in the handling of `when'.
2920 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2921 (ruby-deep-arglist, ruby-deep-indent-paren)
2922 (ruby-deep-indent-paren-style): Update docstrings to note that the
2923 vars don't have any effect with SMIE.
2924
2925 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2926
2927 * calc/calc.el (calc-enter, calc-pop): Use the variable
2928 `calc-context-sensitive-enter'.
2929
2930 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2931
2932 * net/shr.el (shr-insert): Protect against infloops in degenerate
2933 tables.
2934
2935 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2936
2937 * progmodes/octave.el (octave): Add link to manual and octave
2938 homepage.
2939 (octave-mode-menu): Link to octave-mode manual.
2940
2941 2013-12-20 Leo Liu <sdl.web@gmail.com>
2942
2943 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2944 insertion using skeleton-end-newline. (Bug#16138)
2945
2946 2013-12-20 Juri Linkov <juri@jurta.org>
2947
2948 * replace.el (occur-engine): Use `add-face-text-property'
2949 to add the face property to matches and titles. (Bug#14645)
2950
2951 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2952 the palette of other hi-lock colors.
2953 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2954
2955 2013-12-19 Juri Linkov <juri@jurta.org>
2956
2957 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2958 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2959 (minibuffer-history-symbol): Move variable declaration closer to
2960 its usage.
2961
2962 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2963 (Bug#14785)
2964
2965 2013-12-19 Juri Linkov <juri@jurta.org>
2966
2967 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2968 New function.
2969 (log-edit-hook): Add it to :options. (Bug#16170)
2970
2971 2013-12-19 Juri Linkov <juri@jurta.org>
2972
2973 * simple.el (eval-expression-print-format): Don't check for
2974 command names and the last command. Always display additional
2975 formats of the integer result in the echo area, and insert them
2976 to the current buffer only with a zero prefix arg.
2977 Display character when char-displayable-p is non-nil.
2978 (eval-expression): With a zero prefix arg, set `print-length' and
2979 `print-level' to nil, and insert the integer values from
2980 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2981
2982 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2983 `eval-last-sexp-arg-internal'. Doc fix.
2984 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2985 `eval-last-sexp-print-value'. Doc fix.
2986 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2987 Set `print-length' and `print-level' to nil when arg is zero.
2988 (eval-last-sexp): Doc fix.
2989 (eval-defun-2): Print the integer values from
2990 `eval-expression-print-format' at the end.
2991
2992 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2993 values from `eval-expression-print-format' at the end.
2994
2995 * ielm.el (ielm-eval-input): Print the integer
2996 values from `eval-expression-print-format' at the end.
2997
2998 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2999
3000 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3001 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3002
3003 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3006 (hl-line-highlight, global-hl-line-highlight): Use it.
3007 (hl-line-overlay): Use defvar-local.
3008
3009 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3010
3011 * term/ns-win.el: Require dnd.
3012 (global-map): Remove drag items.
3013 (ns-insert-text, ns-set-foreground-at-mouse)
3014 (ns-set-background-at-mouse):
3015 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3016 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3017 New functions.
3018
3019 2013-12-19 Glenn Morris <rgm@gnu.org>
3020
3021 * emacs-lisp/ert.el (ert-select-tests):
3022 Fix string/symbol mixup. (Bug#16121)
3023
3024 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3025
3026 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3027 keywords to their parent.
3028
3029 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3030
3031 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3032 first arg to be a string (fixed dead code), or an operator symbol.
3033 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3034 operator symbols.
3035 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3036 did nothing. Don't respond to `(:after ".")', it will be called
3037 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3038 change anything. Only return indentation for binary operators
3039 when they are hanging. De-dent opening paren when its parent is
3040 `.', otherwise it looks bad when the dot is not at bol or eol
3041 (bug#16182).
3042
3043 2013-12-19 Juri Linkov <juri@jurta.org>
3044
3045 * replace.el (query-replace-read-args): Split a non-negative arg
3046 and a negative arg into separate elements.
3047 (query-replace, query-replace-regexp, replace-string)
3048 (replace-regexp): Add arg `backward'. Doc fix.
3049 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3050 move point to the beginning of the match.
3051 (replace-search, replace-highlight): Use new arg `backward'
3052 to set the value of `isearch-forward'.
3053 (perform-replace): Add arg `backward' and use it to perform
3054 replacement backward. (Bug#14979)
3055
3056 * isearch.el (isearch-query-replace): Use a negative prefix arg
3057 to call `perform-replace' with a non-nil arg `backward'.
3058
3059 2013-12-18 Juri Linkov <juri@jurta.org>
3060
3061 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3062 to the default list. Move `log-edit-show-files' to the end.
3063 Add more available functions to options.
3064 (log-edit): Move default specific settings to
3065 `log-edit-insert-message-template'. Don't move point.
3066 (log-edit-insert-message-template): New function.
3067 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3068 (Bug#16170)
3069
3070 2013-12-18 Juri Linkov <juri@jurta.org>
3071
3072 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3073 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3074
3075 2013-12-18 Leo Liu <sdl.web@gmail.com>
3076
3077 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3078 (Bug#16186)
3079
3080 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3081
3082 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3083 formats for displaying file sizes when the -s switch is given.
3084 Instead, compute a separate format for displaying the size in
3085 blocks, which is displayed in addition to the "regular" size.
3086 When -h is given in addition to -s, produce size in blocks in
3087 human-readable form as well. (Bug#16179)
3088
3089 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3090
3091 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3092 Reference tables with ~\ref{...} instead of only \ref{...}.
3093
3094 2013-12-18 Chong Yidong <cyd@gnu.org>
3095
3096 * cus-edit.el (custom-magic-alist): Fix "themed" description
3097 (Bug#14348).
3098
3099 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3100 is non-nil, do not create a new entry in the symbol's theme-value
3101 or theme-face property; update theme-settings only (Bug#14664).
3102 (custom-available-themes): Doc fix.
3103
3104 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3105 (Bug#15674).
3106
3107 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3108
3109 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3110
3111 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3112 (Bug#13914).
3113
3114 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3115
3116 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3117
3118 2013-12-18 Glenn Morris <rgm@gnu.org>
3119
3120 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3121 * cus-start.el (load-prefer-newer): New option.
3122
3123 2013-12-18 Le Wang <l26wang@gmail.com>
3124
3125 * comint.el (comint-previous-matching-input-from-input):
3126 Retain point (Bug#13404).
3127
3128 2013-12-18 Chong Yidong <cyd@gnu.org>
3129
3130 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3131
3132 2013-12-18 Glenn Morris <rgm@gnu.org>
3133
3134 * mail/emacsbug.el (report-emacs-bug):
3135 Only mention enable-multibyte-characters if non-standard.
3136
3137 2013-12-17 Juri Linkov <juri@jurta.org>
3138
3139 * arc-mode.el (archive-extract-by-file): Check if directory exists
3140 before deletion to not show irrelevant errors if it doesn't exist.
3141
3142 2013-12-17 Juri Linkov <juri@jurta.org>
3143
3144 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3145 (Bug#14751)
3146
3147 * net/eww.el (browse-web): Add alias to `eww'.
3148 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3149 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3150
3151 * net/browse-url.el (browse-url-browser-function): Move `eww'
3152 closer to similar functions.
3153
3154 * startup.el (fancy-startup-screen, fancy-about-screen):
3155 Set browse-url-browser-function to eww-browse-url locally.
3156 (Bug#14751)
3157
3158 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 * window.el (window--pixel-to-total): Remove unused `mini' var.
3161 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3162 (split-window): Remove unused `new' var.
3163 (window--display-buffer): Remove unused `frame' and `delta' vars.
3164 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3165 and display-width'.
3166
3167 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3168
3169 * dired.el (dired-mark-pop-up):
3170 * register.el (register-preview): Don't bind
3171 split-height-threshold here since it's now done in
3172 display-buffer-below-selected.
3173
3174 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3175
3176 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3177 xterm-rgb-convert-to-16bit.
3178 (rxvt-register-default-colors): Standardize with
3179 xterm-register-default-colors (Bug#14078).
3180
3181 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3182
3183 * simple.el (kill-region): Pass mark first, then point, so that
3184 kill-append works right (Bug#12819).
3185 (copy-region-as-kill, kill-ring-save): Likewise.
3186
3187 2013-12-17 Leo Liu <sdl.web@gmail.com>
3188
3189 * net/rcirc.el (rcirc-add-face):
3190 * eshell/em-prompt.el (eshell-emit-prompt):
3191 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3192 (Bug#16167)
3193
3194 2013-12-17 Chong Yidong <cyd@gnu.org>
3195
3196 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3197 Suggested by Xue Fuqiao.
3198
3199 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3200
3201 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3202
3203 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * net/shr.el (shr-insert-document): Remove unused var
3206 `shr-preliminary-table-render'.
3207 (shr-rescale-image): Remove unused arg `force'.
3208 (shr-put-image): Update calls accordingly.
3209 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3210
3211 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3212
3213 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3214 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3215 :close-all, to see which indentation method to use (Bug#16116).
3216 (smie-rules-function): Document the method :close-all.
3217
3218 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3219
3220 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3221
3222 * net/eww.el (eww-display-html): If we can't find the anchor we're
3223 looking for, then go to point-min.
3224
3225 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3226
3227 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3228 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3229 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3230 Expand dir too, in case it's relative.
3231
3232 2013-12-16 Juri Linkov <juri@jurta.org>
3233
3234 * desktop.el (desktop-auto-save-timeout): Change default to
3235 `auto-save-timeout'. Doc fix.
3236 (desktop-save): Skip the timestamp in desktop-saved-frameset
3237 when checking for auto-save changes.
3238 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3239 `desktop-auto-save' is called repeatedly by the idle timer.
3240 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3241 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3242 (Bug#15331)
3243
3244 2013-12-16 Juri Linkov <juri@jurta.org>
3245
3246 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3247 (Bug#16035)
3248 (isearch-pre-command-hook): Check `this-command' for symbolp.
3249
3250 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3251
3252 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3253
3254 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3255
3256 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3257 (cfengine3--current-function): Bring in the current-function
3258 functionality from `cfengine3--current-word'.
3259 (cfengine3-completion-function): Bring in the
3260 bounds-of-current-word functionality from
3261 `cfengine3--current-word'.
3262
3263 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3264
3265 * window.el (display-buffer-below-selected):
3266 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3267
3268 2013-12-16 Leo Liu <sdl.web@gmail.com>
3269
3270 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3271 Remove NOMSG arg and all uses changed.
3272
3273 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3276 (cua--deactivate-rectangle): Don't deactivate the mark.
3277 (cua-set-rectangle-mark): Don't set mark-active since
3278 cua--activate-rectangle already does it for us.
3279 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3280 non-rectangular region.
3281
3282 * emulation/cua-base.el (cua-repeat-replace-region):
3283 Use with-current-buffer.
3284
3285 * net/gnutls.el: Use cl-lib.
3286 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3287
3288 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3289
3290 * emacs-lisp/package.el (package-built-in-p): Support both
3291 built-in and the package.el converted package descriptions.
3292 (package-show-package-list): Allow keywords.
3293 (package-keyword-button-action): Use it instead of
3294 `finder-list-matches'.
3295 (package-menu-filter-interactive): Interactive filtering (by
3296 keyword) function.
3297 (package-menu--generate): Support keywords and change keymappings
3298 and headers when they are given.
3299 (package--has-keyword-p): Helper function.
3300 (package-menu--refresh): Use it.
3301 (package--mapc): Helper function.
3302 (package-all-keywords): Use it.
3303 (package-menu-mode-map): Set up menu items and keybindings to
3304 provide a filtering UI.
3305
3306 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3307
3308 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3309 the behavior when a certificate fails validation. Defaults to
3310 old behavior: never abort, just warn.
3311 (gnutls-negotiate): Use it.
3312
3313 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3314
3315 * window.el (display-buffer-below-selected): Never split window
3316 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3317
3318 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3319
3320 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3321 (package-buffer-info): Use it (bug#15108).
3322
3323 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3324
3325 * icomplete.el (icomplete-completions): Make sure the prefix is already
3326 displayed elsewhere before hiding it (bug#16219).
3327
3328 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3329
3330 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3331 open-paren tokens when preceded by a open-paren, too.
3332 (ruby-smie-rules): Handle virtual indentation after open-paren
3333 tokens specially. If there is code between it and eol, return the
3334 column where is starts (Bug#16118).
3335
3336 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3337
3338 * progmodes/cfengine.el: Fix `add-hook' doc.
3339 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3340 (cfengine3--current-word): Fix parameters.
3341 (cfengine3-make-syntax-cache): Simplify further.
3342 (cfengine3-completion-function, cfengine3--current-function):
3343 Use `assq' for symbols.
3344 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3345
3346 2013-12-13 Glenn Morris <rgm@gnu.org>
3347
3348 * loadup.el (load-path): Warn if site-load or site-init changes it.
3349 No more need to reset it when bootstrapping.
3350
3351 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3352
3353 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3354 locations for cf-promises.
3355 (cfengine-mode-syntax-functions-regex): New caching variable.
3356 (cfengine3-fallback-syntax): Fallback syntax for cases where
3357 cf-promises doesn't run.
3358 (cfengine3--current-word): Reimplement using
3359 `cfengine-mode-syntax-functions-regex'.
3360 (cfengine3-completion-function, cfengine3--current-function):
3361 Use `cfengine3-make-syntax-cache' directly.
3362 (cfengine3-clear-syntax-cache): New function.
3363 (cfengine3-make-syntax-cache): Simplify and create
3364 `cfengine-mode-syntax-functions-regex' on demand.
3365 (cfengine3-format-function-docstring): Don't call
3366 `cfengine3-make-syntax-cache' explicitly.
3367
3368 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3369
3370 Fix windmove-find-other-window broken after pixelwise resizing
3371 (Bug#16017).
3372 * windmove.el (windmove-other-window-loc): Revert change from
3373 2013-12-04.
3374 (windmove-find-other-window): Call window-in-direction.
3375 * window.el (window-in-direction): New arguments SIGN, WRAP and
3376 MINI to emulate original windmove-find-other-window behavior.
3377
3378 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3379
3380 * simple.el (blink-matching--overlay): New variable.
3381 (blink-matching-open): Instead of moving point, highlight the
3382 matching paren with an overlay
3383 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3384
3385 * faces.el (paren-showing-faces, show-paren-match)
3386 (show-paren-mismatch): Move from paren.el.
3387
3388 2013-12-13 Leo Liu <sdl.web@gmail.com>
3389
3390 * indent.el (indent-region): Disable progress reporter in
3391 minibuffer. (Bug#16108)
3392
3393 * bindings.el (visual-order-cursor-movement): Fix version.
3394
3395 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3396
3397 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3398 Also match after beginning of line.
3399 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3400 files. Thanks to Russell Sim. (Bug#15378)
3401
3402 2013-12-13 Juri Linkov <juri@jurta.org>
3403
3404 * simple.el <Keypad support>: Remove key bindings duplicated
3405 with bindings.el. (Bug#14397)
3406
3407 2013-12-13 Juri Linkov <juri@jurta.org>
3408
3409 * comint.el (comint-mode-map): Replace `delete-char' with
3410 `delete-forward-char'. (Bug#16109)
3411
3412 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3413
3414 * progmodes/python.el (python-indent-calculate-indentation):
3415 Fix de-denters cornercase. (Bug#15731)
3416
3417 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3418
3419 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3420 (advice--make): Pay attention to `depth'.
3421 (advice--make-1): Don't autoload commands eagerly.
3422 * emacs-lisp/elp.el (elp-instrument-function):
3423 * emacs-lisp/trace.el (trace-function-internal):
3424 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3425
3426 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3427
3428 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3429
3430 * term/w32-win.el (w32-handle-dropped-file):
3431 * startup.el (normal-top-level):
3432 * net/browse-url.el (browse-url-file-url):
3433 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3434 decode file names using 'utf-8' rather than
3435 file-name-coding-system.
3436
3437 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3438
3439 * progmodes/python.el (python-indent-context)
3440 (python-indent-calculate-indentation): Fix auto-identation
3441 behavior for comment blocks. (Bug#15916)
3442
3443 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3444
3445 * progmodes/python.el (python-indent-calculate-indentation):
3446 When determining indentation, don't treat "return", "pass", etc., as
3447 operators when they are just string constituents. (Bug#15812)
3448
3449 2013-12-12 Juri Linkov <juri@jurta.org>
3450
3451 * uniquify.el (uniquify-buffer-name-style): Change default to
3452 `post-forward-angle-brackets'.
3453
3454 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3455 `uniquify'. Change default to `post-forward-angle-brackets'.
3456
3457 2013-12-11 Glenn Morris <rgm@gnu.org>
3458
3459 * emacs-lisp/package.el (finder-list-matches):
3460 Autoload rather than falsely declaring.
3461
3462 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3463
3464 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3465 (eww-mode-map): Use them.
3466
3467 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3468
3469 * window.el (display-buffer-in-side-window): Fix doc-string
3470 (Bug#16115).
3471
3472 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3473
3474 * vc/vc-git.el: Silence byte-compiler warnings.
3475 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3476 (log-edit-set-header): Declare.
3477
3478 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3479
3480 * Makefile.in (custom-deps, finder-data): Run output file names
3481 through unmsys--file-name. (Bug#16099)
3482
3483 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3486 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3487
3488 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3489 instead of deleting the selection "by hand" (bug#16098).
3490 Rely on insert-for-yank to yank rectangles.
3491 (cua-highlight-region-shift-only): Mark obsolete.
3492 (cua-mode): Don't enable/disable transient-mark-mode,
3493 shift-select-mode (cua-mode works both with and without them), and
3494 pc-selection-mode (obsolete).
3495 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3496 (cua--deactivate-rectangle): Deactivate it.
3497
3498 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3499 (delete-selection-helper): Make sure yank starts at the top of the
3500 deleted region.
3501 (minibuffer-keyboard-quit): Use region-active-p.
3502
3503 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3504
3505 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3506 to `delete' (bug#16109).
3507
3508 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3509
3510 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3511 info manual and show keybindings and set `:group' keyword.
3512
3513 2013-12-11 Juri Linkov <juri@jurta.org>
3514
3515 * delsel.el (delete-active-region): Let-bind `this-command'
3516 to prevent `kill-region' from changing its original value.
3517 (delete-selection-helper): Handle `overwrite-mode' for the type
3518 `kill' exactly the same way as for the type `t'.
3519 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3520 Support more commands. (Bug#13312)
3521
3522 2013-12-11 Juri Linkov <juri@jurta.org>
3523
3524 * bindings.el: Map kp keys to non-kp keys systematically
3525 with basic modifiers control, meta and shift. (Bug#14397)
3526
3527 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3528
3529 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3530 "Close browser" menu items. Fix wrong function of "List
3531 bookmarks".
3532
3533 2013-12-11 Juri Linkov <juri@jurta.org>
3534
3535 * misearch.el (multi-isearch-buffers): Set the value of
3536 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3537 arg of isearch-forward to t.
3538 (multi-isearch-buffers-regexp): Set the value of
3539 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3540 arg of isearch-forward-regexp to t.
3541 (multi-isearch-files): Set the value of
3542 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3543 arg of isearch-forward to t.
3544 (multi-isearch-files-regexp): Set the value of
3545 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3546 arg of isearch-forward-regexp to t. (Bug#16035)
3547
3548 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3549 arg of isearch-forward to t.
3550 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3551 arg of isearch-forward-regexp to t.
3552 (dired-isearch-filter-filenames): Remove unnecessary check for
3553 `dired-isearch-filenames'.
3554
3555 * comint.el (comint-history-isearch-backward):
3556 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3557 (comint-history-isearch-backward-regexp):
3558 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3559
3560 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3561
3562 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3563 unmsys--file-name. (Bug#16099)
3564
3565 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3566
3567 * emacs-lisp/package.el (package-keyword-button-action):
3568 Remove finder.el require dependency.
3569
3570 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3571
3572 * emacs-lisp/package.el: Require finder.el.
3573 (describe-package-1): Add keyword buttons.
3574 (package-make-button): New convenience function.
3575 (package-keyword-button-action): Keyword button action using
3576 `finder-list-matches'.
3577
3578 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3579
3580 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3581 last commit.
3582
3583 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3584
3585 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3586 symlinked files.
3587
3588 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3589
3590 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3591 after the end of a percent literal.
3592
3593 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3594
3595 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3596 Handle caret-delimited strings (Bug#16079).
3597
3598 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3599
3600 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3601 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3602 `ruby-parse-partial' (Bug#16078).
3603
3604 2013-12-09 Leo Liu <sdl.web@gmail.com>
3605
3606 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3607
3608 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3609
3610 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3611 (js-switch-indent-offset): New option.
3612 (js--proper-indentation): Use it. And handle the case when
3613 "default" is actually a key in an object literal.
3614 (js--same-line): New function.
3615 (js--multi-line-declaration-indentation): Use it.
3616 (js--indent-in-array-comp, js--array-comp-indentation):
3617 New functions.
3618 (js--proper-indentation): Use them, to handle array comprehension
3619 continuations.
3620
3621 2013-12-08 Leo Liu <sdl.web@gmail.com>
3622
3623 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3624 (flymake-make-overlay): Remove arg MOUSE-FACE.
3625 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3626
3627 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3630 New function.
3631 (redisplay-highlight-region-function): Use it.
3632
3633 * emulation/cua-base.el (cua--explicit-region-start)
3634 (cua--last-region-shifted): Remove.
3635 (cua--deactivate): Use deactivate-mark.
3636 (cua--pre-command-handler-1): Don't handle shift-selection.
3637 (cua--post-command-handler-1): Don't change transient-mark-mode.
3638 (cua--select-keymaps): Use region-active-p rather than
3639 cua--explicit-region-start or cua--last-region-shifted.
3640 (cua-mode): Enable shift-select-mode.
3641
3642 2013-12-08 Leo Liu <sdl.web@gmail.com>
3643
3644 * progmodes/flymake.el (flymake-popup-current-error-menu):
3645 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3646 (flymake-posn-at-point-as-event, flymake-popup-menu)
3647 (flymake-make-emacs-menu): Remove. (Bug#16077)
3648
3649 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * rect.el (rectangle-mark-mode): Activate mark even if
3652 transient-mark-mode is off (bug#16066).
3653 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3654 is > mark and at bolp.
3655
3656 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3657 (region-extract-function): Use it.
3658 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3659 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3660 Delete functions.
3661 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3662 kill-ring-save, kill-region, delete-char, delete-forward-char.
3663 Ignore self-insert-iso.
3664
3665 * emulation/cua-gmrk.el (cua--init-global-mark):
3666 Ignore `self-insert-iso'.
3667
3668 * emulation/cua-base.el (cua--prefix-copy-handler)
3669 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3670 checking cua--rectangle.
3671 (cua-delete-region): Use region-extract-function.
3672 (cua-replace-region): Delete function.
3673 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3674 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3675 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3676 (cua--init-keymaps): Don't remap delete-selection commands.
3677 (cua-mode): Use delete-selection-mode instead of rolling our own
3678 (bug#16085).
3679
3680 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3681 Obey region-extract-function.
3682
3683 Make registers and delete-selection-mode work on rectangles.
3684 * register.el (describe-register-1): Don't modify the register's value.
3685 (copy-to-register): Obey region-extract-function.
3686 * delsel.el (delete-active-region): Obey region-extract-function.
3687
3688 2013-12-08 Leo Liu <sdl.web@gmail.com>
3689
3690 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3691 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3692 (flymake-compilation-prevents-syntax-check)
3693 (flymake-start-syntax-check-on-newline)
3694 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3695 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3696 (flymake-xml-program, flymake-master-file-dirs)
3697 (flymake-master-file-count-limit)
3698 (flymake-allowed-file-name-masks): Relocate.
3699 (flymake-makehash, flymake-float-time)
3700 (flymake-replace-regexp-in-string, flymake-split-string)
3701 (flymake-get-temp-dir): Remove.
3702 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3703 (flymake-current-row, flymake-selected-frame)
3704 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3705 related functions. (Bug#16077)
3706
3707 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3708
3709 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3710
3711 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3712
3713 * help-fns.el (describe-function-1): Use new advice-* functions
3714 rather than old ad-* functions. Fix function type description and
3715 source links for advised functions and subrs.
3716
3717 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3718
3719 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3720
3721 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3722
3723 * progmodes/compile.el (compilation-start):
3724 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3725
3726 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3727 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3728
3729 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3730
3731 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3732 Touch up the last change.
3733
3734 2013-12-06 Leo Liu <sdl.web@gmail.com>
3735
3736 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3737 (inferior-octave-startup): Always use "octave> " for prompt.
3738 (octave-goto-function-definition)
3739 (octave-sync-function-file-names)
3740 (octave-find-definition-default-filename): Remove redundant backquotes.
3741
3742 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3743
3744 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3745 syntax for `?'.
3746 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3747 where appropriate already.
3748 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3749 end of method names (Bug#15874).
3750
3751 2013-12-06 Juri Linkov <juri@jurta.org>
3752
3753 * isearch.el (isearch--saved-overriding-local-map):
3754 New internal variable.
3755 (isearch-mode): Set it to the initial value of
3756 `overriding-terminal-local-map'.
3757 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3758 with `isearch--saved-overriding-local-map'. (Bug#16035)
3759
3760 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3761
3762 * progmodes/octave.el (inferior-octave-completion-table):
3763 Turn back into function, use `completion-table-with-cache'
3764 (Bug#11906). Update all references.
3765
3766 * minibuffer.el (completion-table-with-cache): New function.
3767
3768 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3769
3770 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3771
3772 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3773
3774 * net/eww.el (eww-current-source): New variable to store page
3775 source.
3776 (eww-display-html, eww-mode, eww-save-history)
3777 (eww-restore-history): Use it.
3778 (eww-view-source): New command to view page source.
3779 Opportunistically uses `html-mode' to highlight the buffer.
3780 (eww-mode-map): Install it.
3781
3782 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3783
3784 * net/dbus.el (dbus-unregister-service)
3785 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3786 Fix docstring.
3787 (dbus-unregister-service): Skip :serial entries in
3788 `dbus-registered-objects-table'.
3789 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3790
3791 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3792
3793 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3794 around keywords with extra `split-string' argument.
3795
3796 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3797
3798 * windmove.el (windmove-other-window-loc): Handle navigation
3799 between windows (excluding the minibuffer window - Bug#16017).
3800
3801 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3802
3803 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3804 in D-Bus type syntax.
3805 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3806 preserve unibyte strings. (Bug#16048)
3807
3808 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3809
3810 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3811 Call force-mode-line-update is the proper buffer (bug#16042).
3812
3813 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3814
3815 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3816 `log-edit-remember-comment', make argument optional. Adjust all
3817 callers.
3818 (log-edit-mode): Add `log-edit-remember-comment' to
3819 `kill-buffer-hook' locally.
3820 (log-edit-kill-buffer): Don't remember comment explicitly since
3821 the buffer is killed anyway.
3822
3823 2013-12-04 Juri Linkov <juri@jurta.org>
3824
3825 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3826 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3827
3828 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3829
3830 * notifications.el (notifications-close-notification): Call the
3831 D-Bus method with ID being a `:uint32'. (Bug#16030)
3832
3833 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3834
3835 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3836
3837 2013-12-03 Juri Linkov <juri@jurta.org>
3838
3839 * progmodes/compile.el (compilation-start): Rename window alist
3840 entry `no-display-ok' to `allow-no-window'.
3841
3842 * simple.el (shell-command): Add window alist entry
3843 `allow-no-window' to `display-buffer'.
3844 (async-shell-command): Doc fix.
3845
3846 * window.el (display-buffer-no-window): New action function.
3847 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3848
3849 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3850
3851 * vc/log-edit.el (log-edit-set-header): Extract from
3852 `log-edit-toggle-header'.
3853 (log-edit-extract-headers): Separate the summary, when extracted
3854 from header, from the rest of the message with an empty line.
3855
3856 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3857 line, if present, to the Summary header.
3858
3859 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3862 in current-buffer (bug#16029).
3863
3864 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3865
3866 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3867 (debugger-mode-map): Bind it.
3868 (debugger--backtrace-base): New function.
3869 (debugger-eval-expression): Use it.
3870 (debugger-frame-number): Skip local vars when present.
3871 (debugger--locals-visible-p, debugger--insert-locals)
3872 (debugger--show-locals, debugger--hide-locals): New functions.
3873
3874 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3875
3876 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3877 "LC_ALL".
3878 (tramp-get-remote-locale): New defun.
3879 (tramp-open-connection-setup-interactive-shell): Use it.
3880
3881 2013-12-02 Leo Liu <sdl.web@gmail.com>
3882
3883 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3884
3885 * progmodes/sh-script.el (sh-shell-process):
3886 * progmodes/octave.el (inferior-octave-process-live-p):
3887 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3888 (gdb-inferior-io-sentinel):
3889 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3890
3891 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3892
3893 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3894 `save-selected-window' to `log-edit-hide-buf'. This makes
3895 `log-edit-show-files' idempotent.
3896 (log-edit-show-files): Mark the new window as dedicated.
3897
3898 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3899
3900 * vc/log-edit.el (log-edit-mode-map): Add binding for
3901 `log-edit-kill-biffer'.
3902 (log-edit-hide-buf): Add a FIXME comment.
3903 (log-edit-add-new-comment): New function, extracted from
3904 `log-edit-done'.
3905 (log-edit-done, log-edit-add-to-changelog): Use it.
3906 (log-edit-kill-buffer): New command.
3907
3908 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3909
3910 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3911 instead of killing the buffer.
3912
3913 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3916
3917 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3918
3919 * net/eww.el (eww-form-checkbox-selected-symbol)
3920 (eww-form-checkbox-symbol): New customizable variable.
3921 (eww-form-checkbox, eww-toggle-checkbox):
3922 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3923
3924 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3925 (shr--get-media-pref, shr--extract-best-source): New function.
3926 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3927 no :src tag was specified.
3928
3929 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3930 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3931 Use \\` to match beginning of string instead of ^.
3932 (eww-browse-with-external-browser): Provide optional URL parameter.
3933 (eww-render): Set `eww-current-title' back to "".
3934
3935 * net/shr.el (shr-tag-video): Display content for video if no
3936 poster is available.
3937 (shr-tag-audio): Add support for <audio> tag.
3938
3939 * net/eww.el (eww-text-input-types): New const.
3940 (eww-process-text-input): Treat input types in
3941 `eww-text-input-types' as text.
3942
3943 * net/shr.el (shr-tag-table): Fix comment typo.
3944
3945 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3946
3947 * net/eww.el (eww-follow-link): New command to avoid reloading
3948 pages when we follow #target links (bug#15243).
3949 (eww-quit): Special mode buffers shouldn't query before exiting.
3950
3951 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3952
3953 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3954 forms.
3955
3956 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3957
3958 * net/eww.el (eww-restore-history): Update the window title after
3959 moving in the history.
3960 (eww-current-dom): New variable used to save the current DOM.
3961
3962 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3963
3964 * vc/log-edit.el (log-edit-mode-map): Add binding for
3965 `log-edit-beginning-of-line'.
3966 (log-edit-setup-add-author): New user option.
3967 (log-edit-beginning-of-line): New command.
3968 (log-edit): Move major mode call above the contents setup so that
3969 the local variable values are already applied.
3970 (log-edit): Only insert "Author: " when
3971 `log-edit-setup-add-author' is non-nil.
3972 (log-edit): When SETUP is non-nil, position point after ": "
3973 instead of point-min.
3974
3975 2013-12-01 Glenn Morris <rgm@gnu.org>
3976
3977 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3978
3979 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3980
3981 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3982 redisplay to make sure the initial frame gets a chance to become
3983 visible. (Bug#16014)
3984
3985 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3986
3987 Support resizing frames and windows pixelwise.
3988 * cus-start.el (frame-resize-pixelwise)
3989 (window-resize-pixelwise): New entries.
3990 * emacs-lisp/debug.el (debug): Use window-total-height instead
3991 of window-total-size.
3992 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3993 * help.el (describe-bindings-internal): Use help-buffer as
3994 argument for with-help-window.
3995 (temp-buffer-max-width): New option.
3996 (resize-temp-buffer-window, help-window-setup)
3997 (with-help-window): Rewrite.
3998 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3999 dragging dividers.
4000 * window.el (frame-char-size, window-min-pixel-height)
4001 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4002 (window-min-pixel-width, window-safe-min-pixel-size)
4003 (window-combination-p, window-safe-min-size)
4004 (window-resizable-p, window--size-to-pixel)
4005 (window--pixel-to-size, window--resize-apply-p): New functions.
4006 (window-safe-min-height): Fix doc-string.
4007 (window-size, window-min-size, window--min-size-1)
4008 (window-sizable, window-sizable-p, window--min-delta-1)
4009 (window-min-delta, window--max-delta-1, window-max-delta)
4010 (window--resizable, window--resizable-p, window-resizable)
4011 (window-full-height-p, window-full-width-p, window-at-side-p)
4012 (window--in-direction-2, window-in-direction)
4013 (window--resize-reset-1, window--resize-mini-window)
4014 (window-resize, window-resize-no-error)
4015 (window--resize-child-windows-normal)
4016 (window--resize-child-windows, window--resize-siblings)
4017 (window--resize-this-window, window--resize-root-window)
4018 (window--resize-root-window-vertically)
4019 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4020 (maximize-window, minimize-window, delete-window)
4021 (quit-restore-window, window-split-min-size, split-window)
4022 (balance-windows-2, balance-windows)
4023 (balance-windows-area-adjust, balance-windows-area)
4024 (window--state-get-1, window-state-get, window--state-put-1)
4025 (window--state-put-2, window-state-put)
4026 (display-buffer-record-window, window--display-buffer):
4027 Make functions handle pixelwise sizing of windows.
4028 (display-buffer--action-function-custom-type)
4029 (display-buffer-fallback-action):
4030 Add display-buffer-in-previous-window.
4031 (display-buffer-use-some-window): Resize window to height it had
4032 before.
4033 (fit-window-to-buffer-horizontally): New option.
4034 (fit-frame-to-buffer): Describe new values.
4035 (fit-frame-to-buffer-bottom-margin): Replace with
4036 fit-frame-to-buffer-margins.
4037 (window--sanitize-margin): New function.
4038 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4039 using window-text-pixel-size.
4040
4041 2013-11-30 Glenn Morris <rgm@gnu.org>
4042
4043 * emacs-lisp/bytecomp.el (byte-compile-form):
4044 Make the `interactive-only' warning like the `obsolete' one.
4045 * comint.el (comint-run):
4046 * files.el (insert-file-literally, insert-file):
4047 * replace.el (replace-string, replace-regexp):
4048 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4049 (goto-line, insert-buffer, next-line, previous-line):
4050 Tweak `interactive-only' spec.
4051
4052 Stop keeping (most) generated cedet grammar files in the repository.
4053 * Makefile.in (semantic): New.
4054 (compile-main): Depend on semantic.
4055
4056 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4059 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4060
4061 * uniquify.el (uniquify-buffer-name-style): Change default.
4062
4063 * loadup.el: Preload "uniquify".
4064
4065 * time.el (display-time-update): Update all mode lines (bug#15999).
4066
4067 * electric.el (electric-indent-mode): Enable by default.
4068 * loadup.el: Preload "electric".
4069
4070 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4071
4072 * emacs-lisp/helpers.el (string-empty-p): New function.
4073 (string-blank-p): New function.
4074
4075 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4076
4077 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4078 (Bug#14029).
4079
4080 2013-11-29 Andreas Politz <politza@fh-trier.de>
4081 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4082 allow non-lambda lists as functions.
4083 (imenu--in-alist): Don't recurse into non-subalists.
4084 (imenu): Don't pass function itself as an argument (Bug#14029).
4085
4086 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * progmodes/python.el (python-mode-map): Remove binding for ":".
4089 (python-indent-electric-colon): Remove command.
4090 (python-indent-post-self-insert-function): Integrate the previous code
4091 of python-indent-electric-colon. Make it conditional on
4092 electric-indent-mode.
4093 (python-mode): Add ?: to electric-indent-chars.
4094 Move python-indent-post-self-insert-function to the end of
4095 post-self-insert-hook.
4096
4097 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * doc-view.el (doc-view-goto-page): Update mode-line.
4100
4101 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4102
4103 2013-11-27 Glenn Morris <rgm@gnu.org>
4104
4105 * international/charprop.el, international/uni-bidi.el:
4106 * international/uni-category.el, international/uni-combining.el:
4107 * international/uni-comment.el, international/uni-decimal.el:
4108 * international/uni-decomposition.el, international/uni-digit.el:
4109 * international/uni-lowercase.el, international/uni-mirrored.el:
4110 * international/uni-name.el, international/uni-numeric.el:
4111 * international/uni-old-name.el, international/uni-titlecase.el:
4112 * international/uni-uppercase.el:
4113 Remove generated files from VCS repository.
4114
4115 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4116
4117 * filenotify.el (file-notify-add-watch): Don't special-case
4118 w32notify when computing the directory to watch.
4119
4120 2013-11-27 Glenn Morris <rgm@gnu.org>
4121
4122 Make bootstrap without generated uni-*.el files possible again.
4123 * loadup.el: Update command-line-args checking for unidata-gen.
4124 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4125 * composite.el, international/characters.el:
4126 Handle unicode tables being undefined.
4127
4128 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4129 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4130 (compile-main): Depend on leim rule.
4131 (leim): New rule.
4132 * loadup.el: Move leim-list.el to leim/ subdirectory.
4133 * startup.el (normal-top-level): No more leim directory.
4134 * international/ja-dic-cnv.el (skkdic-convert):
4135 Disable version-control and autoloads in output files.
4136 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4137 Disable version-control and autoloads in output files.
4138 * leim/quail: Move here from ../leim.
4139 * leim/quail/hangul.el (hangul-input-method-activate):
4140 Add autoload cookie.
4141 (generated-autoload-load-name): Set file-local value.
4142 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4143 (generated-autoload-load-name): Set file-local value.
4144
4145 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4146
4147 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4148 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4149 (eww-quit): Ask confirmation before quitting eww.
4150
4151 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4152
4153 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4154 reading output from Diff on MS-Windows and MS-DOS.
4155
4156 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4157
4158 * emacs-lisp/helpers.el (string-reverse): New function.
4159
4160 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4161
4162 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4163 names on MS Windows, like "/[::1]:".
4164
4165 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4166 SWITCHES.
4167
4168 2013-11-26 Glenn Morris <rgm@gnu.org>
4169
4170 * progmodes/python.el (python-indent-guess-indent-offset):
4171 Avoid corner-case error. (Bug#15975)
4172
4173 Preload leim-list.el. (Bug#4789)
4174 * loadup.el: Load leim-list.el when found.
4175 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4176
4177 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4178
4179 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4180
4181 * emacs-lisp/helpers.el (string-join): New function.
4182
4183 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4184
4185 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4186 Mark as obsolete and replace it with a symbol property.
4187 (byte-compile-form): Use new 'interactive-only property.
4188 * comint.el, files.el, replace.el, simple.el:
4189 Apply new 'interactive-only properly.
4190
4191 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4192
4193 * window.el (display-buffer-at-bottom): Make sure that
4194 split-window-sensibly creates the new window on bottom
4195 (Bug#15961).
4196
4197 2013-11-23 David Kastrup <dak@gnu.org>
4198
4199 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4200 on the conflict markers when available.
4201 (smerge--get-marker): New function.
4202 (smerge-end-re, smerge-base-re): Add subgroup.
4203
4204 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * frame.el (handle-focus-in, handle-focus-out): Add missing
4207 interactive spec.
4208
4209 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4210
4211 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4212 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4213
4214 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4217 (gomoku--last-pos): New var.
4218 (gomoku--intangible-chars): New const.
4219 (gomoku--intangible): New function.
4220 (gomoku-mode): Use it. Derive from special-mode.
4221 (gomoku-move-up): Adjust line count.
4222 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4223 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4224 Simplify accordingly.
4225
4226 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4227 Remove blink-cursor code.
4228 (blink-cursor-timer-function, blink-cursor-suspend):
4229 Don't special-case GUIs.
4230 (blink-cursor-mode): Use focus-in/out-hook.
4231
4232 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4233
4234 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4235 work when annotation is invisible (Bug#13886).
4236
4237 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4238
4239 * json.el (json-alist-p): Only return non-nil if the alist has
4240 simple keys (Bug#13518).
4241
4242 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4243
4244 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4245 when control-statement is the first statement in a buffer (Bug#15956).
4246
4247 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4248
4249 * imenu.el (imenu-generic-skip-comments-and-strings):
4250 New option (Bug#15560).
4251 (imenu--generic-function): Use it.
4252
4253 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4254
4255 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4256 (Bug#13898)
4257
4258 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4259
4260 * emacs-lisp/helpers.el: Add some string helpers.
4261 (string-trim-left): Removes leading whitespace.
4262 (string-trim-right): Removes trailing whitespace.
4263 (string-trim): Removes leading and trailing whitespace.
4264
4265 * subr.el (string-suffix-p): New function.
4266
4267 2013-11-23 Glenn Morris <rgm@gnu.org>
4268
4269 * progmodes/python.el (python-shell-send-file):
4270 Add option to delete file when done. (Bug#15647)
4271 (python-shell-send-string, python-shell-send-region): Use it.
4272
4273 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4274
4275 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4276 to set buffer-read-only to t, never to nil. (Bug#15938)
4277
4278 * textmodes/tex-mode.el (latex-noindent-environments):
4279 Add safe-local-variable property. (Bug#15936)
4280
4281 2013-11-23 Glenn Morris <rgm@gnu.org>
4282
4283 * textmodes/enriched.el (enriched-mode): Doc fix.
4284 * emacs-lisp/authors.el (authors-renamed-files-alist):
4285 Add enriched.doc -> enriched.txt.
4286
4287 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4288
4289 2013-11-22 Leo Liu <sdl.web@gmail.com>
4290
4291 * progmodes/octave.el (inferior-octave-startup): Spit out error
4292 message.
4293
4294 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4295
4296 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4297 Improve docstring.
4298 Add :version.
4299 (ruby-encoding-magic-comment-style): Add :version.
4300
4301 2013-11-22 Leo Liu <sdl.web@gmail.com>
4302
4303 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4304 (Bug#15076)
4305 (octave-help-mode): Adapt to change to help-mode-finish to use
4306 derived-mode-p on 2013-09-17.
4307 (inferior-octave-prompt): Also match octave-gui.
4308 (octave-kill-process): Don't ask twice. (Bug#10564)
4309
4310 2013-11-22 Leo Liu <sdl.web@gmail.com>
4311
4312 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4313 (inferior-octave-startup, inferior-octave-check-process)
4314 (inferior-octave-track-window-width-change)
4315 (octave-completion-at-point, octave-eldoc-function): Use it.
4316 (octave-kill-process): Provide confirmation. (Bug#10564)
4317
4318 2013-11-21 Leo Liu <sdl.web@gmail.com>
4319
4320 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4321 Fix obsolete variable comment-use-global-state.
4322
4323 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4324
4325 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4326 Add `octave-source-file'.
4327 (octave-source-file): New function. (Bug#15935)
4328
4329 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4330
4331 * net/eww.el (eww-local-regex): New variable.
4332 (eww): Use it to detect localhost and similar.
4333
4334 2013-11-21 Leo Liu <sdl.web@gmail.com>
4335
4336 Add completion for command `ag'.
4337 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4338 (pcomplete/ag): New function.
4339 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4340
4341 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4342
4343 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4344 (bug#14646).
4345 (make-obsolete): Remove interactive spec.
4346
4347 2013-11-21 Glenn Morris <rgm@gnu.org>
4348
4349 * startup.el (command-line-1): Use path-separator with -L.
4350
4351 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4352
4353 * emacs-lisp/package.el (describe-package-1): Add package archive
4354 to shown fields.
4355
4356 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4357
4358 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4359 Change default to "# encoding: %s" to differentiate it from the
4360 default Ruby encoding comment template.
4361
4362 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4363
4364 * ses.el (ses-mode): Doc fix. (Bug#14748)
4365
4366 2013-11-20 Leo Liu <sdl.web@gmail.com>
4367
4368 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4369
4370 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4371
4372 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4373 when rebase or bisect are in progress.
4374
4375 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4376
4377 * filenotify.el (file-notify-add-watch): Doc fix.
4378
4379 2013-11-19 Leo Liu <sdl.web@gmail.com>
4380
4381 * obsolete/rcompile.el: Mark obsolete.
4382
4383 * progmodes/compile.el (compilation-start)
4384 (compilation-goto-locus, compilation-find-file):
4385 Pass no-display-ok and handle nil value from display-buffer.
4386 (Bug#13594)
4387
4388 * window.el (display-buffer-alist, display-buffer): Document the
4389 new parameter no-display-ok. Return either a window or nil
4390 but never a non-window value.
4391
4392 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * electric.el (electric-indent-mode-map): Remove.
4395 (electric-indent-mode): Change the global-map instead (bug#15915).
4396
4397 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4398 Use add-function.
4399
4400 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * emacs-lisp/nadvice.el (remove-function): Align with
4403 add-function's behavior.
4404
4405 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4406 (gdb--string-regexp): New constant.
4407 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4408 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4409 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4410 submatch 1.
4411 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4412 Adjust use accordingly.
4413 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4414
4415 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4416
4417 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4418 interpolation curlies (Bug#15914).
4419
4420 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4421
4422 * calc/calc.el (calc-context-sensitive-enter): New variable.
4423 (calc-enter): Use `calc-context-sensitive-enter'.
4424
4425 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4426
4427 * progmodes/cfengine.el: Version bump.
4428 (cfengine-cf-promises): New defcustom to locate cf-promises.
4429 (cfengine3-vartypes): Add new "data" type.
4430 (cfengine3--current-word): New function to get current name-like
4431 word or its bounds.
4432 (cfengine3--current-function): New function to look up a CFEngine
4433 function's definition.
4434 (cfengine3-format-function-docstring): New function.
4435 (cfengine3-make-syntax-cache): New function.
4436 (cfengine3-documentation-function): New function: ElDoc glue.
4437 (cfengine3-completion-function): New function: completion glue.
4438 (cfengine3-mode): Set `compile-command',
4439 `eldoc-documentation-function', and add to
4440 `completion-at-point-functions'.
4441
4442 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4443
4444 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4445 `tramp-current-connection'.
4446
4447 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4448
4449 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4450 nil/self/true/false with "end of symbol".
4451
4452 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4453
4454 * subr.el (version-regexp-alist): Fix a typo.
4455
4456 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4457
4458 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4459 "en_US.utf8" and "LC_CTYPE" to "".
4460 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4461 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4462
4463 2013-11-15 Leo Liu <sdl.web@gmail.com>
4464
4465 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4466
4467 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * progmodes/gud.el (ctl-x-map):
4470 Remove C-x SPC binding. (Bug#12342)
4471 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4472
4473 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4474
4475 * subr.el (version-regexp-alist):
4476 Recognize hg, svn and darcs versions as snapshot versions.
4477
4478 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4479 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4480 (ruby--encoding-comment-required-p): Extract from
4481 `ruby-mode-set-encoding'.
4482 (ruby-mode-set-encoding): Add the ability to always insert an
4483 utf-8 encoding comment. Fix and simplify coding comment update
4484 logic.
4485
4486 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4487
4488 * net/tramp-gvfs.el (top): Run init code only when
4489 `tramp-gvfs-enabled' is not nil.
4490 (tramp-gvfs-enabled): Check also :system bus.
4491
4492 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 Sync with upstream verilog-mode revision 78e66ba.
4495 * progmodes/verilog-mode.el (verilog-end-of-defun)
4496 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4497 (verilog-get-end-of-defun): Remove unused argument.
4498 (verilog-comment-depth): Remove unused local `e'.
4499 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4500 Don't pass arg to verilog-get-end-of-defun.
4501
4502 2013-11-14 Glenn Morris <rgm@gnu.org>
4503
4504 * obsolete/assoc.el (aget): Prefix dynamic variable.
4505
4506 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4507
4508 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * widget.el, hfy-cmap.el: Remove bogus package version number.
4511
4512 2013-11-13 Glenn Morris <rgm@gnu.org>
4513
4514 * replace.el (replace-eval-replacement):
4515 Try to give more helpful error message. (Bug#15836)
4516
4517 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4518 (archive-7z-update): Avoid custom type mismatches.
4519
4520 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4521
4522 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4523
4524 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4525 address can be empty.
4526
4527 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4528 Accept nil SWITCHES.
4529 (tramp-gvfs-handle-write-region): Implement APPEND.
4530
4531 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4532
4533 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4534 binary "|" operator and closing block args delimiter.
4535 Remove FIXME comment referring to Ruby 1.8-only syntax.
4536 (ruby-smie--implicit-semi-p): Not after "|" operator.
4537 (ruby-smie--closing-pipe-p): New function.
4538 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4539 (ruby-smie-rules): Indent after "|".
4540
4541 2013-11-12 Glenn Morris <rgm@gnu.org>
4542
4543 * ps-print.el (ps-face-attribute-list):
4544 Handle anonymous faces. (Bug#15827)
4545
4546 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4547
4548 * window.el (display-buffer-other-frame): Fix doc-string.
4549 (Bug#15868)
4550
4551 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4552
4553 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4554
4555 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4556
4557 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4558 (tramp-sh-handle-file-local-copy): Don't write a message when
4559 saving temporary files.
4560
4561 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4562 both directories are remote.
4563 (tramp-smb-handle-directory-files): Do not return double entries.
4564 Do not expand full file names.
4565 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4566 (tramp-smb-handle-write-region): Implement APPEND.
4567 (tramp-smb-get-stat-capability): Fix a stupid bug.
4568
4569 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4572
4573 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4574
4575 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4576 throwing error over malformed let/let* (bug#15814).
4577
4578 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * iswitchb.el (iswitchb-mode): Mark obsolete.
4581
4582 2013-11-11 Glenn Morris <rgm@gnu.org>
4583
4584 * international/uni-bidi.el, international/uni-category.el:
4585 * international/uni-name.el, international/uni-numeric.el:
4586 Regenerate for Unicode 6.3.0.
4587
4588 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4589
4590 * net/tramp.el (tramp-methods):
4591 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4592 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4593
4594 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4595
4596 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4597 Force highlighting text after Summary keyword in doc face for rpm.
4598
4599 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4600
4601 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4602 available and the word has no wildcards, append one to the grep pattern.
4603 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4604 (ispell-complete-word): Call `ispell-lookup-words' with the value
4605 independent of `ispell-look-p'.
4606
4607 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4608
4609 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4610 Not after "||".
4611 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4612 their parent.
4613
4614 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4615
4616 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4617 (ruby-font-lock-keywords): Use backquote.
4618
4619 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4620
4621 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4622 (ruby-smie--backward-token): Only consider full-string matches.
4623
4624 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4625
4626 * faces.el (describe-face): Add distant-foreground.
4627
4628 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4629
4630 * progmodes/ruby-mode.el: Improve encoding comment handling.
4631 (ruby-encoding-magic-comment-style): New option.
4632 (ruby-custom-encoding-magic-comment-template): New option.
4633 (ruby--insert-coding-comment, ruby--detect-encoding):
4634 New functions extracted from `ruby-mode-set-encoding'.
4635 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4636 to control the style of the auto-inserted encoding comment.
4637
4638 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4639
4640 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4641 Use `smie-backward-sexp' with token argument.
4642
4643 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4644
4645 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4646 Remove instrumentation code.
4647
4648 2013-11-08 Glenn Morris <rgm@gnu.org>
4649
4650 * progmodes/autoconf.el (autoconf-mode):
4651 Tweak comment-start-skip. (Bug#15822)
4652
4653 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4656 at bobp (bug#15826).
4657 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4658
4659 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4660
4661 * man.el (Man-start-calling): New macro, extracted from
4662 Man-getpage-in-background.
4663 (Man-getpage-in-background): Use it.
4664 (Man-update-manpage): New command.
4665 (Man-mode-map): Bind it.
4666
4667 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4668
4669 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4670 of "and", "or", "&&" and "||".
4671 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4672 argument. Prohibit opening curly brace because it could only be a
4673 block opener in that position.
4674 (ruby-smie--forward-token, ruby-smie--backward-token):
4675 Separate "|" from "&" or "*" going after it. That can happen in block
4676 arguments.
4677 (ruby-smie--indent-to-stmt): New function, seeks the end of
4678 previous statement or beginning of buffer.
4679 (ruby-smie-rules): Use it.
4680 (ruby-smie-rules): Check if there's a ":" before a curly block
4681 opener candidate; if there is, it's a hash.
4682
4683 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4686 (cl--block-wrapper): Fix last accidental change.
4687
4688 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4689
4690 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4691 Instrument, in order to hunt failure on hydra.
4692
4693 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4694
4695 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4696 malformed bindings form (bug#15814).
4697
4698 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4699
4700 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4701 "." compared to " @ ". This incidentally fixes some indentation
4702 examples with "do".
4703 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4704 (ruby-smie-grammar): New tokens: "and" and "or".
4705 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4706 Exclude "and" and "or". Remove "do" in order to work around token
4707 priorities.
4708 (ruby-smie-rules): Add all infix tokens. Handle the case of
4709 beginning-of-buffer.
4710
4711 2013-11-06 Glenn Morris <rgm@gnu.org>
4712
4713 * Makefile.in (setwins_almost, setwins_for_subdirs):
4714 Avoid accidental matches.
4715
4716 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * menu-bar.el (popup-menu): Use key-binding.
4719
4720 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4721
4722 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4723 menus, support also the menus produced by minor modes.
4724 (Bug#15817)
4725
4726 2013-11-06 Leo Liu <sdl.web@gmail.com>
4727
4728 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4729 DISTANCE to bound the search. All uses changed. (Bug#15808)
4730
4731 2013-11-06 Glenn Morris <rgm@gnu.org>
4732
4733 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4734 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4735 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4736
4737 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * electric.el (electric-indent-just-newline): New command.
4740 (electric-indent-mode-map): New keymap.
4741 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4742 Re-add :group which weren't redundant.
4743
4744 * electric.el (electric-indent-local-mode): New minor mode.
4745 (electric-indent-functions-without-reindent): New var.
4746 (electric-indent-post-self-insert-function): Use it.
4747 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4748
4749 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4750
4751 * international/quail.el (quail-help): Be more explicit about the
4752 meaning of the labels shown on the keys. (Bug#15800)
4753
4754 * startup.el (normal-top-level): Load the subdirs.el files before
4755 setting the locale environment. (Bug#15805)
4756
4757 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4758
4759 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4760 via arguments so as to get the right ones (bug#15418).
4761
4762 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4763
4764 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4765
4766 Fix problems found while writing a test suite.
4767
4768 * net/tramp-compat.el (tramp-compat-load): New defun.
4769 * net/tramp.el (tramp-handle-load): Use it.
4770
4771 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4772 "(numberp ok-if-already-exists)" correctly.
4773
4774 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4775
4776 * international/characters.el (glyphless-char-display-control):
4777 Add usage note.
4778
4779 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4780
4781 * progmodes/python.el (python-mode):
4782 * progmodes/scheme.el (scheme-mode):
4783 * progmodes/prolog.el (prolog-mode):
4784 * progmodes/ruby-mode.el (ruby-mode):
4785 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4786 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4787
4788 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * rect.el (rectangle--highlight-for-redisplay):
4791 * emacs-lisp/smie.el (smie--next-indent-change):
4792 Use buffer-chars-modified-tick.
4793
4794 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4795
4796 * electric.el (electric-indent-post-self-insert-function):
4797 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4798
4799 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4800
4801 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4802
4803 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4804
4805 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4806 (bug#15786).
4807
4808 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4811
4812 * progmodes/python.el: Fix up last change.
4813 (python-shell--save-temp-file): New function.
4814 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4815 `string' comes from the current buffer.
4816 (python-shell-send-string-no-output): Remove `msg' arg.
4817 (python--use-fake-loc): New var.
4818 (python-shell-buffer-substring): Obey it. Try to compensate for the
4819 extra coding line added by python-shell--save-temp-file.
4820 (python-shell-send-region): Use python-shell--save-temp-file and
4821 python-shell-send-file directly. Add `nomain' argument.
4822 (python-shell-send-buffer): Use python-shell-send-region.
4823 (python-electric-pair-string-delimiter): New function.
4824 (python-mode): Use it.
4825
4826 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4827
4828 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4829 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4830 environment and decoding all of the default-directory's to here
4831 from command-line.
4832 (command-line): Decode also argv[0].
4833
4834 * loadup.el: Error out if default-directory is a multibyte string
4835 when we are dumping.
4836
4837 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4838
4839 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4840
4841 * emacs-lisp/package.el (package-menu-mode)
4842 (package-menu--print-info, package-menu--archive-predicate):
4843 Add Archive column to package list.
4844
4845 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4846
4847 Fix problems found while writing a test suite.
4848
4849 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4850 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4851 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4852 to nil when running original file name handler. Otherwise,
4853 there are problems with constructs like "$$FOO".
4854
4855 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4856 for `localname'.
4857
4858 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4859
4860 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4861
4862 * subr.el (version<, version<=, version=):
4863 Update docstrings with information for snapshot versions.
4864
4865 * helpers.el: New library for misc helper functions.
4866 (hash-table-keys): New function returning a list of hash keys.
4867 (hash-table-values): New function returning a list of hash values.
4868
4869 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4870
4871 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4872 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4873
4874 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4875
4876 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4877 checking whether point is after a 1-letter word.
4878
4879 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4880
4881 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4882 Don't infloop when expanding region over `multiline' syntax-type that
4883 begins a line (bug#15778).
4884
4885 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4886
4887 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4888 Make it into a proper minor mode.
4889 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4890 (rectangle-mark-mode-map): New keymap.
4891 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4892
4893 2013-11-04 Glenn Morris <rgm@gnu.org>
4894
4895 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4896
4897 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4898
4899 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4900 (ruby-smie-rules): Use smie-rule-parent instead.
4901
4902 * emacs-lisp/smie.el (smie-rule-parent): Always call
4903 smie-indent-virtual rather than only for hanging tokens.
4904 (smie--next-indent-change): New helper command.
4905
4906 2013-11-03 Glenn Morris <rgm@gnu.org>
4907
4908 * Makefile.in (abs_srcdir): Remove.
4909 (emacs): Unset EMACSLOADPATH.
4910
4911 2013-11-02 Glenn Morris <rgm@gnu.org>
4912
4913 * Makefile.in (EMACS): Use a relative filename.
4914 (abs_top_builddir): Remove.
4915 (custom-deps, finder-data, autoloads): Use --chdir.
4916
4917 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4918
4919 Use relative filenames in TAGS files.
4920 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4921 (lisptagsfiles4, TAGS): Use relative file names.
4922 (TAGS-LISP): Remove.
4923 (maintainer-clean): No more TAGS-LISP file.
4924
4925 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4926 (lisptagsfiles4): Use absolute filenames again.
4927 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4928 Remove all *loaddefs files, not just the first. Remove esh-groups.
4929 (maintainer-clean): Delete TAGS, TAGS-LISP.
4930
4931 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4932
4933 * emacs-lisp/package.el (package-version-join):
4934 Recognize snapshot versions.
4935
4936 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4937
4938 * subr.el (version-regexp-alist): Add support for snapshot versions.
4939
4940 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4941
4942 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4943 New function, replacement for `smie-rule-parent' for when we want to
4944 skip over our direct parent if it's an assignment token..
4945 (ruby-smie-rules): Use it.
4946
4947 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4948
4949 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4950 unconditionally. Remove now unnecessary forward declarations.
4951 Remove XEmacs-specific setup.
4952 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4953 (ruby-font-lock-syntactic-keywords)
4954 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4955 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4956 (ruby-here-doc-end-syntax): Remove.
4957 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4958 defined as function.
4959
4960 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4961
4962 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4963
4964 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4965
4966 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4967 table and abbrev table, `define-derived-mode' does that for us
4968 anyway.
4969
4970 2013-11-01 Glenn Morris <rgm@gnu.org>
4971
4972 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4973 files is atomic for some time, so no parallel compilation issues).
4974
4975 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4976
4977 * faces.el (face-x-resources): Add :distant-foreground.
4978 (region): Use :distant-foreground for gtk and ns.
4979
4980 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4981
4982 Allow multiple bibliographies when BibLaTeX is used rather than
4983 BibTeX.
4984 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4985 (reftex-locate-bibliography-files): Us it.
4986
4987 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4988
4989 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4990 allow comments in pbm files.
4991
4992 * term/w32-win.el (dynamic-library-alist): Support newer versions
4993 of libjpeg starting with v7: look only for the DLL from the
4994 version against which Emacs was built.
4995 Support versions of libpng beyond 1.4.x.
4996 Support libtiff v4.x.
4997
4998 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4999
5000 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5001 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5002 Add property :safe.
5003 (ruby-deep-arglist): Add property :type.
5004
5005 2013-10-31 Glenn Morris <rgm@gnu.org>
5006
5007 * Makefile.in (custom-deps, finder-data): No need to setq the target
5008 variables, we are in the right directory and the defaults work fine.
5009
5010 2013-10-30 Glenn Morris <rgm@gnu.org>
5011
5012 * Makefile.in (autoloads): Do not use abs_lisp.
5013
5014 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5015 `newline' does not respect `standard-output', so use `princ'.
5016
5017 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5018
5019 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5020 * buff-menu.el (Buffer-menu--unmark): New function.
5021 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5022
5023 2013-10-30 Glenn Morris <rgm@gnu.org>
5024
5025 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5026
5027 * emacs-lisp/package.el (lm-homepage): Declare.
5028
5029 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5030 Fix doc typos.
5031
5032 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5033
5034 * Makefile.in (finder-data, autoloads, update-subdirs)
5035 (compile-main, compile-clean, compile-always, bootstrap-clean):
5036 Check return value of cd.
5037 (compile-calc): Remove.
5038
5039 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5040
5041 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5042
5043 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5044 (byte-compile-and-folded): New function.
5045 (=, <, >, <=, >=): Use it.
5046
5047 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5048 (path-separator, null-device, buffer-file-coding-system)
5049 (lpr-headers-switches): Check system-type before modifying them.
5050 (find-buffer-file-type-coding-system): Mark obsolete.
5051 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5052 find-file-not-found-set-buffer-file-coding-system.
5053 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5054 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5055 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5056 (w32-direct-print-region-helper, w32-direct-print-region-function)
5057 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5058 * startup.el (normal-top-level-add-subdirs-to-load-path):
5059 * ps-print.el (ps-print-region-function):
5060 * lpr.el (print-region-function): Use new name.
5061
5062 * subr.el (custom-declare-variable-early): Remove function.
5063 (custom-declare-variable-list): Remove var.
5064 (error, user-error): Remove `while' loop.
5065 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5066 (user-emacs-directory-warning, locate-user-emacs-file):
5067 Move to files.el.
5068 * simple.el (read-quoted-char-radix, read-quoted-char):
5069 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5070 Move from subr.el.
5071 * custom.el (custom-declare-variable-list): Don't process
5072 custom-declare-variable-list.
5073
5074 * progmodes/python.el (python-shell-get-buffer): New function.
5075 (python-shell-get-process): Use it.
5076 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5077 Python which encoding was used. Don't split-string since we only care
5078 about the first line. Return the temp-file, if applicable.
5079 (python-shell-send-region): Tell compile.el how to turn locations in
5080 the temp-file into locations in the source buffer.
5081
5082 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5083
5084 * subr.el (undefined): Add missing behavior from the C code for
5085 unbound keys.
5086
5087 * rect.el: Use lexical-binding. Add new rectangular region support.
5088 (rectangle-mark): New command.
5089 (rectangle--region): New var.
5090 (deactivate-mark-hook): Reset rectangle--region.
5091 (rectangle--extract-region, rectangle--insert-for-yank)
5092 (rectangle--highlight-for-redisplay)
5093 (rectangle--unhighlight-for-redisplay): New functions.
5094 (region-extract-function, redisplay-unhighlight-region-function)
5095 (redisplay-highlight-region-function): Use them to handle
5096 rectangular region.
5097 * simple.el (region-extract-function): New var.
5098 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5099 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5100 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5101 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5102 (redisplay-unhighlight-region-function)
5103 (redisplay-highlight-region-function): New vars.
5104 (redisplay--update-region-highlight): New function.
5105 (pre-redisplay-function): Use it.
5106 (exchange-point-and-mark): Don't deactivate the mark before
5107 reactivate-it anyway.
5108 * comint.el (comint-kill-region): Remove yank-handler argument.
5109 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5110 (delete-char): Remove property, since it's now part of their
5111 default behavior.
5112 (self-insert-iso): Remove property since this command doesn't exist.
5113
5114 * emacs-lisp/package.el (package--download-one-archive)
5115 (describe-package-1): Don't query the user about final newline.
5116
5117 2013-10-29 Daniel Colascione <dancol@dancol.org>
5118
5119 * net/tramp.el (tramp-methods): Document new functionality.
5120 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5121 tramp-hostname-checker if method provides one instead of scanning
5122 argument list for "%h" to decide hostname acceptability.
5123
5124 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5125
5126 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5127 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5128 Handle COPY-CONTENTS. (Bug#15737)
5129
5130 2013-10-28 Daiki Ueno <ueno@gnu.org>
5131
5132 * epa-file.el
5133 (epa-file-cache-passphrase-for-symmetric-encryption):
5134 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5135
5136 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5137
5138 * image.el (defimage, image-load-path): Doc fixes.
5139
5140 2013-10-27 Alan Mackenzie <acm@muc.de>
5141
5142 Indent statements in macros following "##" correctly.
5143 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5144 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5145
5146 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5147
5148 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5149
5150 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5151
5152 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5153 after `=' is probably a new expression.
5154
5155 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5156
5157 * man.el (man-imenu-title): New option.
5158 (Man-mode-map): Add menu. (Bug#15722)
5159 (Man-mode): Add imenu to menu.
5160
5161 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5162
5163 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5164 specific in what the first arg can be: a non-keyword word,
5165 string/regexp/percent literal opener, opening paren, or unary
5166 operator followed directly by word.
5167
5168 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5169
5170 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5171 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5172 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5173 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5174 Remove vars, they do not apply any more.
5175 (prolog-mode-abbrev-table): Remove redundant declaration.
5176 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5177 (prolog-use-smie): Remove.
5178 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5179 supported by prolog-electric-if-then-else-flag.
5180 (prolog-mode-variables, prolog-menu): Use setq-local.
5181 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5182 Remove binding to `Backspace' since this key doesn't exist anyway.
5183 Remove bindings for electric self-inserting keys.
5184 (prog-mode): Assume it's defined.
5185 (prolog-post-self-insert): New function.
5186 (prolog-mode): Use it.
5187 (prolog-indent-line, prolog-indent-level)
5188 (prolog-find-indent-of-matching-paren)
5189 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5190 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5191 (prolog-goto-next-paren, prolog-in-string-or-comment)
5192 (prolog-tokenize, prolog-inside-mline-comment)
5193 (prolog-find-start-of-mline-comment): Remove functions.
5194 (prolog-find-unmatched-paren, prolog-clause-end)
5195 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5196 (prolog-electric--if-then-else): Rename from
5197 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5198 (prolog-tokenize-searchkey): Remove const.
5199 (prolog-clause-info): Use forward-sexp.
5200 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5201 (prolog-electric-if-then-else): Remove commands.
5202 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5203 for use in post-self-insert-hook.
5204 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5205 for use in post-self-insert-hook.
5206 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5207 for use in post-self-insert-hook.
5208 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5209 adapt it for use in post-self-insert-hook.
5210
5211 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * emacs-lisp/ert.el (ert-run-tests-interactively):
5214 Use `completing-read'. (Bug#9756)
5215
5216 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5217
5218 * simple.el (line-move): Call line-move-1 instead of
5219 line-move-visual when the current window hscroll is zero, but
5220 temporary-goal-column indicates we will need to hscroll as result
5221 of the movement. (Bug#15712)
5222
5223 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5224
5225 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5226 capitalization. Use :visible instead of :active.
5227 Fix `ruby-indent-exp' reference. Add menu items for the generic
5228 commands that are used with SMIE.
5229 (ruby-do-end-to-brace): Insert space after `{'.
5230
5231 2013-10-25 John Anthony <john@jo.hnanthony.com>
5232
5233 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5234
5235 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5236
5237 2013-10-25 Glenn Morris <rgm@gnu.org>
5238
5239 * vc/vc.el (vc-print-log): Don't use a working revision unless
5240 one was explicitly specified. (Bug#15322)
5241
5242 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * subr.el (add-to-list): Preserve return value in compiler-macro
5245 (bug#15692).
5246
5247 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5248
5249 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5250 result. Ask user to retry using '-all' flag. (Bug#15701)
5251
5252 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * emacs-lisp/smie.el: New smie-config system.
5255 (smie-config): New defcustom.
5256 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5257 (smie-config-guess, smie-config-save): New commands.
5258 (smie-config--mode-local, smie-config--buffer-local)
5259 (smie-config--trace, smie-config--modefuns): New vars.
5260 (smie-config--advice, smie-config--mode-hook)
5261 (smie-config--setter, smie-config-local, smie-config--get-trace)
5262 (smie-config--guess-value, smie-config--guess): New functions.
5263 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5264 text properties. Treat "string fence" syntax like string syntax.
5265
5266 * progmodes/sh-script.el (sh-use-smie): Change default.
5267 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5268 (sh-var-value): Simplify by CSE.
5269 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5270 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5271 is used.
5272 (sh-guess-basic-offset): Use cl-incf.
5273 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5274
5275 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5276
5277 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5278 (bug#15699).
5279
5280 2013-10-24 Glenn Morris <rgm@gnu.org>
5281
5282 * Makefile.in (abs_top_srcdir): Remove.
5283 (update-subdirs): Use relative path to update-subdirs.
5284
5285 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5286
5287 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5288 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5289 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5290 Call unmsys--file-name before expand-file-name, not after it.
5291
5292 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5293
5294 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5295 (ert-test-skipped): New error.
5296 (ert-skip, ert-stats-skipped): New defuns.
5297 (ert--skip-unless): New macro.
5298 (ert-test-skipped): New struct.
5299 (ert--run-test-debugger, ert-test-result-type-p)
5300 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5301 (ert--stats-set-test-and-result, ert-char-for-test-result)
5302 (ert-string-for-test-result, ert-run-tests-batch)
5303 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5304 Handle skipped tests. (Bug#9803)
5305
5306 2013-10-24 Glenn Morris <rgm@gnu.org>
5307
5308 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5309
5310 * Makefile.in (abs_top_srcdir): New, set by configure.
5311 (update-subdirs): Correct build-aux location.
5312
5313 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5314
5315 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5316 value, whether we could auto-deduce `backend', or not.
5317
5318 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5319 with parameters" example. Simplify the "is it block or is it
5320 hash" check, but also make it more thorough.
5321
5322 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5323
5324 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5325
5326 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5329 { if it is hanging.
5330
5331 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5332 :before ";".
5333
5334 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5335
5336 * progmodes/compile.el (compilation-directory-matcher)
5337 (compilation-page-delimiter):
5338 Support GNU Make-4.0 directory quoting. (Bug#15678)
5339
5340 2013-10-23 Leo Liu <sdl.web@gmail.com>
5341
5342 * ido.el (ido-tidy): Handle read-only text.
5343
5344 2013-10-23 Glenn Morris <rgm@gnu.org>
5345
5346 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5347 (emacs, compile, compile-always):
5348 Quote entities that might contain whitespace.
5349 (custom-deps, finder-data, autoloads): Use abs_lisp.
5350 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5351 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5352 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5353
5354 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5355
5356 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5357 Use `following-char'.
5358
5359 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5362 * progmodes/ruby-mode.el (ruby-smie-rules):
5363 Remove corresponding workaround. Fix indentation rule of ";" so it
5364 also applies when ";" is the parent.
5365
5366 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5367
5368 * frame.el (display-screens, display-pixel-height)
5369 (display-pixel-width, display-mm-width, display-backing-store)
5370 (display-save-under, display-planes, display-color-cells)
5371 (display-visual-class, display-monitor-attributes-list):
5372 Mention the optional ‘display’ argument in doc strings.
5373
5374 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5375
5376 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5377 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5378
5379 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5380
5381 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5382 TODO. Add "." after " @ ".
5383 (ruby-smie--at-dot-call): New function. Checks if point at method
5384 call with explicit target.
5385 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5386 to the method name tokens when it precedes them.
5387 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5388 (ruby-smie-rules): Add rule for indentation before and after "."
5389 token.
5390
5391 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * textmodes/remember.el (remember-diary-extract-entries):
5394 Avoid add-to-list.
5395
5396 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5397 an instruction.
5398
5399 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5400
5401 * progmodes/ruby-mode.el (ruby-smie-grammar):
5402 Add (almost) all infix operators.
5403 (ruby-smie--implicit-semi-p): Add new operator chars.
5404
5405 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5406 `smie-down-list'.
5407 (ruby-smie--args-separator-p): Check that there's no newline
5408 between method call and its arguments.
5409
5410 2013-10-20 Alan Mackenzie <acm@muc.de>
5411
5412 Allow comma separated lists after Java "implements".
5413
5414 * progmodes/cc-engine.el (c-backward-over-enum-header):
5415 Parse commas.
5416 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5417 from a "disallowed" list in enum fontification.
5418
5419 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5420
5421 * startup.el (default-frame-background-mode): Remove unused defvar.
5422
5423 * progmodes/verilog-mode.el (verilog-mode): Don't set
5424 comment-indent-function globally.
5425
5426 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5427
5428 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5429 Move Info menu item creation to ns-win.el.
5430
5431 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5432 in menu bar.
5433
5434 * menu-bar.el: Move GNUstep specific menus...
5435
5436 * term/ns-win.el (ns-initialize-window-system): ... to here.
5437
5438 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * simple.el (newline): Only run post-self-insert-hook when
5441 called interactively.
5442
5443 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5444
5445 * icomplete.el (icomplete-with-completion-tables): Add :version.
5446
5447 2013-10-19 Alan Mackenzie <acm@muc.de>
5448
5449 Fix fontification bugs with constructors and const.
5450
5451 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5452 CASE 2) Remove the check for the absence of a suffix construct
5453 after a function declaration with only types (no identifiers) in
5454 the parentheses. Also, accept a function declaration with just a
5455 type inside the parentheses, if this type can be positively
5456 recognised as such, or if a prefix keyword like "explicit" nails
5457 down the construct as a declaration.
5458
5459 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5460
5461 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5462 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5463 the problem whereby selecting a menu item that leads to a
5464 minibuffer prompt moves the cursor out of the minibuffer window,
5465 making it hard to type at the prompt. Suggested by Stefan Monnier
5466 <monnier@iro.umontreal.ca>.
5467
5468 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5469
5470 * menu-bar.el: Don't make Services menu.
5471
5472 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5473
5474 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5475 (ffap-alist): Use ffap-c++-mode for c++-mode.
5476 (ffap-c++-path): New variable.
5477 (ffap-c++-mode): New function.
5478
5479 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5480
5481 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5482
5483 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5484
5485 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5486 introduced on 2013-09-08, which results in an infinite loop
5487 requesting a password.
5488
5489 2013-10-18 Glenn Morris <rgm@gnu.org>
5490
5491 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5492
5493 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5494
5495 Sync with upstream verilog-mode revision 1a6ecec7.
5496 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5497 (verilog-mode-release-date): Remove.
5498 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5499 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5500 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5501 (verilog-auto-tieoff-ignore-regexp)
5502 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5503 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5504 (verilog-signals-with, verilog-dir-cache-preserving)
5505 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5506 Doc fixes.
5507 (verilog-case-fold): New option, to control case folding in
5508 regexp searches, bug597.
5509 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5510 (verilog-string-match-fold, verilog-in-paren-count)
5511 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5512 (verilog-at-close-struct-p): New functions.
5513 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5514 (verilog-forward-sexp, verilog-set-auto-endcomments)
5515 (verilog-leap-to-case-head): Handle "unique0" case.
5516 (verilog-in-constraint-re): New constant.
5517 (verilog-keywords, verilog-type-font-keywords):
5518 Add some SystemVerilog 1800-2012 keywords.
5519 (verilog-label-be): Remove unimplemented argument, bug669.
5520 (verilog-batch-execute-func): When batch expanding clear
5521 create-lockfiles to prevent spurious user locks when a file ends
5522 up not changing.
5523 (verilog-calculate-indent, verilog-calc-1)
5524 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5525 (verilog-do-indent): Fix indentation of nested constraints
5526 and structures.
5527 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5528 (verilog-auto-inst-param): Use verilog-string-match-fold.
5529 (verilog-read-inst-module-matcher):
5530 Fix AUTOINST on gate primitives with #1.
5531 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5532 Reads all user-defined typed variables.
5533 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5534 (verilog-signals-matching-regexp)
5535 (verilog-signals-not-matching-regexp, verilog-auto):
5536 Respect verilog-case-fold.
5537 (verilog-diff-report): Fix line count.
5538 (verilog-auto-assign-modport): Remove unused local `modi'.
5539 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5540 better handle multidimensional arrays.
5541 Fix packed array ports misadding bit index in AUTOINST, bug637.
5542 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5543 to not double-declare existing outputs and inputs, respectively.
5544 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5545 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5546 (verilog-sk-uvm-component): New skeleton.
5547 (verilog-submit-bug-report): Add verilog-case-fold,
5548 remove verilog-mode-release-date.
5549
5550 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5551
5552 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5553 as before.
5554
5555 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5556
5557 * textmodes/remember.el (remember): Set buffer-offer-save in
5558 remember buffers (bug#13566).
5559
5560 2013-10-18 Daniel Colascione <dancol@dancol.org>
5561
5562 When evaluating forms in ielm, direct standard output to ielm
5563 buffer. Add new ielm-return-for-effect command. Remove trailing
5564 whitespace throughout.
5565
5566 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5567 (ielm-return-for-effect): New command.
5568 (ielm-send-input): Accept optional `for-effect' parameter.
5569 (ielm-eval-input): Accept optional `for-effect' parameter.
5570 Bind `standard-output' to stream we create using
5571 `ielm-standard-output-impl'. Suppress printing result when
5572 `for-effect'.
5573 (ielm-standard-output-impl): New function.
5574 (inferior-emacs-lisp-mode): Explain new features in documentation.
5575
5576 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5577
5578 Code cleanup.
5579
5580 * net/tramp.el (tramp-debug-message): Do not check for connection
5581 buffer.
5582 (tramp-message): Use "vector" connection property.
5583
5584 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5585 (tramp-equal-remote, tramp-eshell-directory-change)
5586 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5587 (tramp-adb-handle-rename-file)
5588 * net/tramp-cmds.el (tramp-list-remote-buffers)
5589 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5590 * net/tramp-compat.el (tramp-compat-process-running-p)
5591 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5592 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5593 (tramp-gvfs-handle-rename-file)
5594 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5595 (tramp-set-file-uid-gid)
5596 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5597 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5598 of `file-remote-p'.
5599
5600 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5601 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5602 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5603 (tramp-gw-open-network-stream): Suppress unrelated traces.
5604
5605 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5606 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5607 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5608 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5609 connection property.
5610
5611 * net/tramp-cache.el (top): Suppress traces when reading
5612 persistency file.
5613
5614 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5615 Refactor common code. Improve debug message.
5616 (tramp-maybe-open-connection)
5617 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5618 connection buffer too early.
5619
5620 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5621 from `tramp-smb-actions-with-acl'.
5622 (tramp-smb-actions-set-acl): New defconst.
5623 (tramp-smb-handle-copy-directory)
5624 (tramp-smb-action-get-acl): New defun, renamed from
5625 `tramp-smb-action-with-acl'.
5626 (tramp-smb-action-set-acl): New defun.
5627 (tramp-smb-handle-set-file-acl): Rewrite.
5628
5629 2013-10-17 Glenn Morris <rgm@gnu.org>
5630
5631 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5632
5633 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * skeleton.el (skeleton-newline): Remove.
5636 (skeleton-internal-1): Use (insert "\n") instead.
5637
5638 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5639 let-bindings.
5640
5641 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5642 forward-sexp-function while we redo its job (bug#15613).
5643
5644 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5645
5646 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5647 represented by lists.
5648
5649 2013-10-16 Glenn Morris <rgm@gnu.org>
5650
5651 * tmm.el (tmm--history): New dynamic variable.
5652 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5653
5654 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5655
5656 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5657 (tramp-smb-errors): Add error messages.
5658 (tramp-smb-actions-with-acl): New defconst.
5659 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5660 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5661 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5662 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5663 (tramp-smb-get-stat-capability): Fix tests.
5664
5665 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5666
5667 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5668 (bug#15580).
5669
5670 2013-10-16 Glenn Morris <rgm@gnu.org>
5671
5672 * ansi-color.el (ansi-color-drop-regexp):
5673 Add 1J, 1K, 2K. (Bug#15617)
5674
5675 * files.el (hack-local-variables--warned-lexical): New.
5676 (hack-local-variables):
5677 Warn about misplaced lexical-binding. (Bug#15616)
5678
5679 * net/eww.el (eww-render): Always set eww-current-url,
5680 and update header line. (Bug#15622)
5681 (eww-display-html): ... Rather than just doing it here.
5682
5683 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5684
5685 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5686 menu navigations commands.
5687
5688 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5689
5690 * progmodes/subword.el (subword-capitalize): Be careful when
5691 the search for [[:alpha:]] fails (bug#15580).
5692
5693 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5694
5695 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5696 to commands that scroll the menu.
5697
5698 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5699
5700 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5701 Handle methods ending with `?' and `!'.
5702
5703 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5704
5705 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5706 `japanese-cp932' to `cp932' to fix the problem where saving a
5707 source file written in Shift_JIS twice would end up having
5708 `coding: japanese-cp932' which Ruby could not recognize.
5709 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5710 in `ruby-encoding-map'.
5711 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5712 doesn't need to be explicitly declared in magic comment.
5713 (ruby-encoding-map): Add type declaration for better customize UI.
5714
5715 2013-10-13 Glenn Morris <rgm@gnu.org>
5716
5717 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5718 Occur buffers are read-only. http://bugs.debian.org/720775
5719
5720 * emacs-lisp/authors.el (authors-fixed-entries):
5721 Comment out old alpha stuff.
5722
5723 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5724
5725 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5726 to `after-save-hook' instead of `before-save-hook'.
5727 (ruby-mode-set-encoding): Use the value of coding system used to
5728 write the file. Call `basic-save-buffer-1' after modifying the
5729 buffer.
5730
5731 2013-10-13 Alan Mackenzie <acm@muc.de>
5732
5733 Fix indentation/fontification of Java enum with
5734 "implements"/generic.
5735
5736 * progmodes/cc-engine.el (c-backward-over-enum-header):
5737 Extracted from the three other places and enhanced to handle generics.
5738 (c-inside-bracelist-p): Uses new function above.
5739 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5740 function above.
5741 (c-font-lock-enum-tail): Uses new function above.
5742
5743 2013-10-13 Kenichi Handa <handa@gnu.org>
5744
5745 * international/mule-cmds.el (select-safe-coding-system): Remove a
5746 superfluous condition in chekcing whether a coding system is safe
5747 or not.
5748
5749 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5750
5751 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5752
5753 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5754
5755 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5756
5757 2013-10-13 Glenn Morris <rgm@gnu.org>
5758
5759 * menu-bar.el (menu-bar-update-buffers):
5760 Unify Buffers menu prompt string. (Bug#15576)
5761
5762 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5763
5764 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5765 Add some entries.
5766 (authors-fixed-entries): Use accented form of name.
5767
5768 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5771 method calls (bug#15594).
5772 (ruby-smie--args-separator-p): New function.
5773 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5774 recognize paren-free method calls.
5775
5776 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5777 internals of universal-argument.
5778
5779 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5780
5781 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5782 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5783 dropped menu on second mouse click on the menu bar.
5784
5785 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5788 (explicit-shell-file-name): Declare.
5789 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5790 (sh-completion-at-point-function): New function.
5791 (sh-mode): Use it.
5792 (sh-smie--keyword-p): Remove unused argument.
5793 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5794 vars.
5795 (sh-set-shell): Always setup SMIE, even if we use the
5796 old indentation code.
5797
5798 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5799
5800 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5801 cases of ? and =.
5802 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5803 predicate would return nil are almost non-existent.
5804 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5805
5806 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5807 cache also after commands that modify the buffer but don't move
5808 point.
5809
5810 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 * env.el (substitute-env-in-file-name): New function.
5813 (substitute-env-vars): Extend the meaning of the optional arg.
5814
5815 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5816
5817 * term/w32-win.el (dynamic-library-alist): Define separate lists
5818 of GIF DLLs for versions before and after 5.0.0 of giflib.
5819 (Bug#15531)
5820
5821 2013-10-10 João Távora <joaotavora@gmail.com>
5822
5823 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5824 not locked, use last revision and current source as
5825 defaults. (Bug#15569)
5826
5827 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5828
5829 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5830 menu-bar is hidden.
5831
5832 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5833
5834 * window.el (pop-to-buffer-same-window): Fix doc-string.
5835 (Bug#15492)
5836
5837 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5840
5841 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5842
5843 * calendar/icalendar.el (icalendar-import-file):
5844 Fix interactive spec. (Bug#15482)
5845
5846 2013-10-10 Glenn Morris <rgm@gnu.org>
5847
5848 * desktop.el (desktop-save): Default to saving in .emacs.d,
5849 since PWD is no longer in desktop-path by default. (Bug#15319)
5850
5851 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5852 now that text mode has a menu with the same entry.
5853 (menu-bar-text-mode-auto-fill): Remove now unused func.
5854 * textmodes/text-mode.el (text-mode-map):
5855 Use auto-fill help text from menu-bar.el.
5856
5857 2013-10-10 John Anthony <john@jo.hnanthony.com>
5858
5859 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5860
5861 2013-10-09 Juri Linkov <juri@jurta.org>
5862
5863 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5864 instead of this-command-keys. Add universal-argument-more and
5865 universal-argument-minus to the list of prefix commands. (Bug#15568)
5866
5867 2013-10-09 Glenn Morris <rgm@gnu.org>
5868
5869 * vc/vc-svn.el (vc-svn-create-repo):
5870 Expand paths in file://... url. (Bug#15446)
5871
5872 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5873 Add some entries.
5874 (authors): Remove unused local variables.
5875
5876 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5877
5878 * profiler.el: Create a more coherent calltree from partial backtraces.
5879 (profiler-format): Hide the tail with `invisible' so that C-s can still
5880 find the hidden elements.
5881 (profiler-calltree-depth): Don't recurse so enthusiastically.
5882 (profiler-function-equal): New hash-table-test.
5883 (profiler-calltree-build-unified): New function.
5884 (profiler-calltree-build): Use it.
5885 (profiler-report-make-name-part): Indent the calltree less.
5886 (profiler-report-mode): Add visibility specs for profiler-format.
5887 (profiler-report-expand-entry, profiler-report-toggle-entry):
5888 Expand the whole subtree when provided with a prefix arg.
5889
5890 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5891
5892 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5893 iuwu-mod token.
5894 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5895 hanging iuwu-mod token.
5896 (ruby-smie--forward-token): Do not include a dot after a token in
5897 that token.
5898 (ruby-smie--backward-token): Likewise.
5899
5900 2013-10-08 Juri Linkov <juri@jurta.org>
5901
5902 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5903 to isearch-other-control-char.
5904 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5905 and isearch-post-command-hook to post-command-hook.
5906 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5907 and isearch-post-command-hook from post-command-hook.
5908 (isearch-unread-key-sequence)
5909 (isearch-reread-key-sequence-naturally)
5910 (isearch-lookup-scroll-key, isearch-other-control-char)
5911 (isearch-other-meta-char): Remove functions.
5912 (isearch-pre-command-hook, isearch-post-command-hook):
5913 New functions based on isearch-other-meta-char rewritten
5914 relying on the new behavior of overriding-terminal-local-map
5915 that does not replace the local keymaps any more. (Bug#15200)
5916
5917 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5918
5919 Support menus on text-mode terminals.
5920 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5921 functionality.
5922
5923 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5924
5925 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5926 Move here from mouse.el.
5927 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5928 and arrow keys.
5929 (tty-menu-navigation-map): New map for TTY menu navigation.
5930
5931 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5932
5933 * frame.el (display-mouse-p): Report text-mode mouse as available
5934 on w32.
5935 (display-popup-menus-p): Report availability if mouse is
5936 available; don't condition on window-system.
5937
5938 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5939 (tty-menu-selected-face): New faces.
5940
5941 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5944 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5945 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5946 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5947 New constants.
5948 (lisp-mode-variables): New `elisp' argument.
5949 (emacs-lisp-mode): Use it.
5950 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5951 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5952
5953 * indent.el: Use lexical-binding.
5954 (indent-region): Add progress reporter.
5955 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5956 last step.
5957 (indent--next-tab-stop): New function to implement this behavior.
5958 (tab-to-tab-stop, move-to-tab-stop): Use it.
5959
5960 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5961
5962 * indent.el (indent-rigidly--current-indentation): New function.
5963 (indent-rigidly-map): New var.
5964 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5965
5966 2013-10-08 Bastien Guerry <bzg@gnu.org>
5967
5968 * register.el (insert-register): Fix 2013-10-07 change.
5969
5970 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * progmodes/perl-mode.el: Use lexical-binding.
5973 Remove redundant :group args.
5974 (perl-nochange): Change default to be closer to other major modes's
5975 standard behavior.
5976 (perl-indent-line): Don't consider text on current line as a
5977 valid beginning of function from which to indent.
5978
5979 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5980 with more than one argument (bug#15538).
5981
5982 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5983
5984 * vc/pcvs.el: Use lexical-binding.
5985 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5986 environment of `eval'.
5987 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5988 than a list of expressions. Adjust callers.
5989 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5990
5991 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5992
5993 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5994 case of the dot in a chained method call being on the following line.
5995
5996 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5997
5998 * electric.el (electric-indent-inhibit): New var.
5999 (electric-indent-post-self-insert-function): Use it.
6000 * progmodes/python.el (python-mode): Set it.
6001
6002 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6003 open braces.
6004
6005 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6006
6007 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6008 (css-mode): Use electric-indent-chars.
6009
6010 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6011 (font-lock-beg, font-lock-end): Move before first use.
6012 (nxml-mode): Use syntax-propertize-function.
6013 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6014 (nxml-extend-after-change-region): Remove.
6015 * nxml/xmltok.el: Use lexical-binding.
6016 (xmltok-save): Use `declare'.
6017 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6018 * nxml/nxml-util.el: Use lexical-binding.
6019 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6020 Use `declare'.
6021 * nxml/nxml-ns.el: Use lexical-binding.
6022 (nxml-ns-save): Use `declare'.
6023 (nxml-ns-prefixes-for): Avoid add-to-list.
6024 * nxml/rng-match.el: Use lexical-binding.
6025 (rng--ipattern): Use cl-defstruct.
6026 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6027 (rng-cons-group-after, rng-subst-group-after)
6028 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6029 Use closures instead of `(lambda...).
6030
6031 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6032
6033 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6034 of BEG and END.
6035
6036 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6037 Use `tramp-handle-insert-file-contents'.
6038 (tramp-gvfs-handle-insert-file-contents): Remove function.
6039
6040 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6041 Use `save-restriction' in order to keep markers.
6042
6043 * net/trampver.el: Update release number.
6044
6045 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * progmodes/compile.el (compilation-parse-errors):
6048 Use compilation--put-prop.
6049 (compilation--ensure-parse): Check compilation-multiline.
6050
6051 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6052
6053 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6054 lexical-binding.
6055
6056 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6057
6058 * progmodes/ruby-mode.el: Fix recently added tests.
6059 (ruby-smie-grammar): Add - and +.
6060 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6061 (ruby-smie--backward-id): New functions.
6062 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6063 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6064 any more.
6065
6066 2013-10-07 Leo Liu <sdl.web@gmail.com>
6067
6068 * register.el (register-preview-delay)
6069 (register-preview-functions): New variables.
6070 (register-read-with-preview, register-preview)
6071 (register-describe-oneline): New functions.
6072 (point-to-register, window-configuration-to-register)
6073 (frame-configuration-to-register, jump-to-register)
6074 (number-to-register, view-register, insert-register)
6075 (copy-to-register, append-to-register, prepend-to-register)
6076 (copy-rectangle-to-register): Use register-read-with-preview to
6077 read register. (Bug#15525)
6078
6079 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6080
6081 * net/network-stream.el (network-stream-open-starttls): Don't add
6082 --insecure if it's already present, because that gnutls-cli
6083 rejects getting that parameter twice.
6084
6085 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6086
6087 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6088 keyword, too.
6089
6090 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6091
6092 * newcomment.el (comment-use-global-state): Change default value
6093 to t, mark obsolete (Bug#15251).
6094 (comment-beginning): In addition to `comment-to-syntax', check the
6095 value of `comment-use-global-state'.
6096
6097 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6100 (ruby-comment-column): Follow the global default, by default.
6101 (ruby-smie-grammar): Add assignment syntax.
6102 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6103 open-paren, a comma, or a \.
6104 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6105 and line continuations.
6106 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6107 followed by implicit semi-colons. Add rule for string concatenation
6108 and for indentation at BOB.
6109 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6110
6111 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6112 calling next-sexp, since next-token may have skipped chars which
6113 next-sexp doesn't know should be skipped!
6114
6115 2013-10-05 Leo Liu <sdl.web@gmail.com>
6116
6117 * progmodes/octave.el (octave-send-region):
6118 Call compilation-forget-errors.
6119
6120 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6121
6122 * vc/vc-svn.el (vc-svn-find-admin-dir):
6123 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6124 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6125 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6126 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6127
6128 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6131
6132 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * subr.el (read-passwd): Hide chars even when called within a context
6135 where after-change-functions is disabled (bug#15501).
6136 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6137 until we removed ourself from overriding-terminal-local-map.
6138
6139 2013-10-04 Leo Liu <sdl.web@gmail.com>
6140
6141 * progmodes/octave.el (inferior-octave-mode):
6142 Call compilation-forget-errors.
6143
6144 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6145
6146 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6147
6148 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6149
6150 * net/secrets.el (secrets-create-collection): Add optional
6151 argument ALIAS. Use proper Label keyword. Append ALIAS as
6152 dbus-call-method argument. (Bug#15516)
6153
6154 2013-10-04 Leo Liu <sdl.web@gmail.com>
6155
6156 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6157 (inferior-octave-compilation-font-lock-keywords): New variables.
6158 (compilation-error-regexp-alist)
6159 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6160 (inferior-octave-mode): Use compilation-shell-minor-mode.
6161
6162 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6163
6164 * minibuffer.el (completion--replace): Be careful that `end' might be
6165 a marker.
6166
6167 2013-10-03 Daiki Ueno <ueno@gnu.org>
6168
6169 Add support for package signature checking.
6170 * emacs-lisp/package.el (url-http-file-exists-p)
6171 (epg-make-context, epg-context-set-home-directory)
6172 (epg-verify-string, epg-context-result-for)
6173 (epg-signature-status, epg-signature-to-string)
6174 (epg-check-configuration, epg-configuration)
6175 (epg-import-keys-from-file): Declare.
6176 (package-check-signature): New user option.
6177 (package-unsigned-archives): New user option.
6178 (package-desc): Add `signed' field.
6179 (package-load-descriptor): Set `signed' field if .signed file exists.
6180 (package--archive-file-exists-p): New function.
6181 (package--check-signature): New function.
6182 (package-install-from-archive): Check package signature.
6183 (package--download-one-archive): Check archive signature.
6184 (package-delete): Remove .signed file.
6185 (package-import-keyring): New command.
6186 (package-refresh-contents): Import default keyring.
6187 (package-desc-status): Add "unsigned" status.
6188 (describe-package-1, package-menu--print-info)
6189 (package-menu-mark-delete, package-menu--find-upgrades)
6190 (package-menu--status-predicate): Support "unsigned" status.
6191
6192 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6195 the new compilation scheme using the new byte-codes.
6196
6197 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6198 (byte-pophandler): New byte codes.
6199 (byte-goto-ops): Adjust accordingly.
6200 (byte-compile--use-old-handlers): New var.
6201 (byte-compile-catch): Use new byte codes depending on
6202 byte-compile--use-old-handlers.
6203 (byte-compile-condition-case--old): Rename from
6204 byte-compile-condition-case.
6205 (byte-compile-condition-case--new): New function.
6206 (byte-compile-condition-case): New function that dispatches depending
6207 on byte-compile--use-old-handlers.
6208 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6209 when we can.
6210
6211 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6212 Optimize under `condition-case' and `catch' if
6213 byte-compile--use-old-handlers is nil.
6214 (disassemble-offset): Handle new bytecodes.
6215
6216 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * subr.el (error): Use `declare'.
6219 (decode-char, encode-char): Use advertised-calling-convention instead
6220 of the docstring to discourage use of the `restriction' arg.
6221
6222 2013-10-03 Daiki Ueno <ueno@gnu.org>
6223
6224 * epg.el (epg-verify-file): Add a comment saying that it does not
6225 notify verification error as a return value nor a signal.
6226 (epg-verify-string): Ditto.
6227
6228 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6229
6230 * progmodes/compile.el (compilation-start): Try globbing the arg to
6231 `cd' (bug#15417).
6232
6233 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6234
6235 Sync with Tramp 2.2.8.
6236
6237 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6238 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6239 * net/trampver.el: Update release number.
6240
6241 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6242
6243 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6244 and default-process-coding-system for darwin only.
6245
6246 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6247
6248 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6249
6250 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6251
6252 * vc/vc-git.el (vc-git-grep): Disable pager.
6253
6254 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6255
6256 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6257 Use :url instead of :homepage, as per
6258 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6259
6260 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6261 non-nil, use `syntax-ppss' (Bug#15251).
6262
6263 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6264
6265 * progmodes/octave.el (inferior-octave-startup-file):
6266 Prefer ~/.emacs.d/init_octave.m.
6267
6268 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6269
6270 * emacs-lisp/package.el (package-desc-from-define):
6271 Accept additional arguments as plist, convert them to an alist and store
6272 them in the `extras' slot.
6273 (package-generate-description-file): Convert extras alist back to
6274 plist and append to the `define-package' form arguments.
6275 (package--alist-to-plist): New function.
6276 (package--ac-desc): Add `extras' slot.
6277 (package--add-to-archive-contents): Check if the archive-contents
6278 vector is long enough, and if it is, pass its `extras' slot value
6279 to `package-desc-create'.
6280 (package-buffer-info): Call `lm-homepage', pass the returned value
6281 to `package-desc-from-define'.
6282 (describe-package-1): Render the homepage button (Bug#13291).
6283
6284 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6285 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6286
6287 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6288
6289 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6290 and default-process-coding-system to utf-8-unix (Bug#15402).
6291
6292 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6293
6294 * subr.el (looking-back): Do not recommend using looking-back.
6295
6296 2013-09-28 Alan Mackenzie <acm@muc.de>
6297
6298 Fix indentation/fontification of Java enum with "implements".
6299
6300 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6301 regexp which matches "implements", etc., in Java.
6302 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6303 specifier clauses coming after "enum".
6304 * progmodes/cc-fonts.el (c-font-lock-declarations)
6305 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6306 after "enum".
6307
6308 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6309
6310 * faces.el (region): Change ns_selection_color to
6311 ns_selection_fg_color, add ns_selection_bg_color.
6312
6313 2013-09-28 Leo Liu <sdl.web@gmail.com>
6314
6315 * progmodes/octave.el (inferior-octave-completion-table)
6316 (inferior-octave-completion-at-point): Minor tweaks.
6317
6318 * textmodes/ispell.el (ispell-lookup-words): Rename from
6319 lookup-words. (Bug#15460)
6320 (lookup-words): Obsolete.
6321 (ispell-complete-word, ispell-command-loop): All uses changed.
6322
6323 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6324
6325 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6326 (octave-mode-menu): Add octave-send-buffer.
6327 (octave-send-buffer): New function.
6328
6329 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6330
6331 * progmodes/octave.el (octave-mode-map): Add key binding for
6332 octave-lookfor.
6333 (octave-mode-menu): Add octave-lookfor.
6334 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6335 octave-lookfor.
6336 (octave-lookfor): New function.
6337
6338 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6341 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6342 its convention.
6343 (cl--loop-set-iterator-function): New function.
6344 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6345 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6346 Bind `it' with `let' instead of substituting it with `cl-subst'.
6347 (cl--unused-var-p): New function.
6348 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6349 Eliminate some unused variable warnings (bug#15326).
6350
6351 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6352
6353 * doc-view.el (doc-view-scale-reset): Rename from
6354 `doc-view-reset-zoom-level'.
6355 (doc-view-scale-adjust): New command.
6356 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6357 `doc-view-scale-adjust'.
6358
6359 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6360
6361 * doc-view.el (doc-view-reset-zoom-level): New command.
6362 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6363 zoom commands (bug#15466).
6364
6365 2013-09-26 Kenichi Handa <handa@gnu.org>
6366
6367 * international/quail.el (quail-help): Make it not a command.
6368
6369 2013-09-26 Leo Liu <sdl.web@gmail.com>
6370
6371 * minibuffer.el (completion-all-sorted-completions): Make args
6372 optional as they are.
6373
6374 2013-09-25 Daniel Colascione <dancol@dancol.org>
6375
6376 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6377 specs are and that they're not evaluated.
6378
6379 2013-09-24 Sam Steingold <sds@gnu.org>
6380
6381 * midnight.el (clean-buffer-list-kill-regexps)
6382 (clean-buffer-list-kill-buffer-names): Update for the new Man
6383 buffer naming which includes the object name.
6384
6385 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6386
6387 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6388 (eshell-parse-command, eshell-parse-pipeline): Use it since
6389 eshell-separate-commands requires a dynamic scoped var.
6390 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6391
6392 2013-09-23 Leo Liu <sdl.web@gmail.com>
6393
6394 * autoinsert.el (auto-insert-alist): Make the value of
6395 lexical-binding match its file setting.
6396
6397 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6398
6399 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6400
6401 * autoarg.el (autoarg-kp-digit-argument):
6402 * electric.el (Electric-command-loop):
6403 * kmacro.el (kmacro-step-edit-insert):
6404 Do not set universal-argument-num-events.
6405
6406 2013-09-22 Leo Liu <sdl.web@gmail.com>
6407
6408 * files.el (interpreter-mode-alist): Add octave.
6409
6410 2013-09-21 Alan Mackenzie <acm@muc.de>
6411
6412 C++: fontify identifier in declaration following "public:" correctly.
6413 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6414 to match "public", etc.
6415 (c-decl-prefix-re): Add ":" into the C++ value.
6416 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6417 bit. Add a check for a ":" preceded by "public", etc.
6418
6419 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6420
6421 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6422 recognized by GDB 7.5 and later.
6423
6424 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6425
6426 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6427
6428 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6429
6430 * subr.el (internal--call-interactively): New const.
6431 (called-interactively-p): Use it (bug#3984).
6432
6433 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6434
6435 * vc/pcvs.el (cvs-mode-ignore):
6436 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6437 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6438
6439 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6440
6441 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6442 (eshell-ls-orig-insert-directory): Remove.
6443 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6444 (eshell-ls-use-in-dired): Use advice-add/remove.
6445 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6446 Add `orig-fun' arg for use in :around advice.
6447 Make it check (redundantly) eshell-ls-use-in-dired.
6448
6449 2013-09-19 Glenn Morris <rgm@gnu.org>
6450
6451 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6452
6453 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6454
6455 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6456
6457 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6458
6459 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6460 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6461 (tramp-get-remote-python): New defuns.
6462 (tramp-get-remote-uid-with-perl)
6463 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6464 contributed by yary <not.com@gmail.com> (tiny change).
6465 (tramp-get-remote-uid-with-python)
6466 (tramp-get-remote-gid-with-python): New defuns. Python code
6467 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6468 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6469
6470 2013-09-19 Glenn Morris <rgm@gnu.org>
6471
6472 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6473
6474 * eshell/em-unix.el (eshell-remove-entries):
6475 Rename argument to avoid name-clash with global `top-level'.
6476
6477 * eshell/esh-proc.el (eshell-kill-process-function):
6478 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6479 (eshell-reset-after-proc): Remove unused arg `proc'.
6480
6481 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6482 (directory-files-and-attributes): Mark unused arg.
6483
6484 * eshell/em-unix.el (eshell-remove-entries):
6485 Remove unused arg `path'. Update callers.
6486
6487 * eshell/em-hist.el (eshell-hist-parse-arguments):
6488 Remove unused arg `silent'. Update callers.
6489
6490 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6491 Fix (f)boundp mix-up.
6492
6493 * eshell/em-smart.el (eshell-smart-scroll-window)
6494 (eshell-disable-after-change):
6495 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6496
6497 2013-09-18 Alan Mackenzie <acm@muc.de>
6498
6499 Fix fontification of type when followed by "const".
6500 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6501 "known" types from fontification.
6502
6503 2013-09-18 Glenn Morris <rgm@gnu.org>
6504
6505 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6506 (chart-face-list): Drop Emacsen without display-color-p.
6507
6508 * net/eww.el (libxml-parse-html-region): Declare.
6509 (eww-display-html): Explicit error if no libxml2 support.
6510
6511 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6512
6513 * image.el (image-type-from-buffer, image-multi-frame-p):
6514 Remove --without-x warning/error.
6515
6516 * mouse.el (mouse-yank-primary):
6517 * term.el (term-mouse-paste):
6518 Reorder to silence --without-x compilation.
6519
6520 * mpc.el (doc-view-mode): Silence --without-x compilation.
6521
6522 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6523 Silence --without-x compilation.
6524
6525 * progmodes/gud.el (gud-find-file, gud-mode):
6526 Silence --without-x compilation.
6527 (tooltip-mode): Declare.
6528
6529 * wdired.el (dired-backup-overwrite): Remove declaration.
6530 (wdired-mode-map): Add doc string.
6531
6532 * custom.el (x-get-resource): Declare.
6533
6534 * eshell/em-glob.el (ange-cache):
6535 * eshell/em-unix.el (ange-cache): Declare.
6536
6537 * faces.el (x-display-list, x-open-connection, x-get-resource):
6538 Declare.
6539
6540 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6541 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6542 Declare.
6543
6544 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6545
6546 * net/gnutls.el (gnutls-log-level): Declare.
6547
6548 * net/shr.el (image-size, image-animate): Declare.
6549
6550 * simple.el (font-info): Declare.
6551
6552 * subr.el (x-popup-dialog): Declare.
6553
6554 * term/common-win.el (x-select-enable-primary)
6555 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6556 Declare.
6557
6558 * term/ns-win.el (x-handle-args): Declare.
6559
6560 * term/x-win.el (x-select-enable-clipboard): Declare.
6561
6562 * term/w32-win.el (create-default-fontset): Declare.
6563
6564 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6565 Declare.
6566
6567 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6568 (fit-frame-to-buffer): Explicit error if --without-x.
6569 (mouse-autoselect-window-select): Silence compiler.
6570
6571 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6572
6573 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6574 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6575 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6576 * eshell/esh-util.el (eshell-sublist):
6577 Remove unused local variables.
6578
6579 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6580
6581 * textmodes/two-column.el: Make 2C-split work for --without-x.
6582 (scroll-bar-columns): Autoload.
6583 (top-level): Require fringe when compiling.
6584
6585 2013-09-18 Leo Liu <sdl.web@gmail.com>
6586
6587 * subr.el (add-hook): Robustify to handle closure as well.
6588
6589 2013-09-17 Glenn Morris <rgm@gnu.org>
6590
6591 * simple.el (messages-buffer-mode-map): Unbind "g".
6592
6593 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6594
6595 * help-mode.el (help-mode-finish): Use derived-mode-p.
6596 Remove obsolete highlighting.
6597
6598 * play/life.el (life-mode): Use define-derived-mode. Derive from
6599 special-mode.
6600 (life): Let-bind inhibit-read-only.
6601 (life-setup): Avoid `setq'. Use `life-mode'.
6602
6603 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6604 which should not be needed any more.
6605 (package-menu-refresh, package-menu-describe-package): Use user-error.
6606
6607 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6608 (eshell-post-rewrite-command-hook): Make obsolete.
6609 (eshell-parse-command): Simplify.
6610 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6611 (eshell--cmd): Declare.
6612 (eshell-parse-pipeline): Remove unused var `final-p'.
6613 Pass a dynvar to eshell-post-rewrite-command-hook.
6614 Implement the new eshell-post-rewrite-command-function.
6615 (eshell-invoke-directly): Remove unused arg `input'.
6616 * eshell/esh-io.el (eshell-io-initialize):
6617 Use eshell-post-rewrite-command-function (bug#15399).
6618 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6619 adjust to new calling convention.
6620 (eshell-create-handles): Rename args to avoid clashing with dynvar
6621 `standard-output'.
6622
6623 2013-09-17 Glenn Morris <rgm@gnu.org>
6624
6625 * simple.el (messages-buffer-mode): New major mode.
6626 (messages-buffer): New function.
6627 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6628 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6629 (ert-run-test): Use `messages-buffer' function.
6630 (ert--force-message-log-buffer-truncation): Ignore read-only.
6631 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6632 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6633
6634 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6635
6636 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6637
6638 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6639
6640 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * icomplete.el (icomplete-in-buffer): New var.
6643 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6644 vars and replace them with functions.
6645 (icomplete-minibuffer-setup): Adjust accordingly.
6646 (icomplete--completion-table, icomplete--completion-predicate)
6647 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6648 New functions.
6649 (icomplete-forward-completions, icomplete-backward-completions)
6650 (icomplete-simple-completing-p, icomplete-exhibit)
6651 (icomplete-completions): Use them.
6652 (icomplete--in-region-buffer): New var.
6653 (icomplete--in-region-setup): New function.
6654 (icomplete-mode): Use it.
6655
6656 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6657 (bug#15379).
6658 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6659 return args and options.
6660 (eshell-eval-using-options): Use the new return value of
6661 eshell--do-opts to set the options's vars in their scope.
6662 (eshell--set-option): Rename from eshell-set-option.
6663 Add arg `opt-vals'.
6664 (eshell--process-option): Rename from eshell-process-option.
6665 Add arg `opt-vals'.
6666 (eshell--process-args): Use an `opt-vals' alist to store the options's
6667 values during their processing and return them additionally to the
6668 remaining args.
6669
6670 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6671
6672 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6673 continuation character an operator, as far as indentation is
6674 concerned (Bug#15369).
6675
6676 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6677
6678 * window.el (window--state-put-2): Don't process buffer state
6679 when buffer doesn't exist any more (Bug#15382).
6680
6681 2013-09-15 Glenn Morris <rgm@gnu.org>
6682
6683 * eshell/em-unix.el (eshell/rm):
6684 Make -f ignore missing files. (Bug#15373)
6685
6686 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6687 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6688 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6689
6690 2013-09-14 Glenn Morris <rgm@gnu.org>
6691
6692 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6693
6694 2013-09-13 Glenn Morris <rgm@gnu.org>
6695
6696 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6697 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6698
6699 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6700
6701 * frame.el (x-focus-frame): Mark as declared in frame.c.
6702
6703 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * ls-lisp.el: Use advice-add.
6706 (original-insert-directory): Remove.
6707 (ls-lisp--insert-directory): Rename from insert-directory; add
6708 `orig-fun' argument.
6709 (insert-directory): Advise.
6710
6711 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6712
6713 * term.el (term-emulate-terminal): Decode the command string
6714 before passing it to term-command-hook. (Bug#15337)
6715
6716 2013-09-13 Glenn Morris <rgm@gnu.org>
6717
6718 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6719
6720 * eshell/esh-ext.el (eshell-search-path): Declare.
6721
6722 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6723 Otherwise an error occurs if eshell-dirs module not loaded.
6724
6725 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6726
6727 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6728
6729 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6730 `tramp-check-proper-host'. Check for a valid method name.
6731
6732 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6733 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6734 * net/tramp-sh.el (tramp-maybe-open-connection):
6735 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6736
6737 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6738 also for hash values.
6739
6740 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6741
6742 * term/ns-win.el (parameters): Don't declare as dynamic.
6743 (before-make-frame-hook): Don't add ineffective function.
6744
6745 * eshell/*.el: Use lexical-binding (bug#15231).
6746
6747 2013-09-12 Kenichi Handa <handa@gnu.org>
6748
6749 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6750
6751 2013-09-12 Glenn Morris <rgm@gnu.org>
6752
6753 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6754 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6755
6756 * subr.el (do-after-load-evaluation): Also give compiler warnings
6757 when obsolete files are used (except by obsolete files).
6758
6759 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6760 in the status output, assume `filename' is the first. (Bug#15322)
6761
6762 * vc/vc.el (vc-deduce-fileset): Doc fix.
6763
6764 * calc/calc-help.el (Info-goto-node):
6765 * progmodes/cperl-mode.el (Info-find-node):
6766 * vc/ediff.el (Info-goto-node): Update declarations.
6767
6768 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6769
6770 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6771 (vc-bzr-pull): Require vc-dispatcher.
6772 * vc/vc-git.el (vc-compilation-mode): Declare.
6773 (vc-git-pull): Require vc-dispatcher.
6774
6775 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6776
6777 * progmodes/octave.el (help-button-action): Declare.
6778
6779 * shell.el (shell-directory-tracker): Output error as a message
6780 rather than just returning it as a string.
6781 (shell-process-pushd): Remove useless use of message.
6782
6783 * dframe.el (dframe-timer-fn):
6784 * files.el (dir-locals-read-from-file):
6785 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6786 (mpc-format):
6787 * reveal.el (reveal-post-command):
6788 * saveplace.el (load-save-place-alist-from-file):
6789 * shell.el (shell-resync-dirs):
6790 * w32-common-fns.el (x-get-selection-value):
6791 * emacs-lisp/copyright.el (copyright-find-copyright):
6792 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6793 * emulation/tpu-edt.el (tpu-copy-keyfile):
6794 * play/bubbles.el (bubbles--mark-neighbourhood):
6795 * progmodes/executable.el
6796 (executable-make-buffer-file-executable-if-script-p):
6797 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6798
6799 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 Cleanup Eshell to rely less on dynamic scoping.
6802 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6803 last-value, and ext-command here. Bind `args' closer to `body'.
6804 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6805 (eshell--args): Declare new dynamic var.
6806 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6807 last-value, and ext-command. Pass `args' to `body'.
6808 (eshell-process-args): Bind eshell--args.
6809 (eshell-set-option): Use eshell--args.
6810 * eshell/eshell.el (eshell): Use derived-mode-p.
6811 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6812 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6813 (eshell-glob-function): Declare.
6814 * eshell/esh-util.el: Require cl-lib.
6815 (eshell-read-hosts-file): Avoid add-to-list.
6816 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6817 `err'.
6818 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6819 Declare.
6820 (eshell/diff): Remove unused var `err'.
6821 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6822 `killflag'.
6823 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6824 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6825 first use.
6826 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6827 Move declaration before first use.
6828 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6829 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6830 rely on cl-return.
6831
6832 2013-09-12 Glenn Morris <rgm@gnu.org>
6833
6834 * term/ns-win.el (global-map): Remove binding for ispell-next,
6835 deleted 1999-05-29. (Bug#15357)
6836
6837 2013-09-11 Glenn Morris <rgm@gnu.org>
6838
6839 * echistory.el (electric-command-history): Remove call to deleted func.
6840
6841 * play/landmark.el (landmark-mode): Fix typos.
6842
6843 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6844 Check cvs-sort-ignore-file is bound.
6845
6846 * savehist.el: No need for cl when compiling on Emacs.
6847
6848 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6851 (bug#15338).
6852 (eshell-self-insert-command, eshell-send-invisible):
6853 Remove unused argument.
6854 (eshell-handle-control-codes): Remove unused var `orig'.
6855 Avoid delete-backward-char.
6856
6857 * files.el (set-auto-mode): Simplify a bit further.
6858
6859 2013-09-11 Glenn Morris <rgm@gnu.org>
6860
6861 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6862 (set-auto-mode): Don't regexp-quote elements.
6863 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6864 * progmodes/cc-mode.el (interpreter-mode-alist):
6865 * progmodes/ruby-mode.el (interpreter-mode-alist):
6866 Revert previous change.
6867
6868 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * play/snake.el (snake-mode):
6871 * play/mpuz.el (mpuz-mode):
6872 * play/landmark.el (lm-mode):
6873 * play/blackbox.el (blackbox-mode):
6874 * play/5x5.el (5x5-mode):
6875 * obsolete/options.el (Edit-options-mode):
6876 * net/quickurl.el (quickurl-list-mode):
6877 * net/newst-treeview.el (newsticker-treeview-mode):
6878 * mail/rmailsum.el (rmail-summary-mode):
6879 * mail/mspools.el (mspools-mode):
6880 * locate.el (locate-mode):
6881 * ibuffer.el (ibuffer-mode):
6882 * emulation/ws-mode.el (wordstar-mode):
6883 * emacs-lisp/debug.el (debugger-mode):
6884 * array.el (array-mode):
6885 * net/eudc.el (eudc-mode): Use define-derived-mode.
6886 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6887 Move initialization into declaration.
6888 (mairix-searches-mode): Use define-derived-mode.
6889 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6890 (eudc-edit-hotlist): Use dolist.
6891 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6892 (Man-mode): Use define-derived-mode.
6893 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6894 (Info-edit-mode): Use define-derived-mode.
6895 (Info-cease-edit): Use Info-mode.
6896 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6897 into declaration.
6898 (eshell-mode): Use define-derived-mode.
6899 * chistory.el (command-history-mode-map): Rename from
6900 command-history-map.
6901 (command-history-mode): Use define-derived-mode.
6902 (Command-history-setup): Remove function.
6903 * calc/calc.el (calc-trail-mode-map): New var.
6904 (calc-trail-mode): Use define-derived-mode.
6905 (calc-trail-buffer): Set calc-main-buffer manually.
6906 * bookmark.el (bookmark-insert-annotation): New function.
6907 (bookmark-edit-annotation): Use it.
6908 (bookmark-edit-annotation-mode): Make it a proper major mode.
6909 (bookmark-send-edited-annotation): Use derived-mode-p.
6910 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6911 closer to its ideal place. Use \' to match EOS.
6912
6913 * profiler.el (profiler-calltree-find): Use function-equal.
6914
6915 2013-09-10 Glenn Morris <rgm@gnu.org>
6916
6917 * files.el (interpreter-mode-alist): Convert to regexps.
6918 (set-auto-mode): Adapt for this. (Bug#15306)
6919 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6920 Comment out unused variable.
6921 * progmodes/cc-mode.el (interpreter-mode-alist):
6922 * progmodes/python.el (interpreter-mode-alist):
6923 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6924 * progmodes/sh-script.el (sh-set-shell):
6925 No longer use interpreter-mode-alist to get list of shells.
6926
6927 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6928
6929 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * simple.el: Use set-temporary-overlay-map for universal-argument.
6932 (universal-argument-map): Don't use default-bindings (bug#15317).
6933 Bind switch-frame explicitly. Replace universal-argument-minus with
6934 a conditional binding.
6935 (universal-argument-num-events, saved-overriding-map): Remove.
6936 (restore-overriding-map): Remove.
6937 (universal-argument--mode): Rename from save&set-overriding-map,
6938 and rewrite.
6939 (universal-argument, universal-argument-more, negative-argument)
6940 (digit-argument): Adjust accordingly.
6941 (universal-argument-minus): Remove.
6942 (universal-argument-other-key): Remove.
6943
6944 * subr.el (with-demoted-errors): Add `format' argument.
6945
6946 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6947
6948 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6949 `tramp-cleanup-connection'.
6950
6951 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6952 parameters KEEP-DEBUG and KEEP-PASSWORD.
6953
6954 * net/tramp.el (tramp-file-name-handler):
6955 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6956 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6957 (tramp-maybe-open-connection):
6958 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6959 Use `tramp-cleanup-connection'.
6960
6961 * net/tramp-sh.el (tramp-maybe-open-connection):
6962 Catch 'uname-changed inside the progress reporter.
6963
6964 2013-09-10 Glenn Morris <rgm@gnu.org>
6965
6966 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6967
6968 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6969 returns "alternate access method" in mode (eg "-rw-r--r--.").
6970
6971 2013-09-08 Glenn Morris <rgm@gnu.org>
6972
6973 * saveplace.el (load-save-place-alist-from-file):
6974 Demote errors. (Bug#15305)
6975
6976 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6977
6978 Improve compatibility with older Emacsen, and XEmacs.
6979
6980 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6981 only if it is bound. It isn't for XEmacs.
6982 (with-tramp-progress-reporter): Do not let-bind `result'.
6983 This yields to scoping errors in XEmacs.
6984 (tramp-handle-make-auto-save-file-name): New function, moved from
6985 tramp-sh.el.
6986
6987 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6988 for `make-auto-save-file-name'.
6989 (tramp-adb--gnu-switches-to-ash):
6990 Use `tramp-compat-replace-regexp-in-string'.
6991
6992 * net/tramp-cache.el (tramp-cache-print): Call
6993 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6994
6995 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6996 bound. It isn't for XEmacs.
6997
6998 * net/tramp-compat.el (tramp-compat-copy-file):
6999 Catch `wrong-number-of-arguments' error.
7000 (tramp-compat-replace-regexp-in-string): New defun.
7001
7002 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7003 for `make-auto-save-file-name'.
7004 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7005 `copy-file'.
7006 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7007 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7008 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7009
7010 * net/tramp-gw.el (tramp-gw-open-network-stream):
7011 Use `tramp-compat-replace-regexp-in-string'.
7012
7013 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7014 Call `tramp-handle-make-auto-save-file-name'.
7015 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7016 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7017 (tramp-sh-file-inotifywait-process-filter):
7018 Use `tramp-compat-replace-regexp-in-string'.
7019 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7020
7021 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7022 for `make-auto-save-file-name'.
7023 (tramp-smb-handle-copy-directory):
7024 Call `tramp-compat-replace-regexp-in-string'.
7025 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7026 (tramp-smb-handle-copy-file): Improve error message.
7027 (tramp-smb-handle-rename-file): Rename directly only in case
7028 `newname' does not exist yet. This is a restriction of smbclient.
7029 (tramp-smb-maybe-open-connection): Rerun the function only when
7030 `auth-sources' is non-nil.
7031
7032 2013-09-08 Kenichi Handa <handa@gnu.org>
7033
7034 * international/characters.el: Set category "^" (Combining) for
7035 more characters.
7036
7037 2013-09-07 Alan Mackenzie <acm@muc.de>
7038
7039 Correctly fontify Java class constructors.
7040 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7041 in Java Mode.
7042 (c-recognize-typeless-decls): Set the Java value to t.
7043 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7044 While handling a "(", add a check for, effectively, Java, and handle a
7045 "typeless" declaration there.
7046
7047 2013-09-07 Roland Winkler <winkler@gnu.org>
7048
7049 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7050 field subtitle for entry type book.
7051
7052 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7053
7054 * minibuffer.el: Make minibuffer-complete call completion-in-region
7055 rather than other way around.
7056 (completion--some, completion-pcm--find-all-completions):
7057 Don't delay signals when debugging.
7058 (minibuffer-completion-contents): Beware fields within the
7059 minibuffer contents.
7060 (completion-all-sorted-completions): Use defvar-local.
7061 (completion--do-completion, completion--cache-all-sorted-completions)
7062 (completion-all-sorted-completions, minibuffer-force-complete):
7063 Add args `beg' and `end'.
7064 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7065 (minibuffer-complete): Use completion-in-region.
7066 (completion-complete-and-exit): New fun, extracted from
7067 minibuffer-complete-and-exit.
7068 (minibuffer-complete-and-exit): Use it.
7069 (completion--complete-and-exit): Rename from
7070 minibuffer--complete-and-exit.
7071 (completion-in-region--single-word): New function, extracted from
7072 minibuffer-complete-word.
7073 (minibuffer-complete-word): Use it.
7074 (display-completion-list): Make `common-substring' argument obsolete.
7075 (completion--in-region): Call completion--in-region-1 instead of
7076 minibuffer-complete.
7077 (completion-help-at-point): Pass boundaries to
7078 minibuffer-completion-help as args rather than via an overlay.
7079 (completion-pcm--string->pattern): Use `any-delim'.
7080 (completion-pcm--optimize-pattern): New function.
7081 (completion-pcm--pattern->regex): Handle `any-delim'.
7082 * icomplete.el (icomplete-forward-completions)
7083 (icomplete-backward-completions, icomplete-completions):
7084 Adjust calls to completion-all-sorted-completions and
7085 completion--cache-all-sorted-completions.
7086 (icomplete-with-completion-tables): Default to t.
7087 * emacs-lisp/crm.el (crm--current-element): Rename from
7088 crm--select-current-element. Don't put an overlay but return the
7089 boundaries instead.
7090 (crm--completion-command): Take two new args to bind to the boundaries.
7091 (crm-completion-help): Adjust accordingly.
7092 (crm-complete): Use completion-in-region.
7093 (crm-complete-word): Use completion-in-region--single-word.
7094 (crm-complete-and-exit): Use completion-complete-and-exit.
7095
7096 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7099 than dynamically.
7100
7101 2013-09-06 Juri Linkov <juri@jurta.org>
7102
7103 * info.el (Info-display-images-node): When image file doesn't exist
7104 display text version of the image if it's provided in the Info file.
7105 Otherwise, display the location of missing image from SRC attribute.
7106 Add help-echo text property from ALT attribute. (Bug#15279)
7107
7108 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7111 (edit-abbrevs-mode): Use define-derived-mode.
7112
7113 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7114 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7115 that it's defined.
7116 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7117 Use define-derived-mode.
7118
7119 * epg.el (epg-start-encrypt): Minor CSE simplification.
7120
7121 2013-09-06 William Xu <william.xwl@gmail.com>
7122
7123 * arc-mode.el: Add support for 7za (bug#15264).
7124 (archive-7z-program): New var.
7125 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7126 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7127 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7128
7129 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7130
7131 Remove URL syntax.
7132
7133 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7134 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7135 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7136 (tramp-postfix-host-format, tramp-file-name-regexp)
7137 (tramp-completion-file-name-regexp)
7138 (tramp-completion-dissect-file-name)
7139 (tramp-handle-substitute-in-file-name): Remove 'url case.
7140 (tramp-file-name-regexp-url)
7141 (tramp-completion-file-name-regexp-url): Remove constants.
7142
7143 2013-09-06 Glenn Morris <rgm@gnu.org>
7144
7145 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7146
7147 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7148
7149 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7150 keywords" below "here-doc beginnings" (Bug#15270).
7151
7152 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * subr.el (pop): Use `car-safe'.
7155 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7156 to detect unused `pop' return value.
7157
7158 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7159 var `block-regexp'.
7160 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7161 (python-fill-string): Remove unused var `marker'.
7162 (python-skeleton-add-menu-items): Remove unused var `items'.
7163
7164 * international/mule-cmds.el: Require CL.
7165 (find-coding-systems-for-charsets): Avoid add-to-list.
7166 (sanitize-coding-system-list): New function, extracted from
7167 select-safe-coding-system-interactively.
7168 (select-safe-coding-system-interactively): Use it.
7169 (read-input-method-name): Accept symbols for `default'.
7170
7171 * emacs-lisp/advice.el (defadvice): Add indent rule.
7172
7173 2013-09-05 Daniel Hackney <dan@haxney.org>
7174
7175 * dired-x.el:
7176 * net/ange-ftp.el:
7177 * net/browse-url.el:
7178 * net/dbus.el:
7179 * net/eudc.el:
7180 * net/eudcb-ldap.el:
7181 * net/eww.el:
7182 * net/imap.el:
7183 * printing.el:
7184 * vc/ediff-diff.el:
7185 * vc/ediff-init.el:
7186 * vc/ediff-merg.el:
7187 * vc/ediff-mult.el:
7188 * vc/ediff-util.el:
7189 * vc/ediff-wind.el:
7190 * vc/ediff.el:
7191 * vc/emerge.el:
7192 * vc/pcvs.el:
7193 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7194 byte compiler. Remove some unused let-bound variables.
7195
7196 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7199 a "ref-cell", since it gets better optimized (bug#14883).
7200
7201 2013-09-05 Glenn Morris <rgm@gnu.org>
7202
7203 * progmodes/cc-awk.el (c-forward-sws): Declare.
7204
7205 2013-09-04 Glenn Morris <rgm@gnu.org>
7206
7207 * generic-x.el [rul-generic-mode]: Require cc-mode.
7208 (c++-mode-syntax-table): Declare.
7209 (rul-generic-mode-syntax-table): Init in the defvar.
7210
7211 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7214 (vc-do-command, vc-set-async-update):
7215 * vc/vc-mtn.el (vc-mtn-dir-status):
7216 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7217 (vc-hg-pull, vc-hg-merge-branch):
7218 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7219 (vc-git-merge-branch):
7220 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7221 (vc-cvs-dir-status-files):
7222 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7223 (vc-bzr-dir-status-files):
7224 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7225 * vc/vc-annotate.el: Use lexical-binding.
7226 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7227 (vc-sentinel-movepoint): Declare.
7228 (vc-annotate): Don't use `goto-line'.
7229 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7230 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7231 (vc-sentinel-movepoint): Declare.
7232 * vc/vc-svn.el: Use lexical-binding.
7233 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7234 * vc/vc-sccs.el:
7235 * vc/vc-rcs.el: Use lexical-binding.
7236
7237 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7238 `deleted'. Don't drop errors silently.
7239
7240 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7241
7242 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7243
7244 * vc/vc.el (vc-ignore): Rewrite.
7245 (vc-default-ignore): New function.
7246 (vc-default-ignore-completion-table): Use find-ignore-file.
7247
7248 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7249 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7250 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7251 Remove. Most code moved to vc.el.
7252
7253 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7254
7255 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7256 * net/tramp-smb.el (tramp-smb-get-file-entries):
7257 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7258 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7259
7260 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7261 Update call to it.
7262 (eww-change-select): Remove unused var `properties'.
7263 (eww-make-unique-file-name): Remove unused var `base'.
7264
7265 * finder.el (finder-compile-keywords): Don't mess with windows.
7266
7267 * calculator.el (calculator-funcall): Fix typo in last change.
7268
7269 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7270
7271 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7272 <pkg>-autoloads.el file stop us.
7273
7274 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7275 warnings, and factor out common code.
7276
7277 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7278
7279 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7280 two-character operators and whether the character preceding them
7281 changes their meaning (Bug#15208).
7282
7283 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7284
7285 Format code sent to Python shell for robustness.
7286 * progmodes/python.el (python-shell-buffer-substring):
7287 New function.
7288 (python-shell-send-region, python-shell-send-buffer): Use it.
7289
7290 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7291
7292 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7293 * net/tramp.el (tramp-user-error): ... here.
7294 (tramp-find-method, tramp-check-proper-host)
7295 (tramp-dissect-file-name, tramp-debug-message)
7296 (tramp-handle-shell-command):
7297 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7298 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7299
7300 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7301
7302 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7303
7304 * avoid.el (mouse-avoidance-point-position)
7305 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7306 returns nil.
7307
7308 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7309
7310 * progmodes/python.el (python-shell-completion-get-completions):
7311 Drop use of deleted `comint-last-prompt-overlay'.
7312 (python-nav-if-name-main): New command.
7313
7314 2013-09-01 Glenn Morris <rgm@gnu.org>
7315
7316 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7317 Avoid leading space in $wins. Otherwise the sed command used by
7318 eg compile-main ends up containing "/*.el". (Bug#15170)
7319
7320 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7321
7322 2013-08-30 Glenn Morris <rgm@gnu.org>
7323
7324 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7325 Fix is-this-a-directory logic. (Bug#15220)
7326
7327 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * textmodes/css-mode.el: Use SMIE.
7330 (css-smie-grammar): New var.
7331 (css-smie--forward-token, css-smie--backward-token)
7332 (css-smie-rules): New functions.
7333 (css-mode): Use them.
7334 (css-navigation-syntax-table): Remove var.
7335 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7336 (css-indent-calculate, css-indent-line): Remove functions.
7337
7338 Misc changes to reduce use of `(lambda...); and other cleanups.
7339 * cus-edit.el: Use lexical-binding.
7340 (customize-push-and-save, customize-apropos)
7341 (custom-buffer-create-internal): Use closures.
7342 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7343 * progmodes/ada-xref.el: Use setq.
7344 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7345 * dframe.el: Use lexical-binding.
7346 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7347 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7348 * descr-text.el: Use lexical-binding.
7349 (describe-text-widget, describe-text-sexp, describe-property-list):
7350 Use closures.
7351 * comint.el (comint-history-isearch-push-state): Use a closure.
7352 * calculator.el: Use lexical-binding.
7353 (calculator-number-to-string): Make it work with lexical-binding.
7354 (calculator-funcall): Same and use cl-letf.
7355
7356 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7357 (lisp--company-doc-string, lisp--company-location): New functions.
7358 (lisp-completion-at-point): Use them to improve Company support.
7359
7360 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7361 params of lambda expressions.
7362 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7363 (ruby-smie--opening-pipe-p): New function.
7364 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7365 symbols and matched |...| for formal params.
7366 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7367 from being treated as hanging. Handle "rescue".
7368
7369 2013-08-29 Glenn Morris <rgm@gnu.org>
7370
7371 * progmodes/cc-engine.el (c-pull-open-brace):
7372 Move definition before use.
7373
7374 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7377 are immutable. Don't use `unsafe' any more.
7378 (cl--defsubst-expand): Don't substitute at the same time as keeping
7379 a residual unused let-binding. Don't use `unsafe' any more.
7380
7381 2013-08-29 Glenn Morris <rgm@gnu.org>
7382
7383 * calendar/cal-china.el (calendar-chinese-year-cache):
7384 Recenter on 2015.
7385
7386 * nxml/nxml-util.el (nxml-debug-clear-inside):
7387 Use cl-loop rather than loop.
7388
7389 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7390
7391 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7392
7393 2013-08-28 Glenn Morris <rgm@gnu.org>
7394
7395 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7396
7397 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7398
7399 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7400
7401 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7402
7403 * simple.el (repeat-complex-command--called-interactively-skip):
7404 New function.
7405 (repeat-complex-command): Use it (bug#14136).
7406
7407 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7408 (c-define-abbrev-table): Add `doc' argument.
7409 (c-mode-abbrev-table, c++-mode-abbrev-table)
7410 (objc-mode-abbrev-table, java-mode-abbrev-table)
7411 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7412 (awk-mode-abbrev-table): Use it.
7413 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7414 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7415 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7416 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7417 Move initialization into the declaration; and remove any
7418 autoload cookie.
7419
7420 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7421 and dynamic let binding.
7422
7423 * vc/smerge-mode.el: Remove redundant :group args.
7424
7425 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7426 to load-path.
7427
7428 2013-08-28 Juri Linkov <juri@jurta.org>
7429
7430 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7431 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7432 (isearch-other-meta-char): Handle an undefined shifted printing
7433 character by downshifting it. (Bug#15200)
7434
7435 2013-08-28 Juri Linkov <juri@jurta.org>
7436
7437 * isearch.el (isearch-search): Change regexp error message for
7438 non-regexp searches. (Bug#15166)
7439
7440 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7441
7442 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7443 for portability to hosts where /bin/sh has problems.
7444
7445 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7448
7449 2013-08-27 Juri Linkov <juri@jurta.org>
7450
7451 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7452 in the keyboard macro. (Bug#15126)
7453
7454 2013-08-27 Juri Linkov <juri@jurta.org>
7455
7456 * isearch.el (isearch-quote-char): Comment out converting unibyte
7457 to multibyte, thus syncing with its `quoted-insert' counterpart.
7458 (Bug#15166)
7459
7460 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7461
7462 * window.el (display-buffer-use-some-window): Add missing
7463 argument in call of get-largest-window (Bug#15185).
7464 Reported by Stephen Leake.
7465
7466 2013-08-27 Glenn Morris <rgm@gnu.org>
7467
7468 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7469
7470 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7471
7472 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7473 from a matcher-function unless there's no more matches (bug#15161).
7474
7475 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7476
7477 * minibuffer.el: Revert change from 2013-08-20.
7478
7479 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7480 with text property `tramp-default', if appropriate.
7481 (tramp-check-proper-host): New defun.
7482 (tramp-dissect-file-name): Do not check hostname. Revert change
7483 of 2013-03-18.
7484 (tramp-backtrace): Make VEC-OR-PROC optional.
7485
7486 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7487 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7488 * net/tramp-sh.el (tramp-maybe-open-connection):
7489 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7490 Apply `tramp-check-proper-host'.
7491
7492 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7493
7494 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7495 lambda expression in order to have `describe-variable' display it.
7496
7497 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7498
7499 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7500 BUF can be optional. (Bug#15186)
7501
7502 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7503
7504 * progmodes/flymake.el (flymake-get-real-file-name-function):
7505 Fix broken customization. (Bug#15184)
7506
7507 2013-08-25 Alan Mackenzie <acm@muc.de>
7508
7509 Improve indentation of bracelists defined by macros (without "=").
7510
7511 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7512 expansion begins with "{", regard it as bracelist when it doesn't
7513 contain a ";".
7514
7515 Parse C++ inher-intro when there's a template split over 2 lines.
7516
7517 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7518 rigorously the search for "class" etc. followed by ":".
7519
7520 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7521 random languages a regexp which never matches rather than nil.
7522
7523 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7524
7525 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7526 (c-awk-regexp-one-line-possibly-open-char-list-re)
7527 (c-awk-one-line-possibly-open-regexp-re)
7528 (c-awk-one-line-non-syn-ws*-re): Remove.
7529 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7530 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7531 (c-awk-space*-unclosed-regexp-/-re): New constants.
7532 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7533 aren't regexp delimiters.
7534
7535 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7536 handling for a rare situation in AWK Mode involving unterminated
7537 strings/regexps.
7538
7539 2013-08-23 Glenn Morris <rgm@gnu.org>
7540
7541 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7542
7543 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7544
7545 * files.el (create-file-buffer): If the result would begin with
7546 spaces, prepend a "|" instead of removing them. (Bug#15162)
7547
7548 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7550 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7551 text-properties (bug#15155).
7552
7553 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7554 exist any more.
7555 (calc-keypad-redraw): Remove unused var `pad'.
7556 (calc-keypad-press): Remove unused var `menu'.
7557
7558 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7559
7560 * window.el (display-buffer-pop-up-frame):
7561 Call pop-up-frame-function with BUFFER current so `make-frame' will
7562 use it as the new frame's buffer (Bug#15133).
7563
7564 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7565
7566 * calendar/timeclock.el: Minor cleanups.
7567 (timeclock-ask-before-exiting, timeclock-use-display-time):
7568 Use `symbol'.
7569 (timeclock-modeline-display): Define as alias before the
7570 actual definition.
7571 (timeclock-mode-line-display): Use define-minor-mode.
7572 (timeclock-day-list-template): Make it a function, add an argument.
7573 (timeclock-day-list-required, timeclock-day-list-length)
7574 (timeclock-day-list-debt, timeclock-day-list-span)
7575 (timeclock-day-list-break): Adjust calls accordingly.
7576
7577 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7580 Use read--expression so that completion works again.
7581
7582 2013-08-21 Sam Steingold <sds@gnu.org>
7583
7584 Add rudimentary inferior shell interaction
7585 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7586 (sh-set-shell): Reset it.
7587 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7588 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7589
7590 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * align.el: Use lexical-binding.
7593 (align-region): Simplify accordingly.
7594
7595 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7596
7597 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7598
7599 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7600 `non-essential' up.
7601
7602 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7603
7604 * net/tramp.el:
7605 * net/tramp-adb.el:
7606 * net/tramp-cmds.el:
7607 * net/tramp-ftp.el:
7608 * net/tramp-gvfs.el:
7609 * net/tramp-gw.el:
7610 * net/tramp-sh.el: Don't wrap external variable declarations by
7611 `eval-when-compile'.
7612
7613 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7614
7615 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7616 now that Emacs supports ImageMagick animations.
7617
7618 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7619
7620 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7621 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7622
7623 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7624
7625 * window.el (mouse-autoselect-window-select): Do autoselect when
7626 mouse pointer is on margin.
7627
7628 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7629
7630 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7631
7632 2013-08-16 Glenn Morris <rgm@gnu.org>
7633
7634 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7635 Handle "Remote Directory" response of some clients. (Bug#15058)
7636
7637 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7638 Tweak warning. (Bug#14926)
7639
7640 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7641 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7642
7643 * image-mode.el (image-mode-map): Add menu items to reverse,
7644 increase, decrease, reset animation speed.
7645 (image--set-speed, image-increase-speed, image-decrease-speed)
7646 (image-reverse-speed, image-reset-speed): New functions.
7647 (image-mode-map): Add bindings for speed commands.
7648
7649 * image.el (image-animate-get-speed, image-animate-set-speed):
7650 New functions.
7651 (image-animate-timeout): Respect image :speed property.
7652
7653 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7656 previous line (bug#15101).
7657 (debugger-eval-expression, debugger-record-expression):
7658 Use read--expression (bug#15102).
7659
7660 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7661
7662 Remove byte compiler warnings, visible when compiling with
7663 `byte-compile-force-lexical-warnings' set to t.
7664
7665 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7666 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7667 (tramp-handle-unhandled-file-name-directory)
7668 (tramp-handle-file-notify-add-watch, tramp-action-login)
7669 (tramp-action-succeed, tramp-action-permission-denied)
7670 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7671 arguments with "_".
7672
7673 * net/tramp-adb.el (tramp-adb-parse-device-names)
7674 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7675 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7676 (tramp-adb-handle-file-truename): Remove unused arguments.
7677
7678 * net/tramp-cache.el (tramp-flush-directory-property)
7679 (tramp-flush-connection-property, tramp-list-connections)
7680 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7681
7682 * net/tramp-compat.el (tramp-compat-make-temp-file):
7683 Rename FILENAME to F.
7684
7685 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7686 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7687 (tramp-zeroconf-parse-workstation-device-names)
7688 (tramp-zeroconf-parse-webdav-device-names)
7689 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7690
7691 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7692 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7693
7694 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7695 arguments.
7696 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7697 (tramp-sh-handle-insert-file-contents-literally)
7698 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7699 with "_".
7700 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7701 Remove unused variables.
7702
7703 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7704 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7705 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7706
7707 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7708 Make them a defconst.
7709 (tramp-uuencode-region): Remove unused variable.
7710
7711 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7712
7713 * frameset.el (frameset--prop-setter): New function.
7714 (frameset-prop): Add gv-setter declaration.
7715 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7716 parameter was already set in FILTERED. Doc fix.
7717 (frameset--record-minibuffer-relationships): Allow saving a
7718 minibufferless frame without its corresponding minibuffer frame.
7719 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7720 frame, if the frame id matches.
7721 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7722 frames before orphaned ones.
7723 (frameset-restore): Warn about orphaned windows, instead of error out.
7724
7725 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7726
7727 * window.el (window-make-atom): Don't overwrite parameter
7728 already present.
7729 (display-buffer-in-atom-window): Handle special case where we
7730 split an already atomic window.
7731 (window--major-non-side-window, display-buffer-in-side-window)
7732 (window--side-check): Ignore minibuffer window when walking
7733 window tree.
7734 (window-deletable-p): Return 'frame only if no other frame uses
7735 our minibuffer window.
7736 (record-window-buffer): Run buffer-list-update-hook.
7737 (split-window): Make sure window--check-frame won't destroy an
7738 existing atomic window in case the new window gets nested
7739 inside.
7740 (display-buffer-at-bottom): Ignore minibuffer window when
7741 walking window tree. Don't split a side window.
7742 (pop-to-buffer): Don't set-buffer here, the select-window call
7743 should do that.
7744 (mouse-autoselect-window-select): Autoselect only if we are in the
7745 text portion of the window.
7746
7747 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7748
7749 * net/shr.el (shr-parse-image-data): New function to grab both the
7750 data itself and the Content-Type.
7751 (shr-put-image): Use it.
7752
7753 * net/eww.el (eww-display-image): Ditto.
7754
7755 * image.el (image-content-type-suffixes): New variable.
7756
7757 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7758
7759 * progmodes/python.el (python-imenu--build-tree)
7760 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7761
7762 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7763
7764 * simple.el (backward-word): Mention the optional argument.
7765
7766 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7767
7768 * frameset.el (frameset--make): Rename constructor from make-frameset.
7769 (frameset-p, frameset-valid-p): Don't autoload.
7770 (frameset-valid-p): Use normal accessors.
7771
7772 2013-08-13 Glenn Morris <rgm@gnu.org>
7773
7774 * progmodes/compile.el (compile-command): Tweak example in doc.
7775 * obsolete/scribe.el (scribe-mode):
7776 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7777
7778 * mail/feedmail.el (feedmail-confirm-outgoing)
7779 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7780
7781 * cus-start.el (truncate-partial-width-windows): Fix type.
7782
7783 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7784
7785 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7786
7787 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * emacs-lisp/timer.el (timer--time-setter): New function.
7790 (timer--time): Use it as gv-setter.
7791
7792 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7793 setter is not a symbol.
7794
7795 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7796
7797 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7798 if sending fails. This makes debugging easier.
7799
7800 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7801
7802 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7803 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7804 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7805
7806 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7807
7808 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7809
7810 2013-08-12 Glenn Morris <rgm@gnu.org>
7811
7812 * format.el (format-annotate-function):
7813 Handle read-only text properties in the source. (Bug#14887)
7814
7815 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7816
7817 * net/eww.el (eww-display-html): Ignore coding system errors.
7818 One web site uses "utf-8lias" as the coding system.
7819
7820 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7821
7822 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7823
7824 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7825
7826 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7827 (tutorial--detailed-help): Remove unused local variables.
7828 (tutorial--save-tutorial-to): Use ignore-errors.
7829 (help-with-tutorial): Use looking-at-p.
7830
7831 * view.el (view-buffer-other-window, view-buffer-other-frame):
7832 Mark unused arguments.
7833
7834 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7835 (woman-select-symbol-fonts, woman, woman-find-file)
7836 (woman-insert-file-contents, woman-non-underline-faces):
7837 Use string-match-p.
7838 (woman1-unquote): Move declaration.
7839
7840 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7841 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7842 argument. Remove unused local variable.
7843 (xml-parse-elem-type): Use string-match-p.
7844 (xml-substitute-numeric-entities): Use ignore-errors.
7845
7846 * calculator.el (calculator): Mark unused argument.
7847 (calculator-paste, calculator-quit, calculator-integer-p):
7848 Use ignore-errors.
7849 (calculator-string-to-number, calculator-decimal, calculator-exp)
7850 (calculator-op-or-exp): Use string-match-p.
7851
7852 * dired.el (dired-buffer-more-recently-used-p): Declare.
7853 (dired-insert-set-properties, dired-insert-old-subdirs):
7854 Use ignore-errors.
7855
7856 * dired-aux.el (dired-compress): Use ignore-errors.
7857 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7858 (dired-do-async-shell-command, dired-do-shell-command)
7859 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7860 (dired-insert-subdir-validate): Use string-match-p.
7861 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7862 (dired-add-entry): Use string-match-p, looking-at-p.
7863 (dired-insert-subdir-newpos): Remove unused local variable.
7864
7865 * filenotify.el (file-notify-callback): Remove unused local variable.
7866
7867 * filesets.el (filesets-error): Mark unused argument.
7868 (filesets-which-command-p, filesets-filter-dir-names)
7869 (filesets-directory-files, filesets-get-external-viewer)
7870 (filesets-ingroup-get-data): Use string-match-p.
7871
7872 * find-file.el (ff-other-file-name, ff-other-file-name)
7873 (ff-find-the-other-file, ff-cc-hh-converter):
7874 Remove unused local variables.
7875 (ff-get-file-name): Use string-match-p.
7876 (ff-all-dirs-under): Use ignore-errors.
7877
7878 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7879 (follow-select-if-visible): Remove unused local variable.
7880
7881 * forms.el (read-file-filter): Move declaration.
7882 (forms--make-format, forms--make-parser, forms-insert-record):
7883 Quote function with #'.
7884 (forms--update): Use string-match-p. Quote function with #'.
7885
7886 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7887 (help-make-xrefs): Use looking-at-p.
7888 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7889
7890 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7891 (ibuffer-confirm-operation-on): Use string-match-p.
7892
7893 * msb.el (msb-item-handler, msb-dired-item-handler):
7894 Mark unused arguments.
7895
7896 * ses.el (ses-decode-cell-symbol)
7897 (ses-kill-override): Remove unused local variable.
7898 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7899 (ses-load): Use ignore-errors, looking-at-p.
7900 (ses-jump-safe): Use ignore-errors.
7901 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7902
7903 * tabify.el (untabify, tabify): Mark unused arguments.
7904
7905 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7906 Mark unused argument.
7907 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7908 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7909
7910 * emacs-lisp/timer.el (timer--time): Define setter with
7911 gv-define-setter to avoid deprecation warning.
7912
7913 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7914 (*record-cmpl-statistics-p*): Remove (was commented out).
7915 (cmpl-statistics-block): Remove (body was commented out).
7916 All callers changed.
7917 (add-completions-from-buffer, load-completions-from-file):
7918 Remove unused variables.
7919
7920 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7921
7922 * filecache.el (file-cache-delete-file-list):
7923 Print message only when told so.
7924 (file-cache-files-matching): Use #' in mapconcat argument.
7925
7926 * ffap.el (ffap-url-at-point): Fix reference to variable
7927 thing-at-point-default-mail-uri-scheme.
7928
7929 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * subr.el (define-error): New function.
7932 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7933 error-file-not-found and define with define-error.
7934 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7935 and define with define-error.
7936 * userlock.el (file-locked, file-supersession):
7937 * simple.el (mark-inactive):
7938 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7939 * progmodes/ada-mode.el (ada-mode-errors):
7940 * play/life.el (life-extinct):
7941 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7942 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7943 * nxml/rng-util.el (rng-error):
7944 * nxml/rng-uri.el (rng-uri-error):
7945 * nxml/rng-match.el (rng-compile-error):
7946 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7947 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7948 * nxml/nxml-rap.el (nxml-scan-error):
7949 * nxml/nxml-outln.el (nxml-outline-error):
7950 * net/soap-client.el (soap-error):
7951 * net/gnutls.el (gnutls-error):
7952 * net/ange-ftp.el (ftp-error):
7953 * mpc.el (mpc-proc-error):
7954 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7955 (json-number-format, json-string-escape, json-string-format)
7956 (json-key-format, json-object-format):
7957 * jka-compr.el (compression-error):
7958 * international/quail.el (quail-error):
7959 * international/kkc.el (kkc-error):
7960 * emacs-lisp/ert.el (ert-test-failed):
7961 * calc/calc.el (calc-error, inexact-result, math-overflow)
7962 (math-underflow):
7963 * bookmark.el (bookmark-error-no-filename):
7964 * epg.el (epg-error): Define with define-error.
7965
7966 * time.el (display-time-event-handler)
7967 (display-time-next-load-average): Don't call sit-for since it seems
7968 unnecessary (bug#15045).
7969
7970 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7971 Use #' instead of ' to quote functions.
7972 (checkdoc-output-mode): Use setq-local.
7973 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7974 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7975 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7976 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7977 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7978 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7979 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7980 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7981
7982 * ido.el (ido-completion-help): Fix up compiler warning.
7983
7984 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7985
7986 * frameset.el (frameset-p): Add autoload cookie.
7987 (frameset--jump-to-register): New function, based on code moved from
7988 register.el.
7989 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7990
7991 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7992 (frameset-restore, frameset-save, frameset-session-filter-alist):
7993 Remove declarations.
7994 (register-alist): Doc fix.
7995 (frameset-to-register): Move to frameset.el.
7996 (jump-to-register, describe-register-1): Remove frameset-specific code.
7997
7998 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7999
8000 * allout-widgets.el (allout-widgets-pre-command-business)
8001 (allout-widgets-post-command-business)
8002 (allout-widgets-after-change-handler)
8003 (allout-decorate-item-and-context, allout-set-boundary-marker)
8004 (allout-body-modification-handler)
8005 (allout-graphics-modification-handler): Mark ignored arguments.
8006 (allout-widgets-post-command-business)
8007 (allout-widgets-exposure-change-processor)
8008 (allout-widgets-exposure-undo-processor)
8009 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8010 (allout-parse-item-at-point, allout-decorate-item-guides)
8011 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8012 * allout.el (epa-passphrase-callback-function): Declare.
8013 (allout-overlay-insert-in-front-handler)
8014 (allout-overlay-interior-modification-handler)
8015 (allout-isearch-end-handler, allout-chart-siblings)
8016 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8017 (allout-yank-processing, allout-process-exposed)
8018 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8019 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8020 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8021 (lisp-indent-defform): Mark ignored arguments.
8022 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8023 (calculate-lisp-indent): Remove unused variables.
8024 * international/characters.el (indian-2-column, arabic-2-column)
8025 (tibetan): Mark ignored arguments.
8026 (use-cjk-char-width-table): Mark ignored arguments.
8027 Remove unused variables.
8028 * international/fontset.el (build-default-fontset-data)
8029 (x-compose-font-name, create-fontset-from-fontset-spec):
8030 Mark ignored arguments.
8031 (fontset-plain-name): Remove unused variables.
8032 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8033 (keyboard-coding-system): Mark ignored arguments.
8034 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8035 * help.el (resize-temp-buffer-window):
8036 * window.el (display-buffer-in-major-side-window)
8037 (display-buffer-in-side-window, display-buffer-in-previous-window):
8038 Remove unused variables.
8039 * isearch.el (isearch-forward-symbol):
8040 * version.el (emacs-bzr-version-bzr):
8041 * international/mule-cmds.el (current-language-environment):
8042 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8043 (x-handle-display):
8044 * term/pc-win.el (x-list-fonts, x-display-planes)
8045 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8046 (x-server-version, x-display-screens, x-display-mm-height)
8047 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8048 (x-selection-owner-p, x-own-selection-internal)
8049 (x-disown-selection-internal, x-get-selection-internal)
8050 (msdos-initialize-window-system):
8051 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8052 * term/x-win.el (x-handle-no-bitmap-icon):
8053 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8054 (vc-default-find-file-hook, vc-default-extra-menu):
8055 Mark ignored arguments.
8056
8057 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8060 break-condition in the context of the debugged code (bug#12685).
8061
8062 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8063
8064 * comint.el:
8065 Do not use an overlay to highlight the last prompt. (Bug#14744)
8066 (comint-mode): Make comint-last-prompt buffer local.
8067 (comint-last-prompt): New variable.
8068 (comint-last-prompt-overlay): Remove. Superseded by
8069 comint-last-prompt.
8070 (comint-snapshot-last-prompt, comint-output-filter):
8071 Use comint-last-prompt.
8072
8073 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8074
8075 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8076 (frameset-save): Check validity of the resulting frameset.
8077
8078 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8079
8080 * ido.el (ido-record-command): Add doc string.
8081
8082 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8083
8084 * frameset.el (frameset): Do not disable creation of the default
8085 frameset-p predicate. Doc fix.
8086 (frameset-valid-p): New function, copied from the old predicate-p.
8087 Add additional checks.
8088 (frameset-restore): Check with frameset-valid-p.
8089 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8090 (frameset-name, frameset-description, frameset-properties)
8091 (frameset-states): Add docstring.
8092 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8093 (frameset-filter-alist): Doc fixes.
8094
8095 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8096
8097 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8098
8099 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8100
8101 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8102 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8103 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8104 (byte-compile-normal-call): Remove obsolescence check.
8105
8106 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8107
8108 * frameset.el (frameset-restore): Doc fix.
8109
8110 * register.el (frameset-frame-id, frameset-frame-with-id)
8111 (frameset-p, frameset-restore, frameset-save): Declare.
8112 (register-alist): Document framesets.
8113 (frameset-session-filter-alist): Declare.
8114 (frameset-to-register): New function.
8115 (jump-to-register): Implement jumping to framesets. Doc fix.
8116 (describe-register-1): Describe framesets.
8117
8118 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8119
8120 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8121
8122 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8123 Use lexical-binding.
8124
8125 * frameset.el (frameset): Use type vector, not list (incompatible
8126 change). Do not declare a new constructor, use the default one.
8127 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8128 `name' and `description', respectively, and add read-only slot
8129 `timestamp'. Doc fixes.
8130 (frameset-copy, frameset-persistent-filter-alist)
8131 (frameset-filter-alist, frameset-switch-to-gui-p)
8132 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8133 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8134 (frameset-filter-iconified, frameset-keep-original-display-p):
8135 Doc fixes.
8136 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8137 Rename from frameset-filter-(save|restore)-param. All callers changed.
8138 Doc fix.
8139 (frameset-p): Adapt to change to vector and be more thorough.
8140 Change arg name to OBJECT. Doc fix.
8141 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8142 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8143 All callers changed.
8144 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8145 All callers changed.
8146 (frameset--record-minibuffer-relationships): Rename from
8147 frameset--process-minibuffer-frames. All callers changed.
8148 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8149 Use new default constructor (again). Doc fix.
8150 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8151 All callers changed.
8152 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8153 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8154 Doc fix.
8155 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8156 PARAMETERS and WINDOW-STATE, respectively.
8157 (frameset-restore): Add new keyword argument PREDICATE.
8158 Reset frameset--target-display to nil. Doc fix.
8159
8160 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8161
8162 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8163 (bat-mode): Use it.
8164 (bat-mode-syntax-table): Mark \n as end-of-comment.
8165 (bat-font-lock-keywords): Remove comment rule.
8166
8167 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8168 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8169
8170 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8171 (byte-compile-callargs-warn): Use `push'.
8172 (byte-compile-arglist-warn): Ignore higher-order "calls".
8173 (byte-compile-file-form-autoload): Use `pcase'.
8174 (byte-compile-function-form): If quoting a symbol, check that it exists.
8175
8176 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8177
8178 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8179 and add a few popular commands found in batch files.
8180 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8181 (dos-mode): Doc fixes.
8182
8183 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8185 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8186 (dos-mode): Use setq-local. Add space after "rem".
8187 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8188 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8189
8190 2013-08-07 Arni Magnusson <arnima@hafro.is>
8191
8192 * progmodes/dos.el: New file.
8193 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8194 dos-mode.
8195
8196 2013-08-06 Glenn Morris <rgm@gnu.org>
8197
8198 * calendar/calendar.el: Add new faces, and day-header-array.
8199 (calendar-weekday-header, calendar-weekend-header)
8200 (calendar-month-header): New faces.
8201 (calendar-day-header-construct): New function.
8202 (calendar-day-header-width): Also :set calendar-day-header-array.
8203 (calendar-american-month-header, calendar-european-month-header)
8204 (calendar-iso-month-header): Use calendar- faces.
8205 (calendar-generate-month):
8206 Use calendar-day-header-array for day headers; apply faces to them.
8207 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8208 (calendar-abbrev-construct): Add optional maxlen argument.
8209 (calendar-day-name-array): Doc fix.
8210 (calendar-day-name-array, calendar-abbrev-length)
8211 (calendar-day-abbrev-array):
8212 Also :set calendar-day-header-array, and maybe redraw.
8213 (calendar-day-header-array): New option. (Bug#15007)
8214 (calendar-font-lock-keywords): Set to nil and make obsolete.
8215 (calendar-day-name): Add option to use header array.
8216
8217 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8218
8219 * net/shr.el (shr-render-td): Remove debugging.
8220 (shr-render-td): Make width computation consistent by defaulting
8221 all zero-width columns to 10 characters. This may not be optimal,
8222 but it's at least consistent.
8223 (shr-make-table-1): Redo last change to fix the real problem in
8224 colspan handling.
8225
8226 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8227
8228 * files.el (cache-long-line-scans):
8229 Make obsolete alias to `cache-long-scans'.
8230
8231 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8232
8233 * frameset.el (frameset, frameset-filter-alist)
8234 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8235 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8236 (frameset-compute-pos): Rename from frameset--compute-pos,
8237 and add docstring.
8238 (frameset-move-onscreen): Use frameset-compute-pos.
8239 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8240
8241 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8242 Fix typos in docstrings.
8243
8244 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8245
8246 * frame.el (get-other-frame): Tiny cleanup.
8247
8248 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8249
8250 * vc/vc.el (vc-default-ignore-completion-table):
8251 Silence byte-compiler warning.
8252
8253 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8254 slot, which can indeed be nil.
8255 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8256 Move entry for `left' from persistent to live filter alist.
8257 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8258 Doc fixes.
8259 (frameset-filter-params): When restoring a frame, copy items added to
8260 `filtered', to avoid unwittingly modifying the original parameters.
8261 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8262 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8263
8264 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8265 to use looking-at-p instead of looking-at. (Bug#15028)
8266
8267 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 Revert introduction of isearch-filter-predicates (bug#14714).
8270 Rely on add-function instead.
8271 * isearch.el (isearch-filter-predicates): Rename it back to
8272 isearch-filter-predicate.
8273 (isearch-message-prefix): Use advice-function-mapc and advice
8274 properties to get the isearch-message-prefix.
8275 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8276 instead of run-hook-with-args-until-failure.
8277 (isearch-filter-visible): Not obsolete any more.
8278 * loadup.el: Preload nadvice.
8279 * replace.el (perform-replace): Revert to funcall
8280 instead of run-hook-with-args-until-failure.
8281 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8282 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8283 dired-isearch-filenames-toggle; make it into a proper minor mode.
8284 Use add/remove-function.
8285 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8286 Call the minor-mode rather than add/remove-hook.
8287 (dired-isearch-filter-filenames):
8288 Remove isearch-message-prefix property.
8289 * info.el (Info--search-loop): New function, extracted from Info-search.
8290 Funcall isearch-filter-predicate instead of
8291 run-hook-with-args-until-failure isearch-filter-predicates.
8292 (Info-search): Use it.
8293 (Info-mode): Use isearch-filter-predicate instead of
8294 isearch-filter-predicates.
8295
8296 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8297
8298 Do not call to `selected-window' where it is assumed by default.
8299 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8300 `window-hscroll', `window-width', `window-height', `window-buffer',
8301 `window-frame', `window-start', `window-point', `next-window'
8302 and `window-display-table'.
8303 * abbrev.el (abbrev--default-expand):
8304 * bs.el (bs--show-with-configuration):
8305 * buff-menu.el (Buffer-menu-mouse-select):
8306 * calc/calc.el (calc):
8307 * calendar/calendar.el (calendar-generate-window):
8308 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8309 (diary-make-entry):
8310 * comint.el (send-invisible, comint-dynamic-complete-filename)
8311 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8312 * completion.el (complete):
8313 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8314 * disp-table.el (describe-current-display-table):
8315 * doc-view.el (doc-view-insert-image):
8316 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8317 * ehelp.el (with-electric-help):
8318 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8319 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8320 * emacs-lisp/helper.el (Helper-help-scroller):
8321 * emulation/cua-base.el (cua--post-command-handler-1):
8322 * eshell/esh-mode.el (eshell-output-filter):
8323 * ffap.el (ffap-gnus-wrapper):
8324 * help-macro.el (make-help-screen):
8325 * hilit-chg.el (highlight-compare-buffers):
8326 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8327 * hl-line.el (global-hl-line-highlight):
8328 * icomplete.el (icomplete-simple-completing-p):
8329 * isearch.el (isearch-done):
8330 * jit-lock.el (jit-lock-stealth-fontify):
8331 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8332 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8333 * mpc.el (mpc-tagbrowser, mpc):
8334 * net/rcirc.el (rcirc-any-buffer):
8335 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8336 * play/landmark.el (landmark-max-width, landmark-max-height):
8337 * play/zone.el (zone):
8338 * progmodes/compile.el (compilation-goto-locus):
8339 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8340 * progmodes/etags.el (find-tag-other-window):
8341 * progmodes/fortran.el (fortran-column-ruler):
8342 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8343 * progmodes/verilog-mode.el (verilog-point-text):
8344 * reposition.el (reposition-window):
8345 * rot13.el (toggle-rot13-mode):
8346 * server.el (server-switch-buffer):
8347 * shell.el (shell-dynamic-complete-command)
8348 (shell-dynamic-complete-environment-variable):
8349 * simple.el (insert-buffer, set-selective-display)
8350 (delete-completion-window):
8351 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8352 (speedbar-recenter):
8353 * startup.el (fancy-splash-head):
8354 * textmodes/ispell.el (ispell-command-loop):
8355 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8356 * tutorial.el (help-with-tutorial):
8357 * vc/add-log.el (add-change-log-entry):
8358 * vc/compare-w.el (compare-windows):
8359 * vc/ediff-help.el (ediff-indent-help-message):
8360 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8361 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8362 (ediff-setup-control-frame):
8363 * vc/emerge.el (emerge-position-region):
8364 * vc/pcvs-util.el (cvs-bury-buffer):
8365 * window.el (walk-windows, mouse-autoselect-window-select):
8366 * winner.el (winner-set-conf, winner-undo): Related users changed.
8367
8368 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8369
8370 * frameset.el (frameset--set-id): Doc fix.
8371 (frameset-frame-id, frameset-frame-id-equal-p)
8372 (frameset-locate-frame-id): New functions.
8373 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8374 (frameset-restore): Use them.
8375
8376 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8377
8378 Do not call to `selected-frame' where it is assumed by default.
8379 Affected functions are `raise-frame', `redraw-frame',
8380 `frame-first-window', `frame-terminal' and `delete-frame'.
8381 * calendar/appt.el (appt-disp-window):
8382 * epg.el (epg-wait-for-completion):
8383 * follow.el (follow-delete-other-windows-and-split)
8384 (follow-avoid-tail-recenter):
8385 * international/mule.el (set-terminal-coding-system):
8386 * mail/rmail.el (rmail-mail-return):
8387 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8388 * progmodes/f90.el (f90-add-imenu-menu):
8389 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8390 * server.el (server-switch-buffer):
8391 * simple.el (delete-completion-window):
8392 * talk.el (talk):
8393 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8394 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8395 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8396 * vc/ediff.el (ediff-documentation): Related users changed.
8397 * frame.el (selected-terminal): Remove the leftover.
8398
8399 2013-08-05 Glenn Morris <rgm@gnu.org>
8400
8401 * calendar/calendar.el (calendar-generate-month):
8402 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8403 (calendar-generate-month, calendar-font-lock-keywords):
8404 Fix for calendar-day-header-width > length of any day name.
8405
8406 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8407
8408 * desktop.el (desktop-clear): Use new name of sort predicate.
8409
8410 * frameset.el (frameset): Add docstring. Move :version property to its
8411 own `version' slot.
8412 (frameset-copy): Rename from copy-frameset.
8413 (frameset-p): Check more thoroughly.
8414 (frameset-prop): Do not check for :version, which is no longer a prop.
8415 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8416 Use new :never value instead of t.
8417 (frameset-filter-alist): Expand and clarify docstring.
8418 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8419 (frameset-filter-minibuffer, frameset-filter-save-param)
8420 (frameset-filter-restore-param, frameset-filter-iconified):
8421 Add pointer to docstring of frameset-filter-alist.
8422 (frameset-filter-params): Rename filter values to be more meaningful:
8423 :never instead of t, and reverse the meanings of :save and :restore.
8424 (frameset--process-minibuffer-frames): Clarify error message.
8425 (frameset-save): Avoid unnecessary and confusing call to framep.
8426 Use new BOA constructor for framesets.
8427 (frameset--reuse-list): Doc fix.
8428 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8429 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8430 (frameset-minibufferless-first-p): Doc fix.
8431 Rename from frameset-sort-frames-for-deletion.
8432 (frameset-restore): Doc fixes. Use new function names.
8433 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8434
8435 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8436
8437 * desktop.el (desktop-restore-forces-onscreen)
8438 (desktop-restore-reuses-frames): Document :keyword constant values.
8439 (desktop-filter-parameters-alist): Remove, now identical to
8440 frameset-filter-alist.
8441 (desktop--filter-tty*): Remove, moved to frameset.el.
8442 (desktop-save-frameset, desktop-restore-frameset):
8443 Do not pass :filters argument.
8444
8445 * frameset.el (frameset-live-filter-alist)
8446 (frameset-persistent-filter-alist): New variables.
8447 (frameset-filter-alist): Use them. Add autoload cookie.
8448 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8449 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8450 `frameset--id' (it's supposed to be internal to frameset.el).
8451 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8452 (frameset--initial-params): New function.
8453 (frameset--get-frame): Use it. Doc fix.
8454 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8455 Accept :all, not 'all.
8456 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8457 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8458 with fbound symbols. Fix frame id matching, and remove matching ids if
8459 the frame being restored is deleted. Obey :delete.
8460
8461 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * subr.el (macrop): New function.
8464 (text-clone--maintaining): New var.
8465 (text-clone--maintain): Rename from text-clone-maintain. Use it
8466 instead of inhibit-modification-hooks.
8467
8468 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8469 a proxy, so as handle autoloads and redefinitions of the target.
8470 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8471
8472 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8473 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8474 (pcase--mutually-exclusive-p): New function.
8475 (pcase--split-consp): Use it.
8476 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8477 mutually exclusive with the current predicate.
8478
8479 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8480 (edebug-macrop): Remove. Use `macrop' instead.
8481 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8482 (ad-macro-p):
8483 * eshell/esh-cmd.el (eshell-macrop):
8484 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8485
8486 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8489 (advice-mapc): New function, using it.
8490 (advice-function-member-p): New function.
8491 (advice--normalize): Store the cdr in advice--saved-rewrite since
8492 that's the part that will be changed.
8493 (advice--symbol-function): New function.
8494 (advice-remove): Handle removal before the function is defined.
8495 Adjust to new advice--saved-rewrite.
8496 (advice-member-p): Use advice-function-member-p and
8497 advice--symbol-function.
8498
8499 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8500
8501 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8502 (frameset-filter-minibuffer): Doc fix.
8503 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8504 (frameset--set-id, frameset--process-minibuffer-frames)
8505 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8506 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8507
8508 * desktop.el (desktop-clear): Only delete frames when called
8509 interactively and desktop-restore-frames is non-nil. Doc fix.
8510 (desktop-read): Set desktop-saved-frameset to nil.
8511
8512 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8513
8514 * vc/vc.el (vc-ignore): Rewrite.
8515 (vc-default-ignore-completion-table, vc--read-lines)
8516 (vc--add-line, vc--remove-regexp): New functions.
8517
8518 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8519 (vc-svn-ignore-completion-table): New function.
8520
8521 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8522 (vc-hg-ignore-completion-table)
8523 (vc-hg-find-ignore-file): New functions.
8524
8525 * vc/vc-git.el (vc-git-ignore): Rewrite.
8526 (vc-git-ignore-completion-table)
8527 (vc-git-find-ignore-file): New functions.
8528
8529 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8530
8531 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8532 (vc-bzr-ignore-completion-table)
8533 (vc-bzr-find-ignore-file): New functions.
8534
8535 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8536
8537 * frameset.el (frameset-prop): New function and setter.
8538 (frameset-save): Do not modify frame list passed by the caller.
8539
8540 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8543
8544 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8547 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8548
8549 * custom.el (custom-initialize-default, custom-initialize-set)
8550 (custom-initialize-reset, custom-initialize-changed): Affect the
8551 toplevel-default-value (bug#6275, bug#14586).
8552 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8553 for bug#6275.
8554
8555 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8556
8557 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8558 Add cl-def* expressions.
8559
8560 * frameset.el (frameset-filter-params): Fix order of arguments.
8561
8562 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8563
8564 Move code related to saving frames to frameset.el.
8565 * desktop.el: Require frameset.
8566 (desktop-restore-frames): Doc fix.
8567 (desktop-restore-reuses-frames): Rename from
8568 desktop-restoring-reuses-frames.
8569 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8570 (desktop-clear): Clear frames too.
8571 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8572 (desktop--filter-tty*, desktop-save, desktop-read):
8573 Use frameset functions.
8574 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8575 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8576 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8577 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8578 (desktop--process-minibuffer-frames, desktop-save-frames)
8579 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8580 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8581 (desktop--sort-states, desktop-restoring-frames-p)
8582 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8583 (desktop-restoring-frameset-p, desktop-restore-frameset)
8584 (desktop--check-dont-save, desktop-save-frameset): New functions.
8585 (desktop--app-id): New constant.
8586 (desktop-first-buffer, desktop-buffer-ok-count)
8587 (desktop-buffer-fail-count): Move before first use.
8588 * frameset.el: New file.
8589
8590 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8591
8592 * files.el: Use lexical-binding.
8593 (dir-locals-read-from-file): Remove unused `err' variable.
8594 (hack-dir-local-variables--warned-coding): New var.
8595 (hack-dir-local-variables): Use it to avoid repeated warnings.
8596 (make-backup-file-name--default-function): New function.
8597 (make-backup-file-name-function): Use it as default.
8598 (buffer-stale--default-function): New function.
8599 (buffer-stale-function): Use it as default.
8600 (revert-buffer-insert-file-contents--default-function): New function.
8601 (revert-buffer-insert-file-contents-function): Use it as default.
8602 (insert-directory): Avoid add-to-list.
8603
8604 * autorevert.el (auto-revert-handler): Simplify.
8605 Use buffer-stale--default-function.
8606
8607 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8608
8609 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8610
8611 * whitespace.el (whitespace-ensure-local-variables): New function.
8612 (whitespace-cleanup-region): Call it.
8613 (whitespace-turn-on): Call it.
8614
8615 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8616
8617 Complete file name handlers.
8618
8619 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8620 (tramp-handle-verify-visited-file-modtime)
8621 (tramp-handle-file-notify-rm-watch): New functions.
8622 (tramp-call-process): Do not bind `default-directory'.
8623
8624 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8625 Order alphabetically.
8626 <access-file, add-name-to-file, dired-call-process>:
8627 <dired-compress-file, file-acl, file-notify-rm-watch>:
8628 <file-ownership-preserved-p, file-selinux-context>:
8629 <make-directory-internal, make-symbolic-link, set-file-acl>:
8630 <set-file-selinux-context, set-visited-file-modtime>:
8631 <verify-visited-file-modtime>: Add handler.
8632 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8633
8634 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8635 <file-notify-add-watch, file-notify-rm-watch>:
8636 <set-file-times, set-visited-file-modtime>:
8637 <verify-visited-file-modtime>: Add handler.
8638 (with-tramp-gvfs-error-message)
8639 (tramp-gvfs-handle-set-visited-file-modtime)
8640 (tramp-gvfs-fuse-file-name): Remove.
8641 (tramp-gvfs-handle-file-notify-add-watch)
8642 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8643 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8644
8645 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8646 Order alphabetically.
8647 <file-notify-rm-watch>: Use default Tramp handler.
8648 <executable-find>: Remove private handler.
8649 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8650 `default-directory'.
8651 (tramp-sh-handle-executable-find)
8652 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8653 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8654 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8655 Do not use `format' in `tramp-message'.
8656
8657 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8658 <file-notify-rm-watch, set-visited-file-modtime>:
8659 <verify-visited-file-modtime>: Add handler.
8660 (tramp-smb-call-winexe): Do not bind `default-directory'.
8661
8662 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8663
8664 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8665
8666 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8667
8668 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8669 use it.
8670 (log-view-diff-changeset): Same.
8671 (log-view-diff-common): Call backend command `previous-revision'
8672 to find out the previous revision, in both cases. Swap the
8673 variables `to' and `fr', so that `fr' usually refers to the
8674 earlier revision (Bug#14989).
8675
8676 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8677
8678 * ibuf-ext.el (ibuffer-filter-by-filename):
8679 Make it work with dired buffers too.
8680
8681 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8682
8683 * emacs-lisp/re-builder.el (reb-color-display-p):
8684 * files.el (save-buffers-kill-terminal):
8685 * net/browse-url.el (browse-url):
8686 * server.el (server-save-buffers-kill-terminal):
8687 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8688 Prefer nil to selected-frame for the first arg of frame-parameter.
8689
8690 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8691
8692 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8693
8694 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8695
8696 * minibuffer.el (completion--twq-all): Try and preserve each
8697 completion's case choice (bug#14907).
8698
8699 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8700
8701 * net/network-stream.el (open-network-stream): Mention the new
8702 :nogreeting parameter.
8703 (network-stream-open-starttls): Use the :nogreeting parameter
8704 (bug#14938).
8705
8706 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8707
8708 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8709 more natural than popping.
8710
8711 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8712 (shr-urlify): Highlight under mouse.
8713
8714 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8715
8716 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8717
8718 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8719
8720 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8721 buffer for output.
8722
8723 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8724 point-min==1. Fix search string. Fix parentheses missing.
8725
8726 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8727 assume point-min==1. Fix search string. Fix parentheses missing.
8728
8729 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8730
8731 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8732 buffer for output.
8733
8734 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8735
8736 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8737 initial frame is minibuffer-less. (Bug#14841)
8738
8739 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8740
8741 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8742 option.
8743
8744 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8745 (tramp-maybe-open-connection): Use it.
8746
8747 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8748
8749 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8750 minimal set of parameters passed when creating a frame, because
8751 the minibuffer status of a frame cannot be changed later.
8752
8753 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8754
8755 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8756 replace-regexp-in-string and inadvertent omissions in previous change.
8757 (todo-filter-items): Ensure only file names are comma-separated in
8758 name of filtered items buffer.
8759
8760 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8761
8762 * desktop.el: Optionally force offscreen frames back onscreen.
8763 (desktop-restoring-reuses-frames): New option.
8764 (desktop--compute-pos, desktop--move-onscreen): New functions.
8765 (desktop--make-frame): Use desktop--move-onscreen.
8766
8767 2013-07-27 Alan Mackenzie <acm@muc.de>
8768
8769 Fontify a Java generic method as a function.
8770 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8771 value to t.
8772
8773 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8774
8775 * calendar/todo-mode.el: Add command to rename todo files.
8776 (todo-rename-file): New command.
8777 (todo-key-bindings-t): Add key binding for it. Change the
8778 bindings of todo-filter-regexp-items(-multifile) to use `x'
8779 instead of `r', since the latter is better suited to the new
8780 renaming command.
8781
8782 2013-07-27 Alan Mackenzie <acm@muc.de>
8783
8784 Make Java try-with-resources statement parse properly.
8785 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8786 (c-block-stmt-1-2-key): New language constants/variables.
8787 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8788 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8789 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8790 with c-block-stmt-1-2-key.
8791
8792 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8793
8794 * desktop.el (desktop--make-frame): Apply most frame parameters after
8795 creating the frame to force (partially or totally) offscreen frames to
8796 be restored as such.
8797
8798 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8799
8800 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8801 (Bug#14948)
8802
8803 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8804
8805 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8806 `base' arg of backtrace-frame.
8807
8808 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8809
8810 * simple.el (list-processes): Doc fix.
8811
8812 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8813
8814 * desktop.el (desktop--select-frame):
8815 Try harder to reuse existing frames.
8816
8817 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8820 (edebug-eval): Use backtrace-eval.
8821 (edebug--display, edebug--recursive-edit): Don't let-bind the
8822 edebug-outer-* vars that keep track of variables we locally let-bind.
8823 (edebug-outside-excursion): Don't restore outside values of locally
8824 let-bound vars.
8825 (edebug--display): Use user-error.
8826 (cl-lexical-debug, cl-debug-env): Remove.
8827
8828 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8829
8830 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8831 are restored to be sure that they are visible before deleting any
8832 remaining ones.
8833
8834 2013-07-26 Matthias Meulien <orontee@gmail.com>
8835
8836 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8837 vc-print-root-log. (Bug#14948)
8838
8839 2013-07-26 Richard Stallman <rms@gnu.org>
8840
8841 Add aliases for encrypting mail.
8842 * epa.el (epa-mail-aliases): New option.
8843 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8844 Bind inhibit-read-only so read-only text doesn't ruin everything.
8845 (epa-mail-default-recipients): New subroutine broken out.
8846 Handle epa-mail-aliases.
8847
8848 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 Add support for lexical variables to the debugger's `e' command.
8851 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8852 vars, except for debugger-outer-match-data.
8853 (debugger-frame-number): Move check for "on a function call" from
8854 callers into it. Add `skip-base' argument.
8855 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8856 (debugger-env-macro): Only reset the state stored in non-variables,
8857 i.e. current-buffer and match-data.
8858 (debugger-eval-expression): Rewrite using backtrace-eval.
8859 * subr.el (internal--called-interactively-p--get-frame): Remove.
8860 (called-interactively-p):
8861 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8862 `base' arg of backtrace-frame instead.
8863
8864 2013-07-26 Glenn Morris <rgm@gnu.org>
8865
8866 * align.el (align-regexp): Doc fix. (Bug#14857)
8867 (align-region): Explicit error if subexpression missing/does not match.
8868
8869 * simple.el (global-visual-line-mode):
8870 Do not duplicate the mode lighter. (Bug#14858)
8871
8872 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8873
8874 * window.el (display-buffer): In display-buffer bind
8875 split-window-keep-point to t, bug#14829.
8876
8877 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8878
8879 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8880 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8881 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8882 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8883 Change accordingly.
8884 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8885 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8886
8887 2013-07-25 Glenn Morris <rgm@gnu.org>
8888
8889 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8890
8891 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8892
8893 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8894 parameter to modify-frame-parameters if the value has not changed;
8895 this is a workaround for bug#14949.
8896 (desktop--make-frame): On cl-delete-if call, check parameter name,
8897 not full parameter.
8898
8899 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8900
8901 * vc/vc.el (vc-ignore): New function.
8902
8903 * vc/vc-svn.el (vc-svn-ignore): New function.
8904
8905 * vc/vc-hg.el (vc-hg-ignore): New function.
8906
8907 * vc/vc-git.el (vc-git-ignore): New function.
8908
8909 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8910 (vc-dir-ignore): New function.
8911
8912 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8913 (cvs-append-to-ignore): Move here from pcvs.el.
8914
8915 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8916
8917 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8918
8919 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8920
8921 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8922 (desktop-restore-frames): Warn when deleting an existing frame failed.
8923
8924 2013-07-24 Glenn Morris <rgm@gnu.org>
8925
8926 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8927
8928 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8929
8930 * filenotify.el (file-notify-supported-p):
8931 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8932 Remove functions.
8933
8934 * autorevert.el (auto-revert-use-notify)
8935 (auto-revert-notify-add-watch):
8936 * net/tramp.el (tramp-file-name-for-operation):
8937 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8938 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8939 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8940 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8941 Remove `file-notify-supported-p' entry.
8942
8943 2013-07-24 Glenn Morris <rgm@gnu.org>
8944
8945 * printing.el: Replace all uses of deleted ps-windows-system,
8946 ps-lp-system, ps-flatten-list with lpr- versions.
8947
8948 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8949
8950 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8951 checked with memq (bug#14935).
8952
8953 * files.el (revert-buffer-function): Use a non-nil default.
8954 (revert-buffer-preserve-modes): Declare var to
8955 provide access to the `preserve-modes' argument.
8956 (revert-buffer): Let-bind it.
8957 (revert-buffer--default): New function, extracted from revert-buffer.
8958
8959 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8960
8961 * lpr.el: Signal print errors more prominently.
8962 (print-region-function): Don't default to nil.
8963 (lpr-print-region): New function, extracted from print-region-1.
8964 Check lpr's return value and signal an error in case of problem.
8965 (print-region-1): Use it.
8966 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8967 versions instead.
8968 (ps-printer-name): Default to nil.
8969 (ps-printer-name-option): Default to lpr-printer-switch.
8970 (ps-print-region-function): Don't default to nil.
8971 (ps-postscript-code-directory): Simplify default.
8972 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8973 (ps-string-list, ps-eval-switch, ps-flatten-list)
8974 (ps-flatten-list-1): Remove.
8975 (ps-multibyte-buffer): Avoid setq.
8976 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8977 (print-region-function, ps-print-region-function): Don't set them here.
8978
8979 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8980
8981 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8982 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8983 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8984 (ido-decorations): Doc fix.
8985
8986 * ansi-color.el: Fix old URL.
8987
8988 2013-07-23 Michael R. Mauger <michael@mauger.com>
8989
8990 * progmodes/sql.el: Version 3.3
8991 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8992 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8993 (sql-interactive-remove-continuation-prompt): Rewrite, use
8994 functions above. Fix continuation prompt and complete output line
8995 handling.
8996 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8997 redirected output buffer.
8998 (sql-mode): Restore deleted code (Bug#13591).
8999
9000 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9001
9002 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9003
9004 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9005
9006 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9007
9008 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9009 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9010 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9011
9012 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9013
9014 * desktop.el (desktop-clear): Simplify; remove useless checks
9015 against invalid buffer names.
9016 (desktop-list*): Use cl-list*.
9017 (desktop-buffer-info, desktop-create-buffer): Simplify.
9018
9019 2013-07-23 Leo Liu <sdl.web@gmail.com>
9020
9021 * bookmark.el (bookmark-make-record): Restore NAME as a default
9022 value. (Bug#14933)
9023
9024 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9027 extracted from autoload--insert-text.
9028 (autoload--insert-text): Remove.
9029 (autoload--print-cookie-text): New function, extracted from
9030 autoload--insert-cookie-text.
9031 (autoload--insert-cookie-text): Remove.
9032 (autoload-generate-file-autoloads): Adjust calls accordingly.
9033
9034 * winner.el (winner-hook-installed-p): Remove.
9035 (winner-mode): Simplify accordingly.
9036
9037 * subr.el (add-to-list): Fix compiler-macro when `append' is
9038 not constant. Don't use `cl-member' for the base case.
9039
9040 * progmodes/subword.el: Fix boundary case (bug#13758).
9041 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9042 own group.
9043 (subword-backward-regexp): Make it a constant.
9044 (subword-forward-internal): Don't treat a trailing capital as the
9045 beginning of a word.
9046
9047 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9048
9049 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9050 global value of tabulated-list-revert-hook (bug#14930).
9051
9052 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9053
9054 * desktop.el: Require 'cl-lib.
9055 (desktop-before-saving-frames-functions): New hook.
9056 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9057 for frames being saved. Rename from desktop--save-minibuffer-frames.
9058 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9059 Do not save frames with non-nil `desktop-dont-save' parameter.
9060 Filter out deleted frames.
9061 (desktop--find-frame): Use cl-find-if.
9062 (desktop--select-frame): Use cl-(first|second|third) to access values
9063 of desktop-mini.
9064 (desktop--make-frame): Use cl-delete-if.
9065 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9066 (desktop-restore-frames): Use cl-(first|second|third) to access values
9067 of desktop-mini. Look for visible frame at the end, not while
9068 restoring frames.
9069
9070 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9071 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9072 Use string-match-p, looking-at-p (bug#14927).
9073
9074 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9075
9076 * desktop.el (desktop-saved-frame-states):
9077 Rename from desktop--saved-states; all users changed.
9078 (desktop-save-frames): Rename from desktop--save-frames.
9079 Do not save state to desktop file.
9080 (desktop-save): Save desktop-saved-frame-states to desktop file
9081 and reset to nil.
9082 (desktop-restoring-frames-p): New function.
9083 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9084 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9085 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9086
9087 * desktop.el: Correctly restore iconified frames.
9088 (desktop--filter-iconified-position): New function.
9089 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9090
9091 2013-07-20 Glenn Morris <rgm@gnu.org>
9092
9093 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9094 Let `message' do the formatting.
9095 (def-gdb-preempt-display-buffer): Add explicit format.
9096
9097 * image-dired.el (image-dired-track-original-file):
9098 Use with-current-buffer.
9099 (image-dired-track-thumbnail): Use with-current-buffer.
9100 Avoid changing point of wrong window.
9101
9102 * image-dired.el (image-dired-track-original-file):
9103 Avoid changing point of wrong window. (Bug#14909)
9104
9105 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9106
9107 * progmodes/gdb-mi.el (gdb-done-or-error):
9108 Guard against "%" in gdb output. (Bug#14127)
9109
9110 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9111
9112 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9113 (Bug#14826)
9114
9115 * international/mule.el (coding-system-iso-2022-flags): Fix last
9116 change.
9117
9118 2013-07-20 Kenichi Handa <handa@gnu.org>
9119
9120 * international/mule.el (coding-system-iso-2022-flags):
9121 Add `8-bit-level-4'. (Bug#8522)
9122
9123 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9124
9125 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9126 (bug#14815).
9127
9128 * net/eww.el (eww-process-text-input): Allow inputting when the
9129 point is at the start of the line, as the properties aren't
9130 front-sticky.
9131
9132 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9133 degenerate widths.
9134
9135 2013-07-19 Richard Stallman <rms@gnu.org>
9136
9137 * epa.el (epa-popup-info-window): Doc fix.
9138
9139 * subr.el (split-string): New arg TRIM.
9140
9141 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9142
9143 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9144 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9145
9146 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9147
9148 * filenotify.el (file-notify--library): Rename from
9149 `file-notify-support'. Do not autoload. Adapt all uses.
9150 (file-notify-supported-p): New defun.
9151
9152 * autorevert.el (auto-revert-use-notify):
9153 Use `file-notify-supported-p' instead of `file-notify-support'.
9154 Adapt docstring.
9155 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9156
9157 * net/tramp.el (tramp-file-name-for-operation):
9158 Add `file-notify-supported-p'.
9159
9160 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9161 New defun.
9162 (tramp-sh-file-name-handler-alist): Add it as handler for
9163 `file-notify-supported-p '.
9164
9165 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9166 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9167 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9168 Add `ignore' as handler for `file-notify-*' functions.
9169
9170 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9171
9172 * simple.el (line-move-partial, line-move): Don't start vscroll or
9173 scroll-up if the current line is not taller than the window.
9174 (Bug#14881)
9175
9176 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9177
9178 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9179 highlight question marks in the method names as strings.
9180 (ruby-block-beg-keywords): Inline.
9181 (ruby-font-lock-keyword-beg-re): Extract from
9182 `ruby-font-lock-keywords'.
9183
9184 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9185
9186 * frame.el (blink-cursor-blinks): New defcustom.
9187 (blink-cursor-blinks-done): New defvar.
9188 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9189 (blink-cursor-timer-function): Check if number of blinks has been
9190 done on X and NS.
9191 (blink-cursor-suspend, blink-cursor-check): New defuns.
9192
9193 2013-07-15 Glenn Morris <rgm@gnu.org>
9194
9195 * edmacro.el (edmacro-format-keys): Fix previous change.
9196
9197 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9198
9199 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9200 The hack didn't work outside English locales anyway.
9201
9202 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9203
9204 * simple.el (define-alternatives): Rename from alternatives-define,
9205 per RMS' suggestion.
9206
9207 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9208
9209 * desktop.el (desktop-restore-frames): Change default to t.
9210 (desktop-restore-in-current-display): Now offer more options.
9211 (desktop-restoring-reuses-frames): New customization option.
9212 (desktop--saved-states): Doc fix.
9213 (desktop-filter-parameters-alist): New variable, renamed and expanded
9214 from desktop--excluded-frame-parameters.
9215 (desktop--target-display): New variable.
9216 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9217 (desktop--filter-tty*, desktop--filter-*-color)
9218 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9219 (desktop--filter-save-desktop-parm)
9220 (desktop-restore-in-original-display-p): New functions.
9221 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9222 (desktop--save-minibuffer-frames): New function, inspired by a similar
9223 function from Martin Rudalics.
9224 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9225 (desktop--restore-in-this-display-p): Remove.
9226 (desktop--find-frame): Rename from desktop--find-frame-in-display
9227 and add predicate argument.
9228 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9229 (desktop--reuse-list): New variable.
9230 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9231 New functions.
9232 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9233
9234 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9235
9236 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9237
9238 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9239
9240 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9241 Highlight conversion methods on Kernel.
9242
9243 2013-07-13 Alan Mackenzie <acm@muc.de>
9244
9245 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9246 and comment it out. This out-commenting enables certain C++
9247 declarations to be parsed correctly.
9248
9249 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9250
9251 * international/mule.el (define-coding-system): Doc fix.
9252
9253 * simple.el (default-font-height): Don't call font-info if the
9254 frame's default font didn't change since the frame was created.
9255 (Bug#14838)
9256
9257 2013-07-13 Leo Liu <sdl.web@gmail.com>
9258
9259 * ido.el (ido-read-file-name): Guard against non-symbol value.
9260
9261 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9262
9263 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9264 in nested defuns.
9265
9266 2013-07-13 Leo Liu <sdl.web@gmail.com>
9267
9268 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9269 ido-set-matches call. (Bug#6852)
9270
9271 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9272
9273 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9274 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9275 Ruby 2.0.
9276 (ruby-font-lock-keywords): Distinguish calls to functions with
9277 module-like names from module references. Highlight character
9278 literals.
9279
9280 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9281
9282 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9283 (gdb-send): Handle continued commands. (Bug#14847)
9284
9285 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9286
9287 * desktop.el (desktop--v2s): Remove unused local variable.
9288 (desktop-save-buffer): Make defvar-local; adjust docstring.
9289 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9290 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9291
9292 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9293
9294 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9295
9296 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9297
9298 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9299 (Bug#14842)
9300
9301 2013-07-12 Glenn Morris <rgm@gnu.org>
9302
9303 * doc-view.el: Require cl-lib at runtime too.
9304 (doc-view-remove-if): Remove.
9305 (doc-view-search-next-match, doc-view-search-previous-match):
9306 Use cl-remove-if.
9307
9308 * edmacro.el: Require cl-lib at runtime too.
9309 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9310 (edmacro-mismatch, edmacro-subseq): Remove.
9311
9312 * shadowfile.el: Require cl-lib.
9313 (shadow-remove-if): Remove.
9314 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9315 Use cl-remove-if.
9316
9317 * wid-edit.el: Require cl-lib.
9318 (widget-choose): Use cl-remove-if.
9319 (widget-remove-if): Remove.
9320
9321 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9322 (ebrowse-delete-if-not): Remove.
9323 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9324 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9325 Use cl-delete-if-not.
9326
9327 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9328
9329 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9330 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9331
9332 2013-07-12 Leo Liu <sdl.web@gmail.com>
9333
9334 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9335
9336 2013-07-11 Glenn Morris <rgm@gnu.org>
9337
9338 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9339 (edebug-gensym-index, edebug-gensym):
9340 Remove reimplementation of cl-gensym.
9341 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9342
9343 * thumbs.el: Require cl-lib at run-time too.
9344 (thumbs-gensym-counter, thumbs-gensym):
9345 Remove reimplementation of cl-gensym.
9346 (thumbs-temp-file): Use cl-gensym.
9347
9348 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9349 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9350 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9351 (ert--union, ert--gensym-counter, ert--gensym-counter)
9352 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9353 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9354 (ert-make-test-unbound, ert--expand-should-1)
9355 (ert--expand-should, ert--should-error-handle-error)
9356 (should-error, ert--explain-equal-rec)
9357 (ert--plist-difference-explanation, ert-select-tests)
9358 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9359 Use cl-lib functions rather than reimplementations.
9360
9361 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9362
9363 * net/tramp.el (tramp-methods): Extend docstring.
9364 (tramp-connection-timeout): New defcustom.
9365 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9366 (with-tramp-progress-reporter): Simplify.
9367 (tramp-process-actions): Improve messages.
9368
9369 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9370 * net/tramp-sh.el (tramp-maybe-open-connection):
9371 Use `tramp-connection-timeout'.
9372 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9373 (Bug#14808)
9374
9375 2013-07-11 Leo Liu <sdl.web@gmail.com>
9376
9377 * ido.el (ido-read-file-name): Conform to the requirements of
9378 read-file-name. (Bug#11861)
9379 (ido-read-directory-name): Conform to the requirements of
9380 read-directory-name.
9381
9382 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9383
9384 * subr.el (delay-warning): New function.
9385
9386 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9387
9388 * simple.el (default-line-height): New function.
9389 (line-move-partial, line-move): Use it instead of computing the
9390 line height inline.
9391 (line-move-partial): Always compute ROWH. If the last line is
9392 partially-visible, but its text is completely visible, allow
9393 cursor to enter such a partially-visible line.
9394
9395 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9396
9397 Improve error messages. (Bug#14808)
9398
9399 * net/tramp.el (tramp-current-connection): New defvar, moved from
9400 tramp-sh.el.
9401 (tramp-message-show-progress-reporter-message): Remove, not
9402 needed anymore.
9403 (tramp-error-with-buffer): Show message in minibuffer.
9404 Discard input before waiting. Reset connection timestamp.
9405 (with-tramp-progress-reporter): Improve messages.
9406 (tramp-process-actions): Use progress reporter. Delete process in
9407 case of error. Improve messages.
9408
9409 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9410 Call `tramp-error-with-buffer' with vector and buffer.
9411 (tramp-current-connection): Remove.
9412 (tramp-maybe-open-connection): The car of
9413 `tramp-current-connection' are the first 3 slots of the vector.
9414
9415 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9416
9417 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9418 inside continued strings.
9419
9420 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9421
9422 Timestamp fixes for undo (Bug#14824).
9423 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9424
9425 2013-07-10 Leo Liu <sdl.web@gmail.com>
9426
9427 * files.el (require-final-newline): Allow safe local value.
9428 (Bug#14834)
9429
9430 2013-07-09 Leo Liu <sdl.web@gmail.com>
9431
9432 * ido.el (ido-read-directory-name): Handle fallback.
9433 (ido-read-file-name): Update DIR to ido-current-directory.
9434 (Bug#1516)
9435 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9436
9437 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9438
9439 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9440 "autoload". Remove "warn lower camel case" section, previously
9441 commented out. Highlight negation char. Do not highlight the
9442 target in singleton method definitions.
9443
9444 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 * faces.el (tty-setup-hook): Declare the hook.
9447
9448 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9449 and detect when a guard/pred depends on local vars (bug#14773).
9450 (pcase--u1): Adjust caller.
9451
9452 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9453
9454 * simple.el (line-move-partial, line-move): Account for
9455 line-spacing.
9456 (line-move-partial): Avoid setting vscroll when the last
9457 partially-visible line in window is of default height.
9458
9459 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9460
9461 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9462 been used a while.
9463
9464 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9465
9466 * subr.el (read-quoted-char): Remove unused local variable `char'.
9467
9468 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9469
9470 * ediff.el (ediff-version): Version update.
9471 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9472 (ediff-merge-with-ancestor-command, ediff-directories-command)
9473 (ediff-directories3-command, ediff-merge-directories-command)
9474 (ediff-merge-directories-with-ancestor-command): New functions.
9475 All are command-line interfaces to ediff: to facilitate calling
9476 Emacs with the appropriate ediff functions invoked.
9477
9478 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9479 (viper-save-kill-buffer): Check if buffer is modified.
9480
9481 * viper.el (viper-version): Version update.
9482 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9483
9484 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9485
9486 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9487 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9488 (viper-intercept-ESC-key): Simplify.
9489 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9490 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9491 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9492 (viper-setup-ESC-to-escape): New functions.
9493 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9494 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9495
9496 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9497
9498 * simple.el (default-font-height, window-screen-lines):
9499 New functions.
9500 (line-move, line-move-partial): Use them instead of
9501 frame-char-height and window-text-height. This makes scrolling
9502 text smoother when the buffer's default face uses a font that is
9503 different from the frame's default font.
9504
9505 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9506
9507 * files.el (write-file): Do not display confirm dialog for NS,
9508 it does its own dialog, which can't be canceled (Bug#14578).
9509
9510 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9511
9512 * simple.el (line-move-partial): Adjust the row returned by
9513 posn-at-point for the current window-vscroll. (Bug#14567)
9514
9515 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9516
9517 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9518 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9519 spaces.
9520
9521 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9522
9523 * window.el (window-state-put-stale-windows): New variable.
9524 (window--state-put-2): Save list of windows without matching buffer.
9525 (window-state-put): Remove "bufferless" windows if possible.
9526
9527 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9528
9529 * simple.el (alternatives-define): Remove leftover :group keyword.
9530 Tweak docstring.
9531
9532 2013-07-06 Leo Liu <sdl.web@gmail.com>
9533
9534 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9535 (ido-enable-virtual-buffers): New variable.
9536 (ido-buffer-internal, ido-toggle-virtual-buffers)
9537 (ido-make-buffer-list): Use it.
9538 (ido-exhibit): Support turning on and off virtual buffers
9539 automatically.
9540
9541 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9542
9543 * simple.el (alternatives-define): New macro.
9544
9545 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9546
9547 * subr.el (read-quoted-char): Use read-key.
9548 (sit-for): Let read-event decode tty input (bug#14782).
9549
9550 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9551
9552 * calendar/todo-mode.el: Add handling of file deletion, both by
9553 mode command and externally. Fix various related bugs.
9554 Clarify Commentary and improve some documentation strings and code.
9555 (todo-delete-file): New command.
9556 (todo-check-file): New function.
9557 (todo-show): Handle external deletion of the file we're trying to
9558 show (bug#14688). Replace called-interactively-p by an optional
9559 prefix argument to avoid problematic interaction with catch form
9560 when byte compiled (bug#14702).
9561 (todo-quit): Handle external deletion of the archive's todo file.
9562 Make sure the buffer that was visiting the archive file is still
9563 live before trying to bury it.
9564 (todo-category-completions): Handle external deletion of any
9565 category completion files.
9566 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9567 of todo files, in case of external deletion.
9568 (todo-add-file): Replace unnecessary setq by let-binding.
9569 (todo-find-archive): Check whether there are any archives.
9570 Replace unnecessary setq by let-binding.
9571 (todo-archive-done-item): Use find-file-noselect to get the
9572 archive buffer whether or not the archive already exists.
9573 Remove superfluous code. Use file size instead of buffer-file-name to
9574 check if the archive is new; if it is, update list of archives.
9575 (todo-default-todo-file): Allow nil to be a valid value for when
9576 there are no todo files.
9577 (todo-reevaluate-default-file-defcustom): Use corrected definition
9578 of todo-default-todo-file.
9579 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9580 (todo-delete-category, todo-show-categories-table)
9581 (todo-category-number): Clarify comment.
9582 (todo-filter-items): Clarify documentation string.
9583 (todo-show-current-file, todo-display-as-todo-file)
9584 (todo-reset-and-enable-done-separator): Tweak documentation string.
9585 (todo-done-separator): Make separator length window-width, since
9586 bug#2749 is now fixed.
9587
9588 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9589
9590 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9591 Support both "gvfs-monitor-dir" and "inotifywait".
9592 (tramp-sh-file-inotifywait-process-filter): Rename from
9593 `tramp-sh-file-notify-process-filter'.
9594 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9595 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9596
9597 2013-07-05 Leo Liu <sdl.web@gmail.com>
9598
9599 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9600
9601 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9602
9603 * frame.el (display-pixel-height, display-pixel-width)
9604 (display-mm-height, display-mm-width): Mention behavior on
9605 multi-monitor setups in docstrings.
9606 (w32-display-monitor-attributes-list): Declare function.
9607 (display-monitor-attributes-list): Use it.
9608
9609 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9610
9611 * filenotify.el: New package.
9612
9613 * autorevert.el (top): Require filenotify.el.
9614 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9615 instead.
9616 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9617 (auto-revert-notify-handler): Use `file-notify-*' functions.
9618
9619 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9620
9621 * net/tramp.el (tramp-file-name-for-operation):
9622 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9623
9624 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9625 for `file-notify-add-watch' and `file-notify-rm-watch'.
9626 (tramp-process-sentinel): Improve trace.
9627 (tramp-sh-handle-file-notify-add-watch)
9628 (tramp-sh-file-notify-process-filter)
9629 (tramp-sh-handle-file-notify-rm-watch)
9630 (tramp-get-remote-inotifywait): New defuns.
9631
9632 2013-07-03 Juri Linkov <juri@jurta.org>
9633
9634 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9635 call of `occur-read-primary-args' to interactive spec.
9636
9637 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9638 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9639
9640 2013-07-03 Matthias Meulien <orontee@gmail.com>
9641
9642 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9643 `Buffer-menu-multi-occur'. Add it to the menu.
9644 (Buffer-menu-mode): Document it in docstring.
9645 (Buffer-menu-multi-occur): New command. (Bug#14673)
9646
9647 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9648
9649 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9650 keywords and built-ins.
9651
9652 2013-07-03 Glenn Morris <rgm@gnu.org>
9653
9654 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9655
9656 Make info-xref checks case-sensitive by default
9657 * info.el (Info-find-node, Info-find-in-tag-table)
9658 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9659 Add option for exact case matching of nodes.
9660 * info-xref.el (info-xref): New custom group.
9661 (info-xref-case-fold): New option.
9662 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9663
9664 2013-07-03 Leo Liu <sdl.web@gmail.com>
9665
9666 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9667
9668 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9669
9670 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9671 middle of block statement initially, lower the depth. Remove
9672 FIXME comment, not longer valid. Remove middle of block statement
9673 detection, no need to do that anymore since we've been using
9674 `ruby-parse-region' here.
9675
9676 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9677
9678 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9679
9680 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9681
9682 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9683
9684 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9685
9686 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9687 (desktop-restore-in-current-display): New customization option.
9688 (desktop--excluded-frame-parameters): Add `font'.
9689 (desktop--save-frames): Rename from desktop--save-windows.
9690 (desktop--restore-in-this-display-p): New function.
9691 (desktop--make-full-frame): Remove unwanted width/height from
9692 full(width|height) frames.
9693 (desktop--restore-frames): Rename from desktop--restore-windows.
9694 Obey desktop-restore-current-display. Do not delete old frames or
9695 select a new frame unless we were able to restore at least one frame.
9696
9697 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9698
9699 * files.el (find-file-noselect): Simplify conditional expression.
9700
9701 * textmodes/remember.el (remember-append-to-file):
9702 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9703
9704 Add `remember-notes' function to store random notes across Emacs
9705 restarts.
9706 * textmodes/remember.el (remember-data-file): Add :set callback to
9707 affect notes buffer (if any).
9708 (remember-notes): New command.
9709 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9710 New defcustoms for the `remember-notes' function.
9711 (remember-notes-save-and-bury-buffer): New command.
9712 (remember-notes-mode-map): New variable.
9713 (remember-mode): New minor mode.
9714 (remember-notes--kill-buffer-query): New function.
9715 * startup.el (initial-buffer-choice): Add notes to custom type.
9716
9717 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9718
9719 * bindings.el (right-char, left-char): Don't call sit-for, this is
9720 no longer needed. Use arithmetic comparison only for numerical
9721 arguments.
9722
9723 * international/mule-cmds.el (select-safe-coding-system):
9724 Handle the case of FROM being a string correctly. (Bug#14755)
9725
9726 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9727
9728 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9729 progression on degenerate tables.
9730 (shr-rescale-image): ImageMagick animated images currently don't work.
9731
9732 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9733
9734 Some fixes and improvements for desktop frame restoration.
9735 It is still experimental and disabled by default.
9736 * desktop.el (desktop--save-windows): Put the selected frame at
9737 the head of the list.
9738 (desktop--make-full-frame): New function.
9739 (desktop--restore-windows): Try to re-select the frame that was
9740 selected upon saving. Do not abort if some frames fail to restore,
9741 just show an error message and continue. Set up maximized frames
9742 so they have default non-maximized dimensions.
9743
9744 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9745
9746 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9747 Don't start heredoc inside a string or comment.
9748
9749 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9750
9751 * bindings.el (visual-order-cursor-movement): New defcustom.
9752 (right-char, left-char): Provide visual-order cursor motion by
9753 calling move-point-visually. Update the doc strings.
9754
9755 2013-06-28 Kenichi Handa <handa@gnu.org>
9756
9757 * international/mule.el (define-coding-system): New coding system
9758 properties :inhibit-null-byte-detection,
9759 :inhibit-iso-escape-detection, and :prefer-utf-8.
9760 (set-buffer-file-coding-system): If :charset-list property of
9761 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9762 appropriate for setting.
9763
9764 * international/mule-cmds.el (select-safe-coding-system):
9765 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9766 multibyte characters, return utf-8 (or one of its siblings).
9767
9768 * international/mule-conf.el (prefer-utf-8): New coding system.
9769 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9770 files.
9771
9772 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9773
9774 * net/shr.el (shr-render-region): New function.
9775
9776 * net/eww.el: Autoload `eww-browse-url'.
9777
9778 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9779
9780 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9781 Adapt to `package-desc-version' being a list.
9782 Use `package--ac-desc-version' to retrieve version from a package
9783 archive element.
9784
9785 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9786
9787 New experimental feature to save&restore window and frame setup.
9788 * desktop.el (desktop-save-windows): New defcustom.
9789 (desktop--saved-states): New var.
9790 (desktop--excluded-frame-parameters): New defconst.
9791 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9792 (desktop--restore-windows, desktop--save-windows): New functions.
9793 (desktop-save): Call `desktop--save-windows'.
9794 (desktop-read): Call `desktop--restore-windows'.
9795
9796 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9797
9798 * net/shr.el (add-face-text-property): Remove compat definition.
9799
9800 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9801
9802 * info.el (Info-try-follow-nearest-node): Move search for footnote
9803 above search for node name to prevent missing a footnote (bug#14717).
9804
9805 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9806
9807 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9808
9809 2013-06-27 Leo Liu <sdl.web@gmail.com>
9810
9811 * net/eww.el (eww-read-bookmarks): Check file size.
9812
9813 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9816 advice--pending if newdef is nil or an autoload (bug#13820).
9817 (advice-mapc): New function.
9818
9819 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9820
9821 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9822 probably.
9823 (eww-mode-map): Add a menu bar.
9824 (eww-add-bookmark): New command.
9825 (eww-bookmark-mode): New mode and commands.
9826 (eww-add-bookmark): Remove newlines from the title.
9827 (eww-bookmark-browse): Don't bug out if it's the only window.
9828
9829 2013-06-26 Glenn Morris <rgm@gnu.org>
9830
9831 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9832 (hfy-size): Handle ttys. (Bug#14668)
9833
9834 * info-xref.el: Update for Texinfo 5 change in *note format.
9835 (info-xref-node-re, info-xref-note-re): New constants.
9836 (info-xref-check-buffer): Use info-xref-note-re.
9837
9838 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9841
9842 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9843 nil terminate the loop (bug#14718).
9844
9845 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9846
9847 * net/eww.el: Rework history traversal. When going forward/back,
9848 put these actions into the history, too, so that they can be
9849 replayed.
9850 (eww-render): Move the history reset to the correct buffer.
9851
9852 2013-06-25 Juri Linkov <juri@jurta.org>
9853
9854 * files-x.el (modify-dir-local-variable): Change the header comment
9855 in the file with directory local variables. (Bug#14692)
9856
9857 * files-x.el (read-file-local-variable-value): Add `default'.
9858 (Bug#14710)
9859
9860 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9861
9862 * net/eww.el (eww-make-unique-file-name): Create a unique file
9863 name before saving to entering `y' accidentally asynchronously.
9864
9865 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9866
9867 * net/eww.el (eww-download): New command and keystroke.
9868
9869 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9870
9871 * net/eww.el (eww-copy-page-url): Change name of command.
9872
9873 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9874 be more consistent with Info and dired.
9875
9876 * net/eww.el (eww-mode-map): Ditto.
9877
9878 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9881 packages from archives.
9882 (package-archive-contents): Change format; include obsolete packages.
9883 (package-desc): Use `dir' to mark builtin packages.
9884 (package--from-builtin): Set the `dir' field to `builtin'.
9885 (generated-autoload-file, version-control): Declare.
9886 (package-compute-transaction): Change first arg and return value to be
9887 lists of package-descs. Adjust to new package-archive-contents format.
9888 (package--add-to-archive-contents): Adjust to new
9889 package-archive-contents format.
9890 (package-download-transaction): Arg is now a list of package-descs.
9891 (package-install): If `pkg' is a package name, pass it as
9892 a requirement, so it is subject to the usual (e.g. disabled) checks.
9893 (describe-package): Accept package-desc as well.
9894 (describe-package-1): Describe a specific package-desc. Add links to
9895 other package-descs for the same package name.
9896 (package-menu-describe-package): Pass the actual package-desc.
9897 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9898 works correctly.
9899 (package-desc-status): New function.
9900 (package-menu--refresh): New function, extracted
9901 from package-menu--generate.
9902 (package-menu--generate): Use it.
9903 (package-delete): Update package-alist.
9904 (package-menu-execute): Don't call package-initialize.
9905
9906 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9907 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9908 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9909 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9910 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9911 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9912
9913 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9914
9915 * window.el (window--state-get-1): Workaround for bug#14527.
9916 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9917
9918 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9919
9920 * net/eww.el (eww-back-url): Implement the history by stashing all
9921 the data into a list.
9922 (eww-forward-url): Allow going forward in the history, too.
9923
9924 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9925
9926 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9927 for values and use read--expression for expressions (bug#14710).
9928 (read-file-local-variable): Avoid setq.
9929 (read-file-local-variable-mode): Use minor-mode-list.
9930
9931 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9932
9933 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9934 for DOI URLs.
9935
9936 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9937
9938 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9939 Update imenu-support when dialect changes.
9940
9941 2013-06-25 Leo Liu <sdl.web@gmail.com>
9942
9943 * ido.el (ido-read-internal): Allow forward slash on windows.
9944
9945 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9946
9947 * net/eww.el (eww): Start of strings is \\`, not ^.
9948
9949 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9950
9951 * net/shr.el (shr-browse-url): Fix interactive spec.
9952
9953 * net/eww.el (eww): Add a trailing slash to domain names.
9954
9955 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9956
9957 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9958
9959 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9960
9961 * net/shr.el (shr-browse-url): Use an external browser if given a
9962 prefix.
9963
9964 * net/eww.el (eww-external-browser): Move to shr.
9965
9966 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9967
9968 * net/eww.el (eww): Work more correctly for file: URLs.
9969 (eww-detect-charset): Allow quoted charsets.
9970 (eww-yank-page-url): New command and keystroke.
9971
9972 2013-06-24 Daiki Ueno <ueno@gnu.org>
9973
9974 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9975 file name of gpg executable.
9976 (epg-context-program): New function.
9977 (epg-context-home-directory): New function.
9978 (epg-context-set-program): New function.
9979 (epg-context-set-home-directory): New function.
9980 (epg--start): Use `epg-context-program' instead of
9981 'epg-gpg-program'.
9982 (epg--list-keys-1): Likewise.
9983
9984 2013-06-24 Leo Liu <sdl.web@gmail.com>
9985
9986 * ido.el (ido-read-internal): Fix bug#14620.
9987
9988 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9989
9990 * faces.el (face-documentation): Simplify.
9991 (read-face-attribute, tty-find-type, x-resolve-font-name):
9992 Use `string-match-p'.
9993 (list-faces-display): Use `string-match-p'. Simplify.
9994 (face-spec-recalc): Check face to avoid face alias loops.
9995 (read-color): Use `string-match-p' and non-capturing parenthesis.
9996
9997 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9998
9999 * net/shr.el (shr-rescale-image): Use the new
10000 :max-width/:max-height functionality.
10001
10002 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10003
10004 * net/eww.el (eww-search-prefix): New variable.
10005 (eww): Use it.
10006 (eww-external-browser): New variable.
10007 (eww-mode-map): New keystroke.
10008 (eww-browse-with-external-browser): New command.
10009
10010 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10011
10012 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10013
10014 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10015 Don't skip aligning the next header field when padding is 0;
10016 otherwise, field width is not respected unless the title is as
10017 wide as the field.
10018
10019 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * emacs-lisp/package.el (package-el-version): Remove.
10022 (package-process-define-package): Fix inf-loop.
10023 (package-install): Allow symbols as arguments again.
10024
10025 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10026
10027 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10028 add some more keyword-like methods.
10029 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10030
10031 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10032
10033 * bs.el (bs-buffer-show-mark): Make defvar-local.
10034 (bs-mode): Use setq-local.
10035
10036 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10037 (emacs-lock--try-unlocking): Make defvar-local.
10038
10039 2013-06-22 Glenn Morris <rgm@gnu.org>
10040
10041 * play/cookie1.el (cookie-apropos): Minor simplification.
10042
10043 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10044
10045 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10046
10047 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10048 `regexp-opt', it breaks the build during dumping.
10049
10050 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10051
10052 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10053 Highlight keyword-like methods on Kernel and Module with
10054 font-lock-builtin-face.
10055 (auto-mode-alist): Consolidate different entries into one regexp
10056 and add more *file-s.
10057
10058 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10059
10060 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10061
10062 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10063 (diary-entry): Use it in the action of this button type instead of
10064 diary-goto-entry.
10065
10066 * calendar/todo-mode.el: New version.
10067 (todo-add-category): Append new category to end of file and give
10068 it the highest number, instead of putting it at the beginning and
10069 giving it 0. Incorporate noninteractive functionality.
10070 (todo-forward-category): Adapt to 1-based category numbering.
10071 Allow skipping over archived categories.
10072 (todo-backward-category): Derive from todo-forward-category.
10073 (todo-backward-item, todo-forward-item): Make noninteractive and
10074 delegate interactive part to new commands. Make sensitive to done items.
10075 (todo-categories): Make value an alist of category names and
10076 vectors of item counts.
10077 (todo-category-beg): Make a defconst.
10078 (todo-category-number): Use 1 instead of 0 as initial value.
10079 (todo-category-select): Make sensitive to overlays, optional item
10080 highlighting and done items.
10081 (todo-delete-item): Make sensitive to overlays and marked and done items.
10082 (todo-edit-item): Make sensitive to overlays and editing of
10083 date/time header optional. Add format checks.
10084 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10085 no-op if point is not on an item. Advertise using todo-edit-quit.
10086 (todo-edit-mode): Make sensitive to new format, font-locking, and
10087 multiple todo files.
10088 (todo-insert-item, todo-insert-item-here): Derive from
10089 todo-basic-insert-item and extend functionality.
10090 (todo-item-end, todo-item-start): Make sensitive to done items.
10091 (todo-item-string): Don't return text properties. Restore point.
10092 (todo-jump-to-category): Make sensitive to multiple todo files and
10093 todo archives. Use extended category completion.
10094 (todo-lower-item, todo-raise-item): Rename to *-priority and
10095 derive from todo-set-item-priority.
10096 (todo-mode): Derive from special-mode. Make sensitive to new
10097 format, font-locking and multiple todo files. Make read-only.
10098 (todo-mode-map): Don't suppress digit keys, so they can supply
10099 prefix arguments. Add many new key bindings.
10100 (todo-prefix): Insert as an overlay instead of file text.
10101 Change semantics from diary date expression to purely visual mark.
10102 (todo-print): Rename to todo-print-buffer. Make buffer display
10103 features printable. Remove option to restrict number of items
10104 printed. Add option to print to file.
10105 (todo-print-function): Rename to todo-print-buffer-function.
10106 (todo-quit): Extend to handle exiting new todo modes.
10107 (todo-remove-item): Make sensitive to overlays.
10108 (todo-save): Extend to buffers of filtered items.
10109 (todo-show): Make sensitive to done items, multiple todo files and
10110 new todo modes. Offer to convert legacy todo file before creating
10111 first new todo file.
10112 (todo-show-priorities): Rename to todo-top-priorities.
10113 Change semantics of value 0.
10114 (todo-top-priorities): Rename to todo-filter-top-priorities,
10115 derive from todo-filter-items and extend functionality.
10116 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10117 and extend functionality to other types of filtered items.
10118 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10119 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10120 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10121 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10122 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10123 (todo-edit-mode-hook, todo-entry-prefix-function)
10124 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10125 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10126 (todo-initials, todo-insert-threshold, todo-item-string-start)
10127 (todo-line-string, todo-menu, todo-mode-hook)
10128 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10129 (todo-print-priorities, todo-remove-separator)
10130 (todo-save-top-priorities-too, todo-string-count-lines)
10131 (todo-string-multiline-p, todo-time-string-format)
10132 (todo-tmp-buffer-name): Remove.
10133 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10134 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10135 (todo-edit-category-diary-inclusion)
10136 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10137 (todo-edit-file, todo-edit-item-date-day)
10138 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10139 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10140 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10141 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10142 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10143 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10144 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10145 (todo-filter-top-priorities-multifile, todo-find-archive)
10146 (todo-find-filtered-items-file, todo-go-to-source-item)
10147 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10148 (todo-jump-to-archive-category, todo-lower-category)
10149 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10150 (todo-move-category, todo-move-item, todo-next-button)
10151 (todo-next-item, todo-padded-string, todo-powerset)
10152 (todo-previous-button, todo-previous-item)
10153 (todo-print-buffer-to-file, todo-raise-category)
10154 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10155 (todo-set-category-number, todo-set-item-priority)
10156 (todo-set-top-priorities-in-category)
10157 (todo-set-top-priorities-in-file, todo-show-categories-table)
10158 (todo-sort-categories-alphabetically-or-numerically)
10159 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10160 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10161 (todo-toggle-item-header, todo-toggle-item-highlighting)
10162 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10163 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10164 (todo-unarchive-items, todo-unmark-category): New commands.
10165 (todo-absolute-file-name, todo-add-to-buffer-list)
10166 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10167 (todo-basic-insert-item, todo-category-completions)
10168 (todo-category-number, todo-category-string-matcher-1)
10169 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10170 (todo-check-format, todo-clear-matches)
10171 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10172 (todo-current-category, todo-date-string-matcher)
10173 (todo-define-insertion-command, todo-diary-expired-matcher)
10174 (todo-diary-goto-entry, todo-diary-item-p)
10175 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10176 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10177 (todo-done-item-section-p, todo-done-separator)
10178 (todo-done-string-matcher, todo-files, todo-filter-items)
10179 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10180 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10181 (todo-insert-category-line, todo-insert-item-from-calendar)
10182 (todo-insert-sort-button, todo-insert-with-overlays)
10183 (todo-insertion-command-name, todo-insertion-key-bindings)
10184 (todo-label-to-key, todo-longest-category-name-length)
10185 (todo-make-categories-list, todo-mode-external-set)
10186 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10187 (todo-modes-set-3, todo-multiple-filter-files)
10188 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10189 (todo-read-category, todo-read-date, todo-read-dayname)
10190 (todo-read-file-name, todo-read-time)
10191 (todo-reevaluate-category-completions-files-defcustom)
10192 (todo-reevaluate-default-file-defcustom)
10193 (todo-reevaluate-filelist-defcustoms)
10194 (todo-reevaluate-filter-files-defcustom)
10195 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10196 (todo-reset-done-separator, todo-reset-done-separator-string)
10197 (todo-reset-done-string, todo-reset-global-current-todo-file)
10198 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10199 (todo-reset-prefix, todo-set-categories)
10200 (todo-set-date-from-calendar, todo-set-show-current-file)
10201 (todo-set-top-priorities, todo-short-file-name)
10202 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10203 (todo-total-item-counts, todo-update-buffer-list)
10204 (todo-update-categories-display, todo-update-categories-sexp)
10205 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10206 New functions.
10207 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10208 New major modes.
10209 (todo-categories, todo-display, todo-edit, todo-faces)
10210 (todo-filtered): New defgroups.
10211 (todo-archived-only, todo-button, todo-category-string, todo-date)
10212 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10213 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10214 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10215 (todo-add-item-if-new-category, todo-always-add-time-string)
10216 (todo-categories-align, todo-categories-archived-label)
10217 (todo-categories-category-label, todo-categories-diary-label)
10218 (todo-categories-done-label, todo-categories-number-separator)
10219 (todo-categories-todo-label, todo-categories-totals-label)
10220 (todo-category-completions-files, todo-completion-ignore-case)
10221 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10222 (todo-done-separator-string, todo-done-string)
10223 (todo-files-function, todo-filter-done-items, todo-filter-files)
10224 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10225 (todo-initial-category, todo-initial-file, todo-item-mark)
10226 (todo-legacy-date-time-regexp, todo-mode-line-function)
10227 (todo-nondiary-marker, todo-number-prefix)
10228 (todo-print-buffer-function, todo-show-current-file)
10229 (todo-show-done-only, todo-show-first, todo-show-with-done)
10230 (todo-skip-archived-categories, todo-top-priorities-overrides)
10231 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10232 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10233 New defcustoms.
10234 (todo-category-done, todo-date-pattern, todo-date-string-start)
10235 (todo-diary-items-buffer, todo-done-string-start)
10236 (todo-filtered-items-buffer, todo-item-start)
10237 (todo-month-abbrev-array, todo-month-name-array)
10238 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10239 (todo-top-priorities-buffer): New defconsts.
10240 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10241 (todo-categories-with-marks, todo-category-string-face)
10242 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10243 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10244 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10245 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10246 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10247 (todo-font-lock-keywords, todo-global-current-todo-file)
10248 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10249 (todo-insertion-commands-args)
10250 (todo-insertion-commands-args-genlist)
10251 (todo-insertion-commands-names, todo-insertion-map)
10252 (todo-key-bindings-t, todo-key-bindings-t+a)
10253 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10254 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10255 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10256 (todo-visited): New variables.
10257
10258 2013-06-21 Glenn Morris <rgm@gnu.org>
10259
10260 * play/cookie1.el (cookie-apropos): Add optional display argument.
10261 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10262 (psychoanalyze-pinhead): Use cookie-doctor.
10263
10264 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10265
10266 * emacs-lisp/package.el (tar-get-file-descriptor)
10267 (tar--extract): Declare.
10268
10269 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10270
10271 Extend flymake's warning predicate to be a function (bug#14217).
10272 * progmodes/flymake.el (flymake-warning-predicate): New.
10273 (flymake-parse-line): Use it.
10274 (flymake-warning-re): Make obsolete alias to
10275 `flymake-warning-predicate'.
10276
10277 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10278
10279 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10280 (package-obsolete-list): Remove.
10281 (package-activate): Remove min-version argument. Add `force' argument.
10282 Adjust to new package-alist format.
10283 (package-mark-obsolete): Remove.
10284 (package-unpack): Force reload of the package's autoloads.
10285 (package-installed-p): Check builtins if the installed package is not
10286 recent enough.
10287 (package-initialize): Don't reset package-obsolete-list.
10288 Don't specify which package version to activate.
10289 (package-process-define-package, describe-package-1)
10290 (package-menu--generate): Adjust to new package-alist format.
10291
10292 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10293
10294 * allout-widgets.el (allout-widgets-mode-off)
10295 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10296 (allout-widgets-post-command-business)
10297 (allout-widgets-after-copy-or-kill-function)
10298 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10299 (allout-decorate-item-and-context)
10300 (allout-graphics-modification-handler): Fix typos in docstrings.
10301 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10302
10303 * cmuscheme.el (scheme-start-file): Doc fix.
10304 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10305 (scheme-input-filter): Use `string-match-p'.
10306
10307 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10308
10309 * dired-x.el: Use Dired consistently in docstrings.
10310
10311 * dired.el: Use Dired consistently in docstrings.
10312 (dired-readin, dired-mode): Use `setq-local'.
10313 (dired-switches-alist): Make defvar-local.
10314 (dired-buffers-for-dir): Use `zerop'.
10315 (dired-safe-switches-p, dired-switches-escape-p)
10316 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10317 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10318 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10319 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10320 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10321 (dired-toggle-marks, dired-mark-files-containing-regexp)
10322 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10323 (dired-flag-auto-save-files, dired-flag-backup-files):
10324 Use `looking-at-p'.
10325 (dired-mark-files-regexp, dired-build-subdir-alist):
10326 Use `string-match-p', `looking-at-p'.
10327
10328 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10329 (direct-print-region-helper): Use `string-match-p'.
10330
10331 2013-06-21 Leo Liu <sdl.web@gmail.com>
10332
10333 * comint.el (comint-redirect-results-list-from-process):
10334 Fix infinite loop.
10335
10336 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10337
10338 * net/eww.el (eww-update-header-line-format): Quote % characters.
10339
10340 2013-06-21 Glenn Morris <rgm@gnu.org>
10341
10342 * play/cookie1.el (cookie): New custom group.
10343 (cookie-file): New option.
10344 (cookie-check-file): New function.
10345 (cookie): Make it interactive. Make start and end messages optional.
10346 Interactively, display the result. Default to cookie-file.
10347 (cookie-insert): Default to cookie-file.
10348 (cookie-snarf): Make start and end messages optional.
10349 Default to cookie-file. Use with-temp-buffer.
10350 (cookie-read): Rename from read-cookie.
10351 Make start and end messages optional. Default to cookie-file.
10352 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10353 Do not autoload it.
10354 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10355 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10356
10357 2013-06-21 Leo Liu <sdl.web@gmail.com>
10358
10359 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10360
10361 2013-06-21 Glenn Morris <rgm@gnu.org>
10362
10363 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10364
10365 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10366 Daniel Hackney <dan@haxney.org>
10367
10368 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10369 Consolidate the single-file vs tarball code.
10370 (package-desc-suffix): New function.
10371 (package-desc-full-name): Don't bother inlining it.
10372 (package-load-descriptor): Return the new package-desc.
10373 (package-mark-obsolete): Remove unused arg `package'.
10374 (package-unpack): Make it work for single files as well.
10375 Make it update package-alist.
10376 (package--make-autoloads-and-stuff): Rename from
10377 package--make-autoloads-and-compile. Don't compile any more.
10378 (package--compile): New function.
10379 (package-generate-description-file): New function, extracted from
10380 package-unpack-single.
10381 (package-unpack-single): Remove.
10382 (package--with-work-buffer): Add indentation and debugging info.
10383 (package-download-single): Remove.
10384 (package-install-from-archive): Rename from package-download-tar, make
10385 it take a pkg-desc, and make it work for single files as well.
10386 (package-download-transaction): Simplify.
10387 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10388 external tar program.
10389 (package-install-from-buffer): Remove `pkg-desc' argument.
10390 Use package-tar-file-info for tar-mode buffers.
10391 (package-install-file): Simplify accordingly.
10392 (package-archive-base): Change to take a pkg-desc.
10393 * tar-mode.el (tar--check-descriptor): New function, extracted from
10394 tar-get-descriptor.
10395 (tar-get-descriptor): Use it.
10396 (tar-get-file-descriptor): New function.
10397 (tar--extract): New function, extracted from tar-extract.
10398 (tar--extract): Use it.
10399 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10400 case the summary uses non-ascii. Adjust to new calling convention of
10401 package-tar-file-info.
10402
10403 2013-06-21 Leo Liu <sdl.web@gmail.com>
10404
10405 * comint.el (comint-redirect-results-list-from-process):
10406 Fix random delay. (Bug#14681)
10407
10408 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10409
10410 * profiler.el (profiler-format-number): Use log, not log10.
10411
10412 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10413
10414 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10415
10416 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10417
10418 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10419 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10420 yet available.
10421 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10422 (AUTOGENEL): ... here.
10423 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10424 (cl--defsubst-expand): Use it.
10425
10426 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10427
10428 * subr.el (log10): Move here from C code, and declare as obsolete.
10429 All uses of (log10 X) replaced with (log X 10).
10430
10431 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10432
10433 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10434 Declare with `defvar-local'.
10435 (tabulated-list-use-header-line, tabulated-list-entries)
10436 (tabulated-list-padding, tabulated-list-printer)
10437 (tabulated-list-sort-key): Declare with `defvar-local'.
10438 (tabulated-list-init-header, tabulated-list-print-fake-header):
10439 Use `setq-local'.
10440
10441 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10442
10443 * arc-mode.el (archive-mode): Add `archive-write-file' to
10444 `write-contents-functions' also for remote files. (Bug#14652)
10445
10446 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10447
10448 * cus-edit.el (custom-commands): Fix typos.
10449 (custom-display): Fix tooltip text.
10450 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10451 Fix typos in docstrings.
10452 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10453 (custom-unlispify-menu-entry, custom-magic-value-create)
10454 (custom-add-see-also, custom-group-value-create): Use ?\s.
10455 (custom-guess-type, customize-apropos, editable-field)
10456 (custom-face-value-create): Use `string-match-p'.
10457 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10458
10459 * custom.el (custom-load-symbol): Use `string-match-p'.
10460
10461 * ansi-color.el: Convert to lexical binding.
10462 (ansi-colors): Fix URL.
10463 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10464 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10465 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10466
10467 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10468
10469 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10470
10471 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10472
10473 2013-06-19 Tom Tromey <tromey@redhat.com>
10474
10475 * net/eww.el (eww-top-url): Remove.
10476 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10477 (eww-render): Set new variables. Don't set eww-top-url.
10478 (eww-handle-link): Handle "prev", "home", and "contents".
10479 Downcase the rel text.
10480 (eww-top-url): Choose best top URL.
10481
10482 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10483
10484 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10485 relying in widget.el. Using widget.el leads to too many
10486 user interface inconsistencies.
10487 (eww-self-insert): Implement entering commands in text fields.
10488 (eww-process-text-input): New function to make text input field editing
10489 work.
10490 (eww-submit): Rewrite to use the new-style form methods.
10491 (eww-select-display): Display the correct selected item.
10492 (eww-change-select): Implement changing the select value.
10493 (eww-toggle-checkbox): Implement radio/checkboxes.
10494 (eww-update-field): Fix compilation error.
10495 (eww-tag-textarea): Implement <textarea>.
10496
10497 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10498 we don't shadow mode-specific bindings.
10499
10500 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10501 nothing to push.
10502
10503 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10504
10505 2013-06-19 Glenn Morris <rgm@gnu.org>
10506
10507 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10508
10509 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10510
10511 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10512 not needed.
10513
10514 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10515
10516 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10517
10518 * net/browse-url.el (browse-url-browser-function):
10519 `eww-browse-url' has the right calling signature, `eww' does not.
10520
10521 2013-06-19 Glenn Morris <rgm@gnu.org>
10522
10523 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10524 Only eval autoloaded macros.
10525 (byte-compile-autoload): Only give the macro warning for macros.
10526
10527 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10528 (ps-underlined-faces): Declare.
10529
10530 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10531 (speedbar-add-supported-extension): Declare.
10532
10533 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10534 Don't include a date stamp in the header of the generated file;
10535 it leads to needless differences between output files.
10536
10537 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10538
10539 * net/secrets.el (secrets-struct-secret-content-type):
10540 Replace check of introspection data by a test call of "CreateItem".
10541 Some servers do not offer introspection.
10542
10543 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10544
10545 * electric.el (electric-pair-mode): Improve interaction with
10546 electric-layout-mode.
10547 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10548 (electric-pair-syntax): Use text-mode-syntax-table in comments
10549 and strings.
10550 (electric-pair--insert): New function.
10551 (electric-pair-post-self-insert-function): Use it and
10552 electric--after-char-pos.
10553
10554 2013-06-19 Leo Liu <sdl.web@gmail.com>
10555
10556 * progmodes/octave.el (octave-help): Fix regexp.
10557
10558 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10559
10560 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10561 (shr-table-horizontal-line): Allow nil as a value, and change the
10562 default.
10563 (shr-insert-table-ruler): Respect the nil value.
10564
10565 2013-06-18 Tom Tromey <tromey@barimba>
10566
10567 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10568 New defvars.
10569 (eww-open-file): New defun.
10570 (eww-render): Initialize new variables.
10571 (eww-display-html): Handle "link" and "a".
10572 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10573 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10574 (eww-back-url): Rename from eww-previous-url.
10575 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10576 New defuns.
10577
10578 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10579
10580 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10581 Distinguish ternary operator tokens from slash symbol and slash
10582 char literal.
10583
10584 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10585
10586 Convert symbol prettification into minor mode and global minor mode.
10587
10588 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10589 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10590 (prettify-symbols--keywords): Rename from
10591 `prog-prettify-symbols-alist' and make a local defvar.
10592 (prettify-symbols--compose-symbol): Rename from
10593 `prog--prettify-font-lock-compose-symbol'.
10594 (prettify-symbols--make-keywords): Rename from
10595 `prog-prettify-font-lock-symbols-keywords' and simplify.
10596 (prog-prettify-install): Remove.
10597 (prettify-symbols-mode): New minor mode, based on
10598 `prog-prettify-install'.
10599 (turn-on-prettify-symbols-mode): New function.
10600 (global-prettify-symbols-mode): New globalized minor mode.
10601
10602 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10603 * progmodes/cfengine.el (cfengine3-mode):
10604 * progmodes/perl-mode.el (perl-mode): Don't call
10605 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10606
10607 2013-06-18 Juri Linkov <juri@jurta.org>
10608
10609 * files-x.el (modify-file-local-variable-message): New function.
10610 (modify-file-local-variable)
10611 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10612 and call `modify-file-local-variable-message' when it's non-nil.
10613 (add-file-local-variable, delete-file-local-variable)
10614 (add-file-local-variable-prop-line)
10615 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10616 and use it. (Bug#9820)
10617
10618 2013-06-18 Juri Linkov <juri@jurta.org>
10619
10620 * emulation/vi.el (vi-shell-op):
10621 * emulation/vip.el (vip-execute-com, ex-command):
10622 * emulation/viper-cmd.el (viper-exec-bang):
10623 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10624 the call of `shell-command-on-region'. (Bug#14637)
10625
10626 * simple.el (shell-command-on-region): Doc fix.
10627
10628 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10631 (bug#14633).
10632
10633 2013-06-18 Glenn Morris <rgm@gnu.org>
10634
10635 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10636
10637 * newcomment.el (comment-search-forward, comment-search-backward):
10638 Doc fix. (Bug#14376)
10639
10640 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10641
10642 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10643 (buffer-face-mode-invoke): Doc fix.
10644
10645 2013-06-18 Matthias Meulien <orontee@gmail.com>
10646
10647 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10648 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10649
10650 2013-06-18 Glenn Morris <rgm@gnu.org>
10651
10652 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10653 Replace obsolete function generic-make-keywords with its expansion.
10654
10655 * progmodes/python.el (ffap-alist): Declare.
10656
10657 * textmodes/reftex.el (bibtex-mode-map): Declare.
10658
10659 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10662 (package-unpack, package-unpack-single): Return the pkg-dir.
10663 (package-download-transaction): Use it to update package-alist.
10664
10665 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10666
10667 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10668 possible choice.
10669
10670 2013-06-17 Juri Linkov <juri@jurta.org>
10671
10672 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10673
10674 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10675
10676 * emacs-lisp/package.el (package-load-descriptor):
10677 Remove `with-syntax-table' call, `read' doesn't need it.
10678 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10679
10680 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10681
10682 * startup.el (command-line): Expand package name returned by
10683 `package--description-file' (bug#14639).
10684
10685 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10686
10687 * emacs-lisp/package.el (package-load-descriptor): Do not call
10688 `emacs-lisp-mode', just use its syntax table.
10689
10690 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10691
10692 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10693 `font-lock-extra-managed-props' if any prettifying keyword is added.
10694 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10695 (prog-mode): Use `setq-local'.
10696
10697 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * international/characters.el (standard-case-table): Set syntax of ?»
10700 and ?« to punctuation.
10701
10702 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10703
10704 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10705 Save relevant match data before calling `syntax-ppss' (bug#14595).
10706
10707 2013-06-15 Juri Linkov <juri@jurta.org>
10708
10709 * files-x.el (modify-file-local-variable-prop-line): Add local
10710 variables to the end of the existing comment on the first line.
10711 Use `file-auto-mode-skip' to skip interpreter magic line,
10712 and also skip XML declaration.
10713
10714 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10715
10716 * startup.el (package--builtin-versions): New var.
10717 (package-subdirectory-regexp): Remove.
10718 (package--description-file): Hard code its value instead.
10719
10720 * emacs-lisp/package.el: Don't activate packages older than builtin.
10721 (package-obsolete-list): Rename from package-obsolete-alist, and make
10722 it into a simple list of package-desc.
10723 (package-strip-version): Remove.
10724 (package-built-in-p): Use package--builtin-versions.
10725 (package-mark-obsolete): Simplify.
10726 (package-process-define-package): Mark it obsolete if older than the
10727 builtin version.
10728 (package-handle-response): Use line-end-position.
10729 (package-read-archive-contents, package--download-one-archive):
10730 Simplify.
10731 (package--add-to-archive-contents): Skip if older than the builtin or
10732 installed version.
10733 (package-menu-describe-package): Fix last change.
10734 (package-list-unversioned): New var.
10735 (package-menu--generate): Use it.
10736
10737 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10738 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10739 (autoload-builtin-package-versions): New variable.
10740 (autoload-generate-file-autoloads): Use them.
10741 Remove the list of autoloaded functions/macros from the
10742 (autoload...) comments.
10743
10744 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10745
10746 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10747
10748 * simple.el (line-move-partial): Don't jump to the next screen
10749 line as soon as it becomes visible. Instead, continue enlarging
10750 the vscroll until the portion of a tall screen line that's left on
10751 display is about the height of the frame's default font.
10752 (Bug#14567)
10753
10754 2013-06-15 Glenn Morris <rgm@gnu.org>
10755
10756 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10757 compilation-error-regexp-alist void, or local while let-bound.
10758
10759 * progmodes/make-mode.el (makefile-mode-syntax-table):
10760 Treat "=" as punctuation. (Bug#14614)
10761
10762 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10763
10764 * help-fns.el (describe-variable):
10765 Add extra line for permanent-local variables.
10766
10767 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10768
10769 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10770 Add export, import, library. (Bug#9164)
10771 (library): Set indent function.
10772
10773 2013-06-14 Glenn Morris <rgm@gnu.org>
10774
10775 * term/xterm.el (xterm--query):
10776 Stop after first matching handler. (Bug#14615)
10777
10778 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10779
10780 Add support for dired in saveplace.
10781 * dired.el (dired-initial-position-hook): New variable.
10782 (dired-initial-position): Call hook to place cursor position.
10783 * saveplace.el (save-place-to-alist): Add dired position.
10784 (save-place-dired-hook): New function.
10785
10786 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10787
10788 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10789 through a symbol rather than letrec.
10790
10791 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10792 (package-desc): Add `dir' field.
10793 (package-desc-full-name): New function.
10794 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10795 (package-maybe-load-descriptor): Remove.
10796 (package-load-all-descriptors): Just call package-load-descriptor.
10797 (package--disabled-p): New function.
10798 (package-desc-vers, package-desc-doc): Remove aliases.
10799 (package--dir): Remove function.
10800 (package-activate): Check if a package is disabled.
10801 (package-process-define-package): New function, extracted from
10802 define-package.
10803 (define-package): Turn into a place holder.
10804 (package-unpack-single, package-tar-file-info):
10805 Use package--description-file.
10806 (package-compute-transaction): Use package--disabled-p.
10807 (package-download-transaction): Don't call
10808 package-maybe-load-descriptor since they're all loaded anyway.
10809 (package-install): Change argument to be a pkg-desc.
10810 (package-delete): Use a single pkg-desc argument.
10811 (describe-package-1): Use package-desc-dir instead of package--dir.
10812 Use package-desc property instead of package-symbol.
10813 (package-install-button-action): Adjust accordingly.
10814 (package--push): Rewrite.
10815 (package-menu--print-info): Adjust accordingly. Change the ID format
10816 to be a pkg-desc.
10817 (package-menu-describe-package, package-menu-get-status)
10818 (package-menu--find-upgrades, package-menu-mark-upgrades)
10819 (package-menu-execute, package-menu--name-predicate):
10820 Adjust accordingly.
10821 * startup.el (package--description-file): New function.
10822 (command-line): Use it.
10823 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10824 Use package-desc-version.
10825
10826 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10827 (byte-compile-preprocess): Use it.
10828 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10829 can't quite recognize.
10830 (byte-compile-add-to-list): Remove.
10831 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10832 (cconv-closure-convert): Add assertion.
10833
10834 * emacs-lisp/map-ynp.el: Use lexical-binding.
10835 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10836 Factor out some repeated code.
10837
10838 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * subr.el (with-eval-after-load): New macro.
10841 (eval-after-load): Allow form to be a function.
10842 take advantage of lexical-binding.
10843 (do-after-load-evaluation): Use dolist and adjust to new format.
10844 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10845
10846 2013-06-13 Juri Linkov <juri@jurta.org>
10847
10848 * replace.el (perform-replace): Display "symbol " and other search
10849 modes from `isearch-message-prefix' in the *Help* buffer.
10850
10851 * isearch.el (isearch-query-replace): Add " symbol" and other
10852 possible search modes from `isearch-message-prefix' to the prompt.
10853 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10854 when reading a regexp to collect.
10855
10856 2013-06-13 Juri Linkov <juri@jurta.org>
10857
10858 * isearch.el (word-search-regexp): Match whitespace if the search
10859 string begins or ends in whitespace. The LAX arg is applied to
10860 both ends of the search string. Use `regexp-quote' and explicit
10861 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10862 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10863 boundaries are replaced with symbol boundaries, and characters
10864 between symbols match non-word non-symbol syntax. (Bug#14602)
10865
10866 2013-06-13 Juri Linkov <juri@jurta.org>
10867
10868 * isearch.el (isearch-del-char): Don't exceed the length of
10869 `isearch-string' by the prefix arg. (Bug#14563)
10870
10871 2013-06-13 Juri Linkov <juri@jurta.org>
10872
10873 * isearch.el (isearch-yank-word, isearch-yank-line)
10874 (isearch-char-by-name, isearch-quote-char)
10875 (isearch-printing-char, isearch-process-search-char):
10876 Add optional count prefix arg. (Bug#14563)
10877
10878 * international/isearch-x.el
10879 (isearch-process-search-multibyte-characters):
10880 Add optional count prefix arg.
10881
10882 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10885 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10886 lexical-binding.
10887
10888 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10889
10890 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10891
10892 2013-06-13 Glenn Morris <rgm@gnu.org>
10893
10894 * startup.el (tty-handle-args):
10895 Don't just discard "--" and anything after. (Bug#14608)
10896
10897 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10898
10899 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10900
10901 Implement changes in Secret Service API. Make it backward compatible.
10902 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10903 (secrets-create-item): Use it. Prefix properties with interface.
10904
10905 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10906
10907 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10908 (term-emulate-terminal): Respect term-suppress-hard-newline.
10909
10910 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10911
10912 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10913 Only remove a `thumb-file' overlay. (Bug#14548)
10914
10915 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10916
10917 * mail/reporter.el (reporter-submit-bug-report):
10918 Handle missing package-name. (Bug#14600)
10919
10920 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10921
10922 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10923 (reftex-citation-prompt, reftex-default-bibliography)
10924 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10925 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10926 (reftex-bib-sort-author, reftex-bib-sort-year)
10927 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10928 (reftex-extract-bib-entries-from-thebibliography)
10929 (reftex-get-bibkey-default, reftex-get-bib-names)
10930 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10931 (reftex-format-bib-entry, reftex-parse-bibitem)
10932 (reftex-format-bibitem, reftex-do-citation)
10933 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10934 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10935 (reftex-insert-bib-matches, reftex-format-citation)
10936 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10937 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10938 existing comments into docstrings.
10939
10940 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10941
10942 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10943
10944 2013-06-12 Andreas Schwab <schwab@suse.de>
10945
10946 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10947 for auto-save files.
10948
10949 2013-06-12 Glenn Morris <rgm@gnu.org>
10950
10951 * ido.el (ido-delete-ignored-files): Remove.
10952 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10953 Go back to calling ido-ignore-item-p directly.
10954
10955 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10956
10957 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10958
10959 * ido.el (ido-delete-ignored-files): New function,
10960 split from ido-make-file-list-1.
10961 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10962 (ido-make-file-list-1): Use ido-delete-ignored-files.
10963
10964 2013-06-12 Leo Liu <sdl.web@gmail.com>
10965
10966 * progmodes/octave.el (inferior-octave-startup)
10967 (inferior-octave-completion-table)
10968 (inferior-octave-track-window-width-change)
10969 (octave-eldoc-function-signatures, octave-help)
10970 (octave-find-definition): Use single quoted strings.
10971 (inferior-octave-startup-args): Change default value.
10972 (inferior-octave-startup): Do not hard code "-i" and
10973 "--no-line-editing".
10974 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10975 (inferior-octave-directory-tracker): Use it.
10976 (octave-goto-function-definition): Robustify.
10977 (octave-help): Support highlighting operators in 'See also'.
10978 (octave-find-definition): Find subfunctions only in Octave mode.
10979
10980 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * help-fns.el (help-fns--compiler-macro): If the handler function is
10983 named, then put a link to it.
10984 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10985 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10986 (cl-typep): Use it.
10987 (cl-eval-when): Simplify debug spec.
10988 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10989 compiler-macro function instead of setting `compiler-macro-file'.
10990
10991 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10992
10993 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10994 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10995
10996 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10997 Daniel Hackney <dan@haxney.org>
10998
10999 First part of Daniel Hackney's patch to package.el.
11000 * emacs-lisp/package.el: Use defstruct.
11001 (package-desc): New, main struct.
11002 (package--bi-desc, package--ac-desc): New structs, used to describe the
11003 format in external files.
11004 (package-desc-vers): Replace with package-desc-version accessor.
11005 (package-desc-doc): Replace with package-desc-summary accessor.
11006 (package-activate-1): Remove `package' arg since the pkg-vec now
11007 includes the name.
11008 (define-package): Use package-desc-from-define.
11009 (package-unpack-single): Change file-name arg to be a symbol.
11010 (package--add-to-archive-contents): Use package-desc-create and new
11011 accessor functions to package--ac-desc.
11012 (package-buffer-info, package-tar-file-info): Return a package-desc.
11013 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11014 arg to be a package-desc.
11015 (package-install-file): Adjust accordingly. Use \' to match EOS.
11016 (package--from-builtin): New function.
11017 (describe-package-1, package-menu--generate): Use it.
11018 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11019 (package-generate-autoloads): Idem and return the name of the file.
11020 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11021 Change pkg-info arg to be a package-desc.
11022 Use package-make-ac-desc.
11023 (package-upload-file): Use \' to match EOS.
11024 * finder.el (finder-compile-keywords): Use package-make-builtin.
11025
11026 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11027
11028 * vc/vc.el (vc-deduce-fileset): Change error message.
11029 (vc-read-backend): New function.
11030 (vc-next-action): Use it.
11031
11032 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11033
11034 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11035 (prolog-font-lock-keywords): Use regexp-opt instead.
11036 Don't manually highlight strings.
11037 (prolog-mode-variables): Simplify comment-start-skip.
11038 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11039
11040 * emacs-lisp/generic.el (generic--normalise-comments)
11041 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11042 (generic-mode-set-comments): Use them.
11043 (generic-bracket-support): Use setq-local.
11044 (generic-make-keywords-list): Declare obsolete.
11045
11046 2013-06-11 Glenn Morris <rgm@gnu.org>
11047
11048 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11049 Prettify after setting font-lock-defaults. (Bug#14574)
11050
11051 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11052
11053 * replace.el (query-replace, occur-read-regexp-defaults-function)
11054 (replace-search):
11055 * subr.el (declare-function, number-sequence, local-set-key)
11056 (substitute-key-definition, locate-user-emacs-file)
11057 (with-silent-modifications, split-string, eval-after-load):
11058 Fix typos, remove unneeded backslashes and reflow some docstrings.
11059
11060 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11063 default for Elisp files.
11064
11065 2013-06-11 Glenn Morris <rgm@gnu.org>
11066
11067 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11068 although define-derived-mode was doing this anyway. (Bug#14583)
11069
11070 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11071
11072 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11073 Fix make-variable-buffer-local call to refer to the correct variable.
11074
11075 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11076
11077 * eshell/em-term.el (eshell-visual-commands)
11078 (eshell-visual-subcommands, eshell-visual-options):
11079 Add summary line to docstrings. Add cross-references.
11080
11081 2013-06-10 Glenn Morris <rgm@gnu.org>
11082
11083 * epa.el (epa-read-file-name): New function. (Bug#14510)
11084 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11085
11086 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11087
11088 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11089 output redirection to be ignored with visual commands.
11090
11091 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11092
11093 * eshell/em-term.el (eshell-visual-command-p): New function.
11094 (eshell-term-initialize): Move long lambda to separate function
11095 eshell-visual-command-p.
11096 * eshell/em-dirs.el (eshell-dirs-initialize):
11097 * eshell/em-script.el (eshell-script-initialize):
11098 Add missing #' to lambda.
11099
11100 2013-06-08 Leo Liu <sdl.web@gmail.com>
11101
11102 * progmodes/octave.el (octave-add-log-current-defun): New function.
11103 (octave-mode): Set add-log-current-defun-function.
11104 (octave-goto-function-definition): Do not move point if not found.
11105 (octave-find-definition): Enhance to try subfunctions first.
11106
11107 2013-06-08 Glenn Morris <rgm@gnu.org>
11108
11109 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11110 (byte-compile-backward-char, byte-compile-backward-word):
11111 Improve previous change, to handle non-explicit nil.
11112
11113 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11114
11115 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11116 (smie--opener/closer-at-point): New function.
11117 (smie--matching-block-data): Use it. Don't match from right after an
11118 opener or right before a closer. Obey smie-blink-matching-inners.
11119 Don't signal a mismatch for repeated inners like "switch..case..case".
11120
11121 2013-06-07 Leo Liu <sdl.web@gmail.com>
11122
11123 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11124 to t. (Bug#14303)
11125 (octave-function-header-regexp): Fix. (Bug#14570)
11126 (octave-help-mode-finish-hook, octave-help-mode-finish):
11127 Remove. Just use temp-buffer-show-hook.
11128
11129 * newcomment.el (comment-search-backward): Revert last change.
11130 (Bug#14434)
11131
11132 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11133
11134 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11135
11136 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11137 through xargs, to avoid failure due to MS-Windows limitations on
11138 command-line length.
11139
11140 2013-06-06 Glenn Morris <rgm@gnu.org>
11141
11142 * font-lock.el (lisp-font-lock-keywords-2):
11143 Treat user-error like error.
11144
11145 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11146 (byte-compile-backward-char, byte-compile-backward-word):
11147 Handle explicit nil arguments. (Bug#14565)
11148
11149 2013-06-05 Alan Mackenzie <acm@muc.de>
11150
11151 * isearch.el (isearch-allow-prefix): New user option.
11152 (isearch-other-meta-char): Don't exit isearch when a prefix
11153 argument is typed whilst `isearch-allow-prefix' is non-nil.
11154 (Bug#9706)
11155
11156 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11157
11158 * autorevert.el (auto-revert-notify-handler): Use memq.
11159 Hide assertion failure.
11160
11161 * skeleton.el: Use cl-lib.
11162 (skeleton-further-elements): Use defvar-local.
11163 (skeleton-insert): Use cl-progv.
11164
11165 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11166
11167 * progmodes/prog-mode.el (prog-prettify-symbols)
11168 (prog-prettify-install): Update docstrings.
11169
11170 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * simple.el: Move all the prog-mode code to prog-mode.el.
11173 * progmodes/prog-mode.el: New file.
11174 * loadup.el: Add prog-mode.el.
11175
11176 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11177
11178 * simple.el (prog-prettify-symbols): Add version.
11179 (prog-prettify-install): Add convenience function to prettify symbols.
11180
11181 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11182 (perl--augmented-font-lock-keywords-1)
11183 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11184 variables and use it.
11185
11186 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11187 (cfengine3-mode): Remove unneeded variable and use it.
11188
11189 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11190 (lisp--augmented-font-lock-keywords-1)
11191 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11192 Remove unneeded variables and use it.
11193
11194 2013-06-05 João Távora <joaotavora@gmail.com>
11195
11196 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11197 to point when opening the connection. (Bug#14380)
11198
11199 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11200
11201 * subr.el (load-history-regexp, load-history-filename-element)
11202 (eval-after-load, after-load-functions, do-after-load-evaluation)
11203 (eval-next-after-load, display-delayed-warnings)
11204 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11205 definition of save-match-data.
11206 (overriding-local-map): Remove accidental obsolescence declaration.
11207
11208 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11209
11210 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11211
11212 Generalize symbol prettify support to prog-mode and implement it
11213 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11214 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11215 (prog--prettify-font-lock-compose-symbol)
11216 (prog-prettify-font-lock-symbols-keywords): New variables and
11217 functions to support symbol prettification.
11218 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11219 (lisp--augmented-font-lock-keywords-1)
11220 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11221 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11222 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11223 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11224 Implement prettify of -> => :: strings.
11225 * progmodes/perl-mode.el (perl-prettify-symbols)
11226 (perl--font-lock-compose-symbol)
11227 (perl--font-lock-symbols-keywords): Move to prog-mode.
11228 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11229 (perl-font-lock-keywords-1)
11230 (perl-font-lock-keywords-2): Remove explicit prettify support.
11231 (perl--augmented-font-lock-keywords)
11232 (perl--augmented-font-lock-keywords-1)
11233 (perl--augmented-font-lock-keywords-2, perl-mode):
11234 Implement prettify support.
11235
11236 2013-06-05 Leo Liu <sdl.web@gmail.com>
11237
11238 Re-implement SMIE matching block highlight using
11239 show-paren-data-function. (Bug#14395)
11240 * emacs-lisp/smie.el (smie-matching-block-highlight)
11241 (smie--highlight-matching-block-overlay)
11242 (smie--highlight-matching-block-lastpos)
11243 (smie-highlight-matching-block)
11244 (smie-highlight-matching-block-mode): Remove.
11245 (smie--matching-block-data-cache): New variable.
11246 (smie--matching-block-data): New function.
11247 (smie-setup): Use smie--matching-block-data for
11248 show-paren-data-function.
11249
11250 * progmodes/octave.el (octave-mode-menu): Fix.
11251 (octave-find-definition): Skip garbage lines.
11252
11253 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11254
11255 Fix compilation error with simultaneous dynamic+lexical scoping.
11256 Add warning when a defvar appears after the first let-binding.
11257 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11258 (byte-compile-close-variables): Initialize it.
11259 (byte-compile--declare-var): New function.
11260 (byte-compile-file-form-defvar)
11261 (byte-compile-file-form-define-abbrev-table)
11262 (byte-compile-file-form-custom-declare-variable): Use it.
11263 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11264 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11265 (byte-compile-bind): Handle dynamic bindings that shadow
11266 lexical bindings.
11267 (byte-compile-unbind): Make arg non-optional.
11268 (byte-compile-let): Simplify.
11269 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11270 (cconv--analyse-function, cconv-analyse-form): Populate it.
11271 Protect byte-compile-bound-variables to limit the scope of defvars.
11272 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11273 Remove unneeded rule for `declare'.
11274
11275 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11276 so as to avoid depending on cl-adjoin at run-time.
11277 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11278
11279 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11280 (macroexp--warn-and-return): Use it.
11281
11282 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * subr.el: Convert to lexical binding.
11285 (overriding-local-map): Make obsolete.
11286 (add-to-list): Doc fix. Add compiler macro.
11287 (read-key): Swap values of local maps.
11288
11289 2013-06-05 Leo Liu <sdl.web@gmail.com>
11290
11291 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11292
11293 2013-06-04 Leo Liu <sdl.web@gmail.com>
11294
11295 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11296 (compilation-auto-jump): Suppress the "Mark set" message to give
11297 way to exit message.
11298
11299 2013-06-04 Alan Mackenzie <acm@muc.de>
11300
11301 Remove faulty optimisation from indentation calculation.
11302 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11303 search limit based on 2000 characters back from indent-point.
11304
11305 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11306
11307 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11308
11309 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11310
11311 * emacs-lisp/lisp.el: Use lexical-binding.
11312 (lisp--local-variables-1, lisp--local-variables): New functions.
11313 (lisp--local-variables-completion-table): New var.
11314 (lisp-completion-at-point): Use it complete let-bound vars.
11315
11316 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11317 eagerly (bug#14422).
11318
11319 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11320
11321 * autorevert.el (auto-revert-notify-enabled)
11322 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11323 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11324 (auto-revert-notify-handler): Handle also gfilenotify.
11325
11326 * subr.el (file-notify-handle-event): New defun. Replacing ...
11327 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11328 Remove.
11329
11330 2013-06-03 Juri Linkov <juri@jurta.org>
11331
11332 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11333 `M-s h .'. (Bug#14427)
11334
11335 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11336 command `hi-lock-face-symbol-at-point'.
11337 (hi-lock-face-symbol-at-point): New command.
11338 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11339 (hi-lock-menu): Add `highlight-symbol-at-point'.
11340 (hi-lock-mode): Doc fix.
11341
11342 * isearch.el (isearch-forward-symbol-at-point): New command.
11343 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11344 (isearch-highlight-regexp): Add a regexp which matches
11345 words/symbols for word/symbol mode.
11346
11347 * subr.el (find-tag-default-bounds): New function with the body
11348 mostly moved from `find-tag-default'.
11349 (find-tag-default): Move most code to `find-tag-default-bounds',
11350 call it and apply `buffer-substring-no-properties' afterwards.
11351
11352 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11353
11354 * eshell/em-term.el (eshell-term-initialize):
11355 Use `cl-intersection' rather than `intersection'.
11356
11357 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11358
11359 * vc/log-view.el: Doc fix.
11360 (log-view-mode-map): Copy keymap from `special-mode-map'.
11361
11362 2013-06-02 Eric Ludlam <zappo@gnu.org>
11363
11364 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11365 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11366 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11367 (eieio-unbound, eieio-default-superclass)
11368 (eieio--define-field-accessors, method-static, method-before)
11369 (method-primary, method-after, method-num-lists)
11370 (method-generic-before, method-generic-primary)
11371 (method-generic-after, method-num-slots)
11372 (eieio-specialized-key-to-generic-key)
11373 (eieio--check-type, class-v, class-p)
11374 (eieio-class-name, define-obsolete-function-alias)
11375 (eieio-class-parents-fast, eieio-class-children-fast)
11376 (same-class-fast-p, class-constructor, generic-p)
11377 (generic-primary-only-p, generic-primary-only-one-p)
11378 (class-option-assoc, class-option, eieio-object-p)
11379 (class-abstract-p, class-method-invocation-order)
11380 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11381 (eieio-class-un-autoload, eieio-defclass)
11382 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11383 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11384 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11385 (eieio-defgeneric-reset-generic-form)
11386 (eieio-defgeneric-form-primary-only)
11387 (eieio-defgeneric-reset-generic-form-primary-only)
11388 (eieio-defgeneric-form-primary-only-one)
11389 (eieio-defgeneric-reset-generic-form-primary-only-one)
11390 (eieio-unbind-method-implementations)
11391 (eieio--defmethod, eieio--typep)
11392 (eieio-perform-slot-validation, eieio-validate-slot-value)
11393 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11394 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11395 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11396 (eieio-slot-name-index, eieio-class-slot-name-index)
11397 (eieio-set-defaults, eieio-initarg-to-attribute)
11398 (eieio-attribute-to-initarg, eieio-c3-candidate)
11399 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11400 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11401 (eieio-class-precedence-list, eieio-generic-call-methodname)
11402 (eieio-generic-call-arglst, eieio-generic-call-key)
11403 (eieio-generic-call-next-method-list)
11404 (eieio-pre-method-execution-functions, eieio-generic-call)
11405 (eieio-generic-call-primary-only, eieiomt-method-list)
11406 (eieiomt-optimizing-obarray, eieiomt-install)
11407 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11408 (eieio-generic-form, eieio-defmethod, make-obsolete)
11409 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11410 (defclass): Remove `eval-and-compile' from macro.
11411 (call-next-method, shared-initialize): Instead of using
11412 `scoped-class' variable, use new eieio--scoped-class, and
11413 eieio--with-scoped-class.
11414 (initialize-instance): Rename local variable 'scoped-class' to
11415 'this-class' to remove ambiguitity from old global.
11416
11417 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11418 eieio.el.
11419 (eieio--scoped-class-stack): New variable.
11420 (eieio--scoped-class): New fcn.
11421 (eieio--with-scoped-class): New scoping macro.
11422 (eieio-defclass): Use pushnew instead of add-to-list.
11423 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11424 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11425 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11426 `scoped-class' variable, use new eieio--scoped-class, and
11427 eieio--with-scoped-class.
11428
11429 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11430
11431 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11432
11433 * eshell/esh-ext.el (eshell-external-command): Pass args to
11434 `eshell-find-interpreter'.
11435 (eshell-find-interpreter): Add new second parameter ARGS.
11436
11437 * eshell/em-script.el (eshell-script-initialize): Add second arg
11438 to the function added as MATCH to `eshell-interpreter-alist'.
11439
11440 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11441 the function added as MATCH to `eshell-interpreter-alist'.
11442
11443 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11444 (eshell-visual-options): New defcustom.
11445 (eshell-escape-control-x): Adapt docstring.
11446 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11447 `eshell-visual-options' in addition to `eshell-visual-commands'.
11448 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11449
11450 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11451
11452 * progmodes/python.el (python-indent-block-enders): Add break,
11453 continue and raise keywords.
11454
11455 2013-06-01 Glenn Morris <rgm@gnu.org>
11456
11457 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11458
11459 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11460 * progmodes/cc-cmds.el (delete-forward-p):
11461 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11462 * progmodes/cc-engine.el (buffer-syntactic-context):
11463 * progmodes/cc-fonts.el (face-property-instance):
11464 * progmodes/cc-mode.el (set-keymap-parents):
11465 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11466 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11467 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11468 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11469 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11470
11471 * progmodes/cc-vars.el (other): Emacs has this widget since
11472 at least 21.1, so don't (re)define it.
11473
11474 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11475 Replace the obsolete alias pcomplete-arg-quote-list.
11476
11477 2013-06-01 Leo Liu <sdl.web@gmail.com>
11478
11479 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11480 punctuation syntax.
11481 (inferior-octave-minimal-columns)
11482 (inferior-octave-last-column-width): New variables.
11483 (inferior-octave-track-window-width-change): New function.
11484 (inferior-octave-mode): Adjust column width so that Octave output,
11485 for example from 'ls', can fit into the window nicely.
11486
11487 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11488
11489 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11490 Highlight expansions inside regexp literals.
11491
11492 2013-05-31 Glenn Morris <rgm@gnu.org>
11493
11494 * obsolete/sym-comp.el (symbol-complete):
11495 Replace obsolete completion-annotate-function.
11496
11497 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11498
11499 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11500
11501 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11502 New function, checks if point is inside a literal that allows
11503 expression expansion.
11504 (ruby-syntax-propertize-expansion): Use it.
11505 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11506 around the body.
11507
11508 2013-05-30 Juri Linkov <juri@jurta.org>
11509
11510 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11511 to "\M-si".
11512 (isearch-invisible): New variable.
11513 (isearch-forward): Doc fix.
11514 (isearch-mode): Set `isearch-invisible'
11515 to the value of `search-invisible'.
11516 (isearch-toggle-case-fold): Doc fix.
11517 (isearch-toggle-invisible): New command.
11518 (isearch-query-replace): Let-bind `search-invisible'
11519 to the value of `isearch-invisible'.
11520 (isearch-search): Use `isearch-invisible' instead of
11521 `search-invisible'. Let-bind `search-invisible'
11522 to the value of `isearch-invisible'. (Bug#11378)
11523
11524 2013-05-30 Juri Linkov <juri@jurta.org>
11525
11526 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11527 call when `query-flag' is nil and `search-invisible' is non-nil.
11528 (Bug#11746)
11529
11530 2013-05-30 Glenn Morris <rgm@gnu.org>
11531
11532 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11533
11534 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11535 (cc-require): Suppress spurious "noruntime" warnings.
11536 (cc-require-when-compile): Use fboundp, for sake of compiler.
11537
11538 * progmodes/cc-mode.el: Move load of cc-vars before that of
11539 cc-langs (which in turn loads cc-vars), to quieten compiler.
11540
11541 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11542
11543 * paren.el: Simplify the code.
11544 (show-paren-mode): Always start the timer.
11545 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11546 (show-paren--overlay, show-paren--overlay-1): Rename from
11547 show-paren-overlay and show-paren-overlay-1, and initialize to an
11548 overlay rather than to nil.
11549 (show-paren-function): Misc cleanup and simplifications.
11550
11551 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11552
11553 * paren.el (show-paren-data-function): New hook.
11554 (show-paren--default): New function, extracted from show-paren-function.
11555 (show-paren-function): Use show-paren-data-function.
11556
11557 2013-05-30 Glenn Morris <rgm@gnu.org>
11558
11559 * ielm.el (ielm-map, ielm-complete-symbol):
11560 Use completion-at-point rather than obsolete functions.
11561 (inferior-emacs-lisp-mode): Doc fix.
11562 Set completion-at-point-functions, rather than
11563 comint-dynamic-complete-functions.
11564
11565 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11566 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11567 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11568
11569 * image.el (image-animated-p): Tweak definition.
11570
11571 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11572 (rlogin-process-connection-type): Tweak default. Add set-after.
11573 (rlogin-host): Doc fix.
11574 (rlogin): Tweak prompt.
11575 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11576
11577 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11578 * progmodes/tcl.el (inferior-tcl-mode-map):
11579 Use completion-at-point rather than obsolete alias.
11580
11581 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11582
11583 * minibuffer.el (read-file-name-completion-ignore-case):
11584 Move before completion--in-region, for eager macro expansion.
11585
11586 2013-05-29 Juri Linkov <juri@jurta.org>
11587
11588 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11589 for total count of matching lines. Add `global-matches' for total
11590 count of matches. Rename `matches' to `lines' for count of
11591 matching lines. Add `matches' for count of matches.
11592 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11593 to `prev-line' for line number of prev match endpt.
11594 Increment `matches' for every match. Print the number of
11595 matching lines in the header.
11596 (occur-context-lines): Rename `lines' to `curr-line'.
11597 Rename `prev-lines' to `prev-line'. (Bug#14017)
11598
11599 2013-05-29 Juri Linkov <juri@jurta.org>
11600
11601 * replace.el (perform-replace): Add `skip-read-only-count',
11602 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11603 Increment them for corresponding conditions and report the number
11604 of skipped occurrences in the final message. (Bug#11746)
11605 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11606 (replace-string, replace-regexp): Doc fix.
11607
11608 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11609
11610 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11611
11612 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11613 prog-mode-map (bug#14504).
11614
11615 2013-05-29 Leo Liu <sdl.web@gmail.com>
11616
11617 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11618 (octave-help): Small simplification.
11619
11620 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11621 off the highlight first.
11622
11623 2013-05-29 Glenn Morris <rgm@gnu.org>
11624
11625 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11626 Handle idlwave-last-system-routine-info-cons-cell being nil.
11627
11628 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11629 (idlwave-write-paths): Simplify via with-temp-buffer.
11630
11631 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11632 * emulation/cua-rect.el: Also load cua-base at run time.
11633
11634 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11635 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11636 (cperl-imenu-on-info): Require imenu.
11637
11638 2013-05-28 Alan Mackenzie <acm@muc.de>
11639
11640 Handle "capitalised keywords" correctly.
11641 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11642
11643 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11644
11645 * eshell/em-unix.el: Add -r option to cp.
11646
11647 2013-05-28 Glenn Morris <rgm@gnu.org>
11648
11649 * vc/vc-arch.el (vc-exec-after): Declare.
11650 (vc-switches): Autoload.
11651 * vc/vc-bzr.el: No need to require vc when compiling.
11652 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11653 (vc-resynch-buffer, vc-dir-refresh): Declare.
11654 (vc-setup-buffer, vc-switches): Autoload.
11655 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11656 (vc-resynch-buffer): Declare.
11657 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11658 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11659 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11660 (grep-read-regexp, grep-read-files, grep-expand-template)
11661 (vc-dir-refresh): Declare.
11662 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11663 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11664 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11665 * vc/vc-mtn.el (vc-exec-after): Declare.
11666 (vc-switches): Autoload.
11667 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11668 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11669 (vc-file-tree-walk): Declare.
11670 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11671 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11672 (vc-tag-precondition, vc-rename-master): Autoload.
11673 * vc/vc-svn.el (vc-exec-after): Declare.
11674 (vc-switches, vc-setup-buffer): Autoload.
11675 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11676 Autoload.
11677 (vc-resynch-buffer): Declare.
11678
11679 * obsolete/fast-lock.el (byte-compile-warnings):
11680 Don't warn about obsolete features in this obsolete file.
11681
11682 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11683 Move definition before use.
11684
11685 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11686 (dun-unix-verbs): Remove dun-zippy.
11687 (dun-zippy): Remove function.
11688
11689 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11690
11691 2013-05-27 Juri Linkov <juri@jurta.org>
11692
11693 * replace.el (replace-search): New function with code moved out
11694 from `perform-replace'.
11695 (replace-highlight, replace-dehighlight): Move function definitions
11696 up closer to `replace-search'. (Bug#11746)
11697
11698 2013-05-27 Juri Linkov <juri@jurta.org>
11699
11700 * replace.el (perform-replace): Ignore invisible matches.
11701 In addition to checking `query-replace-skip-read-only', also
11702 filter out matches by calling `run-hook-with-args-until-failure'
11703 on `isearch-filter-predicates', and also check `search-invisible'
11704 for t or call `isearch-range-invisible'.
11705 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11706
11707 2013-05-27 Juri Linkov <juri@jurta.org>
11708
11709 * isearch.el (isearch-filter-predicates): Rename from
11710 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11711 (isearch-message-prefix): Display text from the property
11712 `isearch-message-prefix' of the currently active filters.
11713 (isearch-search): Don't compare `isearch-filter-predicate' with
11714 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11715 on `isearch-filter-predicates'. Also check `search-invisible' for t
11716 or call `isearch-range-invisible'.
11717 (isearch-filter-visible): Make obsolete.
11718 (isearch-lazy-highlight-search):
11719 Call `run-hook-with-args-until-failure' on
11720 `isearch-filter-predicates' and use `isearch-range-invisible'.
11721
11722 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11723 `isearch-filter-predicates' instead of `funcall'ing
11724 `isearch-filter-predicate'.
11725 (Info-mode): Set `Info-isearch-filter' to
11726 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11727
11728 * dired-aux.el (dired-isearch-filter-predicate-orig):
11729 Remove variable.
11730 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11731 (dired-isearch-filenames-end): Add and remove
11732 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11733 instead of changing the value of `isearch-filter-predicate'.
11734 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11735 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11736 Put property `isearch-message-prefix' to "filename " on
11737 `dired-isearch-filter-filenames'.
11738
11739 * wdired.el (wdired-change-to-wdired-mode):
11740 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11741 locally instead of changing `isearch-filter-predicate'.
11742 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11743
11744 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11745
11746 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11747 return the commit hash (Bug#14459). Also set the
11748 `vc-git-detached' property.
11749 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11750 (vc-git-mode-line-string): Use the same help-echo format whether
11751 in detached mode or not, because we know the actual revision now.
11752 When in detached mode, shorten the revision to 7 chars.
11753
11754 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 * emacs-lisp/easy-mmode.el (define-minor-mode):
11757 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11758 mode hook and provide a docstring.
11759
11760 2013-05-27 Alan Mackenzie <acm@muc.de>
11761
11762 Remove spurious syntax-table text properties inserted by C-y.
11763 * progmodes/cc-mode.el (c-after-change): Also clear hard
11764 syntax-table property with value nil.
11765
11766 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11767
11768 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11769 when reading the events; the buffer layout shall not be changed.
11770
11771 2013-05-27 Leo Liu <sdl.web@gmail.com>
11772
11773 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11774 New variable.
11775 (inferior-octave-directory-tracker): Automatically re-sync
11776 default-directory.
11777 (octave-help): Improve handling of 'See also'.
11778
11779 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * doc-view.el: Minor naming convention tweaks.
11782 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11783
11784 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11785 even if there's no `display' property yet (bug#14435).
11786
11787 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11788
11789 * subr.el (unmsys--file-name): Rename from reveal-filename.
11790
11791 * Makefile.in (custom-deps, finder-data, autoloads)
11792 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11793 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11794 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11795
11796 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11797
11798 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11799 error-completion on the first 2 args of condition-case (bug#14446).
11800 Don't burp at EOB.
11801
11802 2013-05-25 Leo Liu <sdl.web@gmail.com>
11803
11804 * comint.el (comint-previous-matching-input): Do not flood the
11805 *Messages* buffer with trivial messages.
11806
11807 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11808
11809 * progmodes/flymake.el (flymake-nop): Don't return a string.
11810 (flymake-set-at): Fix typo.
11811
11812 * simple.el (read--expression): New function, extracted from
11813 eval-expression. Set completion-at-point-functions (bug#14465).
11814 (eval-expression, eval-minibuffer): Use it.
11815
11816 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11817
11818 * progmodes/flymake.el (flymake-save-buffer-in-file)
11819 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11820 (flymake-selected-frame, flymake-log, flymake-ins-after)
11821 (flymake-set-at, flymake-get-buildfile-from-cache)
11822 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11823 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11824 Refine the doc string.
11825 (flymake-get-file-name-mode-and-masks): Reformat.
11826 (flymake-get-real-file-name-function): Fix a minor bug.
11827
11828 2013-05-24 Juri Linkov <juri@jurta.org>
11829
11830 * progmodes/grep.el (grep-mode-font-lock-keywords):
11831 Support =linenumber= format used by git-grep for lines with
11832 function names. (Bug#13549)
11833
11834 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11837 0 after a semi-colon; it works better for smie-auto-fill.
11838 (octave--indent-new-comment-line): New function.
11839 (octave-indent-new-comment-line): Use it (indirectly).
11840 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11841 modify comment-line-break-function.
11842
11843 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11844 (smie-setup): Use add-function to set it.
11845
11846 2013-05-24 Sam Steingold <sds@gnu.org>
11847
11848 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11849 argument (before the `interactive' argument).
11850
11851 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11852
11853 * image-mode.el (image-mode-winprops): Add winprops to
11854 image-mode-winprops-alist before running
11855 image-mode-new-window-functions.
11856 * doc-view.el (doc-view-new-window-function): Don't delay
11857 doc-view-goto-page via timers (bug#14435).
11858
11859 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11860
11861 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11862 (doc-view-desktop-save-buffer): New function.
11863 (doc-view-restore-desktop-buffer): New function.
11864 (desktop-buffer-mode-handlers):
11865 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11866 handler.
11867 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11868 `desktop-save-buffer' function.
11869
11870 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11871
11872 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11873 (tramp-gvfs-file-name-handler): Raise a user error when
11874 `tramp-gvfs-enabled' is nil.
11875 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11876 Do not raise a user error when loading package. (Bug#14447)
11877
11878 * net/xesam.el: Move to obsolete/.
11879
11880 2013-05-24 Glenn Morris <rgm@gnu.org>
11881
11882 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11883
11884 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11885
11886 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11887 (Info-find-node, Man-getpage-in-background): Declare.
11888
11889 * mail/unrmail.el (unrmail):
11890 Replace obsolete detect-coding-with-priority.
11891
11892 * net/socks.el (socks-split-string): Use this rather than split-string.
11893 (socks-nslookup-host): Update for above change.
11894 (dynamic-choice, s5-dynamic-choice-match)
11895 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11896 Comment out unused code.
11897
11898 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11899 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11900 (gud-tooltip-echo-area): Make obsolete.
11901 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11902
11903 * progmodes/js.el (js--optimize-arglist): Declare.
11904
11905 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11906
11907 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11908 (ediff-window-C): Declare.
11909
11910 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11911 Tweak requires to silence compiler.
11912
11913 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11914 (he-search-string, he-tried-table, he-expand-list)
11915 (he-init-string, he-string-member, he-substitute-string)
11916 (he-reset-string): Declare.
11917
11918 * obsolete/options.el (list-options): Use custom-variable-p,
11919 rather than obsolete alias.
11920
11921 2013-05-23 Sam Steingold <sds@gnu.org>
11922
11923 * simple.el (shell-command-on-region): Pass the `replace' argument
11924 down to `call-process-region' to comply with the doc as reported on
11925 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11926
11927 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * emacs-lisp/smie.el (smie-indent-forward-token)
11930 (smie-indent-backward-token): Handle string tokens (bug#14381).
11931
11932 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11933
11934 * ielm.el (ielm-menu): New menu.
11935 (inferior-emacs-lisp-mode): Set comment-start.
11936
11937 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11938
11939 * textmodes/reftex.el (reftex-ref-style-toggle):
11940 Fix deactivate action.
11941
11942 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11943 Add cleveref macros.
11944
11945 * textmodes/reftex-parse.el
11946 (reftex-locate-bibliography-files): Accept options for
11947 bibliography commands.
11948 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11949 Add addbibresource. Basic Biblatex support.
11950
11951 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11952
11953 * net/tramp-gvfs.el (top):
11954 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11955 when loading package. (Bug#14447)
11956
11957 2013-05-23 Glenn Morris <rgm@gnu.org>
11958
11959 * progmodes/js.el: No need to load comint when compiling.
11960 (ring-insert, comint-send-string, comint-send-input)
11961 (comint-last-input-end, ido-chop): Declare.
11962
11963 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11964 * vc/ediff-mult.el: Adjust requires.
11965 (ediff-directories-internal, ediff-directory-revisions-internal)
11966 (ediff-patch-file-internal): Declare.
11967 * vc/ediff-ptch.el: Adjust requires.
11968 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11969 (ediff-find-file): Autoload.
11970 * vc/ediff-util.el: No need to load ediff when compiling.
11971 (ediff-regions-internal): Declare.
11972 * vc/ediff-wind.el: Adjust requires.
11973 (ediff-compute-toolbar-width): Define when compiling.
11974 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11975 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11976 (dired-get-filename, dired-get-marked-files)
11977 (ediff-last-dir-patch, ediff-patch-default-directory)
11978 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11979 (ediff-patch-buffer-internal): Declare.
11980
11981 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11982 (ispell-process, ispell-buffer-local-words, lm-summary)
11983 (lm-section-start, lm-section-end): Declare.
11984 (checkdoc-ispell-init): Simplify.
11985
11986 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11987 (he-string-member, he-reset-string, he-substitute-string): Declare.
11988
11989 * eshell/em-ls.el: Adjust requires.
11990 (eshell-glob-regexp): Declare.
11991 * eshell/em-tramp.el: Adjust requires.
11992 (eshell-parse-command): Autoload.
11993 * eshell/em-xtra.el: Adjust requires.
11994 (eshell-parse-command): Autoload.
11995 * eshell/esh-ext.el: Adjust requires.
11996 (eshell-parse-command, eshell-close-handles): Autoload.
11997 * eshell/esh-io.el: Adjust requires.
11998 (eshell-output-filter): Autoload.
11999 * eshell/esh-util.el: No need to load tramp when compiling.
12000 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12001 Declare.
12002 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12003 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12004 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12005 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12006 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12007 * eshell/esh-opt.el, eshell/esh-proc.el:
12008 * eshell/esh-var.el: Adjust requires.
12009 * eshell/eshell.el: Do not require esh-util twice.
12010 (eshell-add-input-to-history): Declare.
12011 (eshell-command): Check history module is active before using it.
12012
12013 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12014
12015 2013-05-22 Leo Liu <sdl.web@gmail.com>
12016
12017 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12018
12019 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12020
12021 * autorevert.el (auto-revert-notify-add-watch)
12022 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12023 it indicates changes in file modification time.
12024
12025 2013-05-22 Glenn Morris <rgm@gnu.org>
12026
12027 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12028 Always delete the autoloaded function from the noruntime and
12029 unresolved functions lists.
12030
12031 * allout.el: No need to load epa, epg, overlay when compiling.
12032 (epg-context-set-passphrase-callback, epg-list-keys)
12033 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12034 (epg-key-user-id-list): Declare.
12035
12036 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12037 (viper-set-parsing-style-toggling-macro)
12038 (viper-set-emacs-state-searchstyle-macros):
12039 Use called-interactively-p on Emacs.
12040 (viper-looking-back): Make it an obsolete alias. Update callers.
12041 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12042 Use looking-back rather than viper-looking-back.
12043 (viper-tmp-insert-at-eob, viper-enlarge-region)
12044 (viper-read-string-with-history, viper-register-to-point)
12045 (viper-append-to-register, viper-change-state-to-vi)
12046 (viper-backward-char-carefully, viper-forward-char-carefully)
12047 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12048 (viper-change-state-to-emacs): Declare.
12049 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12050 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12051 * emulation/viper-mous.el: Do not load viper-cmd.
12052 (viper-backward-char-carefully, viper-forward-char-carefully)
12053 (viper-forward-word, viper-adjust-window): Declare.
12054
12055 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12056
12057 * progmodes/idlw-help.el (idlwave-help-fontify):
12058 Use called-interactively-p.
12059
12060 * term/w32console.el (w32-get-console-codepage)
12061 (w32-get-console-output-codepage): Declare.
12062
12063 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12064 Remove unnecessary declarations.
12065 (dframe-message): Doc fix.
12066
12067 * info.el (dframe-select-attached-frame, dframe-current-frame):
12068 Declare.
12069
12070 * speedbar.el (speedbar-message): Make it an obsolete alias.
12071 Update all callers.
12072 (speedbar-with-attached-buffer)
12073 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12074 (speedbar-with-writable): Use backquote.
12075 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12076 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12077 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12078 rather than speedbar- aliases.
12079 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12080 (speedbar-make-specialized-keymap, speedbar-insert-button)
12081 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12082 (speedbar-do-function-pointer): Declare.
12083 (rmail-speedbar-button, rmail-speedbar-find-file)
12084 (rmail-speedbar-move-message):
12085 Use dframe-with-attached-buffer rather than speedbar- alias.
12086 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12087 (dframe-message, speedbar-make-specialized-keymap)
12088 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12089 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12090 (speedbar-insert-button, dframe-select-attached-frame)
12091 (dframe-maybee-jump-to-attached-frame)
12092 (speedbar-change-initial-expansion-list)
12093 (speedbar-previously-used-expansion-list-name): Declare.
12094 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12095 Use dframe-message, dframe-with-attached-buffer rather than
12096 speedbar- aliases.
12097 (gud-sentinel): Silence compiler.
12098 * progmodes/vhdl-mode.el (speedbar-refresh)
12099 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12100 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12101 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12102 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12103 (speedbar-file-lists, speedbar-make-tag-line)
12104 (speedbar-line-directory, speedbar-goto-this-file)
12105 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12106 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12107 (speedbar-make-button, speedbar-reset-scanners)
12108 (speedbar-files-item-info, speedbar-line-text)
12109 (speedbar-find-file-in-frame, speedbar-set-timer)
12110 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12111 (speedbar-with-writable): Do not (re)define it.
12112 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12113 rather than speedbar- alias.
12114
12115 2013-05-21 Leo Liu <sdl.web@gmail.com>
12116
12117 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12118 menu items.
12119 (octave-mode): Tweak fill-nobreak-predicate.
12120 (inferior-octave-startup): Check process to avoid infinite loop.
12121 (inferior-octave): Pop to buffer first to show abornmal process
12122 exit information.
12123
12124 2013-05-21 Glenn Morris <rgm@gnu.org>
12125
12126 * printing.el (pr-menu-bar): Define when compiling.
12127
12128 2013-05-21 Leo Liu <sdl.web@gmail.com>
12129
12130 * progmodes/octave.el (octave-auto-fill): Remove.
12131 (octave-indent-new-comment-line): Improve.
12132 (octave-mode): Use auto fill mode through
12133 comment-line-break-function and fill-nobreak-predicate.
12134 (octave-goto-function-definition): Support DEFUN_DLD.
12135 (octave-beginning-of-defun): Small tweak.
12136 (octave-help): Show parent directory.
12137
12138 2013-05-21 Glenn Morris <rgm@gnu.org>
12139
12140 * files.el (dired-unmark):
12141 * progmodes/gud.el (gdb-input): Update declarations.
12142
12143 * calculator.el (electric, ehelp): No need to load when compiling.
12144 (Electric-command-loop, electric-describe-mode): Declare.
12145
12146 * doc-view.el (doc-view-current-converter-processes): Move before use.
12147
12148 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12149 Move MODE-set-explicitly definition before use.
12150
12151 * international/mule-diag.el (mule-diag):
12152 Don't use obsolete window-system-version.
12153
12154 * mail/feedmail.el (smtpmail): No need to load when compiling.
12155 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12156
12157 * mail/mail-utils.el (rfc822): No need to load when compiling.
12158 (rfc822-addresses): Autoload it.
12159 (mail-strip-quoted-names): Trivial simplification.
12160
12161 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12162 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12163
12164 * net/snmp-mode.el (tempo): Don't duplicate requires.
12165
12166 * progmodes/prolog.el (info): No need to load when compiling.
12167 (comint): Require before shell requires it.
12168 (Info-goto-node): Autoload it.
12169 (Info-follow-nearest-node): Declare.
12170 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12171
12172 * textmodes/artist.el (picture-mode-exit): Declare.
12173
12174 * textmodes/reftex-parse.el (reftex-parse-from-file):
12175 Trivial rewrite so the compiler can parse it better.
12176
12177 2013-05-20 Leo Liu <sdl.web@gmail.com>
12178
12179 * progmodes/octave.el (octave-help-mode-map)
12180 (octave-help-mode-finish-hook): New variables.
12181 (octave-help-mode, octave-help-mode-finish): New functions.
12182 (octave-help): Use octave-help-mode.
12183
12184 2013-05-20 Glenn Morris <rgm@gnu.org>
12185
12186 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12187
12188 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12189
12190 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12191 start at point, so that expansion starting right after opening
12192 slash in a regexp is recognized.
12193 (ruby-syntax-before-regexp-re): New defvar, extracted from
12194 ruby-syntax-propertize-function. Since the value of this regexp
12195 is looked up at runtime now, we should be able to turn
12196 `ruby-syntax-methods-before-regexp' into a defcustom later.
12197 (ruby-syntax-propertize-function): Split regexp matching into two
12198 parts, for opening and closing slashes. That allows us to skip
12199 over string interpolations and support multiline regexps.
12200 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12201 for them, which calls `ruby-syntax-propertize-expansion'.
12202 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12203 call to `ruby-syntax-propertize-function'.
12204 (ruby-syntax-propertize-expansion): Extracted from
12205 `ruby-syntax-propertize-expansions'. Handles one expansion.
12206 (ruby-syntax-propertize-percent-literal): Leave point right after
12207 the percent symbol, so that the expression expansion rule can
12208 propertize the contents.
12209 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12210 heredoc openers.
12211 (ruby-syntax-propertize-expansions): Remove.
12212
12213 2013-05-18 Juri Linkov <juri@jurta.org>
12214
12215 * man.el (Man-default-man-entry): Remove `-' from the end
12216 of the default value. (Bug#14400)
12217
12218 2013-05-18 Glenn Morris <rgm@gnu.org>
12219
12220 * comint.el (comint-password-prompt-regexp):
12221 Allow "password for XXX" where XXX contains colons (eg https://...).
12222
12223 2013-05-18 Leo Liu <sdl.web@gmail.com>
12224
12225 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12226 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12227 (octave-source-directories): Don't check process.
12228 (octave-source-directories, octave-find-definition): Doc fix.
12229
12230 2013-05-18 Glenn Morris <rgm@gnu.org>
12231
12232 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12233 Remove backspace/delete bindings. (Bug#14392)
12234
12235 * cus-dep.el (custom-make-dependencies): Sort the output.
12236 (custom-versions-load-alist): Convert comment to doc.
12237
12238 2013-05-17 Leo Liu <sdl.web@gmail.com>
12239
12240 * newcomment.el (comment-search-backward): Stricter in finding
12241 comment start. (Bug#14303)
12242
12243 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12244 (octave-comment-start-skip): Properly anchored.
12245
12246 2013-05-17 Leo Liu <sdl.web@gmail.com>
12247
12248 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12249 Clean up when turned off. (Bug#14395)
12250 (smie--highlight-matching-block-overlay): No longer buffer-local.
12251 (smie-highlight-matching-block): Adjust.
12252
12253 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12254
12255 Doc string fix for "nanoseconds" (Bug#14406).
12256 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12257 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12258
12259 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12260
12261 * calc/calc-units.el (math-extract-units): Preserve powers
12262 of units.
12263
12264 2013-05-17 Leo Liu <sdl.web@gmail.com>
12265
12266 * subr.el (delete-consecutive-dups): New function.
12267 * ido.el (ido-set-matches-1): Use it.
12268 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12269 * ido.el (ido-remove-consecutive-dups): Remove.
12270
12271 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12272
12273 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12274 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12275 regexp-opt's `words'.
12276
12277 2013-05-16 Leo Liu <sdl.web@gmail.com>
12278
12279 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12280 (smie--highlight-matching-block-overlay)
12281 (smie--highlight-matching-block-lastpos)
12282 (smie--highlight-matching-block-timer): New variables.
12283 (smie-highlight-matching-block): New function.
12284 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12285 (smie-setup): Conditionally enable smie-blink-matching-open.
12286
12287 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12288
12289 Sync with upstream verilog-mode r840.
12290 * progmodes/verilog-mode.el (verilog-mode-version)
12291 (verilog-mode-release-date): Update.
12292 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12293 (verilog-sig-tieoff): Fix string error on
12294 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12295 (verilog-read-decls): Fix parameters confusing
12296 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12297
12298 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12299
12300 * subr.el (reveal-filename): New function.
12301
12302 * loadup.el: Compute Emacs executable versions on MS-Windows,
12303 where executables have the .exe extension. Add a hard link
12304 emacs-XX.YY.ZZ.exe on MS-Windows.
12305
12306 * Makefile.in (XARGS_LIMIT): New variable.
12307 (custom-deps, finder-data, autoloads)
12308 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12309 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12310 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12311 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12312
12313 2013-05-16 Leo Liu <sdl.web@gmail.com>
12314
12315 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12316 (octave-mode-menu, octave-mode-map): Remove its uses.
12317
12318 2013-05-16 Reto Zimmermann <reto@gnu.org>
12319
12320 Sync with upstream vhdl mode v3.34.2.
12321 * progmodes/vhdl-mode.el: Use `push' throughout.
12322 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12323 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12324 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12325 (vhdl-actual-generic-name): New option to derive actual generic name.
12326 (vhdl-port-paste-signals): Replace formal by actual generics.
12327 (vhdl-beautify): New name for old group vhdl-align. Update users.
12328 (vhdl-beautify-options): New option.
12329 (vhdl-last-input-event): New compat alias. Use throughout.
12330 (vhdl-goto-line): Replace user level function `goto-line'.
12331 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12332 vhdl-fix-statement-buffer.
12333 (vhdl-create-mode-menu): Add some entries.
12334 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12335 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12336 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12337 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12338 to force statements on one line.
12339 (vhdl-remove-trailing-spaces-region):
12340 New, split from vhdl-remove-trailing-spaces.
12341 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12342 Respect vhdl-beautify-options.
12343 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12344 (vhdl-update-sensitivity-list): Not add with index if exists without.
12345 Not include array index with signal. Ignore keywords in comments.
12346 (vhdl-get-visible-signals): Regexp tweaks.
12347 (vhdl-template-component-inst): Handle empty library.
12348 (vhdl-template-type): Add template for 'enum' type.
12349 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12350 Use vhdl-replace-string.
12351 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12352 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12353 (vhdl-speedbar-initialize): Update for above name change.
12354 (vhdl-compose-wire-components): Fix in handling of constants.
12355 (vhdl-error-regexp-emacs-alist): New variable.
12356 (vhdl-error-regexp-add-emacs): New function;
12357 adds support for new compile.el (Emacs 22+)
12358 (vhdl-generate-makefile-1): Change target order for single lib. units.
12359 Allow use of absolute file names.
12360
12361 2013-05-16 Leo Liu <sdl.web@gmail.com>
12362
12363 * simple.el (prog-indent-sexp): Indent enclosing defun.
12364
12365 2013-05-15 Glenn Morris <rgm@gnu.org>
12366
12367 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12368 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12369 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12370 (whitespace-highlight): Move to whitespace group.
12371
12372 * comint.el (comint-source):
12373 * pcmpl-linux.el (pcmpl-linux):
12374 * shell.el (shell-faces):
12375 * eshell/esh-opt.el (eshell-opt):
12376 * international/ccl.el (ccl): Remove empty custom groups.
12377
12378 * completion.el (dynamic-completion-mode):
12379 * jit-lock.el (jit-lock-debug-mode):
12380 * minibuffer.el (completion-in-region-mode):
12381 * type-break.el (type-break-mode-line-message-mode)
12382 (type-break-query-mode):
12383 * emulation/tpu-edt.el (tpu-edt-mode):
12384 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12385 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12386 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12387
12388 * term/xterm.el (xterm): Change parent group to terminals.
12389
12390 * master.el (master): Remove empty custom group.
12391 (master-mode): Remove unused :group argument.
12392 * textmodes/refill.el (refill): Remove empty custom group.
12393 (refill-mode): Remove unused :group argument.
12394
12395 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12396
12397 * cus-dep.el: Provide a feature.
12398 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12399 Don't mistakenly ignore files whose basenames match a basename
12400 from preloaded-file-list (eg cedet/ede/simple.el).
12401 Add a fallback method for getting :group.
12402
12403 2013-05-15 Juri Linkov <juri@jurta.org>
12404
12405 * isearch.el (isearch-char-by-name): Rename from
12406 `isearch-insert-char-by-name'. Doc fix.
12407 (isearch-forward): Mention `isearch-char-by-name' in
12408 the docstring. (Bug#13348)
12409
12410 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12411 `exit-minibuffer' instead of
12412 `isearch-nonincremental-exit-minibuffer'.
12413 (isearch-edit-string): Remove mention of
12414 `isearch-nonincremental-exit-minibuffer' from docstring.
12415 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12416 (isearch-forward-exit-minibuffer)
12417 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12418
12419 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12420
12421 * loadup.el: Just use unversioned DOC.
12422
12423 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12424 literals as extending to EOB.
12425 (nxml-last-fontify-end): Remove unused variable.
12426 (nxml-after-change1): Use with-silent-modifications.
12427 (nxml-extend-after-change-region): Simplify.
12428 (nxml-extend-after-change-region1): Remove function.
12429 (nxml-after-change1): Don't adjust for dependent regions.
12430 (nxml-fontify-matcher): Simplify.
12431 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12432 (xmltok-add-dependent): Remove function.
12433 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12434 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12435 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12436 unclosed <[[, <?, comment, and other literals as extending to EOB.
12437 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12438 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12439 Remove functions.
12440 (rng-do-some-validation-1): Don't mark dependent regions.
12441 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12442 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12443 (nxml-clear-dependent-regions): Remove functions.
12444 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12445 (nxml-ensure-scan-up-to-date):
12446 Don't clear&mark dependent regions.
12447
12448 2013-05-15 Leo Liu <sdl.web@gmail.com>
12449
12450 * progmodes/octave.el (octave-goto-function-definition):
12451 Improve and fix callers.
12452
12453 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12454
12455 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12456 the setter (bug#14387).
12457
12458 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12459 surrounding group (bug#14402).
12460
12461 2013-05-14 Juri Linkov <juri@jurta.org>
12462
12463 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12464 (Bug#14390)
12465
12466 2013-05-14 Glenn Morris <rgm@gnu.org>
12467
12468 * progmodes/f90.el (f90-imenu-generic-expression):
12469 Fix typo in 2013-05-08 change. (Bug#14402)
12470
12471 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12472
12473 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12474 Remove signals for which replies are never received.
12475
12476 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12477
12478 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12479 (gdb-handler-alist, gdb-handler-number): Remove variables.
12480 (gdb-handler-list): New variable.
12481 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12482 (gdb-pending-handler-p, gdb-handle-reply)
12483 (gdb-remove-all-pending-triggers): New functions.
12484 (gdb-discard-unordered-replies): New defcustom.
12485 (gdb-handler): New defstruct.
12486 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12487 instead of gdb-pending-triggers. Update docstring.
12488 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12489 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12490 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12491 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12492 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12493 (gdb-frame-handler): Pending triggers are now automatically managed.
12494 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12495 Remove argument.
12496 (gdb-input): Automatically handles pending triggers. Update docstring.
12497 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12498 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12499 Update comments.
12500 (gdb-done-or-error): Now use gdb-handle-reply.
12501
12502 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12503
12504 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12505 gdb-debug-log.
12506
12507 2013-05-14 Glenn Morris <rgm@gnu.org>
12508
12509 * subr.el (user-emacs-directory-warning): New option.
12510 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12511
12512 2013-05-14 Leo Liu <sdl.web@gmail.com>
12513
12514 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12515 during redisplay.
12516 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12517 (octave-font-lock-texinfo-comment): Fix invalid search bound
12518 error: wrong side of point.
12519
12520 2013-05-14 Glenn Morris <rgm@gnu.org>
12521
12522 * progmodes/flymake.el (flymake-xml-program): New option.
12523 (flymake-xml-init): Use it.
12524
12525 * term/xterm.el: Provide a feature.
12526
12527 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12528
12529 2013-05-13 Glenn Morris <rgm@gnu.org>
12530
12531 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12532 Add compat aliases as a hack workaround. (Bug#14384)
12533
12534 2013-05-13 Leo Liu <sdl.web@gmail.com>
12535
12536 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12537 ###, and %!.
12538 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12539 C-M-q.
12540 (octave-comment-start-skip): Include %!.
12541 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12542
12543 2013-05-12 Leo Liu <sdl.web@gmail.com>
12544
12545 * progmodes/octave.el (inferior-octave-startup): Store the value
12546 of __octave_srcdir__ for octave-source-directories.
12547 (inferior-octave-check-process): New function refactored out of
12548 inferior-octave-send-list-and-digest.
12549 (octave-source-directories)
12550 (octave-find-definition-filename-function): New variables.
12551 (octave-source-directories)
12552 (octave-find-definition-default-filename): New functions.
12553 (octave-find-definition): Improve to find functions implemented in C++.
12554
12555 2013-05-12 Glenn Morris <rgm@gnu.org>
12556
12557 * calendar/diary-lib.el (diary-outlook-format-1):
12558 Don't include dayname in the output. (Bug#14349)
12559
12560 2013-05-11 Glenn Morris <rgm@gnu.org>
12561
12562 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12563
12564 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12565 Treat cc-provide like provide.
12566
12567 2013-05-11 Kevin Ryde <user42@zip.com.au>
12568
12569 * cus-dep.el (custom-make-dependencies):
12570 Use generated-autoload-load-name for the sake of files such
12571 such cedet/semantic/bovine/c.el, where the base file name
12572 is not in load-path. (Bug#5277)
12573
12574 2013-05-11 Glenn Morris <rgm@gnu.org>
12575
12576 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12577 Provide features.
12578
12579 2013-05-11 Leo Liu <sdl.web@gmail.com>
12580
12581 * progmodes/octave.el (octave-indent-comment): Improve.
12582 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12583 (octave-eldoc-function-signatures, octave-eldoc-function):
12584 New functions.
12585 (octave-mode, inferior-octave-mode): Add eldoc support.
12586
12587 2013-05-11 Richard Stallman <rms@gnu.org>
12588
12589 * epa.el (epa-decrypt-file): Take output file name as argument
12590 and read it using `interactive'.
12591
12592 2013-05-11 Leo Liu <sdl.web@gmail.com>
12593
12594 * progmodes/octave.el (octave-beginning-of-line)
12595 (octave-end-of-line): Check before using up-list because it jumps
12596 out of more syntactic contructs since moving to smie.
12597 (octave-indent-comment): New function.
12598 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12599 (octave-begin-keywords, octave-end-keywords)
12600 (octave-reserved-words, octave-smie-bnf-table)
12601 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12602
12603 2013-05-11 Glenn Morris <rgm@gnu.org>
12604
12605 * faces.el (internal-face-x-get-resource):
12606 * frame.el (ns-display-monitor-attributes-list):
12607 * calc/calc-aent.el (math-to-radians-2):
12608 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12609 Fix declarations.
12610
12611 * calc/calc-menu.el: Make it loadable in isolation.
12612
12613 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12614 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12615 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12616 (eudc-bbdb-query-internal): Require 'bbdb.
12617
12618 * lpr.el (lpr-headers-switches):
12619 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12620
12621 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12622
12623 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12624
12625 * term.el (term-set-escape-char): Make it idempotent.
12626
12627 2013-05-10 Leo Liu <sdl.web@gmail.com>
12628
12629 * progmodes/octave.el (inferior-octave-completion-table):
12630 No longer a function and all uses changed. Use cache to speed up
12631 completion due to bug#11906.
12632 (octave-beginning-of-defun): Re-write to be more general.
12633
12634 2013-05-10 Glenn Morris <rgm@gnu.org>
12635
12636 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12637
12638 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12639
12640 * comint.el (comint-redirect-send-command-to-process): Use :around
12641 rather than :override for comint-redirect-filter.
12642 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12643 Call it instead of comint-redirect-original-filter-function (which
12644 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12645
12646 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12647
12648 * frame.el (display-monitor-attributes-list): Add NS case.
12649 (ns-display-monitor-attributes-list): Declare.
12650
12651 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12652
12653 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12654
12655 2013-05-09 Glenn Morris <rgm@gnu.org>
12656
12657 * international/fontset.el (vertical-centering-font-regexp):
12658 Set standard-value.
12659
12660 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12661
12662 * bookmark.el (bookmark-search-delay):
12663 * cus-start.el (vertical-centering-font-regexp):
12664 * ps-mule.el (ps-mule-font-info-database-default):
12665 * ps-print.el (ps-default-fg, ps-default-bg):
12666 * type-break.el (type-break-good-break-interval):
12667 * whitespace.el (whitespace-indentation-regexp)
12668 (whitespace-space-after-tab-regexp):
12669 * emacs-lisp/testcover.el (testcover-1value-functions)
12670 (testcover-noreturn-functions, testcover-progn-functions)
12671 (testcover-prog1-functions):
12672 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12673 * eshell/em-glob.el (eshell-glob-translate-alist):
12674 * play/tetris.el (tetris-tty-colors):
12675 * progmodes/cpp.el (cpp-face-default-list):
12676 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12677 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12678 (idlwave-help-browser-generic-args):
12679 * progmodes/make-mode.el (makefile-special-targets-list):
12680 * progmodes/python.el (python-shell-virtualenv-path):
12681 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12682 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12683 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12684 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12685 * textmodes/reftex-vars.el (reftex-format-label-function):
12686 * textmodes/remember.el (remember-diary-file): Fix custom types.
12687
12688 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12689 Add :version.
12690
12691 2013-05-09 Leo Liu <sdl.web@gmail.com>
12692
12693 * progmodes/octave.el (inferior-octave-completion-at-point):
12694 Restore file completion. (Bug#14300)
12695 (inferior-octave-startup): Fix incorrect highlighting for the
12696 first prompt.
12697
12698 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12699
12700 * progmodes/ruby-mode.el: First cut at SMIE support.
12701 (ruby-use-smie): New var.
12702 (ruby-smie-grammar): New constant.
12703 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12704 (ruby-smie--forward-token, ruby-smie--backward-token)
12705 (ruby-smie-rules): New functions.
12706 (ruby-mode-variables): Setup SMIE if applicable.
12707
12708 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12709
12710 * simple.el (line-move-visual): Signal beginning/end of buffer
12711 only if vertical-motion moved less than it was requested. Avoids
12712 silly incorrect error messages when there are display strings with
12713 multiple newlines at EOL.
12714
12715 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12716
12717 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12718 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12719 (prolog-char-quote-workaround):
12720 * progmodes/cperl-mode.el (cperl-under-as-char):
12721 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12722 Mark as obsolete.
12723 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12724 their declaration.
12725 (vhdl-mode-syntax-table-init): Remove.
12726
12727 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12728 last change.
12729
12730 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12731 syntax for "_".
12732 (ld-script-font-lock-keywords):
12733 Change regexps to use things like \_< and \_>.
12734
12735 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12736 Change all regexps to use things like \_< and \_>.
12737
12738 * progmodes/autoconf.el (autoconf-definition-regexp)
12739 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12740 Handle a _ with symbol syntax.
12741 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12742
12743 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12744 Consolidate declaration.
12745 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12746 the declaration.
12747 (ada-create-syntax-table): Remove.
12748 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12749 already has the right syntax nowadays.
12750 (ada-goto-next-word): Don't change the syntax of "_".
12751
12752 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12753 with-wrapper-hook.
12754
12755 2013-05-08 Sam Steingold <sds@gnu.org>
12756
12757 * thingatpt.el (thing-at-point): Accept optional second argument
12758 NO-PROPERTIES to strip the text properties from the return value.
12759 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12760 to `thing-at-point' instead of stripping the properties ourselves.
12761 Also, when `thing-at-point' fails to find a url, prepend "http://"
12762 to the filename at point on the assumption that the user is
12763 pointing at something like gnu.org/gnu.
12764
12765 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12766
12767 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12768 * faces.el (crm-separator):
12769 Silence byte-compiler.
12770
12771 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12772 (tool-bar-map): Remove unneeded defvars.
12773
12774 2013-05-08 Leo Liu <sdl.web@gmail.com>
12775
12776 Re-work a fix for bug#10994 based on Le Wang's patch.
12777 * ido.el (ido-remove-consecutive-dups): New helper.
12778 (ido-completing-read): Use it.
12779 (ido-chop): Revert fix for bug#10994.
12780
12781 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12782
12783 * cus-edit.el (custom-save-variables):
12784 Pretty-print long values. (Bug#14187)
12785
12786 2013-05-08 Glenn Morris <rgm@gnu.org>
12787
12788 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12789 (m4-mode-syntax-table): Init in the defvar.
12790 (m4-mode-abbrev-table): Let define-derived-mode define it.
12791
12792 2013-05-08 Tom Tromey <tromey@redhat.com>
12793
12794 * progmodes/m4-mode.el (m4-mode-syntax-table):
12795 Do not treat "_" as word constituent. (Bug#14167)
12796
12797 2013-05-07 Glenn Morris <rgm@gnu.org>
12798
12799 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12800 Remove explicit eshell-isearch-cancel-map.
12801
12802 * progmodes/f90.el (f90-smart-end-names): New option.
12803 (f90-smart-end): Doc fix.
12804 (f90-end-block-optional-name): New constant.
12805 (f90-block-match): Respect f90-smart-end-names.
12806
12807 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12808
12809 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12810 about implicit semi-colons (bug#14218).
12811
12812 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12813
12814 * frame.el (display-monitor-attributes-list)
12815 (frame-monitor-attributes): New functions.
12816
12817 2013-05-06 Leo Liu <sdl.web@gmail.com>
12818
12819 * progmodes/octave.el (octave-syntax-propertize-function): Change
12820 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12821 (octave-font-lock-keywords): Use octave-operator-regexp.
12822 (octave-completion-at-point): Rename from
12823 octave-completion-at-point-function.
12824 (inferior-octave-directory-tracker): Robustify.
12825 (octave-text-functions): Remove and fix its uses. No such things
12826 any more.
12827
12828 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12829
12830 * emacs-lisp/trace.el (trace--display-buffer): New function.
12831 (trace-make-advice): Use it.
12832
12833 2013-05-06 Juri Linkov <juri@jurta.org>
12834
12835 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12836 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12837 Doc fix.
12838 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12839 in the help string. (Bug#12985)
12840
12841 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12842
12843 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12844
12845 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * progmodes/perl-mode.el: Add support for here documents.
12848 (perl-syntax-propertize-function): Match here-doc markers.
12849 (perl-syntax-propertize-special-constructs): Find their end.
12850 (perl-imenu-generic-expression): Use [:alnum:].
12851
12852 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12853 (advice--add-function): Refresh the advice if already present
12854 (bug#14317).
12855
12856 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12857
12858 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12859
12860 2013-05-06 Glenn Morris <rgm@gnu.org>
12861
12862 * w32-fns.el (w32-charset-info-alist): Declare.
12863
12864 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12865 of its defcustom properties.
12866 (eshell-cmpl-initialize): No need to load pcomplete.
12867
12868 * generic-x.el: No need to require comint when compiling.
12869
12870 * net/eudc-export.el: Make it loadable without bbdb.
12871 (top-level): Use require rather than load-library.
12872 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12873 (eudc-batch-export-records-to-bbdb)
12874 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12875 Require bbdb.
12876
12877 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12878
12879 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12880 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12881 some tweaks, instead.
12882
12883 2013-05-05 Leo Liu <sdl.web@gmail.com>
12884
12885 * progmodes/octave.el (octave-font-lock-keywords)
12886 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12887 (inferior-octave-send-list-and-digest): Improve error message.
12888 (octave-mode, inferior-octave-mode): Use setq-local.
12889 (octave-help): Set info-lookup-mode.
12890
12891 2013-05-05 Richard Stallman <rms@gnu.org>
12892
12893 * vc/compare-w.el (compare-windows-whitespace):
12894 Treat no-break space as whitespace.
12895
12896 * mail/rmailsum.el (rmail-summary-rmail-update):
12897 Detect empty summary and don't change selected message.
12898 (rmail-summary-goto-msg): Likewise.
12899
12900 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12901 Doc fixes, rename args.
12902
12903 2013-05-05 Alan Mackenzie <acm@muc.de>
12904
12905 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12906
12907 2013-05-05 Juri Linkov <juri@jurta.org>
12908
12909 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12910 to not add the length of the summary segment to the return value.
12911 (Bug#14125)
12912
12913 2013-05-05 Leo Liu <sdl.web@gmail.com>
12914
12915 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12916 (inferior-octave-output-filter): Remove.
12917 (octave-send-region, inferior-octave-startup): Fix callers.
12918 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12919 (octave-binary-file-extensions): New user variable.
12920 (octave-find-definition): Confirm if opening binary files.
12921 (octave-help-file): Use octave-find-definition to get the binary
12922 confirmation.
12923 (octave-help): Adjust for octave-help-file change.
12924
12925 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12926
12927 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12928 Merge the two entries that handle function definitions.
12929 (pascal--syntax-propertize): New const.
12930 (pascal-mode): Use it. Use setq-local.
12931
12932 2013-05-04 Glenn Morris <rgm@gnu.org>
12933
12934 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12935 (diary-from-outlook): Respect diary-from-outlook-function.
12936
12937 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12938
12939 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12940 Move the declaration from C.
12941 (read-minibuffer, eval-minibuffer): Move from C.
12942 (completion-setup-function): Avoid minibuffer-completion-contents.
12943
12944 2013-05-03 Leo Liu <sdl.web@gmail.com>
12945
12946 * progmodes/octave.el (octave-font-lock-keywords): Do not
12947 dehighlight 'end' in comments or strings.
12948 (octave-completing-read, octave-goto-function-definition):
12949 New helpers.
12950 (octave-help-buffer): New user variable.
12951 (octave-help-file, octave-help-function): New button types.
12952 (octave-help): New command and bind it to C-h ;.
12953 (octave-find-definition): New command and bind it to M-.
12954 (user-error): Alias to error if not defined.
12955
12956 2013-05-02 Leo Liu <sdl.web@gmail.com>
12957
12958 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12959 for \. (bug#14332)
12960 (octave-font-lock-keywords): Include [ and {.
12961
12962 2013-05-02 Leo Liu <sdl.web@gmail.com>
12963
12964 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12965 (inferior-octave): Remove calling comint-mode and return the buffer.
12966 (inferior-octave-startup): Cosmetic changes.
12967
12968 2013-05-02 Leo Liu <sdl.web@gmail.com>
12969
12970 * progmodes/octave.el (octave-syntax-propertize-function):
12971 Include the case when ' is at line beginning. (Bug#14336)
12972
12973 2013-05-02 Glenn Morris <rgm@gnu.org>
12974
12975 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12976 * desktop.el (vc-dir-mode): Just autoload it here.
12977
12978 2013-05-02 Alan Mackenzie <acm@muc.de>
12979
12980 Eliminate variable c-standard-font-lock-fontify-region-function.
12981 * progmodes/cc-mode.el
12982 (c-standard-font-lock-fontify-region-function): Remove.
12983 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12984
12985 2013-05-01 Leo Liu <sdl.web@gmail.com>
12986
12987 * progmodes/octave.el: Compatible with older emacs-24 releases.
12988 (inferior-octave-has-built-in-variables): Remove. Built-in
12989 variables were removed from Octave in 2007.
12990 (inferior-octave-startup): Fix uses.
12991 (comint-line-beginning-position): Remove compatibility code for
12992 emacs 21.
12993
12994 2013-05-01 Juri Linkov <juri@jurta.org>
12995
12996 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12997
12998 2013-05-01 Juri Linkov <juri@jurta.org>
12999
13000 * comint.el (comint-previous-matching-input): Don't print message
13001 "History item: %d" when `isearch-mode' is active.
13002 (comint-history-isearch-message): Print message "History item: %d"
13003 when `comint-input-ring-index' is not empty and this function is
13004 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13005
13006 2013-05-01 Leo Liu <sdl.web@gmail.com>
13007
13008 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13009 definitions. Use completion-at-point to insert keywords.
13010 (octave-abbrev-start): Remove.
13011 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13012
13013 2013-04-30 Leo Liu <sdl.web@gmail.com>
13014
13015 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13016 change.
13017
13018 2013-04-30 Alan Mackenzie <acm@muc.de>
13019
13020 Handle arbitrarily long C++ member initialisation lists.
13021 * progmodes/cc-engine.el (c-back-over-member-initializers):
13022 new function.
13023 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13024 (most) member init lists.
13025
13026 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13027
13028 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13029 variable.
13030
13031 2013-04-30 Leo Liu <sdl.web@gmail.com>
13032
13033 * progmodes/octave.el (octave-variables): Remove. No builtin
13034 variables any more. All converted to functions.
13035 (octave-font-lock-keywords, octave-completion-at-point-function):
13036 Fix uses.
13037 (octave-font-lock-texinfo-comment): New user variable.
13038 (octave-texinfo-font-lock-keywords): New variable for texinfo
13039 comment block.
13040 (octave-function-comment-block): New face.
13041 (octave-font-lock-texinfo-comment): New function.
13042 (octave-mode): Font lock texinfo comment block.
13043
13044 2013-04-29 Leo Liu <sdl.web@gmail.com>
13045
13046 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13047 indexing expression.
13048 (octave-continuation-string): Do not use \.
13049 (inferior-octave-complete-impossible): Remove.
13050 (inferior-octave-completion-table)
13051 (inferior-octave-completion-at-point): Remove its uses.
13052 (inferior-octave-startup): completion_matches was introduced to
13053 Octave in 1996 so safe to assume it.
13054 (octave-function-file-comment): Improve to follow how Octave does it.
13055 (octave-update-function-file-comment): Tweak.
13056
13057 2013-04-29 Leo Liu <sdl.web@gmail.com>
13058
13059 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13060 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13061 (octave-function-file-comment): Fix typo.
13062 (octave-sync-function-file-names): Use read-char-choice.
13063
13064 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13065
13066 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13067 to t for the less important warnings.
13068
13069 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13070
13071 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13072
13073 2013-04-27 Glenn Morris <rgm@gnu.org>
13074
13075 * vc/log-view.el (log-view-current-entry):
13076 Treat "---" separator lines as part of the following rev. (Bug#14169)
13077
13078 2013-04-27 Juri Linkov <juri@jurta.org>
13079
13080 * subr.el (read-number): Doc fix about using it by interactive
13081 code letter `n'. (Bug#14254)
13082
13083 2013-04-27 Juri Linkov <juri@jurta.org>
13084
13085 * desktop.el (desktop-auto-save-timeout): New option.
13086 (desktop-file-checksum): New variable.
13087 (desktop-save): Add optional arg `auto-save' and don't auto-save
13088 if nothing changed.
13089 (desktop-auto-save-timer): New variable.
13090 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13091 (after-init-hook): Call `desktop-auto-save-set-timer'.
13092 Suggested by Reuben Thomas <rrt@sc3d.org> in
13093 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13094
13095 2013-04-27 Leo Liu <sdl.web@gmail.com>
13096
13097 * progmodes/octave.el (octave-function-file-p)
13098 (octave-skip-comment-forward, octave-function-file-comment)
13099 (octave-update-function-file-comment): New functions.
13100 (octave-mode-map): Bind C-c ; to
13101 octave-update-function-file-comment.
13102 (octave-mode-menu): Add octave-update-function-file-comment.
13103 (octave-mode, inferior-octave-mode): Fix doc-string.
13104 (octave-insert-defun): Conform to Octave's coding convention.
13105 (Bug#14285)
13106
13107 * files.el (basic-save-buffer): Don't let errors in
13108 before-save-hook prevent saving buffer.
13109
13110 2013-04-20 Roland Winkler <winkler@gnu.org>
13111
13112 * faces.el (read-face-name): Use completing-read if arg multiple
13113 is nil.
13114
13115 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13116
13117 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13118 displayed, move point to after the totals line.
13119 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13120 for the details.
13121
13122 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13123
13124 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13125 Add current dir to the load-path.
13126 (package-generate-autoloads): Don't rely on
13127 autoload-ensure-default-file.
13128
13129 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13130
13131 * textmodes/remember.el (remember-store-in-files): Document that
13132 the file name format is passed to `format-time-string'.
13133
13134 2013-04-26 Leo Liu <sdl.web@gmail.com>
13135
13136 * progmodes/octave.el (octave-sync-function-file-names): New function.
13137 (octave-mode): Use it in before-save-hook.
13138
13139 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13140
13141 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13142 (bug#14274).
13143
13144 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13145 \n and comment, even if it's not an implicit ; (bug#14218).
13146
13147 2013-04-26 Glenn Morris <rgm@gnu.org>
13148
13149 * subr.el (read-number): Once more use `read' rather than
13150 `string-to-number', to trap non-numeric input. (Bug#14254)
13151
13152 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13153
13154 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13155 Use `syntax-multiline' text property consistently instead of
13156 `font-lock-multiline'. (Bug#14237)
13157
13158 2013-04-26 Glenn Morris <rgm@gnu.org>
13159
13160 * emacs-lisp/shadow.el (list-load-path-shadows):
13161 No longer necessary to check for duplicate simple.el, since
13162 2012-07-07 change to init_lread to not include installation lisp
13163 directories in load-path when running uninstalled. (Bug#14270)
13164
13165 2013-04-26 Leo Liu <sdl.web@gmail.com>
13166
13167 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13168 (octave-mode, inferior-octave-mode): Use setq-local.
13169 (octave-not-in-string-or-comment-p): Rename to
13170 octave-in-string-or-comment-p.
13171 (octave-in-comment-p, octave-in-string-p)
13172 (octave-in-string-or-comment-p): Replace defsubst with defun.
13173
13174 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13175
13176 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13177
13178 2013-04-25 Bastien Guerry <bzg@gnu.org>
13179
13180 * textmodes/remember.el (remember-data-directory)
13181 (remember-directory-file-name-format): Fix custom types.
13182
13183 2013-04-25 Leo Liu <sdl.web@gmail.com>
13184
13185 * progmodes/octave.el (octave-completion-at-point-function):
13186 Make use of inferior octave process.
13187 (octave-initialize-completions): Remove.
13188 (inferior-octave-completion-table): New function.
13189 (inferior-octave-completion-at-point): Use it.
13190 (octave-completion-alist): Remove.
13191
13192 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13195 (opascal-mode-syntax-table): New var.
13196 (opascal-literal-kind, opascal-is-literal-end)
13197 (opascal-literal-token-at): Rewrite.
13198 (opascal--literal-start-re, opascal-font-lock-keywords)
13199 (opascal--syntax-propertize): New constants.
13200 (opascal-font-lock-defaults): Adjust.
13201 (opascal-mode): Use them. Set comment-<foo> variables as well.
13202 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13203 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13204 (delphi-other-face, opascal-other-face): Remove face variables.
13205 (opascal-save-state): Remove macro.
13206 (opascal-fontifying-progress-step): Remove constant.
13207 (opascal--ignore-changes): Remove var.
13208 (opascal-set-token-property, opascal-parse-next-literal)
13209 (opascal-is-stable-literal, opascal-complete-literal)
13210 (opascal-is-literal-start, opascal-face-of)
13211 (opascal-parse-region, opascal-parse-region-until-stable)
13212 (opascal-fontify-region, opascal-after-change)
13213 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13214 (opascal-debug-parse-region, opascal-debug-parse-window)
13215 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13216 (opascal-debug-fontify-buffer): Remove.
13217 (opascal-debug-mode-map): Adjust accordingly.
13218
13219 2013-04-25 Leo Liu <sdl.web@gmail.com>
13220
13221 Merge octave-mod.el and octave-inf.el into octave.el with some
13222 cleanups.
13223 * progmodes/octave.el: New file renamed from octave-mod.el.
13224 * progmodes/octave-inf.el: Merged into octave.el.
13225 * progmodes/octave-mod.el: Renamed to octave.el.
13226
13227 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13228
13229 * textmodes/reftex-vars.el
13230 (reftex-label-ignored-macros-and-environments): New defcustom.
13231
13232 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13233
13234 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13235
13236 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13237 (smie-indent-keyword): Improve the check to ensure that the next
13238 comment is really on the same line.
13239 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13240
13241 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13242 semi-colons if the line is not otherwise empty (bug#14218).
13243
13244 2013-04-25 Glenn Morris <rgm@gnu.org>
13245
13246 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13247
13248 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13249
13250 * progmodes/opascal.el (opascal-set-token-property): Rename from
13251 opascal-set-text-properties and only set `token' (bug#14134).
13252 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13253 (opascal-literal-text-properties): Remove.
13254 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13255 Adjust callers.
13256
13257 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13258
13259 * textmodes/remember.el (remember-handler-functions): Add an
13260 option for a new handler `remember-store-in-files'.
13261 (remember-data-directory, remember-directory-file-name-format):
13262 New options.
13263 (remember-store-in-files): New function to store remember notes
13264 as separate files within a directory.
13265
13266 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13267
13268 * progmodes/compile.el (compilation-next-error-function):
13269 Pass "formats" to compilation-find-file (bug#11777).
13270
13271 2013-04-24 Glenn Morris <rgm@gnu.org>
13272
13273 * vc/vc-bzr.el (vc-bzr-print-log):
13274 * vc/vc-hg.el (vc-hg-print-log):
13275 * vc/vc-svn.el (vc-svn-print-log):
13276 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13277
13278 * vc/vc-bzr.el (vc-bzr-print-log):
13279 * vc/vc-cvs.el (vc-cvs-print-log):
13280 * vc/vc-git.el (vc-git-print-log):
13281 * vc/vc-hg.el (vc-hg-print-log):
13282 * vc/vc-mtn.el (vc-mtn-print-log):
13283 * vc/vc-rcs.el (vc-rcs-print-log):
13284 * vc/vc-sccs.el (vc-sccs-print-log):
13285 * vc/vc-svn.el (vc-svn-print-log):
13286 * vc/vc.el (vc-print-log-internal): Doc fixes.
13287
13288 2013-04-23 Glenn Morris <rgm@gnu.org>
13289
13290 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13291 Remove venerable code attempting to avoid substitute-command-keys.
13292
13293 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13294
13295 * textmodes/reftex-vars.el (reftex-label-regexps):
13296 Call `reftex-compile-variables' after changes to this variable.
13297
13298 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13299
13300 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13301 Use lexical-binding.
13302 (jit-lock-force-redisplay): Use markers, check buffer's continued
13303 existence and beware narrowed buffers.
13304 (jit-lock-fontify-now): Adjust call accordingly.
13305
13306 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13307
13308 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13309 to avoid misleading the user.
13310
13311 2013-04-22 Leo Liu <sdl.web@gmail.com>
13312
13313 * info-look.el: Prefer latex2e.info. (Bug#14240)
13314
13315 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13316
13317 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13318
13319 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13320 * net/tramp.el (tramp-call-process): ... here.
13321 (tramp-set-completion-function, tramp-parse-putty):
13322 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13323 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13324 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13325 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13326 (tramp-call-local-coding-command): Use `tramp-call-process'
13327 instead of `tramp-compat-call-process'.
13328
13329 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13330 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13331 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13332 (tramp-find-inline-compress): Improve traces.
13333 (tramp-maybe-send-script): Check for Perl binary.
13334 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13335
13336 2013-04-22 Daiki Ueno <ueno@gnu.org>
13337
13338 * epg.el (epg-context-pinentry-mode): New function.
13339 (epg-context-set-pinentry-mode): New function.
13340 (epg--start): Pass --pinentry-mode option to gpg command.
13341
13342 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13343
13344 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13345 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13346 `completion-at-point'. (Bug#13774)
13347
13348 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13349 default key binding for `describe-distribution' has been moved to
13350 `C-h C-o'. (Bug#13970)
13351
13352 2013-04-21 Glenn Morris <rgm@gnu.org>
13353
13354 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13355 Add doc strings.
13356 (vc-print-log): Clarify interactive prompt.
13357
13358 2013-04-20 Glenn Morris <rgm@gnu.org>
13359
13360 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13361 No longer include timestamp etc information.
13362
13363 2013-04-20 Roland Winkler <winkler@gnu.org>
13364
13365 * faces.el (read-face-name): Bug fix, return just one face if arg
13366 multiple is nil. (Bug#14209)
13367
13368 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13369
13370 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13371 (remove-function): Autoload.
13372
13373 * comint.el (comint-redirect-original-filter-function): Remove.
13374 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13375 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13376 (vc-cvs-annotate-command):
13377 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13378 * progmodes/prolog.el (prolog-consult-compile):
13379 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13380 Use add/remove-function instead.
13381 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13382 (gud-tooltip-process-output, gud-tooltip-tips):
13383 Use add/remove-function instead.
13384 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13385 (scheme-interaction-mode, exit-scheme-interaction-mode):
13386 Use add/remove-function instead.
13387
13388 * vc/vc-dispatcher.el: Use lexical-binding.
13389 (vc--process-sentinel): Rename from vc-process-sentinel.
13390 Change last arg to be the code to run. Don't use vc-previous-sentinel
13391 and vc-sentinel-commands any more.
13392 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13393 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13394
13395 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13396
13397 * progmodes/sh-script.el (sh-imenu-generic-expression):
13398 Handle function names with a single character. (Bug#14111)
13399
13400 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13401
13402 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13403 for subroutines defined in an eval (bug#14182).
13404
13405 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13406
13407 * bookmark.el (bookmark-completing-read): Improve handling of empty
13408 string (bug#14176).
13409
13410 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13411
13412 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13413
13414 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13415
13416 New faster Imenu implementation (bug#14058).
13417 * progmodes/python.el:
13418 (python-imenu-prev-index-position):
13419 (python-imenu-format-item-label-function)
13420 (python-imenu-format-parent-item-label-function)
13421 (python-imenu-format-parent-item-jump-label-function):
13422 New vars.
13423 (python-imenu-format-item-label)
13424 (python-imenu-format-parent-item-label)
13425 (python-imenu-format-parent-item-jump-label)
13426 (python-imenu--put-parent, python-imenu--build-tree)
13427 (python-imenu-create-index, python-imenu-create-flat-index)
13428 (python-util-popn): New functions.
13429 (python-mode): Set imenu-create-index-function to
13430 python-imenu-create-index.
13431
13432 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13433
13434 * winner.el (winner-active-region): Use region-active-p, activate-mark
13435 and deactivate-mark (bug#14225).
13436
13437 * simple.el (deactivate-mark): Don't inline it.
13438
13439 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13440
13441 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13442
13443 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13444
13445 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13446 file extensions from the archive-mode entry in order to prefer
13447 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13448
13449 2013-04-18 Leo Liu <sdl.web@gmail.com>
13450
13451 * bindings.el (help-event-list): Add ?\?.
13452
13453 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13454
13455 * subr.el (with-wrapper-hook): Declare obsolete.
13456 * simple.el (filter-buffer-substring-function): New hook.
13457 (filter-buffer-substring): Use it.
13458 (filter-buffer-substring-functions): Mark obsolete.
13459 * minibuffer.el (completion-in-region-function): New hook.
13460 (completion-in-region): Use it.
13461 (completion-in-region-functions): Mark obsolete.
13462 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13463 * abbrev.el (abbrev-expand-function): New hook.
13464 (expand-abbrev): Use it.
13465 (abbrev-expand-functions): Mark obsolete.
13466 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13467 and :filter-return.
13468
13469 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13470
13471 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13472 and do not care about match data.
13473
13474 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13475
13476 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13477 completion tables when completing error conditions and
13478 `declare' arguments.
13479 (lisp-complete-symbol, field-complete): Mark as obsolete.
13480 (check-parens): Unmatched parens are user errors.
13481 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13482
13483 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13484
13485 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13486 command changed buffer (ie. `flyspell-pre-buffer' is not current
13487 buffer), which prevents making decisions based on invalid value of
13488 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13489 cause an error when `flyspell-pre-point' was nil after switching
13490 buffers.
13491 (flyspell-post-command-hook): No longer needs to change buffers when
13492 checking pre-word. While at it remove unnecessary progn.
13493
13494 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13495
13496 * textmodes/ispell.el (ispell-add-per-file-word-list):
13497 Fix `flyspell-correct-word-before-point' error when accepting
13498 words and `coment-padding' is an integer by using
13499 `comment-normalize-vars' (Bug #14214).
13500
13501 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13502
13503 New defun movement commands.
13504 * progmodes/python.el (python-nav--syntactically)
13505 (python-nav--forward-defun, python-nav-backward-defun)
13506 (python-nav-forward-defun): New functions.
13507
13508 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13509
13510 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13511 (python-syntax-context): Use named compiler-macro for backwards
13512 compatibility with Emacs 24.x.
13513
13514 2013-04-17 Leo Liu <sdl.web@gmail.com>
13515
13516 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13517 octave-hide-process-buffer.
13518
13519 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13520
13521 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13522 (bug#14216).
13523
13524 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13525
13526 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13527 Fix adjustment of offset when receiving incomplete responses from GDB
13528 (bug#14129).
13529
13530 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13531
13532 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13533 python-mode-abbrev-table.
13534 (python-skeleton-define): Adjust accordingly.
13535 (python-mode-abbrev-table): New table that inherits from it so that
13536 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13537
13538 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13539 (abbrev-symbol): Use it.
13540 (abbrev--before-point): Use it since we already handle inheritance.
13541
13542 2013-04-16 Leo Liu <sdl.web@gmail.com>
13543
13544 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13545 binding to info-lookup-symbol.
13546
13547 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13548
13549 * minibuffer.el (completion--twq-all):
13550 * term/ns-win.el (ns-initialize-window-system):
13551 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13552
13553 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13554
13555 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13556 global bindings.
13557
13558 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13559
13560 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13561
13562 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13563 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13564 to nil.
13565 (ruby-end-of-defun): Remove the unused arg, change the docstring
13566 to reflect that this function is only used as the value of
13567 `end-of-defun-function'.
13568 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13569 to reflect an earlier change that beginning/end-of-defun functions
13570 jump between methods in a class definition, as well as top-level
13571 functions.
13572
13573 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13574
13575 * minibuffer.el (minibuffer-complete): Don't just scroll
13576 a *Completions* that's been iconified.
13577 (minibuffer-force-complete): Make sure repetitions do cycle when going
13578 through completion-in-region -> minibuffer-complete.
13579
13580 2013-04-15 Alan Mackenzie <acm@muc.de>
13581
13582 Correct the placement of c-cpp-delimiters when there're #s not at
13583 col 0.
13584
13585 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13586 place a submatch around the #.
13587 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13588 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13589 on the #, not BOL.
13590
13591 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13592
13593 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13594 (advice--member-p): New arg `name'.
13595 (advice--add-function, advice-member-p): Use it (bug#14202).
13596
13597 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13598
13599 Reformulate java imenu-generic-expression.
13600 The old expression contained ill formed regexps.
13601
13602 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13603 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13604 (cc-imenu-java-method-arg-regexp): New defconsts.
13605 (cc-imenu-java-build-type-args-regex): New defun.
13606 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13607 handling of spaces in the regexp.
13608
13609 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13610
13611 * textmodes/ispell.el (ispell-command-loop): Remove
13612 flyspell highlight of a word when ispell accepts it (bug #14178).
13613
13614 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13615
13616 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13617 uses code from the previous `ange-ftp-run-real-handler'.
13618 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13619 only in case that function exist. This is needed for proper
13620 unloading of Tramp.
13621
13622 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13623
13624 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13625
13626 * textmodes/reftex.el (reftex-compile-variables): Use it.
13627
13628 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13629
13630 * files.el (normal-mode): Only use default major-mode if no other mode
13631 was specified.
13632
13633 * emacs-lisp/trace.el (trace-values): New function.
13634
13635 * files.el: Allow : in local variables (bug#14089).
13636 (hack-local-variable-regexp): New var.
13637 (hack-local-variables-prop-line, hack-local-variables): Use it.
13638
13639 2013-04-13 Roland Winkler <winkler@gnu.org>
13640
13641 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13642 data before it gets modified by bibtex-beginning-of-entry.
13643
13644 2013-04-13 Roland Winkler <winkler@gnu.org>
13645
13646 * textmodes/bibtex.el (bibtex-url): Doc fix.
13647
13648 2013-04-13 Roland Winkler <winkler@gnu.org>
13649
13650 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13651 does not visit a BibTeX file, exclude it from the list of buffers
13652 returned by bibtex-initialize.
13653
13654 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13655
13656 * window.el (split-window): Remove interactive form, since as a
13657 command this function is a special case of split-window-below.
13658 Correct doc string.
13659
13660 2013-04-12 Roland Winkler <winkler@gnu.org>
13661
13662 * faces.el (read-face-name): Do not override value of arg default.
13663 Allow single faces and strings as default values. Remove those
13664 elements from return value that are not faces.
13665 (describe-face): Simplify.
13666 (face-at-point): New optional args thing and multiple so that this
13667 function can provide the same functionality previously provided by
13668 read-face-name.
13669 (make-face-bold, make-face-unbold, make-face-italic)
13670 (make-face-unitalic, make-face-bold-italic, invert-face)
13671 (modify-face, read-face-and-attribute): Use face-at-point.
13672
13673 * cus-edit.el (customize-face, customize-face-other-window)
13674 * cus-theme.el (custom-theme-add-face)
13675 * face-remap.el (buffer-face-set)
13676 * facemenu.el (facemenu-set-face): Use face-at-point.
13677
13678 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13679
13680 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13681
13682 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13683
13684 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13685 off leading { and trailing } from field values.
13686
13687 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13688
13689 * emacs-lisp/timer.el (timer--check): New function.
13690 (timer--time, timer-set-function, timer-event-handler): Use it.
13691 (timer-set-idle-time): Simplify.
13692 (timer--activate): CSE.
13693 (timer-event-handler): Give more info in error message.
13694 (internal-timer-start-idle): New function, moved from C.
13695
13696 * mpc.el (mpc-proc): Add `restart' argument.
13697 (mpc-proc-cmd): Use it.
13698 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13699 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13700 less often.
13701
13702 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13703
13704 * progmodes/sh-script.el: Implement `sh-mode' own
13705 `add-log-current-defun-function' (bug#14112).
13706 (sh-current-defun-name): New function.
13707 (sh-mode): Use the function.
13708
13709 2013-04-09 Bastien Guerry <bzg@gnu.org>
13710
13711 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13712
13713 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13714
13715 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13716
13717 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13718 timer (bug#14156).
13719
13720 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13721
13722 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13723 declaration.
13724
13725 2013-04-07 Leo Liu <sdl.web@gmail.com>
13726
13727 * pcmpl-x.el: New file.
13728
13729 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13730
13731 Do not set x-display-name until X connection is established.
13732 This is needed to prevent from weird situation described at
13733 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13734 * frame.el (make-frame): Set x-display-name after call to
13735 window system initialization function, not before.
13736 * term/x-win.el (x-initialize-window-system): Add optional
13737 display argument and use it.
13738 * term/w32-win.el (w32-initialize-window-system):
13739 * term/ns-win.el (ns-initialize-window-system):
13740 * term/pc-win.el (msdos-initialize-window-system):
13741 Add compatible optional display argument.
13742
13743 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13744
13745 * files.el (normal-backup-enable-predicate): On MS-Windows and
13746 MS-DOS compare truenames of temporary-file-directory and of the
13747 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13748 don't fail comparison by compare-strings. Also, compare file
13749 names case-insensitively on MS-Windows and MS-DOS.
13750
13751 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13752
13753 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13754 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13755
13756 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13757
13758 * whitespace.el (whitespace-color-on, whitespace-color-off):
13759 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13760
13761 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13762
13763 * ispell.el (ispell-set-spellchecker-params):
13764 Really set `ispell-args' for all equivs.
13765
13766 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13767
13768 * ido.el (ido-completions): Use extra elements of ido-decorations
13769 (bug#14143).
13770 (ido-decorations): Update docstring.
13771
13772 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13773
13774 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13775 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13776 nil during initialization, in order not to miss changes since the
13777 file was opened. (Bug#14140)
13778
13779 2013-04-05 Leo Liu <sdl.web@gmail.com>
13780
13781 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13782
13783 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13784
13785 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13786
13787 2013-04-04 Glenn Morris <rgm@gnu.org>
13788
13789 * electric.el (electric-pair-inhibit-predicate): Add :version.
13790
13791 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13792
13793 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13794 when a package is required several times (bug#14082).
13795
13796 2013-04-04 Roland Winkler <winkler@gnu.org>
13797
13798 * faces.el (read-face-name): Behave as promised by the docstring.
13799 Assume that arg default is a list of faces.
13800 (describe-face): Call read-face-name with list of default faces.
13801
13802 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13803
13804 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13805 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13806 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13807 the header.
13808 (bookmark-exit-hook-internal): Save even if list is empty.
13809
13810 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13811
13812 * emacs-lisp/package.el (package-pinned-packages): New var.
13813 (package--add-to-archive-contents): Obey it (bug#14118).
13814
13815 2013-04-03 Alan Mackenzie <acm@muc.de>
13816
13817 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13818 Also adapt to the new values of element 7 of a parse state.
13819
13820 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13821 parameter `not-in-delimiter'. Handle being inside comment opener.
13822 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13823 character in case we're typing a '*' after a '/'.
13824 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13825 instead by passing the parameter to c-state-pp-to-literal.
13826
13827 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13828 for elt. 7 of a parse state.
13829
13830 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13831
13832 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13833 * international/latin1-disp.el, international/mule-util.el:
13834 * language/cyril-util.el, language/european.el, language/ind-util.el:
13835 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13836 * language/tibetan.el, language/viet-util.el:
13837 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13838
13839 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13840
13841 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13842 (electric-pair-post-self-insert-function): Use it.
13843 (electric-pair-default-inhibit): New function, extracted from
13844 electric-pair-post-self-insert-function.
13845
13846 2013-03-31 Roland Winkler <winkler@gnu.org>
13847
13848 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13849
13850 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13851
13852 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13853
13854 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13855
13856 Un-indent after "pass" and "return" statements (Bug#13888)
13857 * progmodes/python.el (python-indent-block-enders): New var.
13858 (python-indent-calculate-indentation): Use it.
13859
13860 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13861
13862 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13863 defun. Defining it as defalias could introduce too eager
13864 byte-compiler optimization. (Bug#14030)
13865
13866 2013-03-30 Chong Yidong <cyd@gnu.org>
13867
13868 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13869
13870 2013-03-30 Leo Liu <sdl.web@gmail.com>
13871
13872 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13873 (kmacro-execute-from-register): Pass the keyboard macro to
13874 kmacro-call-macro or repeating won't work correctly.
13875
13876 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13877
13878 * progmodes/subword.el: Back to using `forward-symbol'.
13879
13880 * subr.el (forward-whitespace, forward-symbol)
13881 (forward-same-syntax): Move from thingatpt.el.
13882
13883 2013-03-29 Leo Liu <sdl.web@gmail.com>
13884
13885 * kmacro.el (kmacro-to-register): New command.
13886 (kmacro-execute-from-register): New function.
13887 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13888
13889 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13890
13891 * mpc.el: Use defvar-local and setq-local.
13892 (mpc--proc-connect): Connection failures are not bugs.
13893 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13894 (mpc-volume-map): Bind to the up-events.
13895
13896 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13897
13898 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13899 instead of `forward-symbol'.
13900
13901 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13902
13903 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13904 (edebug--recursive-edit): Use it.
13905 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13906 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13907
13908 2013-03-28 Leo Liu <sdl.web@gmail.com>
13909
13910 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13911
13912 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13913
13914 * facemenu.el (list-colors-callback): New defvar.
13915 (list-colors-redisplay): New function.
13916 (list-colors-display): Install list-colors-redisplay as the
13917 revert-buffer-function. (Bug#14063)
13918
13919 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13920
13921 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13922 and suffixes don't overlap (bug#14061).
13923
13924 * case-table.el: Use lexical-binding.
13925 (case-table-get-table): New function.
13926 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13927
13928 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13929
13930 * progmodes/subword.el: Add `superword-mode' to do word motion
13931 over symbol_words (parallels and leverages `subword-mode' which
13932 does word motion inside MixedCaseWords).
13933
13934 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13935
13936 * eshell/em-unix.el: Move su and sudo to...
13937 * eshell/em-tramp.el: ...Eshell tramp module.
13938
13939 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13940
13941 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13942 Change return value to be a sexp. Delay `get-buffer' to after
13943 restoring the desktop (bug#13951).
13944
13945 2013-03-26 Leo Liu <sdl.web@gmail.com>
13946
13947 * register.el: Move semantic tag handling back to
13948 cedet/semantic/senator.el. (Bug#14052)
13949
13950 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13951
13952 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13953 into the prompt either (bug#13963).
13954
13955 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13956
13957 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13958 part of "(error-foo)".
13959
13960 2013-03-24 Juri Linkov <juri@jurta.org>
13961
13962 * replace.el (list-matching-lines-prefix-face): New defcustom.
13963 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13964 `occur-engine' if `face-differs-from-default-p' returns t.
13965 (occur-engine): Add `,' inside backquote construct to evaluate
13966 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13967 Pass `prefix-face' to the functions `occur-context-lines' and
13968 `occur-engine-add-prefix'.
13969 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13970 `prefix-face' and propertize the prefix with `prefix-face'.
13971 (Bug#14017)
13972
13973 2013-03-24 Leo Liu <sdl.web@gmail.com>
13974
13975 * nxml/rng-valid.el (rng-validate-while-idle)
13976 (rng-validate-quick-while-idle): Guard against deleted buffer.
13977 (Bug#13999)
13978
13979 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13980 is the last entry in kill-buffer-hook.
13981
13982 * files.el (kill-buffer-hook): Doc fix.
13983
13984 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13985
13986 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13987 Make it safe-local.
13988
13989 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13990
13991 2013-03-23 Leo Liu <sdl.web@gmail.com>
13992
13993 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13994 Remove.
13995
13996 * nxml/rng-valid.el (rng-validate-mode)
13997 (rng-after-change-function, rng-do-some-validation):
13998 * nxml/rng-maint.el (rng-validate-buffer):
13999 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14000 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14001 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14002 (nxml-extend-after-change-region): Use with-silent-modifications.
14003
14004 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14005 timer-idle-list.
14006
14007 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14008 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14009 timer-idle-list. (Bug#13999)
14010
14011 2013-03-23 Juri Linkov <juri@jurta.org>
14012
14013 * info.el (info-index-match): New face.
14014 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14015 main pattern and add text properties with the new face to matches
14016 in index entries relative to the beginning of the index entry.
14017 (Bug#14015)
14018
14019 2013-03-21 Eric Ludlam <zappo@gnu.org>
14020
14021 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14022 Inhibit read only while inserting objects.
14023
14024 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14025
14026 * progmodes/cfengine.el: Update docs to mention
14027 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14028 symbol motion. Remove "_" from the word syntax.
14029
14030 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14031
14032 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14033 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14034
14035 2013-03-20 Juri Linkov <juri@jurta.org>
14036
14037 * info.el (Info-next-reference-or-link)
14038 (Info-prev-reference-or-link): New functions.
14039 (Info-next-reference, Info-prev-reference): Use them.
14040 (Info-try-follow-nearest-node): Handle footnote navigation.
14041 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14042
14043 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14044
14045 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14046 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14047
14048 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14049
14050 Suppress unnecessary non-ASCII chatter during build process.
14051 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14052 (batch-skkdic-convert): Suppress most of the chatter.
14053 It's not needed so much now that machines are faster,
14054 and its non-ASCII component was confusing; see Dmitry Gutov in
14055 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14056
14057 2013-03-20 Leo Liu <sdl.web@gmail.com>
14058
14059 * ido.el (ido-chop): Fix bug#10994.
14060
14061 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14062
14063 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14064 Remove vars.
14065 (whitespace-color-on, whitespace-color-off):
14066 Use `font-lock-fontify-buffer' (Bug#13817).
14067
14068 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14069
14070 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14071 remapping in mode-line.
14072 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14073
14074 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14075
14076 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14077 value for `whitespace-line' face (Bug#13875).
14078 (whitespace-font-lock-keywords): Change description.
14079 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14080 the constructed keywords instead.
14081 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14082
14083 2013-03-19 Leo Liu <sdl.web@gmail.com>
14084
14085 * progmodes/compile.el (compilation-display-error): New command.
14086 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14087 C-o. (Bug#13992)
14088
14089 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14090
14091 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14092
14093 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14094
14095 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14096
14097 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14098
14099 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14100
14101 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14102 * net/tramp-gvfs.el (top):
14103 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14104 (tramp-handle-shell-command): Use it.
14105 (tramp-dissect-file-name): Raise an error when hostname is a
14106 method name, and neither method nor user is specified.
14107
14108 * net/trampver.el: Update release number.
14109
14110 2013-03-18 Leo Liu <sdl.web@gmail.com>
14111
14112 Make sure eldoc can be turned off properly.
14113 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14114 eldoc-mode.
14115 (eldoc-display-message-p): Revert last change.
14116 (eldoc-display-message-no-interference-p)
14117 (eldoc-print-current-symbol-info): Tweak.
14118
14119 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14120
14121 * doc-view.el (doc-view-new-window-function): Check the new window
14122 overlay's display property instead the char property of the
14123 buffer's first char. Use `with-selected-window' instead of
14124 `save-window-excursion' with `select-window'.
14125 (doc-view-document->bitmap): Check the current doc-view overlay's
14126 display property instead the char property of the buffer's first char.
14127
14128 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14129
14130 Automate the build of ja-dic.el (Bug#13984).
14131 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14132 from the input, rather than assume that it's been done for us by the
14133 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14134 the current date into a ja-dic.el comment, as that complicates
14135 regression testing.
14136
14137 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14138
14139 * whitespace.el: Fix double evaluation.
14140 (whitespace-space, whitespace-hspace, whitespace-tab)
14141 (whitespace-newline, whitespace-trailing, whitespace-line)
14142 (whitespace-space-before-tab, whitespace-indentation)
14143 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14144 obsolete defvars.
14145 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14146 (whitespace-color-on): Use a single font-lock-add-keywords call.
14147 Fix double-evaluation of face variables.
14148
14149 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14150
14151 * net/tramp-adb.el (tramp-adb-parse-device-names):
14152 Use `start-process' instead of `call-process'. Otherwise, the
14153 function might be blocked under MS Windows. (Bug#13299)
14154
14155 2013-03-17 Leo Liu <sdl.web@gmail.com>
14156
14157 Extend eldoc to display info in the mode-line. (Bug#13978)
14158 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14159 (eldoc-mode-line-string): New variable.
14160 (eldoc-minibuffer-message): New function.
14161 (eldoc-message-function): New variable.
14162 (eldoc-message): Use it.
14163 (eldoc-display-message-p)
14164 (eldoc-display-message-no-interference-p):
14165 Support eldoc-post-insert-mode.
14166
14167 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14168 (eval-expression): Run it.
14169
14170 2013-03-17 Roland Winkler <winkler@gnu.org>
14171
14172 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14173 strings in the list of return values.
14174
14175 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14176
14177 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14178 radix before checking for HMS forms.
14179
14180 2013-03-16 Leo Liu <sdl.web@gmail.com>
14181
14182 * progmodes/scheme.el: Add indentation and font-locking for λ.
14183 (Bug#13975)
14184
14185 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14186
14187 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14188 token before point (bug#13942).
14189
14190 2013-03-16 Leo Liu <sdl.web@gmail.com>
14191
14192 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14193
14194 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14195
14196 * startup.el (command-line-normalize-file-name): Fix handling of
14197 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14198 <xfq.free@gmail.com> in
14199 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14200
14201 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14202
14203 Sync with Tramp 2.2.7.
14204
14205 * net/trampver.el: Update release number.
14206
14207 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14208
14209 * doc-view.el: Fix bug#13887.
14210 (doc-view-insert-image): Don't modify overlay associated to
14211 non-live windows, and implement horizontal centering of image in
14212 case it's smaller than the window.
14213 (doc-view-new-window-function): Force redisplay of new windows on
14214 doc-view buffers.
14215
14216 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14217
14218 * saveplace.el (save-place-alist-to-file): Don't sort
14219 `save-place-alist', just pretty-print it (bug#13882).
14220
14221 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14222
14223 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14224 Check whether `default-file-name-coding-system' is bound.
14225 It isn't in XEmacs.
14226
14227 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14228
14229 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14230 backquotes for `obsolete' (bug#13929).
14231
14232 * international/mule.el (find-auto-coding): Include file name in
14233 obsolescence warning (bug#13922).
14234
14235 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14236
14237 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14238 for CFEngine 3-specific indentation.
14239 (cfengine3-indent-line): Use it. Fix up category regex.
14240 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14241
14242 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 * type-break.el (type-break-file-name):
14245 * textmodes/remember.el (remember-data-file):
14246 * strokes.el (strokes-file):
14247 * shadowfile.el (shadow-initialize):
14248 * saveplace.el (save-place-file):
14249 * ps-bdf.el (bdf-cache-file):
14250 * progmodes/idlwave.el (idlwave-config-directory):
14251 * net/quickurl.el (quickurl-url-file):
14252 * international/kkc.el (kkc-init-file-name):
14253 * ido.el (ido-save-directory-list-file):
14254 * emulation/viper.el (viper-custom-file-name):
14255 * emulation/vip.el (vip-startup-file):
14256 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14257 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14258
14259 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14260
14261 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14262 * language/thai-word.el: Switch to UTF-8.
14263
14264 See ChangeLog.16 for earlier changes.
14265
14266 ;; Local Variables:
14267 ;; coding: utf-8
14268 ;; End:
14269
14270 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14271
14272 This file is part of GNU Emacs.
14273
14274 GNU Emacs is free software: you can redistribute it and/or modify
14275 it under the terms of the GNU General Public License as published by
14276 the Free Software Foundation, either version 3 of the License, or
14277 (at your option) any later version.
14278
14279 GNU Emacs is distributed in the hope that it will be useful,
14280 but WITHOUT ANY WARRANTY; without even the implied warranty of
14281 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14282 GNU General Public License for more details.
14283
14284 You should have received a copy of the GNU General Public License
14285 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.