* lisp/calendar/calendar.el (calendar-generate-month): Apply weekend face
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12014-03-17 Glenn Morris <rgm@gnu.org>
2
3 * calendar/calendar.el (calendar-generate-month): Apply weekend
4 face to the right days; fixes 2013-08-06 change. (Bug#17028)
5
62014-03-17 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/tramp.el (tramp-action-out-of-band): Read pending output.
9 (tramp-call-process): Trace also DESTINATION.
10
11 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12 Quote file names when they are local. Remove superfluous trace.
13
142014-03-17 Dmitry Gutov <dgutov@yandex.ru>
15
16 * newcomment.el (comment-beginning): If `comment-start-skip'
17 doesn't match, move back one char and try again. (Bug#16971)
18
19 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set
20 `comment-use-syntax' to t to avoid the unnecessary runtime check.
21 Set `comment-start-skip' to a simpler value that doesn't try to
22 check if the semicolon is escaped (this is handled by
23 `syntax-ppss' now). (Bug#16971)
24
25 * progmodes/scheme.el (scheme-mode-variables): Same.
26
272014-03-16 Martin Rudalics <rudalics@gmx.at>
28
29 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
30 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
31 current (Bug#16816, Bug#17007).
32 (with-current-buffer-window): New macro doing the same as
33 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
34 * help.el (help-print-return-message): Warn in doc-string to not
35 use this in `with-help-window'.
36 (describe-bindings-internal): Call `describe-buffer-bindings'
37 from within help buffer. See Juanma's scenario in (Bug#16816).
38 (with-help-window): Update doc-string.
39 * dired.el (dired-mark-pop-up):
40 * files.el (save-buffers-kill-emacs):
41 * register.el (register-preview): Use `with-current-buffer-window'
42 instead of `with-temp-buffer-window'.
43
442014-03-16 Juanma Barranquero <lekktu@gmail.com>
45
46 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
47 Implement inserting into current buffer, documented in their docstrings.
48 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
49 (rst-section-tree-point, rst-forward-section, rst-indent)
50 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
51 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
52 (rst-font-lock-handle-adornment-pre-match-form)
53 (rst-repeat-last-character): Reflow docstrings.
54 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
55 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
56 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
57 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
58 Fix docstring typos.
59 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
60 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
61 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
62
632014-03-15 Juanma Barranquero <lekktu@gmail.com>
64
65 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
66 for compatibility with other ports.
67 (ns-initialize-window-system): Use it. It is set in term/common-win.el
68 from the -xrm command line argument, but in the Nextstep port its value
69 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
70
71 * progmodes/python.el (defconst, python-syntax-count-quotes)
72 (python-indent-region, python-indent-shift-right)
73 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
74 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
75 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
76 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
77 (inferior-python-mode, python-shell-make-comint, run-python-internal)
78 (python-shell-buffer-substring, python-shell-send-buffer)
79 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
80 (python-completion-complete-at-point, python-fill-docstring-style)
81 (python-eldoc-function, python-imenu-format-item-label)
82 (python-imenu-format-parent-item-label)
83 (python-imenu-format-parent-item-jump-label)
84 (python-imenu--build-tree, python-imenu-create-index)
85 (python-imenu-create-flat-index): Fix docstring typos.
86 (python-indent-context, python-shell-prompt-regexp, run-python):
87 Remove superfluous backslashes.
88 (python-indent-line, python-nav-beginning-of-defun)
89 (python-shell-get-buffer, python-shell-get-process)
90 (python-info-current-defun, python-info-current-line-comment-p)
91 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
92 (python-indent-post-self-insert-function, python-shell-send-file)
93 (python-shell-completion-get-completions)
94 (python-shell-completion-complete-or-indent)
95 (python-eldoc--get-doc-at-point): Reflow docstrings.
96
972014-03-14 Glenn Morris <rgm@gnu.org>
98
99 * emacs-lisp/package.el (package-menu-mode-map):
100 Replace use of obsolete function alias. Tweak menu item text.
101
102 * info.el (Info-finder-find-node):
103 Ignore the `emacs' metapackage. (Bug#10813)
104
105 * finder.el (finder-list-matches): Include unversioned packages
106 in the result of a keyword search.
107
108 * finder.el (finder--builtins-descriptions): New constant.
109 (finder-compile-keywords): Use finder--builtins-descriptions.
110
1112014-03-14 Dmitry Gutov <dgutov@yandex.ru>
112
113 * simple.el (blink-matching-paren): Describe the new value,
114 `jump', enabling the old behavior.
115 (blink-matching-open): Use that value. (Bug#17008)
116
1172014-03-14 Glenn Morris <rgm@gnu.org>
118
119 * finder.el (finder-no-scan-regexp): Add leim-list.
120 (finder-compile-keywords):
121 Don't skip files with same basename. (Bug#14010)
122 * Makefile.in (setwins_finder): New, excluding leim.
123 (finder-data): Use setwins_finder.
124
125 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
126 (help-function-arglist, help-make-usage): Move from here...
127 * help.el (help-split-fundoc, help-add-fundoc-usage)
128 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
129 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
130
1312014-03-14 Juanma Barranquero <lekktu@gmail.com>
132
133 * net/socks.el (socks, socks-override-functions)
134 (socks-find-services-entry):
135 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
136 (hif-find-ifdef-block):
137 * progmodes/modula2.el (m2-indent): Fix docstring typos.
138
139 * net/tls.el (tls-program): Reflow docstring.
140
141 * progmodes/pascal.el (pascal-mode-abbrev-table)
142 (pascal-imenu-generic-expression, pascal-auto-endcomments)
143 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
144 (pascal-outline-mode): Fix docstring typos.
145 (pascal-mode): Let define-derived-mode document mode hook.
146 (pascal-uncomment-area): Reflow.
147 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
148
149 * progmodes/opascal.el (opascal-compound-block-indent)
150 (opascal-case-label-indent): Fix docstring typos.
151 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
152
1532014-03-13 Dmitry Gutov <dgutov@yandex.ru>
154
155 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
156 multiple adjacent negation chars. (Bug#17004)
157
1582014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
159
160 * emacs-lisp/package.el (package--prepare-dependencies):
161 Accept requirements without explicit version (bug#14941).
162
1632014-03-12 Juanma Barranquero <lekktu@gmail.com>
164
165 * register.el (register-separator, copy-to-register): Doc fixes.
166 (register-preview-default): Remove unnecessary call to concat.
167
168 * frameset.el (frameset-restore): When checking for a visible frame,
169 use the action map instead of calling visible-frame-list.
170
1712014-03-12 Jonas Bernoulli <jonas@bernoul.li>
172
173 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
174
1752014-03-12 Martin Rudalics <rudalics@gmx.at>
176
177 * window.el (fit-frame-to-buffer): Get maximum width from
178 display's width instead of height.
179
1802014-03-12 Glenn Morris <rgm@gnu.org>
181
182 * desktop.el (desktop-restore-frames)
183 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
184 (desktop-restore-reuses-frames): Doc tweaks.
185
186 * electric.el (electric-indent-mode): Doc fix.
187
1882014-03-12 Juanma Barranquero <lekktu@gmail.com>
189
190 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
191 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
192 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
193 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
194 (cvs-dired-use-hook): Fix docstring typos.
195 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
196 Doc fixes.
197
198 * vc/pcvs-defs.el (cvs-auto-remove-handled)
199 (cvs-auto-remove-directories, cvs-default-ignore-marks)
200 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
201 (cvs-execute-single-dir): Fix docstring typos.
202
203 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
204 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
205
206 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
207
208 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
209 Fix docstring typos.
210
2112014-03-12 Juanma Barranquero <lekktu@gmail.com>
212
213 * frameset.el (frameset--jump-to-register): Add autoload; it could be
214 called from jump-to-register after unloading the frameset package.
215
2162014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
219 (bug#16975). Deactivate the mark before setting it to nil.
220 (activate-mark): Do nothing if region is already active.
221
2222014-03-11 Juanma Barranquero <lekktu@gmail.com>
223
224 * frameset.el (frameset--target-display): Remove definition; declare.
225 (frameset-save, frameset-restore): Let-bind frameset--target-display.
226
2272014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
230 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
231 when the advice is pending.
232 (advice-remove): Remove this marker when not needed any more.
233
2342014-03-11 Juanma Barranquero <lekktu@gmail.com>
235
236 * frameset.el: Separate options for reusing frames and cleaning up.
237 (frameset--reuse-list): Remove definition; declare.
238 (frameset--action-map): Declare.
239 (frameset--find-frame-if): Doc fix.
240 (frameset--restore-frame): Cache frame action.
241 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
242 how to clean up the frame list after restoring. Remove cleaning
243 options from REUSE-FRAMES. Change all keyword values to symbols.
244 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
245
246 * desktop.el (desktop-restore-forces-onscreen)
247 (desktop-restore-reuses-frames): Use non-keyword values.
248 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
249
2502014-03-10 Glenn Morris <rgm@gnu.org>
251
252 * files.el (find-file): Doc fix: update info node name.
253
254 * emacs-lisp/advice.el (ad-add-advice, defadvice):
255 Doc fix: remove references to deleted info nodes.
256
2572014-03-10 Michael Albinus <michael.albinus@gmx.de>
258
259 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
260 Do not add `nil' to the environment, when there's no remote `locale'.
261 (tramp-find-inline-encoding): Check, that the remote host has
262 installed perl, before sending scripts.
263
2642014-03-10 Leo Liu <sdl.web@gmail.com>
265
266 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
267 Clear eldoc-last-message. (Bug#16920)
268
2692014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
272 (bug#14430).
273
2742014-03-09 Juri Linkov <juri@jurta.org>
275
276 * ansi-color.el (ansi-color-names-vector): Copy default colors
277 from `xterm-standard-colors' that look well on the default white
278 background (and also on the black background) to avoid illegible
279 color combinations like yellow-on-white and white-on-white.
280 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
281
2822014-03-08 Juanma Barranquero <lekktu@gmail.com>
283
284 * frameset.el (frameset-restore): When no frame is visible, do not
285 generate a list of frames, just make visible the selected one.
286
2872014-03-08 Dmitry Gutov <dgutov@yandex.ru>
288
289 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
290 it only contains the repository root. (Bug#16897)
291
2922014-03-07 Michael Albinus <michael.albinus@gmx.de>
293
294 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
295 only when `remote-file-name-inhibit-cache' is nil.
296 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
297
2982014-03-06 Martin Rudalics <rudalics@gmx.at>
299
300 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
301 Fix doc-strings.
302 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
303 fit-frame-to-buffer variable. Fix doc-string.
304 (fit-window-to-buffer): Set ONLY argument in call of
305 fit-frame-to-buffer. Fix doc-string.
306
3072014-03-06 Michael Albinus <michael.albinus@gmx.de>
308
309 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
310 (tramp-action-password): Clear password cache if needed.
311 (tramp-read-passwd): Do not clear password cache.
312
313 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
314 cache unless it is the first password request.
315
3162014-03-06 Glenn Morris <rgm@gnu.org>
317
318 * simple.el (newline): Doc tweak.
319
320 * emacs-lisp/shadow.el (load-path-shadows-find):
321 Ignore dir-locals. (Bug#12357)
322
3232014-03-05 Glenn Morris <rgm@gnu.org>
324
325 * files.el (interpreter-mode-alist):
326 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
327
3282014-03-05 Juanma Barranquero <lekktu@gmail.com>
329
330 * frameset.el (frameset--initial-params): Filter out null entries.
331
3322014-03-05 Martin Rudalics <rudalics@gmx.at>
333
334 * window.el (window-min-height, window-min-width):
335 Rewrite doc-strings.
336 (window-body-size): Add PIXELWISE argument to make it consistent
337 with its callees.
338
3392014-03-05 Juanma Barranquero <lekktu@gmail.com>
340
341 * finder.el (finder-mode-map, finder-mode-syntax-table):
342 Revert part of 2014-02-28 change.
343
3442014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
345
346 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
347 (eww-setup-buffer): Clear next/prev/etc more reliably.
348 (eww-textarea-map): [tab] doesn't work on tty.
349 Reported by Mario Lang.
350
351 * net/shr.el (shr-map): Ditto.
352
3532014-03-04 Glenn Morris <rgm@gnu.org>
354
355 * minibuffer.el (completion-hilit-commonality):
356 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
357
3582014-03-04 Juanma Barranquero <lekktu@gmail.com>
359
360 * hilit-chg.el (hilit-chg-unload-function): New function.
361 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
362 (hilit-chg-map-changes): Prefer cardinal number to digit.
363 (hilit-chg-display-changes): Reflow docstring.
364 (highlight-changes-rotate-faces): Remove superfluous backslash.
365
3662014-03-04 Michael Albinus <michael.albinus@gmx.de>
367
368 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
369 `tramp-send-command-and-check'.
370
3712014-03-04 Juanma Barranquero <lekktu@gmail.com>
372
373 * hexl.el (hexl-address-region, hexl-ascii-region)
374 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
375 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
376 (hexl-forward-word, hexl-previous-line, hexl-next-line):
377 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
378 (hexl-mode): Doc fix.
379 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
380 (hexl-mode-ruler): Fix typos in docstrings.
381
382 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
383 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
384 Remove superfluous backslashes.
385 (strokes-last-stroke, strokes-global-map, strokes-mode):
386 Reflow docstrings.
387 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
388 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
389 (strokes-distance-squared, strokes-global-set-stroke)
390 (strokes-global-set-stroke-string): Doc fixes.
391 (strokes-help): Fix typos; reflow docstring.
392
3932014-03-04 Martin Rudalics <rudalics@gmx.at>
394
395 * window.el (window-in-direction): Fix doc-string.
396
3972014-03-04 Glenn Morris <rgm@gnu.org>
398
399 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
400 Explicit error if no grammar.
401 (smie-config-save): Doc fix. Fix quote typo.
402
4032014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
406 electric-indent-mode-hook if we obey electric-indent-mode.
407 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
408 decide whether we obey electric-indent-mode.
409 (c-change-set-fl-decl-start, c-extend-after-change-region):
410 Silence warnings.
411 (c-electric-indent-mode-hook): Assume we do want to obey
412 electric-indent-mode.
413
414 * electric.el (electric-indent-mode-has-been-called): Remove.
415 (electric-indent-mode): Fix accordingly.
416
417 * files.el (hack-local-variables): Mention file name in warning.
418
419 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
420
4212014-03-04 Michal Nazarewicz <mina86@mina86.com>
422
423 * binding.el: Add comment describing why C-d binds to `delete-char'.
424 * simple.el (delete-forward-char): Mark as interactive-only.
425
4262014-03-03 Juanma Barranquero <lekktu@gmail.com>
427
428 * icomplete.el (icomplete-completions):
429 Follow-up to 2014-03-01 change.
430
431 * icomplete.el: Miscellaneous doc fixes.
432 Use Icomplete everywhere instead of icomplete for consistency.
433 (icomplete-max-delay-chars): Fix typo.
434 (icomplete-mode): Use \[].
435 (icomplete-tidy, icomplete-exhibit): Reflow.
436 (icomplete-minibuffer-setup-hook, icomplete-completions):
437 Remove superfluous backlashes.
438
439 * ido.el: Miscellaneous doc fixes.
440 Use Ido everywhere instead of ido or `ido' for consistency.
441 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
442 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
443 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
444 (ido-separator): Extract obsolescence info from docstring and declare
445 with make-obsolete-variable.
446 (ido-minibuffer-setup-hook): Simplify example.
447 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
448 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
449 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
450 (ido-everywhere): Reflow docstring.
451 (ido-toggle-vc): Doc fix.
452 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
453 of long list of keybindings.
454
4552014-03-03 Glenn Morris <rgm@gnu.org>
456
457 * frame.el (display-pixel-height, display-pixel-width)
458 (display-mm-dimensions-alist, display-mm-height)
459 (display-mm-width): Doc tweaks.
460
4612014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
462
463 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
464 case of undo in region.
465
4662014-03-02 Martin Rudalics <rudalics@gmx.at>
467
468 * window.el (fit-window-to-buffer): Fix argument in window-size
469 call when window is horizontally combined.
470
4712014-03-02 Juanma Barranquero <lekktu@gmail.com>
472
473 * icomplete.el (icomplete-completions): Use string-width.
474 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
475
4762014-03-01 Dmitry Gutov <dgutov@yandex.ru>
477
478 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
479 Highlight regexp options. (Bug#16914)
480
4812014-03-01 Martin Rudalics <rudalics@gmx.at>
482
483 * window.el (window--max-delta-1): Round down when calculating
484 how many lines/columns we can get from a window.
485
4862014-03-01 Glenn Morris <rgm@gnu.org>
487
488 * isearch.el (search-invisible): Doc fix.
489
490 * minibuffer.el (completion-hilit-commonality):
491 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
492 * comint.el (comint-dynamic-list-completions): Doc fix.
493 * comint.el (comint-dynamic-list-completions):
494 * filecache.el (file-cache-minibuffer-complete):
495 * tempo.el (tempo-display-completions):
496 * eshell/em-hist.el (eshell-list-history):
497 Replace use of obsolete argument of display-completion-list.
498
4992014-03-01 Juanma Barranquero <lekktu@gmail.com>
500
501 * icomplete.el (icomplete-completions):
502 Revert back to using "..." when ?… cannot be displayed.
503
5042014-02-28 Juanma Barranquero <lekktu@gmail.com>
505
506 * finder.el (finder-unload-function): New function.
507
5082014-02-28 Juanma Barranquero <lekktu@gmail.com>
509
510 * dframe.el (dframe-detach):
511 * find-dired.el (find-dired, find-name-dired):
512 * finder.el (finder-mode-map, finder-mode-syntax-table)
513 (finder-headmark, finder-select, finder-mouse-select):
514 Fix docstring typos.
515
5162014-02-28 Martin Rudalics <rudalics@gmx.at>
517
518 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
519 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
520 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
521 Fix doc-string based on a suggestion by Nicolas Richard
522 <theonewiththeevillook@yahoo.fr>.
523 * help.el (with-help-window): Fix doc-string.
524
5252014-02-28 Ivan Kanis <ivan@kanis.fr>
526
527 * net/shr.el (shr-image-animate): New option.
528 (shr-put-image): Respect shr-image-animate.
529
5302014-02-28 Michael Albinus <michael.albinus@gmx.de>
531
532 * net/tramp-adb.el (tramp-adb-parse-device-names):
533 Use `accept-process-output'.
534 (tramp-adb-handle-file-truename): Cache the localname only.
535 (tramp-adb-handle-make-directory)
536 (tramp-adb-handle-delete-directory): Flush file properties correctly.
537 (tramp-adb-handle-set-file-modes): Do not raise an error when file
538 modes cannot be changed.
539
540 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
541 file properties of symlinks.
542
5432014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
544
545 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
546 required/optional fields to match development biblatex. (Bug#16781)
547
5482014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
549
550 * saveplace.el (toggle-save-place):
551 Fix argument handling. (Bug#16673)
552
5532014-02-28 Glenn Morris <rgm@gnu.org>
554
555 * minibuffer.el (completions-first-difference)
556 (completions-common-part, completion-hilit-commonality): Doc fixes.
557
5582014-02-28 Karl Berry <karl@gnu.org>
559
560 * info.el (Info-mode-map): Add H for describe-mode,
561 to synchronize with standalone Info.
562
5632014-02-28 Emilio C. Lopes <eclig@gmx.net>
564
565 * progmodes/sql.el (sql-interactive-mode):
566 Avoid setting global comint-input-ring-separator. (Bug#16814)
567
5682014-02-27 Michael Albinus <michael.albinus@gmx.de>
569
570 * net/dbus.el (dbus--init-bus): Declare function.
571 (dbus-path-local, dbus-interface-local): New defconst.
572 (dbus-init-bus): Use them.
573 (dbus-return-values-table): Extend doc.
574 (dbus-handle-bus-disconnect): Extend error message.
575
5762014-02-27 Juanma Barranquero <lekktu@gmail.com>
577
578 * subr.el (y-or-n-p): Fix double space issue in message.
579
5802014-02-27 Michael Albinus <michael.albinus@gmx.de>
581
582 * net/tramp.el (tramp-call-process): Improve trace message.
583 (tramp-handle-insert-file-contents): Trace error case.
584
585 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
586 <insert-directory>: Use `tramp-handle-insert-directory'.
587 (tramp-adb-handle-insert-directory): Remove function.
588 (tramp-adb-send-command-and-check): New defun, replacing
589 `tramp-adb-command-exit-status'. Change all callees.
590 (tramp-adb-handle-file-attributes)
591 (tramp-adb-handle-directory-files-and-attributes): Use it.
592 (tramp-adb-ls-output-name-less-p):
593 Use `directory-listing-before-filename-regexp'.
594 (tramp-adb-handle-delete-directory): Flush also file properties of
595 the truename of directory.
596 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
597 (tramp-adb-handle-file-local-copy): Make the local copy readable.
598 (tramp-adb-handle-write-region): Implement APPEND.
599 (tramp-adb-handle-rename-file): Make it more robust. Flush file
600 properties correctly.
601 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
602 variables. Check for connected devices only when needed.
603
6042014-02-27 Glenn Morris <rgm@gnu.org>
605
606 * minibuffer.el (completion-table-dynamic)
607 (completion-table-with-cache): Doc fixes.
608
609 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
610 (completing-read-multiple): Doc fixes.
611
6122014-02-27 Daniel Colascione <dancol@dancol.org>
613
614 * minibuffer.el (completion--nth-completion): Fix indentation.
615
616 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
617 explicit tramp path is empty.
618
6192014-02-27 Glenn Morris <rgm@gnu.org>
620
621 * emacs-lisp/crm.el (completing-read-multiple):
622 Empower help-enable-auto-load.
623
6242014-02-26 Glenn Morris <rgm@gnu.org>
625
626 * startup.el (command-line): Don't init the tty in daemon mode.
627
628 Avoid calling tty-setup-hook twice, eg if a term file
629 explicitly calls tty-run-terminal-initialization. (Bug#16859)
630 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
631 (tty-create-frame-with-faces): Use it.
632 * startup.el (command-line): Pass run-hook argument
633 to tty-run-terminal-initialization.
634
635 * dired.el (dired-restore-desktop-buffer): Demote errors;
636 eg in case a glob match fails. (Bug#16884)
637
6382014-02-26 Dmitry Gutov <dgutov@yandex.ru>
639
640 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
641 error from `read-from-string'. (Bug#16850)
642
643 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
644 result of `completing-read' in the interactive form. (Bug#16854)
645
6462014-02-25 Glenn Morris <rgm@gnu.org>
647
648 * image.el (image-animate, image-animate-timeout):
649 Stop animating images in dead buffers. (Bug#16878)
650
651 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
652
653 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
654 Doc fixes.
655 * startup.el (term-setup-hook): Doc fix. Make obsolete.
656 * term/sun.el (sun-raw-prefix-hooks):
657 Use tty-setup-hook instead of term-setup-hook.
658 (terminal-init-sun): Construct message from bytecomp plist.
659 * term/wyse50.el (enable-arrow-keys): Doc fix.
660
6612014-02-24 Juanma Barranquero <lekktu@gmail.com>
662
663 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
664 Fix docstring typos.
665
6662014-02-24 Michael Albinus <michael.albinus@gmx.de>
667
668 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
669
6702014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
671
672 * minibuffer.el (completion--try-word-completion):
673 Fix error when completing M-x commands (bug#16808).
674
6752014-02-24 Leo Liu <sdl.web@gmail.com>
676
677 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
678
6792014-02-24 Juanma Barranquero <lekktu@gmail.com>
680
681 * apropos.el (apropos-print): Avoid formatting error when
682 apropos-do-all and apropos-compact-layout are both t.
683
6842014-02-23 Juanma Barranquero <lekktu@gmail.com>
685
686 * apropos.el (apropos-property, apropos-all-words-regexp)
687 (apropos-true-hit, apropos-variable, apropos-print):
688 Fix docstring typos, and remove obsolete comment.
689
6902014-02-23 Michael Albinus <michael.albinus@gmx.de>
691
692 * net/tramp-sh.el (tramp-sh-handle-file-truename):
693 Preserve trailing "/". (Bug#16851)
694
6952014-02-23 Dmitry Gutov <dgutov@yandex.ru>
696
697 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
698 after `=>' (bug#16811).
699 (ruby-smie-rules): Handle the inconsistent second element of the
700 list returned by `smie-indent--parent'.
701 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
702 method call.
703
7042014-02-23 Juanma Barranquero <lekktu@gmail.com>
705
706 * elec-pair.el (electric-pair-text-syntax-table)
707 (electric-pair-syntax-info, electric-pair--syntax-ppss)
708 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
709 (electric-pair--looking-at-unterminated-string-p): Doc fix.
710 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
711
7122014-02-22 Glenn Morris <rgm@gnu.org>
713
714 * imenu.el (imenu--generic-function): Doc fix.
715
716 * register.el (frame-configuration-to-register): Make obsolete.
717
7182014-02-22 Juanma Barranquero <lekktu@gmail.com>
719
720 * desktop.el (desktop-save-buffer-p): Do not fail when
721 desktop-files-not-to-save is nil. Return t for true result
722 as the doc says.
723
7242014-02-22 Daniel Colascione <dancol@dancol.org>
725
726 * net/secrets.el (secrets-create-item, secrets-search-items):
727 Check that attribute values are strings, avoiding the construction
728 of invalid dbus messages.
729
7302014-02-21 Juanma Barranquero <lekktu@gmail.com>
731
732 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
733 defun-declarations-alist.
734
7352014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
738 (bug#16829).
739
7402014-02-21 Juanma Barranquero <lekktu@gmail.com>
741
742 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
743 (whitespace-newline, whitespace-trailing, whitespace-line)
744 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
745 (whitespace-space-after-tab): Fix typo in docstrings.
746
7472014-02-21 Dmitry Gutov <dgutov@yandex.ru>
748
749 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
750
751 * electric.el (electric-indent-functions-without-reindent):
752 Add `yaml-indent-line'.
753
7542014-02-21 Juanma Barranquero <lekktu@gmail.com>
755
756 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
757 It has done nothing for years; should be removed after the release.
758
759 * simple.el (choose-completion): Fix docstring typo.
760 (read-quoted-char-radix): Remove unneeded * in docstring.
761 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
762 Don't escape parentheses unnecessarily in docstrings.
763
7642014-02-21 Martin Rudalics <rudalics@gmx.at>
765
766 Fix handling of window-min-height/-width (Bug#16738).
767 * window.el (window--dump-window, window--dump-frame):
768 New functions.
769 (window--min-size-1): Account for window dividers.
770 When window-resize-pixelwise is nil, delay rounding till after the
771 sum of the window components has been calculated.
772 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
773 nil make sure at least one text line and two text columns remain
774 fully visible.
775 (window-resize): Signal an error when window-resize-apply fails.
776 (window--resize-child-windows): Fix calculation of by how many
777 pixels a window can still be shrunk via window-new-normal.
778 (adjust-window-trailing-edge): Call window--resizable with
779 correct TRAIL argument.
780
781 (with-temp-buffer-window): Don't evaluate BODY within
782 with-current-buffer (Bug#16816).
783
7842014-02-21 Michael Albinus <michael.albinus@gmx.de>
785
786 * net/tramp.el (tramp-check-cached-permissions):
787 Call `file-attributes' with `suffix' being a symbol but a string.
788
7892014-02-21 Daniel Colascione <dancol@dancol.org>
790
791 * net/dbus.el (dbus-init-bus-1): Declare new subr.
792 (dbus-init-bus): New function: call into dbus-init-bus-1
793 and installs a handler for the disconnect signal.
794 (dbus-call-method): Rewrite to look for result in cons.
795 (dbus-call-method-handler): Store result in cons.
796 (dbus-check-event): Recognize events with nil sender as valid.
797 (dbus-handle-bus-disconnect): New function. React to bus
798 disconnection signal by synthesizing dbus error for each
799 pending synchronous or asynchronous call.
800 (dbus-notice-synchronous-call-errors): New function.
801 (dbus-handle-event): Raise errors directly only when `dbus-debug'
802 is true, not all the time.
803
8042014-02-21 Juanma Barranquero <lekktu@gmail.com>
805
806 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
807 Remove obsolescence declarations, these variables do not exist anymore.
808
809 * savehist.el (savehist-save-minibuffer-history)
810 (savehist-additional-variables, savehist-file, savehist-mode-hook)
811 (savehist-save-hook, savehist-coding-system, savehist-loaded)
812 (savehist-load, savehist-install, savehist-autosave): Fix typos;
813 mostly, refer to "Savehist mode" when talking about the mode,
814 and not the function.
815
816 * saveplace.el (save-place): Remove redundant info in docstring.
817 (save-place-forget-unreadable-files, toggle-save-place)
818 (save-place-forget-unreadable-files, save-place-dired-hook):
819 Fix typos and remove unneeded backslashes.
820
8212014-02-20 Michael Albinus <michael.albinus@gmx.de>
822
823 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
824 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
825
826 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
827 <insert-directory>: Use `tramp-handle-insert-directory'.
828 (tramp-gvfs-handle-insert-directory): Remove function.
829
830 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
831 Call `tramp-handle-insert-directory'.
832
8332014-02-20 Juanma Barranquero <lekktu@gmail.com>
834
835 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
836 before the start of buffer/region (bug#16799).
837
8382014-02-20 Glenn Morris <rgm@gnu.org>
839
840 * isearch.el (search-invisible): Doc fix.
841
8422014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
843
844 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
845 (bug#16657).
846
8472014-02-19 Juanma Barranquero <lekktu@gmail.com>
848
849 * frameset.el (frameset-restore): Delay removing an old frame's
850 duplicate id until the new frame has been correctly created.
851
8522014-02-19 Michael Albinus <michael.albinus@gmx.de>
853
854 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
855 (tramp-check-cached-permissions): Call `file-attributes' if the
856 cache is empty.
857
858 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
859 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
860
861 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
862 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
863 (tramp-gvfs-maybe-open-connection): Set always connection
864 properties, even if target is mounted already.
865
866 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
867 Set tramp-autoload cookie.
868 (tramp-get-remote-touch): New defun.
869 (tramp-sh-handle-set-file-times): Use it.
870 (tramp-sh-handle-directory-files-and-attributes):
871 Use `tramp-handle-directory-files-and-attributes' if neither stat
872 nor perl are available on the remote host.
873
874 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
875 "/". Write long listing only when "l" belongs to the switches.
876
877 * net/trampver.el: Update release number.
878
8792014-02-19 Juanma Barranquero <lekktu@gmail.com>
880
881 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
882
8832014-02-19 Martin Rudalics <rudalics@gmx.at>
884
885 * window.el (window-state-put): Allow WINDOW to refer to an
886 internal window (Bug#16793).
887
8882014-02-19 Glenn Morris <rgm@gnu.org>
889
890 * textmodes/remember.el: Move provide statement to end.
891 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
892 (remember-notes): Doc fixes.
893
8942014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * delsel.el (delete-char): Restore incorrectly erased property
897 (bug#16795).
898
8992014-02-18 Juanma Barranquero <lekktu@gmail.com>
900
901 * frameset.el (frameset--restore-frame): When a frame is being reused
902 and its root window is not alive, delete all the frame's windows before
903 restoring the window state. This works around the issue in bug#16793.
904
9052014-02-18 Glenn Morris <rgm@gnu.org>
906
907 * textmodes/remember.el (remember-data-directory)
908 (remember-directory-file-name-format, remember-store-in-files)
909 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
910 (remember-notes-save-and-bury-buffer)
911 (remember-notes--kill-buffer-query): Doc fixes.
912
913 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
914
9152014-02-17 Alan Mackenzie <acm@muc.de>
916
917 Connect electric-indent-mode up with CC Mode. Bug #15478.
918 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
919 to electric-indent-{,local-}-mode.
920 (c-basic-common-init): Set electric-indent-inhibit.
921 Initialise c-electric-flag from electric-indent-mode.
922 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
923 New hook functions which propagate electric-indent-mode to CC mode.
924
925 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
926 hit, toggle electric-indent-local-mode.
927
928 * electric.el (electric-indent-mode-has-been-called):
929 New variable.
930
9312014-02-17 Juanma Barranquero <lekktu@gmail.com>
932
933 * frameset.el (frameset-cfg-id): New function.
934 (frameset--reuse-frame, frameset-restore): Use it.
935 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
936
9372014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * ido.el (ido-file-internal): Remove unused var `d'.
940 Use \` for to match BoS. Fit within 80n columns.
941
9422014-02-17 Daniel Colascione <dancol@dancol.org>
943
944 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
945 dbus-call-method check for completion using a busy-wait loop with
946 gradual backoff.
947
9482013-10-02 Michael Albinus <michael.albinus@gmx.de>
949
950 Sync with Tramp 2.2.9.
951
952 * net/trampver.el: Update release number.
953
9542014-02-16 Dmitry Gutov <dgutov@yandex.ru>
955
956 * ido.el (ido-file-internal): Don't add the name of an existing
957 directory twice. (Bug#16747)
958
9592014-02-16 Glenn Morris <rgm@gnu.org>
960
961 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
962 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
963
9642014-02-15 Michael R. Mauger <michael@mauger.com>
965
966 * progmodes/sql.el: Version 3.4
967 (sql-oracle-options): New default value ("-L").
968 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
969 (sql-placeholders-filter): Correct placeholder pattern.
970 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
971 (sql-login-delay): New variable.
972 (sql-product-interactive): Use it.
973
9742014-02-15 Juanma Barranquero <lekktu@gmail.com>
975
976 * frameset.el (frameset--jump-to-register): Check that buffer is live
977 (bug#16749).
978
9792014-02-15 Glenn Morris <rgm@gnu.org>
980
981 * info.el (info-initialize): Revert 2014-01-10 change.
982
9832014-02-14 Glenn Morris <rgm@gnu.org>
984
985 * replace.el (map-query-replace-regexp)
986 (read-regexp-defaults-function, read-regexp): Doc fixes.
987
988 * dired.el (dired-read-regexp):
989 * faces.el (list-faces-display):
990 * misearch.el (multi-isearch-read-matching-buffers)
991 (multi-isearch-read-matching-files):
992 * play/cookie1.el (cookie-apropos):
993 * progmodes/grep.el (grep-read-regexp): Doc fixes.
994
995 * textmodes/remember.el (remember): Use frameset-to-register
996 rather than frame-configuration-to-register.
997
9982014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
999
1000 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1001 incorrect keybinding.
1002
10032014-02-13 Daniel Colascione <dancol@dancol.org>
1004
1005 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1006 when adding overlays so that line numbers from compiler match line
1007 numbers we use.
1008
10092014-02-13 Glenn Morris <rgm@gnu.org>
1010
1011 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1012
1013 * jit-lock.el (jit-lock-mode): Doc fix.
1014
10152014-02-13 Juanma Barranquero <lekktu@gmail.com>
1016
1017 * apropos.el (apropos-read-pattern): When the user passes an empty
1018 string, give a more helpful error message than "Wrong type
1019 argument: stringp, nil".
1020
10212014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1024
10252014-02-13 Glenn Morris <rgm@gnu.org>
1026
1027 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1028
10292014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1030
1031 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1032 shift-select commands.
1033
10342014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1035
1036 * progmodes/js.el (js-indent-line): Don't widen.
1037 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1038
10392014-02-12 Glenn Morris <rgm@gnu.org>
1040
1041 * icomplete.el (icomplete): Add info-link to defgroup.
1042 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1043 (icomplete-minibuffer-map, icomplete-mode)
1044 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1045
1046 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1047 (package-menu-filter): Rename from package-menu-filter-interactive.
1048 Doc fix.
1049
10502014-02-11 Juanma Barranquero <lekktu@gmail.com>
1051
1052 * frameset.el (frameset--jump-to-register): Select the required
1053 window and buffer before restoring position (bug#16696).
1054
10552014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1056
1057 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1058
10592014-02-10 Glenn Morris <rgm@gnu.org>
1060
1061 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1062
10632014-02-10 Eli Zaretskii <eliz@gnu.org>
1064
1065 * w32-common-fns.el (x-get-selection): Doc fix.
1066 * select.el (x-get-selection): Doc fix. (Bug#15109)
1067
1068 * face-remap.el (face-remap-add-relative)
1069 (face-remap-remove-relative, face-remap-reset-base)
1070 (face-remap-set-base): Call force-mode-line-update to redisplay
1071 the current buffer due to potential change in faces. (Bug#16709)
1072
10732014-02-10 Michael Albinus <michael.albinus@gmx.de>
1074
1075 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1076 script more robustly.
1077
10782014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1079
1080 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1081
1082 * simple.el (choose-completion): Doc fix (bug#14160).
1083
1084 * subr.el (event-start): Say what a nil EVENT value means.
1085
1086 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1087 (bug#14197).
1088
1089 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1090
1091 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1092
1093 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1094
1095 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1096 predicate function (bug#15455).
1097
10982014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1099
1100 * ielm.el (inferior-emacs-lisp-mode): Instead of
1101 `comment-use-global-state', set `comment-use-syntax'.
1102
11032014-02-10 Glenn Morris <rgm@gnu.org>
1104
1105 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1106
11072014-02-09 Alan Mackenzie <acm@muc.de>
1108
1109 Fix c-invalidate-state-cache on narrowed buffers.
1110 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1111 Widen when setting and clearing the CPP delimiter properties.
1112
11132014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1114
1115 * help.el (describe-bindings): Doc fix (bug#9888).
1116
1117 * files.el (save-buffer): Use ARG as the parameter name for
1118 consistency (bug#10346).
1119 (save-buffer): Clarify the 0 argument (bug#10346).
1120
1121 * cus-edit.el (customize-apropos): Fix error string.
1122 (custom-buffer-create): Doc fix (bug#11122).
1123 (custom-sort-items): Doc fix (bug#11121).
1124
1125 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1126
1127 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1128 (icomplete-simple-completing-p): Mention the previous variable.
1129
1130 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1131 meaning of the parameter (bug#12282).
1132
1133 * files.el (find-file-noselect): Clarify prompt when changing
1134 readedness (bug#13261).
1135 (locate-file): Suffixes aren't returned, so don't say that they
1136 are (bug#12674).
1137 (backup-inhibited): Doc clarification (bug#12525).
1138
1139 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1140 before we actually start to delete things (bug#16331).
1141
1142 * subr.el (event-start): Doc fix (bug#14228).
1143 (event-end): Ditto.
1144
11452014-02-09 Glenn Morris <rgm@gnu.org>
1146
1147 * emacs-lisp/warnings.el (lwarn):
1148 Empower help-enable-auto-load. (Bug#15940)
1149
11502014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1151
1152 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1153 (Bug#16690)
1154
11552014-02-08 Michael Albinus <michael.albinus@gmx.de>
1156
1157 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1158 Insert output at end of buffer. (Bug#16120)
1159
11602014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1161
1162 * simple.el (choose-completion-string-functions): Document new
1163 calling convention (bug#14153).
1164 (execute-extended-command): Clarify doc string (bug#13373).
1165
1166 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1167
1168 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1169 (find-grep-dired): Doc fix (bug#14288).
1170
11712014-02-08 Juri Linkov <juri@jurta.org>
1172
1173 * isearch.el (isearch-quote-char): Check character validity
1174 like in `quoted-insert' (bug#16677).
1175
11762014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1177
1178 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1179
1180 * isearch.el (isearch-hide-immediately): Doc clarification
1181 (bug#14723).
1182
1183 * simple.el (line-move): Document utility function used many
1184 places in the Emacs sources (bug#14843).
1185
1186 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1187 (dired-prev-marked-file): Doc fix (bug#14855).
1188 (dired-up-directory): Doc fix (bug#14848).
1189
1190 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1191
1192 * files.el (file-relative-name): Doc fix (bug#15159).
1193
1194 * fringe.el (fringe-styles): Doc fix (bug#15239).
1195
1196 * isearch.el (isearch-filter-predicate): Documentation typo fix
1197 (bug#15474).
1198
1199 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1200
1201 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1202
1203 * replace.el (replace-match-maybe-edit): Doc clarification
1204 (bug#15632).
1205
1206 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1207
1208 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1209
12102014-02-08 Glenn Morris <rgm@gnu.org>
1211
1212 * help-fns.el (describe-variable):
1213 Check {file,dir}-local-variables-alist, and buffer-file-name,
1214 in the correct buffer.
1215
12162014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1217
1218 * help-fns.el (describe-variable): Fix the case where
1219 a value is directory-local with no dir-locals file. (Bug#16635)
1220
12212014-02-08 Glenn Morris <rgm@gnu.org>
1222
1223 * abbrev.el (edit-abbrevs-mode):
1224 Derive from fundamental-mode. (Bug#16682)
1225
12262014-02-07 Juanma Barranquero <lekktu@gmail.com>
1227
1228 * simple.el (quoted-insert): Check character validity (bug#16677).
1229
12302014-02-07 Juri Linkov <juri@jurta.org>
1231
1232 * desktop.el (desktop-read): Claim the lock when the owner is not
1233 the current process. (Bug#16157)
1234
12352014-02-07 Juri Linkov <juri@jurta.org>
1236
1237 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1238 to "\\` ". (Bug#16651)
1239
12402014-02-07 Juri Linkov <juri@jurta.org>
1241
1242 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1243 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1244 (desktop-auto-save-cancel-timer): New function with some code from
1245 `desktop-auto-save-set-timer'.
1246 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1247 Instead of setting `desktop-save-mode' to nil, call
1248 `desktop-save-mode' with arg 0. (Bug#16630)
1249
12502014-02-07 Glenn Morris <rgm@gnu.org>
1251
1252 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1253 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1254 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1255
1256 * obsolete/iswitchb.el: Move to obsolete/.
1257 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1258 since obsolete/ is not scanned for autoloads.
1259 * emacs-lisp/authors.el (authors-valid-file-names):
1260 Add iswitchb.el.
1261
1262 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1263 Disable now non-functional find-file-hook.
1264
12652014-02-06 Michael Albinus <michael.albinus@gmx.de>
1266
1267 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1268 instead of ";" in order to avoid additional prompts. Let heredoc
1269 scripts read from tty. (Bug#16582)
1270 (tramp-send-command): No special handling of heredocs, it isn't
1271 necessary anymore.
1272
12732014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1276 with a space (bug#16664). Limit the symbols considered to the ones
1277 that are bound or fbound (bug#16646).
1278
12792014-02-06 Glenn Morris <rgm@gnu.org>
1280
1281 * epa.el (epa-mail-aliases): Doc fix.
1282
12832014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1284
1285 * emacs-lisp/lisp.el (lisp-completion-at-point):
1286 Use `completion-table-merge' instead of `completion-table-in-turn'
1287 (bug#16604).
1288
1289 * minibuffer.el (completion-table-merge): New function.
1290
12912014-02-05 Michael Albinus <michael.albinus@gmx.de>
1292
1293 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1294 (tramp-sh-handle-set-file-acl)
1295 (tramp-sh-handle-start-file-process)
1296 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1297 (tramp-find-executable, tramp-send-command): Use it.
1298
12992014-02-05 Glenn Morris <rgm@gnu.org>
1300
1301 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1302
13032014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1304
1305 * progmodes/python.el (python-shell-send-string)
1306 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1307
13082014-02-04 Anders Lindgren <andlind@gmail.com>
1309
1310 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1311 the names (bug#16620).
1312
13132014-02-03 Martin Rudalics <rudalics@gmx.at>
1314
1315 * faces.el (window-divider): New default value. Rewrite doc-string.
1316 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1317
13182014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1319
1320 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1321 `protected' and `public' can also be called without arguments.
1322
13232014-02-03 Glenn Morris <rgm@gnu.org>
1324
1325 * register.el (window-configuration-to-register)
1326 (frame-configuration-to-register): Unadvertise unused argument.
1327 * frameset.el (frameset-to-register): Remove unused argument.
1328
1329 * frameset.el (frameset-to-register):
1330 * kmacro.el (kmacro-to-register):
1331 * register.el (increment-register):
1332 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1333 (calc-append-to-register, calc-prepend-to-register):
1334 * play/gametree.el (gametree-layout-to-register)
1335 (gametree-apply-register-layout):
1336 * textmodes/picture.el (picture-clear-rectangle-to-register)
1337 (picture-yank-rectangle-from-register):
1338 * vc/emerge.el (emerge-combine-versions-register):
1339 Use register-read-with-preview to read registers.
1340
13412014-02-03 João Távora <joaotavora@gmail.com>
1342
1343 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1344 when at beginning of (possibly narrowed) buffer.
1345
13462014-02-02 Daniel Colascione <dancol@dancol.org>
1347
1348 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1349 Also try to display local help from just before point.
1350
13512014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1352
1353 c-parse-state. Don't "append-lower-brace-pair" in certain
1354 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1355 recognised as a comment.
1356
1357 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1358 as well as normal comment starter.
1359 (c-parse-state-get-strategy): Extra return possibility
1360 'back-and-forward.
1361 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1362 return value list to indicate replacement of a brace-pair cons
1363 with its car.
1364 (c-parse-state-1): With 'back-and-forward, only call
1365 c-append-lower-brace-pair-to state-cache when cons-separated.
1366
13672014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1368
1369 * term/ns-win.el (ns-suspend-error): New function.
1370 (ns-initialize-window-system): Add ns-suspend-error to
1371 suspend-hook (Bug#16612).
1372
13732014-02-02 Daniel Colascione <dancol@dancol.org>
1374
1375 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1376 Make loading cc-mode silent.
1377
13782014-02-02 Daniel Colascione <dancol@dancol.org>
1379
1380 * comint.el (comint-prompt-read-only): Change doc to suggest
1381 remap keybinding.
1382
13832014-02-02 Glenn Morris <rgm@gnu.org>
1384
1385 * register.el (register-read-with-preview, point-to-register)
1386 (window-configuration-to-register, frame-configuration-to-register)
1387 (jump-to-register, number-to-register, view-register, insert-register)
1388 (copy-to-register, append-to-register, prepend-to-register)
1389 (copy-rectangle-to-register): Doc fixes.
1390
13912014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1394 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1395 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1396 * help-fns.el (describe-function-1): Use it.
1397
13982014-02-02 Glenn Morris <rgm@gnu.org>
1399
1400 * register.el (register-preview-default): New function,
1401 split from register-preview.
1402 (register-preview-function): Rename from register-preview-functions,
1403 make it not a hook.
1404 (register-preview): Use register-preview-function.
1405 (register-read-with-preview): Error on non-character event. (Bug#16595)
1406
14072014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1408
1409 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1410 `:' before binary operators (bug#16609). Don't check for `:'
1411 before `[' and `(', or their syntax status. A percent literal
1412 can't end with either.
1413 (ruby-font-lock-keywords): For built-ins that require arguments,
1414 check that they're followed by something that looks like argument
1415 (bug#16610).
1416
14172014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1418
1419 * subr.el (butlast): Document what an omitted N means (bug#13437).
1420 (nbutlast): Ditto.
1421
14222014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1423
1424 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1425 depth shallower (bug#16587).
1426 (shr-tag-svg): Respect `shr-inhibit-images'.
1427 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1428
14292014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1430
1431 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1432 (ruby-smie-grammar): Make "." right-associative. Make its priority
1433 lower than the ternary and all binary operators.
1434 (ruby-smie-rules): Indent "(" relative to the first non-"."
1435 parent, or the first "." parent at indentation.
1436 Use `ruby-align-chained-calls' for indentation of "." tokens.
1437 (Bug#16593)
1438
14392014-01-31 Juri Linkov <juri@jurta.org>
1440
1441 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1442 from `make-hash-table'.
1443
1444 * textmodes/ispell.el (ispell-init-process): Change message format
1445 to be consistent with other messages.
1446
14472014-01-31 Glenn Morris <rgm@gnu.org>
1448
1449 * delsel.el (delete-selection-mode): Doc fix.
1450
1451 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1452 (trace-function-background): Doc fixes.
1453
1454 * ido.el (ido-use-virtual-buffers): Doc fix.
1455 Reset :version, since the default value has not changed.
1456
1457 * register.el (register-preview-delay, register-read-with-preview):
1458 Doc fixes.
1459
1460 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1461 do not mess with mail-buffer position (fixes 2009-11-03 change).
1462 * progmodes/cc-mode.el (c-submit-bug-report):
1463 Check auto-fill-mode is bound. (Bug#16592)
1464
14652014-01-31 Darren Hoo <darren.hoo@gmail.com>
1466
1467 * startup.el (fancy-splash-image-file): New function,
1468 split from fancy-splash-head.
1469 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1470 so that we are both using the same image. (Bug#16574)
1471
14722014-01-30 Glenn Morris <rgm@gnu.org>
1473
1474 * simple.el (eval-expression): Doc fix.
1475
1476 * hexl.el (hexl-mode-hook):
1477 * ielm.el (ielm-mode-hook):
1478 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1479 (lisp-interaction-mode-hook):
1480 * progmodes/cfengine.e (cfengine3-documentation-function):
1481 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1482
14832014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1486 is a symbol (bug#16584).
1487
14882014-01-30 Glenn Morris <rgm@gnu.org>
1489
1490 * help.el (help-for-help-internal): Add "P" to text.
1491
14922014-01-29 Glenn Morris <rgm@gnu.org>
1493
1494 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1495
14962014-01-28 Martin Rudalics <rudalics@gmx.at>
1497
1498 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1499 height constraints.
1500
15012014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1502
1503 * progmodes/hideif.el: Extend to full CPP expression syntax.
1504 (hif-token-alist): Add missing tokens.
1505 (hif-token-regexp): Add support for float/octal/hex immediates.
1506 (hif-string-literal-regexp): New const.
1507 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1508 (hif-exprlist): New function.
1509 (hif-parse-if-exp): Use it.
1510 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1511 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1512 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1513 (hif-logxor, hif-comma): New functions.
1514
15152014-01-28 Glenn Morris <rgm@gnu.org>
1516
1517 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1518
1519 * indent.el (tab-stop-list): Doc fix. Add :version.
1520
1521 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1522 (cvs-append-to-ignore): Add compatibility alias.
1523
15242014-01-27 Glenn Morris <rgm@gnu.org>
1525
1526 * dired.el (dired-hide-details-mode): Don't autoload it,
1527 since it cannot be used outside Dired buffers anyway.
1528
1529 * emulation/cua-base.el (cua-mode): Doc fix.
1530
1531 * dired.el (dired-hide-details-hide-symlink-targets)
1532 (dired-hide-details-hide-information-lines)
1533 (dired-hide-details-mode): Doc fixes.
1534
1535 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1536 * strokes.el (strokes-file): Doc fix. Bump :version.
1537 (strokes-help): Doc fix.
1538 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1539 * emulation/viper.el (viper): Doc fix for custom group.
1540 (top-level): Remove oh-so-no-longer-relevant text about vip.
1541 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1542
1543 * ido.el (ido-save-directory-list-file):
1544 * saveplace.el (save-place-file):
1545 * calendar/timeclock.el (timeclock-file):
1546 * net/quickurl.el (quickurl-url-file):
1547 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1548 * progmodes/idlwave.el (idlwave-config-directory):
1549 * textmodes/remember.el (remember-data-file):
1550 Bump :version.
1551
15522014-01-26 Glenn Morris <rgm@gnu.org>
1553
1554 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1555 Doc fix. Make obsolete.
1556 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1557
1558 * sort.el (delete-duplicate-lines): Doc fix.
1559
15602014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1561
1562 * progmodes/ada-mode.el (ada):
1563 * woman.el (woman): Link to info manual and Commentary section.
1564
1565 * progmodes/flymake.el (flymake):
1566 * nxml/nxml-mode.el (nxml):
1567 * net/eww.el (eww):
1568 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1569 * htmlfontify.el (htmlfontify):
1570 * ses.el (ses):
1571 * epa.el (epa):
1572 * ido.el (ido): Link to info manual.
1573
15742014-01-25 Leo Liu <sdl.web@gmail.com>
1575
1576 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1577
15782014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1579
1580 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1581 (bug#16537).
1582
15832014-01-24 Juanma Barranquero <lekktu@gmail.com>
1584
1585 * net/eww.el (eww-download-callback):
1586 Fix reference to eww-download-directory.
1587
1588 * emacs-lisp/bytecomp.el (byte-compile-file):
1589 Remove unused local variable `file-name'.
1590
15912014-01-24 Glenn Morris <rgm@gnu.org>
1592
1593 * woman.el (woman-default-faces, woman-monochrome-faces):
1594 Fix obsolescence specification.
1595
1596 * subr.el (with-demoted-errors): Doc fix.
1597
15982014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1601 (cl--macroexp-fboundp): New function.
1602 (cl--make-type-test): Use it.
1603
16042014-01-23 Glenn Morris <rgm@gnu.org>
1605
1606 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1607 * simple.el (eval-expression): Doc fixes.
1608
16092014-01-22 Glenn Morris <rgm@gnu.org>
1610
1611 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1612
16132014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * emacs-lisp/package.el: Write files silently.
1616 (package-autoload-ensure-default-file, package--write-file-no-coding)
1617 (package-generate-description-file, package--download-one-archive)
1618 (package-install-from-archive): Tell `write-region' to stay quiet.
1619 (package-menu-mode, package-menu--print-info): Omit the Archive column
1620 if there's only one archive.
1621 (package-all-keywords, package--has-keyword-p): Remove dead code.
1622
16232014-01-22 Glenn Morris <rgm@gnu.org>
1624
1625 * version.el (emacs-bzr-version-bzr): Fix typo.
1626
1627 * version.el (emacs-repository-get-version):
1628 Check either .bzr or .git, but not both.
1629 Make the git case actually use the DIR argument, and return nil
1630 rather than the empty string.
1631 Avoid error if .git exists but the git executable is not found.
1632
16332014-01-22 Martin Rudalics <rudalics@gmx.at>
1634
1635 Fixes in window size functions around Bug#16430 and Bug#16470.
1636 * window.el (window-total-size, window-size): New argument ROUND.
1637 (window--min-delta-1, window-min-delta, window--max-delta-1):
1638 Be more conservative when calculating the numbers of lines or
1639 columns a window can shrink (Bug#16430).
1640 (fit-window-to-buffer): Simplify code.
1641 * term.el (term-window-width): Call window-body-width again.
1642
16432014-01-22 Glenn Morris <rgm@gnu.org>
1644
1645 * image.el (image-format-suffixes): Doc fix.
1646
1647 * international/quail.el (quail-define-package): Doc fix.
1648
1649 * emacs-lisp/authors.el (authors-valid-file-names)
1650 (authors-renamed-files-alist): Additions.
1651
1652 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1653 reverts 2014-01-09 change. (Bug#16422)
1654
1655 * calc/calc-embed.el (thing-at-point-looking-at):
1656 * emacs-lisp/map-ynp.el (x-popup-dialog):
1657 * obsolete/lmenu.el (x-popup-dialog):
1658 * emacs-lisp/package.el (url-recreate-url):
1659 * mail/mailclient.el (clipboard-kill-ring-save):
1660 * subr.el (x-popup-dialog): Update declaration.
1661 * mail/rmail.el (rmail-mime-message-p):
1662 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1663
16642014-01-21 Daniel Colascione <dancol@dancol.org>
1665
1666 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1667 Correctly detect when we're inside an arithmetic expansion form
1668 containing nested parenthesis.
1669 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1670 to detect cases where we shouldn't expand "<<" to a heredoc
1671 skeleton.
1672
16732014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1676 (eldoc--message-command-p): New function.
1677 (eldoc-display-message-p): Use it.
1678 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1679 message is not automatically erased for us.
1680 (eldoc-print-current-symbol-info): Erase previous message, if any.
1681
16822014-01-21 Tassilo Horn <tsdh@gnu.org>
1683
1684 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1685 specify it's an interactive function.
1686
1687 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1688 Fix regex used for scanning for citation keys which failed for
1689 citations with optional arguments.
1690
16912014-01-21 Leo Liu <sdl.web@gmail.com>
1692
1693 * simple.el (read--expression): Don't enable eldoc-mode.
1694
16952014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 * simple.el (move-beginning-of-line): Make sure we don't move forward
1698 (bug#16497).
1699
17002014-01-20 Juri Linkov <juri@jurta.org>
1701
1702 * saveplace.el (toggle-save-place, save-place-to-alist)
1703 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1704 'dired-mode) before checking for dired-directory. (Bug#16477)
1705
17062014-01-20 Juri Linkov <juri@jurta.org>
1707
1708 * indent.el (indent-line-to): Use backward-to-indentation
1709 instead of back-to-indentation. (Bug#16461)
1710
17112014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1712
1713 Revert some of the CANNOT_DUMP fix (Bug#16494).
1714 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1715 but fixing this can wait until after the next release.
1716 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1717
17182014-01-19 Michael Albinus <michael.albinus@gmx.de>
1719
1720 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1721 Use `password-word-equivalents'.
1722 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1723 to t. (Bug#5664, Bug#13124)
1724
17252014-01-19 Alan Mackenzie <acm@muc.de>
1726
1727 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1728 points.
1729 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1730 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1731 * progmodes/cc-mode.el (c-before-change, c-after-change)
1732 (c-font-lock-fontify-region): Bind it here.
1733
17342014-01-19 Martin Rudalics <rudalics@gmx.at>
1735
1736 * term.el (term-window-width): Call window-text-width instead of
1737 window-width (Bug#16470).
1738
17392014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1740
1741 * simple.el (password-word-equivalents): Remove duplicates.
1742 Sort, to make this easier next time.
1743 Downcase. Omit ": " after "jelszó".
1744
17452014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1746
1747 * term/common-win.el (saved-region-selection): Defvar it.
1748 (x-select-text): Set saved-region-selection (Bug#16382).
1749
17502014-01-18 Glenn Morris <rgm@gnu.org>
1751
1752 * emacs-lisp/authors.el (authors-aliases)
1753 (authors-renamed-files-alist): Add some entries.
1754
17552014-01-17 Michael Albinus <michael.albinus@gmx.de>
1756
1757 * net/tramp.el (tramp-password-prompt-regexp):
1758 Use `password-word-equivalents' if available.
1759 (tramp-action-password, tramp-process-one-action)
1760 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1761
17622014-01-17 Chong Yidong <cyd@gnu.org>
1763
1764 * simple.el (password-word-equivalents): New defcustom.
1765 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1766 to 24.4.
1767 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1768 to t. (Bug#13124)
1769
17702014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1771
1772 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1773 (ruby-align-to-stmt-keywords): Change the default value.
1774 Use `ruby-alignable-keywords' to generate the possible customization
1775 choices.
1776 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1777 keywords, check against the value of `ruby-alignable-keywords'
1778 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1779
17802014-01-17 Glenn Morris <rgm@gnu.org>
1781
1782 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1783
1784 Make M-x authors return zero *Authors Errors* from current logs.
1785 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1786 (authors-ignored-files): Add some entries, remove others.
1787 (authors-ambiguous-files, authors-valid-file-names):
1788 Add some entries.
1789 (authors-renamed-files-alist): Add, remove, and adjust entries.
1790 (authors-renamed-files-regexps): Add some entries.
1791 Remove some very broad ones. Make some entries `lax'.
1792 (authors-lax-changelogs): New constant.
1793 (authors-disambiguate-file-name): Treat top-level specially.
1794 (authors-lax-changelog-p): New function.
1795 (authors-canonical-file-name): Check file as written against
1796 authors-valid-file-names. Do not special-case etc/.
1797 Handle `lax' logs and authors-renamed-files-regexps elements.
1798
17992014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1800
1801 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1802 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1803 callers.
1804
18052014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1808 Assume we're already in the proper buffer.
1809 Inspired by Anders Lindgren <andlind@gmail.com>.
1810 (follow-post-command-hook): Call it from the right buffer.
1811 (follow-comint-scroll-to-bottom): Adjust call.
1812 (follow-all-followers): Use get-buffer-window-list.
1813
18142014-01-15 Daniel Colascione <dancol@dancol.org>
1815
1816 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1817 `buffer-file-name' in interactive-form so that we don't leave
1818 pathless file names in `file-name-history'.
1819
18202014-01-15 Juri Linkov <juri@jurta.org>
1821
1822 * indent.el (indent-rigidly): Set deactivate-mark to nil
1823 in transient indentation mode. (Bug#16438)
1824
18252014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1826
1827 * emacs-lisp/package.el (package-desc-keywords): New function
1828 (Bug#16222).
1829 (describe-package-1, package-all-keywords)
1830 (package--has-keyword-p): Use it.
1831
18322014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1833
1834 * simple.el (define-alternatives): When creating the
1835 COMMAND-alternatives variable, assign COMMAND as its definition
1836 name so that `describe-variable' can relocate it.
1837
18382014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1839
1840 * font-lock.el (font-lock-keywords): Fix typo in docstring
1841 (bug#16307).
1842
18432014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1844
1845 * ispell.el (ispell-region): Reset `in-comment' for new line
1846 instead of wrongly reset `add-coment' (bug#13577).
1847
18482014-01-14 Daiki Ueno <ueno@gnu.org>
1849
1850 * epa-file.el (epa-file-write-region): Encode the region according
1851 to `buffer-file-format'. Problem reported at:
1852 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1853
18542014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1857 so it applies in the right buffer (bug#16410).
1858
18592014-01-13 Daniel Colascione <dancol@dancol.org>
1860
1861 * textmodes/rst.el (rst-define-key): Provide deprecated
1862 keybindings through named functions instead of anonymous ones so
1863 that "??" doesn't appear in describe-mode output.
1864
18652014-01-13 Bastien Guerry <bzg@gnu.org>
1866
1867 * simple.el (define-alternatives): Call the selected command
1868 interactively. When setting `COMMAND--implementation' for the
1869 first time, tell the user how to chose another implementation.
1870 Enhance the docstring.
1871
18722014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1875 (log-edit--match-first-line): New function.
1876 (log-edit-font-lock-keywords): Use it.
1877 (log-edit-mode): Make jit-lock-defer-multiline work.
1878
18792014-01-13 Bastien Guerry <bzg@gnu.org>
1880
1881 * rect.el (rectangle-mark-mode): When the region is not active,
1882 display a message saying that the mark as been set and that
1883 rectangle mode is in use.
1884 (rectangle--highlight-for-redisplay): Only put an overlay with a
1885 visible vertical bar when (display-graphic-p) is non-nil.
1886 This partially fixes Bug#16403.
1887
18882014-01-13 Juri Linkov <juri@jurta.org>
1889
1890 * info.el (Info-find-file): Go to DIR before displaying the error
1891 about a nonexistent file if no previous Info file is visited.
1892 Use `user-error' instead of `error' for "Info file %s does not exist".
1893 (Info-find-node-2): In case of a nonexistent node in unwind forms
1894 go to the Top node if there is no previous node to revert to.
1895 (Bug#16405)
1896
18972014-01-13 Martin Rudalics <rudalics@gmx.at>
1898
1899 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1900 * window.el (fit-frame-to-buffer): Fix doc-string.
1901 Respect window-min-height/-width. Fit pixelwise when
1902 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1903 when avoiding that frame goes partially off-screen.
1904 (fit-window-to-buffer): Respect window-min-height/-width
1905 (Bug#14096).
1906
19072014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1908
1909 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1910 after an empty line.
1911
19122014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * net/shr.el (shr-render-region): Autoload.
1915
19162014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1917
1918 * net/eww.el (eww-download-directory): Rename from
1919 `eww-download-path' (Bug#16419).
1920
19212014-01-12 Leo Liu <sdl.web@gmail.com>
1922
1923 * dired-x.el (dired-mode-map): Fix last change.
1924
1925 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1926
19272014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1928
1929 Spelling fixes.
1930 * emacs-lisp/generic.el (generic--normalize-comments):
1931 Rename from generic--normalise-comments. All uses changed.
1932 * play/bubbles.el (bubbles--neighborhood-score)
1933 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1934 (bubbles--neighborhood-available)
1935 (bubbles--update-neighborhood-score):
1936 Rename from names with 'neighbourhood'. All uses changed.
1937
19382014-01-12 Leo Liu <sdl.web@gmail.com>
1939
1940 Re-implement the feature of showing eldoc info after editing.
1941 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1942 (eldoc-edit-message-commands): New function.
1943 (eldoc-print-after-edit): New variable.
1944 (eldoc-pre-command-refresh-echo-area): Emit message only by
1945 eldoc-message-commands.
1946 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1947 if eldoc-print-after-edit is set. (Bug#16346)
1948 * simple.el (read--expression): Enable eldoc-mode.
1949 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1950
19512014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1952 Eric S. Raymond <esr@thyrsus.com>
1953
1954 * version.el (emacs-repository-get-version): Enhance so the
1955 function works correctly in either a Bazaar or Git repo.
1956
19572014-01-11 Eric S. Raymond <esr@thyrsus.com>
1958
1959 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1960 Goes with removal of the joke manpages from /etc.
1961
19622014-01-10 Kenichi Handa <handa@gnu.org>
1963
1964 * mail/rmail.el (rmail-get-coding-system):
1965 Check rmail-get-coding-function before "funcall"ing it.
1966
19672014-01-10 Glenn Morris <rgm@gnu.org>
1968
1969 * emacs-lisp/authors.el (authors-fixed-entries):
1970 Update for files that no longer exist.
1971
19722014-01-10 Eric S. Raymond <esr@thyrsus.com>
1973
1974 * version.el (emacs-bzr-get-version): Restore compatibilty with
1975 24.3 (Tested).
1976
19772014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1978
1979 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1980 and Podfile.
1981
19822014-01-10 Eli Zaretskii <eliz@gnu.org>
1983
1984 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1985
19862014-01-10 Chong Yidong <cyd@gnu.org>
1987
1988 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1989
19902014-01-10 Anders Lindgren <andlind@gmail.com>
1991
1992 * follow.el (follow-cache-command-list): Include right-char and
1993 left-char.
1994
19952014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1996
1997 Spelling fixes.
1998 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1999 * woman.el (woman-mark-horizontal-position):
2000 Rename from woman-mark-horizonal-position. Use changed.
2001
20022014-01-10 Glenn Morris <rgm@gnu.org>
2003
2004 * info.el (info-initialize): If running uninstalled, ensure our
2005 own info files are always found first, even if INFOPATH is set.
2006
2007 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2008
20092014-01-09 David Engster <deng@randomsample.de>
2010
2011 * emacs-lisp/eieio-custom.el:
2012 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2013 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2014 * emacs-lisp/eieio.el: Regenerate autoloads.
2015
20162014-01-09 Eric S. Raymond <esr@thyrsus.com>
2017
2018 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2019 following renames. (Bug#8756)
2020
20212014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2024 (bug#16382).
2025 (activate-mark): Add `no-tmm' argument.
2026 (set-mark, push-mark-command): Use it instead of running
2027 activate-mark-hook by hand.
2028
20292014-01-08 Eric S. Raymond <esr@thyrsus.com>
2030
2031 In preparation for the move to git, sanitize out some
2032 Bazaar-specific names.
2033
2034 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2035
2036 * version.el (emacs-bzr-version): Name changed to
2037 emacs-repository-version. Obsolete-variable alias made.
2038 * loadup.el: Follow through on this name change.
2039 * mail/emacsbug.el (report-emacs-bug): Factor out any
2040 assumption about the version control system in use.
2041
20422014-01-08 David Engster <deng@randomsample.de>
2043
2044 * help-fns.el (help-fns-describe-function-functions):
2045 New variable to call functions for augmenting help buffers.
2046 (describe-function-1): Remove explicit calls to
2047 `help-fns--compiler-macro', `help-fns--parent-mode' and
2048 `help-fns--obsolete'. Put them in above new variable instead, and
2049 call them through `run-hook-with-args'.
2050 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2051 `eieio-describe-class'. Not meant for interactive use anymore,
2052 but to augment existing help buffers. Remove optional second
2053 argument. Create proper button for file location.
2054 Rewrite function to use `insert' instead of `princ' and `prin1' where
2055 possible.
2056 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2057 (eieio-method-def, eieio-class-def): Move further up.
2058 (describe-method, describe-generic, eieio-describe-method):
2059 Remove aliases.
2060 (eieio-help-constructor, eieio-help-generic): Rename from
2061 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2062 Rewrite to use `insert' in the current buffer and use proper help
2063 buttons.
2064 (eieio-help-find-method-definition)
2065 (eieio-help-find-class-definition): Also accept symbols as
2066 arguments.
2067 (eieio-help-mode-augmentation-maybee): Remove.
2068 (eieio-describe-class-sb): Use `describe-function'.
2069 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2070 Add `eieio-help-generic' and `eieio-help-constructor'.
2071
20722014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2073
2074 Spelling fixes.
2075 * language/china-util.el (hz-ascii-designation):
2076 Rename from hz-ascii-designnation.
2077 (hz-ascii-designation): Rename from hz-ascii-designnation.
2078 All uses changed.
2079
20802014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2081
2082 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2083 package-alist.
2084
20852014-01-08 Bastien Guerry <bzg@gnu.org>
2086
2087 * emacs-lisp/package.el (package-delete):
2088 Correctly delete the package from package-alist.
2089
20902014-01-08 Daiki Ueno <ueno@gnu.org>
2091
2092 * emacs-lisp/package.el (url-recreate-url): Declare.
2093 (url-http-target-url): Declare.
2094 (package-handle-response): Include requested URL in the error message.
2095 (package--check-signature): Don't re-signal errors from
2096 package--with-work-buffer. Suggested by Stefan Monnier.
2097
20982014-01-07 Bastien Guerry <bzg@gnu.org>
2099
2100 * minibuffer.el (completion--try-word-completion): When both a
2101 hyphen and a space are possible candidates for the character
2102 following a word, display both candidates. (Bug#15980)
2103
21042014-01-07 Martin Rudalics <rudalics@gmx.at>
2105
2106 * window.el (balance-windows-2): While rounding don't give a
2107 window more than the remainder. Bug#16351, bug#16383.
2108
21092014-01-07 Glenn Morris <rgm@gnu.org>
2110
2111 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2112 (menu-bar-help-menu): Use view-external-packages instead.
2113
21142014-01-07 Bastien Guerry <bzg@gnu.org>
2115
2116 * emacs-lisp/package.el (package-delete): Also delete the package
2117 name from `package-alist', not its description only.
2118
21192014-01-07 Glenn Morris <rgm@gnu.org>
2120
2121 * help.el (view-external-packages):
2122 * menu-bar.el (menu-bar-help-extra-packages):
2123 Visit efaq.info rather than etc/MORE.STUFF.
2124
21252014-01-07 Juri Linkov <juri@jurta.org>
2126
2127 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2128 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2129
2130 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2131 that shadows RET. (Bug#16342)
2132
21332014-01-07 Chong Yidong <cyd@gnu.org>
2134
2135 * isearch.el (isearch-yank-char, isearch-yank-word)
2136 (isearch-yank-line): Doc fix.
2137
21382014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2141 * emacs-lisp/elint.el (elint-find-builtins):
2142 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2143 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2144 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2145 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2146 * apropos.el (apropos-safe-documentation):
2147 * subr.el (symbol-file): Remove redundant fboundp.
2148 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2149
21502014-01-06 Bastien Guerry <bzg@gnu.org>
2151
2152 * hl-line.el (global-hl-line-overlay): Make a local variable.
2153 (global-hl-line-overlays): New variable to store all overlays.
2154 (global-hl-line-mode): Don't delete overlays from the current
2155 buffer when `global-hl-line-sticky-flag' is non-nil.
2156 (global-hl-line-highlight): Add new overlays to
2157 `global-hl-line-overlays'.
2158 (global-hl-line-unhighlight-all): New function to delete all
2159 overlays when turning off `global-hl-line-mode'.
2160 This fixes Bug#16183.
2161
21622014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * subr.el (set-transient-map): Fix nested case and docstring.
2165
21662014-01-06 Tassilo Horn <tsdh@gnu.org>
2167
2168 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2169 `Texinfo' entry.
2170
21712014-01-06 Daniel Colascione <dancol@dancol.org>
2172
2173 Fix defun navigation in vc log view.
2174
2175 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2176 like `beginning-of-defun'.
2177 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2178 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2179 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2180 (log-view-extract-comment): Call `log-view-current-entry' directly
2181 instead of relying on broken `log-view-beginning-of-defun' behavior.
2182
21832014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2184
2185 Spelling fixes.
2186 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2187 * emacs-lisp/debug.el (cancel-debug-on-entry):
2188 * epg.el (epg-error-to-string):
2189 * files.el (recover-file):
2190 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2191 * mail/emacsbug.el (report-emacs-bug-hook):
2192 * mail/sendmail.el (mail-recover):
2193 * ses.el (ses-yank-resize):
2194 * term/ns-win.el (ns-print-buffer):
2195 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2196 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2197 All uses changed.
2198 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2199
22002014-01-06 Leo Liu <sdl.web@gmail.com>
2201
2202 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2203 to avoid shadowing global key. (Bug#16354)
2204
22052014-01-06 Daniel Colascione <dancol@dancol.org>
2206
2207 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2208 rst-mode.
2209
22102014-01-05 Martin Rudalics <rudalics@gmx.at>
2211
2212 * window.el (balance-windows): Add mising t to fix Bug#16351.
2213
22142014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2215
2216 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2217 (bug#16285).
2218 (shr-insert): If we have a word that's longer than `shr-width',
2219 break after it anyway. Otherwise we'll do no breaking once we get
2220 such a long word.
2221
22222014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2223
2224 * net/eww.el (eww): Support single/double quote for search.
2225 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2226 (eww-history-quit): Delete and use quit-window.
2227 (eww-history-kill): Delete, because it doesn't work well and
2228 not necessary.
2229 (eww-history-mode-map): Delete some keys and add easy-menu.
2230
22312014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2232
2233 Fix misspelling of 'chinese' in rx (Bug#16237).
2234 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2235 chinese-two-byte.
2236
2237 Change subword regexps back to vars (Bug#16296).
2238 * progmodes/subword.el (subword-forward-regexp)
2239 (subword-backward-regexp): Change these back to variables.
2240
22412014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2244 syntax-begin-function (bug#16247).
2245
22462014-01-03 Chong Yidong <cyd@gnu.org>
2247
2248 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2249 (advice--docstring): Delete variable.
2250 (advice--make-1): Leave the docstring empty.
2251 (advice-add): Use function-documentation for advised docstring.
2252
2253 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2254 Ignore function-documentation property when getting documentation.
2255 (ad-activate-advised-definition): Use function-documentation
2256 generate the docstring.
2257 (ad-make-advised-definition): Don't call
2258 ad-make-advised-definition-docstring.
2259 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2260 Delete functions.
2261
2262 * progmodes/sql.el (sql-help): Use function-documentation instead
2263 of dynamic-docstring-function property. No need to autoload now.
2264 (sql--help-docstring): New variable.
2265 (sql--make-help-docstring): Use it.
2266
22672014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * ielm.el (ielm-tab): Retarget.
2270 (ielm-map): Use ielm-tab for tab.
2271 (ielm-complete-filename): Use comint-filename-completion.
2272 (ielm-complete-symbol): Remove.
2273 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2274 remove ielm-tab from completion-at-point-functions (bug#16224).
2275
2276 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2277 Beware signals raised by predicates (bug#16201).
2278
22792014-01-02 Richard Stallman <rms@gnu.org>
2280
2281 * dired-aux.el (dired-do-print): Handle printer-name.
2282
2283 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2284 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2285 (rmail-epa-decrypt): Turn off mime processing.
2286
2287 * mail/rmail.el (rmail-make-in-reply-to-field):
2288 Add parens in message-id.
2289
2290 * mail/rmail.el (rmail-get-coding-function): Variable.
2291 (rmail-get-coding-system): Use it.
2292
22932013-12-31 Eli Zaretskii <eliz@gnu.org>
2294
2295 * international/mule-conf.el: Unify the charset indian-is13194.
2296 (indian-is13194): Specify unify-map.
2297
22982013-12-31 Leo Liu <sdl.web@gmail.com>
2299
2300 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2301
23022013-12-30 Daniel Colascione <dancol@dancol.org>
2303
2304 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2305 of printing a useless when we resume from sleep.
2306
2307 * progmodes/sh-script.el
2308 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2309 in indentation code. (Bug#16233)
2310
23112013-12-28 João Távora <joaotavora@gmail.com>
2312
2313 * elec-pair.el (electric-pair-post-self-insert-function):
2314 Don't open extra newlines at beginning of buffer. (Bug#16272)
2315
23162013-12-28 Eli Zaretskii <eliz@gnu.org>
2317
2318 * frame.el (window-system-for-display): Don't allow to create a
2319 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2320
23212013-12-28 Glenn Morris <rgm@gnu.org>
2322
2323 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2324 Update callers.
2325
2326 * apropos.el (apropos-match-face):
2327 * calculator.el (calculator-displayer):
2328 * dabbrev.el (dabbrev-search-these-buffers-only):
2329 * face-remap.el (buffer-face-mode-face):
2330 * simple.el (yank-handled-properties):
2331 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2332 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2333 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2334 (hashcash-double-spend-database):
2335 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2336 (ruby-deep-indent-paren-style):
2337 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2338 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2339 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2340 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2341 Specify custom types.
2342
2343 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2344 * bookmark.el (bookmark-bmenu-use-header-line):
2345 * doc-view.el (doc-view-scale-internally):
2346 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2347 * register.el (register-preview-delay):
2348 * net/shr.el (shr-bullet):
2349 * progmodes/cfengine.el (cfengine-cf-promises)
2350 (cfengine-parameters-indent):
2351 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2352 * textmodes/reftex-vars.el (reftex-label-regexps):
2353 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2354
2355 * net/tls.el (tls-certtool-program): Fix default value.
2356
2357 * desktop.el (desktop-restore-in-current-display):
2358 * newcomment.el (comment-empty-lines):
2359 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2360 (idlwave-pad-keyword):
2361 * progmodes/tcl.el (tcl-tab-always-indent):
2362 * textmodes/reftex-vars.el (reftex-index-default-tag):
2363 * elec-pair.el (electric-pair-skip-whitespace):
2364 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2365
2366 * emacs-lisp/authors.el (authors-ignored-files)
2367 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2368
23692013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2370
2371 * shell.el (shell-dynamic-complete-command): Doc fix.
2372 (shell--command-completion-data): Shell completion now matches
2373 executable filenames from the current buffer's directory, on
2374 systems in which this behavior is the default (windows-nt, ms-dos).
2375
23762013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2377
2378 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2379
23802013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2383 (bug#16251).
2384
2385 * electric.el: Move all electric-pair-* to elec-pair.el.
2386 * elec-pair.el: New file, split from electric.el.
2387
23882013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2389
2390 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2391 indentation level is larger than the width, because that will
2392 infloop.
2393 (shr-insert): Fill repeatedly long texts, so that Japanese is
2394 formatted correctly (bug#16263).
2395 (shr-find-fill-point): Off by one error in comparison with the
2396 indentation.
2397
23982013-12-26 João Távora <joaotavora@gmail.com>
2399
2400 * electric.el (electric-pair-mode): More flexible engine for skip-
2401 and inhibit predicates, new options for pairing-related functionality.
2402 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2403 if that keeps or improves their balance in buffers.
2404 (electric-pair-delete-adjacent-pairs): Delete the pair when
2405 backspacing over adjacent matched delimiters.
2406 (electric-pair-open-extra-newline): Open extra newline when
2407 inserting newlines between adjacent matched delimiters.
2408 (electric--sort-post-self-insertion-hook):
2409 Sort post-self-insert-hook according to priority values when
2410 minor-modes are activated.
2411 * simple.el (newline-and-indent): Call newline with interactive
2412 set to t.
2413 (blink-paren-post-self-insert-function): Set priority to 100.
2414 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2415 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2416 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2417 electric-pair-open-newline-between-pairs to nil.
2418
24192013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2420
2421 * progmodes/python.el: Use lexical-binding.
2422 (python-nav-beginning-of-defun): Stop searching ASAP.
2423
24242013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2425
2426 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2427 Fix interactive spec. Doc fix. (Bug#15754)
2428
24292013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2430
2431 * emacs-lisp/byte-run.el (eval-when-compile):
2432 * progmodes/cc-defs.el (cc-eval-when-compile):
2433 Fix edebug spec (bug#16184).
2434
24352013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2436
2437 * net/shr.el (shr-visit-file): Remove debugging function.
2438 (shr-insert): Don't infloop if we can't find a good place to break
2439 the line (bug#16256).
2440
24412013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2442
2443 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2444 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2445 python-nav-lisp-forward-sexp-safe.
2446 (python-nav--forward-sexp): New argument SAFE allows switching
2447 forward sexp movement behavior for parens.
2448 (python-nav-forward-sexp): Throw errors on unterminated parens
2449 (Bug#16191).
2450 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2451 (python-nav-backward-sexp-safe): New functions.
2452 (python-shell-buffer-substring):
2453 Use `python-nav-forward-sexp-safe'.
2454
24552013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2456
2457 * net/shr.el (shr-find-fill-point): Don't break lines before a
2458 quotation mark.
2459 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2460 (shr-find-fill-point): Remove the special checks for the quotation
2461 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2462
24632013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2464
2465 * net/eww.el (eww-form-textarea): Use a different face for
2466 textareas than text input since they have different keymaps
2467 (bug#16142).
2468
24692013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2470
2471 * progmodes/python.el (python-nav-beginning-of-statement):
2472 Speed up (Bug#15295).
2473
24742013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2475
2476 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2477 the window configuration.
2478
24792013-12-24 Eli Zaretskii <eliz@gnu.org>
2480
2481 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2482 we run on MS-Windows or MS-DOS.
2483
24842013-12-24 Martin Rudalics <rudalics@gmx.at>
2485
2486 * window.el (balance-windows-area): Call window-size instead of
2487 window-height and window-width. Bug#16241.
2488
24892013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2490
2491 * net/eww.el (eww-bookmark-quit): Remove.
2492 (eww-bookmark-browse): Restore the window configuration when you
2493 choose a bookmark (bug#16144).
2494
24952013-12-24 Daniel Colascione <dancol@dancol.org>
2496
2497 * icomplete.el: Remove redundant :group arguments to `defcustom'
2498 throughout.
2499 (icomplete-show-matches-on-no-input): New customizable variable.
2500 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2501 we have something to show.
2502 (icomplete-exhibit): Compute completions even if we have no user input.
2503
25042013-12-23 Daniel Colascione <dancol@dancol.org>
2505
2506 * icomplete.el: Move `provide' to end of file.
2507
25082013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2509
2510 * net/gnutls.el (gnutls-verify-error): Add version tag.
2511
25122013-12-23 Chong Yidong <cyd@gnu.org>
2513
2514 * subr.el (set-transient-map): Rename from
2515 set-temporary-overlay-map. Doc fix.
2516
2517 * face-remap.el (text-scale-adjust):
2518 * indent.el (indent-rigidly):
2519 * kmacro.el (kmacro-call-macro):
2520 * minibuffer.el (minibuffer-force-complete):
2521 * repeat.el (repeat):
2522 * simple.el (universal-argument--mode):
2523 * calendar/todo-mode.el (todo-insert-item--next-param):
2524 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2525
2526 * indent.el (indent-rigidly): Use substitute-command-keys.
2527
25282013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2529
2530 * net/eww.el (eww-tag-select): Add text-property to jump to next
2531 select field.
2532 (eww): Add non-supported ftp error.
2533
25342013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2535
2536 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2537 comments. Handle electric indent after typing `?' and `!'.
2538
25392013-12-22 Chong Yidong <cyd@gnu.org>
2540
2541 * faces.el (face-spec-recalc): If the theme specs are not
2542 applicable to a frame, fall back on the defface spec.
2543 This prevents themes from obliterating faces on low-color terminals.
2544
25452013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2546
2547 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2548 after `{'. We need it after block openers, and it doesn't seem
2549 to hurt after hash openers.
2550
25512013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2552
2553 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2554 extracted from `ruby-smie-rules'.
2555 (ruby--electric-indent-chars): New variable.
2556 (ruby--electric-indent-p): New function.
2557 (ruby-mode): Use `electric-indent-functions' instead of
2558 `electric-indent-chars'.
2559
25602013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2561
2562 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2563 docstring.
2564 (ruby-smie-rules): Indent plus one level after `=>'.
2565
25662013-12-21 Richard Stallman <rms@gnu.org>
2567
2568 * simple.el (newline): Doc fix.
2569
25702013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2571
2572 * net/eww.el (eww-list-histories, eww-list-histories)
2573 (eww-history-browse, eww-history-quit, eww-history-kill)
2574 (eww-history-mode-map, eww-history-mode): New command and
2575 functions to list browser histories.
2576 (eww-form-text): Support text form with disabled
2577 and readonly attributes.
2578 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2579
25802013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2581
2582 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2583 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2584 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2585 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2586 Use `user-error'.
2587 (eww-bookmark-mode-map): Add menu.
2588 (eww-render, eww-mode): Use `setq-local'.
2589 (eww-tool-bar-map): New variable.
2590 (eww-mode): Set `tool-bar-map'.
2591 (eww-view-source): Check for `html-mode' with `fboundp'.
2592
25932013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2594
2595 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2596 elements with text inside. Also remove debugging.
2597
25982013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2599
2600 * cus-start.el (all): Add ns-use-srgb-colorspace.
2601
26022013-12-21 Chong Yidong <cyd@gnu.org>
2603
2604 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2605 undefined. Thus, theme settings for undefined faces do not take
2606 effect until the faces are defined with defface, the same as with
2607 theme variables.
2608
2609 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2610 (face-spec-reset-face): Don't assign extra properties in temacs.
2611 (face-spec-recalc): Apply X resources too.
2612
26132013-12-21 Chong Yidong <cyd@gnu.org>
2614
2615 * faces.el (face-spec-set):
2616 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2617 * custom.el (defface): Doc fixes (Bug#16203).
2618
2619 * indent.el (indent-rigidly-map): Add docstring, and move commands
2620 into named functions.
2621 (indent-rigidly-left, indent-rigidly-right)
2622 (indent-rigidly-left-to-tab-stop)
2623 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2624 indentation direction based on bidi direction, and accumulate
2625 sequential commands in a single undo boundary.
2626 (indent-rigidly--pop-undo): New utility function.
2627
26282013-12-20 Juanma Barranquero <lekktu@gmail.com>
2629
2630 * faces.el (read-face-name): Require crm.el when using crm-separator.
2631
26322013-12-20 Daniel Colascione <dancol@dancol.org>
2633
2634 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2635 so that we don't reflow comments into the shebang line.
2636
26372013-12-20 Juri Linkov <juri@jurta.org>
2638
2639 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2640 a position when `dired-directory' is non-nil. Check integer
2641 positions with `integerp'.
2642 (toggle-save-place, save-places-to-alist): Add check for
2643 `dired-directory'.
2644 (save-place-find-file-hook): Check integer positions with
2645 `integerp'.
2646 (save-place-dired-hook): Use `dired-goto-file' when
2647 `dired-filename' is found in the assoc list. Check integer
2648 positions with `integerp'.
2649 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2650
2651 * dired.el (dired-initial-position-hook): Rename back from
2652 `dired-initial-point-hook'.
2653 (dired-initial-position): Rename `dired-initial-point-hook' to
2654 `dired-initial-position-hook'.
2655 (dired-file-name-at-point): Doc fix. (Bug#15329)
2656
26572013-12-20 Juri Linkov <juri@jurta.org>
2658
2659 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2660 (read-regexp-suggestions): New function.
2661 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2662 Use `read-regexp-suggestions'. Add non-empty default to history
2663 for empty input.
2664 (occur-read-regexp-defaults-function): Remove function.
2665 (occur-read-primary-args): Use `regexp-history-last' instead of
2666 `occur-read-regexp-defaults-function'.
2667
2668 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2669 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2670 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2671 `hi-lock-read-regexp-defaults-function'. Doc fix.
2672 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2673 with `find-tag-default-as-symbol-regexp'. Doc fix.
2674 (hi-lock-read-regexp-defaults): Remove function.
2675 (hi-lock-regexp-okay): Add check for null.
2676
2677 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2678 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2679
2680 * subr.el (find-tag-default-as-symbol-regexp): New function.
2681 (find-tag-default-as-regexp): Move symbol regexp formatting to
2682 `find-tag-default-as-symbol-regexp'.
2683
26842013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2685
2686 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2687 (Bug#14179)
2688
26892013-12-20 Stephen Berman <stephen.berman@gmx.net>
2690
2691 * calendar/todo-mode.el: New implementation of item insertion
2692 commands and key bindings.
2693 (todo-key-prompt): New face.
2694 (todo-insert-item): New command.
2695 (todo-insert-item--parameters): New defconst, replacing defvar
2696 todo-insertion-commands-args-genlist.
2697 (todo-insert-item--param-key-alist): New defconst, replacing
2698 defvar todo-insertion-commands-arg-key-list.
2699 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2700 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2701 (todo-insert-item--next-param): New functions.
2702 (todo-insert-item--args, todo-insert-item--argleft)
2703 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2704 New variables.
2705 (todo-key-bindings-t): Change binding of "i" from
2706 todo-insertion-map to todo-insert-item.
2707 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2708 (todo-insertion-command-name, todo-insertion-commands-names)
2709 (todo-define-insertion-command, todo-insertion-commands)
2710 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2711
27122013-12-20 Stephen Berman <stephen.berman@gmx.net>
2713
2714 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2715 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2716 eval-when-compile.
2717 (todo-move-category): Allow choosing a non-existing todo file to
2718 move the category to, and create that file.
2719 (todo-default-priority): New user option.
2720 (todo-set-item-priority): Use it.
2721 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2722 (desktop-restore-file-buffer): Declare.
2723 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2724 (todo-modes-set-2): Locally set desktop-save-buffer to
2725 todo-desktop-save-buffer.
2726 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2727 (auto-mode-alist): Add autoload cookie.
2728
27292013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2730
2731 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2732 helpers.el was a poor choice of name.
2733 (string-remove-prefix): New function.
2734 (string-remove-suffix): New function.
2735
27362013-12-20 Martin Rudalics <rudalics@gmx.at>
2737
2738 Fix assignment for new window total sizes.
2739 * window.el (window--pixel-to-size): Remove function.
2740 (window--pixel-to-total-1, window--pixel-to-total):
2741 Fix calculation of new total sizes.
2742
27432013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2744
2745 * comint.el (comint-output-filter): Fix rear-nonsticky property
2746 placement (Bug#16010).
2747
27482013-12-20 Chong Yidong <cyd@gnu.org>
2749
2750 * faces.el (read-color): Minor fix for completion function.
2751
27522013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2753
2754 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2755 New option. (Bug#16182)
2756 (ruby-smie--indent-to-stmt-p): Use it.
2757 (ruby-smie-rules): Revert the logic in the handling of `when'.
2758 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2759 (ruby-deep-arglist, ruby-deep-indent-paren)
2760 (ruby-deep-indent-paren-style): Update docstrings to note that the
2761 vars don't have any effect with SMIE.
2762
27632013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2764
2765 * calc/calc.el (calc-enter, calc-pop): Use the variable
2766 `calc-context-sensitive-enter'.
2767
27682013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2769
2770 * net/shr.el (shr-insert): Protect against infloops in degenerate
2771 tables.
2772
27732013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2774
2775 * progmodes/octave.el (octave): Add link to manual and octave
2776 homepage.
2777 (octave-mode-menu): Link to octave-mode manual.
2778
27792013-12-20 Leo Liu <sdl.web@gmail.com>
2780
2781 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2782 insertion using skeleton-end-newline. (Bug#16138)
2783
27842013-12-20 Juri Linkov <juri@jurta.org>
2785
2786 * replace.el (occur-engine): Use `add-face-text-property'
2787 to add the face property to matches and titles. (Bug#14645)
2788
2789 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2790 the palette of other hi-lock colors.
2791 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2792
27932013-12-19 Juri Linkov <juri@jurta.org>
2794
2795 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2796 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2797 (minibuffer-history-symbol): Move variable declaration closer to
2798 its usage.
2799
2800 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2801 (Bug#14785)
2802
28032013-12-19 Juri Linkov <juri@jurta.org>
2804
2805 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2806 New function.
2807 (log-edit-hook): Add it to :options. (Bug#16170)
2808
28092013-12-19 Juri Linkov <juri@jurta.org>
2810
2811 * simple.el (eval-expression-print-format): Don't check for
2812 command names and the last command. Always display additional
2813 formats of the integer result in the echo area, and insert them
2814 to the current buffer only with a zero prefix arg.
2815 Display character when char-displayable-p is non-nil.
2816 (eval-expression): With a zero prefix arg, set `print-length' and
2817 `print-level' to nil, and insert the integer values from
2818 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2819
2820 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2821 `eval-last-sexp-arg-internal'. Doc fix.
2822 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2823 `eval-last-sexp-print-value'. Doc fix.
2824 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2825 Set `print-length' and `print-level' to nil when arg is zero.
2826 (eval-last-sexp): Doc fix.
2827 (eval-defun-2): Print the integer values from
2828 `eval-expression-print-format' at the end.
2829
2830 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2831 values from `eval-expression-print-format' at the end.
2832
2833 * ielm.el (ielm-eval-input): Print the integer
2834 values from `eval-expression-print-format' at the end.
2835
28362013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2837
2838 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2839 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2840
28412013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2844 (hl-line-highlight, global-hl-line-highlight): Use it.
2845 (hl-line-overlay): Use defvar-local.
2846
28472013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2848
2849 * term/ns-win.el: Require dnd.
2850 (global-map): Remove drag items.
2851 (ns-insert-text, ns-set-foreground-at-mouse)
2852 (ns-set-background-at-mouse):
2853 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2854 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2855 New functions.
2856
28572013-12-19 Glenn Morris <rgm@gnu.org>
2858
2859 * emacs-lisp/ert.el (ert-select-tests):
2860 Fix string/symbol mixup. (Bug#16121)
2861
28622013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2863
2864 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2865 keywords to their parent.
2866
28672013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2868
2869 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2870 first arg to be a string (fixed dead code), or an operator symbol.
2871 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2872 operator symbols.
2873 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2874 did nothing. Don't respond to `(:after ".")', it will be called
2875 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2876 change anything. Only return indentation for binary operators
2877 when they are hanging. De-dent opening paren when its parent is
2878 `.', otherwise it looks bad when the dot is not at bol or eol
2879 (bug#16182).
2880
28812013-12-19 Juri Linkov <juri@jurta.org>
2882
2883 * replace.el (query-replace-read-args): Split a non-negative arg
2884 and a negative arg into separate elements.
2885 (query-replace, query-replace-regexp, replace-string)
2886 (replace-regexp): Add arg `backward'. Doc fix.
2887 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2888 move point to the beginning of the match.
2889 (replace-search, replace-highlight): Use new arg `backward'
2890 to set the value of `isearch-forward'.
2891 (perform-replace): Add arg `backward' and use it to perform
2892 replacement backward. (Bug#14979)
2893
2894 * isearch.el (isearch-query-replace): Use a negative prefix arg
2895 to call `perform-replace' with a non-nil arg `backward'.
2896
28972013-12-18 Juri Linkov <juri@jurta.org>
2898
2899 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2900 to the default list. Move `log-edit-show-files' to the end.
2901 Add more available functions to options.
2902 (log-edit): Move default specific settings to
2903 `log-edit-insert-message-template'. Don't move point.
2904 (log-edit-insert-message-template): New function.
2905 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2906 (Bug#16170)
2907
29082013-12-18 Juri Linkov <juri@jurta.org>
2909
2910 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2911 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2912
29132013-12-18 Leo Liu <sdl.web@gmail.com>
2914
2915 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2916 (Bug#16186)
2917
29182013-12-18 Eli Zaretskii <eliz@gnu.org>
2919
2920 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2921 formats for displaying file sizes when the -s switch is given.
2922 Instead, compute a separate format for displaying the size in
2923 blocks, which is displayed in addition to the "regular" size.
2924 When -h is given in addition to -s, produce size in blocks in
2925 human-readable form as well. (Bug#16179)
2926
29272013-12-18 Tassilo Horn <tsdh@gnu.org>
2928
2929 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2930 Reference tables with ~\ref{...} instead of only \ref{...}.
2931
29322013-12-18 Chong Yidong <cyd@gnu.org>
2933
2934 * cus-edit.el (custom-magic-alist): Fix "themed" description
2935 (Bug#14348).
2936
2937 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2938 is non-nil, do not create a new entry in the symbol's theme-value
2939 or theme-face property; update theme-settings only (Bug#14664).
2940 (custom-available-themes): Doc fix.
2941
2942 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2943 (Bug#15674).
2944
2945 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2946
29472013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2948
2949 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2950 (Bug#13914).
2951
29522013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2953
2954 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2955
29562013-12-18 Glenn Morris <rgm@gnu.org>
2957
2958 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2959 * cus-start.el (load-prefer-newer): New option.
2960
29612013-12-18 Le Wang <l26wang@gmail.com>
2962
2963 * comint.el (comint-previous-matching-input-from-input):
2964 Retain point (Bug#13404).
2965
29662013-12-18 Chong Yidong <cyd@gnu.org>
2967
2968 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2969
29702013-12-18 Glenn Morris <rgm@gnu.org>
2971
2972 * mail/emacsbug.el (report-emacs-bug):
2973 Only mention enable-multibyte-characters if non-standard.
2974
29752013-12-17 Juri Linkov <juri@jurta.org>
2976
2977 * arc-mode.el (archive-extract-by-file): Check if directory exists
2978 before deletion to not show irrelevant errors if it doesn't exist.
2979
29802013-12-17 Juri Linkov <juri@jurta.org>
2981
2982 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2983 (Bug#14751)
2984
2985 * net/eww.el (browse-web): Add alias to `eww'.
2986 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2987 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2988
2989 * net/browse-url.el (browse-url-browser-function): Move `eww'
2990 closer to similar functions.
2991
2992 * startup.el (fancy-startup-screen, fancy-about-screen):
2993 Set browse-url-browser-function to eww-browse-url locally.
2994 (Bug#14751)
2995
29962013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * window.el (window--pixel-to-total): Remove unused `mini' var.
2999 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3000 (split-window): Remove unused `new' var.
3001 (window--display-buffer): Remove unused `frame' and `delta' vars.
3002 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3003 and display-width'.
3004
30052013-12-17 Martin Rudalics <rudalics@gmx.at>
3006
3007 * dired.el (dired-mark-pop-up):
3008 * register.el (register-preview): Don't bind
3009 split-height-threshold here since it's now done in
3010 display-buffer-below-selected.
3011
30122013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3013
3014 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3015 xterm-rgb-convert-to-16bit.
3016 (rxvt-register-default-colors): Standardize with
3017 xterm-register-default-colors (Bug#14078).
3018
30192013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3020
3021 * simple.el (kill-region): Pass mark first, then point, so that
3022 kill-append works right (Bug#12819).
3023 (copy-region-as-kill, kill-ring-save): Likewise.
3024
30252013-12-17 Leo Liu <sdl.web@gmail.com>
3026
3027 * net/rcirc.el (rcirc-add-face):
3028 * eshell/em-prompt.el (eshell-emit-prompt):
3029 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3030 (Bug#16167)
3031
30322013-12-17 Chong Yidong <cyd@gnu.org>
3033
3034 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3035 Suggested by Xue Fuqiao.
3036
30372013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3038
3039 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3040
30412013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3042
3043 * net/shr.el (shr-insert-document): Remove unused var
3044 `shr-preliminary-table-render'.
3045 (shr-rescale-image): Remove unused arg `force'.
3046 (shr-put-image): Update calls accordingly.
3047 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3048
30492013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3050
3051 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3052 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3053 :close-all, to see which indentation method to use (Bug#16116).
3054 (smie-rules-function): Document the method :close-all.
3055
30562013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3057
3058 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3059
3060 * net/eww.el (eww-display-html): If we can't find the anchor we're
3061 looking for, then go to point-min.
3062
30632013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3064
3065 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3066 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3067 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3068 Expand dir too, in case it's relative.
3069
30702013-12-16 Juri Linkov <juri@jurta.org>
3071
3072 * desktop.el (desktop-auto-save-timeout): Change default to
3073 `auto-save-timeout'. Doc fix.
3074 (desktop-save): Skip the timestamp in desktop-saved-frameset
3075 when checking for auto-save changes.
3076 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3077 `desktop-auto-save' is called repeatedly by the idle timer.
3078 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3079 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3080 (Bug#15331)
3081
30822013-12-16 Juri Linkov <juri@jurta.org>
3083
3084 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3085 (Bug#16035)
3086 (isearch-pre-command-hook): Check `this-command' for symbolp.
3087
30882013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3089
3090 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3091
30922013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3093
3094 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3095 (cfengine3--current-function): Bring in the current-function
3096 functionality from `cfengine3--current-word'.
3097 (cfengine3-completion-function): Bring in the
3098 bounds-of-current-word functionality from
3099 `cfengine3--current-word'.
3100
31012013-12-16 Martin Rudalics <rudalics@gmx.at>
3102
3103 * window.el (display-buffer-below-selected):
3104 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3105
31062013-12-16 Leo Liu <sdl.web@gmail.com>
3107
3108 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3109 Remove NOMSG arg and all uses changed.
3110
31112013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3114 (cua--deactivate-rectangle): Don't deactivate the mark.
3115 (cua-set-rectangle-mark): Don't set mark-active since
3116 cua--activate-rectangle already does it for us.
3117 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3118 non-rectangular region.
3119
3120 * emulation/cua-base.el (cua-repeat-replace-region):
3121 Use with-current-buffer.
3122
3123 * net/gnutls.el: Use cl-lib.
3124 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3125
31262013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3127
3128 * emacs-lisp/package.el (package-built-in-p): Support both
3129 built-in and the package.el converted package descriptions.
3130 (package-show-package-list): Allow keywords.
3131 (package-keyword-button-action): Use it instead of
3132 `finder-list-matches'.
3133 (package-menu-filter-interactive): Interactive filtering (by
3134 keyword) function.
3135 (package-menu--generate): Support keywords and change keymappings
3136 and headers when they are given.
3137 (package--has-keyword-p): Helper function.
3138 (package-menu--refresh): Use it.
3139 (package--mapc): Helper function.
3140 (package-all-keywords): Use it.
3141 (package-menu-mode-map): Set up menu items and keybindings to
3142 provide a filtering UI.
3143
31442013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3145
3146 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3147 the behavior when a certificate fails validation. Defaults to
3148 old behavior: never abort, just warn.
3149 (gnutls-negotiate): Use it.
3150
31512013-12-14 Martin Rudalics <rudalics@gmx.at>
3152
3153 * window.el (display-buffer-below-selected): Never split window
3154 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3155
31562013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3157
3158 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3159 (package-buffer-info): Use it (bug#15108).
3160
31612013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * icomplete.el (icomplete-completions): Make sure the prefix is already
3164 displayed elsewhere before hiding it (bug#16219).
3165
31662013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3167
3168 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3169 open-paren tokens when preceded by a open-paren, too.
3170 (ruby-smie-rules): Handle virtual indentation after open-paren
3171 tokens specially. If there is code between it and eol, return the
3172 column where is starts (Bug#16118).
3173
31742013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3175
3176 * progmodes/cfengine.el: Fix `add-hook' doc.
3177 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3178 (cfengine3--current-word): Fix parameters.
3179 (cfengine3-make-syntax-cache): Simplify further.
3180 (cfengine3-completion-function, cfengine3--current-function):
3181 Use `assq' for symbols.
3182 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3183
31842013-12-13 Glenn Morris <rgm@gnu.org>
3185
3186 * loadup.el (load-path): Warn if site-load or site-init changes it.
3187 No more need to reset it when bootstrapping.
3188
31892013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3190
3191 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3192 locations for cf-promises.
3193 (cfengine-mode-syntax-functions-regex): New caching variable.
3194 (cfengine3-fallback-syntax): Fallback syntax for cases where
3195 cf-promises doesn't run.
3196 (cfengine3--current-word): Reimplement using
3197 `cfengine-mode-syntax-functions-regex'.
3198 (cfengine3-completion-function, cfengine3--current-function):
3199 Use `cfengine3-make-syntax-cache' directly.
3200 (cfengine3-clear-syntax-cache): New function.
3201 (cfengine3-make-syntax-cache): Simplify and create
3202 `cfengine-mode-syntax-functions-regex' on demand.
3203 (cfengine3-format-function-docstring): Don't call
3204 `cfengine3-make-syntax-cache' explicitly.
3205
32062013-12-13 Martin Rudalics <rudalics@gmx.at>
3207
3208 Fix windmove-find-other-window broken after pixelwise resizing
3209 (Bug#16017).
3210 * windmove.el (windmove-other-window-loc): Revert change from
3211 2013-12-04.
3212 (windmove-find-other-window): Call window-in-direction.
3213 * window.el (window-in-direction): New arguments SIGN, WRAP and
3214 MINI to emulate original windmove-find-other-window behavior.
3215
32162013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3217
3218 * simple.el (blink-matching--overlay): New variable.
3219 (blink-matching-open): Instead of moving point, highlight the
3220 matching paren with an overlay
3221 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3222
3223 * faces.el (paren-showing-faces, show-paren-match)
3224 (show-paren-mismatch): Move from paren.el.
3225
32262013-12-13 Leo Liu <sdl.web@gmail.com>
3227
3228 * indent.el (indent-region): Disable progress reporter in
3229 minibuffer. (Bug#16108)
3230
3231 * bindings.el (visual-order-cursor-movement): Fix version.
3232
32332013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3234
3235 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3236 Also match after beginning of line.
3237 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3238 files. Thanks to Russell Sim. (Bug#15378)
3239
32402013-12-13 Juri Linkov <juri@jurta.org>
3241
3242 * simple.el <Keypad support>: Remove key bindings duplicated
3243 with bindings.el. (Bug#14397)
3244
32452013-12-13 Juri Linkov <juri@jurta.org>
3246
3247 * comint.el (comint-mode-map): Replace `delete-char' with
3248 `delete-forward-char'. (Bug#16109)
3249
32502013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3251
3252 * progmodes/python.el (python-indent-calculate-indentation):
3253 Fix de-denters cornercase. (Bug#15731)
3254
32552013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3258 (advice--make): Pay attention to `depth'.
3259 (advice--make-1): Don't autoload commands eagerly.
3260 * emacs-lisp/elp.el (elp-instrument-function):
3261 * emacs-lisp/trace.el (trace-function-internal):
3262 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3263
3264 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3265
32662013-12-12 Eli Zaretskii <eliz@gnu.org>
3267
3268 * term/w32-win.el (w32-handle-dropped-file):
3269 * startup.el (normal-top-level):
3270 * net/browse-url.el (browse-url-file-url):
3271 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3272 decode file names using 'utf-8' rather than
3273 file-name-coding-system.
3274
32752013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3276
3277 * progmodes/python.el (python-indent-context)
3278 (python-indent-calculate-indentation): Fix auto-identation
3279 behavior for comment blocks. (Bug#15916)
3280
32812013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3282
3283 * progmodes/python.el (python-indent-calculate-indentation):
3284 When determining indentation, don't treat "return", "pass", etc., as
3285 operators when they are just string constituents. (Bug#15812)
3286
32872013-12-12 Juri Linkov <juri@jurta.org>
3288
3289 * uniquify.el (uniquify-buffer-name-style): Change default to
3290 `post-forward-angle-brackets'.
3291
3292 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3293 `uniquify'. Change default to `post-forward-angle-brackets'.
3294
32952013-12-11 Glenn Morris <rgm@gnu.org>
3296
3297 * emacs-lisp/package.el (finder-list-matches):
3298 Autoload rather than falsely declaring.
3299
33002013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3301
3302 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3303 (eww-mode-map): Use them.
3304
33052013-12-11 Martin Rudalics <rudalics@gmx.at>
3306
3307 * window.el (display-buffer-in-side-window): Fix doc-string
3308 (Bug#16115).
3309
33102013-12-11 Juanma Barranquero <lekktu@gmail.com>
3311
3312 * vc/vc-git.el: Silence byte-compiler warnings.
3313 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3314 (log-edit-set-header): Declare.
3315
33162013-12-11 Eli Zaretskii <eliz@gnu.org>
3317
3318 * Makefile.in (custom-deps, finder-data): Run output file names
3319 through unmsys--file-name. (Bug#16099)
3320
33212013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3324 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3325
3326 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3327 instead of deleting the selection "by hand" (bug#16098).
3328 Rely on insert-for-yank to yank rectangles.
3329 (cua-highlight-region-shift-only): Mark obsolete.
3330 (cua-mode): Don't enable/disable transient-mark-mode,
3331 shift-select-mode (cua-mode works both with and without them), and
3332 pc-selection-mode (obsolete).
3333 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3334 (cua--deactivate-rectangle): Deactivate it.
3335
3336 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3337 (delete-selection-helper): Make sure yank starts at the top of the
3338 deleted region.
3339 (minibuffer-keyboard-quit): Use region-active-p.
3340
3341 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3342
3343 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3344 to `delete' (bug#16109).
3345
33462013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3347
3348 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3349 info manual and show keybindings and set `:group' keyword.
3350
33512013-12-11 Juri Linkov <juri@jurta.org>
3352
3353 * delsel.el (delete-active-region): Let-bind `this-command'
3354 to prevent `kill-region' from changing its original value.
3355 (delete-selection-helper): Handle `overwrite-mode' for the type
3356 `kill' exactly the same way as for the type `t'.
3357 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3358 Support more commands. (Bug#13312)
3359
33602013-12-11 Juri Linkov <juri@jurta.org>
3361
3362 * bindings.el: Map kp keys to non-kp keys systematically
3363 with basic modifiers control, meta and shift. (Bug#14397)
3364
33652013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3366
3367 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3368 "Close browser" menu items. Fix wrong function of "List
3369 bookmarks".
3370
33712013-12-11 Juri Linkov <juri@jurta.org>
3372
3373 * misearch.el (multi-isearch-buffers): Set the value of
3374 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3375 arg of isearch-forward to t.
3376 (multi-isearch-buffers-regexp): Set the value of
3377 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3378 arg of isearch-forward-regexp to t.
3379 (multi-isearch-files): Set the value of
3380 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3381 arg of isearch-forward to t.
3382 (multi-isearch-files-regexp): Set the value of
3383 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3384 arg of isearch-forward-regexp to t. (Bug#16035)
3385
3386 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3387 arg of isearch-forward to t.
3388 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3389 arg of isearch-forward-regexp to t.
3390 (dired-isearch-filter-filenames): Remove unnecessary check for
3391 `dired-isearch-filenames'.
3392
3393 * comint.el (comint-history-isearch-backward):
3394 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3395 (comint-history-isearch-backward-regexp):
3396 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3397
33982013-12-10 Eli Zaretskii <eliz@gnu.org>
3399
3400 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3401 unmsys--file-name. (Bug#16099)
3402
34032013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3404
3405 * emacs-lisp/package.el (package-keyword-button-action):
3406 Remove finder.el require dependency.
3407
34082013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3409
3410 * emacs-lisp/package.el: Require finder.el.
3411 (describe-package-1): Add keyword buttons.
3412 (package-make-button): New convenience function.
3413 (package-keyword-button-action): Keyword button action using
3414 `finder-list-matches'.
3415
34162013-12-09 Eli Zaretskii <eliz@gnu.org>
3417
3418 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3419 last commit.
3420
34212013-12-09 Michael Albinus <michael.albinus@gmx.de>
3422
3423 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3424 symlinked files.
3425
34262013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3427
3428 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3429 after the end of a percent literal.
3430
34312013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3432
3433 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3434 Handle caret-delimited strings (Bug#16079).
3435
34362013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3437
3438 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3439 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3440 `ruby-parse-partial' (Bug#16078).
3441
34422013-12-09 Leo Liu <sdl.web@gmail.com>
3443
3444 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3445
34462013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3447
3448 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3449 (js-switch-indent-offset): New option.
3450 (js--proper-indentation): Use it. And handle the case when
3451 "default" is actually a key in an object literal.
3452 (js--same-line): New function.
3453 (js--multi-line-declaration-indentation): Use it.
3454 (js--indent-in-array-comp, js--array-comp-indentation):
3455 New functions.
3456 (js--proper-indentation): Use them, to handle array comprehension
3457 continuations.
3458
34592013-12-08 Leo Liu <sdl.web@gmail.com>
3460
3461 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3462 (flymake-make-overlay): Remove arg MOUSE-FACE.
3463 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3464
34652013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3468 New function.
3469 (redisplay-highlight-region-function): Use it.
3470
3471 * emulation/cua-base.el (cua--explicit-region-start)
3472 (cua--last-region-shifted): Remove.
3473 (cua--deactivate): Use deactivate-mark.
3474 (cua--pre-command-handler-1): Don't handle shift-selection.
3475 (cua--post-command-handler-1): Don't change transient-mark-mode.
3476 (cua--select-keymaps): Use region-active-p rather than
3477 cua--explicit-region-start or cua--last-region-shifted.
3478 (cua-mode): Enable shift-select-mode.
3479
34802013-12-08 Leo Liu <sdl.web@gmail.com>
3481
3482 * progmodes/flymake.el (flymake-popup-current-error-menu):
3483 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3484 (flymake-posn-at-point-as-event, flymake-popup-menu)
3485 (flymake-make-emacs-menu): Remove. (Bug#16077)
3486
34872013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3488
3489 * rect.el (rectangle-mark-mode): Activate mark even if
3490 transient-mark-mode is off (bug#16066).
3491 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3492 is > mark and at bolp.
3493
3494 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3495 (region-extract-function): Use it.
3496 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3497 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3498 Delete functions.
3499 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3500 kill-ring-save, kill-region, delete-char, delete-forward-char.
3501 Ignore self-insert-iso.
3502
3503 * emulation/cua-gmrk.el (cua--init-global-mark):
3504 Ignore `self-insert-iso'.
3505
3506 * emulation/cua-base.el (cua--prefix-copy-handler)
3507 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3508 checking cua--rectangle.
3509 (cua-delete-region): Use region-extract-function.
3510 (cua-replace-region): Delete function.
3511 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3512 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3513 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3514 (cua--init-keymaps): Don't remap delete-selection commands.
3515 (cua-mode): Use delete-selection-mode instead of rolling our own
3516 (bug#16085).
3517
3518 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3519 Obey region-extract-function.
3520
3521 Make registers and delete-selection-mode work on rectangles.
3522 * register.el (describe-register-1): Don't modify the register's value.
3523 (copy-to-register): Obey region-extract-function.
3524 * delsel.el (delete-active-region): Obey region-extract-function.
3525
35262013-12-08 Leo Liu <sdl.web@gmail.com>
3527
3528 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3529 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3530 (flymake-compilation-prevents-syntax-check)
3531 (flymake-start-syntax-check-on-newline)
3532 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3533 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3534 (flymake-xml-program, flymake-master-file-dirs)
3535 (flymake-master-file-count-limit)
3536 (flymake-allowed-file-name-masks): Relocate.
3537 (flymake-makehash, flymake-float-time)
3538 (flymake-replace-regexp-in-string, flymake-split-string)
3539 (flymake-get-temp-dir): Remove.
3540 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3541 (flymake-current-row, flymake-selected-frame)
3542 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3543 related functions. (Bug#16077)
3544
35452013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3546
3547 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3548
35492013-12-07 Tassilo Horn <tsdh@gnu.org>
3550
3551 * help-fns.el (describe-function-1): Use new advice-* functions
3552 rather than old ad-* functions. Fix function type description and
3553 source links for advised functions and subrs.
3554
35552013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3556
3557 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3558
35592013-12-06 Michael Albinus <michael.albinus@gmx.de>
3560
3561 * progmodes/compile.el (compilation-start):
3562 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3563
3564 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3565 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3566
35672013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3568
3569 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3570 Touch up the last change.
3571
35722013-12-06 Leo Liu <sdl.web@gmail.com>
3573
3574 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3575 (inferior-octave-startup): Always use "octave> " for prompt.
3576 (octave-goto-function-definition)
3577 (octave-sync-function-file-names)
3578 (octave-find-definition-default-filename): Remove redundant backquotes.
3579
35802013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3581
3582 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3583 syntax for `?'.
3584 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3585 where appropriate already.
3586 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3587 end of method names (Bug#15874).
3588
35892013-12-06 Juri Linkov <juri@jurta.org>
3590
3591 * isearch.el (isearch--saved-overriding-local-map):
3592 New internal variable.
3593 (isearch-mode): Set it to the initial value of
3594 `overriding-terminal-local-map'.
3595 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3596 with `isearch--saved-overriding-local-map'. (Bug#16035)
3597
35982013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3599
3600 * progmodes/octave.el (inferior-octave-completion-table):
3601 Turn back into function, use `completion-table-with-cache'
3602 (Bug#11906). Update all references.
3603
3604 * minibuffer.el (completion-table-with-cache): New function.
3605
36062013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3607
3608 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3609
36102013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3611
3612 * net/eww.el (eww-current-source): New variable to store page
3613 source.
3614 (eww-display-html, eww-mode, eww-save-history)
3615 (eww-restore-history): Use it.
3616 (eww-view-source): New command to view page source.
3617 Opportunistically uses `html-mode' to highlight the buffer.
3618 (eww-mode-map): Install it.
3619
36202013-12-05 Michael Albinus <michael.albinus@gmx.de>
3621
3622 * net/dbus.el (dbus-unregister-service)
3623 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3624 Fix docstring.
3625 (dbus-unregister-service): Skip :serial entries in
3626 `dbus-registered-objects-table'.
3627 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3628
36292013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3630
3631 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3632 around keywords with extra `split-string' argument.
3633
36342013-12-04 Martin Rudalics <rudalics@gmx.at>
3635
3636 * windmove.el (windmove-other-window-loc): Handle navigation
3637 between windows (excluding the minibuffer window - Bug#16017).
3638
36392013-12-04 Michael Albinus <michael.albinus@gmx.de>
3640
3641 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3642 in D-Bus type syntax.
3643 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3644 preserve unibyte strings. (Bug#16048)
3645
36462013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3649 Call force-mode-line-update is the proper buffer (bug#16042).
3650
36512013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3652
3653 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3654 `log-edit-remember-comment', make argument optional. Adjust all
3655 callers.
3656 (log-edit-mode): Add `log-edit-remember-comment' to
3657 `kill-buffer-hook' locally.
3658 (log-edit-kill-buffer): Don't remember comment explicitly since
3659 the buffer is killed anyway.
3660
36612013-12-04 Juri Linkov <juri@jurta.org>
3662
3663 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3664 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3665
36662013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3667
3668 * notifications.el (notifications-close-notification): Call the
3669 D-Bus method with ID being a `:uint32'. (Bug#16030)
3670
36712013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3672
3673 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3674
36752013-12-03 Juri Linkov <juri@jurta.org>
3676
3677 * progmodes/compile.el (compilation-start): Rename window alist
3678 entry `no-display-ok' to `allow-no-window'.
3679
3680 * simple.el (shell-command): Add window alist entry
3681 `allow-no-window' to `display-buffer'.
3682 (async-shell-command): Doc fix.
3683
3684 * window.el (display-buffer-no-window): New action function.
3685 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3686
36872013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3688
3689 * vc/log-edit.el (log-edit-set-header): Extract from
3690 `log-edit-toggle-header'.
3691 (log-edit-extract-headers): Separate the summary, when extracted
3692 from header, from the rest of the message with an empty line.
3693
3694 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3695 line, if present, to the Summary header.
3696
36972013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3698
3699 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3700 in current-buffer (bug#16029).
3701
37022013-12-02 Helmut Eller <eller.helmut@gmail.com>
3703
3704 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3705 (debugger-mode-map): Bind it.
3706 (debugger--backtrace-base): New function.
3707 (debugger-eval-expression): Use it.
3708 (debugger-frame-number): Skip local vars when present.
3709 (debugger--locals-visible-p, debugger--insert-locals)
3710 (debugger--show-locals, debugger--hide-locals): New functions.
3711
37122013-12-02 Michael Albinus <michael.albinus@gmx.de>
3713
3714 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3715 "LC_ALL".
3716 (tramp-get-remote-locale): New defun.
3717 (tramp-open-connection-setup-interactive-shell): Use it.
3718
37192013-12-02 Leo Liu <sdl.web@gmail.com>
3720
3721 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3722
3723 * progmodes/sh-script.el (sh-shell-process):
3724 * progmodes/octave.el (inferior-octave-process-live-p):
3725 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3726 (gdb-inferior-io-sentinel):
3727 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3728
37292013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3730
3731 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3732 `save-selected-window' to `log-edit-hide-buf'. This makes
3733 `log-edit-show-files' idempotent.
3734 (log-edit-show-files): Mark the new window as dedicated.
3735
37362013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3737
3738 * vc/log-edit.el (log-edit-mode-map): Add binding for
3739 `log-edit-kill-biffer'.
3740 (log-edit-hide-buf): Add a FIXME comment.
3741 (log-edit-add-new-comment): New function, extracted from
3742 `log-edit-done'.
3743 (log-edit-done, log-edit-add-to-changelog): Use it.
3744 (log-edit-kill-buffer): New command.
3745
37462013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3747
3748 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3749 instead of killing the buffer.
3750
37512013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3752
3753 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3754
37552013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3756
3757 * net/eww.el (eww-form-checkbox-selected-symbol)
3758 (eww-form-checkbox-symbol): New customizable variable.
3759 (eww-form-checkbox, eww-toggle-checkbox):
3760 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3761
3762 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3763 (shr--get-media-pref, shr--extract-best-source): New function.
3764 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3765 no :src tag was specified.
3766
3767 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3768 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3769 Use \\` to match beginning of string instead of ^.
3770 (eww-browse-with-external-browser): Provide optional URL parameter.
3771 (eww-render): Set `eww-current-title' back to "".
3772
3773 * net/shr.el (shr-tag-video): Display content for video if no
3774 poster is available.
3775 (shr-tag-audio): Add support for <audio> tag.
3776
3777 * net/eww.el (eww-text-input-types): New const.
3778 (eww-process-text-input): Treat input types in
3779 `eww-text-input-types' as text.
3780
3781 * net/shr.el (shr-tag-table): Fix comment typo.
3782
37832013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3784
3785 * net/eww.el (eww-follow-link): New command to avoid reloading
3786 pages when we follow #target links (bug#15243).
3787 (eww-quit): Special mode buffers shouldn't query before exiting.
3788
37892013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3790
3791 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3792 forms.
3793
37942013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3795
3796 * net/eww.el (eww-restore-history): Update the window title after
3797 moving in the history.
3798 (eww-current-dom): New variable used to save the current DOM.
3799
38002013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3801
3802 * vc/log-edit.el (log-edit-mode-map): Add binding for
3803 `log-edit-beginning-of-line'.
3804 (log-edit-setup-add-author): New user option.
3805 (log-edit-beginning-of-line): New command.
3806 (log-edit): Move major mode call above the contents setup so that
3807 the local variable values are already applied.
3808 (log-edit): Only insert "Author: " when
3809 `log-edit-setup-add-author' is non-nil.
3810 (log-edit): When SETUP is non-nil, position point after ": "
3811 instead of point-min.
3812
38132013-12-01 Glenn Morris <rgm@gnu.org>
3814
3815 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3816
38172013-11-30 Eli Zaretskii <eliz@gnu.org>
3818
3819 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3820 redisplay to make sure the initial frame gets a chance to become
3821 visible. (Bug#16014)
3822
38232013-11-30 Martin Rudalics <rudalics@gmx.at>
3824
3825 Support resizing frames and windows pixelwise.
3826 * cus-start.el (frame-resize-pixelwise)
3827 (window-resize-pixelwise): New entries.
3828 * emacs-lisp/debug.el (debug): Use window-total-height instead
3829 of window-total-size.
3830 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3831 * help.el (describe-bindings-internal): Use help-buffer as
3832 argument for with-help-window.
3833 (temp-buffer-max-width): New option.
3834 (resize-temp-buffer-window, help-window-setup)
3835 (with-help-window): Rewrite.
3836 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3837 dragging dividers.
3838 * window.el (frame-char-size, window-min-pixel-height)
3839 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3840 (window-min-pixel-width, window-safe-min-pixel-size)
3841 (window-combination-p, window-safe-min-size)
3842 (window-resizable-p, window--size-to-pixel)
3843 (window--pixel-to-size, window--resize-apply-p): New functions.
3844 (window-safe-min-height): Fix doc-string.
3845 (window-size, window-min-size, window--min-size-1)
3846 (window-sizable, window-sizable-p, window--min-delta-1)
3847 (window-min-delta, window--max-delta-1, window-max-delta)
3848 (window--resizable, window--resizable-p, window-resizable)
3849 (window-full-height-p, window-full-width-p, window-at-side-p)
3850 (window--in-direction-2, window-in-direction)
3851 (window--resize-reset-1, window--resize-mini-window)
3852 (window-resize, window-resize-no-error)
3853 (window--resize-child-windows-normal)
3854 (window--resize-child-windows, window--resize-siblings)
3855 (window--resize-this-window, window--resize-root-window)
3856 (window--resize-root-window-vertically)
3857 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3858 (maximize-window, minimize-window, delete-window)
3859 (quit-restore-window, window-split-min-size, split-window)
3860 (balance-windows-2, balance-windows)
3861 (balance-windows-area-adjust, balance-windows-area)
3862 (window--state-get-1, window-state-get, window--state-put-1)
3863 (window--state-put-2, window-state-put)
3864 (display-buffer-record-window, window--display-buffer):
3865 Make functions handle pixelwise sizing of windows.
3866 (display-buffer--action-function-custom-type)
3867 (display-buffer-fallback-action):
3868 Add display-buffer-in-previous-window.
3869 (display-buffer-use-some-window): Resize window to height it had
3870 before.
3871 (fit-window-to-buffer-horizontally): New option.
3872 (fit-frame-to-buffer): Describe new values.
3873 (fit-frame-to-buffer-bottom-margin): Replace with
3874 fit-frame-to-buffer-margins.
3875 (window--sanitize-margin): New function.
3876 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3877 using window-text-pixel-size.
3878
38792013-11-30 Glenn Morris <rgm@gnu.org>
3880
3881 * emacs-lisp/bytecomp.el (byte-compile-form):
3882 Make the `interactive-only' warning like the `obsolete' one.
3883 * comint.el (comint-run):
3884 * files.el (insert-file-literally, insert-file):
3885 * replace.el (replace-string, replace-regexp):
3886 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3887 (goto-line, insert-buffer, next-line, previous-line):
3888 Tweak `interactive-only' spec.
3889
3890 Stop keeping (most) generated cedet grammar files in the repository.
3891 * Makefile.in (semantic): New.
3892 (compile-main): Depend on semantic.
3893
38942013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3895
3896 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3897 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3898
3899 * uniquify.el (uniquify-buffer-name-style): Change default.
3900
3901 * loadup.el: Preload "uniquify".
3902
3903 * time.el (display-time-update): Update all mode lines (bug#15999).
3904
3905 * electric.el (electric-indent-mode): Enable by default.
3906 * loadup.el: Preload "electric".
3907
39082013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3909
3910 * emacs-lisp/helpers.el (string-empty-p): New function.
3911 (string-blank-p): New function.
3912
39132013-11-29 Andreas Politz <politza@hochschule-trier.de>
3914
3915 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3916 (Bug#14029).
3917
39182013-11-29 Andreas Politz <politza@fh-trier.de>
3919 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3920 allow non-lambda lists as functions.
3921 (imenu--in-alist): Don't recurse into non-subalists.
3922 (imenu): Don't pass function itself as an argument (Bug#14029).
3923
39242013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 * progmodes/python.el (python-mode-map): Remove binding for ":".
3927 (python-indent-electric-colon): Remove command.
3928 (python-indent-post-self-insert-function): Integrate the previous code
3929 of python-indent-electric-colon. Make it conditional on
3930 electric-indent-mode.
3931 (python-mode): Add ?: to electric-indent-chars.
3932 Move python-indent-post-self-insert-function to the end of
3933 post-self-insert-hook.
3934
39352013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * doc-view.el (doc-view-goto-page): Update mode-line.
3938
3939 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3940
39412013-11-27 Glenn Morris <rgm@gnu.org>
3942
3943 * international/charprop.el, international/uni-bidi.el:
3944 * international/uni-category.el, international/uni-combining.el:
3945 * international/uni-comment.el, international/uni-decimal.el:
3946 * international/uni-decomposition.el, international/uni-digit.el:
3947 * international/uni-lowercase.el, international/uni-mirrored.el:
3948 * international/uni-name.el, international/uni-numeric.el:
3949 * international/uni-old-name.el, international/uni-titlecase.el:
3950 * international/uni-uppercase.el:
3951 Remove generated files from VCS repository.
3952
39532013-11-27 Eli Zaretskii <eliz@gnu.org>
3954
3955 * filenotify.el (file-notify-add-watch): Don't special-case
3956 w32notify when computing the directory to watch.
3957
39582013-11-27 Glenn Morris <rgm@gnu.org>
3959
3960 Make bootstrap without generated uni-*.el files possible again.
3961 * loadup.el: Update command-line-args checking for unidata-gen.
3962 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3963 * composite.el, international/characters.el:
3964 Handle unicode tables being undefined.
3965
3966 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3967 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3968 (compile-main): Depend on leim rule.
3969 (leim): New rule.
3970 * loadup.el: Move leim-list.el to leim/ subdirectory.
3971 * startup.el (normal-top-level): No more leim directory.
3972 * international/ja-dic-cnv.el (skkdic-convert):
3973 Disable version-control and autoloads in output files.
3974 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3975 Disable version-control and autoloads in output files.
3976 * leim/quail: Move here from ../leim.
3977 * leim/quail/hangul.el (hangul-input-method-activate):
3978 Add autoload cookie.
3979 (generated-autoload-load-name): Set file-local value.
3980 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3981 (generated-autoload-load-name): Set file-local value.
3982
39832013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3984
3985 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3986 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3987 (eww-quit): Ask confirmation before quitting eww.
3988
39892013-11-26 Eli Zaretskii <eliz@gnu.org>
3990
3991 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3992 reading output from Diff on MS-Windows and MS-DOS.
3993
39942013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3995
3996 * emacs-lisp/helpers.el (string-reverse): New function.
3997
39982013-11-26 Michael Albinus <michael.albinus@gmx.de>
3999
4000 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4001 names on MS Windows, like "/[::1]:".
4002
4003 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4004 SWITCHES.
4005
40062013-11-26 Glenn Morris <rgm@gnu.org>
4007
4008 * progmodes/python.el (python-indent-guess-indent-offset):
4009 Avoid corner-case error. (Bug#15975)
4010
4011 Preload leim-list.el. (Bug#4789)
4012 * loadup.el: Load leim-list.el when found.
4013 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4014
40152013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4016
4017 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4018
4019 * emacs-lisp/helpers.el (string-join): New function.
4020
40212013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4022
4023 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4024 Mark as obsolete and replace it with a symbol property.
4025 (byte-compile-form): Use new 'interactive-only property.
4026 * comint.el, files.el, replace.el, simple.el:
4027 Apply new 'interactive-only properly.
4028
40292013-11-25 Martin Rudalics <rudalics@gmx.at>
4030
4031 * window.el (display-buffer-at-bottom): Make sure that
4032 split-window-sensibly creates the new window on bottom
4033 (Bug#15961).
4034
40352013-11-23 David Kastrup <dak@gnu.org>
4036
4037 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4038 on the conflict markers when available.
4039 (smerge--get-marker): New function.
4040 (smerge-end-re, smerge-base-re): Add subgroup.
4041
40422013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4043
4044 * frame.el (handle-focus-in, handle-focus-out): Add missing
4045 interactive spec.
4046
40472013-11-25 Michael Albinus <michael.albinus@gmx.de>
4048
4049 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4050 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4051
40522013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4055 (gomoku--last-pos): New var.
4056 (gomoku--intangible-chars): New const.
4057 (gomoku--intangible): New function.
4058 (gomoku-mode): Use it. Derive from special-mode.
4059 (gomoku-move-up): Adjust line count.
4060 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4061 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4062 Simplify accordingly.
4063
4064 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4065 Remove blink-cursor code.
4066 (blink-cursor-timer-function, blink-cursor-suspend):
4067 Don't special-case GUIs.
4068 (blink-cursor-mode): Use focus-in/out-hook.
4069
40702013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4071
4072 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4073 work when annotation is invisible (Bug#13886).
4074
40752013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4076
4077 * json.el (json-alist-p): Only return non-nil if the alist has
4078 simple keys (Bug#13518).
4079
40802013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4081
4082 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4083 when control-statement is the first statement in a buffer (Bug#15956).
4084
40852013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4086
4087 * imenu.el (imenu-generic-skip-comments-and-strings):
4088 New option (Bug#15560).
4089 (imenu--generic-function): Use it.
4090
40912013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4092
4093 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4094 (Bug#13898)
4095
40962013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4097
4098 * emacs-lisp/helpers.el: Add some string helpers.
4099 (string-trim-left): Removes leading whitespace.
4100 (string-trim-right): Removes trailing whitespace.
4101 (string-trim): Removes leading and trailing whitespace.
4102
4103 * subr.el (string-suffix-p): New function.
4104
41052013-11-23 Glenn Morris <rgm@gnu.org>
4106
4107 * progmodes/python.el (python-shell-send-file):
4108 Add option to delete file when done. (Bug#15647)
4109 (python-shell-send-string, python-shell-send-region): Use it.
4110
41112013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4112
4113 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4114 to set buffer-read-only to t, never to nil. (Bug#15938)
4115
4116 * textmodes/tex-mode.el (latex-noindent-environments):
4117 Add safe-local-variable property. (Bug#15936)
4118
41192013-11-23 Glenn Morris <rgm@gnu.org>
4120
4121 * textmodes/enriched.el (enriched-mode): Doc fix.
4122 * emacs-lisp/authors.el (authors-renamed-files-alist):
4123 Add enriched.doc -> enriched.txt.
4124
4125 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4126
41272013-11-22 Leo Liu <sdl.web@gmail.com>
4128
4129 * progmodes/octave.el (inferior-octave-startup): Spit out error
4130 message.
4131
41322013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4133
4134 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4135 Improve docstring.
4136 Add :version.
4137 (ruby-encoding-magic-comment-style): Add :version.
4138
41392013-11-22 Leo Liu <sdl.web@gmail.com>
4140
4141 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4142 (Bug#15076)
4143 (octave-help-mode): Adapt to change to help-mode-finish to use
4144 derived-mode-p on 2013-09-17.
4145 (inferior-octave-prompt): Also match octave-gui.
4146 (octave-kill-process): Don't ask twice. (Bug#10564)
4147
41482013-11-22 Leo Liu <sdl.web@gmail.com>
4149
4150 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4151 (inferior-octave-startup, inferior-octave-check-process)
4152 (inferior-octave-track-window-width-change)
4153 (octave-completion-at-point, octave-eldoc-function): Use it.
4154 (octave-kill-process): Provide confirmation. (Bug#10564)
4155
41562013-11-21 Leo Liu <sdl.web@gmail.com>
4157
4158 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4159 Fix obsolete variable comment-use-global-state.
4160
41612013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4162
4163 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4164 Add `octave-source-file'.
4165 (octave-source-file): New function. (Bug#15935)
4166
41672013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4168
4169 * net/eww.el (eww-local-regex): New variable.
4170 (eww): Use it to detect localhost and similar.
4171
41722013-11-21 Leo Liu <sdl.web@gmail.com>
4173
4174 Add completion for command `ag'.
4175 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4176 (pcomplete/ag): New function.
4177 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4178
41792013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4182 (bug#14646).
4183 (make-obsolete): Remove interactive spec.
4184
41852013-11-21 Glenn Morris <rgm@gnu.org>
4186
4187 * startup.el (command-line-1): Use path-separator with -L.
4188
41892013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4190
4191 * emacs-lisp/package.el (describe-package-1): Add package archive
4192 to shown fields.
4193
41942013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4195
4196 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4197 Change default to "# encoding: %s" to differentiate it from the
4198 default Ruby encoding comment template.
4199
42002013-11-20 era eriksson <era+emacsbugs@iki.fi>
4201
4202 * ses.el (ses-mode): Doc fix. (Bug#14748)
4203
42042013-11-20 Leo Liu <sdl.web@gmail.com>
4205
4206 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4207
42082013-11-19 Dan Nicolaescu <dann@gnu.org>
4209
4210 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4211 when rebase or bisect are in progress.
4212
42132013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4214
4215 * filenotify.el (file-notify-add-watch): Doc fix.
4216
42172013-11-19 Leo Liu <sdl.web@gmail.com>
4218
4219 * obsolete/rcompile.el: Mark obsolete.
4220
4221 * progmodes/compile.el (compilation-start)
4222 (compilation-goto-locus, compilation-find-file):
4223 Pass no-display-ok and handle nil value from display-buffer.
4224 (Bug#13594)
4225
4226 * window.el (display-buffer-alist, display-buffer): Document the
4227 new parameter no-display-ok. Return either a window or nil
4228 but never a non-window value.
4229
42302013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * electric.el (electric-indent-mode-map): Remove.
4233 (electric-indent-mode): Change the global-map instead (bug#15915).
4234
4235 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4236 Use add-function.
4237
42382013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4239
4240 * emacs-lisp/nadvice.el (remove-function): Align with
4241 add-function's behavior.
4242
4243 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4244 (gdb--string-regexp): New constant.
4245 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4246 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4247 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4248 submatch 1.
4249 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4250 Adjust use accordingly.
4251 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4252
42532013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4254
4255 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4256 interpolation curlies (Bug#15914).
4257
42582013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4259
4260 * calc/calc.el (calc-context-sensitive-enter): New variable.
4261 (calc-enter): Use `calc-context-sensitive-enter'.
4262
42632013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4264
4265 * progmodes/cfengine.el: Version bump.
4266 (cfengine-cf-promises): New defcustom to locate cf-promises.
4267 (cfengine3-vartypes): Add new "data" type.
4268 (cfengine3--current-word): New function to get current name-like
4269 word or its bounds.
4270 (cfengine3--current-function): New function to look up a CFEngine
4271 function's definition.
4272 (cfengine3-format-function-docstring): New function.
4273 (cfengine3-make-syntax-cache): New function.
4274 (cfengine3-documentation-function): New function: ElDoc glue.
4275 (cfengine3-completion-function): New function: completion glue.
4276 (cfengine3-mode): Set `compile-command',
4277 `eldoc-documentation-function', and add to
4278 `completion-at-point-functions'.
4279
42802013-11-16 Michael Albinus <michael.albinus@gmx.de>
4281
4282 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4283 `tramp-current-connection'.
4284
42852013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4286
4287 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4288 nil/self/true/false with "end of symbol".
4289
42902013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4291
4292 * subr.el (version-regexp-alist): Fix a typo.
4293
42942013-11-15 Michael Albinus <michael.albinus@gmx.de>
4295
4296 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4297 "en_US.utf8" and "LC_CTYPE" to "".
4298 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4299 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4300
43012013-11-15 Leo Liu <sdl.web@gmail.com>
4302
4303 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4304
43052013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * progmodes/gud.el (ctl-x-map):
4308 Remove C-x SPC binding. (Bug#12342)
4309 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4310
43112013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4312
4313 * subr.el (version-regexp-alist):
4314 Recognize hg, svn and darcs versions as snapshot versions.
4315
4316 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4317 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4318 (ruby--encoding-comment-required-p): Extract from
4319 `ruby-mode-set-encoding'.
4320 (ruby-mode-set-encoding): Add the ability to always insert an
4321 utf-8 encoding comment. Fix and simplify coding comment update
4322 logic.
4323
43242013-11-14 Michael Albinus <michael.albinus@gmx.de>
4325
4326 * net/tramp-gvfs.el (top): Run init code only when
4327 `tramp-gvfs-enabled' is not nil.
4328 (tramp-gvfs-enabled): Check also :system bus.
4329
43302013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 Sync with upstream verilog-mode revision 78e66ba.
4333 * progmodes/verilog-mode.el (verilog-end-of-defun)
4334 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4335 (verilog-get-end-of-defun): Remove unused argument.
4336 (verilog-comment-depth): Remove unused local `e'.
4337 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4338 Don't pass arg to verilog-get-end-of-defun.
4339
43402013-11-14 Glenn Morris <rgm@gnu.org>
4341
4342 * obsolete/assoc.el (aget): Prefix dynamic variable.
4343
4344 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4345
43462013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * widget.el, hfy-cmap.el: Remove bogus package version number.
4349
43502013-11-13 Glenn Morris <rgm@gnu.org>
4351
4352 * replace.el (replace-eval-replacement):
4353 Try to give more helpful error message. (Bug#15836)
4354
4355 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4356 (archive-7z-update): Avoid custom type mismatches.
4357
4358 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4359
43602013-11-13 Michael Albinus <michael.albinus@gmx.de>
4361
4362 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4363 address can be empty.
4364
4365 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4366 Accept nil SWITCHES.
4367 (tramp-gvfs-handle-write-region): Implement APPEND.
4368
43692013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4370
4371 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4372 binary "|" operator and closing block args delimiter.
4373 Remove FIXME comment referring to Ruby 1.8-only syntax.
4374 (ruby-smie--implicit-semi-p): Not after "|" operator.
4375 (ruby-smie--closing-pipe-p): New function.
4376 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4377 (ruby-smie-rules): Indent after "|".
4378
43792013-11-12 Glenn Morris <rgm@gnu.org>
4380
4381 * ps-print.el (ps-face-attribute-list):
4382 Handle anonymous faces. (Bug#15827)
4383
43842013-11-12 Martin Rudalics <rudalics@gmx.at>
4385
4386 * window.el (display-buffer-other-frame): Fix doc-string.
4387 (Bug#15868)
4388
43892013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4390
4391 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4392
43932013-11-11 Michael Albinus <michael.albinus@gmx.de>
4394
4395 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4396 (tramp-sh-handle-file-local-copy): Don't write a message when
4397 saving temporary files.
4398
4399 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4400 both directories are remote.
4401 (tramp-smb-handle-directory-files): Do not return double entries.
4402 Do not expand full file names.
4403 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4404 (tramp-smb-handle-write-region): Implement APPEND.
4405 (tramp-smb-get-stat-capability): Fix a stupid bug.
4406
44072013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4410
44112013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4412
4413 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4414 throwing error over malformed let/let* (bug#15814).
4415
44162013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * iswitchb.el (iswitchb-mode): Mark obsolete.
4419
44202013-11-11 Glenn Morris <rgm@gnu.org>
4421
4422 * international/uni-bidi.el, international/uni-category.el:
4423 * international/uni-name.el, international/uni-numeric.el:
4424 Regenerate for Unicode 6.3.0.
4425
44262013-11-10 Michael Albinus <michael.albinus@gmx.de>
4427
4428 * net/tramp.el (tramp-methods):
4429 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4430 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4431
44322013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4433
4434 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4435 Force highlighting text after Summary keyword in doc face for rpm.
4436
44372013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4438
4439 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4440 available and the word has no wildcards, append one to the grep pattern.
4441 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4442 (ispell-complete-word): Call `ispell-lookup-words' with the value
4443 independent of `ispell-look-p'.
4444
44452013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4446
4447 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4448 Not after "||".
4449 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4450 their parent.
4451
44522013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4453
4454 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4455 (ruby-font-lock-keywords): Use backquote.
4456
44572013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4458
4459 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4460 (ruby-smie--backward-token): Only consider full-string matches.
4461
44622013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4463
4464 * faces.el (describe-face): Add distant-foreground.
4465
44662013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4467
4468 * progmodes/ruby-mode.el: Improve encoding comment handling.
4469 (ruby-encoding-magic-comment-style): New option.
4470 (ruby-custom-encoding-magic-comment-template): New option.
4471 (ruby--insert-coding-comment, ruby--detect-encoding):
4472 New functions extracted from `ruby-mode-set-encoding'.
4473 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4474 to control the style of the auto-inserted encoding comment.
4475
44762013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4477
4478 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4479 Use `smie-backward-sexp' with token argument.
4480
44812013-11-08 Michael Albinus <michael.albinus@gmx.de>
4482
4483 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4484 Remove instrumentation code.
4485
44862013-11-08 Glenn Morris <rgm@gnu.org>
4487
4488 * progmodes/autoconf.el (autoconf-mode):
4489 Tweak comment-start-skip. (Bug#15822)
4490
44912013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4494 at bobp (bug#15826).
4495 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4496
44972013-11-08 Darren Hoo <darren.hoo@gmail.com>
4498
4499 * man.el (Man-start-calling): New macro, extracted from
4500 Man-getpage-in-background.
4501 (Man-getpage-in-background): Use it.
4502 (Man-update-manpage): New command.
4503 (Man-mode-map): Bind it.
4504
45052013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4506
4507 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4508 of "and", "or", "&&" and "||".
4509 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4510 argument. Prohibit opening curly brace because it could only be a
4511 block opener in that position.
4512 (ruby-smie--forward-token, ruby-smie--backward-token):
4513 Separate "|" from "&" or "*" going after it. That can happen in block
4514 arguments.
4515 (ruby-smie--indent-to-stmt): New function, seeks the end of
4516 previous statement or beginning of buffer.
4517 (ruby-smie-rules): Use it.
4518 (ruby-smie-rules): Check if there's a ":" before a curly block
4519 opener candidate; if there is, it's a hash.
4520
45212013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4524 (cl--block-wrapper): Fix last accidental change.
4525
45262013-11-07 Michael Albinus <michael.albinus@gmx.de>
4527
4528 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4529 Instrument, in order to hunt failure on hydra.
4530
45312013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4532
4533 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4534 malformed bindings form (bug#15814).
4535
45362013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4537
4538 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4539 "." compared to " @ ". This incidentally fixes some indentation
4540 examples with "do".
4541 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4542 (ruby-smie-grammar): New tokens: "and" and "or".
4543 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4544 Exclude "and" and "or". Remove "do" in order to work around token
4545 priorities.
4546 (ruby-smie-rules): Add all infix tokens. Handle the case of
4547 beginning-of-buffer.
4548
45492013-11-06 Glenn Morris <rgm@gnu.org>
4550
4551 * Makefile.in (setwins_almost, setwins_for_subdirs):
4552 Avoid accidental matches.
4553
45542013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * menu-bar.el (popup-menu): Use key-binding.
4557
45582013-11-06 Eli Zaretskii <eliz@gnu.org>
4559
4560 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4561 menus, support also the menus produced by minor modes.
4562 (Bug#15817)
4563
45642013-11-06 Leo Liu <sdl.web@gmail.com>
4565
4566 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4567 DISTANCE to bound the search. All uses changed. (Bug#15808)
4568
45692013-11-06 Glenn Morris <rgm@gnu.org>
4570
4571 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4572 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4573 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4574
45752013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * electric.el (electric-indent-just-newline): New command.
4578 (electric-indent-mode-map): New keymap.
4579 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4580 Re-add :group which weren't redundant.
4581
4582 * electric.el (electric-indent-local-mode): New minor mode.
4583 (electric-indent-functions-without-reindent): New var.
4584 (electric-indent-post-self-insert-function): Use it.
4585 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4586
45872013-11-05 Eli Zaretskii <eliz@gnu.org>
4588
4589 * international/quail.el (quail-help): Be more explicit about the
4590 meaning of the labels shown on the keys. (Bug#15800)
4591
4592 * startup.el (normal-top-level): Load the subdirs.el files before
4593 setting the locale environment. (Bug#15805)
4594
45952013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4596
4597 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4598 via arguments so as to get the right ones (bug#15418).
4599
4600 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4601
46022013-11-05 Michael Albinus <michael.albinus@gmx.de>
4603
4604 Fix problems found while writing a test suite.
4605
4606 * net/tramp-compat.el (tramp-compat-load): New defun.
4607 * net/tramp.el (tramp-handle-load): Use it.
4608
4609 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4610 "(numberp ok-if-already-exists)" correctly.
4611
46122013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4613
4614 * international/characters.el (glyphless-char-display-control):
4615 Add usage note.
4616
46172013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4618
4619 * progmodes/python.el (python-mode):
4620 * progmodes/scheme.el (scheme-mode):
4621 * progmodes/prolog.el (prolog-mode):
4622 * progmodes/ruby-mode.el (ruby-mode):
4623 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4624 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4625
46262013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * rect.el (rectangle--highlight-for-redisplay):
4629 * emacs-lisp/smie.el (smie--next-indent-change):
4630 Use buffer-chars-modified-tick.
4631
4632 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4633
4634 * electric.el (electric-indent-post-self-insert-function):
4635 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4636
46372013-11-04 Helmut Eller <eller.helmut@gmail.com>
4638
4639 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4640
46412013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4642
4643 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4644 (bug#15786).
4645
46462013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4649
4650 * progmodes/python.el: Fix up last change.
4651 (python-shell--save-temp-file): New function.
4652 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4653 `string' comes from the current buffer.
4654 (python-shell-send-string-no-output): Remove `msg' arg.
4655 (python--use-fake-loc): New var.
4656 (python-shell-buffer-substring): Obey it. Try to compensate for the
4657 extra coding line added by python-shell--save-temp-file.
4658 (python-shell-send-region): Use python-shell--save-temp-file and
4659 python-shell-send-file directly. Add `nomain' argument.
4660 (python-shell-send-buffer): Use python-shell-send-region.
4661 (python-electric-pair-string-delimiter): New function.
4662 (python-mode): Use it.
4663
46642013-11-04 Eli Zaretskii <eliz@gnu.org>
4665
4666 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4667 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4668 environment and decoding all of the default-directory's to here
4669 from command-line.
4670 (command-line): Decode also argv[0].
4671
4672 * loadup.el: Error out if default-directory is a multibyte string
4673 when we are dumping.
4674
4675 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4676
46772013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4678
4679 * emacs-lisp/package.el (package-menu-mode)
4680 (package-menu--print-info, package-menu--archive-predicate):
4681 Add Archive column to package list.
4682
46832013-11-04 Michael Albinus <michael.albinus@gmx.de>
4684
4685 Fix problems found while writing a test suite.
4686
4687 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4688 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4689 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4690 to nil when running original file name handler. Otherwise,
4691 there are problems with constructs like "$$FOO".
4692
4693 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4694 for `localname'.
4695
46962013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4697
4698 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4699
4700 * subr.el (version<, version<=, version=):
4701 Update docstrings with information for snapshot versions.
4702
4703 * helpers.el: New library for misc helper functions.
4704 (hash-table-keys): New function returning a list of hash keys.
4705 (hash-table-values): New function returning a list of hash values.
4706
47072013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4708
4709 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4710 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4711
47122013-11-04 Michal Nazarewicz <mina86@mina86.com>
4713
4714 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4715 checking whether point is after a 1-letter word.
4716
47172013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4718
4719 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4720 Don't infloop when expanding region over `multiline' syntax-type that
4721 begins a line (bug#15778).
4722
47232013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4724
4725 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4726 Make it into a proper minor mode.
4727 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4728 (rectangle-mark-mode-map): New keymap.
4729 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4730
47312013-11-04 Glenn Morris <rgm@gnu.org>
4732
4733 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4734
47352013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4738 (ruby-smie-rules): Use smie-rule-parent instead.
4739
4740 * emacs-lisp/smie.el (smie-rule-parent): Always call
4741 smie-indent-virtual rather than only for hanging tokens.
4742 (smie--next-indent-change): New helper command.
4743
47442013-11-03 Glenn Morris <rgm@gnu.org>
4745
4746 * Makefile.in (abs_srcdir): Remove.
4747 (emacs): Unset EMACSLOADPATH.
4748
47492013-11-02 Glenn Morris <rgm@gnu.org>
4750
4751 * Makefile.in (EMACS): Use a relative filename.
4752 (abs_top_builddir): Remove.
4753 (custom-deps, finder-data, autoloads): Use --chdir.
4754
4755 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4756
4757 Use relative filenames in TAGS files.
4758 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4759 (lisptagsfiles4, TAGS): Use relative file names.
4760 (TAGS-LISP): Remove.
4761 (maintainer-clean): No more TAGS-LISP file.
4762
4763 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4764 (lisptagsfiles4): Use absolute filenames again.
4765 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4766 Remove all *loaddefs files, not just the first. Remove esh-groups.
4767 (maintainer-clean): Delete TAGS, TAGS-LISP.
4768
47692013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4770
4771 * emacs-lisp/package.el (package-version-join):
4772 Recognize snapshot versions.
4773
47742013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4775
4776 * subr.el (version-regexp-alist): Add support for snapshot versions.
4777
47782013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4779
4780 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4781 New function, replacement for `smie-rule-parent' for when we want to
4782 skip over our direct parent if it's an assignment token..
4783 (ruby-smie-rules): Use it.
4784
47852013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4786
4787 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4788 unconditionally. Remove now unnecessary forward declarations.
4789 Remove XEmacs-specific setup.
4790 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4791 (ruby-font-lock-syntactic-keywords)
4792 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4793 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4794 (ruby-here-doc-end-syntax): Remove.
4795 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4796 defined as function.
4797
47982013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4799
4800 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4801
48022013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4803
4804 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4805 table and abbrev table, `define-derived-mode' does that for us
4806 anyway.
4807
48082013-11-01 Glenn Morris <rgm@gnu.org>
4809
4810 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4811 files is atomic for some time, so no parallel compilation issues).
4812
48132013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4814
4815 * faces.el (face-x-resources): Add :distant-foreground.
4816 (region): Use :distant-foreground for gtk and ns.
4817
48182013-11-01 Tassilo Horn <tsdh@gnu.org>
4819
4820 Allow multiple bibliographies when BibLaTeX is used rather than
4821 BibTeX.
4822 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4823 (reftex-locate-bibliography-files): Us it.
4824
48252013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4826
4827 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4828 allow comments in pbm files.
4829
4830 * term/w32-win.el (dynamic-library-alist): Support newer versions
4831 of libjpeg starting with v7: look only for the DLL from the
4832 version against which Emacs was built.
4833 Support versions of libpng beyond 1.4.x.
4834 Support libtiff v4.x.
4835
48362013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4837
4838 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4839 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4840 Add property :safe.
4841 (ruby-deep-arglist): Add property :type.
4842
48432013-10-31 Glenn Morris <rgm@gnu.org>
4844
4845 * Makefile.in (custom-deps, finder-data): No need to setq the target
4846 variables, we are in the right directory and the defaults work fine.
4847
48482013-10-30 Glenn Morris <rgm@gnu.org>
4849
4850 * Makefile.in (autoloads): Do not use abs_lisp.
4851
4852 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4853 `newline' does not respect `standard-output', so use `princ'.
4854
48552013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4856
4857 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4858 * buff-menu.el (Buffer-menu--unmark): New function.
4859 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4860
48612013-10-30 Glenn Morris <rgm@gnu.org>
4862
4863 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4864
4865 * emacs-lisp/package.el (lm-homepage): Declare.
4866
4867 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4868 Fix doc typos.
4869
4870 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4871
4872 * Makefile.in (finder-data, autoloads, update-subdirs)
4873 (compile-main, compile-clean, compile-always, bootstrap-clean):
4874 Check return value of cd.
4875 (compile-calc): Remove.
4876
48772013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4880
4881 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4882 (byte-compile-and-folded): New function.
4883 (=, <, >, <=, >=): Use it.
4884
4885 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4886 (path-separator, null-device, buffer-file-coding-system)
4887 (lpr-headers-switches): Check system-type before modifying them.
4888 (find-buffer-file-type-coding-system): Mark obsolete.
4889 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4890 find-file-not-found-set-buffer-file-coding-system.
4891 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4892 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4893 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4894 (w32-direct-print-region-helper, w32-direct-print-region-function)
4895 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4896 * startup.el (normal-top-level-add-subdirs-to-load-path):
4897 * ps-print.el (ps-print-region-function):
4898 * lpr.el (print-region-function): Use new name.
4899
4900 * subr.el (custom-declare-variable-early): Remove function.
4901 (custom-declare-variable-list): Remove var.
4902 (error, user-error): Remove `while' loop.
4903 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4904 (user-emacs-directory-warning, locate-user-emacs-file):
4905 Move to files.el.
4906 * simple.el (read-quoted-char-radix, read-quoted-char):
4907 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4908 Move from subr.el.
4909 * custom.el (custom-declare-variable-list): Don't process
4910 custom-declare-variable-list.
4911
4912 * progmodes/python.el (python-shell-get-buffer): New function.
4913 (python-shell-get-process): Use it.
4914 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4915 Python which encoding was used. Don't split-string since we only care
4916 about the first line. Return the temp-file, if applicable.
4917 (python-shell-send-region): Tell compile.el how to turn locations in
4918 the temp-file into locations in the source buffer.
4919
49202013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4921
4922 * subr.el (undefined): Add missing behavior from the C code for
4923 unbound keys.
4924
4925 * rect.el: Use lexical-binding. Add new rectangular region support.
4926 (rectangle-mark): New command.
4927 (rectangle--region): New var.
4928 (deactivate-mark-hook): Reset rectangle--region.
4929 (rectangle--extract-region, rectangle--insert-for-yank)
4930 (rectangle--highlight-for-redisplay)
4931 (rectangle--unhighlight-for-redisplay): New functions.
4932 (region-extract-function, redisplay-unhighlight-region-function)
4933 (redisplay-highlight-region-function): Use them to handle
4934 rectangular region.
4935 * simple.el (region-extract-function): New var.
4936 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4937 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4938 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4939 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4940 (redisplay-unhighlight-region-function)
4941 (redisplay-highlight-region-function): New vars.
4942 (redisplay--update-region-highlight): New function.
4943 (pre-redisplay-function): Use it.
4944 (exchange-point-and-mark): Don't deactivate the mark before
4945 reactivate-it anyway.
4946 * comint.el (comint-kill-region): Remove yank-handler argument.
4947 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4948 (delete-char): Remove property, since it's now part of their
4949 default behavior.
4950 (self-insert-iso): Remove property since this command doesn't exist.
4951
4952 * emacs-lisp/package.el (package--download-one-archive)
4953 (describe-package-1): Don't query the user about final newline.
4954
49552013-10-29 Daniel Colascione <dancol@dancol.org>
4956
4957 * net/tramp.el (tramp-methods): Document new functionality.
4958 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4959 tramp-hostname-checker if method provides one instead of scanning
4960 argument list for "%h" to decide hostname acceptability.
4961
49622013-10-28 Michael Albinus <michael.albinus@gmx.de>
4963
4964 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4965 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4966 Handle COPY-CONTENTS. (Bug#15737)
4967
49682013-10-28 Daiki Ueno <ueno@gnu.org>
4969
4970 * epa-file.el
4971 (epa-file-cache-passphrase-for-symmetric-encryption):
4972 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4973
49742013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4975
4976 * image.el (defimage, image-load-path): Doc fixes.
4977
49782013-10-27 Alan Mackenzie <acm@muc.de>
4979
4980 Indent statements in macros following "##" correctly.
4981 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4982 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4983
49842013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4985
4986 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4987
49882013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4989
4990 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4991 after `=' is probably a new expression.
4992
49932013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4994
4995 * man.el (man-imenu-title): New option.
4996 (Man-mode-map): Add menu. (Bug#15722)
4997 (Man-mode): Add imenu to menu.
4998
49992013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5000
5001 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5002 specific in what the first arg can be: a non-keyword word,
5003 string/regexp/percent literal opener, opening paren, or unary
5004 operator followed directly by word.
5005
50062013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5009 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5010 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5011 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5012 Remove vars, they do not apply any more.
5013 (prolog-mode-abbrev-table): Remove redundant declaration.
5014 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5015 (prolog-use-smie): Remove.
5016 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5017 supported by prolog-electric-if-then-else-flag.
5018 (prolog-mode-variables, prolog-menu): Use setq-local.
5019 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5020 Remove binding to `Backspace' since this key doesn't exist anyway.
5021 Remove bindings for electric self-inserting keys.
5022 (prog-mode): Assume it's defined.
5023 (prolog-post-self-insert): New function.
5024 (prolog-mode): Use it.
5025 (prolog-indent-line, prolog-indent-level)
5026 (prolog-find-indent-of-matching-paren)
5027 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5028 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5029 (prolog-goto-next-paren, prolog-in-string-or-comment)
5030 (prolog-tokenize, prolog-inside-mline-comment)
5031 (prolog-find-start-of-mline-comment): Remove functions.
5032 (prolog-find-unmatched-paren, prolog-clause-end)
5033 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5034 (prolog-electric--if-then-else): Rename from
5035 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5036 (prolog-tokenize-searchkey): Remove const.
5037 (prolog-clause-info): Use forward-sexp.
5038 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5039 (prolog-electric-if-then-else): Remove commands.
5040 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5041 for use in post-self-insert-hook.
5042 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5043 for use in post-self-insert-hook.
5044 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5045 for use in post-self-insert-hook.
5046 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5047 adapt it for use in post-self-insert-hook.
5048
50492013-10-25 Michael Albinus <michael.albinus@gmx.de>
5050
5051 * emacs-lisp/ert.el (ert-run-tests-interactively):
5052 Use `completing-read'. (Bug#9756)
5053
50542013-10-25 Eli Zaretskii <eliz@gnu.org>
5055
5056 * simple.el (line-move): Call line-move-1 instead of
5057 line-move-visual when the current window hscroll is zero, but
5058 temporary-goal-column indicates we will need to hscroll as result
5059 of the movement. (Bug#15712)
5060
50612013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5062
5063 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5064 capitalization. Use :visible instead of :active.
5065 Fix `ruby-indent-exp' reference. Add menu items for the generic
5066 commands that are used with SMIE.
5067 (ruby-do-end-to-brace): Insert space after `{'.
5068
50692013-10-25 John Anthony <john@jo.hnanthony.com>
5070
5071 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5072
5073 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5074
50752013-10-25 Glenn Morris <rgm@gnu.org>
5076
5077 * vc/vc.el (vc-print-log): Don't use a working revision unless
5078 one was explicitly specified. (Bug#15322)
5079
50802013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * subr.el (add-to-list): Preserve return value in compiler-macro
5083 (bug#15692).
5084
50852013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5086
5087 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5088 result. Ask user to retry using '-all' flag. (Bug#15701)
5089
50902013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * emacs-lisp/smie.el: New smie-config system.
5093 (smie-config): New defcustom.
5094 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5095 (smie-config-guess, smie-config-save): New commands.
5096 (smie-config--mode-local, smie-config--buffer-local)
5097 (smie-config--trace, smie-config--modefuns): New vars.
5098 (smie-config--advice, smie-config--mode-hook)
5099 (smie-config--setter, smie-config-local, smie-config--get-trace)
5100 (smie-config--guess-value, smie-config--guess): New functions.
5101 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5102 text properties. Treat "string fence" syntax like string syntax.
5103
5104 * progmodes/sh-script.el (sh-use-smie): Change default.
5105 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5106 (sh-var-value): Simplify by CSE.
5107 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5108 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5109 is used.
5110 (sh-guess-basic-offset): Use cl-incf.
5111 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5112
51132013-10-24 Helmut Eller <eller.helmut@gmail.com>
5114
5115 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5116 (bug#15699).
5117
51182013-10-24 Glenn Morris <rgm@gnu.org>
5119
5120 * Makefile.in (abs_top_srcdir): Remove.
5121 (update-subdirs): Use relative path to update-subdirs.
5122
51232013-10-24 Eli Zaretskii <eliz@gnu.org>
5124
5125 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5126 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5127 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5128 Call unmsys--file-name before expand-file-name, not after it.
5129
51302013-10-24 Michael Albinus <michael.albinus@gmx.de>
5131
5132 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5133 (ert-test-skipped): New error.
5134 (ert-skip, ert-stats-skipped): New defuns.
5135 (ert--skip-unless): New macro.
5136 (ert-test-skipped): New struct.
5137 (ert--run-test-debugger, ert-test-result-type-p)
5138 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5139 (ert--stats-set-test-and-result, ert-char-for-test-result)
5140 (ert-string-for-test-result, ert-run-tests-batch)
5141 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5142 Handle skipped tests. (Bug#9803)
5143
51442013-10-24 Glenn Morris <rgm@gnu.org>
5145
5146 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5147
5148 * Makefile.in (abs_top_srcdir): New, set by configure.
5149 (update-subdirs): Correct build-aux location.
5150
51512013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5152
5153 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5154 value, whether we could auto-deduce `backend', or not.
5155
5156 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5157 with parameters" example. Simplify the "is it block or is it
5158 hash" check, but also make it more thorough.
5159
51602013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5161
5162 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5163
51642013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5167 { if it is hanging.
5168
5169 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5170 :before ";".
5171
51722013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5173
5174 * progmodes/compile.el (compilation-directory-matcher)
5175 (compilation-page-delimiter):
5176 Support GNU Make-4.0 directory quoting. (Bug#15678)
5177
51782013-10-23 Leo Liu <sdl.web@gmail.com>
5179
5180 * ido.el (ido-tidy): Handle read-only text.
5181
51822013-10-23 Glenn Morris <rgm@gnu.org>
5183
5184 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5185 (emacs, compile, compile-always):
5186 Quote entities that might contain whitespace.
5187 (custom-deps, finder-data, autoloads): Use abs_lisp.
5188 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5189 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5190 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5191
51922013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5193
5194 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5195 Use `following-char'.
5196
51972013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5198
5199 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5200 * progmodes/ruby-mode.el (ruby-smie-rules):
5201 Remove corresponding workaround. Fix indentation rule of ";" so it
5202 also applies when ";" is the parent.
5203
52042013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5205
5206 * frame.el (display-screens, display-pixel-height)
5207 (display-pixel-width, display-mm-width, display-backing-store)
5208 (display-save-under, display-planes, display-color-cells)
5209 (display-visual-class, display-monitor-attributes-list):
5210 Mention the optional ‘display’ argument in doc strings.
5211
52122013-10-22 Michael Gauland <mikelygee@amuri.net>
5213
5214 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5215 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5216
52172013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5218
5219 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5220 TODO. Add "." after " @ ".
5221 (ruby-smie--at-dot-call): New function. Checks if point at method
5222 call with explicit target.
5223 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5224 to the method name tokens when it precedes them.
5225 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5226 (ruby-smie-rules): Add rule for indentation before and after "."
5227 token.
5228
52292013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5230
5231 * textmodes/remember.el (remember-diary-extract-entries):
5232 Avoid add-to-list.
5233
5234 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5235 an instruction.
5236
52372013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5238
5239 * progmodes/ruby-mode.el (ruby-smie-grammar):
5240 Add (almost) all infix operators.
5241 (ruby-smie--implicit-semi-p): Add new operator chars.
5242
5243 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5244 `smie-down-list'.
5245 (ruby-smie--args-separator-p): Check that there's no newline
5246 between method call and its arguments.
5247
52482013-10-20 Alan Mackenzie <acm@muc.de>
5249
5250 Allow comma separated lists after Java "implements".
5251
5252 * progmodes/cc-engine.el (c-backward-over-enum-header):
5253 Parse commas.
5254 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5255 from a "disallowed" list in enum fontification.
5256
52572013-10-20 Johan Bockgård <bojohan@gnu.org>
5258
5259 * startup.el (default-frame-background-mode): Remove unused defvar.
5260
5261 * progmodes/verilog-mode.el (verilog-mode): Don't set
5262 comment-indent-function globally.
5263
52642013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5265
5266 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5267 Move Info menu item creation to ns-win.el.
5268
5269 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5270 in menu bar.
5271
5272 * menu-bar.el: Move GNUstep specific menus...
5273
5274 * term/ns-win.el (ns-initialize-window-system): ... to here.
5275
52762013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * simple.el (newline): Only run post-self-insert-hook when
5279 called interactively.
5280
52812013-10-19 Johan Bockgård <bojohan@gnu.org>
5282
5283 * icomplete.el (icomplete-with-completion-tables): Add :version.
5284
52852013-10-19 Alan Mackenzie <acm@muc.de>
5286
5287 Fix fontification bugs with constructors and const.
5288
5289 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5290 CASE 2) Remove the check for the absence of a suffix construct
5291 after a function declaration with only types (no identifiers) in
5292 the parentheses. Also, accept a function declaration with just a
5293 type inside the parentheses, if this type can be positively
5294 recognised as such, or if a prefix keyword like "explicit" nails
5295 down the construct as a declaration.
5296
52972013-10-19 Eli Zaretskii <eliz@gnu.org>
5298
5299 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5300 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5301 the problem whereby selecting a menu item that leads to a
5302 minibuffer prompt moves the cursor out of the minibuffer window,
5303 making it hard to type at the prompt. Suggested by Stefan Monnier
5304 <monnier@iro.umontreal.ca>.
5305
53062013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5307
5308 * menu-bar.el: Don't make Services menu.
5309
53102013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5311
5312 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5313 (ffap-alist): Use ffap-c++-mode for c++-mode.
5314 (ffap-c++-path): New variable.
5315 (ffap-c++-mode): New function.
5316
53172013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5318
5319 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5320
53212013-10-18 Michael Albinus <michael.albinus@gmx.de>
5322
5323 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5324 introduced on 2013-09-08, which results in an infinite loop
5325 requesting a password.
5326
53272013-10-18 Glenn Morris <rgm@gnu.org>
5328
5329 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5330
53312013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5332
5333 Sync with upstream verilog-mode revision 1a6ecec7.
5334 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5335 (verilog-mode-release-date): Remove.
5336 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5337 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5338 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5339 (verilog-auto-tieoff-ignore-regexp)
5340 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5341 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5342 (verilog-signals-with, verilog-dir-cache-preserving)
5343 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5344 Doc fixes.
5345 (verilog-case-fold): New option, to control case folding in
5346 regexp searches, bug597.
5347 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5348 (verilog-string-match-fold, verilog-in-paren-count)
5349 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5350 (verilog-at-close-struct-p): New functions.
5351 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5352 (verilog-forward-sexp, verilog-set-auto-endcomments)
5353 (verilog-leap-to-case-head): Handle "unique0" case.
5354 (verilog-in-constraint-re): New constant.
5355 (verilog-keywords, verilog-type-font-keywords):
5356 Add some SystemVerilog 1800-2012 keywords.
5357 (verilog-label-be): Remove unimplemented argument, bug669.
5358 (verilog-batch-execute-func): When batch expanding clear
5359 create-lockfiles to prevent spurious user locks when a file ends
5360 up not changing.
5361 (verilog-calculate-indent, verilog-calc-1)
5362 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5363 (verilog-do-indent): Fix indentation of nested constraints
5364 and structures.
5365 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5366 (verilog-auto-inst-param): Use verilog-string-match-fold.
5367 (verilog-read-inst-module-matcher):
5368 Fix AUTOINST on gate primitives with #1.
5369 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5370 Reads all user-defined typed variables.
5371 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5372 (verilog-signals-matching-regexp)
5373 (verilog-signals-not-matching-regexp, verilog-auto):
5374 Respect verilog-case-fold.
5375 (verilog-diff-report): Fix line count.
5376 (verilog-auto-assign-modport): Remove unused local `modi'.
5377 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5378 better handle multidimensional arrays.
5379 Fix packed array ports misadding bit index in AUTOINST, bug637.
5380 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5381 to not double-declare existing outputs and inputs, respectively.
5382 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5383 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5384 (verilog-sk-uvm-component): New skeleton.
5385 (verilog-submit-bug-report): Add verilog-case-fold,
5386 remove verilog-mode-release-date.
5387
53882013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5389
5390 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5391 as before.
5392
53932013-10-18 Reuben Thomas <rrt@sc3d.org>
5394
5395 * textmodes/remember.el (remember): Set buffer-offer-save in
5396 remember buffers (bug#13566).
5397
53982013-10-18 Daniel Colascione <dancol@dancol.org>
5399
5400 When evaluating forms in ielm, direct standard output to ielm
5401 buffer. Add new ielm-return-for-effect command. Remove trailing
5402 whitespace throughout.
5403
5404 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5405 (ielm-return-for-effect): New command.
5406 (ielm-send-input): Accept optional `for-effect' parameter.
5407 (ielm-eval-input): Accept optional `for-effect' parameter.
5408 Bind `standard-output' to stream we create using
5409 `ielm-standard-output-impl'. Suppress printing result when
5410 `for-effect'.
5411 (ielm-standard-output-impl): New function.
5412 (inferior-emacs-lisp-mode): Explain new features in documentation.
5413
54142013-10-17 Michael Albinus <michael.albinus@gmx.de>
5415
5416 Code cleanup.
5417
5418 * net/tramp.el (tramp-debug-message): Do not check for connection
5419 buffer.
5420 (tramp-message): Use "vector" connection property.
5421
5422 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5423 (tramp-equal-remote, tramp-eshell-directory-change)
5424 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5425 (tramp-adb-handle-rename-file)
5426 * net/tramp-cmds.el (tramp-list-remote-buffers)
5427 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5428 * net/tramp-compat.el (tramp-compat-process-running-p)
5429 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5430 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5431 (tramp-gvfs-handle-rename-file)
5432 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5433 (tramp-set-file-uid-gid)
5434 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5435 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5436 of `file-remote-p'.
5437
5438 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5439 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5440 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5441 (tramp-gw-open-network-stream): Suppress unrelated traces.
5442
5443 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5444 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5445 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5446 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5447 connection property.
5448
5449 * net/tramp-cache.el (top): Suppress traces when reading
5450 persistency file.
5451
5452 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5453 Refactor common code. Improve debug message.
5454 (tramp-maybe-open-connection)
5455 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5456 connection buffer too early.
5457
5458 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5459 from `tramp-smb-actions-with-acl'.
5460 (tramp-smb-actions-set-acl): New defconst.
5461 (tramp-smb-handle-copy-directory)
5462 (tramp-smb-action-get-acl): New defun, renamed from
5463 `tramp-smb-action-with-acl'.
5464 (tramp-smb-action-set-acl): New defun.
5465 (tramp-smb-handle-set-file-acl): Rewrite.
5466
54672013-10-17 Glenn Morris <rgm@gnu.org>
5468
5469 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5470
54712013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5472
5473 * skeleton.el (skeleton-newline): Remove.
5474 (skeleton-internal-1): Use (insert "\n") instead.
5475
5476 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5477 let-bindings.
5478
5479 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5480 forward-sexp-function while we redo its job (bug#15613).
5481
54822013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5483
5484 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5485 represented by lists.
5486
54872013-10-16 Glenn Morris <rgm@gnu.org>
5488
5489 * tmm.el (tmm--history): New dynamic variable.
5490 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5491
54922013-10-16 Michael Albinus <michael.albinus@gmx.de>
5493
5494 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5495 (tramp-smb-errors): Add error messages.
5496 (tramp-smb-actions-with-acl): New defconst.
5497 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5498 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5499 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5500 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5501 (tramp-smb-get-stat-capability): Fix tests.
5502
55032013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5504
5505 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5506 (bug#15580).
5507
55082013-10-16 Glenn Morris <rgm@gnu.org>
5509
5510 * ansi-color.el (ansi-color-drop-regexp):
5511 Add 1J, 1K, 2K. (Bug#15617)
5512
5513 * files.el (hack-local-variables--warned-lexical): New.
5514 (hack-local-variables):
5515 Warn about misplaced lexical-binding. (Bug#15616)
5516
5517 * net/eww.el (eww-render): Always set eww-current-url,
5518 and update header line. (Bug#15622)
5519 (eww-display-html): ... Rather than just doing it here.
5520
55212013-10-15 Eli Zaretskii <eliz@gnu.org>
5522
5523 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5524 menu navigations commands.
5525
55262013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5527
5528 * progmodes/subword.el (subword-capitalize): Be careful when
5529 the search for [[:alpha:]] fails (bug#15580).
5530
55312013-10-14 Eli Zaretskii <eliz@gnu.org>
5532
5533 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5534 to commands that scroll the menu.
5535
55362013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5537
5538 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5539 Handle methods ending with `?' and `!'.
5540
55412013-10-14 Akinori MUSHA <knu@iDaemons.org>
5542
5543 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5544 `japanese-cp932' to `cp932' to fix the problem where saving a
5545 source file written in Shift_JIS twice would end up having
5546 `coding: japanese-cp932' which Ruby could not recognize.
5547 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5548 in `ruby-encoding-map'.
5549 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5550 doesn't need to be explicitly declared in magic comment.
5551 (ruby-encoding-map): Add type declaration for better customize UI.
5552
55532013-10-13 Glenn Morris <rgm@gnu.org>
5554
5555 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5556 Occur buffers are read-only. http://bugs.debian.org/720775
5557
5558 * emacs-lisp/authors.el (authors-fixed-entries):
5559 Comment out old alpha stuff.
5560
55612013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5562
5563 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5564 to `after-save-hook' instead of `before-save-hook'.
5565 (ruby-mode-set-encoding): Use the value of coding system used to
5566 write the file. Call `basic-save-buffer-1' after modifying the
5567 buffer.
5568
55692013-10-13 Alan Mackenzie <acm@muc.de>
5570
5571 Fix indentation/fontification of Java enum with
5572 "implements"/generic.
5573
5574 * progmodes/cc-engine.el (c-backward-over-enum-header):
5575 Extracted from the three other places and enhanced to handle generics.
5576 (c-inside-bracelist-p): Uses new function above.
5577 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5578 function above.
5579 (c-font-lock-enum-tail): Uses new function above.
5580
55812013-10-13 Kenichi Handa <handa@gnu.org>
5582
5583 * international/mule-cmds.el (select-safe-coding-system): Remove a
5584 superfluous condition in chekcing whether a coding system is safe
5585 or not.
5586
55872013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5588
5589 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5590
55912013-10-13 Andreas Politz <politza@hochschule-trier.de>
5592
5593 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5594
55952013-10-13 Glenn Morris <rgm@gnu.org>
5596
5597 * menu-bar.el (menu-bar-update-buffers):
5598 Unify Buffers menu prompt string. (Bug#15576)
5599
5600 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5601
5602 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5603 Add some entries.
5604 (authors-fixed-entries): Use accented form of name.
5605
56062013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5607
5608 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5609 method calls (bug#15594).
5610 (ruby-smie--args-separator-p): New function.
5611 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5612 recognize paren-free method calls.
5613
5614 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5615 internals of universal-argument.
5616
56172013-10-11 Eli Zaretskii <eliz@gnu.org>
5618
5619 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5620 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5621 dropped menu on second mouse click on the menu bar.
5622
56232013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5626 (explicit-shell-file-name): Declare.
5627 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5628 (sh-completion-at-point-function): New function.
5629 (sh-mode): Use it.
5630 (sh-smie--keyword-p): Remove unused argument.
5631 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5632 vars.
5633 (sh-set-shell): Always setup SMIE, even if we use the
5634 old indentation code.
5635
56362013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5637
5638 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5639 cases of ? and =.
5640 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5641 predicate would return nil are almost non-existent.
5642 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5643
5644 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5645 cache also after commands that modify the buffer but don't move
5646 point.
5647
56482013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5649
5650 * env.el (substitute-env-in-file-name): New function.
5651 (substitute-env-vars): Extend the meaning of the optional arg.
5652
56532013-10-10 Eli Zaretskii <eliz@gnu.org>
5654
5655 * term/w32-win.el (dynamic-library-alist): Define separate lists
5656 of GIF DLLs for versions before and after 5.0.0 of giflib.
5657 (Bug#15531)
5658
56592013-10-10 João Távora <joaotavora@gmail.com>
5660
5661 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5662 not locked, use last revision and current source as
5663 defaults. (Bug#15569)
5664
56652013-10-10 Masatake YAMATO <yamato@redhat.com>
5666
5667 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5668 menu-bar is hidden.
5669
56702013-10-10 Martin Rudalics <rudalics@gmx.at>
5671
5672 * window.el (pop-to-buffer-same-window): Fix doc-string.
5673 (Bug#15492)
5674
56752013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5678
56792013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5680
5681 * calendar/icalendar.el (icalendar-import-file):
5682 Fix interactive spec. (Bug#15482)
5683
56842013-10-10 Glenn Morris <rgm@gnu.org>
5685
5686 * desktop.el (desktop-save): Default to saving in .emacs.d,
5687 since PWD is no longer in desktop-path by default. (Bug#15319)
5688
5689 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5690 now that text mode has a menu with the same entry.
5691 (menu-bar-text-mode-auto-fill): Remove now unused func.
5692 * textmodes/text-mode.el (text-mode-map):
5693 Use auto-fill help text from menu-bar.el.
5694
56952013-10-10 John Anthony <john@jo.hnanthony.com>
5696
5697 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5698
56992013-10-09 Juri Linkov <juri@jurta.org>
5700
5701 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5702 instead of this-command-keys. Add universal-argument-more and
5703 universal-argument-minus to the list of prefix commands. (Bug#15568)
5704
57052013-10-09 Glenn Morris <rgm@gnu.org>
5706
5707 * vc/vc-svn.el (vc-svn-create-repo):
5708 Expand paths in file://... url. (Bug#15446)
5709
5710 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5711 Add some entries.
5712 (authors): Remove unused local variables.
5713
57142013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5715
5716 * profiler.el: Create a more coherent calltree from partial backtraces.
5717 (profiler-format): Hide the tail with `invisible' so that C-s can still
5718 find the hidden elements.
5719 (profiler-calltree-depth): Don't recurse so enthusiastically.
5720 (profiler-function-equal): New hash-table-test.
5721 (profiler-calltree-build-unified): New function.
5722 (profiler-calltree-build): Use it.
5723 (profiler-report-make-name-part): Indent the calltree less.
5724 (profiler-report-mode): Add visibility specs for profiler-format.
5725 (profiler-report-expand-entry, profiler-report-toggle-entry):
5726 Expand the whole subtree when provided with a prefix arg.
5727
57282013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5729
5730 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5731 iuwu-mod token.
5732 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5733 hanging iuwu-mod token.
5734 (ruby-smie--forward-token): Do not include a dot after a token in
5735 that token.
5736 (ruby-smie--backward-token): Likewise.
5737
57382013-10-08 Juri Linkov <juri@jurta.org>
5739
5740 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5741 to isearch-other-control-char.
5742 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5743 and isearch-post-command-hook to post-command-hook.
5744 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5745 and isearch-post-command-hook from post-command-hook.
5746 (isearch-unread-key-sequence)
5747 (isearch-reread-key-sequence-naturally)
5748 (isearch-lookup-scroll-key, isearch-other-control-char)
5749 (isearch-other-meta-char): Remove functions.
5750 (isearch-pre-command-hook, isearch-post-command-hook):
5751 New functions based on isearch-other-meta-char rewritten
5752 relying on the new behavior of overriding-terminal-local-map
5753 that does not replace the local keymaps any more. (Bug#15200)
5754
57552013-10-08 Eli Zaretskii <eliz@gnu.org>
5756
5757 Support menus on text-mode terminals.
5758 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5759 functionality.
5760
5761 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5762
5763 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5764 Move here from mouse.el.
5765 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5766 and arrow keys.
5767 (tty-menu-navigation-map): New map for TTY menu navigation.
5768
5769 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5770
5771 * frame.el (display-mouse-p): Report text-mode mouse as available
5772 on w32.
5773 (display-popup-menus-p): Report availability if mouse is
5774 available; don't condition on window-system.
5775
5776 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5777 (tty-menu-selected-face): New faces.
5778
57792013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5782 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5783 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5784 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5785 New constants.
5786 (lisp-mode-variables): New `elisp' argument.
5787 (emacs-lisp-mode): Use it.
5788 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5789 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5790
5791 * indent.el: Use lexical-binding.
5792 (indent-region): Add progress reporter.
5793 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5794 last step.
5795 (indent--next-tab-stop): New function to implement this behavior.
5796 (tab-to-tab-stop, move-to-tab-stop): Use it.
5797
57982013-10-08 Teemu Likonen <tlikonen@iki.fi>
5799
5800 * indent.el (indent-rigidly--current-indentation): New function.
5801 (indent-rigidly-map): New var.
5802 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5803
58042013-10-08 Bastien Guerry <bzg@gnu.org>
5805
5806 * register.el (insert-register): Fix 2013-10-07 change.
5807
58082013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * progmodes/perl-mode.el: Use lexical-binding.
5811 Remove redundant :group args.
5812 (perl-nochange): Change default to be closer to other major modes's
5813 standard behavior.
5814 (perl-indent-line): Don't consider text on current line as a
5815 valid beginning of function from which to indent.
5816
5817 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5818 with more than one argument (bug#15538).
5819
5820 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5821
5822 * vc/pcvs.el: Use lexical-binding.
5823 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5824 environment of `eval'.
5825 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5826 than a list of expressions. Adjust callers.
5827 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5828
58292013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5830
5831 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5832 case of the dot in a chained method call being on the following line.
5833
58342013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * electric.el (electric-indent-inhibit): New var.
5837 (electric-indent-post-self-insert-function): Use it.
5838 * progmodes/python.el (python-mode): Set it.
5839
5840 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5841 open braces.
5842
5843 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5844
5845 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5846 (css-mode): Use electric-indent-chars.
5847
5848 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5849 (font-lock-beg, font-lock-end): Move before first use.
5850 (nxml-mode): Use syntax-propertize-function.
5851 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5852 (nxml-extend-after-change-region): Remove.
5853 * nxml/xmltok.el: Use lexical-binding.
5854 (xmltok-save): Use `declare'.
5855 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5856 * nxml/nxml-util.el: Use lexical-binding.
5857 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5858 Use `declare'.
5859 * nxml/nxml-ns.el: Use lexical-binding.
5860 (nxml-ns-save): Use `declare'.
5861 (nxml-ns-prefixes-for): Avoid add-to-list.
5862 * nxml/rng-match.el: Use lexical-binding.
5863 (rng--ipattern): Use cl-defstruct.
5864 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5865 (rng-cons-group-after, rng-subst-group-after)
5866 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5867 Use closures instead of `(lambda...).
5868
58692013-10-07 Michael Albinus <michael.albinus@gmx.de>
5870
5871 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5872 of BEG and END.
5873
5874 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5875 Use `tramp-handle-insert-file-contents'.
5876 (tramp-gvfs-handle-insert-file-contents): Remove function.
5877
5878 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5879 Use `save-restriction' in order to keep markers.
5880
5881 * net/trampver.el: Update release number.
5882
58832013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5884
5885 * progmodes/compile.el (compilation-parse-errors):
5886 Use compilation--put-prop.
5887 (compilation--ensure-parse): Check compilation-multiline.
5888
5889 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5890
5891 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5892 lexical-binding.
5893
5894 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5895
5896 * progmodes/ruby-mode.el: Fix recently added tests.
5897 (ruby-smie-grammar): Add - and +.
5898 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5899 (ruby-smie--backward-id): New functions.
5900 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5901 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5902 any more.
5903
59042013-10-07 Leo Liu <sdl.web@gmail.com>
5905
5906 * register.el (register-preview-delay)
5907 (register-preview-functions): New variables.
5908 (register-read-with-preview, register-preview)
5909 (register-describe-oneline): New functions.
5910 (point-to-register, window-configuration-to-register)
5911 (frame-configuration-to-register, jump-to-register)
5912 (number-to-register, view-register, insert-register)
5913 (copy-to-register, append-to-register, prepend-to-register)
5914 (copy-rectangle-to-register): Use register-read-with-preview to
5915 read register. (Bug#15525)
5916
59172013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5918
5919 * net/network-stream.el (network-stream-open-starttls): Don't add
5920 --insecure if it's already present, because that gnutls-cli
5921 rejects getting that parameter twice.
5922
59232013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5924
5925 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5926 keyword, too.
5927
59282013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5929
5930 * newcomment.el (comment-use-global-state): Change default value
5931 to t, mark obsolete (Bug#15251).
5932 (comment-beginning): In addition to `comment-to-syntax', check the
5933 value of `comment-use-global-state'.
5934
59352013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5938 (ruby-comment-column): Follow the global default, by default.
5939 (ruby-smie-grammar): Add assignment syntax.
5940 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5941 open-paren, a comma, or a \.
5942 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5943 and line continuations.
5944 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5945 followed by implicit semi-colons. Add rule for string concatenation
5946 and for indentation at BOB.
5947 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
5948
5949 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5950 calling next-sexp, since next-token may have skipped chars which
5951 next-sexp doesn't know should be skipped!
5952
59532013-10-05 Leo Liu <sdl.web@gmail.com>
5954
5955 * progmodes/octave.el (octave-send-region):
5956 Call compilation-forget-errors.
5957
59582013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5959
5960 * vc/vc-svn.el (vc-svn-find-admin-dir):
5961 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5962 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5963 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5964 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5965
59662013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5969
59702013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * subr.el (read-passwd): Hide chars even when called within a context
5973 where after-change-functions is disabled (bug#15501).
5974 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5975 until we removed ourself from overriding-terminal-local-map.
5976
59772013-10-04 Leo Liu <sdl.web@gmail.com>
5978
5979 * progmodes/octave.el (inferior-octave-mode):
5980 Call compilation-forget-errors.
5981
59822013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5983
5984 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5985
59862013-10-04 Michael Albinus <michael.albinus@gmx.de>
5987
5988 * net/secrets.el (secrets-create-collection): Add optional
5989 argument ALIAS. Use proper Label keyword. Append ALIAS as
5990 dbus-call-method argument. (Bug#15516)
5991
59922013-10-04 Leo Liu <sdl.web@gmail.com>
5993
5994 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5995 (inferior-octave-compilation-font-lock-keywords): New variables.
5996 (compilation-error-regexp-alist)
5997 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5998 (inferior-octave-mode): Use compilation-shell-minor-mode.
5999
60002013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6001
6002 * minibuffer.el (completion--replace): Be careful that `end' might be
6003 a marker.
6004
60052013-10-03 Daiki Ueno <ueno@gnu.org>
6006
6007 Add support for package signature checking.
6008 * emacs-lisp/package.el (url-http-file-exists-p)
6009 (epg-make-context, epg-context-set-home-directory)
6010 (epg-verify-string, epg-context-result-for)
6011 (epg-signature-status, epg-signature-to-string)
6012 (epg-check-configuration, epg-configuration)
6013 (epg-import-keys-from-file): Declare.
6014 (package-check-signature): New user option.
6015 (package-unsigned-archives): New user option.
6016 (package-desc): Add `signed' field.
6017 (package-load-descriptor): Set `signed' field if .signed file exists.
6018 (package--archive-file-exists-p): New function.
6019 (package--check-signature): New function.
6020 (package-install-from-archive): Check package signature.
6021 (package--download-one-archive): Check archive signature.
6022 (package-delete): Remove .signed file.
6023 (package-import-keyring): New command.
6024 (package-refresh-contents): Import default keyring.
6025 (package-desc-status): Add "unsigned" status.
6026 (describe-package-1, package-menu--print-info)
6027 (package-menu-mark-delete, package-menu--find-upgrades)
6028 (package-menu--status-predicate): Support "unsigned" status.
6029
60302013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6031
6032 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6033 the new compilation scheme using the new byte-codes.
6034
6035 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6036 (byte-pophandler): New byte codes.
6037 (byte-goto-ops): Adjust accordingly.
6038 (byte-compile--use-old-handlers): New var.
6039 (byte-compile-catch): Use new byte codes depending on
6040 byte-compile--use-old-handlers.
6041 (byte-compile-condition-case--old): Rename from
6042 byte-compile-condition-case.
6043 (byte-compile-condition-case--new): New function.
6044 (byte-compile-condition-case): New function that dispatches depending
6045 on byte-compile--use-old-handlers.
6046 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6047 when we can.
6048
6049 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6050 Optimize under `condition-case' and `catch' if
6051 byte-compile--use-old-handlers is nil.
6052 (disassemble-offset): Handle new bytecodes.
6053
60542013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * subr.el (error): Use `declare'.
6057 (decode-char, encode-char): Use advertised-calling-convention instead
6058 of the docstring to discourage use of the `restriction' arg.
6059
60602013-10-03 Daiki Ueno <ueno@gnu.org>
6061
6062 * epg.el (epg-verify-file): Add a comment saying that it does not
6063 notify verification error as a return value nor a signal.
6064 (epg-verify-string): Ditto.
6065
60662013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6067
6068 * progmodes/compile.el (compilation-start): Try globbing the arg to
6069 `cd' (bug#15417).
6070
60712013-10-02 Michael Albinus <michael.albinus@gmx.de>
6072
6073 Sync with Tramp 2.2.8.
6074
6075 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6076 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6077 * net/trampver.el: Update release number.
6078
60792013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6080
6081 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6082 and default-process-coding-system for darwin only.
6083
60842013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6087
60882013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6089
6090 * vc/vc-git.el (vc-git-grep): Disable pager.
6091
60922013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6093
6094 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6095 Use :url instead of :homepage, as per
6096 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6097
6098 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6099 non-nil, use `syntax-ppss' (Bug#15251).
6100
61012013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6102
6103 * progmodes/octave.el (inferior-octave-startup-file):
6104 Prefer ~/.emacs.d/init_octave.m.
6105
61062013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6107
6108 * emacs-lisp/package.el (package-desc-from-define):
6109 Accept additional arguments as plist, convert them to an alist and store
6110 them in the `extras' slot.
6111 (package-generate-description-file): Convert extras alist back to
6112 plist and append to the `define-package' form arguments.
6113 (package--alist-to-plist): New function.
6114 (package--ac-desc): Add `extras' slot.
6115 (package--add-to-archive-contents): Check if the archive-contents
6116 vector is long enough, and if it is, pass its `extras' slot value
6117 to `package-desc-create'.
6118 (package-buffer-info): Call `lm-homepage', pass the returned value
6119 to `package-desc-from-define'.
6120 (describe-package-1): Render the homepage button (Bug#13291).
6121
6122 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6123 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6124
61252013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6126
6127 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6128 and default-process-coding-system to utf-8-unix (Bug#15402).
6129
61302013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6131
6132 * subr.el (looking-back): Do not recommend using looking-back.
6133
61342013-09-28 Alan Mackenzie <acm@muc.de>
6135
6136 Fix indentation/fontification of Java enum with "implements".
6137
6138 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6139 regexp which matches "implements", etc., in Java.
6140 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6141 specifier clauses coming after "enum".
6142 * progmodes/cc-fonts.el (c-font-lock-declarations)
6143 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6144 after "enum".
6145
61462013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6147
6148 * faces.el (region): Change ns_selection_color to
6149 ns_selection_fg_color, add ns_selection_bg_color.
6150
61512013-09-28 Leo Liu <sdl.web@gmail.com>
6152
6153 * progmodes/octave.el (inferior-octave-completion-table)
6154 (inferior-octave-completion-at-point): Minor tweaks.
6155
6156 * textmodes/ispell.el (ispell-lookup-words): Rename from
6157 lookup-words. (Bug#15460)
6158 (lookup-words): Obsolete.
6159 (ispell-complete-word, ispell-command-loop): All uses changed.
6160
61612013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6162
6163 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6164 (octave-mode-menu): Add octave-send-buffer.
6165 (octave-send-buffer): New function.
6166
61672013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6168
6169 * progmodes/octave.el (octave-mode-map): Add key binding for
6170 octave-lookfor.
6171 (octave-mode-menu): Add octave-lookfor.
6172 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6173 octave-lookfor.
6174 (octave-lookfor): New function.
6175
61762013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6179 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6180 its convention.
6181 (cl--loop-set-iterator-function): New function.
6182 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6183 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6184 Bind `it' with `let' instead of substituting it with `cl-subst'.
6185 (cl--unused-var-p): New function.
6186 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6187 Eliminate some unused variable warnings (bug#15326).
6188
61892013-09-27 Tassilo Horn <tsdh@gnu.org>
6190
6191 * doc-view.el (doc-view-scale-reset): Rename from
6192 `doc-view-reset-zoom-level'.
6193 (doc-view-scale-adjust): New command.
6194 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6195 `doc-view-scale-adjust'.
6196
61972013-09-26 Tassilo Horn <tsdh@gnu.org>
6198
6199 * doc-view.el (doc-view-reset-zoom-level): New command.
6200 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6201 zoom commands (bug#15466).
6202
62032013-09-26 Kenichi Handa <handa@gnu.org>
6204
6205 * international/quail.el (quail-help): Make it not a command.
6206
62072013-09-26 Leo Liu <sdl.web@gmail.com>
6208
6209 * minibuffer.el (completion-all-sorted-completions): Make args
6210 optional as they are.
6211
62122013-09-25 Daniel Colascione <dancol@dancol.org>
6213
6214 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6215 specs are and that they're not evaluated.
6216
62172013-09-24 Sam Steingold <sds@gnu.org>
6218
6219 * midnight.el (clean-buffer-list-kill-regexps)
6220 (clean-buffer-list-kill-buffer-names): Update for the new Man
6221 buffer naming which includes the object name.
6222
62232013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6226 (eshell-parse-command, eshell-parse-pipeline): Use it since
6227 eshell-separate-commands requires a dynamic scoped var.
6228 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6229
62302013-09-23 Leo Liu <sdl.web@gmail.com>
6231
6232 * autoinsert.el (auto-insert-alist): Make the value of
6233 lexical-binding match its file setting.
6234
62352013-09-23 Juanma Barranquero <lekktu@gmail.com>
6236
6237 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6238
6239 * autoarg.el (autoarg-kp-digit-argument):
6240 * electric.el (Electric-command-loop):
6241 * kmacro.el (kmacro-step-edit-insert):
6242 Do not set universal-argument-num-events.
6243
62442013-09-22 Leo Liu <sdl.web@gmail.com>
6245
6246 * files.el (interpreter-mode-alist): Add octave.
6247
62482013-09-21 Alan Mackenzie <acm@muc.de>
6249
6250 C++: fontify identifier in declaration following "public:" correctly.
6251 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6252 to match "public", etc.
6253 (c-decl-prefix-re): Add ":" into the C++ value.
6254 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6255 bit. Add a check for a ":" preceded by "public", etc.
6256
62572013-09-21 Eli Zaretskii <eliz@gnu.org>
6258
6259 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6260 recognized by GDB 7.5 and later.
6261
62622013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6263
6264 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6265
62662013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * subr.el (internal--call-interactively): New const.
6269 (called-interactively-p): Use it (bug#3984).
6270
62712013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6272
6273 * vc/pcvs.el (cvs-mode-ignore):
6274 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6275 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6276
62772013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6278
6279 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6280 (eshell-ls-orig-insert-directory): Remove.
6281 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6282 (eshell-ls-use-in-dired): Use advice-add/remove.
6283 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6284 Add `orig-fun' arg for use in :around advice.
6285 Make it check (redundantly) eshell-ls-use-in-dired.
6286
62872013-09-19 Glenn Morris <rgm@gnu.org>
6288
6289 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6290
6291 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6292
6293 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6294
62952013-09-19 Michael Albinus <michael.albinus@gmx.de>
6296
6297 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6298 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6299 (tramp-get-remote-python): New defuns.
6300 (tramp-get-remote-uid-with-perl)
6301 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6302 contributed by yary <not.com@gmail.com> (tiny change).
6303 (tramp-get-remote-uid-with-python)
6304 (tramp-get-remote-gid-with-python): New defuns. Python code
6305 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6306 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6307
63082013-09-19 Glenn Morris <rgm@gnu.org>
6309
6310 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6311
6312 * eshell/em-unix.el (eshell-remove-entries):
6313 Rename argument to avoid name-clash with global `top-level'.
6314
6315 * eshell/esh-proc.el (eshell-kill-process-function):
6316 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6317 (eshell-reset-after-proc): Remove unused arg `proc'.
6318
6319 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6320 (directory-files-and-attributes): Mark unused arg.
6321
6322 * eshell/em-unix.el (eshell-remove-entries):
6323 Remove unused arg `path'. Update callers.
6324
6325 * eshell/em-hist.el (eshell-hist-parse-arguments):
6326 Remove unused arg `silent'. Update callers.
6327
6328 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6329 Fix (f)boundp mix-up.
6330
6331 * eshell/em-smart.el (eshell-smart-scroll-window)
6332 (eshell-disable-after-change):
6333 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6334
63352013-09-18 Alan Mackenzie <acm@muc.de>
6336
6337 Fix fontification of type when followed by "const".
6338 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6339 "known" types from fontification.
6340
63412013-09-18 Glenn Morris <rgm@gnu.org>
6342
6343 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6344 (chart-face-list): Drop Emacsen without display-color-p.
6345
6346 * net/eww.el (libxml-parse-html-region): Declare.
6347 (eww-display-html): Explicit error if no libxml2 support.
6348
6349 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6350
6351 * image.el (image-type-from-buffer, image-multi-frame-p):
6352 Remove --without-x warning/error.
6353
6354 * mouse.el (mouse-yank-primary):
6355 * term.el (term-mouse-paste):
6356 Reorder to silence --without-x compilation.
6357
6358 * mpc.el (doc-view-mode): Silence --without-x compilation.
6359
6360 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6361 Silence --without-x compilation.
6362
6363 * progmodes/gud.el (gud-find-file, gud-mode):
6364 Silence --without-x compilation.
6365 (tooltip-mode): Declare.
6366
6367 * wdired.el (dired-backup-overwrite): Remove declaration.
6368 (wdired-mode-map): Add doc string.
6369
6370 * custom.el (x-get-resource): Declare.
6371
6372 * eshell/em-glob.el (ange-cache):
6373 * eshell/em-unix.el (ange-cache): Declare.
6374
6375 * faces.el (x-display-list, x-open-connection, x-get-resource):
6376 Declare.
6377
6378 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6379 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6380 Declare.
6381
6382 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6383
6384 * net/gnutls.el (gnutls-log-level): Declare.
6385
6386 * net/shr.el (image-size, image-animate): Declare.
6387
6388 * simple.el (font-info): Declare.
6389
6390 * subr.el (x-popup-dialog): Declare.
6391
6392 * term/common-win.el (x-select-enable-primary)
6393 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6394 Declare.
6395
6396 * term/ns-win.el (x-handle-args): Declare.
6397
6398 * term/x-win.el (x-select-enable-clipboard): Declare.
6399
6400 * term/w32-win.el (create-default-fontset): Declare.
6401
6402 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6403 Declare.
6404
6405 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6406 (fit-frame-to-buffer): Explicit error if --without-x.
6407 (mouse-autoselect-window-select): Silence compiler.
6408
6409 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6410
6411 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6412 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6413 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6414 * eshell/esh-util.el (eshell-sublist):
6415 Remove unused local variables.
6416
6417 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6418
6419 * textmodes/two-column.el: Make 2C-split work for --without-x.
6420 (scroll-bar-columns): Autoload.
6421 (top-level): Require fringe when compiling.
6422
64232013-09-18 Leo Liu <sdl.web@gmail.com>
6424
6425 * subr.el (add-hook): Robustify to handle closure as well.
6426
64272013-09-17 Glenn Morris <rgm@gnu.org>
6428
6429 * simple.el (messages-buffer-mode-map): Unbind "g".
6430
64312013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * help-mode.el (help-mode-finish): Use derived-mode-p.
6434 Remove obsolete highlighting.
6435
6436 * play/life.el (life-mode): Use define-derived-mode. Derive from
6437 special-mode.
6438 (life): Let-bind inhibit-read-only.
6439 (life-setup): Avoid `setq'. Use `life-mode'.
6440
6441 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6442 which should not be needed any more.
6443 (package-menu-refresh, package-menu-describe-package): Use user-error.
6444
6445 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6446 (eshell-post-rewrite-command-hook): Make obsolete.
6447 (eshell-parse-command): Simplify.
6448 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6449 (eshell--cmd): Declare.
6450 (eshell-parse-pipeline): Remove unused var `final-p'.
6451 Pass a dynvar to eshell-post-rewrite-command-hook.
6452 Implement the new eshell-post-rewrite-command-function.
6453 (eshell-invoke-directly): Remove unused arg `input'.
6454 * eshell/esh-io.el (eshell-io-initialize):
6455 Use eshell-post-rewrite-command-function (bug#15399).
6456 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6457 adjust to new calling convention.
6458 (eshell-create-handles): Rename args to avoid clashing with dynvar
6459 `standard-output'.
6460
64612013-09-17 Glenn Morris <rgm@gnu.org>
6462
6463 * simple.el (messages-buffer-mode): New major mode.
6464 (messages-buffer): New function.
6465 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6466 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6467 (ert-run-test): Use `messages-buffer' function.
6468 (ert--force-message-log-buffer-truncation): Ignore read-only.
6469 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6470 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6471
64722013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6475
6476 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6477
64782013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * icomplete.el (icomplete-in-buffer): New var.
6481 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6482 vars and replace them with functions.
6483 (icomplete-minibuffer-setup): Adjust accordingly.
6484 (icomplete--completion-table, icomplete--completion-predicate)
6485 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6486 New functions.
6487 (icomplete-forward-completions, icomplete-backward-completions)
6488 (icomplete-simple-completing-p, icomplete-exhibit)
6489 (icomplete-completions): Use them.
6490 (icomplete--in-region-buffer): New var.
6491 (icomplete--in-region-setup): New function.
6492 (icomplete-mode): Use it.
6493
6494 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6495 (bug#15379).
6496 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6497 return args and options.
6498 (eshell-eval-using-options): Use the new return value of
6499 eshell--do-opts to set the options's vars in their scope.
6500 (eshell--set-option): Rename from eshell-set-option.
6501 Add arg `opt-vals'.
6502 (eshell--process-option): Rename from eshell-process-option.
6503 Add arg `opt-vals'.
6504 (eshell--process-args): Use an `opt-vals' alist to store the options's
6505 values during their processing and return them additionally to the
6506 remaining args.
6507
65082013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6509
6510 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6511 continuation character an operator, as far as indentation is
6512 concerned (Bug#15369).
6513
65142013-09-15 Martin Rudalics <rudalics@gmx.at>
6515
6516 * window.el (window--state-put-2): Don't process buffer state
6517 when buffer doesn't exist any more (Bug#15382).
6518
65192013-09-15 Glenn Morris <rgm@gnu.org>
6520
6521 * eshell/em-unix.el (eshell/rm):
6522 Make -f ignore missing files. (Bug#15373)
6523
6524 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6525 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6526 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6527
65282013-09-14 Glenn Morris <rgm@gnu.org>
6529
6530 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6531
65322013-09-13 Glenn Morris <rgm@gnu.org>
6533
6534 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6535 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6536
65372013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6538
6539 * frame.el (x-focus-frame): Mark as declared in frame.c.
6540
65412013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * ls-lisp.el: Use advice-add.
6544 (original-insert-directory): Remove.
6545 (ls-lisp--insert-directory): Rename from insert-directory; add
6546 `orig-fun' argument.
6547 (insert-directory): Advise.
6548
65492013-09-13 Eli Zaretskii <eliz@gnu.org>
6550
6551 * term.el (term-emulate-terminal): Decode the command string
6552 before passing it to term-command-hook. (Bug#15337)
6553
65542013-09-13 Glenn Morris <rgm@gnu.org>
6555
6556 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6557
6558 * eshell/esh-ext.el (eshell-search-path): Declare.
6559
6560 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6561 Otherwise an error occurs if eshell-dirs module not loaded.
6562
6563 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6564
65652013-09-13 Michael Albinus <michael.albinus@gmx.de>
6566
6567 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6568 `tramp-check-proper-host'. Check for a valid method name.
6569
6570 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6571 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6572 * net/tramp-sh.el (tramp-maybe-open-connection):
6573 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6574
6575 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6576 also for hash values.
6577
65782013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6579
6580 * term/ns-win.el (parameters): Don't declare as dynamic.
6581 (before-make-frame-hook): Don't add ineffective function.
6582
6583 * eshell/*.el: Use lexical-binding (bug#15231).
6584
65852013-09-12 Kenichi Handa <handa@gnu.org>
6586
6587 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6588
65892013-09-12 Glenn Morris <rgm@gnu.org>
6590
6591 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6592 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6593
6594 * subr.el (do-after-load-evaluation): Also give compiler warnings
6595 when obsolete files are used (except by obsolete files).
6596
6597 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6598 in the status output, assume `filename' is the first. (Bug#15322)
6599
6600 * vc/vc.el (vc-deduce-fileset): Doc fix.
6601
6602 * calc/calc-help.el (Info-goto-node):
6603 * progmodes/cperl-mode.el (Info-find-node):
6604 * vc/ediff.el (Info-goto-node): Update declarations.
6605
6606 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6607
6608 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6609 (vc-bzr-pull): Require vc-dispatcher.
6610 * vc/vc-git.el (vc-compilation-mode): Declare.
6611 (vc-git-pull): Require vc-dispatcher.
6612
6613 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6614
6615 * progmodes/octave.el (help-button-action): Declare.
6616
6617 * shell.el (shell-directory-tracker): Output error as a message
6618 rather than just returning it as a string.
6619 (shell-process-pushd): Remove useless use of message.
6620
6621 * dframe.el (dframe-timer-fn):
6622 * files.el (dir-locals-read-from-file):
6623 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6624 (mpc-format):
6625 * reveal.el (reveal-post-command):
6626 * saveplace.el (load-save-place-alist-from-file):
6627 * shell.el (shell-resync-dirs):
6628 * w32-common-fns.el (x-get-selection-value):
6629 * emacs-lisp/copyright.el (copyright-find-copyright):
6630 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6631 * emulation/tpu-edt.el (tpu-copy-keyfile):
6632 * play/bubbles.el (bubbles--mark-neighbourhood):
6633 * progmodes/executable.el
6634 (executable-make-buffer-file-executable-if-script-p):
6635 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6636
66372013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 Cleanup Eshell to rely less on dynamic scoping.
6640 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6641 last-value, and ext-command here. Bind `args' closer to `body'.
6642 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6643 (eshell--args): Declare new dynamic var.
6644 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6645 last-value, and ext-command. Pass `args' to `body'.
6646 (eshell-process-args): Bind eshell--args.
6647 (eshell-set-option): Use eshell--args.
6648 * eshell/eshell.el (eshell): Use derived-mode-p.
6649 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6650 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6651 (eshell-glob-function): Declare.
6652 * eshell/esh-util.el: Require cl-lib.
6653 (eshell-read-hosts-file): Avoid add-to-list.
6654 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6655 `err'.
6656 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6657 Declare.
6658 (eshell/diff): Remove unused var `err'.
6659 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6660 `killflag'.
6661 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6662 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6663 first use.
6664 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6665 Move declaration before first use.
6666 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6667 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6668 rely on cl-return.
6669
66702013-09-12 Glenn Morris <rgm@gnu.org>
6671
6672 * term/ns-win.el (global-map): Remove binding for ispell-next,
6673 deleted 1999-05-29. (Bug#15357)
6674
66752013-09-11 Glenn Morris <rgm@gnu.org>
6676
6677 * echistory.el (electric-command-history): Remove call to deleted func.
6678
6679 * play/landmark.el (landmark-mode): Fix typos.
6680
6681 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6682 Check cvs-sort-ignore-file is bound.
6683
6684 * savehist.el: No need for cl when compiling on Emacs.
6685
66862013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6689 (bug#15338).
6690 (eshell-self-insert-command, eshell-send-invisible):
6691 Remove unused argument.
6692 (eshell-handle-control-codes): Remove unused var `orig'.
6693 Avoid delete-backward-char.
6694
6695 * files.el (set-auto-mode): Simplify a bit further.
6696
66972013-09-11 Glenn Morris <rgm@gnu.org>
6698
6699 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6700 (set-auto-mode): Don't regexp-quote elements.
6701 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6702 * progmodes/cc-mode.el (interpreter-mode-alist):
6703 * progmodes/ruby-mode.el (interpreter-mode-alist):
6704 Revert previous change.
6705
67062013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * play/snake.el (snake-mode):
6709 * play/mpuz.el (mpuz-mode):
6710 * play/landmark.el (lm-mode):
6711 * play/blackbox.el (blackbox-mode):
6712 * play/5x5.el (5x5-mode):
6713 * obsolete/options.el (Edit-options-mode):
6714 * net/quickurl.el (quickurl-list-mode):
6715 * net/newst-treeview.el (newsticker-treeview-mode):
6716 * mail/rmailsum.el (rmail-summary-mode):
6717 * mail/mspools.el (mspools-mode):
6718 * locate.el (locate-mode):
6719 * ibuffer.el (ibuffer-mode):
6720 * emulation/ws-mode.el (wordstar-mode):
6721 * emacs-lisp/debug.el (debugger-mode):
6722 * array.el (array-mode):
6723 * net/eudc.el (eudc-mode): Use define-derived-mode.
6724 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6725 Move initialization into declaration.
6726 (mairix-searches-mode): Use define-derived-mode.
6727 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6728 (eudc-edit-hotlist): Use dolist.
6729 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6730 (Man-mode): Use define-derived-mode.
6731 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6732 (Info-edit-mode): Use define-derived-mode.
6733 (Info-cease-edit): Use Info-mode.
6734 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6735 into declaration.
6736 (eshell-mode): Use define-derived-mode.
6737 * chistory.el (command-history-mode-map): Rename from
6738 command-history-map.
6739 (command-history-mode): Use define-derived-mode.
6740 (Command-history-setup): Remove function.
6741 * calc/calc.el (calc-trail-mode-map): New var.
6742 (calc-trail-mode): Use define-derived-mode.
6743 (calc-trail-buffer): Set calc-main-buffer manually.
6744 * bookmark.el (bookmark-insert-annotation): New function.
6745 (bookmark-edit-annotation): Use it.
6746 (bookmark-edit-annotation-mode): Make it a proper major mode.
6747 (bookmark-send-edited-annotation): Use derived-mode-p.
6748 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6749 closer to its ideal place. Use \' to match EOS.
6750
6751 * profiler.el (profiler-calltree-find): Use function-equal.
6752
67532013-09-10 Glenn Morris <rgm@gnu.org>
6754
6755 * files.el (interpreter-mode-alist): Convert to regexps.
6756 (set-auto-mode): Adapt for this. (Bug#15306)
6757 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6758 Comment out unused variable.
6759 * progmodes/cc-mode.el (interpreter-mode-alist):
6760 * progmodes/python.el (interpreter-mode-alist):
6761 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6762 * progmodes/sh-script.el (sh-set-shell):
6763 No longer use interpreter-mode-alist to get list of shells.
6764
6765 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6766
67672013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * simple.el: Use set-temporary-overlay-map for universal-argument.
6770 (universal-argument-map): Don't use default-bindings (bug#15317).
6771 Bind switch-frame explicitly. Replace universal-argument-minus with
6772 a conditional binding.
6773 (universal-argument-num-events, saved-overriding-map): Remove.
6774 (restore-overriding-map): Remove.
6775 (universal-argument--mode): Rename from save&set-overriding-map,
6776 and rewrite.
6777 (universal-argument, universal-argument-more, negative-argument)
6778 (digit-argument): Adjust accordingly.
6779 (universal-argument-minus): Remove.
6780 (universal-argument-other-key): Remove.
6781
6782 * subr.el (with-demoted-errors): Add `format' argument.
6783
67842013-09-10 Michael Albinus <michael.albinus@gmx.de>
6785
6786 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6787 `tramp-cleanup-connection'.
6788
6789 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6790 parameters KEEP-DEBUG and KEEP-PASSWORD.
6791
6792 * net/tramp.el (tramp-file-name-handler):
6793 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6794 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6795 (tramp-maybe-open-connection):
6796 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6797 Use `tramp-cleanup-connection'.
6798
6799 * net/tramp-sh.el (tramp-maybe-open-connection):
6800 Catch 'uname-changed inside the progress reporter.
6801
68022013-09-10 Glenn Morris <rgm@gnu.org>
6803
6804 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6805
6806 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6807 returns "alternate access method" in mode (eg "-rw-r--r--.").
6808
68092013-09-08 Glenn Morris <rgm@gnu.org>
6810
6811 * saveplace.el (load-save-place-alist-from-file):
6812 Demote errors. (Bug#15305)
6813
68142013-09-08 Michael Albinus <michael.albinus@gmx.de>
6815
6816 Improve compatibility with older Emacsen, and XEmacs.
6817
6818 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6819 only if it is bound. It isn't for XEmacs.
6820 (with-tramp-progress-reporter): Do not let-bind `result'.
6821 This yields to scoping errors in XEmacs.
6822 (tramp-handle-make-auto-save-file-name): New function, moved from
6823 tramp-sh.el.
6824
6825 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6826 for `make-auto-save-file-name'.
6827 (tramp-adb--gnu-switches-to-ash):
6828 Use `tramp-compat-replace-regexp-in-string'.
6829
6830 * net/tramp-cache.el (tramp-cache-print): Call
6831 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6832
6833 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6834 bound. It isn't for XEmacs.
6835
6836 * net/tramp-compat.el (tramp-compat-copy-file):
6837 Catch `wrong-number-of-arguments' error.
6838 (tramp-compat-replace-regexp-in-string): New defun.
6839
6840 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6841 for `make-auto-save-file-name'.
6842 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6843 `copy-file'.
6844 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6845 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6846 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6847
6848 * net/tramp-gw.el (tramp-gw-open-network-stream):
6849 Use `tramp-compat-replace-regexp-in-string'.
6850
6851 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6852 Call `tramp-handle-make-auto-save-file-name'.
6853 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6854 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6855 (tramp-sh-file-inotifywait-process-filter):
6856 Use `tramp-compat-replace-regexp-in-string'.
6857 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6858
6859 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6860 for `make-auto-save-file-name'.
6861 (tramp-smb-handle-copy-directory):
6862 Call `tramp-compat-replace-regexp-in-string'.
6863 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6864 (tramp-smb-handle-copy-file): Improve error message.
6865 (tramp-smb-handle-rename-file): Rename directly only in case
6866 `newname' does not exist yet. This is a restriction of smbclient.
6867 (tramp-smb-maybe-open-connection): Rerun the function only when
6868 `auth-sources' is non-nil.
6869
68702013-09-08 Kenichi Handa <handa@gnu.org>
6871
6872 * international/characters.el: Set category "^" (Combining) for
6873 more characters.
6874
68752013-09-07 Alan Mackenzie <acm@muc.de>
6876
6877 Correctly fontify Java class constructors.
6878 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6879 in Java Mode.
6880 (c-recognize-typeless-decls): Set the Java value to t.
6881 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6882 While handling a "(", add a check for, effectively, Java, and handle a
6883 "typeless" declaration there.
6884
68852013-09-07 Roland Winkler <winkler@gnu.org>
6886
6887 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6888 field subtitle for entry type book.
6889
68902013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 * minibuffer.el: Make minibuffer-complete call completion-in-region
6893 rather than other way around.
6894 (completion--some, completion-pcm--find-all-completions):
6895 Don't delay signals when debugging.
6896 (minibuffer-completion-contents): Beware fields within the
6897 minibuffer contents.
6898 (completion-all-sorted-completions): Use defvar-local.
6899 (completion--do-completion, completion--cache-all-sorted-completions)
6900 (completion-all-sorted-completions, minibuffer-force-complete):
6901 Add args `beg' and `end'.
6902 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6903 (minibuffer-complete): Use completion-in-region.
6904 (completion-complete-and-exit): New fun, extracted from
6905 minibuffer-complete-and-exit.
6906 (minibuffer-complete-and-exit): Use it.
6907 (completion--complete-and-exit): Rename from
6908 minibuffer--complete-and-exit.
6909 (completion-in-region--single-word): New function, extracted from
6910 minibuffer-complete-word.
6911 (minibuffer-complete-word): Use it.
6912 (display-completion-list): Make `common-substring' argument obsolete.
6913 (completion--in-region): Call completion--in-region-1 instead of
6914 minibuffer-complete.
6915 (completion-help-at-point): Pass boundaries to
6916 minibuffer-completion-help as args rather than via an overlay.
6917 (completion-pcm--string->pattern): Use `any-delim'.
6918 (completion-pcm--optimize-pattern): New function.
6919 (completion-pcm--pattern->regex): Handle `any-delim'.
6920 * icomplete.el (icomplete-forward-completions)
6921 (icomplete-backward-completions, icomplete-completions):
6922 Adjust calls to completion-all-sorted-completions and
6923 completion--cache-all-sorted-completions.
6924 (icomplete-with-completion-tables): Default to t.
6925 * emacs-lisp/crm.el (crm--current-element): Rename from
6926 crm--select-current-element. Don't put an overlay but return the
6927 boundaries instead.
6928 (crm--completion-command): Take two new args to bind to the boundaries.
6929 (crm-completion-help): Adjust accordingly.
6930 (crm-complete): Use completion-in-region.
6931 (crm-complete-word): Use completion-in-region--single-word.
6932 (crm-complete-and-exit): Use completion-complete-and-exit.
6933
69342013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6935
6936 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6937 than dynamically.
6938
69392013-09-06 Juri Linkov <juri@jurta.org>
6940
6941 * info.el (Info-display-images-node): When image file doesn't exist
6942 display text version of the image if it's provided in the Info file.
6943 Otherwise, display the location of missing image from SRC attribute.
6944 Add help-echo text property from ALT attribute. (Bug#15279)
6945
69462013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6947
6948 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6949 (edit-abbrevs-mode): Use define-derived-mode.
6950
6951 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6952 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6953 that it's defined.
6954 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6955 Use define-derived-mode.
6956
6957 * epg.el (epg-start-encrypt): Minor CSE simplification.
6958
69592013-09-06 William Xu <william.xwl@gmail.com>
6960
6961 * arc-mode.el: Add support for 7za (bug#15264).
6962 (archive-7z-program): New var.
6963 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6964 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6965 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6966
69672013-09-06 Michael Albinus <michael.albinus@gmx.de>
6968
6969 Remove URL syntax.
6970
6971 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6972 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6973 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6974 (tramp-postfix-host-format, tramp-file-name-regexp)
6975 (tramp-completion-file-name-regexp)
6976 (tramp-completion-dissect-file-name)
6977 (tramp-handle-substitute-in-file-name): Remove 'url case.
6978 (tramp-file-name-regexp-url)
6979 (tramp-completion-file-name-regexp-url): Remove constants.
6980
69812013-09-06 Glenn Morris <rgm@gnu.org>
6982
6983 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6984
69852013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6986
6987 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6988 keywords" below "here-doc beginnings" (Bug#15270).
6989
69902013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * subr.el (pop): Use `car-safe'.
6993 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6994 to detect unused `pop' return value.
6995
6996 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6997 var `block-regexp'.
6998 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6999 (python-fill-string): Remove unused var `marker'.
7000 (python-skeleton-add-menu-items): Remove unused var `items'.
7001
7002 * international/mule-cmds.el: Require CL.
7003 (find-coding-systems-for-charsets): Avoid add-to-list.
7004 (sanitize-coding-system-list): New function, extracted from
7005 select-safe-coding-system-interactively.
7006 (select-safe-coding-system-interactively): Use it.
7007 (read-input-method-name): Accept symbols for `default'.
7008
7009 * emacs-lisp/advice.el (defadvice): Add indent rule.
7010
70112013-09-05 Daniel Hackney <dan@haxney.org>
7012
7013 * dired-x.el:
7014 * net/ange-ftp.el:
7015 * net/browse-url.el:
7016 * net/dbus.el:
7017 * net/eudc.el:
7018 * net/eudcb-ldap.el:
7019 * net/eww.el:
7020 * net/imap.el:
7021 * printing.el:
7022 * vc/ediff-diff.el:
7023 * vc/ediff-init.el:
7024 * vc/ediff-merg.el:
7025 * vc/ediff-mult.el:
7026 * vc/ediff-util.el:
7027 * vc/ediff-wind.el:
7028 * vc/ediff.el:
7029 * vc/emerge.el:
7030 * vc/pcvs.el:
7031 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7032 byte compiler. Remove some unused let-bound variables.
7033
70342013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7037 a "ref-cell", since it gets better optimized (bug#14883).
7038
70392013-09-05 Glenn Morris <rgm@gnu.org>
7040
7041 * progmodes/cc-awk.el (c-forward-sws): Declare.
7042
70432013-09-04 Glenn Morris <rgm@gnu.org>
7044
7045 * generic-x.el [rul-generic-mode]: Require cc-mode.
7046 (c++-mode-syntax-table): Declare.
7047 (rul-generic-mode-syntax-table): Init in the defvar.
7048
70492013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7050
7051 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7052 (vc-do-command, vc-set-async-update):
7053 * vc/vc-mtn.el (vc-mtn-dir-status):
7054 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7055 (vc-hg-pull, vc-hg-merge-branch):
7056 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7057 (vc-git-merge-branch):
7058 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7059 (vc-cvs-dir-status-files):
7060 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7061 (vc-bzr-dir-status-files):
7062 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7063 * vc/vc-annotate.el: Use lexical-binding.
7064 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7065 (vc-sentinel-movepoint): Declare.
7066 (vc-annotate): Don't use `goto-line'.
7067 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7068 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7069 (vc-sentinel-movepoint): Declare.
7070 * vc/vc-svn.el: Use lexical-binding.
7071 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7072 * vc/vc-sccs.el:
7073 * vc/vc-rcs.el: Use lexical-binding.
7074
7075 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7076 `deleted'. Don't drop errors silently.
7077
7078 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7079
70802013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7081
7082 * vc/vc.el (vc-ignore): Rewrite.
7083 (vc-default-ignore): New function.
7084 (vc-default-ignore-completion-table): Use find-ignore-file.
7085
7086 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7087 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7088 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7089 Remove. Most code moved to vc.el.
7090
70912013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7094 * net/tramp-smb.el (tramp-smb-get-file-entries):
7095 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7096 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7097
7098 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7099 Update call to it.
7100 (eww-change-select): Remove unused var `properties'.
7101 (eww-make-unique-file-name): Remove unused var `base'.
7102
7103 * finder.el (finder-compile-keywords): Don't mess with windows.
7104
7105 * calculator.el (calculator-funcall): Fix typo in last change.
7106
7107 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7108
7109 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7110 <pkg>-autoloads.el file stop us.
7111
7112 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7113 warnings, and factor out common code.
7114
71152013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7116
7117 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7118 two-character operators and whether the character preceding them
7119 changes their meaning (Bug#15208).
7120
71212013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7122
7123 Format code sent to Python shell for robustness.
7124 * progmodes/python.el (python-shell-buffer-substring):
7125 New function.
7126 (python-shell-send-region, python-shell-send-buffer): Use it.
7127
71282013-09-02 Michael Albinus <michael.albinus@gmx.de>
7129
7130 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7131 * net/tramp.el (tramp-user-error): ... here.
7132 (tramp-find-method, tramp-check-proper-host)
7133 (tramp-dissect-file-name, tramp-debug-message)
7134 (tramp-handle-shell-command):
7135 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7136 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7137
7138 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7139
71402013-09-02 Martin Rudalics <rudalics@gmx.at>
7141
7142 * avoid.el (mouse-avoidance-point-position)
7143 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7144 returns nil.
7145
71462013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7147
7148 * progmodes/python.el (python-shell-completion-get-completions):
7149 Drop use of deleted `comint-last-prompt-overlay'.
7150 (python-nav-if-name-main): New command.
7151
71522013-09-01 Glenn Morris <rgm@gnu.org>
7153
7154 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7155 Avoid leading space in $wins. Otherwise the sed command used by
7156 eg compile-main ends up containing "/*.el". (Bug#15170)
7157
7158 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7159
71602013-08-30 Glenn Morris <rgm@gnu.org>
7161
7162 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7163 Fix is-this-a-directory logic. (Bug#15220)
7164
71652013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7166
7167 * textmodes/css-mode.el: Use SMIE.
7168 (css-smie-grammar): New var.
7169 (css-smie--forward-token, css-smie--backward-token)
7170 (css-smie-rules): New functions.
7171 (css-mode): Use them.
7172 (css-navigation-syntax-table): Remove var.
7173 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7174 (css-indent-calculate, css-indent-line): Remove functions.
7175
7176 Misc changes to reduce use of `(lambda...); and other cleanups.
7177 * cus-edit.el: Use lexical-binding.
7178 (customize-push-and-save, customize-apropos)
7179 (custom-buffer-create-internal): Use closures.
7180 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7181 * progmodes/ada-xref.el: Use setq.
7182 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7183 * dframe.el: Use lexical-binding.
7184 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7185 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7186 * descr-text.el: Use lexical-binding.
7187 (describe-text-widget, describe-text-sexp, describe-property-list):
7188 Use closures.
7189 * comint.el (comint-history-isearch-push-state): Use a closure.
7190 * calculator.el: Use lexical-binding.
7191 (calculator-number-to-string): Make it work with lexical-binding.
7192 (calculator-funcall): Same and use cl-letf.
7193
7194 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7195 (lisp--company-doc-string, lisp--company-location): New functions.
7196 (lisp-completion-at-point): Use them to improve Company support.
7197
7198 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7199 params of lambda expressions.
7200 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7201 (ruby-smie--opening-pipe-p): New function.
7202 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7203 symbols and matched |...| for formal params.
7204 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7205 from being treated as hanging. Handle "rescue".
7206
72072013-08-29 Glenn Morris <rgm@gnu.org>
7208
7209 * progmodes/cc-engine.el (c-pull-open-brace):
7210 Move definition before use.
7211
72122013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7215 are immutable. Don't use `unsafe' any more.
7216 (cl--defsubst-expand): Don't substitute at the same time as keeping
7217 a residual unused let-binding. Don't use `unsafe' any more.
7218
72192013-08-29 Glenn Morris <rgm@gnu.org>
7220
7221 * calendar/cal-china.el (calendar-chinese-year-cache):
7222 Recenter on 2015.
7223
7224 * nxml/nxml-util.el (nxml-debug-clear-inside):
7225 Use cl-loop rather than loop.
7226
7227 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7228
7229 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7230
72312013-08-28 Glenn Morris <rgm@gnu.org>
7232
7233 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7234
7235 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7236
7237 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7238
72392013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * simple.el (repeat-complex-command--called-interactively-skip):
7242 New function.
7243 (repeat-complex-command): Use it (bug#14136).
7244
7245 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7246 (c-define-abbrev-table): Add `doc' argument.
7247 (c-mode-abbrev-table, c++-mode-abbrev-table)
7248 (objc-mode-abbrev-table, java-mode-abbrev-table)
7249 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7250 (awk-mode-abbrev-table): Use it.
7251 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7252 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7253 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7254 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7255 Move initialization into the declaration; and remove any
7256 autoload cookie.
7257
7258 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7259 and dynamic let binding.
7260
7261 * vc/smerge-mode.el: Remove redundant :group args.
7262
7263 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7264 to load-path.
7265
72662013-08-28 Juri Linkov <juri@jurta.org>
7267
7268 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7269 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7270 (isearch-other-meta-char): Handle an undefined shifted printing
7271 character by downshifting it. (Bug#15200)
7272
72732013-08-28 Juri Linkov <juri@jurta.org>
7274
7275 * isearch.el (isearch-search): Change regexp error message for
7276 non-regexp searches. (Bug#15166)
7277
72782013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7279
7280 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7281 for portability to hosts where /bin/sh has problems.
7282
72832013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7286
72872013-08-27 Juri Linkov <juri@jurta.org>
7288
7289 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7290 in the keyboard macro. (Bug#15126)
7291
72922013-08-27 Juri Linkov <juri@jurta.org>
7293
7294 * isearch.el (isearch-quote-char): Comment out converting unibyte
7295 to multibyte, thus syncing with its `quoted-insert' counterpart.
7296 (Bug#15166)
7297
72982013-08-27 Martin Rudalics <rudalics@gmx.at>
7299
7300 * window.el (display-buffer-use-some-window): Add missing
7301 argument in call of get-largest-window (Bug#15185).
7302 Reported by Stephen Leake.
7303
73042013-08-27 Glenn Morris <rgm@gnu.org>
7305
7306 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7307
73082013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7311 from a matcher-function unless there's no more matches (bug#15161).
7312
73132013-08-26 Michael Albinus <michael.albinus@gmx.de>
7314
7315 * minibuffer.el: Revert change from 2013-08-20.
7316
7317 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7318 with text property `tramp-default', if appropriate.
7319 (tramp-check-proper-host): New defun.
7320 (tramp-dissect-file-name): Do not check hostname. Revert change
7321 of 2013-03-18.
7322 (tramp-backtrace): Make VEC-OR-PROC optional.
7323
7324 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7325 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7326 * net/tramp-sh.el (tramp-maybe-open-connection):
7327 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7328 Apply `tramp-check-proper-host'.
7329
73302013-08-26 Tassilo Horn <tsdh@gnu.org>
7331
7332 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7333 lambda expression in order to have `describe-variable' display it.
7334
73352013-08-26 Michael Albinus <michael.albinus@gmx.de>
7336
7337 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7338 BUF can be optional. (Bug#15186)
7339
73402013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7341
7342 * progmodes/flymake.el (flymake-get-real-file-name-function):
7343 Fix broken customization. (Bug#15184)
7344
73452013-08-25 Alan Mackenzie <acm@muc.de>
7346
7347 Improve indentation of bracelists defined by macros (without "=").
7348
7349 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7350 expansion begins with "{", regard it as bracelist when it doesn't
7351 contain a ";".
7352
7353 Parse C++ inher-intro when there's a template split over 2 lines.
7354
7355 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7356 rigorously the search for "class" etc. followed by ":".
7357
7358 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7359 random languages a regexp which never matches rather than nil.
7360
7361 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7362
7363 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7364 (c-awk-regexp-one-line-possibly-open-char-list-re)
7365 (c-awk-one-line-possibly-open-regexp-re)
7366 (c-awk-one-line-non-syn-ws*-re): Remove.
7367 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7368 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7369 (c-awk-space*-unclosed-regexp-/-re): New constants.
7370 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7371 aren't regexp delimiters.
7372
7373 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7374 handling for a rare situation in AWK Mode involving unterminated
7375 strings/regexps.
7376
73772013-08-23 Glenn Morris <rgm@gnu.org>
7378
7379 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7380
7381 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7382
7383 * files.el (create-file-buffer): If the result would begin with
7384 spaces, prepend a "|" instead of removing them. (Bug#15162)
7385
73862013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7389 text-properties (bug#15155).
7390
7391 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7392 exist any more.
7393 (calc-keypad-redraw): Remove unused var `pad'.
7394 (calc-keypad-press): Remove unused var `menu'.
7395
73962013-08-23 Martin Rudalics <rudalics@gmx.at>
7397
7398 * window.el (display-buffer-pop-up-frame):
7399 Call pop-up-frame-function with BUFFER current so `make-frame' will
7400 use it as the new frame's buffer (Bug#15133).
7401
74022013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7403
7404 * calendar/timeclock.el: Minor cleanups.
7405 (timeclock-ask-before-exiting, timeclock-use-display-time):
7406 Use `symbol'.
7407 (timeclock-modeline-display): Define as alias before the
7408 actual definition.
7409 (timeclock-mode-line-display): Use define-minor-mode.
7410 (timeclock-day-list-template): Make it a function, add an argument.
7411 (timeclock-day-list-required, timeclock-day-list-length)
7412 (timeclock-day-list-debt, timeclock-day-list-span)
7413 (timeclock-day-list-break): Adjust calls accordingly.
7414
74152013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7418 Use read--expression so that completion works again.
7419
74202013-08-21 Sam Steingold <sds@gnu.org>
7421
7422 Add rudimentary inferior shell interaction
7423 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7424 (sh-set-shell): Reset it.
7425 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7426 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7427
74282013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * align.el: Use lexical-binding.
7431 (align-region): Simplify accordingly.
7432
74332013-08-20 Michael Albinus <michael.albinus@gmx.de>
7434
7435 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7436
7437 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7438 `non-essential' up.
7439
74402013-08-17 Michael Albinus <michael.albinus@gmx.de>
7441
7442 * net/tramp.el:
7443 * net/tramp-adb.el:
7444 * net/tramp-cmds.el:
7445 * net/tramp-ftp.el:
7446 * net/tramp-gvfs.el:
7447 * net/tramp-gw.el:
7448 * net/tramp-sh.el: Don't wrap external variable declarations by
7449 `eval-when-compile'.
7450
74512013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7452
7453 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7454 now that Emacs supports ImageMagick animations.
7455
74562013-08-16 Michael Albinus <michael.albinus@gmx.de>
7457
7458 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7459 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7460
74612013-08-16 Martin Rudalics <rudalics@gmx.at>
7462
7463 * window.el (mouse-autoselect-window-select): Do autoselect when
7464 mouse pointer is on margin.
7465
74662013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7467
7468 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7469
74702013-08-16 Glenn Morris <rgm@gnu.org>
7471
7472 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7473 Handle "Remote Directory" response of some clients. (Bug#15058)
7474
7475 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7476 Tweak warning. (Bug#14926)
7477
7478 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7479 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7480
7481 * image-mode.el (image-mode-map): Add menu items to reverse,
7482 increase, decrease, reset animation speed.
7483 (image--set-speed, image-increase-speed, image-decrease-speed)
7484 (image-reverse-speed, image-reset-speed): New functions.
7485 (image-mode-map): Add bindings for speed commands.
7486
7487 * image.el (image-animate-get-speed, image-animate-set-speed):
7488 New functions.
7489 (image-animate-timeout): Respect image :speed property.
7490
74912013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7494 previous line (bug#15101).
7495 (debugger-eval-expression, debugger-record-expression):
7496 Use read--expression (bug#15102).
7497
74982013-08-15 Michael Albinus <michael.albinus@gmx.de>
7499
7500 Remove byte compiler warnings, visible when compiling with
7501 `byte-compile-force-lexical-warnings' set to t.
7502
7503 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7504 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7505 (tramp-handle-unhandled-file-name-directory)
7506 (tramp-handle-file-notify-add-watch, tramp-action-login)
7507 (tramp-action-succeed, tramp-action-permission-denied)
7508 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7509 arguments with "_".
7510
7511 * net/tramp-adb.el (tramp-adb-parse-device-names)
7512 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7513 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7514 (tramp-adb-handle-file-truename): Remove unused arguments.
7515
7516 * net/tramp-cache.el (tramp-flush-directory-property)
7517 (tramp-flush-connection-property, tramp-list-connections)
7518 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7519
7520 * net/tramp-compat.el (tramp-compat-make-temp-file):
7521 Rename FILENAME to F.
7522
7523 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7524 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7525 (tramp-zeroconf-parse-workstation-device-names)
7526 (tramp-zeroconf-parse-webdav-device-names)
7527 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7528
7529 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7530 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7531
7532 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7533 arguments.
7534 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7535 (tramp-sh-handle-insert-file-contents-literally)
7536 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7537 with "_".
7538 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7539 Remove unused variables.
7540
7541 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7542 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7543 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7544
7545 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7546 Make them a defconst.
7547 (tramp-uuencode-region): Remove unused variable.
7548
75492013-08-14 Juanma Barranquero <lekktu@gmail.com>
7550
7551 * frameset.el (frameset--prop-setter): New function.
7552 (frameset-prop): Add gv-setter declaration.
7553 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7554 parameter was already set in FILTERED. Doc fix.
7555 (frameset--record-minibuffer-relationships): Allow saving a
7556 minibufferless frame without its corresponding minibuffer frame.
7557 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7558 frame, if the frame id matches.
7559 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7560 frames before orphaned ones.
7561 (frameset-restore): Warn about orphaned windows, instead of error out.
7562
75632013-08-14 Martin Rudalics <rudalics@gmx.at>
7564
7565 * window.el (window-make-atom): Don't overwrite parameter
7566 already present.
7567 (display-buffer-in-atom-window): Handle special case where we
7568 split an already atomic window.
7569 (window--major-non-side-window, display-buffer-in-side-window)
7570 (window--side-check): Ignore minibuffer window when walking
7571 window tree.
7572 (window-deletable-p): Return 'frame only if no other frame uses
7573 our minibuffer window.
7574 (record-window-buffer): Run buffer-list-update-hook.
7575 (split-window): Make sure window--check-frame won't destroy an
7576 existing atomic window in case the new window gets nested
7577 inside.
7578 (display-buffer-at-bottom): Ignore minibuffer window when
7579 walking window tree. Don't split a side window.
7580 (pop-to-buffer): Don't set-buffer here, the select-window call
7581 should do that.
7582 (mouse-autoselect-window-select): Autoselect only if we are in the
7583 text portion of the window.
7584
75852013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7586
7587 * net/shr.el (shr-parse-image-data): New function to grab both the
7588 data itself and the Content-Type.
7589 (shr-put-image): Use it.
7590
7591 * net/eww.el (eww-display-image): Ditto.
7592
7593 * image.el (image-content-type-suffixes): New variable.
7594
75952013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7596
7597 * progmodes/python.el (python-imenu--build-tree)
7598 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7599
76002013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7601
7602 * simple.el (backward-word): Mention the optional argument.
7603
76042013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7605
7606 * frameset.el (frameset--make): Rename constructor from make-frameset.
7607 (frameset-p, frameset-valid-p): Don't autoload.
7608 (frameset-valid-p): Use normal accessors.
7609
76102013-08-13 Glenn Morris <rgm@gnu.org>
7611
7612 * progmodes/compile.el (compile-command): Tweak example in doc.
7613 * obsolete/scribe.el (scribe-mode):
7614 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7615
7616 * mail/feedmail.el (feedmail-confirm-outgoing)
7617 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7618
7619 * cus-start.el (truncate-partial-width-windows): Fix type.
7620
7621 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7622
7623 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7624
76252013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7626
7627 * emacs-lisp/timer.el (timer--time-setter): New function.
7628 (timer--time): Use it as gv-setter.
7629
7630 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7631 setter is not a symbol.
7632
76332013-08-12 Grégoire Jadi <daimrod@gmail.com>
7634
7635 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7636 if sending fails. This makes debugging easier.
7637
76382013-08-12 Juanma Barranquero <lekktu@gmail.com>
7639
7640 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7641 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7642 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7643
76442013-08-12 Eli Zaretskii <eliz@gnu.org>
7645
7646 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7647
76482013-08-12 Glenn Morris <rgm@gnu.org>
7649
7650 * format.el (format-annotate-function):
7651 Handle read-only text properties in the source. (Bug#14887)
7652
76532013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7654
7655 * net/eww.el (eww-display-html): Ignore coding system errors.
7656 One web site uses "utf-8lias" as the coding system.
7657
76582013-08-11 Juanma Barranquero <lekktu@gmail.com>
7659
7660 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7661
76622013-08-10 Juanma Barranquero <lekktu@gmail.com>
7663
7664 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7665 (tutorial--detailed-help): Remove unused local variables.
7666 (tutorial--save-tutorial-to): Use ignore-errors.
7667 (help-with-tutorial): Use looking-at-p.
7668
7669 * view.el (view-buffer-other-window, view-buffer-other-frame):
7670 Mark unused arguments.
7671
7672 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7673 (woman-select-symbol-fonts, woman, woman-find-file)
7674 (woman-insert-file-contents, woman-non-underline-faces):
7675 Use string-match-p.
7676 (woman1-unquote): Move declaration.
7677
7678 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7679 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7680 argument. Remove unused local variable.
7681 (xml-parse-elem-type): Use string-match-p.
7682 (xml-substitute-numeric-entities): Use ignore-errors.
7683
7684 * calculator.el (calculator): Mark unused argument.
7685 (calculator-paste, calculator-quit, calculator-integer-p):
7686 Use ignore-errors.
7687 (calculator-string-to-number, calculator-decimal, calculator-exp)
7688 (calculator-op-or-exp): Use string-match-p.
7689
7690 * dired.el (dired-buffer-more-recently-used-p): Declare.
7691 (dired-insert-set-properties, dired-insert-old-subdirs):
7692 Use ignore-errors.
7693
7694 * dired-aux.el (dired-compress): Use ignore-errors.
7695 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7696 (dired-do-async-shell-command, dired-do-shell-command)
7697 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7698 (dired-insert-subdir-validate): Use string-match-p.
7699 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7700 (dired-add-entry): Use string-match-p, looking-at-p.
7701 (dired-insert-subdir-newpos): Remove unused local variable.
7702
7703 * filenotify.el (file-notify-callback): Remove unused local variable.
7704
7705 * filesets.el (filesets-error): Mark unused argument.
7706 (filesets-which-command-p, filesets-filter-dir-names)
7707 (filesets-directory-files, filesets-get-external-viewer)
7708 (filesets-ingroup-get-data): Use string-match-p.
7709
7710 * find-file.el (ff-other-file-name, ff-other-file-name)
7711 (ff-find-the-other-file, ff-cc-hh-converter):
7712 Remove unused local variables.
7713 (ff-get-file-name): Use string-match-p.
7714 (ff-all-dirs-under): Use ignore-errors.
7715
7716 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7717 (follow-select-if-visible): Remove unused local variable.
7718
7719 * forms.el (read-file-filter): Move declaration.
7720 (forms--make-format, forms--make-parser, forms-insert-record):
7721 Quote function with #'.
7722 (forms--update): Use string-match-p. Quote function with #'.
7723
7724 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7725 (help-make-xrefs): Use looking-at-p.
7726 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7727
7728 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7729 (ibuffer-confirm-operation-on): Use string-match-p.
7730
7731 * msb.el (msb-item-handler, msb-dired-item-handler):
7732 Mark unused arguments.
7733
7734 * ses.el (ses-decode-cell-symbol)
7735 (ses-kill-override): Remove unused local variable.
7736 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7737 (ses-load): Use ignore-errors, looking-at-p.
7738 (ses-jump-safe): Use ignore-errors.
7739 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7740
7741 * tabify.el (untabify, tabify): Mark unused arguments.
7742
7743 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7744 Mark unused argument.
7745 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7746 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7747
7748 * emacs-lisp/timer.el (timer--time): Define setter with
7749 gv-define-setter to avoid deprecation warning.
7750
7751 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7752 (*record-cmpl-statistics-p*): Remove (was commented out).
7753 (cmpl-statistics-block): Remove (body was commented out).
7754 All callers changed.
7755 (add-completions-from-buffer, load-completions-from-file):
7756 Remove unused variables.
7757
77582013-08-09 Juanma Barranquero <lekktu@gmail.com>
7759
7760 * filecache.el (file-cache-delete-file-list):
7761 Print message only when told so.
7762 (file-cache-files-matching): Use #' in mapconcat argument.
7763
7764 * ffap.el (ffap-url-at-point): Fix reference to variable
7765 thing-at-point-default-mail-uri-scheme.
7766
77672013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * subr.el (define-error): New function.
7770 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7771 error-file-not-found and define with define-error.
7772 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7773 and define with define-error.
7774 * userlock.el (file-locked, file-supersession):
7775 * simple.el (mark-inactive):
7776 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7777 * progmodes/ada-mode.el (ada-mode-errors):
7778 * play/life.el (life-extinct):
7779 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7780 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7781 * nxml/rng-util.el (rng-error):
7782 * nxml/rng-uri.el (rng-uri-error):
7783 * nxml/rng-match.el (rng-compile-error):
7784 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7785 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7786 * nxml/nxml-rap.el (nxml-scan-error):
7787 * nxml/nxml-outln.el (nxml-outline-error):
7788 * net/soap-client.el (soap-error):
7789 * net/gnutls.el (gnutls-error):
7790 * net/ange-ftp.el (ftp-error):
7791 * mpc.el (mpc-proc-error):
7792 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7793 (json-number-format, json-string-escape, json-string-format)
7794 (json-key-format, json-object-format):
7795 * jka-compr.el (compression-error):
7796 * international/quail.el (quail-error):
7797 * international/kkc.el (kkc-error):
7798 * emacs-lisp/ert.el (ert-test-failed):
7799 * calc/calc.el (calc-error, inexact-result, math-overflow)
7800 (math-underflow):
7801 * bookmark.el (bookmark-error-no-filename):
7802 * epg.el (epg-error): Define with define-error.
7803
7804 * time.el (display-time-event-handler)
7805 (display-time-next-load-average): Don't call sit-for since it seems
7806 unnecessary (bug#15045).
7807
7808 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7809 Use #' instead of ' to quote functions.
7810 (checkdoc-output-mode): Use setq-local.
7811 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7812 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7813 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7814 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7815 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7816 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7817 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7818 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7819
7820 * ido.el (ido-completion-help): Fix up compiler warning.
7821
78222013-08-09 Juanma Barranquero <lekktu@gmail.com>
7823
7824 * frameset.el (frameset-p): Add autoload cookie.
7825 (frameset--jump-to-register): New function, based on code moved from
7826 register.el.
7827 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7828
7829 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7830 (frameset-restore, frameset-save, frameset-session-filter-alist):
7831 Remove declarations.
7832 (register-alist): Doc fix.
7833 (frameset-to-register): Move to frameset.el.
7834 (jump-to-register, describe-register-1): Remove frameset-specific code.
7835
78362013-08-08 Juanma Barranquero <lekktu@gmail.com>
7837
7838 * allout-widgets.el (allout-widgets-pre-command-business)
7839 (allout-widgets-post-command-business)
7840 (allout-widgets-after-change-handler)
7841 (allout-decorate-item-and-context, allout-set-boundary-marker)
7842 (allout-body-modification-handler)
7843 (allout-graphics-modification-handler): Mark ignored arguments.
7844 (allout-widgets-post-command-business)
7845 (allout-widgets-exposure-change-processor)
7846 (allout-widgets-exposure-undo-processor)
7847 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7848 (allout-parse-item-at-point, allout-decorate-item-guides)
7849 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7850 * allout.el (epa-passphrase-callback-function): Declare.
7851 (allout-overlay-insert-in-front-handler)
7852 (allout-overlay-interior-modification-handler)
7853 (allout-isearch-end-handler, allout-chart-siblings)
7854 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7855 (allout-yank-processing, allout-process-exposed)
7856 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7857 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7858 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7859 (lisp-indent-defform): Mark ignored arguments.
7860 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7861 (calculate-lisp-indent): Remove unused variables.
7862 * international/characters.el (indian-2-column, arabic-2-column)
7863 (tibetan): Mark ignored arguments.
7864 (use-cjk-char-width-table): Mark ignored arguments.
7865 Remove unused variables.
7866 * international/fontset.el (build-default-fontset-data)
7867 (x-compose-font-name, create-fontset-from-fontset-spec):
7868 Mark ignored arguments.
7869 (fontset-plain-name): Remove unused variables.
7870 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7871 (keyboard-coding-system): Mark ignored arguments.
7872 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7873 * help.el (resize-temp-buffer-window):
7874 * window.el (display-buffer-in-major-side-window)
7875 (display-buffer-in-side-window, display-buffer-in-previous-window):
7876 Remove unused variables.
7877 * isearch.el (isearch-forward-symbol):
7878 * version.el (emacs-bzr-version-bzr):
7879 * international/mule-cmds.el (current-language-environment):
7880 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7881 (x-handle-display):
7882 * term/pc-win.el (x-list-fonts, x-display-planes)
7883 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7884 (x-server-version, x-display-screens, x-display-mm-height)
7885 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7886 (x-selection-owner-p, x-own-selection-internal)
7887 (x-disown-selection-internal, x-get-selection-internal)
7888 (msdos-initialize-window-system):
7889 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7890 * term/x-win.el (x-handle-no-bitmap-icon):
7891 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7892 (vc-default-find-file-hook, vc-default-extra-menu):
7893 Mark ignored arguments.
7894
78952013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7898 break-condition in the context of the debugged code (bug#12685).
7899
79002013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7901
7902 * comint.el:
7903 Do not use an overlay to highlight the last prompt. (Bug#14744)
7904 (comint-mode): Make comint-last-prompt buffer local.
7905 (comint-last-prompt): New variable.
7906 (comint-last-prompt-overlay): Remove. Superseded by
7907 comint-last-prompt.
7908 (comint-snapshot-last-prompt, comint-output-filter):
7909 Use comint-last-prompt.
7910
79112013-08-08 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7914 (frameset-save): Check validity of the resulting frameset.
7915
79162013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7917
7918 * ido.el (ido-record-command): Add doc string.
7919
79202013-08-08 Juanma Barranquero <lekktu@gmail.com>
7921
7922 * frameset.el (frameset): Do not disable creation of the default
7923 frameset-p predicate. Doc fix.
7924 (frameset-valid-p): New function, copied from the old predicate-p.
7925 Add additional checks.
7926 (frameset-restore): Check with frameset-valid-p.
7927 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7928 (frameset-name, frameset-description, frameset-properties)
7929 (frameset-states): Add docstring.
7930 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7931 (frameset-filter-alist): Doc fixes.
7932
79332013-08-08 Juanma Barranquero <lekktu@gmail.com>
7934
7935 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7936
79372013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7940 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7941 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7942 (byte-compile-normal-call): Remove obsolescence check.
7943
79442013-08-08 Juanma Barranquero <lekktu@gmail.com>
7945
7946 * frameset.el (frameset-restore): Doc fix.
7947
7948 * register.el (frameset-frame-id, frameset-frame-with-id)
7949 (frameset-p, frameset-restore, frameset-save): Declare.
7950 (register-alist): Document framesets.
7951 (frameset-session-filter-alist): Declare.
7952 (frameset-to-register): New function.
7953 (jump-to-register): Implement jumping to framesets. Doc fix.
7954 (describe-register-1): Describe framesets.
7955
7956 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7957
79582013-08-07 Juanma Barranquero <lekktu@gmail.com>
7959
7960 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7961 Use lexical-binding.
7962
7963 * frameset.el (frameset): Use type vector, not list (incompatible
7964 change). Do not declare a new constructor, use the default one.
7965 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7966 `name' and `description', respectively, and add read-only slot
7967 `timestamp'. Doc fixes.
7968 (frameset-copy, frameset-persistent-filter-alist)
7969 (frameset-filter-alist, frameset-switch-to-gui-p)
7970 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7971 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7972 (frameset-filter-iconified, frameset-keep-original-display-p):
7973 Doc fixes.
7974 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7975 Rename from frameset-filter-(save|restore)-param. All callers changed.
7976 Doc fix.
7977 (frameset-p): Adapt to change to vector and be more thorough.
7978 Change arg name to OBJECT. Doc fix.
7979 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7980 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7981 All callers changed.
7982 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7983 All callers changed.
7984 (frameset--record-minibuffer-relationships): Rename from
7985 frameset--process-minibuffer-frames. All callers changed.
7986 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7987 Use new default constructor (again). Doc fix.
7988 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7989 All callers changed.
7990 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7991 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7992 Doc fix.
7993 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7994 PARAMETERS and WINDOW-STATE, respectively.
7995 (frameset-restore): Add new keyword argument PREDICATE.
7996 Reset frameset--target-display to nil. Doc fix.
7997
79982013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8001 (bat-mode): Use it.
8002 (bat-mode-syntax-table): Mark \n as end-of-comment.
8003 (bat-font-lock-keywords): Remove comment rule.
8004
8005 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8006 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8007
8008 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8009 (byte-compile-callargs-warn): Use `push'.
8010 (byte-compile-arglist-warn): Ignore higher-order "calls".
8011 (byte-compile-file-form-autoload): Use `pcase'.
8012 (byte-compile-function-form): If quoting a symbol, check that it exists.
8013
80142013-08-07 Eli Zaretskii <eliz@gnu.org>
8015
8016 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8017 and add a few popular commands found in batch files.
8018 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8019 (dos-mode): Doc fixes.
8020
80212013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8022
8023 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8024 (dos-mode): Use setq-local. Add space after "rem".
8025 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8026 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8027
80282013-08-07 Arni Magnusson <arnima@hafro.is>
8029
8030 * progmodes/dos.el: New file.
8031 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8032 dos-mode.
8033
80342013-08-06 Glenn Morris <rgm@gnu.org>
8035
8036 * calendar/calendar.el: Add new faces, and day-header-array.
8037 (calendar-weekday-header, calendar-weekend-header)
8038 (calendar-month-header): New faces.
8039 (calendar-day-header-construct): New function.
8040 (calendar-day-header-width): Also :set calendar-day-header-array.
8041 (calendar-american-month-header, calendar-european-month-header)
8042 (calendar-iso-month-header): Use calendar- faces.
8043 (calendar-generate-month):
8044 Use calendar-day-header-array for day headers; apply faces to them.
8045 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8046 (calendar-abbrev-construct): Add optional maxlen argument.
8047 (calendar-day-name-array): Doc fix.
8048 (calendar-day-name-array, calendar-abbrev-length)
8049 (calendar-day-abbrev-array):
8050 Also :set calendar-day-header-array, and maybe redraw.
8051 (calendar-day-header-array): New option. (Bug#15007)
8052 (calendar-font-lock-keywords): Set to nil and make obsolete.
8053 (calendar-day-name): Add option to use header array.
8054
80552013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8056
8057 * net/shr.el (shr-render-td): Remove debugging.
8058 (shr-render-td): Make width computation consistent by defaulting
8059 all zero-width columns to 10 characters. This may not be optimal,
8060 but it's at least consistent.
8061 (shr-make-table-1): Redo last change to fix the real problem in
8062 colspan handling.
8063
80642013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8065
8066 * files.el (cache-long-line-scans):
8067 Make obsolete alias to `cache-long-scans'.
8068
80692013-08-06 Juanma Barranquero <lekktu@gmail.com>
8070
8071 * frameset.el (frameset, frameset-filter-alist)
8072 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8073 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8074 (frameset-compute-pos): Rename from frameset--compute-pos,
8075 and add docstring.
8076 (frameset-move-onscreen): Use frameset-compute-pos.
8077 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8078
8079 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8080 Fix typos in docstrings.
8081
80822013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8083
8084 * frame.el (get-other-frame): Tiny cleanup.
8085
80862013-08-06 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * vc/vc.el (vc-default-ignore-completion-table):
8089 Silence byte-compiler warning.
8090
8091 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8092 slot, which can indeed be nil.
8093 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8094 Move entry for `left' from persistent to live filter alist.
8095 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8096 Doc fixes.
8097 (frameset-filter-params): When restoring a frame, copy items added to
8098 `filtered', to avoid unwittingly modifying the original parameters.
8099 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8100 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8101
8102 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8103 to use looking-at-p instead of looking-at. (Bug#15028)
8104
81052013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 Revert introduction of isearch-filter-predicates (bug#14714).
8108 Rely on add-function instead.
8109 * isearch.el (isearch-filter-predicates): Rename it back to
8110 isearch-filter-predicate.
8111 (isearch-message-prefix): Use advice-function-mapc and advice
8112 properties to get the isearch-message-prefix.
8113 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8114 instead of run-hook-with-args-until-failure.
8115 (isearch-filter-visible): Not obsolete any more.
8116 * loadup.el: Preload nadvice.
8117 * replace.el (perform-replace): Revert to funcall
8118 instead of run-hook-with-args-until-failure.
8119 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8120 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8121 dired-isearch-filenames-toggle; make it into a proper minor mode.
8122 Use add/remove-function.
8123 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8124 Call the minor-mode rather than add/remove-hook.
8125 (dired-isearch-filter-filenames):
8126 Remove isearch-message-prefix property.
8127 * info.el (Info--search-loop): New function, extracted from Info-search.
8128 Funcall isearch-filter-predicate instead of
8129 run-hook-with-args-until-failure isearch-filter-predicates.
8130 (Info-search): Use it.
8131 (Info-mode): Use isearch-filter-predicate instead of
8132 isearch-filter-predicates.
8133
81342013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8135
8136 Do not call to `selected-window' where it is assumed by default.
8137 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8138 `window-hscroll', `window-width', `window-height', `window-buffer',
8139 `window-frame', `window-start', `window-point', `next-window'
8140 and `window-display-table'.
8141 * abbrev.el (abbrev--default-expand):
8142 * bs.el (bs--show-with-configuration):
8143 * buff-menu.el (Buffer-menu-mouse-select):
8144 * calc/calc.el (calc):
8145 * calendar/calendar.el (calendar-generate-window):
8146 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8147 (diary-make-entry):
8148 * comint.el (send-invisible, comint-dynamic-complete-filename)
8149 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8150 * completion.el (complete):
8151 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8152 * disp-table.el (describe-current-display-table):
8153 * doc-view.el (doc-view-insert-image):
8154 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8155 * ehelp.el (with-electric-help):
8156 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8157 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8158 * emacs-lisp/helper.el (Helper-help-scroller):
8159 * emulation/cua-base.el (cua--post-command-handler-1):
8160 * eshell/esh-mode.el (eshell-output-filter):
8161 * ffap.el (ffap-gnus-wrapper):
8162 * help-macro.el (make-help-screen):
8163 * hilit-chg.el (highlight-compare-buffers):
8164 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8165 * hl-line.el (global-hl-line-highlight):
8166 * icomplete.el (icomplete-simple-completing-p):
8167 * isearch.el (isearch-done):
8168 * jit-lock.el (jit-lock-stealth-fontify):
8169 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8170 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8171 * mpc.el (mpc-tagbrowser, mpc):
8172 * net/rcirc.el (rcirc-any-buffer):
8173 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8174 * play/landmark.el (landmark-max-width, landmark-max-height):
8175 * play/zone.el (zone):
8176 * progmodes/compile.el (compilation-goto-locus):
8177 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8178 * progmodes/etags.el (find-tag-other-window):
8179 * progmodes/fortran.el (fortran-column-ruler):
8180 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8181 * progmodes/verilog-mode.el (verilog-point-text):
8182 * reposition.el (reposition-window):
8183 * rot13.el (toggle-rot13-mode):
8184 * server.el (server-switch-buffer):
8185 * shell.el (shell-dynamic-complete-command)
8186 (shell-dynamic-complete-environment-variable):
8187 * simple.el (insert-buffer, set-selective-display)
8188 (delete-completion-window):
8189 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8190 (speedbar-recenter):
8191 * startup.el (fancy-splash-head):
8192 * textmodes/ispell.el (ispell-command-loop):
8193 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8194 * tutorial.el (help-with-tutorial):
8195 * vc/add-log.el (add-change-log-entry):
8196 * vc/compare-w.el (compare-windows):
8197 * vc/ediff-help.el (ediff-indent-help-message):
8198 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8199 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8200 (ediff-setup-control-frame):
8201 * vc/emerge.el (emerge-position-region):
8202 * vc/pcvs-util.el (cvs-bury-buffer):
8203 * window.el (walk-windows, mouse-autoselect-window-select):
8204 * winner.el (winner-set-conf, winner-undo): Related users changed.
8205
82062013-08-05 Juanma Barranquero <lekktu@gmail.com>
8207
8208 * frameset.el (frameset--set-id): Doc fix.
8209 (frameset-frame-id, frameset-frame-id-equal-p)
8210 (frameset-locate-frame-id): New functions.
8211 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8212 (frameset-restore): Use them.
8213
82142013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8215
8216 Do not call to `selected-frame' where it is assumed by default.
8217 Affected functions are `raise-frame', `redraw-frame',
8218 `frame-first-window', `frame-terminal' and `delete-frame'.
8219 * calendar/appt.el (appt-disp-window):
8220 * epg.el (epg-wait-for-completion):
8221 * follow.el (follow-delete-other-windows-and-split)
8222 (follow-avoid-tail-recenter):
8223 * international/mule.el (set-terminal-coding-system):
8224 * mail/rmail.el (rmail-mail-return):
8225 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8226 * progmodes/f90.el (f90-add-imenu-menu):
8227 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8228 * server.el (server-switch-buffer):
8229 * simple.el (delete-completion-window):
8230 * talk.el (talk):
8231 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8232 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8233 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8234 * vc/ediff.el (ediff-documentation): Related users changed.
8235 * frame.el (selected-terminal): Remove the leftover.
8236
82372013-08-05 Glenn Morris <rgm@gnu.org>
8238
8239 * calendar/calendar.el (calendar-generate-month):
8240 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8241 (calendar-generate-month, calendar-font-lock-keywords):
8242 Fix for calendar-day-header-width > length of any day name.
8243
82442013-08-05 Juanma Barranquero <lekktu@gmail.com>
8245
8246 * desktop.el (desktop-clear): Use new name of sort predicate.
8247
8248 * frameset.el (frameset): Add docstring. Move :version property to its
8249 own `version' slot.
8250 (frameset-copy): Rename from copy-frameset.
8251 (frameset-p): Check more thoroughly.
8252 (frameset-prop): Do not check for :version, which is no longer a prop.
8253 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8254 Use new :never value instead of t.
8255 (frameset-filter-alist): Expand and clarify docstring.
8256 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8257 (frameset-filter-minibuffer, frameset-filter-save-param)
8258 (frameset-filter-restore-param, frameset-filter-iconified):
8259 Add pointer to docstring of frameset-filter-alist.
8260 (frameset-filter-params): Rename filter values to be more meaningful:
8261 :never instead of t, and reverse the meanings of :save and :restore.
8262 (frameset--process-minibuffer-frames): Clarify error message.
8263 (frameset-save): Avoid unnecessary and confusing call to framep.
8264 Use new BOA constructor for framesets.
8265 (frameset--reuse-list): Doc fix.
8266 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8267 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8268 (frameset-minibufferless-first-p): Doc fix.
8269 Rename from frameset-sort-frames-for-deletion.
8270 (frameset-restore): Doc fixes. Use new function names.
8271 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8272
82732013-08-04 Juanma Barranquero <lekktu@gmail.com>
8274
8275 * desktop.el (desktop-restore-forces-onscreen)
8276 (desktop-restore-reuses-frames): Document :keyword constant values.
8277 (desktop-filter-parameters-alist): Remove, now identical to
8278 frameset-filter-alist.
8279 (desktop--filter-tty*): Remove, moved to frameset.el.
8280 (desktop-save-frameset, desktop-restore-frameset):
8281 Do not pass :filters argument.
8282
8283 * frameset.el (frameset-live-filter-alist)
8284 (frameset-persistent-filter-alist): New variables.
8285 (frameset-filter-alist): Use them. Add autoload cookie.
8286 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8287 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8288 `frameset--id' (it's supposed to be internal to frameset.el).
8289 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8290 (frameset--initial-params): New function.
8291 (frameset--get-frame): Use it. Doc fix.
8292 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8293 Accept :all, not 'all.
8294 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8295 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8296 with fbound symbols. Fix frame id matching, and remove matching ids if
8297 the frame being restored is deleted. Obey :delete.
8298
82992013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * subr.el (macrop): New function.
8302 (text-clone--maintaining): New var.
8303 (text-clone--maintain): Rename from text-clone-maintain. Use it
8304 instead of inhibit-modification-hooks.
8305
8306 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8307 a proxy, so as handle autoloads and redefinitions of the target.
8308 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8309
8310 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8311 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8312 (pcase--mutually-exclusive-p): New function.
8313 (pcase--split-consp): Use it.
8314 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8315 mutually exclusive with the current predicate.
8316
8317 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8318 (edebug-macrop): Remove. Use `macrop' instead.
8319 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8320 (ad-macro-p):
8321 * eshell/esh-cmd.el (eshell-macrop):
8322 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8323
83242013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8327 (advice-mapc): New function, using it.
8328 (advice-function-member-p): New function.
8329 (advice--normalize): Store the cdr in advice--saved-rewrite since
8330 that's the part that will be changed.
8331 (advice--symbol-function): New function.
8332 (advice-remove): Handle removal before the function is defined.
8333 Adjust to new advice--saved-rewrite.
8334 (advice-member-p): Use advice-function-member-p and
8335 advice--symbol-function.
8336
83372013-08-04 Juanma Barranquero <lekktu@gmail.com>
8338
8339 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8340 (frameset-filter-minibuffer): Doc fix.
8341 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8342 (frameset--set-id, frameset--process-minibuffer-frames)
8343 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8344 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8345
8346 * desktop.el (desktop-clear): Only delete frames when called
8347 interactively and desktop-restore-frames is non-nil. Doc fix.
8348 (desktop-read): Set desktop-saved-frameset to nil.
8349
83502013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8351
8352 * vc/vc.el (vc-ignore): Rewrite.
8353 (vc-default-ignore-completion-table, vc--read-lines)
8354 (vc--add-line, vc--remove-regexp): New functions.
8355
8356 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8357 (vc-svn-ignore-completion-table): New function.
8358
8359 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8360 (vc-hg-ignore-completion-table)
8361 (vc-hg-find-ignore-file): New functions.
8362
8363 * vc/vc-git.el (vc-git-ignore): Rewrite.
8364 (vc-git-ignore-completion-table)
8365 (vc-git-find-ignore-file): New functions.
8366
8367 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8368
8369 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8370 (vc-bzr-ignore-completion-table)
8371 (vc-bzr-find-ignore-file): New functions.
8372
83732013-08-03 Juanma Barranquero <lekktu@gmail.com>
8374
8375 * frameset.el (frameset-prop): New function and setter.
8376 (frameset-save): Do not modify frame list passed by the caller.
8377
83782013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8379
8380 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8381
83822013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8385 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8386
8387 * custom.el (custom-initialize-default, custom-initialize-set)
8388 (custom-initialize-reset, custom-initialize-changed): Affect the
8389 toplevel-default-value (bug#6275, bug#14586).
8390 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8391 for bug#6275.
8392
83932013-08-02 Juanma Barranquero <lekktu@gmail.com>
8394
8395 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8396 Add cl-def* expressions.
8397
8398 * frameset.el (frameset-filter-params): Fix order of arguments.
8399
84002013-08-02 Juanma Barranquero <lekktu@gmail.com>
8401
8402 Move code related to saving frames to frameset.el.
8403 * desktop.el: Require frameset.
8404 (desktop-restore-frames): Doc fix.
8405 (desktop-restore-reuses-frames): Rename from
8406 desktop-restoring-reuses-frames.
8407 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8408 (desktop-clear): Clear frames too.
8409 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8410 (desktop--filter-tty*, desktop-save, desktop-read):
8411 Use frameset functions.
8412 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8413 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8414 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8415 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8416 (desktop--process-minibuffer-frames, desktop-save-frames)
8417 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8418 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8419 (desktop--sort-states, desktop-restoring-frames-p)
8420 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8421 (desktop-restoring-frameset-p, desktop-restore-frameset)
8422 (desktop--check-dont-save, desktop-save-frameset): New functions.
8423 (desktop--app-id): New constant.
8424 (desktop-first-buffer, desktop-buffer-ok-count)
8425 (desktop-buffer-fail-count): Move before first use.
8426 * frameset.el: New file.
8427
84282013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 * files.el: Use lexical-binding.
8431 (dir-locals-read-from-file): Remove unused `err' variable.
8432 (hack-dir-local-variables--warned-coding): New var.
8433 (hack-dir-local-variables): Use it to avoid repeated warnings.
8434 (make-backup-file-name--default-function): New function.
8435 (make-backup-file-name-function): Use it as default.
8436 (buffer-stale--default-function): New function.
8437 (buffer-stale-function): Use it as default.
8438 (revert-buffer-insert-file-contents--default-function): New function.
8439 (revert-buffer-insert-file-contents-function): Use it as default.
8440 (insert-directory): Avoid add-to-list.
8441
8442 * autorevert.el (auto-revert-handler): Simplify.
8443 Use buffer-stale--default-function.
8444
84452013-08-01 Tassilo Horn <tsdh@gnu.org>
8446
8447 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8448
8449 * whitespace.el (whitespace-ensure-local-variables): New function.
8450 (whitespace-cleanup-region): Call it.
8451 (whitespace-turn-on): Call it.
8452
84532013-08-01 Michael Albinus <michael.albinus@gmx.de>
8454
8455 Complete file name handlers.
8456
8457 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8458 (tramp-handle-verify-visited-file-modtime)
8459 (tramp-handle-file-notify-rm-watch): New functions.
8460 (tramp-call-process): Do not bind `default-directory'.
8461
8462 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8463 Order alphabetically.
8464 <access-file, add-name-to-file, dired-call-process>:
8465 <dired-compress-file, file-acl, file-notify-rm-watch>:
8466 <file-ownership-preserved-p, file-selinux-context>:
8467 <make-directory-internal, make-symbolic-link, set-file-acl>:
8468 <set-file-selinux-context, set-visited-file-modtime>:
8469 <verify-visited-file-modtime>: Add handler.
8470 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8471
8472 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8473 <file-notify-add-watch, file-notify-rm-watch>:
8474 <set-file-times, set-visited-file-modtime>:
8475 <verify-visited-file-modtime>: Add handler.
8476 (with-tramp-gvfs-error-message)
8477 (tramp-gvfs-handle-set-visited-file-modtime)
8478 (tramp-gvfs-fuse-file-name): Remove.
8479 (tramp-gvfs-handle-file-notify-add-watch)
8480 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8481 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8482
8483 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8484 Order alphabetically.
8485 <file-notify-rm-watch>: Use default Tramp handler.
8486 <executable-find>: Remove private handler.
8487 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8488 `default-directory'.
8489 (tramp-sh-handle-executable-find)
8490 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8491 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8492 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8493 Do not use `format' in `tramp-message'.
8494
8495 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8496 <file-notify-rm-watch, set-visited-file-modtime>:
8497 <verify-visited-file-modtime>: Add handler.
8498 (tramp-smb-call-winexe): Do not bind `default-directory'.
8499
85002013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8501
8502 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8503
85042013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8505
8506 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8507 use it.
8508 (log-view-diff-changeset): Same.
8509 (log-view-diff-common): Call backend command `previous-revision'
8510 to find out the previous revision, in both cases. Swap the
8511 variables `to' and `fr', so that `fr' usually refers to the
8512 earlier revision (Bug#14989).
8513
85142013-07-31 Kan-Ru Chen <kanru@kanru.info>
8515
8516 * ibuf-ext.el (ibuffer-filter-by-filename):
8517 Make it work with dired buffers too.
8518
85192013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8520
8521 * emacs-lisp/re-builder.el (reb-color-display-p):
8522 * files.el (save-buffers-kill-terminal):
8523 * net/browse-url.el (browse-url):
8524 * server.el (server-save-buffers-kill-terminal):
8525 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8526 Prefer nil to selected-frame for the first arg of frame-parameter.
8527
85282013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8529
8530 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8531
85322013-07-30 Stephen Berman <stephen.berman@gmx.net>
8533
8534 * minibuffer.el (completion--twq-all): Try and preserve each
8535 completion's case choice (bug#14907).
8536
85372013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8538
8539 * net/network-stream.el (open-network-stream): Mention the new
8540 :nogreeting parameter.
8541 (network-stream-open-starttls): Use the :nogreeting parameter
8542 (bug#14938).
8543
8544 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8545
8546 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8547 more natural than popping.
8548
8549 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8550 (shr-urlify): Highlight under mouse.
8551
85522013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8553
8554 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8555
8556 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8557
8558 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8559 buffer for output.
8560
8561 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8562 point-min==1. Fix search string. Fix parentheses missing.
8563
8564 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8565 assume point-min==1. Fix search string. Fix parentheses missing.
8566
8567 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8568
8569 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8570 buffer for output.
8571
85722013-07-29 Eli Zaretskii <eliz@gnu.org>
8573
8574 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8575 initial frame is minibuffer-less. (Bug#14841)
8576
85772013-07-29 Michael Albinus <michael.albinus@gmx.de>
8578
8579 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8580 option.
8581
8582 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8583 (tramp-maybe-open-connection): Use it.
8584
85852013-07-28 Juanma Barranquero <lekktu@gmail.com>
8586
8587 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8588 minimal set of parameters passed when creating a frame, because
8589 the minibuffer status of a frame cannot be changed later.
8590
85912013-07-28 Stephen Berman <stephen.berman@gmx.net>
8592
8593 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8594 replace-regexp-in-string and inadvertent omissions in previous change.
8595 (todo-filter-items): Ensure only file names are comma-separated in
8596 name of filtered items buffer.
8597
85982013-07-28 Juanma Barranquero <lekktu@gmail.com>
8599
8600 * desktop.el: Optionally force offscreen frames back onscreen.
8601 (desktop-restoring-reuses-frames): New option.
8602 (desktop--compute-pos, desktop--move-onscreen): New functions.
8603 (desktop--make-frame): Use desktop--move-onscreen.
8604
86052013-07-27 Alan Mackenzie <acm@muc.de>
8606
8607 Fontify a Java generic method as a function.
8608 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8609 value to t.
8610
86112013-07-27 Stephen Berman <stephen.berman@gmx.net>
8612
8613 * calendar/todo-mode.el: Add command to rename todo files.
8614 (todo-rename-file): New command.
8615 (todo-key-bindings-t): Add key binding for it. Change the
8616 bindings of todo-filter-regexp-items(-multifile) to use `x'
8617 instead of `r', since the latter is better suited to the new
8618 renaming command.
8619
86202013-07-27 Alan Mackenzie <acm@muc.de>
8621
8622 Make Java try-with-resources statement parse properly.
8623 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8624 (c-block-stmt-1-2-key): New language constants/variables.
8625 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8626 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8627 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8628 with c-block-stmt-1-2-key.
8629
86302013-07-27 Juanma Barranquero <lekktu@gmail.com>
8631
8632 * desktop.el (desktop--make-frame): Apply most frame parameters after
8633 creating the frame to force (partially or totally) offscreen frames to
8634 be restored as such.
8635
86362013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8637
8638 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8639 (Bug#14948)
8640
86412013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8642
8643 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8644 `base' arg of backtrace-frame.
8645
86462013-07-26 Eli Zaretskii <eliz@gnu.org>
8647
8648 * simple.el (list-processes): Doc fix.
8649
86502013-07-26 Juanma Barranquero <lekktu@gmail.com>
8651
8652 * desktop.el (desktop--select-frame):
8653 Try harder to reuse existing frames.
8654
86552013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8658 (edebug-eval): Use backtrace-eval.
8659 (edebug--display, edebug--recursive-edit): Don't let-bind the
8660 edebug-outer-* vars that keep track of variables we locally let-bind.
8661 (edebug-outside-excursion): Don't restore outside values of locally
8662 let-bound vars.
8663 (edebug--display): Use user-error.
8664 (cl-lexical-debug, cl-debug-env): Remove.
8665
86662013-07-26 Juanma Barranquero <lekktu@gmail.com>
8667
8668 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8669 are restored to be sure that they are visible before deleting any
8670 remaining ones.
8671
86722013-07-26 Matthias Meulien <orontee@gmail.com>
8673
8674 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8675 vc-print-root-log. (Bug#14948)
8676
86772013-07-26 Richard Stallman <rms@gnu.org>
8678
8679 Add aliases for encrypting mail.
8680 * epa.el (epa-mail-aliases): New option.
8681 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8682 Bind inhibit-read-only so read-only text doesn't ruin everything.
8683 (epa-mail-default-recipients): New subroutine broken out.
8684 Handle epa-mail-aliases.
8685
86862013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8687
8688 Add support for lexical variables to the debugger's `e' command.
8689 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8690 vars, except for debugger-outer-match-data.
8691 (debugger-frame-number): Move check for "on a function call" from
8692 callers into it. Add `skip-base' argument.
8693 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8694 (debugger-env-macro): Only reset the state stored in non-variables,
8695 i.e. current-buffer and match-data.
8696 (debugger-eval-expression): Rewrite using backtrace-eval.
8697 * subr.el (internal--called-interactively-p--get-frame): Remove.
8698 (called-interactively-p):
8699 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8700 `base' arg of backtrace-frame instead.
8701
87022013-07-26 Glenn Morris <rgm@gnu.org>
8703
8704 * align.el (align-regexp): Doc fix. (Bug#14857)
8705 (align-region): Explicit error if subexpression missing/does not match.
8706
8707 * simple.el (global-visual-line-mode):
8708 Do not duplicate the mode lighter. (Bug#14858)
8709
87102013-07-25 Martin Rudalics <rudalics@gmx.at>
8711
8712 * window.el (display-buffer): In display-buffer bind
8713 split-window-keep-point to t, bug#14829.
8714
87152013-07-25 Juanma Barranquero <lekktu@gmail.com>
8716
8717 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8718 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8719 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8720 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8721 Change accordingly.
8722 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8723 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8724
87252013-07-25 Glenn Morris <rgm@gnu.org>
8726
8727 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8728
87292013-07-25 Juanma Barranquero <lekktu@gmail.com>
8730
8731 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8732 parameter to modify-frame-parameters if the value has not changed;
8733 this is a workaround for bug#14949.
8734 (desktop--make-frame): On cl-delete-if call, check parameter name,
8735 not full parameter.
8736
87372013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8738
8739 * vc/vc.el (vc-ignore): New function.
8740
8741 * vc/vc-svn.el (vc-svn-ignore): New function.
8742
8743 * vc/vc-hg.el (vc-hg-ignore): New function.
8744
8745 * vc/vc-git.el (vc-git-ignore): New function.
8746
8747 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8748 (vc-dir-ignore): New function.
8749
8750 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8751 (cvs-append-to-ignore): Move here from pcvs.el.
8752
8753 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8754
8755 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8756
87572013-07-24 Juanma Barranquero <lekktu@gmail.com>
8758
8759 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8760 (desktop-restore-frames): Warn when deleting an existing frame failed.
8761
87622013-07-24 Glenn Morris <rgm@gnu.org>
8763
8764 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8765
87662013-07-24 Michael Albinus <michael.albinus@gmx.de>
8767
8768 * filenotify.el (file-notify-supported-p):
8769 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8770 Remove functions.
8771
8772 * autorevert.el (auto-revert-use-notify)
8773 (auto-revert-notify-add-watch):
8774 * net/tramp.el (tramp-file-name-for-operation):
8775 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8776 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8777 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8778 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8779 Remove `file-notify-supported-p' entry.
8780
87812013-07-24 Glenn Morris <rgm@gnu.org>
8782
8783 * printing.el: Replace all uses of deleted ps-windows-system,
8784 ps-lp-system, ps-flatten-list with lpr- versions.
8785
87862013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8789 checked with memq (bug#14935).
8790
8791 * files.el (revert-buffer-function): Use a non-nil default.
8792 (revert-buffer-preserve-modes): Declare var to
8793 provide access to the `preserve-modes' argument.
8794 (revert-buffer): Let-bind it.
8795 (revert-buffer--default): New function, extracted from revert-buffer.
8796
87972013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * lpr.el: Signal print errors more prominently.
8800 (print-region-function): Don't default to nil.
8801 (lpr-print-region): New function, extracted from print-region-1.
8802 Check lpr's return value and signal an error in case of problem.
8803 (print-region-1): Use it.
8804 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8805 versions instead.
8806 (ps-printer-name): Default to nil.
8807 (ps-printer-name-option): Default to lpr-printer-switch.
8808 (ps-print-region-function): Don't default to nil.
8809 (ps-postscript-code-directory): Simplify default.
8810 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8811 (ps-string-list, ps-eval-switch, ps-flatten-list)
8812 (ps-flatten-list-1): Remove.
8813 (ps-multibyte-buffer): Avoid setq.
8814 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8815 (print-region-function, ps-print-region-function): Don't set them here.
8816
88172013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8818
8819 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8820 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8821 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8822 (ido-decorations): Doc fix.
8823
8824 * ansi-color.el: Fix old URL.
8825
88262013-07-23 Michael R. Mauger <michael@mauger.com>
8827
8828 * progmodes/sql.el: Version 3.3
8829 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8830 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8831 (sql-interactive-remove-continuation-prompt): Rewrite, use
8832 functions above. Fix continuation prompt and complete output line
8833 handling.
8834 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8835 redirected output buffer.
8836 (sql-mode): Restore deleted code (Bug#13591).
8837
88382013-07-23 Juanma Barranquero <lekktu@gmail.com>
8839
8840 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8841
88422013-07-23 Michael Albinus <michael.albinus@gmx.de>
8843
8844 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8845
8846 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8847 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8848 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8849
88502013-07-23 Juanma Barranquero <lekktu@gmail.com>
8851
8852 * desktop.el (desktop-clear): Simplify; remove useless checks
8853 against invalid buffer names.
8854 (desktop-list*): Use cl-list*.
8855 (desktop-buffer-info, desktop-create-buffer): Simplify.
8856
88572013-07-23 Leo Liu <sdl.web@gmail.com>
8858
8859 * bookmark.el (bookmark-make-record): Restore NAME as a default
8860 value. (Bug#14933)
8861
88622013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8865 extracted from autoload--insert-text.
8866 (autoload--insert-text): Remove.
8867 (autoload--print-cookie-text): New function, extracted from
8868 autoload--insert-cookie-text.
8869 (autoload--insert-cookie-text): Remove.
8870 (autoload-generate-file-autoloads): Adjust calls accordingly.
8871
8872 * winner.el (winner-hook-installed-p): Remove.
8873 (winner-mode): Simplify accordingly.
8874
8875 * subr.el (add-to-list): Fix compiler-macro when `append' is
8876 not constant. Don't use `cl-member' for the base case.
8877
8878 * progmodes/subword.el: Fix boundary case (bug#13758).
8879 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8880 own group.
8881 (subword-backward-regexp): Make it a constant.
8882 (subword-forward-internal): Don't treat a trailing capital as the
8883 beginning of a word.
8884
88852013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8886
8887 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8888 global value of tabulated-list-revert-hook (bug#14930).
8889
88902013-07-22 Juanma Barranquero <lekktu@gmail.com>
8891
8892 * desktop.el: Require 'cl-lib.
8893 (desktop-before-saving-frames-functions): New hook.
8894 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8895 for frames being saved. Rename from desktop--save-minibuffer-frames.
8896 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8897 Do not save frames with non-nil `desktop-dont-save' parameter.
8898 Filter out deleted frames.
8899 (desktop--find-frame): Use cl-find-if.
8900 (desktop--select-frame): Use cl-(first|second|third) to access values
8901 of desktop-mini.
8902 (desktop--make-frame): Use cl-delete-if.
8903 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8904 (desktop-restore-frames): Use cl-(first|second|third) to access values
8905 of desktop-mini. Look for visible frame at the end, not while
8906 restoring frames.
8907
8908 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8909 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8910 Use string-match-p, looking-at-p (bug#14927).
8911
89122013-07-21 Juanma Barranquero <lekktu@gmail.com>
8913
8914 * desktop.el (desktop-saved-frame-states):
8915 Rename from desktop--saved-states; all users changed.
8916 (desktop-save-frames): Rename from desktop--save-frames.
8917 Do not save state to desktop file.
8918 (desktop-save): Save desktop-saved-frame-states to desktop file
8919 and reset to nil.
8920 (desktop-restoring-frames-p): New function.
8921 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8922 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8923 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8924
8925 * desktop.el: Correctly restore iconified frames.
8926 (desktop--filter-iconified-position): New function.
8927 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8928
89292013-07-20 Glenn Morris <rgm@gnu.org>
8930
8931 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8932 Let `message' do the formatting.
8933 (def-gdb-preempt-display-buffer): Add explicit format.
8934
8935 * image-dired.el (image-dired-track-original-file):
8936 Use with-current-buffer.
8937 (image-dired-track-thumbnail): Use with-current-buffer.
8938 Avoid changing point of wrong window.
8939
8940 * image-dired.el (image-dired-track-original-file):
8941 Avoid changing point of wrong window. (Bug#14909)
8942
89432013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8944
8945 * progmodes/gdb-mi.el (gdb-done-or-error):
8946 Guard against "%" in gdb output. (Bug#14127)
8947
89482013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8949
8950 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8951 (Bug#14826)
8952
8953 * international/mule.el (coding-system-iso-2022-flags): Fix last
8954 change.
8955
89562013-07-20 Kenichi Handa <handa@gnu.org>
8957
8958 * international/mule.el (coding-system-iso-2022-flags):
8959 Add `8-bit-level-4'. (Bug#8522)
8960
89612013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8962
8963 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8964 (bug#14815).
8965
8966 * net/eww.el (eww-process-text-input): Allow inputting when the
8967 point is at the start of the line, as the properties aren't
8968 front-sticky.
8969
8970 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8971 degenerate widths.
8972
89732013-07-19 Richard Stallman <rms@gnu.org>
8974
8975 * epa.el (epa-popup-info-window): Doc fix.
8976
8977 * subr.el (split-string): New arg TRIM.
8978
89792013-07-18 Juanma Barranquero <lekktu@gmail.com>
8980
8981 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8982 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8983
89842013-07-18 Michael Albinus <michael.albinus@gmx.de>
8985
8986 * filenotify.el (file-notify--library): Rename from
8987 `file-notify-support'. Do not autoload. Adapt all uses.
8988 (file-notify-supported-p): New defun.
8989
8990 * autorevert.el (auto-revert-use-notify):
8991 Use `file-notify-supported-p' instead of `file-notify-support'.
8992 Adapt docstring.
8993 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8994
8995 * net/tramp.el (tramp-file-name-for-operation):
8996 Add `file-notify-supported-p'.
8997
8998 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8999 New defun.
9000 (tramp-sh-file-name-handler-alist): Add it as handler for
9001 `file-notify-supported-p '.
9002
9003 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9004 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9005 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9006 Add `ignore' as handler for `file-notify-*' functions.
9007
90082013-07-17 Eli Zaretskii <eliz@gnu.org>
9009
9010 * simple.el (line-move-partial, line-move): Don't start vscroll or
9011 scroll-up if the current line is not taller than the window.
9012 (Bug#14881)
9013
90142013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9015
9016 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9017 highlight question marks in the method names as strings.
9018 (ruby-block-beg-keywords): Inline.
9019 (ruby-font-lock-keyword-beg-re): Extract from
9020 `ruby-font-lock-keywords'.
9021
90222013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9023
9024 * frame.el (blink-cursor-blinks): New defcustom.
9025 (blink-cursor-blinks-done): New defvar.
9026 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9027 (blink-cursor-timer-function): Check if number of blinks has been
9028 done on X and NS.
9029 (blink-cursor-suspend, blink-cursor-check): New defuns.
9030
90312013-07-15 Glenn Morris <rgm@gnu.org>
9032
9033 * edmacro.el (edmacro-format-keys): Fix previous change.
9034
90352013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9036
9037 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9038 The hack didn't work outside English locales anyway.
9039
90402013-07-15 Juanma Barranquero <lekktu@gmail.com>
9041
9042 * simple.el (define-alternatives): Rename from alternatives-define,
9043 per RMS' suggestion.
9044
90452013-07-14 Juanma Barranquero <lekktu@gmail.com>
9046
9047 * desktop.el (desktop-restore-frames): Change default to t.
9048 (desktop-restore-in-current-display): Now offer more options.
9049 (desktop-restoring-reuses-frames): New customization option.
9050 (desktop--saved-states): Doc fix.
9051 (desktop-filter-parameters-alist): New variable, renamed and expanded
9052 from desktop--excluded-frame-parameters.
9053 (desktop--target-display): New variable.
9054 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9055 (desktop--filter-tty*, desktop--filter-*-color)
9056 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9057 (desktop--filter-save-desktop-parm)
9058 (desktop-restore-in-original-display-p): New functions.
9059 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9060 (desktop--save-minibuffer-frames): New function, inspired by a similar
9061 function from Martin Rudalics.
9062 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9063 (desktop--restore-in-this-display-p): Remove.
9064 (desktop--find-frame): Rename from desktop--find-frame-in-display
9065 and add predicate argument.
9066 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9067 (desktop--reuse-list): New variable.
9068 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9069 New functions.
9070 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9071
90722013-07-14 Michael Albinus <michael.albinus@gmx.de>
9073
9074 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9075
90762013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9077
9078 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9079 Highlight conversion methods on Kernel.
9080
90812013-07-13 Alan Mackenzie <acm@muc.de>
9082
9083 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9084 and comment it out. This out-commenting enables certain C++
9085 declarations to be parsed correctly.
9086
90872013-07-13 Eli Zaretskii <eliz@gnu.org>
9088
9089 * international/mule.el (define-coding-system): Doc fix.
9090
9091 * simple.el (default-font-height): Don't call font-info if the
9092 frame's default font didn't change since the frame was created.
9093 (Bug#14838)
9094
90952013-07-13 Leo Liu <sdl.web@gmail.com>
9096
9097 * ido.el (ido-read-file-name): Guard against non-symbol value.
9098
90992013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9100
9101 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9102 in nested defuns.
9103
91042013-07-13 Leo Liu <sdl.web@gmail.com>
9105
9106 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9107 ido-set-matches call. (Bug#6852)
9108
91092013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9110
9111 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9112 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9113 Ruby 2.0.
9114 (ruby-font-lock-keywords): Distinguish calls to functions with
9115 module-like names from module references. Highlight character
9116 literals.
9117
91182013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9119
9120 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9121 (gdb-send): Handle continued commands. (Bug#14847)
9122
91232013-07-12 Juanma Barranquero <lekktu@gmail.com>
9124
9125 * desktop.el (desktop--v2s): Remove unused local variable.
9126 (desktop-save-buffer): Make defvar-local; adjust docstring.
9127 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9128 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9129
91302013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9131
9132 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9133
91342013-07-12 Eli Zaretskii <eliz@gnu.org>
9135
9136 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9137 (Bug#14842)
9138
91392013-07-12 Glenn Morris <rgm@gnu.org>
9140
9141 * doc-view.el: Require cl-lib at runtime too.
9142 (doc-view-remove-if): Remove.
9143 (doc-view-search-next-match, doc-view-search-previous-match):
9144 Use cl-remove-if.
9145
9146 * edmacro.el: Require cl-lib at runtime too.
9147 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9148 (edmacro-mismatch, edmacro-subseq): Remove.
9149
9150 * shadowfile.el: Require cl-lib.
9151 (shadow-remove-if): Remove.
9152 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9153 Use cl-remove-if.
9154
9155 * wid-edit.el: Require cl-lib.
9156 (widget-choose): Use cl-remove-if.
9157 (widget-remove-if): Remove.
9158
9159 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9160 (ebrowse-delete-if-not): Remove.
9161 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9162 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9163 Use cl-delete-if-not.
9164
91652013-07-12 Juanma Barranquero <lekktu@gmail.com>
9166
9167 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9168 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9169
91702013-07-12 Leo Liu <sdl.web@gmail.com>
9171
9172 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9173
91742013-07-11 Glenn Morris <rgm@gnu.org>
9175
9176 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9177 (edebug-gensym-index, edebug-gensym):
9178 Remove reimplementation of cl-gensym.
9179 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9180
9181 * thumbs.el: Require cl-lib at run-time too.
9182 (thumbs-gensym-counter, thumbs-gensym):
9183 Remove reimplementation of cl-gensym.
9184 (thumbs-temp-file): Use cl-gensym.
9185
9186 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9187 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9188 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9189 (ert--union, ert--gensym-counter, ert--gensym-counter)
9190 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9191 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9192 (ert-make-test-unbound, ert--expand-should-1)
9193 (ert--expand-should, ert--should-error-handle-error)
9194 (should-error, ert--explain-equal-rec)
9195 (ert--plist-difference-explanation, ert-select-tests)
9196 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9197 Use cl-lib functions rather than reimplementations.
9198
91992013-07-11 Michael Albinus <michael.albinus@gmx.de>
9200
9201 * net/tramp.el (tramp-methods): Extend docstring.
9202 (tramp-connection-timeout): New defcustom.
9203 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9204 (with-tramp-progress-reporter): Simplify.
9205 (tramp-process-actions): Improve messages.
9206
9207 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9208 * net/tramp-sh.el (tramp-maybe-open-connection):
9209 Use `tramp-connection-timeout'.
9210 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9211 (Bug#14808)
9212
92132013-07-11 Leo Liu <sdl.web@gmail.com>
9214
9215 * ido.el (ido-read-file-name): Conform to the requirements of
9216 read-file-name. (Bug#11861)
9217 (ido-read-directory-name): Conform to the requirements of
9218 read-directory-name.
9219
92202013-07-11 Juanma Barranquero <lekktu@gmail.com>
9221
9222 * subr.el (delay-warning): New function.
9223
92242013-07-10 Eli Zaretskii <eliz@gnu.org>
9225
9226 * simple.el (default-line-height): New function.
9227 (line-move-partial, line-move): Use it instead of computing the
9228 line height inline.
9229 (line-move-partial): Always compute ROWH. If the last line is
9230 partially-visible, but its text is completely visible, allow
9231 cursor to enter such a partially-visible line.
9232
92332013-07-10 Michael Albinus <michael.albinus@gmx.de>
9234
9235 Improve error messages. (Bug#14808)
9236
9237 * net/tramp.el (tramp-current-connection): New defvar, moved from
9238 tramp-sh.el.
9239 (tramp-message-show-progress-reporter-message): Remove, not
9240 needed anymore.
9241 (tramp-error-with-buffer): Show message in minibuffer.
9242 Discard input before waiting. Reset connection timestamp.
9243 (with-tramp-progress-reporter): Improve messages.
9244 (tramp-process-actions): Use progress reporter. Delete process in
9245 case of error. Improve messages.
9246
9247 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9248 Call `tramp-error-with-buffer' with vector and buffer.
9249 (tramp-current-connection): Remove.
9250 (tramp-maybe-open-connection): The car of
9251 `tramp-current-connection' are the first 3 slots of the vector.
9252
92532013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9254
9255 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9256 inside continued strings.
9257
92582013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9259
9260 Timestamp fixes for undo (Bug#14824).
9261 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9262
92632013-07-10 Leo Liu <sdl.web@gmail.com>
9264
9265 * files.el (require-final-newline): Allow safe local value.
9266 (Bug#14834)
9267
92682013-07-09 Leo Liu <sdl.web@gmail.com>
9269
9270 * ido.el (ido-read-directory-name): Handle fallback.
9271 (ido-read-file-name): Update DIR to ido-current-directory.
9272 (Bug#1516)
9273 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9274
92752013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9276
9277 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9278 "autoload". Remove "warn lower camel case" section, previously
9279 commented out. Highlight negation char. Do not highlight the
9280 target in singleton method definitions.
9281
92822013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * faces.el (tty-setup-hook): Declare the hook.
9285
9286 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9287 and detect when a guard/pred depends on local vars (bug#14773).
9288 (pcase--u1): Adjust caller.
9289
92902013-07-08 Eli Zaretskii <eliz@gnu.org>
9291
9292 * simple.el (line-move-partial, line-move): Account for
9293 line-spacing.
9294 (line-move-partial): Avoid setting vscroll when the last
9295 partially-visible line in window is of default height.
9296
92972013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9298
9299 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9300 been used a while.
9301
93022013-07-07 Juanma Barranquero <lekktu@gmail.com>
9303
9304 * subr.el (read-quoted-char): Remove unused local variable `char'.
9305
93062013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9307
9308 * ediff.el (ediff-version): Version update.
9309 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9310 (ediff-merge-with-ancestor-command, ediff-directories-command)
9311 (ediff-directories3-command, ediff-merge-directories-command)
9312 (ediff-merge-directories-with-ancestor-command): New functions.
9313 All are command-line interfaces to ediff: to facilitate calling
9314 Emacs with the appropriate ediff functions invoked.
9315
9316 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9317 (viper-save-kill-buffer): Check if buffer is modified.
9318
9319 * viper.el (viper-version): Version update.
9320 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9321
93222013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9323
9324 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9325 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9326 (viper-intercept-ESC-key): Simplify.
9327 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9328 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9329 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9330 (viper-setup-ESC-to-escape): New functions.
9331 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9332 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9333
93342013-07-07 Eli Zaretskii <eliz@gnu.org>
9335
9336 * simple.el (default-font-height, window-screen-lines):
9337 New functions.
9338 (line-move, line-move-partial): Use them instead of
9339 frame-char-height and window-text-height. This makes scrolling
9340 text smoother when the buffer's default face uses a font that is
9341 different from the frame's default font.
9342
93432013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9344
9345 * files.el (write-file): Do not display confirm dialog for NS,
9346 it does its own dialog, which can't be canceled (Bug#14578).
9347
93482013-07-06 Eli Zaretskii <eliz@gnu.org>
9349
9350 * simple.el (line-move-partial): Adjust the row returned by
9351 posn-at-point for the current window-vscroll. (Bug#14567)
9352
93532013-07-06 Michael Albinus <michael.albinus@gmx.de>
9354
9355 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9356 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9357 spaces.
9358
93592013-07-06 Martin Rudalics <rudalics@gmx.at>
9360
9361 * window.el (window-state-put-stale-windows): New variable.
9362 (window--state-put-2): Save list of windows without matching buffer.
9363 (window-state-put): Remove "bufferless" windows if possible.
9364
93652013-07-06 Juanma Barranquero <lekktu@gmail.com>
9366
9367 * simple.el (alternatives-define): Remove leftover :group keyword.
9368 Tweak docstring.
9369
93702013-07-06 Leo Liu <sdl.web@gmail.com>
9371
9372 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9373 (ido-enable-virtual-buffers): New variable.
9374 (ido-buffer-internal, ido-toggle-virtual-buffers)
9375 (ido-make-buffer-list): Use it.
9376 (ido-exhibit): Support turning on and off virtual buffers
9377 automatically.
9378
93792013-07-06 Juanma Barranquero <lekktu@gmail.com>
9380
9381 * simple.el (alternatives-define): New macro.
9382
93832013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * subr.el (read-quoted-char): Use read-key.
9386 (sit-for): Let read-event decode tty input (bug#14782).
9387
93882013-07-05 Stephen Berman <stephen.berman@gmx.net>
9389
9390 * calendar/todo-mode.el: Add handling of file deletion, both by
9391 mode command and externally. Fix various related bugs.
9392 Clarify Commentary and improve some documentation strings and code.
9393 (todo-delete-file): New command.
9394 (todo-check-file): New function.
9395 (todo-show): Handle external deletion of the file we're trying to
9396 show (bug#14688). Replace called-interactively-p by an optional
9397 prefix argument to avoid problematic interaction with catch form
9398 when byte compiled (bug#14702).
9399 (todo-quit): Handle external deletion of the archive's todo file.
9400 Make sure the buffer that was visiting the archive file is still
9401 live before trying to bury it.
9402 (todo-category-completions): Handle external deletion of any
9403 category completion files.
9404 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9405 of todo files, in case of external deletion.
9406 (todo-add-file): Replace unnecessary setq by let-binding.
9407 (todo-find-archive): Check whether there are any archives.
9408 Replace unnecessary setq by let-binding.
9409 (todo-archive-done-item): Use find-file-noselect to get the
9410 archive buffer whether or not the archive already exists.
9411 Remove superfluous code. Use file size instead of buffer-file-name to
9412 check if the archive is new; if it is, update list of archives.
9413 (todo-default-todo-file): Allow nil to be a valid value for when
9414 there are no todo files.
9415 (todo-reevaluate-default-file-defcustom): Use corrected definition
9416 of todo-default-todo-file.
9417 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9418 (todo-delete-category, todo-show-categories-table)
9419 (todo-category-number): Clarify comment.
9420 (todo-filter-items): Clarify documentation string.
9421 (todo-show-current-file, todo-display-as-todo-file)
9422 (todo-reset-and-enable-done-separator): Tweak documentation string.
9423 (todo-done-separator): Make separator length window-width, since
9424 bug#2749 is now fixed.
9425
94262013-07-05 Michael Albinus <michael.albinus@gmx.de>
9427
9428 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9429 Support both "gvfs-monitor-dir" and "inotifywait".
9430 (tramp-sh-file-inotifywait-process-filter): Rename from
9431 `tramp-sh-file-notify-process-filter'.
9432 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9433 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9434
94352013-07-05 Leo Liu <sdl.web@gmail.com>
9436
9437 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9438
94392013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9440
9441 * frame.el (display-pixel-height, display-pixel-width)
9442 (display-mm-height, display-mm-width): Mention behavior on
9443 multi-monitor setups in docstrings.
9444 (w32-display-monitor-attributes-list): Declare function.
9445 (display-monitor-attributes-list): Use it.
9446
94472013-07-04 Michael Albinus <michael.albinus@gmx.de>
9448
9449 * filenotify.el: New package.
9450
9451 * autorevert.el (top): Require filenotify.el.
9452 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9453 instead.
9454 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9455 (auto-revert-notify-handler): Use `file-notify-*' functions.
9456
9457 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9458
9459 * net/tramp.el (tramp-file-name-for-operation):
9460 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9461
9462 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9463 for `file-notify-add-watch' and `file-notify-rm-watch'.
9464 (tramp-process-sentinel): Improve trace.
9465 (tramp-sh-handle-file-notify-add-watch)
9466 (tramp-sh-file-notify-process-filter)
9467 (tramp-sh-handle-file-notify-rm-watch)
9468 (tramp-get-remote-inotifywait): New defuns.
9469
94702013-07-03 Juri Linkov <juri@jurta.org>
9471
9472 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9473 call of `occur-read-primary-args' to interactive spec.
9474
9475 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9476 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9477
94782013-07-03 Matthias Meulien <orontee@gmail.com>
9479
9480 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9481 `Buffer-menu-multi-occur'. Add it to the menu.
9482 (Buffer-menu-mode): Document it in docstring.
9483 (Buffer-menu-multi-occur): New command. (Bug#14673)
9484
94852013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9486
9487 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9488 keywords and built-ins.
9489
94902013-07-03 Glenn Morris <rgm@gnu.org>
9491
9492 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9493
9494 Make info-xref checks case-sensitive by default
9495 * info.el (Info-find-node, Info-find-in-tag-table)
9496 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9497 Add option for exact case matching of nodes.
9498 * info-xref.el (info-xref): New custom group.
9499 (info-xref-case-fold): New option.
9500 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9501
95022013-07-03 Leo Liu <sdl.web@gmail.com>
9503
9504 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9505
95062013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9507
9508 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9509 middle of block statement initially, lower the depth. Remove
9510 FIXME comment, not longer valid. Remove middle of block statement
9511 detection, no need to do that anymore since we've been using
9512 `ruby-parse-region' here.
9513
95142013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9515
9516 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9517
95182013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9519
9520 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9521
95222013-07-01 Juanma Barranquero <lekktu@gmail.com>
9523
9524 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9525 (desktop-restore-in-current-display): New customization option.
9526 (desktop--excluded-frame-parameters): Add `font'.
9527 (desktop--save-frames): Rename from desktop--save-windows.
9528 (desktop--restore-in-this-display-p): New function.
9529 (desktop--make-full-frame): Remove unwanted width/height from
9530 full(width|height) frames.
9531 (desktop--restore-frames): Rename from desktop--restore-windows.
9532 Obey desktop-restore-current-display. Do not delete old frames or
9533 select a new frame unless we were able to restore at least one frame.
9534
95352013-06-30 Michal Nazarewicz <mina86@mina86.com>
9536
9537 * files.el (find-file-noselect): Simplify conditional expression.
9538
9539 * textmodes/remember.el (remember-append-to-file):
9540 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9541
9542 Add `remember-notes' function to store random notes across Emacs
9543 restarts.
9544 * textmodes/remember.el (remember-data-file): Add :set callback to
9545 affect notes buffer (if any).
9546 (remember-notes): New command.
9547 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9548 New defcustoms for the `remember-notes' function.
9549 (remember-notes-save-and-bury-buffer): New command.
9550 (remember-notes-mode-map): New variable.
9551 (remember-mode): New minor mode.
9552 (remember-notes--kill-buffer-query): New function.
9553 * startup.el (initial-buffer-choice): Add notes to custom type.
9554
95552013-06-30 Eli Zaretskii <eliz@gnu.org>
9556
9557 * bindings.el (right-char, left-char): Don't call sit-for, this is
9558 no longer needed. Use arithmetic comparison only for numerical
9559 arguments.
9560
9561 * international/mule-cmds.el (select-safe-coding-system):
9562 Handle the case of FROM being a string correctly. (Bug#14755)
9563
95642013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9565
9566 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9567 progression on degenerate tables.
9568 (shr-rescale-image): ImageMagick animated images currently don't work.
9569
95702013-06-30 Juanma Barranquero <lekktu@gmail.com>
9571
9572 Some fixes and improvements for desktop frame restoration.
9573 It is still experimental and disabled by default.
9574 * desktop.el (desktop--save-windows): Put the selected frame at
9575 the head of the list.
9576 (desktop--make-full-frame): New function.
9577 (desktop--restore-windows): Try to re-select the frame that was
9578 selected upon saving. Do not abort if some frames fail to restore,
9579 just show an error message and continue. Set up maximized frames
9580 so they have default non-maximized dimensions.
9581
95822013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9583
9584 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9585 Don't start heredoc inside a string or comment.
9586
95872013-06-29 Eli Zaretskii <eliz@gnu.org>
9588
9589 * bindings.el (visual-order-cursor-movement): New defcustom.
9590 (right-char, left-char): Provide visual-order cursor motion by
9591 calling move-point-visually. Update the doc strings.
9592
95932013-06-28 Kenichi Handa <handa@gnu.org>
9594
9595 * international/mule.el (define-coding-system): New coding system
9596 properties :inhibit-null-byte-detection,
9597 :inhibit-iso-escape-detection, and :prefer-utf-8.
9598 (set-buffer-file-coding-system): If :charset-list property of
9599 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9600 appropriate for setting.
9601
9602 * international/mule-cmds.el (select-safe-coding-system):
9603 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9604 multibyte characters, return utf-8 (or one of its siblings).
9605
9606 * international/mule-conf.el (prefer-utf-8): New coding system.
9607 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9608 files.
9609
96102013-06-28 Ivan Kanis <ivan@kanis.fr>
9611
9612 * net/shr.el (shr-render-region): New function.
9613
9614 * net/eww.el: Autoload `eww-browse-url'.
9615
96162013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9617
9618 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9619 Adapt to `package-desc-version' being a list.
9620 Use `package--ac-desc-version' to retrieve version from a package
9621 archive element.
9622
96232013-06-27 Juanma Barranquero <lekktu@gmail.com>
9624
9625 New experimental feature to save&restore window and frame setup.
9626 * desktop.el (desktop-save-windows): New defcustom.
9627 (desktop--saved-states): New var.
9628 (desktop--excluded-frame-parameters): New defconst.
9629 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9630 (desktop--restore-windows, desktop--save-windows): New functions.
9631 (desktop-save): Call `desktop--save-windows'.
9632 (desktop-read): Call `desktop--restore-windows'.
9633
96342013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9635
9636 * net/shr.el (add-face-text-property): Remove compat definition.
9637
96382013-06-27 Stephen Berman <stephen.berman@gmx.net>
9639
9640 * info.el (Info-try-follow-nearest-node): Move search for footnote
9641 above search for node name to prevent missing a footnote (bug#14717).
9642
96432013-06-27 Stephen Berman <stephen.berman@gmx.net>
9644
9645 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9646
96472013-06-27 Leo Liu <sdl.web@gmail.com>
9648
9649 * net/eww.el (eww-read-bookmarks): Check file size.
9650
96512013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9654 advice--pending if newdef is nil or an autoload (bug#13820).
9655 (advice-mapc): New function.
9656
96572013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9658
9659 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9660 probably.
9661 (eww-mode-map): Add a menu bar.
9662 (eww-add-bookmark): New command.
9663 (eww-bookmark-mode): New mode and commands.
9664 (eww-add-bookmark): Remove newlines from the title.
9665 (eww-bookmark-browse): Don't bug out if it's the only window.
9666
96672013-06-26 Glenn Morris <rgm@gnu.org>
9668
9669 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9670 (hfy-size): Handle ttys. (Bug#14668)
9671
9672 * info-xref.el: Update for Texinfo 5 change in *note format.
9673 (info-xref-node-re, info-xref-note-re): New constants.
9674 (info-xref-check-buffer): Use info-xref-note-re.
9675
96762013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9679
9680 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9681 nil terminate the loop (bug#14718).
9682
96832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9684
9685 * net/eww.el: Rework history traversal. When going forward/back,
9686 put these actions into the history, too, so that they can be
9687 replayed.
9688 (eww-render): Move the history reset to the correct buffer.
9689
96902013-06-25 Juri Linkov <juri@jurta.org>
9691
9692 * files-x.el (modify-dir-local-variable): Change the header comment
9693 in the file with directory local variables. (Bug#14692)
9694
9695 * files-x.el (read-file-local-variable-value): Add `default'.
9696 (Bug#14710)
9697
96982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9699
9700 * net/eww.el (eww-make-unique-file-name): Create a unique file
9701 name before saving to entering `y' accidentally asynchronously.
9702
97032013-06-25 Ivan Kanis <ivan@kanis.fr>
9704
9705 * net/eww.el (eww-download): New command and keystroke.
9706
97072013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9708
9709 * net/eww.el (eww-copy-page-url): Change name of command.
9710
9711 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9712 be more consistent with Info and dired.
9713
9714 * net/eww.el (eww-mode-map): Ditto.
9715
97162013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9717
9718 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9719 packages from archives.
9720 (package-archive-contents): Change format; include obsolete packages.
9721 (package-desc): Use `dir' to mark builtin packages.
9722 (package--from-builtin): Set the `dir' field to `builtin'.
9723 (generated-autoload-file, version-control): Declare.
9724 (package-compute-transaction): Change first arg and return value to be
9725 lists of package-descs. Adjust to new package-archive-contents format.
9726 (package--add-to-archive-contents): Adjust to new
9727 package-archive-contents format.
9728 (package-download-transaction): Arg is now a list of package-descs.
9729 (package-install): If `pkg' is a package name, pass it as
9730 a requirement, so it is subject to the usual (e.g. disabled) checks.
9731 (describe-package): Accept package-desc as well.
9732 (describe-package-1): Describe a specific package-desc. Add links to
9733 other package-descs for the same package name.
9734 (package-menu-describe-package): Pass the actual package-desc.
9735 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9736 works correctly.
9737 (package-desc-status): New function.
9738 (package-menu--refresh): New function, extracted
9739 from package-menu--generate.
9740 (package-menu--generate): Use it.
9741 (package-delete): Update package-alist.
9742 (package-menu-execute): Don't call package-initialize.
9743
9744 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9745 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9746 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9747 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9748 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9749 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9750
97512013-06-25 Martin Rudalics <rudalics@gmx.at>
9752
9753 * window.el (window--state-get-1): Workaround for bug#14527.
9754 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9755
97562013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9757
9758 * net/eww.el (eww-back-url): Implement the history by stashing all
9759 the data into a list.
9760 (eww-forward-url): Allow going forward in the history, too.
9761
97622013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9765 for values and use read--expression for expressions (bug#14710).
9766 (read-file-local-variable): Avoid setq.
9767 (read-file-local-variable-mode): Use minor-mode-list.
9768
97692013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9770
9771 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9772 for DOI URLs.
9773
97742013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9775
9776 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9777 Update imenu-support when dialect changes.
9778
97792013-06-25 Leo Liu <sdl.web@gmail.com>
9780
9781 * ido.el (ido-read-internal): Allow forward slash on windows.
9782
97832013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9784
9785 * net/eww.el (eww): Start of strings is \\`, not ^.
9786
97872013-06-24 Ivan Kanis <ivan@kanis.fr>
9788
9789 * net/shr.el (shr-browse-url): Fix interactive spec.
9790
9791 * net/eww.el (eww): Add a trailing slash to domain names.
9792
97932013-06-24 Juanma Barranquero <lekktu@gmail.com>
9794
9795 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9796
97972013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9798
9799 * net/shr.el (shr-browse-url): Use an external browser if given a
9800 prefix.
9801
9802 * net/eww.el (eww-external-browser): Move to shr.
9803
98042013-06-24 Ivan Kanis <ivan@kanis.fr>
9805
9806 * net/eww.el (eww): Work more correctly for file: URLs.
9807 (eww-detect-charset): Allow quoted charsets.
9808 (eww-yank-page-url): New command and keystroke.
9809
98102013-06-24 Daiki Ueno <ueno@gnu.org>
9811
9812 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9813 file name of gpg executable.
9814 (epg-context-program): New function.
9815 (epg-context-home-directory): New function.
9816 (epg-context-set-program): New function.
9817 (epg-context-set-home-directory): New function.
9818 (epg--start): Use `epg-context-program' instead of
9819 'epg-gpg-program'.
9820 (epg--list-keys-1): Likewise.
9821
98222013-06-24 Leo Liu <sdl.web@gmail.com>
9823
9824 * ido.el (ido-read-internal): Fix bug#14620.
9825
98262013-06-23 Juanma Barranquero <lekktu@gmail.com>
9827
9828 * faces.el (face-documentation): Simplify.
9829 (read-face-attribute, tty-find-type, x-resolve-font-name):
9830 Use `string-match-p'.
9831 (list-faces-display): Use `string-match-p'. Simplify.
9832 (face-spec-recalc): Check face to avoid face alias loops.
9833 (read-color): Use `string-match-p' and non-capturing parenthesis.
9834
98352013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9836
9837 * net/shr.el (shr-rescale-image): Use the new
9838 :max-width/:max-height functionality.
9839
98402013-06-23 Ivan Kanis <ivan@kanis.fr>
9841
9842 * net/eww.el (eww-search-prefix): New variable.
9843 (eww): Use it.
9844 (eww-external-browser): New variable.
9845 (eww-mode-map): New keystroke.
9846 (eww-browse-with-external-browser): New command.
9847
9848 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9849
98502013-06-23 Juanma Barranquero <lekktu@gmail.com>
9851
9852 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9853 Don't skip aligning the next header field when padding is 0;
9854 otherwise, field width is not respected unless the title is as
9855 wide as the field.
9856
98572013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * emacs-lisp/package.el (package-el-version): Remove.
9860 (package-process-define-package): Fix inf-loop.
9861 (package-install): Allow symbols as arguments again.
9862
98632013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9864
9865 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9866 add some more keyword-like methods.
9867 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9868
98692013-06-22 Juanma Barranquero <lekktu@gmail.com>
9870
9871 * bs.el (bs-buffer-show-mark): Make defvar-local.
9872 (bs-mode): Use setq-local.
9873
9874 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9875 (emacs-lock--try-unlocking): Make defvar-local.
9876
98772013-06-22 Glenn Morris <rgm@gnu.org>
9878
9879 * play/cookie1.el (cookie-apropos): Minor simplification.
9880
9881 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9882
98832013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9884
9885 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9886 `regexp-opt', it breaks the build during dumping.
9887
98882013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9889
9890 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9891 Highlight keyword-like methods on Kernel and Module with
9892 font-lock-builtin-face.
9893 (auto-mode-alist): Consolidate different entries into one regexp
9894 and add more *file-s.
9895
98962013-06-21 Stephen Berman <stephen.berman@gmx.net>
9897
9898 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9899
9900 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9901 (diary-entry): Use it in the action of this button type instead of
9902 diary-goto-entry.
9903
9904 * calendar/todo-mode.el: New version.
9905 (todo-add-category): Append new category to end of file and give
9906 it the highest number, instead of putting it at the beginning and
9907 giving it 0. Incorporate noninteractive functionality.
9908 (todo-forward-category): Adapt to 1-based category numbering.
9909 Allow skipping over archived categories.
9910 (todo-backward-category): Derive from todo-forward-category.
9911 (todo-backward-item, todo-forward-item): Make noninteractive and
9912 delegate interactive part to new commands. Make sensitive to done items.
9913 (todo-categories): Make value an alist of category names and
9914 vectors of item counts.
9915 (todo-category-beg): Make a defconst.
9916 (todo-category-number): Use 1 instead of 0 as initial value.
9917 (todo-category-select): Make sensitive to overlays, optional item
9918 highlighting and done items.
9919 (todo-delete-item): Make sensitive to overlays and marked and done items.
9920 (todo-edit-item): Make sensitive to overlays and editing of
9921 date/time header optional. Add format checks.
9922 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9923 no-op if point is not on an item. Advertise using todo-edit-quit.
9924 (todo-edit-mode): Make sensitive to new format, font-locking, and
9925 multiple todo files.
9926 (todo-insert-item, todo-insert-item-here): Derive from
9927 todo-basic-insert-item and extend functionality.
9928 (todo-item-end, todo-item-start): Make sensitive to done items.
9929 (todo-item-string): Don't return text properties. Restore point.
9930 (todo-jump-to-category): Make sensitive to multiple todo files and
9931 todo archives. Use extended category completion.
9932 (todo-lower-item, todo-raise-item): Rename to *-priority and
9933 derive from todo-set-item-priority.
9934 (todo-mode): Derive from special-mode. Make sensitive to new
9935 format, font-locking and multiple todo files. Make read-only.
9936 (todo-mode-map): Don't suppress digit keys, so they can supply
9937 prefix arguments. Add many new key bindings.
9938 (todo-prefix): Insert as an overlay instead of file text.
9939 Change semantics from diary date expression to purely visual mark.
9940 (todo-print): Rename to todo-print-buffer. Make buffer display
9941 features printable. Remove option to restrict number of items
9942 printed. Add option to print to file.
9943 (todo-print-function): Rename to todo-print-buffer-function.
9944 (todo-quit): Extend to handle exiting new todo modes.
9945 (todo-remove-item): Make sensitive to overlays.
9946 (todo-save): Extend to buffers of filtered items.
9947 (todo-show): Make sensitive to done items, multiple todo files and
9948 new todo modes. Offer to convert legacy todo file before creating
9949 first new todo file.
9950 (todo-show-priorities): Rename to todo-top-priorities.
9951 Change semantics of value 0.
9952 (todo-top-priorities): Rename to todo-filter-top-priorities,
9953 derive from todo-filter-items and extend functionality.
9954 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9955 and extend functionality to other types of filtered items.
9956 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9957 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9958 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9959 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9960 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9961 (todo-edit-mode-hook, todo-entry-prefix-function)
9962 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9963 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9964 (todo-initials, todo-insert-threshold, todo-item-string-start)
9965 (todo-line-string, todo-menu, todo-mode-hook)
9966 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9967 (todo-print-priorities, todo-remove-separator)
9968 (todo-save-top-priorities-too, todo-string-count-lines)
9969 (todo-string-multiline-p, todo-time-string-format)
9970 (todo-tmp-buffer-name): Remove.
9971 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9972 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9973 (todo-edit-category-diary-inclusion)
9974 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9975 (todo-edit-file, todo-edit-item-date-day)
9976 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9977 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9978 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9979 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9980 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9981 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9982 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9983 (todo-filter-top-priorities-multifile, todo-find-archive)
9984 (todo-find-filtered-items-file, todo-go-to-source-item)
9985 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9986 (todo-jump-to-archive-category, todo-lower-category)
9987 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9988 (todo-move-category, todo-move-item, todo-next-button)
9989 (todo-next-item, todo-padded-string, todo-powerset)
9990 (todo-previous-button, todo-previous-item)
9991 (todo-print-buffer-to-file, todo-raise-category)
9992 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9993 (todo-set-category-number, todo-set-item-priority)
9994 (todo-set-top-priorities-in-category)
9995 (todo-set-top-priorities-in-file, todo-show-categories-table)
9996 (todo-sort-categories-alphabetically-or-numerically)
9997 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9998 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9999 (todo-toggle-item-header, todo-toggle-item-highlighting)
10000 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10001 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10002 (todo-unarchive-items, todo-unmark-category): New commands.
10003 (todo-absolute-file-name, todo-add-to-buffer-list)
10004 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10005 (todo-basic-insert-item, todo-category-completions)
10006 (todo-category-number, todo-category-string-matcher-1)
10007 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10008 (todo-check-format, todo-clear-matches)
10009 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10010 (todo-current-category, todo-date-string-matcher)
10011 (todo-define-insertion-command, todo-diary-expired-matcher)
10012 (todo-diary-goto-entry, todo-diary-item-p)
10013 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10014 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10015 (todo-done-item-section-p, todo-done-separator)
10016 (todo-done-string-matcher, todo-files, todo-filter-items)
10017 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10018 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10019 (todo-insert-category-line, todo-insert-item-from-calendar)
10020 (todo-insert-sort-button, todo-insert-with-overlays)
10021 (todo-insertion-command-name, todo-insertion-key-bindings)
10022 (todo-label-to-key, todo-longest-category-name-length)
10023 (todo-make-categories-list, todo-mode-external-set)
10024 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10025 (todo-modes-set-3, todo-multiple-filter-files)
10026 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10027 (todo-read-category, todo-read-date, todo-read-dayname)
10028 (todo-read-file-name, todo-read-time)
10029 (todo-reevaluate-category-completions-files-defcustom)
10030 (todo-reevaluate-default-file-defcustom)
10031 (todo-reevaluate-filelist-defcustoms)
10032 (todo-reevaluate-filter-files-defcustom)
10033 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10034 (todo-reset-done-separator, todo-reset-done-separator-string)
10035 (todo-reset-done-string, todo-reset-global-current-todo-file)
10036 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10037 (todo-reset-prefix, todo-set-categories)
10038 (todo-set-date-from-calendar, todo-set-show-current-file)
10039 (todo-set-top-priorities, todo-short-file-name)
10040 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10041 (todo-total-item-counts, todo-update-buffer-list)
10042 (todo-update-categories-display, todo-update-categories-sexp)
10043 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10044 New functions.
10045 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10046 New major modes.
10047 (todo-categories, todo-display, todo-edit, todo-faces)
10048 (todo-filtered): New defgroups.
10049 (todo-archived-only, todo-button, todo-category-string, todo-date)
10050 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10051 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10052 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10053 (todo-add-item-if-new-category, todo-always-add-time-string)
10054 (todo-categories-align, todo-categories-archived-label)
10055 (todo-categories-category-label, todo-categories-diary-label)
10056 (todo-categories-done-label, todo-categories-number-separator)
10057 (todo-categories-todo-label, todo-categories-totals-label)
10058 (todo-category-completions-files, todo-completion-ignore-case)
10059 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10060 (todo-done-separator-string, todo-done-string)
10061 (todo-files-function, todo-filter-done-items, todo-filter-files)
10062 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10063 (todo-initial-category, todo-initial-file, todo-item-mark)
10064 (todo-legacy-date-time-regexp, todo-mode-line-function)
10065 (todo-nondiary-marker, todo-number-prefix)
10066 (todo-print-buffer-function, todo-show-current-file)
10067 (todo-show-done-only, todo-show-first, todo-show-with-done)
10068 (todo-skip-archived-categories, todo-top-priorities-overrides)
10069 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10070 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10071 New defcustoms.
10072 (todo-category-done, todo-date-pattern, todo-date-string-start)
10073 (todo-diary-items-buffer, todo-done-string-start)
10074 (todo-filtered-items-buffer, todo-item-start)
10075 (todo-month-abbrev-array, todo-month-name-array)
10076 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10077 (todo-top-priorities-buffer): New defconsts.
10078 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10079 (todo-categories-with-marks, todo-category-string-face)
10080 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10081 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10082 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10083 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10084 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10085 (todo-font-lock-keywords, todo-global-current-todo-file)
10086 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10087 (todo-insertion-commands-args)
10088 (todo-insertion-commands-args-genlist)
10089 (todo-insertion-commands-names, todo-insertion-map)
10090 (todo-key-bindings-t, todo-key-bindings-t+a)
10091 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10092 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10093 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10094 (todo-visited): New variables.
10095
100962013-06-21 Glenn Morris <rgm@gnu.org>
10097
10098 * play/cookie1.el (cookie-apropos): Add optional display argument.
10099 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10100 (psychoanalyze-pinhead): Use cookie-doctor.
10101
101022013-06-21 Juanma Barranquero <lekktu@gmail.com>
10103
10104 * emacs-lisp/package.el (tar-get-file-descriptor)
10105 (tar--extract): Declare.
10106
101072013-06-21 Eduard Wiebe <usenet@pusto.de>
10108
10109 Extend flymake's warning predicate to be a function (bug#14217).
10110 * progmodes/flymake.el (flymake-warning-predicate): New.
10111 (flymake-parse-line): Use it.
10112 (flymake-warning-re): Make obsolete alias to
10113 `flymake-warning-predicate'.
10114
101152013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10116
10117 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10118 (package-obsolete-list): Remove.
10119 (package-activate): Remove min-version argument. Add `force' argument.
10120 Adjust to new package-alist format.
10121 (package-mark-obsolete): Remove.
10122 (package-unpack): Force reload of the package's autoloads.
10123 (package-installed-p): Check builtins if the installed package is not
10124 recent enough.
10125 (package-initialize): Don't reset package-obsolete-list.
10126 Don't specify which package version to activate.
10127 (package-process-define-package, describe-package-1)
10128 (package-menu--generate): Adjust to new package-alist format.
10129
101302013-06-21 Juanma Barranquero <lekktu@gmail.com>
10131
10132 * allout-widgets.el (allout-widgets-mode-off)
10133 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10134 (allout-widgets-post-command-business)
10135 (allout-widgets-after-copy-or-kill-function)
10136 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10137 (allout-decorate-item-and-context)
10138 (allout-graphics-modification-handler): Fix typos in docstrings.
10139 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10140
10141 * cmuscheme.el (scheme-start-file): Doc fix.
10142 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10143 (scheme-input-filter): Use `string-match-p'.
10144
10145 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10146
10147 * dired-x.el: Use Dired consistently in docstrings.
10148
10149 * dired.el: Use Dired consistently in docstrings.
10150 (dired-readin, dired-mode): Use `setq-local'.
10151 (dired-switches-alist): Make defvar-local.
10152 (dired-buffers-for-dir): Use `zerop'.
10153 (dired-safe-switches-p, dired-switches-escape-p)
10154 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10155 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10156 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10157 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10158 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10159 (dired-toggle-marks, dired-mark-files-containing-regexp)
10160 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10161 (dired-flag-auto-save-files, dired-flag-backup-files):
10162 Use `looking-at-p'.
10163 (dired-mark-files-regexp, dired-build-subdir-alist):
10164 Use `string-match-p', `looking-at-p'.
10165
10166 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10167 (direct-print-region-helper): Use `string-match-p'.
10168
101692013-06-21 Leo Liu <sdl.web@gmail.com>
10170
10171 * comint.el (comint-redirect-results-list-from-process):
10172 Fix infinite loop.
10173
101742013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10175
10176 * net/eww.el (eww-update-header-line-format): Quote % characters.
10177
101782013-06-21 Glenn Morris <rgm@gnu.org>
10179
10180 * play/cookie1.el (cookie): New custom group.
10181 (cookie-file): New option.
10182 (cookie-check-file): New function.
10183 (cookie): Make it interactive. Make start and end messages optional.
10184 Interactively, display the result. Default to cookie-file.
10185 (cookie-insert): Default to cookie-file.
10186 (cookie-snarf): Make start and end messages optional.
10187 Default to cookie-file. Use with-temp-buffer.
10188 (cookie-read): Rename from read-cookie.
10189 Make start and end messages optional. Default to cookie-file.
10190 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10191 Do not autoload it.
10192 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10193 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10194
101952013-06-21 Leo Liu <sdl.web@gmail.com>
10196
10197 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10198
101992013-06-21 Glenn Morris <rgm@gnu.org>
10200
10201 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10202
102032013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10204 Daniel Hackney <dan@haxney.org>
10205
10206 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10207 Consolidate the single-file vs tarball code.
10208 (package-desc-suffix): New function.
10209 (package-desc-full-name): Don't bother inlining it.
10210 (package-load-descriptor): Return the new package-desc.
10211 (package-mark-obsolete): Remove unused arg `package'.
10212 (package-unpack): Make it work for single files as well.
10213 Make it update package-alist.
10214 (package--make-autoloads-and-stuff): Rename from
10215 package--make-autoloads-and-compile. Don't compile any more.
10216 (package--compile): New function.
10217 (package-generate-description-file): New function, extracted from
10218 package-unpack-single.
10219 (package-unpack-single): Remove.
10220 (package--with-work-buffer): Add indentation and debugging info.
10221 (package-download-single): Remove.
10222 (package-install-from-archive): Rename from package-download-tar, make
10223 it take a pkg-desc, and make it work for single files as well.
10224 (package-download-transaction): Simplify.
10225 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10226 external tar program.
10227 (package-install-from-buffer): Remove `pkg-desc' argument.
10228 Use package-tar-file-info for tar-mode buffers.
10229 (package-install-file): Simplify accordingly.
10230 (package-archive-base): Change to take a pkg-desc.
10231 * tar-mode.el (tar--check-descriptor): New function, extracted from
10232 tar-get-descriptor.
10233 (tar-get-descriptor): Use it.
10234 (tar-get-file-descriptor): New function.
10235 (tar--extract): New function, extracted from tar-extract.
10236 (tar--extract): Use it.
10237 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10238 case the summary uses non-ascii. Adjust to new calling convention of
10239 package-tar-file-info.
10240
102412013-06-21 Leo Liu <sdl.web@gmail.com>
10242
10243 * comint.el (comint-redirect-results-list-from-process):
10244 Fix random delay. (Bug#14681)
10245
102462013-06-21 Juanma Barranquero <lekktu@gmail.com>
10247
10248 * profiler.el (profiler-format-number): Use log, not log10.
10249
102502013-06-20 Juanma Barranquero <lekktu@gmail.com>
10251
10252 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10253
102542013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10257 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10258 yet available.
10259 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10260 (AUTOGENEL): ... here.
10261 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10262 (cl--defsubst-expand): Use it.
10263
102642013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10265
10266 * subr.el (log10): Move here from C code, and declare as obsolete.
10267 All uses of (log10 X) replaced with (log X 10).
10268
102692013-06-20 Juanma Barranquero <lekktu@gmail.com>
10270
10271 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10272 Declare with `defvar-local'.
10273 (tabulated-list-use-header-line, tabulated-list-entries)
10274 (tabulated-list-padding, tabulated-list-printer)
10275 (tabulated-list-sort-key): Declare with `defvar-local'.
10276 (tabulated-list-init-header, tabulated-list-print-fake-header):
10277 Use `setq-local'.
10278
102792013-06-20 Michael Albinus <michael.albinus@gmx.de>
10280
10281 * arc-mode.el (archive-mode): Add `archive-write-file' to
10282 `write-contents-functions' also for remote files. (Bug#14652)
10283
102842013-06-20 Juanma Barranquero <lekktu@gmail.com>
10285
10286 * cus-edit.el (custom-commands): Fix typos.
10287 (custom-display): Fix tooltip text.
10288 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10289 Fix typos in docstrings.
10290 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10291 (custom-unlispify-menu-entry, custom-magic-value-create)
10292 (custom-add-see-also, custom-group-value-create): Use ?\s.
10293 (custom-guess-type, customize-apropos, editable-field)
10294 (custom-face-value-create): Use `string-match-p'.
10295 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10296
10297 * custom.el (custom-load-symbol): Use `string-match-p'.
10298
10299 * ansi-color.el: Convert to lexical binding.
10300 (ansi-colors): Fix URL.
10301 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10302 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10303 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10304
103052013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10306
10307 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10308
10309 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10310
103112013-06-19 Tom Tromey <tromey@redhat.com>
10312
10313 * net/eww.el (eww-top-url): Remove.
10314 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10315 (eww-render): Set new variables. Don't set eww-top-url.
10316 (eww-handle-link): Handle "prev", "home", and "contents".
10317 Downcase the rel text.
10318 (eww-top-url): Choose best top URL.
10319
103202013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10321
10322 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10323 relying in widget.el. Using widget.el leads to too many
10324 user interface inconsistencies.
10325 (eww-self-insert): Implement entering commands in text fields.
10326 (eww-process-text-input): New function to make text input field editing
10327 work.
10328 (eww-submit): Rewrite to use the new-style form methods.
10329 (eww-select-display): Display the correct selected item.
10330 (eww-change-select): Implement changing the select value.
10331 (eww-toggle-checkbox): Implement radio/checkboxes.
10332 (eww-update-field): Fix compilation error.
10333 (eww-tag-textarea): Implement <textarea>.
10334
10335 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10336 we don't shadow mode-specific bindings.
10337
10338 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10339 nothing to push.
10340
10341 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10342
103432013-06-19 Glenn Morris <rgm@gnu.org>
10344
10345 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10346
103472013-06-19 Michael Albinus <michael.albinus@gmx.de>
10348
10349 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10350 not needed.
10351
10352 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10353
103542013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10355
10356 * net/browse-url.el (browse-url-browser-function):
10357 `eww-browse-url' has the right calling signature, `eww' does not.
10358
103592013-06-19 Glenn Morris <rgm@gnu.org>
10360
10361 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10362 Only eval autoloaded macros.
10363 (byte-compile-autoload): Only give the macro warning for macros.
10364
10365 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10366 (ps-underlined-faces): Declare.
10367
10368 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10369 (speedbar-add-supported-extension): Declare.
10370
10371 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10372 Don't include a date stamp in the header of the generated file;
10373 it leads to needless differences between output files.
10374
103752013-06-19 Michael Albinus <michael.albinus@gmx.de>
10376
10377 * net/secrets.el (secrets-struct-secret-content-type):
10378 Replace check of introspection data by a test call of "CreateItem".
10379 Some servers do not offer introspection.
10380
103812013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10382
10383 * electric.el (electric-pair-mode): Improve interaction with
10384 electric-layout-mode.
10385 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10386 (electric-pair-syntax): Use text-mode-syntax-table in comments
10387 and strings.
10388 (electric-pair--insert): New function.
10389 (electric-pair-post-self-insert-function): Use it and
10390 electric--after-char-pos.
10391
103922013-06-19 Leo Liu <sdl.web@gmail.com>
10393
10394 * progmodes/octave.el (octave-help): Fix regexp.
10395
103962013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10397
10398 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10399 (shr-table-horizontal-line): Allow nil as a value, and change the
10400 default.
10401 (shr-insert-table-ruler): Respect the nil value.
10402
104032013-06-18 Tom Tromey <tromey@barimba>
10404
10405 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10406 New defvars.
10407 (eww-open-file): New defun.
10408 (eww-render): Initialize new variables.
10409 (eww-display-html): Handle "link" and "a".
10410 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10411 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10412 (eww-back-url): Rename from eww-previous-url.
10413 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10414 New defuns.
10415
104162013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10417
10418 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10419 Distinguish ternary operator tokens from slash symbol and slash
10420 char literal.
10421
104222013-06-18 Juanma Barranquero <lekktu@gmail.com>
10423
10424 Convert symbol prettification into minor mode and global minor mode.
10425
10426 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10427 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10428 (prettify-symbols--keywords): Rename from
10429 `prog-prettify-symbols-alist' and make a local defvar.
10430 (prettify-symbols--compose-symbol): Rename from
10431 `prog--prettify-font-lock-compose-symbol'.
10432 (prettify-symbols--make-keywords): Rename from
10433 `prog-prettify-font-lock-symbols-keywords' and simplify.
10434 (prog-prettify-install): Remove.
10435 (prettify-symbols-mode): New minor mode, based on
10436 `prog-prettify-install'.
10437 (turn-on-prettify-symbols-mode): New function.
10438 (global-prettify-symbols-mode): New globalized minor mode.
10439
10440 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10441 * progmodes/cfengine.el (cfengine3-mode):
10442 * progmodes/perl-mode.el (perl-mode): Don't call
10443 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10444
104452013-06-18 Juri Linkov <juri@jurta.org>
10446
10447 * files-x.el (modify-file-local-variable-message): New function.
10448 (modify-file-local-variable)
10449 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10450 and call `modify-file-local-variable-message' when it's non-nil.
10451 (add-file-local-variable, delete-file-local-variable)
10452 (add-file-local-variable-prop-line)
10453 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10454 and use it. (Bug#9820)
10455
104562013-06-18 Juri Linkov <juri@jurta.org>
10457
10458 * emulation/vi.el (vi-shell-op):
10459 * emulation/vip.el (vip-execute-com, ex-command):
10460 * emulation/viper-cmd.el (viper-exec-bang):
10461 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10462 the call of `shell-command-on-region'. (Bug#14637)
10463
10464 * simple.el (shell-command-on-region): Doc fix.
10465
104662013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10469 (bug#14633).
10470
104712013-06-18 Glenn Morris <rgm@gnu.org>
10472
10473 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10474
10475 * newcomment.el (comment-search-forward, comment-search-backward):
10476 Doc fix. (Bug#14376)
10477
104782013-06-18 Juanma Barranquero <lekktu@gmail.com>
10479
10480 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10481 (buffer-face-mode-invoke): Doc fix.
10482
104832013-06-18 Matthias Meulien <orontee@gmail.com>
10484
10485 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10486 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10487
104882013-06-18 Glenn Morris <rgm@gnu.org>
10489
10490 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10491 Replace obsolete function generic-make-keywords with its expansion.
10492
10493 * progmodes/python.el (ffap-alist): Declare.
10494
10495 * textmodes/reftex.el (bibtex-mode-map): Declare.
10496
104972013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10498
10499 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10500 (package-unpack, package-unpack-single): Return the pkg-dir.
10501 (package-download-transaction): Use it to update package-alist.
10502
105032013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10504
10505 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10506 possible choice.
10507
105082013-06-17 Juri Linkov <juri@jurta.org>
10509
10510 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10511
105122013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10513
10514 * emacs-lisp/package.el (package-load-descriptor):
10515 Remove `with-syntax-table' call, `read' doesn't need it.
10516 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10517
105182013-06-17 Juanma Barranquero <lekktu@gmail.com>
10519
10520 * startup.el (command-line): Expand package name returned by
10521 `package--description-file' (bug#14639).
10522
105232013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10524
10525 * emacs-lisp/package.el (package-load-descriptor): Do not call
10526 `emacs-lisp-mode', just use its syntax table.
10527
105282013-06-17 Juanma Barranquero <lekktu@gmail.com>
10529
10530 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10531 `font-lock-extra-managed-props' if any prettifying keyword is added.
10532 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10533 (prog-mode): Use `setq-local'.
10534
105352013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * international/characters.el (standard-case-table): Set syntax of ?»
10538 and ?« to punctuation.
10539
105402013-06-16 Juanma Barranquero <lekktu@gmail.com>
10541
10542 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10543 Save relevant match data before calling `syntax-ppss' (bug#14595).
10544
105452013-06-15 Juri Linkov <juri@jurta.org>
10546
10547 * files-x.el (modify-file-local-variable-prop-line): Add local
10548 variables to the end of the existing comment on the first line.
10549 Use `file-auto-mode-skip' to skip interpreter magic line,
10550 and also skip XML declaration.
10551
105522013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * startup.el (package--builtin-versions): New var.
10555 (package-subdirectory-regexp): Remove.
10556 (package--description-file): Hard code its value instead.
10557
10558 * emacs-lisp/package.el: Don't activate packages older than builtin.
10559 (package-obsolete-list): Rename from package-obsolete-alist, and make
10560 it into a simple list of package-desc.
10561 (package-strip-version): Remove.
10562 (package-built-in-p): Use package--builtin-versions.
10563 (package-mark-obsolete): Simplify.
10564 (package-process-define-package): Mark it obsolete if older than the
10565 builtin version.
10566 (package-handle-response): Use line-end-position.
10567 (package-read-archive-contents, package--download-one-archive):
10568 Simplify.
10569 (package--add-to-archive-contents): Skip if older than the builtin or
10570 installed version.
10571 (package-menu-describe-package): Fix last change.
10572 (package-list-unversioned): New var.
10573 (package-menu--generate): Use it.
10574
10575 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10576 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10577 (autoload-builtin-package-versions): New variable.
10578 (autoload-generate-file-autoloads): Use them.
10579 Remove the list of autoloaded functions/macros from the
10580 (autoload...) comments.
10581
10582 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10583
105842013-06-15 Eli Zaretskii <eliz@gnu.org>
10585
10586 * simple.el (line-move-partial): Don't jump to the next screen
10587 line as soon as it becomes visible. Instead, continue enlarging
10588 the vscroll until the portion of a tall screen line that's left on
10589 display is about the height of the frame's default font.
10590 (Bug#14567)
10591
105922013-06-15 Glenn Morris <rgm@gnu.org>
10593
10594 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10595 compilation-error-regexp-alist void, or local while let-bound.
10596
10597 * progmodes/make-mode.el (makefile-mode-syntax-table):
10598 Treat "=" as punctuation. (Bug#14614)
10599
106002013-06-15 Juanma Barranquero <lekktu@gmail.com>
10601
10602 * help-fns.el (describe-variable):
10603 Add extra line for permanent-local variables.
10604
106052013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10606
10607 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10608 Add export, import, library. (Bug#9164)
10609 (library): Set indent function.
10610
106112013-06-14 Glenn Morris <rgm@gnu.org>
10612
10613 * term/xterm.el (xterm--query):
10614 Stop after first matching handler. (Bug#14615)
10615
106162013-06-14 Ivan Kanis <ivan@kanis.fr>
10617
10618 Add support for dired in saveplace.
10619 * dired.el (dired-initial-position-hook): New variable.
10620 (dired-initial-position): Call hook to place cursor position.
10621 * saveplace.el (save-place-to-alist): Add dired position.
10622 (save-place-dired-hook): New function.
10623
106242013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10625
10626 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10627 through a symbol rather than letrec.
10628
10629 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10630 (package-desc): Add `dir' field.
10631 (package-desc-full-name): New function.
10632 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10633 (package-maybe-load-descriptor): Remove.
10634 (package-load-all-descriptors): Just call package-load-descriptor.
10635 (package--disabled-p): New function.
10636 (package-desc-vers, package-desc-doc): Remove aliases.
10637 (package--dir): Remove function.
10638 (package-activate): Check if a package is disabled.
10639 (package-process-define-package): New function, extracted from
10640 define-package.
10641 (define-package): Turn into a place holder.
10642 (package-unpack-single, package-tar-file-info):
10643 Use package--description-file.
10644 (package-compute-transaction): Use package--disabled-p.
10645 (package-download-transaction): Don't call
10646 package-maybe-load-descriptor since they're all loaded anyway.
10647 (package-install): Change argument to be a pkg-desc.
10648 (package-delete): Use a single pkg-desc argument.
10649 (describe-package-1): Use package-desc-dir instead of package--dir.
10650 Use package-desc property instead of package-symbol.
10651 (package-install-button-action): Adjust accordingly.
10652 (package--push): Rewrite.
10653 (package-menu--print-info): Adjust accordingly. Change the ID format
10654 to be a pkg-desc.
10655 (package-menu-describe-package, package-menu-get-status)
10656 (package-menu--find-upgrades, package-menu-mark-upgrades)
10657 (package-menu-execute, package-menu--name-predicate):
10658 Adjust accordingly.
10659 * startup.el (package--description-file): New function.
10660 (command-line): Use it.
10661 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10662 Use package-desc-version.
10663
10664 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10665 (byte-compile-preprocess): Use it.
10666 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10667 can't quite recognize.
10668 (byte-compile-add-to-list): Remove.
10669 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10670 (cconv-closure-convert): Add assertion.
10671
10672 * emacs-lisp/map-ynp.el: Use lexical-binding.
10673 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10674 Factor out some repeated code.
10675
106762013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10677
10678 * subr.el (with-eval-after-load): New macro.
10679 (eval-after-load): Allow form to be a function.
10680 take advantage of lexical-binding.
10681 (do-after-load-evaluation): Use dolist and adjust to new format.
10682 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10683
106842013-06-13 Juri Linkov <juri@jurta.org>
10685
10686 * replace.el (perform-replace): Display "symbol " and other search
10687 modes from `isearch-message-prefix' in the *Help* buffer.
10688
10689 * isearch.el (isearch-query-replace): Add " symbol" and other
10690 possible search modes from `isearch-message-prefix' to the prompt.
10691 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10692 when reading a regexp to collect.
10693
106942013-06-13 Juri Linkov <juri@jurta.org>
10695
10696 * isearch.el (word-search-regexp): Match whitespace if the search
10697 string begins or ends in whitespace. The LAX arg is applied to
10698 both ends of the search string. Use `regexp-quote' and explicit
10699 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10700 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10701 boundaries are replaced with symbol boundaries, and characters
10702 between symbols match non-word non-symbol syntax. (Bug#14602)
10703
107042013-06-13 Juri Linkov <juri@jurta.org>
10705
10706 * isearch.el (isearch-del-char): Don't exceed the length of
10707 `isearch-string' by the prefix arg. (Bug#14563)
10708
107092013-06-13 Juri Linkov <juri@jurta.org>
10710
10711 * isearch.el (isearch-yank-word, isearch-yank-line)
10712 (isearch-char-by-name, isearch-quote-char)
10713 (isearch-printing-char, isearch-process-search-char):
10714 Add optional count prefix arg. (Bug#14563)
10715
10716 * international/isearch-x.el
10717 (isearch-process-search-multibyte-characters):
10718 Add optional count prefix arg.
10719
107202013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10721
10722 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10723 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10724 lexical-binding.
10725
107262013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10727
10728 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10729
107302013-06-13 Glenn Morris <rgm@gnu.org>
10731
10732 * startup.el (tty-handle-args):
10733 Don't just discard "--" and anything after. (Bug#14608)
10734
10735 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10736
107372013-06-13 Michael Albinus <michael.albinus@gmx.de>
10738
10739 Implement changes in Secret Service API. Make it backward compatible.
10740 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10741 (secrets-create-item): Use it. Prefix properties with interface.
10742
107432013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10744
10745 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10746 (term-emulate-terminal): Respect term-suppress-hard-newline.
10747
107482013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10749
10750 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10751 Only remove a `thumb-file' overlay. (Bug#14548)
10752
107532013-06-12 Grégoire Jadi <daimrod@gmail.com>
10754
10755 * mail/reporter.el (reporter-submit-bug-report):
10756 Handle missing package-name. (Bug#14600)
10757
107582013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10759
10760 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10761 (reftex-citation-prompt, reftex-default-bibliography)
10762 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10763 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10764 (reftex-bib-sort-author, reftex-bib-sort-year)
10765 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10766 (reftex-extract-bib-entries-from-thebibliography)
10767 (reftex-get-bibkey-default, reftex-get-bib-names)
10768 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10769 (reftex-format-bib-entry, reftex-parse-bibitem)
10770 (reftex-format-bibitem, reftex-do-citation)
10771 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10772 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10773 (reftex-insert-bib-matches, reftex-format-citation)
10774 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10775 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10776 existing comments into docstrings.
10777
107782013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10779
10780 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10781
107822013-06-12 Andreas Schwab <schwab@suse.de>
10783
10784 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10785 for auto-save files.
10786
107872013-06-12 Glenn Morris <rgm@gnu.org>
10788
10789 * ido.el (ido-delete-ignored-files): Remove.
10790 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10791 Go back to calling ido-ignore-item-p directly.
10792
107932013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10794
10795 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10796
10797 * ido.el (ido-delete-ignored-files): New function,
10798 split from ido-make-file-list-1.
10799 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10800 (ido-make-file-list-1): Use ido-delete-ignored-files.
10801
108022013-06-12 Leo Liu <sdl.web@gmail.com>
10803
10804 * progmodes/octave.el (inferior-octave-startup)
10805 (inferior-octave-completion-table)
10806 (inferior-octave-track-window-width-change)
10807 (octave-eldoc-function-signatures, octave-help)
10808 (octave-find-definition): Use single quoted strings.
10809 (inferior-octave-startup-args): Change default value.
10810 (inferior-octave-startup): Do not hard code "-i" and
10811 "--no-line-editing".
10812 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10813 (inferior-octave-directory-tracker): Use it.
10814 (octave-goto-function-definition): Robustify.
10815 (octave-help): Support highlighting operators in 'See also'.
10816 (octave-find-definition): Find subfunctions only in Octave mode.
10817
108182013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10819
10820 * help-fns.el (help-fns--compiler-macro): If the handler function is
10821 named, then put a link to it.
10822 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10823 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10824 (cl-typep): Use it.
10825 (cl-eval-when): Simplify debug spec.
10826 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10827 compiler-macro function instead of setting `compiler-macro-file'.
10828
108292013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10830
10831 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10832 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10833
108342013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10835 Daniel Hackney <dan@haxney.org>
10836
10837 First part of Daniel Hackney's patch to package.el.
10838 * emacs-lisp/package.el: Use defstruct.
10839 (package-desc): New, main struct.
10840 (package--bi-desc, package--ac-desc): New structs, used to describe the
10841 format in external files.
10842 (package-desc-vers): Replace with package-desc-version accessor.
10843 (package-desc-doc): Replace with package-desc-summary accessor.
10844 (package-activate-1): Remove `package' arg since the pkg-vec now
10845 includes the name.
10846 (define-package): Use package-desc-from-define.
10847 (package-unpack-single): Change file-name arg to be a symbol.
10848 (package--add-to-archive-contents): Use package-desc-create and new
10849 accessor functions to package--ac-desc.
10850 (package-buffer-info, package-tar-file-info): Return a package-desc.
10851 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10852 arg to be a package-desc.
10853 (package-install-file): Adjust accordingly. Use \' to match EOS.
10854 (package--from-builtin): New function.
10855 (describe-package-1, package-menu--generate): Use it.
10856 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10857 (package-generate-autoloads): Idem and return the name of the file.
10858 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10859 Change pkg-info arg to be a package-desc.
10860 Use package-make-ac-desc.
10861 (package-upload-file): Use \' to match EOS.
10862 * finder.el (finder-compile-keywords): Use package-make-builtin.
10863
108642013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10865
10866 * vc/vc.el (vc-deduce-fileset): Change error message.
10867 (vc-read-backend): New function.
10868 (vc-next-action): Use it.
10869
10870 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10871
10872 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10873 (prolog-font-lock-keywords): Use regexp-opt instead.
10874 Don't manually highlight strings.
10875 (prolog-mode-variables): Simplify comment-start-skip.
10876 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10877
10878 * emacs-lisp/generic.el (generic--normalise-comments)
10879 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10880 (generic-mode-set-comments): Use them.
10881 (generic-bracket-support): Use setq-local.
10882 (generic-make-keywords-list): Declare obsolete.
10883
108842013-06-11 Glenn Morris <rgm@gnu.org>
10885
10886 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10887 Prettify after setting font-lock-defaults. (Bug#14574)
10888
108892013-06-11 Juanma Barranquero <lekktu@gmail.com>
10890
10891 * replace.el (query-replace, occur-read-regexp-defaults-function)
10892 (replace-search):
10893 * subr.el (declare-function, number-sequence, local-set-key)
10894 (substitute-key-definition, locate-user-emacs-file)
10895 (with-silent-modifications, split-string, eval-after-load):
10896 Fix typos, remove unneeded backslashes and reflow some docstrings.
10897
108982013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10899
10900 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10901 default for Elisp files.
10902
109032013-06-11 Glenn Morris <rgm@gnu.org>
10904
10905 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10906 although define-derived-mode was doing this anyway. (Bug#14583)
10907
109082013-06-10 Juanma Barranquero <lekktu@gmail.com>
10909
10910 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10911 Fix make-variable-buffer-local call to refer to the correct variable.
10912
109132013-06-10 Aidan Gauland <aidalgol@amuri.net>
10914
10915 * eshell/em-term.el (eshell-visual-commands)
10916 (eshell-visual-subcommands, eshell-visual-options):
10917 Add summary line to docstrings. Add cross-references.
10918
109192013-06-10 Glenn Morris <rgm@gnu.org>
10920
10921 * epa.el (epa-read-file-name): New function. (Bug#14510)
10922 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10923
109242013-06-09 Aidan Gauland <aidalgol@amuri.net>
10925
10926 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10927 output redirection to be ignored with visual commands.
10928
109292013-06-09 Aidan Gauland <aidalgol@amuri.net>
10930
10931 * eshell/em-term.el (eshell-visual-command-p): New function.
10932 (eshell-term-initialize): Move long lambda to separate function
10933 eshell-visual-command-p.
10934 * eshell/em-dirs.el (eshell-dirs-initialize):
10935 * eshell/em-script.el (eshell-script-initialize):
10936 Add missing #' to lambda.
10937
109382013-06-08 Leo Liu <sdl.web@gmail.com>
10939
10940 * progmodes/octave.el (octave-add-log-current-defun): New function.
10941 (octave-mode): Set add-log-current-defun-function.
10942 (octave-goto-function-definition): Do not move point if not found.
10943 (octave-find-definition): Enhance to try subfunctions first.
10944
109452013-06-08 Glenn Morris <rgm@gnu.org>
10946
10947 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10948 (byte-compile-backward-char, byte-compile-backward-word):
10949 Improve previous change, to handle non-explicit nil.
10950
109512013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10954 (smie--opener/closer-at-point): New function.
10955 (smie--matching-block-data): Use it. Don't match from right after an
10956 opener or right before a closer. Obey smie-blink-matching-inners.
10957 Don't signal a mismatch for repeated inners like "switch..case..case".
10958
109592013-06-07 Leo Liu <sdl.web@gmail.com>
10960
10961 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10962 to t. (Bug#14303)
10963 (octave-function-header-regexp): Fix. (Bug#14570)
10964 (octave-help-mode-finish-hook, octave-help-mode-finish):
10965 Remove. Just use temp-buffer-show-hook.
10966
10967 * newcomment.el (comment-search-backward): Revert last change.
10968 (Bug#14434)
10969
10970 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10971
109722013-06-07 Eli Zaretskii <eliz@gnu.org>
10973
10974 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10975 through xargs, to avoid failure due to MS-Windows limitations on
10976 command-line length.
10977
109782013-06-06 Glenn Morris <rgm@gnu.org>
10979
10980 * font-lock.el (lisp-font-lock-keywords-2):
10981 Treat user-error like error.
10982
10983 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10984 (byte-compile-backward-char, byte-compile-backward-word):
10985 Handle explicit nil arguments. (Bug#14565)
10986
109872013-06-05 Alan Mackenzie <acm@muc.de>
10988
10989 * isearch.el (isearch-allow-prefix): New user option.
10990 (isearch-other-meta-char): Don't exit isearch when a prefix
10991 argument is typed whilst `isearch-allow-prefix' is non-nil.
10992 (Bug#9706)
10993
109942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * autorevert.el (auto-revert-notify-handler): Use memq.
10997 Hide assertion failure.
10998
10999 * skeleton.el: Use cl-lib.
11000 (skeleton-further-elements): Use defvar-local.
11001 (skeleton-insert): Use cl-progv.
11002
110032013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11004
11005 * progmodes/prog-mode.el (prog-prettify-symbols)
11006 (prog-prettify-install): Update docstrings.
11007
110082013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11009
11010 * simple.el: Move all the prog-mode code to prog-mode.el.
11011 * progmodes/prog-mode.el: New file.
11012 * loadup.el: Add prog-mode.el.
11013
110142013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11015
11016 * simple.el (prog-prettify-symbols): Add version.
11017 (prog-prettify-install): Add convenience function to prettify symbols.
11018
11019 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11020 (perl--augmented-font-lock-keywords-1)
11021 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11022 variables and use it.
11023
11024 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11025 (cfengine3-mode): Remove unneeded variable and use it.
11026
11027 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11028 (lisp--augmented-font-lock-keywords-1)
11029 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11030 Remove unneeded variables and use it.
11031
110322013-06-05 João Távora <joaotavora@gmail.com>
11033
11034 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11035 to point when opening the connection. (Bug#14380)
11036
110372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11038
11039 * subr.el (load-history-regexp, load-history-filename-element)
11040 (eval-after-load, after-load-functions, do-after-load-evaluation)
11041 (eval-next-after-load, display-delayed-warnings)
11042 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11043 definition of save-match-data.
11044 (overriding-local-map): Remove accidental obsolescence declaration.
11045
11046 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11047
110482013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11049
11050 Generalize symbol prettify support to prog-mode and implement it
11051 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11052 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11053 (prog--prettify-font-lock-compose-symbol)
11054 (prog-prettify-font-lock-symbols-keywords): New variables and
11055 functions to support symbol prettification.
11056 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11057 (lisp--augmented-font-lock-keywords-1)
11058 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11059 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11060 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11061 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11062 Implement prettify of -> => :: strings.
11063 * progmodes/perl-mode.el (perl-prettify-symbols)
11064 (perl--font-lock-compose-symbol)
11065 (perl--font-lock-symbols-keywords): Move to prog-mode.
11066 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11067 (perl-font-lock-keywords-1)
11068 (perl-font-lock-keywords-2): Remove explicit prettify support.
11069 (perl--augmented-font-lock-keywords)
11070 (perl--augmented-font-lock-keywords-1)
11071 (perl--augmented-font-lock-keywords-2, perl-mode):
11072 Implement prettify support.
11073
110742013-06-05 Leo Liu <sdl.web@gmail.com>
11075
11076 Re-implement SMIE matching block highlight using
11077 show-paren-data-function. (Bug#14395)
11078 * emacs-lisp/smie.el (smie-matching-block-highlight)
11079 (smie--highlight-matching-block-overlay)
11080 (smie--highlight-matching-block-lastpos)
11081 (smie-highlight-matching-block)
11082 (smie-highlight-matching-block-mode): Remove.
11083 (smie--matching-block-data-cache): New variable.
11084 (smie--matching-block-data): New function.
11085 (smie-setup): Use smie--matching-block-data for
11086 show-paren-data-function.
11087
11088 * progmodes/octave.el (octave-mode-menu): Fix.
11089 (octave-find-definition): Skip garbage lines.
11090
110912013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11092
11093 Fix compilation error with simultaneous dynamic+lexical scoping.
11094 Add warning when a defvar appears after the first let-binding.
11095 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11096 (byte-compile-close-variables): Initialize it.
11097 (byte-compile--declare-var): New function.
11098 (byte-compile-file-form-defvar)
11099 (byte-compile-file-form-define-abbrev-table)
11100 (byte-compile-file-form-custom-declare-variable): Use it.
11101 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11102 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11103 (byte-compile-bind): Handle dynamic bindings that shadow
11104 lexical bindings.
11105 (byte-compile-unbind): Make arg non-optional.
11106 (byte-compile-let): Simplify.
11107 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11108 (cconv--analyse-function, cconv-analyse-form): Populate it.
11109 Protect byte-compile-bound-variables to limit the scope of defvars.
11110 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11111 Remove unneeded rule for `declare'.
11112
11113 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11114 so as to avoid depending on cl-adjoin at run-time.
11115 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11116
11117 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11118 (macroexp--warn-and-return): Use it.
11119
111202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11121
11122 * subr.el: Convert to lexical binding.
11123 (overriding-local-map): Make obsolete.
11124 (add-to-list): Doc fix. Add compiler macro.
11125 (read-key): Swap values of local maps.
11126
111272013-06-05 Leo Liu <sdl.web@gmail.com>
11128
11129 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11130
111312013-06-04 Leo Liu <sdl.web@gmail.com>
11132
11133 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11134 (compilation-auto-jump): Suppress the "Mark set" message to give
11135 way to exit message.
11136
111372013-06-04 Alan Mackenzie <acm@muc.de>
11138
11139 Remove faulty optimisation from indentation calculation.
11140 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11141 search limit based on 2000 characters back from indent-point.
11142
111432013-06-03 Tassilo Horn <tsdh@gnu.org>
11144
11145 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11146
111472013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * emacs-lisp/lisp.el: Use lexical-binding.
11150 (lisp--local-variables-1, lisp--local-variables): New functions.
11151 (lisp--local-variables-completion-table): New var.
11152 (lisp-completion-at-point): Use it complete let-bound vars.
11153
11154 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11155 eagerly (bug#14422).
11156
111572013-06-03 Michael Albinus <michael.albinus@gmx.de>
11158
11159 * autorevert.el (auto-revert-notify-enabled)
11160 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11161 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11162 (auto-revert-notify-handler): Handle also gfilenotify.
11163
11164 * subr.el (file-notify-handle-event): New defun. Replacing ...
11165 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11166 Remove.
11167
111682013-06-03 Juri Linkov <juri@jurta.org>
11169
11170 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11171 `M-s h .'. (Bug#14427)
11172
11173 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11174 command `hi-lock-face-symbol-at-point'.
11175 (hi-lock-face-symbol-at-point): New command.
11176 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11177 (hi-lock-menu): Add `highlight-symbol-at-point'.
11178 (hi-lock-mode): Doc fix.
11179
11180 * isearch.el (isearch-forward-symbol-at-point): New command.
11181 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11182 (isearch-highlight-regexp): Add a regexp which matches
11183 words/symbols for word/symbol mode.
11184
11185 * subr.el (find-tag-default-bounds): New function with the body
11186 mostly moved from `find-tag-default'.
11187 (find-tag-default): Move most code to `find-tag-default-bounds',
11188 call it and apply `buffer-substring-no-properties' afterwards.
11189
111902013-06-03 Tassilo Horn <tsdh@gnu.org>
11191
11192 * eshell/em-term.el (eshell-term-initialize):
11193 Use `cl-intersection' rather than `intersection'.
11194
111952013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11196
11197 * vc/log-view.el: Doc fix.
11198 (log-view-mode-map): Copy keymap from `special-mode-map'.
11199
112002013-06-02 Eric Ludlam <zappo@gnu.org>
11201
11202 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11203 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11204 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11205 (eieio-unbound, eieio-default-superclass)
11206 (eieio--define-field-accessors, method-static, method-before)
11207 (method-primary, method-after, method-num-lists)
11208 (method-generic-before, method-generic-primary)
11209 (method-generic-after, method-num-slots)
11210 (eieio-specialized-key-to-generic-key)
11211 (eieio--check-type, class-v, class-p)
11212 (eieio-class-name, define-obsolete-function-alias)
11213 (eieio-class-parents-fast, eieio-class-children-fast)
11214 (same-class-fast-p, class-constructor, generic-p)
11215 (generic-primary-only-p, generic-primary-only-one-p)
11216 (class-option-assoc, class-option, eieio-object-p)
11217 (class-abstract-p, class-method-invocation-order)
11218 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11219 (eieio-class-un-autoload, eieio-defclass)
11220 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11221 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11222 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11223 (eieio-defgeneric-reset-generic-form)
11224 (eieio-defgeneric-form-primary-only)
11225 (eieio-defgeneric-reset-generic-form-primary-only)
11226 (eieio-defgeneric-form-primary-only-one)
11227 (eieio-defgeneric-reset-generic-form-primary-only-one)
11228 (eieio-unbind-method-implementations)
11229 (eieio--defmethod, eieio--typep)
11230 (eieio-perform-slot-validation, eieio-validate-slot-value)
11231 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11232 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11233 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11234 (eieio-slot-name-index, eieio-class-slot-name-index)
11235 (eieio-set-defaults, eieio-initarg-to-attribute)
11236 (eieio-attribute-to-initarg, eieio-c3-candidate)
11237 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11238 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11239 (eieio-class-precedence-list, eieio-generic-call-methodname)
11240 (eieio-generic-call-arglst, eieio-generic-call-key)
11241 (eieio-generic-call-next-method-list)
11242 (eieio-pre-method-execution-functions, eieio-generic-call)
11243 (eieio-generic-call-primary-only, eieiomt-method-list)
11244 (eieiomt-optimizing-obarray, eieiomt-install)
11245 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11246 (eieio-generic-form, eieio-defmethod, make-obsolete)
11247 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11248 (defclass): Remove `eval-and-compile' from macro.
11249 (call-next-method, shared-initialize): Instead of using
11250 `scoped-class' variable, use new eieio--scoped-class, and
11251 eieio--with-scoped-class.
11252 (initialize-instance): Rename local variable 'scoped-class' to
11253 'this-class' to remove ambiguitity from old global.
11254
11255 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11256 eieio.el.
11257 (eieio--scoped-class-stack): New variable.
11258 (eieio--scoped-class): New fcn.
11259 (eieio--with-scoped-class): New scoping macro.
11260 (eieio-defclass): Use pushnew instead of add-to-list.
11261 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11262 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11263 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11264 `scoped-class' variable, use new eieio--scoped-class, and
11265 eieio--with-scoped-class.
11266
11267 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11268
112692013-06-02 Tassilo Horn <tsdh@gnu.org>
11270
11271 * eshell/esh-ext.el (eshell-external-command): Pass args to
11272 `eshell-find-interpreter'.
11273 (eshell-find-interpreter): Add new second parameter ARGS.
11274
11275 * eshell/em-script.el (eshell-script-initialize): Add second arg
11276 to the function added as MATCH to `eshell-interpreter-alist'.
11277
11278 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11279 the function added as MATCH to `eshell-interpreter-alist'.
11280
11281 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11282 (eshell-visual-options): New defcustom.
11283 (eshell-escape-control-x): Adapt docstring.
11284 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11285 `eshell-visual-options' in addition to `eshell-visual-commands'.
11286 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11287
112882013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11289
11290 * progmodes/python.el (python-indent-block-enders): Add break,
11291 continue and raise keywords.
11292
112932013-06-01 Glenn Morris <rgm@gnu.org>
11294
11295 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11296
11297 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11298 * progmodes/cc-cmds.el (delete-forward-p):
11299 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11300 * progmodes/cc-engine.el (buffer-syntactic-context):
11301 * progmodes/cc-fonts.el (face-property-instance):
11302 * progmodes/cc-mode.el (set-keymap-parents):
11303 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11304 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11305 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11306 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11307 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11308
11309 * progmodes/cc-vars.el (other): Emacs has this widget since
11310 at least 21.1, so don't (re)define it.
11311
11312 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11313 Replace the obsolete alias pcomplete-arg-quote-list.
11314
113152013-06-01 Leo Liu <sdl.web@gmail.com>
11316
11317 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11318 punctuation syntax.
11319 (inferior-octave-minimal-columns)
11320 (inferior-octave-last-column-width): New variables.
11321 (inferior-octave-track-window-width-change): New function.
11322 (inferior-octave-mode): Adjust column width so that Octave output,
11323 for example from 'ls', can fit into the window nicely.
11324
113252013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11326
11327 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11328 Highlight expansions inside regexp literals.
11329
113302013-05-31 Glenn Morris <rgm@gnu.org>
11331
11332 * obsolete/sym-comp.el (symbol-complete):
11333 Replace obsolete completion-annotate-function.
11334
11335 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11336
113372013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11338
11339 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11340 New function, checks if point is inside a literal that allows
11341 expression expansion.
11342 (ruby-syntax-propertize-expansion): Use it.
11343 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11344 around the body.
11345
113462013-05-30 Juri Linkov <juri@jurta.org>
11347
11348 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11349 to "\M-si".
11350 (isearch-invisible): New variable.
11351 (isearch-forward): Doc fix.
11352 (isearch-mode): Set `isearch-invisible'
11353 to the value of `search-invisible'.
11354 (isearch-toggle-case-fold): Doc fix.
11355 (isearch-toggle-invisible): New command.
11356 (isearch-query-replace): Let-bind `search-invisible'
11357 to the value of `isearch-invisible'.
11358 (isearch-search): Use `isearch-invisible' instead of
11359 `search-invisible'. Let-bind `search-invisible'
11360 to the value of `isearch-invisible'. (Bug#11378)
11361
113622013-05-30 Juri Linkov <juri@jurta.org>
11363
11364 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11365 call when `query-flag' is nil and `search-invisible' is non-nil.
11366 (Bug#11746)
11367
113682013-05-30 Glenn Morris <rgm@gnu.org>
11369
11370 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11371
11372 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11373 (cc-require): Suppress spurious "noruntime" warnings.
11374 (cc-require-when-compile): Use fboundp, for sake of compiler.
11375
11376 * progmodes/cc-mode.el: Move load of cc-vars before that of
11377 cc-langs (which in turn loads cc-vars), to quieten compiler.
11378
113792013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11380
11381 * paren.el: Simplify the code.
11382 (show-paren-mode): Always start the timer.
11383 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11384 (show-paren--overlay, show-paren--overlay-1): Rename from
11385 show-paren-overlay and show-paren-overlay-1, and initialize to an
11386 overlay rather than to nil.
11387 (show-paren-function): Misc cleanup and simplifications.
11388
113892013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 * paren.el (show-paren-data-function): New hook.
11392 (show-paren--default): New function, extracted from show-paren-function.
11393 (show-paren-function): Use show-paren-data-function.
11394
113952013-05-30 Glenn Morris <rgm@gnu.org>
11396
11397 * ielm.el (ielm-map, ielm-complete-symbol):
11398 Use completion-at-point rather than obsolete functions.
11399 (inferior-emacs-lisp-mode): Doc fix.
11400 Set completion-at-point-functions, rather than
11401 comint-dynamic-complete-functions.
11402
11403 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11404 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11405 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11406
11407 * image.el (image-animated-p): Tweak definition.
11408
11409 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11410 (rlogin-process-connection-type): Tweak default. Add set-after.
11411 (rlogin-host): Doc fix.
11412 (rlogin): Tweak prompt.
11413 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11414
11415 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11416 * progmodes/tcl.el (inferior-tcl-mode-map):
11417 Use completion-at-point rather than obsolete alias.
11418
11419 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11420
11421 * minibuffer.el (read-file-name-completion-ignore-case):
11422 Move before completion--in-region, for eager macro expansion.
11423
114242013-05-29 Juri Linkov <juri@jurta.org>
11425
11426 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11427 for total count of matching lines. Add `global-matches' for total
11428 count of matches. Rename `matches' to `lines' for count of
11429 matching lines. Add `matches' for count of matches.
11430 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11431 to `prev-line' for line number of prev match endpt.
11432 Increment `matches' for every match. Print the number of
11433 matching lines in the header.
11434 (occur-context-lines): Rename `lines' to `curr-line'.
11435 Rename `prev-lines' to `prev-line'. (Bug#14017)
11436
114372013-05-29 Juri Linkov <juri@jurta.org>
11438
11439 * replace.el (perform-replace): Add `skip-read-only-count',
11440 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11441 Increment them for corresponding conditions and report the number
11442 of skipped occurrences in the final message. (Bug#11746)
11443 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11444 (replace-string, replace-regexp): Doc fix.
11445
114462013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11447
11448 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11449
11450 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11451 prog-mode-map (bug#14504).
11452
114532013-05-29 Leo Liu <sdl.web@gmail.com>
11454
11455 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11456 (octave-help): Small simplification.
11457
11458 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11459 off the highlight first.
11460
114612013-05-29 Glenn Morris <rgm@gnu.org>
11462
11463 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11464 Handle idlwave-last-system-routine-info-cons-cell being nil.
11465
11466 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11467 (idlwave-write-paths): Simplify via with-temp-buffer.
11468
11469 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11470 * emulation/cua-rect.el: Also load cua-base at run time.
11471
11472 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11473 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11474 (cperl-imenu-on-info): Require imenu.
11475
114762013-05-28 Alan Mackenzie <acm@muc.de>
11477
11478 Handle "capitalised keywords" correctly.
11479 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11480
114812013-05-28 Aidan Gauland <aidalgol@amuri.net>
11482
11483 * eshell/em-unix.el: Add -r option to cp.
11484
114852013-05-28 Glenn Morris <rgm@gnu.org>
11486
11487 * vc/vc-arch.el (vc-exec-after): Declare.
11488 (vc-switches): Autoload.
11489 * vc/vc-bzr.el: No need to require vc when compiling.
11490 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11491 (vc-resynch-buffer, vc-dir-refresh): Declare.
11492 (vc-setup-buffer, vc-switches): Autoload.
11493 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11494 (vc-resynch-buffer): Declare.
11495 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11496 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11497 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11498 (grep-read-regexp, grep-read-files, grep-expand-template)
11499 (vc-dir-refresh): Declare.
11500 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11501 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11502 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11503 * vc/vc-mtn.el (vc-exec-after): Declare.
11504 (vc-switches): Autoload.
11505 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11506 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11507 (vc-file-tree-walk): Declare.
11508 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11509 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11510 (vc-tag-precondition, vc-rename-master): Autoload.
11511 * vc/vc-svn.el (vc-exec-after): Declare.
11512 (vc-switches, vc-setup-buffer): Autoload.
11513 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11514 Autoload.
11515 (vc-resynch-buffer): Declare.
11516
11517 * obsolete/fast-lock.el (byte-compile-warnings):
11518 Don't warn about obsolete features in this obsolete file.
11519
11520 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11521 Move definition before use.
11522
11523 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11524 (dun-unix-verbs): Remove dun-zippy.
11525 (dun-zippy): Remove function.
11526
11527 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11528
115292013-05-27 Juri Linkov <juri@jurta.org>
11530
11531 * replace.el (replace-search): New function with code moved out
11532 from `perform-replace'.
11533 (replace-highlight, replace-dehighlight): Move function definitions
11534 up closer to `replace-search'. (Bug#11746)
11535
115362013-05-27 Juri Linkov <juri@jurta.org>
11537
11538 * replace.el (perform-replace): Ignore invisible matches.
11539 In addition to checking `query-replace-skip-read-only', also
11540 filter out matches by calling `run-hook-with-args-until-failure'
11541 on `isearch-filter-predicates', and also check `search-invisible'
11542 for t or call `isearch-range-invisible'.
11543 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11544
115452013-05-27 Juri Linkov <juri@jurta.org>
11546
11547 * isearch.el (isearch-filter-predicates): Rename from
11548 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11549 (isearch-message-prefix): Display text from the property
11550 `isearch-message-prefix' of the currently active filters.
11551 (isearch-search): Don't compare `isearch-filter-predicate' with
11552 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11553 on `isearch-filter-predicates'. Also check `search-invisible' for t
11554 or call `isearch-range-invisible'.
11555 (isearch-filter-visible): Make obsolete.
11556 (isearch-lazy-highlight-search):
11557 Call `run-hook-with-args-until-failure' on
11558 `isearch-filter-predicates' and use `isearch-range-invisible'.
11559
11560 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11561 `isearch-filter-predicates' instead of `funcall'ing
11562 `isearch-filter-predicate'.
11563 (Info-mode): Set `Info-isearch-filter' to
11564 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11565
11566 * dired-aux.el (dired-isearch-filter-predicate-orig):
11567 Remove variable.
11568 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11569 (dired-isearch-filenames-end): Add and remove
11570 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11571 instead of changing the value of `isearch-filter-predicate'.
11572 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11573 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11574 Put property `isearch-message-prefix' to "filename " on
11575 `dired-isearch-filter-filenames'.
11576
11577 * wdired.el (wdired-change-to-wdired-mode):
11578 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11579 locally instead of changing `isearch-filter-predicate'.
11580 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11581
115822013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11583
11584 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11585 return the commit hash (Bug#14459). Also set the
11586 `vc-git-detached' property.
11587 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11588 (vc-git-mode-line-string): Use the same help-echo format whether
11589 in detached mode or not, because we know the actual revision now.
11590 When in detached mode, shorten the revision to 7 chars.
11591
115922013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11593
11594 * emacs-lisp/easy-mmode.el (define-minor-mode):
11595 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11596 mode hook and provide a docstring.
11597
115982013-05-27 Alan Mackenzie <acm@muc.de>
11599
11600 Remove spurious syntax-table text properties inserted by C-y.
11601 * progmodes/cc-mode.el (c-after-change): Also clear hard
11602 syntax-table property with value nil.
11603
116042013-05-27 Michael Albinus <michael.albinus@gmx.de>
11605
11606 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11607 when reading the events; the buffer layout shall not be changed.
11608
116092013-05-27 Leo Liu <sdl.web@gmail.com>
11610
11611 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11612 New variable.
11613 (inferior-octave-directory-tracker): Automatically re-sync
11614 default-directory.
11615 (octave-help): Improve handling of 'See also'.
11616
116172013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11618
11619 * doc-view.el: Minor naming convention tweaks.
11620 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11621
11622 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11623 even if there's no `display' property yet (bug#14435).
11624
116252013-05-25 Eli Zaretskii <eliz@gnu.org>
11626
11627 * subr.el (unmsys--file-name): Rename from reveal-filename.
11628
11629 * Makefile.in (custom-deps, finder-data, autoloads)
11630 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11631 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11632 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11633
116342013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11635
11636 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11637 error-completion on the first 2 args of condition-case (bug#14446).
11638 Don't burp at EOB.
11639
116402013-05-25 Leo Liu <sdl.web@gmail.com>
11641
11642 * comint.el (comint-previous-matching-input): Do not flood the
11643 *Messages* buffer with trivial messages.
11644
116452013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * progmodes/flymake.el (flymake-nop): Don't return a string.
11648 (flymake-set-at): Fix typo.
11649
11650 * simple.el (read--expression): New function, extracted from
11651 eval-expression. Set completion-at-point-functions (bug#14465).
11652 (eval-expression, eval-minibuffer): Use it.
11653
116542013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11655
11656 * progmodes/flymake.el (flymake-save-buffer-in-file)
11657 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11658 (flymake-selected-frame, flymake-log, flymake-ins-after)
11659 (flymake-set-at, flymake-get-buildfile-from-cache)
11660 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11661 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11662 Refine the doc string.
11663 (flymake-get-file-name-mode-and-masks): Reformat.
11664 (flymake-get-real-file-name-function): Fix a minor bug.
11665
116662013-05-24 Juri Linkov <juri@jurta.org>
11667
11668 * progmodes/grep.el (grep-mode-font-lock-keywords):
11669 Support =linenumber= format used by git-grep for lines with
11670 function names. (Bug#13549)
11671
116722013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11673
11674 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11675 0 after a semi-colon; it works better for smie-auto-fill.
11676 (octave--indent-new-comment-line): New function.
11677 (octave-indent-new-comment-line): Use it (indirectly).
11678 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11679 modify comment-line-break-function.
11680
11681 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11682 (smie-setup): Use add-function to set it.
11683
116842013-05-24 Sam Steingold <sds@gnu.org>
11685
11686 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11687 argument (before the `interactive' argument).
11688
116892013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11690
11691 * image-mode.el (image-mode-winprops): Add winprops to
11692 image-mode-winprops-alist before running
11693 image-mode-new-window-functions.
11694 * doc-view.el (doc-view-new-window-function): Don't delay
11695 doc-view-goto-page via timers (bug#14435).
11696
116972013-05-24 Tassilo Horn <tsdh@gnu.org>
11698
11699 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11700 (doc-view-desktop-save-buffer): New function.
11701 (doc-view-restore-desktop-buffer): New function.
11702 (desktop-buffer-mode-handlers):
11703 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11704 handler.
11705 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11706 `desktop-save-buffer' function.
11707
117082013-05-24 Michael Albinus <michael.albinus@gmx.de>
11709
11710 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11711 (tramp-gvfs-file-name-handler): Raise a user error when
11712 `tramp-gvfs-enabled' is nil.
11713 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11714 Do not raise a user error when loading package. (Bug#14447)
11715
11716 * net/xesam.el: Move to obsolete/.
11717
117182013-05-24 Glenn Morris <rgm@gnu.org>
11719
11720 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11721
11722 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11723
11724 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11725 (Info-find-node, Man-getpage-in-background): Declare.
11726
11727 * mail/unrmail.el (unrmail):
11728 Replace obsolete detect-coding-with-priority.
11729
11730 * net/socks.el (socks-split-string): Use this rather than split-string.
11731 (socks-nslookup-host): Update for above change.
11732 (dynamic-choice, s5-dynamic-choice-match)
11733 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11734 Comment out unused code.
11735
11736 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11737 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11738 (gud-tooltip-echo-area): Make obsolete.
11739 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11740
11741 * progmodes/js.el (js--optimize-arglist): Declare.
11742
11743 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11744
11745 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11746 (ediff-window-C): Declare.
11747
11748 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11749 Tweak requires to silence compiler.
11750
11751 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11752 (he-search-string, he-tried-table, he-expand-list)
11753 (he-init-string, he-string-member, he-substitute-string)
11754 (he-reset-string): Declare.
11755
11756 * obsolete/options.el (list-options): Use custom-variable-p,
11757 rather than obsolete alias.
11758
117592013-05-23 Sam Steingold <sds@gnu.org>
11760
11761 * simple.el (shell-command-on-region): Pass the `replace' argument
11762 down to `call-process-region' to comply with the doc as reported on
11763 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11764
117652013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11766
11767 * emacs-lisp/smie.el (smie-indent-forward-token)
11768 (smie-indent-backward-token): Handle string tokens (bug#14381).
11769
117702013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11771
11772 * ielm.el (ielm-menu): New menu.
11773 (inferior-emacs-lisp-mode): Set comment-start.
11774
117752013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11776
11777 * textmodes/reftex.el (reftex-ref-style-toggle):
11778 Fix deactivate action.
11779
11780 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11781 Add cleveref macros.
11782
11783 * textmodes/reftex-parse.el
11784 (reftex-locate-bibliography-files): Accept options for
11785 bibliography commands.
11786 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11787 Add addbibresource. Basic Biblatex support.
11788
117892013-05-23 Michael Albinus <michael.albinus@gmx.de>
11790
11791 * net/tramp-gvfs.el (top):
11792 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11793 when loading package. (Bug#14447)
11794
117952013-05-23 Glenn Morris <rgm@gnu.org>
11796
11797 * progmodes/js.el: No need to load comint when compiling.
11798 (ring-insert, comint-send-string, comint-send-input)
11799 (comint-last-input-end, ido-chop): Declare.
11800
11801 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11802 * vc/ediff-mult.el: Adjust requires.
11803 (ediff-directories-internal, ediff-directory-revisions-internal)
11804 (ediff-patch-file-internal): Declare.
11805 * vc/ediff-ptch.el: Adjust requires.
11806 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11807 (ediff-find-file): Autoload.
11808 * vc/ediff-util.el: No need to load ediff when compiling.
11809 (ediff-regions-internal): Declare.
11810 * vc/ediff-wind.el: Adjust requires.
11811 (ediff-compute-toolbar-width): Define when compiling.
11812 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11813 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11814 (dired-get-filename, dired-get-marked-files)
11815 (ediff-last-dir-patch, ediff-patch-default-directory)
11816 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11817 (ediff-patch-buffer-internal): Declare.
11818
11819 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11820 (ispell-process, ispell-buffer-local-words, lm-summary)
11821 (lm-section-start, lm-section-end): Declare.
11822 (checkdoc-ispell-init): Simplify.
11823
11824 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11825 (he-string-member, he-reset-string, he-substitute-string): Declare.
11826
11827 * eshell/em-ls.el: Adjust requires.
11828 (eshell-glob-regexp): Declare.
11829 * eshell/em-tramp.el: Adjust requires.
11830 (eshell-parse-command): Autoload.
11831 * eshell/em-xtra.el: Adjust requires.
11832 (eshell-parse-command): Autoload.
11833 * eshell/esh-ext.el: Adjust requires.
11834 (eshell-parse-command, eshell-close-handles): Autoload.
11835 * eshell/esh-io.el: Adjust requires.
11836 (eshell-output-filter): Autoload.
11837 * eshell/esh-util.el: No need to load tramp when compiling.
11838 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11839 Declare.
11840 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11841 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11842 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11843 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11844 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11845 * eshell/esh-opt.el, eshell/esh-proc.el:
11846 * eshell/esh-var.el: Adjust requires.
11847 * eshell/eshell.el: Do not require esh-util twice.
11848 (eshell-add-input-to-history): Declare.
11849 (eshell-command): Check history module is active before using it.
11850
11851 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11852
118532013-05-22 Leo Liu <sdl.web@gmail.com>
11854
11855 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11856
118572013-05-22 Michael Albinus <michael.albinus@gmx.de>
11858
11859 * autorevert.el (auto-revert-notify-add-watch)
11860 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11861 it indicates changes in file modification time.
11862
118632013-05-22 Glenn Morris <rgm@gnu.org>
11864
11865 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11866 Always delete the autoloaded function from the noruntime and
11867 unresolved functions lists.
11868
11869 * allout.el: No need to load epa, epg, overlay when compiling.
11870 (epg-context-set-passphrase-callback, epg-list-keys)
11871 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11872 (epg-key-user-id-list): Declare.
11873
11874 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11875 (viper-set-parsing-style-toggling-macro)
11876 (viper-set-emacs-state-searchstyle-macros):
11877 Use called-interactively-p on Emacs.
11878 (viper-looking-back): Make it an obsolete alias. Update callers.
11879 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11880 Use looking-back rather than viper-looking-back.
11881 (viper-tmp-insert-at-eob, viper-enlarge-region)
11882 (viper-read-string-with-history, viper-register-to-point)
11883 (viper-append-to-register, viper-change-state-to-vi)
11884 (viper-backward-char-carefully, viper-forward-char-carefully)
11885 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11886 (viper-change-state-to-emacs): Declare.
11887 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11888 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11889 * emulation/viper-mous.el: Do not load viper-cmd.
11890 (viper-backward-char-carefully, viper-forward-char-carefully)
11891 (viper-forward-word, viper-adjust-window): Declare.
11892
11893 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11894
11895 * progmodes/idlw-help.el (idlwave-help-fontify):
11896 Use called-interactively-p.
11897
11898 * term/w32console.el (w32-get-console-codepage)
11899 (w32-get-console-output-codepage): Declare.
11900
11901 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11902 Remove unnecessary declarations.
11903 (dframe-message): Doc fix.
11904
11905 * info.el (dframe-select-attached-frame, dframe-current-frame):
11906 Declare.
11907
11908 * speedbar.el (speedbar-message): Make it an obsolete alias.
11909 Update all callers.
11910 (speedbar-with-attached-buffer)
11911 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11912 (speedbar-with-writable): Use backquote.
11913 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11914 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11915 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11916 rather than speedbar- aliases.
11917 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11918 (speedbar-make-specialized-keymap, speedbar-insert-button)
11919 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11920 (speedbar-do-function-pointer): Declare.
11921 (rmail-speedbar-button, rmail-speedbar-find-file)
11922 (rmail-speedbar-move-message):
11923 Use dframe-with-attached-buffer rather than speedbar- alias.
11924 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11925 (dframe-message, speedbar-make-specialized-keymap)
11926 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11927 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11928 (speedbar-insert-button, dframe-select-attached-frame)
11929 (dframe-maybee-jump-to-attached-frame)
11930 (speedbar-change-initial-expansion-list)
11931 (speedbar-previously-used-expansion-list-name): Declare.
11932 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11933 Use dframe-message, dframe-with-attached-buffer rather than
11934 speedbar- aliases.
11935 (gud-sentinel): Silence compiler.
11936 * progmodes/vhdl-mode.el (speedbar-refresh)
11937 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11938 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11939 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11940 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11941 (speedbar-file-lists, speedbar-make-tag-line)
11942 (speedbar-line-directory, speedbar-goto-this-file)
11943 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11944 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11945 (speedbar-make-button, speedbar-reset-scanners)
11946 (speedbar-files-item-info, speedbar-line-text)
11947 (speedbar-find-file-in-frame, speedbar-set-timer)
11948 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11949 (speedbar-with-writable): Do not (re)define it.
11950 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11951 rather than speedbar- alias.
11952
119532013-05-21 Leo Liu <sdl.web@gmail.com>
11954
11955 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11956 menu items.
11957 (octave-mode): Tweak fill-nobreak-predicate.
11958 (inferior-octave-startup): Check process to avoid infinite loop.
11959 (inferior-octave): Pop to buffer first to show abornmal process
11960 exit information.
11961
119622013-05-21 Glenn Morris <rgm@gnu.org>
11963
11964 * printing.el (pr-menu-bar): Define when compiling.
11965
119662013-05-21 Leo Liu <sdl.web@gmail.com>
11967
11968 * progmodes/octave.el (octave-auto-fill): Remove.
11969 (octave-indent-new-comment-line): Improve.
11970 (octave-mode): Use auto fill mode through
11971 comment-line-break-function and fill-nobreak-predicate.
11972 (octave-goto-function-definition): Support DEFUN_DLD.
11973 (octave-beginning-of-defun): Small tweak.
11974 (octave-help): Show parent directory.
11975
119762013-05-21 Glenn Morris <rgm@gnu.org>
11977
11978 * files.el (dired-unmark):
11979 * progmodes/gud.el (gdb-input): Update declarations.
11980
11981 * calculator.el (electric, ehelp): No need to load when compiling.
11982 (Electric-command-loop, electric-describe-mode): Declare.
11983
11984 * doc-view.el (doc-view-current-converter-processes): Move before use.
11985
11986 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11987 Move MODE-set-explicitly definition before use.
11988
11989 * international/mule-diag.el (mule-diag):
11990 Don't use obsolete window-system-version.
11991
11992 * mail/feedmail.el (smtpmail): No need to load when compiling.
11993 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11994
11995 * mail/mail-utils.el (rfc822): No need to load when compiling.
11996 (rfc822-addresses): Autoload it.
11997 (mail-strip-quoted-names): Trivial simplification.
11998
11999 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12000 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12001
12002 * net/snmp-mode.el (tempo): Don't duplicate requires.
12003
12004 * progmodes/prolog.el (info): No need to load when compiling.
12005 (comint): Require before shell requires it.
12006 (Info-goto-node): Autoload it.
12007 (Info-follow-nearest-node): Declare.
12008 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12009
12010 * textmodes/artist.el (picture-mode-exit): Declare.
12011
12012 * textmodes/reftex-parse.el (reftex-parse-from-file):
12013 Trivial rewrite so the compiler can parse it better.
12014
120152013-05-20 Leo Liu <sdl.web@gmail.com>
12016
12017 * progmodes/octave.el (octave-help-mode-map)
12018 (octave-help-mode-finish-hook): New variables.
12019 (octave-help-mode, octave-help-mode-finish): New functions.
12020 (octave-help): Use octave-help-mode.
12021
120222013-05-20 Glenn Morris <rgm@gnu.org>
12023
12024 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12025
120262013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12027
12028 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12029 start at point, so that expansion starting right after opening
12030 slash in a regexp is recognized.
12031 (ruby-syntax-before-regexp-re): New defvar, extracted from
12032 ruby-syntax-propertize-function. Since the value of this regexp
12033 is looked up at runtime now, we should be able to turn
12034 `ruby-syntax-methods-before-regexp' into a defcustom later.
12035 (ruby-syntax-propertize-function): Split regexp matching into two
12036 parts, for opening and closing slashes. That allows us to skip
12037 over string interpolations and support multiline regexps.
12038 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12039 for them, which calls `ruby-syntax-propertize-expansion'.
12040 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12041 call to `ruby-syntax-propertize-function'.
12042 (ruby-syntax-propertize-expansion): Extracted from
12043 `ruby-syntax-propertize-expansions'. Handles one expansion.
12044 (ruby-syntax-propertize-percent-literal): Leave point right after
12045 the percent symbol, so that the expression expansion rule can
12046 propertize the contents.
12047 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12048 heredoc openers.
12049 (ruby-syntax-propertize-expansions): Remove.
12050
120512013-05-18 Juri Linkov <juri@jurta.org>
12052
12053 * man.el (Man-default-man-entry): Remove `-' from the end
12054 of the default value. (Bug#14400)
12055
120562013-05-18 Glenn Morris <rgm@gnu.org>
12057
12058 * comint.el (comint-password-prompt-regexp):
12059 Allow "password for XXX" where XXX contains colons (eg https://...).
12060
120612013-05-18 Leo Liu <sdl.web@gmail.com>
12062
12063 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12064 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12065 (octave-source-directories): Don't check process.
12066 (octave-source-directories, octave-find-definition): Doc fix.
12067
120682013-05-18 Glenn Morris <rgm@gnu.org>
12069
12070 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12071 Remove backspace/delete bindings. (Bug#14392)
12072
12073 * cus-dep.el (custom-make-dependencies): Sort the output.
12074 (custom-versions-load-alist): Convert comment to doc.
12075
120762013-05-17 Leo Liu <sdl.web@gmail.com>
12077
12078 * newcomment.el (comment-search-backward): Stricter in finding
12079 comment start. (Bug#14303)
12080
12081 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12082 (octave-comment-start-skip): Properly anchored.
12083
120842013-05-17 Leo Liu <sdl.web@gmail.com>
12085
12086 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12087 Clean up when turned off. (Bug#14395)
12088 (smie--highlight-matching-block-overlay): No longer buffer-local.
12089 (smie-highlight-matching-block): Adjust.
12090
120912013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12092
12093 Doc string fix for "nanoseconds" (Bug#14406).
12094 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12095 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12096
120972013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12098
12099 * calc/calc-units.el (math-extract-units): Preserve powers
12100 of units.
12101
121022013-05-17 Leo Liu <sdl.web@gmail.com>
12103
12104 * subr.el (delete-consecutive-dups): New function.
12105 * ido.el (ido-set-matches-1): Use it.
12106 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12107 * ido.el (ido-remove-consecutive-dups): Remove.
12108
121092013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12110
12111 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12112 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12113 regexp-opt's `words'.
12114
121152013-05-16 Leo Liu <sdl.web@gmail.com>
12116
12117 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12118 (smie--highlight-matching-block-overlay)
12119 (smie--highlight-matching-block-lastpos)
12120 (smie--highlight-matching-block-timer): New variables.
12121 (smie-highlight-matching-block): New function.
12122 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12123 (smie-setup): Conditionally enable smie-blink-matching-open.
12124
121252013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12126
12127 Sync with upstream verilog-mode r840.
12128 * progmodes/verilog-mode.el (verilog-mode-version)
12129 (verilog-mode-release-date): Update.
12130 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12131 (verilog-sig-tieoff): Fix string error on
12132 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12133 (verilog-read-decls): Fix parameters confusing
12134 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12135
121362013-05-16 Eli Zaretskii <eliz@gnu.org>
12137
12138 * subr.el (reveal-filename): New function.
12139
12140 * loadup.el: Compute Emacs executable versions on MS-Windows,
12141 where executables have the .exe extension. Add a hard link
12142 emacs-XX.YY.ZZ.exe on MS-Windows.
12143
12144 * Makefile.in (XARGS_LIMIT): New variable.
12145 (custom-deps, finder-data, autoloads)
12146 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12147 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12148 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12149 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12150
121512013-05-16 Leo Liu <sdl.web@gmail.com>
12152
12153 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12154 (octave-mode-menu, octave-mode-map): Remove its uses.
12155
121562013-05-16 Reto Zimmermann <reto@gnu.org>
12157
12158 Sync with upstream vhdl mode v3.34.2.
12159 * progmodes/vhdl-mode.el: Use `push' throughout.
12160 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12161 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12162 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12163 (vhdl-actual-generic-name): New option to derive actual generic name.
12164 (vhdl-port-paste-signals): Replace formal by actual generics.
12165 (vhdl-beautify): New name for old group vhdl-align. Update users.
12166 (vhdl-beautify-options): New option.
12167 (vhdl-last-input-event): New compat alias. Use throughout.
12168 (vhdl-goto-line): Replace user level function `goto-line'.
12169 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12170 vhdl-fix-statement-buffer.
12171 (vhdl-create-mode-menu): Add some entries.
12172 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12173 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12174 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12175 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12176 to force statements on one line.
12177 (vhdl-remove-trailing-spaces-region):
12178 New, split from vhdl-remove-trailing-spaces.
12179 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12180 Respect vhdl-beautify-options.
12181 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12182 (vhdl-update-sensitivity-list): Not add with index if exists without.
12183 Not include array index with signal. Ignore keywords in comments.
12184 (vhdl-get-visible-signals): Regexp tweaks.
12185 (vhdl-template-component-inst): Handle empty library.
12186 (vhdl-template-type): Add template for 'enum' type.
12187 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12188 Use vhdl-replace-string.
12189 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12190 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12191 (vhdl-speedbar-initialize): Update for above name change.
12192 (vhdl-compose-wire-components): Fix in handling of constants.
12193 (vhdl-error-regexp-emacs-alist): New variable.
12194 (vhdl-error-regexp-add-emacs): New function;
12195 adds support for new compile.el (Emacs 22+)
12196 (vhdl-generate-makefile-1): Change target order for single lib. units.
12197 Allow use of absolute file names.
12198
121992013-05-16 Leo Liu <sdl.web@gmail.com>
12200
12201 * simple.el (prog-indent-sexp): Indent enclosing defun.
12202
122032013-05-15 Glenn Morris <rgm@gnu.org>
12204
12205 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12206 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12207 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12208 (whitespace-highlight): Move to whitespace group.
12209
12210 * comint.el (comint-source):
12211 * pcmpl-linux.el (pcmpl-linux):
12212 * shell.el (shell-faces):
12213 * eshell/esh-opt.el (eshell-opt):
12214 * international/ccl.el (ccl): Remove empty custom groups.
12215
12216 * completion.el (dynamic-completion-mode):
12217 * jit-lock.el (jit-lock-debug-mode):
12218 * minibuffer.el (completion-in-region-mode):
12219 * type-break.el (type-break-mode-line-message-mode)
12220 (type-break-query-mode):
12221 * emulation/tpu-edt.el (tpu-edt-mode):
12222 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12223 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12224 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12225
12226 * term/xterm.el (xterm): Change parent group to terminals.
12227
12228 * master.el (master): Remove empty custom group.
12229 (master-mode): Remove unused :group argument.
12230 * textmodes/refill.el (refill): Remove empty custom group.
12231 (refill-mode): Remove unused :group argument.
12232
12233 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12234
12235 * cus-dep.el: Provide a feature.
12236 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12237 Don't mistakenly ignore files whose basenames match a basename
12238 from preloaded-file-list (eg cedet/ede/simple.el).
12239 Add a fallback method for getting :group.
12240
122412013-05-15 Juri Linkov <juri@jurta.org>
12242
12243 * isearch.el (isearch-char-by-name): Rename from
12244 `isearch-insert-char-by-name'. Doc fix.
12245 (isearch-forward): Mention `isearch-char-by-name' in
12246 the docstring. (Bug#13348)
12247
12248 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12249 `exit-minibuffer' instead of
12250 `isearch-nonincremental-exit-minibuffer'.
12251 (isearch-edit-string): Remove mention of
12252 `isearch-nonincremental-exit-minibuffer' from docstring.
12253 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12254 (isearch-forward-exit-minibuffer)
12255 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12256
122572013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12258
12259 * loadup.el: Just use unversioned DOC.
12260
12261 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12262 literals as extending to EOB.
12263 (nxml-last-fontify-end): Remove unused variable.
12264 (nxml-after-change1): Use with-silent-modifications.
12265 (nxml-extend-after-change-region): Simplify.
12266 (nxml-extend-after-change-region1): Remove function.
12267 (nxml-after-change1): Don't adjust for dependent regions.
12268 (nxml-fontify-matcher): Simplify.
12269 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12270 (xmltok-add-dependent): Remove function.
12271 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12272 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12273 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12274 unclosed <[[, <?, comment, and other literals as extending to EOB.
12275 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12276 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12277 Remove functions.
12278 (rng-do-some-validation-1): Don't mark dependent regions.
12279 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12280 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12281 (nxml-clear-dependent-regions): Remove functions.
12282 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12283 (nxml-ensure-scan-up-to-date):
12284 Don't clear&mark dependent regions.
12285
122862013-05-15 Leo Liu <sdl.web@gmail.com>
12287
12288 * progmodes/octave.el (octave-goto-function-definition):
12289 Improve and fix callers.
12290
122912013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12292
12293 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12294 the setter (bug#14387).
12295
12296 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12297 surrounding group (bug#14402).
12298
122992013-05-14 Juri Linkov <juri@jurta.org>
12300
12301 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12302 (Bug#14390)
12303
123042013-05-14 Glenn Morris <rgm@gnu.org>
12305
12306 * progmodes/f90.el (f90-imenu-generic-expression):
12307 Fix typo in 2013-05-08 change. (Bug#14402)
12308
123092013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12310
12311 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12312 Remove signals for which replies are never received.
12313
123142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12315
12316 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12317 (gdb-handler-alist, gdb-handler-number): Remove variables.
12318 (gdb-handler-list): New variable.
12319 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12320 (gdb-pending-handler-p, gdb-handle-reply)
12321 (gdb-remove-all-pending-triggers): New functions.
12322 (gdb-discard-unordered-replies): New defcustom.
12323 (gdb-handler): New defstruct.
12324 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12325 instead of gdb-pending-triggers. Update docstring.
12326 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12327 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12328 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12329 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12330 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12331 (gdb-frame-handler): Pending triggers are now automatically managed.
12332 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12333 Remove argument.
12334 (gdb-input): Automatically handles pending triggers. Update docstring.
12335 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12336 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12337 Update comments.
12338 (gdb-done-or-error): Now use gdb-handle-reply.
12339
123402013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12341
12342 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12343 gdb-debug-log.
12344
123452013-05-14 Glenn Morris <rgm@gnu.org>
12346
12347 * subr.el (user-emacs-directory-warning): New option.
12348 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12349
123502013-05-14 Leo Liu <sdl.web@gmail.com>
12351
12352 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12353 during redisplay.
12354 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12355 (octave-font-lock-texinfo-comment): Fix invalid search bound
12356 error: wrong side of point.
12357
123582013-05-14 Glenn Morris <rgm@gnu.org>
12359
12360 * progmodes/flymake.el (flymake-xml-program): New option.
12361 (flymake-xml-init): Use it.
12362
12363 * term/xterm.el: Provide a feature.
12364
12365 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12366
123672013-05-13 Glenn Morris <rgm@gnu.org>
12368
12369 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12370 Add compat aliases as a hack workaround. (Bug#14384)
12371
123722013-05-13 Leo Liu <sdl.web@gmail.com>
12373
12374 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12375 ###, and %!.
12376 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12377 C-M-q.
12378 (octave-comment-start-skip): Include %!.
12379 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12380
123812013-05-12 Leo Liu <sdl.web@gmail.com>
12382
12383 * progmodes/octave.el (inferior-octave-startup): Store the value
12384 of __octave_srcdir__ for octave-source-directories.
12385 (inferior-octave-check-process): New function refactored out of
12386 inferior-octave-send-list-and-digest.
12387 (octave-source-directories)
12388 (octave-find-definition-filename-function): New variables.
12389 (octave-source-directories)
12390 (octave-find-definition-default-filename): New functions.
12391 (octave-find-definition): Improve to find functions implemented in C++.
12392
123932013-05-12 Glenn Morris <rgm@gnu.org>
12394
12395 * calendar/diary-lib.el (diary-outlook-format-1):
12396 Don't include dayname in the output. (Bug#14349)
12397
123982013-05-11 Glenn Morris <rgm@gnu.org>
12399
12400 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12401
12402 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12403 Treat cc-provide like provide.
12404
124052013-05-11 Kevin Ryde <user42@zip.com.au>
12406
12407 * cus-dep.el (custom-make-dependencies):
12408 Use generated-autoload-load-name for the sake of files such
12409 such cedet/semantic/bovine/c.el, where the base file name
12410 is not in load-path. (Bug#5277)
12411
124122013-05-11 Glenn Morris <rgm@gnu.org>
12413
12414 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12415 Provide features.
12416
124172013-05-11 Leo Liu <sdl.web@gmail.com>
12418
12419 * progmodes/octave.el (octave-indent-comment): Improve.
12420 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12421 (octave-eldoc-function-signatures, octave-eldoc-function):
12422 New functions.
12423 (octave-mode, inferior-octave-mode): Add eldoc support.
12424
124252013-05-11 Richard Stallman <rms@gnu.org>
12426
12427 * epa.el (epa-decrypt-file): Take output file name as argument
12428 and read it using `interactive'.
12429
124302013-05-11 Leo Liu <sdl.web@gmail.com>
12431
12432 * progmodes/octave.el (octave-beginning-of-line)
12433 (octave-end-of-line): Check before using up-list because it jumps
12434 out of more syntactic contructs since moving to smie.
12435 (octave-indent-comment): New function.
12436 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12437 (octave-begin-keywords, octave-end-keywords)
12438 (octave-reserved-words, octave-smie-bnf-table)
12439 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12440
124412013-05-11 Glenn Morris <rgm@gnu.org>
12442
12443 * faces.el (internal-face-x-get-resource):
12444 * frame.el (ns-display-monitor-attributes-list):
12445 * calc/calc-aent.el (math-to-radians-2):
12446 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12447 Fix declarations.
12448
12449 * calc/calc-menu.el: Make it loadable in isolation.
12450
12451 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12452 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12453 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12454 (eudc-bbdb-query-internal): Require 'bbdb.
12455
12456 * lpr.el (lpr-headers-switches):
12457 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12458
12459 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12460
12461 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12462
12463 * term.el (term-set-escape-char): Make it idempotent.
12464
124652013-05-10 Leo Liu <sdl.web@gmail.com>
12466
12467 * progmodes/octave.el (inferior-octave-completion-table):
12468 No longer a function and all uses changed. Use cache to speed up
12469 completion due to bug#11906.
12470 (octave-beginning-of-defun): Re-write to be more general.
12471
124722013-05-10 Glenn Morris <rgm@gnu.org>
12473
12474 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12475
124762013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * comint.el (comint-redirect-send-command-to-process): Use :around
12479 rather than :override for comint-redirect-filter.
12480 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12481 Call it instead of comint-redirect-original-filter-function (which
12482 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12483
124842013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12485
12486 * frame.el (display-monitor-attributes-list): Add NS case.
12487 (ns-display-monitor-attributes-list): Declare.
12488
124892013-05-09 Ulrich Mueller <ulm@gentoo.org>
12490
12491 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12492
124932013-05-09 Glenn Morris <rgm@gnu.org>
12494
12495 * international/fontset.el (vertical-centering-font-regexp):
12496 Set standard-value.
12497
12498 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12499
12500 * bookmark.el (bookmark-search-delay):
12501 * cus-start.el (vertical-centering-font-regexp):
12502 * ps-mule.el (ps-mule-font-info-database-default):
12503 * ps-print.el (ps-default-fg, ps-default-bg):
12504 * type-break.el (type-break-good-break-interval):
12505 * whitespace.el (whitespace-indentation-regexp)
12506 (whitespace-space-after-tab-regexp):
12507 * emacs-lisp/testcover.el (testcover-1value-functions)
12508 (testcover-noreturn-functions, testcover-progn-functions)
12509 (testcover-prog1-functions):
12510 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12511 * eshell/em-glob.el (eshell-glob-translate-alist):
12512 * play/tetris.el (tetris-tty-colors):
12513 * progmodes/cpp.el (cpp-face-default-list):
12514 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12515 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12516 (idlwave-help-browser-generic-args):
12517 * progmodes/make-mode.el (makefile-special-targets-list):
12518 * progmodes/python.el (python-shell-virtualenv-path):
12519 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12520 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12521 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12522 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12523 * textmodes/reftex-vars.el (reftex-format-label-function):
12524 * textmodes/remember.el (remember-diary-file): Fix custom types.
12525
12526 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12527 Add :version.
12528
125292013-05-09 Leo Liu <sdl.web@gmail.com>
12530
12531 * progmodes/octave.el (inferior-octave-completion-at-point):
12532 Restore file completion. (Bug#14300)
12533 (inferior-octave-startup): Fix incorrect highlighting for the
12534 first prompt.
12535
125362013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12537
12538 * progmodes/ruby-mode.el: First cut at SMIE support.
12539 (ruby-use-smie): New var.
12540 (ruby-smie-grammar): New constant.
12541 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12542 (ruby-smie--forward-token, ruby-smie--backward-token)
12543 (ruby-smie-rules): New functions.
12544 (ruby-mode-variables): Setup SMIE if applicable.
12545
125462013-05-08 Eli Zaretskii <eliz@gnu.org>
12547
12548 * simple.el (line-move-visual): Signal beginning/end of buffer
12549 only if vertical-motion moved less than it was requested. Avoids
12550 silly incorrect error messages when there are display strings with
12551 multiple newlines at EOL.
12552
125532013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12554
12555 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12556 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12557 (prolog-char-quote-workaround):
12558 * progmodes/cperl-mode.el (cperl-under-as-char):
12559 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12560 Mark as obsolete.
12561 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12562 their declaration.
12563 (vhdl-mode-syntax-table-init): Remove.
12564
12565 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12566 last change.
12567
12568 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12569 syntax for "_".
12570 (ld-script-font-lock-keywords):
12571 Change regexps to use things like \_< and \_>.
12572
12573 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12574 Change all regexps to use things like \_< and \_>.
12575
12576 * progmodes/autoconf.el (autoconf-definition-regexp)
12577 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12578 Handle a _ with symbol syntax.
12579 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12580
12581 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12582 Consolidate declaration.
12583 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12584 the declaration.
12585 (ada-create-syntax-table): Remove.
12586 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12587 already has the right syntax nowadays.
12588 (ada-goto-next-word): Don't change the syntax of "_".
12589
12590 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12591 with-wrapper-hook.
12592
125932013-05-08 Sam Steingold <sds@gnu.org>
12594
12595 * thingatpt.el (thing-at-point): Accept optional second argument
12596 NO-PROPERTIES to strip the text properties from the return value.
12597 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12598 to `thing-at-point' instead of stripping the properties ourselves.
12599 Also, when `thing-at-point' fails to find a url, prepend "http://"
12600 to the filename at point on the assumption that the user is
12601 pointing at something like gnu.org/gnu.
12602
126032013-05-08 Juanma Barranquero <lekktu@gmail.com>
12604
12605 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12606 * faces.el (crm-separator):
12607 Silence byte-compiler.
12608
12609 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12610 (tool-bar-map): Remove unneeded defvars.
12611
126122013-05-08 Leo Liu <sdl.web@gmail.com>
12613
12614 Re-work a fix for bug#10994 based on Le Wang's patch.
12615 * ido.el (ido-remove-consecutive-dups): New helper.
12616 (ido-completing-read): Use it.
12617 (ido-chop): Revert fix for bug#10994.
12618
126192013-05-08 Adam Spiers <emacs@adamspiers.org>
12620
12621 * cus-edit.el (custom-save-variables):
12622 Pretty-print long values. (Bug#14187)
12623
126242013-05-08 Glenn Morris <rgm@gnu.org>
12625
12626 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12627 (m4-mode-syntax-table): Init in the defvar.
12628 (m4-mode-abbrev-table): Let define-derived-mode define it.
12629
126302013-05-08 Tom Tromey <tromey@redhat.com>
12631
12632 * progmodes/m4-mode.el (m4-mode-syntax-table):
12633 Do not treat "_" as word constituent. (Bug#14167)
12634
126352013-05-07 Glenn Morris <rgm@gnu.org>
12636
12637 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12638 Remove explicit eshell-isearch-cancel-map.
12639
12640 * progmodes/f90.el (f90-smart-end-names): New option.
12641 (f90-smart-end): Doc fix.
12642 (f90-end-block-optional-name): New constant.
12643 (f90-block-match): Respect f90-smart-end-names.
12644
126452013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12646
12647 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12648 about implicit semi-colons (bug#14218).
12649
126502013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12651
12652 * frame.el (display-monitor-attributes-list)
12653 (frame-monitor-attributes): New functions.
12654
126552013-05-06 Leo Liu <sdl.web@gmail.com>
12656
12657 * progmodes/octave.el (octave-syntax-propertize-function): Change
12658 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12659 (octave-font-lock-keywords): Use octave-operator-regexp.
12660 (octave-completion-at-point): Rename from
12661 octave-completion-at-point-function.
12662 (inferior-octave-directory-tracker): Robustify.
12663 (octave-text-functions): Remove and fix its uses. No such things
12664 any more.
12665
126662013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * emacs-lisp/trace.el (trace--display-buffer): New function.
12669 (trace-make-advice): Use it.
12670
126712013-05-06 Juri Linkov <juri@jurta.org>
12672
12673 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12674 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12675 Doc fix.
12676 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12677 in the help string. (Bug#12985)
12678
126792013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12680
12681 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12682
126832013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12684
12685 * progmodes/perl-mode.el: Add support for here documents.
12686 (perl-syntax-propertize-function): Match here-doc markers.
12687 (perl-syntax-propertize-special-constructs): Find their end.
12688 (perl-imenu-generic-expression): Use [:alnum:].
12689
12690 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12691 (advice--add-function): Refresh the advice if already present
12692 (bug#14317).
12693
126942013-05-06 Ivan Andrus <darthandrus@gmail.com>
12695
12696 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12697
126982013-05-06 Glenn Morris <rgm@gnu.org>
12699
12700 * w32-fns.el (w32-charset-info-alist): Declare.
12701
12702 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12703 of its defcustom properties.
12704 (eshell-cmpl-initialize): No need to load pcomplete.
12705
12706 * generic-x.el: No need to require comint when compiling.
12707
12708 * net/eudc-export.el: Make it loadable without bbdb.
12709 (top-level): Use require rather than load-library.
12710 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12711 (eudc-batch-export-records-to-bbdb)
12712 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12713 Require bbdb.
12714
127152013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12716
12717 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12718 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12719 some tweaks, instead.
12720
127212013-05-05 Leo Liu <sdl.web@gmail.com>
12722
12723 * progmodes/octave.el (octave-font-lock-keywords)
12724 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12725 (inferior-octave-send-list-and-digest): Improve error message.
12726 (octave-mode, inferior-octave-mode): Use setq-local.
12727 (octave-help): Set info-lookup-mode.
12728
127292013-05-05 Richard Stallman <rms@gnu.org>
12730
12731 * vc/compare-w.el (compare-windows-whitespace):
12732 Treat no-break space as whitespace.
12733
12734 * mail/rmailsum.el (rmail-summary-rmail-update):
12735 Detect empty summary and don't change selected message.
12736 (rmail-summary-goto-msg): Likewise.
12737
12738 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12739 Doc fixes, rename args.
12740
127412013-05-05 Alan Mackenzie <acm@muc.de>
12742
12743 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12744
127452013-05-05 Juri Linkov <juri@jurta.org>
12746
12747 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12748 to not add the length of the summary segment to the return value.
12749 (Bug#14125)
12750
127512013-05-05 Leo Liu <sdl.web@gmail.com>
12752
12753 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12754 (inferior-octave-output-filter): Remove.
12755 (octave-send-region, inferior-octave-startup): Fix callers.
12756 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12757 (octave-binary-file-extensions): New user variable.
12758 (octave-find-definition): Confirm if opening binary files.
12759 (octave-help-file): Use octave-find-definition to get the binary
12760 confirmation.
12761 (octave-help): Adjust for octave-help-file change.
12762
127632013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12764
12765 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12766 Merge the two entries that handle function definitions.
12767 (pascal--syntax-propertize): New const.
12768 (pascal-mode): Use it. Use setq-local.
12769
127702013-05-04 Glenn Morris <rgm@gnu.org>
12771
12772 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12773 (diary-from-outlook): Respect diary-from-outlook-function.
12774
127752013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12778 Move the declaration from C.
12779 (read-minibuffer, eval-minibuffer): Move from C.
12780 (completion-setup-function): Avoid minibuffer-completion-contents.
12781
127822013-05-03 Leo Liu <sdl.web@gmail.com>
12783
12784 * progmodes/octave.el (octave-font-lock-keywords): Do not
12785 dehighlight 'end' in comments or strings.
12786 (octave-completing-read, octave-goto-function-definition):
12787 New helpers.
12788 (octave-help-buffer): New user variable.
12789 (octave-help-file, octave-help-function): New button types.
12790 (octave-help): New command and bind it to C-h ;.
12791 (octave-find-definition): New command and bind it to M-.
12792 (user-error): Alias to error if not defined.
12793
127942013-05-02 Leo Liu <sdl.web@gmail.com>
12795
12796 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12797 for \. (bug#14332)
12798 (octave-font-lock-keywords): Include [ and {.
12799
128002013-05-02 Leo Liu <sdl.web@gmail.com>
12801
12802 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12803 (inferior-octave): Remove calling comint-mode and return the buffer.
12804 (inferior-octave-startup): Cosmetic changes.
12805
128062013-05-02 Leo Liu <sdl.web@gmail.com>
12807
12808 * progmodes/octave.el (octave-syntax-propertize-function):
12809 Include the case when ' is at line beginning. (Bug#14336)
12810
128112013-05-02 Glenn Morris <rgm@gnu.org>
12812
12813 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12814 * desktop.el (vc-dir-mode): Just autoload it here.
12815
128162013-05-02 Alan Mackenzie <acm@muc.de>
12817
12818 Eliminate variable c-standard-font-lock-fontify-region-function.
12819 * progmodes/cc-mode.el
12820 (c-standard-font-lock-fontify-region-function): Remove.
12821 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12822
128232013-05-01 Leo Liu <sdl.web@gmail.com>
12824
12825 * progmodes/octave.el: Compatible with older emacs-24 releases.
12826 (inferior-octave-has-built-in-variables): Remove. Built-in
12827 variables were removed from Octave in 2007.
12828 (inferior-octave-startup): Fix uses.
12829 (comint-line-beginning-position): Remove compatibility code for
12830 emacs 21.
12831
128322013-05-01 Juri Linkov <juri@jurta.org>
12833
12834 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12835
128362013-05-01 Juri Linkov <juri@jurta.org>
12837
12838 * comint.el (comint-previous-matching-input): Don't print message
12839 "History item: %d" when `isearch-mode' is active.
12840 (comint-history-isearch-message): Print message "History item: %d"
12841 when `comint-input-ring-index' is not empty and this function is
12842 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12843
128442013-05-01 Leo Liu <sdl.web@gmail.com>
12845
12846 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12847 definitions. Use completion-at-point to insert keywords.
12848 (octave-abbrev-start): Remove.
12849 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12850
128512013-04-30 Leo Liu <sdl.web@gmail.com>
12852
12853 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12854 change.
12855
128562013-04-30 Alan Mackenzie <acm@muc.de>
12857
12858 Handle arbitrarily long C++ member initialisation lists.
12859 * progmodes/cc-engine.el (c-back-over-member-initializers):
12860 new function.
12861 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12862 (most) member init lists.
12863
128642013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12865
12866 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12867 variable.
12868
128692013-04-30 Leo Liu <sdl.web@gmail.com>
12870
12871 * progmodes/octave.el (octave-variables): Remove. No builtin
12872 variables any more. All converted to functions.
12873 (octave-font-lock-keywords, octave-completion-at-point-function):
12874 Fix uses.
12875 (octave-font-lock-texinfo-comment): New user variable.
12876 (octave-texinfo-font-lock-keywords): New variable for texinfo
12877 comment block.
12878 (octave-function-comment-block): New face.
12879 (octave-font-lock-texinfo-comment): New function.
12880 (octave-mode): Font lock texinfo comment block.
12881
128822013-04-29 Leo Liu <sdl.web@gmail.com>
12883
12884 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12885 indexing expression.
12886 (octave-continuation-string): Do not use \.
12887 (inferior-octave-complete-impossible): Remove.
12888 (inferior-octave-completion-table)
12889 (inferior-octave-completion-at-point): Remove its uses.
12890 (inferior-octave-startup): completion_matches was introduced to
12891 Octave in 1996 so safe to assume it.
12892 (octave-function-file-comment): Improve to follow how Octave does it.
12893 (octave-update-function-file-comment): Tweak.
12894
128952013-04-29 Leo Liu <sdl.web@gmail.com>
12896
12897 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12898 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12899 (octave-function-file-comment): Fix typo.
12900 (octave-sync-function-file-names): Use read-char-choice.
12901
129022013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12903
12904 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12905 to t for the less important warnings.
12906
129072013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12908
12909 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12910
129112013-04-27 Glenn Morris <rgm@gnu.org>
12912
12913 * vc/log-view.el (log-view-current-entry):
12914 Treat "---" separator lines as part of the following rev. (Bug#14169)
12915
129162013-04-27 Juri Linkov <juri@jurta.org>
12917
12918 * subr.el (read-number): Doc fix about using it by interactive
12919 code letter `n'. (Bug#14254)
12920
129212013-04-27 Juri Linkov <juri@jurta.org>
12922
12923 * desktop.el (desktop-auto-save-timeout): New option.
12924 (desktop-file-checksum): New variable.
12925 (desktop-save): Add optional arg `auto-save' and don't auto-save
12926 if nothing changed.
12927 (desktop-auto-save-timer): New variable.
12928 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12929 (after-init-hook): Call `desktop-auto-save-set-timer'.
12930 Suggested by Reuben Thomas <rrt@sc3d.org> in
12931 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12932
129332013-04-27 Leo Liu <sdl.web@gmail.com>
12934
12935 * progmodes/octave.el (octave-function-file-p)
12936 (octave-skip-comment-forward, octave-function-file-comment)
12937 (octave-update-function-file-comment): New functions.
12938 (octave-mode-map): Bind C-c ; to
12939 octave-update-function-file-comment.
12940 (octave-mode-menu): Add octave-update-function-file-comment.
12941 (octave-mode, inferior-octave-mode): Fix doc-string.
12942 (octave-insert-defun): Conform to Octave's coding convention.
12943 (Bug#14285)
12944
12945 * files.el (basic-save-buffer): Don't let errors in
12946 before-save-hook prevent saving buffer.
12947
129482013-04-20 Roland Winkler <winkler@gnu.org>
12949
12950 * faces.el (read-face-name): Use completing-read if arg multiple
12951 is nil.
12952
129532013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12954
12955 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12956 displayed, move point to after the totals line.
12957 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12958 for the details.
12959
129602013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12961
12962 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12963 Add current dir to the load-path.
12964 (package-generate-autoloads): Don't rely on
12965 autoload-ensure-default-file.
12966
129672013-04-26 Reuben Thomas <rrt@sc3d.org>
12968
12969 * textmodes/remember.el (remember-store-in-files): Document that
12970 the file name format is passed to `format-time-string'.
12971
129722013-04-26 Leo Liu <sdl.web@gmail.com>
12973
12974 * progmodes/octave.el (octave-sync-function-file-names): New function.
12975 (octave-mode): Use it in before-save-hook.
12976
129772013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12978
12979 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12980 (bug#14274).
12981
12982 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12983 \n and comment, even if it's not an implicit ; (bug#14218).
12984
129852013-04-26 Glenn Morris <rgm@gnu.org>
12986
12987 * subr.el (read-number): Once more use `read' rather than
12988 `string-to-number', to trap non-numeric input. (Bug#14254)
12989
129902013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12991
12992 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12993 Use `syntax-multiline' text property consistently instead of
12994 `font-lock-multiline'. (Bug#14237)
12995
129962013-04-26 Glenn Morris <rgm@gnu.org>
12997
12998 * emacs-lisp/shadow.el (list-load-path-shadows):
12999 No longer necessary to check for duplicate simple.el, since
13000 2012-07-07 change to init_lread to not include installation lisp
13001 directories in load-path when running uninstalled. (Bug#14270)
13002
130032013-04-26 Leo Liu <sdl.web@gmail.com>
13004
13005 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13006 (octave-mode, inferior-octave-mode): Use setq-local.
13007 (octave-not-in-string-or-comment-p): Rename to
13008 octave-in-string-or-comment-p.
13009 (octave-in-comment-p, octave-in-string-p)
13010 (octave-in-string-or-comment-p): Replace defsubst with defun.
13011
130122013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13013
13014 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13015
130162013-04-25 Bastien Guerry <bzg@gnu.org>
13017
13018 * textmodes/remember.el (remember-data-directory)
13019 (remember-directory-file-name-format): Fix custom types.
13020
130212013-04-25 Leo Liu <sdl.web@gmail.com>
13022
13023 * progmodes/octave.el (octave-completion-at-point-function):
13024 Make use of inferior octave process.
13025 (octave-initialize-completions): Remove.
13026 (inferior-octave-completion-table): New function.
13027 (inferior-octave-completion-at-point): Use it.
13028 (octave-completion-alist): Remove.
13029
130302013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13033 (opascal-mode-syntax-table): New var.
13034 (opascal-literal-kind, opascal-is-literal-end)
13035 (opascal-literal-token-at): Rewrite.
13036 (opascal--literal-start-re, opascal-font-lock-keywords)
13037 (opascal--syntax-propertize): New constants.
13038 (opascal-font-lock-defaults): Adjust.
13039 (opascal-mode): Use them. Set comment-<foo> variables as well.
13040 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13041 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13042 (delphi-other-face, opascal-other-face): Remove face variables.
13043 (opascal-save-state): Remove macro.
13044 (opascal-fontifying-progress-step): Remove constant.
13045 (opascal--ignore-changes): Remove var.
13046 (opascal-set-token-property, opascal-parse-next-literal)
13047 (opascal-is-stable-literal, opascal-complete-literal)
13048 (opascal-is-literal-start, opascal-face-of)
13049 (opascal-parse-region, opascal-parse-region-until-stable)
13050 (opascal-fontify-region, opascal-after-change)
13051 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13052 (opascal-debug-parse-region, opascal-debug-parse-window)
13053 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13054 (opascal-debug-fontify-buffer): Remove.
13055 (opascal-debug-mode-map): Adjust accordingly.
13056
130572013-04-25 Leo Liu <sdl.web@gmail.com>
13058
13059 Merge octave-mod.el and octave-inf.el into octave.el with some
13060 cleanups.
13061 * progmodes/octave.el: New file renamed from octave-mod.el.
13062 * progmodes/octave-inf.el: Merged into octave.el.
13063 * progmodes/octave-mod.el: Renamed to octave.el.
13064
130652013-04-25 Tassilo Horn <tsdh@gnu.org>
13066
13067 * textmodes/reftex-vars.el
13068 (reftex-label-ignored-macros-and-environments): New defcustom.
13069
13070 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13071
130722013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13073
13074 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13075 (smie-indent-keyword): Improve the check to ensure that the next
13076 comment is really on the same line.
13077 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13078
13079 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13080 semi-colons if the line is not otherwise empty (bug#14218).
13081
130822013-04-25 Glenn Morris <rgm@gnu.org>
13083
13084 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13085
130862013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * progmodes/opascal.el (opascal-set-token-property): Rename from
13089 opascal-set-text-properties and only set `token' (bug#14134).
13090 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13091 (opascal-literal-text-properties): Remove.
13092 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13093 Adjust callers.
13094
130952013-04-24 Reuben Thomas <rrt@sc3d.org>
13096
13097 * textmodes/remember.el (remember-handler-functions): Add an
13098 option for a new handler `remember-store-in-files'.
13099 (remember-data-directory, remember-directory-file-name-format):
13100 New options.
13101 (remember-store-in-files): New function to store remember notes
13102 as separate files within a directory.
13103
131042013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13105
13106 * progmodes/compile.el (compilation-next-error-function):
13107 Pass "formats" to compilation-find-file (bug#11777).
13108
131092013-04-24 Glenn Morris <rgm@gnu.org>
13110
13111 * vc/vc-bzr.el (vc-bzr-print-log):
13112 * vc/vc-hg.el (vc-hg-print-log):
13113 * vc/vc-svn.el (vc-svn-print-log):
13114 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13115
13116 * vc/vc-bzr.el (vc-bzr-print-log):
13117 * vc/vc-cvs.el (vc-cvs-print-log):
13118 * vc/vc-git.el (vc-git-print-log):
13119 * vc/vc-hg.el (vc-hg-print-log):
13120 * vc/vc-mtn.el (vc-mtn-print-log):
13121 * vc/vc-rcs.el (vc-rcs-print-log):
13122 * vc/vc-sccs.el (vc-sccs-print-log):
13123 * vc/vc-svn.el (vc-svn-print-log):
13124 * vc/vc.el (vc-print-log-internal): Doc fixes.
13125
131262013-04-23 Glenn Morris <rgm@gnu.org>
13127
13128 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13129 Remove venerable code attempting to avoid substitute-command-keys.
13130
131312013-04-23 Tassilo Horn <tsdh@gnu.org>
13132
13133 * textmodes/reftex-vars.el (reftex-label-regexps):
13134 Call `reftex-compile-variables' after changes to this variable.
13135
131362013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13137
13138 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13139 Use lexical-binding.
13140 (jit-lock-force-redisplay): Use markers, check buffer's continued
13141 existence and beware narrowed buffers.
13142 (jit-lock-fontify-now): Adjust call accordingly.
13143
131442013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13145
13146 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13147 to avoid misleading the user.
13148
131492013-04-22 Leo Liu <sdl.web@gmail.com>
13150
13151 * info-look.el: Prefer latex2e.info. (Bug#14240)
13152
131532013-04-22 Michael Albinus <michael.albinus@gmx.de>
13154
13155 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13156
13157 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13158 * net/tramp.el (tramp-call-process): ... here.
13159 (tramp-set-completion-function, tramp-parse-putty):
13160 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13161 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13162 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13163 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13164 (tramp-call-local-coding-command): Use `tramp-call-process'
13165 instead of `tramp-compat-call-process'.
13166
13167 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13168 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13169 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13170 (tramp-find-inline-compress): Improve traces.
13171 (tramp-maybe-send-script): Check for Perl binary.
13172 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13173
131742013-04-22 Daiki Ueno <ueno@gnu.org>
13175
13176 * epg.el (epg-context-pinentry-mode): New function.
13177 (epg-context-set-pinentry-mode): New function.
13178 (epg--start): Pass --pinentry-mode option to gpg command.
13179
131802013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13181
13182 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13183 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13184 `completion-at-point'. (Bug#13774)
13185
13186 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13187 default key binding for `describe-distribution' has been moved to
13188 `C-h C-o'. (Bug#13970)
13189
131902013-04-21 Glenn Morris <rgm@gnu.org>
13191
13192 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13193 Add doc strings.
13194 (vc-print-log): Clarify interactive prompt.
13195
131962013-04-20 Glenn Morris <rgm@gnu.org>
13197
13198 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13199 No longer include timestamp etc information.
13200
132012013-04-20 Roland Winkler <winkler@gnu.org>
13202
13203 * faces.el (read-face-name): Bug fix, return just one face if arg
13204 multiple is nil. (Bug#14209)
13205
132062013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13209 (remove-function): Autoload.
13210
13211 * comint.el (comint-redirect-original-filter-function): Remove.
13212 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13213 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13214 (vc-cvs-annotate-command):
13215 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13216 * progmodes/prolog.el (prolog-consult-compile):
13217 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13218 Use add/remove-function instead.
13219 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13220 (gud-tooltip-process-output, gud-tooltip-tips):
13221 Use add/remove-function instead.
13222 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13223 (scheme-interaction-mode, exit-scheme-interaction-mode):
13224 Use add/remove-function instead.
13225
13226 * vc/vc-dispatcher.el: Use lexical-binding.
13227 (vc--process-sentinel): Rename from vc-process-sentinel.
13228 Change last arg to be the code to run. Don't use vc-previous-sentinel
13229 and vc-sentinel-commands any more.
13230 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13231 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13232
132332013-04-19 Masatake YAMATO <yamato@redhat.com>
13234
13235 * progmodes/sh-script.el (sh-imenu-generic-expression):
13236 Handle function names with a single character. (Bug#14111)
13237
132382013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13239
13240 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13241 for subroutines defined in an eval (bug#14182).
13242
132432013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13244
13245 * bookmark.el (bookmark-completing-read): Improve handling of empty
13246 string (bug#14176).
13247
132482013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13249
13250 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13251
132522013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13253
13254 New faster Imenu implementation (bug#14058).
13255 * progmodes/python.el:
13256 (python-imenu-prev-index-position):
13257 (python-imenu-format-item-label-function)
13258 (python-imenu-format-parent-item-label-function)
13259 (python-imenu-format-parent-item-jump-label-function):
13260 New vars.
13261 (python-imenu-format-item-label)
13262 (python-imenu-format-parent-item-label)
13263 (python-imenu-format-parent-item-jump-label)
13264 (python-imenu--put-parent, python-imenu--build-tree)
13265 (python-imenu-create-index, python-imenu-create-flat-index)
13266 (python-util-popn): New functions.
13267 (python-mode): Set imenu-create-index-function to
13268 python-imenu-create-index.
13269
132702013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13271
13272 * winner.el (winner-active-region): Use region-active-p, activate-mark
13273 and deactivate-mark (bug#14225).
13274
13275 * simple.el (deactivate-mark): Don't inline it.
13276
132772013-04-18 Michael Albinus <michael.albinus@gmx.de>
13278
13279 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13280
132812013-04-18 Tassilo Horn <tsdh@gnu.org>
13282
13283 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13284 file extensions from the archive-mode entry in order to prefer
13285 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13286
132872013-04-18 Leo Liu <sdl.web@gmail.com>
13288
13289 * bindings.el (help-event-list): Add ?\?.
13290
132912013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13292
13293 * subr.el (with-wrapper-hook): Declare obsolete.
13294 * simple.el (filter-buffer-substring-function): New hook.
13295 (filter-buffer-substring): Use it.
13296 (filter-buffer-substring-functions): Mark obsolete.
13297 * minibuffer.el (completion-in-region-function): New hook.
13298 (completion-in-region): Use it.
13299 (completion-in-region-functions): Mark obsolete.
13300 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13301 * abbrev.el (abbrev-expand-function): New hook.
13302 (expand-abbrev): Use it.
13303 (abbrev-expand-functions): Mark obsolete.
13304 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13305 and :filter-return.
13306
133072013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13308
13309 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13310 and do not care about match data.
13311
133122013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13313
13314 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13315 completion tables when completing error conditions and
13316 `declare' arguments.
13317 (lisp-complete-symbol, field-complete): Mark as obsolete.
13318 (check-parens): Unmatched parens are user errors.
13319 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13320
133212013-04-17 Michal Nazarewicz <mina86@mina86.com>
13322
13323 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13324 command changed buffer (ie. `flyspell-pre-buffer' is not current
13325 buffer), which prevents making decisions based on invalid value of
13326 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13327 cause an error when `flyspell-pre-point' was nil after switching
13328 buffers.
13329 (flyspell-post-command-hook): No longer needs to change buffers when
13330 checking pre-word. While at it remove unnecessary progn.
13331
133322013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13333
13334 * textmodes/ispell.el (ispell-add-per-file-word-list):
13335 Fix `flyspell-correct-word-before-point' error when accepting
13336 words and `coment-padding' is an integer by using
13337 `comment-normalize-vars' (Bug #14214).
13338
133392013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13340
13341 New defun movement commands.
13342 * progmodes/python.el (python-nav--syntactically)
13343 (python-nav--forward-defun, python-nav-backward-defun)
13344 (python-nav-forward-defun): New functions.
13345
133462013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13347
13348 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13349 (python-syntax-context): Use named compiler-macro for backwards
13350 compatibility with Emacs 24.x.
13351
133522013-04-17 Leo Liu <sdl.web@gmail.com>
13353
13354 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13355 octave-hide-process-buffer.
13356
133572013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13360 (bug#14216).
13361
133622013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13363
13364 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13365 Fix adjustment of offset when receiving incomplete responses from GDB
13366 (bug#14129).
13367
133682013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13369
13370 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13371 python-mode-abbrev-table.
13372 (python-skeleton-define): Adjust accordingly.
13373 (python-mode-abbrev-table): New table that inherits from it so that
13374 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13375
13376 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13377 (abbrev-symbol): Use it.
13378 (abbrev--before-point): Use it since we already handle inheritance.
13379
133802013-04-16 Leo Liu <sdl.web@gmail.com>
13381
13382 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13383 binding to info-lookup-symbol.
13384
133852013-04-16 Juanma Barranquero <lekktu@gmail.com>
13386
13387 * minibuffer.el (completion--twq-all):
13388 * term/ns-win.el (ns-initialize-window-system):
13389 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13390
133912013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13392
13393 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13394 global bindings.
13395
13396 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13397
133982013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13399
13400 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13401 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13402 to nil.
13403 (ruby-end-of-defun): Remove the unused arg, change the docstring
13404 to reflect that this function is only used as the value of
13405 `end-of-defun-function'.
13406 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13407 to reflect an earlier change that beginning/end-of-defun functions
13408 jump between methods in a class definition, as well as top-level
13409 functions.
13410
134112013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13412
13413 * minibuffer.el (minibuffer-complete): Don't just scroll
13414 a *Completions* that's been iconified.
13415 (minibuffer-force-complete): Make sure repetitions do cycle when going
13416 through completion-in-region -> minibuffer-complete.
13417
134182013-04-15 Alan Mackenzie <acm@muc.de>
13419
13420 Correct the placement of c-cpp-delimiters when there're #s not at
13421 col 0.
13422
13423 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13424 place a submatch around the #.
13425 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13426 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13427 on the #, not BOL.
13428
134292013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13430
13431 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13432 (advice--member-p): New arg `name'.
13433 (advice--add-function, advice-member-p): Use it (bug#14202).
13434
134352013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13436
13437 Reformulate java imenu-generic-expression.
13438 The old expression contained ill formed regexps.
13439
13440 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13441 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13442 (cc-imenu-java-method-arg-regexp): New defconsts.
13443 (cc-imenu-java-build-type-args-regex): New defun.
13444 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13445 handling of spaces in the regexp.
13446
134472013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13448
13449 * textmodes/ispell.el (ispell-command-loop): Remove
13450 flyspell highlight of a word when ispell accepts it (bug #14178).
13451
134522013-04-15 Michael Albinus <michael.albinus@gmx.de>
13453
13454 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13455 uses code from the previous `ange-ftp-run-real-handler'.
13456 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13457 only in case that function exist. This is needed for proper
13458 unloading of Tramp.
13459
134602013-04-15 Tassilo Horn <tsdh@gnu.org>
13461
13462 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13463
13464 * textmodes/reftex.el (reftex-compile-variables): Use it.
13465
134662013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * files.el (normal-mode): Only use default major-mode if no other mode
13469 was specified.
13470
13471 * emacs-lisp/trace.el (trace-values): New function.
13472
13473 * files.el: Allow : in local variables (bug#14089).
13474 (hack-local-variable-regexp): New var.
13475 (hack-local-variables-prop-line, hack-local-variables): Use it.
13476
134772013-04-13 Roland Winkler <winkler@gnu.org>
13478
13479 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13480 data before it gets modified by bibtex-beginning-of-entry.
13481
134822013-04-13 Roland Winkler <winkler@gnu.org>
13483
13484 * textmodes/bibtex.el (bibtex-url): Doc fix.
13485
134862013-04-13 Roland Winkler <winkler@gnu.org>
13487
13488 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13489 does not visit a BibTeX file, exclude it from the list of buffers
13490 returned by bibtex-initialize.
13491
134922013-04-13 Stephen Berman <stephen.berman@gmx.net>
13493
13494 * window.el (split-window): Remove interactive form, since as a
13495 command this function is a special case of split-window-below.
13496 Correct doc string.
13497
134982013-04-12 Roland Winkler <winkler@gnu.org>
13499
13500 * faces.el (read-face-name): Do not override value of arg default.
13501 Allow single faces and strings as default values. Remove those
13502 elements from return value that are not faces.
13503 (describe-face): Simplify.
13504 (face-at-point): New optional args thing and multiple so that this
13505 function can provide the same functionality previously provided by
13506 read-face-name.
13507 (make-face-bold, make-face-unbold, make-face-italic)
13508 (make-face-unitalic, make-face-bold-italic, invert-face)
13509 (modify-face, read-face-and-attribute): Use face-at-point.
13510
13511 * cus-edit.el (customize-face, customize-face-other-window)
13512 * cus-theme.el (custom-theme-add-face)
13513 * face-remap.el (buffer-face-set)
13514 * facemenu.el (facemenu-set-face): Use face-at-point.
13515
135162013-04-12 Michael Albinus <michael.albinus@gmx.de>
13517
13518 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13519
135202013-04-10 Tassilo Horn <tsdh@gnu.org>
13521
13522 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13523 off leading { and trailing } from field values.
13524
135252013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13526
13527 * emacs-lisp/timer.el (timer--check): New function.
13528 (timer--time, timer-set-function, timer-event-handler): Use it.
13529 (timer-set-idle-time): Simplify.
13530 (timer--activate): CSE.
13531 (timer-event-handler): Give more info in error message.
13532 (internal-timer-start-idle): New function, moved from C.
13533
13534 * mpc.el (mpc-proc): Add `restart' argument.
13535 (mpc-proc-cmd): Use it.
13536 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13537 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13538 less often.
13539
135402013-04-10 Masatake YAMATO <yamato@redhat.com>
13541
13542 * progmodes/sh-script.el: Implement `sh-mode' own
13543 `add-log-current-defun-function' (bug#14112).
13544 (sh-current-defun-name): New function.
13545 (sh-mode): Use the function.
13546
135472013-04-09 Bastien Guerry <bzg@gnu.org>
13548
13549 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13550
135512013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13552
13553 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13554
13555 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13556 timer (bug#14156).
13557
135582013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13559
13560 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13561 declaration.
13562
135632013-04-07 Leo Liu <sdl.web@gmail.com>
13564
13565 * pcmpl-x.el: New file.
13566
135672013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13568
13569 Do not set x-display-name until X connection is established.
13570 This is needed to prevent from weird situation described at
13571 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13572 * frame.el (make-frame): Set x-display-name after call to
13573 window system initialization function, not before.
13574 * term/x-win.el (x-initialize-window-system): Add optional
13575 display argument and use it.
13576 * term/w32-win.el (w32-initialize-window-system):
13577 * term/ns-win.el (ns-initialize-window-system):
13578 * term/pc-win.el (msdos-initialize-window-system):
13579 Add compatible optional display argument.
13580
135812013-04-06 Eli Zaretskii <eliz@gnu.org>
13582
13583 * files.el (normal-backup-enable-predicate): On MS-Windows and
13584 MS-DOS compare truenames of temporary-file-directory and of the
13585 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13586 don't fail comparison by compare-strings. Also, compare file
13587 names case-insensitively on MS-Windows and MS-DOS.
13588
135892013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13590
13591 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13592 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13593
135942013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13595
13596 * whitespace.el (whitespace-color-on, whitespace-color-off):
13597 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13598
135992013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13600
13601 * ispell.el (ispell-set-spellchecker-params):
13602 Really set `ispell-args' for all equivs.
13603
136042013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13605
13606 * ido.el (ido-completions): Use extra elements of ido-decorations
13607 (bug#14143).
13608 (ido-decorations): Update docstring.
13609
136102013-04-05 Michael Albinus <michael.albinus@gmx.de>
13611
13612 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13613 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13614 nil during initialization, in order not to miss changes since the
13615 file was opened. (Bug#14140)
13616
136172013-04-05 Leo Liu <sdl.web@gmail.com>
13618
13619 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13620
136212013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13622
13623 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13624
136252013-04-04 Glenn Morris <rgm@gnu.org>
13626
13627 * electric.el (electric-pair-inhibit-predicate): Add :version.
13628
136292013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13630
13631 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13632 when a package is required several times (bug#14082).
13633
136342013-04-04 Roland Winkler <winkler@gnu.org>
13635
13636 * faces.el (read-face-name): Behave as promised by the docstring.
13637 Assume that arg default is a list of faces.
13638 (describe-face): Call read-face-name with list of default faces.
13639
136402013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13641
13642 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13643 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13644 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13645 the header.
13646 (bookmark-exit-hook-internal): Save even if list is empty.
13647
136482013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13649
13650 * emacs-lisp/package.el (package-pinned-packages): New var.
13651 (package--add-to-archive-contents): Obey it (bug#14118).
13652
136532013-04-03 Alan Mackenzie <acm@muc.de>
13654
13655 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13656 Also adapt to the new values of element 7 of a parse state.
13657
13658 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13659 parameter `not-in-delimiter'. Handle being inside comment opener.
13660 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13661 character in case we're typing a '*' after a '/'.
13662 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13663 instead by passing the parameter to c-state-pp-to-literal.
13664
13665 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13666 for elt. 7 of a parse state.
13667
136682013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13669
13670 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13671 * international/latin1-disp.el, international/mule-util.el:
13672 * language/cyril-util.el, language/european.el, language/ind-util.el:
13673 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13674 * language/tibetan.el, language/viet-util.el:
13675 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13676
136772013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13678
13679 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13680 (electric-pair-post-self-insert-function): Use it.
13681 (electric-pair-default-inhibit): New function, extracted from
13682 electric-pair-post-self-insert-function.
13683
136842013-03-31 Roland Winkler <winkler@gnu.org>
13685
13686 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13687
136882013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13689
13690 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13691
136922013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13693
13694 Un-indent after "pass" and "return" statements (Bug#13888)
13695 * progmodes/python.el (python-indent-block-enders): New var.
13696 (python-indent-calculate-indentation): Use it.
13697
136982013-03-30 Michael Albinus <michael.albinus@gmx.de>
13699
13700 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13701 defun. Defining it as defalias could introduce too eager
13702 byte-compiler optimization. (Bug#14030)
13703
137042013-03-30 Chong Yidong <cyd@gnu.org>
13705
13706 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13707
137082013-03-30 Leo Liu <sdl.web@gmail.com>
13709
13710 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13711 (kmacro-execute-from-register): Pass the keyboard macro to
13712 kmacro-call-macro or repeating won't work correctly.
13713
137142013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13715
13716 * progmodes/subword.el: Back to using `forward-symbol'.
13717
13718 * subr.el (forward-whitespace, forward-symbol)
13719 (forward-same-syntax): Move from thingatpt.el.
13720
137212013-03-29 Leo Liu <sdl.web@gmail.com>
13722
13723 * kmacro.el (kmacro-to-register): New command.
13724 (kmacro-execute-from-register): New function.
13725 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13726
137272013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13728
13729 * mpc.el: Use defvar-local and setq-local.
13730 (mpc--proc-connect): Connection failures are not bugs.
13731 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13732 (mpc-volume-map): Bind to the up-events.
13733
137342013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13735
13736 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13737 instead of `forward-symbol'.
13738
137392013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13742 (edebug--recursive-edit): Use it.
13743 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13744 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13745
137462013-03-28 Leo Liu <sdl.web@gmail.com>
13747
13748 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13749
137502013-03-27 Eli Zaretskii <eliz@gnu.org>
13751
13752 * facemenu.el (list-colors-callback): New defvar.
13753 (list-colors-redisplay): New function.
13754 (list-colors-display): Install list-colors-redisplay as the
13755 revert-buffer-function. (Bug#14063)
13756
137572013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13758
13759 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13760 and suffixes don't overlap (bug#14061).
13761
13762 * case-table.el: Use lexical-binding.
13763 (case-table-get-table): New function.
13764 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13765
137662013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13767
13768 * progmodes/subword.el: Add `superword-mode' to do word motion
13769 over symbol_words (parallels and leverages `subword-mode' which
13770 does word motion inside MixedCaseWords).
13771
137722013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13773
13774 * eshell/em-unix.el: Move su and sudo to...
13775 * eshell/em-tramp.el: ...Eshell tramp module.
13776
137772013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13778
13779 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13780 Change return value to be a sexp. Delay `get-buffer' to after
13781 restoring the desktop (bug#13951).
13782
137832013-03-26 Leo Liu <sdl.web@gmail.com>
13784
13785 * register.el: Move semantic tag handling back to
13786 cedet/semantic/senator.el. (Bug#14052)
13787
137882013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13789
13790 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13791 into the prompt either (bug#13963).
13792
137932013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13794
13795 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13796 part of "(error-foo)".
13797
137982013-03-24 Juri Linkov <juri@jurta.org>
13799
13800 * replace.el (list-matching-lines-prefix-face): New defcustom.
13801 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13802 `occur-engine' if `face-differs-from-default-p' returns t.
13803 (occur-engine): Add `,' inside backquote construct to evaluate
13804 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13805 Pass `prefix-face' to the functions `occur-context-lines' and
13806 `occur-engine-add-prefix'.
13807 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13808 `prefix-face' and propertize the prefix with `prefix-face'.
13809 (Bug#14017)
13810
138112013-03-24 Leo Liu <sdl.web@gmail.com>
13812
13813 * nxml/rng-valid.el (rng-validate-while-idle)
13814 (rng-validate-quick-while-idle): Guard against deleted buffer.
13815 (Bug#13999)
13816
13817 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13818 is the last entry in kill-buffer-hook.
13819
13820 * files.el (kill-buffer-hook): Doc fix.
13821
138222013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13823
13824 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13825 Make it safe-local.
13826
13827 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13828
138292013-03-23 Leo Liu <sdl.web@gmail.com>
13830
13831 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13832 Remove.
13833
13834 * nxml/rng-valid.el (rng-validate-mode)
13835 (rng-after-change-function, rng-do-some-validation):
13836 * nxml/rng-maint.el (rng-validate-buffer):
13837 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13838 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13839 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13840 (nxml-extend-after-change-region): Use with-silent-modifications.
13841
13842 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13843 timer-idle-list.
13844
13845 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13846 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13847 timer-idle-list. (Bug#13999)
13848
138492013-03-23 Juri Linkov <juri@jurta.org>
13850
13851 * info.el (info-index-match): New face.
13852 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13853 main pattern and add text properties with the new face to matches
13854 in index entries relative to the beginning of the index entry.
13855 (Bug#14015)
13856
138572013-03-21 Eric Ludlam <zappo@gnu.org>
13858
13859 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13860 Inhibit read only while inserting objects.
13861
138622013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13863
13864 * progmodes/cfengine.el: Update docs to mention
13865 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13866 symbol motion. Remove "_" from the word syntax.
13867
138682013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13869
13870 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13871 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13872
138732013-03-20 Juri Linkov <juri@jurta.org>
13874
13875 * info.el (Info-next-reference-or-link)
13876 (Info-prev-reference-or-link): New functions.
13877 (Info-next-reference, Info-prev-reference): Use them.
13878 (Info-try-follow-nearest-node): Handle footnote navigation.
13879 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13880
138812013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13882
13883 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13884 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13885
138862013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13887
13888 Suppress unnecessary non-ASCII chatter during build process.
13889 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13890 (batch-skkdic-convert): Suppress most of the chatter.
13891 It's not needed so much now that machines are faster,
13892 and its non-ASCII component was confusing; see Dmitry Gutov in
13893 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13894
138952013-03-20 Leo Liu <sdl.web@gmail.com>
13896
13897 * ido.el (ido-chop): Fix bug#10994.
13898
138992013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13900
13901 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13902 Remove vars.
13903 (whitespace-color-on, whitespace-color-off):
13904 Use `font-lock-fontify-buffer' (Bug#13817).
13905
139062013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13907
13908 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13909 remapping in mode-line.
13910 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13911
139122013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13913
13914 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13915 value for `whitespace-line' face (Bug#13875).
13916 (whitespace-font-lock-keywords): Change description.
13917 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13918 the constructed keywords instead.
13919 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13920
139212013-03-19 Leo Liu <sdl.web@gmail.com>
13922
13923 * progmodes/compile.el (compilation-display-error): New command.
13924 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13925 C-o. (Bug#13992)
13926
139272013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13928
13929 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13930
139312013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13932
13933 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13934
139352013-03-18 Michael Albinus <michael.albinus@gmx.de>
13936
13937 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13938
13939 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13940 * net/tramp-gvfs.el (top):
13941 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13942 (tramp-handle-shell-command): Use it.
13943 (tramp-dissect-file-name): Raise an error when hostname is a
13944 method name, and neither method nor user is specified.
13945
13946 * net/trampver.el: Update release number.
13947
139482013-03-18 Leo Liu <sdl.web@gmail.com>
13949
13950 Make sure eldoc can be turned off properly.
13951 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13952 eldoc-mode.
13953 (eldoc-display-message-p): Revert last change.
13954 (eldoc-display-message-no-interference-p)
13955 (eldoc-print-current-symbol-info): Tweak.
13956
139572013-03-18 Tassilo Horn <tsdh@gnu.org>
13958
13959 * doc-view.el (doc-view-new-window-function): Check the new window
13960 overlay's display property instead the char property of the
13961 buffer's first char. Use `with-selected-window' instead of
13962 `save-window-excursion' with `select-window'.
13963 (doc-view-document->bitmap): Check the current doc-view overlay's
13964 display property instead the char property of the buffer's first char.
13965
139662013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13967
13968 Automate the build of ja-dic.el (Bug#13984).
13969 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13970 from the input, rather than assume that it's been done for us by the
13971 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13972 the current date into a ja-dic.el comment, as that complicates
13973 regression testing.
13974
139752013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13976
13977 * whitespace.el: Fix double evaluation.
13978 (whitespace-space, whitespace-hspace, whitespace-tab)
13979 (whitespace-newline, whitespace-trailing, whitespace-line)
13980 (whitespace-space-before-tab, whitespace-indentation)
13981 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13982 obsolete defvars.
13983 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13984 (whitespace-color-on): Use a single font-lock-add-keywords call.
13985 Fix double-evaluation of face variables.
13986
139872013-03-17 Michael Albinus <michael.albinus@gmx.de>
13988
13989 * net/tramp-adb.el (tramp-adb-parse-device-names):
13990 Use `start-process' instead of `call-process'. Otherwise, the
13991 function might be blocked under MS Windows. (Bug#13299)
13992
139932013-03-17 Leo Liu <sdl.web@gmail.com>
13994
13995 Extend eldoc to display info in the mode-line. (Bug#13978)
13996 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13997 (eldoc-mode-line-string): New variable.
13998 (eldoc-minibuffer-message): New function.
13999 (eldoc-message-function): New variable.
14000 (eldoc-message): Use it.
14001 (eldoc-display-message-p)
14002 (eldoc-display-message-no-interference-p):
14003 Support eldoc-post-insert-mode.
14004
14005 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14006 (eval-expression): Run it.
14007
140082013-03-17 Roland Winkler <winkler@gnu.org>
14009
14010 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14011 strings in the list of return values.
14012
140132013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14014
14015 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14016 radix before checking for HMS forms.
14017
140182013-03-16 Leo Liu <sdl.web@gmail.com>
14019
14020 * progmodes/scheme.el: Add indentation and font-locking for λ.
14021 (Bug#13975)
14022
140232013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14024
14025 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14026 token before point (bug#13942).
14027
140282013-03-16 Leo Liu <sdl.web@gmail.com>
14029
14030 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14031
140322013-03-16 Eli Zaretskii <eliz@gnu.org>
14033
14034 * startup.el (command-line-normalize-file-name): Fix handling of
14035 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14036 <xfq.free@gmail.com> in
14037 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14038
140392013-03-15 Michael Albinus <michael.albinus@gmx.de>
14040
14041 Sync with Tramp 2.2.7.
14042
14043 * net/trampver.el: Update release number.
14044
140452013-03-14 Tassilo Horn <tsdh@gnu.org>
14046
14047 * doc-view.el: Fix bug#13887.
14048 (doc-view-insert-image): Don't modify overlay associated to
14049 non-live windows, and implement horizontal centering of image in
14050 case it's smaller than the window.
14051 (doc-view-new-window-function): Force redisplay of new windows on
14052 doc-view buffers.
14053
140542013-03-13 Karl Fogel <kfogel@red-bean.com>
14055
14056 * saveplace.el (save-place-alist-to-file): Don't sort
14057 `save-place-alist', just pretty-print it (bug#13882).
14058
140592013-03-13 Michael Albinus <michael.albinus@gmx.de>
14060
14061 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14062 Check whether `default-file-name-coding-system' is bound.
14063 It isn't in XEmacs.
14064
140652013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14066
14067 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14068 backquotes for `obsolete' (bug#13929).
14069
14070 * international/mule.el (find-auto-coding): Include file name in
14071 obsolescence warning (bug#13922).
14072
140732013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14074
14075 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14076 for CFEngine 3-specific indentation.
14077 (cfengine3-indent-line): Use it. Fix up category regex.
14078 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14079
140802013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14081
14082 * type-break.el (type-break-file-name):
14083 * textmodes/remember.el (remember-data-file):
14084 * strokes.el (strokes-file):
14085 * shadowfile.el (shadow-initialize):
14086 * saveplace.el (save-place-file):
14087 * ps-bdf.el (bdf-cache-file):
14088 * progmodes/idlwave.el (idlwave-config-directory):
14089 * net/quickurl.el (quickurl-url-file):
14090 * international/kkc.el (kkc-init-file-name):
14091 * ido.el (ido-save-directory-list-file):
14092 * emulation/viper.el (viper-custom-file-name):
14093 * emulation/vip.el (vip-startup-file):
14094 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14095 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14096
140972013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14098
14099 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14100 * language/thai-word.el: Switch to UTF-8.
14101
14102See ChangeLog.16 for earlier changes.
14103
14104;; Local Variables:
14105;; coding: utf-8
14106;; End:
14107
14108 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14109
14110 This file is part of GNU Emacs.
14111
14112 GNU Emacs is free software: you can redistribute it and/or modify
14113 it under the terms of the GNU General Public License as published by
14114 the Free Software Foundation, either version 3 of the License, or
14115 (at your option) any later version.
14116
14117 GNU Emacs is distributed in the hope that it will be useful,
14118 but WITHOUT ANY WARRANTY; without even the implied warranty of
14119 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14120 GNU General Public License for more details.
14121
14122 You should have received a copy of the GNU General Public License
14123 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.