Backport Yeeloong battery.el fix from trunk
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-23 Richard Stallman <rms@gnu.org>
2
3 * battery.el (battery-linux-sysfs): Search for each field
4 from the beginning of the buffer.
5
6 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
7
8 * emacs-lisp/package.el (package-desc): Use the contents of the
9 quoted form, not its cdr. (Bug#16873)
10
11 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
12
13 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
14 benefit of doc.c; change parameter profile to match the X function.
15
16 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
17
18 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
19 and `tramp-copy-env'.
20
21 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
22 (tramp-maybe-open-connection): Handle `tramp-login-env'.
23
24 2014-03-21 Glenn Morris <rgm@gnu.org>
25
26 * electric.el (electric-indent-post-self-insert-function): Add doc.
27
28 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
29
30 * emacs-lisp/package.el (package-compute-transaction):
31 Use `version-list-<=' to compare the requirement version against
32 the version of package already to be installed. Update the error
33 message. (Bug#16826)
34
35 * progmodes/ruby-mode.el (ruby-smie-rules):
36 Add indentation rule for ` @ '. (Bug#17050)
37
38 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
39
40 * align.el (align-regexp): Remove superfluous backslash.
41
42 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
43 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
44 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
45 Fix docstring typos.
46 (ffap-next): Use C-u in docstring.
47 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
48 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
49 Remove superfluous backslashes.
50 (ffap-string-at-point): Reflow docstring.
51
52 * server.el (server-host): Reflow docstring.
53 (server-unload-function): Fix docstring typo.
54 (server-eval-at): Remove superfluous backslash.
55
56 * skeleton.el (skeleton-insert): Remove superfluous backslash.
57 (skeleton-insert): Doc fix.
58 (skeleton-insert): Reflow docstring.
59
60 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
61 (tty-color-approximate, tty-color-by-index, tty-color-values)
62 (tty-color-desc): Remove superfluous backslashes.
63
64 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * electric.el (electric-newline-and-maybe-indent): New command.
67 Bind it globally to C-j.
68 (electric-indent-mode): Don't mess with the global map any more.
69 Don't drop the post-self-insert-hook is some buffer is still using it
70 (bug#16770).
71 * bindings.el (global-map): Remove C-j binding.
72
73 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
74 the docstring of functions advised before dumping (bug#16993).
75
76 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
77
78 * ps-print.el (ps-generate-postscript-with-faces):
79 Explicitly deactivate the mark (bug#16866).
80 * simple.el (deactivate-mark): Update region highlight.
81
82 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
83
84 * emacs-lisp/package.el (describe-package-1):
85 Decode commentary (bug#16733).
86
87 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
88
89 * custom.el (defcustom): Doc fix: recommend avoiding destructive
90 modification of the value argument of :set (bug#16755).
91
92 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * simple.el (newline-and-indent): Do autofill (bug#17031).
95
96 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
97
98 * newcomment.el (comment-normalize-vars): Only add escaping check
99 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
100 (comment-beginning): Use `narrow-to-region' instead of moving back
101 one character.
102 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
103 (comment-start-skip): Update the docstring.
104
105 2014-03-18 Richard Stallman <rms@gnu.org>
106
107 * dired.el (dired-display-file): Force use of other window.
108
109 2014-03-18 Daniel Colascione <dancol@dancol.org>
110
111 * startup.el (tty-handle-args): Remove debug message from 2007.
112
113 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
116 (advice--make-interactive-form): Use it to avoid (auto)loading function.
117 (advice--make-1, advice-add, advice-remove):
118 Remove braindead :advice-pending hack.
119
120 2014-03-17 Glenn Morris <rgm@gnu.org>
121
122 * calendar/calendar.el (calendar-generate-month): Apply weekend
123 face to the right days; fixes 2013-08-06 change. (Bug#17028)
124
125 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
126
127 * net/tramp.el (tramp-action-out-of-band): Read pending output.
128 (tramp-call-process): Trace also DESTINATION.
129
130 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
131 Quote file names when they are local. Remove superfluous trace.
132
133 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
134
135 * newcomment.el (comment-beginning): If `comment-start-skip'
136 doesn't match, move back one char and try again. (Bug#16971)
137
138 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
139 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
140 Set `comment-start-skip' to a simpler value that doesn't try to
141 check if the semicolon is escaped (this is handled by
142 `syntax-ppss' now). (Bug#16971)
143
144 * progmodes/scheme.el (scheme-mode-variables): Same.
145
146 2014-03-16 Martin Rudalics <rudalics@gmx.at>
147
148 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
149 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
150 current (Bug#16816, Bug#17007).
151 (with-current-buffer-window): New macro doing the same as
152 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
153 * help.el (help-print-return-message): Warn in doc-string to not
154 use this in `with-help-window'.
155 (describe-bindings-internal): Call `describe-buffer-bindings'
156 from within help buffer. See Juanma's scenario in (Bug#16816).
157 (with-help-window): Update doc-string.
158 * dired.el (dired-mark-pop-up):
159 * files.el (save-buffers-kill-emacs):
160 * register.el (register-preview): Use `with-current-buffer-window'
161 instead of `with-temp-buffer-window'.
162
163 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
164
165 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
166 Implement inserting into current buffer, documented in their docstrings.
167 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
168 (rst-section-tree-point, rst-forward-section, rst-indent)
169 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
170 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
171 (rst-font-lock-handle-adornment-pre-match-form)
172 (rst-repeat-last-character): Reflow docstrings.
173 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
174 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
175 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
176 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
177 Fix docstring typos.
178 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
179 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
180 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
181
182 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
183
184 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
185 for compatibility with other ports.
186 (ns-initialize-window-system): Use it. It is set in term/common-win.el
187 from the -xrm command line argument, but in the Nextstep port its value
188 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
189
190 * progmodes/python.el (defconst, python-syntax-count-quotes)
191 (python-indent-region, python-indent-shift-right)
192 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
193 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
194 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
195 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
196 (inferior-python-mode, python-shell-make-comint, run-python-internal)
197 (python-shell-buffer-substring, python-shell-send-buffer)
198 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
199 (python-completion-complete-at-point, python-fill-docstring-style)
200 (python-eldoc-function, python-imenu-format-item-label)
201 (python-imenu-format-parent-item-label)
202 (python-imenu-format-parent-item-jump-label)
203 (python-imenu--build-tree, python-imenu-create-index)
204 (python-imenu-create-flat-index): Fix docstring typos.
205 (python-indent-context, python-shell-prompt-regexp, run-python):
206 Remove superfluous backslashes.
207 (python-indent-line, python-nav-beginning-of-defun)
208 (python-shell-get-buffer, python-shell-get-process)
209 (python-info-current-defun, python-info-current-line-comment-p)
210 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
211 (python-indent-post-self-insert-function, python-shell-send-file)
212 (python-shell-completion-get-completions)
213 (python-shell-completion-complete-or-indent)
214 (python-eldoc--get-doc-at-point): Reflow docstrings.
215
216 2014-03-14 Glenn Morris <rgm@gnu.org>
217
218 * emacs-lisp/package.el (package-menu-mode-map):
219 Replace use of obsolete function alias. Tweak menu item text.
220
221 * info.el (Info-finder-find-node):
222 Ignore the `emacs' metapackage. (Bug#10813)
223
224 * finder.el (finder-list-matches): Include unversioned packages
225 in the result of a keyword search.
226
227 * finder.el (finder--builtins-descriptions): New constant.
228 (finder-compile-keywords): Use finder--builtins-descriptions.
229
230 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
231
232 * simple.el (blink-matching-paren): Describe the new value,
233 `jump', enabling the old behavior.
234 (blink-matching-open): Use that value. (Bug#17008)
235
236 2014-03-14 Glenn Morris <rgm@gnu.org>
237
238 * finder.el (finder-no-scan-regexp): Add leim-list.
239 (finder-compile-keywords):
240 Don't skip files with same basename. (Bug#14010)
241 * Makefile.in (setwins_finder): New, excluding leim.
242 (finder-data): Use setwins_finder.
243
244 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
245 (help-function-arglist, help-make-usage): Move from here...
246 * help.el (help-split-fundoc, help-add-fundoc-usage)
247 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
248 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
249
250 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
251
252 * net/socks.el (socks, socks-override-functions)
253 (socks-find-services-entry):
254 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
255 (hif-find-ifdef-block):
256 * progmodes/modula2.el (m2-indent): Fix docstring typos.
257
258 * net/tls.el (tls-program): Reflow docstring.
259
260 * progmodes/pascal.el (pascal-mode-abbrev-table)
261 (pascal-imenu-generic-expression, pascal-auto-endcomments)
262 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
263 (pascal-outline-mode): Fix docstring typos.
264 (pascal-mode): Let define-derived-mode document mode hook.
265 (pascal-uncomment-area): Reflow.
266 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
267
268 * progmodes/opascal.el (opascal-compound-block-indent)
269 (opascal-case-label-indent): Fix docstring typos.
270 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
271
272 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
273
274 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
275 Fontify multiple adjacent negation chars. (Bug#17004)
276
277 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
278
279 * emacs-lisp/package.el (package--prepare-dependencies):
280 Accept requirements without explicit version (bug#14941).
281
282 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
283
284 * register.el (register-separator, copy-to-register): Doc fixes.
285 (register-preview-default): Remove unnecessary call to concat.
286
287 * frameset.el (frameset-restore): When checking for a visible frame,
288 use the action map instead of calling visible-frame-list.
289
290 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
291
292 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
293
294 2014-03-12 Martin Rudalics <rudalics@gmx.at>
295
296 * window.el (fit-frame-to-buffer): Get maximum width from
297 display's width instead of height.
298
299 2014-03-12 Glenn Morris <rgm@gnu.org>
300
301 * desktop.el (desktop-restore-frames)
302 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
303 (desktop-restore-reuses-frames): Doc tweaks.
304
305 * electric.el (electric-indent-mode): Doc fix.
306
307 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
308
309 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
310 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
311 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
312 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
313 (cvs-dired-use-hook): Fix docstring typos.
314 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
315 Doc fixes.
316
317 * vc/pcvs-defs.el (cvs-auto-remove-handled)
318 (cvs-auto-remove-directories, cvs-default-ignore-marks)
319 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
320 (cvs-execute-single-dir): Fix docstring typos.
321
322 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
323 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
324
325 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
326
327 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
328 Fix docstring typos.
329
330 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
331
332 * frameset.el (frameset--jump-to-register): Add autoload; it could be
333 called from jump-to-register after unloading the frameset package.
334
335 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
338 (bug#16975). Deactivate the mark before setting it to nil.
339 (activate-mark): Do nothing if region is already active.
340
341 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
342
343 * frameset.el (frameset--target-display): Remove definition; declare.
344 (frameset-save, frameset-restore): Let-bind frameset--target-display.
345
346 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
347
348 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
349 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
350 when the advice is pending.
351 (advice-remove): Remove this marker when not needed any more.
352
353 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
354
355 * frameset.el: Separate options for reusing frames and cleaning up.
356 (frameset--reuse-list): Remove definition; declare.
357 (frameset--action-map): Declare.
358 (frameset--find-frame-if): Doc fix.
359 (frameset--restore-frame): Cache frame action.
360 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
361 how to clean up the frame list after restoring. Remove cleaning
362 options from REUSE-FRAMES. Change all keyword values to symbols.
363 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
364
365 * desktop.el (desktop-restore-forces-onscreen)
366 (desktop-restore-reuses-frames): Use non-keyword values.
367 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
368
369 2014-03-10 Glenn Morris <rgm@gnu.org>
370
371 * files.el (find-file): Doc fix: update info node name.
372
373 * emacs-lisp/advice.el (ad-add-advice, defadvice):
374 Doc fix: remove references to deleted info nodes.
375
376 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
377
378 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
379 Do not add `nil' to the environment, when there's no remote `locale'.
380 (tramp-find-inline-encoding): Check, that the remote host has
381 installed perl, before sending scripts.
382
383 2014-03-10 Leo Liu <sdl.web@gmail.com>
384
385 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
386 Clear eldoc-last-message. (Bug#16920)
387
388 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
391 (bug#14430).
392
393 2014-03-09 Juri Linkov <juri@jurta.org>
394
395 * ansi-color.el (ansi-color-names-vector): Copy default colors
396 from `xterm-standard-colors' that look well on the default white
397 background (and also on the black background) to avoid illegible
398 color combinations like yellow-on-white and white-on-white.
399 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
400
401 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
402
403 * frameset.el (frameset-restore): When no frame is visible, do not
404 generate a list of frames, just make visible the selected one.
405
406 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
407
408 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
409 it only contains the repository root. (Bug#16897)
410
411 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
412
413 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
414 only when `remote-file-name-inhibit-cache' is nil.
415 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
416
417 2014-03-06 Martin Rudalics <rudalics@gmx.at>
418
419 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
420 Fix doc-strings.
421 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
422 fit-frame-to-buffer variable. Fix doc-string.
423 (fit-window-to-buffer): Set ONLY argument in call of
424 fit-frame-to-buffer. Fix doc-string.
425
426 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
427
428 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
429 (tramp-action-password): Clear password cache if needed.
430 (tramp-read-passwd): Do not clear password cache.
431
432 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
433 cache unless it is the first password request.
434
435 2014-03-06 Glenn Morris <rgm@gnu.org>
436
437 * simple.el (newline): Doc tweak.
438
439 * emacs-lisp/shadow.el (load-path-shadows-find):
440 Ignore dir-locals. (Bug#12357)
441
442 2014-03-05 Glenn Morris <rgm@gnu.org>
443
444 * files.el (interpreter-mode-alist):
445 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
446
447 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
448
449 * frameset.el (frameset--initial-params): Filter out null entries.
450
451 2014-03-05 Martin Rudalics <rudalics@gmx.at>
452
453 * window.el (window-min-height, window-min-width):
454 Rewrite doc-strings.
455 (window-body-size): Add PIXELWISE argument to make it consistent
456 with its callees.
457
458 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
459
460 * finder.el (finder-mode-map, finder-mode-syntax-table):
461 Revert part of 2014-02-28 change.
462
463 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
464
465 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
466 (eww-setup-buffer): Clear next/prev/etc more reliably.
467 (eww-textarea-map): [tab] doesn't work on tty.
468 Reported by Mario Lang.
469
470 * net/shr.el (shr-map): Ditto.
471
472 2014-03-04 Glenn Morris <rgm@gnu.org>
473
474 * minibuffer.el (completion-hilit-commonality):
475 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
476
477 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
478
479 * hilit-chg.el (hilit-chg-unload-function): New function.
480 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
481 (hilit-chg-map-changes): Prefer cardinal number to digit.
482 (hilit-chg-display-changes): Reflow docstring.
483 (highlight-changes-rotate-faces): Remove superfluous backslash.
484
485 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
486
487 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
488 `tramp-send-command-and-check'.
489
490 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
491
492 * hexl.el (hexl-address-region, hexl-ascii-region)
493 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
494 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
495 (hexl-forward-word, hexl-previous-line, hexl-next-line):
496 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
497 (hexl-mode): Doc fix.
498 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
499 (hexl-mode-ruler): Fix typos in docstrings.
500
501 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
502 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
503 Remove superfluous backslashes.
504 (strokes-last-stroke, strokes-global-map, strokes-mode):
505 Reflow docstrings.
506 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
507 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
508 (strokes-distance-squared, strokes-global-set-stroke)
509 (strokes-global-set-stroke-string): Doc fixes.
510 (strokes-help): Fix typos; reflow docstring.
511
512 2014-03-04 Martin Rudalics <rudalics@gmx.at>
513
514 * window.el (window-in-direction): Fix doc-string.
515
516 2014-03-04 Glenn Morris <rgm@gnu.org>
517
518 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
519 Explicit error if no grammar.
520 (smie-config-save): Doc fix. Fix quote typo.
521
522 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
525 electric-indent-mode-hook if we obey electric-indent-mode.
526 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
527 decide whether we obey electric-indent-mode.
528 (c-change-set-fl-decl-start, c-extend-after-change-region):
529 Silence warnings.
530 (c-electric-indent-mode-hook): Assume we do want to obey
531 electric-indent-mode.
532
533 * electric.el (electric-indent-mode-has-been-called): Remove.
534 (electric-indent-mode): Fix accordingly.
535
536 * files.el (hack-local-variables): Mention file name in warning.
537
538 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
539
540 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
541
542 * binding.el: Add comment describing why C-d binds to `delete-char'.
543 * simple.el (delete-forward-char): Mark as interactive-only.
544
545 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
546
547 * icomplete.el (icomplete-completions):
548 Follow-up to 2014-03-01 change.
549
550 * icomplete.el: Miscellaneous doc fixes.
551 Use Icomplete everywhere instead of icomplete for consistency.
552 (icomplete-max-delay-chars): Fix typo.
553 (icomplete-mode): Use \[].
554 (icomplete-tidy, icomplete-exhibit): Reflow.
555 (icomplete-minibuffer-setup-hook, icomplete-completions):
556 Remove superfluous backlashes.
557
558 * ido.el: Miscellaneous doc fixes.
559 Use Ido everywhere instead of ido or `ido' for consistency.
560 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
561 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
562 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
563 (ido-separator): Extract obsolescence info from docstring and declare
564 with make-obsolete-variable.
565 (ido-minibuffer-setup-hook): Simplify example.
566 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
567 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
568 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
569 (ido-everywhere): Reflow docstring.
570 (ido-toggle-vc): Doc fix.
571 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
572 of long list of keybindings.
573
574 2014-03-03 Glenn Morris <rgm@gnu.org>
575
576 * frame.el (display-pixel-height, display-pixel-width)
577 (display-mm-dimensions-alist, display-mm-height)
578 (display-mm-width): Doc tweaks.
579
580 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
581
582 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
583 case of undo in region.
584
585 2014-03-02 Martin Rudalics <rudalics@gmx.at>
586
587 * window.el (fit-window-to-buffer): Fix argument in window-size
588 call when window is horizontally combined.
589
590 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
591
592 * icomplete.el (icomplete-completions): Use string-width.
593 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
594
595 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
596
597 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
598 Highlight regexp options. (Bug#16914)
599
600 2014-03-01 Martin Rudalics <rudalics@gmx.at>
601
602 * window.el (window--max-delta-1): Round down when calculating
603 how many lines/columns we can get from a window.
604
605 2014-03-01 Glenn Morris <rgm@gnu.org>
606
607 * isearch.el (search-invisible): Doc fix.
608
609 * minibuffer.el (completion-hilit-commonality):
610 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
611 * comint.el (comint-dynamic-list-completions): Doc fix.
612 * comint.el (comint-dynamic-list-completions):
613 * filecache.el (file-cache-minibuffer-complete):
614 * tempo.el (tempo-display-completions):
615 * eshell/em-hist.el (eshell-list-history):
616 Replace use of obsolete argument of display-completion-list.
617
618 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
619
620 * icomplete.el (icomplete-completions):
621 Revert back to using "..." when ?… cannot be displayed.
622
623 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
624
625 * finder.el (finder-unload-function): New function.
626
627 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
628
629 * dframe.el (dframe-detach):
630 * find-dired.el (find-dired, find-name-dired):
631 * finder.el (finder-mode-map, finder-mode-syntax-table)
632 (finder-headmark, finder-select, finder-mouse-select):
633 Fix docstring typos.
634
635 2014-02-28 Martin Rudalics <rudalics@gmx.at>
636
637 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
638 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
639 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
640 Fix doc-string based on a suggestion by Nicolas Richard
641 <theonewiththeevillook@yahoo.fr>.
642 * help.el (with-help-window): Fix doc-string.
643
644 2014-02-28 Ivan Kanis <ivan@kanis.fr>
645
646 * net/shr.el (shr-image-animate): New option.
647 (shr-put-image): Respect shr-image-animate.
648
649 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
650
651 * net/tramp-adb.el (tramp-adb-parse-device-names):
652 Use `accept-process-output'.
653 (tramp-adb-handle-file-truename): Cache the localname only.
654 (tramp-adb-handle-make-directory)
655 (tramp-adb-handle-delete-directory): Flush file properties correctly.
656 (tramp-adb-handle-set-file-modes): Do not raise an error when file
657 modes cannot be changed.
658
659 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
660 file properties of symlinks.
661
662 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
663
664 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
665 required/optional fields to match development biblatex. (Bug#16781)
666
667 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
668
669 * saveplace.el (toggle-save-place):
670 Fix argument handling. (Bug#16673)
671
672 2014-02-28 Glenn Morris <rgm@gnu.org>
673
674 * minibuffer.el (completions-first-difference)
675 (completions-common-part, completion-hilit-commonality): Doc fixes.
676
677 2014-02-28 Karl Berry <karl@gnu.org>
678
679 * info.el (Info-mode-map): Add H for describe-mode,
680 to synchronize with standalone Info.
681
682 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
683
684 * progmodes/sql.el (sql-interactive-mode):
685 Avoid setting global comint-input-ring-separator. (Bug#16814)
686
687 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
688
689 * net/dbus.el (dbus--init-bus): Declare function.
690 (dbus-path-local, dbus-interface-local): New defconst.
691 (dbus-init-bus): Use them.
692 (dbus-return-values-table): Extend doc.
693 (dbus-handle-bus-disconnect): Extend error message.
694
695 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
696
697 * subr.el (y-or-n-p): Fix double space issue in message.
698
699 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
700
701 * net/tramp.el (tramp-call-process): Improve trace message.
702 (tramp-handle-insert-file-contents): Trace error case.
703
704 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
705 <insert-directory>: Use `tramp-handle-insert-directory'.
706 (tramp-adb-handle-insert-directory): Remove function.
707 (tramp-adb-send-command-and-check): New defun, replacing
708 `tramp-adb-command-exit-status'. Change all callees.
709 (tramp-adb-handle-file-attributes)
710 (tramp-adb-handle-directory-files-and-attributes): Use it.
711 (tramp-adb-ls-output-name-less-p):
712 Use `directory-listing-before-filename-regexp'.
713 (tramp-adb-handle-delete-directory): Flush also file properties of
714 the truename of directory.
715 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
716 (tramp-adb-handle-file-local-copy): Make the local copy readable.
717 (tramp-adb-handle-write-region): Implement APPEND.
718 (tramp-adb-handle-rename-file): Make it more robust. Flush file
719 properties correctly.
720 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
721 variables. Check for connected devices only when needed.
722
723 2014-02-27 Glenn Morris <rgm@gnu.org>
724
725 * minibuffer.el (completion-table-dynamic)
726 (completion-table-with-cache): Doc fixes.
727
728 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
729 (completing-read-multiple): Doc fixes.
730
731 2014-02-27 Daniel Colascione <dancol@dancol.org>
732
733 * minibuffer.el (completion--nth-completion): Fix indentation.
734
735 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
736 explicit tramp path is empty.
737
738 2014-02-27 Glenn Morris <rgm@gnu.org>
739
740 * emacs-lisp/crm.el (completing-read-multiple):
741 Empower help-enable-auto-load.
742
743 2014-02-26 Glenn Morris <rgm@gnu.org>
744
745 * startup.el (command-line): Don't init the tty in daemon mode.
746
747 Avoid calling tty-setup-hook twice, eg if a term file
748 explicitly calls tty-run-terminal-initialization. (Bug#16859)
749 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
750 (tty-create-frame-with-faces): Use it.
751 * startup.el (command-line): Pass run-hook argument
752 to tty-run-terminal-initialization.
753
754 * dired.el (dired-restore-desktop-buffer): Demote errors;
755 eg in case a glob match fails. (Bug#16884)
756
757 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
758
759 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
760 error from `read-from-string'. (Bug#16850)
761
762 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
763 result of `completing-read' in the interactive form. (Bug#16854)
764
765 2014-02-25 Glenn Morris <rgm@gnu.org>
766
767 * image.el (image-animate, image-animate-timeout):
768 Stop animating images in dead buffers. (Bug#16878)
769
770 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
771
772 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
773 Doc fixes.
774 * startup.el (term-setup-hook): Doc fix. Make obsolete.
775 * term/sun.el (sun-raw-prefix-hooks):
776 Use tty-setup-hook instead of term-setup-hook.
777 (terminal-init-sun): Construct message from bytecomp plist.
778 * term/wyse50.el (enable-arrow-keys): Doc fix.
779
780 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
781
782 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
783 Fix docstring typos.
784
785 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
786
787 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
788
789 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
790
791 * minibuffer.el (completion--try-word-completion):
792 Fix error when completing M-x commands (bug#16808).
793
794 2014-02-24 Leo Liu <sdl.web@gmail.com>
795
796 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
797
798 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
799
800 * apropos.el (apropos-print): Avoid formatting error when
801 apropos-do-all and apropos-compact-layout are both t.
802
803 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
804
805 * apropos.el (apropos-property, apropos-all-words-regexp)
806 (apropos-true-hit, apropos-variable, apropos-print):
807 Fix docstring typos, and remove obsolete comment.
808
809 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
810
811 * net/tramp-sh.el (tramp-sh-handle-file-truename):
812 Preserve trailing "/". (Bug#16851)
813
814 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
815
816 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
817 after `=>' (bug#16811).
818 (ruby-smie-rules): Handle the inconsistent second element of the
819 list returned by `smie-indent--parent'.
820 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
821 method call.
822
823 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
824
825 * elec-pair.el (electric-pair-text-syntax-table)
826 (electric-pair-syntax-info, electric-pair--syntax-ppss)
827 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
828 (electric-pair--looking-at-unterminated-string-p): Doc fix.
829 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
830
831 2014-02-22 Glenn Morris <rgm@gnu.org>
832
833 * imenu.el (imenu--generic-function): Doc fix.
834
835 * register.el (frame-configuration-to-register): Make obsolete.
836
837 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
838
839 * desktop.el (desktop-save-buffer-p): Do not fail when
840 desktop-files-not-to-save is nil. Return t for true result
841 as the doc says.
842
843 2014-02-22 Daniel Colascione <dancol@dancol.org>
844
845 * net/secrets.el (secrets-create-item, secrets-search-items):
846 Check that attribute values are strings, avoiding the construction
847 of invalid dbus messages.
848
849 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
850
851 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
852 defun-declarations-alist.
853
854 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
857 (bug#16829).
858
859 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
860
861 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
862 (whitespace-newline, whitespace-trailing, whitespace-line)
863 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
864 (whitespace-space-after-tab): Fix typo in docstrings.
865
866 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
867
868 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
869
870 * electric.el (electric-indent-functions-without-reindent):
871 Add `yaml-indent-line'.
872
873 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
874
875 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
876 It has done nothing for years; should be removed after the release.
877
878 * simple.el (choose-completion): Fix docstring typo.
879 (read-quoted-char-radix): Remove unneeded * in docstring.
880 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
881 Don't escape parentheses unnecessarily in docstrings.
882
883 2014-02-21 Martin Rudalics <rudalics@gmx.at>
884
885 Fix handling of window-min-height/-width (Bug#16738).
886 * window.el (window--dump-window, window--dump-frame):
887 New functions.
888 (window--min-size-1): Account for window dividers.
889 When window-resize-pixelwise is nil, delay rounding till after the
890 sum of the window components has been calculated.
891 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
892 nil make sure at least one text line and two text columns remain
893 fully visible.
894 (window-resize): Signal an error when window-resize-apply fails.
895 (window--resize-child-windows): Fix calculation of by how many
896 pixels a window can still be shrunk via window-new-normal.
897 (adjust-window-trailing-edge): Call window--resizable with
898 correct TRAIL argument.
899
900 (with-temp-buffer-window): Don't evaluate BODY within
901 with-current-buffer (Bug#16816).
902
903 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
904
905 * net/tramp.el (tramp-check-cached-permissions):
906 Call `file-attributes' with `suffix' being a symbol but a string.
907
908 2014-02-21 Daniel Colascione <dancol@dancol.org>
909
910 * net/dbus.el (dbus-init-bus-1): Declare new subr.
911 (dbus-init-bus): New function: call into dbus-init-bus-1
912 and installs a handler for the disconnect signal.
913 (dbus-call-method): Rewrite to look for result in cons.
914 (dbus-call-method-handler): Store result in cons.
915 (dbus-check-event): Recognize events with nil sender as valid.
916 (dbus-handle-bus-disconnect): New function. React to bus
917 disconnection signal by synthesizing dbus error for each
918 pending synchronous or asynchronous call.
919 (dbus-notice-synchronous-call-errors): New function.
920 (dbus-handle-event): Raise errors directly only when `dbus-debug'
921 is true, not all the time.
922
923 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
924
925 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
926 Remove obsolescence declarations, these variables do not exist anymore.
927
928 * savehist.el (savehist-save-minibuffer-history)
929 (savehist-additional-variables, savehist-file, savehist-mode-hook)
930 (savehist-save-hook, savehist-coding-system, savehist-loaded)
931 (savehist-load, savehist-install, savehist-autosave): Fix typos;
932 mostly, refer to "Savehist mode" when talking about the mode,
933 and not the function.
934
935 * saveplace.el (save-place): Remove redundant info in docstring.
936 (save-place-forget-unreadable-files, toggle-save-place)
937 (save-place-forget-unreadable-files, save-place-dired-hook):
938 Fix typos and remove unneeded backslashes.
939
940 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
941
942 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
943 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
944
945 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
946 <insert-directory>: Use `tramp-handle-insert-directory'.
947 (tramp-gvfs-handle-insert-directory): Remove function.
948
949 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
950 Call `tramp-handle-insert-directory'.
951
952 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
953
954 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
955 before the start of buffer/region (bug#16799).
956
957 2014-02-20 Glenn Morris <rgm@gnu.org>
958
959 * isearch.el (search-invisible): Doc fix.
960
961 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
962
963 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
964 (bug#16657).
965
966 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
967
968 * frameset.el (frameset-restore): Delay removing an old frame's
969 duplicate id until the new frame has been correctly created.
970
971 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
972
973 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
974 (tramp-check-cached-permissions): Call `file-attributes' if the
975 cache is empty.
976
977 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
978 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
979
980 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
981 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
982 (tramp-gvfs-maybe-open-connection): Set always connection
983 properties, even if target is mounted already.
984
985 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
986 Set tramp-autoload cookie.
987 (tramp-get-remote-touch): New defun.
988 (tramp-sh-handle-set-file-times): Use it.
989 (tramp-sh-handle-directory-files-and-attributes):
990 Use `tramp-handle-directory-files-and-attributes' if neither stat
991 nor perl are available on the remote host.
992
993 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
994 "/". Write long listing only when "l" belongs to the switches.
995
996 * net/trampver.el: Update release number.
997
998 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
999
1000 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1001
1002 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1003
1004 * window.el (window-state-put): Allow WINDOW to refer to an
1005 internal window (Bug#16793).
1006
1007 2014-02-19 Glenn Morris <rgm@gnu.org>
1008
1009 * textmodes/remember.el: Move provide statement to end.
1010 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1011 (remember-notes): Doc fixes.
1012
1013 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * delsel.el (delete-char): Restore incorrectly erased property
1016 (bug#16795).
1017
1018 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1019
1020 * frameset.el (frameset--restore-frame): When a frame is being reused
1021 and its root window is not alive, delete all the frame's windows before
1022 restoring the window state. This works around the issue in bug#16793.
1023
1024 2014-02-18 Glenn Morris <rgm@gnu.org>
1025
1026 * textmodes/remember.el (remember-data-directory)
1027 (remember-directory-file-name-format, remember-store-in-files)
1028 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1029 (remember-notes-save-and-bury-buffer)
1030 (remember-notes--kill-buffer-query): Doc fixes.
1031
1032 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1033
1034 2014-02-17 Alan Mackenzie <acm@muc.de>
1035
1036 Connect electric-indent-mode up with CC Mode. Bug #15478.
1037 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1038 to electric-indent-{,local-}-mode.
1039 (c-basic-common-init): Set electric-indent-inhibit.
1040 Initialise c-electric-flag from electric-indent-mode.
1041 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1042 New hook functions which propagate electric-indent-mode to CC mode.
1043
1044 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1045 hit, toggle electric-indent-local-mode.
1046
1047 * electric.el (electric-indent-mode-has-been-called):
1048 New variable.
1049
1050 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1051
1052 * frameset.el (frameset-cfg-id): New function.
1053 (frameset--reuse-frame, frameset-restore): Use it.
1054 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1055
1056 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * ido.el (ido-file-internal): Remove unused var `d'.
1059 Use \` for to match BoS. Fit within 80n columns.
1060
1061 2014-02-17 Daniel Colascione <dancol@dancol.org>
1062
1063 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1064 dbus-call-method check for completion using a busy-wait loop with
1065 gradual backoff.
1066
1067 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1068
1069 Sync with Tramp 2.2.9.
1070
1071 * net/trampver.el: Update release number.
1072
1073 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1074
1075 * ido.el (ido-file-internal): Don't add the name of an existing
1076 directory twice. (Bug#16747)
1077
1078 2014-02-16 Glenn Morris <rgm@gnu.org>
1079
1080 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1081 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1082
1083 2014-02-15 Michael R. Mauger <michael@mauger.com>
1084
1085 * progmodes/sql.el: Version 3.4
1086 (sql-oracle-options): New default value ("-L").
1087 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1088 (sql-placeholders-filter): Correct placeholder pattern.
1089 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1090 (sql-login-delay): New variable.
1091 (sql-product-interactive): Use it.
1092
1093 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1094
1095 * frameset.el (frameset--jump-to-register): Check that buffer is live
1096 (bug#16749).
1097
1098 2014-02-15 Glenn Morris <rgm@gnu.org>
1099
1100 * info.el (info-initialize): Revert 2014-01-10 change.
1101
1102 2014-02-14 Glenn Morris <rgm@gnu.org>
1103
1104 * replace.el (map-query-replace-regexp)
1105 (read-regexp-defaults-function, read-regexp): Doc fixes.
1106
1107 * dired.el (dired-read-regexp):
1108 * faces.el (list-faces-display):
1109 * misearch.el (multi-isearch-read-matching-buffers)
1110 (multi-isearch-read-matching-files):
1111 * play/cookie1.el (cookie-apropos):
1112 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1113
1114 * textmodes/remember.el (remember): Use frameset-to-register
1115 rather than frame-configuration-to-register.
1116
1117 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1118
1119 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1120 incorrect keybinding.
1121
1122 2014-02-13 Daniel Colascione <dancol@dancol.org>
1123
1124 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1125 when adding overlays so that line numbers from compiler match line
1126 numbers we use.
1127
1128 2014-02-13 Glenn Morris <rgm@gnu.org>
1129
1130 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1131
1132 * jit-lock.el (jit-lock-mode): Doc fix.
1133
1134 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1135
1136 * apropos.el (apropos-read-pattern): When the user passes an empty
1137 string, give a more helpful error message than "Wrong type
1138 argument: stringp, nil".
1139
1140 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1143
1144 2014-02-13 Glenn Morris <rgm@gnu.org>
1145
1146 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1147
1148 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1151 shift-select commands.
1152
1153 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1154
1155 * progmodes/js.el (js-indent-line): Don't widen.
1156 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1157
1158 2014-02-12 Glenn Morris <rgm@gnu.org>
1159
1160 * icomplete.el (icomplete): Add info-link to defgroup.
1161 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1162 (icomplete-minibuffer-map, icomplete-mode)
1163 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1164
1165 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1166 (package-menu-filter): Rename from package-menu-filter-interactive.
1167 Doc fix.
1168
1169 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1170
1171 * frameset.el (frameset--jump-to-register): Select the required
1172 window and buffer before restoring position (bug#16696).
1173
1174 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1175
1176 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1177
1178 2014-02-10 Glenn Morris <rgm@gnu.org>
1179
1180 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1181
1182 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1183
1184 * w32-common-fns.el (x-get-selection): Doc fix.
1185 * select.el (x-get-selection): Doc fix. (Bug#15109)
1186
1187 * face-remap.el (face-remap-add-relative)
1188 (face-remap-remove-relative, face-remap-reset-base)
1189 (face-remap-set-base): Call force-mode-line-update to redisplay
1190 the current buffer due to potential change in faces. (Bug#16709)
1191
1192 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1193
1194 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1195 script more robustly.
1196
1197 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1198
1199 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1200
1201 * simple.el (choose-completion): Doc fix (bug#14160).
1202
1203 * subr.el (event-start): Say what a nil EVENT value means.
1204
1205 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1206 (bug#14197).
1207
1208 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1209
1210 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1211
1212 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1213
1214 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1215 predicate function (bug#15455).
1216
1217 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1218
1219 * ielm.el (inferior-emacs-lisp-mode): Instead of
1220 `comment-use-global-state', set `comment-use-syntax'.
1221
1222 2014-02-10 Glenn Morris <rgm@gnu.org>
1223
1224 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1225
1226 2014-02-09 Alan Mackenzie <acm@muc.de>
1227
1228 Fix c-invalidate-state-cache on narrowed buffers.
1229 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1230 Widen when setting and clearing the CPP delimiter properties.
1231
1232 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1233
1234 * help.el (describe-bindings): Doc fix (bug#9888).
1235
1236 * files.el (save-buffer): Use ARG as the parameter name for
1237 consistency (bug#10346).
1238 (save-buffer): Clarify the 0 argument (bug#10346).
1239
1240 * cus-edit.el (customize-apropos): Fix error string.
1241 (custom-buffer-create): Doc fix (bug#11122).
1242 (custom-sort-items): Doc fix (bug#11121).
1243
1244 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1245
1246 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1247 (icomplete-simple-completing-p): Mention the previous variable.
1248
1249 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1250 meaning of the parameter (bug#12282).
1251
1252 * files.el (find-file-noselect): Clarify prompt when changing
1253 readedness (bug#13261).
1254 (locate-file): Suffixes aren't returned, so don't say that they
1255 are (bug#12674).
1256 (backup-inhibited): Doc clarification (bug#12525).
1257
1258 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1259 before we actually start to delete things (bug#16331).
1260
1261 * subr.el (event-start): Doc fix (bug#14228).
1262 (event-end): Ditto.
1263
1264 2014-02-09 Glenn Morris <rgm@gnu.org>
1265
1266 * emacs-lisp/warnings.el (lwarn):
1267 Empower help-enable-auto-load. (Bug#15940)
1268
1269 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1270
1271 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1272 (Bug#16690)
1273
1274 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1275
1276 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1277 Insert output at end of buffer. (Bug#16120)
1278
1279 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1280
1281 * simple.el (choose-completion-string-functions): Document new
1282 calling convention (bug#14153).
1283 (execute-extended-command): Clarify doc string (bug#13373).
1284
1285 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1286
1287 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1288 (find-grep-dired): Doc fix (bug#14288).
1289
1290 2014-02-08 Juri Linkov <juri@jurta.org>
1291
1292 * isearch.el (isearch-quote-char): Check character validity
1293 like in `quoted-insert' (bug#16677).
1294
1295 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1296
1297 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1298
1299 * isearch.el (isearch-hide-immediately): Doc clarification
1300 (bug#14723).
1301
1302 * simple.el (line-move): Document utility function used many
1303 places in the Emacs sources (bug#14843).
1304
1305 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1306 (dired-prev-marked-file): Doc fix (bug#14855).
1307 (dired-up-directory): Doc fix (bug#14848).
1308
1309 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1310
1311 * files.el (file-relative-name): Doc fix (bug#15159).
1312
1313 * fringe.el (fringe-styles): Doc fix (bug#15239).
1314
1315 * isearch.el (isearch-filter-predicate): Documentation typo fix
1316 (bug#15474).
1317
1318 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1319
1320 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1321
1322 * replace.el (replace-match-maybe-edit): Doc clarification
1323 (bug#15632).
1324
1325 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1326
1327 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1328
1329 2014-02-08 Glenn Morris <rgm@gnu.org>
1330
1331 * help-fns.el (describe-variable):
1332 Check {file,dir}-local-variables-alist, and buffer-file-name,
1333 in the correct buffer.
1334
1335 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1336
1337 * help-fns.el (describe-variable): Fix the case where
1338 a value is directory-local with no dir-locals file. (Bug#16635)
1339
1340 2014-02-08 Glenn Morris <rgm@gnu.org>
1341
1342 * abbrev.el (edit-abbrevs-mode):
1343 Derive from fundamental-mode. (Bug#16682)
1344
1345 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1346
1347 * simple.el (quoted-insert): Check character validity (bug#16677).
1348
1349 2014-02-07 Juri Linkov <juri@jurta.org>
1350
1351 * desktop.el (desktop-read): Claim the lock when the owner is not
1352 the current process. (Bug#16157)
1353
1354 2014-02-07 Juri Linkov <juri@jurta.org>
1355
1356 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1357 to "\\` ". (Bug#16651)
1358
1359 2014-02-07 Juri Linkov <juri@jurta.org>
1360
1361 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1362 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1363 (desktop-auto-save-cancel-timer): New function with some code from
1364 `desktop-auto-save-set-timer'.
1365 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1366 Instead of setting `desktop-save-mode' to nil, call
1367 `desktop-save-mode' with arg 0. (Bug#16630)
1368
1369 2014-02-07 Glenn Morris <rgm@gnu.org>
1370
1371 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1372 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1373 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1374
1375 * obsolete/iswitchb.el: Move to obsolete/.
1376 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1377 since obsolete/ is not scanned for autoloads.
1378 * emacs-lisp/authors.el (authors-valid-file-names):
1379 Add iswitchb.el.
1380
1381 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1382 Disable now non-functional find-file-hook.
1383
1384 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1385
1386 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1387 instead of ";" in order to avoid additional prompts. Let heredoc
1388 scripts read from tty. (Bug#16582)
1389 (tramp-send-command): No special handling of heredocs, it isn't
1390 necessary anymore.
1391
1392 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1395 with a space (bug#16664). Limit the symbols considered to the ones
1396 that are bound or fbound (bug#16646).
1397
1398 2014-02-06 Glenn Morris <rgm@gnu.org>
1399
1400 * epa.el (epa-mail-aliases): Doc fix.
1401
1402 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1403
1404 * emacs-lisp/lisp.el (lisp-completion-at-point):
1405 Use `completion-table-merge' instead of `completion-table-in-turn'
1406 (bug#16604).
1407
1408 * minibuffer.el (completion-table-merge): New function.
1409
1410 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1411
1412 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1413 (tramp-sh-handle-set-file-acl)
1414 (tramp-sh-handle-start-file-process)
1415 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1416 (tramp-find-executable, tramp-send-command): Use it.
1417
1418 2014-02-05 Glenn Morris <rgm@gnu.org>
1419
1420 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1421
1422 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1423
1424 * progmodes/python.el (python-shell-send-string)
1425 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1426
1427 2014-02-04 Anders Lindgren <andlind@gmail.com>
1428
1429 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1430 the names (bug#16620).
1431
1432 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1433
1434 * faces.el (window-divider): New default value. Rewrite doc-string.
1435 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1436
1437 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1438
1439 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1440 `protected' and `public' can also be called without arguments.
1441
1442 2014-02-03 Glenn Morris <rgm@gnu.org>
1443
1444 * register.el (window-configuration-to-register)
1445 (frame-configuration-to-register): Unadvertise unused argument.
1446 * frameset.el (frameset-to-register): Remove unused argument.
1447
1448 * frameset.el (frameset-to-register):
1449 * kmacro.el (kmacro-to-register):
1450 * register.el (increment-register):
1451 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1452 (calc-append-to-register, calc-prepend-to-register):
1453 * play/gametree.el (gametree-layout-to-register)
1454 (gametree-apply-register-layout):
1455 * textmodes/picture.el (picture-clear-rectangle-to-register)
1456 (picture-yank-rectangle-from-register):
1457 * vc/emerge.el (emerge-combine-versions-register):
1458 Use register-read-with-preview to read registers.
1459
1460 2014-02-03 João Távora <joaotavora@gmail.com>
1461
1462 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1463 when at beginning of (possibly narrowed) buffer.
1464
1465 2014-02-02 Daniel Colascione <dancol@dancol.org>
1466
1467 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1468 Also try to display local help from just before point.
1469
1470 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1471
1472 c-parse-state. Don't "append-lower-brace-pair" in certain
1473 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1474 recognised as a comment.
1475
1476 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1477 as well as normal comment starter.
1478 (c-parse-state-get-strategy): Extra return possibility
1479 'back-and-forward.
1480 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1481 return value list to indicate replacement of a brace-pair cons
1482 with its car.
1483 (c-parse-state-1): With 'back-and-forward, only call
1484 c-append-lower-brace-pair-to state-cache when cons-separated.
1485
1486 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1487
1488 * term/ns-win.el (ns-suspend-error): New function.
1489 (ns-initialize-window-system): Add ns-suspend-error to
1490 suspend-hook (Bug#16612).
1491
1492 2014-02-02 Daniel Colascione <dancol@dancol.org>
1493
1494 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1495 Make loading cc-mode silent.
1496
1497 2014-02-02 Daniel Colascione <dancol@dancol.org>
1498
1499 * comint.el (comint-prompt-read-only): Change doc to suggest
1500 remap keybinding.
1501
1502 2014-02-02 Glenn Morris <rgm@gnu.org>
1503
1504 * register.el (register-read-with-preview, point-to-register)
1505 (window-configuration-to-register, frame-configuration-to-register)
1506 (jump-to-register, number-to-register, view-register, insert-register)
1507 (copy-to-register, append-to-register, prepend-to-register)
1508 (copy-rectangle-to-register): Doc fixes.
1509
1510 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1513 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1514 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1515 * help-fns.el (describe-function-1): Use it.
1516
1517 2014-02-02 Glenn Morris <rgm@gnu.org>
1518
1519 * register.el (register-preview-default): New function,
1520 split from register-preview.
1521 (register-preview-function): Rename from register-preview-functions,
1522 make it not a hook.
1523 (register-preview): Use register-preview-function.
1524 (register-read-with-preview): Error on non-character event. (Bug#16595)
1525
1526 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1527
1528 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1529 `:' before binary operators (bug#16609). Don't check for `:'
1530 before `[' and `(', or their syntax status. A percent literal
1531 can't end with either.
1532 (ruby-font-lock-keywords): For built-ins that require arguments,
1533 check that they're followed by something that looks like argument
1534 (bug#16610).
1535
1536 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1537
1538 * subr.el (butlast): Document what an omitted N means (bug#13437).
1539 (nbutlast): Ditto.
1540
1541 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1542
1543 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1544 depth shallower (bug#16587).
1545 (shr-tag-svg): Respect `shr-inhibit-images'.
1546 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1547
1548 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1549
1550 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1551 (ruby-smie-grammar): Make "." right-associative. Make its priority
1552 lower than the ternary and all binary operators.
1553 (ruby-smie-rules): Indent "(" relative to the first non-"."
1554 parent, or the first "." parent at indentation.
1555 Use `ruby-align-chained-calls' for indentation of "." tokens.
1556 (Bug#16593)
1557
1558 2014-01-31 Juri Linkov <juri@jurta.org>
1559
1560 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1561 from `make-hash-table'.
1562
1563 * textmodes/ispell.el (ispell-init-process): Change message format
1564 to be consistent with other messages.
1565
1566 2014-01-31 Glenn Morris <rgm@gnu.org>
1567
1568 * delsel.el (delete-selection-mode): Doc fix.
1569
1570 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1571 (trace-function-background): Doc fixes.
1572
1573 * ido.el (ido-use-virtual-buffers): Doc fix.
1574 Reset :version, since the default value has not changed.
1575
1576 * register.el (register-preview-delay, register-read-with-preview):
1577 Doc fixes.
1578
1579 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1580 do not mess with mail-buffer position (fixes 2009-11-03 change).
1581 * progmodes/cc-mode.el (c-submit-bug-report):
1582 Check auto-fill-mode is bound. (Bug#16592)
1583
1584 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1585
1586 * startup.el (fancy-splash-image-file): New function,
1587 split from fancy-splash-head.
1588 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1589 so that we are both using the same image. (Bug#16574)
1590
1591 2014-01-30 Glenn Morris <rgm@gnu.org>
1592
1593 * simple.el (eval-expression): Doc fix.
1594
1595 * hexl.el (hexl-mode-hook):
1596 * ielm.el (ielm-mode-hook):
1597 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1598 (lisp-interaction-mode-hook):
1599 * progmodes/cfengine.e (cfengine3-documentation-function):
1600 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1601
1602 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1603
1604 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1605 is a symbol (bug#16584).
1606
1607 2014-01-30 Glenn Morris <rgm@gnu.org>
1608
1609 * help.el (help-for-help-internal): Add "P" to text.
1610
1611 2014-01-29 Glenn Morris <rgm@gnu.org>
1612
1613 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1614
1615 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1616
1617 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1618 height constraints.
1619
1620 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1621
1622 * progmodes/hideif.el: Extend to full CPP expression syntax.
1623 (hif-token-alist): Add missing tokens.
1624 (hif-token-regexp): Add support for float/octal/hex immediates.
1625 (hif-string-literal-regexp): New const.
1626 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1627 (hif-exprlist): New function.
1628 (hif-parse-if-exp): Use it.
1629 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1630 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1631 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1632 (hif-logxor, hif-comma): New functions.
1633
1634 2014-01-28 Glenn Morris <rgm@gnu.org>
1635
1636 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1637
1638 * indent.el (tab-stop-list): Doc fix. Add :version.
1639
1640 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1641 (cvs-append-to-ignore): Add compatibility alias.
1642
1643 2014-01-27 Glenn Morris <rgm@gnu.org>
1644
1645 * dired.el (dired-hide-details-mode): Don't autoload it,
1646 since it cannot be used outside Dired buffers anyway.
1647
1648 * emulation/cua-base.el (cua-mode): Doc fix.
1649
1650 * dired.el (dired-hide-details-hide-symlink-targets)
1651 (dired-hide-details-hide-information-lines)
1652 (dired-hide-details-mode): Doc fixes.
1653
1654 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1655 * strokes.el (strokes-file): Doc fix. Bump :version.
1656 (strokes-help): Doc fix.
1657 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1658 * emulation/viper.el (viper): Doc fix for custom group.
1659 (top-level): Remove oh-so-no-longer-relevant text about vip.
1660 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1661
1662 * ido.el (ido-save-directory-list-file):
1663 * saveplace.el (save-place-file):
1664 * calendar/timeclock.el (timeclock-file):
1665 * net/quickurl.el (quickurl-url-file):
1666 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1667 * progmodes/idlwave.el (idlwave-config-directory):
1668 * textmodes/remember.el (remember-data-file):
1669 Bump :version.
1670
1671 2014-01-26 Glenn Morris <rgm@gnu.org>
1672
1673 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1674 Doc fix. Make obsolete.
1675 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1676
1677 * sort.el (delete-duplicate-lines): Doc fix.
1678
1679 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1680
1681 * progmodes/ada-mode.el (ada):
1682 * woman.el (woman): Link to info manual and Commentary section.
1683
1684 * progmodes/flymake.el (flymake):
1685 * nxml/nxml-mode.el (nxml):
1686 * net/eww.el (eww):
1687 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1688 * htmlfontify.el (htmlfontify):
1689 * ses.el (ses):
1690 * epa.el (epa):
1691 * ido.el (ido): Link to info manual.
1692
1693 2014-01-25 Leo Liu <sdl.web@gmail.com>
1694
1695 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1696
1697 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1698
1699 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1700 (bug#16537).
1701
1702 >>>>>>> MERGE-SOURCE
1703 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1704
1705 * net/eww.el (eww-download-callback):
1706 Fix reference to eww-download-directory.
1707
1708 * emacs-lisp/bytecomp.el (byte-compile-file):
1709 Remove unused local variable `file-name'.
1710
1711 2014-01-24 Glenn Morris <rgm@gnu.org>
1712
1713 * woman.el (woman-default-faces, woman-monochrome-faces):
1714 Fix obsolescence specification.
1715
1716 * subr.el (with-demoted-errors): Doc fix.
1717
1718 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1721 (cl--macroexp-fboundp): New function.
1722 (cl--make-type-test): Use it.
1723
1724 2014-01-23 Glenn Morris <rgm@gnu.org>
1725
1726 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1727 * simple.el (eval-expression): Doc fixes.
1728
1729 2014-01-22 Glenn Morris <rgm@gnu.org>
1730
1731 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1732
1733 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * emacs-lisp/package.el: Write files silently.
1736 (package-autoload-ensure-default-file, package--write-file-no-coding)
1737 (package-generate-description-file, package--download-one-archive)
1738 (package-install-from-archive): Tell `write-region' to stay quiet.
1739 (package-menu-mode, package-menu--print-info): Omit the Archive column
1740 if there's only one archive.
1741 (package-all-keywords, package--has-keyword-p): Remove dead code.
1742
1743 2014-01-22 Glenn Morris <rgm@gnu.org>
1744
1745 * version.el (emacs-bzr-version-bzr): Fix typo.
1746
1747 * version.el (emacs-repository-get-version):
1748 Check either .bzr or .git, but not both.
1749 Make the git case actually use the DIR argument, and return nil
1750 rather than the empty string.
1751 Avoid error if .git exists but the git executable is not found.
1752
1753 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1754
1755 Fixes in window size functions around Bug#16430 and Bug#16470.
1756 * window.el (window-total-size, window-size): New argument ROUND.
1757 (window--min-delta-1, window-min-delta, window--max-delta-1):
1758 Be more conservative when calculating the numbers of lines or
1759 columns a window can shrink (Bug#16430).
1760 (fit-window-to-buffer): Simplify code.
1761 * term.el (term-window-width): Call window-body-width again.
1762
1763 2014-01-22 Glenn Morris <rgm@gnu.org>
1764
1765 * image.el (image-format-suffixes): Doc fix.
1766
1767 * international/quail.el (quail-define-package): Doc fix.
1768
1769 * emacs-lisp/authors.el (authors-valid-file-names)
1770 (authors-renamed-files-alist): Additions.
1771
1772 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1773 reverts 2014-01-09 change. (Bug#16422)
1774
1775 * calc/calc-embed.el (thing-at-point-looking-at):
1776 * emacs-lisp/map-ynp.el (x-popup-dialog):
1777 * obsolete/lmenu.el (x-popup-dialog):
1778 * emacs-lisp/package.el (url-recreate-url):
1779 * mail/mailclient.el (clipboard-kill-ring-save):
1780 * subr.el (x-popup-dialog): Update declaration.
1781 * mail/rmail.el (rmail-mime-message-p):
1782 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1783
1784 2014-01-21 Daniel Colascione <dancol@dancol.org>
1785
1786 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1787 Correctly detect when we're inside an arithmetic expansion form
1788 containing nested parenthesis.
1789 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1790 to detect cases where we shouldn't expand "<<" to a heredoc
1791 skeleton.
1792
1793 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1796 (eldoc--message-command-p): New function.
1797 (eldoc-display-message-p): Use it.
1798 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1799 message is not automatically erased for us.
1800 (eldoc-print-current-symbol-info): Erase previous message, if any.
1801
1802 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1803
1804 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1805 specify it's an interactive function.
1806
1807 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1808 Fix regex used for scanning for citation keys which failed for
1809 citations with optional arguments.
1810
1811 2014-01-21 Leo Liu <sdl.web@gmail.com>
1812
1813 * simple.el (read--expression): Don't enable eldoc-mode.
1814
1815 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * simple.el (move-beginning-of-line): Make sure we don't move forward
1818 (bug#16497).
1819
1820 2014-01-20 Juri Linkov <juri@jurta.org>
1821
1822 * saveplace.el (toggle-save-place, save-place-to-alist)
1823 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1824 'dired-mode) before checking for dired-directory. (Bug#16477)
1825
1826 2014-01-20 Juri Linkov <juri@jurta.org>
1827
1828 * indent.el (indent-line-to): Use backward-to-indentation
1829 instead of back-to-indentation. (Bug#16461)
1830
1831 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1832
1833 Revert some of the CANNOT_DUMP fix (Bug#16494).
1834 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1835 but fixing this can wait until after the next release.
1836 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1837
1838 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1839
1840 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1841 Use `password-word-equivalents'.
1842 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1843 to t. (Bug#5664, Bug#13124)
1844
1845 2014-01-19 Alan Mackenzie <acm@muc.de>
1846
1847 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1848 points.
1849 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1850 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1851 * progmodes/cc-mode.el (c-before-change, c-after-change)
1852 (c-font-lock-fontify-region): Bind it here.
1853
1854 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1855
1856 * term.el (term-window-width): Call window-text-width instead of
1857 window-width (Bug#16470).
1858
1859 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1860
1861 * simple.el (password-word-equivalents): Remove duplicates.
1862 Sort, to make this easier next time.
1863 Downcase. Omit ": " after "jelszó".
1864
1865 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1866
1867 * term/common-win.el (saved-region-selection): Defvar it.
1868 (x-select-text): Set saved-region-selection (Bug#16382).
1869
1870 2014-01-18 Glenn Morris <rgm@gnu.org>
1871
1872 * emacs-lisp/authors.el (authors-aliases)
1873 (authors-renamed-files-alist): Add some entries.
1874
1875 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1876
1877 * net/tramp.el (tramp-password-prompt-regexp):
1878 Use `password-word-equivalents' if available.
1879 (tramp-action-password, tramp-process-one-action)
1880 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1881
1882 2014-01-17 Chong Yidong <cyd@gnu.org>
1883
1884 * simple.el (password-word-equivalents): New defcustom.
1885 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1886 to 24.4.
1887 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1888 to t. (Bug#13124)
1889
1890 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1891
1892 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1893 (ruby-align-to-stmt-keywords): Change the default value.
1894 Use `ruby-alignable-keywords' to generate the possible customization
1895 choices.
1896 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1897 keywords, check against the value of `ruby-alignable-keywords'
1898 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1899
1900 2014-01-17 Glenn Morris <rgm@gnu.org>
1901
1902 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1903
1904 Make M-x authors return zero *Authors Errors* from current logs.
1905 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1906 (authors-ignored-files): Add some entries, remove others.
1907 (authors-ambiguous-files, authors-valid-file-names):
1908 Add some entries.
1909 (authors-renamed-files-alist): Add, remove, and adjust entries.
1910 (authors-renamed-files-regexps): Add some entries.
1911 Remove some very broad ones. Make some entries `lax'.
1912 (authors-lax-changelogs): New constant.
1913 (authors-disambiguate-file-name): Treat top-level specially.
1914 (authors-lax-changelog-p): New function.
1915 (authors-canonical-file-name): Check file as written against
1916 authors-valid-file-names. Do not special-case etc/.
1917 Handle `lax' logs and authors-renamed-files-regexps elements.
1918
1919 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1920
1921 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1922 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1923 callers.
1924
1925 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1928 Assume we're already in the proper buffer.
1929 Inspired by Anders Lindgren <andlind@gmail.com>.
1930 (follow-post-command-hook): Call it from the right buffer.
1931 (follow-comint-scroll-to-bottom): Adjust call.
1932 (follow-all-followers): Use get-buffer-window-list.
1933
1934 2014-01-15 Daniel Colascione <dancol@dancol.org>
1935
1936 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1937 `buffer-file-name' in interactive-form so that we don't leave
1938 pathless file names in `file-name-history'.
1939
1940 2014-01-15 Juri Linkov <juri@jurta.org>
1941
1942 * indent.el (indent-rigidly): Set deactivate-mark to nil
1943 in transient indentation mode. (Bug#16438)
1944
1945 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1946
1947 * emacs-lisp/package.el (package-desc-keywords): New function
1948 (Bug#16222).
1949 (describe-package-1, package-all-keywords)
1950 (package--has-keyword-p): Use it.
1951
1952 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1953
1954 * simple.el (define-alternatives): When creating the
1955 COMMAND-alternatives variable, assign COMMAND as its definition
1956 name so that `describe-variable' can relocate it.
1957
1958 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1959
1960 * font-lock.el (font-lock-keywords): Fix typo in docstring
1961 (bug#16307).
1962
1963 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1964
1965 * ispell.el (ispell-region): Reset `in-comment' for new line
1966 instead of wrongly reset `add-coment' (bug#13577).
1967
1968 2014-01-14 Daiki Ueno <ueno@gnu.org>
1969
1970 * epa-file.el (epa-file-write-region): Encode the region according
1971 to `buffer-file-format'. Problem reported at:
1972 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1973
1974 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1975
1976 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1977 so it applies in the right buffer (bug#16410).
1978
1979 2014-01-13 Daniel Colascione <dancol@dancol.org>
1980
1981 * textmodes/rst.el (rst-define-key): Provide deprecated
1982 keybindings through named functions instead of anonymous ones so
1983 that "??" doesn't appear in describe-mode output.
1984
1985 2014-01-13 Bastien Guerry <bzg@gnu.org>
1986
1987 * simple.el (define-alternatives): Call the selected command
1988 interactively. When setting `COMMAND--implementation' for the
1989 first time, tell the user how to chose another implementation.
1990 Enhance the docstring.
1991
1992 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1995 (log-edit--match-first-line): New function.
1996 (log-edit-font-lock-keywords): Use it.
1997 (log-edit-mode): Make jit-lock-defer-multiline work.
1998
1999 2014-01-13 Bastien Guerry <bzg@gnu.org>
2000
2001 * rect.el (rectangle-mark-mode): When the region is not active,
2002 display a message saying that the mark as been set and that
2003 rectangle mode is in use.
2004 (rectangle--highlight-for-redisplay): Only put an overlay with a
2005 visible vertical bar when (display-graphic-p) is non-nil.
2006 This partially fixes Bug#16403.
2007
2008 2014-01-13 Juri Linkov <juri@jurta.org>
2009
2010 * info.el (Info-find-file): Go to DIR before displaying the error
2011 about a nonexistent file if no previous Info file is visited.
2012 Use `user-error' instead of `error' for "Info file %s does not exist".
2013 (Info-find-node-2): In case of a nonexistent node in unwind forms
2014 go to the Top node if there is no previous node to revert to.
2015 (Bug#16405)
2016
2017 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2018
2019 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2020 * window.el (fit-frame-to-buffer): Fix doc-string.
2021 Respect window-min-height/-width. Fit pixelwise when
2022 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2023 when avoiding that frame goes partially off-screen.
2024 (fit-window-to-buffer): Respect window-min-height/-width
2025 (Bug#14096).
2026
2027 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2030 after an empty line.
2031
2032 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * net/shr.el (shr-render-region): Autoload.
2035
2036 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2037
2038 * net/eww.el (eww-download-directory): Rename from
2039 `eww-download-path' (Bug#16419).
2040
2041 2014-01-12 Leo Liu <sdl.web@gmail.com>
2042
2043 * dired-x.el (dired-mode-map): Fix last change.
2044
2045 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2046
2047 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2048
2049 Spelling fixes.
2050 * emacs-lisp/generic.el (generic--normalize-comments):
2051 Rename from generic--normalise-comments. All uses changed.
2052 * play/bubbles.el (bubbles--neighborhood-score)
2053 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2054 (bubbles--neighborhood-available)
2055 (bubbles--update-neighborhood-score):
2056 Rename from names with 'neighbourhood'. All uses changed.
2057
2058 2014-01-12 Leo Liu <sdl.web@gmail.com>
2059
2060 Re-implement the feature of showing eldoc info after editing.
2061 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2062 (eldoc-edit-message-commands): New function.
2063 (eldoc-print-after-edit): New variable.
2064 (eldoc-pre-command-refresh-echo-area): Emit message only by
2065 eldoc-message-commands.
2066 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2067 if eldoc-print-after-edit is set. (Bug#16346)
2068 * simple.el (read--expression): Enable eldoc-mode.
2069 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2070
2071 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2072 Eric S. Raymond <esr@thyrsus.com>
2073
2074 * version.el (emacs-repository-get-version): Enhance so the
2075 function works correctly in either a Bazaar or Git repo.
2076
2077 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2078
2079 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2080 Goes with removal of the joke manpages from /etc.
2081
2082 2014-01-10 Kenichi Handa <handa@gnu.org>
2083
2084 * mail/rmail.el (rmail-get-coding-system):
2085 Check rmail-get-coding-function before "funcall"ing it.
2086
2087 2014-01-10 Glenn Morris <rgm@gnu.org>
2088
2089 * emacs-lisp/authors.el (authors-fixed-entries):
2090 Update for files that no longer exist.
2091
2092 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2093
2094 * version.el (emacs-bzr-get-version): Restore compatibilty with
2095 24.3 (Tested).
2096
2097 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2098
2099 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2100 and Podfile.
2101
2102 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2103
2104 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2105
2106 2014-01-10 Chong Yidong <cyd@gnu.org>
2107
2108 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2109
2110 2014-01-10 Anders Lindgren <andlind@gmail.com>
2111
2112 * follow.el (follow-cache-command-list): Include right-char and
2113 left-char.
2114
2115 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2116
2117 Spelling fixes.
2118 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2119 * woman.el (woman-mark-horizontal-position):
2120 Rename from woman-mark-horizonal-position. Use changed.
2121
2122 2014-01-10 Glenn Morris <rgm@gnu.org>
2123
2124 * info.el (info-initialize): If running uninstalled, ensure our
2125 own info files are always found first, even if INFOPATH is set.
2126
2127 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2128
2129 2014-01-09 David Engster <deng@randomsample.de>
2130
2131 * emacs-lisp/eieio-custom.el:
2132 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2133 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2134 * emacs-lisp/eieio.el: Regenerate autoloads.
2135
2136 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2137
2138 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2139 following renames. (Bug#8756)
2140
2141 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2144 (bug#16382).
2145 (activate-mark): Add `no-tmm' argument.
2146 (set-mark, push-mark-command): Use it instead of running
2147 activate-mark-hook by hand.
2148
2149 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2150
2151 In preparation for the move to git, sanitize out some
2152 Bazaar-specific names.
2153
2154 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2155
2156 * version.el (emacs-bzr-version): Name changed to
2157 emacs-repository-version. Obsolete-variable alias made.
2158 * loadup.el: Follow through on this name change.
2159 * mail/emacsbug.el (report-emacs-bug): Factor out any
2160 assumption about the version control system in use.
2161
2162 2014-01-08 David Engster <deng@randomsample.de>
2163
2164 * help-fns.el (help-fns-describe-function-functions):
2165 New variable to call functions for augmenting help buffers.
2166 (describe-function-1): Remove explicit calls to
2167 `help-fns--compiler-macro', `help-fns--parent-mode' and
2168 `help-fns--obsolete'. Put them in above new variable instead, and
2169 call them through `run-hook-with-args'.
2170 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2171 `eieio-describe-class'. Not meant for interactive use anymore,
2172 but to augment existing help buffers. Remove optional second
2173 argument. Create proper button for file location.
2174 Rewrite function to use `insert' instead of `princ' and `prin1' where
2175 possible.
2176 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2177 (eieio-method-def, eieio-class-def): Move further up.
2178 (describe-method, describe-generic, eieio-describe-method):
2179 Remove aliases.
2180 (eieio-help-constructor, eieio-help-generic): Rename from
2181 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2182 Rewrite to use `insert' in the current buffer and use proper help
2183 buttons.
2184 (eieio-help-find-method-definition)
2185 (eieio-help-find-class-definition): Also accept symbols as
2186 arguments.
2187 (eieio-help-mode-augmentation-maybee): Remove.
2188 (eieio-describe-class-sb): Use `describe-function'.
2189 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2190 Add `eieio-help-generic' and `eieio-help-constructor'.
2191
2192 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2193
2194 Spelling fixes.
2195 * language/china-util.el (hz-ascii-designation):
2196 Rename from hz-ascii-designnation.
2197 (hz-ascii-designation): Rename from hz-ascii-designnation.
2198 All uses changed.
2199
2200 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2203 package-alist.
2204
2205 2014-01-08 Bastien Guerry <bzg@gnu.org>
2206
2207 * emacs-lisp/package.el (package-delete):
2208 Correctly delete the package from package-alist.
2209
2210 2014-01-08 Daiki Ueno <ueno@gnu.org>
2211
2212 * emacs-lisp/package.el (url-recreate-url): Declare.
2213 (url-http-target-url): Declare.
2214 (package-handle-response): Include requested URL in the error message.
2215 (package--check-signature): Don't re-signal errors from
2216 package--with-work-buffer. Suggested by Stefan Monnier.
2217
2218 2014-01-07 Bastien Guerry <bzg@gnu.org>
2219
2220 * minibuffer.el (completion--try-word-completion): When both a
2221 hyphen and a space are possible candidates for the character
2222 following a word, display both candidates. (Bug#15980)
2223
2224 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2225
2226 * window.el (balance-windows-2): While rounding don't give a
2227 window more than the remainder. Bug#16351, bug#16383.
2228
2229 2014-01-07 Glenn Morris <rgm@gnu.org>
2230
2231 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2232 (menu-bar-help-menu): Use view-external-packages instead.
2233
2234 2014-01-07 Bastien Guerry <bzg@gnu.org>
2235
2236 * emacs-lisp/package.el (package-delete): Also delete the package
2237 name from `package-alist', not its description only.
2238
2239 2014-01-07 Glenn Morris <rgm@gnu.org>
2240
2241 * help.el (view-external-packages):
2242 * menu-bar.el (menu-bar-help-extra-packages):
2243 Visit efaq.info rather than etc/MORE.STUFF.
2244
2245 2014-01-07 Juri Linkov <juri@jurta.org>
2246
2247 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2248 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2249
2250 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2251 that shadows RET. (Bug#16342)
2252
2253 2014-01-07 Chong Yidong <cyd@gnu.org>
2254
2255 * isearch.el (isearch-yank-char, isearch-yank-word)
2256 (isearch-yank-line): Doc fix.
2257
2258 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2261 * emacs-lisp/elint.el (elint-find-builtins):
2262 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2263 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2264 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2265 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2266 * apropos.el (apropos-safe-documentation):
2267 * subr.el (symbol-file): Remove redundant fboundp.
2268 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2269
2270 2014-01-06 Bastien Guerry <bzg@gnu.org>
2271
2272 * hl-line.el (global-hl-line-overlay): Make a local variable.
2273 (global-hl-line-overlays): New variable to store all overlays.
2274 (global-hl-line-mode): Don't delete overlays from the current
2275 buffer when `global-hl-line-sticky-flag' is non-nil.
2276 (global-hl-line-highlight): Add new overlays to
2277 `global-hl-line-overlays'.
2278 (global-hl-line-unhighlight-all): New function to delete all
2279 overlays when turning off `global-hl-line-mode'.
2280 This fixes Bug#16183.
2281
2282 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * subr.el (set-transient-map): Fix nested case and docstring.
2285
2286 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2287
2288 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2289 `Texinfo' entry.
2290
2291 2014-01-06 Daniel Colascione <dancol@dancol.org>
2292
2293 Fix defun navigation in vc log view.
2294
2295 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2296 like `beginning-of-defun'.
2297 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2298 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2299 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2300 (log-view-extract-comment): Call `log-view-current-entry' directly
2301 instead of relying on broken `log-view-beginning-of-defun' behavior.
2302
2303 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2304
2305 Spelling fixes.
2306 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2307 * emacs-lisp/debug.el (cancel-debug-on-entry):
2308 * epg.el (epg-error-to-string):
2309 * files.el (recover-file):
2310 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2311 * mail/emacsbug.el (report-emacs-bug-hook):
2312 * mail/sendmail.el (mail-recover):
2313 * ses.el (ses-yank-resize):
2314 * term/ns-win.el (ns-print-buffer):
2315 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2316 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2317 All uses changed.
2318 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2319
2320 2014-01-06 Leo Liu <sdl.web@gmail.com>
2321
2322 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2323 to avoid shadowing global key. (Bug#16354)
2324
2325 2014-01-06 Daniel Colascione <dancol@dancol.org>
2326
2327 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2328 rst-mode.
2329
2330 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2331
2332 * window.el (balance-windows): Add mising t to fix Bug#16351.
2333
2334 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2335
2336 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2337 (bug#16285).
2338 (shr-insert): If we have a word that's longer than `shr-width',
2339 break after it anyway. Otherwise we'll do no breaking once we get
2340 such a long word.
2341
2342 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2343
2344 * net/eww.el (eww): Support single/double quote for search.
2345 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2346 (eww-history-quit): Delete and use quit-window.
2347 (eww-history-kill): Delete, because it doesn't work well and
2348 not necessary.
2349 (eww-history-mode-map): Delete some keys and add easy-menu.
2350
2351 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2352
2353 Fix misspelling of 'chinese' in rx (Bug#16237).
2354 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2355 chinese-two-byte.
2356
2357 Change subword regexps back to vars (Bug#16296).
2358 * progmodes/subword.el (subword-forward-regexp)
2359 (subword-backward-regexp): Change these back to variables.
2360
2361 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2362
2363 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2364 syntax-begin-function (bug#16247).
2365
2366 2014-01-03 Chong Yidong <cyd@gnu.org>
2367
2368 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2369 (advice--docstring): Delete variable.
2370 (advice--make-1): Leave the docstring empty.
2371 (advice-add): Use function-documentation for advised docstring.
2372
2373 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2374 Ignore function-documentation property when getting documentation.
2375 (ad-activate-advised-definition): Use function-documentation
2376 generate the docstring.
2377 (ad-make-advised-definition): Don't call
2378 ad-make-advised-definition-docstring.
2379 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2380 Delete functions.
2381
2382 * progmodes/sql.el (sql-help): Use function-documentation instead
2383 of dynamic-docstring-function property. No need to autoload now.
2384 (sql--help-docstring): New variable.
2385 (sql--make-help-docstring): Use it.
2386
2387 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * ielm.el (ielm-tab): Retarget.
2390 (ielm-map): Use ielm-tab for tab.
2391 (ielm-complete-filename): Use comint-filename-completion.
2392 (ielm-complete-symbol): Remove.
2393 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2394 remove ielm-tab from completion-at-point-functions (bug#16224).
2395
2396 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2397 Beware signals raised by predicates (bug#16201).
2398
2399 2014-01-02 Richard Stallman <rms@gnu.org>
2400
2401 * dired-aux.el (dired-do-print): Handle printer-name.
2402
2403 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2404 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2405 (rmail-epa-decrypt): Turn off mime processing.
2406
2407 * mail/rmail.el (rmail-make-in-reply-to-field):
2408 Add parens in message-id.
2409
2410 * mail/rmail.el (rmail-get-coding-function): Variable.
2411 (rmail-get-coding-system): Use it.
2412
2413 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2414
2415 * international/mule-conf.el: Unify the charset indian-is13194.
2416 (indian-is13194): Specify unify-map.
2417
2418 2013-12-31 Leo Liu <sdl.web@gmail.com>
2419
2420 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2421
2422 2013-12-30 Daniel Colascione <dancol@dancol.org>
2423
2424 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2425 of printing a useless when we resume from sleep.
2426
2427 * progmodes/sh-script.el
2428 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2429 in indentation code. (Bug#16233)
2430
2431 2013-12-28 João Távora <joaotavora@gmail.com>
2432
2433 * elec-pair.el (electric-pair-post-self-insert-function):
2434 Don't open extra newlines at beginning of buffer. (Bug#16272)
2435
2436 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2437
2438 * frame.el (window-system-for-display): Don't allow to create a
2439 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2440
2441 2013-12-28 Glenn Morris <rgm@gnu.org>
2442
2443 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2444 Update callers.
2445
2446 * apropos.el (apropos-match-face):
2447 * calculator.el (calculator-displayer):
2448 * dabbrev.el (dabbrev-search-these-buffers-only):
2449 * face-remap.el (buffer-face-mode-face):
2450 * simple.el (yank-handled-properties):
2451 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2452 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2453 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2454 (hashcash-double-spend-database):
2455 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2456 (ruby-deep-indent-paren-style):
2457 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2458 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2459 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2460 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2461 Specify custom types.
2462
2463 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2464 * bookmark.el (bookmark-bmenu-use-header-line):
2465 * doc-view.el (doc-view-scale-internally):
2466 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2467 * register.el (register-preview-delay):
2468 * net/shr.el (shr-bullet):
2469 * progmodes/cfengine.el (cfengine-cf-promises)
2470 (cfengine-parameters-indent):
2471 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2472 * textmodes/reftex-vars.el (reftex-label-regexps):
2473 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2474
2475 * net/tls.el (tls-certtool-program): Fix default value.
2476
2477 * desktop.el (desktop-restore-in-current-display):
2478 * newcomment.el (comment-empty-lines):
2479 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2480 (idlwave-pad-keyword):
2481 * progmodes/tcl.el (tcl-tab-always-indent):
2482 * textmodes/reftex-vars.el (reftex-index-default-tag):
2483 * elec-pair.el (electric-pair-skip-whitespace):
2484 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2485
2486 * emacs-lisp/authors.el (authors-ignored-files)
2487 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2488
2489 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2490
2491 * shell.el (shell-dynamic-complete-command): Doc fix.
2492 (shell--command-completion-data): Shell completion now matches
2493 executable filenames from the current buffer's directory, on
2494 systems in which this behavior is the default (windows-nt, ms-dos).
2495
2496 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2497
2498 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2499
2500 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2503 (bug#16251).
2504
2505 * electric.el: Move all electric-pair-* to elec-pair.el.
2506 * elec-pair.el: New file, split from electric.el.
2507
2508 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2509
2510 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2511 indentation level is larger than the width, because that will
2512 infloop.
2513 (shr-insert): Fill repeatedly long texts, so that Japanese is
2514 formatted correctly (bug#16263).
2515 (shr-find-fill-point): Off by one error in comparison with the
2516 indentation.
2517
2518 2013-12-26 João Távora <joaotavora@gmail.com>
2519
2520 * electric.el (electric-pair-mode): More flexible engine for skip-
2521 and inhibit predicates, new options for pairing-related functionality.
2522 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2523 if that keeps or improves their balance in buffers.
2524 (electric-pair-delete-adjacent-pairs): Delete the pair when
2525 backspacing over adjacent matched delimiters.
2526 (electric-pair-open-extra-newline): Open extra newline when
2527 inserting newlines between adjacent matched delimiters.
2528 (electric--sort-post-self-insertion-hook):
2529 Sort post-self-insert-hook according to priority values when
2530 minor-modes are activated.
2531 * simple.el (newline-and-indent): Call newline with interactive
2532 set to t.
2533 (blink-paren-post-self-insert-function): Set priority to 100.
2534 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2535 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2536 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2537 electric-pair-open-newline-between-pairs to nil.
2538
2539 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2540
2541 * progmodes/python.el: Use lexical-binding.
2542 (python-nav-beginning-of-defun): Stop searching ASAP.
2543
2544 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2545
2546 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2547 Fix interactive spec. Doc fix. (Bug#15754)
2548
2549 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2550
2551 * emacs-lisp/byte-run.el (eval-when-compile):
2552 * progmodes/cc-defs.el (cc-eval-when-compile):
2553 Fix edebug spec (bug#16184).
2554
2555 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2556
2557 * net/shr.el (shr-visit-file): Remove debugging function.
2558 (shr-insert): Don't infloop if we can't find a good place to break
2559 the line (bug#16256).
2560
2561 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2562
2563 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2564 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2565 python-nav-lisp-forward-sexp-safe.
2566 (python-nav--forward-sexp): New argument SAFE allows switching
2567 forward sexp movement behavior for parens.
2568 (python-nav-forward-sexp): Throw errors on unterminated parens
2569 (Bug#16191).
2570 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2571 (python-nav-backward-sexp-safe): New functions.
2572 (python-shell-buffer-substring):
2573 Use `python-nav-forward-sexp-safe'.
2574
2575 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2576
2577 * net/shr.el (shr-find-fill-point): Don't break lines before a
2578 quotation mark.
2579 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2580 (shr-find-fill-point): Remove the special checks for the quotation
2581 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2582
2583 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2584
2585 * net/eww.el (eww-form-textarea): Use a different face for
2586 textareas than text input since they have different keymaps
2587 (bug#16142).
2588
2589 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2590
2591 * progmodes/python.el (python-nav-beginning-of-statement):
2592 Speed up (Bug#15295).
2593
2594 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2595
2596 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2597 the window configuration.
2598
2599 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2600
2601 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2602 we run on MS-Windows or MS-DOS.
2603
2604 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2605
2606 * window.el (balance-windows-area): Call window-size instead of
2607 window-height and window-width. Bug#16241.
2608
2609 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2610
2611 * net/eww.el (eww-bookmark-quit): Remove.
2612 (eww-bookmark-browse): Restore the window configuration when you
2613 choose a bookmark (bug#16144).
2614
2615 2013-12-24 Daniel Colascione <dancol@dancol.org>
2616
2617 * icomplete.el: Remove redundant :group arguments to `defcustom'
2618 throughout.
2619 (icomplete-show-matches-on-no-input): New customizable variable.
2620 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2621 we have something to show.
2622 (icomplete-exhibit): Compute completions even if we have no user input.
2623
2624 2013-12-23 Daniel Colascione <dancol@dancol.org>
2625
2626 * icomplete.el: Move `provide' to end of file.
2627
2628 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2629
2630 * net/gnutls.el (gnutls-verify-error): Add version tag.
2631
2632 2013-12-23 Chong Yidong <cyd@gnu.org>
2633
2634 * subr.el (set-transient-map): Rename from
2635 set-temporary-overlay-map. Doc fix.
2636
2637 * face-remap.el (text-scale-adjust):
2638 * indent.el (indent-rigidly):
2639 * kmacro.el (kmacro-call-macro):
2640 * minibuffer.el (minibuffer-force-complete):
2641 * repeat.el (repeat):
2642 * simple.el (universal-argument--mode):
2643 * calendar/todo-mode.el (todo-insert-item--next-param):
2644 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2645
2646 * indent.el (indent-rigidly): Use substitute-command-keys.
2647
2648 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2649
2650 * net/eww.el (eww-tag-select): Add text-property to jump to next
2651 select field.
2652 (eww): Add non-supported ftp error.
2653
2654 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2655
2656 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2657 comments. Handle electric indent after typing `?' and `!'.
2658
2659 2013-12-22 Chong Yidong <cyd@gnu.org>
2660
2661 * faces.el (face-spec-recalc): If the theme specs are not
2662 applicable to a frame, fall back on the defface spec.
2663 This prevents themes from obliterating faces on low-color terminals.
2664
2665 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2666
2667 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2668 after `{'. We need it after block openers, and it doesn't seem
2669 to hurt after hash openers.
2670
2671 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2672
2673 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2674 extracted from `ruby-smie-rules'.
2675 (ruby--electric-indent-chars): New variable.
2676 (ruby--electric-indent-p): New function.
2677 (ruby-mode): Use `electric-indent-functions' instead of
2678 `electric-indent-chars'.
2679
2680 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2681
2682 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2683 docstring.
2684 (ruby-smie-rules): Indent plus one level after `=>'.
2685
2686 2013-12-21 Richard Stallman <rms@gnu.org>
2687
2688 * simple.el (newline): Doc fix.
2689
2690 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2691
2692 * net/eww.el (eww-list-histories, eww-list-histories)
2693 (eww-history-browse, eww-history-quit, eww-history-kill)
2694 (eww-history-mode-map, eww-history-mode): New command and
2695 functions to list browser histories.
2696 (eww-form-text): Support text form with disabled
2697 and readonly attributes.
2698 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2699
2700 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2701
2702 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2703 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2704 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2705 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2706 Use `user-error'.
2707 (eww-bookmark-mode-map): Add menu.
2708 (eww-render, eww-mode): Use `setq-local'.
2709 (eww-tool-bar-map): New variable.
2710 (eww-mode): Set `tool-bar-map'.
2711 (eww-view-source): Check for `html-mode' with `fboundp'.
2712
2713 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2714
2715 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2716 elements with text inside. Also remove debugging.
2717
2718 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2719
2720 * cus-start.el (all): Add ns-use-srgb-colorspace.
2721
2722 2013-12-21 Chong Yidong <cyd@gnu.org>
2723
2724 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2725 undefined. Thus, theme settings for undefined faces do not take
2726 effect until the faces are defined with defface, the same as with
2727 theme variables.
2728
2729 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2730 (face-spec-reset-face): Don't assign extra properties in temacs.
2731 (face-spec-recalc): Apply X resources too.
2732
2733 2013-12-21 Chong Yidong <cyd@gnu.org>
2734
2735 * faces.el (face-spec-set):
2736 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2737 * custom.el (defface): Doc fixes (Bug#16203).
2738
2739 * indent.el (indent-rigidly-map): Add docstring, and move commands
2740 into named functions.
2741 (indent-rigidly-left, indent-rigidly-right)
2742 (indent-rigidly-left-to-tab-stop)
2743 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2744 indentation direction based on bidi direction, and accumulate
2745 sequential commands in a single undo boundary.
2746 (indent-rigidly--pop-undo): New utility function.
2747
2748 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2749
2750 * faces.el (read-face-name): Require crm.el when using crm-separator.
2751
2752 2013-12-20 Daniel Colascione <dancol@dancol.org>
2753
2754 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2755 so that we don't reflow comments into the shebang line.
2756
2757 2013-12-20 Juri Linkov <juri@jurta.org>
2758
2759 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2760 a position when `dired-directory' is non-nil. Check integer
2761 positions with `integerp'.
2762 (toggle-save-place, save-places-to-alist): Add check for
2763 `dired-directory'.
2764 (save-place-find-file-hook): Check integer positions with
2765 `integerp'.
2766 (save-place-dired-hook): Use `dired-goto-file' when
2767 `dired-filename' is found in the assoc list. Check integer
2768 positions with `integerp'.
2769 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2770
2771 * dired.el (dired-initial-position-hook): Rename back from
2772 `dired-initial-point-hook'.
2773 (dired-initial-position): Rename `dired-initial-point-hook' to
2774 `dired-initial-position-hook'.
2775 (dired-file-name-at-point): Doc fix. (Bug#15329)
2776
2777 2013-12-20 Juri Linkov <juri@jurta.org>
2778
2779 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2780 (read-regexp-suggestions): New function.
2781 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2782 Use `read-regexp-suggestions'. Add non-empty default to history
2783 for empty input.
2784 (occur-read-regexp-defaults-function): Remove function.
2785 (occur-read-primary-args): Use `regexp-history-last' instead of
2786 `occur-read-regexp-defaults-function'.
2787
2788 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2789 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2790 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2791 `hi-lock-read-regexp-defaults-function'. Doc fix.
2792 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2793 with `find-tag-default-as-symbol-regexp'. Doc fix.
2794 (hi-lock-read-regexp-defaults): Remove function.
2795 (hi-lock-regexp-okay): Add check for null.
2796
2797 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2798 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2799
2800 * subr.el (find-tag-default-as-symbol-regexp): New function.
2801 (find-tag-default-as-regexp): Move symbol regexp formatting to
2802 `find-tag-default-as-symbol-regexp'.
2803
2804 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2805
2806 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2807 (Bug#14179)
2808
2809 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2810
2811 * calendar/todo-mode.el: New implementation of item insertion
2812 commands and key bindings.
2813 (todo-key-prompt): New face.
2814 (todo-insert-item): New command.
2815 (todo-insert-item--parameters): New defconst, replacing defvar
2816 todo-insertion-commands-args-genlist.
2817 (todo-insert-item--param-key-alist): New defconst, replacing
2818 defvar todo-insertion-commands-arg-key-list.
2819 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2820 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2821 (todo-insert-item--next-param): New functions.
2822 (todo-insert-item--args, todo-insert-item--argleft)
2823 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2824 New variables.
2825 (todo-key-bindings-t): Change binding of "i" from
2826 todo-insertion-map to todo-insert-item.
2827 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2828 (todo-insertion-command-name, todo-insertion-commands-names)
2829 (todo-define-insertion-command, todo-insertion-commands)
2830 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2831
2832 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2833
2834 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2835 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2836 eval-when-compile.
2837 (todo-move-category): Allow choosing a non-existing todo file to
2838 move the category to, and create that file.
2839 (todo-default-priority): New user option.
2840 (todo-set-item-priority): Use it.
2841 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2842 (desktop-restore-file-buffer): Declare.
2843 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2844 (todo-modes-set-2): Locally set desktop-save-buffer to
2845 todo-desktop-save-buffer.
2846 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2847 (auto-mode-alist): Add autoload cookie.
2848
2849 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2850
2851 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2852 helpers.el was a poor choice of name.
2853 (string-remove-prefix): New function.
2854 (string-remove-suffix): New function.
2855
2856 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2857
2858 Fix assignment for new window total sizes.
2859 * window.el (window--pixel-to-size): Remove function.
2860 (window--pixel-to-total-1, window--pixel-to-total):
2861 Fix calculation of new total sizes.
2862
2863 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2864
2865 * comint.el (comint-output-filter): Fix rear-nonsticky property
2866 placement (Bug#16010).
2867
2868 2013-12-20 Chong Yidong <cyd@gnu.org>
2869
2870 * faces.el (read-color): Minor fix for completion function.
2871
2872 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2873
2874 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2875 New option. (Bug#16182)
2876 (ruby-smie--indent-to-stmt-p): Use it.
2877 (ruby-smie-rules): Revert the logic in the handling of `when'.
2878 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2879 (ruby-deep-arglist, ruby-deep-indent-paren)
2880 (ruby-deep-indent-paren-style): Update docstrings to note that the
2881 vars don't have any effect with SMIE.
2882
2883 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2884
2885 * calc/calc.el (calc-enter, calc-pop): Use the variable
2886 `calc-context-sensitive-enter'.
2887
2888 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2889
2890 * net/shr.el (shr-insert): Protect against infloops in degenerate
2891 tables.
2892
2893 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2894
2895 * progmodes/octave.el (octave): Add link to manual and octave
2896 homepage.
2897 (octave-mode-menu): Link to octave-mode manual.
2898
2899 2013-12-20 Leo Liu <sdl.web@gmail.com>
2900
2901 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2902 insertion using skeleton-end-newline. (Bug#16138)
2903
2904 2013-12-20 Juri Linkov <juri@jurta.org>
2905
2906 * replace.el (occur-engine): Use `add-face-text-property'
2907 to add the face property to matches and titles. (Bug#14645)
2908
2909 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2910 the palette of other hi-lock colors.
2911 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2912
2913 2013-12-19 Juri Linkov <juri@jurta.org>
2914
2915 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2916 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2917 (minibuffer-history-symbol): Move variable declaration closer to
2918 its usage.
2919
2920 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2921 (Bug#14785)
2922
2923 2013-12-19 Juri Linkov <juri@jurta.org>
2924
2925 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2926 New function.
2927 (log-edit-hook): Add it to :options. (Bug#16170)
2928
2929 2013-12-19 Juri Linkov <juri@jurta.org>
2930
2931 * simple.el (eval-expression-print-format): Don't check for
2932 command names and the last command. Always display additional
2933 formats of the integer result in the echo area, and insert them
2934 to the current buffer only with a zero prefix arg.
2935 Display character when char-displayable-p is non-nil.
2936 (eval-expression): With a zero prefix arg, set `print-length' and
2937 `print-level' to nil, and insert the integer values from
2938 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2939
2940 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2941 `eval-last-sexp-arg-internal'. Doc fix.
2942 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2943 `eval-last-sexp-print-value'. Doc fix.
2944 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2945 Set `print-length' and `print-level' to nil when arg is zero.
2946 (eval-last-sexp): Doc fix.
2947 (eval-defun-2): Print the integer values from
2948 `eval-expression-print-format' at the end.
2949
2950 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2951 values from `eval-expression-print-format' at the end.
2952
2953 * ielm.el (ielm-eval-input): Print the integer
2954 values from `eval-expression-print-format' at the end.
2955
2956 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2957
2958 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2959 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2960
2961 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2964 (hl-line-highlight, global-hl-line-highlight): Use it.
2965 (hl-line-overlay): Use defvar-local.
2966
2967 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2968
2969 * term/ns-win.el: Require dnd.
2970 (global-map): Remove drag items.
2971 (ns-insert-text, ns-set-foreground-at-mouse)
2972 (ns-set-background-at-mouse):
2973 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2974 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2975 New functions.
2976
2977 2013-12-19 Glenn Morris <rgm@gnu.org>
2978
2979 * emacs-lisp/ert.el (ert-select-tests):
2980 Fix string/symbol mixup. (Bug#16121)
2981
2982 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2983
2984 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2985 keywords to their parent.
2986
2987 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2988
2989 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2990 first arg to be a string (fixed dead code), or an operator symbol.
2991 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2992 operator symbols.
2993 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2994 did nothing. Don't respond to `(:after ".")', it will be called
2995 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2996 change anything. Only return indentation for binary operators
2997 when they are hanging. De-dent opening paren when its parent is
2998 `.', otherwise it looks bad when the dot is not at bol or eol
2999 (bug#16182).
3000
3001 2013-12-19 Juri Linkov <juri@jurta.org>
3002
3003 * replace.el (query-replace-read-args): Split a non-negative arg
3004 and a negative arg into separate elements.
3005 (query-replace, query-replace-regexp, replace-string)
3006 (replace-regexp): Add arg `backward'. Doc fix.
3007 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3008 move point to the beginning of the match.
3009 (replace-search, replace-highlight): Use new arg `backward'
3010 to set the value of `isearch-forward'.
3011 (perform-replace): Add arg `backward' and use it to perform
3012 replacement backward. (Bug#14979)
3013
3014 * isearch.el (isearch-query-replace): Use a negative prefix arg
3015 to call `perform-replace' with a non-nil arg `backward'.
3016
3017 2013-12-18 Juri Linkov <juri@jurta.org>
3018
3019 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3020 to the default list. Move `log-edit-show-files' to the end.
3021 Add more available functions to options.
3022 (log-edit): Move default specific settings to
3023 `log-edit-insert-message-template'. Don't move point.
3024 (log-edit-insert-message-template): New function.
3025 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3026 (Bug#16170)
3027
3028 2013-12-18 Juri Linkov <juri@jurta.org>
3029
3030 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3031 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3032
3033 2013-12-18 Leo Liu <sdl.web@gmail.com>
3034
3035 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3036 (Bug#16186)
3037
3038 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3039
3040 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3041 formats for displaying file sizes when the -s switch is given.
3042 Instead, compute a separate format for displaying the size in
3043 blocks, which is displayed in addition to the "regular" size.
3044 When -h is given in addition to -s, produce size in blocks in
3045 human-readable form as well. (Bug#16179)
3046
3047 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3048
3049 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3050 Reference tables with ~\ref{...} instead of only \ref{...}.
3051
3052 2013-12-18 Chong Yidong <cyd@gnu.org>
3053
3054 * cus-edit.el (custom-magic-alist): Fix "themed" description
3055 (Bug#14348).
3056
3057 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3058 is non-nil, do not create a new entry in the symbol's theme-value
3059 or theme-face property; update theme-settings only (Bug#14664).
3060 (custom-available-themes): Doc fix.
3061
3062 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3063 (Bug#15674).
3064
3065 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3066
3067 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3068
3069 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3070 (Bug#13914).
3071
3072 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3073
3074 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3075
3076 2013-12-18 Glenn Morris <rgm@gnu.org>
3077
3078 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3079 * cus-start.el (load-prefer-newer): New option.
3080
3081 2013-12-18 Le Wang <l26wang@gmail.com>
3082
3083 * comint.el (comint-previous-matching-input-from-input):
3084 Retain point (Bug#13404).
3085
3086 2013-12-18 Chong Yidong <cyd@gnu.org>
3087
3088 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3089
3090 2013-12-18 Glenn Morris <rgm@gnu.org>
3091
3092 * mail/emacsbug.el (report-emacs-bug):
3093 Only mention enable-multibyte-characters if non-standard.
3094
3095 2013-12-17 Juri Linkov <juri@jurta.org>
3096
3097 * arc-mode.el (archive-extract-by-file): Check if directory exists
3098 before deletion to not show irrelevant errors if it doesn't exist.
3099
3100 2013-12-17 Juri Linkov <juri@jurta.org>
3101
3102 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3103 (Bug#14751)
3104
3105 * net/eww.el (browse-web): Add alias to `eww'.
3106 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3107 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3108
3109 * net/browse-url.el (browse-url-browser-function): Move `eww'
3110 closer to similar functions.
3111
3112 * startup.el (fancy-startup-screen, fancy-about-screen):
3113 Set browse-url-browser-function to eww-browse-url locally.
3114 (Bug#14751)
3115
3116 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3117
3118 * window.el (window--pixel-to-total): Remove unused `mini' var.
3119 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3120 (split-window): Remove unused `new' var.
3121 (window--display-buffer): Remove unused `frame' and `delta' vars.
3122 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3123 and display-width'.
3124
3125 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3126
3127 * dired.el (dired-mark-pop-up):
3128 * register.el (register-preview): Don't bind
3129 split-height-threshold here since it's now done in
3130 display-buffer-below-selected.
3131
3132 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3133
3134 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3135 xterm-rgb-convert-to-16bit.
3136 (rxvt-register-default-colors): Standardize with
3137 xterm-register-default-colors (Bug#14078).
3138
3139 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3140
3141 * simple.el (kill-region): Pass mark first, then point, so that
3142 kill-append works right (Bug#12819).
3143 (copy-region-as-kill, kill-ring-save): Likewise.
3144
3145 2013-12-17 Leo Liu <sdl.web@gmail.com>
3146
3147 * net/rcirc.el (rcirc-add-face):
3148 * eshell/em-prompt.el (eshell-emit-prompt):
3149 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3150 (Bug#16167)
3151
3152 2013-12-17 Chong Yidong <cyd@gnu.org>
3153
3154 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3155 Suggested by Xue Fuqiao.
3156
3157 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3158
3159 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3160
3161 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * net/shr.el (shr-insert-document): Remove unused var
3164 `shr-preliminary-table-render'.
3165 (shr-rescale-image): Remove unused arg `force'.
3166 (shr-put-image): Update calls accordingly.
3167 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3168
3169 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3170
3171 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3172 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3173 :close-all, to see which indentation method to use (Bug#16116).
3174 (smie-rules-function): Document the method :close-all.
3175
3176 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3177
3178 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3179
3180 * net/eww.el (eww-display-html): If we can't find the anchor we're
3181 looking for, then go to point-min.
3182
3183 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3184
3185 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3186 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3187 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3188 Expand dir too, in case it's relative.
3189
3190 2013-12-16 Juri Linkov <juri@jurta.org>
3191
3192 * desktop.el (desktop-auto-save-timeout): Change default to
3193 `auto-save-timeout'. Doc fix.
3194 (desktop-save): Skip the timestamp in desktop-saved-frameset
3195 when checking for auto-save changes.
3196 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3197 `desktop-auto-save' is called repeatedly by the idle timer.
3198 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3199 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3200 (Bug#15331)
3201
3202 2013-12-16 Juri Linkov <juri@jurta.org>
3203
3204 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3205 (Bug#16035)
3206 (isearch-pre-command-hook): Check `this-command' for symbolp.
3207
3208 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3211
3212 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3213
3214 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3215 (cfengine3--current-function): Bring in the current-function
3216 functionality from `cfengine3--current-word'.
3217 (cfengine3-completion-function): Bring in the
3218 bounds-of-current-word functionality from
3219 `cfengine3--current-word'.
3220
3221 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3222
3223 * window.el (display-buffer-below-selected):
3224 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3225
3226 2013-12-16 Leo Liu <sdl.web@gmail.com>
3227
3228 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3229 Remove NOMSG arg and all uses changed.
3230
3231 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3234 (cua--deactivate-rectangle): Don't deactivate the mark.
3235 (cua-set-rectangle-mark): Don't set mark-active since
3236 cua--activate-rectangle already does it for us.
3237 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3238 non-rectangular region.
3239
3240 * emulation/cua-base.el (cua-repeat-replace-region):
3241 Use with-current-buffer.
3242
3243 * net/gnutls.el: Use cl-lib.
3244 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3245
3246 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3247
3248 * emacs-lisp/package.el (package-built-in-p): Support both
3249 built-in and the package.el converted package descriptions.
3250 (package-show-package-list): Allow keywords.
3251 (package-keyword-button-action): Use it instead of
3252 `finder-list-matches'.
3253 (package-menu-filter-interactive): Interactive filtering (by
3254 keyword) function.
3255 (package-menu--generate): Support keywords and change keymappings
3256 and headers when they are given.
3257 (package--has-keyword-p): Helper function.
3258 (package-menu--refresh): Use it.
3259 (package--mapc): Helper function.
3260 (package-all-keywords): Use it.
3261 (package-menu-mode-map): Set up menu items and keybindings to
3262 provide a filtering UI.
3263
3264 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3265
3266 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3267 the behavior when a certificate fails validation. Defaults to
3268 old behavior: never abort, just warn.
3269 (gnutls-negotiate): Use it.
3270
3271 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3272
3273 * window.el (display-buffer-below-selected): Never split window
3274 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3275
3276 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3277
3278 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3279 (package-buffer-info): Use it (bug#15108).
3280
3281 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * icomplete.el (icomplete-completions): Make sure the prefix is already
3284 displayed elsewhere before hiding it (bug#16219).
3285
3286 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3287
3288 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3289 open-paren tokens when preceded by a open-paren, too.
3290 (ruby-smie-rules): Handle virtual indentation after open-paren
3291 tokens specially. If there is code between it and eol, return the
3292 column where is starts (Bug#16118).
3293
3294 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3295
3296 * progmodes/cfengine.el: Fix `add-hook' doc.
3297 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3298 (cfengine3--current-word): Fix parameters.
3299 (cfengine3-make-syntax-cache): Simplify further.
3300 (cfengine3-completion-function, cfengine3--current-function):
3301 Use `assq' for symbols.
3302 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3303
3304 2013-12-13 Glenn Morris <rgm@gnu.org>
3305
3306 * loadup.el (load-path): Warn if site-load or site-init changes it.
3307 No more need to reset it when bootstrapping.
3308
3309 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3310
3311 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3312 locations for cf-promises.
3313 (cfengine-mode-syntax-functions-regex): New caching variable.
3314 (cfengine3-fallback-syntax): Fallback syntax for cases where
3315 cf-promises doesn't run.
3316 (cfengine3--current-word): Reimplement using
3317 `cfengine-mode-syntax-functions-regex'.
3318 (cfengine3-completion-function, cfengine3--current-function):
3319 Use `cfengine3-make-syntax-cache' directly.
3320 (cfengine3-clear-syntax-cache): New function.
3321 (cfengine3-make-syntax-cache): Simplify and create
3322 `cfengine-mode-syntax-functions-regex' on demand.
3323 (cfengine3-format-function-docstring): Don't call
3324 `cfengine3-make-syntax-cache' explicitly.
3325
3326 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3327
3328 Fix windmove-find-other-window broken after pixelwise resizing
3329 (Bug#16017).
3330 * windmove.el (windmove-other-window-loc): Revert change from
3331 2013-12-04.
3332 (windmove-find-other-window): Call window-in-direction.
3333 * window.el (window-in-direction): New arguments SIGN, WRAP and
3334 MINI to emulate original windmove-find-other-window behavior.
3335
3336 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3337
3338 * simple.el (blink-matching--overlay): New variable.
3339 (blink-matching-open): Instead of moving point, highlight the
3340 matching paren with an overlay
3341 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3342
3343 * faces.el (paren-showing-faces, show-paren-match)
3344 (show-paren-mismatch): Move from paren.el.
3345
3346 2013-12-13 Leo Liu <sdl.web@gmail.com>
3347
3348 * indent.el (indent-region): Disable progress reporter in
3349 minibuffer. (Bug#16108)
3350
3351 * bindings.el (visual-order-cursor-movement): Fix version.
3352
3353 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3354
3355 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3356 Also match after beginning of line.
3357 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3358 files. Thanks to Russell Sim. (Bug#15378)
3359
3360 2013-12-13 Juri Linkov <juri@jurta.org>
3361
3362 * simple.el <Keypad support>: Remove key bindings duplicated
3363 with bindings.el. (Bug#14397)
3364
3365 2013-12-13 Juri Linkov <juri@jurta.org>
3366
3367 * comint.el (comint-mode-map): Replace `delete-char' with
3368 `delete-forward-char'. (Bug#16109)
3369
3370 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3371
3372 * progmodes/python.el (python-indent-calculate-indentation):
3373 Fix de-denters cornercase. (Bug#15731)
3374
3375 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3378 (advice--make): Pay attention to `depth'.
3379 (advice--make-1): Don't autoload commands eagerly.
3380 * emacs-lisp/elp.el (elp-instrument-function):
3381 * emacs-lisp/trace.el (trace-function-internal):
3382 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3383
3384 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3385
3386 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3387
3388 * term/w32-win.el (w32-handle-dropped-file):
3389 * startup.el (normal-top-level):
3390 * net/browse-url.el (browse-url-file-url):
3391 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3392 decode file names using 'utf-8' rather than
3393 file-name-coding-system.
3394
3395 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3396
3397 * progmodes/python.el (python-indent-context)
3398 (python-indent-calculate-indentation): Fix auto-identation
3399 behavior for comment blocks. (Bug#15916)
3400
3401 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3402
3403 * progmodes/python.el (python-indent-calculate-indentation):
3404 When determining indentation, don't treat "return", "pass", etc., as
3405 operators when they are just string constituents. (Bug#15812)
3406
3407 2013-12-12 Juri Linkov <juri@jurta.org>
3408
3409 * uniquify.el (uniquify-buffer-name-style): Change default to
3410 `post-forward-angle-brackets'.
3411
3412 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3413 `uniquify'. Change default to `post-forward-angle-brackets'.
3414
3415 2013-12-11 Glenn Morris <rgm@gnu.org>
3416
3417 * emacs-lisp/package.el (finder-list-matches):
3418 Autoload rather than falsely declaring.
3419
3420 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3421
3422 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3423 (eww-mode-map): Use them.
3424
3425 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3426
3427 * window.el (display-buffer-in-side-window): Fix doc-string
3428 (Bug#16115).
3429
3430 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3431
3432 * vc/vc-git.el: Silence byte-compiler warnings.
3433 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3434 (log-edit-set-header): Declare.
3435
3436 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3437
3438 * Makefile.in (custom-deps, finder-data): Run output file names
3439 through unmsys--file-name. (Bug#16099)
3440
3441 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3442
3443 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3444 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3445
3446 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3447 instead of deleting the selection "by hand" (bug#16098).
3448 Rely on insert-for-yank to yank rectangles.
3449 (cua-highlight-region-shift-only): Mark obsolete.
3450 (cua-mode): Don't enable/disable transient-mark-mode,
3451 shift-select-mode (cua-mode works both with and without them), and
3452 pc-selection-mode (obsolete).
3453 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3454 (cua--deactivate-rectangle): Deactivate it.
3455
3456 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3457 (delete-selection-helper): Make sure yank starts at the top of the
3458 deleted region.
3459 (minibuffer-keyboard-quit): Use region-active-p.
3460
3461 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3462
3463 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3464 to `delete' (bug#16109).
3465
3466 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3467
3468 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3469 info manual and show keybindings and set `:group' keyword.
3470
3471 2013-12-11 Juri Linkov <juri@jurta.org>
3472
3473 * delsel.el (delete-active-region): Let-bind `this-command'
3474 to prevent `kill-region' from changing its original value.
3475 (delete-selection-helper): Handle `overwrite-mode' for the type
3476 `kill' exactly the same way as for the type `t'.
3477 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3478 Support more commands. (Bug#13312)
3479
3480 2013-12-11 Juri Linkov <juri@jurta.org>
3481
3482 * bindings.el: Map kp keys to non-kp keys systematically
3483 with basic modifiers control, meta and shift. (Bug#14397)
3484
3485 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3486
3487 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3488 "Close browser" menu items. Fix wrong function of "List
3489 bookmarks".
3490
3491 2013-12-11 Juri Linkov <juri@jurta.org>
3492
3493 * misearch.el (multi-isearch-buffers): Set the value of
3494 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3495 arg of isearch-forward to t.
3496 (multi-isearch-buffers-regexp): Set the value of
3497 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3498 arg of isearch-forward-regexp to t.
3499 (multi-isearch-files): Set the value of
3500 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3501 arg of isearch-forward to t.
3502 (multi-isearch-files-regexp): Set the value of
3503 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3504 arg of isearch-forward-regexp to t. (Bug#16035)
3505
3506 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3507 arg of isearch-forward to t.
3508 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3509 arg of isearch-forward-regexp to t.
3510 (dired-isearch-filter-filenames): Remove unnecessary check for
3511 `dired-isearch-filenames'.
3512
3513 * comint.el (comint-history-isearch-backward):
3514 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3515 (comint-history-isearch-backward-regexp):
3516 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3517
3518 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3519
3520 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3521 unmsys--file-name. (Bug#16099)
3522
3523 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3524
3525 * emacs-lisp/package.el (package-keyword-button-action):
3526 Remove finder.el require dependency.
3527
3528 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3529
3530 * emacs-lisp/package.el: Require finder.el.
3531 (describe-package-1): Add keyword buttons.
3532 (package-make-button): New convenience function.
3533 (package-keyword-button-action): Keyword button action using
3534 `finder-list-matches'.
3535
3536 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3537
3538 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3539 last commit.
3540
3541 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3542
3543 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3544 symlinked files.
3545
3546 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3547
3548 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3549 after the end of a percent literal.
3550
3551 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3552
3553 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3554 Handle caret-delimited strings (Bug#16079).
3555
3556 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3557
3558 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3559 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3560 `ruby-parse-partial' (Bug#16078).
3561
3562 2013-12-09 Leo Liu <sdl.web@gmail.com>
3563
3564 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3565
3566 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3567
3568 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3569 (js-switch-indent-offset): New option.
3570 (js--proper-indentation): Use it. And handle the case when
3571 "default" is actually a key in an object literal.
3572 (js--same-line): New function.
3573 (js--multi-line-declaration-indentation): Use it.
3574 (js--indent-in-array-comp, js--array-comp-indentation):
3575 New functions.
3576 (js--proper-indentation): Use them, to handle array comprehension
3577 continuations.
3578
3579 2013-12-08 Leo Liu <sdl.web@gmail.com>
3580
3581 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3582 (flymake-make-overlay): Remove arg MOUSE-FACE.
3583 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3584
3585 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3588 New function.
3589 (redisplay-highlight-region-function): Use it.
3590
3591 * emulation/cua-base.el (cua--explicit-region-start)
3592 (cua--last-region-shifted): Remove.
3593 (cua--deactivate): Use deactivate-mark.
3594 (cua--pre-command-handler-1): Don't handle shift-selection.
3595 (cua--post-command-handler-1): Don't change transient-mark-mode.
3596 (cua--select-keymaps): Use region-active-p rather than
3597 cua--explicit-region-start or cua--last-region-shifted.
3598 (cua-mode): Enable shift-select-mode.
3599
3600 2013-12-08 Leo Liu <sdl.web@gmail.com>
3601
3602 * progmodes/flymake.el (flymake-popup-current-error-menu):
3603 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3604 (flymake-posn-at-point-as-event, flymake-popup-menu)
3605 (flymake-make-emacs-menu): Remove. (Bug#16077)
3606
3607 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * rect.el (rectangle-mark-mode): Activate mark even if
3610 transient-mark-mode is off (bug#16066).
3611 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3612 is > mark and at bolp.
3613
3614 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3615 (region-extract-function): Use it.
3616 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3617 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3618 Delete functions.
3619 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3620 kill-ring-save, kill-region, delete-char, delete-forward-char.
3621 Ignore self-insert-iso.
3622
3623 * emulation/cua-gmrk.el (cua--init-global-mark):
3624 Ignore `self-insert-iso'.
3625
3626 * emulation/cua-base.el (cua--prefix-copy-handler)
3627 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3628 checking cua--rectangle.
3629 (cua-delete-region): Use region-extract-function.
3630 (cua-replace-region): Delete function.
3631 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3632 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3633 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3634 (cua--init-keymaps): Don't remap delete-selection commands.
3635 (cua-mode): Use delete-selection-mode instead of rolling our own
3636 (bug#16085).
3637
3638 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3639 Obey region-extract-function.
3640
3641 Make registers and delete-selection-mode work on rectangles.
3642 * register.el (describe-register-1): Don't modify the register's value.
3643 (copy-to-register): Obey region-extract-function.
3644 * delsel.el (delete-active-region): Obey region-extract-function.
3645
3646 2013-12-08 Leo Liu <sdl.web@gmail.com>
3647
3648 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3649 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3650 (flymake-compilation-prevents-syntax-check)
3651 (flymake-start-syntax-check-on-newline)
3652 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3653 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3654 (flymake-xml-program, flymake-master-file-dirs)
3655 (flymake-master-file-count-limit)
3656 (flymake-allowed-file-name-masks): Relocate.
3657 (flymake-makehash, flymake-float-time)
3658 (flymake-replace-regexp-in-string, flymake-split-string)
3659 (flymake-get-temp-dir): Remove.
3660 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3661 (flymake-current-row, flymake-selected-frame)
3662 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3663 related functions. (Bug#16077)
3664
3665 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3666
3667 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3668
3669 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3670
3671 * help-fns.el (describe-function-1): Use new advice-* functions
3672 rather than old ad-* functions. Fix function type description and
3673 source links for advised functions and subrs.
3674
3675 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3676
3677 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3678
3679 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3680
3681 * progmodes/compile.el (compilation-start):
3682 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3683
3684 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3685 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3686
3687 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3688
3689 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3690 Touch up the last change.
3691
3692 2013-12-06 Leo Liu <sdl.web@gmail.com>
3693
3694 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3695 (inferior-octave-startup): Always use "octave> " for prompt.
3696 (octave-goto-function-definition)
3697 (octave-sync-function-file-names)
3698 (octave-find-definition-default-filename): Remove redundant backquotes.
3699
3700 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3701
3702 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3703 syntax for `?'.
3704 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3705 where appropriate already.
3706 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3707 end of method names (Bug#15874).
3708
3709 2013-12-06 Juri Linkov <juri@jurta.org>
3710
3711 * isearch.el (isearch--saved-overriding-local-map):
3712 New internal variable.
3713 (isearch-mode): Set it to the initial value of
3714 `overriding-terminal-local-map'.
3715 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3716 with `isearch--saved-overriding-local-map'. (Bug#16035)
3717
3718 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3719
3720 * progmodes/octave.el (inferior-octave-completion-table):
3721 Turn back into function, use `completion-table-with-cache'
3722 (Bug#11906). Update all references.
3723
3724 * minibuffer.el (completion-table-with-cache): New function.
3725
3726 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3727
3728 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3729
3730 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3731
3732 * net/eww.el (eww-current-source): New variable to store page
3733 source.
3734 (eww-display-html, eww-mode, eww-save-history)
3735 (eww-restore-history): Use it.
3736 (eww-view-source): New command to view page source.
3737 Opportunistically uses `html-mode' to highlight the buffer.
3738 (eww-mode-map): Install it.
3739
3740 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3741
3742 * net/dbus.el (dbus-unregister-service)
3743 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3744 Fix docstring.
3745 (dbus-unregister-service): Skip :serial entries in
3746 `dbus-registered-objects-table'.
3747 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3748
3749 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3750
3751 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3752 around keywords with extra `split-string' argument.
3753
3754 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3755
3756 * windmove.el (windmove-other-window-loc): Handle navigation
3757 between windows (excluding the minibuffer window - Bug#16017).
3758
3759 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3760
3761 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3762 in D-Bus type syntax.
3763 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3764 preserve unibyte strings. (Bug#16048)
3765
3766 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3769 Call force-mode-line-update is the proper buffer (bug#16042).
3770
3771 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3772
3773 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3774 `log-edit-remember-comment', make argument optional. Adjust all
3775 callers.
3776 (log-edit-mode): Add `log-edit-remember-comment' to
3777 `kill-buffer-hook' locally.
3778 (log-edit-kill-buffer): Don't remember comment explicitly since
3779 the buffer is killed anyway.
3780
3781 2013-12-04 Juri Linkov <juri@jurta.org>
3782
3783 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3784 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3785
3786 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3787
3788 * notifications.el (notifications-close-notification): Call the
3789 D-Bus method with ID being a `:uint32'. (Bug#16030)
3790
3791 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3792
3793 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3794
3795 2013-12-03 Juri Linkov <juri@jurta.org>
3796
3797 * progmodes/compile.el (compilation-start): Rename window alist
3798 entry `no-display-ok' to `allow-no-window'.
3799
3800 * simple.el (shell-command): Add window alist entry
3801 `allow-no-window' to `display-buffer'.
3802 (async-shell-command): Doc fix.
3803
3804 * window.el (display-buffer-no-window): New action function.
3805 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3806
3807 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3808
3809 * vc/log-edit.el (log-edit-set-header): Extract from
3810 `log-edit-toggle-header'.
3811 (log-edit-extract-headers): Separate the summary, when extracted
3812 from header, from the rest of the message with an empty line.
3813
3814 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3815 line, if present, to the Summary header.
3816
3817 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3818
3819 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3820 in current-buffer (bug#16029).
3821
3822 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3823
3824 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3825 (debugger-mode-map): Bind it.
3826 (debugger--backtrace-base): New function.
3827 (debugger-eval-expression): Use it.
3828 (debugger-frame-number): Skip local vars when present.
3829 (debugger--locals-visible-p, debugger--insert-locals)
3830 (debugger--show-locals, debugger--hide-locals): New functions.
3831
3832 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3833
3834 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3835 "LC_ALL".
3836 (tramp-get-remote-locale): New defun.
3837 (tramp-open-connection-setup-interactive-shell): Use it.
3838
3839 2013-12-02 Leo Liu <sdl.web@gmail.com>
3840
3841 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3842
3843 * progmodes/sh-script.el (sh-shell-process):
3844 * progmodes/octave.el (inferior-octave-process-live-p):
3845 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3846 (gdb-inferior-io-sentinel):
3847 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3848
3849 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3850
3851 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3852 `save-selected-window' to `log-edit-hide-buf'. This makes
3853 `log-edit-show-files' idempotent.
3854 (log-edit-show-files): Mark the new window as dedicated.
3855
3856 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3857
3858 * vc/log-edit.el (log-edit-mode-map): Add binding for
3859 `log-edit-kill-biffer'.
3860 (log-edit-hide-buf): Add a FIXME comment.
3861 (log-edit-add-new-comment): New function, extracted from
3862 `log-edit-done'.
3863 (log-edit-done, log-edit-add-to-changelog): Use it.
3864 (log-edit-kill-buffer): New command.
3865
3866 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3867
3868 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3869 instead of killing the buffer.
3870
3871 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3872
3873 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3874
3875 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3876
3877 * net/eww.el (eww-form-checkbox-selected-symbol)
3878 (eww-form-checkbox-symbol): New customizable variable.
3879 (eww-form-checkbox, eww-toggle-checkbox):
3880 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3881
3882 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3883 (shr--get-media-pref, shr--extract-best-source): New function.
3884 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3885 no :src tag was specified.
3886
3887 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3888 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3889 Use \\` to match beginning of string instead of ^.
3890 (eww-browse-with-external-browser): Provide optional URL parameter.
3891 (eww-render): Set `eww-current-title' back to "".
3892
3893 * net/shr.el (shr-tag-video): Display content for video if no
3894 poster is available.
3895 (shr-tag-audio): Add support for <audio> tag.
3896
3897 * net/eww.el (eww-text-input-types): New const.
3898 (eww-process-text-input): Treat input types in
3899 `eww-text-input-types' as text.
3900
3901 * net/shr.el (shr-tag-table): Fix comment typo.
3902
3903 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3904
3905 * net/eww.el (eww-follow-link): New command to avoid reloading
3906 pages when we follow #target links (bug#15243).
3907 (eww-quit): Special mode buffers shouldn't query before exiting.
3908
3909 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3910
3911 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3912 forms.
3913
3914 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3915
3916 * net/eww.el (eww-restore-history): Update the window title after
3917 moving in the history.
3918 (eww-current-dom): New variable used to save the current DOM.
3919
3920 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3921
3922 * vc/log-edit.el (log-edit-mode-map): Add binding for
3923 `log-edit-beginning-of-line'.
3924 (log-edit-setup-add-author): New user option.
3925 (log-edit-beginning-of-line): New command.
3926 (log-edit): Move major mode call above the contents setup so that
3927 the local variable values are already applied.
3928 (log-edit): Only insert "Author: " when
3929 `log-edit-setup-add-author' is non-nil.
3930 (log-edit): When SETUP is non-nil, position point after ": "
3931 instead of point-min.
3932
3933 2013-12-01 Glenn Morris <rgm@gnu.org>
3934
3935 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3936
3937 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3938
3939 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3940 redisplay to make sure the initial frame gets a chance to become
3941 visible. (Bug#16014)
3942
3943 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3944
3945 Support resizing frames and windows pixelwise.
3946 * cus-start.el (frame-resize-pixelwise)
3947 (window-resize-pixelwise): New entries.
3948 * emacs-lisp/debug.el (debug): Use window-total-height instead
3949 of window-total-size.
3950 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3951 * help.el (describe-bindings-internal): Use help-buffer as
3952 argument for with-help-window.
3953 (temp-buffer-max-width): New option.
3954 (resize-temp-buffer-window, help-window-setup)
3955 (with-help-window): Rewrite.
3956 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3957 dragging dividers.
3958 * window.el (frame-char-size, window-min-pixel-height)
3959 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3960 (window-min-pixel-width, window-safe-min-pixel-size)
3961 (window-combination-p, window-safe-min-size)
3962 (window-resizable-p, window--size-to-pixel)
3963 (window--pixel-to-size, window--resize-apply-p): New functions.
3964 (window-safe-min-height): Fix doc-string.
3965 (window-size, window-min-size, window--min-size-1)
3966 (window-sizable, window-sizable-p, window--min-delta-1)
3967 (window-min-delta, window--max-delta-1, window-max-delta)
3968 (window--resizable, window--resizable-p, window-resizable)
3969 (window-full-height-p, window-full-width-p, window-at-side-p)
3970 (window--in-direction-2, window-in-direction)
3971 (window--resize-reset-1, window--resize-mini-window)
3972 (window-resize, window-resize-no-error)
3973 (window--resize-child-windows-normal)
3974 (window--resize-child-windows, window--resize-siblings)
3975 (window--resize-this-window, window--resize-root-window)
3976 (window--resize-root-window-vertically)
3977 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3978 (maximize-window, minimize-window, delete-window)
3979 (quit-restore-window, window-split-min-size, split-window)
3980 (balance-windows-2, balance-windows)
3981 (balance-windows-area-adjust, balance-windows-area)
3982 (window--state-get-1, window-state-get, window--state-put-1)
3983 (window--state-put-2, window-state-put)
3984 (display-buffer-record-window, window--display-buffer):
3985 Make functions handle pixelwise sizing of windows.
3986 (display-buffer--action-function-custom-type)
3987 (display-buffer-fallback-action):
3988 Add display-buffer-in-previous-window.
3989 (display-buffer-use-some-window): Resize window to height it had
3990 before.
3991 (fit-window-to-buffer-horizontally): New option.
3992 (fit-frame-to-buffer): Describe new values.
3993 (fit-frame-to-buffer-bottom-margin): Replace with
3994 fit-frame-to-buffer-margins.
3995 (window--sanitize-margin): New function.
3996 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3997 using window-text-pixel-size.
3998
3999 2013-11-30 Glenn Morris <rgm@gnu.org>
4000
4001 * emacs-lisp/bytecomp.el (byte-compile-form):
4002 Make the `interactive-only' warning like the `obsolete' one.
4003 * comint.el (comint-run):
4004 * files.el (insert-file-literally, insert-file):
4005 * replace.el (replace-string, replace-regexp):
4006 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4007 (goto-line, insert-buffer, next-line, previous-line):
4008 Tweak `interactive-only' spec.
4009
4010 Stop keeping (most) generated cedet grammar files in the repository.
4011 * Makefile.in (semantic): New.
4012 (compile-main): Depend on semantic.
4013
4014 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4017 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4018
4019 * uniquify.el (uniquify-buffer-name-style): Change default.
4020
4021 * loadup.el: Preload "uniquify".
4022
4023 * time.el (display-time-update): Update all mode lines (bug#15999).
4024
4025 * electric.el (electric-indent-mode): Enable by default.
4026 * loadup.el: Preload "electric".
4027
4028 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4029
4030 * emacs-lisp/helpers.el (string-empty-p): New function.
4031 (string-blank-p): New function.
4032
4033 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4034
4035 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4036 (Bug#14029).
4037
4038 2013-11-29 Andreas Politz <politza@fh-trier.de>
4039 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4040 allow non-lambda lists as functions.
4041 (imenu--in-alist): Don't recurse into non-subalists.
4042 (imenu): Don't pass function itself as an argument (Bug#14029).
4043
4044 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * progmodes/python.el (python-mode-map): Remove binding for ":".
4047 (python-indent-electric-colon): Remove command.
4048 (python-indent-post-self-insert-function): Integrate the previous code
4049 of python-indent-electric-colon. Make it conditional on
4050 electric-indent-mode.
4051 (python-mode): Add ?: to electric-indent-chars.
4052 Move python-indent-post-self-insert-function to the end of
4053 post-self-insert-hook.
4054
4055 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 * doc-view.el (doc-view-goto-page): Update mode-line.
4058
4059 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4060
4061 2013-11-27 Glenn Morris <rgm@gnu.org>
4062
4063 * international/charprop.el, international/uni-bidi.el:
4064 * international/uni-category.el, international/uni-combining.el:
4065 * international/uni-comment.el, international/uni-decimal.el:
4066 * international/uni-decomposition.el, international/uni-digit.el:
4067 * international/uni-lowercase.el, international/uni-mirrored.el:
4068 * international/uni-name.el, international/uni-numeric.el:
4069 * international/uni-old-name.el, international/uni-titlecase.el:
4070 * international/uni-uppercase.el:
4071 Remove generated files from VCS repository.
4072
4073 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4074
4075 * filenotify.el (file-notify-add-watch): Don't special-case
4076 w32notify when computing the directory to watch.
4077
4078 2013-11-27 Glenn Morris <rgm@gnu.org>
4079
4080 Make bootstrap without generated uni-*.el files possible again.
4081 * loadup.el: Update command-line-args checking for unidata-gen.
4082 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4083 * composite.el, international/characters.el:
4084 Handle unicode tables being undefined.
4085
4086 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4087 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4088 (compile-main): Depend on leim rule.
4089 (leim): New rule.
4090 * loadup.el: Move leim-list.el to leim/ subdirectory.
4091 * startup.el (normal-top-level): No more leim directory.
4092 * international/ja-dic-cnv.el (skkdic-convert):
4093 Disable version-control and autoloads in output files.
4094 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4095 Disable version-control and autoloads in output files.
4096 * leim/quail: Move here from ../leim.
4097 * leim/quail/hangul.el (hangul-input-method-activate):
4098 Add autoload cookie.
4099 (generated-autoload-load-name): Set file-local value.
4100 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4101 (generated-autoload-load-name): Set file-local value.
4102
4103 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4104
4105 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4106 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4107 (eww-quit): Ask confirmation before quitting eww.
4108
4109 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4110
4111 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4112 reading output from Diff on MS-Windows and MS-DOS.
4113
4114 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4115
4116 * emacs-lisp/helpers.el (string-reverse): New function.
4117
4118 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4119
4120 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4121 names on MS Windows, like "/[::1]:".
4122
4123 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4124 SWITCHES.
4125
4126 2013-11-26 Glenn Morris <rgm@gnu.org>
4127
4128 * progmodes/python.el (python-indent-guess-indent-offset):
4129 Avoid corner-case error. (Bug#15975)
4130
4131 Preload leim-list.el. (Bug#4789)
4132 * loadup.el: Load leim-list.el when found.
4133 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4134
4135 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4136
4137 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4138
4139 * emacs-lisp/helpers.el (string-join): New function.
4140
4141 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4142
4143 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4144 Mark as obsolete and replace it with a symbol property.
4145 (byte-compile-form): Use new 'interactive-only property.
4146 * comint.el, files.el, replace.el, simple.el:
4147 Apply new 'interactive-only properly.
4148
4149 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4150
4151 * window.el (display-buffer-at-bottom): Make sure that
4152 split-window-sensibly creates the new window on bottom
4153 (Bug#15961).
4154
4155 2013-11-23 David Kastrup <dak@gnu.org>
4156
4157 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4158 on the conflict markers when available.
4159 (smerge--get-marker): New function.
4160 (smerge-end-re, smerge-base-re): Add subgroup.
4161
4162 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4163
4164 * frame.el (handle-focus-in, handle-focus-out): Add missing
4165 interactive spec.
4166
4167 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4168
4169 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4170 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4171
4172 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4175 (gomoku--last-pos): New var.
4176 (gomoku--intangible-chars): New const.
4177 (gomoku--intangible): New function.
4178 (gomoku-mode): Use it. Derive from special-mode.
4179 (gomoku-move-up): Adjust line count.
4180 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4181 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4182 Simplify accordingly.
4183
4184 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4185 Remove blink-cursor code.
4186 (blink-cursor-timer-function, blink-cursor-suspend):
4187 Don't special-case GUIs.
4188 (blink-cursor-mode): Use focus-in/out-hook.
4189
4190 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4191
4192 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4193 work when annotation is invisible (Bug#13886).
4194
4195 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4196
4197 * json.el (json-alist-p): Only return non-nil if the alist has
4198 simple keys (Bug#13518).
4199
4200 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4201
4202 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4203 when control-statement is the first statement in a buffer (Bug#15956).
4204
4205 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4206
4207 * imenu.el (imenu-generic-skip-comments-and-strings):
4208 New option (Bug#15560).
4209 (imenu--generic-function): Use it.
4210
4211 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4212
4213 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4214 (Bug#13898)
4215
4216 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4217
4218 * emacs-lisp/helpers.el: Add some string helpers.
4219 (string-trim-left): Removes leading whitespace.
4220 (string-trim-right): Removes trailing whitespace.
4221 (string-trim): Removes leading and trailing whitespace.
4222
4223 * subr.el (string-suffix-p): New function.
4224
4225 2013-11-23 Glenn Morris <rgm@gnu.org>
4226
4227 * progmodes/python.el (python-shell-send-file):
4228 Add option to delete file when done. (Bug#15647)
4229 (python-shell-send-string, python-shell-send-region): Use it.
4230
4231 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4232
4233 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4234 to set buffer-read-only to t, never to nil. (Bug#15938)
4235
4236 * textmodes/tex-mode.el (latex-noindent-environments):
4237 Add safe-local-variable property. (Bug#15936)
4238
4239 2013-11-23 Glenn Morris <rgm@gnu.org>
4240
4241 * textmodes/enriched.el (enriched-mode): Doc fix.
4242 * emacs-lisp/authors.el (authors-renamed-files-alist):
4243 Add enriched.doc -> enriched.txt.
4244
4245 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4246
4247 2013-11-22 Leo Liu <sdl.web@gmail.com>
4248
4249 * progmodes/octave.el (inferior-octave-startup): Spit out error
4250 message.
4251
4252 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4253
4254 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4255 Improve docstring.
4256 Add :version.
4257 (ruby-encoding-magic-comment-style): Add :version.
4258
4259 2013-11-22 Leo Liu <sdl.web@gmail.com>
4260
4261 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4262 (Bug#15076)
4263 (octave-help-mode): Adapt to change to help-mode-finish to use
4264 derived-mode-p on 2013-09-17.
4265 (inferior-octave-prompt): Also match octave-gui.
4266 (octave-kill-process): Don't ask twice. (Bug#10564)
4267
4268 2013-11-22 Leo Liu <sdl.web@gmail.com>
4269
4270 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4271 (inferior-octave-startup, inferior-octave-check-process)
4272 (inferior-octave-track-window-width-change)
4273 (octave-completion-at-point, octave-eldoc-function): Use it.
4274 (octave-kill-process): Provide confirmation. (Bug#10564)
4275
4276 2013-11-21 Leo Liu <sdl.web@gmail.com>
4277
4278 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4279 Fix obsolete variable comment-use-global-state.
4280
4281 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4282
4283 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4284 Add `octave-source-file'.
4285 (octave-source-file): New function. (Bug#15935)
4286
4287 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4288
4289 * net/eww.el (eww-local-regex): New variable.
4290 (eww): Use it to detect localhost and similar.
4291
4292 2013-11-21 Leo Liu <sdl.web@gmail.com>
4293
4294 Add completion for command `ag'.
4295 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4296 (pcomplete/ag): New function.
4297 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4298
4299 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4302 (bug#14646).
4303 (make-obsolete): Remove interactive spec.
4304
4305 2013-11-21 Glenn Morris <rgm@gnu.org>
4306
4307 * startup.el (command-line-1): Use path-separator with -L.
4308
4309 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4310
4311 * emacs-lisp/package.el (describe-package-1): Add package archive
4312 to shown fields.
4313
4314 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4315
4316 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4317 Change default to "# encoding: %s" to differentiate it from the
4318 default Ruby encoding comment template.
4319
4320 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4321
4322 * ses.el (ses-mode): Doc fix. (Bug#14748)
4323
4324 2013-11-20 Leo Liu <sdl.web@gmail.com>
4325
4326 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4327
4328 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4329
4330 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4331 when rebase or bisect are in progress.
4332
4333 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4334
4335 * filenotify.el (file-notify-add-watch): Doc fix.
4336
4337 2013-11-19 Leo Liu <sdl.web@gmail.com>
4338
4339 * obsolete/rcompile.el: Mark obsolete.
4340
4341 * progmodes/compile.el (compilation-start)
4342 (compilation-goto-locus, compilation-find-file):
4343 Pass no-display-ok and handle nil value from display-buffer.
4344 (Bug#13594)
4345
4346 * window.el (display-buffer-alist, display-buffer): Document the
4347 new parameter no-display-ok. Return either a window or nil
4348 but never a non-window value.
4349
4350 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * electric.el (electric-indent-mode-map): Remove.
4353 (electric-indent-mode): Change the global-map instead (bug#15915).
4354
4355 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4356 Use add-function.
4357
4358 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * emacs-lisp/nadvice.el (remove-function): Align with
4361 add-function's behavior.
4362
4363 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4364 (gdb--string-regexp): New constant.
4365 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4366 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4367 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4368 submatch 1.
4369 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4370 Adjust use accordingly.
4371 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4372
4373 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4374
4375 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4376 interpolation curlies (Bug#15914).
4377
4378 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4379
4380 * calc/calc.el (calc-context-sensitive-enter): New variable.
4381 (calc-enter): Use `calc-context-sensitive-enter'.
4382
4383 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4384
4385 * progmodes/cfengine.el: Version bump.
4386 (cfengine-cf-promises): New defcustom to locate cf-promises.
4387 (cfengine3-vartypes): Add new "data" type.
4388 (cfengine3--current-word): New function to get current name-like
4389 word or its bounds.
4390 (cfengine3--current-function): New function to look up a CFEngine
4391 function's definition.
4392 (cfengine3-format-function-docstring): New function.
4393 (cfengine3-make-syntax-cache): New function.
4394 (cfengine3-documentation-function): New function: ElDoc glue.
4395 (cfengine3-completion-function): New function: completion glue.
4396 (cfengine3-mode): Set `compile-command',
4397 `eldoc-documentation-function', and add to
4398 `completion-at-point-functions'.
4399
4400 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4401
4402 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4403 `tramp-current-connection'.
4404
4405 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4406
4407 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4408 nil/self/true/false with "end of symbol".
4409
4410 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4411
4412 * subr.el (version-regexp-alist): Fix a typo.
4413
4414 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4415
4416 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4417 "en_US.utf8" and "LC_CTYPE" to "".
4418 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4419 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4420
4421 2013-11-15 Leo Liu <sdl.web@gmail.com>
4422
4423 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4424
4425 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4426
4427 * progmodes/gud.el (ctl-x-map):
4428 Remove C-x SPC binding. (Bug#12342)
4429 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4430
4431 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4432
4433 * subr.el (version-regexp-alist):
4434 Recognize hg, svn and darcs versions as snapshot versions.
4435
4436 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4437 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4438 (ruby--encoding-comment-required-p): Extract from
4439 `ruby-mode-set-encoding'.
4440 (ruby-mode-set-encoding): Add the ability to always insert an
4441 utf-8 encoding comment. Fix and simplify coding comment update
4442 logic.
4443
4444 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4445
4446 * net/tramp-gvfs.el (top): Run init code only when
4447 `tramp-gvfs-enabled' is not nil.
4448 (tramp-gvfs-enabled): Check also :system bus.
4449
4450 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 Sync with upstream verilog-mode revision 78e66ba.
4453 * progmodes/verilog-mode.el (verilog-end-of-defun)
4454 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4455 (verilog-get-end-of-defun): Remove unused argument.
4456 (verilog-comment-depth): Remove unused local `e'.
4457 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4458 Don't pass arg to verilog-get-end-of-defun.
4459
4460 2013-11-14 Glenn Morris <rgm@gnu.org>
4461
4462 * obsolete/assoc.el (aget): Prefix dynamic variable.
4463
4464 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4465
4466 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * widget.el, hfy-cmap.el: Remove bogus package version number.
4469
4470 2013-11-13 Glenn Morris <rgm@gnu.org>
4471
4472 * replace.el (replace-eval-replacement):
4473 Try to give more helpful error message. (Bug#15836)
4474
4475 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4476 (archive-7z-update): Avoid custom type mismatches.
4477
4478 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4479
4480 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4481
4482 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4483 address can be empty.
4484
4485 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4486 Accept nil SWITCHES.
4487 (tramp-gvfs-handle-write-region): Implement APPEND.
4488
4489 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4490
4491 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4492 binary "|" operator and closing block args delimiter.
4493 Remove FIXME comment referring to Ruby 1.8-only syntax.
4494 (ruby-smie--implicit-semi-p): Not after "|" operator.
4495 (ruby-smie--closing-pipe-p): New function.
4496 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4497 (ruby-smie-rules): Indent after "|".
4498
4499 2013-11-12 Glenn Morris <rgm@gnu.org>
4500
4501 * ps-print.el (ps-face-attribute-list):
4502 Handle anonymous faces. (Bug#15827)
4503
4504 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4505
4506 * window.el (display-buffer-other-frame): Fix doc-string.
4507 (Bug#15868)
4508
4509 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4512
4513 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4514
4515 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4516 (tramp-sh-handle-file-local-copy): Don't write a message when
4517 saving temporary files.
4518
4519 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4520 both directories are remote.
4521 (tramp-smb-handle-directory-files): Do not return double entries.
4522 Do not expand full file names.
4523 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4524 (tramp-smb-handle-write-region): Implement APPEND.
4525 (tramp-smb-get-stat-capability): Fix a stupid bug.
4526
4527 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4528
4529 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4530
4531 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4532
4533 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4534 throwing error over malformed let/let* (bug#15814).
4535
4536 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * iswitchb.el (iswitchb-mode): Mark obsolete.
4539
4540 2013-11-11 Glenn Morris <rgm@gnu.org>
4541
4542 * international/uni-bidi.el, international/uni-category.el:
4543 * international/uni-name.el, international/uni-numeric.el:
4544 Regenerate for Unicode 6.3.0.
4545
4546 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4547
4548 * net/tramp.el (tramp-methods):
4549 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4550 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4551
4552 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4553
4554 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4555 Force highlighting text after Summary keyword in doc face for rpm.
4556
4557 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4558
4559 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4560 available and the word has no wildcards, append one to the grep pattern.
4561 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4562 (ispell-complete-word): Call `ispell-lookup-words' with the value
4563 independent of `ispell-look-p'.
4564
4565 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4566
4567 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4568 Not after "||".
4569 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4570 their parent.
4571
4572 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4573
4574 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4575 (ruby-font-lock-keywords): Use backquote.
4576
4577 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4578
4579 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4580 (ruby-smie--backward-token): Only consider full-string matches.
4581
4582 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4583
4584 * faces.el (describe-face): Add distant-foreground.
4585
4586 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4587
4588 * progmodes/ruby-mode.el: Improve encoding comment handling.
4589 (ruby-encoding-magic-comment-style): New option.
4590 (ruby-custom-encoding-magic-comment-template): New option.
4591 (ruby--insert-coding-comment, ruby--detect-encoding):
4592 New functions extracted from `ruby-mode-set-encoding'.
4593 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4594 to control the style of the auto-inserted encoding comment.
4595
4596 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4597
4598 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4599 Use `smie-backward-sexp' with token argument.
4600
4601 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4602
4603 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4604 Remove instrumentation code.
4605
4606 2013-11-08 Glenn Morris <rgm@gnu.org>
4607
4608 * progmodes/autoconf.el (autoconf-mode):
4609 Tweak comment-start-skip. (Bug#15822)
4610
4611 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4614 at bobp (bug#15826).
4615 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4616
4617 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4618
4619 * man.el (Man-start-calling): New macro, extracted from
4620 Man-getpage-in-background.
4621 (Man-getpage-in-background): Use it.
4622 (Man-update-manpage): New command.
4623 (Man-mode-map): Bind it.
4624
4625 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4626
4627 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4628 of "and", "or", "&&" and "||".
4629 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4630 argument. Prohibit opening curly brace because it could only be a
4631 block opener in that position.
4632 (ruby-smie--forward-token, ruby-smie--backward-token):
4633 Separate "|" from "&" or "*" going after it. That can happen in block
4634 arguments.
4635 (ruby-smie--indent-to-stmt): New function, seeks the end of
4636 previous statement or beginning of buffer.
4637 (ruby-smie-rules): Use it.
4638 (ruby-smie-rules): Check if there's a ":" before a curly block
4639 opener candidate; if there is, it's a hash.
4640
4641 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4644 (cl--block-wrapper): Fix last accidental change.
4645
4646 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4647
4648 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4649 Instrument, in order to hunt failure on hydra.
4650
4651 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4652
4653 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4654 malformed bindings form (bug#15814).
4655
4656 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4657
4658 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4659 "." compared to " @ ". This incidentally fixes some indentation
4660 examples with "do".
4661 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4662 (ruby-smie-grammar): New tokens: "and" and "or".
4663 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4664 Exclude "and" and "or". Remove "do" in order to work around token
4665 priorities.
4666 (ruby-smie-rules): Add all infix tokens. Handle the case of
4667 beginning-of-buffer.
4668
4669 2013-11-06 Glenn Morris <rgm@gnu.org>
4670
4671 * Makefile.in (setwins_almost, setwins_for_subdirs):
4672 Avoid accidental matches.
4673
4674 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * menu-bar.el (popup-menu): Use key-binding.
4677
4678 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4679
4680 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4681 menus, support also the menus produced by minor modes.
4682 (Bug#15817)
4683
4684 2013-11-06 Leo Liu <sdl.web@gmail.com>
4685
4686 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4687 DISTANCE to bound the search. All uses changed. (Bug#15808)
4688
4689 2013-11-06 Glenn Morris <rgm@gnu.org>
4690
4691 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4692 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4693 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4694
4695 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4696
4697 * electric.el (electric-indent-just-newline): New command.
4698 (electric-indent-mode-map): New keymap.
4699 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4700 Re-add :group which weren't redundant.
4701
4702 * electric.el (electric-indent-local-mode): New minor mode.
4703 (electric-indent-functions-without-reindent): New var.
4704 (electric-indent-post-self-insert-function): Use it.
4705 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4706
4707 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4708
4709 * international/quail.el (quail-help): Be more explicit about the
4710 meaning of the labels shown on the keys. (Bug#15800)
4711
4712 * startup.el (normal-top-level): Load the subdirs.el files before
4713 setting the locale environment. (Bug#15805)
4714
4715 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4718 via arguments so as to get the right ones (bug#15418).
4719
4720 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4721
4722 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4723
4724 Fix problems found while writing a test suite.
4725
4726 * net/tramp-compat.el (tramp-compat-load): New defun.
4727 * net/tramp.el (tramp-handle-load): Use it.
4728
4729 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4730 "(numberp ok-if-already-exists)" correctly.
4731
4732 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4733
4734 * international/characters.el (glyphless-char-display-control):
4735 Add usage note.
4736
4737 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4738
4739 * progmodes/python.el (python-mode):
4740 * progmodes/scheme.el (scheme-mode):
4741 * progmodes/prolog.el (prolog-mode):
4742 * progmodes/ruby-mode.el (ruby-mode):
4743 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4744 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4745
4746 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * rect.el (rectangle--highlight-for-redisplay):
4749 * emacs-lisp/smie.el (smie--next-indent-change):
4750 Use buffer-chars-modified-tick.
4751
4752 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4753
4754 * electric.el (electric-indent-post-self-insert-function):
4755 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4756
4757 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4758
4759 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4760
4761 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4762
4763 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4764 (bug#15786).
4765
4766 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4767
4768 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4769
4770 * progmodes/python.el: Fix up last change.
4771 (python-shell--save-temp-file): New function.
4772 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4773 `string' comes from the current buffer.
4774 (python-shell-send-string-no-output): Remove `msg' arg.
4775 (python--use-fake-loc): New var.
4776 (python-shell-buffer-substring): Obey it. Try to compensate for the
4777 extra coding line added by python-shell--save-temp-file.
4778 (python-shell-send-region): Use python-shell--save-temp-file and
4779 python-shell-send-file directly. Add `nomain' argument.
4780 (python-shell-send-buffer): Use python-shell-send-region.
4781 (python-electric-pair-string-delimiter): New function.
4782 (python-mode): Use it.
4783
4784 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4785
4786 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4787 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4788 environment and decoding all of the default-directory's to here
4789 from command-line.
4790 (command-line): Decode also argv[0].
4791
4792 * loadup.el: Error out if default-directory is a multibyte string
4793 when we are dumping.
4794
4795 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4796
4797 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4798
4799 * emacs-lisp/package.el (package-menu-mode)
4800 (package-menu--print-info, package-menu--archive-predicate):
4801 Add Archive column to package list.
4802
4803 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4804
4805 Fix problems found while writing a test suite.
4806
4807 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4808 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4809 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4810 to nil when running original file name handler. Otherwise,
4811 there are problems with constructs like "$$FOO".
4812
4813 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4814 for `localname'.
4815
4816 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4817
4818 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4819
4820 * subr.el (version<, version<=, version=):
4821 Update docstrings with information for snapshot versions.
4822
4823 * helpers.el: New library for misc helper functions.
4824 (hash-table-keys): New function returning a list of hash keys.
4825 (hash-table-values): New function returning a list of hash values.
4826
4827 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4828
4829 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4830 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4831
4832 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4833
4834 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4835 checking whether point is after a 1-letter word.
4836
4837 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4838
4839 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4840 Don't infloop when expanding region over `multiline' syntax-type that
4841 begins a line (bug#15778).
4842
4843 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4846 Make it into a proper minor mode.
4847 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4848 (rectangle-mark-mode-map): New keymap.
4849 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4850
4851 2013-11-04 Glenn Morris <rgm@gnu.org>
4852
4853 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4854
4855 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4858 (ruby-smie-rules): Use smie-rule-parent instead.
4859
4860 * emacs-lisp/smie.el (smie-rule-parent): Always call
4861 smie-indent-virtual rather than only for hanging tokens.
4862 (smie--next-indent-change): New helper command.
4863
4864 2013-11-03 Glenn Morris <rgm@gnu.org>
4865
4866 * Makefile.in (abs_srcdir): Remove.
4867 (emacs): Unset EMACSLOADPATH.
4868
4869 2013-11-02 Glenn Morris <rgm@gnu.org>
4870
4871 * Makefile.in (EMACS): Use a relative filename.
4872 (abs_top_builddir): Remove.
4873 (custom-deps, finder-data, autoloads): Use --chdir.
4874
4875 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4876
4877 Use relative filenames in TAGS files.
4878 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4879 (lisptagsfiles4, TAGS): Use relative file names.
4880 (TAGS-LISP): Remove.
4881 (maintainer-clean): No more TAGS-LISP file.
4882
4883 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4884 (lisptagsfiles4): Use absolute filenames again.
4885 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4886 Remove all *loaddefs files, not just the first. Remove esh-groups.
4887 (maintainer-clean): Delete TAGS, TAGS-LISP.
4888
4889 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4890
4891 * emacs-lisp/package.el (package-version-join):
4892 Recognize snapshot versions.
4893
4894 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4895
4896 * subr.el (version-regexp-alist): Add support for snapshot versions.
4897
4898 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4899
4900 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4901 New function, replacement for `smie-rule-parent' for when we want to
4902 skip over our direct parent if it's an assignment token..
4903 (ruby-smie-rules): Use it.
4904
4905 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4906
4907 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4908 unconditionally. Remove now unnecessary forward declarations.
4909 Remove XEmacs-specific setup.
4910 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4911 (ruby-font-lock-syntactic-keywords)
4912 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4913 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4914 (ruby-here-doc-end-syntax): Remove.
4915 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4916 defined as function.
4917
4918 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4919
4920 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4921
4922 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4923
4924 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4925 table and abbrev table, `define-derived-mode' does that for us
4926 anyway.
4927
4928 2013-11-01 Glenn Morris <rgm@gnu.org>
4929
4930 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4931 files is atomic for some time, so no parallel compilation issues).
4932
4933 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4934
4935 * faces.el (face-x-resources): Add :distant-foreground.
4936 (region): Use :distant-foreground for gtk and ns.
4937
4938 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4939
4940 Allow multiple bibliographies when BibLaTeX is used rather than
4941 BibTeX.
4942 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4943 (reftex-locate-bibliography-files): Us it.
4944
4945 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4946
4947 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4948 allow comments in pbm files.
4949
4950 * term/w32-win.el (dynamic-library-alist): Support newer versions
4951 of libjpeg starting with v7: look only for the DLL from the
4952 version against which Emacs was built.
4953 Support versions of libpng beyond 1.4.x.
4954 Support libtiff v4.x.
4955
4956 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4957
4958 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4959 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4960 Add property :safe.
4961 (ruby-deep-arglist): Add property :type.
4962
4963 2013-10-31 Glenn Morris <rgm@gnu.org>
4964
4965 * Makefile.in (custom-deps, finder-data): No need to setq the target
4966 variables, we are in the right directory and the defaults work fine.
4967
4968 2013-10-30 Glenn Morris <rgm@gnu.org>
4969
4970 * Makefile.in (autoloads): Do not use abs_lisp.
4971
4972 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4973 `newline' does not respect `standard-output', so use `princ'.
4974
4975 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4976
4977 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4978 * buff-menu.el (Buffer-menu--unmark): New function.
4979 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4980
4981 2013-10-30 Glenn Morris <rgm@gnu.org>
4982
4983 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4984
4985 * emacs-lisp/package.el (lm-homepage): Declare.
4986
4987 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4988 Fix doc typos.
4989
4990 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4991
4992 * Makefile.in (finder-data, autoloads, update-subdirs)
4993 (compile-main, compile-clean, compile-always, bootstrap-clean):
4994 Check return value of cd.
4995 (compile-calc): Remove.
4996
4997 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5000
5001 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5002 (byte-compile-and-folded): New function.
5003 (=, <, >, <=, >=): Use it.
5004
5005 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5006 (path-separator, null-device, buffer-file-coding-system)
5007 (lpr-headers-switches): Check system-type before modifying them.
5008 (find-buffer-file-type-coding-system): Mark obsolete.
5009 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5010 find-file-not-found-set-buffer-file-coding-system.
5011 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5012 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5013 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5014 (w32-direct-print-region-helper, w32-direct-print-region-function)
5015 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5016 * startup.el (normal-top-level-add-subdirs-to-load-path):
5017 * ps-print.el (ps-print-region-function):
5018 * lpr.el (print-region-function): Use new name.
5019
5020 * subr.el (custom-declare-variable-early): Remove function.
5021 (custom-declare-variable-list): Remove var.
5022 (error, user-error): Remove `while' loop.
5023 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5024 (user-emacs-directory-warning, locate-user-emacs-file):
5025 Move to files.el.
5026 * simple.el (read-quoted-char-radix, read-quoted-char):
5027 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5028 Move from subr.el.
5029 * custom.el (custom-declare-variable-list): Don't process
5030 custom-declare-variable-list.
5031
5032 * progmodes/python.el (python-shell-get-buffer): New function.
5033 (python-shell-get-process): Use it.
5034 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5035 Python which encoding was used. Don't split-string since we only care
5036 about the first line. Return the temp-file, if applicable.
5037 (python-shell-send-region): Tell compile.el how to turn locations in
5038 the temp-file into locations in the source buffer.
5039
5040 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * subr.el (undefined): Add missing behavior from the C code for
5043 unbound keys.
5044
5045 * rect.el: Use lexical-binding. Add new rectangular region support.
5046 (rectangle-mark): New command.
5047 (rectangle--region): New var.
5048 (deactivate-mark-hook): Reset rectangle--region.
5049 (rectangle--extract-region, rectangle--insert-for-yank)
5050 (rectangle--highlight-for-redisplay)
5051 (rectangle--unhighlight-for-redisplay): New functions.
5052 (region-extract-function, redisplay-unhighlight-region-function)
5053 (redisplay-highlight-region-function): Use them to handle
5054 rectangular region.
5055 * simple.el (region-extract-function): New var.
5056 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5057 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5058 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5059 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5060 (redisplay-unhighlight-region-function)
5061 (redisplay-highlight-region-function): New vars.
5062 (redisplay--update-region-highlight): New function.
5063 (pre-redisplay-function): Use it.
5064 (exchange-point-and-mark): Don't deactivate the mark before
5065 reactivate-it anyway.
5066 * comint.el (comint-kill-region): Remove yank-handler argument.
5067 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5068 (delete-char): Remove property, since it's now part of their
5069 default behavior.
5070 (self-insert-iso): Remove property since this command doesn't exist.
5071
5072 * emacs-lisp/package.el (package--download-one-archive)
5073 (describe-package-1): Don't query the user about final newline.
5074
5075 2013-10-29 Daniel Colascione <dancol@dancol.org>
5076
5077 * net/tramp.el (tramp-methods): Document new functionality.
5078 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5079 tramp-hostname-checker if method provides one instead of scanning
5080 argument list for "%h" to decide hostname acceptability.
5081
5082 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5083
5084 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5085 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5086 Handle COPY-CONTENTS. (Bug#15737)
5087
5088 2013-10-28 Daiki Ueno <ueno@gnu.org>
5089
5090 * epa-file.el
5091 (epa-file-cache-passphrase-for-symmetric-encryption):
5092 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5093
5094 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5095
5096 * image.el (defimage, image-load-path): Doc fixes.
5097
5098 2013-10-27 Alan Mackenzie <acm@muc.de>
5099
5100 Indent statements in macros following "##" correctly.
5101 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5102 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5103
5104 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5105
5106 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5107
5108 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5109
5110 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5111 after `=' is probably a new expression.
5112
5113 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5114
5115 * man.el (man-imenu-title): New option.
5116 (Man-mode-map): Add menu. (Bug#15722)
5117 (Man-mode): Add imenu to menu.
5118
5119 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5120
5121 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5122 specific in what the first arg can be: a non-keyword word,
5123 string/regexp/percent literal opener, opening paren, or unary
5124 operator followed directly by word.
5125
5126 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5129 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5130 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5131 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5132 Remove vars, they do not apply any more.
5133 (prolog-mode-abbrev-table): Remove redundant declaration.
5134 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5135 (prolog-use-smie): Remove.
5136 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5137 supported by prolog-electric-if-then-else-flag.
5138 (prolog-mode-variables, prolog-menu): Use setq-local.
5139 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5140 Remove binding to `Backspace' since this key doesn't exist anyway.
5141 Remove bindings for electric self-inserting keys.
5142 (prog-mode): Assume it's defined.
5143 (prolog-post-self-insert): New function.
5144 (prolog-mode): Use it.
5145 (prolog-indent-line, prolog-indent-level)
5146 (prolog-find-indent-of-matching-paren)
5147 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5148 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5149 (prolog-goto-next-paren, prolog-in-string-or-comment)
5150 (prolog-tokenize, prolog-inside-mline-comment)
5151 (prolog-find-start-of-mline-comment): Remove functions.
5152 (prolog-find-unmatched-paren, prolog-clause-end)
5153 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5154 (prolog-electric--if-then-else): Rename from
5155 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5156 (prolog-tokenize-searchkey): Remove const.
5157 (prolog-clause-info): Use forward-sexp.
5158 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5159 (prolog-electric-if-then-else): Remove commands.
5160 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5161 for use in post-self-insert-hook.
5162 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5163 for use in post-self-insert-hook.
5164 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5165 for use in post-self-insert-hook.
5166 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5167 adapt it for use in post-self-insert-hook.
5168
5169 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5170
5171 * emacs-lisp/ert.el (ert-run-tests-interactively):
5172 Use `completing-read'. (Bug#9756)
5173
5174 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5175
5176 * simple.el (line-move): Call line-move-1 instead of
5177 line-move-visual when the current window hscroll is zero, but
5178 temporary-goal-column indicates we will need to hscroll as result
5179 of the movement. (Bug#15712)
5180
5181 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5182
5183 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5184 capitalization. Use :visible instead of :active.
5185 Fix `ruby-indent-exp' reference. Add menu items for the generic
5186 commands that are used with SMIE.
5187 (ruby-do-end-to-brace): Insert space after `{'.
5188
5189 2013-10-25 John Anthony <john@jo.hnanthony.com>
5190
5191 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5192
5193 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5194
5195 2013-10-25 Glenn Morris <rgm@gnu.org>
5196
5197 * vc/vc.el (vc-print-log): Don't use a working revision unless
5198 one was explicitly specified. (Bug#15322)
5199
5200 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5201
5202 * subr.el (add-to-list): Preserve return value in compiler-macro
5203 (bug#15692).
5204
5205 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5206
5207 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5208 result. Ask user to retry using '-all' flag. (Bug#15701)
5209
5210 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * emacs-lisp/smie.el: New smie-config system.
5213 (smie-config): New defcustom.
5214 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5215 (smie-config-guess, smie-config-save): New commands.
5216 (smie-config--mode-local, smie-config--buffer-local)
5217 (smie-config--trace, smie-config--modefuns): New vars.
5218 (smie-config--advice, smie-config--mode-hook)
5219 (smie-config--setter, smie-config-local, smie-config--get-trace)
5220 (smie-config--guess-value, smie-config--guess): New functions.
5221 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5222 text properties. Treat "string fence" syntax like string syntax.
5223
5224 * progmodes/sh-script.el (sh-use-smie): Change default.
5225 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5226 (sh-var-value): Simplify by CSE.
5227 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5228 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5229 is used.
5230 (sh-guess-basic-offset): Use cl-incf.
5231 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5232
5233 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5234
5235 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5236 (bug#15699).
5237
5238 2013-10-24 Glenn Morris <rgm@gnu.org>
5239
5240 * Makefile.in (abs_top_srcdir): Remove.
5241 (update-subdirs): Use relative path to update-subdirs.
5242
5243 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5244
5245 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5246 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5247 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5248 Call unmsys--file-name before expand-file-name, not after it.
5249
5250 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5251
5252 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5253 (ert-test-skipped): New error.
5254 (ert-skip, ert-stats-skipped): New defuns.
5255 (ert--skip-unless): New macro.
5256 (ert-test-skipped): New struct.
5257 (ert--run-test-debugger, ert-test-result-type-p)
5258 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5259 (ert--stats-set-test-and-result, ert-char-for-test-result)
5260 (ert-string-for-test-result, ert-run-tests-batch)
5261 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5262 Handle skipped tests. (Bug#9803)
5263
5264 2013-10-24 Glenn Morris <rgm@gnu.org>
5265
5266 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5267
5268 * Makefile.in (abs_top_srcdir): New, set by configure.
5269 (update-subdirs): Correct build-aux location.
5270
5271 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5272
5273 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5274 value, whether we could auto-deduce `backend', or not.
5275
5276 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5277 with parameters" example. Simplify the "is it block or is it
5278 hash" check, but also make it more thorough.
5279
5280 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5281
5282 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5283
5284 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5287 { if it is hanging.
5288
5289 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5290 :before ";".
5291
5292 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5293
5294 * progmodes/compile.el (compilation-directory-matcher)
5295 (compilation-page-delimiter):
5296 Support GNU Make-4.0 directory quoting. (Bug#15678)
5297
5298 2013-10-23 Leo Liu <sdl.web@gmail.com>
5299
5300 * ido.el (ido-tidy): Handle read-only text.
5301
5302 2013-10-23 Glenn Morris <rgm@gnu.org>
5303
5304 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5305 (emacs, compile, compile-always):
5306 Quote entities that might contain whitespace.
5307 (custom-deps, finder-data, autoloads): Use abs_lisp.
5308 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5309 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5310 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5311
5312 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5313
5314 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5315 Use `following-char'.
5316
5317 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5320 * progmodes/ruby-mode.el (ruby-smie-rules):
5321 Remove corresponding workaround. Fix indentation rule of ";" so it
5322 also applies when ";" is the parent.
5323
5324 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5325
5326 * frame.el (display-screens, display-pixel-height)
5327 (display-pixel-width, display-mm-width, display-backing-store)
5328 (display-save-under, display-planes, display-color-cells)
5329 (display-visual-class, display-monitor-attributes-list):
5330 Mention the optional ‘display’ argument in doc strings.
5331
5332 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5333
5334 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5335 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5336
5337 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5338
5339 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5340 TODO. Add "." after " @ ".
5341 (ruby-smie--at-dot-call): New function. Checks if point at method
5342 call with explicit target.
5343 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5344 to the method name tokens when it precedes them.
5345 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5346 (ruby-smie-rules): Add rule for indentation before and after "."
5347 token.
5348
5349 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * textmodes/remember.el (remember-diary-extract-entries):
5352 Avoid add-to-list.
5353
5354 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5355 an instruction.
5356
5357 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5358
5359 * progmodes/ruby-mode.el (ruby-smie-grammar):
5360 Add (almost) all infix operators.
5361 (ruby-smie--implicit-semi-p): Add new operator chars.
5362
5363 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5364 `smie-down-list'.
5365 (ruby-smie--args-separator-p): Check that there's no newline
5366 between method call and its arguments.
5367
5368 2013-10-20 Alan Mackenzie <acm@muc.de>
5369
5370 Allow comma separated lists after Java "implements".
5371
5372 * progmodes/cc-engine.el (c-backward-over-enum-header):
5373 Parse commas.
5374 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5375 from a "disallowed" list in enum fontification.
5376
5377 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5378
5379 * startup.el (default-frame-background-mode): Remove unused defvar.
5380
5381 * progmodes/verilog-mode.el (verilog-mode): Don't set
5382 comment-indent-function globally.
5383
5384 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5385
5386 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5387 Move Info menu item creation to ns-win.el.
5388
5389 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5390 in menu bar.
5391
5392 * menu-bar.el: Move GNUstep specific menus...
5393
5394 * term/ns-win.el (ns-initialize-window-system): ... to here.
5395
5396 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * simple.el (newline): Only run post-self-insert-hook when
5399 called interactively.
5400
5401 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5402
5403 * icomplete.el (icomplete-with-completion-tables): Add :version.
5404
5405 2013-10-19 Alan Mackenzie <acm@muc.de>
5406
5407 Fix fontification bugs with constructors and const.
5408
5409 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5410 CASE 2) Remove the check for the absence of a suffix construct
5411 after a function declaration with only types (no identifiers) in
5412 the parentheses. Also, accept a function declaration with just a
5413 type inside the parentheses, if this type can be positively
5414 recognised as such, or if a prefix keyword like "explicit" nails
5415 down the construct as a declaration.
5416
5417 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5418
5419 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5420 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5421 the problem whereby selecting a menu item that leads to a
5422 minibuffer prompt moves the cursor out of the minibuffer window,
5423 making it hard to type at the prompt. Suggested by Stefan Monnier
5424 <monnier@iro.umontreal.ca>.
5425
5426 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5427
5428 * menu-bar.el: Don't make Services menu.
5429
5430 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5431
5432 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5433 (ffap-alist): Use ffap-c++-mode for c++-mode.
5434 (ffap-c++-path): New variable.
5435 (ffap-c++-mode): New function.
5436
5437 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5438
5439 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5440
5441 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5442
5443 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5444 introduced on 2013-09-08, which results in an infinite loop
5445 requesting a password.
5446
5447 2013-10-18 Glenn Morris <rgm@gnu.org>
5448
5449 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5450
5451 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5452
5453 Sync with upstream verilog-mode revision 1a6ecec7.
5454 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5455 (verilog-mode-release-date): Remove.
5456 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5457 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5458 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5459 (verilog-auto-tieoff-ignore-regexp)
5460 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5461 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5462 (verilog-signals-with, verilog-dir-cache-preserving)
5463 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5464 Doc fixes.
5465 (verilog-case-fold): New option, to control case folding in
5466 regexp searches, bug597.
5467 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5468 (verilog-string-match-fold, verilog-in-paren-count)
5469 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5470 (verilog-at-close-struct-p): New functions.
5471 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5472 (verilog-forward-sexp, verilog-set-auto-endcomments)
5473 (verilog-leap-to-case-head): Handle "unique0" case.
5474 (verilog-in-constraint-re): New constant.
5475 (verilog-keywords, verilog-type-font-keywords):
5476 Add some SystemVerilog 1800-2012 keywords.
5477 (verilog-label-be): Remove unimplemented argument, bug669.
5478 (verilog-batch-execute-func): When batch expanding clear
5479 create-lockfiles to prevent spurious user locks when a file ends
5480 up not changing.
5481 (verilog-calculate-indent, verilog-calc-1)
5482 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5483 (verilog-do-indent): Fix indentation of nested constraints
5484 and structures.
5485 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5486 (verilog-auto-inst-param): Use verilog-string-match-fold.
5487 (verilog-read-inst-module-matcher):
5488 Fix AUTOINST on gate primitives with #1.
5489 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5490 Reads all user-defined typed variables.
5491 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5492 (verilog-signals-matching-regexp)
5493 (verilog-signals-not-matching-regexp, verilog-auto):
5494 Respect verilog-case-fold.
5495 (verilog-diff-report): Fix line count.
5496 (verilog-auto-assign-modport): Remove unused local `modi'.
5497 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5498 better handle multidimensional arrays.
5499 Fix packed array ports misadding bit index in AUTOINST, bug637.
5500 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5501 to not double-declare existing outputs and inputs, respectively.
5502 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5503 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5504 (verilog-sk-uvm-component): New skeleton.
5505 (verilog-submit-bug-report): Add verilog-case-fold,
5506 remove verilog-mode-release-date.
5507
5508 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5509
5510 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5511 as before.
5512
5513 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5514
5515 * textmodes/remember.el (remember): Set buffer-offer-save in
5516 remember buffers (bug#13566).
5517
5518 2013-10-18 Daniel Colascione <dancol@dancol.org>
5519
5520 When evaluating forms in ielm, direct standard output to ielm
5521 buffer. Add new ielm-return-for-effect command. Remove trailing
5522 whitespace throughout.
5523
5524 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5525 (ielm-return-for-effect): New command.
5526 (ielm-send-input): Accept optional `for-effect' parameter.
5527 (ielm-eval-input): Accept optional `for-effect' parameter.
5528 Bind `standard-output' to stream we create using
5529 `ielm-standard-output-impl'. Suppress printing result when
5530 `for-effect'.
5531 (ielm-standard-output-impl): New function.
5532 (inferior-emacs-lisp-mode): Explain new features in documentation.
5533
5534 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5535
5536 Code cleanup.
5537
5538 * net/tramp.el (tramp-debug-message): Do not check for connection
5539 buffer.
5540 (tramp-message): Use "vector" connection property.
5541
5542 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5543 (tramp-equal-remote, tramp-eshell-directory-change)
5544 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5545 (tramp-adb-handle-rename-file)
5546 * net/tramp-cmds.el (tramp-list-remote-buffers)
5547 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5548 * net/tramp-compat.el (tramp-compat-process-running-p)
5549 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5550 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5551 (tramp-gvfs-handle-rename-file)
5552 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5553 (tramp-set-file-uid-gid)
5554 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5555 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5556 of `file-remote-p'.
5557
5558 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5559 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5560 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5561 (tramp-gw-open-network-stream): Suppress unrelated traces.
5562
5563 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5564 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5565 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5566 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5567 connection property.
5568
5569 * net/tramp-cache.el (top): Suppress traces when reading
5570 persistency file.
5571
5572 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5573 Refactor common code. Improve debug message.
5574 (tramp-maybe-open-connection)
5575 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5576 connection buffer too early.
5577
5578 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5579 from `tramp-smb-actions-with-acl'.
5580 (tramp-smb-actions-set-acl): New defconst.
5581 (tramp-smb-handle-copy-directory)
5582 (tramp-smb-action-get-acl): New defun, renamed from
5583 `tramp-smb-action-with-acl'.
5584 (tramp-smb-action-set-acl): New defun.
5585 (tramp-smb-handle-set-file-acl): Rewrite.
5586
5587 2013-10-17 Glenn Morris <rgm@gnu.org>
5588
5589 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5590
5591 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * skeleton.el (skeleton-newline): Remove.
5594 (skeleton-internal-1): Use (insert "\n") instead.
5595
5596 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5597 let-bindings.
5598
5599 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5600 forward-sexp-function while we redo its job (bug#15613).
5601
5602 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5603
5604 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5605 represented by lists.
5606
5607 2013-10-16 Glenn Morris <rgm@gnu.org>
5608
5609 * tmm.el (tmm--history): New dynamic variable.
5610 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5611
5612 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5613
5614 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5615 (tramp-smb-errors): Add error messages.
5616 (tramp-smb-actions-with-acl): New defconst.
5617 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5618 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5619 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5620 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5621 (tramp-smb-get-stat-capability): Fix tests.
5622
5623 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5624
5625 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5626 (bug#15580).
5627
5628 2013-10-16 Glenn Morris <rgm@gnu.org>
5629
5630 * ansi-color.el (ansi-color-drop-regexp):
5631 Add 1J, 1K, 2K. (Bug#15617)
5632
5633 * files.el (hack-local-variables--warned-lexical): New.
5634 (hack-local-variables):
5635 Warn about misplaced lexical-binding. (Bug#15616)
5636
5637 * net/eww.el (eww-render): Always set eww-current-url,
5638 and update header line. (Bug#15622)
5639 (eww-display-html): ... Rather than just doing it here.
5640
5641 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5642
5643 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5644 menu navigations commands.
5645
5646 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5647
5648 * progmodes/subword.el (subword-capitalize): Be careful when
5649 the search for [[:alpha:]] fails (bug#15580).
5650
5651 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5652
5653 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5654 to commands that scroll the menu.
5655
5656 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5657
5658 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5659 Handle methods ending with `?' and `!'.
5660
5661 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5662
5663 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5664 `japanese-cp932' to `cp932' to fix the problem where saving a
5665 source file written in Shift_JIS twice would end up having
5666 `coding: japanese-cp932' which Ruby could not recognize.
5667 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5668 in `ruby-encoding-map'.
5669 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5670 doesn't need to be explicitly declared in magic comment.
5671 (ruby-encoding-map): Add type declaration for better customize UI.
5672
5673 2013-10-13 Glenn Morris <rgm@gnu.org>
5674
5675 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5676 Occur buffers are read-only. http://bugs.debian.org/720775
5677
5678 * emacs-lisp/authors.el (authors-fixed-entries):
5679 Comment out old alpha stuff.
5680
5681 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5682
5683 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5684 to `after-save-hook' instead of `before-save-hook'.
5685 (ruby-mode-set-encoding): Use the value of coding system used to
5686 write the file. Call `basic-save-buffer-1' after modifying the
5687 buffer.
5688
5689 2013-10-13 Alan Mackenzie <acm@muc.de>
5690
5691 Fix indentation/fontification of Java enum with
5692 "implements"/generic.
5693
5694 * progmodes/cc-engine.el (c-backward-over-enum-header):
5695 Extracted from the three other places and enhanced to handle generics.
5696 (c-inside-bracelist-p): Uses new function above.
5697 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5698 function above.
5699 (c-font-lock-enum-tail): Uses new function above.
5700
5701 2013-10-13 Kenichi Handa <handa@gnu.org>
5702
5703 * international/mule-cmds.el (select-safe-coding-system): Remove a
5704 superfluous condition in chekcing whether a coding system is safe
5705 or not.
5706
5707 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5708
5709 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5710
5711 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5712
5713 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5714
5715 2013-10-13 Glenn Morris <rgm@gnu.org>
5716
5717 * menu-bar.el (menu-bar-update-buffers):
5718 Unify Buffers menu prompt string. (Bug#15576)
5719
5720 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5721
5722 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5723 Add some entries.
5724 (authors-fixed-entries): Use accented form of name.
5725
5726 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5729 method calls (bug#15594).
5730 (ruby-smie--args-separator-p): New function.
5731 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5732 recognize paren-free method calls.
5733
5734 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5735 internals of universal-argument.
5736
5737 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5738
5739 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5740 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5741 dropped menu on second mouse click on the menu bar.
5742
5743 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5746 (explicit-shell-file-name): Declare.
5747 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5748 (sh-completion-at-point-function): New function.
5749 (sh-mode): Use it.
5750 (sh-smie--keyword-p): Remove unused argument.
5751 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5752 vars.
5753 (sh-set-shell): Always setup SMIE, even if we use the
5754 old indentation code.
5755
5756 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5757
5758 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5759 cases of ? and =.
5760 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5761 predicate would return nil are almost non-existent.
5762 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5763
5764 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5765 cache also after commands that modify the buffer but don't move
5766 point.
5767
5768 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 * env.el (substitute-env-in-file-name): New function.
5771 (substitute-env-vars): Extend the meaning of the optional arg.
5772
5773 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5774
5775 * term/w32-win.el (dynamic-library-alist): Define separate lists
5776 of GIF DLLs for versions before and after 5.0.0 of giflib.
5777 (Bug#15531)
5778
5779 2013-10-10 João Távora <joaotavora@gmail.com>
5780
5781 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5782 not locked, use last revision and current source as
5783 defaults. (Bug#15569)
5784
5785 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5786
5787 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5788 menu-bar is hidden.
5789
5790 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5791
5792 * window.el (pop-to-buffer-same-window): Fix doc-string.
5793 (Bug#15492)
5794
5795 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5798
5799 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5800
5801 * calendar/icalendar.el (icalendar-import-file):
5802 Fix interactive spec. (Bug#15482)
5803
5804 2013-10-10 Glenn Morris <rgm@gnu.org>
5805
5806 * desktop.el (desktop-save): Default to saving in .emacs.d,
5807 since PWD is no longer in desktop-path by default. (Bug#15319)
5808
5809 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5810 now that text mode has a menu with the same entry.
5811 (menu-bar-text-mode-auto-fill): Remove now unused func.
5812 * textmodes/text-mode.el (text-mode-map):
5813 Use auto-fill help text from menu-bar.el.
5814
5815 2013-10-10 John Anthony <john@jo.hnanthony.com>
5816
5817 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5818
5819 2013-10-09 Juri Linkov <juri@jurta.org>
5820
5821 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5822 instead of this-command-keys. Add universal-argument-more and
5823 universal-argument-minus to the list of prefix commands. (Bug#15568)
5824
5825 2013-10-09 Glenn Morris <rgm@gnu.org>
5826
5827 * vc/vc-svn.el (vc-svn-create-repo):
5828 Expand paths in file://... url. (Bug#15446)
5829
5830 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5831 Add some entries.
5832 (authors): Remove unused local variables.
5833
5834 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * profiler.el: Create a more coherent calltree from partial backtraces.
5837 (profiler-format): Hide the tail with `invisible' so that C-s can still
5838 find the hidden elements.
5839 (profiler-calltree-depth): Don't recurse so enthusiastically.
5840 (profiler-function-equal): New hash-table-test.
5841 (profiler-calltree-build-unified): New function.
5842 (profiler-calltree-build): Use it.
5843 (profiler-report-make-name-part): Indent the calltree less.
5844 (profiler-report-mode): Add visibility specs for profiler-format.
5845 (profiler-report-expand-entry, profiler-report-toggle-entry):
5846 Expand the whole subtree when provided with a prefix arg.
5847
5848 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5849
5850 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5851 iuwu-mod token.
5852 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5853 hanging iuwu-mod token.
5854 (ruby-smie--forward-token): Do not include a dot after a token in
5855 that token.
5856 (ruby-smie--backward-token): Likewise.
5857
5858 2013-10-08 Juri Linkov <juri@jurta.org>
5859
5860 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5861 to isearch-other-control-char.
5862 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5863 and isearch-post-command-hook to post-command-hook.
5864 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5865 and isearch-post-command-hook from post-command-hook.
5866 (isearch-unread-key-sequence)
5867 (isearch-reread-key-sequence-naturally)
5868 (isearch-lookup-scroll-key, isearch-other-control-char)
5869 (isearch-other-meta-char): Remove functions.
5870 (isearch-pre-command-hook, isearch-post-command-hook):
5871 New functions based on isearch-other-meta-char rewritten
5872 relying on the new behavior of overriding-terminal-local-map
5873 that does not replace the local keymaps any more. (Bug#15200)
5874
5875 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5876
5877 Support menus on text-mode terminals.
5878 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5879 functionality.
5880
5881 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5882
5883 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5884 Move here from mouse.el.
5885 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5886 and arrow keys.
5887 (tty-menu-navigation-map): New map for TTY menu navigation.
5888
5889 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5890
5891 * frame.el (display-mouse-p): Report text-mode mouse as available
5892 on w32.
5893 (display-popup-menus-p): Report availability if mouse is
5894 available; don't condition on window-system.
5895
5896 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5897 (tty-menu-selected-face): New faces.
5898
5899 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5902 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5903 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5904 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5905 New constants.
5906 (lisp-mode-variables): New `elisp' argument.
5907 (emacs-lisp-mode): Use it.
5908 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5909 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5910
5911 * indent.el: Use lexical-binding.
5912 (indent-region): Add progress reporter.
5913 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5914 last step.
5915 (indent--next-tab-stop): New function to implement this behavior.
5916 (tab-to-tab-stop, move-to-tab-stop): Use it.
5917
5918 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5919
5920 * indent.el (indent-rigidly--current-indentation): New function.
5921 (indent-rigidly-map): New var.
5922 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5923
5924 2013-10-08 Bastien Guerry <bzg@gnu.org>
5925
5926 * register.el (insert-register): Fix 2013-10-07 change.
5927
5928 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * progmodes/perl-mode.el: Use lexical-binding.
5931 Remove redundant :group args.
5932 (perl-nochange): Change default to be closer to other major modes's
5933 standard behavior.
5934 (perl-indent-line): Don't consider text on current line as a
5935 valid beginning of function from which to indent.
5936
5937 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5938 with more than one argument (bug#15538).
5939
5940 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5941
5942 * vc/pcvs.el: Use lexical-binding.
5943 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5944 environment of `eval'.
5945 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5946 than a list of expressions. Adjust callers.
5947 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5948
5949 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5950
5951 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5952 case of the dot in a chained method call being on the following line.
5953
5954 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5955
5956 * electric.el (electric-indent-inhibit): New var.
5957 (electric-indent-post-self-insert-function): Use it.
5958 * progmodes/python.el (python-mode): Set it.
5959
5960 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5961 open braces.
5962
5963 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5964
5965 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5966 (css-mode): Use electric-indent-chars.
5967
5968 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5969 (font-lock-beg, font-lock-end): Move before first use.
5970 (nxml-mode): Use syntax-propertize-function.
5971 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5972 (nxml-extend-after-change-region): Remove.
5973 * nxml/xmltok.el: Use lexical-binding.
5974 (xmltok-save): Use `declare'.
5975 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5976 * nxml/nxml-util.el: Use lexical-binding.
5977 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5978 Use `declare'.
5979 * nxml/nxml-ns.el: Use lexical-binding.
5980 (nxml-ns-save): Use `declare'.
5981 (nxml-ns-prefixes-for): Avoid add-to-list.
5982 * nxml/rng-match.el: Use lexical-binding.
5983 (rng--ipattern): Use cl-defstruct.
5984 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5985 (rng-cons-group-after, rng-subst-group-after)
5986 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5987 Use closures instead of `(lambda...).
5988
5989 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5990
5991 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5992 of BEG and END.
5993
5994 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5995 Use `tramp-handle-insert-file-contents'.
5996 (tramp-gvfs-handle-insert-file-contents): Remove function.
5997
5998 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5999 Use `save-restriction' in order to keep markers.
6000
6001 * net/trampver.el: Update release number.
6002
6003 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6004
6005 * progmodes/compile.el (compilation-parse-errors):
6006 Use compilation--put-prop.
6007 (compilation--ensure-parse): Check compilation-multiline.
6008
6009 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6010
6011 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6012 lexical-binding.
6013
6014 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6015
6016 * progmodes/ruby-mode.el: Fix recently added tests.
6017 (ruby-smie-grammar): Add - and +.
6018 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6019 (ruby-smie--backward-id): New functions.
6020 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6021 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6022 any more.
6023
6024 2013-10-07 Leo Liu <sdl.web@gmail.com>
6025
6026 * register.el (register-preview-delay)
6027 (register-preview-functions): New variables.
6028 (register-read-with-preview, register-preview)
6029 (register-describe-oneline): New functions.
6030 (point-to-register, window-configuration-to-register)
6031 (frame-configuration-to-register, jump-to-register)
6032 (number-to-register, view-register, insert-register)
6033 (copy-to-register, append-to-register, prepend-to-register)
6034 (copy-rectangle-to-register): Use register-read-with-preview to
6035 read register. (Bug#15525)
6036
6037 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6038
6039 * net/network-stream.el (network-stream-open-starttls): Don't add
6040 --insecure if it's already present, because that gnutls-cli
6041 rejects getting that parameter twice.
6042
6043 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6044
6045 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6046 keyword, too.
6047
6048 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6049
6050 * newcomment.el (comment-use-global-state): Change default value
6051 to t, mark obsolete (Bug#15251).
6052 (comment-beginning): In addition to `comment-to-syntax', check the
6053 value of `comment-use-global-state'.
6054
6055 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6056
6057 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6058 (ruby-comment-column): Follow the global default, by default.
6059 (ruby-smie-grammar): Add assignment syntax.
6060 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6061 open-paren, a comma, or a \.
6062 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6063 and line continuations.
6064 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6065 followed by implicit semi-colons. Add rule for string concatenation
6066 and for indentation at BOB.
6067 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6068
6069 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6070 calling next-sexp, since next-token may have skipped chars which
6071 next-sexp doesn't know should be skipped!
6072
6073 2013-10-05 Leo Liu <sdl.web@gmail.com>
6074
6075 * progmodes/octave.el (octave-send-region):
6076 Call compilation-forget-errors.
6077
6078 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6079
6080 * vc/vc-svn.el (vc-svn-find-admin-dir):
6081 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6082 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6083 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6084 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6085
6086 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6089
6090 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * subr.el (read-passwd): Hide chars even when called within a context
6093 where after-change-functions is disabled (bug#15501).
6094 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6095 until we removed ourself from overriding-terminal-local-map.
6096
6097 2013-10-04 Leo Liu <sdl.web@gmail.com>
6098
6099 * progmodes/octave.el (inferior-octave-mode):
6100 Call compilation-forget-errors.
6101
6102 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6103
6104 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6105
6106 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6107
6108 * net/secrets.el (secrets-create-collection): Add optional
6109 argument ALIAS. Use proper Label keyword. Append ALIAS as
6110 dbus-call-method argument. (Bug#15516)
6111
6112 2013-10-04 Leo Liu <sdl.web@gmail.com>
6113
6114 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6115 (inferior-octave-compilation-font-lock-keywords): New variables.
6116 (compilation-error-regexp-alist)
6117 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6118 (inferior-octave-mode): Use compilation-shell-minor-mode.
6119
6120 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6121
6122 * minibuffer.el (completion--replace): Be careful that `end' might be
6123 a marker.
6124
6125 2013-10-03 Daiki Ueno <ueno@gnu.org>
6126
6127 Add support for package signature checking.
6128 * emacs-lisp/package.el (url-http-file-exists-p)
6129 (epg-make-context, epg-context-set-home-directory)
6130 (epg-verify-string, epg-context-result-for)
6131 (epg-signature-status, epg-signature-to-string)
6132 (epg-check-configuration, epg-configuration)
6133 (epg-import-keys-from-file): Declare.
6134 (package-check-signature): New user option.
6135 (package-unsigned-archives): New user option.
6136 (package-desc): Add `signed' field.
6137 (package-load-descriptor): Set `signed' field if .signed file exists.
6138 (package--archive-file-exists-p): New function.
6139 (package--check-signature): New function.
6140 (package-install-from-archive): Check package signature.
6141 (package--download-one-archive): Check archive signature.
6142 (package-delete): Remove .signed file.
6143 (package-import-keyring): New command.
6144 (package-refresh-contents): Import default keyring.
6145 (package-desc-status): Add "unsigned" status.
6146 (describe-package-1, package-menu--print-info)
6147 (package-menu-mark-delete, package-menu--find-upgrades)
6148 (package-menu--status-predicate): Support "unsigned" status.
6149
6150 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6153 the new compilation scheme using the new byte-codes.
6154
6155 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6156 (byte-pophandler): New byte codes.
6157 (byte-goto-ops): Adjust accordingly.
6158 (byte-compile--use-old-handlers): New var.
6159 (byte-compile-catch): Use new byte codes depending on
6160 byte-compile--use-old-handlers.
6161 (byte-compile-condition-case--old): Rename from
6162 byte-compile-condition-case.
6163 (byte-compile-condition-case--new): New function.
6164 (byte-compile-condition-case): New function that dispatches depending
6165 on byte-compile--use-old-handlers.
6166 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6167 when we can.
6168
6169 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6170 Optimize under `condition-case' and `catch' if
6171 byte-compile--use-old-handlers is nil.
6172 (disassemble-offset): Handle new bytecodes.
6173
6174 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6175
6176 * subr.el (error): Use `declare'.
6177 (decode-char, encode-char): Use advertised-calling-convention instead
6178 of the docstring to discourage use of the `restriction' arg.
6179
6180 2013-10-03 Daiki Ueno <ueno@gnu.org>
6181
6182 * epg.el (epg-verify-file): Add a comment saying that it does not
6183 notify verification error as a return value nor a signal.
6184 (epg-verify-string): Ditto.
6185
6186 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6187
6188 * progmodes/compile.el (compilation-start): Try globbing the arg to
6189 `cd' (bug#15417).
6190
6191 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6192
6193 Sync with Tramp 2.2.8.
6194
6195 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6196 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6197 * net/trampver.el: Update release number.
6198
6199 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6200
6201 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6202 and default-process-coding-system for darwin only.
6203
6204 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6206 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6207
6208 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6209
6210 * vc/vc-git.el (vc-git-grep): Disable pager.
6211
6212 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6213
6214 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6215 Use :url instead of :homepage, as per
6216 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6217
6218 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6219 non-nil, use `syntax-ppss' (Bug#15251).
6220
6221 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6222
6223 * progmodes/octave.el (inferior-octave-startup-file):
6224 Prefer ~/.emacs.d/init_octave.m.
6225
6226 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6227
6228 * emacs-lisp/package.el (package-desc-from-define):
6229 Accept additional arguments as plist, convert them to an alist and store
6230 them in the `extras' slot.
6231 (package-generate-description-file): Convert extras alist back to
6232 plist and append to the `define-package' form arguments.
6233 (package--alist-to-plist): New function.
6234 (package--ac-desc): Add `extras' slot.
6235 (package--add-to-archive-contents): Check if the archive-contents
6236 vector is long enough, and if it is, pass its `extras' slot value
6237 to `package-desc-create'.
6238 (package-buffer-info): Call `lm-homepage', pass the returned value
6239 to `package-desc-from-define'.
6240 (describe-package-1): Render the homepage button (Bug#13291).
6241
6242 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6243 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6244
6245 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6246
6247 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6248 and default-process-coding-system to utf-8-unix (Bug#15402).
6249
6250 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6251
6252 * subr.el (looking-back): Do not recommend using looking-back.
6253
6254 2013-09-28 Alan Mackenzie <acm@muc.de>
6255
6256 Fix indentation/fontification of Java enum with "implements".
6257
6258 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6259 regexp which matches "implements", etc., in Java.
6260 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6261 specifier clauses coming after "enum".
6262 * progmodes/cc-fonts.el (c-font-lock-declarations)
6263 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6264 after "enum".
6265
6266 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6267
6268 * faces.el (region): Change ns_selection_color to
6269 ns_selection_fg_color, add ns_selection_bg_color.
6270
6271 2013-09-28 Leo Liu <sdl.web@gmail.com>
6272
6273 * progmodes/octave.el (inferior-octave-completion-table)
6274 (inferior-octave-completion-at-point): Minor tweaks.
6275
6276 * textmodes/ispell.el (ispell-lookup-words): Rename from
6277 lookup-words. (Bug#15460)
6278 (lookup-words): Obsolete.
6279 (ispell-complete-word, ispell-command-loop): All uses changed.
6280
6281 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6282
6283 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6284 (octave-mode-menu): Add octave-send-buffer.
6285 (octave-send-buffer): New function.
6286
6287 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6288
6289 * progmodes/octave.el (octave-mode-map): Add key binding for
6290 octave-lookfor.
6291 (octave-mode-menu): Add octave-lookfor.
6292 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6293 octave-lookfor.
6294 (octave-lookfor): New function.
6295
6296 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6299 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6300 its convention.
6301 (cl--loop-set-iterator-function): New function.
6302 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6303 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6304 Bind `it' with `let' instead of substituting it with `cl-subst'.
6305 (cl--unused-var-p): New function.
6306 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6307 Eliminate some unused variable warnings (bug#15326).
6308
6309 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6310
6311 * doc-view.el (doc-view-scale-reset): Rename from
6312 `doc-view-reset-zoom-level'.
6313 (doc-view-scale-adjust): New command.
6314 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6315 `doc-view-scale-adjust'.
6316
6317 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6318
6319 * doc-view.el (doc-view-reset-zoom-level): New command.
6320 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6321 zoom commands (bug#15466).
6322
6323 2013-09-26 Kenichi Handa <handa@gnu.org>
6324
6325 * international/quail.el (quail-help): Make it not a command.
6326
6327 2013-09-26 Leo Liu <sdl.web@gmail.com>
6328
6329 * minibuffer.el (completion-all-sorted-completions): Make args
6330 optional as they are.
6331
6332 2013-09-25 Daniel Colascione <dancol@dancol.org>
6333
6334 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6335 specs are and that they're not evaluated.
6336
6337 2013-09-24 Sam Steingold <sds@gnu.org>
6338
6339 * midnight.el (clean-buffer-list-kill-regexps)
6340 (clean-buffer-list-kill-buffer-names): Update for the new Man
6341 buffer naming which includes the object name.
6342
6343 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6346 (eshell-parse-command, eshell-parse-pipeline): Use it since
6347 eshell-separate-commands requires a dynamic scoped var.
6348 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6349
6350 2013-09-23 Leo Liu <sdl.web@gmail.com>
6351
6352 * autoinsert.el (auto-insert-alist): Make the value of
6353 lexical-binding match its file setting.
6354
6355 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6356
6357 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6358
6359 * autoarg.el (autoarg-kp-digit-argument):
6360 * electric.el (Electric-command-loop):
6361 * kmacro.el (kmacro-step-edit-insert):
6362 Do not set universal-argument-num-events.
6363
6364 2013-09-22 Leo Liu <sdl.web@gmail.com>
6365
6366 * files.el (interpreter-mode-alist): Add octave.
6367
6368 2013-09-21 Alan Mackenzie <acm@muc.de>
6369
6370 C++: fontify identifier in declaration following "public:" correctly.
6371 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6372 to match "public", etc.
6373 (c-decl-prefix-re): Add ":" into the C++ value.
6374 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6375 bit. Add a check for a ":" preceded by "public", etc.
6376
6377 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6378
6379 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6380 recognized by GDB 7.5 and later.
6381
6382 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6383
6384 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6385
6386 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * subr.el (internal--call-interactively): New const.
6389 (called-interactively-p): Use it (bug#3984).
6390
6391 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6392
6393 * vc/pcvs.el (cvs-mode-ignore):
6394 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6395 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6396
6397 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6398
6399 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6400 (eshell-ls-orig-insert-directory): Remove.
6401 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6402 (eshell-ls-use-in-dired): Use advice-add/remove.
6403 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6404 Add `orig-fun' arg for use in :around advice.
6405 Make it check (redundantly) eshell-ls-use-in-dired.
6406
6407 2013-09-19 Glenn Morris <rgm@gnu.org>
6408
6409 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6410
6411 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6412
6413 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6414
6415 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6416
6417 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6418 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6419 (tramp-get-remote-python): New defuns.
6420 (tramp-get-remote-uid-with-perl)
6421 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6422 contributed by yary <not.com@gmail.com> (tiny change).
6423 (tramp-get-remote-uid-with-python)
6424 (tramp-get-remote-gid-with-python): New defuns. Python code
6425 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6426 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6427
6428 2013-09-19 Glenn Morris <rgm@gnu.org>
6429
6430 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6431
6432 * eshell/em-unix.el (eshell-remove-entries):
6433 Rename argument to avoid name-clash with global `top-level'.
6434
6435 * eshell/esh-proc.el (eshell-kill-process-function):
6436 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6437 (eshell-reset-after-proc): Remove unused arg `proc'.
6438
6439 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6440 (directory-files-and-attributes): Mark unused arg.
6441
6442 * eshell/em-unix.el (eshell-remove-entries):
6443 Remove unused arg `path'. Update callers.
6444
6445 * eshell/em-hist.el (eshell-hist-parse-arguments):
6446 Remove unused arg `silent'. Update callers.
6447
6448 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6449 Fix (f)boundp mix-up.
6450
6451 * eshell/em-smart.el (eshell-smart-scroll-window)
6452 (eshell-disable-after-change):
6453 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6454
6455 2013-09-18 Alan Mackenzie <acm@muc.de>
6456
6457 Fix fontification of type when followed by "const".
6458 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6459 "known" types from fontification.
6460
6461 2013-09-18 Glenn Morris <rgm@gnu.org>
6462
6463 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6464 (chart-face-list): Drop Emacsen without display-color-p.
6465
6466 * net/eww.el (libxml-parse-html-region): Declare.
6467 (eww-display-html): Explicit error if no libxml2 support.
6468
6469 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6470
6471 * image.el (image-type-from-buffer, image-multi-frame-p):
6472 Remove --without-x warning/error.
6473
6474 * mouse.el (mouse-yank-primary):
6475 * term.el (term-mouse-paste):
6476 Reorder to silence --without-x compilation.
6477
6478 * mpc.el (doc-view-mode): Silence --without-x compilation.
6479
6480 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6481 Silence --without-x compilation.
6482
6483 * progmodes/gud.el (gud-find-file, gud-mode):
6484 Silence --without-x compilation.
6485 (tooltip-mode): Declare.
6486
6487 * wdired.el (dired-backup-overwrite): Remove declaration.
6488 (wdired-mode-map): Add doc string.
6489
6490 * custom.el (x-get-resource): Declare.
6491
6492 * eshell/em-glob.el (ange-cache):
6493 * eshell/em-unix.el (ange-cache): Declare.
6494
6495 * faces.el (x-display-list, x-open-connection, x-get-resource):
6496 Declare.
6497
6498 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6499 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6500 Declare.
6501
6502 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6503
6504 * net/gnutls.el (gnutls-log-level): Declare.
6505
6506 * net/shr.el (image-size, image-animate): Declare.
6507
6508 * simple.el (font-info): Declare.
6509
6510 * subr.el (x-popup-dialog): Declare.
6511
6512 * term/common-win.el (x-select-enable-primary)
6513 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6514 Declare.
6515
6516 * term/ns-win.el (x-handle-args): Declare.
6517
6518 * term/x-win.el (x-select-enable-clipboard): Declare.
6519
6520 * term/w32-win.el (create-default-fontset): Declare.
6521
6522 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6523 Declare.
6524
6525 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6526 (fit-frame-to-buffer): Explicit error if --without-x.
6527 (mouse-autoselect-window-select): Silence compiler.
6528
6529 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6530
6531 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6532 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6533 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6534 * eshell/esh-util.el (eshell-sublist):
6535 Remove unused local variables.
6536
6537 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6538
6539 * textmodes/two-column.el: Make 2C-split work for --without-x.
6540 (scroll-bar-columns): Autoload.
6541 (top-level): Require fringe when compiling.
6542
6543 2013-09-18 Leo Liu <sdl.web@gmail.com>
6544
6545 * subr.el (add-hook): Robustify to handle closure as well.
6546
6547 2013-09-17 Glenn Morris <rgm@gnu.org>
6548
6549 * simple.el (messages-buffer-mode-map): Unbind "g".
6550
6551 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * help-mode.el (help-mode-finish): Use derived-mode-p.
6554 Remove obsolete highlighting.
6555
6556 * play/life.el (life-mode): Use define-derived-mode. Derive from
6557 special-mode.
6558 (life): Let-bind inhibit-read-only.
6559 (life-setup): Avoid `setq'. Use `life-mode'.
6560
6561 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6562 which should not be needed any more.
6563 (package-menu-refresh, package-menu-describe-package): Use user-error.
6564
6565 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6566 (eshell-post-rewrite-command-hook): Make obsolete.
6567 (eshell-parse-command): Simplify.
6568 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6569 (eshell--cmd): Declare.
6570 (eshell-parse-pipeline): Remove unused var `final-p'.
6571 Pass a dynvar to eshell-post-rewrite-command-hook.
6572 Implement the new eshell-post-rewrite-command-function.
6573 (eshell-invoke-directly): Remove unused arg `input'.
6574 * eshell/esh-io.el (eshell-io-initialize):
6575 Use eshell-post-rewrite-command-function (bug#15399).
6576 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6577 adjust to new calling convention.
6578 (eshell-create-handles): Rename args to avoid clashing with dynvar
6579 `standard-output'.
6580
6581 2013-09-17 Glenn Morris <rgm@gnu.org>
6582
6583 * simple.el (messages-buffer-mode): New major mode.
6584 (messages-buffer): New function.
6585 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6586 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6587 (ert-run-test): Use `messages-buffer' function.
6588 (ert--force-message-log-buffer-truncation): Ignore read-only.
6589 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6590 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6591
6592 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6595
6596 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6597
6598 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * icomplete.el (icomplete-in-buffer): New var.
6601 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6602 vars and replace them with functions.
6603 (icomplete-minibuffer-setup): Adjust accordingly.
6604 (icomplete--completion-table, icomplete--completion-predicate)
6605 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6606 New functions.
6607 (icomplete-forward-completions, icomplete-backward-completions)
6608 (icomplete-simple-completing-p, icomplete-exhibit)
6609 (icomplete-completions): Use them.
6610 (icomplete--in-region-buffer): New var.
6611 (icomplete--in-region-setup): New function.
6612 (icomplete-mode): Use it.
6613
6614 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6615 (bug#15379).
6616 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6617 return args and options.
6618 (eshell-eval-using-options): Use the new return value of
6619 eshell--do-opts to set the options's vars in their scope.
6620 (eshell--set-option): Rename from eshell-set-option.
6621 Add arg `opt-vals'.
6622 (eshell--process-option): Rename from eshell-process-option.
6623 Add arg `opt-vals'.
6624 (eshell--process-args): Use an `opt-vals' alist to store the options's
6625 values during their processing and return them additionally to the
6626 remaining args.
6627
6628 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6629
6630 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6631 continuation character an operator, as far as indentation is
6632 concerned (Bug#15369).
6633
6634 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6635
6636 * window.el (window--state-put-2): Don't process buffer state
6637 when buffer doesn't exist any more (Bug#15382).
6638
6639 2013-09-15 Glenn Morris <rgm@gnu.org>
6640
6641 * eshell/em-unix.el (eshell/rm):
6642 Make -f ignore missing files. (Bug#15373)
6643
6644 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6645 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6646 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6647
6648 2013-09-14 Glenn Morris <rgm@gnu.org>
6649
6650 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6651
6652 2013-09-13 Glenn Morris <rgm@gnu.org>
6653
6654 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6655 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6656
6657 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6658
6659 * frame.el (x-focus-frame): Mark as declared in frame.c.
6660
6661 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * ls-lisp.el: Use advice-add.
6664 (original-insert-directory): Remove.
6665 (ls-lisp--insert-directory): Rename from insert-directory; add
6666 `orig-fun' argument.
6667 (insert-directory): Advise.
6668
6669 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6670
6671 * term.el (term-emulate-terminal): Decode the command string
6672 before passing it to term-command-hook. (Bug#15337)
6673
6674 2013-09-13 Glenn Morris <rgm@gnu.org>
6675
6676 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6677
6678 * eshell/esh-ext.el (eshell-search-path): Declare.
6679
6680 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6681 Otherwise an error occurs if eshell-dirs module not loaded.
6682
6683 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6684
6685 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6686
6687 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6688 `tramp-check-proper-host'. Check for a valid method name.
6689
6690 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6691 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6692 * net/tramp-sh.el (tramp-maybe-open-connection):
6693 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6694
6695 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6696 also for hash values.
6697
6698 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * term/ns-win.el (parameters): Don't declare as dynamic.
6701 (before-make-frame-hook): Don't add ineffective function.
6702
6703 * eshell/*.el: Use lexical-binding (bug#15231).
6704
6705 2013-09-12 Kenichi Handa <handa@gnu.org>
6706
6707 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6708
6709 2013-09-12 Glenn Morris <rgm@gnu.org>
6710
6711 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6712 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6713
6714 * subr.el (do-after-load-evaluation): Also give compiler warnings
6715 when obsolete files are used (except by obsolete files).
6716
6717 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6718 in the status output, assume `filename' is the first. (Bug#15322)
6719
6720 * vc/vc.el (vc-deduce-fileset): Doc fix.
6721
6722 * calc/calc-help.el (Info-goto-node):
6723 * progmodes/cperl-mode.el (Info-find-node):
6724 * vc/ediff.el (Info-goto-node): Update declarations.
6725
6726 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6727
6728 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6729 (vc-bzr-pull): Require vc-dispatcher.
6730 * vc/vc-git.el (vc-compilation-mode): Declare.
6731 (vc-git-pull): Require vc-dispatcher.
6732
6733 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6734
6735 * progmodes/octave.el (help-button-action): Declare.
6736
6737 * shell.el (shell-directory-tracker): Output error as a message
6738 rather than just returning it as a string.
6739 (shell-process-pushd): Remove useless use of message.
6740
6741 * dframe.el (dframe-timer-fn):
6742 * files.el (dir-locals-read-from-file):
6743 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6744 (mpc-format):
6745 * reveal.el (reveal-post-command):
6746 * saveplace.el (load-save-place-alist-from-file):
6747 * shell.el (shell-resync-dirs):
6748 * w32-common-fns.el (x-get-selection-value):
6749 * emacs-lisp/copyright.el (copyright-find-copyright):
6750 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6751 * emulation/tpu-edt.el (tpu-copy-keyfile):
6752 * play/bubbles.el (bubbles--mark-neighbourhood):
6753 * progmodes/executable.el
6754 (executable-make-buffer-file-executable-if-script-p):
6755 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6756
6757 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6758
6759 Cleanup Eshell to rely less on dynamic scoping.
6760 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6761 last-value, and ext-command here. Bind `args' closer to `body'.
6762 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6763 (eshell--args): Declare new dynamic var.
6764 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6765 last-value, and ext-command. Pass `args' to `body'.
6766 (eshell-process-args): Bind eshell--args.
6767 (eshell-set-option): Use eshell--args.
6768 * eshell/eshell.el (eshell): Use derived-mode-p.
6769 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6770 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6771 (eshell-glob-function): Declare.
6772 * eshell/esh-util.el: Require cl-lib.
6773 (eshell-read-hosts-file): Avoid add-to-list.
6774 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6775 `err'.
6776 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6777 Declare.
6778 (eshell/diff): Remove unused var `err'.
6779 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6780 `killflag'.
6781 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6782 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6783 first use.
6784 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6785 Move declaration before first use.
6786 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6787 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6788 rely on cl-return.
6789
6790 2013-09-12 Glenn Morris <rgm@gnu.org>
6791
6792 * term/ns-win.el (global-map): Remove binding for ispell-next,
6793 deleted 1999-05-29. (Bug#15357)
6794
6795 2013-09-11 Glenn Morris <rgm@gnu.org>
6796
6797 * echistory.el (electric-command-history): Remove call to deleted func.
6798
6799 * play/landmark.el (landmark-mode): Fix typos.
6800
6801 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6802 Check cvs-sort-ignore-file is bound.
6803
6804 * savehist.el: No need for cl when compiling on Emacs.
6805
6806 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6809 (bug#15338).
6810 (eshell-self-insert-command, eshell-send-invisible):
6811 Remove unused argument.
6812 (eshell-handle-control-codes): Remove unused var `orig'.
6813 Avoid delete-backward-char.
6814
6815 * files.el (set-auto-mode): Simplify a bit further.
6816
6817 2013-09-11 Glenn Morris <rgm@gnu.org>
6818
6819 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6820 (set-auto-mode): Don't regexp-quote elements.
6821 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6822 * progmodes/cc-mode.el (interpreter-mode-alist):
6823 * progmodes/ruby-mode.el (interpreter-mode-alist):
6824 Revert previous change.
6825
6826 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * play/snake.el (snake-mode):
6829 * play/mpuz.el (mpuz-mode):
6830 * play/landmark.el (lm-mode):
6831 * play/blackbox.el (blackbox-mode):
6832 * play/5x5.el (5x5-mode):
6833 * obsolete/options.el (Edit-options-mode):
6834 * net/quickurl.el (quickurl-list-mode):
6835 * net/newst-treeview.el (newsticker-treeview-mode):
6836 * mail/rmailsum.el (rmail-summary-mode):
6837 * mail/mspools.el (mspools-mode):
6838 * locate.el (locate-mode):
6839 * ibuffer.el (ibuffer-mode):
6840 * emulation/ws-mode.el (wordstar-mode):
6841 * emacs-lisp/debug.el (debugger-mode):
6842 * array.el (array-mode):
6843 * net/eudc.el (eudc-mode): Use define-derived-mode.
6844 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6845 Move initialization into declaration.
6846 (mairix-searches-mode): Use define-derived-mode.
6847 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6848 (eudc-edit-hotlist): Use dolist.
6849 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6850 (Man-mode): Use define-derived-mode.
6851 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6852 (Info-edit-mode): Use define-derived-mode.
6853 (Info-cease-edit): Use Info-mode.
6854 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6855 into declaration.
6856 (eshell-mode): Use define-derived-mode.
6857 * chistory.el (command-history-mode-map): Rename from
6858 command-history-map.
6859 (command-history-mode): Use define-derived-mode.
6860 (Command-history-setup): Remove function.
6861 * calc/calc.el (calc-trail-mode-map): New var.
6862 (calc-trail-mode): Use define-derived-mode.
6863 (calc-trail-buffer): Set calc-main-buffer manually.
6864 * bookmark.el (bookmark-insert-annotation): New function.
6865 (bookmark-edit-annotation): Use it.
6866 (bookmark-edit-annotation-mode): Make it a proper major mode.
6867 (bookmark-send-edited-annotation): Use derived-mode-p.
6868 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6869 closer to its ideal place. Use \' to match EOS.
6870
6871 * profiler.el (profiler-calltree-find): Use function-equal.
6872
6873 2013-09-10 Glenn Morris <rgm@gnu.org>
6874
6875 * files.el (interpreter-mode-alist): Convert to regexps.
6876 (set-auto-mode): Adapt for this. (Bug#15306)
6877 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6878 Comment out unused variable.
6879 * progmodes/cc-mode.el (interpreter-mode-alist):
6880 * progmodes/python.el (interpreter-mode-alist):
6881 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6882 * progmodes/sh-script.el (sh-set-shell):
6883 No longer use interpreter-mode-alist to get list of shells.
6884
6885 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6886
6887 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * simple.el: Use set-temporary-overlay-map for universal-argument.
6890 (universal-argument-map): Don't use default-bindings (bug#15317).
6891 Bind switch-frame explicitly. Replace universal-argument-minus with
6892 a conditional binding.
6893 (universal-argument-num-events, saved-overriding-map): Remove.
6894 (restore-overriding-map): Remove.
6895 (universal-argument--mode): Rename from save&set-overriding-map,
6896 and rewrite.
6897 (universal-argument, universal-argument-more, negative-argument)
6898 (digit-argument): Adjust accordingly.
6899 (universal-argument-minus): Remove.
6900 (universal-argument-other-key): Remove.
6901
6902 * subr.el (with-demoted-errors): Add `format' argument.
6903
6904 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6905
6906 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6907 `tramp-cleanup-connection'.
6908
6909 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6910 parameters KEEP-DEBUG and KEEP-PASSWORD.
6911
6912 * net/tramp.el (tramp-file-name-handler):
6913 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6914 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6915 (tramp-maybe-open-connection):
6916 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6917 Use `tramp-cleanup-connection'.
6918
6919 * net/tramp-sh.el (tramp-maybe-open-connection):
6920 Catch 'uname-changed inside the progress reporter.
6921
6922 2013-09-10 Glenn Morris <rgm@gnu.org>
6923
6924 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6925
6926 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6927 returns "alternate access method" in mode (eg "-rw-r--r--.").
6928
6929 2013-09-08 Glenn Morris <rgm@gnu.org>
6930
6931 * saveplace.el (load-save-place-alist-from-file):
6932 Demote errors. (Bug#15305)
6933
6934 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6935
6936 Improve compatibility with older Emacsen, and XEmacs.
6937
6938 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6939 only if it is bound. It isn't for XEmacs.
6940 (with-tramp-progress-reporter): Do not let-bind `result'.
6941 This yields to scoping errors in XEmacs.
6942 (tramp-handle-make-auto-save-file-name): New function, moved from
6943 tramp-sh.el.
6944
6945 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6946 for `make-auto-save-file-name'.
6947 (tramp-adb--gnu-switches-to-ash):
6948 Use `tramp-compat-replace-regexp-in-string'.
6949
6950 * net/tramp-cache.el (tramp-cache-print): Call
6951 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6952
6953 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6954 bound. It isn't for XEmacs.
6955
6956 * net/tramp-compat.el (tramp-compat-copy-file):
6957 Catch `wrong-number-of-arguments' error.
6958 (tramp-compat-replace-regexp-in-string): New defun.
6959
6960 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6961 for `make-auto-save-file-name'.
6962 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6963 `copy-file'.
6964 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6965 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6966 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6967
6968 * net/tramp-gw.el (tramp-gw-open-network-stream):
6969 Use `tramp-compat-replace-regexp-in-string'.
6970
6971 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6972 Call `tramp-handle-make-auto-save-file-name'.
6973 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6974 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6975 (tramp-sh-file-inotifywait-process-filter):
6976 Use `tramp-compat-replace-regexp-in-string'.
6977 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6978
6979 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6980 for `make-auto-save-file-name'.
6981 (tramp-smb-handle-copy-directory):
6982 Call `tramp-compat-replace-regexp-in-string'.
6983 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6984 (tramp-smb-handle-copy-file): Improve error message.
6985 (tramp-smb-handle-rename-file): Rename directly only in case
6986 `newname' does not exist yet. This is a restriction of smbclient.
6987 (tramp-smb-maybe-open-connection): Rerun the function only when
6988 `auth-sources' is non-nil.
6989
6990 2013-09-08 Kenichi Handa <handa@gnu.org>
6991
6992 * international/characters.el: Set category "^" (Combining) for
6993 more characters.
6994
6995 2013-09-07 Alan Mackenzie <acm@muc.de>
6996
6997 Correctly fontify Java class constructors.
6998 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6999 in Java Mode.
7000 (c-recognize-typeless-decls): Set the Java value to t.
7001 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7002 While handling a "(", add a check for, effectively, Java, and handle a
7003 "typeless" declaration there.
7004
7005 2013-09-07 Roland Winkler <winkler@gnu.org>
7006
7007 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7008 field subtitle for entry type book.
7009
7010 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7011
7012 * minibuffer.el: Make minibuffer-complete call completion-in-region
7013 rather than other way around.
7014 (completion--some, completion-pcm--find-all-completions):
7015 Don't delay signals when debugging.
7016 (minibuffer-completion-contents): Beware fields within the
7017 minibuffer contents.
7018 (completion-all-sorted-completions): Use defvar-local.
7019 (completion--do-completion, completion--cache-all-sorted-completions)
7020 (completion-all-sorted-completions, minibuffer-force-complete):
7021 Add args `beg' and `end'.
7022 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7023 (minibuffer-complete): Use completion-in-region.
7024 (completion-complete-and-exit): New fun, extracted from
7025 minibuffer-complete-and-exit.
7026 (minibuffer-complete-and-exit): Use it.
7027 (completion--complete-and-exit): Rename from
7028 minibuffer--complete-and-exit.
7029 (completion-in-region--single-word): New function, extracted from
7030 minibuffer-complete-word.
7031 (minibuffer-complete-word): Use it.
7032 (display-completion-list): Make `common-substring' argument obsolete.
7033 (completion--in-region): Call completion--in-region-1 instead of
7034 minibuffer-complete.
7035 (completion-help-at-point): Pass boundaries to
7036 minibuffer-completion-help as args rather than via an overlay.
7037 (completion-pcm--string->pattern): Use `any-delim'.
7038 (completion-pcm--optimize-pattern): New function.
7039 (completion-pcm--pattern->regex): Handle `any-delim'.
7040 * icomplete.el (icomplete-forward-completions)
7041 (icomplete-backward-completions, icomplete-completions):
7042 Adjust calls to completion-all-sorted-completions and
7043 completion--cache-all-sorted-completions.
7044 (icomplete-with-completion-tables): Default to t.
7045 * emacs-lisp/crm.el (crm--current-element): Rename from
7046 crm--select-current-element. Don't put an overlay but return the
7047 boundaries instead.
7048 (crm--completion-command): Take two new args to bind to the boundaries.
7049 (crm-completion-help): Adjust accordingly.
7050 (crm-complete): Use completion-in-region.
7051 (crm-complete-word): Use completion-in-region--single-word.
7052 (crm-complete-and-exit): Use completion-complete-and-exit.
7053
7054 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7057 than dynamically.
7058
7059 2013-09-06 Juri Linkov <juri@jurta.org>
7060
7061 * info.el (Info-display-images-node): When image file doesn't exist
7062 display text version of the image if it's provided in the Info file.
7063 Otherwise, display the location of missing image from SRC attribute.
7064 Add help-echo text property from ALT attribute. (Bug#15279)
7065
7066 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7069 (edit-abbrevs-mode): Use define-derived-mode.
7070
7071 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7072 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7073 that it's defined.
7074 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7075 Use define-derived-mode.
7076
7077 * epg.el (epg-start-encrypt): Minor CSE simplification.
7078
7079 2013-09-06 William Xu <william.xwl@gmail.com>
7080
7081 * arc-mode.el: Add support for 7za (bug#15264).
7082 (archive-7z-program): New var.
7083 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7084 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7085 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7086
7087 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7088
7089 Remove URL syntax.
7090
7091 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7092 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7093 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7094 (tramp-postfix-host-format, tramp-file-name-regexp)
7095 (tramp-completion-file-name-regexp)
7096 (tramp-completion-dissect-file-name)
7097 (tramp-handle-substitute-in-file-name): Remove 'url case.
7098 (tramp-file-name-regexp-url)
7099 (tramp-completion-file-name-regexp-url): Remove constants.
7100
7101 2013-09-06 Glenn Morris <rgm@gnu.org>
7102
7103 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7104
7105 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7106
7107 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7108 keywords" below "here-doc beginnings" (Bug#15270).
7109
7110 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7111
7112 * subr.el (pop): Use `car-safe'.
7113 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7114 to detect unused `pop' return value.
7115
7116 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7117 var `block-regexp'.
7118 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7119 (python-fill-string): Remove unused var `marker'.
7120 (python-skeleton-add-menu-items): Remove unused var `items'.
7121
7122 * international/mule-cmds.el: Require CL.
7123 (find-coding-systems-for-charsets): Avoid add-to-list.
7124 (sanitize-coding-system-list): New function, extracted from
7125 select-safe-coding-system-interactively.
7126 (select-safe-coding-system-interactively): Use it.
7127 (read-input-method-name): Accept symbols for `default'.
7128
7129 * emacs-lisp/advice.el (defadvice): Add indent rule.
7130
7131 2013-09-05 Daniel Hackney <dan@haxney.org>
7132
7133 * dired-x.el:
7134 * net/ange-ftp.el:
7135 * net/browse-url.el:
7136 * net/dbus.el:
7137 * net/eudc.el:
7138 * net/eudcb-ldap.el:
7139 * net/eww.el:
7140 * net/imap.el:
7141 * printing.el:
7142 * vc/ediff-diff.el:
7143 * vc/ediff-init.el:
7144 * vc/ediff-merg.el:
7145 * vc/ediff-mult.el:
7146 * vc/ediff-util.el:
7147 * vc/ediff-wind.el:
7148 * vc/ediff.el:
7149 * vc/emerge.el:
7150 * vc/pcvs.el:
7151 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7152 byte compiler. Remove some unused let-bound variables.
7153
7154 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7155
7156 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7157 a "ref-cell", since it gets better optimized (bug#14883).
7158
7159 2013-09-05 Glenn Morris <rgm@gnu.org>
7160
7161 * progmodes/cc-awk.el (c-forward-sws): Declare.
7162
7163 2013-09-04 Glenn Morris <rgm@gnu.org>
7164
7165 * generic-x.el [rul-generic-mode]: Require cc-mode.
7166 (c++-mode-syntax-table): Declare.
7167 (rul-generic-mode-syntax-table): Init in the defvar.
7168
7169 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7172 (vc-do-command, vc-set-async-update):
7173 * vc/vc-mtn.el (vc-mtn-dir-status):
7174 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7175 (vc-hg-pull, vc-hg-merge-branch):
7176 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7177 (vc-git-merge-branch):
7178 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7179 (vc-cvs-dir-status-files):
7180 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7181 (vc-bzr-dir-status-files):
7182 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7183 * vc/vc-annotate.el: Use lexical-binding.
7184 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7185 (vc-sentinel-movepoint): Declare.
7186 (vc-annotate): Don't use `goto-line'.
7187 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7188 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7189 (vc-sentinel-movepoint): Declare.
7190 * vc/vc-svn.el: Use lexical-binding.
7191 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7192 * vc/vc-sccs.el:
7193 * vc/vc-rcs.el: Use lexical-binding.
7194
7195 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7196 `deleted'. Don't drop errors silently.
7197
7198 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7199
7200 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7201
7202 * vc/vc.el (vc-ignore): Rewrite.
7203 (vc-default-ignore): New function.
7204 (vc-default-ignore-completion-table): Use find-ignore-file.
7205
7206 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7207 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7208 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7209 Remove. Most code moved to vc.el.
7210
7211 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7214 * net/tramp-smb.el (tramp-smb-get-file-entries):
7215 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7216 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7217
7218 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7219 Update call to it.
7220 (eww-change-select): Remove unused var `properties'.
7221 (eww-make-unique-file-name): Remove unused var `base'.
7222
7223 * finder.el (finder-compile-keywords): Don't mess with windows.
7224
7225 * calculator.el (calculator-funcall): Fix typo in last change.
7226
7227 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7228
7229 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7230 <pkg>-autoloads.el file stop us.
7231
7232 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7233 warnings, and factor out common code.
7234
7235 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7236
7237 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7238 two-character operators and whether the character preceding them
7239 changes their meaning (Bug#15208).
7240
7241 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7242
7243 Format code sent to Python shell for robustness.
7244 * progmodes/python.el (python-shell-buffer-substring):
7245 New function.
7246 (python-shell-send-region, python-shell-send-buffer): Use it.
7247
7248 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7249
7250 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7251 * net/tramp.el (tramp-user-error): ... here.
7252 (tramp-find-method, tramp-check-proper-host)
7253 (tramp-dissect-file-name, tramp-debug-message)
7254 (tramp-handle-shell-command):
7255 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7256 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7257
7258 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7259
7260 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7261
7262 * avoid.el (mouse-avoidance-point-position)
7263 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7264 returns nil.
7265
7266 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7267
7268 * progmodes/python.el (python-shell-completion-get-completions):
7269 Drop use of deleted `comint-last-prompt-overlay'.
7270 (python-nav-if-name-main): New command.
7271
7272 2013-09-01 Glenn Morris <rgm@gnu.org>
7273
7274 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7275 Avoid leading space in $wins. Otherwise the sed command used by
7276 eg compile-main ends up containing "/*.el". (Bug#15170)
7277
7278 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7279
7280 2013-08-30 Glenn Morris <rgm@gnu.org>
7281
7282 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7283 Fix is-this-a-directory logic. (Bug#15220)
7284
7285 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7286
7287 * textmodes/css-mode.el: Use SMIE.
7288 (css-smie-grammar): New var.
7289 (css-smie--forward-token, css-smie--backward-token)
7290 (css-smie-rules): New functions.
7291 (css-mode): Use them.
7292 (css-navigation-syntax-table): Remove var.
7293 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7294 (css-indent-calculate, css-indent-line): Remove functions.
7295
7296 Misc changes to reduce use of `(lambda...); and other cleanups.
7297 * cus-edit.el: Use lexical-binding.
7298 (customize-push-and-save, customize-apropos)
7299 (custom-buffer-create-internal): Use closures.
7300 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7301 * progmodes/ada-xref.el: Use setq.
7302 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7303 * dframe.el: Use lexical-binding.
7304 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7305 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7306 * descr-text.el: Use lexical-binding.
7307 (describe-text-widget, describe-text-sexp, describe-property-list):
7308 Use closures.
7309 * comint.el (comint-history-isearch-push-state): Use a closure.
7310 * calculator.el: Use lexical-binding.
7311 (calculator-number-to-string): Make it work with lexical-binding.
7312 (calculator-funcall): Same and use cl-letf.
7313
7314 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7315 (lisp--company-doc-string, lisp--company-location): New functions.
7316 (lisp-completion-at-point): Use them to improve Company support.
7317
7318 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7319 params of lambda expressions.
7320 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7321 (ruby-smie--opening-pipe-p): New function.
7322 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7323 symbols and matched |...| for formal params.
7324 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7325 from being treated as hanging. Handle "rescue".
7326
7327 2013-08-29 Glenn Morris <rgm@gnu.org>
7328
7329 * progmodes/cc-engine.el (c-pull-open-brace):
7330 Move definition before use.
7331
7332 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7335 are immutable. Don't use `unsafe' any more.
7336 (cl--defsubst-expand): Don't substitute at the same time as keeping
7337 a residual unused let-binding. Don't use `unsafe' any more.
7338
7339 2013-08-29 Glenn Morris <rgm@gnu.org>
7340
7341 * calendar/cal-china.el (calendar-chinese-year-cache):
7342 Recenter on 2015.
7343
7344 * nxml/nxml-util.el (nxml-debug-clear-inside):
7345 Use cl-loop rather than loop.
7346
7347 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7348
7349 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7350
7351 2013-08-28 Glenn Morris <rgm@gnu.org>
7352
7353 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7354
7355 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7356
7357 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7358
7359 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * simple.el (repeat-complex-command--called-interactively-skip):
7362 New function.
7363 (repeat-complex-command): Use it (bug#14136).
7364
7365 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7366 (c-define-abbrev-table): Add `doc' argument.
7367 (c-mode-abbrev-table, c++-mode-abbrev-table)
7368 (objc-mode-abbrev-table, java-mode-abbrev-table)
7369 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7370 (awk-mode-abbrev-table): Use it.
7371 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7372 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7373 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7374 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7375 Move initialization into the declaration; and remove any
7376 autoload cookie.
7377
7378 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7379 and dynamic let binding.
7380
7381 * vc/smerge-mode.el: Remove redundant :group args.
7382
7383 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7384 to load-path.
7385
7386 2013-08-28 Juri Linkov <juri@jurta.org>
7387
7388 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7389 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7390 (isearch-other-meta-char): Handle an undefined shifted printing
7391 character by downshifting it. (Bug#15200)
7392
7393 2013-08-28 Juri Linkov <juri@jurta.org>
7394
7395 * isearch.el (isearch-search): Change regexp error message for
7396 non-regexp searches. (Bug#15166)
7397
7398 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7399
7400 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7401 for portability to hosts where /bin/sh has problems.
7402
7403 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7404
7405 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7406
7407 2013-08-27 Juri Linkov <juri@jurta.org>
7408
7409 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7410 in the keyboard macro. (Bug#15126)
7411
7412 2013-08-27 Juri Linkov <juri@jurta.org>
7413
7414 * isearch.el (isearch-quote-char): Comment out converting unibyte
7415 to multibyte, thus syncing with its `quoted-insert' counterpart.
7416 (Bug#15166)
7417
7418 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7419
7420 * window.el (display-buffer-use-some-window): Add missing
7421 argument in call of get-largest-window (Bug#15185).
7422 Reported by Stephen Leake.
7423
7424 2013-08-27 Glenn Morris <rgm@gnu.org>
7425
7426 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7427
7428 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7431 from a matcher-function unless there's no more matches (bug#15161).
7432
7433 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7434
7435 * minibuffer.el: Revert change from 2013-08-20.
7436
7437 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7438 with text property `tramp-default', if appropriate.
7439 (tramp-check-proper-host): New defun.
7440 (tramp-dissect-file-name): Do not check hostname. Revert change
7441 of 2013-03-18.
7442 (tramp-backtrace): Make VEC-OR-PROC optional.
7443
7444 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7445 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7446 * net/tramp-sh.el (tramp-maybe-open-connection):
7447 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7448 Apply `tramp-check-proper-host'.
7449
7450 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7451
7452 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7453 lambda expression in order to have `describe-variable' display it.
7454
7455 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7456
7457 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7458 BUF can be optional. (Bug#15186)
7459
7460 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7461
7462 * progmodes/flymake.el (flymake-get-real-file-name-function):
7463 Fix broken customization. (Bug#15184)
7464
7465 2013-08-25 Alan Mackenzie <acm@muc.de>
7466
7467 Improve indentation of bracelists defined by macros (without "=").
7468
7469 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7470 expansion begins with "{", regard it as bracelist when it doesn't
7471 contain a ";".
7472
7473 Parse C++ inher-intro when there's a template split over 2 lines.
7474
7475 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7476 rigorously the search for "class" etc. followed by ":".
7477
7478 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7479 random languages a regexp which never matches rather than nil.
7480
7481 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7482
7483 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7484 (c-awk-regexp-one-line-possibly-open-char-list-re)
7485 (c-awk-one-line-possibly-open-regexp-re)
7486 (c-awk-one-line-non-syn-ws*-re): Remove.
7487 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7488 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7489 (c-awk-space*-unclosed-regexp-/-re): New constants.
7490 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7491 aren't regexp delimiters.
7492
7493 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7494 handling for a rare situation in AWK Mode involving unterminated
7495 strings/regexps.
7496
7497 2013-08-23 Glenn Morris <rgm@gnu.org>
7498
7499 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7500
7501 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7502
7503 * files.el (create-file-buffer): If the result would begin with
7504 spaces, prepend a "|" instead of removing them. (Bug#15162)
7505
7506 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7509 text-properties (bug#15155).
7510
7511 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7512 exist any more.
7513 (calc-keypad-redraw): Remove unused var `pad'.
7514 (calc-keypad-press): Remove unused var `menu'.
7515
7516 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7517
7518 * window.el (display-buffer-pop-up-frame):
7519 Call pop-up-frame-function with BUFFER current so `make-frame' will
7520 use it as the new frame's buffer (Bug#15133).
7521
7522 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * calendar/timeclock.el: Minor cleanups.
7525 (timeclock-ask-before-exiting, timeclock-use-display-time):
7526 Use `symbol'.
7527 (timeclock-modeline-display): Define as alias before the
7528 actual definition.
7529 (timeclock-mode-line-display): Use define-minor-mode.
7530 (timeclock-day-list-template): Make it a function, add an argument.
7531 (timeclock-day-list-required, timeclock-day-list-length)
7532 (timeclock-day-list-debt, timeclock-day-list-span)
7533 (timeclock-day-list-break): Adjust calls accordingly.
7534
7535 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7538 Use read--expression so that completion works again.
7539
7540 2013-08-21 Sam Steingold <sds@gnu.org>
7541
7542 Add rudimentary inferior shell interaction
7543 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7544 (sh-set-shell): Reset it.
7545 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7546 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7547
7548 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7550 * align.el: Use lexical-binding.
7551 (align-region): Simplify accordingly.
7552
7553 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7554
7555 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7556
7557 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7558 `non-essential' up.
7559
7560 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7561
7562 * net/tramp.el:
7563 * net/tramp-adb.el:
7564 * net/tramp-cmds.el:
7565 * net/tramp-ftp.el:
7566 * net/tramp-gvfs.el:
7567 * net/tramp-gw.el:
7568 * net/tramp-sh.el: Don't wrap external variable declarations by
7569 `eval-when-compile'.
7570
7571 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7572
7573 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7574 now that Emacs supports ImageMagick animations.
7575
7576 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7577
7578 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7579 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7580
7581 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7582
7583 * window.el (mouse-autoselect-window-select): Do autoselect when
7584 mouse pointer is on margin.
7585
7586 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7587
7588 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7589
7590 2013-08-16 Glenn Morris <rgm@gnu.org>
7591
7592 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7593 Handle "Remote Directory" response of some clients. (Bug#15058)
7594
7595 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7596 Tweak warning. (Bug#14926)
7597
7598 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7599 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7600
7601 * image-mode.el (image-mode-map): Add menu items to reverse,
7602 increase, decrease, reset animation speed.
7603 (image--set-speed, image-increase-speed, image-decrease-speed)
7604 (image-reverse-speed, image-reset-speed): New functions.
7605 (image-mode-map): Add bindings for speed commands.
7606
7607 * image.el (image-animate-get-speed, image-animate-set-speed):
7608 New functions.
7609 (image-animate-timeout): Respect image :speed property.
7610
7611 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7614 previous line (bug#15101).
7615 (debugger-eval-expression, debugger-record-expression):
7616 Use read--expression (bug#15102).
7617
7618 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7619
7620 Remove byte compiler warnings, visible when compiling with
7621 `byte-compile-force-lexical-warnings' set to t.
7622
7623 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7624 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7625 (tramp-handle-unhandled-file-name-directory)
7626 (tramp-handle-file-notify-add-watch, tramp-action-login)
7627 (tramp-action-succeed, tramp-action-permission-denied)
7628 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7629 arguments with "_".
7630
7631 * net/tramp-adb.el (tramp-adb-parse-device-names)
7632 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7633 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7634 (tramp-adb-handle-file-truename): Remove unused arguments.
7635
7636 * net/tramp-cache.el (tramp-flush-directory-property)
7637 (tramp-flush-connection-property, tramp-list-connections)
7638 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7639
7640 * net/tramp-compat.el (tramp-compat-make-temp-file):
7641 Rename FILENAME to F.
7642
7643 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7644 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7645 (tramp-zeroconf-parse-workstation-device-names)
7646 (tramp-zeroconf-parse-webdav-device-names)
7647 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7648
7649 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7650 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7651
7652 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7653 arguments.
7654 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7655 (tramp-sh-handle-insert-file-contents-literally)
7656 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7657 with "_".
7658 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7659 Remove unused variables.
7660
7661 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7662 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7663 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7664
7665 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7666 Make them a defconst.
7667 (tramp-uuencode-region): Remove unused variable.
7668
7669 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7670
7671 * frameset.el (frameset--prop-setter): New function.
7672 (frameset-prop): Add gv-setter declaration.
7673 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7674 parameter was already set in FILTERED. Doc fix.
7675 (frameset--record-minibuffer-relationships): Allow saving a
7676 minibufferless frame without its corresponding minibuffer frame.
7677 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7678 frame, if the frame id matches.
7679 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7680 frames before orphaned ones.
7681 (frameset-restore): Warn about orphaned windows, instead of error out.
7682
7683 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7684
7685 * window.el (window-make-atom): Don't overwrite parameter
7686 already present.
7687 (display-buffer-in-atom-window): Handle special case where we
7688 split an already atomic window.
7689 (window--major-non-side-window, display-buffer-in-side-window)
7690 (window--side-check): Ignore minibuffer window when walking
7691 window tree.
7692 (window-deletable-p): Return 'frame only if no other frame uses
7693 our minibuffer window.
7694 (record-window-buffer): Run buffer-list-update-hook.
7695 (split-window): Make sure window--check-frame won't destroy an
7696 existing atomic window in case the new window gets nested
7697 inside.
7698 (display-buffer-at-bottom): Ignore minibuffer window when
7699 walking window tree. Don't split a side window.
7700 (pop-to-buffer): Don't set-buffer here, the select-window call
7701 should do that.
7702 (mouse-autoselect-window-select): Autoselect only if we are in the
7703 text portion of the window.
7704
7705 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7706
7707 * net/shr.el (shr-parse-image-data): New function to grab both the
7708 data itself and the Content-Type.
7709 (shr-put-image): Use it.
7710
7711 * net/eww.el (eww-display-image): Ditto.
7712
7713 * image.el (image-content-type-suffixes): New variable.
7714
7715 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7716
7717 * progmodes/python.el (python-imenu--build-tree)
7718 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7719
7720 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7721
7722 * simple.el (backward-word): Mention the optional argument.
7723
7724 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * frameset.el (frameset--make): Rename constructor from make-frameset.
7727 (frameset-p, frameset-valid-p): Don't autoload.
7728 (frameset-valid-p): Use normal accessors.
7729
7730 2013-08-13 Glenn Morris <rgm@gnu.org>
7731
7732 * progmodes/compile.el (compile-command): Tweak example in doc.
7733 * obsolete/scribe.el (scribe-mode):
7734 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7735
7736 * mail/feedmail.el (feedmail-confirm-outgoing)
7737 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7738
7739 * cus-start.el (truncate-partial-width-windows): Fix type.
7740
7741 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7742
7743 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7744
7745 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * emacs-lisp/timer.el (timer--time-setter): New function.
7748 (timer--time): Use it as gv-setter.
7749
7750 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7751 setter is not a symbol.
7752
7753 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7754
7755 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7756 if sending fails. This makes debugging easier.
7757
7758 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7759
7760 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7761 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7762 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7763
7764 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7765
7766 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7767
7768 2013-08-12 Glenn Morris <rgm@gnu.org>
7769
7770 * format.el (format-annotate-function):
7771 Handle read-only text properties in the source. (Bug#14887)
7772
7773 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7774
7775 * net/eww.el (eww-display-html): Ignore coding system errors.
7776 One web site uses "utf-8lias" as the coding system.
7777
7778 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7779
7780 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7781
7782 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7783
7784 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7785 (tutorial--detailed-help): Remove unused local variables.
7786 (tutorial--save-tutorial-to): Use ignore-errors.
7787 (help-with-tutorial): Use looking-at-p.
7788
7789 * view.el (view-buffer-other-window, view-buffer-other-frame):
7790 Mark unused arguments.
7791
7792 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7793 (woman-select-symbol-fonts, woman, woman-find-file)
7794 (woman-insert-file-contents, woman-non-underline-faces):
7795 Use string-match-p.
7796 (woman1-unquote): Move declaration.
7797
7798 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7799 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7800 argument. Remove unused local variable.
7801 (xml-parse-elem-type): Use string-match-p.
7802 (xml-substitute-numeric-entities): Use ignore-errors.
7803
7804 * calculator.el (calculator): Mark unused argument.
7805 (calculator-paste, calculator-quit, calculator-integer-p):
7806 Use ignore-errors.
7807 (calculator-string-to-number, calculator-decimal, calculator-exp)
7808 (calculator-op-or-exp): Use string-match-p.
7809
7810 * dired.el (dired-buffer-more-recently-used-p): Declare.
7811 (dired-insert-set-properties, dired-insert-old-subdirs):
7812 Use ignore-errors.
7813
7814 * dired-aux.el (dired-compress): Use ignore-errors.
7815 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7816 (dired-do-async-shell-command, dired-do-shell-command)
7817 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7818 (dired-insert-subdir-validate): Use string-match-p.
7819 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7820 (dired-add-entry): Use string-match-p, looking-at-p.
7821 (dired-insert-subdir-newpos): Remove unused local variable.
7822
7823 * filenotify.el (file-notify-callback): Remove unused local variable.
7824
7825 * filesets.el (filesets-error): Mark unused argument.
7826 (filesets-which-command-p, filesets-filter-dir-names)
7827 (filesets-directory-files, filesets-get-external-viewer)
7828 (filesets-ingroup-get-data): Use string-match-p.
7829
7830 * find-file.el (ff-other-file-name, ff-other-file-name)
7831 (ff-find-the-other-file, ff-cc-hh-converter):
7832 Remove unused local variables.
7833 (ff-get-file-name): Use string-match-p.
7834 (ff-all-dirs-under): Use ignore-errors.
7835
7836 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7837 (follow-select-if-visible): Remove unused local variable.
7838
7839 * forms.el (read-file-filter): Move declaration.
7840 (forms--make-format, forms--make-parser, forms-insert-record):
7841 Quote function with #'.
7842 (forms--update): Use string-match-p. Quote function with #'.
7843
7844 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7845 (help-make-xrefs): Use looking-at-p.
7846 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7847
7848 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7849 (ibuffer-confirm-operation-on): Use string-match-p.
7850
7851 * msb.el (msb-item-handler, msb-dired-item-handler):
7852 Mark unused arguments.
7853
7854 * ses.el (ses-decode-cell-symbol)
7855 (ses-kill-override): Remove unused local variable.
7856 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7857 (ses-load): Use ignore-errors, looking-at-p.
7858 (ses-jump-safe): Use ignore-errors.
7859 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7860
7861 * tabify.el (untabify, tabify): Mark unused arguments.
7862
7863 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7864 Mark unused argument.
7865 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7866 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7867
7868 * emacs-lisp/timer.el (timer--time): Define setter with
7869 gv-define-setter to avoid deprecation warning.
7870
7871 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7872 (*record-cmpl-statistics-p*): Remove (was commented out).
7873 (cmpl-statistics-block): Remove (body was commented out).
7874 All callers changed.
7875 (add-completions-from-buffer, load-completions-from-file):
7876 Remove unused variables.
7877
7878 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7879
7880 * filecache.el (file-cache-delete-file-list):
7881 Print message only when told so.
7882 (file-cache-files-matching): Use #' in mapconcat argument.
7883
7884 * ffap.el (ffap-url-at-point): Fix reference to variable
7885 thing-at-point-default-mail-uri-scheme.
7886
7887 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * subr.el (define-error): New function.
7890 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7891 error-file-not-found and define with define-error.
7892 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7893 and define with define-error.
7894 * userlock.el (file-locked, file-supersession):
7895 * simple.el (mark-inactive):
7896 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7897 * progmodes/ada-mode.el (ada-mode-errors):
7898 * play/life.el (life-extinct):
7899 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7900 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7901 * nxml/rng-util.el (rng-error):
7902 * nxml/rng-uri.el (rng-uri-error):
7903 * nxml/rng-match.el (rng-compile-error):
7904 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7905 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7906 * nxml/nxml-rap.el (nxml-scan-error):
7907 * nxml/nxml-outln.el (nxml-outline-error):
7908 * net/soap-client.el (soap-error):
7909 * net/gnutls.el (gnutls-error):
7910 * net/ange-ftp.el (ftp-error):
7911 * mpc.el (mpc-proc-error):
7912 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7913 (json-number-format, json-string-escape, json-string-format)
7914 (json-key-format, json-object-format):
7915 * jka-compr.el (compression-error):
7916 * international/quail.el (quail-error):
7917 * international/kkc.el (kkc-error):
7918 * emacs-lisp/ert.el (ert-test-failed):
7919 * calc/calc.el (calc-error, inexact-result, math-overflow)
7920 (math-underflow):
7921 * bookmark.el (bookmark-error-no-filename):
7922 * epg.el (epg-error): Define with define-error.
7923
7924 * time.el (display-time-event-handler)
7925 (display-time-next-load-average): Don't call sit-for since it seems
7926 unnecessary (bug#15045).
7927
7928 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7929 Use #' instead of ' to quote functions.
7930 (checkdoc-output-mode): Use setq-local.
7931 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7932 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7933 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7934 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7935 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7936 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7937 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7938 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7939
7940 * ido.el (ido-completion-help): Fix up compiler warning.
7941
7942 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7943
7944 * frameset.el (frameset-p): Add autoload cookie.
7945 (frameset--jump-to-register): New function, based on code moved from
7946 register.el.
7947 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7948
7949 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7950 (frameset-restore, frameset-save, frameset-session-filter-alist):
7951 Remove declarations.
7952 (register-alist): Doc fix.
7953 (frameset-to-register): Move to frameset.el.
7954 (jump-to-register, describe-register-1): Remove frameset-specific code.
7955
7956 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7957
7958 * allout-widgets.el (allout-widgets-pre-command-business)
7959 (allout-widgets-post-command-business)
7960 (allout-widgets-after-change-handler)
7961 (allout-decorate-item-and-context, allout-set-boundary-marker)
7962 (allout-body-modification-handler)
7963 (allout-graphics-modification-handler): Mark ignored arguments.
7964 (allout-widgets-post-command-business)
7965 (allout-widgets-exposure-change-processor)
7966 (allout-widgets-exposure-undo-processor)
7967 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7968 (allout-parse-item-at-point, allout-decorate-item-guides)
7969 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7970 * allout.el (epa-passphrase-callback-function): Declare.
7971 (allout-overlay-insert-in-front-handler)
7972 (allout-overlay-interior-modification-handler)
7973 (allout-isearch-end-handler, allout-chart-siblings)
7974 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7975 (allout-yank-processing, allout-process-exposed)
7976 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7977 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7978 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7979 (lisp-indent-defform): Mark ignored arguments.
7980 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7981 (calculate-lisp-indent): Remove unused variables.
7982 * international/characters.el (indian-2-column, arabic-2-column)
7983 (tibetan): Mark ignored arguments.
7984 (use-cjk-char-width-table): Mark ignored arguments.
7985 Remove unused variables.
7986 * international/fontset.el (build-default-fontset-data)
7987 (x-compose-font-name, create-fontset-from-fontset-spec):
7988 Mark ignored arguments.
7989 (fontset-plain-name): Remove unused variables.
7990 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7991 (keyboard-coding-system): Mark ignored arguments.
7992 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7993 * help.el (resize-temp-buffer-window):
7994 * window.el (display-buffer-in-major-side-window)
7995 (display-buffer-in-side-window, display-buffer-in-previous-window):
7996 Remove unused variables.
7997 * isearch.el (isearch-forward-symbol):
7998 * version.el (emacs-bzr-version-bzr):
7999 * international/mule-cmds.el (current-language-environment):
8000 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8001 (x-handle-display):
8002 * term/pc-win.el (x-list-fonts, x-display-planes)
8003 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8004 (x-server-version, x-display-screens, x-display-mm-height)
8005 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8006 (x-selection-owner-p, x-own-selection-internal)
8007 (x-disown-selection-internal, x-get-selection-internal)
8008 (msdos-initialize-window-system):
8009 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8010 * term/x-win.el (x-handle-no-bitmap-icon):
8011 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8012 (vc-default-find-file-hook, vc-default-extra-menu):
8013 Mark ignored arguments.
8014
8015 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8018 break-condition in the context of the debugged code (bug#12685).
8019
8020 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8021
8022 * comint.el:
8023 Do not use an overlay to highlight the last prompt. (Bug#14744)
8024 (comint-mode): Make comint-last-prompt buffer local.
8025 (comint-last-prompt): New variable.
8026 (comint-last-prompt-overlay): Remove. Superseded by
8027 comint-last-prompt.
8028 (comint-snapshot-last-prompt, comint-output-filter):
8029 Use comint-last-prompt.
8030
8031 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8032
8033 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8034 (frameset-save): Check validity of the resulting frameset.
8035
8036 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8037
8038 * ido.el (ido-record-command): Add doc string.
8039
8040 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8041
8042 * frameset.el (frameset): Do not disable creation of the default
8043 frameset-p predicate. Doc fix.
8044 (frameset-valid-p): New function, copied from the old predicate-p.
8045 Add additional checks.
8046 (frameset-restore): Check with frameset-valid-p.
8047 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8048 (frameset-name, frameset-description, frameset-properties)
8049 (frameset-states): Add docstring.
8050 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8051 (frameset-filter-alist): Doc fixes.
8052
8053 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8054
8055 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8056
8057 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8060 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8061 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8062 (byte-compile-normal-call): Remove obsolescence check.
8063
8064 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8065
8066 * frameset.el (frameset-restore): Doc fix.
8067
8068 * register.el (frameset-frame-id, frameset-frame-with-id)
8069 (frameset-p, frameset-restore, frameset-save): Declare.
8070 (register-alist): Document framesets.
8071 (frameset-session-filter-alist): Declare.
8072 (frameset-to-register): New function.
8073 (jump-to-register): Implement jumping to framesets. Doc fix.
8074 (describe-register-1): Describe framesets.
8075
8076 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8077
8078 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8079
8080 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8081 Use lexical-binding.
8082
8083 * frameset.el (frameset): Use type vector, not list (incompatible
8084 change). Do not declare a new constructor, use the default one.
8085 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8086 `name' and `description', respectively, and add read-only slot
8087 `timestamp'. Doc fixes.
8088 (frameset-copy, frameset-persistent-filter-alist)
8089 (frameset-filter-alist, frameset-switch-to-gui-p)
8090 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8091 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8092 (frameset-filter-iconified, frameset-keep-original-display-p):
8093 Doc fixes.
8094 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8095 Rename from frameset-filter-(save|restore)-param. All callers changed.
8096 Doc fix.
8097 (frameset-p): Adapt to change to vector and be more thorough.
8098 Change arg name to OBJECT. Doc fix.
8099 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8100 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8101 All callers changed.
8102 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8103 All callers changed.
8104 (frameset--record-minibuffer-relationships): Rename from
8105 frameset--process-minibuffer-frames. All callers changed.
8106 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8107 Use new default constructor (again). Doc fix.
8108 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8109 All callers changed.
8110 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8111 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8112 Doc fix.
8113 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8114 PARAMETERS and WINDOW-STATE, respectively.
8115 (frameset-restore): Add new keyword argument PREDICATE.
8116 Reset frameset--target-display to nil. Doc fix.
8117
8118 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8119
8120 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8121 (bat-mode): Use it.
8122 (bat-mode-syntax-table): Mark \n as end-of-comment.
8123 (bat-font-lock-keywords): Remove comment rule.
8124
8125 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8126 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8127
8128 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8129 (byte-compile-callargs-warn): Use `push'.
8130 (byte-compile-arglist-warn): Ignore higher-order "calls".
8131 (byte-compile-file-form-autoload): Use `pcase'.
8132 (byte-compile-function-form): If quoting a symbol, check that it exists.
8133
8134 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8135
8136 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8137 and add a few popular commands found in batch files.
8138 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8139 (dos-mode): Doc fixes.
8140
8141 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8144 (dos-mode): Use setq-local. Add space after "rem".
8145 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8146 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8147
8148 2013-08-07 Arni Magnusson <arnima@hafro.is>
8149
8150 * progmodes/dos.el: New file.
8151 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8152 dos-mode.
8153
8154 2013-08-06 Glenn Morris <rgm@gnu.org>
8155
8156 * calendar/calendar.el: Add new faces, and day-header-array.
8157 (calendar-weekday-header, calendar-weekend-header)
8158 (calendar-month-header): New faces.
8159 (calendar-day-header-construct): New function.
8160 (calendar-day-header-width): Also :set calendar-day-header-array.
8161 (calendar-american-month-header, calendar-european-month-header)
8162 (calendar-iso-month-header): Use calendar- faces.
8163 (calendar-generate-month):
8164 Use calendar-day-header-array for day headers; apply faces to them.
8165 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8166 (calendar-abbrev-construct): Add optional maxlen argument.
8167 (calendar-day-name-array): Doc fix.
8168 (calendar-day-name-array, calendar-abbrev-length)
8169 (calendar-day-abbrev-array):
8170 Also :set calendar-day-header-array, and maybe redraw.
8171 (calendar-day-header-array): New option. (Bug#15007)
8172 (calendar-font-lock-keywords): Set to nil and make obsolete.
8173 (calendar-day-name): Add option to use header array.
8174
8175 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8176
8177 * net/shr.el (shr-render-td): Remove debugging.
8178 (shr-render-td): Make width computation consistent by defaulting
8179 all zero-width columns to 10 characters. This may not be optimal,
8180 but it's at least consistent.
8181 (shr-make-table-1): Redo last change to fix the real problem in
8182 colspan handling.
8183
8184 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8185
8186 * files.el (cache-long-line-scans):
8187 Make obsolete alias to `cache-long-scans'.
8188
8189 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8190
8191 * frameset.el (frameset, frameset-filter-alist)
8192 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8193 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8194 (frameset-compute-pos): Rename from frameset--compute-pos,
8195 and add docstring.
8196 (frameset-move-onscreen): Use frameset-compute-pos.
8197 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8198
8199 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8200 Fix typos in docstrings.
8201
8202 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8203
8204 * frame.el (get-other-frame): Tiny cleanup.
8205
8206 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8207
8208 * vc/vc.el (vc-default-ignore-completion-table):
8209 Silence byte-compiler warning.
8210
8211 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8212 slot, which can indeed be nil.
8213 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8214 Move entry for `left' from persistent to live filter alist.
8215 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8216 Doc fixes.
8217 (frameset-filter-params): When restoring a frame, copy items added to
8218 `filtered', to avoid unwittingly modifying the original parameters.
8219 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8220 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8221
8222 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8223 to use looking-at-p instead of looking-at. (Bug#15028)
8224
8225 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 Revert introduction of isearch-filter-predicates (bug#14714).
8228 Rely on add-function instead.
8229 * isearch.el (isearch-filter-predicates): Rename it back to
8230 isearch-filter-predicate.
8231 (isearch-message-prefix): Use advice-function-mapc and advice
8232 properties to get the isearch-message-prefix.
8233 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8234 instead of run-hook-with-args-until-failure.
8235 (isearch-filter-visible): Not obsolete any more.
8236 * loadup.el: Preload nadvice.
8237 * replace.el (perform-replace): Revert to funcall
8238 instead of run-hook-with-args-until-failure.
8239 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8240 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8241 dired-isearch-filenames-toggle; make it into a proper minor mode.
8242 Use add/remove-function.
8243 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8244 Call the minor-mode rather than add/remove-hook.
8245 (dired-isearch-filter-filenames):
8246 Remove isearch-message-prefix property.
8247 * info.el (Info--search-loop): New function, extracted from Info-search.
8248 Funcall isearch-filter-predicate instead of
8249 run-hook-with-args-until-failure isearch-filter-predicates.
8250 (Info-search): Use it.
8251 (Info-mode): Use isearch-filter-predicate instead of
8252 isearch-filter-predicates.
8253
8254 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8255
8256 Do not call to `selected-window' where it is assumed by default.
8257 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8258 `window-hscroll', `window-width', `window-height', `window-buffer',
8259 `window-frame', `window-start', `window-point', `next-window'
8260 and `window-display-table'.
8261 * abbrev.el (abbrev--default-expand):
8262 * bs.el (bs--show-with-configuration):
8263 * buff-menu.el (Buffer-menu-mouse-select):
8264 * calc/calc.el (calc):
8265 * calendar/calendar.el (calendar-generate-window):
8266 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8267 (diary-make-entry):
8268 * comint.el (send-invisible, comint-dynamic-complete-filename)
8269 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8270 * completion.el (complete):
8271 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8272 * disp-table.el (describe-current-display-table):
8273 * doc-view.el (doc-view-insert-image):
8274 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8275 * ehelp.el (with-electric-help):
8276 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8277 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8278 * emacs-lisp/helper.el (Helper-help-scroller):
8279 * emulation/cua-base.el (cua--post-command-handler-1):
8280 * eshell/esh-mode.el (eshell-output-filter):
8281 * ffap.el (ffap-gnus-wrapper):
8282 * help-macro.el (make-help-screen):
8283 * hilit-chg.el (highlight-compare-buffers):
8284 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8285 * hl-line.el (global-hl-line-highlight):
8286 * icomplete.el (icomplete-simple-completing-p):
8287 * isearch.el (isearch-done):
8288 * jit-lock.el (jit-lock-stealth-fontify):
8289 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8290 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8291 * mpc.el (mpc-tagbrowser, mpc):
8292 * net/rcirc.el (rcirc-any-buffer):
8293 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8294 * play/landmark.el (landmark-max-width, landmark-max-height):
8295 * play/zone.el (zone):
8296 * progmodes/compile.el (compilation-goto-locus):
8297 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8298 * progmodes/etags.el (find-tag-other-window):
8299 * progmodes/fortran.el (fortran-column-ruler):
8300 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8301 * progmodes/verilog-mode.el (verilog-point-text):
8302 * reposition.el (reposition-window):
8303 * rot13.el (toggle-rot13-mode):
8304 * server.el (server-switch-buffer):
8305 * shell.el (shell-dynamic-complete-command)
8306 (shell-dynamic-complete-environment-variable):
8307 * simple.el (insert-buffer, set-selective-display)
8308 (delete-completion-window):
8309 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8310 (speedbar-recenter):
8311 * startup.el (fancy-splash-head):
8312 * textmodes/ispell.el (ispell-command-loop):
8313 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8314 * tutorial.el (help-with-tutorial):
8315 * vc/add-log.el (add-change-log-entry):
8316 * vc/compare-w.el (compare-windows):
8317 * vc/ediff-help.el (ediff-indent-help-message):
8318 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8319 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8320 (ediff-setup-control-frame):
8321 * vc/emerge.el (emerge-position-region):
8322 * vc/pcvs-util.el (cvs-bury-buffer):
8323 * window.el (walk-windows, mouse-autoselect-window-select):
8324 * winner.el (winner-set-conf, winner-undo): Related users changed.
8325
8326 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8327
8328 * frameset.el (frameset--set-id): Doc fix.
8329 (frameset-frame-id, frameset-frame-id-equal-p)
8330 (frameset-locate-frame-id): New functions.
8331 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8332 (frameset-restore): Use them.
8333
8334 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8335
8336 Do not call to `selected-frame' where it is assumed by default.
8337 Affected functions are `raise-frame', `redraw-frame',
8338 `frame-first-window', `frame-terminal' and `delete-frame'.
8339 * calendar/appt.el (appt-disp-window):
8340 * epg.el (epg-wait-for-completion):
8341 * follow.el (follow-delete-other-windows-and-split)
8342 (follow-avoid-tail-recenter):
8343 * international/mule.el (set-terminal-coding-system):
8344 * mail/rmail.el (rmail-mail-return):
8345 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8346 * progmodes/f90.el (f90-add-imenu-menu):
8347 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8348 * server.el (server-switch-buffer):
8349 * simple.el (delete-completion-window):
8350 * talk.el (talk):
8351 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8352 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8353 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8354 * vc/ediff.el (ediff-documentation): Related users changed.
8355 * frame.el (selected-terminal): Remove the leftover.
8356
8357 2013-08-05 Glenn Morris <rgm@gnu.org>
8358
8359 * calendar/calendar.el (calendar-generate-month):
8360 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8361 (calendar-generate-month, calendar-font-lock-keywords):
8362 Fix for calendar-day-header-width > length of any day name.
8363
8364 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8365
8366 * desktop.el (desktop-clear): Use new name of sort predicate.
8367
8368 * frameset.el (frameset): Add docstring. Move :version property to its
8369 own `version' slot.
8370 (frameset-copy): Rename from copy-frameset.
8371 (frameset-p): Check more thoroughly.
8372 (frameset-prop): Do not check for :version, which is no longer a prop.
8373 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8374 Use new :never value instead of t.
8375 (frameset-filter-alist): Expand and clarify docstring.
8376 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8377 (frameset-filter-minibuffer, frameset-filter-save-param)
8378 (frameset-filter-restore-param, frameset-filter-iconified):
8379 Add pointer to docstring of frameset-filter-alist.
8380 (frameset-filter-params): Rename filter values to be more meaningful:
8381 :never instead of t, and reverse the meanings of :save and :restore.
8382 (frameset--process-minibuffer-frames): Clarify error message.
8383 (frameset-save): Avoid unnecessary and confusing call to framep.
8384 Use new BOA constructor for framesets.
8385 (frameset--reuse-list): Doc fix.
8386 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8387 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8388 (frameset-minibufferless-first-p): Doc fix.
8389 Rename from frameset-sort-frames-for-deletion.
8390 (frameset-restore): Doc fixes. Use new function names.
8391 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8392
8393 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8394
8395 * desktop.el (desktop-restore-forces-onscreen)
8396 (desktop-restore-reuses-frames): Document :keyword constant values.
8397 (desktop-filter-parameters-alist): Remove, now identical to
8398 frameset-filter-alist.
8399 (desktop--filter-tty*): Remove, moved to frameset.el.
8400 (desktop-save-frameset, desktop-restore-frameset):
8401 Do not pass :filters argument.
8402
8403 * frameset.el (frameset-live-filter-alist)
8404 (frameset-persistent-filter-alist): New variables.
8405 (frameset-filter-alist): Use them. Add autoload cookie.
8406 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8407 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8408 `frameset--id' (it's supposed to be internal to frameset.el).
8409 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8410 (frameset--initial-params): New function.
8411 (frameset--get-frame): Use it. Doc fix.
8412 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8413 Accept :all, not 'all.
8414 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8415 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8416 with fbound symbols. Fix frame id matching, and remove matching ids if
8417 the frame being restored is deleted. Obey :delete.
8418
8419 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * subr.el (macrop): New function.
8422 (text-clone--maintaining): New var.
8423 (text-clone--maintain): Rename from text-clone-maintain. Use it
8424 instead of inhibit-modification-hooks.
8425
8426 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8427 a proxy, so as handle autoloads and redefinitions of the target.
8428 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8429
8430 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8431 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8432 (pcase--mutually-exclusive-p): New function.
8433 (pcase--split-consp): Use it.
8434 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8435 mutually exclusive with the current predicate.
8436
8437 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8438 (edebug-macrop): Remove. Use `macrop' instead.
8439 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8440 (ad-macro-p):
8441 * eshell/esh-cmd.el (eshell-macrop):
8442 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8443
8444 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8447 (advice-mapc): New function, using it.
8448 (advice-function-member-p): New function.
8449 (advice--normalize): Store the cdr in advice--saved-rewrite since
8450 that's the part that will be changed.
8451 (advice--symbol-function): New function.
8452 (advice-remove): Handle removal before the function is defined.
8453 Adjust to new advice--saved-rewrite.
8454 (advice-member-p): Use advice-function-member-p and
8455 advice--symbol-function.
8456
8457 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8458
8459 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8460 (frameset-filter-minibuffer): Doc fix.
8461 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8462 (frameset--set-id, frameset--process-minibuffer-frames)
8463 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8464 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8465
8466 * desktop.el (desktop-clear): Only delete frames when called
8467 interactively and desktop-restore-frames is non-nil. Doc fix.
8468 (desktop-read): Set desktop-saved-frameset to nil.
8469
8470 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8471
8472 * vc/vc.el (vc-ignore): Rewrite.
8473 (vc-default-ignore-completion-table, vc--read-lines)
8474 (vc--add-line, vc--remove-regexp): New functions.
8475
8476 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8477 (vc-svn-ignore-completion-table): New function.
8478
8479 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8480 (vc-hg-ignore-completion-table)
8481 (vc-hg-find-ignore-file): New functions.
8482
8483 * vc/vc-git.el (vc-git-ignore): Rewrite.
8484 (vc-git-ignore-completion-table)
8485 (vc-git-find-ignore-file): New functions.
8486
8487 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8488
8489 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8490 (vc-bzr-ignore-completion-table)
8491 (vc-bzr-find-ignore-file): New functions.
8492
8493 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8494
8495 * frameset.el (frameset-prop): New function and setter.
8496 (frameset-save): Do not modify frame list passed by the caller.
8497
8498 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8501
8502 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8505 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8506
8507 * custom.el (custom-initialize-default, custom-initialize-set)
8508 (custom-initialize-reset, custom-initialize-changed): Affect the
8509 toplevel-default-value (bug#6275, bug#14586).
8510 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8511 for bug#6275.
8512
8513 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8514
8515 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8516 Add cl-def* expressions.
8517
8518 * frameset.el (frameset-filter-params): Fix order of arguments.
8519
8520 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8521
8522 Move code related to saving frames to frameset.el.
8523 * desktop.el: Require frameset.
8524 (desktop-restore-frames): Doc fix.
8525 (desktop-restore-reuses-frames): Rename from
8526 desktop-restoring-reuses-frames.
8527 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8528 (desktop-clear): Clear frames too.
8529 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8530 (desktop--filter-tty*, desktop-save, desktop-read):
8531 Use frameset functions.
8532 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8533 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8534 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8535 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8536 (desktop--process-minibuffer-frames, desktop-save-frames)
8537 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8538 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8539 (desktop--sort-states, desktop-restoring-frames-p)
8540 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8541 (desktop-restoring-frameset-p, desktop-restore-frameset)
8542 (desktop--check-dont-save, desktop-save-frameset): New functions.
8543 (desktop--app-id): New constant.
8544 (desktop-first-buffer, desktop-buffer-ok-count)
8545 (desktop-buffer-fail-count): Move before first use.
8546 * frameset.el: New file.
8547
8548 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * files.el: Use lexical-binding.
8551 (dir-locals-read-from-file): Remove unused `err' variable.
8552 (hack-dir-local-variables--warned-coding): New var.
8553 (hack-dir-local-variables): Use it to avoid repeated warnings.
8554 (make-backup-file-name--default-function): New function.
8555 (make-backup-file-name-function): Use it as default.
8556 (buffer-stale--default-function): New function.
8557 (buffer-stale-function): Use it as default.
8558 (revert-buffer-insert-file-contents--default-function): New function.
8559 (revert-buffer-insert-file-contents-function): Use it as default.
8560 (insert-directory): Avoid add-to-list.
8561
8562 * autorevert.el (auto-revert-handler): Simplify.
8563 Use buffer-stale--default-function.
8564
8565 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8566
8567 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8568
8569 * whitespace.el (whitespace-ensure-local-variables): New function.
8570 (whitespace-cleanup-region): Call it.
8571 (whitespace-turn-on): Call it.
8572
8573 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8574
8575 Complete file name handlers.
8576
8577 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8578 (tramp-handle-verify-visited-file-modtime)
8579 (tramp-handle-file-notify-rm-watch): New functions.
8580 (tramp-call-process): Do not bind `default-directory'.
8581
8582 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8583 Order alphabetically.
8584 <access-file, add-name-to-file, dired-call-process>:
8585 <dired-compress-file, file-acl, file-notify-rm-watch>:
8586 <file-ownership-preserved-p, file-selinux-context>:
8587 <make-directory-internal, make-symbolic-link, set-file-acl>:
8588 <set-file-selinux-context, set-visited-file-modtime>:
8589 <verify-visited-file-modtime>: Add handler.
8590 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8591
8592 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8593 <file-notify-add-watch, file-notify-rm-watch>:
8594 <set-file-times, set-visited-file-modtime>:
8595 <verify-visited-file-modtime>: Add handler.
8596 (with-tramp-gvfs-error-message)
8597 (tramp-gvfs-handle-set-visited-file-modtime)
8598 (tramp-gvfs-fuse-file-name): Remove.
8599 (tramp-gvfs-handle-file-notify-add-watch)
8600 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8601 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8602
8603 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8604 Order alphabetically.
8605 <file-notify-rm-watch>: Use default Tramp handler.
8606 <executable-find>: Remove private handler.
8607 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8608 `default-directory'.
8609 (tramp-sh-handle-executable-find)
8610 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8611 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8612 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8613 Do not use `format' in `tramp-message'.
8614
8615 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8616 <file-notify-rm-watch, set-visited-file-modtime>:
8617 <verify-visited-file-modtime>: Add handler.
8618 (tramp-smb-call-winexe): Do not bind `default-directory'.
8619
8620 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8621
8622 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8623
8624 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8625
8626 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8627 use it.
8628 (log-view-diff-changeset): Same.
8629 (log-view-diff-common): Call backend command `previous-revision'
8630 to find out the previous revision, in both cases. Swap the
8631 variables `to' and `fr', so that `fr' usually refers to the
8632 earlier revision (Bug#14989).
8633
8634 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8635
8636 * ibuf-ext.el (ibuffer-filter-by-filename):
8637 Make it work with dired buffers too.
8638
8639 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8640
8641 * emacs-lisp/re-builder.el (reb-color-display-p):
8642 * files.el (save-buffers-kill-terminal):
8643 * net/browse-url.el (browse-url):
8644 * server.el (server-save-buffers-kill-terminal):
8645 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8646 Prefer nil to selected-frame for the first arg of frame-parameter.
8647
8648 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8649
8650 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8651
8652 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8653
8654 * minibuffer.el (completion--twq-all): Try and preserve each
8655 completion's case choice (bug#14907).
8656
8657 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8658
8659 * net/network-stream.el (open-network-stream): Mention the new
8660 :nogreeting parameter.
8661 (network-stream-open-starttls): Use the :nogreeting parameter
8662 (bug#14938).
8663
8664 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8665
8666 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8667 more natural than popping.
8668
8669 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8670 (shr-urlify): Highlight under mouse.
8671
8672 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8673
8674 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8675
8676 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8677
8678 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8679 buffer for output.
8680
8681 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8682 point-min==1. Fix search string. Fix parentheses missing.
8683
8684 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8685 assume point-min==1. Fix search string. Fix parentheses missing.
8686
8687 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8688
8689 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8690 buffer for output.
8691
8692 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8693
8694 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8695 initial frame is minibuffer-less. (Bug#14841)
8696
8697 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8698
8699 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8700 option.
8701
8702 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8703 (tramp-maybe-open-connection): Use it.
8704
8705 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8706
8707 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8708 minimal set of parameters passed when creating a frame, because
8709 the minibuffer status of a frame cannot be changed later.
8710
8711 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8712
8713 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8714 replace-regexp-in-string and inadvertent omissions in previous change.
8715 (todo-filter-items): Ensure only file names are comma-separated in
8716 name of filtered items buffer.
8717
8718 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8719
8720 * desktop.el: Optionally force offscreen frames back onscreen.
8721 (desktop-restoring-reuses-frames): New option.
8722 (desktop--compute-pos, desktop--move-onscreen): New functions.
8723 (desktop--make-frame): Use desktop--move-onscreen.
8724
8725 2013-07-27 Alan Mackenzie <acm@muc.de>
8726
8727 Fontify a Java generic method as a function.
8728 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8729 value to t.
8730
8731 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8732
8733 * calendar/todo-mode.el: Add command to rename todo files.
8734 (todo-rename-file): New command.
8735 (todo-key-bindings-t): Add key binding for it. Change the
8736 bindings of todo-filter-regexp-items(-multifile) to use `x'
8737 instead of `r', since the latter is better suited to the new
8738 renaming command.
8739
8740 2013-07-27 Alan Mackenzie <acm@muc.de>
8741
8742 Make Java try-with-resources statement parse properly.
8743 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8744 (c-block-stmt-1-2-key): New language constants/variables.
8745 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8746 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8747 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8748 with c-block-stmt-1-2-key.
8749
8750 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8751
8752 * desktop.el (desktop--make-frame): Apply most frame parameters after
8753 creating the frame to force (partially or totally) offscreen frames to
8754 be restored as such.
8755
8756 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8757
8758 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8759 (Bug#14948)
8760
8761 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8762
8763 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8764 `base' arg of backtrace-frame.
8765
8766 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8767
8768 * simple.el (list-processes): Doc fix.
8769
8770 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8771
8772 * desktop.el (desktop--select-frame):
8773 Try harder to reuse existing frames.
8774
8775 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8778 (edebug-eval): Use backtrace-eval.
8779 (edebug--display, edebug--recursive-edit): Don't let-bind the
8780 edebug-outer-* vars that keep track of variables we locally let-bind.
8781 (edebug-outside-excursion): Don't restore outside values of locally
8782 let-bound vars.
8783 (edebug--display): Use user-error.
8784 (cl-lexical-debug, cl-debug-env): Remove.
8785
8786 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8787
8788 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8789 are restored to be sure that they are visible before deleting any
8790 remaining ones.
8791
8792 2013-07-26 Matthias Meulien <orontee@gmail.com>
8793
8794 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8795 vc-print-root-log. (Bug#14948)
8796
8797 2013-07-26 Richard Stallman <rms@gnu.org>
8798
8799 Add aliases for encrypting mail.
8800 * epa.el (epa-mail-aliases): New option.
8801 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8802 Bind inhibit-read-only so read-only text doesn't ruin everything.
8803 (epa-mail-default-recipients): New subroutine broken out.
8804 Handle epa-mail-aliases.
8805
8806 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 Add support for lexical variables to the debugger's `e' command.
8809 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8810 vars, except for debugger-outer-match-data.
8811 (debugger-frame-number): Move check for "on a function call" from
8812 callers into it. Add `skip-base' argument.
8813 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8814 (debugger-env-macro): Only reset the state stored in non-variables,
8815 i.e. current-buffer and match-data.
8816 (debugger-eval-expression): Rewrite using backtrace-eval.
8817 * subr.el (internal--called-interactively-p--get-frame): Remove.
8818 (called-interactively-p):
8819 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8820 `base' arg of backtrace-frame instead.
8821
8822 2013-07-26 Glenn Morris <rgm@gnu.org>
8823
8824 * align.el (align-regexp): Doc fix. (Bug#14857)
8825 (align-region): Explicit error if subexpression missing/does not match.
8826
8827 * simple.el (global-visual-line-mode):
8828 Do not duplicate the mode lighter. (Bug#14858)
8829
8830 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8831
8832 * window.el (display-buffer): In display-buffer bind
8833 split-window-keep-point to t, bug#14829.
8834
8835 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8836
8837 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8838 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8839 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8840 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8841 Change accordingly.
8842 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8843 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8844
8845 2013-07-25 Glenn Morris <rgm@gnu.org>
8846
8847 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8848
8849 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8850
8851 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8852 parameter to modify-frame-parameters if the value has not changed;
8853 this is a workaround for bug#14949.
8854 (desktop--make-frame): On cl-delete-if call, check parameter name,
8855 not full parameter.
8856
8857 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8858
8859 * vc/vc.el (vc-ignore): New function.
8860
8861 * vc/vc-svn.el (vc-svn-ignore): New function.
8862
8863 * vc/vc-hg.el (vc-hg-ignore): New function.
8864
8865 * vc/vc-git.el (vc-git-ignore): New function.
8866
8867 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8868 (vc-dir-ignore): New function.
8869
8870 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8871 (cvs-append-to-ignore): Move here from pcvs.el.
8872
8873 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8874
8875 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8876
8877 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8878
8879 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8880 (desktop-restore-frames): Warn when deleting an existing frame failed.
8881
8882 2013-07-24 Glenn Morris <rgm@gnu.org>
8883
8884 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8885
8886 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8887
8888 * filenotify.el (file-notify-supported-p):
8889 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8890 Remove functions.
8891
8892 * autorevert.el (auto-revert-use-notify)
8893 (auto-revert-notify-add-watch):
8894 * net/tramp.el (tramp-file-name-for-operation):
8895 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8896 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8897 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8898 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8899 Remove `file-notify-supported-p' entry.
8900
8901 2013-07-24 Glenn Morris <rgm@gnu.org>
8902
8903 * printing.el: Replace all uses of deleted ps-windows-system,
8904 ps-lp-system, ps-flatten-list with lpr- versions.
8905
8906 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8907
8908 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8909 checked with memq (bug#14935).
8910
8911 * files.el (revert-buffer-function): Use a non-nil default.
8912 (revert-buffer-preserve-modes): Declare var to
8913 provide access to the `preserve-modes' argument.
8914 (revert-buffer): Let-bind it.
8915 (revert-buffer--default): New function, extracted from revert-buffer.
8916
8917 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 * lpr.el: Signal print errors more prominently.
8920 (print-region-function): Don't default to nil.
8921 (lpr-print-region): New function, extracted from print-region-1.
8922 Check lpr's return value and signal an error in case of problem.
8923 (print-region-1): Use it.
8924 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8925 versions instead.
8926 (ps-printer-name): Default to nil.
8927 (ps-printer-name-option): Default to lpr-printer-switch.
8928 (ps-print-region-function): Don't default to nil.
8929 (ps-postscript-code-directory): Simplify default.
8930 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8931 (ps-string-list, ps-eval-switch, ps-flatten-list)
8932 (ps-flatten-list-1): Remove.
8933 (ps-multibyte-buffer): Avoid setq.
8934 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8935 (print-region-function, ps-print-region-function): Don't set them here.
8936
8937 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8938
8939 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8940 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8941 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8942 (ido-decorations): Doc fix.
8943
8944 * ansi-color.el: Fix old URL.
8945
8946 2013-07-23 Michael R. Mauger <michael@mauger.com>
8947
8948 * progmodes/sql.el: Version 3.3
8949 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8950 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8951 (sql-interactive-remove-continuation-prompt): Rewrite, use
8952 functions above. Fix continuation prompt and complete output line
8953 handling.
8954 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8955 redirected output buffer.
8956 (sql-mode): Restore deleted code (Bug#13591).
8957
8958 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8959
8960 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8961
8962 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8963
8964 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8965
8966 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8967 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8968 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8969
8970 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8971
8972 * desktop.el (desktop-clear): Simplify; remove useless checks
8973 against invalid buffer names.
8974 (desktop-list*): Use cl-list*.
8975 (desktop-buffer-info, desktop-create-buffer): Simplify.
8976
8977 2013-07-23 Leo Liu <sdl.web@gmail.com>
8978
8979 * bookmark.el (bookmark-make-record): Restore NAME as a default
8980 value. (Bug#14933)
8981
8982 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8985 extracted from autoload--insert-text.
8986 (autoload--insert-text): Remove.
8987 (autoload--print-cookie-text): New function, extracted from
8988 autoload--insert-cookie-text.
8989 (autoload--insert-cookie-text): Remove.
8990 (autoload-generate-file-autoloads): Adjust calls accordingly.
8991
8992 * winner.el (winner-hook-installed-p): Remove.
8993 (winner-mode): Simplify accordingly.
8994
8995 * subr.el (add-to-list): Fix compiler-macro when `append' is
8996 not constant. Don't use `cl-member' for the base case.
8997
8998 * progmodes/subword.el: Fix boundary case (bug#13758).
8999 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9000 own group.
9001 (subword-backward-regexp): Make it a constant.
9002 (subword-forward-internal): Don't treat a trailing capital as the
9003 beginning of a word.
9004
9005 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9006
9007 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9008 global value of tabulated-list-revert-hook (bug#14930).
9009
9010 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9011
9012 * desktop.el: Require 'cl-lib.
9013 (desktop-before-saving-frames-functions): New hook.
9014 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9015 for frames being saved. Rename from desktop--save-minibuffer-frames.
9016 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9017 Do not save frames with non-nil `desktop-dont-save' parameter.
9018 Filter out deleted frames.
9019 (desktop--find-frame): Use cl-find-if.
9020 (desktop--select-frame): Use cl-(first|second|third) to access values
9021 of desktop-mini.
9022 (desktop--make-frame): Use cl-delete-if.
9023 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9024 (desktop-restore-frames): Use cl-(first|second|third) to access values
9025 of desktop-mini. Look for visible frame at the end, not while
9026 restoring frames.
9027
9028 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9029 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9030 Use string-match-p, looking-at-p (bug#14927).
9031
9032 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9033
9034 * desktop.el (desktop-saved-frame-states):
9035 Rename from desktop--saved-states; all users changed.
9036 (desktop-save-frames): Rename from desktop--save-frames.
9037 Do not save state to desktop file.
9038 (desktop-save): Save desktop-saved-frame-states to desktop file
9039 and reset to nil.
9040 (desktop-restoring-frames-p): New function.
9041 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9042 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9043 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9044
9045 * desktop.el: Correctly restore iconified frames.
9046 (desktop--filter-iconified-position): New function.
9047 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9048
9049 2013-07-20 Glenn Morris <rgm@gnu.org>
9050
9051 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9052 Let `message' do the formatting.
9053 (def-gdb-preempt-display-buffer): Add explicit format.
9054
9055 * image-dired.el (image-dired-track-original-file):
9056 Use with-current-buffer.
9057 (image-dired-track-thumbnail): Use with-current-buffer.
9058 Avoid changing point of wrong window.
9059
9060 * image-dired.el (image-dired-track-original-file):
9061 Avoid changing point of wrong window. (Bug#14909)
9062
9063 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9064
9065 * progmodes/gdb-mi.el (gdb-done-or-error):
9066 Guard against "%" in gdb output. (Bug#14127)
9067
9068 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9069
9070 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9071 (Bug#14826)
9072
9073 * international/mule.el (coding-system-iso-2022-flags): Fix last
9074 change.
9075
9076 2013-07-20 Kenichi Handa <handa@gnu.org>
9077
9078 * international/mule.el (coding-system-iso-2022-flags):
9079 Add `8-bit-level-4'. (Bug#8522)
9080
9081 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9082
9083 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9084 (bug#14815).
9085
9086 * net/eww.el (eww-process-text-input): Allow inputting when the
9087 point is at the start of the line, as the properties aren't
9088 front-sticky.
9089
9090 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9091 degenerate widths.
9092
9093 2013-07-19 Richard Stallman <rms@gnu.org>
9094
9095 * epa.el (epa-popup-info-window): Doc fix.
9096
9097 * subr.el (split-string): New arg TRIM.
9098
9099 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9100
9101 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9102 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9103
9104 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9105
9106 * filenotify.el (file-notify--library): Rename from
9107 `file-notify-support'. Do not autoload. Adapt all uses.
9108 (file-notify-supported-p): New defun.
9109
9110 * autorevert.el (auto-revert-use-notify):
9111 Use `file-notify-supported-p' instead of `file-notify-support'.
9112 Adapt docstring.
9113 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9114
9115 * net/tramp.el (tramp-file-name-for-operation):
9116 Add `file-notify-supported-p'.
9117
9118 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9119 New defun.
9120 (tramp-sh-file-name-handler-alist): Add it as handler for
9121 `file-notify-supported-p '.
9122
9123 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9124 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9125 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9126 Add `ignore' as handler for `file-notify-*' functions.
9127
9128 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9129
9130 * simple.el (line-move-partial, line-move): Don't start vscroll or
9131 scroll-up if the current line is not taller than the window.
9132 (Bug#14881)
9133
9134 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9135
9136 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9137 highlight question marks in the method names as strings.
9138 (ruby-block-beg-keywords): Inline.
9139 (ruby-font-lock-keyword-beg-re): Extract from
9140 `ruby-font-lock-keywords'.
9141
9142 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9143
9144 * frame.el (blink-cursor-blinks): New defcustom.
9145 (blink-cursor-blinks-done): New defvar.
9146 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9147 (blink-cursor-timer-function): Check if number of blinks has been
9148 done on X and NS.
9149 (blink-cursor-suspend, blink-cursor-check): New defuns.
9150
9151 2013-07-15 Glenn Morris <rgm@gnu.org>
9152
9153 * edmacro.el (edmacro-format-keys): Fix previous change.
9154
9155 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9156
9157 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9158 The hack didn't work outside English locales anyway.
9159
9160 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9161
9162 * simple.el (define-alternatives): Rename from alternatives-define,
9163 per RMS' suggestion.
9164
9165 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9166
9167 * desktop.el (desktop-restore-frames): Change default to t.
9168 (desktop-restore-in-current-display): Now offer more options.
9169 (desktop-restoring-reuses-frames): New customization option.
9170 (desktop--saved-states): Doc fix.
9171 (desktop-filter-parameters-alist): New variable, renamed and expanded
9172 from desktop--excluded-frame-parameters.
9173 (desktop--target-display): New variable.
9174 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9175 (desktop--filter-tty*, desktop--filter-*-color)
9176 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9177 (desktop--filter-save-desktop-parm)
9178 (desktop-restore-in-original-display-p): New functions.
9179 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9180 (desktop--save-minibuffer-frames): New function, inspired by a similar
9181 function from Martin Rudalics.
9182 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9183 (desktop--restore-in-this-display-p): Remove.
9184 (desktop--find-frame): Rename from desktop--find-frame-in-display
9185 and add predicate argument.
9186 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9187 (desktop--reuse-list): New variable.
9188 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9189 New functions.
9190 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9191
9192 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9193
9194 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9195
9196 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9197
9198 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9199 Highlight conversion methods on Kernel.
9200
9201 2013-07-13 Alan Mackenzie <acm@muc.de>
9202
9203 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9204 and comment it out. This out-commenting enables certain C++
9205 declarations to be parsed correctly.
9206
9207 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9208
9209 * international/mule.el (define-coding-system): Doc fix.
9210
9211 * simple.el (default-font-height): Don't call font-info if the
9212 frame's default font didn't change since the frame was created.
9213 (Bug#14838)
9214
9215 2013-07-13 Leo Liu <sdl.web@gmail.com>
9216
9217 * ido.el (ido-read-file-name): Guard against non-symbol value.
9218
9219 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9220
9221 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9222 in nested defuns.
9223
9224 2013-07-13 Leo Liu <sdl.web@gmail.com>
9225
9226 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9227 ido-set-matches call. (Bug#6852)
9228
9229 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9230
9231 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9232 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9233 Ruby 2.0.
9234 (ruby-font-lock-keywords): Distinguish calls to functions with
9235 module-like names from module references. Highlight character
9236 literals.
9237
9238 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9239
9240 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9241 (gdb-send): Handle continued commands. (Bug#14847)
9242
9243 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9244
9245 * desktop.el (desktop--v2s): Remove unused local variable.
9246 (desktop-save-buffer): Make defvar-local; adjust docstring.
9247 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9248 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9249
9250 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9251
9252 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9253
9254 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9255
9256 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9257 (Bug#14842)
9258
9259 2013-07-12 Glenn Morris <rgm@gnu.org>
9260
9261 * doc-view.el: Require cl-lib at runtime too.
9262 (doc-view-remove-if): Remove.
9263 (doc-view-search-next-match, doc-view-search-previous-match):
9264 Use cl-remove-if.
9265
9266 * edmacro.el: Require cl-lib at runtime too.
9267 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9268 (edmacro-mismatch, edmacro-subseq): Remove.
9269
9270 * shadowfile.el: Require cl-lib.
9271 (shadow-remove-if): Remove.
9272 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9273 Use cl-remove-if.
9274
9275 * wid-edit.el: Require cl-lib.
9276 (widget-choose): Use cl-remove-if.
9277 (widget-remove-if): Remove.
9278
9279 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9280 (ebrowse-delete-if-not): Remove.
9281 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9282 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9283 Use cl-delete-if-not.
9284
9285 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9286
9287 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9288 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9289
9290 2013-07-12 Leo Liu <sdl.web@gmail.com>
9291
9292 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9293
9294 2013-07-11 Glenn Morris <rgm@gnu.org>
9295
9296 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9297 (edebug-gensym-index, edebug-gensym):
9298 Remove reimplementation of cl-gensym.
9299 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9300
9301 * thumbs.el: Require cl-lib at run-time too.
9302 (thumbs-gensym-counter, thumbs-gensym):
9303 Remove reimplementation of cl-gensym.
9304 (thumbs-temp-file): Use cl-gensym.
9305
9306 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9307 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9308 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9309 (ert--union, ert--gensym-counter, ert--gensym-counter)
9310 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9311 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9312 (ert-make-test-unbound, ert--expand-should-1)
9313 (ert--expand-should, ert--should-error-handle-error)
9314 (should-error, ert--explain-equal-rec)
9315 (ert--plist-difference-explanation, ert-select-tests)
9316 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9317 Use cl-lib functions rather than reimplementations.
9318
9319 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9320
9321 * net/tramp.el (tramp-methods): Extend docstring.
9322 (tramp-connection-timeout): New defcustom.
9323 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9324 (with-tramp-progress-reporter): Simplify.
9325 (tramp-process-actions): Improve messages.
9326
9327 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9328 * net/tramp-sh.el (tramp-maybe-open-connection):
9329 Use `tramp-connection-timeout'.
9330 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9331 (Bug#14808)
9332
9333 2013-07-11 Leo Liu <sdl.web@gmail.com>
9334
9335 * ido.el (ido-read-file-name): Conform to the requirements of
9336 read-file-name. (Bug#11861)
9337 (ido-read-directory-name): Conform to the requirements of
9338 read-directory-name.
9339
9340 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9341
9342 * subr.el (delay-warning): New function.
9343
9344 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9345
9346 * simple.el (default-line-height): New function.
9347 (line-move-partial, line-move): Use it instead of computing the
9348 line height inline.
9349 (line-move-partial): Always compute ROWH. If the last line is
9350 partially-visible, but its text is completely visible, allow
9351 cursor to enter such a partially-visible line.
9352
9353 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9354
9355 Improve error messages. (Bug#14808)
9356
9357 * net/tramp.el (tramp-current-connection): New defvar, moved from
9358 tramp-sh.el.
9359 (tramp-message-show-progress-reporter-message): Remove, not
9360 needed anymore.
9361 (tramp-error-with-buffer): Show message in minibuffer.
9362 Discard input before waiting. Reset connection timestamp.
9363 (with-tramp-progress-reporter): Improve messages.
9364 (tramp-process-actions): Use progress reporter. Delete process in
9365 case of error. Improve messages.
9366
9367 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9368 Call `tramp-error-with-buffer' with vector and buffer.
9369 (tramp-current-connection): Remove.
9370 (tramp-maybe-open-connection): The car of
9371 `tramp-current-connection' are the first 3 slots of the vector.
9372
9373 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9374
9375 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9376 inside continued strings.
9377
9378 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9379
9380 Timestamp fixes for undo (Bug#14824).
9381 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9382
9383 2013-07-10 Leo Liu <sdl.web@gmail.com>
9384
9385 * files.el (require-final-newline): Allow safe local value.
9386 (Bug#14834)
9387
9388 2013-07-09 Leo Liu <sdl.web@gmail.com>
9389
9390 * ido.el (ido-read-directory-name): Handle fallback.
9391 (ido-read-file-name): Update DIR to ido-current-directory.
9392 (Bug#1516)
9393 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9394
9395 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9396
9397 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9398 "autoload". Remove "warn lower camel case" section, previously
9399 commented out. Highlight negation char. Do not highlight the
9400 target in singleton method definitions.
9401
9402 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * faces.el (tty-setup-hook): Declare the hook.
9405
9406 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9407 and detect when a guard/pred depends on local vars (bug#14773).
9408 (pcase--u1): Adjust caller.
9409
9410 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9411
9412 * simple.el (line-move-partial, line-move): Account for
9413 line-spacing.
9414 (line-move-partial): Avoid setting vscroll when the last
9415 partially-visible line in window is of default height.
9416
9417 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9418
9419 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9420 been used a while.
9421
9422 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9423
9424 * subr.el (read-quoted-char): Remove unused local variable `char'.
9425
9426 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9427
9428 * ediff.el (ediff-version): Version update.
9429 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9430 (ediff-merge-with-ancestor-command, ediff-directories-command)
9431 (ediff-directories3-command, ediff-merge-directories-command)
9432 (ediff-merge-directories-with-ancestor-command): New functions.
9433 All are command-line interfaces to ediff: to facilitate calling
9434 Emacs with the appropriate ediff functions invoked.
9435
9436 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9437 (viper-save-kill-buffer): Check if buffer is modified.
9438
9439 * viper.el (viper-version): Version update.
9440 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9441
9442 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9445 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9446 (viper-intercept-ESC-key): Simplify.
9447 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9448 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9449 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9450 (viper-setup-ESC-to-escape): New functions.
9451 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9452 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9453
9454 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9455
9456 * simple.el (default-font-height, window-screen-lines):
9457 New functions.
9458 (line-move, line-move-partial): Use them instead of
9459 frame-char-height and window-text-height. This makes scrolling
9460 text smoother when the buffer's default face uses a font that is
9461 different from the frame's default font.
9462
9463 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9464
9465 * files.el (write-file): Do not display confirm dialog for NS,
9466 it does its own dialog, which can't be canceled (Bug#14578).
9467
9468 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9469
9470 * simple.el (line-move-partial): Adjust the row returned by
9471 posn-at-point for the current window-vscroll. (Bug#14567)
9472
9473 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9474
9475 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9476 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9477 spaces.
9478
9479 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9480
9481 * window.el (window-state-put-stale-windows): New variable.
9482 (window--state-put-2): Save list of windows without matching buffer.
9483 (window-state-put): Remove "bufferless" windows if possible.
9484
9485 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9486
9487 * simple.el (alternatives-define): Remove leftover :group keyword.
9488 Tweak docstring.
9489
9490 2013-07-06 Leo Liu <sdl.web@gmail.com>
9491
9492 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9493 (ido-enable-virtual-buffers): New variable.
9494 (ido-buffer-internal, ido-toggle-virtual-buffers)
9495 (ido-make-buffer-list): Use it.
9496 (ido-exhibit): Support turning on and off virtual buffers
9497 automatically.
9498
9499 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9500
9501 * simple.el (alternatives-define): New macro.
9502
9503 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9504
9505 * subr.el (read-quoted-char): Use read-key.
9506 (sit-for): Let read-event decode tty input (bug#14782).
9507
9508 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9509
9510 * calendar/todo-mode.el: Add handling of file deletion, both by
9511 mode command and externally. Fix various related bugs.
9512 Clarify Commentary and improve some documentation strings and code.
9513 (todo-delete-file): New command.
9514 (todo-check-file): New function.
9515 (todo-show): Handle external deletion of the file we're trying to
9516 show (bug#14688). Replace called-interactively-p by an optional
9517 prefix argument to avoid problematic interaction with catch form
9518 when byte compiled (bug#14702).
9519 (todo-quit): Handle external deletion of the archive's todo file.
9520 Make sure the buffer that was visiting the archive file is still
9521 live before trying to bury it.
9522 (todo-category-completions): Handle external deletion of any
9523 category completion files.
9524 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9525 of todo files, in case of external deletion.
9526 (todo-add-file): Replace unnecessary setq by let-binding.
9527 (todo-find-archive): Check whether there are any archives.
9528 Replace unnecessary setq by let-binding.
9529 (todo-archive-done-item): Use find-file-noselect to get the
9530 archive buffer whether or not the archive already exists.
9531 Remove superfluous code. Use file size instead of buffer-file-name to
9532 check if the archive is new; if it is, update list of archives.
9533 (todo-default-todo-file): Allow nil to be a valid value for when
9534 there are no todo files.
9535 (todo-reevaluate-default-file-defcustom): Use corrected definition
9536 of todo-default-todo-file.
9537 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9538 (todo-delete-category, todo-show-categories-table)
9539 (todo-category-number): Clarify comment.
9540 (todo-filter-items): Clarify documentation string.
9541 (todo-show-current-file, todo-display-as-todo-file)
9542 (todo-reset-and-enable-done-separator): Tweak documentation string.
9543 (todo-done-separator): Make separator length window-width, since
9544 bug#2749 is now fixed.
9545
9546 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9547
9548 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9549 Support both "gvfs-monitor-dir" and "inotifywait".
9550 (tramp-sh-file-inotifywait-process-filter): Rename from
9551 `tramp-sh-file-notify-process-filter'.
9552 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9553 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9554
9555 2013-07-05 Leo Liu <sdl.web@gmail.com>
9556
9557 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9558
9559 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9560
9561 * frame.el (display-pixel-height, display-pixel-width)
9562 (display-mm-height, display-mm-width): Mention behavior on
9563 multi-monitor setups in docstrings.
9564 (w32-display-monitor-attributes-list): Declare function.
9565 (display-monitor-attributes-list): Use it.
9566
9567 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9568
9569 * filenotify.el: New package.
9570
9571 * autorevert.el (top): Require filenotify.el.
9572 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9573 instead.
9574 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9575 (auto-revert-notify-handler): Use `file-notify-*' functions.
9576
9577 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9578
9579 * net/tramp.el (tramp-file-name-for-operation):
9580 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9581
9582 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9583 for `file-notify-add-watch' and `file-notify-rm-watch'.
9584 (tramp-process-sentinel): Improve trace.
9585 (tramp-sh-handle-file-notify-add-watch)
9586 (tramp-sh-file-notify-process-filter)
9587 (tramp-sh-handle-file-notify-rm-watch)
9588 (tramp-get-remote-inotifywait): New defuns.
9589
9590 2013-07-03 Juri Linkov <juri@jurta.org>
9591
9592 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9593 call of `occur-read-primary-args' to interactive spec.
9594
9595 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9596 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9597
9598 2013-07-03 Matthias Meulien <orontee@gmail.com>
9599
9600 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9601 `Buffer-menu-multi-occur'. Add it to the menu.
9602 (Buffer-menu-mode): Document it in docstring.
9603 (Buffer-menu-multi-occur): New command. (Bug#14673)
9604
9605 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9606
9607 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9608 keywords and built-ins.
9609
9610 2013-07-03 Glenn Morris <rgm@gnu.org>
9611
9612 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9613
9614 Make info-xref checks case-sensitive by default
9615 * info.el (Info-find-node, Info-find-in-tag-table)
9616 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9617 Add option for exact case matching of nodes.
9618 * info-xref.el (info-xref): New custom group.
9619 (info-xref-case-fold): New option.
9620 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9621
9622 2013-07-03 Leo Liu <sdl.web@gmail.com>
9623
9624 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9625
9626 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9627
9628 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9629 middle of block statement initially, lower the depth. Remove
9630 FIXME comment, not longer valid. Remove middle of block statement
9631 detection, no need to do that anymore since we've been using
9632 `ruby-parse-region' here.
9633
9634 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9635
9636 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9637
9638 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9639
9640 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9641
9642 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9643
9644 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9645 (desktop-restore-in-current-display): New customization option.
9646 (desktop--excluded-frame-parameters): Add `font'.
9647 (desktop--save-frames): Rename from desktop--save-windows.
9648 (desktop--restore-in-this-display-p): New function.
9649 (desktop--make-full-frame): Remove unwanted width/height from
9650 full(width|height) frames.
9651 (desktop--restore-frames): Rename from desktop--restore-windows.
9652 Obey desktop-restore-current-display. Do not delete old frames or
9653 select a new frame unless we were able to restore at least one frame.
9654
9655 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9656
9657 * files.el (find-file-noselect): Simplify conditional expression.
9658
9659 * textmodes/remember.el (remember-append-to-file):
9660 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9661
9662 Add `remember-notes' function to store random notes across Emacs
9663 restarts.
9664 * textmodes/remember.el (remember-data-file): Add :set callback to
9665 affect notes buffer (if any).
9666 (remember-notes): New command.
9667 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9668 New defcustoms for the `remember-notes' function.
9669 (remember-notes-save-and-bury-buffer): New command.
9670 (remember-notes-mode-map): New variable.
9671 (remember-mode): New minor mode.
9672 (remember-notes--kill-buffer-query): New function.
9673 * startup.el (initial-buffer-choice): Add notes to custom type.
9674
9675 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9676
9677 * bindings.el (right-char, left-char): Don't call sit-for, this is
9678 no longer needed. Use arithmetic comparison only for numerical
9679 arguments.
9680
9681 * international/mule-cmds.el (select-safe-coding-system):
9682 Handle the case of FROM being a string correctly. (Bug#14755)
9683
9684 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9685
9686 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9687 progression on degenerate tables.
9688 (shr-rescale-image): ImageMagick animated images currently don't work.
9689
9690 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9691
9692 Some fixes and improvements for desktop frame restoration.
9693 It is still experimental and disabled by default.
9694 * desktop.el (desktop--save-windows): Put the selected frame at
9695 the head of the list.
9696 (desktop--make-full-frame): New function.
9697 (desktop--restore-windows): Try to re-select the frame that was
9698 selected upon saving. Do not abort if some frames fail to restore,
9699 just show an error message and continue. Set up maximized frames
9700 so they have default non-maximized dimensions.
9701
9702 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9703
9704 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9705 Don't start heredoc inside a string or comment.
9706
9707 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9708
9709 * bindings.el (visual-order-cursor-movement): New defcustom.
9710 (right-char, left-char): Provide visual-order cursor motion by
9711 calling move-point-visually. Update the doc strings.
9712
9713 2013-06-28 Kenichi Handa <handa@gnu.org>
9714
9715 * international/mule.el (define-coding-system): New coding system
9716 properties :inhibit-null-byte-detection,
9717 :inhibit-iso-escape-detection, and :prefer-utf-8.
9718 (set-buffer-file-coding-system): If :charset-list property of
9719 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9720 appropriate for setting.
9721
9722 * international/mule-cmds.el (select-safe-coding-system):
9723 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9724 multibyte characters, return utf-8 (or one of its siblings).
9725
9726 * international/mule-conf.el (prefer-utf-8): New coding system.
9727 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9728 files.
9729
9730 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9731
9732 * net/shr.el (shr-render-region): New function.
9733
9734 * net/eww.el: Autoload `eww-browse-url'.
9735
9736 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9737
9738 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9739 Adapt to `package-desc-version' being a list.
9740 Use `package--ac-desc-version' to retrieve version from a package
9741 archive element.
9742
9743 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9744
9745 New experimental feature to save&restore window and frame setup.
9746 * desktop.el (desktop-save-windows): New defcustom.
9747 (desktop--saved-states): New var.
9748 (desktop--excluded-frame-parameters): New defconst.
9749 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9750 (desktop--restore-windows, desktop--save-windows): New functions.
9751 (desktop-save): Call `desktop--save-windows'.
9752 (desktop-read): Call `desktop--restore-windows'.
9753
9754 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9755
9756 * net/shr.el (add-face-text-property): Remove compat definition.
9757
9758 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9759
9760 * info.el (Info-try-follow-nearest-node): Move search for footnote
9761 above search for node name to prevent missing a footnote (bug#14717).
9762
9763 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9764
9765 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9766
9767 2013-06-27 Leo Liu <sdl.web@gmail.com>
9768
9769 * net/eww.el (eww-read-bookmarks): Check file size.
9770
9771 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9772
9773 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9774 advice--pending if newdef is nil or an autoload (bug#13820).
9775 (advice-mapc): New function.
9776
9777 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9778
9779 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9780 probably.
9781 (eww-mode-map): Add a menu bar.
9782 (eww-add-bookmark): New command.
9783 (eww-bookmark-mode): New mode and commands.
9784 (eww-add-bookmark): Remove newlines from the title.
9785 (eww-bookmark-browse): Don't bug out if it's the only window.
9786
9787 2013-06-26 Glenn Morris <rgm@gnu.org>
9788
9789 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9790 (hfy-size): Handle ttys. (Bug#14668)
9791
9792 * info-xref.el: Update for Texinfo 5 change in *note format.
9793 (info-xref-node-re, info-xref-note-re): New constants.
9794 (info-xref-check-buffer): Use info-xref-note-re.
9795
9796 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9797
9798 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9799
9800 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9801 nil terminate the loop (bug#14718).
9802
9803 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9804
9805 * net/eww.el: Rework history traversal. When going forward/back,
9806 put these actions into the history, too, so that they can be
9807 replayed.
9808 (eww-render): Move the history reset to the correct buffer.
9809
9810 2013-06-25 Juri Linkov <juri@jurta.org>
9811
9812 * files-x.el (modify-dir-local-variable): Change the header comment
9813 in the file with directory local variables. (Bug#14692)
9814
9815 * files-x.el (read-file-local-variable-value): Add `default'.
9816 (Bug#14710)
9817
9818 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9819
9820 * net/eww.el (eww-make-unique-file-name): Create a unique file
9821 name before saving to entering `y' accidentally asynchronously.
9822
9823 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9824
9825 * net/eww.el (eww-download): New command and keystroke.
9826
9827 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9828
9829 * net/eww.el (eww-copy-page-url): Change name of command.
9830
9831 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9832 be more consistent with Info and dired.
9833
9834 * net/eww.el (eww-mode-map): Ditto.
9835
9836 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9837
9838 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9839 packages from archives.
9840 (package-archive-contents): Change format; include obsolete packages.
9841 (package-desc): Use `dir' to mark builtin packages.
9842 (package--from-builtin): Set the `dir' field to `builtin'.
9843 (generated-autoload-file, version-control): Declare.
9844 (package-compute-transaction): Change first arg and return value to be
9845 lists of package-descs. Adjust to new package-archive-contents format.
9846 (package--add-to-archive-contents): Adjust to new
9847 package-archive-contents format.
9848 (package-download-transaction): Arg is now a list of package-descs.
9849 (package-install): If `pkg' is a package name, pass it as
9850 a requirement, so it is subject to the usual (e.g. disabled) checks.
9851 (describe-package): Accept package-desc as well.
9852 (describe-package-1): Describe a specific package-desc. Add links to
9853 other package-descs for the same package name.
9854 (package-menu-describe-package): Pass the actual package-desc.
9855 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9856 works correctly.
9857 (package-desc-status): New function.
9858 (package-menu--refresh): New function, extracted
9859 from package-menu--generate.
9860 (package-menu--generate): Use it.
9861 (package-delete): Update package-alist.
9862 (package-menu-execute): Don't call package-initialize.
9863
9864 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9865 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9866 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9867 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9868 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9869 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9870
9871 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9872
9873 * window.el (window--state-get-1): Workaround for bug#14527.
9874 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9875
9876 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9877
9878 * net/eww.el (eww-back-url): Implement the history by stashing all
9879 the data into a list.
9880 (eww-forward-url): Allow going forward in the history, too.
9881
9882 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9883
9884 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9885 for values and use read--expression for expressions (bug#14710).
9886 (read-file-local-variable): Avoid setq.
9887 (read-file-local-variable-mode): Use minor-mode-list.
9888
9889 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9890
9891 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9892 for DOI URLs.
9893
9894 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9895
9896 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9897 Update imenu-support when dialect changes.
9898
9899 2013-06-25 Leo Liu <sdl.web@gmail.com>
9900
9901 * ido.el (ido-read-internal): Allow forward slash on windows.
9902
9903 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9904
9905 * net/eww.el (eww): Start of strings is \\`, not ^.
9906
9907 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9908
9909 * net/shr.el (shr-browse-url): Fix interactive spec.
9910
9911 * net/eww.el (eww): Add a trailing slash to domain names.
9912
9913 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9914
9915 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9916
9917 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9918
9919 * net/shr.el (shr-browse-url): Use an external browser if given a
9920 prefix.
9921
9922 * net/eww.el (eww-external-browser): Move to shr.
9923
9924 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9925
9926 * net/eww.el (eww): Work more correctly for file: URLs.
9927 (eww-detect-charset): Allow quoted charsets.
9928 (eww-yank-page-url): New command and keystroke.
9929
9930 2013-06-24 Daiki Ueno <ueno@gnu.org>
9931
9932 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9933 file name of gpg executable.
9934 (epg-context-program): New function.
9935 (epg-context-home-directory): New function.
9936 (epg-context-set-program): New function.
9937 (epg-context-set-home-directory): New function.
9938 (epg--start): Use `epg-context-program' instead of
9939 'epg-gpg-program'.
9940 (epg--list-keys-1): Likewise.
9941
9942 2013-06-24 Leo Liu <sdl.web@gmail.com>
9943
9944 * ido.el (ido-read-internal): Fix bug#14620.
9945
9946 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9947
9948 * faces.el (face-documentation): Simplify.
9949 (read-face-attribute, tty-find-type, x-resolve-font-name):
9950 Use `string-match-p'.
9951 (list-faces-display): Use `string-match-p'. Simplify.
9952 (face-spec-recalc): Check face to avoid face alias loops.
9953 (read-color): Use `string-match-p' and non-capturing parenthesis.
9954
9955 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9956
9957 * net/shr.el (shr-rescale-image): Use the new
9958 :max-width/:max-height functionality.
9959
9960 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9961
9962 * net/eww.el (eww-search-prefix): New variable.
9963 (eww): Use it.
9964 (eww-external-browser): New variable.
9965 (eww-mode-map): New keystroke.
9966 (eww-browse-with-external-browser): New command.
9967
9968 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9969
9970 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9971
9972 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9973 Don't skip aligning the next header field when padding is 0;
9974 otherwise, field width is not respected unless the title is as
9975 wide as the field.
9976
9977 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9978
9979 * emacs-lisp/package.el (package-el-version): Remove.
9980 (package-process-define-package): Fix inf-loop.
9981 (package-install): Allow symbols as arguments again.
9982
9983 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9984
9985 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9986 add some more keyword-like methods.
9987 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9988
9989 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9990
9991 * bs.el (bs-buffer-show-mark): Make defvar-local.
9992 (bs-mode): Use setq-local.
9993
9994 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9995 (emacs-lock--try-unlocking): Make defvar-local.
9996
9997 2013-06-22 Glenn Morris <rgm@gnu.org>
9998
9999 * play/cookie1.el (cookie-apropos): Minor simplification.
10000
10001 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10002
10003 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10004
10005 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10006 `regexp-opt', it breaks the build during dumping.
10007
10008 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10009
10010 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10011 Highlight keyword-like methods on Kernel and Module with
10012 font-lock-builtin-face.
10013 (auto-mode-alist): Consolidate different entries into one regexp
10014 and add more *file-s.
10015
10016 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10017
10018 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10019
10020 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10021 (diary-entry): Use it in the action of this button type instead of
10022 diary-goto-entry.
10023
10024 * calendar/todo-mode.el: New version.
10025 (todo-add-category): Append new category to end of file and give
10026 it the highest number, instead of putting it at the beginning and
10027 giving it 0. Incorporate noninteractive functionality.
10028 (todo-forward-category): Adapt to 1-based category numbering.
10029 Allow skipping over archived categories.
10030 (todo-backward-category): Derive from todo-forward-category.
10031 (todo-backward-item, todo-forward-item): Make noninteractive and
10032 delegate interactive part to new commands. Make sensitive to done items.
10033 (todo-categories): Make value an alist of category names and
10034 vectors of item counts.
10035 (todo-category-beg): Make a defconst.
10036 (todo-category-number): Use 1 instead of 0 as initial value.
10037 (todo-category-select): Make sensitive to overlays, optional item
10038 highlighting and done items.
10039 (todo-delete-item): Make sensitive to overlays and marked and done items.
10040 (todo-edit-item): Make sensitive to overlays and editing of
10041 date/time header optional. Add format checks.
10042 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10043 no-op if point is not on an item. Advertise using todo-edit-quit.
10044 (todo-edit-mode): Make sensitive to new format, font-locking, and
10045 multiple todo files.
10046 (todo-insert-item, todo-insert-item-here): Derive from
10047 todo-basic-insert-item and extend functionality.
10048 (todo-item-end, todo-item-start): Make sensitive to done items.
10049 (todo-item-string): Don't return text properties. Restore point.
10050 (todo-jump-to-category): Make sensitive to multiple todo files and
10051 todo archives. Use extended category completion.
10052 (todo-lower-item, todo-raise-item): Rename to *-priority and
10053 derive from todo-set-item-priority.
10054 (todo-mode): Derive from special-mode. Make sensitive to new
10055 format, font-locking and multiple todo files. Make read-only.
10056 (todo-mode-map): Don't suppress digit keys, so they can supply
10057 prefix arguments. Add many new key bindings.
10058 (todo-prefix): Insert as an overlay instead of file text.
10059 Change semantics from diary date expression to purely visual mark.
10060 (todo-print): Rename to todo-print-buffer. Make buffer display
10061 features printable. Remove option to restrict number of items
10062 printed. Add option to print to file.
10063 (todo-print-function): Rename to todo-print-buffer-function.
10064 (todo-quit): Extend to handle exiting new todo modes.
10065 (todo-remove-item): Make sensitive to overlays.
10066 (todo-save): Extend to buffers of filtered items.
10067 (todo-show): Make sensitive to done items, multiple todo files and
10068 new todo modes. Offer to convert legacy todo file before creating
10069 first new todo file.
10070 (todo-show-priorities): Rename to todo-top-priorities.
10071 Change semantics of value 0.
10072 (todo-top-priorities): Rename to todo-filter-top-priorities,
10073 derive from todo-filter-items and extend functionality.
10074 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10075 and extend functionality to other types of filtered items.
10076 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10077 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10078 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10079 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10080 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10081 (todo-edit-mode-hook, todo-entry-prefix-function)
10082 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10083 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10084 (todo-initials, todo-insert-threshold, todo-item-string-start)
10085 (todo-line-string, todo-menu, todo-mode-hook)
10086 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10087 (todo-print-priorities, todo-remove-separator)
10088 (todo-save-top-priorities-too, todo-string-count-lines)
10089 (todo-string-multiline-p, todo-time-string-format)
10090 (todo-tmp-buffer-name): Remove.
10091 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10092 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10093 (todo-edit-category-diary-inclusion)
10094 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10095 (todo-edit-file, todo-edit-item-date-day)
10096 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10097 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10098 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10099 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10100 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10101 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10102 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10103 (todo-filter-top-priorities-multifile, todo-find-archive)
10104 (todo-find-filtered-items-file, todo-go-to-source-item)
10105 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10106 (todo-jump-to-archive-category, todo-lower-category)
10107 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10108 (todo-move-category, todo-move-item, todo-next-button)
10109 (todo-next-item, todo-padded-string, todo-powerset)
10110 (todo-previous-button, todo-previous-item)
10111 (todo-print-buffer-to-file, todo-raise-category)
10112 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10113 (todo-set-category-number, todo-set-item-priority)
10114 (todo-set-top-priorities-in-category)
10115 (todo-set-top-priorities-in-file, todo-show-categories-table)
10116 (todo-sort-categories-alphabetically-or-numerically)
10117 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10118 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10119 (todo-toggle-item-header, todo-toggle-item-highlighting)
10120 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10121 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10122 (todo-unarchive-items, todo-unmark-category): New commands.
10123 (todo-absolute-file-name, todo-add-to-buffer-list)
10124 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10125 (todo-basic-insert-item, todo-category-completions)
10126 (todo-category-number, todo-category-string-matcher-1)
10127 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10128 (todo-check-format, todo-clear-matches)
10129 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10130 (todo-current-category, todo-date-string-matcher)
10131 (todo-define-insertion-command, todo-diary-expired-matcher)
10132 (todo-diary-goto-entry, todo-diary-item-p)
10133 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10134 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10135 (todo-done-item-section-p, todo-done-separator)
10136 (todo-done-string-matcher, todo-files, todo-filter-items)
10137 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10138 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10139 (todo-insert-category-line, todo-insert-item-from-calendar)
10140 (todo-insert-sort-button, todo-insert-with-overlays)
10141 (todo-insertion-command-name, todo-insertion-key-bindings)
10142 (todo-label-to-key, todo-longest-category-name-length)
10143 (todo-make-categories-list, todo-mode-external-set)
10144 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10145 (todo-modes-set-3, todo-multiple-filter-files)
10146 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10147 (todo-read-category, todo-read-date, todo-read-dayname)
10148 (todo-read-file-name, todo-read-time)
10149 (todo-reevaluate-category-completions-files-defcustom)
10150 (todo-reevaluate-default-file-defcustom)
10151 (todo-reevaluate-filelist-defcustoms)
10152 (todo-reevaluate-filter-files-defcustom)
10153 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10154 (todo-reset-done-separator, todo-reset-done-separator-string)
10155 (todo-reset-done-string, todo-reset-global-current-todo-file)
10156 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10157 (todo-reset-prefix, todo-set-categories)
10158 (todo-set-date-from-calendar, todo-set-show-current-file)
10159 (todo-set-top-priorities, todo-short-file-name)
10160 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10161 (todo-total-item-counts, todo-update-buffer-list)
10162 (todo-update-categories-display, todo-update-categories-sexp)
10163 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10164 New functions.
10165 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10166 New major modes.
10167 (todo-categories, todo-display, todo-edit, todo-faces)
10168 (todo-filtered): New defgroups.
10169 (todo-archived-only, todo-button, todo-category-string, todo-date)
10170 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10171 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10172 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10173 (todo-add-item-if-new-category, todo-always-add-time-string)
10174 (todo-categories-align, todo-categories-archived-label)
10175 (todo-categories-category-label, todo-categories-diary-label)
10176 (todo-categories-done-label, todo-categories-number-separator)
10177 (todo-categories-todo-label, todo-categories-totals-label)
10178 (todo-category-completions-files, todo-completion-ignore-case)
10179 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10180 (todo-done-separator-string, todo-done-string)
10181 (todo-files-function, todo-filter-done-items, todo-filter-files)
10182 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10183 (todo-initial-category, todo-initial-file, todo-item-mark)
10184 (todo-legacy-date-time-regexp, todo-mode-line-function)
10185 (todo-nondiary-marker, todo-number-prefix)
10186 (todo-print-buffer-function, todo-show-current-file)
10187 (todo-show-done-only, todo-show-first, todo-show-with-done)
10188 (todo-skip-archived-categories, todo-top-priorities-overrides)
10189 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10190 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10191 New defcustoms.
10192 (todo-category-done, todo-date-pattern, todo-date-string-start)
10193 (todo-diary-items-buffer, todo-done-string-start)
10194 (todo-filtered-items-buffer, todo-item-start)
10195 (todo-month-abbrev-array, todo-month-name-array)
10196 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10197 (todo-top-priorities-buffer): New defconsts.
10198 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10199 (todo-categories-with-marks, todo-category-string-face)
10200 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10201 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10202 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10203 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10204 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10205 (todo-font-lock-keywords, todo-global-current-todo-file)
10206 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10207 (todo-insertion-commands-args)
10208 (todo-insertion-commands-args-genlist)
10209 (todo-insertion-commands-names, todo-insertion-map)
10210 (todo-key-bindings-t, todo-key-bindings-t+a)
10211 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10212 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10213 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10214 (todo-visited): New variables.
10215
10216 2013-06-21 Glenn Morris <rgm@gnu.org>
10217
10218 * play/cookie1.el (cookie-apropos): Add optional display argument.
10219 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10220 (psychoanalyze-pinhead): Use cookie-doctor.
10221
10222 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10223
10224 * emacs-lisp/package.el (tar-get-file-descriptor)
10225 (tar--extract): Declare.
10226
10227 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10228
10229 Extend flymake's warning predicate to be a function (bug#14217).
10230 * progmodes/flymake.el (flymake-warning-predicate): New.
10231 (flymake-parse-line): Use it.
10232 (flymake-warning-re): Make obsolete alias to
10233 `flymake-warning-predicate'.
10234
10235 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10236
10237 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10238 (package-obsolete-list): Remove.
10239 (package-activate): Remove min-version argument. Add `force' argument.
10240 Adjust to new package-alist format.
10241 (package-mark-obsolete): Remove.
10242 (package-unpack): Force reload of the package's autoloads.
10243 (package-installed-p): Check builtins if the installed package is not
10244 recent enough.
10245 (package-initialize): Don't reset package-obsolete-list.
10246 Don't specify which package version to activate.
10247 (package-process-define-package, describe-package-1)
10248 (package-menu--generate): Adjust to new package-alist format.
10249
10250 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10251
10252 * allout-widgets.el (allout-widgets-mode-off)
10253 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10254 (allout-widgets-post-command-business)
10255 (allout-widgets-after-copy-or-kill-function)
10256 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10257 (allout-decorate-item-and-context)
10258 (allout-graphics-modification-handler): Fix typos in docstrings.
10259 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10260
10261 * cmuscheme.el (scheme-start-file): Doc fix.
10262 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10263 (scheme-input-filter): Use `string-match-p'.
10264
10265 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10266
10267 * dired-x.el: Use Dired consistently in docstrings.
10268
10269 * dired.el: Use Dired consistently in docstrings.
10270 (dired-readin, dired-mode): Use `setq-local'.
10271 (dired-switches-alist): Make defvar-local.
10272 (dired-buffers-for-dir): Use `zerop'.
10273 (dired-safe-switches-p, dired-switches-escape-p)
10274 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10275 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10276 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10277 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10278 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10279 (dired-toggle-marks, dired-mark-files-containing-regexp)
10280 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10281 (dired-flag-auto-save-files, dired-flag-backup-files):
10282 Use `looking-at-p'.
10283 (dired-mark-files-regexp, dired-build-subdir-alist):
10284 Use `string-match-p', `looking-at-p'.
10285
10286 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10287 (direct-print-region-helper): Use `string-match-p'.
10288
10289 2013-06-21 Leo Liu <sdl.web@gmail.com>
10290
10291 * comint.el (comint-redirect-results-list-from-process):
10292 Fix infinite loop.
10293
10294 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10295
10296 * net/eww.el (eww-update-header-line-format): Quote % characters.
10297
10298 2013-06-21 Glenn Morris <rgm@gnu.org>
10299
10300 * play/cookie1.el (cookie): New custom group.
10301 (cookie-file): New option.
10302 (cookie-check-file): New function.
10303 (cookie): Make it interactive. Make start and end messages optional.
10304 Interactively, display the result. Default to cookie-file.
10305 (cookie-insert): Default to cookie-file.
10306 (cookie-snarf): Make start and end messages optional.
10307 Default to cookie-file. Use with-temp-buffer.
10308 (cookie-read): Rename from read-cookie.
10309 Make start and end messages optional. Default to cookie-file.
10310 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10311 Do not autoload it.
10312 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10313 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10314
10315 2013-06-21 Leo Liu <sdl.web@gmail.com>
10316
10317 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10318
10319 2013-06-21 Glenn Morris <rgm@gnu.org>
10320
10321 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10322
10323 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10324 Daniel Hackney <dan@haxney.org>
10325
10326 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10327 Consolidate the single-file vs tarball code.
10328 (package-desc-suffix): New function.
10329 (package-desc-full-name): Don't bother inlining it.
10330 (package-load-descriptor): Return the new package-desc.
10331 (package-mark-obsolete): Remove unused arg `package'.
10332 (package-unpack): Make it work for single files as well.
10333 Make it update package-alist.
10334 (package--make-autoloads-and-stuff): Rename from
10335 package--make-autoloads-and-compile. Don't compile any more.
10336 (package--compile): New function.
10337 (package-generate-description-file): New function, extracted from
10338 package-unpack-single.
10339 (package-unpack-single): Remove.
10340 (package--with-work-buffer): Add indentation and debugging info.
10341 (package-download-single): Remove.
10342 (package-install-from-archive): Rename from package-download-tar, make
10343 it take a pkg-desc, and make it work for single files as well.
10344 (package-download-transaction): Simplify.
10345 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10346 external tar program.
10347 (package-install-from-buffer): Remove `pkg-desc' argument.
10348 Use package-tar-file-info for tar-mode buffers.
10349 (package-install-file): Simplify accordingly.
10350 (package-archive-base): Change to take a pkg-desc.
10351 * tar-mode.el (tar--check-descriptor): New function, extracted from
10352 tar-get-descriptor.
10353 (tar-get-descriptor): Use it.
10354 (tar-get-file-descriptor): New function.
10355 (tar--extract): New function, extracted from tar-extract.
10356 (tar--extract): Use it.
10357 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10358 case the summary uses non-ascii. Adjust to new calling convention of
10359 package-tar-file-info.
10360
10361 2013-06-21 Leo Liu <sdl.web@gmail.com>
10362
10363 * comint.el (comint-redirect-results-list-from-process):
10364 Fix random delay. (Bug#14681)
10365
10366 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10367
10368 * profiler.el (profiler-format-number): Use log, not log10.
10369
10370 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10371
10372 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10373
10374 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10375
10376 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10377 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10378 yet available.
10379 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10380 (AUTOGENEL): ... here.
10381 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10382 (cl--defsubst-expand): Use it.
10383
10384 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10385
10386 * subr.el (log10): Move here from C code, and declare as obsolete.
10387 All uses of (log10 X) replaced with (log X 10).
10388
10389 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10390
10391 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10392 Declare with `defvar-local'.
10393 (tabulated-list-use-header-line, tabulated-list-entries)
10394 (tabulated-list-padding, tabulated-list-printer)
10395 (tabulated-list-sort-key): Declare with `defvar-local'.
10396 (tabulated-list-init-header, tabulated-list-print-fake-header):
10397 Use `setq-local'.
10398
10399 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10400
10401 * arc-mode.el (archive-mode): Add `archive-write-file' to
10402 `write-contents-functions' also for remote files. (Bug#14652)
10403
10404 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10405
10406 * cus-edit.el (custom-commands): Fix typos.
10407 (custom-display): Fix tooltip text.
10408 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10409 Fix typos in docstrings.
10410 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10411 (custom-unlispify-menu-entry, custom-magic-value-create)
10412 (custom-add-see-also, custom-group-value-create): Use ?\s.
10413 (custom-guess-type, customize-apropos, editable-field)
10414 (custom-face-value-create): Use `string-match-p'.
10415 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10416
10417 * custom.el (custom-load-symbol): Use `string-match-p'.
10418
10419 * ansi-color.el: Convert to lexical binding.
10420 (ansi-colors): Fix URL.
10421 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10422 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10423 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10424
10425 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10426
10427 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10428
10429 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10430
10431 2013-06-19 Tom Tromey <tromey@redhat.com>
10432
10433 * net/eww.el (eww-top-url): Remove.
10434 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10435 (eww-render): Set new variables. Don't set eww-top-url.
10436 (eww-handle-link): Handle "prev", "home", and "contents".
10437 Downcase the rel text.
10438 (eww-top-url): Choose best top URL.
10439
10440 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10441
10442 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10443 relying in widget.el. Using widget.el leads to too many
10444 user interface inconsistencies.
10445 (eww-self-insert): Implement entering commands in text fields.
10446 (eww-process-text-input): New function to make text input field editing
10447 work.
10448 (eww-submit): Rewrite to use the new-style form methods.
10449 (eww-select-display): Display the correct selected item.
10450 (eww-change-select): Implement changing the select value.
10451 (eww-toggle-checkbox): Implement radio/checkboxes.
10452 (eww-update-field): Fix compilation error.
10453 (eww-tag-textarea): Implement <textarea>.
10454
10455 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10456 we don't shadow mode-specific bindings.
10457
10458 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10459 nothing to push.
10460
10461 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10462
10463 2013-06-19 Glenn Morris <rgm@gnu.org>
10464
10465 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10466
10467 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10468
10469 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10470 not needed.
10471
10472 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10473
10474 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10475
10476 * net/browse-url.el (browse-url-browser-function):
10477 `eww-browse-url' has the right calling signature, `eww' does not.
10478
10479 2013-06-19 Glenn Morris <rgm@gnu.org>
10480
10481 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10482 Only eval autoloaded macros.
10483 (byte-compile-autoload): Only give the macro warning for macros.
10484
10485 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10486 (ps-underlined-faces): Declare.
10487
10488 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10489 (speedbar-add-supported-extension): Declare.
10490
10491 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10492 Don't include a date stamp in the header of the generated file;
10493 it leads to needless differences between output files.
10494
10495 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10496
10497 * net/secrets.el (secrets-struct-secret-content-type):
10498 Replace check of introspection data by a test call of "CreateItem".
10499 Some servers do not offer introspection.
10500
10501 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * electric.el (electric-pair-mode): Improve interaction with
10504 electric-layout-mode.
10505 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10506 (electric-pair-syntax): Use text-mode-syntax-table in comments
10507 and strings.
10508 (electric-pair--insert): New function.
10509 (electric-pair-post-self-insert-function): Use it and
10510 electric--after-char-pos.
10511
10512 2013-06-19 Leo Liu <sdl.web@gmail.com>
10513
10514 * progmodes/octave.el (octave-help): Fix regexp.
10515
10516 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10517
10518 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10519 (shr-table-horizontal-line): Allow nil as a value, and change the
10520 default.
10521 (shr-insert-table-ruler): Respect the nil value.
10522
10523 2013-06-18 Tom Tromey <tromey@barimba>
10524
10525 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10526 New defvars.
10527 (eww-open-file): New defun.
10528 (eww-render): Initialize new variables.
10529 (eww-display-html): Handle "link" and "a".
10530 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10531 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10532 (eww-back-url): Rename from eww-previous-url.
10533 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10534 New defuns.
10535
10536 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10537
10538 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10539 Distinguish ternary operator tokens from slash symbol and slash
10540 char literal.
10541
10542 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10543
10544 Convert symbol prettification into minor mode and global minor mode.
10545
10546 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10547 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10548 (prettify-symbols--keywords): Rename from
10549 `prog-prettify-symbols-alist' and make a local defvar.
10550 (prettify-symbols--compose-symbol): Rename from
10551 `prog--prettify-font-lock-compose-symbol'.
10552 (prettify-symbols--make-keywords): Rename from
10553 `prog-prettify-font-lock-symbols-keywords' and simplify.
10554 (prog-prettify-install): Remove.
10555 (prettify-symbols-mode): New minor mode, based on
10556 `prog-prettify-install'.
10557 (turn-on-prettify-symbols-mode): New function.
10558 (global-prettify-symbols-mode): New globalized minor mode.
10559
10560 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10561 * progmodes/cfengine.el (cfengine3-mode):
10562 * progmodes/perl-mode.el (perl-mode): Don't call
10563 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10564
10565 2013-06-18 Juri Linkov <juri@jurta.org>
10566
10567 * files-x.el (modify-file-local-variable-message): New function.
10568 (modify-file-local-variable)
10569 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10570 and call `modify-file-local-variable-message' when it's non-nil.
10571 (add-file-local-variable, delete-file-local-variable)
10572 (add-file-local-variable-prop-line)
10573 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10574 and use it. (Bug#9820)
10575
10576 2013-06-18 Juri Linkov <juri@jurta.org>
10577
10578 * emulation/vi.el (vi-shell-op):
10579 * emulation/vip.el (vip-execute-com, ex-command):
10580 * emulation/viper-cmd.el (viper-exec-bang):
10581 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10582 the call of `shell-command-on-region'. (Bug#14637)
10583
10584 * simple.el (shell-command-on-region): Doc fix.
10585
10586 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10589 (bug#14633).
10590
10591 2013-06-18 Glenn Morris <rgm@gnu.org>
10592
10593 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10594
10595 * newcomment.el (comment-search-forward, comment-search-backward):
10596 Doc fix. (Bug#14376)
10597
10598 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10599
10600 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10601 (buffer-face-mode-invoke): Doc fix.
10602
10603 2013-06-18 Matthias Meulien <orontee@gmail.com>
10604
10605 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10606 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10607
10608 2013-06-18 Glenn Morris <rgm@gnu.org>
10609
10610 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10611 Replace obsolete function generic-make-keywords with its expansion.
10612
10613 * progmodes/python.el (ffap-alist): Declare.
10614
10615 * textmodes/reftex.el (bibtex-mode-map): Declare.
10616
10617 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10618
10619 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10620 (package-unpack, package-unpack-single): Return the pkg-dir.
10621 (package-download-transaction): Use it to update package-alist.
10622
10623 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10624
10625 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10626 possible choice.
10627
10628 2013-06-17 Juri Linkov <juri@jurta.org>
10629
10630 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10631
10632 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10633
10634 * emacs-lisp/package.el (package-load-descriptor):
10635 Remove `with-syntax-table' call, `read' doesn't need it.
10636 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10637
10638 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10639
10640 * startup.el (command-line): Expand package name returned by
10641 `package--description-file' (bug#14639).
10642
10643 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10644
10645 * emacs-lisp/package.el (package-load-descriptor): Do not call
10646 `emacs-lisp-mode', just use its syntax table.
10647
10648 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10649
10650 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10651 `font-lock-extra-managed-props' if any prettifying keyword is added.
10652 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10653 (prog-mode): Use `setq-local'.
10654
10655 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10656
10657 * international/characters.el (standard-case-table): Set syntax of ?»
10658 and ?« to punctuation.
10659
10660 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10661
10662 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10663 Save relevant match data before calling `syntax-ppss' (bug#14595).
10664
10665 2013-06-15 Juri Linkov <juri@jurta.org>
10666
10667 * files-x.el (modify-file-local-variable-prop-line): Add local
10668 variables to the end of the existing comment on the first line.
10669 Use `file-auto-mode-skip' to skip interpreter magic line,
10670 and also skip XML declaration.
10671
10672 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10673
10674 * startup.el (package--builtin-versions): New var.
10675 (package-subdirectory-regexp): Remove.
10676 (package--description-file): Hard code its value instead.
10677
10678 * emacs-lisp/package.el: Don't activate packages older than builtin.
10679 (package-obsolete-list): Rename from package-obsolete-alist, and make
10680 it into a simple list of package-desc.
10681 (package-strip-version): Remove.
10682 (package-built-in-p): Use package--builtin-versions.
10683 (package-mark-obsolete): Simplify.
10684 (package-process-define-package): Mark it obsolete if older than the
10685 builtin version.
10686 (package-handle-response): Use line-end-position.
10687 (package-read-archive-contents, package--download-one-archive):
10688 Simplify.
10689 (package--add-to-archive-contents): Skip if older than the builtin or
10690 installed version.
10691 (package-menu-describe-package): Fix last change.
10692 (package-list-unversioned): New var.
10693 (package-menu--generate): Use it.
10694
10695 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10696 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10697 (autoload-builtin-package-versions): New variable.
10698 (autoload-generate-file-autoloads): Use them.
10699 Remove the list of autoloaded functions/macros from the
10700 (autoload...) comments.
10701
10702 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10703
10704 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10705
10706 * simple.el (line-move-partial): Don't jump to the next screen
10707 line as soon as it becomes visible. Instead, continue enlarging
10708 the vscroll until the portion of a tall screen line that's left on
10709 display is about the height of the frame's default font.
10710 (Bug#14567)
10711
10712 2013-06-15 Glenn Morris <rgm@gnu.org>
10713
10714 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10715 compilation-error-regexp-alist void, or local while let-bound.
10716
10717 * progmodes/make-mode.el (makefile-mode-syntax-table):
10718 Treat "=" as punctuation. (Bug#14614)
10719
10720 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10721
10722 * help-fns.el (describe-variable):
10723 Add extra line for permanent-local variables.
10724
10725 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10726
10727 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10728 Add export, import, library. (Bug#9164)
10729 (library): Set indent function.
10730
10731 2013-06-14 Glenn Morris <rgm@gnu.org>
10732
10733 * term/xterm.el (xterm--query):
10734 Stop after first matching handler. (Bug#14615)
10735
10736 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10737
10738 Add support for dired in saveplace.
10739 * dired.el (dired-initial-position-hook): New variable.
10740 (dired-initial-position): Call hook to place cursor position.
10741 * saveplace.el (save-place-to-alist): Add dired position.
10742 (save-place-dired-hook): New function.
10743
10744 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10745
10746 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10747 through a symbol rather than letrec.
10748
10749 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10750 (package-desc): Add `dir' field.
10751 (package-desc-full-name): New function.
10752 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10753 (package-maybe-load-descriptor): Remove.
10754 (package-load-all-descriptors): Just call package-load-descriptor.
10755 (package--disabled-p): New function.
10756 (package-desc-vers, package-desc-doc): Remove aliases.
10757 (package--dir): Remove function.
10758 (package-activate): Check if a package is disabled.
10759 (package-process-define-package): New function, extracted from
10760 define-package.
10761 (define-package): Turn into a place holder.
10762 (package-unpack-single, package-tar-file-info):
10763 Use package--description-file.
10764 (package-compute-transaction): Use package--disabled-p.
10765 (package-download-transaction): Don't call
10766 package-maybe-load-descriptor since they're all loaded anyway.
10767 (package-install): Change argument to be a pkg-desc.
10768 (package-delete): Use a single pkg-desc argument.
10769 (describe-package-1): Use package-desc-dir instead of package--dir.
10770 Use package-desc property instead of package-symbol.
10771 (package-install-button-action): Adjust accordingly.
10772 (package--push): Rewrite.
10773 (package-menu--print-info): Adjust accordingly. Change the ID format
10774 to be a pkg-desc.
10775 (package-menu-describe-package, package-menu-get-status)
10776 (package-menu--find-upgrades, package-menu-mark-upgrades)
10777 (package-menu-execute, package-menu--name-predicate):
10778 Adjust accordingly.
10779 * startup.el (package--description-file): New function.
10780 (command-line): Use it.
10781 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10782 Use package-desc-version.
10783
10784 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10785 (byte-compile-preprocess): Use it.
10786 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10787 can't quite recognize.
10788 (byte-compile-add-to-list): Remove.
10789 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10790 (cconv-closure-convert): Add assertion.
10791
10792 * emacs-lisp/map-ynp.el: Use lexical-binding.
10793 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10794 Factor out some repeated code.
10795
10796 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * subr.el (with-eval-after-load): New macro.
10799 (eval-after-load): Allow form to be a function.
10800 take advantage of lexical-binding.
10801 (do-after-load-evaluation): Use dolist and adjust to new format.
10802 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10803
10804 2013-06-13 Juri Linkov <juri@jurta.org>
10805
10806 * replace.el (perform-replace): Display "symbol " and other search
10807 modes from `isearch-message-prefix' in the *Help* buffer.
10808
10809 * isearch.el (isearch-query-replace): Add " symbol" and other
10810 possible search modes from `isearch-message-prefix' to the prompt.
10811 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10812 when reading a regexp to collect.
10813
10814 2013-06-13 Juri Linkov <juri@jurta.org>
10815
10816 * isearch.el (word-search-regexp): Match whitespace if the search
10817 string begins or ends in whitespace. The LAX arg is applied to
10818 both ends of the search string. Use `regexp-quote' and explicit
10819 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10820 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10821 boundaries are replaced with symbol boundaries, and characters
10822 between symbols match non-word non-symbol syntax. (Bug#14602)
10823
10824 2013-06-13 Juri Linkov <juri@jurta.org>
10825
10826 * isearch.el (isearch-del-char): Don't exceed the length of
10827 `isearch-string' by the prefix arg. (Bug#14563)
10828
10829 2013-06-13 Juri Linkov <juri@jurta.org>
10830
10831 * isearch.el (isearch-yank-word, isearch-yank-line)
10832 (isearch-char-by-name, isearch-quote-char)
10833 (isearch-printing-char, isearch-process-search-char):
10834 Add optional count prefix arg. (Bug#14563)
10835
10836 * international/isearch-x.el
10837 (isearch-process-search-multibyte-characters):
10838 Add optional count prefix arg.
10839
10840 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10841
10842 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10843 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10844 lexical-binding.
10845
10846 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10847
10848 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10849
10850 2013-06-13 Glenn Morris <rgm@gnu.org>
10851
10852 * startup.el (tty-handle-args):
10853 Don't just discard "--" and anything after. (Bug#14608)
10854
10855 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10856
10857 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10858
10859 Implement changes in Secret Service API. Make it backward compatible.
10860 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10861 (secrets-create-item): Use it. Prefix properties with interface.
10862
10863 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10864
10865 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10866 (term-emulate-terminal): Respect term-suppress-hard-newline.
10867
10868 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10869
10870 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10871 Only remove a `thumb-file' overlay. (Bug#14548)
10872
10873 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10874
10875 * mail/reporter.el (reporter-submit-bug-report):
10876 Handle missing package-name. (Bug#14600)
10877
10878 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10879
10880 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10881 (reftex-citation-prompt, reftex-default-bibliography)
10882 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10883 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10884 (reftex-bib-sort-author, reftex-bib-sort-year)
10885 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10886 (reftex-extract-bib-entries-from-thebibliography)
10887 (reftex-get-bibkey-default, reftex-get-bib-names)
10888 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10889 (reftex-format-bib-entry, reftex-parse-bibitem)
10890 (reftex-format-bibitem, reftex-do-citation)
10891 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10892 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10893 (reftex-insert-bib-matches, reftex-format-citation)
10894 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10895 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10896 existing comments into docstrings.
10897
10898 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10899
10900 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10901
10902 2013-06-12 Andreas Schwab <schwab@suse.de>
10903
10904 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10905 for auto-save files.
10906
10907 2013-06-12 Glenn Morris <rgm@gnu.org>
10908
10909 * ido.el (ido-delete-ignored-files): Remove.
10910 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10911 Go back to calling ido-ignore-item-p directly.
10912
10913 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10914
10915 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10916
10917 * ido.el (ido-delete-ignored-files): New function,
10918 split from ido-make-file-list-1.
10919 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10920 (ido-make-file-list-1): Use ido-delete-ignored-files.
10921
10922 2013-06-12 Leo Liu <sdl.web@gmail.com>
10923
10924 * progmodes/octave.el (inferior-octave-startup)
10925 (inferior-octave-completion-table)
10926 (inferior-octave-track-window-width-change)
10927 (octave-eldoc-function-signatures, octave-help)
10928 (octave-find-definition): Use single quoted strings.
10929 (inferior-octave-startup-args): Change default value.
10930 (inferior-octave-startup): Do not hard code "-i" and
10931 "--no-line-editing".
10932 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10933 (inferior-octave-directory-tracker): Use it.
10934 (octave-goto-function-definition): Robustify.
10935 (octave-help): Support highlighting operators in 'See also'.
10936 (octave-find-definition): Find subfunctions only in Octave mode.
10937
10938 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 * help-fns.el (help-fns--compiler-macro): If the handler function is
10941 named, then put a link to it.
10942 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10943 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10944 (cl-typep): Use it.
10945 (cl-eval-when): Simplify debug spec.
10946 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10947 compiler-macro function instead of setting `compiler-macro-file'.
10948
10949 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10950
10951 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10952 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10953
10954 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10955 Daniel Hackney <dan@haxney.org>
10956
10957 First part of Daniel Hackney's patch to package.el.
10958 * emacs-lisp/package.el: Use defstruct.
10959 (package-desc): New, main struct.
10960 (package--bi-desc, package--ac-desc): New structs, used to describe the
10961 format in external files.
10962 (package-desc-vers): Replace with package-desc-version accessor.
10963 (package-desc-doc): Replace with package-desc-summary accessor.
10964 (package-activate-1): Remove `package' arg since the pkg-vec now
10965 includes the name.
10966 (define-package): Use package-desc-from-define.
10967 (package-unpack-single): Change file-name arg to be a symbol.
10968 (package--add-to-archive-contents): Use package-desc-create and new
10969 accessor functions to package--ac-desc.
10970 (package-buffer-info, package-tar-file-info): Return a package-desc.
10971 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10972 arg to be a package-desc.
10973 (package-install-file): Adjust accordingly. Use \' to match EOS.
10974 (package--from-builtin): New function.
10975 (describe-package-1, package-menu--generate): Use it.
10976 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10977 (package-generate-autoloads): Idem and return the name of the file.
10978 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10979 Change pkg-info arg to be a package-desc.
10980 Use package-make-ac-desc.
10981 (package-upload-file): Use \' to match EOS.
10982 * finder.el (finder-compile-keywords): Use package-make-builtin.
10983
10984 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * vc/vc.el (vc-deduce-fileset): Change error message.
10987 (vc-read-backend): New function.
10988 (vc-next-action): Use it.
10989
10990 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10991
10992 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10993 (prolog-font-lock-keywords): Use regexp-opt instead.
10994 Don't manually highlight strings.
10995 (prolog-mode-variables): Simplify comment-start-skip.
10996 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10997
10998 * emacs-lisp/generic.el (generic--normalise-comments)
10999 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11000 (generic-mode-set-comments): Use them.
11001 (generic-bracket-support): Use setq-local.
11002 (generic-make-keywords-list): Declare obsolete.
11003
11004 2013-06-11 Glenn Morris <rgm@gnu.org>
11005
11006 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11007 Prettify after setting font-lock-defaults. (Bug#14574)
11008
11009 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11010
11011 * replace.el (query-replace, occur-read-regexp-defaults-function)
11012 (replace-search):
11013 * subr.el (declare-function, number-sequence, local-set-key)
11014 (substitute-key-definition, locate-user-emacs-file)
11015 (with-silent-modifications, split-string, eval-after-load):
11016 Fix typos, remove unneeded backslashes and reflow some docstrings.
11017
11018 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11019
11020 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11021 default for Elisp files.
11022
11023 2013-06-11 Glenn Morris <rgm@gnu.org>
11024
11025 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11026 although define-derived-mode was doing this anyway. (Bug#14583)
11027
11028 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11029
11030 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11031 Fix make-variable-buffer-local call to refer to the correct variable.
11032
11033 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11034
11035 * eshell/em-term.el (eshell-visual-commands)
11036 (eshell-visual-subcommands, eshell-visual-options):
11037 Add summary line to docstrings. Add cross-references.
11038
11039 2013-06-10 Glenn Morris <rgm@gnu.org>
11040
11041 * epa.el (epa-read-file-name): New function. (Bug#14510)
11042 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11043
11044 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11045
11046 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11047 output redirection to be ignored with visual commands.
11048
11049 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11050
11051 * eshell/em-term.el (eshell-visual-command-p): New function.
11052 (eshell-term-initialize): Move long lambda to separate function
11053 eshell-visual-command-p.
11054 * eshell/em-dirs.el (eshell-dirs-initialize):
11055 * eshell/em-script.el (eshell-script-initialize):
11056 Add missing #' to lambda.
11057
11058 2013-06-08 Leo Liu <sdl.web@gmail.com>
11059
11060 * progmodes/octave.el (octave-add-log-current-defun): New function.
11061 (octave-mode): Set add-log-current-defun-function.
11062 (octave-goto-function-definition): Do not move point if not found.
11063 (octave-find-definition): Enhance to try subfunctions first.
11064
11065 2013-06-08 Glenn Morris <rgm@gnu.org>
11066
11067 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11068 (byte-compile-backward-char, byte-compile-backward-word):
11069 Improve previous change, to handle non-explicit nil.
11070
11071 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11074 (smie--opener/closer-at-point): New function.
11075 (smie--matching-block-data): Use it. Don't match from right after an
11076 opener or right before a closer. Obey smie-blink-matching-inners.
11077 Don't signal a mismatch for repeated inners like "switch..case..case".
11078
11079 2013-06-07 Leo Liu <sdl.web@gmail.com>
11080
11081 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11082 to t. (Bug#14303)
11083 (octave-function-header-regexp): Fix. (Bug#14570)
11084 (octave-help-mode-finish-hook, octave-help-mode-finish):
11085 Remove. Just use temp-buffer-show-hook.
11086
11087 * newcomment.el (comment-search-backward): Revert last change.
11088 (Bug#14434)
11089
11090 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11091
11092 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11093
11094 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11095 through xargs, to avoid failure due to MS-Windows limitations on
11096 command-line length.
11097
11098 2013-06-06 Glenn Morris <rgm@gnu.org>
11099
11100 * font-lock.el (lisp-font-lock-keywords-2):
11101 Treat user-error like error.
11102
11103 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11104 (byte-compile-backward-char, byte-compile-backward-word):
11105 Handle explicit nil arguments. (Bug#14565)
11106
11107 2013-06-05 Alan Mackenzie <acm@muc.de>
11108
11109 * isearch.el (isearch-allow-prefix): New user option.
11110 (isearch-other-meta-char): Don't exit isearch when a prefix
11111 argument is typed whilst `isearch-allow-prefix' is non-nil.
11112 (Bug#9706)
11113
11114 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * autorevert.el (auto-revert-notify-handler): Use memq.
11117 Hide assertion failure.
11118
11119 * skeleton.el: Use cl-lib.
11120 (skeleton-further-elements): Use defvar-local.
11121 (skeleton-insert): Use cl-progv.
11122
11123 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11124
11125 * progmodes/prog-mode.el (prog-prettify-symbols)
11126 (prog-prettify-install): Update docstrings.
11127
11128 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11129
11130 * simple.el: Move all the prog-mode code to prog-mode.el.
11131 * progmodes/prog-mode.el: New file.
11132 * loadup.el: Add prog-mode.el.
11133
11134 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11135
11136 * simple.el (prog-prettify-symbols): Add version.
11137 (prog-prettify-install): Add convenience function to prettify symbols.
11138
11139 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11140 (perl--augmented-font-lock-keywords-1)
11141 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11142 variables and use it.
11143
11144 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11145 (cfengine3-mode): Remove unneeded variable and use it.
11146
11147 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11148 (lisp--augmented-font-lock-keywords-1)
11149 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11150 Remove unneeded variables and use it.
11151
11152 2013-06-05 João Távora <joaotavora@gmail.com>
11153
11154 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11155 to point when opening the connection. (Bug#14380)
11156
11157 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * subr.el (load-history-regexp, load-history-filename-element)
11160 (eval-after-load, after-load-functions, do-after-load-evaluation)
11161 (eval-next-after-load, display-delayed-warnings)
11162 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11163 definition of save-match-data.
11164 (overriding-local-map): Remove accidental obsolescence declaration.
11165
11166 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11167
11168 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11169
11170 Generalize symbol prettify support to prog-mode and implement it
11171 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11172 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11173 (prog--prettify-font-lock-compose-symbol)
11174 (prog-prettify-font-lock-symbols-keywords): New variables and
11175 functions to support symbol prettification.
11176 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11177 (lisp--augmented-font-lock-keywords-1)
11178 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11179 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11180 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11181 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11182 Implement prettify of -> => :: strings.
11183 * progmodes/perl-mode.el (perl-prettify-symbols)
11184 (perl--font-lock-compose-symbol)
11185 (perl--font-lock-symbols-keywords): Move to prog-mode.
11186 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11187 (perl-font-lock-keywords-1)
11188 (perl-font-lock-keywords-2): Remove explicit prettify support.
11189 (perl--augmented-font-lock-keywords)
11190 (perl--augmented-font-lock-keywords-1)
11191 (perl--augmented-font-lock-keywords-2, perl-mode):
11192 Implement prettify support.
11193
11194 2013-06-05 Leo Liu <sdl.web@gmail.com>
11195
11196 Re-implement SMIE matching block highlight using
11197 show-paren-data-function. (Bug#14395)
11198 * emacs-lisp/smie.el (smie-matching-block-highlight)
11199 (smie--highlight-matching-block-overlay)
11200 (smie--highlight-matching-block-lastpos)
11201 (smie-highlight-matching-block)
11202 (smie-highlight-matching-block-mode): Remove.
11203 (smie--matching-block-data-cache): New variable.
11204 (smie--matching-block-data): New function.
11205 (smie-setup): Use smie--matching-block-data for
11206 show-paren-data-function.
11207
11208 * progmodes/octave.el (octave-mode-menu): Fix.
11209 (octave-find-definition): Skip garbage lines.
11210
11211 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11212
11213 Fix compilation error with simultaneous dynamic+lexical scoping.
11214 Add warning when a defvar appears after the first let-binding.
11215 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11216 (byte-compile-close-variables): Initialize it.
11217 (byte-compile--declare-var): New function.
11218 (byte-compile-file-form-defvar)
11219 (byte-compile-file-form-define-abbrev-table)
11220 (byte-compile-file-form-custom-declare-variable): Use it.
11221 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11222 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11223 (byte-compile-bind): Handle dynamic bindings that shadow
11224 lexical bindings.
11225 (byte-compile-unbind): Make arg non-optional.
11226 (byte-compile-let): Simplify.
11227 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11228 (cconv--analyse-function, cconv-analyse-form): Populate it.
11229 Protect byte-compile-bound-variables to limit the scope of defvars.
11230 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11231 Remove unneeded rule for `declare'.
11232
11233 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11234 so as to avoid depending on cl-adjoin at run-time.
11235 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11236
11237 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11238 (macroexp--warn-and-return): Use it.
11239
11240 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11241
11242 * subr.el: Convert to lexical binding.
11243 (overriding-local-map): Make obsolete.
11244 (add-to-list): Doc fix. Add compiler macro.
11245 (read-key): Swap values of local maps.
11246
11247 2013-06-05 Leo Liu <sdl.web@gmail.com>
11248
11249 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11250
11251 2013-06-04 Leo Liu <sdl.web@gmail.com>
11252
11253 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11254 (compilation-auto-jump): Suppress the "Mark set" message to give
11255 way to exit message.
11256
11257 2013-06-04 Alan Mackenzie <acm@muc.de>
11258
11259 Remove faulty optimisation from indentation calculation.
11260 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11261 search limit based on 2000 characters back from indent-point.
11262
11263 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11264
11265 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11266
11267 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * emacs-lisp/lisp.el: Use lexical-binding.
11270 (lisp--local-variables-1, lisp--local-variables): New functions.
11271 (lisp--local-variables-completion-table): New var.
11272 (lisp-completion-at-point): Use it complete let-bound vars.
11273
11274 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11275 eagerly (bug#14422).
11276
11277 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11278
11279 * autorevert.el (auto-revert-notify-enabled)
11280 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11281 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11282 (auto-revert-notify-handler): Handle also gfilenotify.
11283
11284 * subr.el (file-notify-handle-event): New defun. Replacing ...
11285 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11286 Remove.
11287
11288 2013-06-03 Juri Linkov <juri@jurta.org>
11289
11290 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11291 `M-s h .'. (Bug#14427)
11292
11293 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11294 command `hi-lock-face-symbol-at-point'.
11295 (hi-lock-face-symbol-at-point): New command.
11296 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11297 (hi-lock-menu): Add `highlight-symbol-at-point'.
11298 (hi-lock-mode): Doc fix.
11299
11300 * isearch.el (isearch-forward-symbol-at-point): New command.
11301 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11302 (isearch-highlight-regexp): Add a regexp which matches
11303 words/symbols for word/symbol mode.
11304
11305 * subr.el (find-tag-default-bounds): New function with the body
11306 mostly moved from `find-tag-default'.
11307 (find-tag-default): Move most code to `find-tag-default-bounds',
11308 call it and apply `buffer-substring-no-properties' afterwards.
11309
11310 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11311
11312 * eshell/em-term.el (eshell-term-initialize):
11313 Use `cl-intersection' rather than `intersection'.
11314
11315 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11316
11317 * vc/log-view.el: Doc fix.
11318 (log-view-mode-map): Copy keymap from `special-mode-map'.
11319
11320 2013-06-02 Eric Ludlam <zappo@gnu.org>
11321
11322 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11323 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11324 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11325 (eieio-unbound, eieio-default-superclass)
11326 (eieio--define-field-accessors, method-static, method-before)
11327 (method-primary, method-after, method-num-lists)
11328 (method-generic-before, method-generic-primary)
11329 (method-generic-after, method-num-slots)
11330 (eieio-specialized-key-to-generic-key)
11331 (eieio--check-type, class-v, class-p)
11332 (eieio-class-name, define-obsolete-function-alias)
11333 (eieio-class-parents-fast, eieio-class-children-fast)
11334 (same-class-fast-p, class-constructor, generic-p)
11335 (generic-primary-only-p, generic-primary-only-one-p)
11336 (class-option-assoc, class-option, eieio-object-p)
11337 (class-abstract-p, class-method-invocation-order)
11338 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11339 (eieio-class-un-autoload, eieio-defclass)
11340 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11341 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11342 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11343 (eieio-defgeneric-reset-generic-form)
11344 (eieio-defgeneric-form-primary-only)
11345 (eieio-defgeneric-reset-generic-form-primary-only)
11346 (eieio-defgeneric-form-primary-only-one)
11347 (eieio-defgeneric-reset-generic-form-primary-only-one)
11348 (eieio-unbind-method-implementations)
11349 (eieio--defmethod, eieio--typep)
11350 (eieio-perform-slot-validation, eieio-validate-slot-value)
11351 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11352 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11353 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11354 (eieio-slot-name-index, eieio-class-slot-name-index)
11355 (eieio-set-defaults, eieio-initarg-to-attribute)
11356 (eieio-attribute-to-initarg, eieio-c3-candidate)
11357 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11358 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11359 (eieio-class-precedence-list, eieio-generic-call-methodname)
11360 (eieio-generic-call-arglst, eieio-generic-call-key)
11361 (eieio-generic-call-next-method-list)
11362 (eieio-pre-method-execution-functions, eieio-generic-call)
11363 (eieio-generic-call-primary-only, eieiomt-method-list)
11364 (eieiomt-optimizing-obarray, eieiomt-install)
11365 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11366 (eieio-generic-form, eieio-defmethod, make-obsolete)
11367 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11368 (defclass): Remove `eval-and-compile' from macro.
11369 (call-next-method, shared-initialize): Instead of using
11370 `scoped-class' variable, use new eieio--scoped-class, and
11371 eieio--with-scoped-class.
11372 (initialize-instance): Rename local variable 'scoped-class' to
11373 'this-class' to remove ambiguitity from old global.
11374
11375 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11376 eieio.el.
11377 (eieio--scoped-class-stack): New variable.
11378 (eieio--scoped-class): New fcn.
11379 (eieio--with-scoped-class): New scoping macro.
11380 (eieio-defclass): Use pushnew instead of add-to-list.
11381 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11382 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11383 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11384 `scoped-class' variable, use new eieio--scoped-class, and
11385 eieio--with-scoped-class.
11386
11387 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11388
11389 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11390
11391 * eshell/esh-ext.el (eshell-external-command): Pass args to
11392 `eshell-find-interpreter'.
11393 (eshell-find-interpreter): Add new second parameter ARGS.
11394
11395 * eshell/em-script.el (eshell-script-initialize): Add second arg
11396 to the function added as MATCH to `eshell-interpreter-alist'.
11397
11398 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11399 the function added as MATCH to `eshell-interpreter-alist'.
11400
11401 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11402 (eshell-visual-options): New defcustom.
11403 (eshell-escape-control-x): Adapt docstring.
11404 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11405 `eshell-visual-options' in addition to `eshell-visual-commands'.
11406 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11407
11408 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11409
11410 * progmodes/python.el (python-indent-block-enders): Add break,
11411 continue and raise keywords.
11412
11413 2013-06-01 Glenn Morris <rgm@gnu.org>
11414
11415 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11416
11417 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11418 * progmodes/cc-cmds.el (delete-forward-p):
11419 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11420 * progmodes/cc-engine.el (buffer-syntactic-context):
11421 * progmodes/cc-fonts.el (face-property-instance):
11422 * progmodes/cc-mode.el (set-keymap-parents):
11423 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11424 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11425 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11426 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11427 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11428
11429 * progmodes/cc-vars.el (other): Emacs has this widget since
11430 at least 21.1, so don't (re)define it.
11431
11432 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11433 Replace the obsolete alias pcomplete-arg-quote-list.
11434
11435 2013-06-01 Leo Liu <sdl.web@gmail.com>
11436
11437 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11438 punctuation syntax.
11439 (inferior-octave-minimal-columns)
11440 (inferior-octave-last-column-width): New variables.
11441 (inferior-octave-track-window-width-change): New function.
11442 (inferior-octave-mode): Adjust column width so that Octave output,
11443 for example from 'ls', can fit into the window nicely.
11444
11445 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11446
11447 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11448 Highlight expansions inside regexp literals.
11449
11450 2013-05-31 Glenn Morris <rgm@gnu.org>
11451
11452 * obsolete/sym-comp.el (symbol-complete):
11453 Replace obsolete completion-annotate-function.
11454
11455 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11456
11457 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11458
11459 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11460 New function, checks if point is inside a literal that allows
11461 expression expansion.
11462 (ruby-syntax-propertize-expansion): Use it.
11463 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11464 around the body.
11465
11466 2013-05-30 Juri Linkov <juri@jurta.org>
11467
11468 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11469 to "\M-si".
11470 (isearch-invisible): New variable.
11471 (isearch-forward): Doc fix.
11472 (isearch-mode): Set `isearch-invisible'
11473 to the value of `search-invisible'.
11474 (isearch-toggle-case-fold): Doc fix.
11475 (isearch-toggle-invisible): New command.
11476 (isearch-query-replace): Let-bind `search-invisible'
11477 to the value of `isearch-invisible'.
11478 (isearch-search): Use `isearch-invisible' instead of
11479 `search-invisible'. Let-bind `search-invisible'
11480 to the value of `isearch-invisible'. (Bug#11378)
11481
11482 2013-05-30 Juri Linkov <juri@jurta.org>
11483
11484 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11485 call when `query-flag' is nil and `search-invisible' is non-nil.
11486 (Bug#11746)
11487
11488 2013-05-30 Glenn Morris <rgm@gnu.org>
11489
11490 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11491
11492 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11493 (cc-require): Suppress spurious "noruntime" warnings.
11494 (cc-require-when-compile): Use fboundp, for sake of compiler.
11495
11496 * progmodes/cc-mode.el: Move load of cc-vars before that of
11497 cc-langs (which in turn loads cc-vars), to quieten compiler.
11498
11499 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * paren.el: Simplify the code.
11502 (show-paren-mode): Always start the timer.
11503 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11504 (show-paren--overlay, show-paren--overlay-1): Rename from
11505 show-paren-overlay and show-paren-overlay-1, and initialize to an
11506 overlay rather than to nil.
11507 (show-paren-function): Misc cleanup and simplifications.
11508
11509 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11510
11511 * paren.el (show-paren-data-function): New hook.
11512 (show-paren--default): New function, extracted from show-paren-function.
11513 (show-paren-function): Use show-paren-data-function.
11514
11515 2013-05-30 Glenn Morris <rgm@gnu.org>
11516
11517 * ielm.el (ielm-map, ielm-complete-symbol):
11518 Use completion-at-point rather than obsolete functions.
11519 (inferior-emacs-lisp-mode): Doc fix.
11520 Set completion-at-point-functions, rather than
11521 comint-dynamic-complete-functions.
11522
11523 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11524 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11525 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11526
11527 * image.el (image-animated-p): Tweak definition.
11528
11529 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11530 (rlogin-process-connection-type): Tweak default. Add set-after.
11531 (rlogin-host): Doc fix.
11532 (rlogin): Tweak prompt.
11533 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11534
11535 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11536 * progmodes/tcl.el (inferior-tcl-mode-map):
11537 Use completion-at-point rather than obsolete alias.
11538
11539 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11540
11541 * minibuffer.el (read-file-name-completion-ignore-case):
11542 Move before completion--in-region, for eager macro expansion.
11543
11544 2013-05-29 Juri Linkov <juri@jurta.org>
11545
11546 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11547 for total count of matching lines. Add `global-matches' for total
11548 count of matches. Rename `matches' to `lines' for count of
11549 matching lines. Add `matches' for count of matches.
11550 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11551 to `prev-line' for line number of prev match endpt.
11552 Increment `matches' for every match. Print the number of
11553 matching lines in the header.
11554 (occur-context-lines): Rename `lines' to `curr-line'.
11555 Rename `prev-lines' to `prev-line'. (Bug#14017)
11556
11557 2013-05-29 Juri Linkov <juri@jurta.org>
11558
11559 * replace.el (perform-replace): Add `skip-read-only-count',
11560 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11561 Increment them for corresponding conditions and report the number
11562 of skipped occurrences in the final message. (Bug#11746)
11563 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11564 (replace-string, replace-regexp): Doc fix.
11565
11566 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11569
11570 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11571 prog-mode-map (bug#14504).
11572
11573 2013-05-29 Leo Liu <sdl.web@gmail.com>
11574
11575 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11576 (octave-help): Small simplification.
11577
11578 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11579 off the highlight first.
11580
11581 2013-05-29 Glenn Morris <rgm@gnu.org>
11582
11583 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11584 Handle idlwave-last-system-routine-info-cons-cell being nil.
11585
11586 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11587 (idlwave-write-paths): Simplify via with-temp-buffer.
11588
11589 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11590 * emulation/cua-rect.el: Also load cua-base at run time.
11591
11592 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11593 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11594 (cperl-imenu-on-info): Require imenu.
11595
11596 2013-05-28 Alan Mackenzie <acm@muc.de>
11597
11598 Handle "capitalised keywords" correctly.
11599 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11600
11601 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11602
11603 * eshell/em-unix.el: Add -r option to cp.
11604
11605 2013-05-28 Glenn Morris <rgm@gnu.org>
11606
11607 * vc/vc-arch.el (vc-exec-after): Declare.
11608 (vc-switches): Autoload.
11609 * vc/vc-bzr.el: No need to require vc when compiling.
11610 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11611 (vc-resynch-buffer, vc-dir-refresh): Declare.
11612 (vc-setup-buffer, vc-switches): Autoload.
11613 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11614 (vc-resynch-buffer): Declare.
11615 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11616 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11617 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11618 (grep-read-regexp, grep-read-files, grep-expand-template)
11619 (vc-dir-refresh): Declare.
11620 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11621 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11622 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11623 * vc/vc-mtn.el (vc-exec-after): Declare.
11624 (vc-switches): Autoload.
11625 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11626 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11627 (vc-file-tree-walk): Declare.
11628 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11629 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11630 (vc-tag-precondition, vc-rename-master): Autoload.
11631 * vc/vc-svn.el (vc-exec-after): Declare.
11632 (vc-switches, vc-setup-buffer): Autoload.
11633 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11634 Autoload.
11635 (vc-resynch-buffer): Declare.
11636
11637 * obsolete/fast-lock.el (byte-compile-warnings):
11638 Don't warn about obsolete features in this obsolete file.
11639
11640 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11641 Move definition before use.
11642
11643 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11644 (dun-unix-verbs): Remove dun-zippy.
11645 (dun-zippy): Remove function.
11646
11647 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11648
11649 2013-05-27 Juri Linkov <juri@jurta.org>
11650
11651 * replace.el (replace-search): New function with code moved out
11652 from `perform-replace'.
11653 (replace-highlight, replace-dehighlight): Move function definitions
11654 up closer to `replace-search'. (Bug#11746)
11655
11656 2013-05-27 Juri Linkov <juri@jurta.org>
11657
11658 * replace.el (perform-replace): Ignore invisible matches.
11659 In addition to checking `query-replace-skip-read-only', also
11660 filter out matches by calling `run-hook-with-args-until-failure'
11661 on `isearch-filter-predicates', and also check `search-invisible'
11662 for t or call `isearch-range-invisible'.
11663 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11664
11665 2013-05-27 Juri Linkov <juri@jurta.org>
11666
11667 * isearch.el (isearch-filter-predicates): Rename from
11668 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11669 (isearch-message-prefix): Display text from the property
11670 `isearch-message-prefix' of the currently active filters.
11671 (isearch-search): Don't compare `isearch-filter-predicate' with
11672 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11673 on `isearch-filter-predicates'. Also check `search-invisible' for t
11674 or call `isearch-range-invisible'.
11675 (isearch-filter-visible): Make obsolete.
11676 (isearch-lazy-highlight-search):
11677 Call `run-hook-with-args-until-failure' on
11678 `isearch-filter-predicates' and use `isearch-range-invisible'.
11679
11680 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11681 `isearch-filter-predicates' instead of `funcall'ing
11682 `isearch-filter-predicate'.
11683 (Info-mode): Set `Info-isearch-filter' to
11684 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11685
11686 * dired-aux.el (dired-isearch-filter-predicate-orig):
11687 Remove variable.
11688 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11689 (dired-isearch-filenames-end): Add and remove
11690 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11691 instead of changing the value of `isearch-filter-predicate'.
11692 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11693 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11694 Put property `isearch-message-prefix' to "filename " on
11695 `dired-isearch-filter-filenames'.
11696
11697 * wdired.el (wdired-change-to-wdired-mode):
11698 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11699 locally instead of changing `isearch-filter-predicate'.
11700 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11701
11702 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11703
11704 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11705 return the commit hash (Bug#14459). Also set the
11706 `vc-git-detached' property.
11707 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11708 (vc-git-mode-line-string): Use the same help-echo format whether
11709 in detached mode or not, because we know the actual revision now.
11710 When in detached mode, shorten the revision to 7 chars.
11711
11712 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 * emacs-lisp/easy-mmode.el (define-minor-mode):
11715 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11716 mode hook and provide a docstring.
11717
11718 2013-05-27 Alan Mackenzie <acm@muc.de>
11719
11720 Remove spurious syntax-table text properties inserted by C-y.
11721 * progmodes/cc-mode.el (c-after-change): Also clear hard
11722 syntax-table property with value nil.
11723
11724 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11725
11726 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11727 when reading the events; the buffer layout shall not be changed.
11728
11729 2013-05-27 Leo Liu <sdl.web@gmail.com>
11730
11731 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11732 New variable.
11733 (inferior-octave-directory-tracker): Automatically re-sync
11734 default-directory.
11735 (octave-help): Improve handling of 'See also'.
11736
11737 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11738
11739 * doc-view.el: Minor naming convention tweaks.
11740 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11741
11742 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11743 even if there's no `display' property yet (bug#14435).
11744
11745 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11746
11747 * subr.el (unmsys--file-name): Rename from reveal-filename.
11748
11749 * Makefile.in (custom-deps, finder-data, autoloads)
11750 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11751 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11752 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11753
11754 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11757 error-completion on the first 2 args of condition-case (bug#14446).
11758 Don't burp at EOB.
11759
11760 2013-05-25 Leo Liu <sdl.web@gmail.com>
11761
11762 * comint.el (comint-previous-matching-input): Do not flood the
11763 *Messages* buffer with trivial messages.
11764
11765 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11766
11767 * progmodes/flymake.el (flymake-nop): Don't return a string.
11768 (flymake-set-at): Fix typo.
11769
11770 * simple.el (read--expression): New function, extracted from
11771 eval-expression. Set completion-at-point-functions (bug#14465).
11772 (eval-expression, eval-minibuffer): Use it.
11773
11774 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11775
11776 * progmodes/flymake.el (flymake-save-buffer-in-file)
11777 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11778 (flymake-selected-frame, flymake-log, flymake-ins-after)
11779 (flymake-set-at, flymake-get-buildfile-from-cache)
11780 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11781 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11782 Refine the doc string.
11783 (flymake-get-file-name-mode-and-masks): Reformat.
11784 (flymake-get-real-file-name-function): Fix a minor bug.
11785
11786 2013-05-24 Juri Linkov <juri@jurta.org>
11787
11788 * progmodes/grep.el (grep-mode-font-lock-keywords):
11789 Support =linenumber= format used by git-grep for lines with
11790 function names. (Bug#13549)
11791
11792 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11795 0 after a semi-colon; it works better for smie-auto-fill.
11796 (octave--indent-new-comment-line): New function.
11797 (octave-indent-new-comment-line): Use it (indirectly).
11798 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11799 modify comment-line-break-function.
11800
11801 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11802 (smie-setup): Use add-function to set it.
11803
11804 2013-05-24 Sam Steingold <sds@gnu.org>
11805
11806 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11807 argument (before the `interactive' argument).
11808
11809 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * image-mode.el (image-mode-winprops): Add winprops to
11812 image-mode-winprops-alist before running
11813 image-mode-new-window-functions.
11814 * doc-view.el (doc-view-new-window-function): Don't delay
11815 doc-view-goto-page via timers (bug#14435).
11816
11817 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11818
11819 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11820 (doc-view-desktop-save-buffer): New function.
11821 (doc-view-restore-desktop-buffer): New function.
11822 (desktop-buffer-mode-handlers):
11823 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11824 handler.
11825 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11826 `desktop-save-buffer' function.
11827
11828 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11829
11830 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11831 (tramp-gvfs-file-name-handler): Raise a user error when
11832 `tramp-gvfs-enabled' is nil.
11833 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11834 Do not raise a user error when loading package. (Bug#14447)
11835
11836 * net/xesam.el: Move to obsolete/.
11837
11838 2013-05-24 Glenn Morris <rgm@gnu.org>
11839
11840 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11841
11842 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11843
11844 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11845 (Info-find-node, Man-getpage-in-background): Declare.
11846
11847 * mail/unrmail.el (unrmail):
11848 Replace obsolete detect-coding-with-priority.
11849
11850 * net/socks.el (socks-split-string): Use this rather than split-string.
11851 (socks-nslookup-host): Update for above change.
11852 (dynamic-choice, s5-dynamic-choice-match)
11853 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11854 Comment out unused code.
11855
11856 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11857 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11858 (gud-tooltip-echo-area): Make obsolete.
11859 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11860
11861 * progmodes/js.el (js--optimize-arglist): Declare.
11862
11863 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11864
11865 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11866 (ediff-window-C): Declare.
11867
11868 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11869 Tweak requires to silence compiler.
11870
11871 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11872 (he-search-string, he-tried-table, he-expand-list)
11873 (he-init-string, he-string-member, he-substitute-string)
11874 (he-reset-string): Declare.
11875
11876 * obsolete/options.el (list-options): Use custom-variable-p,
11877 rather than obsolete alias.
11878
11879 2013-05-23 Sam Steingold <sds@gnu.org>
11880
11881 * simple.el (shell-command-on-region): Pass the `replace' argument
11882 down to `call-process-region' to comply with the doc as reported on
11883 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11884
11885 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * emacs-lisp/smie.el (smie-indent-forward-token)
11888 (smie-indent-backward-token): Handle string tokens (bug#14381).
11889
11890 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11891
11892 * ielm.el (ielm-menu): New menu.
11893 (inferior-emacs-lisp-mode): Set comment-start.
11894
11895 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11896
11897 * textmodes/reftex.el (reftex-ref-style-toggle):
11898 Fix deactivate action.
11899
11900 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11901 Add cleveref macros.
11902
11903 * textmodes/reftex-parse.el
11904 (reftex-locate-bibliography-files): Accept options for
11905 bibliography commands.
11906 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11907 Add addbibresource. Basic Biblatex support.
11908
11909 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11910
11911 * net/tramp-gvfs.el (top):
11912 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11913 when loading package. (Bug#14447)
11914
11915 2013-05-23 Glenn Morris <rgm@gnu.org>
11916
11917 * progmodes/js.el: No need to load comint when compiling.
11918 (ring-insert, comint-send-string, comint-send-input)
11919 (comint-last-input-end, ido-chop): Declare.
11920
11921 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11922 * vc/ediff-mult.el: Adjust requires.
11923 (ediff-directories-internal, ediff-directory-revisions-internal)
11924 (ediff-patch-file-internal): Declare.
11925 * vc/ediff-ptch.el: Adjust requires.
11926 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11927 (ediff-find-file): Autoload.
11928 * vc/ediff-util.el: No need to load ediff when compiling.
11929 (ediff-regions-internal): Declare.
11930 * vc/ediff-wind.el: Adjust requires.
11931 (ediff-compute-toolbar-width): Define when compiling.
11932 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11933 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11934 (dired-get-filename, dired-get-marked-files)
11935 (ediff-last-dir-patch, ediff-patch-default-directory)
11936 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11937 (ediff-patch-buffer-internal): Declare.
11938
11939 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11940 (ispell-process, ispell-buffer-local-words, lm-summary)
11941 (lm-section-start, lm-section-end): Declare.
11942 (checkdoc-ispell-init): Simplify.
11943
11944 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11945 (he-string-member, he-reset-string, he-substitute-string): Declare.
11946
11947 * eshell/em-ls.el: Adjust requires.
11948 (eshell-glob-regexp): Declare.
11949 * eshell/em-tramp.el: Adjust requires.
11950 (eshell-parse-command): Autoload.
11951 * eshell/em-xtra.el: Adjust requires.
11952 (eshell-parse-command): Autoload.
11953 * eshell/esh-ext.el: Adjust requires.
11954 (eshell-parse-command, eshell-close-handles): Autoload.
11955 * eshell/esh-io.el: Adjust requires.
11956 (eshell-output-filter): Autoload.
11957 * eshell/esh-util.el: No need to load tramp when compiling.
11958 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11959 Declare.
11960 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11961 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11962 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11963 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11964 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11965 * eshell/esh-opt.el, eshell/esh-proc.el:
11966 * eshell/esh-var.el: Adjust requires.
11967 * eshell/eshell.el: Do not require esh-util twice.
11968 (eshell-add-input-to-history): Declare.
11969 (eshell-command): Check history module is active before using it.
11970
11971 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11972
11973 2013-05-22 Leo Liu <sdl.web@gmail.com>
11974
11975 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11976
11977 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11978
11979 * autorevert.el (auto-revert-notify-add-watch)
11980 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11981 it indicates changes in file modification time.
11982
11983 2013-05-22 Glenn Morris <rgm@gnu.org>
11984
11985 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11986 Always delete the autoloaded function from the noruntime and
11987 unresolved functions lists.
11988
11989 * allout.el: No need to load epa, epg, overlay when compiling.
11990 (epg-context-set-passphrase-callback, epg-list-keys)
11991 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11992 (epg-key-user-id-list): Declare.
11993
11994 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11995 (viper-set-parsing-style-toggling-macro)
11996 (viper-set-emacs-state-searchstyle-macros):
11997 Use called-interactively-p on Emacs.
11998 (viper-looking-back): Make it an obsolete alias. Update callers.
11999 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12000 Use looking-back rather than viper-looking-back.
12001 (viper-tmp-insert-at-eob, viper-enlarge-region)
12002 (viper-read-string-with-history, viper-register-to-point)
12003 (viper-append-to-register, viper-change-state-to-vi)
12004 (viper-backward-char-carefully, viper-forward-char-carefully)
12005 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12006 (viper-change-state-to-emacs): Declare.
12007 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12008 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12009 * emulation/viper-mous.el: Do not load viper-cmd.
12010 (viper-backward-char-carefully, viper-forward-char-carefully)
12011 (viper-forward-word, viper-adjust-window): Declare.
12012
12013 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12014
12015 * progmodes/idlw-help.el (idlwave-help-fontify):
12016 Use called-interactively-p.
12017
12018 * term/w32console.el (w32-get-console-codepage)
12019 (w32-get-console-output-codepage): Declare.
12020
12021 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12022 Remove unnecessary declarations.
12023 (dframe-message): Doc fix.
12024
12025 * info.el (dframe-select-attached-frame, dframe-current-frame):
12026 Declare.
12027
12028 * speedbar.el (speedbar-message): Make it an obsolete alias.
12029 Update all callers.
12030 (speedbar-with-attached-buffer)
12031 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12032 (speedbar-with-writable): Use backquote.
12033 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12034 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12035 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12036 rather than speedbar- aliases.
12037 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12038 (speedbar-make-specialized-keymap, speedbar-insert-button)
12039 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12040 (speedbar-do-function-pointer): Declare.
12041 (rmail-speedbar-button, rmail-speedbar-find-file)
12042 (rmail-speedbar-move-message):
12043 Use dframe-with-attached-buffer rather than speedbar- alias.
12044 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12045 (dframe-message, speedbar-make-specialized-keymap)
12046 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12047 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12048 (speedbar-insert-button, dframe-select-attached-frame)
12049 (dframe-maybee-jump-to-attached-frame)
12050 (speedbar-change-initial-expansion-list)
12051 (speedbar-previously-used-expansion-list-name): Declare.
12052 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12053 Use dframe-message, dframe-with-attached-buffer rather than
12054 speedbar- aliases.
12055 (gud-sentinel): Silence compiler.
12056 * progmodes/vhdl-mode.el (speedbar-refresh)
12057 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12058 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12059 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12060 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12061 (speedbar-file-lists, speedbar-make-tag-line)
12062 (speedbar-line-directory, speedbar-goto-this-file)
12063 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12064 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12065 (speedbar-make-button, speedbar-reset-scanners)
12066 (speedbar-files-item-info, speedbar-line-text)
12067 (speedbar-find-file-in-frame, speedbar-set-timer)
12068 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12069 (speedbar-with-writable): Do not (re)define it.
12070 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12071 rather than speedbar- alias.
12072
12073 2013-05-21 Leo Liu <sdl.web@gmail.com>
12074
12075 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12076 menu items.
12077 (octave-mode): Tweak fill-nobreak-predicate.
12078 (inferior-octave-startup): Check process to avoid infinite loop.
12079 (inferior-octave): Pop to buffer first to show abornmal process
12080 exit information.
12081
12082 2013-05-21 Glenn Morris <rgm@gnu.org>
12083
12084 * printing.el (pr-menu-bar): Define when compiling.
12085
12086 2013-05-21 Leo Liu <sdl.web@gmail.com>
12087
12088 * progmodes/octave.el (octave-auto-fill): Remove.
12089 (octave-indent-new-comment-line): Improve.
12090 (octave-mode): Use auto fill mode through
12091 comment-line-break-function and fill-nobreak-predicate.
12092 (octave-goto-function-definition): Support DEFUN_DLD.
12093 (octave-beginning-of-defun): Small tweak.
12094 (octave-help): Show parent directory.
12095
12096 2013-05-21 Glenn Morris <rgm@gnu.org>
12097
12098 * files.el (dired-unmark):
12099 * progmodes/gud.el (gdb-input): Update declarations.
12100
12101 * calculator.el (electric, ehelp): No need to load when compiling.
12102 (Electric-command-loop, electric-describe-mode): Declare.
12103
12104 * doc-view.el (doc-view-current-converter-processes): Move before use.
12105
12106 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12107 Move MODE-set-explicitly definition before use.
12108
12109 * international/mule-diag.el (mule-diag):
12110 Don't use obsolete window-system-version.
12111
12112 * mail/feedmail.el (smtpmail): No need to load when compiling.
12113 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12114
12115 * mail/mail-utils.el (rfc822): No need to load when compiling.
12116 (rfc822-addresses): Autoload it.
12117 (mail-strip-quoted-names): Trivial simplification.
12118
12119 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12120 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12121
12122 * net/snmp-mode.el (tempo): Don't duplicate requires.
12123
12124 * progmodes/prolog.el (info): No need to load when compiling.
12125 (comint): Require before shell requires it.
12126 (Info-goto-node): Autoload it.
12127 (Info-follow-nearest-node): Declare.
12128 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12129
12130 * textmodes/artist.el (picture-mode-exit): Declare.
12131
12132 * textmodes/reftex-parse.el (reftex-parse-from-file):
12133 Trivial rewrite so the compiler can parse it better.
12134
12135 2013-05-20 Leo Liu <sdl.web@gmail.com>
12136
12137 * progmodes/octave.el (octave-help-mode-map)
12138 (octave-help-mode-finish-hook): New variables.
12139 (octave-help-mode, octave-help-mode-finish): New functions.
12140 (octave-help): Use octave-help-mode.
12141
12142 2013-05-20 Glenn Morris <rgm@gnu.org>
12143
12144 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12145
12146 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12147
12148 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12149 start at point, so that expansion starting right after opening
12150 slash in a regexp is recognized.
12151 (ruby-syntax-before-regexp-re): New defvar, extracted from
12152 ruby-syntax-propertize-function. Since the value of this regexp
12153 is looked up at runtime now, we should be able to turn
12154 `ruby-syntax-methods-before-regexp' into a defcustom later.
12155 (ruby-syntax-propertize-function): Split regexp matching into two
12156 parts, for opening and closing slashes. That allows us to skip
12157 over string interpolations and support multiline regexps.
12158 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12159 for them, which calls `ruby-syntax-propertize-expansion'.
12160 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12161 call to `ruby-syntax-propertize-function'.
12162 (ruby-syntax-propertize-expansion): Extracted from
12163 `ruby-syntax-propertize-expansions'. Handles one expansion.
12164 (ruby-syntax-propertize-percent-literal): Leave point right after
12165 the percent symbol, so that the expression expansion rule can
12166 propertize the contents.
12167 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12168 heredoc openers.
12169 (ruby-syntax-propertize-expansions): Remove.
12170
12171 2013-05-18 Juri Linkov <juri@jurta.org>
12172
12173 * man.el (Man-default-man-entry): Remove `-' from the end
12174 of the default value. (Bug#14400)
12175
12176 2013-05-18 Glenn Morris <rgm@gnu.org>
12177
12178 * comint.el (comint-password-prompt-regexp):
12179 Allow "password for XXX" where XXX contains colons (eg https://...).
12180
12181 2013-05-18 Leo Liu <sdl.web@gmail.com>
12182
12183 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12184 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12185 (octave-source-directories): Don't check process.
12186 (octave-source-directories, octave-find-definition): Doc fix.
12187
12188 2013-05-18 Glenn Morris <rgm@gnu.org>
12189
12190 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12191 Remove backspace/delete bindings. (Bug#14392)
12192
12193 * cus-dep.el (custom-make-dependencies): Sort the output.
12194 (custom-versions-load-alist): Convert comment to doc.
12195
12196 2013-05-17 Leo Liu <sdl.web@gmail.com>
12197
12198 * newcomment.el (comment-search-backward): Stricter in finding
12199 comment start. (Bug#14303)
12200
12201 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12202 (octave-comment-start-skip): Properly anchored.
12203
12204 2013-05-17 Leo Liu <sdl.web@gmail.com>
12205
12206 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12207 Clean up when turned off. (Bug#14395)
12208 (smie--highlight-matching-block-overlay): No longer buffer-local.
12209 (smie-highlight-matching-block): Adjust.
12210
12211 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12212
12213 Doc string fix for "nanoseconds" (Bug#14406).
12214 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12215 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12216
12217 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12218
12219 * calc/calc-units.el (math-extract-units): Preserve powers
12220 of units.
12221
12222 2013-05-17 Leo Liu <sdl.web@gmail.com>
12223
12224 * subr.el (delete-consecutive-dups): New function.
12225 * ido.el (ido-set-matches-1): Use it.
12226 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12227 * ido.el (ido-remove-consecutive-dups): Remove.
12228
12229 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12230
12231 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12232 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12233 regexp-opt's `words'.
12234
12235 2013-05-16 Leo Liu <sdl.web@gmail.com>
12236
12237 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12238 (smie--highlight-matching-block-overlay)
12239 (smie--highlight-matching-block-lastpos)
12240 (smie--highlight-matching-block-timer): New variables.
12241 (smie-highlight-matching-block): New function.
12242 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12243 (smie-setup): Conditionally enable smie-blink-matching-open.
12244
12245 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12246
12247 Sync with upstream verilog-mode r840.
12248 * progmodes/verilog-mode.el (verilog-mode-version)
12249 (verilog-mode-release-date): Update.
12250 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12251 (verilog-sig-tieoff): Fix string error on
12252 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12253 (verilog-read-decls): Fix parameters confusing
12254 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12255
12256 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12257
12258 * subr.el (reveal-filename): New function.
12259
12260 * loadup.el: Compute Emacs executable versions on MS-Windows,
12261 where executables have the .exe extension. Add a hard link
12262 emacs-XX.YY.ZZ.exe on MS-Windows.
12263
12264 * Makefile.in (XARGS_LIMIT): New variable.
12265 (custom-deps, finder-data, autoloads)
12266 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12267 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12268 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12269 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12270
12271 2013-05-16 Leo Liu <sdl.web@gmail.com>
12272
12273 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12274 (octave-mode-menu, octave-mode-map): Remove its uses.
12275
12276 2013-05-16 Reto Zimmermann <reto@gnu.org>
12277
12278 Sync with upstream vhdl mode v3.34.2.
12279 * progmodes/vhdl-mode.el: Use `push' throughout.
12280 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12281 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12282 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12283 (vhdl-actual-generic-name): New option to derive actual generic name.
12284 (vhdl-port-paste-signals): Replace formal by actual generics.
12285 (vhdl-beautify): New name for old group vhdl-align. Update users.
12286 (vhdl-beautify-options): New option.
12287 (vhdl-last-input-event): New compat alias. Use throughout.
12288 (vhdl-goto-line): Replace user level function `goto-line'.
12289 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12290 vhdl-fix-statement-buffer.
12291 (vhdl-create-mode-menu): Add some entries.
12292 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12293 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12294 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12295 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12296 to force statements on one line.
12297 (vhdl-remove-trailing-spaces-region):
12298 New, split from vhdl-remove-trailing-spaces.
12299 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12300 Respect vhdl-beautify-options.
12301 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12302 (vhdl-update-sensitivity-list): Not add with index if exists without.
12303 Not include array index with signal. Ignore keywords in comments.
12304 (vhdl-get-visible-signals): Regexp tweaks.
12305 (vhdl-template-component-inst): Handle empty library.
12306 (vhdl-template-type): Add template for 'enum' type.
12307 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12308 Use vhdl-replace-string.
12309 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12310 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12311 (vhdl-speedbar-initialize): Update for above name change.
12312 (vhdl-compose-wire-components): Fix in handling of constants.
12313 (vhdl-error-regexp-emacs-alist): New variable.
12314 (vhdl-error-regexp-add-emacs): New function;
12315 adds support for new compile.el (Emacs 22+)
12316 (vhdl-generate-makefile-1): Change target order for single lib. units.
12317 Allow use of absolute file names.
12318
12319 2013-05-16 Leo Liu <sdl.web@gmail.com>
12320
12321 * simple.el (prog-indent-sexp): Indent enclosing defun.
12322
12323 2013-05-15 Glenn Morris <rgm@gnu.org>
12324
12325 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12326 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12327 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12328 (whitespace-highlight): Move to whitespace group.
12329
12330 * comint.el (comint-source):
12331 * pcmpl-linux.el (pcmpl-linux):
12332 * shell.el (shell-faces):
12333 * eshell/esh-opt.el (eshell-opt):
12334 * international/ccl.el (ccl): Remove empty custom groups.
12335
12336 * completion.el (dynamic-completion-mode):
12337 * jit-lock.el (jit-lock-debug-mode):
12338 * minibuffer.el (completion-in-region-mode):
12339 * type-break.el (type-break-mode-line-message-mode)
12340 (type-break-query-mode):
12341 * emulation/tpu-edt.el (tpu-edt-mode):
12342 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12343 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12344 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12345
12346 * term/xterm.el (xterm): Change parent group to terminals.
12347
12348 * master.el (master): Remove empty custom group.
12349 (master-mode): Remove unused :group argument.
12350 * textmodes/refill.el (refill): Remove empty custom group.
12351 (refill-mode): Remove unused :group argument.
12352
12353 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12354
12355 * cus-dep.el: Provide a feature.
12356 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12357 Don't mistakenly ignore files whose basenames match a basename
12358 from preloaded-file-list (eg cedet/ede/simple.el).
12359 Add a fallback method for getting :group.
12360
12361 2013-05-15 Juri Linkov <juri@jurta.org>
12362
12363 * isearch.el (isearch-char-by-name): Rename from
12364 `isearch-insert-char-by-name'. Doc fix.
12365 (isearch-forward): Mention `isearch-char-by-name' in
12366 the docstring. (Bug#13348)
12367
12368 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12369 `exit-minibuffer' instead of
12370 `isearch-nonincremental-exit-minibuffer'.
12371 (isearch-edit-string): Remove mention of
12372 `isearch-nonincremental-exit-minibuffer' from docstring.
12373 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12374 (isearch-forward-exit-minibuffer)
12375 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12376
12377 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12378
12379 * loadup.el: Just use unversioned DOC.
12380
12381 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12382 literals as extending to EOB.
12383 (nxml-last-fontify-end): Remove unused variable.
12384 (nxml-after-change1): Use with-silent-modifications.
12385 (nxml-extend-after-change-region): Simplify.
12386 (nxml-extend-after-change-region1): Remove function.
12387 (nxml-after-change1): Don't adjust for dependent regions.
12388 (nxml-fontify-matcher): Simplify.
12389 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12390 (xmltok-add-dependent): Remove function.
12391 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12392 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12393 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12394 unclosed <[[, <?, comment, and other literals as extending to EOB.
12395 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12396 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12397 Remove functions.
12398 (rng-do-some-validation-1): Don't mark dependent regions.
12399 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12400 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12401 (nxml-clear-dependent-regions): Remove functions.
12402 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12403 (nxml-ensure-scan-up-to-date):
12404 Don't clear&mark dependent regions.
12405
12406 2013-05-15 Leo Liu <sdl.web@gmail.com>
12407
12408 * progmodes/octave.el (octave-goto-function-definition):
12409 Improve and fix callers.
12410
12411 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12414 the setter (bug#14387).
12415
12416 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12417 surrounding group (bug#14402).
12418
12419 2013-05-14 Juri Linkov <juri@jurta.org>
12420
12421 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12422 (Bug#14390)
12423
12424 2013-05-14 Glenn Morris <rgm@gnu.org>
12425
12426 * progmodes/f90.el (f90-imenu-generic-expression):
12427 Fix typo in 2013-05-08 change. (Bug#14402)
12428
12429 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12430
12431 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12432 Remove signals for which replies are never received.
12433
12434 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12435
12436 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12437 (gdb-handler-alist, gdb-handler-number): Remove variables.
12438 (gdb-handler-list): New variable.
12439 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12440 (gdb-pending-handler-p, gdb-handle-reply)
12441 (gdb-remove-all-pending-triggers): New functions.
12442 (gdb-discard-unordered-replies): New defcustom.
12443 (gdb-handler): New defstruct.
12444 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12445 instead of gdb-pending-triggers. Update docstring.
12446 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12447 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12448 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12449 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12450 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12451 (gdb-frame-handler): Pending triggers are now automatically managed.
12452 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12453 Remove argument.
12454 (gdb-input): Automatically handles pending triggers. Update docstring.
12455 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12456 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12457 Update comments.
12458 (gdb-done-or-error): Now use gdb-handle-reply.
12459
12460 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12461
12462 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12463 gdb-debug-log.
12464
12465 2013-05-14 Glenn Morris <rgm@gnu.org>
12466
12467 * subr.el (user-emacs-directory-warning): New option.
12468 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12469
12470 2013-05-14 Leo Liu <sdl.web@gmail.com>
12471
12472 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12473 during redisplay.
12474 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12475 (octave-font-lock-texinfo-comment): Fix invalid search bound
12476 error: wrong side of point.
12477
12478 2013-05-14 Glenn Morris <rgm@gnu.org>
12479
12480 * progmodes/flymake.el (flymake-xml-program): New option.
12481 (flymake-xml-init): Use it.
12482
12483 * term/xterm.el: Provide a feature.
12484
12485 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12486
12487 2013-05-13 Glenn Morris <rgm@gnu.org>
12488
12489 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12490 Add compat aliases as a hack workaround. (Bug#14384)
12491
12492 2013-05-13 Leo Liu <sdl.web@gmail.com>
12493
12494 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12495 ###, and %!.
12496 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12497 C-M-q.
12498 (octave-comment-start-skip): Include %!.
12499 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12500
12501 2013-05-12 Leo Liu <sdl.web@gmail.com>
12502
12503 * progmodes/octave.el (inferior-octave-startup): Store the value
12504 of __octave_srcdir__ for octave-source-directories.
12505 (inferior-octave-check-process): New function refactored out of
12506 inferior-octave-send-list-and-digest.
12507 (octave-source-directories)
12508 (octave-find-definition-filename-function): New variables.
12509 (octave-source-directories)
12510 (octave-find-definition-default-filename): New functions.
12511 (octave-find-definition): Improve to find functions implemented in C++.
12512
12513 2013-05-12 Glenn Morris <rgm@gnu.org>
12514
12515 * calendar/diary-lib.el (diary-outlook-format-1):
12516 Don't include dayname in the output. (Bug#14349)
12517
12518 2013-05-11 Glenn Morris <rgm@gnu.org>
12519
12520 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12521
12522 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12523 Treat cc-provide like provide.
12524
12525 2013-05-11 Kevin Ryde <user42@zip.com.au>
12526
12527 * cus-dep.el (custom-make-dependencies):
12528 Use generated-autoload-load-name for the sake of files such
12529 such cedet/semantic/bovine/c.el, where the base file name
12530 is not in load-path. (Bug#5277)
12531
12532 2013-05-11 Glenn Morris <rgm@gnu.org>
12533
12534 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12535 Provide features.
12536
12537 2013-05-11 Leo Liu <sdl.web@gmail.com>
12538
12539 * progmodes/octave.el (octave-indent-comment): Improve.
12540 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12541 (octave-eldoc-function-signatures, octave-eldoc-function):
12542 New functions.
12543 (octave-mode, inferior-octave-mode): Add eldoc support.
12544
12545 2013-05-11 Richard Stallman <rms@gnu.org>
12546
12547 * epa.el (epa-decrypt-file): Take output file name as argument
12548 and read it using `interactive'.
12549
12550 2013-05-11 Leo Liu <sdl.web@gmail.com>
12551
12552 * progmodes/octave.el (octave-beginning-of-line)
12553 (octave-end-of-line): Check before using up-list because it jumps
12554 out of more syntactic contructs since moving to smie.
12555 (octave-indent-comment): New function.
12556 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12557 (octave-begin-keywords, octave-end-keywords)
12558 (octave-reserved-words, octave-smie-bnf-table)
12559 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12560
12561 2013-05-11 Glenn Morris <rgm@gnu.org>
12562
12563 * faces.el (internal-face-x-get-resource):
12564 * frame.el (ns-display-monitor-attributes-list):
12565 * calc/calc-aent.el (math-to-radians-2):
12566 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12567 Fix declarations.
12568
12569 * calc/calc-menu.el: Make it loadable in isolation.
12570
12571 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12572 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12573 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12574 (eudc-bbdb-query-internal): Require 'bbdb.
12575
12576 * lpr.el (lpr-headers-switches):
12577 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12578
12579 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12580
12581 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12582
12583 * term.el (term-set-escape-char): Make it idempotent.
12584
12585 2013-05-10 Leo Liu <sdl.web@gmail.com>
12586
12587 * progmodes/octave.el (inferior-octave-completion-table):
12588 No longer a function and all uses changed. Use cache to speed up
12589 completion due to bug#11906.
12590 (octave-beginning-of-defun): Re-write to be more general.
12591
12592 2013-05-10 Glenn Morris <rgm@gnu.org>
12593
12594 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12595
12596 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12597
12598 * comint.el (comint-redirect-send-command-to-process): Use :around
12599 rather than :override for comint-redirect-filter.
12600 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12601 Call it instead of comint-redirect-original-filter-function (which
12602 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12603
12604 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12605
12606 * frame.el (display-monitor-attributes-list): Add NS case.
12607 (ns-display-monitor-attributes-list): Declare.
12608
12609 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12610
12611 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12612
12613 2013-05-09 Glenn Morris <rgm@gnu.org>
12614
12615 * international/fontset.el (vertical-centering-font-regexp):
12616 Set standard-value.
12617
12618 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12619
12620 * bookmark.el (bookmark-search-delay):
12621 * cus-start.el (vertical-centering-font-regexp):
12622 * ps-mule.el (ps-mule-font-info-database-default):
12623 * ps-print.el (ps-default-fg, ps-default-bg):
12624 * type-break.el (type-break-good-break-interval):
12625 * whitespace.el (whitespace-indentation-regexp)
12626 (whitespace-space-after-tab-regexp):
12627 * emacs-lisp/testcover.el (testcover-1value-functions)
12628 (testcover-noreturn-functions, testcover-progn-functions)
12629 (testcover-prog1-functions):
12630 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12631 * eshell/em-glob.el (eshell-glob-translate-alist):
12632 * play/tetris.el (tetris-tty-colors):
12633 * progmodes/cpp.el (cpp-face-default-list):
12634 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12635 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12636 (idlwave-help-browser-generic-args):
12637 * progmodes/make-mode.el (makefile-special-targets-list):
12638 * progmodes/python.el (python-shell-virtualenv-path):
12639 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12640 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12641 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12642 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12643 * textmodes/reftex-vars.el (reftex-format-label-function):
12644 * textmodes/remember.el (remember-diary-file): Fix custom types.
12645
12646 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12647 Add :version.
12648
12649 2013-05-09 Leo Liu <sdl.web@gmail.com>
12650
12651 * progmodes/octave.el (inferior-octave-completion-at-point):
12652 Restore file completion. (Bug#14300)
12653 (inferior-octave-startup): Fix incorrect highlighting for the
12654 first prompt.
12655
12656 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * progmodes/ruby-mode.el: First cut at SMIE support.
12659 (ruby-use-smie): New var.
12660 (ruby-smie-grammar): New constant.
12661 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12662 (ruby-smie--forward-token, ruby-smie--backward-token)
12663 (ruby-smie-rules): New functions.
12664 (ruby-mode-variables): Setup SMIE if applicable.
12665
12666 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12667
12668 * simple.el (line-move-visual): Signal beginning/end of buffer
12669 only if vertical-motion moved less than it was requested. Avoids
12670 silly incorrect error messages when there are display strings with
12671 multiple newlines at EOL.
12672
12673 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12674
12675 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12676 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12677 (prolog-char-quote-workaround):
12678 * progmodes/cperl-mode.el (cperl-under-as-char):
12679 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12680 Mark as obsolete.
12681 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12682 their declaration.
12683 (vhdl-mode-syntax-table-init): Remove.
12684
12685 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12686 last change.
12687
12688 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12689 syntax for "_".
12690 (ld-script-font-lock-keywords):
12691 Change regexps to use things like \_< and \_>.
12692
12693 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12694 Change all regexps to use things like \_< and \_>.
12695
12696 * progmodes/autoconf.el (autoconf-definition-regexp)
12697 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12698 Handle a _ with symbol syntax.
12699 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12700
12701 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12702 Consolidate declaration.
12703 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12704 the declaration.
12705 (ada-create-syntax-table): Remove.
12706 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12707 already has the right syntax nowadays.
12708 (ada-goto-next-word): Don't change the syntax of "_".
12709
12710 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12711 with-wrapper-hook.
12712
12713 2013-05-08 Sam Steingold <sds@gnu.org>
12714
12715 * thingatpt.el (thing-at-point): Accept optional second argument
12716 NO-PROPERTIES to strip the text properties from the return value.
12717 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12718 to `thing-at-point' instead of stripping the properties ourselves.
12719 Also, when `thing-at-point' fails to find a url, prepend "http://"
12720 to the filename at point on the assumption that the user is
12721 pointing at something like gnu.org/gnu.
12722
12723 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12724
12725 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12726 * faces.el (crm-separator):
12727 Silence byte-compiler.
12728
12729 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12730 (tool-bar-map): Remove unneeded defvars.
12731
12732 2013-05-08 Leo Liu <sdl.web@gmail.com>
12733
12734 Re-work a fix for bug#10994 based on Le Wang's patch.
12735 * ido.el (ido-remove-consecutive-dups): New helper.
12736 (ido-completing-read): Use it.
12737 (ido-chop): Revert fix for bug#10994.
12738
12739 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12740
12741 * cus-edit.el (custom-save-variables):
12742 Pretty-print long values. (Bug#14187)
12743
12744 2013-05-08 Glenn Morris <rgm@gnu.org>
12745
12746 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12747 (m4-mode-syntax-table): Init in the defvar.
12748 (m4-mode-abbrev-table): Let define-derived-mode define it.
12749
12750 2013-05-08 Tom Tromey <tromey@redhat.com>
12751
12752 * progmodes/m4-mode.el (m4-mode-syntax-table):
12753 Do not treat "_" as word constituent. (Bug#14167)
12754
12755 2013-05-07 Glenn Morris <rgm@gnu.org>
12756
12757 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12758 Remove explicit eshell-isearch-cancel-map.
12759
12760 * progmodes/f90.el (f90-smart-end-names): New option.
12761 (f90-smart-end): Doc fix.
12762 (f90-end-block-optional-name): New constant.
12763 (f90-block-match): Respect f90-smart-end-names.
12764
12765 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12766
12767 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12768 about implicit semi-colons (bug#14218).
12769
12770 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12771
12772 * frame.el (display-monitor-attributes-list)
12773 (frame-monitor-attributes): New functions.
12774
12775 2013-05-06 Leo Liu <sdl.web@gmail.com>
12776
12777 * progmodes/octave.el (octave-syntax-propertize-function): Change
12778 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12779 (octave-font-lock-keywords): Use octave-operator-regexp.
12780 (octave-completion-at-point): Rename from
12781 octave-completion-at-point-function.
12782 (inferior-octave-directory-tracker): Robustify.
12783 (octave-text-functions): Remove and fix its uses. No such things
12784 any more.
12785
12786 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * emacs-lisp/trace.el (trace--display-buffer): New function.
12789 (trace-make-advice): Use it.
12790
12791 2013-05-06 Juri Linkov <juri@jurta.org>
12792
12793 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12794 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12795 Doc fix.
12796 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12797 in the help string. (Bug#12985)
12798
12799 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12800
12801 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12802
12803 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * progmodes/perl-mode.el: Add support for here documents.
12806 (perl-syntax-propertize-function): Match here-doc markers.
12807 (perl-syntax-propertize-special-constructs): Find their end.
12808 (perl-imenu-generic-expression): Use [:alnum:].
12809
12810 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12811 (advice--add-function): Refresh the advice if already present
12812 (bug#14317).
12813
12814 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12815
12816 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12817
12818 2013-05-06 Glenn Morris <rgm@gnu.org>
12819
12820 * w32-fns.el (w32-charset-info-alist): Declare.
12821
12822 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12823 of its defcustom properties.
12824 (eshell-cmpl-initialize): No need to load pcomplete.
12825
12826 * generic-x.el: No need to require comint when compiling.
12827
12828 * net/eudc-export.el: Make it loadable without bbdb.
12829 (top-level): Use require rather than load-library.
12830 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12831 (eudc-batch-export-records-to-bbdb)
12832 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12833 Require bbdb.
12834
12835 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12836
12837 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12838 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12839 some tweaks, instead.
12840
12841 2013-05-05 Leo Liu <sdl.web@gmail.com>
12842
12843 * progmodes/octave.el (octave-font-lock-keywords)
12844 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12845 (inferior-octave-send-list-and-digest): Improve error message.
12846 (octave-mode, inferior-octave-mode): Use setq-local.
12847 (octave-help): Set info-lookup-mode.
12848
12849 2013-05-05 Richard Stallman <rms@gnu.org>
12850
12851 * vc/compare-w.el (compare-windows-whitespace):
12852 Treat no-break space as whitespace.
12853
12854 * mail/rmailsum.el (rmail-summary-rmail-update):
12855 Detect empty summary and don't change selected message.
12856 (rmail-summary-goto-msg): Likewise.
12857
12858 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12859 Doc fixes, rename args.
12860
12861 2013-05-05 Alan Mackenzie <acm@muc.de>
12862
12863 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12864
12865 2013-05-05 Juri Linkov <juri@jurta.org>
12866
12867 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12868 to not add the length of the summary segment to the return value.
12869 (Bug#14125)
12870
12871 2013-05-05 Leo Liu <sdl.web@gmail.com>
12872
12873 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12874 (inferior-octave-output-filter): Remove.
12875 (octave-send-region, inferior-octave-startup): Fix callers.
12876 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12877 (octave-binary-file-extensions): New user variable.
12878 (octave-find-definition): Confirm if opening binary files.
12879 (octave-help-file): Use octave-find-definition to get the binary
12880 confirmation.
12881 (octave-help): Adjust for octave-help-file change.
12882
12883 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12884
12885 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12886 Merge the two entries that handle function definitions.
12887 (pascal--syntax-propertize): New const.
12888 (pascal-mode): Use it. Use setq-local.
12889
12890 2013-05-04 Glenn Morris <rgm@gnu.org>
12891
12892 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12893 (diary-from-outlook): Respect diary-from-outlook-function.
12894
12895 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12896
12897 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12898 Move the declaration from C.
12899 (read-minibuffer, eval-minibuffer): Move from C.
12900 (completion-setup-function): Avoid minibuffer-completion-contents.
12901
12902 2013-05-03 Leo Liu <sdl.web@gmail.com>
12903
12904 * progmodes/octave.el (octave-font-lock-keywords): Do not
12905 dehighlight 'end' in comments or strings.
12906 (octave-completing-read, octave-goto-function-definition):
12907 New helpers.
12908 (octave-help-buffer): New user variable.
12909 (octave-help-file, octave-help-function): New button types.
12910 (octave-help): New command and bind it to C-h ;.
12911 (octave-find-definition): New command and bind it to M-.
12912 (user-error): Alias to error if not defined.
12913
12914 2013-05-02 Leo Liu <sdl.web@gmail.com>
12915
12916 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12917 for \. (bug#14332)
12918 (octave-font-lock-keywords): Include [ and {.
12919
12920 2013-05-02 Leo Liu <sdl.web@gmail.com>
12921
12922 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12923 (inferior-octave): Remove calling comint-mode and return the buffer.
12924 (inferior-octave-startup): Cosmetic changes.
12925
12926 2013-05-02 Leo Liu <sdl.web@gmail.com>
12927
12928 * progmodes/octave.el (octave-syntax-propertize-function):
12929 Include the case when ' is at line beginning. (Bug#14336)
12930
12931 2013-05-02 Glenn Morris <rgm@gnu.org>
12932
12933 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12934 * desktop.el (vc-dir-mode): Just autoload it here.
12935
12936 2013-05-02 Alan Mackenzie <acm@muc.de>
12937
12938 Eliminate variable c-standard-font-lock-fontify-region-function.
12939 * progmodes/cc-mode.el
12940 (c-standard-font-lock-fontify-region-function): Remove.
12941 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12942
12943 2013-05-01 Leo Liu <sdl.web@gmail.com>
12944
12945 * progmodes/octave.el: Compatible with older emacs-24 releases.
12946 (inferior-octave-has-built-in-variables): Remove. Built-in
12947 variables were removed from Octave in 2007.
12948 (inferior-octave-startup): Fix uses.
12949 (comint-line-beginning-position): Remove compatibility code for
12950 emacs 21.
12951
12952 2013-05-01 Juri Linkov <juri@jurta.org>
12953
12954 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12955
12956 2013-05-01 Juri Linkov <juri@jurta.org>
12957
12958 * comint.el (comint-previous-matching-input): Don't print message
12959 "History item: %d" when `isearch-mode' is active.
12960 (comint-history-isearch-message): Print message "History item: %d"
12961 when `comint-input-ring-index' is not empty and this function is
12962 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12963
12964 2013-05-01 Leo Liu <sdl.web@gmail.com>
12965
12966 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12967 definitions. Use completion-at-point to insert keywords.
12968 (octave-abbrev-start): Remove.
12969 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12970
12971 2013-04-30 Leo Liu <sdl.web@gmail.com>
12972
12973 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12974 change.
12975
12976 2013-04-30 Alan Mackenzie <acm@muc.de>
12977
12978 Handle arbitrarily long C++ member initialisation lists.
12979 * progmodes/cc-engine.el (c-back-over-member-initializers):
12980 new function.
12981 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12982 (most) member init lists.
12983
12984 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12985
12986 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12987 variable.
12988
12989 2013-04-30 Leo Liu <sdl.web@gmail.com>
12990
12991 * progmodes/octave.el (octave-variables): Remove. No builtin
12992 variables any more. All converted to functions.
12993 (octave-font-lock-keywords, octave-completion-at-point-function):
12994 Fix uses.
12995 (octave-font-lock-texinfo-comment): New user variable.
12996 (octave-texinfo-font-lock-keywords): New variable for texinfo
12997 comment block.
12998 (octave-function-comment-block): New face.
12999 (octave-font-lock-texinfo-comment): New function.
13000 (octave-mode): Font lock texinfo comment block.
13001
13002 2013-04-29 Leo Liu <sdl.web@gmail.com>
13003
13004 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13005 indexing expression.
13006 (octave-continuation-string): Do not use \.
13007 (inferior-octave-complete-impossible): Remove.
13008 (inferior-octave-completion-table)
13009 (inferior-octave-completion-at-point): Remove its uses.
13010 (inferior-octave-startup): completion_matches was introduced to
13011 Octave in 1996 so safe to assume it.
13012 (octave-function-file-comment): Improve to follow how Octave does it.
13013 (octave-update-function-file-comment): Tweak.
13014
13015 2013-04-29 Leo Liu <sdl.web@gmail.com>
13016
13017 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13018 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13019 (octave-function-file-comment): Fix typo.
13020 (octave-sync-function-file-names): Use read-char-choice.
13021
13022 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13023
13024 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13025 to t for the less important warnings.
13026
13027 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13028
13029 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13030
13031 2013-04-27 Glenn Morris <rgm@gnu.org>
13032
13033 * vc/log-view.el (log-view-current-entry):
13034 Treat "---" separator lines as part of the following rev. (Bug#14169)
13035
13036 2013-04-27 Juri Linkov <juri@jurta.org>
13037
13038 * subr.el (read-number): Doc fix about using it by interactive
13039 code letter `n'. (Bug#14254)
13040
13041 2013-04-27 Juri Linkov <juri@jurta.org>
13042
13043 * desktop.el (desktop-auto-save-timeout): New option.
13044 (desktop-file-checksum): New variable.
13045 (desktop-save): Add optional arg `auto-save' and don't auto-save
13046 if nothing changed.
13047 (desktop-auto-save-timer): New variable.
13048 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13049 (after-init-hook): Call `desktop-auto-save-set-timer'.
13050 Suggested by Reuben Thomas <rrt@sc3d.org> in
13051 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13052
13053 2013-04-27 Leo Liu <sdl.web@gmail.com>
13054
13055 * progmodes/octave.el (octave-function-file-p)
13056 (octave-skip-comment-forward, octave-function-file-comment)
13057 (octave-update-function-file-comment): New functions.
13058 (octave-mode-map): Bind C-c ; to
13059 octave-update-function-file-comment.
13060 (octave-mode-menu): Add octave-update-function-file-comment.
13061 (octave-mode, inferior-octave-mode): Fix doc-string.
13062 (octave-insert-defun): Conform to Octave's coding convention.
13063 (Bug#14285)
13064
13065 * files.el (basic-save-buffer): Don't let errors in
13066 before-save-hook prevent saving buffer.
13067
13068 2013-04-20 Roland Winkler <winkler@gnu.org>
13069
13070 * faces.el (read-face-name): Use completing-read if arg multiple
13071 is nil.
13072
13073 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13074
13075 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13076 displayed, move point to after the totals line.
13077 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13078 for the details.
13079
13080 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13081
13082 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13083 Add current dir to the load-path.
13084 (package-generate-autoloads): Don't rely on
13085 autoload-ensure-default-file.
13086
13087 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13088
13089 * textmodes/remember.el (remember-store-in-files): Document that
13090 the file name format is passed to `format-time-string'.
13091
13092 2013-04-26 Leo Liu <sdl.web@gmail.com>
13093
13094 * progmodes/octave.el (octave-sync-function-file-names): New function.
13095 (octave-mode): Use it in before-save-hook.
13096
13097 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13098
13099 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13100 (bug#14274).
13101
13102 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13103 \n and comment, even if it's not an implicit ; (bug#14218).
13104
13105 2013-04-26 Glenn Morris <rgm@gnu.org>
13106
13107 * subr.el (read-number): Once more use `read' rather than
13108 `string-to-number', to trap non-numeric input. (Bug#14254)
13109
13110 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13111
13112 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13113 Use `syntax-multiline' text property consistently instead of
13114 `font-lock-multiline'. (Bug#14237)
13115
13116 2013-04-26 Glenn Morris <rgm@gnu.org>
13117
13118 * emacs-lisp/shadow.el (list-load-path-shadows):
13119 No longer necessary to check for duplicate simple.el, since
13120 2012-07-07 change to init_lread to not include installation lisp
13121 directories in load-path when running uninstalled. (Bug#14270)
13122
13123 2013-04-26 Leo Liu <sdl.web@gmail.com>
13124
13125 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13126 (octave-mode, inferior-octave-mode): Use setq-local.
13127 (octave-not-in-string-or-comment-p): Rename to
13128 octave-in-string-or-comment-p.
13129 (octave-in-comment-p, octave-in-string-p)
13130 (octave-in-string-or-comment-p): Replace defsubst with defun.
13131
13132 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13133
13134 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13135
13136 2013-04-25 Bastien Guerry <bzg@gnu.org>
13137
13138 * textmodes/remember.el (remember-data-directory)
13139 (remember-directory-file-name-format): Fix custom types.
13140
13141 2013-04-25 Leo Liu <sdl.web@gmail.com>
13142
13143 * progmodes/octave.el (octave-completion-at-point-function):
13144 Make use of inferior octave process.
13145 (octave-initialize-completions): Remove.
13146 (inferior-octave-completion-table): New function.
13147 (inferior-octave-completion-at-point): Use it.
13148 (octave-completion-alist): Remove.
13149
13150 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13151
13152 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13153 (opascal-mode-syntax-table): New var.
13154 (opascal-literal-kind, opascal-is-literal-end)
13155 (opascal-literal-token-at): Rewrite.
13156 (opascal--literal-start-re, opascal-font-lock-keywords)
13157 (opascal--syntax-propertize): New constants.
13158 (opascal-font-lock-defaults): Adjust.
13159 (opascal-mode): Use them. Set comment-<foo> variables as well.
13160 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13161 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13162 (delphi-other-face, opascal-other-face): Remove face variables.
13163 (opascal-save-state): Remove macro.
13164 (opascal-fontifying-progress-step): Remove constant.
13165 (opascal--ignore-changes): Remove var.
13166 (opascal-set-token-property, opascal-parse-next-literal)
13167 (opascal-is-stable-literal, opascal-complete-literal)
13168 (opascal-is-literal-start, opascal-face-of)
13169 (opascal-parse-region, opascal-parse-region-until-stable)
13170 (opascal-fontify-region, opascal-after-change)
13171 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13172 (opascal-debug-parse-region, opascal-debug-parse-window)
13173 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13174 (opascal-debug-fontify-buffer): Remove.
13175 (opascal-debug-mode-map): Adjust accordingly.
13176
13177 2013-04-25 Leo Liu <sdl.web@gmail.com>
13178
13179 Merge octave-mod.el and octave-inf.el into octave.el with some
13180 cleanups.
13181 * progmodes/octave.el: New file renamed from octave-mod.el.
13182 * progmodes/octave-inf.el: Merged into octave.el.
13183 * progmodes/octave-mod.el: Renamed to octave.el.
13184
13185 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13186
13187 * textmodes/reftex-vars.el
13188 (reftex-label-ignored-macros-and-environments): New defcustom.
13189
13190 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13191
13192 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13195 (smie-indent-keyword): Improve the check to ensure that the next
13196 comment is really on the same line.
13197 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13198
13199 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13200 semi-colons if the line is not otherwise empty (bug#14218).
13201
13202 2013-04-25 Glenn Morris <rgm@gnu.org>
13203
13204 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13205
13206 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * progmodes/opascal.el (opascal-set-token-property): Rename from
13209 opascal-set-text-properties and only set `token' (bug#14134).
13210 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13211 (opascal-literal-text-properties): Remove.
13212 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13213 Adjust callers.
13214
13215 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13216
13217 * textmodes/remember.el (remember-handler-functions): Add an
13218 option for a new handler `remember-store-in-files'.
13219 (remember-data-directory, remember-directory-file-name-format):
13220 New options.
13221 (remember-store-in-files): New function to store remember notes
13222 as separate files within a directory.
13223
13224 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13225
13226 * progmodes/compile.el (compilation-next-error-function):
13227 Pass "formats" to compilation-find-file (bug#11777).
13228
13229 2013-04-24 Glenn Morris <rgm@gnu.org>
13230
13231 * vc/vc-bzr.el (vc-bzr-print-log):
13232 * vc/vc-hg.el (vc-hg-print-log):
13233 * vc/vc-svn.el (vc-svn-print-log):
13234 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13235
13236 * vc/vc-bzr.el (vc-bzr-print-log):
13237 * vc/vc-cvs.el (vc-cvs-print-log):
13238 * vc/vc-git.el (vc-git-print-log):
13239 * vc/vc-hg.el (vc-hg-print-log):
13240 * vc/vc-mtn.el (vc-mtn-print-log):
13241 * vc/vc-rcs.el (vc-rcs-print-log):
13242 * vc/vc-sccs.el (vc-sccs-print-log):
13243 * vc/vc-svn.el (vc-svn-print-log):
13244 * vc/vc.el (vc-print-log-internal): Doc fixes.
13245
13246 2013-04-23 Glenn Morris <rgm@gnu.org>
13247
13248 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13249 Remove venerable code attempting to avoid substitute-command-keys.
13250
13251 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13252
13253 * textmodes/reftex-vars.el (reftex-label-regexps):
13254 Call `reftex-compile-variables' after changes to this variable.
13255
13256 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13257
13258 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13259 Use lexical-binding.
13260 (jit-lock-force-redisplay): Use markers, check buffer's continued
13261 existence and beware narrowed buffers.
13262 (jit-lock-fontify-now): Adjust call accordingly.
13263
13264 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13265
13266 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13267 to avoid misleading the user.
13268
13269 2013-04-22 Leo Liu <sdl.web@gmail.com>
13270
13271 * info-look.el: Prefer latex2e.info. (Bug#14240)
13272
13273 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13274
13275 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13276
13277 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13278 * net/tramp.el (tramp-call-process): ... here.
13279 (tramp-set-completion-function, tramp-parse-putty):
13280 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13281 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13282 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13283 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13284 (tramp-call-local-coding-command): Use `tramp-call-process'
13285 instead of `tramp-compat-call-process'.
13286
13287 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13288 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13289 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13290 (tramp-find-inline-compress): Improve traces.
13291 (tramp-maybe-send-script): Check for Perl binary.
13292 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13293
13294 2013-04-22 Daiki Ueno <ueno@gnu.org>
13295
13296 * epg.el (epg-context-pinentry-mode): New function.
13297 (epg-context-set-pinentry-mode): New function.
13298 (epg--start): Pass --pinentry-mode option to gpg command.
13299
13300 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13301
13302 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13303 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13304 `completion-at-point'. (Bug#13774)
13305
13306 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13307 default key binding for `describe-distribution' has been moved to
13308 `C-h C-o'. (Bug#13970)
13309
13310 2013-04-21 Glenn Morris <rgm@gnu.org>
13311
13312 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13313 Add doc strings.
13314 (vc-print-log): Clarify interactive prompt.
13315
13316 2013-04-20 Glenn Morris <rgm@gnu.org>
13317
13318 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13319 No longer include timestamp etc information.
13320
13321 2013-04-20 Roland Winkler <winkler@gnu.org>
13322
13323 * faces.el (read-face-name): Bug fix, return just one face if arg
13324 multiple is nil. (Bug#14209)
13325
13326 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13327
13328 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13329 (remove-function): Autoload.
13330
13331 * comint.el (comint-redirect-original-filter-function): Remove.
13332 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13333 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13334 (vc-cvs-annotate-command):
13335 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13336 * progmodes/prolog.el (prolog-consult-compile):
13337 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13338 Use add/remove-function instead.
13339 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13340 (gud-tooltip-process-output, gud-tooltip-tips):
13341 Use add/remove-function instead.
13342 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13343 (scheme-interaction-mode, exit-scheme-interaction-mode):
13344 Use add/remove-function instead.
13345
13346 * vc/vc-dispatcher.el: Use lexical-binding.
13347 (vc--process-sentinel): Rename from vc-process-sentinel.
13348 Change last arg to be the code to run. Don't use vc-previous-sentinel
13349 and vc-sentinel-commands any more.
13350 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13351 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13352
13353 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13354
13355 * progmodes/sh-script.el (sh-imenu-generic-expression):
13356 Handle function names with a single character. (Bug#14111)
13357
13358 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13359
13360 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13361 for subroutines defined in an eval (bug#14182).
13362
13363 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13364
13365 * bookmark.el (bookmark-completing-read): Improve handling of empty
13366 string (bug#14176).
13367
13368 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13369
13370 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13371
13372 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13373
13374 New faster Imenu implementation (bug#14058).
13375 * progmodes/python.el:
13376 (python-imenu-prev-index-position):
13377 (python-imenu-format-item-label-function)
13378 (python-imenu-format-parent-item-label-function)
13379 (python-imenu-format-parent-item-jump-label-function):
13380 New vars.
13381 (python-imenu-format-item-label)
13382 (python-imenu-format-parent-item-label)
13383 (python-imenu-format-parent-item-jump-label)
13384 (python-imenu--put-parent, python-imenu--build-tree)
13385 (python-imenu-create-index, python-imenu-create-flat-index)
13386 (python-util-popn): New functions.
13387 (python-mode): Set imenu-create-index-function to
13388 python-imenu-create-index.
13389
13390 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13391
13392 * winner.el (winner-active-region): Use region-active-p, activate-mark
13393 and deactivate-mark (bug#14225).
13394
13395 * simple.el (deactivate-mark): Don't inline it.
13396
13397 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13398
13399 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13400
13401 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13402
13403 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13404 file extensions from the archive-mode entry in order to prefer
13405 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13406
13407 2013-04-18 Leo Liu <sdl.web@gmail.com>
13408
13409 * bindings.el (help-event-list): Add ?\?.
13410
13411 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13412
13413 * subr.el (with-wrapper-hook): Declare obsolete.
13414 * simple.el (filter-buffer-substring-function): New hook.
13415 (filter-buffer-substring): Use it.
13416 (filter-buffer-substring-functions): Mark obsolete.
13417 * minibuffer.el (completion-in-region-function): New hook.
13418 (completion-in-region): Use it.
13419 (completion-in-region-functions): Mark obsolete.
13420 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13421 * abbrev.el (abbrev-expand-function): New hook.
13422 (expand-abbrev): Use it.
13423 (abbrev-expand-functions): Mark obsolete.
13424 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13425 and :filter-return.
13426
13427 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13428
13429 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13430 and do not care about match data.
13431
13432 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13433
13434 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13435 completion tables when completing error conditions and
13436 `declare' arguments.
13437 (lisp-complete-symbol, field-complete): Mark as obsolete.
13438 (check-parens): Unmatched parens are user errors.
13439 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13440
13441 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13442
13443 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13444 command changed buffer (ie. `flyspell-pre-buffer' is not current
13445 buffer), which prevents making decisions based on invalid value of
13446 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13447 cause an error when `flyspell-pre-point' was nil after switching
13448 buffers.
13449 (flyspell-post-command-hook): No longer needs to change buffers when
13450 checking pre-word. While at it remove unnecessary progn.
13451
13452 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13453
13454 * textmodes/ispell.el (ispell-add-per-file-word-list):
13455 Fix `flyspell-correct-word-before-point' error when accepting
13456 words and `coment-padding' is an integer by using
13457 `comment-normalize-vars' (Bug #14214).
13458
13459 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13460
13461 New defun movement commands.
13462 * progmodes/python.el (python-nav--syntactically)
13463 (python-nav--forward-defun, python-nav-backward-defun)
13464 (python-nav-forward-defun): New functions.
13465
13466 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13467
13468 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13469 (python-syntax-context): Use named compiler-macro for backwards
13470 compatibility with Emacs 24.x.
13471
13472 2013-04-17 Leo Liu <sdl.web@gmail.com>
13473
13474 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13475 octave-hide-process-buffer.
13476
13477 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13478
13479 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13480 (bug#14216).
13481
13482 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13483
13484 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13485 Fix adjustment of offset when receiving incomplete responses from GDB
13486 (bug#14129).
13487
13488 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13489
13490 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13491 python-mode-abbrev-table.
13492 (python-skeleton-define): Adjust accordingly.
13493 (python-mode-abbrev-table): New table that inherits from it so that
13494 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13495
13496 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13497 (abbrev-symbol): Use it.
13498 (abbrev--before-point): Use it since we already handle inheritance.
13499
13500 2013-04-16 Leo Liu <sdl.web@gmail.com>
13501
13502 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13503 binding to info-lookup-symbol.
13504
13505 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13506
13507 * minibuffer.el (completion--twq-all):
13508 * term/ns-win.el (ns-initialize-window-system):
13509 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13510
13511 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13512
13513 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13514 global bindings.
13515
13516 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13517
13518 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13519
13520 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13521 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13522 to nil.
13523 (ruby-end-of-defun): Remove the unused arg, change the docstring
13524 to reflect that this function is only used as the value of
13525 `end-of-defun-function'.
13526 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13527 to reflect an earlier change that beginning/end-of-defun functions
13528 jump between methods in a class definition, as well as top-level
13529 functions.
13530
13531 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13532
13533 * minibuffer.el (minibuffer-complete): Don't just scroll
13534 a *Completions* that's been iconified.
13535 (minibuffer-force-complete): Make sure repetitions do cycle when going
13536 through completion-in-region -> minibuffer-complete.
13537
13538 2013-04-15 Alan Mackenzie <acm@muc.de>
13539
13540 Correct the placement of c-cpp-delimiters when there're #s not at
13541 col 0.
13542
13543 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13544 place a submatch around the #.
13545 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13546 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13547 on the #, not BOL.
13548
13549 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13550
13551 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13552 (advice--member-p): New arg `name'.
13553 (advice--add-function, advice-member-p): Use it (bug#14202).
13554
13555 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13556
13557 Reformulate java imenu-generic-expression.
13558 The old expression contained ill formed regexps.
13559
13560 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13561 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13562 (cc-imenu-java-method-arg-regexp): New defconsts.
13563 (cc-imenu-java-build-type-args-regex): New defun.
13564 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13565 handling of spaces in the regexp.
13566
13567 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13568
13569 * textmodes/ispell.el (ispell-command-loop): Remove
13570 flyspell highlight of a word when ispell accepts it (bug #14178).
13571
13572 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13573
13574 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13575 uses code from the previous `ange-ftp-run-real-handler'.
13576 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13577 only in case that function exist. This is needed for proper
13578 unloading of Tramp.
13579
13580 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13581
13582 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13583
13584 * textmodes/reftex.el (reftex-compile-variables): Use it.
13585
13586 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * files.el (normal-mode): Only use default major-mode if no other mode
13589 was specified.
13590
13591 * emacs-lisp/trace.el (trace-values): New function.
13592
13593 * files.el: Allow : in local variables (bug#14089).
13594 (hack-local-variable-regexp): New var.
13595 (hack-local-variables-prop-line, hack-local-variables): Use it.
13596
13597 2013-04-13 Roland Winkler <winkler@gnu.org>
13598
13599 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13600 data before it gets modified by bibtex-beginning-of-entry.
13601
13602 2013-04-13 Roland Winkler <winkler@gnu.org>
13603
13604 * textmodes/bibtex.el (bibtex-url): Doc fix.
13605
13606 2013-04-13 Roland Winkler <winkler@gnu.org>
13607
13608 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13609 does not visit a BibTeX file, exclude it from the list of buffers
13610 returned by bibtex-initialize.
13611
13612 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13613
13614 * window.el (split-window): Remove interactive form, since as a
13615 command this function is a special case of split-window-below.
13616 Correct doc string.
13617
13618 2013-04-12 Roland Winkler <winkler@gnu.org>
13619
13620 * faces.el (read-face-name): Do not override value of arg default.
13621 Allow single faces and strings as default values. Remove those
13622 elements from return value that are not faces.
13623 (describe-face): Simplify.
13624 (face-at-point): New optional args thing and multiple so that this
13625 function can provide the same functionality previously provided by
13626 read-face-name.
13627 (make-face-bold, make-face-unbold, make-face-italic)
13628 (make-face-unitalic, make-face-bold-italic, invert-face)
13629 (modify-face, read-face-and-attribute): Use face-at-point.
13630
13631 * cus-edit.el (customize-face, customize-face-other-window)
13632 * cus-theme.el (custom-theme-add-face)
13633 * face-remap.el (buffer-face-set)
13634 * facemenu.el (facemenu-set-face): Use face-at-point.
13635
13636 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13637
13638 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13639
13640 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13641
13642 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13643 off leading { and trailing } from field values.
13644
13645 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13646
13647 * emacs-lisp/timer.el (timer--check): New function.
13648 (timer--time, timer-set-function, timer-event-handler): Use it.
13649 (timer-set-idle-time): Simplify.
13650 (timer--activate): CSE.
13651 (timer-event-handler): Give more info in error message.
13652 (internal-timer-start-idle): New function, moved from C.
13653
13654 * mpc.el (mpc-proc): Add `restart' argument.
13655 (mpc-proc-cmd): Use it.
13656 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13657 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13658 less often.
13659
13660 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13661
13662 * progmodes/sh-script.el: Implement `sh-mode' own
13663 `add-log-current-defun-function' (bug#14112).
13664 (sh-current-defun-name): New function.
13665 (sh-mode): Use the function.
13666
13667 2013-04-09 Bastien Guerry <bzg@gnu.org>
13668
13669 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13670
13671 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13672
13673 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13674
13675 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13676 timer (bug#14156).
13677
13678 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13679
13680 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13681 declaration.
13682
13683 2013-04-07 Leo Liu <sdl.web@gmail.com>
13684
13685 * pcmpl-x.el: New file.
13686
13687 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13688
13689 Do not set x-display-name until X connection is established.
13690 This is needed to prevent from weird situation described at
13691 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13692 * frame.el (make-frame): Set x-display-name after call to
13693 window system initialization function, not before.
13694 * term/x-win.el (x-initialize-window-system): Add optional
13695 display argument and use it.
13696 * term/w32-win.el (w32-initialize-window-system):
13697 * term/ns-win.el (ns-initialize-window-system):
13698 * term/pc-win.el (msdos-initialize-window-system):
13699 Add compatible optional display argument.
13700
13701 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13702
13703 * files.el (normal-backup-enable-predicate): On MS-Windows and
13704 MS-DOS compare truenames of temporary-file-directory and of the
13705 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13706 don't fail comparison by compare-strings. Also, compare file
13707 names case-insensitively on MS-Windows and MS-DOS.
13708
13709 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13710
13711 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13712 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13713
13714 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13715
13716 * whitespace.el (whitespace-color-on, whitespace-color-off):
13717 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13718
13719 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13720
13721 * ispell.el (ispell-set-spellchecker-params):
13722 Really set `ispell-args' for all equivs.
13723
13724 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13725
13726 * ido.el (ido-completions): Use extra elements of ido-decorations
13727 (bug#14143).
13728 (ido-decorations): Update docstring.
13729
13730 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13731
13732 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13733 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13734 nil during initialization, in order not to miss changes since the
13735 file was opened. (Bug#14140)
13736
13737 2013-04-05 Leo Liu <sdl.web@gmail.com>
13738
13739 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13740
13741 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13742
13743 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13744
13745 2013-04-04 Glenn Morris <rgm@gnu.org>
13746
13747 * electric.el (electric-pair-inhibit-predicate): Add :version.
13748
13749 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13752 when a package is required several times (bug#14082).
13753
13754 2013-04-04 Roland Winkler <winkler@gnu.org>
13755
13756 * faces.el (read-face-name): Behave as promised by the docstring.
13757 Assume that arg default is a list of faces.
13758 (describe-face): Call read-face-name with list of default faces.
13759
13760 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13761
13762 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13763 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13764 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13765 the header.
13766 (bookmark-exit-hook-internal): Save even if list is empty.
13767
13768 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13769
13770 * emacs-lisp/package.el (package-pinned-packages): New var.
13771 (package--add-to-archive-contents): Obey it (bug#14118).
13772
13773 2013-04-03 Alan Mackenzie <acm@muc.de>
13774
13775 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13776 Also adapt to the new values of element 7 of a parse state.
13777
13778 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13779 parameter `not-in-delimiter'. Handle being inside comment opener.
13780 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13781 character in case we're typing a '*' after a '/'.
13782 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13783 instead by passing the parameter to c-state-pp-to-literal.
13784
13785 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13786 for elt. 7 of a parse state.
13787
13788 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13789
13790 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13791 * international/latin1-disp.el, international/mule-util.el:
13792 * language/cyril-util.el, language/european.el, language/ind-util.el:
13793 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13794 * language/tibetan.el, language/viet-util.el:
13795 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13796
13797 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13798
13799 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13800 (electric-pair-post-self-insert-function): Use it.
13801 (electric-pair-default-inhibit): New function, extracted from
13802 electric-pair-post-self-insert-function.
13803
13804 2013-03-31 Roland Winkler <winkler@gnu.org>
13805
13806 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13807
13808 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13809
13810 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13811
13812 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13813
13814 Un-indent after "pass" and "return" statements (Bug#13888)
13815 * progmodes/python.el (python-indent-block-enders): New var.
13816 (python-indent-calculate-indentation): Use it.
13817
13818 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13819
13820 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13821 defun. Defining it as defalias could introduce too eager
13822 byte-compiler optimization. (Bug#14030)
13823
13824 2013-03-30 Chong Yidong <cyd@gnu.org>
13825
13826 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13827
13828 2013-03-30 Leo Liu <sdl.web@gmail.com>
13829
13830 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13831 (kmacro-execute-from-register): Pass the keyboard macro to
13832 kmacro-call-macro or repeating won't work correctly.
13833
13834 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13835
13836 * progmodes/subword.el: Back to using `forward-symbol'.
13837
13838 * subr.el (forward-whitespace, forward-symbol)
13839 (forward-same-syntax): Move from thingatpt.el.
13840
13841 2013-03-29 Leo Liu <sdl.web@gmail.com>
13842
13843 * kmacro.el (kmacro-to-register): New command.
13844 (kmacro-execute-from-register): New function.
13845 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13846
13847 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13848
13849 * mpc.el: Use defvar-local and setq-local.
13850 (mpc--proc-connect): Connection failures are not bugs.
13851 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13852 (mpc-volume-map): Bind to the up-events.
13853
13854 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13855
13856 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13857 instead of `forward-symbol'.
13858
13859 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13860
13861 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13862 (edebug--recursive-edit): Use it.
13863 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13864 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13865
13866 2013-03-28 Leo Liu <sdl.web@gmail.com>
13867
13868 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13869
13870 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13871
13872 * facemenu.el (list-colors-callback): New defvar.
13873 (list-colors-redisplay): New function.
13874 (list-colors-display): Install list-colors-redisplay as the
13875 revert-buffer-function. (Bug#14063)
13876
13877 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13878
13879 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13880 and suffixes don't overlap (bug#14061).
13881
13882 * case-table.el: Use lexical-binding.
13883 (case-table-get-table): New function.
13884 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13885
13886 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13887
13888 * progmodes/subword.el: Add `superword-mode' to do word motion
13889 over symbol_words (parallels and leverages `subword-mode' which
13890 does word motion inside MixedCaseWords).
13891
13892 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13893
13894 * eshell/em-unix.el: Move su and sudo to...
13895 * eshell/em-tramp.el: ...Eshell tramp module.
13896
13897 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13898
13899 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13900 Change return value to be a sexp. Delay `get-buffer' to after
13901 restoring the desktop (bug#13951).
13902
13903 2013-03-26 Leo Liu <sdl.web@gmail.com>
13904
13905 * register.el: Move semantic tag handling back to
13906 cedet/semantic/senator.el. (Bug#14052)
13907
13908 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13909
13910 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13911 into the prompt either (bug#13963).
13912
13913 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13914
13915 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13916 part of "(error-foo)".
13917
13918 2013-03-24 Juri Linkov <juri@jurta.org>
13919
13920 * replace.el (list-matching-lines-prefix-face): New defcustom.
13921 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13922 `occur-engine' if `face-differs-from-default-p' returns t.
13923 (occur-engine): Add `,' inside backquote construct to evaluate
13924 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13925 Pass `prefix-face' to the functions `occur-context-lines' and
13926 `occur-engine-add-prefix'.
13927 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13928 `prefix-face' and propertize the prefix with `prefix-face'.
13929 (Bug#14017)
13930
13931 2013-03-24 Leo Liu <sdl.web@gmail.com>
13932
13933 * nxml/rng-valid.el (rng-validate-while-idle)
13934 (rng-validate-quick-while-idle): Guard against deleted buffer.
13935 (Bug#13999)
13936
13937 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13938 is the last entry in kill-buffer-hook.
13939
13940 * files.el (kill-buffer-hook): Doc fix.
13941
13942 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13943
13944 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13945 Make it safe-local.
13946
13947 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13948
13949 2013-03-23 Leo Liu <sdl.web@gmail.com>
13950
13951 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13952 Remove.
13953
13954 * nxml/rng-valid.el (rng-validate-mode)
13955 (rng-after-change-function, rng-do-some-validation):
13956 * nxml/rng-maint.el (rng-validate-buffer):
13957 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13958 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13959 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13960 (nxml-extend-after-change-region): Use with-silent-modifications.
13961
13962 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13963 timer-idle-list.
13964
13965 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13966 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13967 timer-idle-list. (Bug#13999)
13968
13969 2013-03-23 Juri Linkov <juri@jurta.org>
13970
13971 * info.el (info-index-match): New face.
13972 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13973 main pattern and add text properties with the new face to matches
13974 in index entries relative to the beginning of the index entry.
13975 (Bug#14015)
13976
13977 2013-03-21 Eric Ludlam <zappo@gnu.org>
13978
13979 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13980 Inhibit read only while inserting objects.
13981
13982 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13983
13984 * progmodes/cfengine.el: Update docs to mention
13985 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13986 symbol motion. Remove "_" from the word syntax.
13987
13988 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13989
13990 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13991 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13992
13993 2013-03-20 Juri Linkov <juri@jurta.org>
13994
13995 * info.el (Info-next-reference-or-link)
13996 (Info-prev-reference-or-link): New functions.
13997 (Info-next-reference, Info-prev-reference): Use them.
13998 (Info-try-follow-nearest-node): Handle footnote navigation.
13999 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14000
14001 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14002
14003 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14004 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14005
14006 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14007
14008 Suppress unnecessary non-ASCII chatter during build process.
14009 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14010 (batch-skkdic-convert): Suppress most of the chatter.
14011 It's not needed so much now that machines are faster,
14012 and its non-ASCII component was confusing; see Dmitry Gutov in
14013 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14014
14015 2013-03-20 Leo Liu <sdl.web@gmail.com>
14016
14017 * ido.el (ido-chop): Fix bug#10994.
14018
14019 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14020
14021 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14022 Remove vars.
14023 (whitespace-color-on, whitespace-color-off):
14024 Use `font-lock-fontify-buffer' (Bug#13817).
14025
14026 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14027
14028 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14029 remapping in mode-line.
14030 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14031
14032 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14033
14034 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14035 value for `whitespace-line' face (Bug#13875).
14036 (whitespace-font-lock-keywords): Change description.
14037 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14038 the constructed keywords instead.
14039 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14040
14041 2013-03-19 Leo Liu <sdl.web@gmail.com>
14042
14043 * progmodes/compile.el (compilation-display-error): New command.
14044 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14045 C-o. (Bug#13992)
14046
14047 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14048
14049 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14050
14051 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14052
14053 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14054
14055 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14056
14057 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14058
14059 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14060 * net/tramp-gvfs.el (top):
14061 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14062 (tramp-handle-shell-command): Use it.
14063 (tramp-dissect-file-name): Raise an error when hostname is a
14064 method name, and neither method nor user is specified.
14065
14066 * net/trampver.el: Update release number.
14067
14068 2013-03-18 Leo Liu <sdl.web@gmail.com>
14069
14070 Make sure eldoc can be turned off properly.
14071 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14072 eldoc-mode.
14073 (eldoc-display-message-p): Revert last change.
14074 (eldoc-display-message-no-interference-p)
14075 (eldoc-print-current-symbol-info): Tweak.
14076
14077 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14078
14079 * doc-view.el (doc-view-new-window-function): Check the new window
14080 overlay's display property instead the char property of the
14081 buffer's first char. Use `with-selected-window' instead of
14082 `save-window-excursion' with `select-window'.
14083 (doc-view-document->bitmap): Check the current doc-view overlay's
14084 display property instead the char property of the buffer's first char.
14085
14086 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14087
14088 Automate the build of ja-dic.el (Bug#13984).
14089 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14090 from the input, rather than assume that it's been done for us by the
14091 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14092 the current date into a ja-dic.el comment, as that complicates
14093 regression testing.
14094
14095 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14096
14097 * whitespace.el: Fix double evaluation.
14098 (whitespace-space, whitespace-hspace, whitespace-tab)
14099 (whitespace-newline, whitespace-trailing, whitespace-line)
14100 (whitespace-space-before-tab, whitespace-indentation)
14101 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14102 obsolete defvars.
14103 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14104 (whitespace-color-on): Use a single font-lock-add-keywords call.
14105 Fix double-evaluation of face variables.
14106
14107 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14108
14109 * net/tramp-adb.el (tramp-adb-parse-device-names):
14110 Use `start-process' instead of `call-process'. Otherwise, the
14111 function might be blocked under MS Windows. (Bug#13299)
14112
14113 2013-03-17 Leo Liu <sdl.web@gmail.com>
14114
14115 Extend eldoc to display info in the mode-line. (Bug#13978)
14116 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14117 (eldoc-mode-line-string): New variable.
14118 (eldoc-minibuffer-message): New function.
14119 (eldoc-message-function): New variable.
14120 (eldoc-message): Use it.
14121 (eldoc-display-message-p)
14122 (eldoc-display-message-no-interference-p):
14123 Support eldoc-post-insert-mode.
14124
14125 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14126 (eval-expression): Run it.
14127
14128 2013-03-17 Roland Winkler <winkler@gnu.org>
14129
14130 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14131 strings in the list of return values.
14132
14133 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14134
14135 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14136 radix before checking for HMS forms.
14137
14138 2013-03-16 Leo Liu <sdl.web@gmail.com>
14139
14140 * progmodes/scheme.el: Add indentation and font-locking for λ.
14141 (Bug#13975)
14142
14143 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14144
14145 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14146 token before point (bug#13942).
14147
14148 2013-03-16 Leo Liu <sdl.web@gmail.com>
14149
14150 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14151
14152 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14153
14154 * startup.el (command-line-normalize-file-name): Fix handling of
14155 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14156 <xfq.free@gmail.com> in
14157 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14158
14159 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14160
14161 Sync with Tramp 2.2.7.
14162
14163 * net/trampver.el: Update release number.
14164
14165 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14166
14167 * doc-view.el: Fix bug#13887.
14168 (doc-view-insert-image): Don't modify overlay associated to
14169 non-live windows, and implement horizontal centering of image in
14170 case it's smaller than the window.
14171 (doc-view-new-window-function): Force redisplay of new windows on
14172 doc-view buffers.
14173
14174 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14175
14176 * saveplace.el (save-place-alist-to-file): Don't sort
14177 `save-place-alist', just pretty-print it (bug#13882).
14178
14179 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14180
14181 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14182 Check whether `default-file-name-coding-system' is bound.
14183 It isn't in XEmacs.
14184
14185 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14186
14187 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14188 backquotes for `obsolete' (bug#13929).
14189
14190 * international/mule.el (find-auto-coding): Include file name in
14191 obsolescence warning (bug#13922).
14192
14193 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14194
14195 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14196 for CFEngine 3-specific indentation.
14197 (cfengine3-indent-line): Use it. Fix up category regex.
14198 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14199
14200 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14201
14202 * type-break.el (type-break-file-name):
14203 * textmodes/remember.el (remember-data-file):
14204 * strokes.el (strokes-file):
14205 * shadowfile.el (shadow-initialize):
14206 * saveplace.el (save-place-file):
14207 * ps-bdf.el (bdf-cache-file):
14208 * progmodes/idlwave.el (idlwave-config-directory):
14209 * net/quickurl.el (quickurl-url-file):
14210 * international/kkc.el (kkc-init-file-name):
14211 * ido.el (ido-save-directory-list-file):
14212 * emulation/viper.el (viper-custom-file-name):
14213 * emulation/vip.el (vip-startup-file):
14214 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14215 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14216
14217 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14218
14219 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14220 * language/thai-word.el: Switch to UTF-8.
14221
14222 See ChangeLog.16 for earlier changes.
14223
14224 ;; Local Variables:
14225 ;; coding: utf-8
14226 ;; End:
14227
14228 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14229
14230 This file is part of GNU Emacs.
14231
14232 GNU Emacs is free software: you can redistribute it and/or modify
14233 it under the terms of the GNU General Public License as published by
14234 the Free Software Foundation, either version 3 of the License, or
14235 (at your option) any later version.
14236
14237 GNU Emacs is distributed in the hope that it will be useful,
14238 but WITHOUT ANY WARRANTY; without even the implied warranty of
14239 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14240 GNU General Public License for more details.
14241
14242 You should have received a copy of the GNU General Public License
14243 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.