0c62c55fa34adf5bfb183114d2603d7c14560af5
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2
3 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
4
5 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * electric.el (electric-newline-and-maybe-indent): New command.
8 Bind it globally to C-j.
9 (electric-indent-mode): Don't mess with the global map any more.
10 Don't drop the post-self-insert-hook is some buffer is still using it
11 (bug#16770).
12 * bindings.el (global-map): Remove C-j binding.
13
14 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
15 the docstring of functions advised before dumping (bug#16993).
16
17 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
18
19 * ps-print.el (ps-generate-postscript-with-faces):
20 Explicitly deactivate the mark (bug#16866).
21 * simple.el (deactivate-mark): Update region highlight.
22
23 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
24
25 * emacs-lisp/package.el (describe-package-1):
26 Decode commentary (bug#16733).
27
28 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
29
30 * custom.el (defcustom): Doc fix: recommend avoiding destructive
31 modification of the value argument of :set (bug#16755).
32
33 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * simple.el (newline-and-indent): Do autofill (bug#17031).
36
37 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
38
39 * newcomment.el (comment-normalize-vars): Only add escaping check
40 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
41 (comment-beginning): Use `narrow-to-region' instead of moving back
42 one character.
43 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
44 (comment-start-skip): Update the docstring.
45
46 2014-03-18 Richard Stallman <rms@gnu.org>
47
48 * dired.el (dired-display-file): Force use of other window.
49
50 2014-03-18 Daniel Colascione <dancol@dancol.org>
51
52 * startup.el (tty-handle-args): Remove debug message from 2007.
53
54 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
57 (advice--make-interactive-form): Use it to avoid (auto)loading function.
58 (advice--make-1, advice-add, advice-remove):
59 Remove braindead :advice-pending hack.
60
61 2014-03-17 Glenn Morris <rgm@gnu.org>
62
63 * calendar/calendar.el (calendar-generate-month): Apply weekend
64 face to the right days; fixes 2013-08-06 change. (Bug#17028)
65
66 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
67
68 * net/tramp.el (tramp-action-out-of-band): Read pending output.
69 (tramp-call-process): Trace also DESTINATION.
70
71 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
72 Quote file names when they are local. Remove superfluous trace.
73
74 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
75
76 * newcomment.el (comment-beginning): If `comment-start-skip'
77 doesn't match, move back one char and try again. (Bug#16971)
78
79 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
80 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
81 Set `comment-start-skip' to a simpler value that doesn't try to
82 check if the semicolon is escaped (this is handled by
83 `syntax-ppss' now). (Bug#16971)
84
85 * progmodes/scheme.el (scheme-mode-variables): Same.
86
87 2014-03-16 Martin Rudalics <rudalics@gmx.at>
88
89 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
90 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
91 current (Bug#16816, Bug#17007).
92 (with-current-buffer-window): New macro doing the same as
93 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
94 * help.el (help-print-return-message): Warn in doc-string to not
95 use this in `with-help-window'.
96 (describe-bindings-internal): Call `describe-buffer-bindings'
97 from within help buffer. See Juanma's scenario in (Bug#16816).
98 (with-help-window): Update doc-string.
99 * dired.el (dired-mark-pop-up):
100 * files.el (save-buffers-kill-emacs):
101 * register.el (register-preview): Use `with-current-buffer-window'
102 instead of `with-temp-buffer-window'.
103
104 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
105
106 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
107 Implement inserting into current buffer, documented in their docstrings.
108 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
109 (rst-section-tree-point, rst-forward-section, rst-indent)
110 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
111 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
112 (rst-font-lock-handle-adornment-pre-match-form)
113 (rst-repeat-last-character): Reflow docstrings.
114 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
115 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
116 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
117 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
118 Fix docstring typos.
119 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
120 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
121 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
122
123 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
124
125 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
126 for compatibility with other ports.
127 (ns-initialize-window-system): Use it. It is set in term/common-win.el
128 from the -xrm command line argument, but in the Nextstep port its value
129 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
130
131 * progmodes/python.el (defconst, python-syntax-count-quotes)
132 (python-indent-region, python-indent-shift-right)
133 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
134 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
135 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
136 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
137 (inferior-python-mode, python-shell-make-comint, run-python-internal)
138 (python-shell-buffer-substring, python-shell-send-buffer)
139 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
140 (python-completion-complete-at-point, python-fill-docstring-style)
141 (python-eldoc-function, python-imenu-format-item-label)
142 (python-imenu-format-parent-item-label)
143 (python-imenu-format-parent-item-jump-label)
144 (python-imenu--build-tree, python-imenu-create-index)
145 (python-imenu-create-flat-index): Fix docstring typos.
146 (python-indent-context, python-shell-prompt-regexp, run-python):
147 Remove superfluous backslashes.
148 (python-indent-line, python-nav-beginning-of-defun)
149 (python-shell-get-buffer, python-shell-get-process)
150 (python-info-current-defun, python-info-current-line-comment-p)
151 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
152 (python-indent-post-self-insert-function, python-shell-send-file)
153 (python-shell-completion-get-completions)
154 (python-shell-completion-complete-or-indent)
155 (python-eldoc--get-doc-at-point): Reflow docstrings.
156
157 2014-03-14 Glenn Morris <rgm@gnu.org>
158
159 * emacs-lisp/package.el (package-menu-mode-map):
160 Replace use of obsolete function alias. Tweak menu item text.
161
162 * info.el (Info-finder-find-node):
163 Ignore the `emacs' metapackage. (Bug#10813)
164
165 * finder.el (finder-list-matches): Include unversioned packages
166 in the result of a keyword search.
167
168 * finder.el (finder--builtins-descriptions): New constant.
169 (finder-compile-keywords): Use finder--builtins-descriptions.
170
171 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
172
173 * simple.el (blink-matching-paren): Describe the new value,
174 `jump', enabling the old behavior.
175 (blink-matching-open): Use that value. (Bug#17008)
176
177 2014-03-14 Glenn Morris <rgm@gnu.org>
178
179 * finder.el (finder-no-scan-regexp): Add leim-list.
180 (finder-compile-keywords):
181 Don't skip files with same basename. (Bug#14010)
182 * Makefile.in (setwins_finder): New, excluding leim.
183 (finder-data): Use setwins_finder.
184
185 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
186 (help-function-arglist, help-make-usage): Move from here...
187 * help.el (help-split-fundoc, help-add-fundoc-usage)
188 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
189 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
190
191 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
192
193 * net/socks.el (socks, socks-override-functions)
194 (socks-find-services-entry):
195 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
196 (hif-find-ifdef-block):
197 * progmodes/modula2.el (m2-indent): Fix docstring typos.
198
199 * net/tls.el (tls-program): Reflow docstring.
200
201 * progmodes/pascal.el (pascal-mode-abbrev-table)
202 (pascal-imenu-generic-expression, pascal-auto-endcomments)
203 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
204 (pascal-outline-mode): Fix docstring typos.
205 (pascal-mode): Let define-derived-mode document mode hook.
206 (pascal-uncomment-area): Reflow.
207 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
208
209 * progmodes/opascal.el (opascal-compound-block-indent)
210 (opascal-case-label-indent): Fix docstring typos.
211 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
212
213 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
214
215 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
216 Fontify multiple adjacent negation chars. (Bug#17004)
217
218 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
219
220 * emacs-lisp/package.el (package--prepare-dependencies):
221 Accept requirements without explicit version (bug#14941).
222
223 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
224
225 * register.el (register-separator, copy-to-register): Doc fixes.
226 (register-preview-default): Remove unnecessary call to concat.
227
228 * frameset.el (frameset-restore): When checking for a visible frame,
229 use the action map instead of calling visible-frame-list.
230
231 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
232
233 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
234
235 2014-03-12 Martin Rudalics <rudalics@gmx.at>
236
237 * window.el (fit-frame-to-buffer): Get maximum width from
238 display's width instead of height.
239
240 2014-03-12 Glenn Morris <rgm@gnu.org>
241
242 * desktop.el (desktop-restore-frames)
243 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
244 (desktop-restore-reuses-frames): Doc tweaks.
245
246 * electric.el (electric-indent-mode): Doc fix.
247
248 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
249
250 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
251 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
252 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
253 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
254 (cvs-dired-use-hook): Fix docstring typos.
255 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
256 Doc fixes.
257
258 * vc/pcvs-defs.el (cvs-auto-remove-handled)
259 (cvs-auto-remove-directories, cvs-default-ignore-marks)
260 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
261 (cvs-execute-single-dir): Fix docstring typos.
262
263 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
264 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
265
266 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
267
268 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
269 Fix docstring typos.
270
271 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
272
273 * frameset.el (frameset--jump-to-register): Add autoload; it could be
274 called from jump-to-register after unloading the frameset package.
275
276 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
279 (bug#16975). Deactivate the mark before setting it to nil.
280 (activate-mark): Do nothing if region is already active.
281
282 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
283
284 * frameset.el (frameset--target-display): Remove definition; declare.
285 (frameset-save, frameset-restore): Let-bind frameset--target-display.
286
287 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
290 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
291 when the advice is pending.
292 (advice-remove): Remove this marker when not needed any more.
293
294 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
295
296 * frameset.el: Separate options for reusing frames and cleaning up.
297 (frameset--reuse-list): Remove definition; declare.
298 (frameset--action-map): Declare.
299 (frameset--find-frame-if): Doc fix.
300 (frameset--restore-frame): Cache frame action.
301 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
302 how to clean up the frame list after restoring. Remove cleaning
303 options from REUSE-FRAMES. Change all keyword values to symbols.
304 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
305
306 * desktop.el (desktop-restore-forces-onscreen)
307 (desktop-restore-reuses-frames): Use non-keyword values.
308 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
309
310 2014-03-10 Glenn Morris <rgm@gnu.org>
311
312 * files.el (find-file): Doc fix: update info node name.
313
314 * emacs-lisp/advice.el (ad-add-advice, defadvice):
315 Doc fix: remove references to deleted info nodes.
316
317 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
318
319 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
320 Do not add `nil' to the environment, when there's no remote `locale'.
321 (tramp-find-inline-encoding): Check, that the remote host has
322 installed perl, before sending scripts.
323
324 2014-03-10 Leo Liu <sdl.web@gmail.com>
325
326 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
327 Clear eldoc-last-message. (Bug#16920)
328
329 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
332 (bug#14430).
333
334 2014-03-09 Juri Linkov <juri@jurta.org>
335
336 * ansi-color.el (ansi-color-names-vector): Copy default colors
337 from `xterm-standard-colors' that look well on the default white
338 background (and also on the black background) to avoid illegible
339 color combinations like yellow-on-white and white-on-white.
340 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
341
342 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
343
344 * frameset.el (frameset-restore): When no frame is visible, do not
345 generate a list of frames, just make visible the selected one.
346
347 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
348
349 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
350 it only contains the repository root. (Bug#16897)
351
352 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
353
354 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
355 only when `remote-file-name-inhibit-cache' is nil.
356 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
357
358 2014-03-06 Martin Rudalics <rudalics@gmx.at>
359
360 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
361 Fix doc-strings.
362 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
363 fit-frame-to-buffer variable. Fix doc-string.
364 (fit-window-to-buffer): Set ONLY argument in call of
365 fit-frame-to-buffer. Fix doc-string.
366
367 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
368
369 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
370 (tramp-action-password): Clear password cache if needed.
371 (tramp-read-passwd): Do not clear password cache.
372
373 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
374 cache unless it is the first password request.
375
376 2014-03-06 Glenn Morris <rgm@gnu.org>
377
378 * simple.el (newline): Doc tweak.
379
380 * emacs-lisp/shadow.el (load-path-shadows-find):
381 Ignore dir-locals. (Bug#12357)
382
383 2014-03-05 Glenn Morris <rgm@gnu.org>
384
385 * files.el (interpreter-mode-alist):
386 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
387
388 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
389
390 * frameset.el (frameset--initial-params): Filter out null entries.
391
392 2014-03-05 Martin Rudalics <rudalics@gmx.at>
393
394 * window.el (window-min-height, window-min-width):
395 Rewrite doc-strings.
396 (window-body-size): Add PIXELWISE argument to make it consistent
397 with its callees.
398
399 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
400
401 * finder.el (finder-mode-map, finder-mode-syntax-table):
402 Revert part of 2014-02-28 change.
403
404 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
405
406 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
407 (eww-setup-buffer): Clear next/prev/etc more reliably.
408 (eww-textarea-map): [tab] doesn't work on tty.
409 Reported by Mario Lang.
410
411 * net/shr.el (shr-map): Ditto.
412
413 2014-03-04 Glenn Morris <rgm@gnu.org>
414
415 * minibuffer.el (completion-hilit-commonality):
416 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
417
418 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
419
420 * hilit-chg.el (hilit-chg-unload-function): New function.
421 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
422 (hilit-chg-map-changes): Prefer cardinal number to digit.
423 (hilit-chg-display-changes): Reflow docstring.
424 (highlight-changes-rotate-faces): Remove superfluous backslash.
425
426 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
427
428 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
429 `tramp-send-command-and-check'.
430
431 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
432
433 * hexl.el (hexl-address-region, hexl-ascii-region)
434 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
435 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
436 (hexl-forward-word, hexl-previous-line, hexl-next-line):
437 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
438 (hexl-mode): Doc fix.
439 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
440 (hexl-mode-ruler): Fix typos in docstrings.
441
442 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
443 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
444 Remove superfluous backslashes.
445 (strokes-last-stroke, strokes-global-map, strokes-mode):
446 Reflow docstrings.
447 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
448 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
449 (strokes-distance-squared, strokes-global-set-stroke)
450 (strokes-global-set-stroke-string): Doc fixes.
451 (strokes-help): Fix typos; reflow docstring.
452
453 2014-03-04 Martin Rudalics <rudalics@gmx.at>
454
455 * window.el (window-in-direction): Fix doc-string.
456
457 2014-03-04 Glenn Morris <rgm@gnu.org>
458
459 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
460 Explicit error if no grammar.
461 (smie-config-save): Doc fix. Fix quote typo.
462
463 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
466 electric-indent-mode-hook if we obey electric-indent-mode.
467 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
468 decide whether we obey electric-indent-mode.
469 (c-change-set-fl-decl-start, c-extend-after-change-region):
470 Silence warnings.
471 (c-electric-indent-mode-hook): Assume we do want to obey
472 electric-indent-mode.
473
474 * electric.el (electric-indent-mode-has-been-called): Remove.
475 (electric-indent-mode): Fix accordingly.
476
477 * files.el (hack-local-variables): Mention file name in warning.
478
479 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
480
481 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
482
483 * binding.el: Add comment describing why C-d binds to `delete-char'.
484 * simple.el (delete-forward-char): Mark as interactive-only.
485
486 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
487
488 * icomplete.el (icomplete-completions):
489 Follow-up to 2014-03-01 change.
490
491 * icomplete.el: Miscellaneous doc fixes.
492 Use Icomplete everywhere instead of icomplete for consistency.
493 (icomplete-max-delay-chars): Fix typo.
494 (icomplete-mode): Use \[].
495 (icomplete-tidy, icomplete-exhibit): Reflow.
496 (icomplete-minibuffer-setup-hook, icomplete-completions):
497 Remove superfluous backlashes.
498
499 * ido.el: Miscellaneous doc fixes.
500 Use Ido everywhere instead of ido or `ido' for consistency.
501 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
502 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
503 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
504 (ido-separator): Extract obsolescence info from docstring and declare
505 with make-obsolete-variable.
506 (ido-minibuffer-setup-hook): Simplify example.
507 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
508 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
509 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
510 (ido-everywhere): Reflow docstring.
511 (ido-toggle-vc): Doc fix.
512 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
513 of long list of keybindings.
514
515 2014-03-03 Glenn Morris <rgm@gnu.org>
516
517 * frame.el (display-pixel-height, display-pixel-width)
518 (display-mm-dimensions-alist, display-mm-height)
519 (display-mm-width): Doc tweaks.
520
521 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
522
523 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
524 case of undo in region.
525
526 2014-03-02 Martin Rudalics <rudalics@gmx.at>
527
528 * window.el (fit-window-to-buffer): Fix argument in window-size
529 call when window is horizontally combined.
530
531 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
532
533 * icomplete.el (icomplete-completions): Use string-width.
534 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
535
536 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
537
538 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
539 Highlight regexp options. (Bug#16914)
540
541 2014-03-01 Martin Rudalics <rudalics@gmx.at>
542
543 * window.el (window--max-delta-1): Round down when calculating
544 how many lines/columns we can get from a window.
545
546 2014-03-01 Glenn Morris <rgm@gnu.org>
547
548 * isearch.el (search-invisible): Doc fix.
549
550 * minibuffer.el (completion-hilit-commonality):
551 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
552 * comint.el (comint-dynamic-list-completions): Doc fix.
553 * comint.el (comint-dynamic-list-completions):
554 * filecache.el (file-cache-minibuffer-complete):
555 * tempo.el (tempo-display-completions):
556 * eshell/em-hist.el (eshell-list-history):
557 Replace use of obsolete argument of display-completion-list.
558
559 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
560
561 * icomplete.el (icomplete-completions):
562 Revert back to using "..." when ?… cannot be displayed.
563
564 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
565
566 * finder.el (finder-unload-function): New function.
567
568 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
569
570 * dframe.el (dframe-detach):
571 * find-dired.el (find-dired, find-name-dired):
572 * finder.el (finder-mode-map, finder-mode-syntax-table)
573 (finder-headmark, finder-select, finder-mouse-select):
574 Fix docstring typos.
575
576 2014-02-28 Martin Rudalics <rudalics@gmx.at>
577
578 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
579 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
580 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
581 Fix doc-string based on a suggestion by Nicolas Richard
582 <theonewiththeevillook@yahoo.fr>.
583 * help.el (with-help-window): Fix doc-string.
584
585 2014-02-28 Ivan Kanis <ivan@kanis.fr>
586
587 * net/shr.el (shr-image-animate): New option.
588 (shr-put-image): Respect shr-image-animate.
589
590 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
591
592 * net/tramp-adb.el (tramp-adb-parse-device-names):
593 Use `accept-process-output'.
594 (tramp-adb-handle-file-truename): Cache the localname only.
595 (tramp-adb-handle-make-directory)
596 (tramp-adb-handle-delete-directory): Flush file properties correctly.
597 (tramp-adb-handle-set-file-modes): Do not raise an error when file
598 modes cannot be changed.
599
600 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
601 file properties of symlinks.
602
603 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
604
605 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
606 required/optional fields to match development biblatex. (Bug#16781)
607
608 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
609
610 * saveplace.el (toggle-save-place):
611 Fix argument handling. (Bug#16673)
612
613 2014-02-28 Glenn Morris <rgm@gnu.org>
614
615 * minibuffer.el (completions-first-difference)
616 (completions-common-part, completion-hilit-commonality): Doc fixes.
617
618 2014-02-28 Karl Berry <karl@gnu.org>
619
620 * info.el (Info-mode-map): Add H for describe-mode,
621 to synchronize with standalone Info.
622
623 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
624
625 * progmodes/sql.el (sql-interactive-mode):
626 Avoid setting global comint-input-ring-separator. (Bug#16814)
627
628 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
629
630 * net/dbus.el (dbus--init-bus): Declare function.
631 (dbus-path-local, dbus-interface-local): New defconst.
632 (dbus-init-bus): Use them.
633 (dbus-return-values-table): Extend doc.
634 (dbus-handle-bus-disconnect): Extend error message.
635
636 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
637
638 * subr.el (y-or-n-p): Fix double space issue in message.
639
640 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
641
642 * net/tramp.el (tramp-call-process): Improve trace message.
643 (tramp-handle-insert-file-contents): Trace error case.
644
645 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
646 <insert-directory>: Use `tramp-handle-insert-directory'.
647 (tramp-adb-handle-insert-directory): Remove function.
648 (tramp-adb-send-command-and-check): New defun, replacing
649 `tramp-adb-command-exit-status'. Change all callees.
650 (tramp-adb-handle-file-attributes)
651 (tramp-adb-handle-directory-files-and-attributes): Use it.
652 (tramp-adb-ls-output-name-less-p):
653 Use `directory-listing-before-filename-regexp'.
654 (tramp-adb-handle-delete-directory): Flush also file properties of
655 the truename of directory.
656 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
657 (tramp-adb-handle-file-local-copy): Make the local copy readable.
658 (tramp-adb-handle-write-region): Implement APPEND.
659 (tramp-adb-handle-rename-file): Make it more robust. Flush file
660 properties correctly.
661 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
662 variables. Check for connected devices only when needed.
663
664 2014-02-27 Glenn Morris <rgm@gnu.org>
665
666 * minibuffer.el (completion-table-dynamic)
667 (completion-table-with-cache): Doc fixes.
668
669 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
670 (completing-read-multiple): Doc fixes.
671
672 2014-02-27 Daniel Colascione <dancol@dancol.org>
673
674 * minibuffer.el (completion--nth-completion): Fix indentation.
675
676 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
677 explicit tramp path is empty.
678
679 2014-02-27 Glenn Morris <rgm@gnu.org>
680
681 * emacs-lisp/crm.el (completing-read-multiple):
682 Empower help-enable-auto-load.
683
684 2014-02-26 Glenn Morris <rgm@gnu.org>
685
686 * startup.el (command-line): Don't init the tty in daemon mode.
687
688 Avoid calling tty-setup-hook twice, eg if a term file
689 explicitly calls tty-run-terminal-initialization. (Bug#16859)
690 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
691 (tty-create-frame-with-faces): Use it.
692 * startup.el (command-line): Pass run-hook argument
693 to tty-run-terminal-initialization.
694
695 * dired.el (dired-restore-desktop-buffer): Demote errors;
696 eg in case a glob match fails. (Bug#16884)
697
698 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
699
700 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
701 error from `read-from-string'. (Bug#16850)
702
703 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
704 result of `completing-read' in the interactive form. (Bug#16854)
705
706 2014-02-25 Glenn Morris <rgm@gnu.org>
707
708 * image.el (image-animate, image-animate-timeout):
709 Stop animating images in dead buffers. (Bug#16878)
710
711 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
712
713 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
714 Doc fixes.
715 * startup.el (term-setup-hook): Doc fix. Make obsolete.
716 * term/sun.el (sun-raw-prefix-hooks):
717 Use tty-setup-hook instead of term-setup-hook.
718 (terminal-init-sun): Construct message from bytecomp plist.
719 * term/wyse50.el (enable-arrow-keys): Doc fix.
720
721 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
722
723 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
724 Fix docstring typos.
725
726 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
727
728 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
729
730 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
731
732 * minibuffer.el (completion--try-word-completion):
733 Fix error when completing M-x commands (bug#16808).
734
735 2014-02-24 Leo Liu <sdl.web@gmail.com>
736
737 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
738
739 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
740
741 * apropos.el (apropos-print): Avoid formatting error when
742 apropos-do-all and apropos-compact-layout are both t.
743
744 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
745
746 * apropos.el (apropos-property, apropos-all-words-regexp)
747 (apropos-true-hit, apropos-variable, apropos-print):
748 Fix docstring typos, and remove obsolete comment.
749
750 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
751
752 * net/tramp-sh.el (tramp-sh-handle-file-truename):
753 Preserve trailing "/". (Bug#16851)
754
755 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
756
757 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
758 after `=>' (bug#16811).
759 (ruby-smie-rules): Handle the inconsistent second element of the
760 list returned by `smie-indent--parent'.
761 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
762 method call.
763
764 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
765
766 * elec-pair.el (electric-pair-text-syntax-table)
767 (electric-pair-syntax-info, electric-pair--syntax-ppss)
768 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
769 (electric-pair--looking-at-unterminated-string-p): Doc fix.
770 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
771
772 2014-02-22 Glenn Morris <rgm@gnu.org>
773
774 * imenu.el (imenu--generic-function): Doc fix.
775
776 * register.el (frame-configuration-to-register): Make obsolete.
777
778 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
779
780 * desktop.el (desktop-save-buffer-p): Do not fail when
781 desktop-files-not-to-save is nil. Return t for true result
782 as the doc says.
783
784 2014-02-22 Daniel Colascione <dancol@dancol.org>
785
786 * net/secrets.el (secrets-create-item, secrets-search-items):
787 Check that attribute values are strings, avoiding the construction
788 of invalid dbus messages.
789
790 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
791
792 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
793 defun-declarations-alist.
794
795 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
798 (bug#16829).
799
800 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
801
802 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
803 (whitespace-newline, whitespace-trailing, whitespace-line)
804 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
805 (whitespace-space-after-tab): Fix typo in docstrings.
806
807 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
808
809 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
810
811 * electric.el (electric-indent-functions-without-reindent):
812 Add `yaml-indent-line'.
813
814 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
815
816 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
817 It has done nothing for years; should be removed after the release.
818
819 * simple.el (choose-completion): Fix docstring typo.
820 (read-quoted-char-radix): Remove unneeded * in docstring.
821 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
822 Don't escape parentheses unnecessarily in docstrings.
823
824 2014-02-21 Martin Rudalics <rudalics@gmx.at>
825
826 Fix handling of window-min-height/-width (Bug#16738).
827 * window.el (window--dump-window, window--dump-frame):
828 New functions.
829 (window--min-size-1): Account for window dividers.
830 When window-resize-pixelwise is nil, delay rounding till after the
831 sum of the window components has been calculated.
832 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
833 nil make sure at least one text line and two text columns remain
834 fully visible.
835 (window-resize): Signal an error when window-resize-apply fails.
836 (window--resize-child-windows): Fix calculation of by how many
837 pixels a window can still be shrunk via window-new-normal.
838 (adjust-window-trailing-edge): Call window--resizable with
839 correct TRAIL argument.
840
841 (with-temp-buffer-window): Don't evaluate BODY within
842 with-current-buffer (Bug#16816).
843
844 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
845
846 * net/tramp.el (tramp-check-cached-permissions):
847 Call `file-attributes' with `suffix' being a symbol but a string.
848
849 2014-02-21 Daniel Colascione <dancol@dancol.org>
850
851 * net/dbus.el (dbus-init-bus-1): Declare new subr.
852 (dbus-init-bus): New function: call into dbus-init-bus-1
853 and installs a handler for the disconnect signal.
854 (dbus-call-method): Rewrite to look for result in cons.
855 (dbus-call-method-handler): Store result in cons.
856 (dbus-check-event): Recognize events with nil sender as valid.
857 (dbus-handle-bus-disconnect): New function. React to bus
858 disconnection signal by synthesizing dbus error for each
859 pending synchronous or asynchronous call.
860 (dbus-notice-synchronous-call-errors): New function.
861 (dbus-handle-event): Raise errors directly only when `dbus-debug'
862 is true, not all the time.
863
864 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
865
866 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
867 Remove obsolescence declarations, these variables do not exist anymore.
868
869 * savehist.el (savehist-save-minibuffer-history)
870 (savehist-additional-variables, savehist-file, savehist-mode-hook)
871 (savehist-save-hook, savehist-coding-system, savehist-loaded)
872 (savehist-load, savehist-install, savehist-autosave): Fix typos;
873 mostly, refer to "Savehist mode" when talking about the mode,
874 and not the function.
875
876 * saveplace.el (save-place): Remove redundant info in docstring.
877 (save-place-forget-unreadable-files, toggle-save-place)
878 (save-place-forget-unreadable-files, save-place-dired-hook):
879 Fix typos and remove unneeded backslashes.
880
881 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
882
883 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
884 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
885
886 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
887 <insert-directory>: Use `tramp-handle-insert-directory'.
888 (tramp-gvfs-handle-insert-directory): Remove function.
889
890 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
891 Call `tramp-handle-insert-directory'.
892
893 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
894
895 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
896 before the start of buffer/region (bug#16799).
897
898 2014-02-20 Glenn Morris <rgm@gnu.org>
899
900 * isearch.el (search-invisible): Doc fix.
901
902 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
903
904 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
905 (bug#16657).
906
907 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
908
909 * frameset.el (frameset-restore): Delay removing an old frame's
910 duplicate id until the new frame has been correctly created.
911
912 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
913
914 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
915 (tramp-check-cached-permissions): Call `file-attributes' if the
916 cache is empty.
917
918 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
919 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
920
921 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
922 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
923 (tramp-gvfs-maybe-open-connection): Set always connection
924 properties, even if target is mounted already.
925
926 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
927 Set tramp-autoload cookie.
928 (tramp-get-remote-touch): New defun.
929 (tramp-sh-handle-set-file-times): Use it.
930 (tramp-sh-handle-directory-files-and-attributes):
931 Use `tramp-handle-directory-files-and-attributes' if neither stat
932 nor perl are available on the remote host.
933
934 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
935 "/". Write long listing only when "l" belongs to the switches.
936
937 * net/trampver.el: Update release number.
938
939 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
940
941 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
942
943 2014-02-19 Martin Rudalics <rudalics@gmx.at>
944
945 * window.el (window-state-put): Allow WINDOW to refer to an
946 internal window (Bug#16793).
947
948 2014-02-19 Glenn Morris <rgm@gnu.org>
949
950 * textmodes/remember.el: Move provide statement to end.
951 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
952 (remember-notes): Doc fixes.
953
954 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
955
956 * delsel.el (delete-char): Restore incorrectly erased property
957 (bug#16795).
958
959 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
960
961 * frameset.el (frameset--restore-frame): When a frame is being reused
962 and its root window is not alive, delete all the frame's windows before
963 restoring the window state. This works around the issue in bug#16793.
964
965 2014-02-18 Glenn Morris <rgm@gnu.org>
966
967 * textmodes/remember.el (remember-data-directory)
968 (remember-directory-file-name-format, remember-store-in-files)
969 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
970 (remember-notes-save-and-bury-buffer)
971 (remember-notes--kill-buffer-query): Doc fixes.
972
973 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
974
975 2014-02-17 Alan Mackenzie <acm@muc.de>
976
977 Connect electric-indent-mode up with CC Mode. Bug #15478.
978 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
979 to electric-indent-{,local-}-mode.
980 (c-basic-common-init): Set electric-indent-inhibit.
981 Initialise c-electric-flag from electric-indent-mode.
982 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
983 New hook functions which propagate electric-indent-mode to CC mode.
984
985 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
986 hit, toggle electric-indent-local-mode.
987
988 * electric.el (electric-indent-mode-has-been-called):
989 New variable.
990
991 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
992
993 * frameset.el (frameset-cfg-id): New function.
994 (frameset--reuse-frame, frameset-restore): Use it.
995 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
996
997 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * ido.el (ido-file-internal): Remove unused var `d'.
1000 Use \` for to match BoS. Fit within 80n columns.
1001
1002 2014-02-17 Daniel Colascione <dancol@dancol.org>
1003
1004 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1005 dbus-call-method check for completion using a busy-wait loop with
1006 gradual backoff.
1007
1008 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1009
1010 Sync with Tramp 2.2.9.
1011
1012 * net/trampver.el: Update release number.
1013
1014 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1015
1016 * ido.el (ido-file-internal): Don't add the name of an existing
1017 directory twice. (Bug#16747)
1018
1019 2014-02-16 Glenn Morris <rgm@gnu.org>
1020
1021 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1022 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1023
1024 2014-02-15 Michael R. Mauger <michael@mauger.com>
1025
1026 * progmodes/sql.el: Version 3.4
1027 (sql-oracle-options): New default value ("-L").
1028 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1029 (sql-placeholders-filter): Correct placeholder pattern.
1030 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1031 (sql-login-delay): New variable.
1032 (sql-product-interactive): Use it.
1033
1034 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1035
1036 * frameset.el (frameset--jump-to-register): Check that buffer is live
1037 (bug#16749).
1038
1039 2014-02-15 Glenn Morris <rgm@gnu.org>
1040
1041 * info.el (info-initialize): Revert 2014-01-10 change.
1042
1043 2014-02-14 Glenn Morris <rgm@gnu.org>
1044
1045 * replace.el (map-query-replace-regexp)
1046 (read-regexp-defaults-function, read-regexp): Doc fixes.
1047
1048 * dired.el (dired-read-regexp):
1049 * faces.el (list-faces-display):
1050 * misearch.el (multi-isearch-read-matching-buffers)
1051 (multi-isearch-read-matching-files):
1052 * play/cookie1.el (cookie-apropos):
1053 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1054
1055 * textmodes/remember.el (remember): Use frameset-to-register
1056 rather than frame-configuration-to-register.
1057
1058 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1059
1060 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1061 incorrect keybinding.
1062
1063 2014-02-13 Daniel Colascione <dancol@dancol.org>
1064
1065 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1066 when adding overlays so that line numbers from compiler match line
1067 numbers we use.
1068
1069 2014-02-13 Glenn Morris <rgm@gnu.org>
1070
1071 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1072
1073 * jit-lock.el (jit-lock-mode): Doc fix.
1074
1075 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1076
1077 * apropos.el (apropos-read-pattern): When the user passes an empty
1078 string, give a more helpful error message than "Wrong type
1079 argument: stringp, nil".
1080
1081 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1084
1085 2014-02-13 Glenn Morris <rgm@gnu.org>
1086
1087 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1088
1089 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1092 shift-select commands.
1093
1094 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1095
1096 * progmodes/js.el (js-indent-line): Don't widen.
1097 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1098
1099 2014-02-12 Glenn Morris <rgm@gnu.org>
1100
1101 * icomplete.el (icomplete): Add info-link to defgroup.
1102 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1103 (icomplete-minibuffer-map, icomplete-mode)
1104 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1105
1106 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1107 (package-menu-filter): Rename from package-menu-filter-interactive.
1108 Doc fix.
1109
1110 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1111
1112 * frameset.el (frameset--jump-to-register): Select the required
1113 window and buffer before restoring position (bug#16696).
1114
1115 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1116
1117 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1118
1119 2014-02-10 Glenn Morris <rgm@gnu.org>
1120
1121 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1122
1123 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1124
1125 * w32-common-fns.el (x-get-selection): Doc fix.
1126 * select.el (x-get-selection): Doc fix. (Bug#15109)
1127
1128 * face-remap.el (face-remap-add-relative)
1129 (face-remap-remove-relative, face-remap-reset-base)
1130 (face-remap-set-base): Call force-mode-line-update to redisplay
1131 the current buffer due to potential change in faces. (Bug#16709)
1132
1133 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1134
1135 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1136 script more robustly.
1137
1138 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1139
1140 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1141
1142 * simple.el (choose-completion): Doc fix (bug#14160).
1143
1144 * subr.el (event-start): Say what a nil EVENT value means.
1145
1146 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1147 (bug#14197).
1148
1149 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1150
1151 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1152
1153 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1154
1155 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1156 predicate function (bug#15455).
1157
1158 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1159
1160 * ielm.el (inferior-emacs-lisp-mode): Instead of
1161 `comment-use-global-state', set `comment-use-syntax'.
1162
1163 2014-02-10 Glenn Morris <rgm@gnu.org>
1164
1165 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1166
1167 2014-02-09 Alan Mackenzie <acm@muc.de>
1168
1169 Fix c-invalidate-state-cache on narrowed buffers.
1170 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1171 Widen when setting and clearing the CPP delimiter properties.
1172
1173 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1174
1175 * help.el (describe-bindings): Doc fix (bug#9888).
1176
1177 * files.el (save-buffer): Use ARG as the parameter name for
1178 consistency (bug#10346).
1179 (save-buffer): Clarify the 0 argument (bug#10346).
1180
1181 * cus-edit.el (customize-apropos): Fix error string.
1182 (custom-buffer-create): Doc fix (bug#11122).
1183 (custom-sort-items): Doc fix (bug#11121).
1184
1185 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1186
1187 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1188 (icomplete-simple-completing-p): Mention the previous variable.
1189
1190 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1191 meaning of the parameter (bug#12282).
1192
1193 * files.el (find-file-noselect): Clarify prompt when changing
1194 readedness (bug#13261).
1195 (locate-file): Suffixes aren't returned, so don't say that they
1196 are (bug#12674).
1197 (backup-inhibited): Doc clarification (bug#12525).
1198
1199 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1200 before we actually start to delete things (bug#16331).
1201
1202 * subr.el (event-start): Doc fix (bug#14228).
1203 (event-end): Ditto.
1204
1205 2014-02-09 Glenn Morris <rgm@gnu.org>
1206
1207 * emacs-lisp/warnings.el (lwarn):
1208 Empower help-enable-auto-load. (Bug#15940)
1209
1210 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1211
1212 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1213 (Bug#16690)
1214
1215 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1216
1217 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1218 Insert output at end of buffer. (Bug#16120)
1219
1220 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1221
1222 * simple.el (choose-completion-string-functions): Document new
1223 calling convention (bug#14153).
1224 (execute-extended-command): Clarify doc string (bug#13373).
1225
1226 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1227
1228 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1229 (find-grep-dired): Doc fix (bug#14288).
1230
1231 2014-02-08 Juri Linkov <juri@jurta.org>
1232
1233 * isearch.el (isearch-quote-char): Check character validity
1234 like in `quoted-insert' (bug#16677).
1235
1236 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1237
1238 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1239
1240 * isearch.el (isearch-hide-immediately): Doc clarification
1241 (bug#14723).
1242
1243 * simple.el (line-move): Document utility function used many
1244 places in the Emacs sources (bug#14843).
1245
1246 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1247 (dired-prev-marked-file): Doc fix (bug#14855).
1248 (dired-up-directory): Doc fix (bug#14848).
1249
1250 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1251
1252 * files.el (file-relative-name): Doc fix (bug#15159).
1253
1254 * fringe.el (fringe-styles): Doc fix (bug#15239).
1255
1256 * isearch.el (isearch-filter-predicate): Documentation typo fix
1257 (bug#15474).
1258
1259 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1260
1261 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1262
1263 * replace.el (replace-match-maybe-edit): Doc clarification
1264 (bug#15632).
1265
1266 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1267
1268 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1269
1270 2014-02-08 Glenn Morris <rgm@gnu.org>
1271
1272 * help-fns.el (describe-variable):
1273 Check {file,dir}-local-variables-alist, and buffer-file-name,
1274 in the correct buffer.
1275
1276 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1277
1278 * help-fns.el (describe-variable): Fix the case where
1279 a value is directory-local with no dir-locals file. (Bug#16635)
1280
1281 2014-02-08 Glenn Morris <rgm@gnu.org>
1282
1283 * abbrev.el (edit-abbrevs-mode):
1284 Derive from fundamental-mode. (Bug#16682)
1285
1286 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1287
1288 * simple.el (quoted-insert): Check character validity (bug#16677).
1289
1290 2014-02-07 Juri Linkov <juri@jurta.org>
1291
1292 * desktop.el (desktop-read): Claim the lock when the owner is not
1293 the current process. (Bug#16157)
1294
1295 2014-02-07 Juri Linkov <juri@jurta.org>
1296
1297 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1298 to "\\` ". (Bug#16651)
1299
1300 2014-02-07 Juri Linkov <juri@jurta.org>
1301
1302 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1303 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1304 (desktop-auto-save-cancel-timer): New function with some code from
1305 `desktop-auto-save-set-timer'.
1306 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1307 Instead of setting `desktop-save-mode' to nil, call
1308 `desktop-save-mode' with arg 0. (Bug#16630)
1309
1310 2014-02-07 Glenn Morris <rgm@gnu.org>
1311
1312 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1313 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1314 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1315
1316 * obsolete/iswitchb.el: Move to obsolete/.
1317 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1318 since obsolete/ is not scanned for autoloads.
1319 * emacs-lisp/authors.el (authors-valid-file-names):
1320 Add iswitchb.el.
1321
1322 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1323 Disable now non-functional find-file-hook.
1324
1325 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1326
1327 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1328 instead of ";" in order to avoid additional prompts. Let heredoc
1329 scripts read from tty. (Bug#16582)
1330 (tramp-send-command): No special handling of heredocs, it isn't
1331 necessary anymore.
1332
1333 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1336 with a space (bug#16664). Limit the symbols considered to the ones
1337 that are bound or fbound (bug#16646).
1338
1339 2014-02-06 Glenn Morris <rgm@gnu.org>
1340
1341 * epa.el (epa-mail-aliases): Doc fix.
1342
1343 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1344
1345 * emacs-lisp/lisp.el (lisp-completion-at-point):
1346 Use `completion-table-merge' instead of `completion-table-in-turn'
1347 (bug#16604).
1348
1349 * minibuffer.el (completion-table-merge): New function.
1350
1351 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1352
1353 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1354 (tramp-sh-handle-set-file-acl)
1355 (tramp-sh-handle-start-file-process)
1356 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1357 (tramp-find-executable, tramp-send-command): Use it.
1358
1359 2014-02-05 Glenn Morris <rgm@gnu.org>
1360
1361 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1362
1363 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1364
1365 * progmodes/python.el (python-shell-send-string)
1366 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1367
1368 2014-02-04 Anders Lindgren <andlind@gmail.com>
1369
1370 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1371 the names (bug#16620).
1372
1373 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1374
1375 * faces.el (window-divider): New default value. Rewrite doc-string.
1376 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1377
1378 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1379
1380 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1381 `protected' and `public' can also be called without arguments.
1382
1383 2014-02-03 Glenn Morris <rgm@gnu.org>
1384
1385 * register.el (window-configuration-to-register)
1386 (frame-configuration-to-register): Unadvertise unused argument.
1387 * frameset.el (frameset-to-register): Remove unused argument.
1388
1389 * frameset.el (frameset-to-register):
1390 * kmacro.el (kmacro-to-register):
1391 * register.el (increment-register):
1392 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1393 (calc-append-to-register, calc-prepend-to-register):
1394 * play/gametree.el (gametree-layout-to-register)
1395 (gametree-apply-register-layout):
1396 * textmodes/picture.el (picture-clear-rectangle-to-register)
1397 (picture-yank-rectangle-from-register):
1398 * vc/emerge.el (emerge-combine-versions-register):
1399 Use register-read-with-preview to read registers.
1400
1401 2014-02-03 João Távora <joaotavora@gmail.com>
1402
1403 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1404 when at beginning of (possibly narrowed) buffer.
1405
1406 2014-02-02 Daniel Colascione <dancol@dancol.org>
1407
1408 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1409 Also try to display local help from just before point.
1410
1411 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1412
1413 c-parse-state. Don't "append-lower-brace-pair" in certain
1414 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1415 recognised as a comment.
1416
1417 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1418 as well as normal comment starter.
1419 (c-parse-state-get-strategy): Extra return possibility
1420 'back-and-forward.
1421 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1422 return value list to indicate replacement of a brace-pair cons
1423 with its car.
1424 (c-parse-state-1): With 'back-and-forward, only call
1425 c-append-lower-brace-pair-to state-cache when cons-separated.
1426
1427 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1428
1429 * term/ns-win.el (ns-suspend-error): New function.
1430 (ns-initialize-window-system): Add ns-suspend-error to
1431 suspend-hook (Bug#16612).
1432
1433 2014-02-02 Daniel Colascione <dancol@dancol.org>
1434
1435 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1436 Make loading cc-mode silent.
1437
1438 2014-02-02 Daniel Colascione <dancol@dancol.org>
1439
1440 * comint.el (comint-prompt-read-only): Change doc to suggest
1441 remap keybinding.
1442
1443 2014-02-02 Glenn Morris <rgm@gnu.org>
1444
1445 * register.el (register-read-with-preview, point-to-register)
1446 (window-configuration-to-register, frame-configuration-to-register)
1447 (jump-to-register, number-to-register, view-register, insert-register)
1448 (copy-to-register, append-to-register, prepend-to-register)
1449 (copy-rectangle-to-register): Doc fixes.
1450
1451 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1454 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1455 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1456 * help-fns.el (describe-function-1): Use it.
1457
1458 2014-02-02 Glenn Morris <rgm@gnu.org>
1459
1460 * register.el (register-preview-default): New function,
1461 split from register-preview.
1462 (register-preview-function): Rename from register-preview-functions,
1463 make it not a hook.
1464 (register-preview): Use register-preview-function.
1465 (register-read-with-preview): Error on non-character event. (Bug#16595)
1466
1467 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1468
1469 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1470 `:' before binary operators (bug#16609). Don't check for `:'
1471 before `[' and `(', or their syntax status. A percent literal
1472 can't end with either.
1473 (ruby-font-lock-keywords): For built-ins that require arguments,
1474 check that they're followed by something that looks like argument
1475 (bug#16610).
1476
1477 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1478
1479 * subr.el (butlast): Document what an omitted N means (bug#13437).
1480 (nbutlast): Ditto.
1481
1482 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1483
1484 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1485 depth shallower (bug#16587).
1486 (shr-tag-svg): Respect `shr-inhibit-images'.
1487 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1488
1489 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1490
1491 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1492 (ruby-smie-grammar): Make "." right-associative. Make its priority
1493 lower than the ternary and all binary operators.
1494 (ruby-smie-rules): Indent "(" relative to the first non-"."
1495 parent, or the first "." parent at indentation.
1496 Use `ruby-align-chained-calls' for indentation of "." tokens.
1497 (Bug#16593)
1498
1499 2014-01-31 Juri Linkov <juri@jurta.org>
1500
1501 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1502 from `make-hash-table'.
1503
1504 * textmodes/ispell.el (ispell-init-process): Change message format
1505 to be consistent with other messages.
1506
1507 2014-01-31 Glenn Morris <rgm@gnu.org>
1508
1509 * delsel.el (delete-selection-mode): Doc fix.
1510
1511 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1512 (trace-function-background): Doc fixes.
1513
1514 * ido.el (ido-use-virtual-buffers): Doc fix.
1515 Reset :version, since the default value has not changed.
1516
1517 * register.el (register-preview-delay, register-read-with-preview):
1518 Doc fixes.
1519
1520 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1521 do not mess with mail-buffer position (fixes 2009-11-03 change).
1522 * progmodes/cc-mode.el (c-submit-bug-report):
1523 Check auto-fill-mode is bound. (Bug#16592)
1524
1525 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1526
1527 * startup.el (fancy-splash-image-file): New function,
1528 split from fancy-splash-head.
1529 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1530 so that we are both using the same image. (Bug#16574)
1531
1532 2014-01-30 Glenn Morris <rgm@gnu.org>
1533
1534 * simple.el (eval-expression): Doc fix.
1535
1536 * hexl.el (hexl-mode-hook):
1537 * ielm.el (ielm-mode-hook):
1538 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1539 (lisp-interaction-mode-hook):
1540 * progmodes/cfengine.e (cfengine3-documentation-function):
1541 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1542
1543 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1546 is a symbol (bug#16584).
1547
1548 2014-01-30 Glenn Morris <rgm@gnu.org>
1549
1550 * help.el (help-for-help-internal): Add "P" to text.
1551
1552 2014-01-29 Glenn Morris <rgm@gnu.org>
1553
1554 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1555
1556 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1557
1558 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1559 height constraints.
1560
1561 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1562
1563 * progmodes/hideif.el: Extend to full CPP expression syntax.
1564 (hif-token-alist): Add missing tokens.
1565 (hif-token-regexp): Add support for float/octal/hex immediates.
1566 (hif-string-literal-regexp): New const.
1567 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1568 (hif-exprlist): New function.
1569 (hif-parse-if-exp): Use it.
1570 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1571 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1572 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1573 (hif-logxor, hif-comma): New functions.
1574
1575 2014-01-28 Glenn Morris <rgm@gnu.org>
1576
1577 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1578
1579 * indent.el (tab-stop-list): Doc fix. Add :version.
1580
1581 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1582 (cvs-append-to-ignore): Add compatibility alias.
1583
1584 2014-01-27 Glenn Morris <rgm@gnu.org>
1585
1586 * dired.el (dired-hide-details-mode): Don't autoload it,
1587 since it cannot be used outside Dired buffers anyway.
1588
1589 * emulation/cua-base.el (cua-mode): Doc fix.
1590
1591 * dired.el (dired-hide-details-hide-symlink-targets)
1592 (dired-hide-details-hide-information-lines)
1593 (dired-hide-details-mode): Doc fixes.
1594
1595 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1596 * strokes.el (strokes-file): Doc fix. Bump :version.
1597 (strokes-help): Doc fix.
1598 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1599 * emulation/viper.el (viper): Doc fix for custom group.
1600 (top-level): Remove oh-so-no-longer-relevant text about vip.
1601 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1602
1603 * ido.el (ido-save-directory-list-file):
1604 * saveplace.el (save-place-file):
1605 * calendar/timeclock.el (timeclock-file):
1606 * net/quickurl.el (quickurl-url-file):
1607 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1608 * progmodes/idlwave.el (idlwave-config-directory):
1609 * textmodes/remember.el (remember-data-file):
1610 Bump :version.
1611
1612 2014-01-26 Glenn Morris <rgm@gnu.org>
1613
1614 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1615 Doc fix. Make obsolete.
1616 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1617
1618 * sort.el (delete-duplicate-lines): Doc fix.
1619
1620 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1621
1622 * progmodes/ada-mode.el (ada):
1623 * woman.el (woman): Link to info manual and Commentary section.
1624
1625 * progmodes/flymake.el (flymake):
1626 * nxml/nxml-mode.el (nxml):
1627 * net/eww.el (eww):
1628 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1629 * htmlfontify.el (htmlfontify):
1630 * ses.el (ses):
1631 * epa.el (epa):
1632 * ido.el (ido): Link to info manual.
1633
1634 2014-01-25 Leo Liu <sdl.web@gmail.com>
1635
1636 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1637
1638 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1639
1640 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1641 (bug#16537).
1642
1643 >>>>>>> MERGE-SOURCE
1644 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1645
1646 * net/eww.el (eww-download-callback):
1647 Fix reference to eww-download-directory.
1648
1649 * emacs-lisp/bytecomp.el (byte-compile-file):
1650 Remove unused local variable `file-name'.
1651
1652 2014-01-24 Glenn Morris <rgm@gnu.org>
1653
1654 * woman.el (woman-default-faces, woman-monochrome-faces):
1655 Fix obsolescence specification.
1656
1657 * subr.el (with-demoted-errors): Doc fix.
1658
1659 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1660
1661 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1662 (cl--macroexp-fboundp): New function.
1663 (cl--make-type-test): Use it.
1664
1665 2014-01-23 Glenn Morris <rgm@gnu.org>
1666
1667 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1668 * simple.el (eval-expression): Doc fixes.
1669
1670 2014-01-22 Glenn Morris <rgm@gnu.org>
1671
1672 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1673
1674 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1675
1676 * emacs-lisp/package.el: Write files silently.
1677 (package-autoload-ensure-default-file, package--write-file-no-coding)
1678 (package-generate-description-file, package--download-one-archive)
1679 (package-install-from-archive): Tell `write-region' to stay quiet.
1680 (package-menu-mode, package-menu--print-info): Omit the Archive column
1681 if there's only one archive.
1682 (package-all-keywords, package--has-keyword-p): Remove dead code.
1683
1684 2014-01-22 Glenn Morris <rgm@gnu.org>
1685
1686 * version.el (emacs-bzr-version-bzr): Fix typo.
1687
1688 * version.el (emacs-repository-get-version):
1689 Check either .bzr or .git, but not both.
1690 Make the git case actually use the DIR argument, and return nil
1691 rather than the empty string.
1692 Avoid error if .git exists but the git executable is not found.
1693
1694 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1695
1696 Fixes in window size functions around Bug#16430 and Bug#16470.
1697 * window.el (window-total-size, window-size): New argument ROUND.
1698 (window--min-delta-1, window-min-delta, window--max-delta-1):
1699 Be more conservative when calculating the numbers of lines or
1700 columns a window can shrink (Bug#16430).
1701 (fit-window-to-buffer): Simplify code.
1702 * term.el (term-window-width): Call window-body-width again.
1703
1704 2014-01-22 Glenn Morris <rgm@gnu.org>
1705
1706 * image.el (image-format-suffixes): Doc fix.
1707
1708 * international/quail.el (quail-define-package): Doc fix.
1709
1710 * emacs-lisp/authors.el (authors-valid-file-names)
1711 (authors-renamed-files-alist): Additions.
1712
1713 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1714 reverts 2014-01-09 change. (Bug#16422)
1715
1716 * calc/calc-embed.el (thing-at-point-looking-at):
1717 * emacs-lisp/map-ynp.el (x-popup-dialog):
1718 * obsolete/lmenu.el (x-popup-dialog):
1719 * emacs-lisp/package.el (url-recreate-url):
1720 * mail/mailclient.el (clipboard-kill-ring-save):
1721 * subr.el (x-popup-dialog): Update declaration.
1722 * mail/rmail.el (rmail-mime-message-p):
1723 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1724
1725 2014-01-21 Daniel Colascione <dancol@dancol.org>
1726
1727 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1728 Correctly detect when we're inside an arithmetic expansion form
1729 containing nested parenthesis.
1730 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1731 to detect cases where we shouldn't expand "<<" to a heredoc
1732 skeleton.
1733
1734 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1737 (eldoc--message-command-p): New function.
1738 (eldoc-display-message-p): Use it.
1739 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1740 message is not automatically erased for us.
1741 (eldoc-print-current-symbol-info): Erase previous message, if any.
1742
1743 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1744
1745 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1746 specify it's an interactive function.
1747
1748 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1749 Fix regex used for scanning for citation keys which failed for
1750 citations with optional arguments.
1751
1752 2014-01-21 Leo Liu <sdl.web@gmail.com>
1753
1754 * simple.el (read--expression): Don't enable eldoc-mode.
1755
1756 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 * simple.el (move-beginning-of-line): Make sure we don't move forward
1759 (bug#16497).
1760
1761 2014-01-20 Juri Linkov <juri@jurta.org>
1762
1763 * saveplace.el (toggle-save-place, save-place-to-alist)
1764 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1765 'dired-mode) before checking for dired-directory. (Bug#16477)
1766
1767 2014-01-20 Juri Linkov <juri@jurta.org>
1768
1769 * indent.el (indent-line-to): Use backward-to-indentation
1770 instead of back-to-indentation. (Bug#16461)
1771
1772 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1773
1774 Revert some of the CANNOT_DUMP fix (Bug#16494).
1775 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1776 but fixing this can wait until after the next release.
1777 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1778
1779 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1780
1781 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1782 Use `password-word-equivalents'.
1783 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1784 to t. (Bug#5664, Bug#13124)
1785
1786 2014-01-19 Alan Mackenzie <acm@muc.de>
1787
1788 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1789 points.
1790 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1791 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1792 * progmodes/cc-mode.el (c-before-change, c-after-change)
1793 (c-font-lock-fontify-region): Bind it here.
1794
1795 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1796
1797 * term.el (term-window-width): Call window-text-width instead of
1798 window-width (Bug#16470).
1799
1800 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1801
1802 * simple.el (password-word-equivalents): Remove duplicates.
1803 Sort, to make this easier next time.
1804 Downcase. Omit ": " after "jelszó".
1805
1806 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1807
1808 * term/common-win.el (saved-region-selection): Defvar it.
1809 (x-select-text): Set saved-region-selection (Bug#16382).
1810
1811 2014-01-18 Glenn Morris <rgm@gnu.org>
1812
1813 * emacs-lisp/authors.el (authors-aliases)
1814 (authors-renamed-files-alist): Add some entries.
1815
1816 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1817
1818 * net/tramp.el (tramp-password-prompt-regexp):
1819 Use `password-word-equivalents' if available.
1820 (tramp-action-password, tramp-process-one-action)
1821 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1822
1823 2014-01-17 Chong Yidong <cyd@gnu.org>
1824
1825 * simple.el (password-word-equivalents): New defcustom.
1826 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1827 to 24.4.
1828 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1829 to t. (Bug#13124)
1830
1831 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1832
1833 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1834 (ruby-align-to-stmt-keywords): Change the default value.
1835 Use `ruby-alignable-keywords' to generate the possible customization
1836 choices.
1837 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1838 keywords, check against the value of `ruby-alignable-keywords'
1839 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1840
1841 2014-01-17 Glenn Morris <rgm@gnu.org>
1842
1843 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1844
1845 Make M-x authors return zero *Authors Errors* from current logs.
1846 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1847 (authors-ignored-files): Add some entries, remove others.
1848 (authors-ambiguous-files, authors-valid-file-names):
1849 Add some entries.
1850 (authors-renamed-files-alist): Add, remove, and adjust entries.
1851 (authors-renamed-files-regexps): Add some entries.
1852 Remove some very broad ones. Make some entries `lax'.
1853 (authors-lax-changelogs): New constant.
1854 (authors-disambiguate-file-name): Treat top-level specially.
1855 (authors-lax-changelog-p): New function.
1856 (authors-canonical-file-name): Check file as written against
1857 authors-valid-file-names. Do not special-case etc/.
1858 Handle `lax' logs and authors-renamed-files-regexps elements.
1859
1860 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1861
1862 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1863 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1864 callers.
1865
1866 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1867
1868 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1869 Assume we're already in the proper buffer.
1870 Inspired by Anders Lindgren <andlind@gmail.com>.
1871 (follow-post-command-hook): Call it from the right buffer.
1872 (follow-comint-scroll-to-bottom): Adjust call.
1873 (follow-all-followers): Use get-buffer-window-list.
1874
1875 2014-01-15 Daniel Colascione <dancol@dancol.org>
1876
1877 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1878 `buffer-file-name' in interactive-form so that we don't leave
1879 pathless file names in `file-name-history'.
1880
1881 2014-01-15 Juri Linkov <juri@jurta.org>
1882
1883 * indent.el (indent-rigidly): Set deactivate-mark to nil
1884 in transient indentation mode. (Bug#16438)
1885
1886 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1887
1888 * emacs-lisp/package.el (package-desc-keywords): New function
1889 (Bug#16222).
1890 (describe-package-1, package-all-keywords)
1891 (package--has-keyword-p): Use it.
1892
1893 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1894
1895 * simple.el (define-alternatives): When creating the
1896 COMMAND-alternatives variable, assign COMMAND as its definition
1897 name so that `describe-variable' can relocate it.
1898
1899 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1900
1901 * font-lock.el (font-lock-keywords): Fix typo in docstring
1902 (bug#16307).
1903
1904 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1905
1906 * ispell.el (ispell-region): Reset `in-comment' for new line
1907 instead of wrongly reset `add-coment' (bug#13577).
1908
1909 2014-01-14 Daiki Ueno <ueno@gnu.org>
1910
1911 * epa-file.el (epa-file-write-region): Encode the region according
1912 to `buffer-file-format'. Problem reported at:
1913 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1914
1915 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1918 so it applies in the right buffer (bug#16410).
1919
1920 2014-01-13 Daniel Colascione <dancol@dancol.org>
1921
1922 * textmodes/rst.el (rst-define-key): Provide deprecated
1923 keybindings through named functions instead of anonymous ones so
1924 that "??" doesn't appear in describe-mode output.
1925
1926 2014-01-13 Bastien Guerry <bzg@gnu.org>
1927
1928 * simple.el (define-alternatives): Call the selected command
1929 interactively. When setting `COMMAND--implementation' for the
1930 first time, tell the user how to chose another implementation.
1931 Enhance the docstring.
1932
1933 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1936 (log-edit--match-first-line): New function.
1937 (log-edit-font-lock-keywords): Use it.
1938 (log-edit-mode): Make jit-lock-defer-multiline work.
1939
1940 2014-01-13 Bastien Guerry <bzg@gnu.org>
1941
1942 * rect.el (rectangle-mark-mode): When the region is not active,
1943 display a message saying that the mark as been set and that
1944 rectangle mode is in use.
1945 (rectangle--highlight-for-redisplay): Only put an overlay with a
1946 visible vertical bar when (display-graphic-p) is non-nil.
1947 This partially fixes Bug#16403.
1948
1949 2014-01-13 Juri Linkov <juri@jurta.org>
1950
1951 * info.el (Info-find-file): Go to DIR before displaying the error
1952 about a nonexistent file if no previous Info file is visited.
1953 Use `user-error' instead of `error' for "Info file %s does not exist".
1954 (Info-find-node-2): In case of a nonexistent node in unwind forms
1955 go to the Top node if there is no previous node to revert to.
1956 (Bug#16405)
1957
1958 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1959
1960 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1961 * window.el (fit-frame-to-buffer): Fix doc-string.
1962 Respect window-min-height/-width. Fit pixelwise when
1963 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1964 when avoiding that frame goes partially off-screen.
1965 (fit-window-to-buffer): Respect window-min-height/-width
1966 (Bug#14096).
1967
1968 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1971 after an empty line.
1972
1973 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * net/shr.el (shr-render-region): Autoload.
1976
1977 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1978
1979 * net/eww.el (eww-download-directory): Rename from
1980 `eww-download-path' (Bug#16419).
1981
1982 2014-01-12 Leo Liu <sdl.web@gmail.com>
1983
1984 * dired-x.el (dired-mode-map): Fix last change.
1985
1986 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1987
1988 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1989
1990 Spelling fixes.
1991 * emacs-lisp/generic.el (generic--normalize-comments):
1992 Rename from generic--normalise-comments. All uses changed.
1993 * play/bubbles.el (bubbles--neighborhood-score)
1994 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1995 (bubbles--neighborhood-available)
1996 (bubbles--update-neighborhood-score):
1997 Rename from names with 'neighbourhood'. All uses changed.
1998
1999 2014-01-12 Leo Liu <sdl.web@gmail.com>
2000
2001 Re-implement the feature of showing eldoc info after editing.
2002 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2003 (eldoc-edit-message-commands): New function.
2004 (eldoc-print-after-edit): New variable.
2005 (eldoc-pre-command-refresh-echo-area): Emit message only by
2006 eldoc-message-commands.
2007 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2008 if eldoc-print-after-edit is set. (Bug#16346)
2009 * simple.el (read--expression): Enable eldoc-mode.
2010 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2011
2012 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2013 Eric S. Raymond <esr@thyrsus.com>
2014
2015 * version.el (emacs-repository-get-version): Enhance so the
2016 function works correctly in either a Bazaar or Git repo.
2017
2018 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2019
2020 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2021 Goes with removal of the joke manpages from /etc.
2022
2023 2014-01-10 Kenichi Handa <handa@gnu.org>
2024
2025 * mail/rmail.el (rmail-get-coding-system):
2026 Check rmail-get-coding-function before "funcall"ing it.
2027
2028 2014-01-10 Glenn Morris <rgm@gnu.org>
2029
2030 * emacs-lisp/authors.el (authors-fixed-entries):
2031 Update for files that no longer exist.
2032
2033 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2034
2035 * version.el (emacs-bzr-get-version): Restore compatibilty with
2036 24.3 (Tested).
2037
2038 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2039
2040 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2041 and Podfile.
2042
2043 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2044
2045 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2046
2047 2014-01-10 Chong Yidong <cyd@gnu.org>
2048
2049 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2050
2051 2014-01-10 Anders Lindgren <andlind@gmail.com>
2052
2053 * follow.el (follow-cache-command-list): Include right-char and
2054 left-char.
2055
2056 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2057
2058 Spelling fixes.
2059 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2060 * woman.el (woman-mark-horizontal-position):
2061 Rename from woman-mark-horizonal-position. Use changed.
2062
2063 2014-01-10 Glenn Morris <rgm@gnu.org>
2064
2065 * info.el (info-initialize): If running uninstalled, ensure our
2066 own info files are always found first, even if INFOPATH is set.
2067
2068 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2069
2070 2014-01-09 David Engster <deng@randomsample.de>
2071
2072 * emacs-lisp/eieio-custom.el:
2073 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2074 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2075 * emacs-lisp/eieio.el: Regenerate autoloads.
2076
2077 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2078
2079 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2080 following renames. (Bug#8756)
2081
2082 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2083
2084 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2085 (bug#16382).
2086 (activate-mark): Add `no-tmm' argument.
2087 (set-mark, push-mark-command): Use it instead of running
2088 activate-mark-hook by hand.
2089
2090 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2091
2092 In preparation for the move to git, sanitize out some
2093 Bazaar-specific names.
2094
2095 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2096
2097 * version.el (emacs-bzr-version): Name changed to
2098 emacs-repository-version. Obsolete-variable alias made.
2099 * loadup.el: Follow through on this name change.
2100 * mail/emacsbug.el (report-emacs-bug): Factor out any
2101 assumption about the version control system in use.
2102
2103 2014-01-08 David Engster <deng@randomsample.de>
2104
2105 * help-fns.el (help-fns-describe-function-functions):
2106 New variable to call functions for augmenting help buffers.
2107 (describe-function-1): Remove explicit calls to
2108 `help-fns--compiler-macro', `help-fns--parent-mode' and
2109 `help-fns--obsolete'. Put them in above new variable instead, and
2110 call them through `run-hook-with-args'.
2111 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2112 `eieio-describe-class'. Not meant for interactive use anymore,
2113 but to augment existing help buffers. Remove optional second
2114 argument. Create proper button for file location.
2115 Rewrite function to use `insert' instead of `princ' and `prin1' where
2116 possible.
2117 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2118 (eieio-method-def, eieio-class-def): Move further up.
2119 (describe-method, describe-generic, eieio-describe-method):
2120 Remove aliases.
2121 (eieio-help-constructor, eieio-help-generic): Rename from
2122 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2123 Rewrite to use `insert' in the current buffer and use proper help
2124 buttons.
2125 (eieio-help-find-method-definition)
2126 (eieio-help-find-class-definition): Also accept symbols as
2127 arguments.
2128 (eieio-help-mode-augmentation-maybee): Remove.
2129 (eieio-describe-class-sb): Use `describe-function'.
2130 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2131 Add `eieio-help-generic' and `eieio-help-constructor'.
2132
2133 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2134
2135 Spelling fixes.
2136 * language/china-util.el (hz-ascii-designation):
2137 Rename from hz-ascii-designnation.
2138 (hz-ascii-designation): Rename from hz-ascii-designnation.
2139 All uses changed.
2140
2141 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2144 package-alist.
2145
2146 2014-01-08 Bastien Guerry <bzg@gnu.org>
2147
2148 * emacs-lisp/package.el (package-delete):
2149 Correctly delete the package from package-alist.
2150
2151 2014-01-08 Daiki Ueno <ueno@gnu.org>
2152
2153 * emacs-lisp/package.el (url-recreate-url): Declare.
2154 (url-http-target-url): Declare.
2155 (package-handle-response): Include requested URL in the error message.
2156 (package--check-signature): Don't re-signal errors from
2157 package--with-work-buffer. Suggested by Stefan Monnier.
2158
2159 2014-01-07 Bastien Guerry <bzg@gnu.org>
2160
2161 * minibuffer.el (completion--try-word-completion): When both a
2162 hyphen and a space are possible candidates for the character
2163 following a word, display both candidates. (Bug#15980)
2164
2165 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2166
2167 * window.el (balance-windows-2): While rounding don't give a
2168 window more than the remainder. Bug#16351, bug#16383.
2169
2170 2014-01-07 Glenn Morris <rgm@gnu.org>
2171
2172 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2173 (menu-bar-help-menu): Use view-external-packages instead.
2174
2175 2014-01-07 Bastien Guerry <bzg@gnu.org>
2176
2177 * emacs-lisp/package.el (package-delete): Also delete the package
2178 name from `package-alist', not its description only.
2179
2180 2014-01-07 Glenn Morris <rgm@gnu.org>
2181
2182 * help.el (view-external-packages):
2183 * menu-bar.el (menu-bar-help-extra-packages):
2184 Visit efaq.info rather than etc/MORE.STUFF.
2185
2186 2014-01-07 Juri Linkov <juri@jurta.org>
2187
2188 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2189 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2190
2191 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2192 that shadows RET. (Bug#16342)
2193
2194 2014-01-07 Chong Yidong <cyd@gnu.org>
2195
2196 * isearch.el (isearch-yank-char, isearch-yank-word)
2197 (isearch-yank-line): Doc fix.
2198
2199 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2202 * emacs-lisp/elint.el (elint-find-builtins):
2203 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2204 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2205 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2206 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2207 * apropos.el (apropos-safe-documentation):
2208 * subr.el (symbol-file): Remove redundant fboundp.
2209 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2210
2211 2014-01-06 Bastien Guerry <bzg@gnu.org>
2212
2213 * hl-line.el (global-hl-line-overlay): Make a local variable.
2214 (global-hl-line-overlays): New variable to store all overlays.
2215 (global-hl-line-mode): Don't delete overlays from the current
2216 buffer when `global-hl-line-sticky-flag' is non-nil.
2217 (global-hl-line-highlight): Add new overlays to
2218 `global-hl-line-overlays'.
2219 (global-hl-line-unhighlight-all): New function to delete all
2220 overlays when turning off `global-hl-line-mode'.
2221 This fixes Bug#16183.
2222
2223 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * subr.el (set-transient-map): Fix nested case and docstring.
2226
2227 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2228
2229 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2230 `Texinfo' entry.
2231
2232 2014-01-06 Daniel Colascione <dancol@dancol.org>
2233
2234 Fix defun navigation in vc log view.
2235
2236 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2237 like `beginning-of-defun'.
2238 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2239 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2240 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2241 (log-view-extract-comment): Call `log-view-current-entry' directly
2242 instead of relying on broken `log-view-beginning-of-defun' behavior.
2243
2244 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2245
2246 Spelling fixes.
2247 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2248 * emacs-lisp/debug.el (cancel-debug-on-entry):
2249 * epg.el (epg-error-to-string):
2250 * files.el (recover-file):
2251 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2252 * mail/emacsbug.el (report-emacs-bug-hook):
2253 * mail/sendmail.el (mail-recover):
2254 * ses.el (ses-yank-resize):
2255 * term/ns-win.el (ns-print-buffer):
2256 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2257 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2258 All uses changed.
2259 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2260
2261 2014-01-06 Leo Liu <sdl.web@gmail.com>
2262
2263 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2264 to avoid shadowing global key. (Bug#16354)
2265
2266 2014-01-06 Daniel Colascione <dancol@dancol.org>
2267
2268 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2269 rst-mode.
2270
2271 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2272
2273 * window.el (balance-windows): Add mising t to fix Bug#16351.
2274
2275 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2276
2277 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2278 (bug#16285).
2279 (shr-insert): If we have a word that's longer than `shr-width',
2280 break after it anyway. Otherwise we'll do no breaking once we get
2281 such a long word.
2282
2283 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2284
2285 * net/eww.el (eww): Support single/double quote for search.
2286 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2287 (eww-history-quit): Delete and use quit-window.
2288 (eww-history-kill): Delete, because it doesn't work well and
2289 not necessary.
2290 (eww-history-mode-map): Delete some keys and add easy-menu.
2291
2292 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2293
2294 Fix misspelling of 'chinese' in rx (Bug#16237).
2295 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2296 chinese-two-byte.
2297
2298 Change subword regexps back to vars (Bug#16296).
2299 * progmodes/subword.el (subword-forward-regexp)
2300 (subword-backward-regexp): Change these back to variables.
2301
2302 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2305 syntax-begin-function (bug#16247).
2306
2307 2014-01-03 Chong Yidong <cyd@gnu.org>
2308
2309 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2310 (advice--docstring): Delete variable.
2311 (advice--make-1): Leave the docstring empty.
2312 (advice-add): Use function-documentation for advised docstring.
2313
2314 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2315 Ignore function-documentation property when getting documentation.
2316 (ad-activate-advised-definition): Use function-documentation
2317 generate the docstring.
2318 (ad-make-advised-definition): Don't call
2319 ad-make-advised-definition-docstring.
2320 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2321 Delete functions.
2322
2323 * progmodes/sql.el (sql-help): Use function-documentation instead
2324 of dynamic-docstring-function property. No need to autoload now.
2325 (sql--help-docstring): New variable.
2326 (sql--make-help-docstring): Use it.
2327
2328 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * ielm.el (ielm-tab): Retarget.
2331 (ielm-map): Use ielm-tab for tab.
2332 (ielm-complete-filename): Use comint-filename-completion.
2333 (ielm-complete-symbol): Remove.
2334 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2335 remove ielm-tab from completion-at-point-functions (bug#16224).
2336
2337 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2338 Beware signals raised by predicates (bug#16201).
2339
2340 2014-01-02 Richard Stallman <rms@gnu.org>
2341
2342 * dired-aux.el (dired-do-print): Handle printer-name.
2343
2344 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2345 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2346 (rmail-epa-decrypt): Turn off mime processing.
2347
2348 * mail/rmail.el (rmail-make-in-reply-to-field):
2349 Add parens in message-id.
2350
2351 * mail/rmail.el (rmail-get-coding-function): Variable.
2352 (rmail-get-coding-system): Use it.
2353
2354 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2355
2356 * international/mule-conf.el: Unify the charset indian-is13194.
2357 (indian-is13194): Specify unify-map.
2358
2359 2013-12-31 Leo Liu <sdl.web@gmail.com>
2360
2361 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2362
2363 2013-12-30 Daniel Colascione <dancol@dancol.org>
2364
2365 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2366 of printing a useless when we resume from sleep.
2367
2368 * progmodes/sh-script.el
2369 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2370 in indentation code. (Bug#16233)
2371
2372 2013-12-28 João Távora <joaotavora@gmail.com>
2373
2374 * elec-pair.el (electric-pair-post-self-insert-function):
2375 Don't open extra newlines at beginning of buffer. (Bug#16272)
2376
2377 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2378
2379 * frame.el (window-system-for-display): Don't allow to create a
2380 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2381
2382 2013-12-28 Glenn Morris <rgm@gnu.org>
2383
2384 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2385 Update callers.
2386
2387 * apropos.el (apropos-match-face):
2388 * calculator.el (calculator-displayer):
2389 * dabbrev.el (dabbrev-search-these-buffers-only):
2390 * face-remap.el (buffer-face-mode-face):
2391 * simple.el (yank-handled-properties):
2392 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2393 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2394 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2395 (hashcash-double-spend-database):
2396 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2397 (ruby-deep-indent-paren-style):
2398 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2399 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2400 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2401 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2402 Specify custom types.
2403
2404 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2405 * bookmark.el (bookmark-bmenu-use-header-line):
2406 * doc-view.el (doc-view-scale-internally):
2407 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2408 * register.el (register-preview-delay):
2409 * net/shr.el (shr-bullet):
2410 * progmodes/cfengine.el (cfengine-cf-promises)
2411 (cfengine-parameters-indent):
2412 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2413 * textmodes/reftex-vars.el (reftex-label-regexps):
2414 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2415
2416 * net/tls.el (tls-certtool-program): Fix default value.
2417
2418 * desktop.el (desktop-restore-in-current-display):
2419 * newcomment.el (comment-empty-lines):
2420 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2421 (idlwave-pad-keyword):
2422 * progmodes/tcl.el (tcl-tab-always-indent):
2423 * textmodes/reftex-vars.el (reftex-index-default-tag):
2424 * elec-pair.el (electric-pair-skip-whitespace):
2425 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2426
2427 * emacs-lisp/authors.el (authors-ignored-files)
2428 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2429
2430 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2431
2432 * shell.el (shell-dynamic-complete-command): Doc fix.
2433 (shell--command-completion-data): Shell completion now matches
2434 executable filenames from the current buffer's directory, on
2435 systems in which this behavior is the default (windows-nt, ms-dos).
2436
2437 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2438
2439 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2440
2441 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2444 (bug#16251).
2445
2446 * electric.el: Move all electric-pair-* to elec-pair.el.
2447 * elec-pair.el: New file, split from electric.el.
2448
2449 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2450
2451 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2452 indentation level is larger than the width, because that will
2453 infloop.
2454 (shr-insert): Fill repeatedly long texts, so that Japanese is
2455 formatted correctly (bug#16263).
2456 (shr-find-fill-point): Off by one error in comparison with the
2457 indentation.
2458
2459 2013-12-26 João Távora <joaotavora@gmail.com>
2460
2461 * electric.el (electric-pair-mode): More flexible engine for skip-
2462 and inhibit predicates, new options for pairing-related functionality.
2463 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2464 if that keeps or improves their balance in buffers.
2465 (electric-pair-delete-adjacent-pairs): Delete the pair when
2466 backspacing over adjacent matched delimiters.
2467 (electric-pair-open-extra-newline): Open extra newline when
2468 inserting newlines between adjacent matched delimiters.
2469 (electric--sort-post-self-insertion-hook):
2470 Sort post-self-insert-hook according to priority values when
2471 minor-modes are activated.
2472 * simple.el (newline-and-indent): Call newline with interactive
2473 set to t.
2474 (blink-paren-post-self-insert-function): Set priority to 100.
2475 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2476 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2477 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2478 electric-pair-open-newline-between-pairs to nil.
2479
2480 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2481
2482 * progmodes/python.el: Use lexical-binding.
2483 (python-nav-beginning-of-defun): Stop searching ASAP.
2484
2485 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2486
2487 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2488 Fix interactive spec. Doc fix. (Bug#15754)
2489
2490 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2491
2492 * emacs-lisp/byte-run.el (eval-when-compile):
2493 * progmodes/cc-defs.el (cc-eval-when-compile):
2494 Fix edebug spec (bug#16184).
2495
2496 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2497
2498 * net/shr.el (shr-visit-file): Remove debugging function.
2499 (shr-insert): Don't infloop if we can't find a good place to break
2500 the line (bug#16256).
2501
2502 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2503
2504 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2505 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2506 python-nav-lisp-forward-sexp-safe.
2507 (python-nav--forward-sexp): New argument SAFE allows switching
2508 forward sexp movement behavior for parens.
2509 (python-nav-forward-sexp): Throw errors on unterminated parens
2510 (Bug#16191).
2511 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2512 (python-nav-backward-sexp-safe): New functions.
2513 (python-shell-buffer-substring):
2514 Use `python-nav-forward-sexp-safe'.
2515
2516 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2517
2518 * net/shr.el (shr-find-fill-point): Don't break lines before a
2519 quotation mark.
2520 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2521 (shr-find-fill-point): Remove the special checks for the quotation
2522 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2523
2524 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2525
2526 * net/eww.el (eww-form-textarea): Use a different face for
2527 textareas than text input since they have different keymaps
2528 (bug#16142).
2529
2530 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2531
2532 * progmodes/python.el (python-nav-beginning-of-statement):
2533 Speed up (Bug#15295).
2534
2535 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2536
2537 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2538 the window configuration.
2539
2540 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2541
2542 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2543 we run on MS-Windows or MS-DOS.
2544
2545 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2546
2547 * window.el (balance-windows-area): Call window-size instead of
2548 window-height and window-width. Bug#16241.
2549
2550 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2551
2552 * net/eww.el (eww-bookmark-quit): Remove.
2553 (eww-bookmark-browse): Restore the window configuration when you
2554 choose a bookmark (bug#16144).
2555
2556 2013-12-24 Daniel Colascione <dancol@dancol.org>
2557
2558 * icomplete.el: Remove redundant :group arguments to `defcustom'
2559 throughout.
2560 (icomplete-show-matches-on-no-input): New customizable variable.
2561 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2562 we have something to show.
2563 (icomplete-exhibit): Compute completions even if we have no user input.
2564
2565 2013-12-23 Daniel Colascione <dancol@dancol.org>
2566
2567 * icomplete.el: Move `provide' to end of file.
2568
2569 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2570
2571 * net/gnutls.el (gnutls-verify-error): Add version tag.
2572
2573 2013-12-23 Chong Yidong <cyd@gnu.org>
2574
2575 * subr.el (set-transient-map): Rename from
2576 set-temporary-overlay-map. Doc fix.
2577
2578 * face-remap.el (text-scale-adjust):
2579 * indent.el (indent-rigidly):
2580 * kmacro.el (kmacro-call-macro):
2581 * minibuffer.el (minibuffer-force-complete):
2582 * repeat.el (repeat):
2583 * simple.el (universal-argument--mode):
2584 * calendar/todo-mode.el (todo-insert-item--next-param):
2585 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2586
2587 * indent.el (indent-rigidly): Use substitute-command-keys.
2588
2589 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2590
2591 * net/eww.el (eww-tag-select): Add text-property to jump to next
2592 select field.
2593 (eww): Add non-supported ftp error.
2594
2595 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2596
2597 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2598 comments. Handle electric indent after typing `?' and `!'.
2599
2600 2013-12-22 Chong Yidong <cyd@gnu.org>
2601
2602 * faces.el (face-spec-recalc): If the theme specs are not
2603 applicable to a frame, fall back on the defface spec.
2604 This prevents themes from obliterating faces on low-color terminals.
2605
2606 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2607
2608 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2609 after `{'. We need it after block openers, and it doesn't seem
2610 to hurt after hash openers.
2611
2612 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2613
2614 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2615 extracted from `ruby-smie-rules'.
2616 (ruby--electric-indent-chars): New variable.
2617 (ruby--electric-indent-p): New function.
2618 (ruby-mode): Use `electric-indent-functions' instead of
2619 `electric-indent-chars'.
2620
2621 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2622
2623 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2624 docstring.
2625 (ruby-smie-rules): Indent plus one level after `=>'.
2626
2627 2013-12-21 Richard Stallman <rms@gnu.org>
2628
2629 * simple.el (newline): Doc fix.
2630
2631 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2632
2633 * net/eww.el (eww-list-histories, eww-list-histories)
2634 (eww-history-browse, eww-history-quit, eww-history-kill)
2635 (eww-history-mode-map, eww-history-mode): New command and
2636 functions to list browser histories.
2637 (eww-form-text): Support text form with disabled
2638 and readonly attributes.
2639 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2640
2641 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2642
2643 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2644 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2645 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2646 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2647 Use `user-error'.
2648 (eww-bookmark-mode-map): Add menu.
2649 (eww-render, eww-mode): Use `setq-local'.
2650 (eww-tool-bar-map): New variable.
2651 (eww-mode): Set `tool-bar-map'.
2652 (eww-view-source): Check for `html-mode' with `fboundp'.
2653
2654 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2655
2656 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2657 elements with text inside. Also remove debugging.
2658
2659 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2660
2661 * cus-start.el (all): Add ns-use-srgb-colorspace.
2662
2663 2013-12-21 Chong Yidong <cyd@gnu.org>
2664
2665 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2666 undefined. Thus, theme settings for undefined faces do not take
2667 effect until the faces are defined with defface, the same as with
2668 theme variables.
2669
2670 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2671 (face-spec-reset-face): Don't assign extra properties in temacs.
2672 (face-spec-recalc): Apply X resources too.
2673
2674 2013-12-21 Chong Yidong <cyd@gnu.org>
2675
2676 * faces.el (face-spec-set):
2677 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2678 * custom.el (defface): Doc fixes (Bug#16203).
2679
2680 * indent.el (indent-rigidly-map): Add docstring, and move commands
2681 into named functions.
2682 (indent-rigidly-left, indent-rigidly-right)
2683 (indent-rigidly-left-to-tab-stop)
2684 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2685 indentation direction based on bidi direction, and accumulate
2686 sequential commands in a single undo boundary.
2687 (indent-rigidly--pop-undo): New utility function.
2688
2689 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2690
2691 * faces.el (read-face-name): Require crm.el when using crm-separator.
2692
2693 2013-12-20 Daniel Colascione <dancol@dancol.org>
2694
2695 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2696 so that we don't reflow comments into the shebang line.
2697
2698 2013-12-20 Juri Linkov <juri@jurta.org>
2699
2700 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2701 a position when `dired-directory' is non-nil. Check integer
2702 positions with `integerp'.
2703 (toggle-save-place, save-places-to-alist): Add check for
2704 `dired-directory'.
2705 (save-place-find-file-hook): Check integer positions with
2706 `integerp'.
2707 (save-place-dired-hook): Use `dired-goto-file' when
2708 `dired-filename' is found in the assoc list. Check integer
2709 positions with `integerp'.
2710 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2711
2712 * dired.el (dired-initial-position-hook): Rename back from
2713 `dired-initial-point-hook'.
2714 (dired-initial-position): Rename `dired-initial-point-hook' to
2715 `dired-initial-position-hook'.
2716 (dired-file-name-at-point): Doc fix. (Bug#15329)
2717
2718 2013-12-20 Juri Linkov <juri@jurta.org>
2719
2720 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2721 (read-regexp-suggestions): New function.
2722 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2723 Use `read-regexp-suggestions'. Add non-empty default to history
2724 for empty input.
2725 (occur-read-regexp-defaults-function): Remove function.
2726 (occur-read-primary-args): Use `regexp-history-last' instead of
2727 `occur-read-regexp-defaults-function'.
2728
2729 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2730 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2731 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2732 `hi-lock-read-regexp-defaults-function'. Doc fix.
2733 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2734 with `find-tag-default-as-symbol-regexp'. Doc fix.
2735 (hi-lock-read-regexp-defaults): Remove function.
2736 (hi-lock-regexp-okay): Add check for null.
2737
2738 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2739 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2740
2741 * subr.el (find-tag-default-as-symbol-regexp): New function.
2742 (find-tag-default-as-regexp): Move symbol regexp formatting to
2743 `find-tag-default-as-symbol-regexp'.
2744
2745 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2746
2747 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2748 (Bug#14179)
2749
2750 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2751
2752 * calendar/todo-mode.el: New implementation of item insertion
2753 commands and key bindings.
2754 (todo-key-prompt): New face.
2755 (todo-insert-item): New command.
2756 (todo-insert-item--parameters): New defconst, replacing defvar
2757 todo-insertion-commands-args-genlist.
2758 (todo-insert-item--param-key-alist): New defconst, replacing
2759 defvar todo-insertion-commands-arg-key-list.
2760 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2761 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2762 (todo-insert-item--next-param): New functions.
2763 (todo-insert-item--args, todo-insert-item--argleft)
2764 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2765 New variables.
2766 (todo-key-bindings-t): Change binding of "i" from
2767 todo-insertion-map to todo-insert-item.
2768 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2769 (todo-insertion-command-name, todo-insertion-commands-names)
2770 (todo-define-insertion-command, todo-insertion-commands)
2771 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2772
2773 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2774
2775 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2776 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2777 eval-when-compile.
2778 (todo-move-category): Allow choosing a non-existing todo file to
2779 move the category to, and create that file.
2780 (todo-default-priority): New user option.
2781 (todo-set-item-priority): Use it.
2782 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2783 (desktop-restore-file-buffer): Declare.
2784 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2785 (todo-modes-set-2): Locally set desktop-save-buffer to
2786 todo-desktop-save-buffer.
2787 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2788 (auto-mode-alist): Add autoload cookie.
2789
2790 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2791
2792 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2793 helpers.el was a poor choice of name.
2794 (string-remove-prefix): New function.
2795 (string-remove-suffix): New function.
2796
2797 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2798
2799 Fix assignment for new window total sizes.
2800 * window.el (window--pixel-to-size): Remove function.
2801 (window--pixel-to-total-1, window--pixel-to-total):
2802 Fix calculation of new total sizes.
2803
2804 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2805
2806 * comint.el (comint-output-filter): Fix rear-nonsticky property
2807 placement (Bug#16010).
2808
2809 2013-12-20 Chong Yidong <cyd@gnu.org>
2810
2811 * faces.el (read-color): Minor fix for completion function.
2812
2813 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2814
2815 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2816 New option. (Bug#16182)
2817 (ruby-smie--indent-to-stmt-p): Use it.
2818 (ruby-smie-rules): Revert the logic in the handling of `when'.
2819 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2820 (ruby-deep-arglist, ruby-deep-indent-paren)
2821 (ruby-deep-indent-paren-style): Update docstrings to note that the
2822 vars don't have any effect with SMIE.
2823
2824 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2825
2826 * calc/calc.el (calc-enter, calc-pop): Use the variable
2827 `calc-context-sensitive-enter'.
2828
2829 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2830
2831 * net/shr.el (shr-insert): Protect against infloops in degenerate
2832 tables.
2833
2834 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2835
2836 * progmodes/octave.el (octave): Add link to manual and octave
2837 homepage.
2838 (octave-mode-menu): Link to octave-mode manual.
2839
2840 2013-12-20 Leo Liu <sdl.web@gmail.com>
2841
2842 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2843 insertion using skeleton-end-newline. (Bug#16138)
2844
2845 2013-12-20 Juri Linkov <juri@jurta.org>
2846
2847 * replace.el (occur-engine): Use `add-face-text-property'
2848 to add the face property to matches and titles. (Bug#14645)
2849
2850 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2851 the palette of other hi-lock colors.
2852 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2853
2854 2013-12-19 Juri Linkov <juri@jurta.org>
2855
2856 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2857 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2858 (minibuffer-history-symbol): Move variable declaration closer to
2859 its usage.
2860
2861 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2862 (Bug#14785)
2863
2864 2013-12-19 Juri Linkov <juri@jurta.org>
2865
2866 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2867 New function.
2868 (log-edit-hook): Add it to :options. (Bug#16170)
2869
2870 2013-12-19 Juri Linkov <juri@jurta.org>
2871
2872 * simple.el (eval-expression-print-format): Don't check for
2873 command names and the last command. Always display additional
2874 formats of the integer result in the echo area, and insert them
2875 to the current buffer only with a zero prefix arg.
2876 Display character when char-displayable-p is non-nil.
2877 (eval-expression): With a zero prefix arg, set `print-length' and
2878 `print-level' to nil, and insert the integer values from
2879 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2880
2881 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2882 `eval-last-sexp-arg-internal'. Doc fix.
2883 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2884 `eval-last-sexp-print-value'. Doc fix.
2885 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2886 Set `print-length' and `print-level' to nil when arg is zero.
2887 (eval-last-sexp): Doc fix.
2888 (eval-defun-2): Print the integer values from
2889 `eval-expression-print-format' at the end.
2890
2891 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2892 values from `eval-expression-print-format' at the end.
2893
2894 * ielm.el (ielm-eval-input): Print the integer
2895 values from `eval-expression-print-format' at the end.
2896
2897 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2898
2899 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2900 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2901
2902 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2904 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2905 (hl-line-highlight, global-hl-line-highlight): Use it.
2906 (hl-line-overlay): Use defvar-local.
2907
2908 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2909
2910 * term/ns-win.el: Require dnd.
2911 (global-map): Remove drag items.
2912 (ns-insert-text, ns-set-foreground-at-mouse)
2913 (ns-set-background-at-mouse):
2914 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2915 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2916 New functions.
2917
2918 2013-12-19 Glenn Morris <rgm@gnu.org>
2919
2920 * emacs-lisp/ert.el (ert-select-tests):
2921 Fix string/symbol mixup. (Bug#16121)
2922
2923 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2924
2925 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2926 keywords to their parent.
2927
2928 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2929
2930 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2931 first arg to be a string (fixed dead code), or an operator symbol.
2932 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2933 operator symbols.
2934 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2935 did nothing. Don't respond to `(:after ".")', it will be called
2936 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2937 change anything. Only return indentation for binary operators
2938 when they are hanging. De-dent opening paren when its parent is
2939 `.', otherwise it looks bad when the dot is not at bol or eol
2940 (bug#16182).
2941
2942 2013-12-19 Juri Linkov <juri@jurta.org>
2943
2944 * replace.el (query-replace-read-args): Split a non-negative arg
2945 and a negative arg into separate elements.
2946 (query-replace, query-replace-regexp, replace-string)
2947 (replace-regexp): Add arg `backward'. Doc fix.
2948 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2949 move point to the beginning of the match.
2950 (replace-search, replace-highlight): Use new arg `backward'
2951 to set the value of `isearch-forward'.
2952 (perform-replace): Add arg `backward' and use it to perform
2953 replacement backward. (Bug#14979)
2954
2955 * isearch.el (isearch-query-replace): Use a negative prefix arg
2956 to call `perform-replace' with a non-nil arg `backward'.
2957
2958 2013-12-18 Juri Linkov <juri@jurta.org>
2959
2960 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2961 to the default list. Move `log-edit-show-files' to the end.
2962 Add more available functions to options.
2963 (log-edit): Move default specific settings to
2964 `log-edit-insert-message-template'. Don't move point.
2965 (log-edit-insert-message-template): New function.
2966 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2967 (Bug#16170)
2968
2969 2013-12-18 Juri Linkov <juri@jurta.org>
2970
2971 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2972 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2973
2974 2013-12-18 Leo Liu <sdl.web@gmail.com>
2975
2976 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2977 (Bug#16186)
2978
2979 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2980
2981 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2982 formats for displaying file sizes when the -s switch is given.
2983 Instead, compute a separate format for displaying the size in
2984 blocks, which is displayed in addition to the "regular" size.
2985 When -h is given in addition to -s, produce size in blocks in
2986 human-readable form as well. (Bug#16179)
2987
2988 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2989
2990 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2991 Reference tables with ~\ref{...} instead of only \ref{...}.
2992
2993 2013-12-18 Chong Yidong <cyd@gnu.org>
2994
2995 * cus-edit.el (custom-magic-alist): Fix "themed" description
2996 (Bug#14348).
2997
2998 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2999 is non-nil, do not create a new entry in the symbol's theme-value
3000 or theme-face property; update theme-settings only (Bug#14664).
3001 (custom-available-themes): Doc fix.
3002
3003 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3004 (Bug#15674).
3005
3006 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3007
3008 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3009
3010 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3011 (Bug#13914).
3012
3013 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3014
3015 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3016
3017 2013-12-18 Glenn Morris <rgm@gnu.org>
3018
3019 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3020 * cus-start.el (load-prefer-newer): New option.
3021
3022 2013-12-18 Le Wang <l26wang@gmail.com>
3023
3024 * comint.el (comint-previous-matching-input-from-input):
3025 Retain point (Bug#13404).
3026
3027 2013-12-18 Chong Yidong <cyd@gnu.org>
3028
3029 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3030
3031 2013-12-18 Glenn Morris <rgm@gnu.org>
3032
3033 * mail/emacsbug.el (report-emacs-bug):
3034 Only mention enable-multibyte-characters if non-standard.
3035
3036 2013-12-17 Juri Linkov <juri@jurta.org>
3037
3038 * arc-mode.el (archive-extract-by-file): Check if directory exists
3039 before deletion to not show irrelevant errors if it doesn't exist.
3040
3041 2013-12-17 Juri Linkov <juri@jurta.org>
3042
3043 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3044 (Bug#14751)
3045
3046 * net/eww.el (browse-web): Add alias to `eww'.
3047 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3048 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3049
3050 * net/browse-url.el (browse-url-browser-function): Move `eww'
3051 closer to similar functions.
3052
3053 * startup.el (fancy-startup-screen, fancy-about-screen):
3054 Set browse-url-browser-function to eww-browse-url locally.
3055 (Bug#14751)
3056
3057 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * window.el (window--pixel-to-total): Remove unused `mini' var.
3060 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3061 (split-window): Remove unused `new' var.
3062 (window--display-buffer): Remove unused `frame' and `delta' vars.
3063 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3064 and display-width'.
3065
3066 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3067
3068 * dired.el (dired-mark-pop-up):
3069 * register.el (register-preview): Don't bind
3070 split-height-threshold here since it's now done in
3071 display-buffer-below-selected.
3072
3073 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3074
3075 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3076 xterm-rgb-convert-to-16bit.
3077 (rxvt-register-default-colors): Standardize with
3078 xterm-register-default-colors (Bug#14078).
3079
3080 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3081
3082 * simple.el (kill-region): Pass mark first, then point, so that
3083 kill-append works right (Bug#12819).
3084 (copy-region-as-kill, kill-ring-save): Likewise.
3085
3086 2013-12-17 Leo Liu <sdl.web@gmail.com>
3087
3088 * net/rcirc.el (rcirc-add-face):
3089 * eshell/em-prompt.el (eshell-emit-prompt):
3090 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3091 (Bug#16167)
3092
3093 2013-12-17 Chong Yidong <cyd@gnu.org>
3094
3095 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3096 Suggested by Xue Fuqiao.
3097
3098 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3099
3100 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3101
3102 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 * net/shr.el (shr-insert-document): Remove unused var
3105 `shr-preliminary-table-render'.
3106 (shr-rescale-image): Remove unused arg `force'.
3107 (shr-put-image): Update calls accordingly.
3108 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3109
3110 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3111
3112 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3113 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3114 :close-all, to see which indentation method to use (Bug#16116).
3115 (smie-rules-function): Document the method :close-all.
3116
3117 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3118
3119 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3120
3121 * net/eww.el (eww-display-html): If we can't find the anchor we're
3122 looking for, then go to point-min.
3123
3124 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3125
3126 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3127 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3128 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3129 Expand dir too, in case it's relative.
3130
3131 2013-12-16 Juri Linkov <juri@jurta.org>
3132
3133 * desktop.el (desktop-auto-save-timeout): Change default to
3134 `auto-save-timeout'. Doc fix.
3135 (desktop-save): Skip the timestamp in desktop-saved-frameset
3136 when checking for auto-save changes.
3137 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3138 `desktop-auto-save' is called repeatedly by the idle timer.
3139 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3140 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3141 (Bug#15331)
3142
3143 2013-12-16 Juri Linkov <juri@jurta.org>
3144
3145 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3146 (Bug#16035)
3147 (isearch-pre-command-hook): Check `this-command' for symbolp.
3148
3149 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3152
3153 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3154
3155 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3156 (cfengine3--current-function): Bring in the current-function
3157 functionality from `cfengine3--current-word'.
3158 (cfengine3-completion-function): Bring in the
3159 bounds-of-current-word functionality from
3160 `cfengine3--current-word'.
3161
3162 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3163
3164 * window.el (display-buffer-below-selected):
3165 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3166
3167 2013-12-16 Leo Liu <sdl.web@gmail.com>
3168
3169 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3170 Remove NOMSG arg and all uses changed.
3171
3172 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3175 (cua--deactivate-rectangle): Don't deactivate the mark.
3176 (cua-set-rectangle-mark): Don't set mark-active since
3177 cua--activate-rectangle already does it for us.
3178 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3179 non-rectangular region.
3180
3181 * emulation/cua-base.el (cua-repeat-replace-region):
3182 Use with-current-buffer.
3183
3184 * net/gnutls.el: Use cl-lib.
3185 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3186
3187 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3188
3189 * emacs-lisp/package.el (package-built-in-p): Support both
3190 built-in and the package.el converted package descriptions.
3191 (package-show-package-list): Allow keywords.
3192 (package-keyword-button-action): Use it instead of
3193 `finder-list-matches'.
3194 (package-menu-filter-interactive): Interactive filtering (by
3195 keyword) function.
3196 (package-menu--generate): Support keywords and change keymappings
3197 and headers when they are given.
3198 (package--has-keyword-p): Helper function.
3199 (package-menu--refresh): Use it.
3200 (package--mapc): Helper function.
3201 (package-all-keywords): Use it.
3202 (package-menu-mode-map): Set up menu items and keybindings to
3203 provide a filtering UI.
3204
3205 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3206
3207 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3208 the behavior when a certificate fails validation. Defaults to
3209 old behavior: never abort, just warn.
3210 (gnutls-negotiate): Use it.
3211
3212 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3213
3214 * window.el (display-buffer-below-selected): Never split window
3215 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3216
3217 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3218
3219 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3220 (package-buffer-info): Use it (bug#15108).
3221
3222 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3223
3224 * icomplete.el (icomplete-completions): Make sure the prefix is already
3225 displayed elsewhere before hiding it (bug#16219).
3226
3227 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3228
3229 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3230 open-paren tokens when preceded by a open-paren, too.
3231 (ruby-smie-rules): Handle virtual indentation after open-paren
3232 tokens specially. If there is code between it and eol, return the
3233 column where is starts (Bug#16118).
3234
3235 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3236
3237 * progmodes/cfengine.el: Fix `add-hook' doc.
3238 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3239 (cfengine3--current-word): Fix parameters.
3240 (cfengine3-make-syntax-cache): Simplify further.
3241 (cfengine3-completion-function, cfengine3--current-function):
3242 Use `assq' for symbols.
3243 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3244
3245 2013-12-13 Glenn Morris <rgm@gnu.org>
3246
3247 * loadup.el (load-path): Warn if site-load or site-init changes it.
3248 No more need to reset it when bootstrapping.
3249
3250 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3251
3252 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3253 locations for cf-promises.
3254 (cfengine-mode-syntax-functions-regex): New caching variable.
3255 (cfengine3-fallback-syntax): Fallback syntax for cases where
3256 cf-promises doesn't run.
3257 (cfengine3--current-word): Reimplement using
3258 `cfengine-mode-syntax-functions-regex'.
3259 (cfengine3-completion-function, cfengine3--current-function):
3260 Use `cfengine3-make-syntax-cache' directly.
3261 (cfengine3-clear-syntax-cache): New function.
3262 (cfengine3-make-syntax-cache): Simplify and create
3263 `cfengine-mode-syntax-functions-regex' on demand.
3264 (cfengine3-format-function-docstring): Don't call
3265 `cfengine3-make-syntax-cache' explicitly.
3266
3267 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3268
3269 Fix windmove-find-other-window broken after pixelwise resizing
3270 (Bug#16017).
3271 * windmove.el (windmove-other-window-loc): Revert change from
3272 2013-12-04.
3273 (windmove-find-other-window): Call window-in-direction.
3274 * window.el (window-in-direction): New arguments SIGN, WRAP and
3275 MINI to emulate original windmove-find-other-window behavior.
3276
3277 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3278
3279 * simple.el (blink-matching--overlay): New variable.
3280 (blink-matching-open): Instead of moving point, highlight the
3281 matching paren with an overlay
3282 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3283
3284 * faces.el (paren-showing-faces, show-paren-match)
3285 (show-paren-mismatch): Move from paren.el.
3286
3287 2013-12-13 Leo Liu <sdl.web@gmail.com>
3288
3289 * indent.el (indent-region): Disable progress reporter in
3290 minibuffer. (Bug#16108)
3291
3292 * bindings.el (visual-order-cursor-movement): Fix version.
3293
3294 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3295
3296 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3297 Also match after beginning of line.
3298 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3299 files. Thanks to Russell Sim. (Bug#15378)
3300
3301 2013-12-13 Juri Linkov <juri@jurta.org>
3302
3303 * simple.el <Keypad support>: Remove key bindings duplicated
3304 with bindings.el. (Bug#14397)
3305
3306 2013-12-13 Juri Linkov <juri@jurta.org>
3307
3308 * comint.el (comint-mode-map): Replace `delete-char' with
3309 `delete-forward-char'. (Bug#16109)
3310
3311 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3312
3313 * progmodes/python.el (python-indent-calculate-indentation):
3314 Fix de-denters cornercase. (Bug#15731)
3315
3316 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3319 (advice--make): Pay attention to `depth'.
3320 (advice--make-1): Don't autoload commands eagerly.
3321 * emacs-lisp/elp.el (elp-instrument-function):
3322 * emacs-lisp/trace.el (trace-function-internal):
3323 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3324
3325 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3326
3327 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3328
3329 * term/w32-win.el (w32-handle-dropped-file):
3330 * startup.el (normal-top-level):
3331 * net/browse-url.el (browse-url-file-url):
3332 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3333 decode file names using 'utf-8' rather than
3334 file-name-coding-system.
3335
3336 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3337
3338 * progmodes/python.el (python-indent-context)
3339 (python-indent-calculate-indentation): Fix auto-identation
3340 behavior for comment blocks. (Bug#15916)
3341
3342 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3343
3344 * progmodes/python.el (python-indent-calculate-indentation):
3345 When determining indentation, don't treat "return", "pass", etc., as
3346 operators when they are just string constituents. (Bug#15812)
3347
3348 2013-12-12 Juri Linkov <juri@jurta.org>
3349
3350 * uniquify.el (uniquify-buffer-name-style): Change default to
3351 `post-forward-angle-brackets'.
3352
3353 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3354 `uniquify'. Change default to `post-forward-angle-brackets'.
3355
3356 2013-12-11 Glenn Morris <rgm@gnu.org>
3357
3358 * emacs-lisp/package.el (finder-list-matches):
3359 Autoload rather than falsely declaring.
3360
3361 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3362
3363 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3364 (eww-mode-map): Use them.
3365
3366 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3367
3368 * window.el (display-buffer-in-side-window): Fix doc-string
3369 (Bug#16115).
3370
3371 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3372
3373 * vc/vc-git.el: Silence byte-compiler warnings.
3374 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3375 (log-edit-set-header): Declare.
3376
3377 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3378
3379 * Makefile.in (custom-deps, finder-data): Run output file names
3380 through unmsys--file-name. (Bug#16099)
3381
3382 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3385 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3386
3387 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3388 instead of deleting the selection "by hand" (bug#16098).
3389 Rely on insert-for-yank to yank rectangles.
3390 (cua-highlight-region-shift-only): Mark obsolete.
3391 (cua-mode): Don't enable/disable transient-mark-mode,
3392 shift-select-mode (cua-mode works both with and without them), and
3393 pc-selection-mode (obsolete).
3394 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3395 (cua--deactivate-rectangle): Deactivate it.
3396
3397 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3398 (delete-selection-helper): Make sure yank starts at the top of the
3399 deleted region.
3400 (minibuffer-keyboard-quit): Use region-active-p.
3401
3402 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3403
3404 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3405 to `delete' (bug#16109).
3406
3407 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3408
3409 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3410 info manual and show keybindings and set `:group' keyword.
3411
3412 2013-12-11 Juri Linkov <juri@jurta.org>
3413
3414 * delsel.el (delete-active-region): Let-bind `this-command'
3415 to prevent `kill-region' from changing its original value.
3416 (delete-selection-helper): Handle `overwrite-mode' for the type
3417 `kill' exactly the same way as for the type `t'.
3418 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3419 Support more commands. (Bug#13312)
3420
3421 2013-12-11 Juri Linkov <juri@jurta.org>
3422
3423 * bindings.el: Map kp keys to non-kp keys systematically
3424 with basic modifiers control, meta and shift. (Bug#14397)
3425
3426 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3427
3428 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3429 "Close browser" menu items. Fix wrong function of "List
3430 bookmarks".
3431
3432 2013-12-11 Juri Linkov <juri@jurta.org>
3433
3434 * misearch.el (multi-isearch-buffers): Set the value of
3435 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3436 arg of isearch-forward to t.
3437 (multi-isearch-buffers-regexp): Set the value of
3438 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3439 arg of isearch-forward-regexp to t.
3440 (multi-isearch-files): Set the value of
3441 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3442 arg of isearch-forward to t.
3443 (multi-isearch-files-regexp): Set the value of
3444 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3445 arg of isearch-forward-regexp to t. (Bug#16035)
3446
3447 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3448 arg of isearch-forward to t.
3449 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3450 arg of isearch-forward-regexp to t.
3451 (dired-isearch-filter-filenames): Remove unnecessary check for
3452 `dired-isearch-filenames'.
3453
3454 * comint.el (comint-history-isearch-backward):
3455 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3456 (comint-history-isearch-backward-regexp):
3457 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3458
3459 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3460
3461 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3462 unmsys--file-name. (Bug#16099)
3463
3464 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3465
3466 * emacs-lisp/package.el (package-keyword-button-action):
3467 Remove finder.el require dependency.
3468
3469 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3470
3471 * emacs-lisp/package.el: Require finder.el.
3472 (describe-package-1): Add keyword buttons.
3473 (package-make-button): New convenience function.
3474 (package-keyword-button-action): Keyword button action using
3475 `finder-list-matches'.
3476
3477 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3478
3479 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3480 last commit.
3481
3482 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3483
3484 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3485 symlinked files.
3486
3487 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3488
3489 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3490 after the end of a percent literal.
3491
3492 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3493
3494 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3495 Handle caret-delimited strings (Bug#16079).
3496
3497 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3498
3499 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3500 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3501 `ruby-parse-partial' (Bug#16078).
3502
3503 2013-12-09 Leo Liu <sdl.web@gmail.com>
3504
3505 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3506
3507 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3508
3509 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3510 (js-switch-indent-offset): New option.
3511 (js--proper-indentation): Use it. And handle the case when
3512 "default" is actually a key in an object literal.
3513 (js--same-line): New function.
3514 (js--multi-line-declaration-indentation): Use it.
3515 (js--indent-in-array-comp, js--array-comp-indentation):
3516 New functions.
3517 (js--proper-indentation): Use them, to handle array comprehension
3518 continuations.
3519
3520 2013-12-08 Leo Liu <sdl.web@gmail.com>
3521
3522 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3523 (flymake-make-overlay): Remove arg MOUSE-FACE.
3524 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3525
3526 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3529 New function.
3530 (redisplay-highlight-region-function): Use it.
3531
3532 * emulation/cua-base.el (cua--explicit-region-start)
3533 (cua--last-region-shifted): Remove.
3534 (cua--deactivate): Use deactivate-mark.
3535 (cua--pre-command-handler-1): Don't handle shift-selection.
3536 (cua--post-command-handler-1): Don't change transient-mark-mode.
3537 (cua--select-keymaps): Use region-active-p rather than
3538 cua--explicit-region-start or cua--last-region-shifted.
3539 (cua-mode): Enable shift-select-mode.
3540
3541 2013-12-08 Leo Liu <sdl.web@gmail.com>
3542
3543 * progmodes/flymake.el (flymake-popup-current-error-menu):
3544 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3545 (flymake-posn-at-point-as-event, flymake-popup-menu)
3546 (flymake-make-emacs-menu): Remove. (Bug#16077)
3547
3548 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * rect.el (rectangle-mark-mode): Activate mark even if
3551 transient-mark-mode is off (bug#16066).
3552 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3553 is > mark and at bolp.
3554
3555 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3556 (region-extract-function): Use it.
3557 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3558 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3559 Delete functions.
3560 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3561 kill-ring-save, kill-region, delete-char, delete-forward-char.
3562 Ignore self-insert-iso.
3563
3564 * emulation/cua-gmrk.el (cua--init-global-mark):
3565 Ignore `self-insert-iso'.
3566
3567 * emulation/cua-base.el (cua--prefix-copy-handler)
3568 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3569 checking cua--rectangle.
3570 (cua-delete-region): Use region-extract-function.
3571 (cua-replace-region): Delete function.
3572 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3573 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3574 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3575 (cua--init-keymaps): Don't remap delete-selection commands.
3576 (cua-mode): Use delete-selection-mode instead of rolling our own
3577 (bug#16085).
3578
3579 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3580 Obey region-extract-function.
3581
3582 Make registers and delete-selection-mode work on rectangles.
3583 * register.el (describe-register-1): Don't modify the register's value.
3584 (copy-to-register): Obey region-extract-function.
3585 * delsel.el (delete-active-region): Obey region-extract-function.
3586
3587 2013-12-08 Leo Liu <sdl.web@gmail.com>
3588
3589 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3590 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3591 (flymake-compilation-prevents-syntax-check)
3592 (flymake-start-syntax-check-on-newline)
3593 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3594 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3595 (flymake-xml-program, flymake-master-file-dirs)
3596 (flymake-master-file-count-limit)
3597 (flymake-allowed-file-name-masks): Relocate.
3598 (flymake-makehash, flymake-float-time)
3599 (flymake-replace-regexp-in-string, flymake-split-string)
3600 (flymake-get-temp-dir): Remove.
3601 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3602 (flymake-current-row, flymake-selected-frame)
3603 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3604 related functions. (Bug#16077)
3605
3606 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3607
3608 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3609
3610 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3611
3612 * help-fns.el (describe-function-1): Use new advice-* functions
3613 rather than old ad-* functions. Fix function type description and
3614 source links for advised functions and subrs.
3615
3616 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3617
3618 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3619
3620 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3621
3622 * progmodes/compile.el (compilation-start):
3623 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3624
3625 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3626 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3627
3628 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3629
3630 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3631 Touch up the last change.
3632
3633 2013-12-06 Leo Liu <sdl.web@gmail.com>
3634
3635 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3636 (inferior-octave-startup): Always use "octave> " for prompt.
3637 (octave-goto-function-definition)
3638 (octave-sync-function-file-names)
3639 (octave-find-definition-default-filename): Remove redundant backquotes.
3640
3641 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3642
3643 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3644 syntax for `?'.
3645 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3646 where appropriate already.
3647 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3648 end of method names (Bug#15874).
3649
3650 2013-12-06 Juri Linkov <juri@jurta.org>
3651
3652 * isearch.el (isearch--saved-overriding-local-map):
3653 New internal variable.
3654 (isearch-mode): Set it to the initial value of
3655 `overriding-terminal-local-map'.
3656 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3657 with `isearch--saved-overriding-local-map'. (Bug#16035)
3658
3659 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3660
3661 * progmodes/octave.el (inferior-octave-completion-table):
3662 Turn back into function, use `completion-table-with-cache'
3663 (Bug#11906). Update all references.
3664
3665 * minibuffer.el (completion-table-with-cache): New function.
3666
3667 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3668
3669 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3670
3671 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3672
3673 * net/eww.el (eww-current-source): New variable to store page
3674 source.
3675 (eww-display-html, eww-mode, eww-save-history)
3676 (eww-restore-history): Use it.
3677 (eww-view-source): New command to view page source.
3678 Opportunistically uses `html-mode' to highlight the buffer.
3679 (eww-mode-map): Install it.
3680
3681 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3682
3683 * net/dbus.el (dbus-unregister-service)
3684 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3685 Fix docstring.
3686 (dbus-unregister-service): Skip :serial entries in
3687 `dbus-registered-objects-table'.
3688 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3689
3690 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3691
3692 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3693 around keywords with extra `split-string' argument.
3694
3695 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3696
3697 * windmove.el (windmove-other-window-loc): Handle navigation
3698 between windows (excluding the minibuffer window - Bug#16017).
3699
3700 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3701
3702 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3703 in D-Bus type syntax.
3704 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3705 preserve unibyte strings. (Bug#16048)
3706
3707 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3710 Call force-mode-line-update is the proper buffer (bug#16042).
3711
3712 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3713
3714 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3715 `log-edit-remember-comment', make argument optional. Adjust all
3716 callers.
3717 (log-edit-mode): Add `log-edit-remember-comment' to
3718 `kill-buffer-hook' locally.
3719 (log-edit-kill-buffer): Don't remember comment explicitly since
3720 the buffer is killed anyway.
3721
3722 2013-12-04 Juri Linkov <juri@jurta.org>
3723
3724 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3725 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3726
3727 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3728
3729 * notifications.el (notifications-close-notification): Call the
3730 D-Bus method with ID being a `:uint32'. (Bug#16030)
3731
3732 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3733
3734 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3735
3736 2013-12-03 Juri Linkov <juri@jurta.org>
3737
3738 * progmodes/compile.el (compilation-start): Rename window alist
3739 entry `no-display-ok' to `allow-no-window'.
3740
3741 * simple.el (shell-command): Add window alist entry
3742 `allow-no-window' to `display-buffer'.
3743 (async-shell-command): Doc fix.
3744
3745 * window.el (display-buffer-no-window): New action function.
3746 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3747
3748 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3749
3750 * vc/log-edit.el (log-edit-set-header): Extract from
3751 `log-edit-toggle-header'.
3752 (log-edit-extract-headers): Separate the summary, when extracted
3753 from header, from the rest of the message with an empty line.
3754
3755 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3756 line, if present, to the Summary header.
3757
3758 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3761 in current-buffer (bug#16029).
3762
3763 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3764
3765 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3766 (debugger-mode-map): Bind it.
3767 (debugger--backtrace-base): New function.
3768 (debugger-eval-expression): Use it.
3769 (debugger-frame-number): Skip local vars when present.
3770 (debugger--locals-visible-p, debugger--insert-locals)
3771 (debugger--show-locals, debugger--hide-locals): New functions.
3772
3773 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3774
3775 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3776 "LC_ALL".
3777 (tramp-get-remote-locale): New defun.
3778 (tramp-open-connection-setup-interactive-shell): Use it.
3779
3780 2013-12-02 Leo Liu <sdl.web@gmail.com>
3781
3782 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3783
3784 * progmodes/sh-script.el (sh-shell-process):
3785 * progmodes/octave.el (inferior-octave-process-live-p):
3786 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3787 (gdb-inferior-io-sentinel):
3788 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3789
3790 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3791
3792 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3793 `save-selected-window' to `log-edit-hide-buf'. This makes
3794 `log-edit-show-files' idempotent.
3795 (log-edit-show-files): Mark the new window as dedicated.
3796
3797 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3798
3799 * vc/log-edit.el (log-edit-mode-map): Add binding for
3800 `log-edit-kill-biffer'.
3801 (log-edit-hide-buf): Add a FIXME comment.
3802 (log-edit-add-new-comment): New function, extracted from
3803 `log-edit-done'.
3804 (log-edit-done, log-edit-add-to-changelog): Use it.
3805 (log-edit-kill-buffer): New command.
3806
3807 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3808
3809 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3810 instead of killing the buffer.
3811
3812 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3815
3816 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3817
3818 * net/eww.el (eww-form-checkbox-selected-symbol)
3819 (eww-form-checkbox-symbol): New customizable variable.
3820 (eww-form-checkbox, eww-toggle-checkbox):
3821 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3822
3823 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3824 (shr--get-media-pref, shr--extract-best-source): New function.
3825 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3826 no :src tag was specified.
3827
3828 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3829 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3830 Use \\` to match beginning of string instead of ^.
3831 (eww-browse-with-external-browser): Provide optional URL parameter.
3832 (eww-render): Set `eww-current-title' back to "".
3833
3834 * net/shr.el (shr-tag-video): Display content for video if no
3835 poster is available.
3836 (shr-tag-audio): Add support for <audio> tag.
3837
3838 * net/eww.el (eww-text-input-types): New const.
3839 (eww-process-text-input): Treat input types in
3840 `eww-text-input-types' as text.
3841
3842 * net/shr.el (shr-tag-table): Fix comment typo.
3843
3844 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3845
3846 * net/eww.el (eww-follow-link): New command to avoid reloading
3847 pages when we follow #target links (bug#15243).
3848 (eww-quit): Special mode buffers shouldn't query before exiting.
3849
3850 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3851
3852 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3853 forms.
3854
3855 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3856
3857 * net/eww.el (eww-restore-history): Update the window title after
3858 moving in the history.
3859 (eww-current-dom): New variable used to save the current DOM.
3860
3861 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3862
3863 * vc/log-edit.el (log-edit-mode-map): Add binding for
3864 `log-edit-beginning-of-line'.
3865 (log-edit-setup-add-author): New user option.
3866 (log-edit-beginning-of-line): New command.
3867 (log-edit): Move major mode call above the contents setup so that
3868 the local variable values are already applied.
3869 (log-edit): Only insert "Author: " when
3870 `log-edit-setup-add-author' is non-nil.
3871 (log-edit): When SETUP is non-nil, position point after ": "
3872 instead of point-min.
3873
3874 2013-12-01 Glenn Morris <rgm@gnu.org>
3875
3876 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3877
3878 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3879
3880 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3881 redisplay to make sure the initial frame gets a chance to become
3882 visible. (Bug#16014)
3883
3884 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3885
3886 Support resizing frames and windows pixelwise.
3887 * cus-start.el (frame-resize-pixelwise)
3888 (window-resize-pixelwise): New entries.
3889 * emacs-lisp/debug.el (debug): Use window-total-height instead
3890 of window-total-size.
3891 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3892 * help.el (describe-bindings-internal): Use help-buffer as
3893 argument for with-help-window.
3894 (temp-buffer-max-width): New option.
3895 (resize-temp-buffer-window, help-window-setup)
3896 (with-help-window): Rewrite.
3897 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3898 dragging dividers.
3899 * window.el (frame-char-size, window-min-pixel-height)
3900 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3901 (window-min-pixel-width, window-safe-min-pixel-size)
3902 (window-combination-p, window-safe-min-size)
3903 (window-resizable-p, window--size-to-pixel)
3904 (window--pixel-to-size, window--resize-apply-p): New functions.
3905 (window-safe-min-height): Fix doc-string.
3906 (window-size, window-min-size, window--min-size-1)
3907 (window-sizable, window-sizable-p, window--min-delta-1)
3908 (window-min-delta, window--max-delta-1, window-max-delta)
3909 (window--resizable, window--resizable-p, window-resizable)
3910 (window-full-height-p, window-full-width-p, window-at-side-p)
3911 (window--in-direction-2, window-in-direction)
3912 (window--resize-reset-1, window--resize-mini-window)
3913 (window-resize, window-resize-no-error)
3914 (window--resize-child-windows-normal)
3915 (window--resize-child-windows, window--resize-siblings)
3916 (window--resize-this-window, window--resize-root-window)
3917 (window--resize-root-window-vertically)
3918 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3919 (maximize-window, minimize-window, delete-window)
3920 (quit-restore-window, window-split-min-size, split-window)
3921 (balance-windows-2, balance-windows)
3922 (balance-windows-area-adjust, balance-windows-area)
3923 (window--state-get-1, window-state-get, window--state-put-1)
3924 (window--state-put-2, window-state-put)
3925 (display-buffer-record-window, window--display-buffer):
3926 Make functions handle pixelwise sizing of windows.
3927 (display-buffer--action-function-custom-type)
3928 (display-buffer-fallback-action):
3929 Add display-buffer-in-previous-window.
3930 (display-buffer-use-some-window): Resize window to height it had
3931 before.
3932 (fit-window-to-buffer-horizontally): New option.
3933 (fit-frame-to-buffer): Describe new values.
3934 (fit-frame-to-buffer-bottom-margin): Replace with
3935 fit-frame-to-buffer-margins.
3936 (window--sanitize-margin): New function.
3937 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3938 using window-text-pixel-size.
3939
3940 2013-11-30 Glenn Morris <rgm@gnu.org>
3941
3942 * emacs-lisp/bytecomp.el (byte-compile-form):
3943 Make the `interactive-only' warning like the `obsolete' one.
3944 * comint.el (comint-run):
3945 * files.el (insert-file-literally, insert-file):
3946 * replace.el (replace-string, replace-regexp):
3947 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3948 (goto-line, insert-buffer, next-line, previous-line):
3949 Tweak `interactive-only' spec.
3950
3951 Stop keeping (most) generated cedet grammar files in the repository.
3952 * Makefile.in (semantic): New.
3953 (compile-main): Depend on semantic.
3954
3955 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3958 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3959
3960 * uniquify.el (uniquify-buffer-name-style): Change default.
3961
3962 * loadup.el: Preload "uniquify".
3963
3964 * time.el (display-time-update): Update all mode lines (bug#15999).
3965
3966 * electric.el (electric-indent-mode): Enable by default.
3967 * loadup.el: Preload "electric".
3968
3969 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3970
3971 * emacs-lisp/helpers.el (string-empty-p): New function.
3972 (string-blank-p): New function.
3973
3974 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3975
3976 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3977 (Bug#14029).
3978
3979 2013-11-29 Andreas Politz <politza@fh-trier.de>
3980 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3981 allow non-lambda lists as functions.
3982 (imenu--in-alist): Don't recurse into non-subalists.
3983 (imenu): Don't pass function itself as an argument (Bug#14029).
3984
3985 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * progmodes/python.el (python-mode-map): Remove binding for ":".
3988 (python-indent-electric-colon): Remove command.
3989 (python-indent-post-self-insert-function): Integrate the previous code
3990 of python-indent-electric-colon. Make it conditional on
3991 electric-indent-mode.
3992 (python-mode): Add ?: to electric-indent-chars.
3993 Move python-indent-post-self-insert-function to the end of
3994 post-self-insert-hook.
3995
3996 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * doc-view.el (doc-view-goto-page): Update mode-line.
3999
4000 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4001
4002 2013-11-27 Glenn Morris <rgm@gnu.org>
4003
4004 * international/charprop.el, international/uni-bidi.el:
4005 * international/uni-category.el, international/uni-combining.el:
4006 * international/uni-comment.el, international/uni-decimal.el:
4007 * international/uni-decomposition.el, international/uni-digit.el:
4008 * international/uni-lowercase.el, international/uni-mirrored.el:
4009 * international/uni-name.el, international/uni-numeric.el:
4010 * international/uni-old-name.el, international/uni-titlecase.el:
4011 * international/uni-uppercase.el:
4012 Remove generated files from VCS repository.
4013
4014 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4015
4016 * filenotify.el (file-notify-add-watch): Don't special-case
4017 w32notify when computing the directory to watch.
4018
4019 2013-11-27 Glenn Morris <rgm@gnu.org>
4020
4021 Make bootstrap without generated uni-*.el files possible again.
4022 * loadup.el: Update command-line-args checking for unidata-gen.
4023 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4024 * composite.el, international/characters.el:
4025 Handle unicode tables being undefined.
4026
4027 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4028 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4029 (compile-main): Depend on leim rule.
4030 (leim): New rule.
4031 * loadup.el: Move leim-list.el to leim/ subdirectory.
4032 * startup.el (normal-top-level): No more leim directory.
4033 * international/ja-dic-cnv.el (skkdic-convert):
4034 Disable version-control and autoloads in output files.
4035 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4036 Disable version-control and autoloads in output files.
4037 * leim/quail: Move here from ../leim.
4038 * leim/quail/hangul.el (hangul-input-method-activate):
4039 Add autoload cookie.
4040 (generated-autoload-load-name): Set file-local value.
4041 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4042 (generated-autoload-load-name): Set file-local value.
4043
4044 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4045
4046 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4047 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4048 (eww-quit): Ask confirmation before quitting eww.
4049
4050 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4051
4052 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4053 reading output from Diff on MS-Windows and MS-DOS.
4054
4055 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4056
4057 * emacs-lisp/helpers.el (string-reverse): New function.
4058
4059 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4060
4061 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4062 names on MS Windows, like "/[::1]:".
4063
4064 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4065 SWITCHES.
4066
4067 2013-11-26 Glenn Morris <rgm@gnu.org>
4068
4069 * progmodes/python.el (python-indent-guess-indent-offset):
4070 Avoid corner-case error. (Bug#15975)
4071
4072 Preload leim-list.el. (Bug#4789)
4073 * loadup.el: Load leim-list.el when found.
4074 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4075
4076 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4077
4078 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4079
4080 * emacs-lisp/helpers.el (string-join): New function.
4081
4082 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4083
4084 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4085 Mark as obsolete and replace it with a symbol property.
4086 (byte-compile-form): Use new 'interactive-only property.
4087 * comint.el, files.el, replace.el, simple.el:
4088 Apply new 'interactive-only properly.
4089
4090 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4091
4092 * window.el (display-buffer-at-bottom): Make sure that
4093 split-window-sensibly creates the new window on bottom
4094 (Bug#15961).
4095
4096 2013-11-23 David Kastrup <dak@gnu.org>
4097
4098 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4099 on the conflict markers when available.
4100 (smerge--get-marker): New function.
4101 (smerge-end-re, smerge-base-re): Add subgroup.
4102
4103 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * frame.el (handle-focus-in, handle-focus-out): Add missing
4106 interactive spec.
4107
4108 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4109
4110 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4111 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4112
4113 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4116 (gomoku--last-pos): New var.
4117 (gomoku--intangible-chars): New const.
4118 (gomoku--intangible): New function.
4119 (gomoku-mode): Use it. Derive from special-mode.
4120 (gomoku-move-up): Adjust line count.
4121 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4122 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4123 Simplify accordingly.
4124
4125 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4126 Remove blink-cursor code.
4127 (blink-cursor-timer-function, blink-cursor-suspend):
4128 Don't special-case GUIs.
4129 (blink-cursor-mode): Use focus-in/out-hook.
4130
4131 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4132
4133 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4134 work when annotation is invisible (Bug#13886).
4135
4136 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4137
4138 * json.el (json-alist-p): Only return non-nil if the alist has
4139 simple keys (Bug#13518).
4140
4141 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4142
4143 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4144 when control-statement is the first statement in a buffer (Bug#15956).
4145
4146 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4147
4148 * imenu.el (imenu-generic-skip-comments-and-strings):
4149 New option (Bug#15560).
4150 (imenu--generic-function): Use it.
4151
4152 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4153
4154 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4155 (Bug#13898)
4156
4157 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4158
4159 * emacs-lisp/helpers.el: Add some string helpers.
4160 (string-trim-left): Removes leading whitespace.
4161 (string-trim-right): Removes trailing whitespace.
4162 (string-trim): Removes leading and trailing whitespace.
4163
4164 * subr.el (string-suffix-p): New function.
4165
4166 2013-11-23 Glenn Morris <rgm@gnu.org>
4167
4168 * progmodes/python.el (python-shell-send-file):
4169 Add option to delete file when done. (Bug#15647)
4170 (python-shell-send-string, python-shell-send-region): Use it.
4171
4172 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4173
4174 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4175 to set buffer-read-only to t, never to nil. (Bug#15938)
4176
4177 * textmodes/tex-mode.el (latex-noindent-environments):
4178 Add safe-local-variable property. (Bug#15936)
4179
4180 2013-11-23 Glenn Morris <rgm@gnu.org>
4181
4182 * textmodes/enriched.el (enriched-mode): Doc fix.
4183 * emacs-lisp/authors.el (authors-renamed-files-alist):
4184 Add enriched.doc -> enriched.txt.
4185
4186 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4187
4188 2013-11-22 Leo Liu <sdl.web@gmail.com>
4189
4190 * progmodes/octave.el (inferior-octave-startup): Spit out error
4191 message.
4192
4193 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4194
4195 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4196 Improve docstring.
4197 Add :version.
4198 (ruby-encoding-magic-comment-style): Add :version.
4199
4200 2013-11-22 Leo Liu <sdl.web@gmail.com>
4201
4202 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4203 (Bug#15076)
4204 (octave-help-mode): Adapt to change to help-mode-finish to use
4205 derived-mode-p on 2013-09-17.
4206 (inferior-octave-prompt): Also match octave-gui.
4207 (octave-kill-process): Don't ask twice. (Bug#10564)
4208
4209 2013-11-22 Leo Liu <sdl.web@gmail.com>
4210
4211 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4212 (inferior-octave-startup, inferior-octave-check-process)
4213 (inferior-octave-track-window-width-change)
4214 (octave-completion-at-point, octave-eldoc-function): Use it.
4215 (octave-kill-process): Provide confirmation. (Bug#10564)
4216
4217 2013-11-21 Leo Liu <sdl.web@gmail.com>
4218
4219 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4220 Fix obsolete variable comment-use-global-state.
4221
4222 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4223
4224 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4225 Add `octave-source-file'.
4226 (octave-source-file): New function. (Bug#15935)
4227
4228 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4229
4230 * net/eww.el (eww-local-regex): New variable.
4231 (eww): Use it to detect localhost and similar.
4232
4233 2013-11-21 Leo Liu <sdl.web@gmail.com>
4234
4235 Add completion for command `ag'.
4236 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4237 (pcomplete/ag): New function.
4238 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4239
4240 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4241
4242 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4243 (bug#14646).
4244 (make-obsolete): Remove interactive spec.
4245
4246 2013-11-21 Glenn Morris <rgm@gnu.org>
4247
4248 * startup.el (command-line-1): Use path-separator with -L.
4249
4250 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4251
4252 * emacs-lisp/package.el (describe-package-1): Add package archive
4253 to shown fields.
4254
4255 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4256
4257 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4258 Change default to "# encoding: %s" to differentiate it from the
4259 default Ruby encoding comment template.
4260
4261 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4262
4263 * ses.el (ses-mode): Doc fix. (Bug#14748)
4264
4265 2013-11-20 Leo Liu <sdl.web@gmail.com>
4266
4267 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4268
4269 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4270
4271 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4272 when rebase or bisect are in progress.
4273
4274 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4275
4276 * filenotify.el (file-notify-add-watch): Doc fix.
4277
4278 2013-11-19 Leo Liu <sdl.web@gmail.com>
4279
4280 * obsolete/rcompile.el: Mark obsolete.
4281
4282 * progmodes/compile.el (compilation-start)
4283 (compilation-goto-locus, compilation-find-file):
4284 Pass no-display-ok and handle nil value from display-buffer.
4285 (Bug#13594)
4286
4287 * window.el (display-buffer-alist, display-buffer): Document the
4288 new parameter no-display-ok. Return either a window or nil
4289 but never a non-window value.
4290
4291 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * electric.el (electric-indent-mode-map): Remove.
4294 (electric-indent-mode): Change the global-map instead (bug#15915).
4295
4296 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4297 Use add-function.
4298
4299 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * emacs-lisp/nadvice.el (remove-function): Align with
4302 add-function's behavior.
4303
4304 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4305 (gdb--string-regexp): New constant.
4306 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4307 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4308 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4309 submatch 1.
4310 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4311 Adjust use accordingly.
4312 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4313
4314 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4315
4316 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4317 interpolation curlies (Bug#15914).
4318
4319 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4320
4321 * calc/calc.el (calc-context-sensitive-enter): New variable.
4322 (calc-enter): Use `calc-context-sensitive-enter'.
4323
4324 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4325
4326 * progmodes/cfengine.el: Version bump.
4327 (cfengine-cf-promises): New defcustom to locate cf-promises.
4328 (cfengine3-vartypes): Add new "data" type.
4329 (cfengine3--current-word): New function to get current name-like
4330 word or its bounds.
4331 (cfengine3--current-function): New function to look up a CFEngine
4332 function's definition.
4333 (cfengine3-format-function-docstring): New function.
4334 (cfengine3-make-syntax-cache): New function.
4335 (cfengine3-documentation-function): New function: ElDoc glue.
4336 (cfengine3-completion-function): New function: completion glue.
4337 (cfengine3-mode): Set `compile-command',
4338 `eldoc-documentation-function', and add to
4339 `completion-at-point-functions'.
4340
4341 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4342
4343 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4344 `tramp-current-connection'.
4345
4346 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4347
4348 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4349 nil/self/true/false with "end of symbol".
4350
4351 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4352
4353 * subr.el (version-regexp-alist): Fix a typo.
4354
4355 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4356
4357 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4358 "en_US.utf8" and "LC_CTYPE" to "".
4359 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4360 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4361
4362 2013-11-15 Leo Liu <sdl.web@gmail.com>
4363
4364 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4365
4366 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * progmodes/gud.el (ctl-x-map):
4369 Remove C-x SPC binding. (Bug#12342)
4370 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4371
4372 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4373
4374 * subr.el (version-regexp-alist):
4375 Recognize hg, svn and darcs versions as snapshot versions.
4376
4377 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4378 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4379 (ruby--encoding-comment-required-p): Extract from
4380 `ruby-mode-set-encoding'.
4381 (ruby-mode-set-encoding): Add the ability to always insert an
4382 utf-8 encoding comment. Fix and simplify coding comment update
4383 logic.
4384
4385 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4386
4387 * net/tramp-gvfs.el (top): Run init code only when
4388 `tramp-gvfs-enabled' is not nil.
4389 (tramp-gvfs-enabled): Check also :system bus.
4390
4391 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 Sync with upstream verilog-mode revision 78e66ba.
4394 * progmodes/verilog-mode.el (verilog-end-of-defun)
4395 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4396 (verilog-get-end-of-defun): Remove unused argument.
4397 (verilog-comment-depth): Remove unused local `e'.
4398 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4399 Don't pass arg to verilog-get-end-of-defun.
4400
4401 2013-11-14 Glenn Morris <rgm@gnu.org>
4402
4403 * obsolete/assoc.el (aget): Prefix dynamic variable.
4404
4405 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4406
4407 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * widget.el, hfy-cmap.el: Remove bogus package version number.
4410
4411 2013-11-13 Glenn Morris <rgm@gnu.org>
4412
4413 * replace.el (replace-eval-replacement):
4414 Try to give more helpful error message. (Bug#15836)
4415
4416 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4417 (archive-7z-update): Avoid custom type mismatches.
4418
4419 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4420
4421 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4422
4423 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4424 address can be empty.
4425
4426 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4427 Accept nil SWITCHES.
4428 (tramp-gvfs-handle-write-region): Implement APPEND.
4429
4430 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4431
4432 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4433 binary "|" operator and closing block args delimiter.
4434 Remove FIXME comment referring to Ruby 1.8-only syntax.
4435 (ruby-smie--implicit-semi-p): Not after "|" operator.
4436 (ruby-smie--closing-pipe-p): New function.
4437 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4438 (ruby-smie-rules): Indent after "|".
4439
4440 2013-11-12 Glenn Morris <rgm@gnu.org>
4441
4442 * ps-print.el (ps-face-attribute-list):
4443 Handle anonymous faces. (Bug#15827)
4444
4445 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4446
4447 * window.el (display-buffer-other-frame): Fix doc-string.
4448 (Bug#15868)
4449
4450 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4453
4454 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4455
4456 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4457 (tramp-sh-handle-file-local-copy): Don't write a message when
4458 saving temporary files.
4459
4460 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4461 both directories are remote.
4462 (tramp-smb-handle-directory-files): Do not return double entries.
4463 Do not expand full file names.
4464 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4465 (tramp-smb-handle-write-region): Implement APPEND.
4466 (tramp-smb-get-stat-capability): Fix a stupid bug.
4467
4468 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4469
4470 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4471
4472 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4473
4474 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4475 throwing error over malformed let/let* (bug#15814).
4476
4477 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * iswitchb.el (iswitchb-mode): Mark obsolete.
4480
4481 2013-11-11 Glenn Morris <rgm@gnu.org>
4482
4483 * international/uni-bidi.el, international/uni-category.el:
4484 * international/uni-name.el, international/uni-numeric.el:
4485 Regenerate for Unicode 6.3.0.
4486
4487 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4488
4489 * net/tramp.el (tramp-methods):
4490 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4491 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4492
4493 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4494
4495 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4496 Force highlighting text after Summary keyword in doc face for rpm.
4497
4498 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4499
4500 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4501 available and the word has no wildcards, append one to the grep pattern.
4502 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4503 (ispell-complete-word): Call `ispell-lookup-words' with the value
4504 independent of `ispell-look-p'.
4505
4506 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4507
4508 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4509 Not after "||".
4510 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4511 their parent.
4512
4513 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4516 (ruby-font-lock-keywords): Use backquote.
4517
4518 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4519
4520 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4521 (ruby-smie--backward-token): Only consider full-string matches.
4522
4523 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4524
4525 * faces.el (describe-face): Add distant-foreground.
4526
4527 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4528
4529 * progmodes/ruby-mode.el: Improve encoding comment handling.
4530 (ruby-encoding-magic-comment-style): New option.
4531 (ruby-custom-encoding-magic-comment-template): New option.
4532 (ruby--insert-coding-comment, ruby--detect-encoding):
4533 New functions extracted from `ruby-mode-set-encoding'.
4534 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4535 to control the style of the auto-inserted encoding comment.
4536
4537 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4538
4539 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4540 Use `smie-backward-sexp' with token argument.
4541
4542 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4543
4544 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4545 Remove instrumentation code.
4546
4547 2013-11-08 Glenn Morris <rgm@gnu.org>
4548
4549 * progmodes/autoconf.el (autoconf-mode):
4550 Tweak comment-start-skip. (Bug#15822)
4551
4552 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4555 at bobp (bug#15826).
4556 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4557
4558 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4559
4560 * man.el (Man-start-calling): New macro, extracted from
4561 Man-getpage-in-background.
4562 (Man-getpage-in-background): Use it.
4563 (Man-update-manpage): New command.
4564 (Man-mode-map): Bind it.
4565
4566 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4567
4568 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4569 of "and", "or", "&&" and "||".
4570 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4571 argument. Prohibit opening curly brace because it could only be a
4572 block opener in that position.
4573 (ruby-smie--forward-token, ruby-smie--backward-token):
4574 Separate "|" from "&" or "*" going after it. That can happen in block
4575 arguments.
4576 (ruby-smie--indent-to-stmt): New function, seeks the end of
4577 previous statement or beginning of buffer.
4578 (ruby-smie-rules): Use it.
4579 (ruby-smie-rules): Check if there's a ":" before a curly block
4580 opener candidate; if there is, it's a hash.
4581
4582 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4585 (cl--block-wrapper): Fix last accidental change.
4586
4587 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4588
4589 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4590 Instrument, in order to hunt failure on hydra.
4591
4592 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4593
4594 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4595 malformed bindings form (bug#15814).
4596
4597 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4598
4599 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4600 "." compared to " @ ". This incidentally fixes some indentation
4601 examples with "do".
4602 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4603 (ruby-smie-grammar): New tokens: "and" and "or".
4604 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4605 Exclude "and" and "or". Remove "do" in order to work around token
4606 priorities.
4607 (ruby-smie-rules): Add all infix tokens. Handle the case of
4608 beginning-of-buffer.
4609
4610 2013-11-06 Glenn Morris <rgm@gnu.org>
4611
4612 * Makefile.in (setwins_almost, setwins_for_subdirs):
4613 Avoid accidental matches.
4614
4615 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * menu-bar.el (popup-menu): Use key-binding.
4618
4619 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4620
4621 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4622 menus, support also the menus produced by minor modes.
4623 (Bug#15817)
4624
4625 2013-11-06 Leo Liu <sdl.web@gmail.com>
4626
4627 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4628 DISTANCE to bound the search. All uses changed. (Bug#15808)
4629
4630 2013-11-06 Glenn Morris <rgm@gnu.org>
4631
4632 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4633 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4634 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4635
4636 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4637
4638 * electric.el (electric-indent-just-newline): New command.
4639 (electric-indent-mode-map): New keymap.
4640 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4641 Re-add :group which weren't redundant.
4642
4643 * electric.el (electric-indent-local-mode): New minor mode.
4644 (electric-indent-functions-without-reindent): New var.
4645 (electric-indent-post-self-insert-function): Use it.
4646 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4647
4648 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4649
4650 * international/quail.el (quail-help): Be more explicit about the
4651 meaning of the labels shown on the keys. (Bug#15800)
4652
4653 * startup.el (normal-top-level): Load the subdirs.el files before
4654 setting the locale environment. (Bug#15805)
4655
4656 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4659 via arguments so as to get the right ones (bug#15418).
4660
4661 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4662
4663 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4664
4665 Fix problems found while writing a test suite.
4666
4667 * net/tramp-compat.el (tramp-compat-load): New defun.
4668 * net/tramp.el (tramp-handle-load): Use it.
4669
4670 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4671 "(numberp ok-if-already-exists)" correctly.
4672
4673 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4674
4675 * international/characters.el (glyphless-char-display-control):
4676 Add usage note.
4677
4678 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4679
4680 * progmodes/python.el (python-mode):
4681 * progmodes/scheme.el (scheme-mode):
4682 * progmodes/prolog.el (prolog-mode):
4683 * progmodes/ruby-mode.el (ruby-mode):
4684 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4685 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4686
4687 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * rect.el (rectangle--highlight-for-redisplay):
4690 * emacs-lisp/smie.el (smie--next-indent-change):
4691 Use buffer-chars-modified-tick.
4692
4693 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4694
4695 * electric.el (electric-indent-post-self-insert-function):
4696 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4697
4698 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4699
4700 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4701
4702 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4703
4704 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4705 (bug#15786).
4706
4707 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4710
4711 * progmodes/python.el: Fix up last change.
4712 (python-shell--save-temp-file): New function.
4713 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4714 `string' comes from the current buffer.
4715 (python-shell-send-string-no-output): Remove `msg' arg.
4716 (python--use-fake-loc): New var.
4717 (python-shell-buffer-substring): Obey it. Try to compensate for the
4718 extra coding line added by python-shell--save-temp-file.
4719 (python-shell-send-region): Use python-shell--save-temp-file and
4720 python-shell-send-file directly. Add `nomain' argument.
4721 (python-shell-send-buffer): Use python-shell-send-region.
4722 (python-electric-pair-string-delimiter): New function.
4723 (python-mode): Use it.
4724
4725 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4726
4727 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4728 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4729 environment and decoding all of the default-directory's to here
4730 from command-line.
4731 (command-line): Decode also argv[0].
4732
4733 * loadup.el: Error out if default-directory is a multibyte string
4734 when we are dumping.
4735
4736 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4737
4738 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4739
4740 * emacs-lisp/package.el (package-menu-mode)
4741 (package-menu--print-info, package-menu--archive-predicate):
4742 Add Archive column to package list.
4743
4744 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4745
4746 Fix problems found while writing a test suite.
4747
4748 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4749 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4750 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4751 to nil when running original file name handler. Otherwise,
4752 there are problems with constructs like "$$FOO".
4753
4754 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4755 for `localname'.
4756
4757 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4758
4759 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4760
4761 * subr.el (version<, version<=, version=):
4762 Update docstrings with information for snapshot versions.
4763
4764 * helpers.el: New library for misc helper functions.
4765 (hash-table-keys): New function returning a list of hash keys.
4766 (hash-table-values): New function returning a list of hash values.
4767
4768 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4769
4770 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4771 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4772
4773 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4774
4775 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4776 checking whether point is after a 1-letter word.
4777
4778 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4779
4780 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4781 Don't infloop when expanding region over `multiline' syntax-type that
4782 begins a line (bug#15778).
4783
4784 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4787 Make it into a proper minor mode.
4788 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4789 (rectangle-mark-mode-map): New keymap.
4790 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4791
4792 2013-11-04 Glenn Morris <rgm@gnu.org>
4793
4794 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4795
4796 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4799 (ruby-smie-rules): Use smie-rule-parent instead.
4800
4801 * emacs-lisp/smie.el (smie-rule-parent): Always call
4802 smie-indent-virtual rather than only for hanging tokens.
4803 (smie--next-indent-change): New helper command.
4804
4805 2013-11-03 Glenn Morris <rgm@gnu.org>
4806
4807 * Makefile.in (abs_srcdir): Remove.
4808 (emacs): Unset EMACSLOADPATH.
4809
4810 2013-11-02 Glenn Morris <rgm@gnu.org>
4811
4812 * Makefile.in (EMACS): Use a relative filename.
4813 (abs_top_builddir): Remove.
4814 (custom-deps, finder-data, autoloads): Use --chdir.
4815
4816 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4817
4818 Use relative filenames in TAGS files.
4819 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4820 (lisptagsfiles4, TAGS): Use relative file names.
4821 (TAGS-LISP): Remove.
4822 (maintainer-clean): No more TAGS-LISP file.
4823
4824 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4825 (lisptagsfiles4): Use absolute filenames again.
4826 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4827 Remove all *loaddefs files, not just the first. Remove esh-groups.
4828 (maintainer-clean): Delete TAGS, TAGS-LISP.
4829
4830 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4831
4832 * emacs-lisp/package.el (package-version-join):
4833 Recognize snapshot versions.
4834
4835 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4836
4837 * subr.el (version-regexp-alist): Add support for snapshot versions.
4838
4839 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4840
4841 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4842 New function, replacement for `smie-rule-parent' for when we want to
4843 skip over our direct parent if it's an assignment token..
4844 (ruby-smie-rules): Use it.
4845
4846 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4847
4848 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4849 unconditionally. Remove now unnecessary forward declarations.
4850 Remove XEmacs-specific setup.
4851 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4852 (ruby-font-lock-syntactic-keywords)
4853 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4854 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4855 (ruby-here-doc-end-syntax): Remove.
4856 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4857 defined as function.
4858
4859 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4860
4861 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4862
4863 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4864
4865 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4866 table and abbrev table, `define-derived-mode' does that for us
4867 anyway.
4868
4869 2013-11-01 Glenn Morris <rgm@gnu.org>
4870
4871 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4872 files is atomic for some time, so no parallel compilation issues).
4873
4874 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4875
4876 * faces.el (face-x-resources): Add :distant-foreground.
4877 (region): Use :distant-foreground for gtk and ns.
4878
4879 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4880
4881 Allow multiple bibliographies when BibLaTeX is used rather than
4882 BibTeX.
4883 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4884 (reftex-locate-bibliography-files): Us it.
4885
4886 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4887
4888 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4889 allow comments in pbm files.
4890
4891 * term/w32-win.el (dynamic-library-alist): Support newer versions
4892 of libjpeg starting with v7: look only for the DLL from the
4893 version against which Emacs was built.
4894 Support versions of libpng beyond 1.4.x.
4895 Support libtiff v4.x.
4896
4897 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4898
4899 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4900 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4901 Add property :safe.
4902 (ruby-deep-arglist): Add property :type.
4903
4904 2013-10-31 Glenn Morris <rgm@gnu.org>
4905
4906 * Makefile.in (custom-deps, finder-data): No need to setq the target
4907 variables, we are in the right directory and the defaults work fine.
4908
4909 2013-10-30 Glenn Morris <rgm@gnu.org>
4910
4911 * Makefile.in (autoloads): Do not use abs_lisp.
4912
4913 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4914 `newline' does not respect `standard-output', so use `princ'.
4915
4916 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4917
4918 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4919 * buff-menu.el (Buffer-menu--unmark): New function.
4920 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4921
4922 2013-10-30 Glenn Morris <rgm@gnu.org>
4923
4924 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4925
4926 * emacs-lisp/package.el (lm-homepage): Declare.
4927
4928 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4929 Fix doc typos.
4930
4931 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4932
4933 * Makefile.in (finder-data, autoloads, update-subdirs)
4934 (compile-main, compile-clean, compile-always, bootstrap-clean):
4935 Check return value of cd.
4936 (compile-calc): Remove.
4937
4938 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4941
4942 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4943 (byte-compile-and-folded): New function.
4944 (=, <, >, <=, >=): Use it.
4945
4946 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4947 (path-separator, null-device, buffer-file-coding-system)
4948 (lpr-headers-switches): Check system-type before modifying them.
4949 (find-buffer-file-type-coding-system): Mark obsolete.
4950 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4951 find-file-not-found-set-buffer-file-coding-system.
4952 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4953 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4954 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4955 (w32-direct-print-region-helper, w32-direct-print-region-function)
4956 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4957 * startup.el (normal-top-level-add-subdirs-to-load-path):
4958 * ps-print.el (ps-print-region-function):
4959 * lpr.el (print-region-function): Use new name.
4960
4961 * subr.el (custom-declare-variable-early): Remove function.
4962 (custom-declare-variable-list): Remove var.
4963 (error, user-error): Remove `while' loop.
4964 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4965 (user-emacs-directory-warning, locate-user-emacs-file):
4966 Move to files.el.
4967 * simple.el (read-quoted-char-radix, read-quoted-char):
4968 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4969 Move from subr.el.
4970 * custom.el (custom-declare-variable-list): Don't process
4971 custom-declare-variable-list.
4972
4973 * progmodes/python.el (python-shell-get-buffer): New function.
4974 (python-shell-get-process): Use it.
4975 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4976 Python which encoding was used. Don't split-string since we only care
4977 about the first line. Return the temp-file, if applicable.
4978 (python-shell-send-region): Tell compile.el how to turn locations in
4979 the temp-file into locations in the source buffer.
4980
4981 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4982
4983 * subr.el (undefined): Add missing behavior from the C code for
4984 unbound keys.
4985
4986 * rect.el: Use lexical-binding. Add new rectangular region support.
4987 (rectangle-mark): New command.
4988 (rectangle--region): New var.
4989 (deactivate-mark-hook): Reset rectangle--region.
4990 (rectangle--extract-region, rectangle--insert-for-yank)
4991 (rectangle--highlight-for-redisplay)
4992 (rectangle--unhighlight-for-redisplay): New functions.
4993 (region-extract-function, redisplay-unhighlight-region-function)
4994 (redisplay-highlight-region-function): Use them to handle
4995 rectangular region.
4996 * simple.el (region-extract-function): New var.
4997 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4998 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4999 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5000 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5001 (redisplay-unhighlight-region-function)
5002 (redisplay-highlight-region-function): New vars.
5003 (redisplay--update-region-highlight): New function.
5004 (pre-redisplay-function): Use it.
5005 (exchange-point-and-mark): Don't deactivate the mark before
5006 reactivate-it anyway.
5007 * comint.el (comint-kill-region): Remove yank-handler argument.
5008 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5009 (delete-char): Remove property, since it's now part of their
5010 default behavior.
5011 (self-insert-iso): Remove property since this command doesn't exist.
5012
5013 * emacs-lisp/package.el (package--download-one-archive)
5014 (describe-package-1): Don't query the user about final newline.
5015
5016 2013-10-29 Daniel Colascione <dancol@dancol.org>
5017
5018 * net/tramp.el (tramp-methods): Document new functionality.
5019 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5020 tramp-hostname-checker if method provides one instead of scanning
5021 argument list for "%h" to decide hostname acceptability.
5022
5023 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5024
5025 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5026 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5027 Handle COPY-CONTENTS. (Bug#15737)
5028
5029 2013-10-28 Daiki Ueno <ueno@gnu.org>
5030
5031 * epa-file.el
5032 (epa-file-cache-passphrase-for-symmetric-encryption):
5033 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5034
5035 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5036
5037 * image.el (defimage, image-load-path): Doc fixes.
5038
5039 2013-10-27 Alan Mackenzie <acm@muc.de>
5040
5041 Indent statements in macros following "##" correctly.
5042 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5043 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5044
5045 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5046
5047 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5048
5049 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5050
5051 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5052 after `=' is probably a new expression.
5053
5054 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5055
5056 * man.el (man-imenu-title): New option.
5057 (Man-mode-map): Add menu. (Bug#15722)
5058 (Man-mode): Add imenu to menu.
5059
5060 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5061
5062 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5063 specific in what the first arg can be: a non-keyword word,
5064 string/regexp/percent literal opener, opening paren, or unary
5065 operator followed directly by word.
5066
5067 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5070 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5071 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5072 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5073 Remove vars, they do not apply any more.
5074 (prolog-mode-abbrev-table): Remove redundant declaration.
5075 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5076 (prolog-use-smie): Remove.
5077 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5078 supported by prolog-electric-if-then-else-flag.
5079 (prolog-mode-variables, prolog-menu): Use setq-local.
5080 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5081 Remove binding to `Backspace' since this key doesn't exist anyway.
5082 Remove bindings for electric self-inserting keys.
5083 (prog-mode): Assume it's defined.
5084 (prolog-post-self-insert): New function.
5085 (prolog-mode): Use it.
5086 (prolog-indent-line, prolog-indent-level)
5087 (prolog-find-indent-of-matching-paren)
5088 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5089 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5090 (prolog-goto-next-paren, prolog-in-string-or-comment)
5091 (prolog-tokenize, prolog-inside-mline-comment)
5092 (prolog-find-start-of-mline-comment): Remove functions.
5093 (prolog-find-unmatched-paren, prolog-clause-end)
5094 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5095 (prolog-electric--if-then-else): Rename from
5096 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5097 (prolog-tokenize-searchkey): Remove const.
5098 (prolog-clause-info): Use forward-sexp.
5099 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5100 (prolog-electric-if-then-else): Remove commands.
5101 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5102 for use in post-self-insert-hook.
5103 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5104 for use in post-self-insert-hook.
5105 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5106 for use in post-self-insert-hook.
5107 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5108 adapt it for use in post-self-insert-hook.
5109
5110 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5111
5112 * emacs-lisp/ert.el (ert-run-tests-interactively):
5113 Use `completing-read'. (Bug#9756)
5114
5115 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5116
5117 * simple.el (line-move): Call line-move-1 instead of
5118 line-move-visual when the current window hscroll is zero, but
5119 temporary-goal-column indicates we will need to hscroll as result
5120 of the movement. (Bug#15712)
5121
5122 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5123
5124 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5125 capitalization. Use :visible instead of :active.
5126 Fix `ruby-indent-exp' reference. Add menu items for the generic
5127 commands that are used with SMIE.
5128 (ruby-do-end-to-brace): Insert space after `{'.
5129
5130 2013-10-25 John Anthony <john@jo.hnanthony.com>
5131
5132 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5133
5134 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5135
5136 2013-10-25 Glenn Morris <rgm@gnu.org>
5137
5138 * vc/vc.el (vc-print-log): Don't use a working revision unless
5139 one was explicitly specified. (Bug#15322)
5140
5141 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * subr.el (add-to-list): Preserve return value in compiler-macro
5144 (bug#15692).
5145
5146 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5147
5148 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5149 result. Ask user to retry using '-all' flag. (Bug#15701)
5150
5151 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * emacs-lisp/smie.el: New smie-config system.
5154 (smie-config): New defcustom.
5155 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5156 (smie-config-guess, smie-config-save): New commands.
5157 (smie-config--mode-local, smie-config--buffer-local)
5158 (smie-config--trace, smie-config--modefuns): New vars.
5159 (smie-config--advice, smie-config--mode-hook)
5160 (smie-config--setter, smie-config-local, smie-config--get-trace)
5161 (smie-config--guess-value, smie-config--guess): New functions.
5162 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5163 text properties. Treat "string fence" syntax like string syntax.
5164
5165 * progmodes/sh-script.el (sh-use-smie): Change default.
5166 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5167 (sh-var-value): Simplify by CSE.
5168 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5169 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5170 is used.
5171 (sh-guess-basic-offset): Use cl-incf.
5172 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5173
5174 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5175
5176 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5177 (bug#15699).
5178
5179 2013-10-24 Glenn Morris <rgm@gnu.org>
5180
5181 * Makefile.in (abs_top_srcdir): Remove.
5182 (update-subdirs): Use relative path to update-subdirs.
5183
5184 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5185
5186 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5187 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5188 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5189 Call unmsys--file-name before expand-file-name, not after it.
5190
5191 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5192
5193 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5194 (ert-test-skipped): New error.
5195 (ert-skip, ert-stats-skipped): New defuns.
5196 (ert--skip-unless): New macro.
5197 (ert-test-skipped): New struct.
5198 (ert--run-test-debugger, ert-test-result-type-p)
5199 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5200 (ert--stats-set-test-and-result, ert-char-for-test-result)
5201 (ert-string-for-test-result, ert-run-tests-batch)
5202 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5203 Handle skipped tests. (Bug#9803)
5204
5205 2013-10-24 Glenn Morris <rgm@gnu.org>
5206
5207 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5208
5209 * Makefile.in (abs_top_srcdir): New, set by configure.
5210 (update-subdirs): Correct build-aux location.
5211
5212 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5213
5214 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5215 value, whether we could auto-deduce `backend', or not.
5216
5217 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5218 with parameters" example. Simplify the "is it block or is it
5219 hash" check, but also make it more thorough.
5220
5221 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5222
5223 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5224
5225 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5226
5227 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5228 { if it is hanging.
5229
5230 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5231 :before ";".
5232
5233 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5234
5235 * progmodes/compile.el (compilation-directory-matcher)
5236 (compilation-page-delimiter):
5237 Support GNU Make-4.0 directory quoting. (Bug#15678)
5238
5239 2013-10-23 Leo Liu <sdl.web@gmail.com>
5240
5241 * ido.el (ido-tidy): Handle read-only text.
5242
5243 2013-10-23 Glenn Morris <rgm@gnu.org>
5244
5245 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5246 (emacs, compile, compile-always):
5247 Quote entities that might contain whitespace.
5248 (custom-deps, finder-data, autoloads): Use abs_lisp.
5249 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5250 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5251 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5252
5253 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5254
5255 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5256 Use `following-char'.
5257
5258 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5259
5260 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5261 * progmodes/ruby-mode.el (ruby-smie-rules):
5262 Remove corresponding workaround. Fix indentation rule of ";" so it
5263 also applies when ";" is the parent.
5264
5265 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5266
5267 * frame.el (display-screens, display-pixel-height)
5268 (display-pixel-width, display-mm-width, display-backing-store)
5269 (display-save-under, display-planes, display-color-cells)
5270 (display-visual-class, display-monitor-attributes-list):
5271 Mention the optional ‘display’ argument in doc strings.
5272
5273 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5274
5275 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5276 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5277
5278 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5279
5280 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5281 TODO. Add "." after " @ ".
5282 (ruby-smie--at-dot-call): New function. Checks if point at method
5283 call with explicit target.
5284 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5285 to the method name tokens when it precedes them.
5286 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5287 (ruby-smie-rules): Add rule for indentation before and after "."
5288 token.
5289
5290 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 * textmodes/remember.el (remember-diary-extract-entries):
5293 Avoid add-to-list.
5294
5295 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5296 an instruction.
5297
5298 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5299
5300 * progmodes/ruby-mode.el (ruby-smie-grammar):
5301 Add (almost) all infix operators.
5302 (ruby-smie--implicit-semi-p): Add new operator chars.
5303
5304 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5305 `smie-down-list'.
5306 (ruby-smie--args-separator-p): Check that there's no newline
5307 between method call and its arguments.
5308
5309 2013-10-20 Alan Mackenzie <acm@muc.de>
5310
5311 Allow comma separated lists after Java "implements".
5312
5313 * progmodes/cc-engine.el (c-backward-over-enum-header):
5314 Parse commas.
5315 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5316 from a "disallowed" list in enum fontification.
5317
5318 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5319
5320 * startup.el (default-frame-background-mode): Remove unused defvar.
5321
5322 * progmodes/verilog-mode.el (verilog-mode): Don't set
5323 comment-indent-function globally.
5324
5325 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5326
5327 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5328 Move Info menu item creation to ns-win.el.
5329
5330 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5331 in menu bar.
5332
5333 * menu-bar.el: Move GNUstep specific menus...
5334
5335 * term/ns-win.el (ns-initialize-window-system): ... to here.
5336
5337 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * simple.el (newline): Only run post-self-insert-hook when
5340 called interactively.
5341
5342 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5343
5344 * icomplete.el (icomplete-with-completion-tables): Add :version.
5345
5346 2013-10-19 Alan Mackenzie <acm@muc.de>
5347
5348 Fix fontification bugs with constructors and const.
5349
5350 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5351 CASE 2) Remove the check for the absence of a suffix construct
5352 after a function declaration with only types (no identifiers) in
5353 the parentheses. Also, accept a function declaration with just a
5354 type inside the parentheses, if this type can be positively
5355 recognised as such, or if a prefix keyword like "explicit" nails
5356 down the construct as a declaration.
5357
5358 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5359
5360 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5361 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5362 the problem whereby selecting a menu item that leads to a
5363 minibuffer prompt moves the cursor out of the minibuffer window,
5364 making it hard to type at the prompt. Suggested by Stefan Monnier
5365 <monnier@iro.umontreal.ca>.
5366
5367 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5368
5369 * menu-bar.el: Don't make Services menu.
5370
5371 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5372
5373 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5374 (ffap-alist): Use ffap-c++-mode for c++-mode.
5375 (ffap-c++-path): New variable.
5376 (ffap-c++-mode): New function.
5377
5378 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5379
5380 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5381
5382 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5383
5384 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5385 introduced on 2013-09-08, which results in an infinite loop
5386 requesting a password.
5387
5388 2013-10-18 Glenn Morris <rgm@gnu.org>
5389
5390 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5391
5392 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5393
5394 Sync with upstream verilog-mode revision 1a6ecec7.
5395 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5396 (verilog-mode-release-date): Remove.
5397 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5398 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5399 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5400 (verilog-auto-tieoff-ignore-regexp)
5401 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5402 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5403 (verilog-signals-with, verilog-dir-cache-preserving)
5404 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5405 Doc fixes.
5406 (verilog-case-fold): New option, to control case folding in
5407 regexp searches, bug597.
5408 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5409 (verilog-string-match-fold, verilog-in-paren-count)
5410 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5411 (verilog-at-close-struct-p): New functions.
5412 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5413 (verilog-forward-sexp, verilog-set-auto-endcomments)
5414 (verilog-leap-to-case-head): Handle "unique0" case.
5415 (verilog-in-constraint-re): New constant.
5416 (verilog-keywords, verilog-type-font-keywords):
5417 Add some SystemVerilog 1800-2012 keywords.
5418 (verilog-label-be): Remove unimplemented argument, bug669.
5419 (verilog-batch-execute-func): When batch expanding clear
5420 create-lockfiles to prevent spurious user locks when a file ends
5421 up not changing.
5422 (verilog-calculate-indent, verilog-calc-1)
5423 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5424 (verilog-do-indent): Fix indentation of nested constraints
5425 and structures.
5426 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5427 (verilog-auto-inst-param): Use verilog-string-match-fold.
5428 (verilog-read-inst-module-matcher):
5429 Fix AUTOINST on gate primitives with #1.
5430 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5431 Reads all user-defined typed variables.
5432 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5433 (verilog-signals-matching-regexp)
5434 (verilog-signals-not-matching-regexp, verilog-auto):
5435 Respect verilog-case-fold.
5436 (verilog-diff-report): Fix line count.
5437 (verilog-auto-assign-modport): Remove unused local `modi'.
5438 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5439 better handle multidimensional arrays.
5440 Fix packed array ports misadding bit index in AUTOINST, bug637.
5441 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5442 to not double-declare existing outputs and inputs, respectively.
5443 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5444 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5445 (verilog-sk-uvm-component): New skeleton.
5446 (verilog-submit-bug-report): Add verilog-case-fold,
5447 remove verilog-mode-release-date.
5448
5449 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5450
5451 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5452 as before.
5453
5454 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5455
5456 * textmodes/remember.el (remember): Set buffer-offer-save in
5457 remember buffers (bug#13566).
5458
5459 2013-10-18 Daniel Colascione <dancol@dancol.org>
5460
5461 When evaluating forms in ielm, direct standard output to ielm
5462 buffer. Add new ielm-return-for-effect command. Remove trailing
5463 whitespace throughout.
5464
5465 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5466 (ielm-return-for-effect): New command.
5467 (ielm-send-input): Accept optional `for-effect' parameter.
5468 (ielm-eval-input): Accept optional `for-effect' parameter.
5469 Bind `standard-output' to stream we create using
5470 `ielm-standard-output-impl'. Suppress printing result when
5471 `for-effect'.
5472 (ielm-standard-output-impl): New function.
5473 (inferior-emacs-lisp-mode): Explain new features in documentation.
5474
5475 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5476
5477 Code cleanup.
5478
5479 * net/tramp.el (tramp-debug-message): Do not check for connection
5480 buffer.
5481 (tramp-message): Use "vector" connection property.
5482
5483 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5484 (tramp-equal-remote, tramp-eshell-directory-change)
5485 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5486 (tramp-adb-handle-rename-file)
5487 * net/tramp-cmds.el (tramp-list-remote-buffers)
5488 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5489 * net/tramp-compat.el (tramp-compat-process-running-p)
5490 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5491 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5492 (tramp-gvfs-handle-rename-file)
5493 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5494 (tramp-set-file-uid-gid)
5495 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5496 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5497 of `file-remote-p'.
5498
5499 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5500 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5501 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5502 (tramp-gw-open-network-stream): Suppress unrelated traces.
5503
5504 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5505 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5506 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5507 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5508 connection property.
5509
5510 * net/tramp-cache.el (top): Suppress traces when reading
5511 persistency file.
5512
5513 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5514 Refactor common code. Improve debug message.
5515 (tramp-maybe-open-connection)
5516 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5517 connection buffer too early.
5518
5519 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5520 from `tramp-smb-actions-with-acl'.
5521 (tramp-smb-actions-set-acl): New defconst.
5522 (tramp-smb-handle-copy-directory)
5523 (tramp-smb-action-get-acl): New defun, renamed from
5524 `tramp-smb-action-with-acl'.
5525 (tramp-smb-action-set-acl): New defun.
5526 (tramp-smb-handle-set-file-acl): Rewrite.
5527
5528 2013-10-17 Glenn Morris <rgm@gnu.org>
5529
5530 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5531
5532 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5533
5534 * skeleton.el (skeleton-newline): Remove.
5535 (skeleton-internal-1): Use (insert "\n") instead.
5536
5537 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5538 let-bindings.
5539
5540 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5541 forward-sexp-function while we redo its job (bug#15613).
5542
5543 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5544
5545 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5546 represented by lists.
5547
5548 2013-10-16 Glenn Morris <rgm@gnu.org>
5549
5550 * tmm.el (tmm--history): New dynamic variable.
5551 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5552
5553 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5554
5555 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5556 (tramp-smb-errors): Add error messages.
5557 (tramp-smb-actions-with-acl): New defconst.
5558 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5559 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5560 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5561 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5562 (tramp-smb-get-stat-capability): Fix tests.
5563
5564 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5565
5566 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5567 (bug#15580).
5568
5569 2013-10-16 Glenn Morris <rgm@gnu.org>
5570
5571 * ansi-color.el (ansi-color-drop-regexp):
5572 Add 1J, 1K, 2K. (Bug#15617)
5573
5574 * files.el (hack-local-variables--warned-lexical): New.
5575 (hack-local-variables):
5576 Warn about misplaced lexical-binding. (Bug#15616)
5577
5578 * net/eww.el (eww-render): Always set eww-current-url,
5579 and update header line. (Bug#15622)
5580 (eww-display-html): ... Rather than just doing it here.
5581
5582 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5583
5584 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5585 menu navigations commands.
5586
5587 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5588
5589 * progmodes/subword.el (subword-capitalize): Be careful when
5590 the search for [[:alpha:]] fails (bug#15580).
5591
5592 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5593
5594 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5595 to commands that scroll the menu.
5596
5597 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5598
5599 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5600 Handle methods ending with `?' and `!'.
5601
5602 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5603
5604 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5605 `japanese-cp932' to `cp932' to fix the problem where saving a
5606 source file written in Shift_JIS twice would end up having
5607 `coding: japanese-cp932' which Ruby could not recognize.
5608 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5609 in `ruby-encoding-map'.
5610 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5611 doesn't need to be explicitly declared in magic comment.
5612 (ruby-encoding-map): Add type declaration for better customize UI.
5613
5614 2013-10-13 Glenn Morris <rgm@gnu.org>
5615
5616 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5617 Occur buffers are read-only. http://bugs.debian.org/720775
5618
5619 * emacs-lisp/authors.el (authors-fixed-entries):
5620 Comment out old alpha stuff.
5621
5622 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5623
5624 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5625 to `after-save-hook' instead of `before-save-hook'.
5626 (ruby-mode-set-encoding): Use the value of coding system used to
5627 write the file. Call `basic-save-buffer-1' after modifying the
5628 buffer.
5629
5630 2013-10-13 Alan Mackenzie <acm@muc.de>
5631
5632 Fix indentation/fontification of Java enum with
5633 "implements"/generic.
5634
5635 * progmodes/cc-engine.el (c-backward-over-enum-header):
5636 Extracted from the three other places and enhanced to handle generics.
5637 (c-inside-bracelist-p): Uses new function above.
5638 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5639 function above.
5640 (c-font-lock-enum-tail): Uses new function above.
5641
5642 2013-10-13 Kenichi Handa <handa@gnu.org>
5643
5644 * international/mule-cmds.el (select-safe-coding-system): Remove a
5645 superfluous condition in chekcing whether a coding system is safe
5646 or not.
5647
5648 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5649
5650 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5651
5652 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5653
5654 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5655
5656 2013-10-13 Glenn Morris <rgm@gnu.org>
5657
5658 * menu-bar.el (menu-bar-update-buffers):
5659 Unify Buffers menu prompt string. (Bug#15576)
5660
5661 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5662
5663 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5664 Add some entries.
5665 (authors-fixed-entries): Use accented form of name.
5666
5667 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5670 method calls (bug#15594).
5671 (ruby-smie--args-separator-p): New function.
5672 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5673 recognize paren-free method calls.
5674
5675 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5676 internals of universal-argument.
5677
5678 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5679
5680 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5681 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5682 dropped menu on second mouse click on the menu bar.
5683
5684 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5687 (explicit-shell-file-name): Declare.
5688 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5689 (sh-completion-at-point-function): New function.
5690 (sh-mode): Use it.
5691 (sh-smie--keyword-p): Remove unused argument.
5692 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5693 vars.
5694 (sh-set-shell): Always setup SMIE, even if we use the
5695 old indentation code.
5696
5697 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5698
5699 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5700 cases of ? and =.
5701 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5702 predicate would return nil are almost non-existent.
5703 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5704
5705 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5706 cache also after commands that modify the buffer but don't move
5707 point.
5708
5709 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * env.el (substitute-env-in-file-name): New function.
5712 (substitute-env-vars): Extend the meaning of the optional arg.
5713
5714 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5715
5716 * term/w32-win.el (dynamic-library-alist): Define separate lists
5717 of GIF DLLs for versions before and after 5.0.0 of giflib.
5718 (Bug#15531)
5719
5720 2013-10-10 João Távora <joaotavora@gmail.com>
5721
5722 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5723 not locked, use last revision and current source as
5724 defaults. (Bug#15569)
5725
5726 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5727
5728 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5729 menu-bar is hidden.
5730
5731 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5732
5733 * window.el (pop-to-buffer-same-window): Fix doc-string.
5734 (Bug#15492)
5735
5736 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5739
5740 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5741
5742 * calendar/icalendar.el (icalendar-import-file):
5743 Fix interactive spec. (Bug#15482)
5744
5745 2013-10-10 Glenn Morris <rgm@gnu.org>
5746
5747 * desktop.el (desktop-save): Default to saving in .emacs.d,
5748 since PWD is no longer in desktop-path by default. (Bug#15319)
5749
5750 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5751 now that text mode has a menu with the same entry.
5752 (menu-bar-text-mode-auto-fill): Remove now unused func.
5753 * textmodes/text-mode.el (text-mode-map):
5754 Use auto-fill help text from menu-bar.el.
5755
5756 2013-10-10 John Anthony <john@jo.hnanthony.com>
5757
5758 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5759
5760 2013-10-09 Juri Linkov <juri@jurta.org>
5761
5762 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5763 instead of this-command-keys. Add universal-argument-more and
5764 universal-argument-minus to the list of prefix commands. (Bug#15568)
5765
5766 2013-10-09 Glenn Morris <rgm@gnu.org>
5767
5768 * vc/vc-svn.el (vc-svn-create-repo):
5769 Expand paths in file://... url. (Bug#15446)
5770
5771 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5772 Add some entries.
5773 (authors): Remove unused local variables.
5774
5775 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * profiler.el: Create a more coherent calltree from partial backtraces.
5778 (profiler-format): Hide the tail with `invisible' so that C-s can still
5779 find the hidden elements.
5780 (profiler-calltree-depth): Don't recurse so enthusiastically.
5781 (profiler-function-equal): New hash-table-test.
5782 (profiler-calltree-build-unified): New function.
5783 (profiler-calltree-build): Use it.
5784 (profiler-report-make-name-part): Indent the calltree less.
5785 (profiler-report-mode): Add visibility specs for profiler-format.
5786 (profiler-report-expand-entry, profiler-report-toggle-entry):
5787 Expand the whole subtree when provided with a prefix arg.
5788
5789 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5790
5791 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5792 iuwu-mod token.
5793 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5794 hanging iuwu-mod token.
5795 (ruby-smie--forward-token): Do not include a dot after a token in
5796 that token.
5797 (ruby-smie--backward-token): Likewise.
5798
5799 2013-10-08 Juri Linkov <juri@jurta.org>
5800
5801 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5802 to isearch-other-control-char.
5803 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5804 and isearch-post-command-hook to post-command-hook.
5805 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5806 and isearch-post-command-hook from post-command-hook.
5807 (isearch-unread-key-sequence)
5808 (isearch-reread-key-sequence-naturally)
5809 (isearch-lookup-scroll-key, isearch-other-control-char)
5810 (isearch-other-meta-char): Remove functions.
5811 (isearch-pre-command-hook, isearch-post-command-hook):
5812 New functions based on isearch-other-meta-char rewritten
5813 relying on the new behavior of overriding-terminal-local-map
5814 that does not replace the local keymaps any more. (Bug#15200)
5815
5816 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5817
5818 Support menus on text-mode terminals.
5819 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5820 functionality.
5821
5822 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5823
5824 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5825 Move here from mouse.el.
5826 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5827 and arrow keys.
5828 (tty-menu-navigation-map): New map for TTY menu navigation.
5829
5830 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5831
5832 * frame.el (display-mouse-p): Report text-mode mouse as available
5833 on w32.
5834 (display-popup-menus-p): Report availability if mouse is
5835 available; don't condition on window-system.
5836
5837 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5838 (tty-menu-selected-face): New faces.
5839
5840 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5843 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5844 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5845 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5846 New constants.
5847 (lisp-mode-variables): New `elisp' argument.
5848 (emacs-lisp-mode): Use it.
5849 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5850 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5851
5852 * indent.el: Use lexical-binding.
5853 (indent-region): Add progress reporter.
5854 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5855 last step.
5856 (indent--next-tab-stop): New function to implement this behavior.
5857 (tab-to-tab-stop, move-to-tab-stop): Use it.
5858
5859 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5860
5861 * indent.el (indent-rigidly--current-indentation): New function.
5862 (indent-rigidly-map): New var.
5863 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5864
5865 2013-10-08 Bastien Guerry <bzg@gnu.org>
5866
5867 * register.el (insert-register): Fix 2013-10-07 change.
5868
5869 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * progmodes/perl-mode.el: Use lexical-binding.
5872 Remove redundant :group args.
5873 (perl-nochange): Change default to be closer to other major modes's
5874 standard behavior.
5875 (perl-indent-line): Don't consider text on current line as a
5876 valid beginning of function from which to indent.
5877
5878 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5879 with more than one argument (bug#15538).
5880
5881 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5882
5883 * vc/pcvs.el: Use lexical-binding.
5884 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5885 environment of `eval'.
5886 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5887 than a list of expressions. Adjust callers.
5888 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5889
5890 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5891
5892 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5893 case of the dot in a chained method call being on the following line.
5894
5895 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5896
5897 * electric.el (electric-indent-inhibit): New var.
5898 (electric-indent-post-self-insert-function): Use it.
5899 * progmodes/python.el (python-mode): Set it.
5900
5901 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5902 open braces.
5903
5904 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5905
5906 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5907 (css-mode): Use electric-indent-chars.
5908
5909 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5910 (font-lock-beg, font-lock-end): Move before first use.
5911 (nxml-mode): Use syntax-propertize-function.
5912 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5913 (nxml-extend-after-change-region): Remove.
5914 * nxml/xmltok.el: Use lexical-binding.
5915 (xmltok-save): Use `declare'.
5916 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5917 * nxml/nxml-util.el: Use lexical-binding.
5918 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5919 Use `declare'.
5920 * nxml/nxml-ns.el: Use lexical-binding.
5921 (nxml-ns-save): Use `declare'.
5922 (nxml-ns-prefixes-for): Avoid add-to-list.
5923 * nxml/rng-match.el: Use lexical-binding.
5924 (rng--ipattern): Use cl-defstruct.
5925 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5926 (rng-cons-group-after, rng-subst-group-after)
5927 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5928 Use closures instead of `(lambda...).
5929
5930 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5931
5932 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5933 of BEG and END.
5934
5935 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5936 Use `tramp-handle-insert-file-contents'.
5937 (tramp-gvfs-handle-insert-file-contents): Remove function.
5938
5939 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5940 Use `save-restriction' in order to keep markers.
5941
5942 * net/trampver.el: Update release number.
5943
5944 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * progmodes/compile.el (compilation-parse-errors):
5947 Use compilation--put-prop.
5948 (compilation--ensure-parse): Check compilation-multiline.
5949
5950 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5951
5952 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5953 lexical-binding.
5954
5955 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5956
5957 * progmodes/ruby-mode.el: Fix recently added tests.
5958 (ruby-smie-grammar): Add - and +.
5959 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5960 (ruby-smie--backward-id): New functions.
5961 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5962 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5963 any more.
5964
5965 2013-10-07 Leo Liu <sdl.web@gmail.com>
5966
5967 * register.el (register-preview-delay)
5968 (register-preview-functions): New variables.
5969 (register-read-with-preview, register-preview)
5970 (register-describe-oneline): New functions.
5971 (point-to-register, window-configuration-to-register)
5972 (frame-configuration-to-register, jump-to-register)
5973 (number-to-register, view-register, insert-register)
5974 (copy-to-register, append-to-register, prepend-to-register)
5975 (copy-rectangle-to-register): Use register-read-with-preview to
5976 read register. (Bug#15525)
5977
5978 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5979
5980 * net/network-stream.el (network-stream-open-starttls): Don't add
5981 --insecure if it's already present, because that gnutls-cli
5982 rejects getting that parameter twice.
5983
5984 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5985
5986 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5987 keyword, too.
5988
5989 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5990
5991 * newcomment.el (comment-use-global-state): Change default value
5992 to t, mark obsolete (Bug#15251).
5993 (comment-beginning): In addition to `comment-to-syntax', check the
5994 value of `comment-use-global-state'.
5995
5996 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5997
5998 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5999 (ruby-comment-column): Follow the global default, by default.
6000 (ruby-smie-grammar): Add assignment syntax.
6001 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6002 open-paren, a comma, or a \.
6003 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6004 and line continuations.
6005 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6006 followed by implicit semi-colons. Add rule for string concatenation
6007 and for indentation at BOB.
6008 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6009
6010 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6011 calling next-sexp, since next-token may have skipped chars which
6012 next-sexp doesn't know should be skipped!
6013
6014 2013-10-05 Leo Liu <sdl.web@gmail.com>
6015
6016 * progmodes/octave.el (octave-send-region):
6017 Call compilation-forget-errors.
6018
6019 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6020
6021 * vc/vc-svn.el (vc-svn-find-admin-dir):
6022 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6023 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6024 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6025 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6026
6027 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6028
6029 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6030
6031 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6032
6033 * subr.el (read-passwd): Hide chars even when called within a context
6034 where after-change-functions is disabled (bug#15501).
6035 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6036 until we removed ourself from overriding-terminal-local-map.
6037
6038 2013-10-04 Leo Liu <sdl.web@gmail.com>
6039
6040 * progmodes/octave.el (inferior-octave-mode):
6041 Call compilation-forget-errors.
6042
6043 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6044
6045 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6046
6047 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6048
6049 * net/secrets.el (secrets-create-collection): Add optional
6050 argument ALIAS. Use proper Label keyword. Append ALIAS as
6051 dbus-call-method argument. (Bug#15516)
6052
6053 2013-10-04 Leo Liu <sdl.web@gmail.com>
6054
6055 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6056 (inferior-octave-compilation-font-lock-keywords): New variables.
6057 (compilation-error-regexp-alist)
6058 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6059 (inferior-octave-mode): Use compilation-shell-minor-mode.
6060
6061 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6062
6063 * minibuffer.el (completion--replace): Be careful that `end' might be
6064 a marker.
6065
6066 2013-10-03 Daiki Ueno <ueno@gnu.org>
6067
6068 Add support for package signature checking.
6069 * emacs-lisp/package.el (url-http-file-exists-p)
6070 (epg-make-context, epg-context-set-home-directory)
6071 (epg-verify-string, epg-context-result-for)
6072 (epg-signature-status, epg-signature-to-string)
6073 (epg-check-configuration, epg-configuration)
6074 (epg-import-keys-from-file): Declare.
6075 (package-check-signature): New user option.
6076 (package-unsigned-archives): New user option.
6077 (package-desc): Add `signed' field.
6078 (package-load-descriptor): Set `signed' field if .signed file exists.
6079 (package--archive-file-exists-p): New function.
6080 (package--check-signature): New function.
6081 (package-install-from-archive): Check package signature.
6082 (package--download-one-archive): Check archive signature.
6083 (package-delete): Remove .signed file.
6084 (package-import-keyring): New command.
6085 (package-refresh-contents): Import default keyring.
6086 (package-desc-status): Add "unsigned" status.
6087 (describe-package-1, package-menu--print-info)
6088 (package-menu-mark-delete, package-menu--find-upgrades)
6089 (package-menu--status-predicate): Support "unsigned" status.
6090
6091 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6094 the new compilation scheme using the new byte-codes.
6095
6096 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6097 (byte-pophandler): New byte codes.
6098 (byte-goto-ops): Adjust accordingly.
6099 (byte-compile--use-old-handlers): New var.
6100 (byte-compile-catch): Use new byte codes depending on
6101 byte-compile--use-old-handlers.
6102 (byte-compile-condition-case--old): Rename from
6103 byte-compile-condition-case.
6104 (byte-compile-condition-case--new): New function.
6105 (byte-compile-condition-case): New function that dispatches depending
6106 on byte-compile--use-old-handlers.
6107 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6108 when we can.
6109
6110 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6111 Optimize under `condition-case' and `catch' if
6112 byte-compile--use-old-handlers is nil.
6113 (disassemble-offset): Handle new bytecodes.
6114
6115 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * subr.el (error): Use `declare'.
6118 (decode-char, encode-char): Use advertised-calling-convention instead
6119 of the docstring to discourage use of the `restriction' arg.
6120
6121 2013-10-03 Daiki Ueno <ueno@gnu.org>
6122
6123 * epg.el (epg-verify-file): Add a comment saying that it does not
6124 notify verification error as a return value nor a signal.
6125 (epg-verify-string): Ditto.
6126
6127 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6128
6129 * progmodes/compile.el (compilation-start): Try globbing the arg to
6130 `cd' (bug#15417).
6131
6132 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6133
6134 Sync with Tramp 2.2.8.
6135
6136 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6137 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6138 * net/trampver.el: Update release number.
6139
6140 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6141
6142 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6143 and default-process-coding-system for darwin only.
6144
6145 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6148
6149 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6150
6151 * vc/vc-git.el (vc-git-grep): Disable pager.
6152
6153 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6154
6155 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6156 Use :url instead of :homepage, as per
6157 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6158
6159 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6160 non-nil, use `syntax-ppss' (Bug#15251).
6161
6162 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6163
6164 * progmodes/octave.el (inferior-octave-startup-file):
6165 Prefer ~/.emacs.d/init_octave.m.
6166
6167 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6168
6169 * emacs-lisp/package.el (package-desc-from-define):
6170 Accept additional arguments as plist, convert them to an alist and store
6171 them in the `extras' slot.
6172 (package-generate-description-file): Convert extras alist back to
6173 plist and append to the `define-package' form arguments.
6174 (package--alist-to-plist): New function.
6175 (package--ac-desc): Add `extras' slot.
6176 (package--add-to-archive-contents): Check if the archive-contents
6177 vector is long enough, and if it is, pass its `extras' slot value
6178 to `package-desc-create'.
6179 (package-buffer-info): Call `lm-homepage', pass the returned value
6180 to `package-desc-from-define'.
6181 (describe-package-1): Render the homepage button (Bug#13291).
6182
6183 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6184 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6185
6186 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6187
6188 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6189 and default-process-coding-system to utf-8-unix (Bug#15402).
6190
6191 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6192
6193 * subr.el (looking-back): Do not recommend using looking-back.
6194
6195 2013-09-28 Alan Mackenzie <acm@muc.de>
6196
6197 Fix indentation/fontification of Java enum with "implements".
6198
6199 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6200 regexp which matches "implements", etc., in Java.
6201 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6202 specifier clauses coming after "enum".
6203 * progmodes/cc-fonts.el (c-font-lock-declarations)
6204 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6205 after "enum".
6206
6207 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6208
6209 * faces.el (region): Change ns_selection_color to
6210 ns_selection_fg_color, add ns_selection_bg_color.
6211
6212 2013-09-28 Leo Liu <sdl.web@gmail.com>
6213
6214 * progmodes/octave.el (inferior-octave-completion-table)
6215 (inferior-octave-completion-at-point): Minor tweaks.
6216
6217 * textmodes/ispell.el (ispell-lookup-words): Rename from
6218 lookup-words. (Bug#15460)
6219 (lookup-words): Obsolete.
6220 (ispell-complete-word, ispell-command-loop): All uses changed.
6221
6222 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6223
6224 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6225 (octave-mode-menu): Add octave-send-buffer.
6226 (octave-send-buffer): New function.
6227
6228 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6229
6230 * progmodes/octave.el (octave-mode-map): Add key binding for
6231 octave-lookfor.
6232 (octave-mode-menu): Add octave-lookfor.
6233 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6234 octave-lookfor.
6235 (octave-lookfor): New function.
6236
6237 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6240 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6241 its convention.
6242 (cl--loop-set-iterator-function): New function.
6243 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6244 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6245 Bind `it' with `let' instead of substituting it with `cl-subst'.
6246 (cl--unused-var-p): New function.
6247 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6248 Eliminate some unused variable warnings (bug#15326).
6249
6250 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6251
6252 * doc-view.el (doc-view-scale-reset): Rename from
6253 `doc-view-reset-zoom-level'.
6254 (doc-view-scale-adjust): New command.
6255 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6256 `doc-view-scale-adjust'.
6257
6258 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6259
6260 * doc-view.el (doc-view-reset-zoom-level): New command.
6261 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6262 zoom commands (bug#15466).
6263
6264 2013-09-26 Kenichi Handa <handa@gnu.org>
6265
6266 * international/quail.el (quail-help): Make it not a command.
6267
6268 2013-09-26 Leo Liu <sdl.web@gmail.com>
6269
6270 * minibuffer.el (completion-all-sorted-completions): Make args
6271 optional as they are.
6272
6273 2013-09-25 Daniel Colascione <dancol@dancol.org>
6274
6275 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6276 specs are and that they're not evaluated.
6277
6278 2013-09-24 Sam Steingold <sds@gnu.org>
6279
6280 * midnight.el (clean-buffer-list-kill-regexps)
6281 (clean-buffer-list-kill-buffer-names): Update for the new Man
6282 buffer naming which includes the object name.
6283
6284 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6287 (eshell-parse-command, eshell-parse-pipeline): Use it since
6288 eshell-separate-commands requires a dynamic scoped var.
6289 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6290
6291 2013-09-23 Leo Liu <sdl.web@gmail.com>
6292
6293 * autoinsert.el (auto-insert-alist): Make the value of
6294 lexical-binding match its file setting.
6295
6296 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6297
6298 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6299
6300 * autoarg.el (autoarg-kp-digit-argument):
6301 * electric.el (Electric-command-loop):
6302 * kmacro.el (kmacro-step-edit-insert):
6303 Do not set universal-argument-num-events.
6304
6305 2013-09-22 Leo Liu <sdl.web@gmail.com>
6306
6307 * files.el (interpreter-mode-alist): Add octave.
6308
6309 2013-09-21 Alan Mackenzie <acm@muc.de>
6310
6311 C++: fontify identifier in declaration following "public:" correctly.
6312 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6313 to match "public", etc.
6314 (c-decl-prefix-re): Add ":" into the C++ value.
6315 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6316 bit. Add a check for a ":" preceded by "public", etc.
6317
6318 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6319
6320 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6321 recognized by GDB 7.5 and later.
6322
6323 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6324
6325 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6326
6327 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6328
6329 * subr.el (internal--call-interactively): New const.
6330 (called-interactively-p): Use it (bug#3984).
6331
6332 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6333
6334 * vc/pcvs.el (cvs-mode-ignore):
6335 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6336 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6337
6338 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6341 (eshell-ls-orig-insert-directory): Remove.
6342 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6343 (eshell-ls-use-in-dired): Use advice-add/remove.
6344 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6345 Add `orig-fun' arg for use in :around advice.
6346 Make it check (redundantly) eshell-ls-use-in-dired.
6347
6348 2013-09-19 Glenn Morris <rgm@gnu.org>
6349
6350 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6351
6352 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6353
6354 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6355
6356 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6357
6358 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6359 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6360 (tramp-get-remote-python): New defuns.
6361 (tramp-get-remote-uid-with-perl)
6362 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6363 contributed by yary <not.com@gmail.com> (tiny change).
6364 (tramp-get-remote-uid-with-python)
6365 (tramp-get-remote-gid-with-python): New defuns. Python code
6366 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6367 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6368
6369 2013-09-19 Glenn Morris <rgm@gnu.org>
6370
6371 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6372
6373 * eshell/em-unix.el (eshell-remove-entries):
6374 Rename argument to avoid name-clash with global `top-level'.
6375
6376 * eshell/esh-proc.el (eshell-kill-process-function):
6377 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6378 (eshell-reset-after-proc): Remove unused arg `proc'.
6379
6380 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6381 (directory-files-and-attributes): Mark unused arg.
6382
6383 * eshell/em-unix.el (eshell-remove-entries):
6384 Remove unused arg `path'. Update callers.
6385
6386 * eshell/em-hist.el (eshell-hist-parse-arguments):
6387 Remove unused arg `silent'. Update callers.
6388
6389 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6390 Fix (f)boundp mix-up.
6391
6392 * eshell/em-smart.el (eshell-smart-scroll-window)
6393 (eshell-disable-after-change):
6394 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6395
6396 2013-09-18 Alan Mackenzie <acm@muc.de>
6397
6398 Fix fontification of type when followed by "const".
6399 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6400 "known" types from fontification.
6401
6402 2013-09-18 Glenn Morris <rgm@gnu.org>
6403
6404 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6405 (chart-face-list): Drop Emacsen without display-color-p.
6406
6407 * net/eww.el (libxml-parse-html-region): Declare.
6408 (eww-display-html): Explicit error if no libxml2 support.
6409
6410 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6411
6412 * image.el (image-type-from-buffer, image-multi-frame-p):
6413 Remove --without-x warning/error.
6414
6415 * mouse.el (mouse-yank-primary):
6416 * term.el (term-mouse-paste):
6417 Reorder to silence --without-x compilation.
6418
6419 * mpc.el (doc-view-mode): Silence --without-x compilation.
6420
6421 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6422 Silence --without-x compilation.
6423
6424 * progmodes/gud.el (gud-find-file, gud-mode):
6425 Silence --without-x compilation.
6426 (tooltip-mode): Declare.
6427
6428 * wdired.el (dired-backup-overwrite): Remove declaration.
6429 (wdired-mode-map): Add doc string.
6430
6431 * custom.el (x-get-resource): Declare.
6432
6433 * eshell/em-glob.el (ange-cache):
6434 * eshell/em-unix.el (ange-cache): Declare.
6435
6436 * faces.el (x-display-list, x-open-connection, x-get-resource):
6437 Declare.
6438
6439 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6440 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6441 Declare.
6442
6443 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6444
6445 * net/gnutls.el (gnutls-log-level): Declare.
6446
6447 * net/shr.el (image-size, image-animate): Declare.
6448
6449 * simple.el (font-info): Declare.
6450
6451 * subr.el (x-popup-dialog): Declare.
6452
6453 * term/common-win.el (x-select-enable-primary)
6454 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6455 Declare.
6456
6457 * term/ns-win.el (x-handle-args): Declare.
6458
6459 * term/x-win.el (x-select-enable-clipboard): Declare.
6460
6461 * term/w32-win.el (create-default-fontset): Declare.
6462
6463 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6464 Declare.
6465
6466 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6467 (fit-frame-to-buffer): Explicit error if --without-x.
6468 (mouse-autoselect-window-select): Silence compiler.
6469
6470 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6471
6472 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6473 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6474 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6475 * eshell/esh-util.el (eshell-sublist):
6476 Remove unused local variables.
6477
6478 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6479
6480 * textmodes/two-column.el: Make 2C-split work for --without-x.
6481 (scroll-bar-columns): Autoload.
6482 (top-level): Require fringe when compiling.
6483
6484 2013-09-18 Leo Liu <sdl.web@gmail.com>
6485
6486 * subr.el (add-hook): Robustify to handle closure as well.
6487
6488 2013-09-17 Glenn Morris <rgm@gnu.org>
6489
6490 * simple.el (messages-buffer-mode-map): Unbind "g".
6491
6492 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * help-mode.el (help-mode-finish): Use derived-mode-p.
6495 Remove obsolete highlighting.
6496
6497 * play/life.el (life-mode): Use define-derived-mode. Derive from
6498 special-mode.
6499 (life): Let-bind inhibit-read-only.
6500 (life-setup): Avoid `setq'. Use `life-mode'.
6501
6502 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6503 which should not be needed any more.
6504 (package-menu-refresh, package-menu-describe-package): Use user-error.
6505
6506 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6507 (eshell-post-rewrite-command-hook): Make obsolete.
6508 (eshell-parse-command): Simplify.
6509 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6510 (eshell--cmd): Declare.
6511 (eshell-parse-pipeline): Remove unused var `final-p'.
6512 Pass a dynvar to eshell-post-rewrite-command-hook.
6513 Implement the new eshell-post-rewrite-command-function.
6514 (eshell-invoke-directly): Remove unused arg `input'.
6515 * eshell/esh-io.el (eshell-io-initialize):
6516 Use eshell-post-rewrite-command-function (bug#15399).
6517 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6518 adjust to new calling convention.
6519 (eshell-create-handles): Rename args to avoid clashing with dynvar
6520 `standard-output'.
6521
6522 2013-09-17 Glenn Morris <rgm@gnu.org>
6523
6524 * simple.el (messages-buffer-mode): New major mode.
6525 (messages-buffer): New function.
6526 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6527 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6528 (ert-run-test): Use `messages-buffer' function.
6529 (ert--force-message-log-buffer-truncation): Ignore read-only.
6530 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6531 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6532
6533 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6536
6537 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6538
6539 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * icomplete.el (icomplete-in-buffer): New var.
6542 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6543 vars and replace them with functions.
6544 (icomplete-minibuffer-setup): Adjust accordingly.
6545 (icomplete--completion-table, icomplete--completion-predicate)
6546 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6547 New functions.
6548 (icomplete-forward-completions, icomplete-backward-completions)
6549 (icomplete-simple-completing-p, icomplete-exhibit)
6550 (icomplete-completions): Use them.
6551 (icomplete--in-region-buffer): New var.
6552 (icomplete--in-region-setup): New function.
6553 (icomplete-mode): Use it.
6554
6555 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6556 (bug#15379).
6557 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6558 return args and options.
6559 (eshell-eval-using-options): Use the new return value of
6560 eshell--do-opts to set the options's vars in their scope.
6561 (eshell--set-option): Rename from eshell-set-option.
6562 Add arg `opt-vals'.
6563 (eshell--process-option): Rename from eshell-process-option.
6564 Add arg `opt-vals'.
6565 (eshell--process-args): Use an `opt-vals' alist to store the options's
6566 values during their processing and return them additionally to the
6567 remaining args.
6568
6569 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6570
6571 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6572 continuation character an operator, as far as indentation is
6573 concerned (Bug#15369).
6574
6575 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6576
6577 * window.el (window--state-put-2): Don't process buffer state
6578 when buffer doesn't exist any more (Bug#15382).
6579
6580 2013-09-15 Glenn Morris <rgm@gnu.org>
6581
6582 * eshell/em-unix.el (eshell/rm):
6583 Make -f ignore missing files. (Bug#15373)
6584
6585 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6586 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6587 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6588
6589 2013-09-14 Glenn Morris <rgm@gnu.org>
6590
6591 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6592
6593 2013-09-13 Glenn Morris <rgm@gnu.org>
6594
6595 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6596 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6597
6598 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6599
6600 * frame.el (x-focus-frame): Mark as declared in frame.c.
6601
6602 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6603
6604 * ls-lisp.el: Use advice-add.
6605 (original-insert-directory): Remove.
6606 (ls-lisp--insert-directory): Rename from insert-directory; add
6607 `orig-fun' argument.
6608 (insert-directory): Advise.
6609
6610 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6611
6612 * term.el (term-emulate-terminal): Decode the command string
6613 before passing it to term-command-hook. (Bug#15337)
6614
6615 2013-09-13 Glenn Morris <rgm@gnu.org>
6616
6617 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6618
6619 * eshell/esh-ext.el (eshell-search-path): Declare.
6620
6621 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6622 Otherwise an error occurs if eshell-dirs module not loaded.
6623
6624 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6625
6626 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6627
6628 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6629 `tramp-check-proper-host'. Check for a valid method name.
6630
6631 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6632 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6633 * net/tramp-sh.el (tramp-maybe-open-connection):
6634 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6635
6636 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6637 also for hash values.
6638
6639 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * term/ns-win.el (parameters): Don't declare as dynamic.
6642 (before-make-frame-hook): Don't add ineffective function.
6643
6644 * eshell/*.el: Use lexical-binding (bug#15231).
6645
6646 2013-09-12 Kenichi Handa <handa@gnu.org>
6647
6648 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6649
6650 2013-09-12 Glenn Morris <rgm@gnu.org>
6651
6652 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6653 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6654
6655 * subr.el (do-after-load-evaluation): Also give compiler warnings
6656 when obsolete files are used (except by obsolete files).
6657
6658 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6659 in the status output, assume `filename' is the first. (Bug#15322)
6660
6661 * vc/vc.el (vc-deduce-fileset): Doc fix.
6662
6663 * calc/calc-help.el (Info-goto-node):
6664 * progmodes/cperl-mode.el (Info-find-node):
6665 * vc/ediff.el (Info-goto-node): Update declarations.
6666
6667 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6668
6669 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6670 (vc-bzr-pull): Require vc-dispatcher.
6671 * vc/vc-git.el (vc-compilation-mode): Declare.
6672 (vc-git-pull): Require vc-dispatcher.
6673
6674 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6675
6676 * progmodes/octave.el (help-button-action): Declare.
6677
6678 * shell.el (shell-directory-tracker): Output error as a message
6679 rather than just returning it as a string.
6680 (shell-process-pushd): Remove useless use of message.
6681
6682 * dframe.el (dframe-timer-fn):
6683 * files.el (dir-locals-read-from-file):
6684 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6685 (mpc-format):
6686 * reveal.el (reveal-post-command):
6687 * saveplace.el (load-save-place-alist-from-file):
6688 * shell.el (shell-resync-dirs):
6689 * w32-common-fns.el (x-get-selection-value):
6690 * emacs-lisp/copyright.el (copyright-find-copyright):
6691 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6692 * emulation/tpu-edt.el (tpu-copy-keyfile):
6693 * play/bubbles.el (bubbles--mark-neighbourhood):
6694 * progmodes/executable.el
6695 (executable-make-buffer-file-executable-if-script-p):
6696 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6697
6698 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 Cleanup Eshell to rely less on dynamic scoping.
6701 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6702 last-value, and ext-command here. Bind `args' closer to `body'.
6703 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6704 (eshell--args): Declare new dynamic var.
6705 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6706 last-value, and ext-command. Pass `args' to `body'.
6707 (eshell-process-args): Bind eshell--args.
6708 (eshell-set-option): Use eshell--args.
6709 * eshell/eshell.el (eshell): Use derived-mode-p.
6710 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6711 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6712 (eshell-glob-function): Declare.
6713 * eshell/esh-util.el: Require cl-lib.
6714 (eshell-read-hosts-file): Avoid add-to-list.
6715 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6716 `err'.
6717 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6718 Declare.
6719 (eshell/diff): Remove unused var `err'.
6720 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6721 `killflag'.
6722 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6723 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6724 first use.
6725 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6726 Move declaration before first use.
6727 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6728 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6729 rely on cl-return.
6730
6731 2013-09-12 Glenn Morris <rgm@gnu.org>
6732
6733 * term/ns-win.el (global-map): Remove binding for ispell-next,
6734 deleted 1999-05-29. (Bug#15357)
6735
6736 2013-09-11 Glenn Morris <rgm@gnu.org>
6737
6738 * echistory.el (electric-command-history): Remove call to deleted func.
6739
6740 * play/landmark.el (landmark-mode): Fix typos.
6741
6742 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6743 Check cvs-sort-ignore-file is bound.
6744
6745 * savehist.el: No need for cl when compiling on Emacs.
6746
6747 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6748
6749 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6750 (bug#15338).
6751 (eshell-self-insert-command, eshell-send-invisible):
6752 Remove unused argument.
6753 (eshell-handle-control-codes): Remove unused var `orig'.
6754 Avoid delete-backward-char.
6755
6756 * files.el (set-auto-mode): Simplify a bit further.
6757
6758 2013-09-11 Glenn Morris <rgm@gnu.org>
6759
6760 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6761 (set-auto-mode): Don't regexp-quote elements.
6762 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6763 * progmodes/cc-mode.el (interpreter-mode-alist):
6764 * progmodes/ruby-mode.el (interpreter-mode-alist):
6765 Revert previous change.
6766
6767 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * play/snake.el (snake-mode):
6770 * play/mpuz.el (mpuz-mode):
6771 * play/landmark.el (lm-mode):
6772 * play/blackbox.el (blackbox-mode):
6773 * play/5x5.el (5x5-mode):
6774 * obsolete/options.el (Edit-options-mode):
6775 * net/quickurl.el (quickurl-list-mode):
6776 * net/newst-treeview.el (newsticker-treeview-mode):
6777 * mail/rmailsum.el (rmail-summary-mode):
6778 * mail/mspools.el (mspools-mode):
6779 * locate.el (locate-mode):
6780 * ibuffer.el (ibuffer-mode):
6781 * emulation/ws-mode.el (wordstar-mode):
6782 * emacs-lisp/debug.el (debugger-mode):
6783 * array.el (array-mode):
6784 * net/eudc.el (eudc-mode): Use define-derived-mode.
6785 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6786 Move initialization into declaration.
6787 (mairix-searches-mode): Use define-derived-mode.
6788 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6789 (eudc-edit-hotlist): Use dolist.
6790 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6791 (Man-mode): Use define-derived-mode.
6792 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6793 (Info-edit-mode): Use define-derived-mode.
6794 (Info-cease-edit): Use Info-mode.
6795 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6796 into declaration.
6797 (eshell-mode): Use define-derived-mode.
6798 * chistory.el (command-history-mode-map): Rename from
6799 command-history-map.
6800 (command-history-mode): Use define-derived-mode.
6801 (Command-history-setup): Remove function.
6802 * calc/calc.el (calc-trail-mode-map): New var.
6803 (calc-trail-mode): Use define-derived-mode.
6804 (calc-trail-buffer): Set calc-main-buffer manually.
6805 * bookmark.el (bookmark-insert-annotation): New function.
6806 (bookmark-edit-annotation): Use it.
6807 (bookmark-edit-annotation-mode): Make it a proper major mode.
6808 (bookmark-send-edited-annotation): Use derived-mode-p.
6809 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6810 closer to its ideal place. Use \' to match EOS.
6811
6812 * profiler.el (profiler-calltree-find): Use function-equal.
6813
6814 2013-09-10 Glenn Morris <rgm@gnu.org>
6815
6816 * files.el (interpreter-mode-alist): Convert to regexps.
6817 (set-auto-mode): Adapt for this. (Bug#15306)
6818 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6819 Comment out unused variable.
6820 * progmodes/cc-mode.el (interpreter-mode-alist):
6821 * progmodes/python.el (interpreter-mode-alist):
6822 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6823 * progmodes/sh-script.el (sh-set-shell):
6824 No longer use interpreter-mode-alist to get list of shells.
6825
6826 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6827
6828 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * simple.el: Use set-temporary-overlay-map for universal-argument.
6831 (universal-argument-map): Don't use default-bindings (bug#15317).
6832 Bind switch-frame explicitly. Replace universal-argument-minus with
6833 a conditional binding.
6834 (universal-argument-num-events, saved-overriding-map): Remove.
6835 (restore-overriding-map): Remove.
6836 (universal-argument--mode): Rename from save&set-overriding-map,
6837 and rewrite.
6838 (universal-argument, universal-argument-more, negative-argument)
6839 (digit-argument): Adjust accordingly.
6840 (universal-argument-minus): Remove.
6841 (universal-argument-other-key): Remove.
6842
6843 * subr.el (with-demoted-errors): Add `format' argument.
6844
6845 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6846
6847 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6848 `tramp-cleanup-connection'.
6849
6850 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6851 parameters KEEP-DEBUG and KEEP-PASSWORD.
6852
6853 * net/tramp.el (tramp-file-name-handler):
6854 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6855 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6856 (tramp-maybe-open-connection):
6857 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6858 Use `tramp-cleanup-connection'.
6859
6860 * net/tramp-sh.el (tramp-maybe-open-connection):
6861 Catch 'uname-changed inside the progress reporter.
6862
6863 2013-09-10 Glenn Morris <rgm@gnu.org>
6864
6865 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6866
6867 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6868 returns "alternate access method" in mode (eg "-rw-r--r--.").
6869
6870 2013-09-08 Glenn Morris <rgm@gnu.org>
6871
6872 * saveplace.el (load-save-place-alist-from-file):
6873 Demote errors. (Bug#15305)
6874
6875 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6876
6877 Improve compatibility with older Emacsen, and XEmacs.
6878
6879 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6880 only if it is bound. It isn't for XEmacs.
6881 (with-tramp-progress-reporter): Do not let-bind `result'.
6882 This yields to scoping errors in XEmacs.
6883 (tramp-handle-make-auto-save-file-name): New function, moved from
6884 tramp-sh.el.
6885
6886 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6887 for `make-auto-save-file-name'.
6888 (tramp-adb--gnu-switches-to-ash):
6889 Use `tramp-compat-replace-regexp-in-string'.
6890
6891 * net/tramp-cache.el (tramp-cache-print): Call
6892 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6893
6894 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6895 bound. It isn't for XEmacs.
6896
6897 * net/tramp-compat.el (tramp-compat-copy-file):
6898 Catch `wrong-number-of-arguments' error.
6899 (tramp-compat-replace-regexp-in-string): New defun.
6900
6901 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6902 for `make-auto-save-file-name'.
6903 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6904 `copy-file'.
6905 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6906 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6907 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6908
6909 * net/tramp-gw.el (tramp-gw-open-network-stream):
6910 Use `tramp-compat-replace-regexp-in-string'.
6911
6912 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6913 Call `tramp-handle-make-auto-save-file-name'.
6914 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6915 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6916 (tramp-sh-file-inotifywait-process-filter):
6917 Use `tramp-compat-replace-regexp-in-string'.
6918 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6919
6920 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6921 for `make-auto-save-file-name'.
6922 (tramp-smb-handle-copy-directory):
6923 Call `tramp-compat-replace-regexp-in-string'.
6924 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6925 (tramp-smb-handle-copy-file): Improve error message.
6926 (tramp-smb-handle-rename-file): Rename directly only in case
6927 `newname' does not exist yet. This is a restriction of smbclient.
6928 (tramp-smb-maybe-open-connection): Rerun the function only when
6929 `auth-sources' is non-nil.
6930
6931 2013-09-08 Kenichi Handa <handa@gnu.org>
6932
6933 * international/characters.el: Set category "^" (Combining) for
6934 more characters.
6935
6936 2013-09-07 Alan Mackenzie <acm@muc.de>
6937
6938 Correctly fontify Java class constructors.
6939 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6940 in Java Mode.
6941 (c-recognize-typeless-decls): Set the Java value to t.
6942 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6943 While handling a "(", add a check for, effectively, Java, and handle a
6944 "typeless" declaration there.
6945
6946 2013-09-07 Roland Winkler <winkler@gnu.org>
6947
6948 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6949 field subtitle for entry type book.
6950
6951 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * minibuffer.el: Make minibuffer-complete call completion-in-region
6954 rather than other way around.
6955 (completion--some, completion-pcm--find-all-completions):
6956 Don't delay signals when debugging.
6957 (minibuffer-completion-contents): Beware fields within the
6958 minibuffer contents.
6959 (completion-all-sorted-completions): Use defvar-local.
6960 (completion--do-completion, completion--cache-all-sorted-completions)
6961 (completion-all-sorted-completions, minibuffer-force-complete):
6962 Add args `beg' and `end'.
6963 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6964 (minibuffer-complete): Use completion-in-region.
6965 (completion-complete-and-exit): New fun, extracted from
6966 minibuffer-complete-and-exit.
6967 (minibuffer-complete-and-exit): Use it.
6968 (completion--complete-and-exit): Rename from
6969 minibuffer--complete-and-exit.
6970 (completion-in-region--single-word): New function, extracted from
6971 minibuffer-complete-word.
6972 (minibuffer-complete-word): Use it.
6973 (display-completion-list): Make `common-substring' argument obsolete.
6974 (completion--in-region): Call completion--in-region-1 instead of
6975 minibuffer-complete.
6976 (completion-help-at-point): Pass boundaries to
6977 minibuffer-completion-help as args rather than via an overlay.
6978 (completion-pcm--string->pattern): Use `any-delim'.
6979 (completion-pcm--optimize-pattern): New function.
6980 (completion-pcm--pattern->regex): Handle `any-delim'.
6981 * icomplete.el (icomplete-forward-completions)
6982 (icomplete-backward-completions, icomplete-completions):
6983 Adjust calls to completion-all-sorted-completions and
6984 completion--cache-all-sorted-completions.
6985 (icomplete-with-completion-tables): Default to t.
6986 * emacs-lisp/crm.el (crm--current-element): Rename from
6987 crm--select-current-element. Don't put an overlay but return the
6988 boundaries instead.
6989 (crm--completion-command): Take two new args to bind to the boundaries.
6990 (crm-completion-help): Adjust accordingly.
6991 (crm-complete): Use completion-in-region.
6992 (crm-complete-word): Use completion-in-region--single-word.
6993 (crm-complete-and-exit): Use completion-complete-and-exit.
6994
6995 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6998 than dynamically.
6999
7000 2013-09-06 Juri Linkov <juri@jurta.org>
7001
7002 * info.el (Info-display-images-node): When image file doesn't exist
7003 display text version of the image if it's provided in the Info file.
7004 Otherwise, display the location of missing image from SRC attribute.
7005 Add help-echo text property from ALT attribute. (Bug#15279)
7006
7007 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7008
7009 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7010 (edit-abbrevs-mode): Use define-derived-mode.
7011
7012 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7013 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7014 that it's defined.
7015 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7016 Use define-derived-mode.
7017
7018 * epg.el (epg-start-encrypt): Minor CSE simplification.
7019
7020 2013-09-06 William Xu <william.xwl@gmail.com>
7021
7022 * arc-mode.el: Add support for 7za (bug#15264).
7023 (archive-7z-program): New var.
7024 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7025 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7026 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7027
7028 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7029
7030 Remove URL syntax.
7031
7032 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7033 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7034 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7035 (tramp-postfix-host-format, tramp-file-name-regexp)
7036 (tramp-completion-file-name-regexp)
7037 (tramp-completion-dissect-file-name)
7038 (tramp-handle-substitute-in-file-name): Remove 'url case.
7039 (tramp-file-name-regexp-url)
7040 (tramp-completion-file-name-regexp-url): Remove constants.
7041
7042 2013-09-06 Glenn Morris <rgm@gnu.org>
7043
7044 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7045
7046 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7047
7048 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7049 keywords" below "here-doc beginnings" (Bug#15270).
7050
7051 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7052
7053 * subr.el (pop): Use `car-safe'.
7054 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7055 to detect unused `pop' return value.
7056
7057 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7058 var `block-regexp'.
7059 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7060 (python-fill-string): Remove unused var `marker'.
7061 (python-skeleton-add-menu-items): Remove unused var `items'.
7062
7063 * international/mule-cmds.el: Require CL.
7064 (find-coding-systems-for-charsets): Avoid add-to-list.
7065 (sanitize-coding-system-list): New function, extracted from
7066 select-safe-coding-system-interactively.
7067 (select-safe-coding-system-interactively): Use it.
7068 (read-input-method-name): Accept symbols for `default'.
7069
7070 * emacs-lisp/advice.el (defadvice): Add indent rule.
7071
7072 2013-09-05 Daniel Hackney <dan@haxney.org>
7073
7074 * dired-x.el:
7075 * net/ange-ftp.el:
7076 * net/browse-url.el:
7077 * net/dbus.el:
7078 * net/eudc.el:
7079 * net/eudcb-ldap.el:
7080 * net/eww.el:
7081 * net/imap.el:
7082 * printing.el:
7083 * vc/ediff-diff.el:
7084 * vc/ediff-init.el:
7085 * vc/ediff-merg.el:
7086 * vc/ediff-mult.el:
7087 * vc/ediff-util.el:
7088 * vc/ediff-wind.el:
7089 * vc/ediff.el:
7090 * vc/emerge.el:
7091 * vc/pcvs.el:
7092 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7093 byte compiler. Remove some unused let-bound variables.
7094
7095 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7098 a "ref-cell", since it gets better optimized (bug#14883).
7099
7100 2013-09-05 Glenn Morris <rgm@gnu.org>
7101
7102 * progmodes/cc-awk.el (c-forward-sws): Declare.
7103
7104 2013-09-04 Glenn Morris <rgm@gnu.org>
7105
7106 * generic-x.el [rul-generic-mode]: Require cc-mode.
7107 (c++-mode-syntax-table): Declare.
7108 (rul-generic-mode-syntax-table): Init in the defvar.
7109
7110 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7111
7112 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7113 (vc-do-command, vc-set-async-update):
7114 * vc/vc-mtn.el (vc-mtn-dir-status):
7115 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7116 (vc-hg-pull, vc-hg-merge-branch):
7117 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7118 (vc-git-merge-branch):
7119 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7120 (vc-cvs-dir-status-files):
7121 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7122 (vc-bzr-dir-status-files):
7123 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7124 * vc/vc-annotate.el: Use lexical-binding.
7125 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7126 (vc-sentinel-movepoint): Declare.
7127 (vc-annotate): Don't use `goto-line'.
7128 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7129 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7130 (vc-sentinel-movepoint): Declare.
7131 * vc/vc-svn.el: Use lexical-binding.
7132 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7133 * vc/vc-sccs.el:
7134 * vc/vc-rcs.el: Use lexical-binding.
7135
7136 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7137 `deleted'. Don't drop errors silently.
7138
7139 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7140
7141 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7142
7143 * vc/vc.el (vc-ignore): Rewrite.
7144 (vc-default-ignore): New function.
7145 (vc-default-ignore-completion-table): Use find-ignore-file.
7146
7147 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7148 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7149 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7150 Remove. Most code moved to vc.el.
7151
7152 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7155 * net/tramp-smb.el (tramp-smb-get-file-entries):
7156 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7157 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7158
7159 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7160 Update call to it.
7161 (eww-change-select): Remove unused var `properties'.
7162 (eww-make-unique-file-name): Remove unused var `base'.
7163
7164 * finder.el (finder-compile-keywords): Don't mess with windows.
7165
7166 * calculator.el (calculator-funcall): Fix typo in last change.
7167
7168 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7169
7170 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7171 <pkg>-autoloads.el file stop us.
7172
7173 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7174 warnings, and factor out common code.
7175
7176 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7177
7178 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7179 two-character operators and whether the character preceding them
7180 changes their meaning (Bug#15208).
7181
7182 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7183
7184 Format code sent to Python shell for robustness.
7185 * progmodes/python.el (python-shell-buffer-substring):
7186 New function.
7187 (python-shell-send-region, python-shell-send-buffer): Use it.
7188
7189 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7190
7191 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7192 * net/tramp.el (tramp-user-error): ... here.
7193 (tramp-find-method, tramp-check-proper-host)
7194 (tramp-dissect-file-name, tramp-debug-message)
7195 (tramp-handle-shell-command):
7196 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7197 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7198
7199 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7200
7201 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7202
7203 * avoid.el (mouse-avoidance-point-position)
7204 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7205 returns nil.
7206
7207 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7208
7209 * progmodes/python.el (python-shell-completion-get-completions):
7210 Drop use of deleted `comint-last-prompt-overlay'.
7211 (python-nav-if-name-main): New command.
7212
7213 2013-09-01 Glenn Morris <rgm@gnu.org>
7214
7215 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7216 Avoid leading space in $wins. Otherwise the sed command used by
7217 eg compile-main ends up containing "/*.el". (Bug#15170)
7218
7219 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7220
7221 2013-08-30 Glenn Morris <rgm@gnu.org>
7222
7223 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7224 Fix is-this-a-directory logic. (Bug#15220)
7225
7226 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * textmodes/css-mode.el: Use SMIE.
7229 (css-smie-grammar): New var.
7230 (css-smie--forward-token, css-smie--backward-token)
7231 (css-smie-rules): New functions.
7232 (css-mode): Use them.
7233 (css-navigation-syntax-table): Remove var.
7234 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7235 (css-indent-calculate, css-indent-line): Remove functions.
7236
7237 Misc changes to reduce use of `(lambda...); and other cleanups.
7238 * cus-edit.el: Use lexical-binding.
7239 (customize-push-and-save, customize-apropos)
7240 (custom-buffer-create-internal): Use closures.
7241 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7242 * progmodes/ada-xref.el: Use setq.
7243 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7244 * dframe.el: Use lexical-binding.
7245 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7246 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7247 * descr-text.el: Use lexical-binding.
7248 (describe-text-widget, describe-text-sexp, describe-property-list):
7249 Use closures.
7250 * comint.el (comint-history-isearch-push-state): Use a closure.
7251 * calculator.el: Use lexical-binding.
7252 (calculator-number-to-string): Make it work with lexical-binding.
7253 (calculator-funcall): Same and use cl-letf.
7254
7255 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7256 (lisp--company-doc-string, lisp--company-location): New functions.
7257 (lisp-completion-at-point): Use them to improve Company support.
7258
7259 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7260 params of lambda expressions.
7261 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7262 (ruby-smie--opening-pipe-p): New function.
7263 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7264 symbols and matched |...| for formal params.
7265 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7266 from being treated as hanging. Handle "rescue".
7267
7268 2013-08-29 Glenn Morris <rgm@gnu.org>
7269
7270 * progmodes/cc-engine.el (c-pull-open-brace):
7271 Move definition before use.
7272
7273 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7274
7275 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7276 are immutable. Don't use `unsafe' any more.
7277 (cl--defsubst-expand): Don't substitute at the same time as keeping
7278 a residual unused let-binding. Don't use `unsafe' any more.
7279
7280 2013-08-29 Glenn Morris <rgm@gnu.org>
7281
7282 * calendar/cal-china.el (calendar-chinese-year-cache):
7283 Recenter on 2015.
7284
7285 * nxml/nxml-util.el (nxml-debug-clear-inside):
7286 Use cl-loop rather than loop.
7287
7288 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7289
7290 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7291
7292 2013-08-28 Glenn Morris <rgm@gnu.org>
7293
7294 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7295
7296 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7297
7298 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7299
7300 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * simple.el (repeat-complex-command--called-interactively-skip):
7303 New function.
7304 (repeat-complex-command): Use it (bug#14136).
7305
7306 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7307 (c-define-abbrev-table): Add `doc' argument.
7308 (c-mode-abbrev-table, c++-mode-abbrev-table)
7309 (objc-mode-abbrev-table, java-mode-abbrev-table)
7310 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7311 (awk-mode-abbrev-table): Use it.
7312 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7313 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7314 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7315 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7316 Move initialization into the declaration; and remove any
7317 autoload cookie.
7318
7319 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7320 and dynamic let binding.
7321
7322 * vc/smerge-mode.el: Remove redundant :group args.
7323
7324 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7325 to load-path.
7326
7327 2013-08-28 Juri Linkov <juri@jurta.org>
7328
7329 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7330 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7331 (isearch-other-meta-char): Handle an undefined shifted printing
7332 character by downshifting it. (Bug#15200)
7333
7334 2013-08-28 Juri Linkov <juri@jurta.org>
7335
7336 * isearch.el (isearch-search): Change regexp error message for
7337 non-regexp searches. (Bug#15166)
7338
7339 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7340
7341 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7342 for portability to hosts where /bin/sh has problems.
7343
7344 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7347
7348 2013-08-27 Juri Linkov <juri@jurta.org>
7349
7350 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7351 in the keyboard macro. (Bug#15126)
7352
7353 2013-08-27 Juri Linkov <juri@jurta.org>
7354
7355 * isearch.el (isearch-quote-char): Comment out converting unibyte
7356 to multibyte, thus syncing with its `quoted-insert' counterpart.
7357 (Bug#15166)
7358
7359 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7360
7361 * window.el (display-buffer-use-some-window): Add missing
7362 argument in call of get-largest-window (Bug#15185).
7363 Reported by Stephen Leake.
7364
7365 2013-08-27 Glenn Morris <rgm@gnu.org>
7366
7367 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7368
7369 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7372 from a matcher-function unless there's no more matches (bug#15161).
7373
7374 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7375
7376 * minibuffer.el: Revert change from 2013-08-20.
7377
7378 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7379 with text property `tramp-default', if appropriate.
7380 (tramp-check-proper-host): New defun.
7381 (tramp-dissect-file-name): Do not check hostname. Revert change
7382 of 2013-03-18.
7383 (tramp-backtrace): Make VEC-OR-PROC optional.
7384
7385 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7386 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7387 * net/tramp-sh.el (tramp-maybe-open-connection):
7388 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7389 Apply `tramp-check-proper-host'.
7390
7391 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7392
7393 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7394 lambda expression in order to have `describe-variable' display it.
7395
7396 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7397
7398 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7399 BUF can be optional. (Bug#15186)
7400
7401 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7402
7403 * progmodes/flymake.el (flymake-get-real-file-name-function):
7404 Fix broken customization. (Bug#15184)
7405
7406 2013-08-25 Alan Mackenzie <acm@muc.de>
7407
7408 Improve indentation of bracelists defined by macros (without "=").
7409
7410 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7411 expansion begins with "{", regard it as bracelist when it doesn't
7412 contain a ";".
7413
7414 Parse C++ inher-intro when there's a template split over 2 lines.
7415
7416 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7417 rigorously the search for "class" etc. followed by ":".
7418
7419 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7420 random languages a regexp which never matches rather than nil.
7421
7422 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7423
7424 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7425 (c-awk-regexp-one-line-possibly-open-char-list-re)
7426 (c-awk-one-line-possibly-open-regexp-re)
7427 (c-awk-one-line-non-syn-ws*-re): Remove.
7428 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7429 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7430 (c-awk-space*-unclosed-regexp-/-re): New constants.
7431 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7432 aren't regexp delimiters.
7433
7434 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7435 handling for a rare situation in AWK Mode involving unterminated
7436 strings/regexps.
7437
7438 2013-08-23 Glenn Morris <rgm@gnu.org>
7439
7440 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7441
7442 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7443
7444 * files.el (create-file-buffer): If the result would begin with
7445 spaces, prepend a "|" instead of removing them. (Bug#15162)
7446
7447 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7450 text-properties (bug#15155).
7451
7452 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7453 exist any more.
7454 (calc-keypad-redraw): Remove unused var `pad'.
7455 (calc-keypad-press): Remove unused var `menu'.
7456
7457 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7458
7459 * window.el (display-buffer-pop-up-frame):
7460 Call pop-up-frame-function with BUFFER current so `make-frame' will
7461 use it as the new frame's buffer (Bug#15133).
7462
7463 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * calendar/timeclock.el: Minor cleanups.
7466 (timeclock-ask-before-exiting, timeclock-use-display-time):
7467 Use `symbol'.
7468 (timeclock-modeline-display): Define as alias before the
7469 actual definition.
7470 (timeclock-mode-line-display): Use define-minor-mode.
7471 (timeclock-day-list-template): Make it a function, add an argument.
7472 (timeclock-day-list-required, timeclock-day-list-length)
7473 (timeclock-day-list-debt, timeclock-day-list-span)
7474 (timeclock-day-list-break): Adjust calls accordingly.
7475
7476 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7479 Use read--expression so that completion works again.
7480
7481 2013-08-21 Sam Steingold <sds@gnu.org>
7482
7483 Add rudimentary inferior shell interaction
7484 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7485 (sh-set-shell): Reset it.
7486 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7487 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7488
7489 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * align.el: Use lexical-binding.
7492 (align-region): Simplify accordingly.
7493
7494 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7495
7496 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7497
7498 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7499 `non-essential' up.
7500
7501 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7502
7503 * net/tramp.el:
7504 * net/tramp-adb.el:
7505 * net/tramp-cmds.el:
7506 * net/tramp-ftp.el:
7507 * net/tramp-gvfs.el:
7508 * net/tramp-gw.el:
7509 * net/tramp-sh.el: Don't wrap external variable declarations by
7510 `eval-when-compile'.
7511
7512 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7513
7514 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7515 now that Emacs supports ImageMagick animations.
7516
7517 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7518
7519 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7520 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7521
7522 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7523
7524 * window.el (mouse-autoselect-window-select): Do autoselect when
7525 mouse pointer is on margin.
7526
7527 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7528
7529 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7530
7531 2013-08-16 Glenn Morris <rgm@gnu.org>
7532
7533 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7534 Handle "Remote Directory" response of some clients. (Bug#15058)
7535
7536 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7537 Tweak warning. (Bug#14926)
7538
7539 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7540 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7541
7542 * image-mode.el (image-mode-map): Add menu items to reverse,
7543 increase, decrease, reset animation speed.
7544 (image--set-speed, image-increase-speed, image-decrease-speed)
7545 (image-reverse-speed, image-reset-speed): New functions.
7546 (image-mode-map): Add bindings for speed commands.
7547
7548 * image.el (image-animate-get-speed, image-animate-set-speed):
7549 New functions.
7550 (image-animate-timeout): Respect image :speed property.
7551
7552 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7555 previous line (bug#15101).
7556 (debugger-eval-expression, debugger-record-expression):
7557 Use read--expression (bug#15102).
7558
7559 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7560
7561 Remove byte compiler warnings, visible when compiling with
7562 `byte-compile-force-lexical-warnings' set to t.
7563
7564 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7565 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7566 (tramp-handle-unhandled-file-name-directory)
7567 (tramp-handle-file-notify-add-watch, tramp-action-login)
7568 (tramp-action-succeed, tramp-action-permission-denied)
7569 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7570 arguments with "_".
7571
7572 * net/tramp-adb.el (tramp-adb-parse-device-names)
7573 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7574 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7575 (tramp-adb-handle-file-truename): Remove unused arguments.
7576
7577 * net/tramp-cache.el (tramp-flush-directory-property)
7578 (tramp-flush-connection-property, tramp-list-connections)
7579 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7580
7581 * net/tramp-compat.el (tramp-compat-make-temp-file):
7582 Rename FILENAME to F.
7583
7584 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7585 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7586 (tramp-zeroconf-parse-workstation-device-names)
7587 (tramp-zeroconf-parse-webdav-device-names)
7588 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7589
7590 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7591 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7592
7593 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7594 arguments.
7595 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7596 (tramp-sh-handle-insert-file-contents-literally)
7597 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7598 with "_".
7599 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7600 Remove unused variables.
7601
7602 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7603 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7604 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7605
7606 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7607 Make them a defconst.
7608 (tramp-uuencode-region): Remove unused variable.
7609
7610 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7611
7612 * frameset.el (frameset--prop-setter): New function.
7613 (frameset-prop): Add gv-setter declaration.
7614 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7615 parameter was already set in FILTERED. Doc fix.
7616 (frameset--record-minibuffer-relationships): Allow saving a
7617 minibufferless frame without its corresponding minibuffer frame.
7618 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7619 frame, if the frame id matches.
7620 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7621 frames before orphaned ones.
7622 (frameset-restore): Warn about orphaned windows, instead of error out.
7623
7624 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7625
7626 * window.el (window-make-atom): Don't overwrite parameter
7627 already present.
7628 (display-buffer-in-atom-window): Handle special case where we
7629 split an already atomic window.
7630 (window--major-non-side-window, display-buffer-in-side-window)
7631 (window--side-check): Ignore minibuffer window when walking
7632 window tree.
7633 (window-deletable-p): Return 'frame only if no other frame uses
7634 our minibuffer window.
7635 (record-window-buffer): Run buffer-list-update-hook.
7636 (split-window): Make sure window--check-frame won't destroy an
7637 existing atomic window in case the new window gets nested
7638 inside.
7639 (display-buffer-at-bottom): Ignore minibuffer window when
7640 walking window tree. Don't split a side window.
7641 (pop-to-buffer): Don't set-buffer here, the select-window call
7642 should do that.
7643 (mouse-autoselect-window-select): Autoselect only if we are in the
7644 text portion of the window.
7645
7646 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7647
7648 * net/shr.el (shr-parse-image-data): New function to grab both the
7649 data itself and the Content-Type.
7650 (shr-put-image): Use it.
7651
7652 * net/eww.el (eww-display-image): Ditto.
7653
7654 * image.el (image-content-type-suffixes): New variable.
7655
7656 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7657
7658 * progmodes/python.el (python-imenu--build-tree)
7659 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7660
7661 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7662
7663 * simple.el (backward-word): Mention the optional argument.
7664
7665 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * frameset.el (frameset--make): Rename constructor from make-frameset.
7668 (frameset-p, frameset-valid-p): Don't autoload.
7669 (frameset-valid-p): Use normal accessors.
7670
7671 2013-08-13 Glenn Morris <rgm@gnu.org>
7672
7673 * progmodes/compile.el (compile-command): Tweak example in doc.
7674 * obsolete/scribe.el (scribe-mode):
7675 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7676
7677 * mail/feedmail.el (feedmail-confirm-outgoing)
7678 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7679
7680 * cus-start.el (truncate-partial-width-windows): Fix type.
7681
7682 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7683
7684 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7685
7686 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 * emacs-lisp/timer.el (timer--time-setter): New function.
7689 (timer--time): Use it as gv-setter.
7690
7691 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7692 setter is not a symbol.
7693
7694 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7695
7696 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7697 if sending fails. This makes debugging easier.
7698
7699 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7700
7701 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7702 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7703 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7704
7705 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7706
7707 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7708
7709 2013-08-12 Glenn Morris <rgm@gnu.org>
7710
7711 * format.el (format-annotate-function):
7712 Handle read-only text properties in the source. (Bug#14887)
7713
7714 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7715
7716 * net/eww.el (eww-display-html): Ignore coding system errors.
7717 One web site uses "utf-8lias" as the coding system.
7718
7719 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7720
7721 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7722
7723 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7724
7725 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7726 (tutorial--detailed-help): Remove unused local variables.
7727 (tutorial--save-tutorial-to): Use ignore-errors.
7728 (help-with-tutorial): Use looking-at-p.
7729
7730 * view.el (view-buffer-other-window, view-buffer-other-frame):
7731 Mark unused arguments.
7732
7733 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7734 (woman-select-symbol-fonts, woman, woman-find-file)
7735 (woman-insert-file-contents, woman-non-underline-faces):
7736 Use string-match-p.
7737 (woman1-unquote): Move declaration.
7738
7739 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7740 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7741 argument. Remove unused local variable.
7742 (xml-parse-elem-type): Use string-match-p.
7743 (xml-substitute-numeric-entities): Use ignore-errors.
7744
7745 * calculator.el (calculator): Mark unused argument.
7746 (calculator-paste, calculator-quit, calculator-integer-p):
7747 Use ignore-errors.
7748 (calculator-string-to-number, calculator-decimal, calculator-exp)
7749 (calculator-op-or-exp): Use string-match-p.
7750
7751 * dired.el (dired-buffer-more-recently-used-p): Declare.
7752 (dired-insert-set-properties, dired-insert-old-subdirs):
7753 Use ignore-errors.
7754
7755 * dired-aux.el (dired-compress): Use ignore-errors.
7756 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7757 (dired-do-async-shell-command, dired-do-shell-command)
7758 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7759 (dired-insert-subdir-validate): Use string-match-p.
7760 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7761 (dired-add-entry): Use string-match-p, looking-at-p.
7762 (dired-insert-subdir-newpos): Remove unused local variable.
7763
7764 * filenotify.el (file-notify-callback): Remove unused local variable.
7765
7766 * filesets.el (filesets-error): Mark unused argument.
7767 (filesets-which-command-p, filesets-filter-dir-names)
7768 (filesets-directory-files, filesets-get-external-viewer)
7769 (filesets-ingroup-get-data): Use string-match-p.
7770
7771 * find-file.el (ff-other-file-name, ff-other-file-name)
7772 (ff-find-the-other-file, ff-cc-hh-converter):
7773 Remove unused local variables.
7774 (ff-get-file-name): Use string-match-p.
7775 (ff-all-dirs-under): Use ignore-errors.
7776
7777 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7778 (follow-select-if-visible): Remove unused local variable.
7779
7780 * forms.el (read-file-filter): Move declaration.
7781 (forms--make-format, forms--make-parser, forms-insert-record):
7782 Quote function with #'.
7783 (forms--update): Use string-match-p. Quote function with #'.
7784
7785 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7786 (help-make-xrefs): Use looking-at-p.
7787 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7788
7789 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7790 (ibuffer-confirm-operation-on): Use string-match-p.
7791
7792 * msb.el (msb-item-handler, msb-dired-item-handler):
7793 Mark unused arguments.
7794
7795 * ses.el (ses-decode-cell-symbol)
7796 (ses-kill-override): Remove unused local variable.
7797 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7798 (ses-load): Use ignore-errors, looking-at-p.
7799 (ses-jump-safe): Use ignore-errors.
7800 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7801
7802 * tabify.el (untabify, tabify): Mark unused arguments.
7803
7804 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7805 Mark unused argument.
7806 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7807 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7808
7809 * emacs-lisp/timer.el (timer--time): Define setter with
7810 gv-define-setter to avoid deprecation warning.
7811
7812 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7813 (*record-cmpl-statistics-p*): Remove (was commented out).
7814 (cmpl-statistics-block): Remove (body was commented out).
7815 All callers changed.
7816 (add-completions-from-buffer, load-completions-from-file):
7817 Remove unused variables.
7818
7819 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7820
7821 * filecache.el (file-cache-delete-file-list):
7822 Print message only when told so.
7823 (file-cache-files-matching): Use #' in mapconcat argument.
7824
7825 * ffap.el (ffap-url-at-point): Fix reference to variable
7826 thing-at-point-default-mail-uri-scheme.
7827
7828 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 * subr.el (define-error): New function.
7831 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7832 error-file-not-found and define with define-error.
7833 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7834 and define with define-error.
7835 * userlock.el (file-locked, file-supersession):
7836 * simple.el (mark-inactive):
7837 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7838 * progmodes/ada-mode.el (ada-mode-errors):
7839 * play/life.el (life-extinct):
7840 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7841 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7842 * nxml/rng-util.el (rng-error):
7843 * nxml/rng-uri.el (rng-uri-error):
7844 * nxml/rng-match.el (rng-compile-error):
7845 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7846 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7847 * nxml/nxml-rap.el (nxml-scan-error):
7848 * nxml/nxml-outln.el (nxml-outline-error):
7849 * net/soap-client.el (soap-error):
7850 * net/gnutls.el (gnutls-error):
7851 * net/ange-ftp.el (ftp-error):
7852 * mpc.el (mpc-proc-error):
7853 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7854 (json-number-format, json-string-escape, json-string-format)
7855 (json-key-format, json-object-format):
7856 * jka-compr.el (compression-error):
7857 * international/quail.el (quail-error):
7858 * international/kkc.el (kkc-error):
7859 * emacs-lisp/ert.el (ert-test-failed):
7860 * calc/calc.el (calc-error, inexact-result, math-overflow)
7861 (math-underflow):
7862 * bookmark.el (bookmark-error-no-filename):
7863 * epg.el (epg-error): Define with define-error.
7864
7865 * time.el (display-time-event-handler)
7866 (display-time-next-load-average): Don't call sit-for since it seems
7867 unnecessary (bug#15045).
7868
7869 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7870 Use #' instead of ' to quote functions.
7871 (checkdoc-output-mode): Use setq-local.
7872 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7873 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7874 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7875 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7876 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7877 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7878 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7879 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7880
7881 * ido.el (ido-completion-help): Fix up compiler warning.
7882
7883 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7884
7885 * frameset.el (frameset-p): Add autoload cookie.
7886 (frameset--jump-to-register): New function, based on code moved from
7887 register.el.
7888 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7889
7890 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7891 (frameset-restore, frameset-save, frameset-session-filter-alist):
7892 Remove declarations.
7893 (register-alist): Doc fix.
7894 (frameset-to-register): Move to frameset.el.
7895 (jump-to-register, describe-register-1): Remove frameset-specific code.
7896
7897 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7898
7899 * allout-widgets.el (allout-widgets-pre-command-business)
7900 (allout-widgets-post-command-business)
7901 (allout-widgets-after-change-handler)
7902 (allout-decorate-item-and-context, allout-set-boundary-marker)
7903 (allout-body-modification-handler)
7904 (allout-graphics-modification-handler): Mark ignored arguments.
7905 (allout-widgets-post-command-business)
7906 (allout-widgets-exposure-change-processor)
7907 (allout-widgets-exposure-undo-processor)
7908 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7909 (allout-parse-item-at-point, allout-decorate-item-guides)
7910 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7911 * allout.el (epa-passphrase-callback-function): Declare.
7912 (allout-overlay-insert-in-front-handler)
7913 (allout-overlay-interior-modification-handler)
7914 (allout-isearch-end-handler, allout-chart-siblings)
7915 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7916 (allout-yank-processing, allout-process-exposed)
7917 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7918 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7919 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7920 (lisp-indent-defform): Mark ignored arguments.
7921 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7922 (calculate-lisp-indent): Remove unused variables.
7923 * international/characters.el (indian-2-column, arabic-2-column)
7924 (tibetan): Mark ignored arguments.
7925 (use-cjk-char-width-table): Mark ignored arguments.
7926 Remove unused variables.
7927 * international/fontset.el (build-default-fontset-data)
7928 (x-compose-font-name, create-fontset-from-fontset-spec):
7929 Mark ignored arguments.
7930 (fontset-plain-name): Remove unused variables.
7931 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7932 (keyboard-coding-system): Mark ignored arguments.
7933 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7934 * help.el (resize-temp-buffer-window):
7935 * window.el (display-buffer-in-major-side-window)
7936 (display-buffer-in-side-window, display-buffer-in-previous-window):
7937 Remove unused variables.
7938 * isearch.el (isearch-forward-symbol):
7939 * version.el (emacs-bzr-version-bzr):
7940 * international/mule-cmds.el (current-language-environment):
7941 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7942 (x-handle-display):
7943 * term/pc-win.el (x-list-fonts, x-display-planes)
7944 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7945 (x-server-version, x-display-screens, x-display-mm-height)
7946 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7947 (x-selection-owner-p, x-own-selection-internal)
7948 (x-disown-selection-internal, x-get-selection-internal)
7949 (msdos-initialize-window-system):
7950 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7951 * term/x-win.el (x-handle-no-bitmap-icon):
7952 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7953 (vc-default-find-file-hook, vc-default-extra-menu):
7954 Mark ignored arguments.
7955
7956 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7959 break-condition in the context of the debugged code (bug#12685).
7960
7961 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7962
7963 * comint.el:
7964 Do not use an overlay to highlight the last prompt. (Bug#14744)
7965 (comint-mode): Make comint-last-prompt buffer local.
7966 (comint-last-prompt): New variable.
7967 (comint-last-prompt-overlay): Remove. Superseded by
7968 comint-last-prompt.
7969 (comint-snapshot-last-prompt, comint-output-filter):
7970 Use comint-last-prompt.
7971
7972 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7973
7974 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7975 (frameset-save): Check validity of the resulting frameset.
7976
7977 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7978
7979 * ido.el (ido-record-command): Add doc string.
7980
7981 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7982
7983 * frameset.el (frameset): Do not disable creation of the default
7984 frameset-p predicate. Doc fix.
7985 (frameset-valid-p): New function, copied from the old predicate-p.
7986 Add additional checks.
7987 (frameset-restore): Check with frameset-valid-p.
7988 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7989 (frameset-name, frameset-description, frameset-properties)
7990 (frameset-states): Add docstring.
7991 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7992 (frameset-filter-alist): Doc fixes.
7993
7994 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7995
7996 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7997
7998 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8001 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8002 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8003 (byte-compile-normal-call): Remove obsolescence check.
8004
8005 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8006
8007 * frameset.el (frameset-restore): Doc fix.
8008
8009 * register.el (frameset-frame-id, frameset-frame-with-id)
8010 (frameset-p, frameset-restore, frameset-save): Declare.
8011 (register-alist): Document framesets.
8012 (frameset-session-filter-alist): Declare.
8013 (frameset-to-register): New function.
8014 (jump-to-register): Implement jumping to framesets. Doc fix.
8015 (describe-register-1): Describe framesets.
8016
8017 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8018
8019 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8022 Use lexical-binding.
8023
8024 * frameset.el (frameset): Use type vector, not list (incompatible
8025 change). Do not declare a new constructor, use the default one.
8026 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8027 `name' and `description', respectively, and add read-only slot
8028 `timestamp'. Doc fixes.
8029 (frameset-copy, frameset-persistent-filter-alist)
8030 (frameset-filter-alist, frameset-switch-to-gui-p)
8031 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8032 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8033 (frameset-filter-iconified, frameset-keep-original-display-p):
8034 Doc fixes.
8035 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8036 Rename from frameset-filter-(save|restore)-param. All callers changed.
8037 Doc fix.
8038 (frameset-p): Adapt to change to vector and be more thorough.
8039 Change arg name to OBJECT. Doc fix.
8040 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8041 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8042 All callers changed.
8043 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8044 All callers changed.
8045 (frameset--record-minibuffer-relationships): Rename from
8046 frameset--process-minibuffer-frames. All callers changed.
8047 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8048 Use new default constructor (again). Doc fix.
8049 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8050 All callers changed.
8051 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8052 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8053 Doc fix.
8054 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8055 PARAMETERS and WINDOW-STATE, respectively.
8056 (frameset-restore): Add new keyword argument PREDICATE.
8057 Reset frameset--target-display to nil. Doc fix.
8058
8059 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8062 (bat-mode): Use it.
8063 (bat-mode-syntax-table): Mark \n as end-of-comment.
8064 (bat-font-lock-keywords): Remove comment rule.
8065
8066 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8067 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8068
8069 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8070 (byte-compile-callargs-warn): Use `push'.
8071 (byte-compile-arglist-warn): Ignore higher-order "calls".
8072 (byte-compile-file-form-autoload): Use `pcase'.
8073 (byte-compile-function-form): If quoting a symbol, check that it exists.
8074
8075 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8076
8077 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8078 and add a few popular commands found in batch files.
8079 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8080 (dos-mode): Doc fixes.
8081
8082 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8083
8084 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8085 (dos-mode): Use setq-local. Add space after "rem".
8086 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8087 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8088
8089 2013-08-07 Arni Magnusson <arnima@hafro.is>
8090
8091 * progmodes/dos.el: New file.
8092 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8093 dos-mode.
8094
8095 2013-08-06 Glenn Morris <rgm@gnu.org>
8096
8097 * calendar/calendar.el: Add new faces, and day-header-array.
8098 (calendar-weekday-header, calendar-weekend-header)
8099 (calendar-month-header): New faces.
8100 (calendar-day-header-construct): New function.
8101 (calendar-day-header-width): Also :set calendar-day-header-array.
8102 (calendar-american-month-header, calendar-european-month-header)
8103 (calendar-iso-month-header): Use calendar- faces.
8104 (calendar-generate-month):
8105 Use calendar-day-header-array for day headers; apply faces to them.
8106 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8107 (calendar-abbrev-construct): Add optional maxlen argument.
8108 (calendar-day-name-array): Doc fix.
8109 (calendar-day-name-array, calendar-abbrev-length)
8110 (calendar-day-abbrev-array):
8111 Also :set calendar-day-header-array, and maybe redraw.
8112 (calendar-day-header-array): New option. (Bug#15007)
8113 (calendar-font-lock-keywords): Set to nil and make obsolete.
8114 (calendar-day-name): Add option to use header array.
8115
8116 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8117
8118 * net/shr.el (shr-render-td): Remove debugging.
8119 (shr-render-td): Make width computation consistent by defaulting
8120 all zero-width columns to 10 characters. This may not be optimal,
8121 but it's at least consistent.
8122 (shr-make-table-1): Redo last change to fix the real problem in
8123 colspan handling.
8124
8125 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8126
8127 * files.el (cache-long-line-scans):
8128 Make obsolete alias to `cache-long-scans'.
8129
8130 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8131
8132 * frameset.el (frameset, frameset-filter-alist)
8133 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8134 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8135 (frameset-compute-pos): Rename from frameset--compute-pos,
8136 and add docstring.
8137 (frameset-move-onscreen): Use frameset-compute-pos.
8138 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8139
8140 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8141 Fix typos in docstrings.
8142
8143 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8144
8145 * frame.el (get-other-frame): Tiny cleanup.
8146
8147 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8148
8149 * vc/vc.el (vc-default-ignore-completion-table):
8150 Silence byte-compiler warning.
8151
8152 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8153 slot, which can indeed be nil.
8154 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8155 Move entry for `left' from persistent to live filter alist.
8156 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8157 Doc fixes.
8158 (frameset-filter-params): When restoring a frame, copy items added to
8159 `filtered', to avoid unwittingly modifying the original parameters.
8160 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8161 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8162
8163 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8164 to use looking-at-p instead of looking-at. (Bug#15028)
8165
8166 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 Revert introduction of isearch-filter-predicates (bug#14714).
8169 Rely on add-function instead.
8170 * isearch.el (isearch-filter-predicates): Rename it back to
8171 isearch-filter-predicate.
8172 (isearch-message-prefix): Use advice-function-mapc and advice
8173 properties to get the isearch-message-prefix.
8174 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8175 instead of run-hook-with-args-until-failure.
8176 (isearch-filter-visible): Not obsolete any more.
8177 * loadup.el: Preload nadvice.
8178 * replace.el (perform-replace): Revert to funcall
8179 instead of run-hook-with-args-until-failure.
8180 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8181 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8182 dired-isearch-filenames-toggle; make it into a proper minor mode.
8183 Use add/remove-function.
8184 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8185 Call the minor-mode rather than add/remove-hook.
8186 (dired-isearch-filter-filenames):
8187 Remove isearch-message-prefix property.
8188 * info.el (Info--search-loop): New function, extracted from Info-search.
8189 Funcall isearch-filter-predicate instead of
8190 run-hook-with-args-until-failure isearch-filter-predicates.
8191 (Info-search): Use it.
8192 (Info-mode): Use isearch-filter-predicate instead of
8193 isearch-filter-predicates.
8194
8195 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8196
8197 Do not call to `selected-window' where it is assumed by default.
8198 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8199 `window-hscroll', `window-width', `window-height', `window-buffer',
8200 `window-frame', `window-start', `window-point', `next-window'
8201 and `window-display-table'.
8202 * abbrev.el (abbrev--default-expand):
8203 * bs.el (bs--show-with-configuration):
8204 * buff-menu.el (Buffer-menu-mouse-select):
8205 * calc/calc.el (calc):
8206 * calendar/calendar.el (calendar-generate-window):
8207 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8208 (diary-make-entry):
8209 * comint.el (send-invisible, comint-dynamic-complete-filename)
8210 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8211 * completion.el (complete):
8212 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8213 * disp-table.el (describe-current-display-table):
8214 * doc-view.el (doc-view-insert-image):
8215 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8216 * ehelp.el (with-electric-help):
8217 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8218 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8219 * emacs-lisp/helper.el (Helper-help-scroller):
8220 * emulation/cua-base.el (cua--post-command-handler-1):
8221 * eshell/esh-mode.el (eshell-output-filter):
8222 * ffap.el (ffap-gnus-wrapper):
8223 * help-macro.el (make-help-screen):
8224 * hilit-chg.el (highlight-compare-buffers):
8225 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8226 * hl-line.el (global-hl-line-highlight):
8227 * icomplete.el (icomplete-simple-completing-p):
8228 * isearch.el (isearch-done):
8229 * jit-lock.el (jit-lock-stealth-fontify):
8230 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8231 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8232 * mpc.el (mpc-tagbrowser, mpc):
8233 * net/rcirc.el (rcirc-any-buffer):
8234 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8235 * play/landmark.el (landmark-max-width, landmark-max-height):
8236 * play/zone.el (zone):
8237 * progmodes/compile.el (compilation-goto-locus):
8238 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8239 * progmodes/etags.el (find-tag-other-window):
8240 * progmodes/fortran.el (fortran-column-ruler):
8241 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8242 * progmodes/verilog-mode.el (verilog-point-text):
8243 * reposition.el (reposition-window):
8244 * rot13.el (toggle-rot13-mode):
8245 * server.el (server-switch-buffer):
8246 * shell.el (shell-dynamic-complete-command)
8247 (shell-dynamic-complete-environment-variable):
8248 * simple.el (insert-buffer, set-selective-display)
8249 (delete-completion-window):
8250 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8251 (speedbar-recenter):
8252 * startup.el (fancy-splash-head):
8253 * textmodes/ispell.el (ispell-command-loop):
8254 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8255 * tutorial.el (help-with-tutorial):
8256 * vc/add-log.el (add-change-log-entry):
8257 * vc/compare-w.el (compare-windows):
8258 * vc/ediff-help.el (ediff-indent-help-message):
8259 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8260 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8261 (ediff-setup-control-frame):
8262 * vc/emerge.el (emerge-position-region):
8263 * vc/pcvs-util.el (cvs-bury-buffer):
8264 * window.el (walk-windows, mouse-autoselect-window-select):
8265 * winner.el (winner-set-conf, winner-undo): Related users changed.
8266
8267 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8268
8269 * frameset.el (frameset--set-id): Doc fix.
8270 (frameset-frame-id, frameset-frame-id-equal-p)
8271 (frameset-locate-frame-id): New functions.
8272 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8273 (frameset-restore): Use them.
8274
8275 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8276
8277 Do not call to `selected-frame' where it is assumed by default.
8278 Affected functions are `raise-frame', `redraw-frame',
8279 `frame-first-window', `frame-terminal' and `delete-frame'.
8280 * calendar/appt.el (appt-disp-window):
8281 * epg.el (epg-wait-for-completion):
8282 * follow.el (follow-delete-other-windows-and-split)
8283 (follow-avoid-tail-recenter):
8284 * international/mule.el (set-terminal-coding-system):
8285 * mail/rmail.el (rmail-mail-return):
8286 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8287 * progmodes/f90.el (f90-add-imenu-menu):
8288 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8289 * server.el (server-switch-buffer):
8290 * simple.el (delete-completion-window):
8291 * talk.el (talk):
8292 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8293 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8294 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8295 * vc/ediff.el (ediff-documentation): Related users changed.
8296 * frame.el (selected-terminal): Remove the leftover.
8297
8298 2013-08-05 Glenn Morris <rgm@gnu.org>
8299
8300 * calendar/calendar.el (calendar-generate-month):
8301 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8302 (calendar-generate-month, calendar-font-lock-keywords):
8303 Fix for calendar-day-header-width > length of any day name.
8304
8305 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8306
8307 * desktop.el (desktop-clear): Use new name of sort predicate.
8308
8309 * frameset.el (frameset): Add docstring. Move :version property to its
8310 own `version' slot.
8311 (frameset-copy): Rename from copy-frameset.
8312 (frameset-p): Check more thoroughly.
8313 (frameset-prop): Do not check for :version, which is no longer a prop.
8314 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8315 Use new :never value instead of t.
8316 (frameset-filter-alist): Expand and clarify docstring.
8317 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8318 (frameset-filter-minibuffer, frameset-filter-save-param)
8319 (frameset-filter-restore-param, frameset-filter-iconified):
8320 Add pointer to docstring of frameset-filter-alist.
8321 (frameset-filter-params): Rename filter values to be more meaningful:
8322 :never instead of t, and reverse the meanings of :save and :restore.
8323 (frameset--process-minibuffer-frames): Clarify error message.
8324 (frameset-save): Avoid unnecessary and confusing call to framep.
8325 Use new BOA constructor for framesets.
8326 (frameset--reuse-list): Doc fix.
8327 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8328 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8329 (frameset-minibufferless-first-p): Doc fix.
8330 Rename from frameset-sort-frames-for-deletion.
8331 (frameset-restore): Doc fixes. Use new function names.
8332 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8333
8334 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8335
8336 * desktop.el (desktop-restore-forces-onscreen)
8337 (desktop-restore-reuses-frames): Document :keyword constant values.
8338 (desktop-filter-parameters-alist): Remove, now identical to
8339 frameset-filter-alist.
8340 (desktop--filter-tty*): Remove, moved to frameset.el.
8341 (desktop-save-frameset, desktop-restore-frameset):
8342 Do not pass :filters argument.
8343
8344 * frameset.el (frameset-live-filter-alist)
8345 (frameset-persistent-filter-alist): New variables.
8346 (frameset-filter-alist): Use them. Add autoload cookie.
8347 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8348 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8349 `frameset--id' (it's supposed to be internal to frameset.el).
8350 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8351 (frameset--initial-params): New function.
8352 (frameset--get-frame): Use it. Doc fix.
8353 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8354 Accept :all, not 'all.
8355 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8356 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8357 with fbound symbols. Fix frame id matching, and remove matching ids if
8358 the frame being restored is deleted. Obey :delete.
8359
8360 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * subr.el (macrop): New function.
8363 (text-clone--maintaining): New var.
8364 (text-clone--maintain): Rename from text-clone-maintain. Use it
8365 instead of inhibit-modification-hooks.
8366
8367 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8368 a proxy, so as handle autoloads and redefinitions of the target.
8369 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8370
8371 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8372 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8373 (pcase--mutually-exclusive-p): New function.
8374 (pcase--split-consp): Use it.
8375 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8376 mutually exclusive with the current predicate.
8377
8378 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8379 (edebug-macrop): Remove. Use `macrop' instead.
8380 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8381 (ad-macro-p):
8382 * eshell/esh-cmd.el (eshell-macrop):
8383 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8384
8385 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8388 (advice-mapc): New function, using it.
8389 (advice-function-member-p): New function.
8390 (advice--normalize): Store the cdr in advice--saved-rewrite since
8391 that's the part that will be changed.
8392 (advice--symbol-function): New function.
8393 (advice-remove): Handle removal before the function is defined.
8394 Adjust to new advice--saved-rewrite.
8395 (advice-member-p): Use advice-function-member-p and
8396 advice--symbol-function.
8397
8398 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8399
8400 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8401 (frameset-filter-minibuffer): Doc fix.
8402 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8403 (frameset--set-id, frameset--process-minibuffer-frames)
8404 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8405 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8406
8407 * desktop.el (desktop-clear): Only delete frames when called
8408 interactively and desktop-restore-frames is non-nil. Doc fix.
8409 (desktop-read): Set desktop-saved-frameset to nil.
8410
8411 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8412
8413 * vc/vc.el (vc-ignore): Rewrite.
8414 (vc-default-ignore-completion-table, vc--read-lines)
8415 (vc--add-line, vc--remove-regexp): New functions.
8416
8417 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8418 (vc-svn-ignore-completion-table): New function.
8419
8420 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8421 (vc-hg-ignore-completion-table)
8422 (vc-hg-find-ignore-file): New functions.
8423
8424 * vc/vc-git.el (vc-git-ignore): Rewrite.
8425 (vc-git-ignore-completion-table)
8426 (vc-git-find-ignore-file): New functions.
8427
8428 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8429
8430 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8431 (vc-bzr-ignore-completion-table)
8432 (vc-bzr-find-ignore-file): New functions.
8433
8434 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8435
8436 * frameset.el (frameset-prop): New function and setter.
8437 (frameset-save): Do not modify frame list passed by the caller.
8438
8439 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8440
8441 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8442
8443 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8444
8445 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8446 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8447
8448 * custom.el (custom-initialize-default, custom-initialize-set)
8449 (custom-initialize-reset, custom-initialize-changed): Affect the
8450 toplevel-default-value (bug#6275, bug#14586).
8451 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8452 for bug#6275.
8453
8454 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8455
8456 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8457 Add cl-def* expressions.
8458
8459 * frameset.el (frameset-filter-params): Fix order of arguments.
8460
8461 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8462
8463 Move code related to saving frames to frameset.el.
8464 * desktop.el: Require frameset.
8465 (desktop-restore-frames): Doc fix.
8466 (desktop-restore-reuses-frames): Rename from
8467 desktop-restoring-reuses-frames.
8468 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8469 (desktop-clear): Clear frames too.
8470 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8471 (desktop--filter-tty*, desktop-save, desktop-read):
8472 Use frameset functions.
8473 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8474 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8475 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8476 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8477 (desktop--process-minibuffer-frames, desktop-save-frames)
8478 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8479 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8480 (desktop--sort-states, desktop-restoring-frames-p)
8481 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8482 (desktop-restoring-frameset-p, desktop-restore-frameset)
8483 (desktop--check-dont-save, desktop-save-frameset): New functions.
8484 (desktop--app-id): New constant.
8485 (desktop-first-buffer, desktop-buffer-ok-count)
8486 (desktop-buffer-fail-count): Move before first use.
8487 * frameset.el: New file.
8488
8489 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8490
8491 * files.el: Use lexical-binding.
8492 (dir-locals-read-from-file): Remove unused `err' variable.
8493 (hack-dir-local-variables--warned-coding): New var.
8494 (hack-dir-local-variables): Use it to avoid repeated warnings.
8495 (make-backup-file-name--default-function): New function.
8496 (make-backup-file-name-function): Use it as default.
8497 (buffer-stale--default-function): New function.
8498 (buffer-stale-function): Use it as default.
8499 (revert-buffer-insert-file-contents--default-function): New function.
8500 (revert-buffer-insert-file-contents-function): Use it as default.
8501 (insert-directory): Avoid add-to-list.
8502
8503 * autorevert.el (auto-revert-handler): Simplify.
8504 Use buffer-stale--default-function.
8505
8506 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8507
8508 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8509
8510 * whitespace.el (whitespace-ensure-local-variables): New function.
8511 (whitespace-cleanup-region): Call it.
8512 (whitespace-turn-on): Call it.
8513
8514 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8515
8516 Complete file name handlers.
8517
8518 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8519 (tramp-handle-verify-visited-file-modtime)
8520 (tramp-handle-file-notify-rm-watch): New functions.
8521 (tramp-call-process): Do not bind `default-directory'.
8522
8523 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8524 Order alphabetically.
8525 <access-file, add-name-to-file, dired-call-process>:
8526 <dired-compress-file, file-acl, file-notify-rm-watch>:
8527 <file-ownership-preserved-p, file-selinux-context>:
8528 <make-directory-internal, make-symbolic-link, set-file-acl>:
8529 <set-file-selinux-context, set-visited-file-modtime>:
8530 <verify-visited-file-modtime>: Add handler.
8531 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8532
8533 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8534 <file-notify-add-watch, file-notify-rm-watch>:
8535 <set-file-times, set-visited-file-modtime>:
8536 <verify-visited-file-modtime>: Add handler.
8537 (with-tramp-gvfs-error-message)
8538 (tramp-gvfs-handle-set-visited-file-modtime)
8539 (tramp-gvfs-fuse-file-name): Remove.
8540 (tramp-gvfs-handle-file-notify-add-watch)
8541 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8542 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8543
8544 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8545 Order alphabetically.
8546 <file-notify-rm-watch>: Use default Tramp handler.
8547 <executable-find>: Remove private handler.
8548 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8549 `default-directory'.
8550 (tramp-sh-handle-executable-find)
8551 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8552 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8553 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8554 Do not use `format' in `tramp-message'.
8555
8556 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8557 <file-notify-rm-watch, set-visited-file-modtime>:
8558 <verify-visited-file-modtime>: Add handler.
8559 (tramp-smb-call-winexe): Do not bind `default-directory'.
8560
8561 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8562
8563 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8564
8565 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8566
8567 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8568 use it.
8569 (log-view-diff-changeset): Same.
8570 (log-view-diff-common): Call backend command `previous-revision'
8571 to find out the previous revision, in both cases. Swap the
8572 variables `to' and `fr', so that `fr' usually refers to the
8573 earlier revision (Bug#14989).
8574
8575 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8576
8577 * ibuf-ext.el (ibuffer-filter-by-filename):
8578 Make it work with dired buffers too.
8579
8580 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8581
8582 * emacs-lisp/re-builder.el (reb-color-display-p):
8583 * files.el (save-buffers-kill-terminal):
8584 * net/browse-url.el (browse-url):
8585 * server.el (server-save-buffers-kill-terminal):
8586 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8587 Prefer nil to selected-frame for the first arg of frame-parameter.
8588
8589 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8590
8591 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8592
8593 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8594
8595 * minibuffer.el (completion--twq-all): Try and preserve each
8596 completion's case choice (bug#14907).
8597
8598 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8599
8600 * net/network-stream.el (open-network-stream): Mention the new
8601 :nogreeting parameter.
8602 (network-stream-open-starttls): Use the :nogreeting parameter
8603 (bug#14938).
8604
8605 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8606
8607 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8608 more natural than popping.
8609
8610 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8611 (shr-urlify): Highlight under mouse.
8612
8613 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8614
8615 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8616
8617 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8618
8619 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8620 buffer for output.
8621
8622 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8623 point-min==1. Fix search string. Fix parentheses missing.
8624
8625 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8626 assume point-min==1. Fix search string. Fix parentheses missing.
8627
8628 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8629
8630 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8631 buffer for output.
8632
8633 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8634
8635 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8636 initial frame is minibuffer-less. (Bug#14841)
8637
8638 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8639
8640 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8641 option.
8642
8643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8644 (tramp-maybe-open-connection): Use it.
8645
8646 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8649 minimal set of parameters passed when creating a frame, because
8650 the minibuffer status of a frame cannot be changed later.
8651
8652 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8653
8654 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8655 replace-regexp-in-string and inadvertent omissions in previous change.
8656 (todo-filter-items): Ensure only file names are comma-separated in
8657 name of filtered items buffer.
8658
8659 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8660
8661 * desktop.el: Optionally force offscreen frames back onscreen.
8662 (desktop-restoring-reuses-frames): New option.
8663 (desktop--compute-pos, desktop--move-onscreen): New functions.
8664 (desktop--make-frame): Use desktop--move-onscreen.
8665
8666 2013-07-27 Alan Mackenzie <acm@muc.de>
8667
8668 Fontify a Java generic method as a function.
8669 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8670 value to t.
8671
8672 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8673
8674 * calendar/todo-mode.el: Add command to rename todo files.
8675 (todo-rename-file): New command.
8676 (todo-key-bindings-t): Add key binding for it. Change the
8677 bindings of todo-filter-regexp-items(-multifile) to use `x'
8678 instead of `r', since the latter is better suited to the new
8679 renaming command.
8680
8681 2013-07-27 Alan Mackenzie <acm@muc.de>
8682
8683 Make Java try-with-resources statement parse properly.
8684 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8685 (c-block-stmt-1-2-key): New language constants/variables.
8686 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8687 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8688 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8689 with c-block-stmt-1-2-key.
8690
8691 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8692
8693 * desktop.el (desktop--make-frame): Apply most frame parameters after
8694 creating the frame to force (partially or totally) offscreen frames to
8695 be restored as such.
8696
8697 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8698
8699 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8700 (Bug#14948)
8701
8702 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8703
8704 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8705 `base' arg of backtrace-frame.
8706
8707 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8708
8709 * simple.el (list-processes): Doc fix.
8710
8711 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8712
8713 * desktop.el (desktop--select-frame):
8714 Try harder to reuse existing frames.
8715
8716 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8717
8718 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8719 (edebug-eval): Use backtrace-eval.
8720 (edebug--display, edebug--recursive-edit): Don't let-bind the
8721 edebug-outer-* vars that keep track of variables we locally let-bind.
8722 (edebug-outside-excursion): Don't restore outside values of locally
8723 let-bound vars.
8724 (edebug--display): Use user-error.
8725 (cl-lexical-debug, cl-debug-env): Remove.
8726
8727 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8728
8729 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8730 are restored to be sure that they are visible before deleting any
8731 remaining ones.
8732
8733 2013-07-26 Matthias Meulien <orontee@gmail.com>
8734
8735 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8736 vc-print-root-log. (Bug#14948)
8737
8738 2013-07-26 Richard Stallman <rms@gnu.org>
8739
8740 Add aliases for encrypting mail.
8741 * epa.el (epa-mail-aliases): New option.
8742 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8743 Bind inhibit-read-only so read-only text doesn't ruin everything.
8744 (epa-mail-default-recipients): New subroutine broken out.
8745 Handle epa-mail-aliases.
8746
8747 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 Add support for lexical variables to the debugger's `e' command.
8750 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8751 vars, except for debugger-outer-match-data.
8752 (debugger-frame-number): Move check for "on a function call" from
8753 callers into it. Add `skip-base' argument.
8754 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8755 (debugger-env-macro): Only reset the state stored in non-variables,
8756 i.e. current-buffer and match-data.
8757 (debugger-eval-expression): Rewrite using backtrace-eval.
8758 * subr.el (internal--called-interactively-p--get-frame): Remove.
8759 (called-interactively-p):
8760 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8761 `base' arg of backtrace-frame instead.
8762
8763 2013-07-26 Glenn Morris <rgm@gnu.org>
8764
8765 * align.el (align-regexp): Doc fix. (Bug#14857)
8766 (align-region): Explicit error if subexpression missing/does not match.
8767
8768 * simple.el (global-visual-line-mode):
8769 Do not duplicate the mode lighter. (Bug#14858)
8770
8771 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8772
8773 * window.el (display-buffer): In display-buffer bind
8774 split-window-keep-point to t, bug#14829.
8775
8776 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8777
8778 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8779 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8780 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8781 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8782 Change accordingly.
8783 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8784 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8785
8786 2013-07-25 Glenn Morris <rgm@gnu.org>
8787
8788 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8789
8790 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8791
8792 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8793 parameter to modify-frame-parameters if the value has not changed;
8794 this is a workaround for bug#14949.
8795 (desktop--make-frame): On cl-delete-if call, check parameter name,
8796 not full parameter.
8797
8798 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8799
8800 * vc/vc.el (vc-ignore): New function.
8801
8802 * vc/vc-svn.el (vc-svn-ignore): New function.
8803
8804 * vc/vc-hg.el (vc-hg-ignore): New function.
8805
8806 * vc/vc-git.el (vc-git-ignore): New function.
8807
8808 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8809 (vc-dir-ignore): New function.
8810
8811 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8812 (cvs-append-to-ignore): Move here from pcvs.el.
8813
8814 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8815
8816 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8817
8818 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8819
8820 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8821 (desktop-restore-frames): Warn when deleting an existing frame failed.
8822
8823 2013-07-24 Glenn Morris <rgm@gnu.org>
8824
8825 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8826
8827 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8828
8829 * filenotify.el (file-notify-supported-p):
8830 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8831 Remove functions.
8832
8833 * autorevert.el (auto-revert-use-notify)
8834 (auto-revert-notify-add-watch):
8835 * net/tramp.el (tramp-file-name-for-operation):
8836 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8837 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8838 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8839 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8840 Remove `file-notify-supported-p' entry.
8841
8842 2013-07-24 Glenn Morris <rgm@gnu.org>
8843
8844 * printing.el: Replace all uses of deleted ps-windows-system,
8845 ps-lp-system, ps-flatten-list with lpr- versions.
8846
8847 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8848
8849 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8850 checked with memq (bug#14935).
8851
8852 * files.el (revert-buffer-function): Use a non-nil default.
8853 (revert-buffer-preserve-modes): Declare var to
8854 provide access to the `preserve-modes' argument.
8855 (revert-buffer): Let-bind it.
8856 (revert-buffer--default): New function, extracted from revert-buffer.
8857
8858 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * lpr.el: Signal print errors more prominently.
8861 (print-region-function): Don't default to nil.
8862 (lpr-print-region): New function, extracted from print-region-1.
8863 Check lpr's return value and signal an error in case of problem.
8864 (print-region-1): Use it.
8865 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8866 versions instead.
8867 (ps-printer-name): Default to nil.
8868 (ps-printer-name-option): Default to lpr-printer-switch.
8869 (ps-print-region-function): Don't default to nil.
8870 (ps-postscript-code-directory): Simplify default.
8871 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8872 (ps-string-list, ps-eval-switch, ps-flatten-list)
8873 (ps-flatten-list-1): Remove.
8874 (ps-multibyte-buffer): Avoid setq.
8875 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8876 (print-region-function, ps-print-region-function): Don't set them here.
8877
8878 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8879
8880 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8881 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8882 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8883 (ido-decorations): Doc fix.
8884
8885 * ansi-color.el: Fix old URL.
8886
8887 2013-07-23 Michael R. Mauger <michael@mauger.com>
8888
8889 * progmodes/sql.el: Version 3.3
8890 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8891 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8892 (sql-interactive-remove-continuation-prompt): Rewrite, use
8893 functions above. Fix continuation prompt and complete output line
8894 handling.
8895 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8896 redirected output buffer.
8897 (sql-mode): Restore deleted code (Bug#13591).
8898
8899 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8900
8901 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8902
8903 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8904
8905 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8906
8907 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8908 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8909 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8910
8911 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8912
8913 * desktop.el (desktop-clear): Simplify; remove useless checks
8914 against invalid buffer names.
8915 (desktop-list*): Use cl-list*.
8916 (desktop-buffer-info, desktop-create-buffer): Simplify.
8917
8918 2013-07-23 Leo Liu <sdl.web@gmail.com>
8919
8920 * bookmark.el (bookmark-make-record): Restore NAME as a default
8921 value. (Bug#14933)
8922
8923 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8926 extracted from autoload--insert-text.
8927 (autoload--insert-text): Remove.
8928 (autoload--print-cookie-text): New function, extracted from
8929 autoload--insert-cookie-text.
8930 (autoload--insert-cookie-text): Remove.
8931 (autoload-generate-file-autoloads): Adjust calls accordingly.
8932
8933 * winner.el (winner-hook-installed-p): Remove.
8934 (winner-mode): Simplify accordingly.
8935
8936 * subr.el (add-to-list): Fix compiler-macro when `append' is
8937 not constant. Don't use `cl-member' for the base case.
8938
8939 * progmodes/subword.el: Fix boundary case (bug#13758).
8940 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8941 own group.
8942 (subword-backward-regexp): Make it a constant.
8943 (subword-forward-internal): Don't treat a trailing capital as the
8944 beginning of a word.
8945
8946 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8947
8948 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8949 global value of tabulated-list-revert-hook (bug#14930).
8950
8951 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8952
8953 * desktop.el: Require 'cl-lib.
8954 (desktop-before-saving-frames-functions): New hook.
8955 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8956 for frames being saved. Rename from desktop--save-minibuffer-frames.
8957 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8958 Do not save frames with non-nil `desktop-dont-save' parameter.
8959 Filter out deleted frames.
8960 (desktop--find-frame): Use cl-find-if.
8961 (desktop--select-frame): Use cl-(first|second|third) to access values
8962 of desktop-mini.
8963 (desktop--make-frame): Use cl-delete-if.
8964 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8965 (desktop-restore-frames): Use cl-(first|second|third) to access values
8966 of desktop-mini. Look for visible frame at the end, not while
8967 restoring frames.
8968
8969 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8970 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8971 Use string-match-p, looking-at-p (bug#14927).
8972
8973 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8974
8975 * desktop.el (desktop-saved-frame-states):
8976 Rename from desktop--saved-states; all users changed.
8977 (desktop-save-frames): Rename from desktop--save-frames.
8978 Do not save state to desktop file.
8979 (desktop-save): Save desktop-saved-frame-states to desktop file
8980 and reset to nil.
8981 (desktop-restoring-frames-p): New function.
8982 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8983 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8984 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8985
8986 * desktop.el: Correctly restore iconified frames.
8987 (desktop--filter-iconified-position): New function.
8988 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8989
8990 2013-07-20 Glenn Morris <rgm@gnu.org>
8991
8992 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8993 Let `message' do the formatting.
8994 (def-gdb-preempt-display-buffer): Add explicit format.
8995
8996 * image-dired.el (image-dired-track-original-file):
8997 Use with-current-buffer.
8998 (image-dired-track-thumbnail): Use with-current-buffer.
8999 Avoid changing point of wrong window.
9000
9001 * image-dired.el (image-dired-track-original-file):
9002 Avoid changing point of wrong window. (Bug#14909)
9003
9004 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9005
9006 * progmodes/gdb-mi.el (gdb-done-or-error):
9007 Guard against "%" in gdb output. (Bug#14127)
9008
9009 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9010
9011 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9012 (Bug#14826)
9013
9014 * international/mule.el (coding-system-iso-2022-flags): Fix last
9015 change.
9016
9017 2013-07-20 Kenichi Handa <handa@gnu.org>
9018
9019 * international/mule.el (coding-system-iso-2022-flags):
9020 Add `8-bit-level-4'. (Bug#8522)
9021
9022 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9023
9024 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9025 (bug#14815).
9026
9027 * net/eww.el (eww-process-text-input): Allow inputting when the
9028 point is at the start of the line, as the properties aren't
9029 front-sticky.
9030
9031 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9032 degenerate widths.
9033
9034 2013-07-19 Richard Stallman <rms@gnu.org>
9035
9036 * epa.el (epa-popup-info-window): Doc fix.
9037
9038 * subr.el (split-string): New arg TRIM.
9039
9040 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9041
9042 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9043 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9044
9045 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9046
9047 * filenotify.el (file-notify--library): Rename from
9048 `file-notify-support'. Do not autoload. Adapt all uses.
9049 (file-notify-supported-p): New defun.
9050
9051 * autorevert.el (auto-revert-use-notify):
9052 Use `file-notify-supported-p' instead of `file-notify-support'.
9053 Adapt docstring.
9054 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9055
9056 * net/tramp.el (tramp-file-name-for-operation):
9057 Add `file-notify-supported-p'.
9058
9059 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9060 New defun.
9061 (tramp-sh-file-name-handler-alist): Add it as handler for
9062 `file-notify-supported-p '.
9063
9064 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9065 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9066 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9067 Add `ignore' as handler for `file-notify-*' functions.
9068
9069 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9070
9071 * simple.el (line-move-partial, line-move): Don't start vscroll or
9072 scroll-up if the current line is not taller than the window.
9073 (Bug#14881)
9074
9075 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9076
9077 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9078 highlight question marks in the method names as strings.
9079 (ruby-block-beg-keywords): Inline.
9080 (ruby-font-lock-keyword-beg-re): Extract from
9081 `ruby-font-lock-keywords'.
9082
9083 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9084
9085 * frame.el (blink-cursor-blinks): New defcustom.
9086 (blink-cursor-blinks-done): New defvar.
9087 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9088 (blink-cursor-timer-function): Check if number of blinks has been
9089 done on X and NS.
9090 (blink-cursor-suspend, blink-cursor-check): New defuns.
9091
9092 2013-07-15 Glenn Morris <rgm@gnu.org>
9093
9094 * edmacro.el (edmacro-format-keys): Fix previous change.
9095
9096 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9097
9098 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9099 The hack didn't work outside English locales anyway.
9100
9101 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9102
9103 * simple.el (define-alternatives): Rename from alternatives-define,
9104 per RMS' suggestion.
9105
9106 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9107
9108 * desktop.el (desktop-restore-frames): Change default to t.
9109 (desktop-restore-in-current-display): Now offer more options.
9110 (desktop-restoring-reuses-frames): New customization option.
9111 (desktop--saved-states): Doc fix.
9112 (desktop-filter-parameters-alist): New variable, renamed and expanded
9113 from desktop--excluded-frame-parameters.
9114 (desktop--target-display): New variable.
9115 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9116 (desktop--filter-tty*, desktop--filter-*-color)
9117 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9118 (desktop--filter-save-desktop-parm)
9119 (desktop-restore-in-original-display-p): New functions.
9120 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9121 (desktop--save-minibuffer-frames): New function, inspired by a similar
9122 function from Martin Rudalics.
9123 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9124 (desktop--restore-in-this-display-p): Remove.
9125 (desktop--find-frame): Rename from desktop--find-frame-in-display
9126 and add predicate argument.
9127 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9128 (desktop--reuse-list): New variable.
9129 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9130 New functions.
9131 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9132
9133 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9134
9135 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9136
9137 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9138
9139 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9140 Highlight conversion methods on Kernel.
9141
9142 2013-07-13 Alan Mackenzie <acm@muc.de>
9143
9144 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9145 and comment it out. This out-commenting enables certain C++
9146 declarations to be parsed correctly.
9147
9148 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9149
9150 * international/mule.el (define-coding-system): Doc fix.
9151
9152 * simple.el (default-font-height): Don't call font-info if the
9153 frame's default font didn't change since the frame was created.
9154 (Bug#14838)
9155
9156 2013-07-13 Leo Liu <sdl.web@gmail.com>
9157
9158 * ido.el (ido-read-file-name): Guard against non-symbol value.
9159
9160 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9161
9162 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9163 in nested defuns.
9164
9165 2013-07-13 Leo Liu <sdl.web@gmail.com>
9166
9167 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9168 ido-set-matches call. (Bug#6852)
9169
9170 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9171
9172 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9173 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9174 Ruby 2.0.
9175 (ruby-font-lock-keywords): Distinguish calls to functions with
9176 module-like names from module references. Highlight character
9177 literals.
9178
9179 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9180
9181 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9182 (gdb-send): Handle continued commands. (Bug#14847)
9183
9184 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9185
9186 * desktop.el (desktop--v2s): Remove unused local variable.
9187 (desktop-save-buffer): Make defvar-local; adjust docstring.
9188 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9189 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9190
9191 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9192
9193 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9194
9195 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9196
9197 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9198 (Bug#14842)
9199
9200 2013-07-12 Glenn Morris <rgm@gnu.org>
9201
9202 * doc-view.el: Require cl-lib at runtime too.
9203 (doc-view-remove-if): Remove.
9204 (doc-view-search-next-match, doc-view-search-previous-match):
9205 Use cl-remove-if.
9206
9207 * edmacro.el: Require cl-lib at runtime too.
9208 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9209 (edmacro-mismatch, edmacro-subseq): Remove.
9210
9211 * shadowfile.el: Require cl-lib.
9212 (shadow-remove-if): Remove.
9213 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9214 Use cl-remove-if.
9215
9216 * wid-edit.el: Require cl-lib.
9217 (widget-choose): Use cl-remove-if.
9218 (widget-remove-if): Remove.
9219
9220 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9221 (ebrowse-delete-if-not): Remove.
9222 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9223 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9224 Use cl-delete-if-not.
9225
9226 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9227
9228 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9229 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9230
9231 2013-07-12 Leo Liu <sdl.web@gmail.com>
9232
9233 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9234
9235 2013-07-11 Glenn Morris <rgm@gnu.org>
9236
9237 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9238 (edebug-gensym-index, edebug-gensym):
9239 Remove reimplementation of cl-gensym.
9240 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9241
9242 * thumbs.el: Require cl-lib at run-time too.
9243 (thumbs-gensym-counter, thumbs-gensym):
9244 Remove reimplementation of cl-gensym.
9245 (thumbs-temp-file): Use cl-gensym.
9246
9247 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9248 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9249 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9250 (ert--union, ert--gensym-counter, ert--gensym-counter)
9251 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9252 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9253 (ert-make-test-unbound, ert--expand-should-1)
9254 (ert--expand-should, ert--should-error-handle-error)
9255 (should-error, ert--explain-equal-rec)
9256 (ert--plist-difference-explanation, ert-select-tests)
9257 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9258 Use cl-lib functions rather than reimplementations.
9259
9260 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9261
9262 * net/tramp.el (tramp-methods): Extend docstring.
9263 (tramp-connection-timeout): New defcustom.
9264 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9265 (with-tramp-progress-reporter): Simplify.
9266 (tramp-process-actions): Improve messages.
9267
9268 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9269 * net/tramp-sh.el (tramp-maybe-open-connection):
9270 Use `tramp-connection-timeout'.
9271 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9272 (Bug#14808)
9273
9274 2013-07-11 Leo Liu <sdl.web@gmail.com>
9275
9276 * ido.el (ido-read-file-name): Conform to the requirements of
9277 read-file-name. (Bug#11861)
9278 (ido-read-directory-name): Conform to the requirements of
9279 read-directory-name.
9280
9281 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9282
9283 * subr.el (delay-warning): New function.
9284
9285 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9286
9287 * simple.el (default-line-height): New function.
9288 (line-move-partial, line-move): Use it instead of computing the
9289 line height inline.
9290 (line-move-partial): Always compute ROWH. If the last line is
9291 partially-visible, but its text is completely visible, allow
9292 cursor to enter such a partially-visible line.
9293
9294 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9295
9296 Improve error messages. (Bug#14808)
9297
9298 * net/tramp.el (tramp-current-connection): New defvar, moved from
9299 tramp-sh.el.
9300 (tramp-message-show-progress-reporter-message): Remove, not
9301 needed anymore.
9302 (tramp-error-with-buffer): Show message in minibuffer.
9303 Discard input before waiting. Reset connection timestamp.
9304 (with-tramp-progress-reporter): Improve messages.
9305 (tramp-process-actions): Use progress reporter. Delete process in
9306 case of error. Improve messages.
9307
9308 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9309 Call `tramp-error-with-buffer' with vector and buffer.
9310 (tramp-current-connection): Remove.
9311 (tramp-maybe-open-connection): The car of
9312 `tramp-current-connection' are the first 3 slots of the vector.
9313
9314 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9315
9316 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9317 inside continued strings.
9318
9319 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9320
9321 Timestamp fixes for undo (Bug#14824).
9322 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9323
9324 2013-07-10 Leo Liu <sdl.web@gmail.com>
9325
9326 * files.el (require-final-newline): Allow safe local value.
9327 (Bug#14834)
9328
9329 2013-07-09 Leo Liu <sdl.web@gmail.com>
9330
9331 * ido.el (ido-read-directory-name): Handle fallback.
9332 (ido-read-file-name): Update DIR to ido-current-directory.
9333 (Bug#1516)
9334 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9335
9336 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9337
9338 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9339 "autoload". Remove "warn lower camel case" section, previously
9340 commented out. Highlight negation char. Do not highlight the
9341 target in singleton method definitions.
9342
9343 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * faces.el (tty-setup-hook): Declare the hook.
9346
9347 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9348 and detect when a guard/pred depends on local vars (bug#14773).
9349 (pcase--u1): Adjust caller.
9350
9351 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9352
9353 * simple.el (line-move-partial, line-move): Account for
9354 line-spacing.
9355 (line-move-partial): Avoid setting vscroll when the last
9356 partially-visible line in window is of default height.
9357
9358 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9359
9360 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9361 been used a while.
9362
9363 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9364
9365 * subr.el (read-quoted-char): Remove unused local variable `char'.
9366
9367 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9368
9369 * ediff.el (ediff-version): Version update.
9370 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9371 (ediff-merge-with-ancestor-command, ediff-directories-command)
9372 (ediff-directories3-command, ediff-merge-directories-command)
9373 (ediff-merge-directories-with-ancestor-command): New functions.
9374 All are command-line interfaces to ediff: to facilitate calling
9375 Emacs with the appropriate ediff functions invoked.
9376
9377 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9378 (viper-save-kill-buffer): Check if buffer is modified.
9379
9380 * viper.el (viper-version): Version update.
9381 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9382
9383 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9386 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9387 (viper-intercept-ESC-key): Simplify.
9388 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9389 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9390 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9391 (viper-setup-ESC-to-escape): New functions.
9392 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9393 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9394
9395 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9396
9397 * simple.el (default-font-height, window-screen-lines):
9398 New functions.
9399 (line-move, line-move-partial): Use them instead of
9400 frame-char-height and window-text-height. This makes scrolling
9401 text smoother when the buffer's default face uses a font that is
9402 different from the frame's default font.
9403
9404 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9405
9406 * files.el (write-file): Do not display confirm dialog for NS,
9407 it does its own dialog, which can't be canceled (Bug#14578).
9408
9409 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9410
9411 * simple.el (line-move-partial): Adjust the row returned by
9412 posn-at-point for the current window-vscroll. (Bug#14567)
9413
9414 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9415
9416 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9417 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9418 spaces.
9419
9420 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9421
9422 * window.el (window-state-put-stale-windows): New variable.
9423 (window--state-put-2): Save list of windows without matching buffer.
9424 (window-state-put): Remove "bufferless" windows if possible.
9425
9426 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9427
9428 * simple.el (alternatives-define): Remove leftover :group keyword.
9429 Tweak docstring.
9430
9431 2013-07-06 Leo Liu <sdl.web@gmail.com>
9432
9433 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9434 (ido-enable-virtual-buffers): New variable.
9435 (ido-buffer-internal, ido-toggle-virtual-buffers)
9436 (ido-make-buffer-list): Use it.
9437 (ido-exhibit): Support turning on and off virtual buffers
9438 automatically.
9439
9440 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9441
9442 * simple.el (alternatives-define): New macro.
9443
9444 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 * subr.el (read-quoted-char): Use read-key.
9447 (sit-for): Let read-event decode tty input (bug#14782).
9448
9449 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9450
9451 * calendar/todo-mode.el: Add handling of file deletion, both by
9452 mode command and externally. Fix various related bugs.
9453 Clarify Commentary and improve some documentation strings and code.
9454 (todo-delete-file): New command.
9455 (todo-check-file): New function.
9456 (todo-show): Handle external deletion of the file we're trying to
9457 show (bug#14688). Replace called-interactively-p by an optional
9458 prefix argument to avoid problematic interaction with catch form
9459 when byte compiled (bug#14702).
9460 (todo-quit): Handle external deletion of the archive's todo file.
9461 Make sure the buffer that was visiting the archive file is still
9462 live before trying to bury it.
9463 (todo-category-completions): Handle external deletion of any
9464 category completion files.
9465 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9466 of todo files, in case of external deletion.
9467 (todo-add-file): Replace unnecessary setq by let-binding.
9468 (todo-find-archive): Check whether there are any archives.
9469 Replace unnecessary setq by let-binding.
9470 (todo-archive-done-item): Use find-file-noselect to get the
9471 archive buffer whether or not the archive already exists.
9472 Remove superfluous code. Use file size instead of buffer-file-name to
9473 check if the archive is new; if it is, update list of archives.
9474 (todo-default-todo-file): Allow nil to be a valid value for when
9475 there are no todo files.
9476 (todo-reevaluate-default-file-defcustom): Use corrected definition
9477 of todo-default-todo-file.
9478 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9479 (todo-delete-category, todo-show-categories-table)
9480 (todo-category-number): Clarify comment.
9481 (todo-filter-items): Clarify documentation string.
9482 (todo-show-current-file, todo-display-as-todo-file)
9483 (todo-reset-and-enable-done-separator): Tweak documentation string.
9484 (todo-done-separator): Make separator length window-width, since
9485 bug#2749 is now fixed.
9486
9487 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9488
9489 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9490 Support both "gvfs-monitor-dir" and "inotifywait".
9491 (tramp-sh-file-inotifywait-process-filter): Rename from
9492 `tramp-sh-file-notify-process-filter'.
9493 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9494 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9495
9496 2013-07-05 Leo Liu <sdl.web@gmail.com>
9497
9498 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9499
9500 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9501
9502 * frame.el (display-pixel-height, display-pixel-width)
9503 (display-mm-height, display-mm-width): Mention behavior on
9504 multi-monitor setups in docstrings.
9505 (w32-display-monitor-attributes-list): Declare function.
9506 (display-monitor-attributes-list): Use it.
9507
9508 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * filenotify.el: New package.
9511
9512 * autorevert.el (top): Require filenotify.el.
9513 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9514 instead.
9515 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9516 (auto-revert-notify-handler): Use `file-notify-*' functions.
9517
9518 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9519
9520 * net/tramp.el (tramp-file-name-for-operation):
9521 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9522
9523 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9524 for `file-notify-add-watch' and `file-notify-rm-watch'.
9525 (tramp-process-sentinel): Improve trace.
9526 (tramp-sh-handle-file-notify-add-watch)
9527 (tramp-sh-file-notify-process-filter)
9528 (tramp-sh-handle-file-notify-rm-watch)
9529 (tramp-get-remote-inotifywait): New defuns.
9530
9531 2013-07-03 Juri Linkov <juri@jurta.org>
9532
9533 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9534 call of `occur-read-primary-args' to interactive spec.
9535
9536 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9537 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9538
9539 2013-07-03 Matthias Meulien <orontee@gmail.com>
9540
9541 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9542 `Buffer-menu-multi-occur'. Add it to the menu.
9543 (Buffer-menu-mode): Document it in docstring.
9544 (Buffer-menu-multi-occur): New command. (Bug#14673)
9545
9546 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9547
9548 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9549 keywords and built-ins.
9550
9551 2013-07-03 Glenn Morris <rgm@gnu.org>
9552
9553 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9554
9555 Make info-xref checks case-sensitive by default
9556 * info.el (Info-find-node, Info-find-in-tag-table)
9557 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9558 Add option for exact case matching of nodes.
9559 * info-xref.el (info-xref): New custom group.
9560 (info-xref-case-fold): New option.
9561 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9562
9563 2013-07-03 Leo Liu <sdl.web@gmail.com>
9564
9565 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9566
9567 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9568
9569 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9570 middle of block statement initially, lower the depth. Remove
9571 FIXME comment, not longer valid. Remove middle of block statement
9572 detection, no need to do that anymore since we've been using
9573 `ruby-parse-region' here.
9574
9575 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9576
9577 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9578
9579 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9580
9581 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9582
9583 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9584
9585 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9586 (desktop-restore-in-current-display): New customization option.
9587 (desktop--excluded-frame-parameters): Add `font'.
9588 (desktop--save-frames): Rename from desktop--save-windows.
9589 (desktop--restore-in-this-display-p): New function.
9590 (desktop--make-full-frame): Remove unwanted width/height from
9591 full(width|height) frames.
9592 (desktop--restore-frames): Rename from desktop--restore-windows.
9593 Obey desktop-restore-current-display. Do not delete old frames or
9594 select a new frame unless we were able to restore at least one frame.
9595
9596 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9597
9598 * files.el (find-file-noselect): Simplify conditional expression.
9599
9600 * textmodes/remember.el (remember-append-to-file):
9601 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9602
9603 Add `remember-notes' function to store random notes across Emacs
9604 restarts.
9605 * textmodes/remember.el (remember-data-file): Add :set callback to
9606 affect notes buffer (if any).
9607 (remember-notes): New command.
9608 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9609 New defcustoms for the `remember-notes' function.
9610 (remember-notes-save-and-bury-buffer): New command.
9611 (remember-notes-mode-map): New variable.
9612 (remember-mode): New minor mode.
9613 (remember-notes--kill-buffer-query): New function.
9614 * startup.el (initial-buffer-choice): Add notes to custom type.
9615
9616 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9617
9618 * bindings.el (right-char, left-char): Don't call sit-for, this is
9619 no longer needed. Use arithmetic comparison only for numerical
9620 arguments.
9621
9622 * international/mule-cmds.el (select-safe-coding-system):
9623 Handle the case of FROM being a string correctly. (Bug#14755)
9624
9625 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9626
9627 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9628 progression on degenerate tables.
9629 (shr-rescale-image): ImageMagick animated images currently don't work.
9630
9631 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9632
9633 Some fixes and improvements for desktop frame restoration.
9634 It is still experimental and disabled by default.
9635 * desktop.el (desktop--save-windows): Put the selected frame at
9636 the head of the list.
9637 (desktop--make-full-frame): New function.
9638 (desktop--restore-windows): Try to re-select the frame that was
9639 selected upon saving. Do not abort if some frames fail to restore,
9640 just show an error message and continue. Set up maximized frames
9641 so they have default non-maximized dimensions.
9642
9643 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9644
9645 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9646 Don't start heredoc inside a string or comment.
9647
9648 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9649
9650 * bindings.el (visual-order-cursor-movement): New defcustom.
9651 (right-char, left-char): Provide visual-order cursor motion by
9652 calling move-point-visually. Update the doc strings.
9653
9654 2013-06-28 Kenichi Handa <handa@gnu.org>
9655
9656 * international/mule.el (define-coding-system): New coding system
9657 properties :inhibit-null-byte-detection,
9658 :inhibit-iso-escape-detection, and :prefer-utf-8.
9659 (set-buffer-file-coding-system): If :charset-list property of
9660 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9661 appropriate for setting.
9662
9663 * international/mule-cmds.el (select-safe-coding-system):
9664 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9665 multibyte characters, return utf-8 (or one of its siblings).
9666
9667 * international/mule-conf.el (prefer-utf-8): New coding system.
9668 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9669 files.
9670
9671 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9672
9673 * net/shr.el (shr-render-region): New function.
9674
9675 * net/eww.el: Autoload `eww-browse-url'.
9676
9677 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9678
9679 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9680 Adapt to `package-desc-version' being a list.
9681 Use `package--ac-desc-version' to retrieve version from a package
9682 archive element.
9683
9684 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9685
9686 New experimental feature to save&restore window and frame setup.
9687 * desktop.el (desktop-save-windows): New defcustom.
9688 (desktop--saved-states): New var.
9689 (desktop--excluded-frame-parameters): New defconst.
9690 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9691 (desktop--restore-windows, desktop--save-windows): New functions.
9692 (desktop-save): Call `desktop--save-windows'.
9693 (desktop-read): Call `desktop--restore-windows'.
9694
9695 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9696
9697 * net/shr.el (add-face-text-property): Remove compat definition.
9698
9699 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9700
9701 * info.el (Info-try-follow-nearest-node): Move search for footnote
9702 above search for node name to prevent missing a footnote (bug#14717).
9703
9704 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9705
9706 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9707
9708 2013-06-27 Leo Liu <sdl.web@gmail.com>
9709
9710 * net/eww.el (eww-read-bookmarks): Check file size.
9711
9712 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9713
9714 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9715 advice--pending if newdef is nil or an autoload (bug#13820).
9716 (advice-mapc): New function.
9717
9718 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9719
9720 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9721 probably.
9722 (eww-mode-map): Add a menu bar.
9723 (eww-add-bookmark): New command.
9724 (eww-bookmark-mode): New mode and commands.
9725 (eww-add-bookmark): Remove newlines from the title.
9726 (eww-bookmark-browse): Don't bug out if it's the only window.
9727
9728 2013-06-26 Glenn Morris <rgm@gnu.org>
9729
9730 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9731 (hfy-size): Handle ttys. (Bug#14668)
9732
9733 * info-xref.el: Update for Texinfo 5 change in *note format.
9734 (info-xref-node-re, info-xref-note-re): New constants.
9735 (info-xref-check-buffer): Use info-xref-note-re.
9736
9737 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9738
9739 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9740
9741 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9742 nil terminate the loop (bug#14718).
9743
9744 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9745
9746 * net/eww.el: Rework history traversal. When going forward/back,
9747 put these actions into the history, too, so that they can be
9748 replayed.
9749 (eww-render): Move the history reset to the correct buffer.
9750
9751 2013-06-25 Juri Linkov <juri@jurta.org>
9752
9753 * files-x.el (modify-dir-local-variable): Change the header comment
9754 in the file with directory local variables. (Bug#14692)
9755
9756 * files-x.el (read-file-local-variable-value): Add `default'.
9757 (Bug#14710)
9758
9759 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9760
9761 * net/eww.el (eww-make-unique-file-name): Create a unique file
9762 name before saving to entering `y' accidentally asynchronously.
9763
9764 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9765
9766 * net/eww.el (eww-download): New command and keystroke.
9767
9768 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9769
9770 * net/eww.el (eww-copy-page-url): Change name of command.
9771
9772 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9773 be more consistent with Info and dired.
9774
9775 * net/eww.el (eww-mode-map): Ditto.
9776
9777 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9778
9779 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9780 packages from archives.
9781 (package-archive-contents): Change format; include obsolete packages.
9782 (package-desc): Use `dir' to mark builtin packages.
9783 (package--from-builtin): Set the `dir' field to `builtin'.
9784 (generated-autoload-file, version-control): Declare.
9785 (package-compute-transaction): Change first arg and return value to be
9786 lists of package-descs. Adjust to new package-archive-contents format.
9787 (package--add-to-archive-contents): Adjust to new
9788 package-archive-contents format.
9789 (package-download-transaction): Arg is now a list of package-descs.
9790 (package-install): If `pkg' is a package name, pass it as
9791 a requirement, so it is subject to the usual (e.g. disabled) checks.
9792 (describe-package): Accept package-desc as well.
9793 (describe-package-1): Describe a specific package-desc. Add links to
9794 other package-descs for the same package name.
9795 (package-menu-describe-package): Pass the actual package-desc.
9796 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9797 works correctly.
9798 (package-desc-status): New function.
9799 (package-menu--refresh): New function, extracted
9800 from package-menu--generate.
9801 (package-menu--generate): Use it.
9802 (package-delete): Update package-alist.
9803 (package-menu-execute): Don't call package-initialize.
9804
9805 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9806 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9807 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9808 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9809 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9810 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9811
9812 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9813
9814 * window.el (window--state-get-1): Workaround for bug#14527.
9815 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9816
9817 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9818
9819 * net/eww.el (eww-back-url): Implement the history by stashing all
9820 the data into a list.
9821 (eww-forward-url): Allow going forward in the history, too.
9822
9823 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9826 for values and use read--expression for expressions (bug#14710).
9827 (read-file-local-variable): Avoid setq.
9828 (read-file-local-variable-mode): Use minor-mode-list.
9829
9830 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9831
9832 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9833 for DOI URLs.
9834
9835 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9836
9837 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9838 Update imenu-support when dialect changes.
9839
9840 2013-06-25 Leo Liu <sdl.web@gmail.com>
9841
9842 * ido.el (ido-read-internal): Allow forward slash on windows.
9843
9844 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9845
9846 * net/eww.el (eww): Start of strings is \\`, not ^.
9847
9848 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9849
9850 * net/shr.el (shr-browse-url): Fix interactive spec.
9851
9852 * net/eww.el (eww): Add a trailing slash to domain names.
9853
9854 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9855
9856 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9857
9858 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9859
9860 * net/shr.el (shr-browse-url): Use an external browser if given a
9861 prefix.
9862
9863 * net/eww.el (eww-external-browser): Move to shr.
9864
9865 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9866
9867 * net/eww.el (eww): Work more correctly for file: URLs.
9868 (eww-detect-charset): Allow quoted charsets.
9869 (eww-yank-page-url): New command and keystroke.
9870
9871 2013-06-24 Daiki Ueno <ueno@gnu.org>
9872
9873 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9874 file name of gpg executable.
9875 (epg-context-program): New function.
9876 (epg-context-home-directory): New function.
9877 (epg-context-set-program): New function.
9878 (epg-context-set-home-directory): New function.
9879 (epg--start): Use `epg-context-program' instead of
9880 'epg-gpg-program'.
9881 (epg--list-keys-1): Likewise.
9882
9883 2013-06-24 Leo Liu <sdl.web@gmail.com>
9884
9885 * ido.el (ido-read-internal): Fix bug#14620.
9886
9887 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9888
9889 * faces.el (face-documentation): Simplify.
9890 (read-face-attribute, tty-find-type, x-resolve-font-name):
9891 Use `string-match-p'.
9892 (list-faces-display): Use `string-match-p'. Simplify.
9893 (face-spec-recalc): Check face to avoid face alias loops.
9894 (read-color): Use `string-match-p' and non-capturing parenthesis.
9895
9896 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9897
9898 * net/shr.el (shr-rescale-image): Use the new
9899 :max-width/:max-height functionality.
9900
9901 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9902
9903 * net/eww.el (eww-search-prefix): New variable.
9904 (eww): Use it.
9905 (eww-external-browser): New variable.
9906 (eww-mode-map): New keystroke.
9907 (eww-browse-with-external-browser): New command.
9908
9909 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9910
9911 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9912
9913 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9914 Don't skip aligning the next header field when padding is 0;
9915 otherwise, field width is not respected unless the title is as
9916 wide as the field.
9917
9918 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * emacs-lisp/package.el (package-el-version): Remove.
9921 (package-process-define-package): Fix inf-loop.
9922 (package-install): Allow symbols as arguments again.
9923
9924 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9925
9926 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9927 add some more keyword-like methods.
9928 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9929
9930 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9931
9932 * bs.el (bs-buffer-show-mark): Make defvar-local.
9933 (bs-mode): Use setq-local.
9934
9935 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9936 (emacs-lock--try-unlocking): Make defvar-local.
9937
9938 2013-06-22 Glenn Morris <rgm@gnu.org>
9939
9940 * play/cookie1.el (cookie-apropos): Minor simplification.
9941
9942 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9943
9944 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9945
9946 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9947 `regexp-opt', it breaks the build during dumping.
9948
9949 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9950
9951 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9952 Highlight keyword-like methods on Kernel and Module with
9953 font-lock-builtin-face.
9954 (auto-mode-alist): Consolidate different entries into one regexp
9955 and add more *file-s.
9956
9957 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9958
9959 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9960
9961 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9962 (diary-entry): Use it in the action of this button type instead of
9963 diary-goto-entry.
9964
9965 * calendar/todo-mode.el: New version.
9966 (todo-add-category): Append new category to end of file and give
9967 it the highest number, instead of putting it at the beginning and
9968 giving it 0. Incorporate noninteractive functionality.
9969 (todo-forward-category): Adapt to 1-based category numbering.
9970 Allow skipping over archived categories.
9971 (todo-backward-category): Derive from todo-forward-category.
9972 (todo-backward-item, todo-forward-item): Make noninteractive and
9973 delegate interactive part to new commands. Make sensitive to done items.
9974 (todo-categories): Make value an alist of category names and
9975 vectors of item counts.
9976 (todo-category-beg): Make a defconst.
9977 (todo-category-number): Use 1 instead of 0 as initial value.
9978 (todo-category-select): Make sensitive to overlays, optional item
9979 highlighting and done items.
9980 (todo-delete-item): Make sensitive to overlays and marked and done items.
9981 (todo-edit-item): Make sensitive to overlays and editing of
9982 date/time header optional. Add format checks.
9983 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9984 no-op if point is not on an item. Advertise using todo-edit-quit.
9985 (todo-edit-mode): Make sensitive to new format, font-locking, and
9986 multiple todo files.
9987 (todo-insert-item, todo-insert-item-here): Derive from
9988 todo-basic-insert-item and extend functionality.
9989 (todo-item-end, todo-item-start): Make sensitive to done items.
9990 (todo-item-string): Don't return text properties. Restore point.
9991 (todo-jump-to-category): Make sensitive to multiple todo files and
9992 todo archives. Use extended category completion.
9993 (todo-lower-item, todo-raise-item): Rename to *-priority and
9994 derive from todo-set-item-priority.
9995 (todo-mode): Derive from special-mode. Make sensitive to new
9996 format, font-locking and multiple todo files. Make read-only.
9997 (todo-mode-map): Don't suppress digit keys, so they can supply
9998 prefix arguments. Add many new key bindings.
9999 (todo-prefix): Insert as an overlay instead of file text.
10000 Change semantics from diary date expression to purely visual mark.
10001 (todo-print): Rename to todo-print-buffer. Make buffer display
10002 features printable. Remove option to restrict number of items
10003 printed. Add option to print to file.
10004 (todo-print-function): Rename to todo-print-buffer-function.
10005 (todo-quit): Extend to handle exiting new todo modes.
10006 (todo-remove-item): Make sensitive to overlays.
10007 (todo-save): Extend to buffers of filtered items.
10008 (todo-show): Make sensitive to done items, multiple todo files and
10009 new todo modes. Offer to convert legacy todo file before creating
10010 first new todo file.
10011 (todo-show-priorities): Rename to todo-top-priorities.
10012 Change semantics of value 0.
10013 (todo-top-priorities): Rename to todo-filter-top-priorities,
10014 derive from todo-filter-items and extend functionality.
10015 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10016 and extend functionality to other types of filtered items.
10017 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10018 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10019 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10020 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10021 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10022 (todo-edit-mode-hook, todo-entry-prefix-function)
10023 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10024 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10025 (todo-initials, todo-insert-threshold, todo-item-string-start)
10026 (todo-line-string, todo-menu, todo-mode-hook)
10027 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10028 (todo-print-priorities, todo-remove-separator)
10029 (todo-save-top-priorities-too, todo-string-count-lines)
10030 (todo-string-multiline-p, todo-time-string-format)
10031 (todo-tmp-buffer-name): Remove.
10032 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10033 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10034 (todo-edit-category-diary-inclusion)
10035 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10036 (todo-edit-file, todo-edit-item-date-day)
10037 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10038 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10039 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10040 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10041 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10042 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10043 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10044 (todo-filter-top-priorities-multifile, todo-find-archive)
10045 (todo-find-filtered-items-file, todo-go-to-source-item)
10046 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10047 (todo-jump-to-archive-category, todo-lower-category)
10048 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10049 (todo-move-category, todo-move-item, todo-next-button)
10050 (todo-next-item, todo-padded-string, todo-powerset)
10051 (todo-previous-button, todo-previous-item)
10052 (todo-print-buffer-to-file, todo-raise-category)
10053 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10054 (todo-set-category-number, todo-set-item-priority)
10055 (todo-set-top-priorities-in-category)
10056 (todo-set-top-priorities-in-file, todo-show-categories-table)
10057 (todo-sort-categories-alphabetically-or-numerically)
10058 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10059 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10060 (todo-toggle-item-header, todo-toggle-item-highlighting)
10061 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10062 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10063 (todo-unarchive-items, todo-unmark-category): New commands.
10064 (todo-absolute-file-name, todo-add-to-buffer-list)
10065 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10066 (todo-basic-insert-item, todo-category-completions)
10067 (todo-category-number, todo-category-string-matcher-1)
10068 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10069 (todo-check-format, todo-clear-matches)
10070 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10071 (todo-current-category, todo-date-string-matcher)
10072 (todo-define-insertion-command, todo-diary-expired-matcher)
10073 (todo-diary-goto-entry, todo-diary-item-p)
10074 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10075 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10076 (todo-done-item-section-p, todo-done-separator)
10077 (todo-done-string-matcher, todo-files, todo-filter-items)
10078 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10079 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10080 (todo-insert-category-line, todo-insert-item-from-calendar)
10081 (todo-insert-sort-button, todo-insert-with-overlays)
10082 (todo-insertion-command-name, todo-insertion-key-bindings)
10083 (todo-label-to-key, todo-longest-category-name-length)
10084 (todo-make-categories-list, todo-mode-external-set)
10085 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10086 (todo-modes-set-3, todo-multiple-filter-files)
10087 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10088 (todo-read-category, todo-read-date, todo-read-dayname)
10089 (todo-read-file-name, todo-read-time)
10090 (todo-reevaluate-category-completions-files-defcustom)
10091 (todo-reevaluate-default-file-defcustom)
10092 (todo-reevaluate-filelist-defcustoms)
10093 (todo-reevaluate-filter-files-defcustom)
10094 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10095 (todo-reset-done-separator, todo-reset-done-separator-string)
10096 (todo-reset-done-string, todo-reset-global-current-todo-file)
10097 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10098 (todo-reset-prefix, todo-set-categories)
10099 (todo-set-date-from-calendar, todo-set-show-current-file)
10100 (todo-set-top-priorities, todo-short-file-name)
10101 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10102 (todo-total-item-counts, todo-update-buffer-list)
10103 (todo-update-categories-display, todo-update-categories-sexp)
10104 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10105 New functions.
10106 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10107 New major modes.
10108 (todo-categories, todo-display, todo-edit, todo-faces)
10109 (todo-filtered): New defgroups.
10110 (todo-archived-only, todo-button, todo-category-string, todo-date)
10111 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10112 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10113 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10114 (todo-add-item-if-new-category, todo-always-add-time-string)
10115 (todo-categories-align, todo-categories-archived-label)
10116 (todo-categories-category-label, todo-categories-diary-label)
10117 (todo-categories-done-label, todo-categories-number-separator)
10118 (todo-categories-todo-label, todo-categories-totals-label)
10119 (todo-category-completions-files, todo-completion-ignore-case)
10120 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10121 (todo-done-separator-string, todo-done-string)
10122 (todo-files-function, todo-filter-done-items, todo-filter-files)
10123 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10124 (todo-initial-category, todo-initial-file, todo-item-mark)
10125 (todo-legacy-date-time-regexp, todo-mode-line-function)
10126 (todo-nondiary-marker, todo-number-prefix)
10127 (todo-print-buffer-function, todo-show-current-file)
10128 (todo-show-done-only, todo-show-first, todo-show-with-done)
10129 (todo-skip-archived-categories, todo-top-priorities-overrides)
10130 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10131 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10132 New defcustoms.
10133 (todo-category-done, todo-date-pattern, todo-date-string-start)
10134 (todo-diary-items-buffer, todo-done-string-start)
10135 (todo-filtered-items-buffer, todo-item-start)
10136 (todo-month-abbrev-array, todo-month-name-array)
10137 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10138 (todo-top-priorities-buffer): New defconsts.
10139 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10140 (todo-categories-with-marks, todo-category-string-face)
10141 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10142 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10143 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10144 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10145 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10146 (todo-font-lock-keywords, todo-global-current-todo-file)
10147 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10148 (todo-insertion-commands-args)
10149 (todo-insertion-commands-args-genlist)
10150 (todo-insertion-commands-names, todo-insertion-map)
10151 (todo-key-bindings-t, todo-key-bindings-t+a)
10152 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10153 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10154 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10155 (todo-visited): New variables.
10156
10157 2013-06-21 Glenn Morris <rgm@gnu.org>
10158
10159 * play/cookie1.el (cookie-apropos): Add optional display argument.
10160 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10161 (psychoanalyze-pinhead): Use cookie-doctor.
10162
10163 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10164
10165 * emacs-lisp/package.el (tar-get-file-descriptor)
10166 (tar--extract): Declare.
10167
10168 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10169
10170 Extend flymake's warning predicate to be a function (bug#14217).
10171 * progmodes/flymake.el (flymake-warning-predicate): New.
10172 (flymake-parse-line): Use it.
10173 (flymake-warning-re): Make obsolete alias to
10174 `flymake-warning-predicate'.
10175
10176 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10179 (package-obsolete-list): Remove.
10180 (package-activate): Remove min-version argument. Add `force' argument.
10181 Adjust to new package-alist format.
10182 (package-mark-obsolete): Remove.
10183 (package-unpack): Force reload of the package's autoloads.
10184 (package-installed-p): Check builtins if the installed package is not
10185 recent enough.
10186 (package-initialize): Don't reset package-obsolete-list.
10187 Don't specify which package version to activate.
10188 (package-process-define-package, describe-package-1)
10189 (package-menu--generate): Adjust to new package-alist format.
10190
10191 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10192
10193 * allout-widgets.el (allout-widgets-mode-off)
10194 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10195 (allout-widgets-post-command-business)
10196 (allout-widgets-after-copy-or-kill-function)
10197 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10198 (allout-decorate-item-and-context)
10199 (allout-graphics-modification-handler): Fix typos in docstrings.
10200 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10201
10202 * cmuscheme.el (scheme-start-file): Doc fix.
10203 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10204 (scheme-input-filter): Use `string-match-p'.
10205
10206 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10207
10208 * dired-x.el: Use Dired consistently in docstrings.
10209
10210 * dired.el: Use Dired consistently in docstrings.
10211 (dired-readin, dired-mode): Use `setq-local'.
10212 (dired-switches-alist): Make defvar-local.
10213 (dired-buffers-for-dir): Use `zerop'.
10214 (dired-safe-switches-p, dired-switches-escape-p)
10215 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10216 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10217 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10218 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10219 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10220 (dired-toggle-marks, dired-mark-files-containing-regexp)
10221 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10222 (dired-flag-auto-save-files, dired-flag-backup-files):
10223 Use `looking-at-p'.
10224 (dired-mark-files-regexp, dired-build-subdir-alist):
10225 Use `string-match-p', `looking-at-p'.
10226
10227 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10228 (direct-print-region-helper): Use `string-match-p'.
10229
10230 2013-06-21 Leo Liu <sdl.web@gmail.com>
10231
10232 * comint.el (comint-redirect-results-list-from-process):
10233 Fix infinite loop.
10234
10235 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10236
10237 * net/eww.el (eww-update-header-line-format): Quote % characters.
10238
10239 2013-06-21 Glenn Morris <rgm@gnu.org>
10240
10241 * play/cookie1.el (cookie): New custom group.
10242 (cookie-file): New option.
10243 (cookie-check-file): New function.
10244 (cookie): Make it interactive. Make start and end messages optional.
10245 Interactively, display the result. Default to cookie-file.
10246 (cookie-insert): Default to cookie-file.
10247 (cookie-snarf): Make start and end messages optional.
10248 Default to cookie-file. Use with-temp-buffer.
10249 (cookie-read): Rename from read-cookie.
10250 Make start and end messages optional. Default to cookie-file.
10251 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10252 Do not autoload it.
10253 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10254 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10255
10256 2013-06-21 Leo Liu <sdl.web@gmail.com>
10257
10258 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10259
10260 2013-06-21 Glenn Morris <rgm@gnu.org>
10261
10262 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10263
10264 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10265 Daniel Hackney <dan@haxney.org>
10266
10267 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10268 Consolidate the single-file vs tarball code.
10269 (package-desc-suffix): New function.
10270 (package-desc-full-name): Don't bother inlining it.
10271 (package-load-descriptor): Return the new package-desc.
10272 (package-mark-obsolete): Remove unused arg `package'.
10273 (package-unpack): Make it work for single files as well.
10274 Make it update package-alist.
10275 (package--make-autoloads-and-stuff): Rename from
10276 package--make-autoloads-and-compile. Don't compile any more.
10277 (package--compile): New function.
10278 (package-generate-description-file): New function, extracted from
10279 package-unpack-single.
10280 (package-unpack-single): Remove.
10281 (package--with-work-buffer): Add indentation and debugging info.
10282 (package-download-single): Remove.
10283 (package-install-from-archive): Rename from package-download-tar, make
10284 it take a pkg-desc, and make it work for single files as well.
10285 (package-download-transaction): Simplify.
10286 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10287 external tar program.
10288 (package-install-from-buffer): Remove `pkg-desc' argument.
10289 Use package-tar-file-info for tar-mode buffers.
10290 (package-install-file): Simplify accordingly.
10291 (package-archive-base): Change to take a pkg-desc.
10292 * tar-mode.el (tar--check-descriptor): New function, extracted from
10293 tar-get-descriptor.
10294 (tar-get-descriptor): Use it.
10295 (tar-get-file-descriptor): New function.
10296 (tar--extract): New function, extracted from tar-extract.
10297 (tar--extract): Use it.
10298 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10299 case the summary uses non-ascii. Adjust to new calling convention of
10300 package-tar-file-info.
10301
10302 2013-06-21 Leo Liu <sdl.web@gmail.com>
10303
10304 * comint.el (comint-redirect-results-list-from-process):
10305 Fix random delay. (Bug#14681)
10306
10307 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10308
10309 * profiler.el (profiler-format-number): Use log, not log10.
10310
10311 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10312
10313 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10314
10315 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10318 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10319 yet available.
10320 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10321 (AUTOGENEL): ... here.
10322 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10323 (cl--defsubst-expand): Use it.
10324
10325 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10326
10327 * subr.el (log10): Move here from C code, and declare as obsolete.
10328 All uses of (log10 X) replaced with (log X 10).
10329
10330 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10331
10332 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10333 Declare with `defvar-local'.
10334 (tabulated-list-use-header-line, tabulated-list-entries)
10335 (tabulated-list-padding, tabulated-list-printer)
10336 (tabulated-list-sort-key): Declare with `defvar-local'.
10337 (tabulated-list-init-header, tabulated-list-print-fake-header):
10338 Use `setq-local'.
10339
10340 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10341
10342 * arc-mode.el (archive-mode): Add `archive-write-file' to
10343 `write-contents-functions' also for remote files. (Bug#14652)
10344
10345 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10346
10347 * cus-edit.el (custom-commands): Fix typos.
10348 (custom-display): Fix tooltip text.
10349 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10350 Fix typos in docstrings.
10351 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10352 (custom-unlispify-menu-entry, custom-magic-value-create)
10353 (custom-add-see-also, custom-group-value-create): Use ?\s.
10354 (custom-guess-type, customize-apropos, editable-field)
10355 (custom-face-value-create): Use `string-match-p'.
10356 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10357
10358 * custom.el (custom-load-symbol): Use `string-match-p'.
10359
10360 * ansi-color.el: Convert to lexical binding.
10361 (ansi-colors): Fix URL.
10362 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10363 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10364 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10365
10366 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10367
10368 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10369
10370 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10371
10372 2013-06-19 Tom Tromey <tromey@redhat.com>
10373
10374 * net/eww.el (eww-top-url): Remove.
10375 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10376 (eww-render): Set new variables. Don't set eww-top-url.
10377 (eww-handle-link): Handle "prev", "home", and "contents".
10378 Downcase the rel text.
10379 (eww-top-url): Choose best top URL.
10380
10381 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10382
10383 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10384 relying in widget.el. Using widget.el leads to too many
10385 user interface inconsistencies.
10386 (eww-self-insert): Implement entering commands in text fields.
10387 (eww-process-text-input): New function to make text input field editing
10388 work.
10389 (eww-submit): Rewrite to use the new-style form methods.
10390 (eww-select-display): Display the correct selected item.
10391 (eww-change-select): Implement changing the select value.
10392 (eww-toggle-checkbox): Implement radio/checkboxes.
10393 (eww-update-field): Fix compilation error.
10394 (eww-tag-textarea): Implement <textarea>.
10395
10396 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10397 we don't shadow mode-specific bindings.
10398
10399 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10400 nothing to push.
10401
10402 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10403
10404 2013-06-19 Glenn Morris <rgm@gnu.org>
10405
10406 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10407
10408 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10409
10410 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10411 not needed.
10412
10413 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10414
10415 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10416
10417 * net/browse-url.el (browse-url-browser-function):
10418 `eww-browse-url' has the right calling signature, `eww' does not.
10419
10420 2013-06-19 Glenn Morris <rgm@gnu.org>
10421
10422 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10423 Only eval autoloaded macros.
10424 (byte-compile-autoload): Only give the macro warning for macros.
10425
10426 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10427 (ps-underlined-faces): Declare.
10428
10429 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10430 (speedbar-add-supported-extension): Declare.
10431
10432 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10433 Don't include a date stamp in the header of the generated file;
10434 it leads to needless differences between output files.
10435
10436 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10437
10438 * net/secrets.el (secrets-struct-secret-content-type):
10439 Replace check of introspection data by a test call of "CreateItem".
10440 Some servers do not offer introspection.
10441
10442 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 * electric.el (electric-pair-mode): Improve interaction with
10445 electric-layout-mode.
10446 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10447 (electric-pair-syntax): Use text-mode-syntax-table in comments
10448 and strings.
10449 (electric-pair--insert): New function.
10450 (electric-pair-post-self-insert-function): Use it and
10451 electric--after-char-pos.
10452
10453 2013-06-19 Leo Liu <sdl.web@gmail.com>
10454
10455 * progmodes/octave.el (octave-help): Fix regexp.
10456
10457 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10458
10459 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10460 (shr-table-horizontal-line): Allow nil as a value, and change the
10461 default.
10462 (shr-insert-table-ruler): Respect the nil value.
10463
10464 2013-06-18 Tom Tromey <tromey@barimba>
10465
10466 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10467 New defvars.
10468 (eww-open-file): New defun.
10469 (eww-render): Initialize new variables.
10470 (eww-display-html): Handle "link" and "a".
10471 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10472 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10473 (eww-back-url): Rename from eww-previous-url.
10474 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10475 New defuns.
10476
10477 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10478
10479 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10480 Distinguish ternary operator tokens from slash symbol and slash
10481 char literal.
10482
10483 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10484
10485 Convert symbol prettification into minor mode and global minor mode.
10486
10487 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10488 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10489 (prettify-symbols--keywords): Rename from
10490 `prog-prettify-symbols-alist' and make a local defvar.
10491 (prettify-symbols--compose-symbol): Rename from
10492 `prog--prettify-font-lock-compose-symbol'.
10493 (prettify-symbols--make-keywords): Rename from
10494 `prog-prettify-font-lock-symbols-keywords' and simplify.
10495 (prog-prettify-install): Remove.
10496 (prettify-symbols-mode): New minor mode, based on
10497 `prog-prettify-install'.
10498 (turn-on-prettify-symbols-mode): New function.
10499 (global-prettify-symbols-mode): New globalized minor mode.
10500
10501 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10502 * progmodes/cfengine.el (cfengine3-mode):
10503 * progmodes/perl-mode.el (perl-mode): Don't call
10504 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10505
10506 2013-06-18 Juri Linkov <juri@jurta.org>
10507
10508 * files-x.el (modify-file-local-variable-message): New function.
10509 (modify-file-local-variable)
10510 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10511 and call `modify-file-local-variable-message' when it's non-nil.
10512 (add-file-local-variable, delete-file-local-variable)
10513 (add-file-local-variable-prop-line)
10514 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10515 and use it. (Bug#9820)
10516
10517 2013-06-18 Juri Linkov <juri@jurta.org>
10518
10519 * emulation/vi.el (vi-shell-op):
10520 * emulation/vip.el (vip-execute-com, ex-command):
10521 * emulation/viper-cmd.el (viper-exec-bang):
10522 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10523 the call of `shell-command-on-region'. (Bug#14637)
10524
10525 * simple.el (shell-command-on-region): Doc fix.
10526
10527 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10530 (bug#14633).
10531
10532 2013-06-18 Glenn Morris <rgm@gnu.org>
10533
10534 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10535
10536 * newcomment.el (comment-search-forward, comment-search-backward):
10537 Doc fix. (Bug#14376)
10538
10539 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10540
10541 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10542 (buffer-face-mode-invoke): Doc fix.
10543
10544 2013-06-18 Matthias Meulien <orontee@gmail.com>
10545
10546 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10547 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10548
10549 2013-06-18 Glenn Morris <rgm@gnu.org>
10550
10551 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10552 Replace obsolete function generic-make-keywords with its expansion.
10553
10554 * progmodes/python.el (ffap-alist): Declare.
10555
10556 * textmodes/reftex.el (bibtex-mode-map): Declare.
10557
10558 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10561 (package-unpack, package-unpack-single): Return the pkg-dir.
10562 (package-download-transaction): Use it to update package-alist.
10563
10564 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10565
10566 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10567 possible choice.
10568
10569 2013-06-17 Juri Linkov <juri@jurta.org>
10570
10571 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10572
10573 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10574
10575 * emacs-lisp/package.el (package-load-descriptor):
10576 Remove `with-syntax-table' call, `read' doesn't need it.
10577 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10578
10579 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10580
10581 * startup.el (command-line): Expand package name returned by
10582 `package--description-file' (bug#14639).
10583
10584 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10585
10586 * emacs-lisp/package.el (package-load-descriptor): Do not call
10587 `emacs-lisp-mode', just use its syntax table.
10588
10589 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10590
10591 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10592 `font-lock-extra-managed-props' if any prettifying keyword is added.
10593 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10594 (prog-mode): Use `setq-local'.
10595
10596 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * international/characters.el (standard-case-table): Set syntax of ?»
10599 and ?« to punctuation.
10600
10601 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10602
10603 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10604 Save relevant match data before calling `syntax-ppss' (bug#14595).
10605
10606 2013-06-15 Juri Linkov <juri@jurta.org>
10607
10608 * files-x.el (modify-file-local-variable-prop-line): Add local
10609 variables to the end of the existing comment on the first line.
10610 Use `file-auto-mode-skip' to skip interpreter magic line,
10611 and also skip XML declaration.
10612
10613 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10614
10615 * startup.el (package--builtin-versions): New var.
10616 (package-subdirectory-regexp): Remove.
10617 (package--description-file): Hard code its value instead.
10618
10619 * emacs-lisp/package.el: Don't activate packages older than builtin.
10620 (package-obsolete-list): Rename from package-obsolete-alist, and make
10621 it into a simple list of package-desc.
10622 (package-strip-version): Remove.
10623 (package-built-in-p): Use package--builtin-versions.
10624 (package-mark-obsolete): Simplify.
10625 (package-process-define-package): Mark it obsolete if older than the
10626 builtin version.
10627 (package-handle-response): Use line-end-position.
10628 (package-read-archive-contents, package--download-one-archive):
10629 Simplify.
10630 (package--add-to-archive-contents): Skip if older than the builtin or
10631 installed version.
10632 (package-menu-describe-package): Fix last change.
10633 (package-list-unversioned): New var.
10634 (package-menu--generate): Use it.
10635
10636 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10637 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10638 (autoload-builtin-package-versions): New variable.
10639 (autoload-generate-file-autoloads): Use them.
10640 Remove the list of autoloaded functions/macros from the
10641 (autoload...) comments.
10642
10643 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10644
10645 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10646
10647 * simple.el (line-move-partial): Don't jump to the next screen
10648 line as soon as it becomes visible. Instead, continue enlarging
10649 the vscroll until the portion of a tall screen line that's left on
10650 display is about the height of the frame's default font.
10651 (Bug#14567)
10652
10653 2013-06-15 Glenn Morris <rgm@gnu.org>
10654
10655 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10656 compilation-error-regexp-alist void, or local while let-bound.
10657
10658 * progmodes/make-mode.el (makefile-mode-syntax-table):
10659 Treat "=" as punctuation. (Bug#14614)
10660
10661 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10662
10663 * help-fns.el (describe-variable):
10664 Add extra line for permanent-local variables.
10665
10666 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10667
10668 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10669 Add export, import, library. (Bug#9164)
10670 (library): Set indent function.
10671
10672 2013-06-14 Glenn Morris <rgm@gnu.org>
10673
10674 * term/xterm.el (xterm--query):
10675 Stop after first matching handler. (Bug#14615)
10676
10677 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10678
10679 Add support for dired in saveplace.
10680 * dired.el (dired-initial-position-hook): New variable.
10681 (dired-initial-position): Call hook to place cursor position.
10682 * saveplace.el (save-place-to-alist): Add dired position.
10683 (save-place-dired-hook): New function.
10684
10685 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10686
10687 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10688 through a symbol rather than letrec.
10689
10690 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10691 (package-desc): Add `dir' field.
10692 (package-desc-full-name): New function.
10693 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10694 (package-maybe-load-descriptor): Remove.
10695 (package-load-all-descriptors): Just call package-load-descriptor.
10696 (package--disabled-p): New function.
10697 (package-desc-vers, package-desc-doc): Remove aliases.
10698 (package--dir): Remove function.
10699 (package-activate): Check if a package is disabled.
10700 (package-process-define-package): New function, extracted from
10701 define-package.
10702 (define-package): Turn into a place holder.
10703 (package-unpack-single, package-tar-file-info):
10704 Use package--description-file.
10705 (package-compute-transaction): Use package--disabled-p.
10706 (package-download-transaction): Don't call
10707 package-maybe-load-descriptor since they're all loaded anyway.
10708 (package-install): Change argument to be a pkg-desc.
10709 (package-delete): Use a single pkg-desc argument.
10710 (describe-package-1): Use package-desc-dir instead of package--dir.
10711 Use package-desc property instead of package-symbol.
10712 (package-install-button-action): Adjust accordingly.
10713 (package--push): Rewrite.
10714 (package-menu--print-info): Adjust accordingly. Change the ID format
10715 to be a pkg-desc.
10716 (package-menu-describe-package, package-menu-get-status)
10717 (package-menu--find-upgrades, package-menu-mark-upgrades)
10718 (package-menu-execute, package-menu--name-predicate):
10719 Adjust accordingly.
10720 * startup.el (package--description-file): New function.
10721 (command-line): Use it.
10722 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10723 Use package-desc-version.
10724
10725 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10726 (byte-compile-preprocess): Use it.
10727 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10728 can't quite recognize.
10729 (byte-compile-add-to-list): Remove.
10730 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10731 (cconv-closure-convert): Add assertion.
10732
10733 * emacs-lisp/map-ynp.el: Use lexical-binding.
10734 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10735 Factor out some repeated code.
10736
10737 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * subr.el (with-eval-after-load): New macro.
10740 (eval-after-load): Allow form to be a function.
10741 take advantage of lexical-binding.
10742 (do-after-load-evaluation): Use dolist and adjust to new format.
10743 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10744
10745 2013-06-13 Juri Linkov <juri@jurta.org>
10746
10747 * replace.el (perform-replace): Display "symbol " and other search
10748 modes from `isearch-message-prefix' in the *Help* buffer.
10749
10750 * isearch.el (isearch-query-replace): Add " symbol" and other
10751 possible search modes from `isearch-message-prefix' to the prompt.
10752 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10753 when reading a regexp to collect.
10754
10755 2013-06-13 Juri Linkov <juri@jurta.org>
10756
10757 * isearch.el (word-search-regexp): Match whitespace if the search
10758 string begins or ends in whitespace. The LAX arg is applied to
10759 both ends of the search string. Use `regexp-quote' and explicit
10760 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10761 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10762 boundaries are replaced with symbol boundaries, and characters
10763 between symbols match non-word non-symbol syntax. (Bug#14602)
10764
10765 2013-06-13 Juri Linkov <juri@jurta.org>
10766
10767 * isearch.el (isearch-del-char): Don't exceed the length of
10768 `isearch-string' by the prefix arg. (Bug#14563)
10769
10770 2013-06-13 Juri Linkov <juri@jurta.org>
10771
10772 * isearch.el (isearch-yank-word, isearch-yank-line)
10773 (isearch-char-by-name, isearch-quote-char)
10774 (isearch-printing-char, isearch-process-search-char):
10775 Add optional count prefix arg. (Bug#14563)
10776
10777 * international/isearch-x.el
10778 (isearch-process-search-multibyte-characters):
10779 Add optional count prefix arg.
10780
10781 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10784 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10785 lexical-binding.
10786
10787 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10788
10789 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10790
10791 2013-06-13 Glenn Morris <rgm@gnu.org>
10792
10793 * startup.el (tty-handle-args):
10794 Don't just discard "--" and anything after. (Bug#14608)
10795
10796 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10797
10798 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10799
10800 Implement changes in Secret Service API. Make it backward compatible.
10801 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10802 (secrets-create-item): Use it. Prefix properties with interface.
10803
10804 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10805
10806 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10807 (term-emulate-terminal): Respect term-suppress-hard-newline.
10808
10809 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10810
10811 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10812 Only remove a `thumb-file' overlay. (Bug#14548)
10813
10814 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10815
10816 * mail/reporter.el (reporter-submit-bug-report):
10817 Handle missing package-name. (Bug#14600)
10818
10819 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10820
10821 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10822 (reftex-citation-prompt, reftex-default-bibliography)
10823 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10824 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10825 (reftex-bib-sort-author, reftex-bib-sort-year)
10826 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10827 (reftex-extract-bib-entries-from-thebibliography)
10828 (reftex-get-bibkey-default, reftex-get-bib-names)
10829 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10830 (reftex-format-bib-entry, reftex-parse-bibitem)
10831 (reftex-format-bibitem, reftex-do-citation)
10832 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10833 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10834 (reftex-insert-bib-matches, reftex-format-citation)
10835 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10836 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10837 existing comments into docstrings.
10838
10839 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10840
10841 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10842
10843 2013-06-12 Andreas Schwab <schwab@suse.de>
10844
10845 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10846 for auto-save files.
10847
10848 2013-06-12 Glenn Morris <rgm@gnu.org>
10849
10850 * ido.el (ido-delete-ignored-files): Remove.
10851 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10852 Go back to calling ido-ignore-item-p directly.
10853
10854 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10855
10856 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10857
10858 * ido.el (ido-delete-ignored-files): New function,
10859 split from ido-make-file-list-1.
10860 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10861 (ido-make-file-list-1): Use ido-delete-ignored-files.
10862
10863 2013-06-12 Leo Liu <sdl.web@gmail.com>
10864
10865 * progmodes/octave.el (inferior-octave-startup)
10866 (inferior-octave-completion-table)
10867 (inferior-octave-track-window-width-change)
10868 (octave-eldoc-function-signatures, octave-help)
10869 (octave-find-definition): Use single quoted strings.
10870 (inferior-octave-startup-args): Change default value.
10871 (inferior-octave-startup): Do not hard code "-i" and
10872 "--no-line-editing".
10873 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10874 (inferior-octave-directory-tracker): Use it.
10875 (octave-goto-function-definition): Robustify.
10876 (octave-help): Support highlighting operators in 'See also'.
10877 (octave-find-definition): Find subfunctions only in Octave mode.
10878
10879 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10880
10881 * help-fns.el (help-fns--compiler-macro): If the handler function is
10882 named, then put a link to it.
10883 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10884 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10885 (cl-typep): Use it.
10886 (cl-eval-when): Simplify debug spec.
10887 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10888 compiler-macro function instead of setting `compiler-macro-file'.
10889
10890 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10891
10892 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10893 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10894
10895 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10896 Daniel Hackney <dan@haxney.org>
10897
10898 First part of Daniel Hackney's patch to package.el.
10899 * emacs-lisp/package.el: Use defstruct.
10900 (package-desc): New, main struct.
10901 (package--bi-desc, package--ac-desc): New structs, used to describe the
10902 format in external files.
10903 (package-desc-vers): Replace with package-desc-version accessor.
10904 (package-desc-doc): Replace with package-desc-summary accessor.
10905 (package-activate-1): Remove `package' arg since the pkg-vec now
10906 includes the name.
10907 (define-package): Use package-desc-from-define.
10908 (package-unpack-single): Change file-name arg to be a symbol.
10909 (package--add-to-archive-contents): Use package-desc-create and new
10910 accessor functions to package--ac-desc.
10911 (package-buffer-info, package-tar-file-info): Return a package-desc.
10912 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10913 arg to be a package-desc.
10914 (package-install-file): Adjust accordingly. Use \' to match EOS.
10915 (package--from-builtin): New function.
10916 (describe-package-1, package-menu--generate): Use it.
10917 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10918 (package-generate-autoloads): Idem and return the name of the file.
10919 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10920 Change pkg-info arg to be a package-desc.
10921 Use package-make-ac-desc.
10922 (package-upload-file): Use \' to match EOS.
10923 * finder.el (finder-compile-keywords): Use package-make-builtin.
10924
10925 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10926
10927 * vc/vc.el (vc-deduce-fileset): Change error message.
10928 (vc-read-backend): New function.
10929 (vc-next-action): Use it.
10930
10931 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10932
10933 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10934 (prolog-font-lock-keywords): Use regexp-opt instead.
10935 Don't manually highlight strings.
10936 (prolog-mode-variables): Simplify comment-start-skip.
10937 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10938
10939 * emacs-lisp/generic.el (generic--normalise-comments)
10940 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10941 (generic-mode-set-comments): Use them.
10942 (generic-bracket-support): Use setq-local.
10943 (generic-make-keywords-list): Declare obsolete.
10944
10945 2013-06-11 Glenn Morris <rgm@gnu.org>
10946
10947 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10948 Prettify after setting font-lock-defaults. (Bug#14574)
10949
10950 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10951
10952 * replace.el (query-replace, occur-read-regexp-defaults-function)
10953 (replace-search):
10954 * subr.el (declare-function, number-sequence, local-set-key)
10955 (substitute-key-definition, locate-user-emacs-file)
10956 (with-silent-modifications, split-string, eval-after-load):
10957 Fix typos, remove unneeded backslashes and reflow some docstrings.
10958
10959 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10960
10961 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10962 default for Elisp files.
10963
10964 2013-06-11 Glenn Morris <rgm@gnu.org>
10965
10966 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10967 although define-derived-mode was doing this anyway. (Bug#14583)
10968
10969 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10970
10971 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10972 Fix make-variable-buffer-local call to refer to the correct variable.
10973
10974 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10975
10976 * eshell/em-term.el (eshell-visual-commands)
10977 (eshell-visual-subcommands, eshell-visual-options):
10978 Add summary line to docstrings. Add cross-references.
10979
10980 2013-06-10 Glenn Morris <rgm@gnu.org>
10981
10982 * epa.el (epa-read-file-name): New function. (Bug#14510)
10983 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10984
10985 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10986
10987 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10988 output redirection to be ignored with visual commands.
10989
10990 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10991
10992 * eshell/em-term.el (eshell-visual-command-p): New function.
10993 (eshell-term-initialize): Move long lambda to separate function
10994 eshell-visual-command-p.
10995 * eshell/em-dirs.el (eshell-dirs-initialize):
10996 * eshell/em-script.el (eshell-script-initialize):
10997 Add missing #' to lambda.
10998
10999 2013-06-08 Leo Liu <sdl.web@gmail.com>
11000
11001 * progmodes/octave.el (octave-add-log-current-defun): New function.
11002 (octave-mode): Set add-log-current-defun-function.
11003 (octave-goto-function-definition): Do not move point if not found.
11004 (octave-find-definition): Enhance to try subfunctions first.
11005
11006 2013-06-08 Glenn Morris <rgm@gnu.org>
11007
11008 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11009 (byte-compile-backward-char, byte-compile-backward-word):
11010 Improve previous change, to handle non-explicit nil.
11011
11012 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11015 (smie--opener/closer-at-point): New function.
11016 (smie--matching-block-data): Use it. Don't match from right after an
11017 opener or right before a closer. Obey smie-blink-matching-inners.
11018 Don't signal a mismatch for repeated inners like "switch..case..case".
11019
11020 2013-06-07 Leo Liu <sdl.web@gmail.com>
11021
11022 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11023 to t. (Bug#14303)
11024 (octave-function-header-regexp): Fix. (Bug#14570)
11025 (octave-help-mode-finish-hook, octave-help-mode-finish):
11026 Remove. Just use temp-buffer-show-hook.
11027
11028 * newcomment.el (comment-search-backward): Revert last change.
11029 (Bug#14434)
11030
11031 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11032
11033 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11034
11035 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11036 through xargs, to avoid failure due to MS-Windows limitations on
11037 command-line length.
11038
11039 2013-06-06 Glenn Morris <rgm@gnu.org>
11040
11041 * font-lock.el (lisp-font-lock-keywords-2):
11042 Treat user-error like error.
11043
11044 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11045 (byte-compile-backward-char, byte-compile-backward-word):
11046 Handle explicit nil arguments. (Bug#14565)
11047
11048 2013-06-05 Alan Mackenzie <acm@muc.de>
11049
11050 * isearch.el (isearch-allow-prefix): New user option.
11051 (isearch-other-meta-char): Don't exit isearch when a prefix
11052 argument is typed whilst `isearch-allow-prefix' is non-nil.
11053 (Bug#9706)
11054
11055 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 * autorevert.el (auto-revert-notify-handler): Use memq.
11058 Hide assertion failure.
11059
11060 * skeleton.el: Use cl-lib.
11061 (skeleton-further-elements): Use defvar-local.
11062 (skeleton-insert): Use cl-progv.
11063
11064 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11065
11066 * progmodes/prog-mode.el (prog-prettify-symbols)
11067 (prog-prettify-install): Update docstrings.
11068
11069 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11070
11071 * simple.el: Move all the prog-mode code to prog-mode.el.
11072 * progmodes/prog-mode.el: New file.
11073 * loadup.el: Add prog-mode.el.
11074
11075 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11076
11077 * simple.el (prog-prettify-symbols): Add version.
11078 (prog-prettify-install): Add convenience function to prettify symbols.
11079
11080 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11081 (perl--augmented-font-lock-keywords-1)
11082 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11083 variables and use it.
11084
11085 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11086 (cfengine3-mode): Remove unneeded variable and use it.
11087
11088 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11089 (lisp--augmented-font-lock-keywords-1)
11090 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11091 Remove unneeded variables and use it.
11092
11093 2013-06-05 João Távora <joaotavora@gmail.com>
11094
11095 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11096 to point when opening the connection. (Bug#14380)
11097
11098 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11099
11100 * subr.el (load-history-regexp, load-history-filename-element)
11101 (eval-after-load, after-load-functions, do-after-load-evaluation)
11102 (eval-next-after-load, display-delayed-warnings)
11103 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11104 definition of save-match-data.
11105 (overriding-local-map): Remove accidental obsolescence declaration.
11106
11107 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11108
11109 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11110
11111 Generalize symbol prettify support to prog-mode and implement it
11112 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11113 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11114 (prog--prettify-font-lock-compose-symbol)
11115 (prog-prettify-font-lock-symbols-keywords): New variables and
11116 functions to support symbol prettification.
11117 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11118 (lisp--augmented-font-lock-keywords-1)
11119 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11120 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11121 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11122 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11123 Implement prettify of -> => :: strings.
11124 * progmodes/perl-mode.el (perl-prettify-symbols)
11125 (perl--font-lock-compose-symbol)
11126 (perl--font-lock-symbols-keywords): Move to prog-mode.
11127 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11128 (perl-font-lock-keywords-1)
11129 (perl-font-lock-keywords-2): Remove explicit prettify support.
11130 (perl--augmented-font-lock-keywords)
11131 (perl--augmented-font-lock-keywords-1)
11132 (perl--augmented-font-lock-keywords-2, perl-mode):
11133 Implement prettify support.
11134
11135 2013-06-05 Leo Liu <sdl.web@gmail.com>
11136
11137 Re-implement SMIE matching block highlight using
11138 show-paren-data-function. (Bug#14395)
11139 * emacs-lisp/smie.el (smie-matching-block-highlight)
11140 (smie--highlight-matching-block-overlay)
11141 (smie--highlight-matching-block-lastpos)
11142 (smie-highlight-matching-block)
11143 (smie-highlight-matching-block-mode): Remove.
11144 (smie--matching-block-data-cache): New variable.
11145 (smie--matching-block-data): New function.
11146 (smie-setup): Use smie--matching-block-data for
11147 show-paren-data-function.
11148
11149 * progmodes/octave.el (octave-mode-menu): Fix.
11150 (octave-find-definition): Skip garbage lines.
11151
11152 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 Fix compilation error with simultaneous dynamic+lexical scoping.
11155 Add warning when a defvar appears after the first let-binding.
11156 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11157 (byte-compile-close-variables): Initialize it.
11158 (byte-compile--declare-var): New function.
11159 (byte-compile-file-form-defvar)
11160 (byte-compile-file-form-define-abbrev-table)
11161 (byte-compile-file-form-custom-declare-variable): Use it.
11162 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11163 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11164 (byte-compile-bind): Handle dynamic bindings that shadow
11165 lexical bindings.
11166 (byte-compile-unbind): Make arg non-optional.
11167 (byte-compile-let): Simplify.
11168 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11169 (cconv--analyse-function, cconv-analyse-form): Populate it.
11170 Protect byte-compile-bound-variables to limit the scope of defvars.
11171 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11172 Remove unneeded rule for `declare'.
11173
11174 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11175 so as to avoid depending on cl-adjoin at run-time.
11176 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11177
11178 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11179 (macroexp--warn-and-return): Use it.
11180
11181 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11182
11183 * subr.el: Convert to lexical binding.
11184 (overriding-local-map): Make obsolete.
11185 (add-to-list): Doc fix. Add compiler macro.
11186 (read-key): Swap values of local maps.
11187
11188 2013-06-05 Leo Liu <sdl.web@gmail.com>
11189
11190 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11191
11192 2013-06-04 Leo Liu <sdl.web@gmail.com>
11193
11194 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11195 (compilation-auto-jump): Suppress the "Mark set" message to give
11196 way to exit message.
11197
11198 2013-06-04 Alan Mackenzie <acm@muc.de>
11199
11200 Remove faulty optimisation from indentation calculation.
11201 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11202 search limit based on 2000 characters back from indent-point.
11203
11204 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11205
11206 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11207
11208 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * emacs-lisp/lisp.el: Use lexical-binding.
11211 (lisp--local-variables-1, lisp--local-variables): New functions.
11212 (lisp--local-variables-completion-table): New var.
11213 (lisp-completion-at-point): Use it complete let-bound vars.
11214
11215 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11216 eagerly (bug#14422).
11217
11218 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11219
11220 * autorevert.el (auto-revert-notify-enabled)
11221 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11222 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11223 (auto-revert-notify-handler): Handle also gfilenotify.
11224
11225 * subr.el (file-notify-handle-event): New defun. Replacing ...
11226 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11227 Remove.
11228
11229 2013-06-03 Juri Linkov <juri@jurta.org>
11230
11231 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11232 `M-s h .'. (Bug#14427)
11233
11234 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11235 command `hi-lock-face-symbol-at-point'.
11236 (hi-lock-face-symbol-at-point): New command.
11237 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11238 (hi-lock-menu): Add `highlight-symbol-at-point'.
11239 (hi-lock-mode): Doc fix.
11240
11241 * isearch.el (isearch-forward-symbol-at-point): New command.
11242 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11243 (isearch-highlight-regexp): Add a regexp which matches
11244 words/symbols for word/symbol mode.
11245
11246 * subr.el (find-tag-default-bounds): New function with the body
11247 mostly moved from `find-tag-default'.
11248 (find-tag-default): Move most code to `find-tag-default-bounds',
11249 call it and apply `buffer-substring-no-properties' afterwards.
11250
11251 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11252
11253 * eshell/em-term.el (eshell-term-initialize):
11254 Use `cl-intersection' rather than `intersection'.
11255
11256 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11257
11258 * vc/log-view.el: Doc fix.
11259 (log-view-mode-map): Copy keymap from `special-mode-map'.
11260
11261 2013-06-02 Eric Ludlam <zappo@gnu.org>
11262
11263 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11264 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11265 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11266 (eieio-unbound, eieio-default-superclass)
11267 (eieio--define-field-accessors, method-static, method-before)
11268 (method-primary, method-after, method-num-lists)
11269 (method-generic-before, method-generic-primary)
11270 (method-generic-after, method-num-slots)
11271 (eieio-specialized-key-to-generic-key)
11272 (eieio--check-type, class-v, class-p)
11273 (eieio-class-name, define-obsolete-function-alias)
11274 (eieio-class-parents-fast, eieio-class-children-fast)
11275 (same-class-fast-p, class-constructor, generic-p)
11276 (generic-primary-only-p, generic-primary-only-one-p)
11277 (class-option-assoc, class-option, eieio-object-p)
11278 (class-abstract-p, class-method-invocation-order)
11279 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11280 (eieio-class-un-autoload, eieio-defclass)
11281 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11282 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11283 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11284 (eieio-defgeneric-reset-generic-form)
11285 (eieio-defgeneric-form-primary-only)
11286 (eieio-defgeneric-reset-generic-form-primary-only)
11287 (eieio-defgeneric-form-primary-only-one)
11288 (eieio-defgeneric-reset-generic-form-primary-only-one)
11289 (eieio-unbind-method-implementations)
11290 (eieio--defmethod, eieio--typep)
11291 (eieio-perform-slot-validation, eieio-validate-slot-value)
11292 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11293 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11294 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11295 (eieio-slot-name-index, eieio-class-slot-name-index)
11296 (eieio-set-defaults, eieio-initarg-to-attribute)
11297 (eieio-attribute-to-initarg, eieio-c3-candidate)
11298 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11299 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11300 (eieio-class-precedence-list, eieio-generic-call-methodname)
11301 (eieio-generic-call-arglst, eieio-generic-call-key)
11302 (eieio-generic-call-next-method-list)
11303 (eieio-pre-method-execution-functions, eieio-generic-call)
11304 (eieio-generic-call-primary-only, eieiomt-method-list)
11305 (eieiomt-optimizing-obarray, eieiomt-install)
11306 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11307 (eieio-generic-form, eieio-defmethod, make-obsolete)
11308 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11309 (defclass): Remove `eval-and-compile' from macro.
11310 (call-next-method, shared-initialize): Instead of using
11311 `scoped-class' variable, use new eieio--scoped-class, and
11312 eieio--with-scoped-class.
11313 (initialize-instance): Rename local variable 'scoped-class' to
11314 'this-class' to remove ambiguitity from old global.
11315
11316 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11317 eieio.el.
11318 (eieio--scoped-class-stack): New variable.
11319 (eieio--scoped-class): New fcn.
11320 (eieio--with-scoped-class): New scoping macro.
11321 (eieio-defclass): Use pushnew instead of add-to-list.
11322 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11323 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11324 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11325 `scoped-class' variable, use new eieio--scoped-class, and
11326 eieio--with-scoped-class.
11327
11328 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11329
11330 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11331
11332 * eshell/esh-ext.el (eshell-external-command): Pass args to
11333 `eshell-find-interpreter'.
11334 (eshell-find-interpreter): Add new second parameter ARGS.
11335
11336 * eshell/em-script.el (eshell-script-initialize): Add second arg
11337 to the function added as MATCH to `eshell-interpreter-alist'.
11338
11339 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11340 the function added as MATCH to `eshell-interpreter-alist'.
11341
11342 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11343 (eshell-visual-options): New defcustom.
11344 (eshell-escape-control-x): Adapt docstring.
11345 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11346 `eshell-visual-options' in addition to `eshell-visual-commands'.
11347 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11348
11349 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11350
11351 * progmodes/python.el (python-indent-block-enders): Add break,
11352 continue and raise keywords.
11353
11354 2013-06-01 Glenn Morris <rgm@gnu.org>
11355
11356 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11357
11358 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11359 * progmodes/cc-cmds.el (delete-forward-p):
11360 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11361 * progmodes/cc-engine.el (buffer-syntactic-context):
11362 * progmodes/cc-fonts.el (face-property-instance):
11363 * progmodes/cc-mode.el (set-keymap-parents):
11364 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11365 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11366 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11367 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11368 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11369
11370 * progmodes/cc-vars.el (other): Emacs has this widget since
11371 at least 21.1, so don't (re)define it.
11372
11373 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11374 Replace the obsolete alias pcomplete-arg-quote-list.
11375
11376 2013-06-01 Leo Liu <sdl.web@gmail.com>
11377
11378 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11379 punctuation syntax.
11380 (inferior-octave-minimal-columns)
11381 (inferior-octave-last-column-width): New variables.
11382 (inferior-octave-track-window-width-change): New function.
11383 (inferior-octave-mode): Adjust column width so that Octave output,
11384 for example from 'ls', can fit into the window nicely.
11385
11386 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11387
11388 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11389 Highlight expansions inside regexp literals.
11390
11391 2013-05-31 Glenn Morris <rgm@gnu.org>
11392
11393 * obsolete/sym-comp.el (symbol-complete):
11394 Replace obsolete completion-annotate-function.
11395
11396 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11397
11398 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11399
11400 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11401 New function, checks if point is inside a literal that allows
11402 expression expansion.
11403 (ruby-syntax-propertize-expansion): Use it.
11404 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11405 around the body.
11406
11407 2013-05-30 Juri Linkov <juri@jurta.org>
11408
11409 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11410 to "\M-si".
11411 (isearch-invisible): New variable.
11412 (isearch-forward): Doc fix.
11413 (isearch-mode): Set `isearch-invisible'
11414 to the value of `search-invisible'.
11415 (isearch-toggle-case-fold): Doc fix.
11416 (isearch-toggle-invisible): New command.
11417 (isearch-query-replace): Let-bind `search-invisible'
11418 to the value of `isearch-invisible'.
11419 (isearch-search): Use `isearch-invisible' instead of
11420 `search-invisible'. Let-bind `search-invisible'
11421 to the value of `isearch-invisible'. (Bug#11378)
11422
11423 2013-05-30 Juri Linkov <juri@jurta.org>
11424
11425 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11426 call when `query-flag' is nil and `search-invisible' is non-nil.
11427 (Bug#11746)
11428
11429 2013-05-30 Glenn Morris <rgm@gnu.org>
11430
11431 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11432
11433 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11434 (cc-require): Suppress spurious "noruntime" warnings.
11435 (cc-require-when-compile): Use fboundp, for sake of compiler.
11436
11437 * progmodes/cc-mode.el: Move load of cc-vars before that of
11438 cc-langs (which in turn loads cc-vars), to quieten compiler.
11439
11440 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * paren.el: Simplify the code.
11443 (show-paren-mode): Always start the timer.
11444 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11445 (show-paren--overlay, show-paren--overlay-1): Rename from
11446 show-paren-overlay and show-paren-overlay-1, and initialize to an
11447 overlay rather than to nil.
11448 (show-paren-function): Misc cleanup and simplifications.
11449
11450 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11451
11452 * paren.el (show-paren-data-function): New hook.
11453 (show-paren--default): New function, extracted from show-paren-function.
11454 (show-paren-function): Use show-paren-data-function.
11455
11456 2013-05-30 Glenn Morris <rgm@gnu.org>
11457
11458 * ielm.el (ielm-map, ielm-complete-symbol):
11459 Use completion-at-point rather than obsolete functions.
11460 (inferior-emacs-lisp-mode): Doc fix.
11461 Set completion-at-point-functions, rather than
11462 comint-dynamic-complete-functions.
11463
11464 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11465 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11466 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11467
11468 * image.el (image-animated-p): Tweak definition.
11469
11470 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11471 (rlogin-process-connection-type): Tweak default. Add set-after.
11472 (rlogin-host): Doc fix.
11473 (rlogin): Tweak prompt.
11474 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11475
11476 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11477 * progmodes/tcl.el (inferior-tcl-mode-map):
11478 Use completion-at-point rather than obsolete alias.
11479
11480 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11481
11482 * minibuffer.el (read-file-name-completion-ignore-case):
11483 Move before completion--in-region, for eager macro expansion.
11484
11485 2013-05-29 Juri Linkov <juri@jurta.org>
11486
11487 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11488 for total count of matching lines. Add `global-matches' for total
11489 count of matches. Rename `matches' to `lines' for count of
11490 matching lines. Add `matches' for count of matches.
11491 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11492 to `prev-line' for line number of prev match endpt.
11493 Increment `matches' for every match. Print the number of
11494 matching lines in the header.
11495 (occur-context-lines): Rename `lines' to `curr-line'.
11496 Rename `prev-lines' to `prev-line'. (Bug#14017)
11497
11498 2013-05-29 Juri Linkov <juri@jurta.org>
11499
11500 * replace.el (perform-replace): Add `skip-read-only-count',
11501 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11502 Increment them for corresponding conditions and report the number
11503 of skipped occurrences in the final message. (Bug#11746)
11504 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11505 (replace-string, replace-regexp): Doc fix.
11506
11507 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11508
11509 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11510
11511 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11512 prog-mode-map (bug#14504).
11513
11514 2013-05-29 Leo Liu <sdl.web@gmail.com>
11515
11516 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11517 (octave-help): Small simplification.
11518
11519 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11520 off the highlight first.
11521
11522 2013-05-29 Glenn Morris <rgm@gnu.org>
11523
11524 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11525 Handle idlwave-last-system-routine-info-cons-cell being nil.
11526
11527 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11528 (idlwave-write-paths): Simplify via with-temp-buffer.
11529
11530 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11531 * emulation/cua-rect.el: Also load cua-base at run time.
11532
11533 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11534 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11535 (cperl-imenu-on-info): Require imenu.
11536
11537 2013-05-28 Alan Mackenzie <acm@muc.de>
11538
11539 Handle "capitalised keywords" correctly.
11540 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11541
11542 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11543
11544 * eshell/em-unix.el: Add -r option to cp.
11545
11546 2013-05-28 Glenn Morris <rgm@gnu.org>
11547
11548 * vc/vc-arch.el (vc-exec-after): Declare.
11549 (vc-switches): Autoload.
11550 * vc/vc-bzr.el: No need to require vc when compiling.
11551 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11552 (vc-resynch-buffer, vc-dir-refresh): Declare.
11553 (vc-setup-buffer, vc-switches): Autoload.
11554 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11555 (vc-resynch-buffer): Declare.
11556 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11557 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11558 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11559 (grep-read-regexp, grep-read-files, grep-expand-template)
11560 (vc-dir-refresh): Declare.
11561 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11562 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11563 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11564 * vc/vc-mtn.el (vc-exec-after): Declare.
11565 (vc-switches): Autoload.
11566 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11567 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11568 (vc-file-tree-walk): Declare.
11569 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11570 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11571 (vc-tag-precondition, vc-rename-master): Autoload.
11572 * vc/vc-svn.el (vc-exec-after): Declare.
11573 (vc-switches, vc-setup-buffer): Autoload.
11574 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11575 Autoload.
11576 (vc-resynch-buffer): Declare.
11577
11578 * obsolete/fast-lock.el (byte-compile-warnings):
11579 Don't warn about obsolete features in this obsolete file.
11580
11581 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11582 Move definition before use.
11583
11584 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11585 (dun-unix-verbs): Remove dun-zippy.
11586 (dun-zippy): Remove function.
11587
11588 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11589
11590 2013-05-27 Juri Linkov <juri@jurta.org>
11591
11592 * replace.el (replace-search): New function with code moved out
11593 from `perform-replace'.
11594 (replace-highlight, replace-dehighlight): Move function definitions
11595 up closer to `replace-search'. (Bug#11746)
11596
11597 2013-05-27 Juri Linkov <juri@jurta.org>
11598
11599 * replace.el (perform-replace): Ignore invisible matches.
11600 In addition to checking `query-replace-skip-read-only', also
11601 filter out matches by calling `run-hook-with-args-until-failure'
11602 on `isearch-filter-predicates', and also check `search-invisible'
11603 for t or call `isearch-range-invisible'.
11604 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11605
11606 2013-05-27 Juri Linkov <juri@jurta.org>
11607
11608 * isearch.el (isearch-filter-predicates): Rename from
11609 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11610 (isearch-message-prefix): Display text from the property
11611 `isearch-message-prefix' of the currently active filters.
11612 (isearch-search): Don't compare `isearch-filter-predicate' with
11613 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11614 on `isearch-filter-predicates'. Also check `search-invisible' for t
11615 or call `isearch-range-invisible'.
11616 (isearch-filter-visible): Make obsolete.
11617 (isearch-lazy-highlight-search):
11618 Call `run-hook-with-args-until-failure' on
11619 `isearch-filter-predicates' and use `isearch-range-invisible'.
11620
11621 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11622 `isearch-filter-predicates' instead of `funcall'ing
11623 `isearch-filter-predicate'.
11624 (Info-mode): Set `Info-isearch-filter' to
11625 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11626
11627 * dired-aux.el (dired-isearch-filter-predicate-orig):
11628 Remove variable.
11629 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11630 (dired-isearch-filenames-end): Add and remove
11631 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11632 instead of changing the value of `isearch-filter-predicate'.
11633 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11634 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11635 Put property `isearch-message-prefix' to "filename " on
11636 `dired-isearch-filter-filenames'.
11637
11638 * wdired.el (wdired-change-to-wdired-mode):
11639 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11640 locally instead of changing `isearch-filter-predicate'.
11641 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11642
11643 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11644
11645 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11646 return the commit hash (Bug#14459). Also set the
11647 `vc-git-detached' property.
11648 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11649 (vc-git-mode-line-string): Use the same help-echo format whether
11650 in detached mode or not, because we know the actual revision now.
11651 When in detached mode, shorten the revision to 7 chars.
11652
11653 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11654
11655 * emacs-lisp/easy-mmode.el (define-minor-mode):
11656 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11657 mode hook and provide a docstring.
11658
11659 2013-05-27 Alan Mackenzie <acm@muc.de>
11660
11661 Remove spurious syntax-table text properties inserted by C-y.
11662 * progmodes/cc-mode.el (c-after-change): Also clear hard
11663 syntax-table property with value nil.
11664
11665 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11666
11667 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11668 when reading the events; the buffer layout shall not be changed.
11669
11670 2013-05-27 Leo Liu <sdl.web@gmail.com>
11671
11672 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11673 New variable.
11674 (inferior-octave-directory-tracker): Automatically re-sync
11675 default-directory.
11676 (octave-help): Improve handling of 'See also'.
11677
11678 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11679
11680 * doc-view.el: Minor naming convention tweaks.
11681 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11682
11683 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11684 even if there's no `display' property yet (bug#14435).
11685
11686 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11687
11688 * subr.el (unmsys--file-name): Rename from reveal-filename.
11689
11690 * Makefile.in (custom-deps, finder-data, autoloads)
11691 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11692 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11693 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11694
11695 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11698 error-completion on the first 2 args of condition-case (bug#14446).
11699 Don't burp at EOB.
11700
11701 2013-05-25 Leo Liu <sdl.web@gmail.com>
11702
11703 * comint.el (comint-previous-matching-input): Do not flood the
11704 *Messages* buffer with trivial messages.
11705
11706 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11707
11708 * progmodes/flymake.el (flymake-nop): Don't return a string.
11709 (flymake-set-at): Fix typo.
11710
11711 * simple.el (read--expression): New function, extracted from
11712 eval-expression. Set completion-at-point-functions (bug#14465).
11713 (eval-expression, eval-minibuffer): Use it.
11714
11715 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11716
11717 * progmodes/flymake.el (flymake-save-buffer-in-file)
11718 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11719 (flymake-selected-frame, flymake-log, flymake-ins-after)
11720 (flymake-set-at, flymake-get-buildfile-from-cache)
11721 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11722 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11723 Refine the doc string.
11724 (flymake-get-file-name-mode-and-masks): Reformat.
11725 (flymake-get-real-file-name-function): Fix a minor bug.
11726
11727 2013-05-24 Juri Linkov <juri@jurta.org>
11728
11729 * progmodes/grep.el (grep-mode-font-lock-keywords):
11730 Support =linenumber= format used by git-grep for lines with
11731 function names. (Bug#13549)
11732
11733 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11734
11735 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11736 0 after a semi-colon; it works better for smie-auto-fill.
11737 (octave--indent-new-comment-line): New function.
11738 (octave-indent-new-comment-line): Use it (indirectly).
11739 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11740 modify comment-line-break-function.
11741
11742 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11743 (smie-setup): Use add-function to set it.
11744
11745 2013-05-24 Sam Steingold <sds@gnu.org>
11746
11747 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11748 argument (before the `interactive' argument).
11749
11750 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11751
11752 * image-mode.el (image-mode-winprops): Add winprops to
11753 image-mode-winprops-alist before running
11754 image-mode-new-window-functions.
11755 * doc-view.el (doc-view-new-window-function): Don't delay
11756 doc-view-goto-page via timers (bug#14435).
11757
11758 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11759
11760 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11761 (doc-view-desktop-save-buffer): New function.
11762 (doc-view-restore-desktop-buffer): New function.
11763 (desktop-buffer-mode-handlers):
11764 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11765 handler.
11766 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11767 `desktop-save-buffer' function.
11768
11769 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11770
11771 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11772 (tramp-gvfs-file-name-handler): Raise a user error when
11773 `tramp-gvfs-enabled' is nil.
11774 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11775 Do not raise a user error when loading package. (Bug#14447)
11776
11777 * net/xesam.el: Move to obsolete/.
11778
11779 2013-05-24 Glenn Morris <rgm@gnu.org>
11780
11781 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11782
11783 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11784
11785 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11786 (Info-find-node, Man-getpage-in-background): Declare.
11787
11788 * mail/unrmail.el (unrmail):
11789 Replace obsolete detect-coding-with-priority.
11790
11791 * net/socks.el (socks-split-string): Use this rather than split-string.
11792 (socks-nslookup-host): Update for above change.
11793 (dynamic-choice, s5-dynamic-choice-match)
11794 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11795 Comment out unused code.
11796
11797 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11798 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11799 (gud-tooltip-echo-area): Make obsolete.
11800 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11801
11802 * progmodes/js.el (js--optimize-arglist): Declare.
11803
11804 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11805
11806 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11807 (ediff-window-C): Declare.
11808
11809 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11810 Tweak requires to silence compiler.
11811
11812 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11813 (he-search-string, he-tried-table, he-expand-list)
11814 (he-init-string, he-string-member, he-substitute-string)
11815 (he-reset-string): Declare.
11816
11817 * obsolete/options.el (list-options): Use custom-variable-p,
11818 rather than obsolete alias.
11819
11820 2013-05-23 Sam Steingold <sds@gnu.org>
11821
11822 * simple.el (shell-command-on-region): Pass the `replace' argument
11823 down to `call-process-region' to comply with the doc as reported on
11824 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11825
11826 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * emacs-lisp/smie.el (smie-indent-forward-token)
11829 (smie-indent-backward-token): Handle string tokens (bug#14381).
11830
11831 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11832
11833 * ielm.el (ielm-menu): New menu.
11834 (inferior-emacs-lisp-mode): Set comment-start.
11835
11836 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11837
11838 * textmodes/reftex.el (reftex-ref-style-toggle):
11839 Fix deactivate action.
11840
11841 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11842 Add cleveref macros.
11843
11844 * textmodes/reftex-parse.el
11845 (reftex-locate-bibliography-files): Accept options for
11846 bibliography commands.
11847 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11848 Add addbibresource. Basic Biblatex support.
11849
11850 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11851
11852 * net/tramp-gvfs.el (top):
11853 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11854 when loading package. (Bug#14447)
11855
11856 2013-05-23 Glenn Morris <rgm@gnu.org>
11857
11858 * progmodes/js.el: No need to load comint when compiling.
11859 (ring-insert, comint-send-string, comint-send-input)
11860 (comint-last-input-end, ido-chop): Declare.
11861
11862 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11863 * vc/ediff-mult.el: Adjust requires.
11864 (ediff-directories-internal, ediff-directory-revisions-internal)
11865 (ediff-patch-file-internal): Declare.
11866 * vc/ediff-ptch.el: Adjust requires.
11867 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11868 (ediff-find-file): Autoload.
11869 * vc/ediff-util.el: No need to load ediff when compiling.
11870 (ediff-regions-internal): Declare.
11871 * vc/ediff-wind.el: Adjust requires.
11872 (ediff-compute-toolbar-width): Define when compiling.
11873 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11874 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11875 (dired-get-filename, dired-get-marked-files)
11876 (ediff-last-dir-patch, ediff-patch-default-directory)
11877 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11878 (ediff-patch-buffer-internal): Declare.
11879
11880 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11881 (ispell-process, ispell-buffer-local-words, lm-summary)
11882 (lm-section-start, lm-section-end): Declare.
11883 (checkdoc-ispell-init): Simplify.
11884
11885 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11886 (he-string-member, he-reset-string, he-substitute-string): Declare.
11887
11888 * eshell/em-ls.el: Adjust requires.
11889 (eshell-glob-regexp): Declare.
11890 * eshell/em-tramp.el: Adjust requires.
11891 (eshell-parse-command): Autoload.
11892 * eshell/em-xtra.el: Adjust requires.
11893 (eshell-parse-command): Autoload.
11894 * eshell/esh-ext.el: Adjust requires.
11895 (eshell-parse-command, eshell-close-handles): Autoload.
11896 * eshell/esh-io.el: Adjust requires.
11897 (eshell-output-filter): Autoload.
11898 * eshell/esh-util.el: No need to load tramp when compiling.
11899 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11900 Declare.
11901 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11902 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11903 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11904 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11905 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11906 * eshell/esh-opt.el, eshell/esh-proc.el:
11907 * eshell/esh-var.el: Adjust requires.
11908 * eshell/eshell.el: Do not require esh-util twice.
11909 (eshell-add-input-to-history): Declare.
11910 (eshell-command): Check history module is active before using it.
11911
11912 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11913
11914 2013-05-22 Leo Liu <sdl.web@gmail.com>
11915
11916 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11917
11918 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11919
11920 * autorevert.el (auto-revert-notify-add-watch)
11921 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11922 it indicates changes in file modification time.
11923
11924 2013-05-22 Glenn Morris <rgm@gnu.org>
11925
11926 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11927 Always delete the autoloaded function from the noruntime and
11928 unresolved functions lists.
11929
11930 * allout.el: No need to load epa, epg, overlay when compiling.
11931 (epg-context-set-passphrase-callback, epg-list-keys)
11932 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11933 (epg-key-user-id-list): Declare.
11934
11935 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11936 (viper-set-parsing-style-toggling-macro)
11937 (viper-set-emacs-state-searchstyle-macros):
11938 Use called-interactively-p on Emacs.
11939 (viper-looking-back): Make it an obsolete alias. Update callers.
11940 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11941 Use looking-back rather than viper-looking-back.
11942 (viper-tmp-insert-at-eob, viper-enlarge-region)
11943 (viper-read-string-with-history, viper-register-to-point)
11944 (viper-append-to-register, viper-change-state-to-vi)
11945 (viper-backward-char-carefully, viper-forward-char-carefully)
11946 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11947 (viper-change-state-to-emacs): Declare.
11948 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11949 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11950 * emulation/viper-mous.el: Do not load viper-cmd.
11951 (viper-backward-char-carefully, viper-forward-char-carefully)
11952 (viper-forward-word, viper-adjust-window): Declare.
11953
11954 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11955
11956 * progmodes/idlw-help.el (idlwave-help-fontify):
11957 Use called-interactively-p.
11958
11959 * term/w32console.el (w32-get-console-codepage)
11960 (w32-get-console-output-codepage): Declare.
11961
11962 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11963 Remove unnecessary declarations.
11964 (dframe-message): Doc fix.
11965
11966 * info.el (dframe-select-attached-frame, dframe-current-frame):
11967 Declare.
11968
11969 * speedbar.el (speedbar-message): Make it an obsolete alias.
11970 Update all callers.
11971 (speedbar-with-attached-buffer)
11972 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11973 (speedbar-with-writable): Use backquote.
11974 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11975 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11976 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11977 rather than speedbar- aliases.
11978 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11979 (speedbar-make-specialized-keymap, speedbar-insert-button)
11980 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11981 (speedbar-do-function-pointer): Declare.
11982 (rmail-speedbar-button, rmail-speedbar-find-file)
11983 (rmail-speedbar-move-message):
11984 Use dframe-with-attached-buffer rather than speedbar- alias.
11985 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11986 (dframe-message, speedbar-make-specialized-keymap)
11987 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11988 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11989 (speedbar-insert-button, dframe-select-attached-frame)
11990 (dframe-maybee-jump-to-attached-frame)
11991 (speedbar-change-initial-expansion-list)
11992 (speedbar-previously-used-expansion-list-name): Declare.
11993 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11994 Use dframe-message, dframe-with-attached-buffer rather than
11995 speedbar- aliases.
11996 (gud-sentinel): Silence compiler.
11997 * progmodes/vhdl-mode.el (speedbar-refresh)
11998 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11999 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12000 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12001 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12002 (speedbar-file-lists, speedbar-make-tag-line)
12003 (speedbar-line-directory, speedbar-goto-this-file)
12004 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12005 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12006 (speedbar-make-button, speedbar-reset-scanners)
12007 (speedbar-files-item-info, speedbar-line-text)
12008 (speedbar-find-file-in-frame, speedbar-set-timer)
12009 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12010 (speedbar-with-writable): Do not (re)define it.
12011 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12012 rather than speedbar- alias.
12013
12014 2013-05-21 Leo Liu <sdl.web@gmail.com>
12015
12016 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12017 menu items.
12018 (octave-mode): Tweak fill-nobreak-predicate.
12019 (inferior-octave-startup): Check process to avoid infinite loop.
12020 (inferior-octave): Pop to buffer first to show abornmal process
12021 exit information.
12022
12023 2013-05-21 Glenn Morris <rgm@gnu.org>
12024
12025 * printing.el (pr-menu-bar): Define when compiling.
12026
12027 2013-05-21 Leo Liu <sdl.web@gmail.com>
12028
12029 * progmodes/octave.el (octave-auto-fill): Remove.
12030 (octave-indent-new-comment-line): Improve.
12031 (octave-mode): Use auto fill mode through
12032 comment-line-break-function and fill-nobreak-predicate.
12033 (octave-goto-function-definition): Support DEFUN_DLD.
12034 (octave-beginning-of-defun): Small tweak.
12035 (octave-help): Show parent directory.
12036
12037 2013-05-21 Glenn Morris <rgm@gnu.org>
12038
12039 * files.el (dired-unmark):
12040 * progmodes/gud.el (gdb-input): Update declarations.
12041
12042 * calculator.el (electric, ehelp): No need to load when compiling.
12043 (Electric-command-loop, electric-describe-mode): Declare.
12044
12045 * doc-view.el (doc-view-current-converter-processes): Move before use.
12046
12047 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12048 Move MODE-set-explicitly definition before use.
12049
12050 * international/mule-diag.el (mule-diag):
12051 Don't use obsolete window-system-version.
12052
12053 * mail/feedmail.el (smtpmail): No need to load when compiling.
12054 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12055
12056 * mail/mail-utils.el (rfc822): No need to load when compiling.
12057 (rfc822-addresses): Autoload it.
12058 (mail-strip-quoted-names): Trivial simplification.
12059
12060 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12061 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12062
12063 * net/snmp-mode.el (tempo): Don't duplicate requires.
12064
12065 * progmodes/prolog.el (info): No need to load when compiling.
12066 (comint): Require before shell requires it.
12067 (Info-goto-node): Autoload it.
12068 (Info-follow-nearest-node): Declare.
12069 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12070
12071 * textmodes/artist.el (picture-mode-exit): Declare.
12072
12073 * textmodes/reftex-parse.el (reftex-parse-from-file):
12074 Trivial rewrite so the compiler can parse it better.
12075
12076 2013-05-20 Leo Liu <sdl.web@gmail.com>
12077
12078 * progmodes/octave.el (octave-help-mode-map)
12079 (octave-help-mode-finish-hook): New variables.
12080 (octave-help-mode, octave-help-mode-finish): New functions.
12081 (octave-help): Use octave-help-mode.
12082
12083 2013-05-20 Glenn Morris <rgm@gnu.org>
12084
12085 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12086
12087 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12088
12089 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12090 start at point, so that expansion starting right after opening
12091 slash in a regexp is recognized.
12092 (ruby-syntax-before-regexp-re): New defvar, extracted from
12093 ruby-syntax-propertize-function. Since the value of this regexp
12094 is looked up at runtime now, we should be able to turn
12095 `ruby-syntax-methods-before-regexp' into a defcustom later.
12096 (ruby-syntax-propertize-function): Split regexp matching into two
12097 parts, for opening and closing slashes. That allows us to skip
12098 over string interpolations and support multiline regexps.
12099 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12100 for them, which calls `ruby-syntax-propertize-expansion'.
12101 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12102 call to `ruby-syntax-propertize-function'.
12103 (ruby-syntax-propertize-expansion): Extracted from
12104 `ruby-syntax-propertize-expansions'. Handles one expansion.
12105 (ruby-syntax-propertize-percent-literal): Leave point right after
12106 the percent symbol, so that the expression expansion rule can
12107 propertize the contents.
12108 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12109 heredoc openers.
12110 (ruby-syntax-propertize-expansions): Remove.
12111
12112 2013-05-18 Juri Linkov <juri@jurta.org>
12113
12114 * man.el (Man-default-man-entry): Remove `-' from the end
12115 of the default value. (Bug#14400)
12116
12117 2013-05-18 Glenn Morris <rgm@gnu.org>
12118
12119 * comint.el (comint-password-prompt-regexp):
12120 Allow "password for XXX" where XXX contains colons (eg https://...).
12121
12122 2013-05-18 Leo Liu <sdl.web@gmail.com>
12123
12124 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12125 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12126 (octave-source-directories): Don't check process.
12127 (octave-source-directories, octave-find-definition): Doc fix.
12128
12129 2013-05-18 Glenn Morris <rgm@gnu.org>
12130
12131 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12132 Remove backspace/delete bindings. (Bug#14392)
12133
12134 * cus-dep.el (custom-make-dependencies): Sort the output.
12135 (custom-versions-load-alist): Convert comment to doc.
12136
12137 2013-05-17 Leo Liu <sdl.web@gmail.com>
12138
12139 * newcomment.el (comment-search-backward): Stricter in finding
12140 comment start. (Bug#14303)
12141
12142 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12143 (octave-comment-start-skip): Properly anchored.
12144
12145 2013-05-17 Leo Liu <sdl.web@gmail.com>
12146
12147 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12148 Clean up when turned off. (Bug#14395)
12149 (smie--highlight-matching-block-overlay): No longer buffer-local.
12150 (smie-highlight-matching-block): Adjust.
12151
12152 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12153
12154 Doc string fix for "nanoseconds" (Bug#14406).
12155 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12156 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12157
12158 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12159
12160 * calc/calc-units.el (math-extract-units): Preserve powers
12161 of units.
12162
12163 2013-05-17 Leo Liu <sdl.web@gmail.com>
12164
12165 * subr.el (delete-consecutive-dups): New function.
12166 * ido.el (ido-set-matches-1): Use it.
12167 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12168 * ido.el (ido-remove-consecutive-dups): Remove.
12169
12170 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12173 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12174 regexp-opt's `words'.
12175
12176 2013-05-16 Leo Liu <sdl.web@gmail.com>
12177
12178 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12179 (smie--highlight-matching-block-overlay)
12180 (smie--highlight-matching-block-lastpos)
12181 (smie--highlight-matching-block-timer): New variables.
12182 (smie-highlight-matching-block): New function.
12183 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12184 (smie-setup): Conditionally enable smie-blink-matching-open.
12185
12186 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12187
12188 Sync with upstream verilog-mode r840.
12189 * progmodes/verilog-mode.el (verilog-mode-version)
12190 (verilog-mode-release-date): Update.
12191 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12192 (verilog-sig-tieoff): Fix string error on
12193 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12194 (verilog-read-decls): Fix parameters confusing
12195 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12196
12197 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12198
12199 * subr.el (reveal-filename): New function.
12200
12201 * loadup.el: Compute Emacs executable versions on MS-Windows,
12202 where executables have the .exe extension. Add a hard link
12203 emacs-XX.YY.ZZ.exe on MS-Windows.
12204
12205 * Makefile.in (XARGS_LIMIT): New variable.
12206 (custom-deps, finder-data, autoloads)
12207 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12208 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12209 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12210 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12211
12212 2013-05-16 Leo Liu <sdl.web@gmail.com>
12213
12214 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12215 (octave-mode-menu, octave-mode-map): Remove its uses.
12216
12217 2013-05-16 Reto Zimmermann <reto@gnu.org>
12218
12219 Sync with upstream vhdl mode v3.34.2.
12220 * progmodes/vhdl-mode.el: Use `push' throughout.
12221 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12222 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12223 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12224 (vhdl-actual-generic-name): New option to derive actual generic name.
12225 (vhdl-port-paste-signals): Replace formal by actual generics.
12226 (vhdl-beautify): New name for old group vhdl-align. Update users.
12227 (vhdl-beautify-options): New option.
12228 (vhdl-last-input-event): New compat alias. Use throughout.
12229 (vhdl-goto-line): Replace user level function `goto-line'.
12230 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12231 vhdl-fix-statement-buffer.
12232 (vhdl-create-mode-menu): Add some entries.
12233 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12234 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12235 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12236 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12237 to force statements on one line.
12238 (vhdl-remove-trailing-spaces-region):
12239 New, split from vhdl-remove-trailing-spaces.
12240 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12241 Respect vhdl-beautify-options.
12242 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12243 (vhdl-update-sensitivity-list): Not add with index if exists without.
12244 Not include array index with signal. Ignore keywords in comments.
12245 (vhdl-get-visible-signals): Regexp tweaks.
12246 (vhdl-template-component-inst): Handle empty library.
12247 (vhdl-template-type): Add template for 'enum' type.
12248 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12249 Use vhdl-replace-string.
12250 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12251 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12252 (vhdl-speedbar-initialize): Update for above name change.
12253 (vhdl-compose-wire-components): Fix in handling of constants.
12254 (vhdl-error-regexp-emacs-alist): New variable.
12255 (vhdl-error-regexp-add-emacs): New function;
12256 adds support for new compile.el (Emacs 22+)
12257 (vhdl-generate-makefile-1): Change target order for single lib. units.
12258 Allow use of absolute file names.
12259
12260 2013-05-16 Leo Liu <sdl.web@gmail.com>
12261
12262 * simple.el (prog-indent-sexp): Indent enclosing defun.
12263
12264 2013-05-15 Glenn Morris <rgm@gnu.org>
12265
12266 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12267 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12268 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12269 (whitespace-highlight): Move to whitespace group.
12270
12271 * comint.el (comint-source):
12272 * pcmpl-linux.el (pcmpl-linux):
12273 * shell.el (shell-faces):
12274 * eshell/esh-opt.el (eshell-opt):
12275 * international/ccl.el (ccl): Remove empty custom groups.
12276
12277 * completion.el (dynamic-completion-mode):
12278 * jit-lock.el (jit-lock-debug-mode):
12279 * minibuffer.el (completion-in-region-mode):
12280 * type-break.el (type-break-mode-line-message-mode)
12281 (type-break-query-mode):
12282 * emulation/tpu-edt.el (tpu-edt-mode):
12283 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12284 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12285 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12286
12287 * term/xterm.el (xterm): Change parent group to terminals.
12288
12289 * master.el (master): Remove empty custom group.
12290 (master-mode): Remove unused :group argument.
12291 * textmodes/refill.el (refill): Remove empty custom group.
12292 (refill-mode): Remove unused :group argument.
12293
12294 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12295
12296 * cus-dep.el: Provide a feature.
12297 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12298 Don't mistakenly ignore files whose basenames match a basename
12299 from preloaded-file-list (eg cedet/ede/simple.el).
12300 Add a fallback method for getting :group.
12301
12302 2013-05-15 Juri Linkov <juri@jurta.org>
12303
12304 * isearch.el (isearch-char-by-name): Rename from
12305 `isearch-insert-char-by-name'. Doc fix.
12306 (isearch-forward): Mention `isearch-char-by-name' in
12307 the docstring. (Bug#13348)
12308
12309 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12310 `exit-minibuffer' instead of
12311 `isearch-nonincremental-exit-minibuffer'.
12312 (isearch-edit-string): Remove mention of
12313 `isearch-nonincremental-exit-minibuffer' from docstring.
12314 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12315 (isearch-forward-exit-minibuffer)
12316 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12317
12318 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12319
12320 * loadup.el: Just use unversioned DOC.
12321
12322 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12323 literals as extending to EOB.
12324 (nxml-last-fontify-end): Remove unused variable.
12325 (nxml-after-change1): Use with-silent-modifications.
12326 (nxml-extend-after-change-region): Simplify.
12327 (nxml-extend-after-change-region1): Remove function.
12328 (nxml-after-change1): Don't adjust for dependent regions.
12329 (nxml-fontify-matcher): Simplify.
12330 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12331 (xmltok-add-dependent): Remove function.
12332 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12333 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12334 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12335 unclosed <[[, <?, comment, and other literals as extending to EOB.
12336 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12337 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12338 Remove functions.
12339 (rng-do-some-validation-1): Don't mark dependent regions.
12340 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12341 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12342 (nxml-clear-dependent-regions): Remove functions.
12343 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12344 (nxml-ensure-scan-up-to-date):
12345 Don't clear&mark dependent regions.
12346
12347 2013-05-15 Leo Liu <sdl.web@gmail.com>
12348
12349 * progmodes/octave.el (octave-goto-function-definition):
12350 Improve and fix callers.
12351
12352 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12353
12354 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12355 the setter (bug#14387).
12356
12357 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12358 surrounding group (bug#14402).
12359
12360 2013-05-14 Juri Linkov <juri@jurta.org>
12361
12362 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12363 (Bug#14390)
12364
12365 2013-05-14 Glenn Morris <rgm@gnu.org>
12366
12367 * progmodes/f90.el (f90-imenu-generic-expression):
12368 Fix typo in 2013-05-08 change. (Bug#14402)
12369
12370 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12371
12372 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12373 Remove signals for which replies are never received.
12374
12375 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12376
12377 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12378 (gdb-handler-alist, gdb-handler-number): Remove variables.
12379 (gdb-handler-list): New variable.
12380 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12381 (gdb-pending-handler-p, gdb-handle-reply)
12382 (gdb-remove-all-pending-triggers): New functions.
12383 (gdb-discard-unordered-replies): New defcustom.
12384 (gdb-handler): New defstruct.
12385 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12386 instead of gdb-pending-triggers. Update docstring.
12387 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12388 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12389 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12390 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12391 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12392 (gdb-frame-handler): Pending triggers are now automatically managed.
12393 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12394 Remove argument.
12395 (gdb-input): Automatically handles pending triggers. Update docstring.
12396 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12397 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12398 Update comments.
12399 (gdb-done-or-error): Now use gdb-handle-reply.
12400
12401 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12402
12403 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12404 gdb-debug-log.
12405
12406 2013-05-14 Glenn Morris <rgm@gnu.org>
12407
12408 * subr.el (user-emacs-directory-warning): New option.
12409 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12410
12411 2013-05-14 Leo Liu <sdl.web@gmail.com>
12412
12413 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12414 during redisplay.
12415 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12416 (octave-font-lock-texinfo-comment): Fix invalid search bound
12417 error: wrong side of point.
12418
12419 2013-05-14 Glenn Morris <rgm@gnu.org>
12420
12421 * progmodes/flymake.el (flymake-xml-program): New option.
12422 (flymake-xml-init): Use it.
12423
12424 * term/xterm.el: Provide a feature.
12425
12426 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12427
12428 2013-05-13 Glenn Morris <rgm@gnu.org>
12429
12430 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12431 Add compat aliases as a hack workaround. (Bug#14384)
12432
12433 2013-05-13 Leo Liu <sdl.web@gmail.com>
12434
12435 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12436 ###, and %!.
12437 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12438 C-M-q.
12439 (octave-comment-start-skip): Include %!.
12440 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12441
12442 2013-05-12 Leo Liu <sdl.web@gmail.com>
12443
12444 * progmodes/octave.el (inferior-octave-startup): Store the value
12445 of __octave_srcdir__ for octave-source-directories.
12446 (inferior-octave-check-process): New function refactored out of
12447 inferior-octave-send-list-and-digest.
12448 (octave-source-directories)
12449 (octave-find-definition-filename-function): New variables.
12450 (octave-source-directories)
12451 (octave-find-definition-default-filename): New functions.
12452 (octave-find-definition): Improve to find functions implemented in C++.
12453
12454 2013-05-12 Glenn Morris <rgm@gnu.org>
12455
12456 * calendar/diary-lib.el (diary-outlook-format-1):
12457 Don't include dayname in the output. (Bug#14349)
12458
12459 2013-05-11 Glenn Morris <rgm@gnu.org>
12460
12461 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12462
12463 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12464 Treat cc-provide like provide.
12465
12466 2013-05-11 Kevin Ryde <user42@zip.com.au>
12467
12468 * cus-dep.el (custom-make-dependencies):
12469 Use generated-autoload-load-name for the sake of files such
12470 such cedet/semantic/bovine/c.el, where the base file name
12471 is not in load-path. (Bug#5277)
12472
12473 2013-05-11 Glenn Morris <rgm@gnu.org>
12474
12475 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12476 Provide features.
12477
12478 2013-05-11 Leo Liu <sdl.web@gmail.com>
12479
12480 * progmodes/octave.el (octave-indent-comment): Improve.
12481 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12482 (octave-eldoc-function-signatures, octave-eldoc-function):
12483 New functions.
12484 (octave-mode, inferior-octave-mode): Add eldoc support.
12485
12486 2013-05-11 Richard Stallman <rms@gnu.org>
12487
12488 * epa.el (epa-decrypt-file): Take output file name as argument
12489 and read it using `interactive'.
12490
12491 2013-05-11 Leo Liu <sdl.web@gmail.com>
12492
12493 * progmodes/octave.el (octave-beginning-of-line)
12494 (octave-end-of-line): Check before using up-list because it jumps
12495 out of more syntactic contructs since moving to smie.
12496 (octave-indent-comment): New function.
12497 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12498 (octave-begin-keywords, octave-end-keywords)
12499 (octave-reserved-words, octave-smie-bnf-table)
12500 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12501
12502 2013-05-11 Glenn Morris <rgm@gnu.org>
12503
12504 * faces.el (internal-face-x-get-resource):
12505 * frame.el (ns-display-monitor-attributes-list):
12506 * calc/calc-aent.el (math-to-radians-2):
12507 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12508 Fix declarations.
12509
12510 * calc/calc-menu.el: Make it loadable in isolation.
12511
12512 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12513 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12514 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12515 (eudc-bbdb-query-internal): Require 'bbdb.
12516
12517 * lpr.el (lpr-headers-switches):
12518 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12519
12520 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12521
12522 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12523
12524 * term.el (term-set-escape-char): Make it idempotent.
12525
12526 2013-05-10 Leo Liu <sdl.web@gmail.com>
12527
12528 * progmodes/octave.el (inferior-octave-completion-table):
12529 No longer a function and all uses changed. Use cache to speed up
12530 completion due to bug#11906.
12531 (octave-beginning-of-defun): Re-write to be more general.
12532
12533 2013-05-10 Glenn Morris <rgm@gnu.org>
12534
12535 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12536
12537 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12538
12539 * comint.el (comint-redirect-send-command-to-process): Use :around
12540 rather than :override for comint-redirect-filter.
12541 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12542 Call it instead of comint-redirect-original-filter-function (which
12543 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12544
12545 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12546
12547 * frame.el (display-monitor-attributes-list): Add NS case.
12548 (ns-display-monitor-attributes-list): Declare.
12549
12550 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12551
12552 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12553
12554 2013-05-09 Glenn Morris <rgm@gnu.org>
12555
12556 * international/fontset.el (vertical-centering-font-regexp):
12557 Set standard-value.
12558
12559 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12560
12561 * bookmark.el (bookmark-search-delay):
12562 * cus-start.el (vertical-centering-font-regexp):
12563 * ps-mule.el (ps-mule-font-info-database-default):
12564 * ps-print.el (ps-default-fg, ps-default-bg):
12565 * type-break.el (type-break-good-break-interval):
12566 * whitespace.el (whitespace-indentation-regexp)
12567 (whitespace-space-after-tab-regexp):
12568 * emacs-lisp/testcover.el (testcover-1value-functions)
12569 (testcover-noreturn-functions, testcover-progn-functions)
12570 (testcover-prog1-functions):
12571 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12572 * eshell/em-glob.el (eshell-glob-translate-alist):
12573 * play/tetris.el (tetris-tty-colors):
12574 * progmodes/cpp.el (cpp-face-default-list):
12575 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12576 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12577 (idlwave-help-browser-generic-args):
12578 * progmodes/make-mode.el (makefile-special-targets-list):
12579 * progmodes/python.el (python-shell-virtualenv-path):
12580 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12581 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12582 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12583 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12584 * textmodes/reftex-vars.el (reftex-format-label-function):
12585 * textmodes/remember.el (remember-diary-file): Fix custom types.
12586
12587 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12588 Add :version.
12589
12590 2013-05-09 Leo Liu <sdl.web@gmail.com>
12591
12592 * progmodes/octave.el (inferior-octave-completion-at-point):
12593 Restore file completion. (Bug#14300)
12594 (inferior-octave-startup): Fix incorrect highlighting for the
12595 first prompt.
12596
12597 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * progmodes/ruby-mode.el: First cut at SMIE support.
12600 (ruby-use-smie): New var.
12601 (ruby-smie-grammar): New constant.
12602 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12603 (ruby-smie--forward-token, ruby-smie--backward-token)
12604 (ruby-smie-rules): New functions.
12605 (ruby-mode-variables): Setup SMIE if applicable.
12606
12607 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12608
12609 * simple.el (line-move-visual): Signal beginning/end of buffer
12610 only if vertical-motion moved less than it was requested. Avoids
12611 silly incorrect error messages when there are display strings with
12612 multiple newlines at EOL.
12613
12614 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12617 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12618 (prolog-char-quote-workaround):
12619 * progmodes/cperl-mode.el (cperl-under-as-char):
12620 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12621 Mark as obsolete.
12622 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12623 their declaration.
12624 (vhdl-mode-syntax-table-init): Remove.
12625
12626 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12627 last change.
12628
12629 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12630 syntax for "_".
12631 (ld-script-font-lock-keywords):
12632 Change regexps to use things like \_< and \_>.
12633
12634 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12635 Change all regexps to use things like \_< and \_>.
12636
12637 * progmodes/autoconf.el (autoconf-definition-regexp)
12638 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12639 Handle a _ with symbol syntax.
12640 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12641
12642 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12643 Consolidate declaration.
12644 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12645 the declaration.
12646 (ada-create-syntax-table): Remove.
12647 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12648 already has the right syntax nowadays.
12649 (ada-goto-next-word): Don't change the syntax of "_".
12650
12651 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12652 with-wrapper-hook.
12653
12654 2013-05-08 Sam Steingold <sds@gnu.org>
12655
12656 * thingatpt.el (thing-at-point): Accept optional second argument
12657 NO-PROPERTIES to strip the text properties from the return value.
12658 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12659 to `thing-at-point' instead of stripping the properties ourselves.
12660 Also, when `thing-at-point' fails to find a url, prepend "http://"
12661 to the filename at point on the assumption that the user is
12662 pointing at something like gnu.org/gnu.
12663
12664 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12665
12666 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12667 * faces.el (crm-separator):
12668 Silence byte-compiler.
12669
12670 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12671 (tool-bar-map): Remove unneeded defvars.
12672
12673 2013-05-08 Leo Liu <sdl.web@gmail.com>
12674
12675 Re-work a fix for bug#10994 based on Le Wang's patch.
12676 * ido.el (ido-remove-consecutive-dups): New helper.
12677 (ido-completing-read): Use it.
12678 (ido-chop): Revert fix for bug#10994.
12679
12680 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12681
12682 * cus-edit.el (custom-save-variables):
12683 Pretty-print long values. (Bug#14187)
12684
12685 2013-05-08 Glenn Morris <rgm@gnu.org>
12686
12687 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12688 (m4-mode-syntax-table): Init in the defvar.
12689 (m4-mode-abbrev-table): Let define-derived-mode define it.
12690
12691 2013-05-08 Tom Tromey <tromey@redhat.com>
12692
12693 * progmodes/m4-mode.el (m4-mode-syntax-table):
12694 Do not treat "_" as word constituent. (Bug#14167)
12695
12696 2013-05-07 Glenn Morris <rgm@gnu.org>
12697
12698 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12699 Remove explicit eshell-isearch-cancel-map.
12700
12701 * progmodes/f90.el (f90-smart-end-names): New option.
12702 (f90-smart-end): Doc fix.
12703 (f90-end-block-optional-name): New constant.
12704 (f90-block-match): Respect f90-smart-end-names.
12705
12706 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12709 about implicit semi-colons (bug#14218).
12710
12711 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12712
12713 * frame.el (display-monitor-attributes-list)
12714 (frame-monitor-attributes): New functions.
12715
12716 2013-05-06 Leo Liu <sdl.web@gmail.com>
12717
12718 * progmodes/octave.el (octave-syntax-propertize-function): Change
12719 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12720 (octave-font-lock-keywords): Use octave-operator-regexp.
12721 (octave-completion-at-point): Rename from
12722 octave-completion-at-point-function.
12723 (inferior-octave-directory-tracker): Robustify.
12724 (octave-text-functions): Remove and fix its uses. No such things
12725 any more.
12726
12727 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12728
12729 * emacs-lisp/trace.el (trace--display-buffer): New function.
12730 (trace-make-advice): Use it.
12731
12732 2013-05-06 Juri Linkov <juri@jurta.org>
12733
12734 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12735 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12736 Doc fix.
12737 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12738 in the help string. (Bug#12985)
12739
12740 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12741
12742 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12743
12744 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12745
12746 * progmodes/perl-mode.el: Add support for here documents.
12747 (perl-syntax-propertize-function): Match here-doc markers.
12748 (perl-syntax-propertize-special-constructs): Find their end.
12749 (perl-imenu-generic-expression): Use [:alnum:].
12750
12751 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12752 (advice--add-function): Refresh the advice if already present
12753 (bug#14317).
12754
12755 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12756
12757 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12758
12759 2013-05-06 Glenn Morris <rgm@gnu.org>
12760
12761 * w32-fns.el (w32-charset-info-alist): Declare.
12762
12763 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12764 of its defcustom properties.
12765 (eshell-cmpl-initialize): No need to load pcomplete.
12766
12767 * generic-x.el: No need to require comint when compiling.
12768
12769 * net/eudc-export.el: Make it loadable without bbdb.
12770 (top-level): Use require rather than load-library.
12771 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12772 (eudc-batch-export-records-to-bbdb)
12773 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12774 Require bbdb.
12775
12776 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12777
12778 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12779 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12780 some tweaks, instead.
12781
12782 2013-05-05 Leo Liu <sdl.web@gmail.com>
12783
12784 * progmodes/octave.el (octave-font-lock-keywords)
12785 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12786 (inferior-octave-send-list-and-digest): Improve error message.
12787 (octave-mode, inferior-octave-mode): Use setq-local.
12788 (octave-help): Set info-lookup-mode.
12789
12790 2013-05-05 Richard Stallman <rms@gnu.org>
12791
12792 * vc/compare-w.el (compare-windows-whitespace):
12793 Treat no-break space as whitespace.
12794
12795 * mail/rmailsum.el (rmail-summary-rmail-update):
12796 Detect empty summary and don't change selected message.
12797 (rmail-summary-goto-msg): Likewise.
12798
12799 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12800 Doc fixes, rename args.
12801
12802 2013-05-05 Alan Mackenzie <acm@muc.de>
12803
12804 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12805
12806 2013-05-05 Juri Linkov <juri@jurta.org>
12807
12808 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12809 to not add the length of the summary segment to the return value.
12810 (Bug#14125)
12811
12812 2013-05-05 Leo Liu <sdl.web@gmail.com>
12813
12814 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12815 (inferior-octave-output-filter): Remove.
12816 (octave-send-region, inferior-octave-startup): Fix callers.
12817 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12818 (octave-binary-file-extensions): New user variable.
12819 (octave-find-definition): Confirm if opening binary files.
12820 (octave-help-file): Use octave-find-definition to get the binary
12821 confirmation.
12822 (octave-help): Adjust for octave-help-file change.
12823
12824 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12825
12826 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12827 Merge the two entries that handle function definitions.
12828 (pascal--syntax-propertize): New const.
12829 (pascal-mode): Use it. Use setq-local.
12830
12831 2013-05-04 Glenn Morris <rgm@gnu.org>
12832
12833 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12834 (diary-from-outlook): Respect diary-from-outlook-function.
12835
12836 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12837
12838 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12839 Move the declaration from C.
12840 (read-minibuffer, eval-minibuffer): Move from C.
12841 (completion-setup-function): Avoid minibuffer-completion-contents.
12842
12843 2013-05-03 Leo Liu <sdl.web@gmail.com>
12844
12845 * progmodes/octave.el (octave-font-lock-keywords): Do not
12846 dehighlight 'end' in comments or strings.
12847 (octave-completing-read, octave-goto-function-definition):
12848 New helpers.
12849 (octave-help-buffer): New user variable.
12850 (octave-help-file, octave-help-function): New button types.
12851 (octave-help): New command and bind it to C-h ;.
12852 (octave-find-definition): New command and bind it to M-.
12853 (user-error): Alias to error if not defined.
12854
12855 2013-05-02 Leo Liu <sdl.web@gmail.com>
12856
12857 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12858 for \. (bug#14332)
12859 (octave-font-lock-keywords): Include [ and {.
12860
12861 2013-05-02 Leo Liu <sdl.web@gmail.com>
12862
12863 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12864 (inferior-octave): Remove calling comint-mode and return the buffer.
12865 (inferior-octave-startup): Cosmetic changes.
12866
12867 2013-05-02 Leo Liu <sdl.web@gmail.com>
12868
12869 * progmodes/octave.el (octave-syntax-propertize-function):
12870 Include the case when ' is at line beginning. (Bug#14336)
12871
12872 2013-05-02 Glenn Morris <rgm@gnu.org>
12873
12874 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12875 * desktop.el (vc-dir-mode): Just autoload it here.
12876
12877 2013-05-02 Alan Mackenzie <acm@muc.de>
12878
12879 Eliminate variable c-standard-font-lock-fontify-region-function.
12880 * progmodes/cc-mode.el
12881 (c-standard-font-lock-fontify-region-function): Remove.
12882 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12883
12884 2013-05-01 Leo Liu <sdl.web@gmail.com>
12885
12886 * progmodes/octave.el: Compatible with older emacs-24 releases.
12887 (inferior-octave-has-built-in-variables): Remove. Built-in
12888 variables were removed from Octave in 2007.
12889 (inferior-octave-startup): Fix uses.
12890 (comint-line-beginning-position): Remove compatibility code for
12891 emacs 21.
12892
12893 2013-05-01 Juri Linkov <juri@jurta.org>
12894
12895 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12896
12897 2013-05-01 Juri Linkov <juri@jurta.org>
12898
12899 * comint.el (comint-previous-matching-input): Don't print message
12900 "History item: %d" when `isearch-mode' is active.
12901 (comint-history-isearch-message): Print message "History item: %d"
12902 when `comint-input-ring-index' is not empty and this function is
12903 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12904
12905 2013-05-01 Leo Liu <sdl.web@gmail.com>
12906
12907 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12908 definitions. Use completion-at-point to insert keywords.
12909 (octave-abbrev-start): Remove.
12910 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12911
12912 2013-04-30 Leo Liu <sdl.web@gmail.com>
12913
12914 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12915 change.
12916
12917 2013-04-30 Alan Mackenzie <acm@muc.de>
12918
12919 Handle arbitrarily long C++ member initialisation lists.
12920 * progmodes/cc-engine.el (c-back-over-member-initializers):
12921 new function.
12922 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12923 (most) member init lists.
12924
12925 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12926
12927 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12928 variable.
12929
12930 2013-04-30 Leo Liu <sdl.web@gmail.com>
12931
12932 * progmodes/octave.el (octave-variables): Remove. No builtin
12933 variables any more. All converted to functions.
12934 (octave-font-lock-keywords, octave-completion-at-point-function):
12935 Fix uses.
12936 (octave-font-lock-texinfo-comment): New user variable.
12937 (octave-texinfo-font-lock-keywords): New variable for texinfo
12938 comment block.
12939 (octave-function-comment-block): New face.
12940 (octave-font-lock-texinfo-comment): New function.
12941 (octave-mode): Font lock texinfo comment block.
12942
12943 2013-04-29 Leo Liu <sdl.web@gmail.com>
12944
12945 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12946 indexing expression.
12947 (octave-continuation-string): Do not use \.
12948 (inferior-octave-complete-impossible): Remove.
12949 (inferior-octave-completion-table)
12950 (inferior-octave-completion-at-point): Remove its uses.
12951 (inferior-octave-startup): completion_matches was introduced to
12952 Octave in 1996 so safe to assume it.
12953 (octave-function-file-comment): Improve to follow how Octave does it.
12954 (octave-update-function-file-comment): Tweak.
12955
12956 2013-04-29 Leo Liu <sdl.web@gmail.com>
12957
12958 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12959 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12960 (octave-function-file-comment): Fix typo.
12961 (octave-sync-function-file-names): Use read-char-choice.
12962
12963 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12964
12965 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12966 to t for the less important warnings.
12967
12968 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12969
12970 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12971
12972 2013-04-27 Glenn Morris <rgm@gnu.org>
12973
12974 * vc/log-view.el (log-view-current-entry):
12975 Treat "---" separator lines as part of the following rev. (Bug#14169)
12976
12977 2013-04-27 Juri Linkov <juri@jurta.org>
12978
12979 * subr.el (read-number): Doc fix about using it by interactive
12980 code letter `n'. (Bug#14254)
12981
12982 2013-04-27 Juri Linkov <juri@jurta.org>
12983
12984 * desktop.el (desktop-auto-save-timeout): New option.
12985 (desktop-file-checksum): New variable.
12986 (desktop-save): Add optional arg `auto-save' and don't auto-save
12987 if nothing changed.
12988 (desktop-auto-save-timer): New variable.
12989 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12990 (after-init-hook): Call `desktop-auto-save-set-timer'.
12991 Suggested by Reuben Thomas <rrt@sc3d.org> in
12992 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12993
12994 2013-04-27 Leo Liu <sdl.web@gmail.com>
12995
12996 * progmodes/octave.el (octave-function-file-p)
12997 (octave-skip-comment-forward, octave-function-file-comment)
12998 (octave-update-function-file-comment): New functions.
12999 (octave-mode-map): Bind C-c ; to
13000 octave-update-function-file-comment.
13001 (octave-mode-menu): Add octave-update-function-file-comment.
13002 (octave-mode, inferior-octave-mode): Fix doc-string.
13003 (octave-insert-defun): Conform to Octave's coding convention.
13004 (Bug#14285)
13005
13006 * files.el (basic-save-buffer): Don't let errors in
13007 before-save-hook prevent saving buffer.
13008
13009 2013-04-20 Roland Winkler <winkler@gnu.org>
13010
13011 * faces.el (read-face-name): Use completing-read if arg multiple
13012 is nil.
13013
13014 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13015
13016 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13017 displayed, move point to after the totals line.
13018 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13019 for the details.
13020
13021 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13022
13023 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13024 Add current dir to the load-path.
13025 (package-generate-autoloads): Don't rely on
13026 autoload-ensure-default-file.
13027
13028 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13029
13030 * textmodes/remember.el (remember-store-in-files): Document that
13031 the file name format is passed to `format-time-string'.
13032
13033 2013-04-26 Leo Liu <sdl.web@gmail.com>
13034
13035 * progmodes/octave.el (octave-sync-function-file-names): New function.
13036 (octave-mode): Use it in before-save-hook.
13037
13038 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13039
13040 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13041 (bug#14274).
13042
13043 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13044 \n and comment, even if it's not an implicit ; (bug#14218).
13045
13046 2013-04-26 Glenn Morris <rgm@gnu.org>
13047
13048 * subr.el (read-number): Once more use `read' rather than
13049 `string-to-number', to trap non-numeric input. (Bug#14254)
13050
13051 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13052
13053 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13054 Use `syntax-multiline' text property consistently instead of
13055 `font-lock-multiline'. (Bug#14237)
13056
13057 2013-04-26 Glenn Morris <rgm@gnu.org>
13058
13059 * emacs-lisp/shadow.el (list-load-path-shadows):
13060 No longer necessary to check for duplicate simple.el, since
13061 2012-07-07 change to init_lread to not include installation lisp
13062 directories in load-path when running uninstalled. (Bug#14270)
13063
13064 2013-04-26 Leo Liu <sdl.web@gmail.com>
13065
13066 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13067 (octave-mode, inferior-octave-mode): Use setq-local.
13068 (octave-not-in-string-or-comment-p): Rename to
13069 octave-in-string-or-comment-p.
13070 (octave-in-comment-p, octave-in-string-p)
13071 (octave-in-string-or-comment-p): Replace defsubst with defun.
13072
13073 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13074
13075 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13076
13077 2013-04-25 Bastien Guerry <bzg@gnu.org>
13078
13079 * textmodes/remember.el (remember-data-directory)
13080 (remember-directory-file-name-format): Fix custom types.
13081
13082 2013-04-25 Leo Liu <sdl.web@gmail.com>
13083
13084 * progmodes/octave.el (octave-completion-at-point-function):
13085 Make use of inferior octave process.
13086 (octave-initialize-completions): Remove.
13087 (inferior-octave-completion-table): New function.
13088 (inferior-octave-completion-at-point): Use it.
13089 (octave-completion-alist): Remove.
13090
13091 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13092
13093 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13094 (opascal-mode-syntax-table): New var.
13095 (opascal-literal-kind, opascal-is-literal-end)
13096 (opascal-literal-token-at): Rewrite.
13097 (opascal--literal-start-re, opascal-font-lock-keywords)
13098 (opascal--syntax-propertize): New constants.
13099 (opascal-font-lock-defaults): Adjust.
13100 (opascal-mode): Use them. Set comment-<foo> variables as well.
13101 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13102 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13103 (delphi-other-face, opascal-other-face): Remove face variables.
13104 (opascal-save-state): Remove macro.
13105 (opascal-fontifying-progress-step): Remove constant.
13106 (opascal--ignore-changes): Remove var.
13107 (opascal-set-token-property, opascal-parse-next-literal)
13108 (opascal-is-stable-literal, opascal-complete-literal)
13109 (opascal-is-literal-start, opascal-face-of)
13110 (opascal-parse-region, opascal-parse-region-until-stable)
13111 (opascal-fontify-region, opascal-after-change)
13112 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13113 (opascal-debug-parse-region, opascal-debug-parse-window)
13114 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13115 (opascal-debug-fontify-buffer): Remove.
13116 (opascal-debug-mode-map): Adjust accordingly.
13117
13118 2013-04-25 Leo Liu <sdl.web@gmail.com>
13119
13120 Merge octave-mod.el and octave-inf.el into octave.el with some
13121 cleanups.
13122 * progmodes/octave.el: New file renamed from octave-mod.el.
13123 * progmodes/octave-inf.el: Merged into octave.el.
13124 * progmodes/octave-mod.el: Renamed to octave.el.
13125
13126 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13127
13128 * textmodes/reftex-vars.el
13129 (reftex-label-ignored-macros-and-environments): New defcustom.
13130
13131 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13132
13133 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13134
13135 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13136 (smie-indent-keyword): Improve the check to ensure that the next
13137 comment is really on the same line.
13138 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13139
13140 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13141 semi-colons if the line is not otherwise empty (bug#14218).
13142
13143 2013-04-25 Glenn Morris <rgm@gnu.org>
13144
13145 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13146
13147 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13148
13149 * progmodes/opascal.el (opascal-set-token-property): Rename from
13150 opascal-set-text-properties and only set `token' (bug#14134).
13151 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13152 (opascal-literal-text-properties): Remove.
13153 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13154 Adjust callers.
13155
13156 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13157
13158 * textmodes/remember.el (remember-handler-functions): Add an
13159 option for a new handler `remember-store-in-files'.
13160 (remember-data-directory, remember-directory-file-name-format):
13161 New options.
13162 (remember-store-in-files): New function to store remember notes
13163 as separate files within a directory.
13164
13165 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13166
13167 * progmodes/compile.el (compilation-next-error-function):
13168 Pass "formats" to compilation-find-file (bug#11777).
13169
13170 2013-04-24 Glenn Morris <rgm@gnu.org>
13171
13172 * vc/vc-bzr.el (vc-bzr-print-log):
13173 * vc/vc-hg.el (vc-hg-print-log):
13174 * vc/vc-svn.el (vc-svn-print-log):
13175 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13176
13177 * vc/vc-bzr.el (vc-bzr-print-log):
13178 * vc/vc-cvs.el (vc-cvs-print-log):
13179 * vc/vc-git.el (vc-git-print-log):
13180 * vc/vc-hg.el (vc-hg-print-log):
13181 * vc/vc-mtn.el (vc-mtn-print-log):
13182 * vc/vc-rcs.el (vc-rcs-print-log):
13183 * vc/vc-sccs.el (vc-sccs-print-log):
13184 * vc/vc-svn.el (vc-svn-print-log):
13185 * vc/vc.el (vc-print-log-internal): Doc fixes.
13186
13187 2013-04-23 Glenn Morris <rgm@gnu.org>
13188
13189 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13190 Remove venerable code attempting to avoid substitute-command-keys.
13191
13192 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13193
13194 * textmodes/reftex-vars.el (reftex-label-regexps):
13195 Call `reftex-compile-variables' after changes to this variable.
13196
13197 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13198
13199 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13200 Use lexical-binding.
13201 (jit-lock-force-redisplay): Use markers, check buffer's continued
13202 existence and beware narrowed buffers.
13203 (jit-lock-fontify-now): Adjust call accordingly.
13204
13205 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13206
13207 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13208 to avoid misleading the user.
13209
13210 2013-04-22 Leo Liu <sdl.web@gmail.com>
13211
13212 * info-look.el: Prefer latex2e.info. (Bug#14240)
13213
13214 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13215
13216 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13217
13218 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13219 * net/tramp.el (tramp-call-process): ... here.
13220 (tramp-set-completion-function, tramp-parse-putty):
13221 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13222 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13223 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13224 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13225 (tramp-call-local-coding-command): Use `tramp-call-process'
13226 instead of `tramp-compat-call-process'.
13227
13228 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13229 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13230 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13231 (tramp-find-inline-compress): Improve traces.
13232 (tramp-maybe-send-script): Check for Perl binary.
13233 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13234
13235 2013-04-22 Daiki Ueno <ueno@gnu.org>
13236
13237 * epg.el (epg-context-pinentry-mode): New function.
13238 (epg-context-set-pinentry-mode): New function.
13239 (epg--start): Pass --pinentry-mode option to gpg command.
13240
13241 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13242
13243 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13244 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13245 `completion-at-point'. (Bug#13774)
13246
13247 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13248 default key binding for `describe-distribution' has been moved to
13249 `C-h C-o'. (Bug#13970)
13250
13251 2013-04-21 Glenn Morris <rgm@gnu.org>
13252
13253 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13254 Add doc strings.
13255 (vc-print-log): Clarify interactive prompt.
13256
13257 2013-04-20 Glenn Morris <rgm@gnu.org>
13258
13259 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13260 No longer include timestamp etc information.
13261
13262 2013-04-20 Roland Winkler <winkler@gnu.org>
13263
13264 * faces.el (read-face-name): Bug fix, return just one face if arg
13265 multiple is nil. (Bug#14209)
13266
13267 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13268
13269 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13270 (remove-function): Autoload.
13271
13272 * comint.el (comint-redirect-original-filter-function): Remove.
13273 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13274 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13275 (vc-cvs-annotate-command):
13276 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13277 * progmodes/prolog.el (prolog-consult-compile):
13278 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13279 Use add/remove-function instead.
13280 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13281 (gud-tooltip-process-output, gud-tooltip-tips):
13282 Use add/remove-function instead.
13283 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13284 (scheme-interaction-mode, exit-scheme-interaction-mode):
13285 Use add/remove-function instead.
13286
13287 * vc/vc-dispatcher.el: Use lexical-binding.
13288 (vc--process-sentinel): Rename from vc-process-sentinel.
13289 Change last arg to be the code to run. Don't use vc-previous-sentinel
13290 and vc-sentinel-commands any more.
13291 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13292 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13293
13294 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13295
13296 * progmodes/sh-script.el (sh-imenu-generic-expression):
13297 Handle function names with a single character. (Bug#14111)
13298
13299 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13300
13301 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13302 for subroutines defined in an eval (bug#14182).
13303
13304 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13305
13306 * bookmark.el (bookmark-completing-read): Improve handling of empty
13307 string (bug#14176).
13308
13309 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13310
13311 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13312
13313 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13314
13315 New faster Imenu implementation (bug#14058).
13316 * progmodes/python.el:
13317 (python-imenu-prev-index-position):
13318 (python-imenu-format-item-label-function)
13319 (python-imenu-format-parent-item-label-function)
13320 (python-imenu-format-parent-item-jump-label-function):
13321 New vars.
13322 (python-imenu-format-item-label)
13323 (python-imenu-format-parent-item-label)
13324 (python-imenu-format-parent-item-jump-label)
13325 (python-imenu--put-parent, python-imenu--build-tree)
13326 (python-imenu-create-index, python-imenu-create-flat-index)
13327 (python-util-popn): New functions.
13328 (python-mode): Set imenu-create-index-function to
13329 python-imenu-create-index.
13330
13331 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13332
13333 * winner.el (winner-active-region): Use region-active-p, activate-mark
13334 and deactivate-mark (bug#14225).
13335
13336 * simple.el (deactivate-mark): Don't inline it.
13337
13338 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13339
13340 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13341
13342 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13343
13344 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13345 file extensions from the archive-mode entry in order to prefer
13346 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13347
13348 2013-04-18 Leo Liu <sdl.web@gmail.com>
13349
13350 * bindings.el (help-event-list): Add ?\?.
13351
13352 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * subr.el (with-wrapper-hook): Declare obsolete.
13355 * simple.el (filter-buffer-substring-function): New hook.
13356 (filter-buffer-substring): Use it.
13357 (filter-buffer-substring-functions): Mark obsolete.
13358 * minibuffer.el (completion-in-region-function): New hook.
13359 (completion-in-region): Use it.
13360 (completion-in-region-functions): Mark obsolete.
13361 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13362 * abbrev.el (abbrev-expand-function): New hook.
13363 (expand-abbrev): Use it.
13364 (abbrev-expand-functions): Mark obsolete.
13365 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13366 and :filter-return.
13367
13368 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13369
13370 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13371 and do not care about match data.
13372
13373 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13374
13375 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13376 completion tables when completing error conditions and
13377 `declare' arguments.
13378 (lisp-complete-symbol, field-complete): Mark as obsolete.
13379 (check-parens): Unmatched parens are user errors.
13380 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13381
13382 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13383
13384 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13385 command changed buffer (ie. `flyspell-pre-buffer' is not current
13386 buffer), which prevents making decisions based on invalid value of
13387 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13388 cause an error when `flyspell-pre-point' was nil after switching
13389 buffers.
13390 (flyspell-post-command-hook): No longer needs to change buffers when
13391 checking pre-word. While at it remove unnecessary progn.
13392
13393 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13394
13395 * textmodes/ispell.el (ispell-add-per-file-word-list):
13396 Fix `flyspell-correct-word-before-point' error when accepting
13397 words and `coment-padding' is an integer by using
13398 `comment-normalize-vars' (Bug #14214).
13399
13400 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13401
13402 New defun movement commands.
13403 * progmodes/python.el (python-nav--syntactically)
13404 (python-nav--forward-defun, python-nav-backward-defun)
13405 (python-nav-forward-defun): New functions.
13406
13407 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13408
13409 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13410 (python-syntax-context): Use named compiler-macro for backwards
13411 compatibility with Emacs 24.x.
13412
13413 2013-04-17 Leo Liu <sdl.web@gmail.com>
13414
13415 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13416 octave-hide-process-buffer.
13417
13418 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13419
13420 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13421 (bug#14216).
13422
13423 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13424
13425 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13426 Fix adjustment of offset when receiving incomplete responses from GDB
13427 (bug#14129).
13428
13429 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13430
13431 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13432 python-mode-abbrev-table.
13433 (python-skeleton-define): Adjust accordingly.
13434 (python-mode-abbrev-table): New table that inherits from it so that
13435 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13436
13437 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13438 (abbrev-symbol): Use it.
13439 (abbrev--before-point): Use it since we already handle inheritance.
13440
13441 2013-04-16 Leo Liu <sdl.web@gmail.com>
13442
13443 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13444 binding to info-lookup-symbol.
13445
13446 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13447
13448 * minibuffer.el (completion--twq-all):
13449 * term/ns-win.el (ns-initialize-window-system):
13450 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13451
13452 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13455 global bindings.
13456
13457 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13458
13459 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13460
13461 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13462 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13463 to nil.
13464 (ruby-end-of-defun): Remove the unused arg, change the docstring
13465 to reflect that this function is only used as the value of
13466 `end-of-defun-function'.
13467 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13468 to reflect an earlier change that beginning/end-of-defun functions
13469 jump between methods in a class definition, as well as top-level
13470 functions.
13471
13472 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13473
13474 * minibuffer.el (minibuffer-complete): Don't just scroll
13475 a *Completions* that's been iconified.
13476 (minibuffer-force-complete): Make sure repetitions do cycle when going
13477 through completion-in-region -> minibuffer-complete.
13478
13479 2013-04-15 Alan Mackenzie <acm@muc.de>
13480
13481 Correct the placement of c-cpp-delimiters when there're #s not at
13482 col 0.
13483
13484 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13485 place a submatch around the #.
13486 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13487 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13488 on the #, not BOL.
13489
13490 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13491
13492 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13493 (advice--member-p): New arg `name'.
13494 (advice--add-function, advice-member-p): Use it (bug#14202).
13495
13496 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13497
13498 Reformulate java imenu-generic-expression.
13499 The old expression contained ill formed regexps.
13500
13501 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13502 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13503 (cc-imenu-java-method-arg-regexp): New defconsts.
13504 (cc-imenu-java-build-type-args-regex): New defun.
13505 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13506 handling of spaces in the regexp.
13507
13508 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13509
13510 * textmodes/ispell.el (ispell-command-loop): Remove
13511 flyspell highlight of a word when ispell accepts it (bug #14178).
13512
13513 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13514
13515 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13516 uses code from the previous `ange-ftp-run-real-handler'.
13517 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13518 only in case that function exist. This is needed for proper
13519 unloading of Tramp.
13520
13521 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13522
13523 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13524
13525 * textmodes/reftex.el (reftex-compile-variables): Use it.
13526
13527 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13528
13529 * files.el (normal-mode): Only use default major-mode if no other mode
13530 was specified.
13531
13532 * emacs-lisp/trace.el (trace-values): New function.
13533
13534 * files.el: Allow : in local variables (bug#14089).
13535 (hack-local-variable-regexp): New var.
13536 (hack-local-variables-prop-line, hack-local-variables): Use it.
13537
13538 2013-04-13 Roland Winkler <winkler@gnu.org>
13539
13540 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13541 data before it gets modified by bibtex-beginning-of-entry.
13542
13543 2013-04-13 Roland Winkler <winkler@gnu.org>
13544
13545 * textmodes/bibtex.el (bibtex-url): Doc fix.
13546
13547 2013-04-13 Roland Winkler <winkler@gnu.org>
13548
13549 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13550 does not visit a BibTeX file, exclude it from the list of buffers
13551 returned by bibtex-initialize.
13552
13553 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13554
13555 * window.el (split-window): Remove interactive form, since as a
13556 command this function is a special case of split-window-below.
13557 Correct doc string.
13558
13559 2013-04-12 Roland Winkler <winkler@gnu.org>
13560
13561 * faces.el (read-face-name): Do not override value of arg default.
13562 Allow single faces and strings as default values. Remove those
13563 elements from return value that are not faces.
13564 (describe-face): Simplify.
13565 (face-at-point): New optional args thing and multiple so that this
13566 function can provide the same functionality previously provided by
13567 read-face-name.
13568 (make-face-bold, make-face-unbold, make-face-italic)
13569 (make-face-unitalic, make-face-bold-italic, invert-face)
13570 (modify-face, read-face-and-attribute): Use face-at-point.
13571
13572 * cus-edit.el (customize-face, customize-face-other-window)
13573 * cus-theme.el (custom-theme-add-face)
13574 * face-remap.el (buffer-face-set)
13575 * facemenu.el (facemenu-set-face): Use face-at-point.
13576
13577 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13578
13579 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13580
13581 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13582
13583 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13584 off leading { and trailing } from field values.
13585
13586 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * emacs-lisp/timer.el (timer--check): New function.
13589 (timer--time, timer-set-function, timer-event-handler): Use it.
13590 (timer-set-idle-time): Simplify.
13591 (timer--activate): CSE.
13592 (timer-event-handler): Give more info in error message.
13593 (internal-timer-start-idle): New function, moved from C.
13594
13595 * mpc.el (mpc-proc): Add `restart' argument.
13596 (mpc-proc-cmd): Use it.
13597 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13598 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13599 less often.
13600
13601 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13602
13603 * progmodes/sh-script.el: Implement `sh-mode' own
13604 `add-log-current-defun-function' (bug#14112).
13605 (sh-current-defun-name): New function.
13606 (sh-mode): Use the function.
13607
13608 2013-04-09 Bastien Guerry <bzg@gnu.org>
13609
13610 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13611
13612 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13613
13614 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13615
13616 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13617 timer (bug#14156).
13618
13619 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13620
13621 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13622 declaration.
13623
13624 2013-04-07 Leo Liu <sdl.web@gmail.com>
13625
13626 * pcmpl-x.el: New file.
13627
13628 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13629
13630 Do not set x-display-name until X connection is established.
13631 This is needed to prevent from weird situation described at
13632 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13633 * frame.el (make-frame): Set x-display-name after call to
13634 window system initialization function, not before.
13635 * term/x-win.el (x-initialize-window-system): Add optional
13636 display argument and use it.
13637 * term/w32-win.el (w32-initialize-window-system):
13638 * term/ns-win.el (ns-initialize-window-system):
13639 * term/pc-win.el (msdos-initialize-window-system):
13640 Add compatible optional display argument.
13641
13642 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13643
13644 * files.el (normal-backup-enable-predicate): On MS-Windows and
13645 MS-DOS compare truenames of temporary-file-directory and of the
13646 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13647 don't fail comparison by compare-strings. Also, compare file
13648 names case-insensitively on MS-Windows and MS-DOS.
13649
13650 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13651
13652 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13653 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13654
13655 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13656
13657 * whitespace.el (whitespace-color-on, whitespace-color-off):
13658 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13659
13660 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13661
13662 * ispell.el (ispell-set-spellchecker-params):
13663 Really set `ispell-args' for all equivs.
13664
13665 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13666
13667 * ido.el (ido-completions): Use extra elements of ido-decorations
13668 (bug#14143).
13669 (ido-decorations): Update docstring.
13670
13671 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13672
13673 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13674 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13675 nil during initialization, in order not to miss changes since the
13676 file was opened. (Bug#14140)
13677
13678 2013-04-05 Leo Liu <sdl.web@gmail.com>
13679
13680 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13681
13682 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13683
13684 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13685
13686 2013-04-04 Glenn Morris <rgm@gnu.org>
13687
13688 * electric.el (electric-pair-inhibit-predicate): Add :version.
13689
13690 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13691
13692 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13693 when a package is required several times (bug#14082).
13694
13695 2013-04-04 Roland Winkler <winkler@gnu.org>
13696
13697 * faces.el (read-face-name): Behave as promised by the docstring.
13698 Assume that arg default is a list of faces.
13699 (describe-face): Call read-face-name with list of default faces.
13700
13701 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13702
13703 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13704 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13705 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13706 the header.
13707 (bookmark-exit-hook-internal): Save even if list is empty.
13708
13709 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13710
13711 * emacs-lisp/package.el (package-pinned-packages): New var.
13712 (package--add-to-archive-contents): Obey it (bug#14118).
13713
13714 2013-04-03 Alan Mackenzie <acm@muc.de>
13715
13716 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13717 Also adapt to the new values of element 7 of a parse state.
13718
13719 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13720 parameter `not-in-delimiter'. Handle being inside comment opener.
13721 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13722 character in case we're typing a '*' after a '/'.
13723 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13724 instead by passing the parameter to c-state-pp-to-literal.
13725
13726 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13727 for elt. 7 of a parse state.
13728
13729 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13730
13731 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13732 * international/latin1-disp.el, international/mule-util.el:
13733 * language/cyril-util.el, language/european.el, language/ind-util.el:
13734 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13735 * language/tibetan.el, language/viet-util.el:
13736 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13737
13738 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13741 (electric-pair-post-self-insert-function): Use it.
13742 (electric-pair-default-inhibit): New function, extracted from
13743 electric-pair-post-self-insert-function.
13744
13745 2013-03-31 Roland Winkler <winkler@gnu.org>
13746
13747 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13748
13749 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13752
13753 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13754
13755 Un-indent after "pass" and "return" statements (Bug#13888)
13756 * progmodes/python.el (python-indent-block-enders): New var.
13757 (python-indent-calculate-indentation): Use it.
13758
13759 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13760
13761 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13762 defun. Defining it as defalias could introduce too eager
13763 byte-compiler optimization. (Bug#14030)
13764
13765 2013-03-30 Chong Yidong <cyd@gnu.org>
13766
13767 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13768
13769 2013-03-30 Leo Liu <sdl.web@gmail.com>
13770
13771 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13772 (kmacro-execute-from-register): Pass the keyboard macro to
13773 kmacro-call-macro or repeating won't work correctly.
13774
13775 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13776
13777 * progmodes/subword.el: Back to using `forward-symbol'.
13778
13779 * subr.el (forward-whitespace, forward-symbol)
13780 (forward-same-syntax): Move from thingatpt.el.
13781
13782 2013-03-29 Leo Liu <sdl.web@gmail.com>
13783
13784 * kmacro.el (kmacro-to-register): New command.
13785 (kmacro-execute-from-register): New function.
13786 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13787
13788 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13789
13790 * mpc.el: Use defvar-local and setq-local.
13791 (mpc--proc-connect): Connection failures are not bugs.
13792 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13793 (mpc-volume-map): Bind to the up-events.
13794
13795 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13796
13797 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13798 instead of `forward-symbol'.
13799
13800 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13801
13802 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13803 (edebug--recursive-edit): Use it.
13804 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13805 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13806
13807 2013-03-28 Leo Liu <sdl.web@gmail.com>
13808
13809 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13810
13811 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13812
13813 * facemenu.el (list-colors-callback): New defvar.
13814 (list-colors-redisplay): New function.
13815 (list-colors-display): Install list-colors-redisplay as the
13816 revert-buffer-function. (Bug#14063)
13817
13818 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13819
13820 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13821 and suffixes don't overlap (bug#14061).
13822
13823 * case-table.el: Use lexical-binding.
13824 (case-table-get-table): New function.
13825 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13826
13827 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13828
13829 * progmodes/subword.el: Add `superword-mode' to do word motion
13830 over symbol_words (parallels and leverages `subword-mode' which
13831 does word motion inside MixedCaseWords).
13832
13833 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13834
13835 * eshell/em-unix.el: Move su and sudo to...
13836 * eshell/em-tramp.el: ...Eshell tramp module.
13837
13838 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13839
13840 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13841 Change return value to be a sexp. Delay `get-buffer' to after
13842 restoring the desktop (bug#13951).
13843
13844 2013-03-26 Leo Liu <sdl.web@gmail.com>
13845
13846 * register.el: Move semantic tag handling back to
13847 cedet/semantic/senator.el. (Bug#14052)
13848
13849 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13850
13851 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13852 into the prompt either (bug#13963).
13853
13854 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13855
13856 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13857 part of "(error-foo)".
13858
13859 2013-03-24 Juri Linkov <juri@jurta.org>
13860
13861 * replace.el (list-matching-lines-prefix-face): New defcustom.
13862 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13863 `occur-engine' if `face-differs-from-default-p' returns t.
13864 (occur-engine): Add `,' inside backquote construct to evaluate
13865 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13866 Pass `prefix-face' to the functions `occur-context-lines' and
13867 `occur-engine-add-prefix'.
13868 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13869 `prefix-face' and propertize the prefix with `prefix-face'.
13870 (Bug#14017)
13871
13872 2013-03-24 Leo Liu <sdl.web@gmail.com>
13873
13874 * nxml/rng-valid.el (rng-validate-while-idle)
13875 (rng-validate-quick-while-idle): Guard against deleted buffer.
13876 (Bug#13999)
13877
13878 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13879 is the last entry in kill-buffer-hook.
13880
13881 * files.el (kill-buffer-hook): Doc fix.
13882
13883 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13884
13885 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13886 Make it safe-local.
13887
13888 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13889
13890 2013-03-23 Leo Liu <sdl.web@gmail.com>
13891
13892 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13893 Remove.
13894
13895 * nxml/rng-valid.el (rng-validate-mode)
13896 (rng-after-change-function, rng-do-some-validation):
13897 * nxml/rng-maint.el (rng-validate-buffer):
13898 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13899 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13900 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13901 (nxml-extend-after-change-region): Use with-silent-modifications.
13902
13903 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13904 timer-idle-list.
13905
13906 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13907 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13908 timer-idle-list. (Bug#13999)
13909
13910 2013-03-23 Juri Linkov <juri@jurta.org>
13911
13912 * info.el (info-index-match): New face.
13913 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13914 main pattern and add text properties with the new face to matches
13915 in index entries relative to the beginning of the index entry.
13916 (Bug#14015)
13917
13918 2013-03-21 Eric Ludlam <zappo@gnu.org>
13919
13920 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13921 Inhibit read only while inserting objects.
13922
13923 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13924
13925 * progmodes/cfengine.el: Update docs to mention
13926 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13927 symbol motion. Remove "_" from the word syntax.
13928
13929 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13930
13931 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13932 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13933
13934 2013-03-20 Juri Linkov <juri@jurta.org>
13935
13936 * info.el (Info-next-reference-or-link)
13937 (Info-prev-reference-or-link): New functions.
13938 (Info-next-reference, Info-prev-reference): Use them.
13939 (Info-try-follow-nearest-node): Handle footnote navigation.
13940 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13941
13942 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13943
13944 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13945 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13946
13947 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13948
13949 Suppress unnecessary non-ASCII chatter during build process.
13950 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13951 (batch-skkdic-convert): Suppress most of the chatter.
13952 It's not needed so much now that machines are faster,
13953 and its non-ASCII component was confusing; see Dmitry Gutov in
13954 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13955
13956 2013-03-20 Leo Liu <sdl.web@gmail.com>
13957
13958 * ido.el (ido-chop): Fix bug#10994.
13959
13960 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13961
13962 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13963 Remove vars.
13964 (whitespace-color-on, whitespace-color-off):
13965 Use `font-lock-fontify-buffer' (Bug#13817).
13966
13967 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13968
13969 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13970 remapping in mode-line.
13971 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13972
13973 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13974
13975 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13976 value for `whitespace-line' face (Bug#13875).
13977 (whitespace-font-lock-keywords): Change description.
13978 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13979 the constructed keywords instead.
13980 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13981
13982 2013-03-19 Leo Liu <sdl.web@gmail.com>
13983
13984 * progmodes/compile.el (compilation-display-error): New command.
13985 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13986 C-o. (Bug#13992)
13987
13988 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13989
13990 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13991
13992 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13993
13994 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13995
13996 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13997
13998 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13999
14000 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14001 * net/tramp-gvfs.el (top):
14002 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14003 (tramp-handle-shell-command): Use it.
14004 (tramp-dissect-file-name): Raise an error when hostname is a
14005 method name, and neither method nor user is specified.
14006
14007 * net/trampver.el: Update release number.
14008
14009 2013-03-18 Leo Liu <sdl.web@gmail.com>
14010
14011 Make sure eldoc can be turned off properly.
14012 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14013 eldoc-mode.
14014 (eldoc-display-message-p): Revert last change.
14015 (eldoc-display-message-no-interference-p)
14016 (eldoc-print-current-symbol-info): Tweak.
14017
14018 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14019
14020 * doc-view.el (doc-view-new-window-function): Check the new window
14021 overlay's display property instead the char property of the
14022 buffer's first char. Use `with-selected-window' instead of
14023 `save-window-excursion' with `select-window'.
14024 (doc-view-document->bitmap): Check the current doc-view overlay's
14025 display property instead the char property of the buffer's first char.
14026
14027 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14028
14029 Automate the build of ja-dic.el (Bug#13984).
14030 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14031 from the input, rather than assume that it's been done for us by the
14032 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14033 the current date into a ja-dic.el comment, as that complicates
14034 regression testing.
14035
14036 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14037
14038 * whitespace.el: Fix double evaluation.
14039 (whitespace-space, whitespace-hspace, whitespace-tab)
14040 (whitespace-newline, whitespace-trailing, whitespace-line)
14041 (whitespace-space-before-tab, whitespace-indentation)
14042 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14043 obsolete defvars.
14044 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14045 (whitespace-color-on): Use a single font-lock-add-keywords call.
14046 Fix double-evaluation of face variables.
14047
14048 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14049
14050 * net/tramp-adb.el (tramp-adb-parse-device-names):
14051 Use `start-process' instead of `call-process'. Otherwise, the
14052 function might be blocked under MS Windows. (Bug#13299)
14053
14054 2013-03-17 Leo Liu <sdl.web@gmail.com>
14055
14056 Extend eldoc to display info in the mode-line. (Bug#13978)
14057 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14058 (eldoc-mode-line-string): New variable.
14059 (eldoc-minibuffer-message): New function.
14060 (eldoc-message-function): New variable.
14061 (eldoc-message): Use it.
14062 (eldoc-display-message-p)
14063 (eldoc-display-message-no-interference-p):
14064 Support eldoc-post-insert-mode.
14065
14066 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14067 (eval-expression): Run it.
14068
14069 2013-03-17 Roland Winkler <winkler@gnu.org>
14070
14071 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14072 strings in the list of return values.
14073
14074 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14075
14076 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14077 radix before checking for HMS forms.
14078
14079 2013-03-16 Leo Liu <sdl.web@gmail.com>
14080
14081 * progmodes/scheme.el: Add indentation and font-locking for λ.
14082 (Bug#13975)
14083
14084 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14085
14086 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14087 token before point (bug#13942).
14088
14089 2013-03-16 Leo Liu <sdl.web@gmail.com>
14090
14091 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14092
14093 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14094
14095 * startup.el (command-line-normalize-file-name): Fix handling of
14096 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14097 <xfq.free@gmail.com> in
14098 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14099
14100 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14101
14102 Sync with Tramp 2.2.7.
14103
14104 * net/trampver.el: Update release number.
14105
14106 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14107
14108 * doc-view.el: Fix bug#13887.
14109 (doc-view-insert-image): Don't modify overlay associated to
14110 non-live windows, and implement horizontal centering of image in
14111 case it's smaller than the window.
14112 (doc-view-new-window-function): Force redisplay of new windows on
14113 doc-view buffers.
14114
14115 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14116
14117 * saveplace.el (save-place-alist-to-file): Don't sort
14118 `save-place-alist', just pretty-print it (bug#13882).
14119
14120 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14121
14122 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14123 Check whether `default-file-name-coding-system' is bound.
14124 It isn't in XEmacs.
14125
14126 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14127
14128 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14129 backquotes for `obsolete' (bug#13929).
14130
14131 * international/mule.el (find-auto-coding): Include file name in
14132 obsolescence warning (bug#13922).
14133
14134 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14135
14136 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14137 for CFEngine 3-specific indentation.
14138 (cfengine3-indent-line): Use it. Fix up category regex.
14139 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14140
14141 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14142
14143 * type-break.el (type-break-file-name):
14144 * textmodes/remember.el (remember-data-file):
14145 * strokes.el (strokes-file):
14146 * shadowfile.el (shadow-initialize):
14147 * saveplace.el (save-place-file):
14148 * ps-bdf.el (bdf-cache-file):
14149 * progmodes/idlwave.el (idlwave-config-directory):
14150 * net/quickurl.el (quickurl-url-file):
14151 * international/kkc.el (kkc-init-file-name):
14152 * ido.el (ido-save-directory-list-file):
14153 * emulation/viper.el (viper-custom-file-name):
14154 * emulation/vip.el (vip-startup-file):
14155 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14156 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14157
14158 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14159
14160 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14161 * language/thai-word.el: Switch to UTF-8.
14162
14163 See ChangeLog.16 for earlier changes.
14164
14165 ;; Local Variables:
14166 ;; coding: utf-8
14167 ;; End:
14168
14169 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14170
14171 This file is part of GNU Emacs.
14172
14173 GNU Emacs is free software: you can redistribute it and/or modify
14174 it under the terms of the GNU General Public License as published by
14175 the Free Software Foundation, either version 3 of the License, or
14176 (at your option) any later version.
14177
14178 GNU Emacs is distributed in the hope that it will be useful,
14179 but WITHOUT ANY WARRANTY; without even the implied warranty of
14180 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14181 GNU General Public License for more details.
14182
14183 You should have received a copy of the GNU General Public License
14184 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.