* lisp/calendar/calendar.el (calendar-generate-month): Apply weekend face
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
61debe4a
GM
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
8273986b
MA
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
4f8aeb84
DG
142014-03-17 Dmitry Gutov <dgutov@yandex.ru>
15
218feefc
DG
16 * newcomment.el (comment-beginning): If `comment-start-skip'
17 doesn't match, move back one char and try again. (Bug#16971)
18
4f8aeb84
DG
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
b92631bf
MR
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
57348c4d
JB
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
fd16b061
JB
632014-03-15 Juanma Barranquero <lekktu@gmail.com>
64
a2403e3d
JB
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
fd16b061
JB
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
e94807f0
GM
972014-03-14 Glenn Morris <rgm@gnu.org>
98
88103345
GM
99 * emacs-lisp/package.el (package-menu-mode-map):
100 Replace use of obsolete function alias. Tweak menu item text.
101
f2dd4ba8
GM
102 * info.el (Info-finder-find-node):
103 Ignore the `emacs' metapackage. (Bug#10813)
104
ac0f82ef
GM
105 * finder.el (finder-list-matches): Include unversioned packages
106 in the result of a keyword search.
107
e94807f0
GM
108 * finder.el (finder--builtins-descriptions): New constant.
109 (finder-compile-keywords): Use finder--builtins-descriptions.
110
50d434d1
DG
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
56759cf1
GM
1172014-03-14 Glenn Morris <rgm@gnu.org>
118
459d74ef
GM
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
56759cf1
GM
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
7644aa97
JB
1312014-03-14 Juanma Barranquero <lekktu@gmail.com>
132
133 * net/socks.el (socks, socks-override-functions)
fd16b061 134 (socks-find-services-entry):
7644aa97
JB
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
1f44df94
DG
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
0d71dfb3
TW
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
d27a1a7b
JB
1632014-03-12 Juanma Barranquero <lekktu@gmail.com>
164
a5765a3d
JB
165 * register.el (register-separator, copy-to-register): Doc fixes.
166 (register-preview-default): Remove unnecessary call to concat.
167
d27a1a7b
JB
168 * frameset.el (frameset-restore): When checking for a visible frame,
169 use the action map instead of calling visible-frame-list.
170
08dfa0b7
JB
1712014-03-12 Jonas Bernoulli <jonas@bernoul.li>
172
173 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
174
8960529e
MR
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
8a51e8e4
GM
1802014-03-12 Glenn Morris <rgm@gnu.org>
181
46456005
GM
182 * desktop.el (desktop-restore-frames)
183 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
184 (desktop-restore-reuses-frames): Doc tweaks.
185
8a51e8e4
GM
186 * electric.el (electric-indent-mode): Doc fix.
187
5983b317
JB
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
13c00cf0
JB
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
536a17e3
SM
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
baf8d0ac
JB
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
1ea22560
SM
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
4538c058
JB
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
ba1a5c78
GM
2502014-03-10 Glenn Morris <rgm@gnu.org>
251
776aa432
GM
252 * files.el (find-file): Doc fix: update info node name.
253
ba1a5c78
GM
254 * emacs-lisp/advice.el (ad-add-advice, defadvice):
255 Doc fix: remove references to deleted info nodes.
256
183d706e
MA
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
6f0f96e7
LL
2642014-03-10 Leo Liu <sdl.web@gmail.com>
265
536a17e3
SM
266 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
267 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 268
ca70fe78
SM
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
eb67db41
JL
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
8cf07e5a 279 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
280 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
281
e7db5447
JB
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
f0a4c8d7
DG
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
e50772e3
MA
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
cac0a1d6
MR
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
fa965cbf
MA
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
c94e6ee4
GM
3162014-03-06 Glenn Morris <rgm@gnu.org>
317
03bc753e
GM
318 * simple.el (newline): Doc tweak.
319
c94e6ee4
GM
320 * emacs-lisp/shadow.el (load-path-shadows-find):
321 Ignore dir-locals. (Bug#12357)
322
bd2d43dc
GM
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
9284000e
JB
3282014-03-05 Juanma Barranquero <lekktu@gmail.com>
329
330 * frameset.el (frameset--initial-params): Filter out null entries.
331
e1a2cb1c
MR
3322014-03-05 Martin Rudalics <rudalics@gmx.at>
333
27821a89
JB
334 * window.el (window-min-height, window-min-width):
335 Rewrite doc-strings.
e1a2cb1c
MR
336 (window-body-size): Add PIXELWISE argument to make it consistent
337 with its callees.
338
6bf67038
JB
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
90f04e4c
LI
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.
27821a89
JB
348 (eww-textarea-map): [tab] doesn't work on tty.
349 Reported by Mario Lang.
6952100d
LI
350
351 * net/shr.el (shr-map): Ditto.
90f04e4c 352
3106d59b
GM
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
f604dfdc
JB
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
5dc65319
MA
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
4242d21d
JB
3712014-03-04 Juanma Barranquero <lekktu@gmail.com>
372
b01fa838
JB
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
4242d21d
JB
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
87132570
MR
3932014-03-04 Martin Rudalics <rudalics@gmx.at>
394
395 * window.el (window-in-direction): Fix doc-string.
396
d82e752c
GM
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
62528af0
SM
4032014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
404
8d4901dc
SM
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
092c12b2
SM
417 * files.el (hack-local-variables): Mention file name in warning.
418
62528af0
SM
419 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
420
5b87d0d9
MN
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
542a3840
JB
4262014-03-03 Juanma Barranquero <lekktu@gmail.com>
427
f2d2402e
GM
428 * icomplete.el (icomplete-completions):
429 Follow-up to 2014-03-01 change.
d11320e5
JB
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
7ebd57e9
GM
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
35e951cd 4612014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
462
463 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
464 case of undo in region.
465
b923819c
MR
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
b6e443c5
JB
4712014-03-02 Juanma Barranquero <lekktu@gmail.com>
472
473 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 474 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 475
1850913d
DG
4762014-03-01 Dmitry Gutov <dgutov@yandex.ru>
477
35e951cd
JB
478 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
479 Highlight regexp options. (Bug#16914)
1850913d 480
04b577b6
MR
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
b829360f
GM
4862014-03-01 Glenn Morris <rgm@gnu.org>
487
2501c912
GM
488 * isearch.el (search-invisible): Doc fix.
489
b829360f
GM
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
9a155058
JB
4992014-03-01 Juanma Barranquero <lekktu@gmail.com>
500
501 * icomplete.el (icomplete-completions):
502 Revert back to using "..." when ?… cannot be displayed.
503
53f6cda8
JB
5042014-02-28 Juanma Barranquero <lekktu@gmail.com>
505
506 * finder.el (finder-unload-function): New function.
507
43977c23
JB
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
9dda75ad
MR
5162014-02-28 Martin Rudalics <rudalics@gmx.at>
517
518 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
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>.
9dda75ad
MR
523 * help.el (with-help-window): Fix doc-string.
524
8a73034e
IK
5252014-02-28 Ivan Kanis <ivan@kanis.fr>
526
b70257b0
GM
527 * net/shr.el (shr-image-animate): New option.
528 (shr-put-image): Respect shr-image-animate.
8a73034e 529
245aa73e
MA
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
48e15d64
PS
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
65b77347
AS
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
5e618aba
GM
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
6deb314e
KB
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
289996f5
EL
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
79fc1191
MA
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
298520df
JB
5762014-02-27 Juanma Barranquero <lekktu@gmail.com>
577
578 * subr.el (y-or-n-p): Fix double space issue in message.
579
c22c1614
MA
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.
35e951cd
JB
592 (tramp-adb-ls-output-name-less-p):
593 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
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
d9263618
GM
6042014-02-27 Glenn Morris <rgm@gnu.org>
605
ea7826ba
GM
606 * minibuffer.el (completion-table-dynamic)
607 (completion-table-with-cache): Doc fixes.
608
d9263618
GM
609 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
610 (completing-read-multiple): Doc fixes.
611
eff3168a
DC
6122014-02-27 Daniel Colascione <dancol@dancol.org>
613
51f213c3
DC
614 * minibuffer.el (completion--nth-completion): Fix indentation.
615
eff3168a
DC
616 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
617 explicit tramp path is empty.
618
b77cfcd7
GM
6192014-02-27 Glenn Morris <rgm@gnu.org>
620
621 * emacs-lisp/crm.el (completing-read-multiple):
622 Empower help-enable-auto-load.
623
9577b569
GM
6242014-02-26 Glenn Morris <rgm@gnu.org>
625
259887e8
GM
626 * startup.el (command-line): Don't init the tty in daemon mode.
627
1d491ef2
GM
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
9577b569
GM
635 * dired.el (dired-restore-desktop-buffer): Demote errors;
636 eg in case a glob match fails. (Bug#16884)
637
40ff7f86
DG
6382014-02-26 Dmitry Gutov <dgutov@yandex.ru>
639
b2388336
DG
640 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
641 error from `read-from-string'. (Bug#16850)
642
40ff7f86
DG
643 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
644 result of `completing-read' in the interactive form. (Bug#16854)
645
98bd6b32
GM
6462014-02-25 Glenn Morris <rgm@gnu.org>
647
f086804c
GM
648 * image.el (image-animate, image-animate-timeout):
649 Stop animating images in dead buffers. (Bug#16878)
650
c107155e
GM
651 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
652
9577b569
GM
653 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
654 Doc fixes.
98bd6b32
GM
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
9c9e18e8
JB
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
c848881f
MA
6662014-02-24 Michael Albinus <michael.albinus@gmx.de>
667
668 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
669
0e38ae05
NR
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
8ee4c296
LL
6752014-02-24 Leo Liu <sdl.web@gmail.com>
676
677 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
678
7d4bd627
JB
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
e918e27f
JB
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
85c01f80
MA
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
62f95022
DG
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).
dfdb365c
DG
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.
62f95022 703
025f2c81
JB
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
123c84f9
GM
7122014-02-22 Glenn Morris <rgm@gnu.org>
713
612c3e46
GM
714 * imenu.el (imenu--generic-function): Doc fix.
715
123c84f9
GM
716 * register.el (frame-configuration-to-register): Make obsolete.
717
e59fa9ad
JB
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
4e652634
DC
7242014-02-22 Daniel Colascione <dancol@dancol.org>
725
27821a89 726 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
727 Check that attribute values are strings, avoiding the construction
728 of invalid dbus messages.
4e652634 729
f35affb6
JB
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
3d136b1b
SM
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
612ddfc0
JB
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
c8481b1b
DG
7472014-02-21 Dmitry Gutov <dgutov@yandex.ru>
748
cb8f50a7
DG
749 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
750
c8481b1b
DG
751 * electric.el (electric-indent-functions-without-reindent):
752 Add `yaml-indent-line'.
753
bed5126f
JB
7542014-02-21 Juanma Barranquero <lekktu@gmail.com>
755
34b71457
JB
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
bed5126f
JB
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
8dd3e94f
MR
7642014-02-21 Martin Rudalics <rudalics@gmx.at>
765
766 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
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
8dd3e94f
MR
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
2ed94e04
MR
781 (with-temp-buffer-window): Don't evaluate BODY within
782 with-current-buffer (Bug#16816).
783
0e5324c4
MA
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
48198420
DC
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
99e15133
JB
8042014-02-21 Juanma Barranquero <lekktu@gmail.com>
805
e48983a6
JB
806 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
807 Remove obsolescence declarations, these variables do not exist anymore.
808
fdcfd745
JB
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
99e15133
JB
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
f5bee33b
MA
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)
85c01f80 827 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
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
ee0761ca
JB
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
4d49cc65
GM
8382014-02-20 Glenn Morris <rgm@gnu.org>
839
840 * isearch.el (search-invisible): Doc fix.
841
eee0d650
TK
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
94e5e202
JB
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
50bfdd5d
MA
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)
afe1e4c8 859 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
860
861 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 862 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
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
f097a3d2
JB
8792014-02-19 Juanma Barranquero <lekktu@gmail.com>
880
881 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
882
8e009b78
MR
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
95160c90
GM
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
b28df58c
SM
8942014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * delsel.el (delete-char): Restore incorrectly erased property
897 (bug#16795).
898
7108e1c0
JB
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
c863b6ad
GM
9052014-02-18 Glenn Morris <rgm@gnu.org>
906
a73fae1f
GM
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
c863b6ad
GM
913 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
914
29238d28
AM
9152014-02-17 Alan Mackenzie <acm@muc.de>
916
917 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 918 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 919 to electric-indent-{,local-}-mode.
b28df58c
SM
920 (c-basic-common-init): Set electric-indent-inhibit.
921 Initialise c-electric-flag from electric-indent-mode.
29238d28 922 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 923 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
924
925 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 926 hit, toggle electric-indent-local-mode.
29238d28 927
b28df58c
SM
928 * electric.el (electric-indent-mode-has-been-called):
929 New variable.
29238d28 930
c6463340
JB
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
94912b88
SM
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
26ea164c
DC
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
dd7691b7
MA
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
17d1b51b
DG
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
5bcad689
GM
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>
9b0c01f7
MM
965
966 * progmodes/sql.el: Version 3.4
967 (sql-oracle-options): New default value ("-L").
94912b88 968 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 969 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 970 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
971 (sql-login-delay): New variable.
972 (sql-product-interactive): Use it.
973
285f1858
JB
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
5d645ea4
GM
9792014-02-15 Glenn Morris <rgm@gnu.org>
980
981 * info.el (info-initialize): Revert 2014-01-10 change.
982
48c4f9b1
GM
9832014-02-14 Glenn Morris <rgm@gnu.org>
984
b8630261
GM
985 * replace.el (map-query-replace-regexp)
986 (read-regexp-defaults-function, read-regexp): Doc fixes.
987
b2bf2a25
GM
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
48c4f9b1
GM
995 * textmodes/remember.el (remember): Use frameset-to-register
996 rather than frame-configuration-to-register.
997
2804e0bd
JB
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
0b87142f
DC
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
47a73eb0
GM
10092014-02-13 Glenn Morris <rgm@gnu.org>
1010
8abcfd51
GM
1011 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1012
47a73eb0
GM
1013 * jit-lock.el (jit-lock-mode): Doc fix.
1014
c9b6b262
JB
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
eb4c6947
SM
10212014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1024
0dab5068
GM
10252014-02-13 Glenn Morris <rgm@gnu.org>
1026
1027 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1028
59075dcf
SM
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
5af9fbad
DG
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
a215930c
GM
10392014-02-12 Glenn Morris <rgm@gnu.org>
1040
a8cb4247
GM
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
a215930c
GM
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
26c5ecd9
JB
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
fcd58a02
LI
10552014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1056
1057 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1058
bacb3380
GM
10592014-02-10 Glenn Morris <rgm@gnu.org>
1060
1061 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1062
881329dc
EZ
10632014-02-10 Eli Zaretskii <eliz@gnu.org>
1064
02328db9
EZ
1065 * w32-common-fns.el (x-get-selection): Doc fix.
1066 * select.el (x-get-selection): Doc fix. (Bug#15109)
1067
881329dc
EZ
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
c7db4c06
MA
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
6abe4589
LI
10782014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1079
7602b5c3
LI
1080 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1081
e3692ee0
LI
1082 * simple.el (choose-completion): Doc fix (bug#14160).
1083
41015524
LI
1084 * subr.el (event-start): Say what a nil EVENT value means.
1085
87c79dcb
LI
1086 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1087 (bug#14197).
1088
3ab49e2c
LI
1089 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1090
f3c60241
LI
1091 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1092
3bd1d8a8
LI
1093 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1094
6abe4589
LI
1095 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1096 predicate function (bug#15455).
1097
a11463de
DG
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
2ab0ad85
GM
11032014-02-10 Glenn Morris <rgm@gnu.org>
1104
1105 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1106
411141fb
AM
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
d6d5fdf8
LI
11132014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1114
92c70367
LI
1115 * help.el (describe-bindings): Doc fix (bug#9888).
1116
468ef484
LI
1117 * files.el (save-buffer): Use ARG as the parameter name for
1118 consistency (bug#10346).
7e34193f 1119 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1120
fc2b1ffa 1121 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1122 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1123 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1124
790aceec
LI
1125 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1126
a54a7552 1127 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1128 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1129
dd163123
LI
1130 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1131 meaning of the parameter (bug#12282).
1132
9e108fe6
LI
1133 * files.el (find-file-noselect): Clarify prompt when changing
1134 readedness (bug#13261).
5a836f58
LI
1135 (locate-file): Suffixes aren't returned, so don't say that they
1136 are (bug#12674).
2356b316 1137 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1138
20dda930
LI
1139 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1140 before we actually start to delete things (bug#16331).
1141
d6d5fdf8
LI
1142 * subr.el (event-start): Doc fix (bug#14228).
1143 (event-end): Ditto.
1144
2abd71e5
GM
11452014-02-09 Glenn Morris <rgm@gnu.org>
1146
1147 * emacs-lisp/warnings.el (lwarn):
1148 Empower help-enable-auto-load. (Bug#15940)
1149
c1b5900b
AS
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
429b93bd
MA
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
b772a699
LI
11602014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1161
18c6aa8c
LI
1162 * simple.el (choose-completion-string-functions): Document new
1163 calling convention (bug#14153).
54dd147a 1164 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1165
dce8463b
LI
1166 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1167
b772a699 1168 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1169 (find-grep-dired): Doc fix (bug#14288).
b772a699 1170
2423c8d5
JL
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
518f26c2
LI
11762014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1177
893cc908
LI
1178 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1179
9165ffc0
LI
1180 * isearch.el (isearch-hide-immediately): Doc clarification
1181 (bug#14723).
1182
6ef4f3ce
LI
1183 * simple.el (line-move): Document utility function used many
1184 places in the Emacs sources (bug#14843).
1185
be58a238 1186 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1187 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1188 (dired-up-directory): Doc fix (bug#14848).
be58a238 1189
dd7aafbb
LI
1190 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1191
15cb9968
LI
1192 * files.el (file-relative-name): Doc fix (bug#15159).
1193
9788effd
LI
1194 * fringe.el (fringe-styles): Doc fix (bug#15239).
1195
c96411bd
LI
1196 * isearch.el (isearch-filter-predicate): Documentation typo fix
1197 (bug#15474).
1198
ea838c36
LI
1199 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1200
0d8a4ae7
LI
1201 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1202
f7a17bb3
LI
1203 * replace.el (replace-match-maybe-edit): Doc clarification
1204 (bug#15632).
1205
1bde5c3b
LI
1206 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1207
518f26c2
LI
1208 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1209
dd8e49fd
GM
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
7e088b29
IL
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
41a4a82f
GM
12212014-02-08 Glenn Morris <rgm@gnu.org>
1222
1223 * abbrev.el (edit-abbrevs-mode):
1224 Derive from fundamental-mode. (Bug#16682)
1225
e255a703
JB
12262014-02-07 Juanma Barranquero <lekktu@gmail.com>
1227
1228 * simple.el (quoted-insert): Check character validity (bug#16677).
1229
c99cf5ee
JL
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
7d7a68d8
JL
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
2b777cd9
JL
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
60eabbb9
GM
12502014-02-07 Glenn Morris <rgm@gnu.org>
1251
99cf3859
GM
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
2b568bc9
GM
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
60eabbb9
GM
1262 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1263 Disable now non-functional find-file-hook.
1264
629de968
MA
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
29127376
SM
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
79b6e0a9
GM
12792014-02-06 Glenn Morris <rgm@gnu.org>
1280
1281 * epa.el (epa-mail-aliases): Doc fix.
1282
a333e4d2
DG
12832014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1284
29127376
SM
1285 * emacs-lisp/lisp.el (lisp-completion-at-point):
1286 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1287 (bug#16604).
1288
1289 * minibuffer.el (completion-table-merge): New function.
1290
9a83b32b
MA
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
451ea3e6
GM
12992014-02-05 Glenn Morris <rgm@gnu.org>
1300
9a83b32b 1301 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1302
dd27d13b
FEG
13032014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1304
35e951cd 1305 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1306 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1307
08e41897
AL
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
764ec9e5
MR
13132014-02-03 Martin Rudalics <rudalics@gmx.at>
1314
08e41897
AL
1315 * faces.el (window-divider): New default value. Rewrite doc-string.
1316 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1317
6da8227c
DG
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
6a6b8e40
GM
13232014-02-03 Glenn Morris <rgm@gnu.org>
1324
7bcbca40
GM
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
719d965d 1329 * frameset.el (frameset-to-register):
6a6b8e40
GM
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
5dca7759
JT
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
709085b9
DC
13462014-02-02 Daniel Colascione <dancol@dancol.org>
1347
c295fc18 1348 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1349 Also try to display local help from just before point.
709085b9 1350
99f7b0a6
AM
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
f0a10576
JD
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
b8d552c2
DC
13732014-02-02 Daniel Colascione <dancol@dancol.org>
1374
35e951cd
JB
1375 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1376 Make loading cc-mode silent.
b8d552c2 1377
f2b7d123
DC
13782014-02-02 Daniel Colascione <dancol@dancol.org>
1379
35e951cd
JB
1380 * comint.el (comint-prompt-read-only): Change doc to suggest
1381 remap keybinding.
f2b7d123 1382
4472a196
GM
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
70e5a261
SM
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
7c324762
GM
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
a09beb3d
DG
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.
68e004e0
DG
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).
a09beb3d 1416
ed4d2875
LI
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
dba6e3ec
LI
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).
cc477daa
LI
1426 (shr-tag-svg): Respect `shr-inhibit-images'.
1427 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1428
e2a67bd0
DG
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-"."
70e5a261
SM
1435 parent, or the first "." parent at indentation.
1436 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1437 (Bug#16593)
1438
bd21bf41
JL
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
b7e615b9
GM
14472014-01-31 Glenn Morris <rgm@gnu.org>
1448
a69ecd19
GM
1449 * delsel.el (delete-selection-mode): Doc fix.
1450
9997d7e3
GM
1451 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1452 (trace-function-background): Doc fixes.
1453
fbb764b8
GM
1454 * ido.el (ido-use-virtual-buffers): Doc fix.
1455 Reset :version, since the default value has not changed.
1456
da942af1
GM
1457 * register.el (register-preview-delay, register-read-with-preview):
1458 Doc fixes.
1459
b7e615b9
GM
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
0a25002d
DH
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
ad78f432
GM
14722014-01-30 Glenn Morris <rgm@gnu.org>
1473
6bbc0c84
GM
1474 * simple.el (eval-expression): Doc fix.
1475
ad78f432
GM
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
7b2f049c
SM
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
0c633f13
GM
14882014-01-30 Glenn Morris <rgm@gnu.org>
1489
1490 * help.el (help-for-help-internal): Add "P" to text.
1491
5e61c1ef
GM
14922014-01-29 Glenn Morris <rgm@gnu.org>
1493
1494 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1495
1dcb169c
MR
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
a9128931
LL
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
a22359a7
GM
15152014-01-28 Glenn Morris <rgm@gnu.org>
1516
793ffe81
GM
1517 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1518
e3bd7eed
GM
1519 * indent.el (tab-stop-list): Doc fix. Add :version.
1520
a22359a7
GM
1521 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1522 (cvs-append-to-ignore): Add compatibility alias.
1523
52695556 15242014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1525
bac524e0
GM
1526 * dired.el (dired-hide-details-mode): Don't autoload it,
1527 since it cannot be used outside Dired buffers anyway.
1528
52695556 1529 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1530
52695556
GM
1531 * dired.el (dired-hide-details-hide-symlink-targets)
1532 (dired-hide-details-hide-information-lines)
1533 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
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
169d6004
GM
15522014-01-26 Glenn Morris <rgm@gnu.org>
1553
de6a923b
GM
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
169d6004
GM
1558 * sort.el (delete-duplicate-lines): Doc fix.
1559
ed85dee6
RS
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
e0c67e1d
LL
15742014-01-25 Leo Liu <sdl.web@gmail.com>
1575
1576 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1577
35408b1a
AS
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
76c3fa95
JB
15832014-01-24 Juanma Barranquero <lekktu@gmail.com>
1584
f77c7a99
JB
1585 * net/eww.el (eww-download-callback):
1586 Fix reference to eww-download-directory.
1587
76c3fa95
JB
1588 * emacs-lisp/bytecomp.el (byte-compile-file):
1589 Remove unused local variable `file-name'.
1590
1e548e40
GM
15912014-01-24 Glenn Morris <rgm@gnu.org>
1592
03f3b318
GM
1593 * woman.el (woman-default-faces, woman-monochrome-faces):
1594 Fix obsolescence specification.
1595
1e548e40
GM
1596 * subr.el (with-demoted-errors): Doc fix.
1597
d4f0427b
SM
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
1670e27f
GM
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
80efa207
GM
16092014-01-22 Glenn Morris <rgm@gnu.org>
1610
1611 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1612
29afcbab
SM
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
2a5bce4f
GM
16232014-01-22 Glenn Morris <rgm@gnu.org>
1624
edace89f
GM
1625 * version.el (emacs-bzr-version-bzr): Fix typo.
1626
2a5bce4f
GM
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.
983664c0 1631 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1632
6cb4da45
MR
16332014-01-22 Martin Rudalics <rudalics@gmx.at>
1634
1635 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
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
6cb4da45
MR
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
cc0f2ece
GM
16432014-01-22 Glenn Morris <rgm@gnu.org>
1644
7b997b14
GM
1645 * image.el (image-format-suffixes): Doc fix.
1646
44e76f9d
GM
1647 * international/quail.el (quail-define-package): Doc fix.
1648
35e951cd 1649 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1650 (authors-renamed-files-alist): Additions.
7bfc1caa 1651
85a5f61f
GM
1652 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1653 reverts 2014-01-09 change. (Bug#16422)
1654
cc0f2ece
GM
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
00d2a6bb
DC
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.
c295fc18 1669 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1670 to detect cases where we shouldn't expand "<<" to a heredoc
1671 skeleton.
1672
dd9d2e9d
SM
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
e7d807ca
TH
16822014-01-21 Tassilo Horn <tsdh@gnu.org>
1683
4ff0a0e5
TH
1684 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1685 specify it's an interactive function.
1686
dd9d2e9d
SM
1687 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1688 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1689 citations with optional arguments.
1690
87503791
LL
16912014-01-21 Leo Liu <sdl.web@gmail.com>
1692
1693 * simple.el (read--expression): Don't enable eldoc-mode.
1694
6cc750ee
SM
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
71f16bda
JL
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
3c5a4839
JL
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
f952002e
PE
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
93675500
MA
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
e3af763f
AM
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)
3fcfc4ee 1730 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1731 * progmodes/cc-mode.el (c-before-change, c-after-change)
1732 (c-font-lock-fontify-region): Bind it here.
1733
4ff6d92d
MR
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
9a685cf6
PE
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
5aa78c2d
JD
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
cabb250c
GM
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
a1340440
MA
17552014-01-17 Michael Albinus <michael.albinus@gmx.de>
1756
93675500
MA
1757 * net/tramp.el (tramp-password-prompt-regexp):
1758 Use `password-word-equivalents' if available.
a1340440
MA
1759 (tramp-action-password, tramp-process-one-action)
1760 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1761
681ce5d2
CY
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
fb3d479c
DG
17702014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1771
1772 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1773 (ruby-align-to-stmt-keywords): Change the default value.
1774 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
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
0d613483
GM
17802014-01-17 Glenn Morris <rgm@gnu.org>
1781
fc23fe2d
GM
1782 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1783
0d613483 1784 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 1785 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
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
2dbf4ffd
DG
17992014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1800
1801 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1802 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1803 callers.
2dbf4ffd 1804
87b2a7f2
SM
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
93acfb0e
DC
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
ccc6b208
JL
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
5c92e00d
DG
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
dac69660
NR
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
8b63edf8
ML
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
c6a0b8eb
AM
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
02bf443d
DU
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
fd7fde15
SM
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
c176054f
DC
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
e3f33e5d
BG
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
c055d654
SM
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
d791cc3b
BG
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
3c0c4562
JL
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
25a700d0
MR
18972014-01-13 Martin Rudalics <rudalics@gmx.at>
1898
1899 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1900 * window.el (fit-frame-to-buffer): Fix doc-string.
1901 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
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
6ae948d8
SM
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
6137cb82
SM
19122014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * net/shr.el (shr-render-region): Autoload.
1915
e6344e17
XF
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
3b922c70
LL
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
4fa51741
PE
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.
35e951cd 1932 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
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
9b335362
LL
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)
79b61bcc 1948 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1949 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1950
e2a095b1
GM
19512014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1952 Eric S. Raymond <esr@thyrsus.com>
9685190b 1953
841a6d0c 1954 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1955 function works correctly in either a Bazaar or Git repo.
0abf4134 1956
e2a095b1
GM
19572014-01-11 Eric S. Raymond <esr@thyrsus.com>
1958
6137cb82
SM
1959 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1960 Goes with removal of the joke manpages from /etc.
9685190b 1961
c295fc18 19622014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1963
6137cb82
SM
1964 * mail/rmail.el (rmail-get-coding-system):
1965 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1966
d2f16e93
GM
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
7e03bb32
ER
19722014-01-10 Eric S. Raymond <esr@thyrsus.com>
1973
1974 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1975 24.3 (Tested).
7e03bb32 1976
dd806710
BB
19772014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1978
1979 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1980 and Podfile.
1981
ed6ec139
EZ
19822014-01-10 Eli Zaretskii <eliz@gnu.org>
1983
1984 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1985
cc33cac9
CY
19862014-01-10 Chong Yidong <cyd@gnu.org>
1987
6137cb82 1988 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1989
d9d836b5
AL
19902014-01-10 Anders Lindgren <andlind@gmail.com>
1991
1992 * follow.el (follow-cache-command-list): Include right-char and
1993 left-char.
1994
06827ec8
PE
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
458dbf5e
GM
20022014-01-10 Glenn Morris <rgm@gnu.org>
2003
dad6fae7
GM
2004 * info.el (info-initialize): If running uninstalled, ensure our
2005 own info files are always found first, even if INFOPATH is set.
2006
458dbf5e
GM
2007 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2008
05e0afce
DE
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
f29778b3
ER
20162014-01-09 Eric S. Raymond <esr@thyrsus.com>
2017
2018 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2019 following renames. (Bug#8756)
f29778b3 2020
684d44ef
SM
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
9475054f
ER
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
38942b9c
GM
2034 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2035
9475054f 2036 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2037 emacs-repository-version. Obsolete-variable alias made.
9475054f 2038 * loadup.el: Follow through on this name change.
a12bf61e 2039 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2040 assumption about the version control system in use.
2041
0f918d96 20422014-01-08 David Engster <deng@randomsample.de>
abb82152 2043
684d44ef
SM
2044 * help-fns.el (help-fns-describe-function-functions):
2045 New variable to call functions for augmenting help buffers.
abb82152
DE
2046 (describe-function-1): Remove explicit calls to
2047 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
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
684d44ef
SM
2053 argument. Create proper button for file location.
2054 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2055 possible.
2056 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2057 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2058 (describe-method, describe-generic, eieio-describe-method):
2059 Remove aliases.
0f918d96
DE
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'.
684d44ef
SM
2069 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2070 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2071
136b74c5
PE
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
ec6c7de2
SM
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
d6262c7c
BG
20852014-01-08 Bastien Guerry <bzg@gnu.org>
2086
4b9e6087
GM
2087 * emacs-lisp/package.el (package-delete):
2088 Correctly delete the package from package-alist.
d6262c7c 2089
0a3eec32
DU
20902014-01-08 Daiki Ueno <ueno@gnu.org>
2091
2092 * emacs-lisp/package.el (url-recreate-url): Declare.
2093 (url-http-target-url): Declare.
4b9e6087 2094 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2095 (package--check-signature): Don't re-signal errors from
2096 package--with-work-buffer. Suggested by Stefan Monnier.
2097
68f0bb97
BG
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
7e1899d7
MR
21042014-01-07 Martin Rudalics <rudalics@gmx.at>
2105
2106 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2107 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2108
0030ec15
GM
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
2b6b4f20
BG
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
e9be0a13
GM
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
e4f74da9
JL
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
de7ce2d1
CY
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
6bdd9204
SM
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
daccca97
BG
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
ec00f20f
SM
21622014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * subr.el (set-transient-map): Fix nested case and docstring.
2165
a0031f97
TH
21662014-01-06 Tassilo Horn <tsdh@gnu.org>
2167
2168 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2169 `Texinfo' entry.
2170
bf6a77f3
DC
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'.
c295fc18 2177 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
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'.
bf6a77f3 2180 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2181 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2182
d5081c1e
PE
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
53f6b148
LL
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
3b922c70 2203 to avoid shadowing global key. (Bug#16354)
53f6b148 2204
b82ace2f
DC
22052014-01-06 Daniel Colascione <dancol@dancol.org>
2206
2207 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2208 rst-mode.
2209
3669b636
MR
22102014-01-05 Martin Rudalics <rudalics@gmx.at>
2211
2212 * window.el (balance-windows): Add mising t to fix Bug#16351.
2213
1a29adc2
LMI
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).
3d95a0f4
LMI
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.
1a29adc2 2221
f4018140
KN
22222014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2223
3fcfc4ee 2224 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2225 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
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.
f4018140 2230
4e619754
PE
22312014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2232
73dbf960
PE
2233 Fix misspelling of 'chinese' in rx (Bug#16237).
2234 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2235 chinese-two-byte.
2236
4e619754
PE
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
e18b70fc
SM
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
0d53f628
CY
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
6f547583
SM
22672014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2268
6ef9aed8
SM
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
6f547583
SM
2276 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2277 Beware signals raised by predicates (bug#16201).
2278
a574edbe
RS
22792014-01-02 Richard Stallman <rms@gnu.org>
2280
e831604d
RS
2281 * dired-aux.el (dired-do-print): Handle printer-name.
2282
6f547583
SM
2283 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2284 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2285 (rmail-epa-decrypt): Turn off mime processing.
2286
3fcfc4ee 2287 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2288 Add parens in message-id.
2289
2290 * mail/rmail.el (rmail-get-coding-function): Variable.
2291 (rmail-get-coding-system): Use it.
2292
04311a16
KH
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
c8d89778
LL
22982013-12-31 Leo Liu <sdl.web@gmail.com>
2299
2300 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2301
e63ace37
DC
23022013-12-30 Daniel Colascione <dancol@dancol.org>
2303
9e0bf19a
DC
2304 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2305 of printing a useless when we resume from sleep.
2306
e63ace37 2307 * progmodes/sh-script.el
c295fc18 2308 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2309 in indentation code. (Bug#16233)
2310
e9d6c46a
JT
23112013-12-28 João Távora <joaotavora@gmail.com>
2312
6f547583
SM
2313 * elec-pair.el (electric-pair-post-self-insert-function):
2314 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2315
bf7bea5d
EZ
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
8449dd1f
GM
23212013-12-28 Glenn Morris <rgm@gnu.org>
2322
9c5a5c77
GM
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
bb098075
GM
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
9c61f806
GM
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
8449dd1f
GM
2366 * emacs-lisp/authors.el (authors-ignored-files)
2367 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2368
fdadeb49
JC
23692013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2370
72140a0f
GM
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
da5ecfa9 2374 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2375
e572a7d8
LI
23762013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2377
2378 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2379
7514d3f8
SM
23802013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2381
a4151f3b
SM
2382 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2383 (bug#16251).
2384
7514d3f8
SM
2385 * electric.el: Move all electric-pair-* to elec-pair.el.
2386 * elec-pair.el: New file, split from electric.el.
2387
ac5758d1
LI
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).
24a6b65e
LI
2395 (shr-find-fill-point): Off by one error in comparison with the
2396 indentation.
ac5758d1 2397
7514d3f8 23982013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2399
2400 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2401 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
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.
7514d3f8
SM
2408 (electric--sort-post-self-insertion-hook):
2409 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
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.
7514d3f8
SM
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
3b8d5131
JT
2417 electric-pair-open-newline-between-pairs to nil.
2418
fbcc63a3
FEG
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
ed78d16c
XF
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
38b2c142
KY
24292013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2430
2431 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2432 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2433 Fix edebug spec (bug#16184).
2434
3c856c14
LI
24352013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2436
83fa295c 2437 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2438 (shr-insert): Don't infloop if we can't find a good place to break
2439 the line (bug#16256).
3c856c14 2440
01379221
FEG
24412013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2442
35e951cd 2443 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
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.
7514d3f8
SM
2452 (python-shell-buffer-substring):
2453 Use `python-nav-forward-sexp-safe'.
01379221 2454
99e4926f
LI
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.
c6c20584
LI
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
7514d3f8 2461 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2462
fec0e828
KN
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
89c868ad
FEG
24692013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2470
7514d3f8
SM
2471 * progmodes/python.el (python-nav-beginning-of-statement):
2472 Speed up (Bug#15295).
89c868ad 2473
eeef121a
LI
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
121ea65f
EZ
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
18cee9ec
MR
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
58f2b9a5
LI
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
d64b6308
DC
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.
7514d3f8 2502 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2503
0da54898
DC
25042013-12-23 Daniel Colascione <dancol@dancol.org>
2505
2506 * icomplete.el: Move `provide' to end of file.
2507
b90aa4f4
TZ
25082013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2509
2510 * net/gnutls.el (gnutls-verify-error): Add version tag.
2511
8cd22a08
CY
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
7510b021
CY
2526 * indent.el (indent-rigidly): Use substitute-command-keys.
2527
72140a0f 25282013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2529
2530 * net/eww.el (eww-tag-select): Add text-property to jump to next
2531 select field.
e9dc713d 2532 (eww): Add non-supported ftp error.
56890ecd 2533
1f87a56c
DG
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
dca38cf9
CY
25392013-12-22 Chong Yidong <cyd@gnu.org>
2540
2541 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2542 applicable to a frame, fall back on the defface spec.
2543 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2544
f2351498
DG
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
6cddebc1
DG
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
65a1da00
DG
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
b51ad4cf
RS
25662013-12-21 Richard Stallman <rms@gnu.org>
2567
2568 * simple.el (newline): Doc fix.
2569
72140a0f 25702013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2571
e9dc713d 2572 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
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.
e9dc713d
JB
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'.
d49fbfd6 2579
5e1901c1
RS
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
073d5cfd
LMI
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
41cf3d11
JD
25982013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2599
2600 * cus-start.el (all): Add ns-use-srgb-colorspace.
2601
aac2b673
CY
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
bacb0e77
CY
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
77221051
CY
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
e0eb0550
JB
26282013-12-20 Juanma Barranquero <lekktu@gmail.com>
2629
2630 * faces.el (read-face-name): Require crm.el when using crm-separator.
2631
3282bd2e
DC
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
1d42e5b6
JL
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
24da7273
JL
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
137f57c8
S
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
f3a66082
SB
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
2f99433b
SB
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
131e4695
BB
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.
3cbfb935
BB
2733 (string-remove-prefix): New function.
2734 (string-remove-suffix): New function.
131e4695 2735
c44de18d
MR
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.
e0eb0550
JB
2740 (window--pixel-to-total-1, window--pixel-to-total):
2741 Fix calculation of new total sizes.
c44de18d 2742
ca65efcc
VS
27432013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2744
2745 * comint.el (comint-output-filter): Fix rear-nonsticky property
2746 placement (Bug#16010).
2747
a9574eb7
CY
27482013-12-20 Chong Yidong <cyd@gnu.org>
2749
2750 * faces.el (read-color): Minor fix for completion function.
2751
b520f210
DG
27522013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2753
e0eb0550
JB
2754 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2755 New option. (Bug#16182)
b520f210
DG
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
26b75b45
JB
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
cf91cee7
LMI
27682013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2769
2770 * net/shr.el (shr-insert): Protect against infloops in degenerate
2771 tables.
2772
51d971b4
RS
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
8c2e462a
LL
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
501158bc
JL
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
50ab1da6
JL
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
3d6e95e7
JL
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
b41594fd
JL
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
8f2be364
TZ
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
2230a6e3
SM
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
1269a680
JD
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)
2230a6e3
SM
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.
1269a680 2856
049638ad
GM
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
ce41edb4
DG
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
7e1549c9
DG
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
3ee4cd64
JL
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
0cda6b7b
JL
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
b216f0a6
JL
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
1d1c55dc
LL
29132013-12-18 Leo Liu <sdl.web@gmail.com>
2914
e9dc713d
JB
2915 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2916 (Bug#16186)
1d1c55dc 2917
64e4c76e
EZ
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
b2984e39
TH
29272013-12-18 Tassilo Horn <tsdh@gnu.org>
2928
2230a6e3
SM
2929 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2930 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2931
50ff2e06
CY
29322013-12-18 Chong Yidong <cyd@gnu.org>
2933
0081bc84
CY
2934 * cus-edit.el (custom-magic-alist): Fix "themed" description
2935 (Bug#14348).
2936
a7ee9424
CY
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).
18874304 2940 (custom-available-themes): Doc fix.
a7ee9424 2941
8f942537
CY
2942 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2943 (Bug#15674).
2944
50ff2e06
CY
2945 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2946
83c60f60
KI
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
e0eb0550 29522013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2953
2954 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2955
1f41ee56
GM
29562013-12-18 Glenn Morris <rgm@gnu.org>
2957
2958 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2959 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2960
e82134b1
LW
29612013-12-18 Le Wang <l26wang@gmail.com>
2962
2230a6e3
SM
2963 * comint.el (comint-previous-matching-input-from-input):
2964 Retain point (Bug#13404).
e82134b1 2965
33f5d4c1
CY
29662013-12-18 Chong Yidong <cyd@gnu.org>
2967
2968 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2969
ccc9f6dc
GM
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
33dd8e95
JL
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
7a409b30
JL
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
2d6b6005
SM
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
cf2b7efc
MR
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
ed3af8a7 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
76da3455
DK
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
2b84d763
LL
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
e2f6a0bc
CY
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
35b249a6
DG
30372013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3038
3039 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3040
e9145444
SM
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
5556c0ce
DG
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
11bade0a
LMI
30562013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3057
1c4b1e61
LMI
3058 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3059
11bade0a
LMI
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
8fb8c4f3
PE
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
6c8e0ae6
JL
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
2178e858
JL
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
39cb42c6
SM
30882013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3089
3090 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3091
5b9b750a
TZ
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
d144ef06
MR
31012013-12-16 Martin Rudalics <rudalics@gmx.at>
3102
39cb42c6
SM
3103 * window.el (display-buffer-below-selected):
3104 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3105
a8bbe298
LL
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
2013a2f9
SM
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
5ae811dd
TZ
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
31b4827e
TZ
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
f93cc74f
MR
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
f77d7d17
TW
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).
aa2bddd7 3160
7514d3f8
SM
31612013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3162
aa2bddd7 3163 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3164 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3165
276bc333
DG
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
d43957f3
TZ
31742013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3175
a5c1ac0c 3176 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3177 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3178 (cfengine3--current-word): Fix parameters.
3179 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3180 (cfengine3-completion-function, cfengine3--current-function):
3181 Use `assq' for symbols.
d43957f3
TZ
3182 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3183
06a4f110
GM
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
978a5fda
TZ
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'.
aa2bddd7
SM
3198 (cfengine3-completion-function, cfengine3--current-function):
3199 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
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
71e6691e
MR
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
84c73ba0
DG
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
b9e20952
LL
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
ce030451
FEG
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
e9dc713d 3238 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3239
4a9c6865
JL
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
2bc170c3
JL
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
bc9222c9
FEG
32502013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3251
aa2bddd7 3252 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3253 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3254
cb3a1380
SM
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
01633a17
EZ
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
09faee72
FEG
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
e9dc713d 3279 behavior for comment blocks. (Bug#15916)
09faee72 3280
f4f84024 32812013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3282
cb3a1380
SM
3283 * progmodes/python.el (python-indent-calculate-indentation):
3284 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3285 operators when they are just string constituents. (Bug#15812)
3286
d5ccb7be
JL
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
7b3f5679
GM
32952013-12-11 Glenn Morris <rgm@gnu.org>
3296
3297 * emacs-lisp/package.el (finder-list-matches):
3298 Autoload rather than falsely declaring.
3299
f4fe8fdd
TZ
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
3c29190f
MR
33052013-12-11 Martin Rudalics <rudalics@gmx.at>
3306
3307 * window.el (display-buffer-in-side-window): Fix doc-string
3308 (Bug#16115).
3309
0cd616a2
JB
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
3ef8e0d1
EZ
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
afdadaf7
SM
33212013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3322
7ae3ae39 3323 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3324 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3325
5b4f37ab
SM
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
4b72c12b
SM
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
e82af72d
SM
3341 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3342
afdadaf7
SM
3343 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3344 to `delete' (bug#16109).
3345
ed4bc201
RS
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
bb8097b9
JL
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
c1916ff5
JL
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
7514d3f8 33652013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
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
4cc51eaf
JL
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
c295fc18 3383 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
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
ceac12b7
EZ
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
5a565782
TZ
34032013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3404
cb3a1380
SM
3405 * emacs-lisp/package.el (package-keyword-button-action):
3406 Remove finder.el require dependency.
5a565782 3407
a81fc7ba
TZ
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
e0eb0550 3414 `finder-list-matches'.
a81fc7ba 3415
6aaca951
EZ
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
a1099a91
MA
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
8212d9c0
DG
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
8f48d131
CD
34312013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3432
cb3a1380
SM
3433 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3434 Handle caret-delimited strings (Bug#16079).
8f48d131 3435
ff8c9764
DG
34362013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3437
cb3a1380
SM
3438 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3439 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3440 `ruby-parse-partial' (Bug#16078).
3441
d64643b4
LL
34422013-12-09 Leo Liu <sdl.web@gmail.com>
3443
3444 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3445
47e59c66
DG
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.
cb3a1380
SM
3454 (js--indent-in-array-comp, js--array-comp-indentation):
3455 New functions.
47e59c66
DG
3456 (js--proper-indentation): Use them, to handle array comprehension
3457 continuations.
3458
974ebc9c
LL
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
27262e39
SM
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
6407822c
LL
34802013-12-08 Leo Liu <sdl.web@gmail.com>
3481
27262e39
SM
3482 * progmodes/flymake.el (flymake-popup-current-error-menu):
3483 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3484 (flymake-posn-at-point-as-event, flymake-popup-menu)
3485 (flymake-make-emacs-menu): Remove. (Bug#16077)
3486
00a2b823
SM
34872013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3488
02033d49
SM
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
6f8dfccf
SM
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
00a2b823
SM
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
a92fa5f1
LL
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
73c8ceea
BB
35452013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3546
3547 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3548
faec28d9
TH
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
e330b646
LMI
35552013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3556
00a2b823 3557 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3558
4803595d
MA
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
fa834a93
DG
35672013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3568
00a2b823
SM
3569 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3570 Touch up the last change.
fa834a93 3571
b2856a6f
LL
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
af67e79a
DG
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
bf093209
JL
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
16588fad
DG
35982013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3599
00a2b823
SM
3600 * progmodes/octave.el (inferior-octave-completion-table):
3601 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3602 (Bug#11906). Update all references.
3603
3604 * minibuffer.el (completion-table-with-cache): New function.
3605
bf4906d7
CD
36062013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3607
3608 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3609
ff69c18f
TZ
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
b85eff45
MA
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
39eb0899
TZ
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
456760a5
MR
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
81961e4c
MA
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
8497f938
SM
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
dda61916
DG
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
c085e5b9
JL
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
e0eb0550 36662013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3667
3668 * notifications.el (notifications-close-notification): Call the
81961e4c 3669 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3670
39fa32d6
KY
36712013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3672
3673 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3674
9139632a
JL
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
0f457a37
DG
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
0962f376
SM
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
f345395c
HE
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
a8a15d9d
MA
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
0518b057
LL
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
3adc9c6d
DG
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
47e8b74e
DG
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
1f6e1bb0
LMI
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
fb651d15
SM
37512013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3752
3753 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3754
8feacce0
RS
37552013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3756
fb651d15 3757 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3758 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3759 (eww-form-checkbox, eww-toggle-checkbox):
3760 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3761
e0eb0550 3762 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3763 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3764 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3765 no :src tag was specified.
3766
fb651d15 3767 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
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.
450c7b35 3771 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3772
177948a5
RS
3773 * net/shr.el (shr-tag-video): Display content for video if no
3774 poster is available.
eb2dd24d 3775 (shr-tag-audio): Add support for <audio> tag.
177948a5 3776
e0eb0550 3777 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3778 (eww-process-text-input): Treat input types in
3779 `eww-text-input-types' as text.
3780
8feacce0
RS
3781 * net/shr.el (shr-tag-table): Fix comment typo.
3782
513562a1
LMI
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).
de8a5633 3787 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3788
9dd99753
KN
37892013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3790
3791 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3792 forms.
3793
3e9876de
LMI
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.
ab6dea82 3798 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3799
52789f7f
DG
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
2e6710c3
GM
38132013-12-01 Glenn Morris <rgm@gnu.org>
3814
3815 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3816
fadec31f
EZ
38172013-11-30 Eli Zaretskii <eliz@gnu.org>
3818
3819 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3820 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3821 visible. (Bug#16014)
3822
10634b40 38232013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
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.
9dda75ad
MR
3831 * help.el (describe-bindings-internal): Use help-buffer as
3832 argument for with-help-window.
880e6158
MR
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)
fb651d15
SM
3864 (display-buffer-record-window, window--display-buffer):
3865 Make functions handle pixelwise sizing of windows.
880e6158 3866 (display-buffer--action-function-custom-type)
fb651d15
SM
3867 (display-buffer-fallback-action):
3868 Add display-buffer-in-previous-window.
880e6158
MR
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
f9b697dd
GM
38792013-11-30 Glenn Morris <rgm@gnu.org>
3880
3e2fb4db
GM
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
f9b697dd
GM
3890 Stop keeping (most) generated cedet grammar files in the repository.
3891 * Makefile.in (semantic): New.
3892 (compile-main): Depend on semantic.
3893
da048127
SM
38942013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3895
7784b779
SM
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
4e36a6a6
SM
3899 * uniquify.el (uniquify-buffer-name-style): Change default.
3900
3901 * loadup.el: Preload "uniquify".
3902
e0ba1308
SM
3903 * time.el (display-time-update): Update all mode lines (bug#15999).
3904
da048127
SM
3905 * electric.el (electric-indent-mode): Enable by default.
3906 * loadup.el: Preload "electric".
3907
015b3b3e
BB
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
7efb806d
AP
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
c8f0efc2
AP
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
bd15d9d1
SM
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
1b10adb6
SM
39352013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3936
655ab9a3
SM
3937 * doc-view.el (doc-view-goto-page): Update mode-line.
3938
1b10adb6
SM
3939 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3940
7e3bf78c
GM
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
fb6a5d68
EZ
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
cb6c95a3
GM
39582013-11-27 Glenn Morris <rgm@gnu.org>
3959
20372d0c
GM
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
52d6635f 3966 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
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
7514d3f8 39832013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3984
e0eb0550 3985 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3986 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3987 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3988
0e2c793f
EZ
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
447bdcb8
BB
39942013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3995
3996 * emacs-lisp/helpers.el (string-reverse): New function.
3997
5fbf6856
MA
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
624780f0
GM
40062013-11-26 Glenn Morris <rgm@gnu.org>
4007
0bf3f0fa
GM
4008 * progmodes/python.el (python-indent-guess-indent-offset):
4009 Avoid corner-case error. (Bug#15975)
4010
624780f0
GM
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
4301875e 40152013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4016
4017 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4018
4301875e
BB
4019 * emacs-lisp/helpers.el (string-join): New function.
4020
1633a815 40212013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
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
00139435
MR
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
5f5b128d
DK
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
623891e5
SM
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
05ca27d8
MA
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
511fa0d3
SM
40522013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4053
e82ad66c
SM
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
511fa0d3
SM
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
6f20dd03
DG
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
431dec31 40752013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4076
4077 * json.el (json-alist-p): Only return non-nil if the alist has
4078 simple keys (Bug#13518).
4079
431dec31 40802013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
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
ee4f0261
DG
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
c484f866
JS
40912013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4092
e9dc713d
JB
4093 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4094 (Bug#13898)
c484f866 4095
41ce6f70
BB
40962013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4097
b55aea38
BB
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
41ce6f70
BB
4103 * subr.el (string-suffix-p): New function.
4104
3cfb6af3
GM
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
c27924b7
IS
41112013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4112
e1b01c7f
IS
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
c27924b7
IS
4116 * textmodes/tex-mode.el (latex-noindent-environments):
4117 Add safe-local-variable property. (Bug#15936)
4118
17e0445b
GM
41192013-11-23 Glenn Morris <rgm@gnu.org>
4120
92f78ea3
GM
4121 * textmodes/enriched.el (enriched-mode): Doc fix.
4122 * emacs-lisp/authors.el (authors-renamed-files-alist):
4123 Add enriched.doc -> enriched.txt.
4124
17e0445b
GM
4125 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4126
965bb23a
LL
41272013-11-22 Leo Liu <sdl.web@gmail.com>
4128
4129 * progmodes/octave.el (inferior-octave-startup): Spit out error
4130 message.
4131
d19ffd64
BB
41322013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4133
4134 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4135 Improve docstring.
15ba2182
BB
4136 Add :version.
4137 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4138
7a7567d2
LL
41392013-11-22 Leo Liu <sdl.web@gmail.com>
4140
4141 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4142 (Bug#15076)
8c09f64b
LL
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.
2cc18f93 4146 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4147
724bc265
LL
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
38637cca
LL
41562013-11-21 Leo Liu <sdl.web@gmail.com>
4157
511fa0d3
SM
4158 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4159 Fix obsolete variable comment-use-global-state.
38637cca 4160
06e752b4
RS
41612013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4162
511fa0d3
SM
4163 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4164 Add `octave-source-file'.
06e752b4
RS
4165 (octave-source-file): New function. (Bug#15935)
4166
7514d3f8 41672013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4168
4169 * net/eww.el (eww-local-regex): New variable.
4170 (eww): Use it to detect localhost and similar.
4171
b6ffa04a
LL
41722013-11-21 Leo Liu <sdl.web@gmail.com>
4173
4174 Add completion for command `ag'.
2021a200
LL
4175 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4176 (pcomplete/ag): New function.
e9dc713d 4177 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4178
d1a6bccc
SM
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
2df10228
GM
41852013-11-21 Glenn Morris <rgm@gnu.org>
4186
4187 * startup.el (command-line-1): Use path-separator with -L.
4188
86fd16b6
TZ
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
0449d6cd 41942013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
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
dc7e8c17 42002013-11-20 era eriksson <era+emacsbugs@iki.fi>
4201
4202 * ses.el (ses-mode): Doc fix. (Bug#14748)
4203
f0cfa5fe
LL
42042013-11-20 Leo Liu <sdl.web@gmail.com>
4205
4206 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4207
826dc7b6
DN
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
a6e3a5d5
XF
42132013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4214
4215 * filenotify.el (file-notify-add-watch): Doc fix.
4216
f130cb76
LL
42172013-11-19 Leo Liu <sdl.web@gmail.com>
4218
e0855d7d
LL
4219 * obsolete/rcompile.el: Mark obsolete.
4220
f130cb76 4221 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4222 (compilation-goto-locus, compilation-find-file):
4223 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4224 (Bug#13594)
4225
4226 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4227 new parameter no-display-ok. Return either a window or nil
4228 but never a non-window value.
f130cb76 4229
1f35d401
SM
42302013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4231
25158c76
SM
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.
1f35d401 4237
9bc67baa
SM
42382013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4239
986545b5
SM
4240 * emacs-lisp/nadvice.el (remove-function): Align with
4241 add-function's behavior.
4242
9bc67baa
SM
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
56cd894e
AS
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
014690de
JB
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
7e26a6c3
TZ
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
355204dd
MA
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
43cebc23
DG
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
a3fed6ff
BB
42902013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4291
4292 * subr.el (version-regexp-alist): Fix a typo.
4293
e675b3e4
MA
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
a1f03e89
LL
43012013-11-15 Leo Liu <sdl.web@gmail.com>
4302
4303 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4304
5d9d9451
SM
43052013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4306
58362662
CS
4307 * progmodes/gud.el (ctl-x-map):
4308 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4309 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4310
6c1bf086
BB
43112013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4312
0d5363c4
BB
4313 * subr.el (version-regexp-alist):
4314 Recognize hg, svn and darcs versions as snapshot versions.
4315
4e9fc48c
BB
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.
6c1bf086 4323
2f7e72f8
MA
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
0f137a73
SM
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
1c276bdd
GM
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
ff6ec81d
SM
43462013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * widget.el, hfy-cmap.el: Remove bogus package version number.
4349
75f777b6
GM
43502013-11-13 Glenn Morris <rgm@gnu.org>
4351
1d43dba1
GM
4352 * replace.el (replace-eval-replacement):
4353 Try to give more helpful error message. (Bug#15836)
4354
ff4b7bd5
GM
4355 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4356 (archive-7z-update): Avoid custom type mismatches.
4357
75f777b6
GM
4358 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4359
11151a06
MA
43602013-11-13 Michael Albinus <michael.albinus@gmx.de>
4361
e675b3e4 4362 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
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
7b08f97e
DG
43692013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4370
4371 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4372 binary "|" operator and closing block args delimiter.
4373 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
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
f201cf3a
GM
43792013-11-12 Glenn Morris <rgm@gnu.org>
4380
4381 * ps-print.el (ps-face-attribute-list):
4382 Handle anonymous faces. (Bug#15827)
4383
e6f759f9
MR
43842013-11-12 Martin Rudalics <rudalics@gmx.at>
4385
4386 * window.el (display-buffer-other-frame): Fix doc-string.
4387 (Bug#15868)
4388
ecda65d4
SM
43892013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4390
4391 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4392
7ce8fcc3
MA
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
7818df11
SM
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
608c2085
NT
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
122a7e46
SM
44162013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * iswitchb.el (iswitchb-mode): Mark obsolete.
4419
766284d9
GM
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
7072a4e9
MA
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
c9df215b
AS
44322013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4433
608c2085
NT
4434 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4435 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4436
fa47d796
DG
44372013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4438
4439 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4440 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
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
1629a329
DG
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
ad16897c
SM
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
ffa2df72
DG
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
5b97b4c0
JD
44622013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4463
4464 * faces.el (describe-face): Add distant-foreground.
4465
71731c03
BB
44662013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4467
4e9fc48c
BB
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.
655ab9a3
SM
4471 (ruby--insert-coding-comment, ruby--detect-encoding):
4472 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4473 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4474 to control the style of the auto-inserted encoding comment.
71731c03 4475
da3b328d
DG
44762013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4477
ad16897c
SM
4478 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4479 Use `smie-backward-sexp' with token argument.
da3b328d 4480
1606c2d3
MA
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
b0f4c320
GM
44862013-11-08 Glenn Morris <rgm@gnu.org>
4487
4488 * progmodes/autoconf.el (autoconf-mode):
4489 Tweak comment-start-skip. (Bug#15822)
4490
43668fb1
SM
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
daddb3fd
DH
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
1f923923
DG
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.
daddb3fd
DH
4512 (ruby-smie--forward-token, ruby-smie--backward-token):
4513 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
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
3220d527
SM
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
1eb1f9e0
MA
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
e6e4db3c
NT
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
b420ccfc
DG
45362013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4537
4538 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4539 "." compared to " @ ". This incidentally fixes some indentation
4540 examples with "do".
e6e4db3c 4541 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
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.
b420ccfc 4548
6b4ac03e
GM
45492013-11-06 Glenn Morris <rgm@gnu.org>
4550
4551 * Makefile.in (setwins_almost, setwins_for_subdirs):
4552 Avoid accidental matches.
4553
5ca114d1
SM
45542013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * menu-bar.el (popup-menu): Use key-binding.
4557
f72552bd
EZ
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
5d5c701e
LL
45642013-11-06 Leo Liu <sdl.web@gmail.com>
4565
4566 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4567 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4568
0a8b75e2
GM
45692013-11-06 Glenn Morris <rgm@gnu.org>
4570
4571 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4572 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4573 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4574
a35287ea
SM
45752013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4576
feca4e2d
SM
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
a35287ea
SM
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
375761b2
EZ
45872013-11-05 Eli Zaretskii <eliz@gnu.org>
4588
9a6ad735
EZ
4589 * international/quail.el (quail-help): Be more explicit about the
4590 meaning of the labels shown on the keys. (Bug#15800)
4591
375761b2
EZ
4592 * startup.el (normal-top-level): Load the subdirs.el files before
4593 setting the locale environment. (Bug#15805)
4594
520a6e4a
SM
45952013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4596
0acfafef
SM
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
520a6e4a
SM
4600 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4601
15826261
MA
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
d35f31a4
XF
46122013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4613
4614 * international/characters.el (glyphless-char-display-control):
4615 Add usage note.
4616
ae93bc74
BB
46172013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4618
520a6e4a
SM
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.
ae93bc74 4625
0ade65b5
SM
46262013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4627
a0d5f7a4
SM
4628 * rect.el (rectangle--highlight-for-redisplay):
4629 * emacs-lisp/smie.el (smie--next-indent-change):
4630 Use buffer-chars-modified-tick.
4631
c93f3f5c
SM
4632 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4633
0ade65b5
SM
4634 * electric.el (electric-indent-post-self-insert-function):
4635 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4636
ef9dd188
HE
46372013-11-04 Helmut Eller <eller.helmut@gmail.com>
4638
4639 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4640
306e7308
NT
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
e5afbcac
SM
46462013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4647
1d01ad41
SM
4648 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4649
e5afbcac
SM
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
d0065ff1
EZ
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
7397c587
TZ
46772013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4678
4679 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4680 (package-menu--print-info, package-menu--archive-predicate):
4681 Add Archive column to package list.
7397c587 4682
b27cc9fc
MA
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
d8c4f18a
BB
46962013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4697
7b530552
BB
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
d8c4f18a
BB
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
dca01b09
DG
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
0a749fa0
MN
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)
ec79b92b
NT
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
4aca7145
SM
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
a0833f62
GM
47312013-11-04 Glenn Morris <rgm@gnu.org>
4732
4733 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4734
e61845c1
SM
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
62942f89
GM
47442013-11-03 Glenn Morris <rgm@gnu.org>
4745
4746 * Makefile.in (abs_srcdir): Remove.
4747 (emacs): Unset EMACSLOADPATH.
4748
b0b9e592
GM
47492013-11-02 Glenn Morris <rgm@gnu.org>
4750
18ba6a33 4751 * Makefile.in (EMACS): Use a relative filename.
8061810d 4752 (abs_top_builddir): Remove.
18ba6a33
GM
4753 (custom-deps, finder-data, autoloads): Use --chdir.
4754
6a8b929e
GM
4755 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4756
c617f3d0
GM
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
b0b9e592
GM
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
d1c0ea6a
BB
47692013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4770
e61845c1
SM
4771 * emacs-lisp/package.el (package-version-join):
4772 Recognize snapshot versions.
d1c0ea6a 4773
684d71c6
BB
47742013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4775
4776 * subr.el (version-regexp-alist): Add support for snapshot versions.
4777
3d42b968
DG
47782013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4779
e61845c1
SM
4780 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4781 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4782 skip over our direct parent if it's an assignment token..
4783 (ruby-smie-rules): Use it.
4784
7ffd3721
DG
47852013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4786
8449dd1f 4787 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
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
a3996a2e
BB
47982013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4799
4800 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4801
6f9260e8
BB
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
6014de84
GM
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
3c334c14
JD
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
9bc236c8
TH
48182013-11-01 Tassilo Horn <tsdh@gnu.org>
4819
5246583b 4820 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4821 BibTeX.
4822 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4823 (reftex-locate-bibliography-files): Us it.
4824
d14c81ee
CB
48252013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4826
0e7690de
CB
4827 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4828 allow comments in pbm files.
4829
d14c81ee
CB
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.
ac1bf374 4833 Support versions of libpng beyond 1.4.x.
019c8218 4834 Support libtiff v4.x.
d14c81ee 4835
983d0df5
BB
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
47f58d85
GM
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
4f85b479
GM
48482013-10-30 Glenn Morris <rgm@gnu.org>
4849
ca7dd4cd
GM
4850 * Makefile.in (autoloads): Do not use abs_lisp.
4851
4f85b479
GM
4852 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4853 `newline' does not respect `standard-output', so use `princ'.
4854
cf59e41c
AA
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
74cf04fb
GM
48612013-10-30 Glenn Morris <rgm@gnu.org>
4862
b040b60e
GM
4863 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4864
f53d3815
GM
4865 * emacs-lisp/package.el (lm-homepage): Declare.
4866
5413d873
GM
4867 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4868 Fix doc typos.
4869
cecedb36
GM
4870 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4871
74cf04fb
GM
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
195ee2f0
SM
48772013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4878
ae4002ce
SM
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.
35e951cd 4891 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 4892 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 4893 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
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
53b39e89
SM
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
195ee2f0
SM
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
7e3561ee
SM
49202013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4921
4c9797cb
SM
4922 * subr.el (undefined): Add missing behavior from the C code for
4923 unbound keys.
4924
3472b6c6
SM
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
7e3561ee
SM
4952 * emacs-lisp/package.el (package--download-one-archive)
4953 (describe-package-1): Don't query the user about final newline.
4954
b9bef71f
DC
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
4efc33f0
MA
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
ed42a877
DU
49682013-10-28 Daiki Ueno <ueno@gnu.org>
4969
4970 * epa-file.el
7e3561ee
SM
4971 (epa-file-cache-passphrase-for-symmetric-encryption):
4972 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4973
18c9f8a2
XF
49742013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4975
35e951cd 4976 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 4977
b1e8e010
AM
49782013-10-27 Alan Mackenzie <acm@muc.de>
4979
4980 Indent statements in macros following "##" correctly.
7e3561ee
SM
4981 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4982 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4983
73d40d1e 49842013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4985
4986 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4987
c8c605ac
DG
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
ca7e59d4
RS
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
bae91342
DG
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
eb89dc14
SM
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
3dab0a83
MA
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
fbfd0e1d
EZ
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
963ce636
DG
50612013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5062
5063 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5064 capitalization. Use :visible instead of :active.
5065 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5066 commands that are used with SMIE.
5067 (ruby-do-end-to-brace): Insert space after `{'.
5068
a0be396a
JA
50692013-10-25 John Anthony <john@jo.hnanthony.com>
5070
f73754c9
JA
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)
a0be396a 5074
f5bf77df
GM
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
37241f62
SM
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
6408a65d
RS
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
71e3276b
SM
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
60db713e
HE
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
8b251df6
GM
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
6be0e22b
EZ
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)
60db713e
HE
5127 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5128 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5129
50b5b857
MA
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)
60db713e 5141 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5142 Handle skipped tests. (Bug#9803)
50b5b857 5143
6f317c2f
GM
51442013-10-24 Glenn Morris <rgm@gnu.org>
5145
e43817c1
GM
5146 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5147
6f317c2f
GM
5148 * Makefile.in (abs_top_srcdir): New, set by configure.
5149 (update-subdirs): Correct build-aux location.
5150
369bbf71
DG
51512013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5152
8297b2cf
DG
5153 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5154 value, whether we could auto-deduce `backend', or not.
5155
369bbf71
DG
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
d5f1282f
MF
51602013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5161
5162 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5163
bc4aaa31
SM
51642013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5165
03d44565
SM
5166 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5167 { if it is hanging.
5168
bc4aaa31
SM
5169 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5170 :before ";".
5171
f493ff19
JB
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
c744a3b9
LL
51782013-10-23 Leo Liu <sdl.web@gmail.com>
5179
5180 * ido.el (ido-tidy): Handle read-only text.
5181
b8e3b0a9
GM
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
ee4282cd
DG
51922013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5193
bc4aaa31
SM
5194 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5195 Use `following-char'.
7790a270 5196
ee4282cd 51972013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
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
d40a46d7
XF
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)
7790a270
SM
5209 (display-visual-class, display-monitor-attributes-list):
5210 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5211
a0f143c9
MG
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
18cacc39
DG
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
df74c4be
SM
52292013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5230
c6dab55f
SM
5231 * textmodes/remember.el (remember-diary-extract-entries):
5232 Avoid add-to-list.
5233
df74c4be
SM
5234 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5235 an instruction.
5236
8c1ae481
DG
52372013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5238
e9dc713d
JB
5239 * progmodes/ruby-mode.el (ruby-smie-grammar):
5240 Add (almost) all infix operators.
cfef16c0
DG
5241 (ruby-smie--implicit-semi-p): Add new operator chars.
5242
8c1ae481
DG
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
87756ca9
AM
52482013-10-20 Alan Mackenzie <acm@muc.de>
5249
5250 Allow comma separated lists after Java "implements".
5251
df74c4be
SM
5252 * progmodes/cc-engine.el (c-backward-over-enum-header):
5253 Parse commas.
87756ca9
AM
5254 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5255 from a "disallowed" list in enum fontification.
5256
c25f8957
JB
52572013-10-20 Johan Bockgård <bojohan@gnu.org>
5258
df74c4be 5259 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5260
c25f8957
JB
5261 * progmodes/verilog-mode.el (verilog-mode): Don't set
5262 comment-indent-function globally.
5263
aca5fcdc
JD
52642013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5265
5f161884
JD
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
a6c4680a 5272 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5273
5274 * term/ns-win.el (ns-initialize-window-system): ... to here.
5275
914b7f98
SM
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
846ffe77
JB
52812013-10-19 Johan Bockgård <bojohan@gnu.org>
5282
5283 * icomplete.el (icomplete-with-completion-tables): Add :version.
5284
033f22dd
AM
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
58ce0cfc
EZ
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
50e28e7d
JD
53062013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5307
5308 * menu-bar.el: Don't make Services menu.
5309
7deed4bf
RS
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
7bcb455b
JVJ
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
f0ff1cd5
MA
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
d64da4b7
GM
53272013-10-18 Glenn Morris <rgm@gnu.org>
5328
5329 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5330
ea89ff08
WS
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)
35e951cd 5352 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
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
ef566920
BR
53882013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5389
a12bf61e 5390 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5391 as before.
5392
29df8a0b
RT
53932013-10-18 Reuben Thomas <rrt@sc3d.org>
5394
e0eb0550 5395 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5396 remember buffers (bug#13566).
5397
04a19a79
DC
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.
df74c4be
SM
5407 (ielm-eval-input): Accept optional `for-effect' parameter.
5408 Bind `standard-output' to stream we create using
04a19a79
DC
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
4c1f03ef
MA
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
f0ff1cd5 5450 persistency file.
4c1f03ef
MA
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
642eb8b6
GM
54672013-10-17 Glenn Morris <rgm@gnu.org>
5468
5469 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5470
85527ff3
SM
54712013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5472
921c1d62
SM
5473 * skeleton.el (skeleton-newline): Remove.
5474 (skeleton-internal-1): Use (insert "\n") instead.
5475
e333fb10
SM
5476 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5477 let-bindings.
5478
85527ff3
SM
5479 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5480 forward-sexp-function while we redo its job (bug#15613).
5481
c8722a97
JB
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
7a550bbb
GM
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
f19da8ad
MA
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.
afe1e4c8 5497 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
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
a24b9961
DK
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
62ad85e6
GM
55082013-10-16 Glenn Morris <rgm@gnu.org>
5509
0283d6b0
GM
5510 * ansi-color.el (ansi-color-drop-regexp):
5511 Add 1J, 1K, 2K. (Bug#15617)
5512
012e2f9f
GM
5513 * files.el (hack-local-variables--warned-lexical): New.
5514 (hack-local-variables):
5515 Warn about misplaced lexical-binding. (Bug#15616)
5516
62ad85e6
GM
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
6456c0ea
EZ
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
c2de5588
DK
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
ccd4a783
EZ
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
1eda1d8d
DG
55362013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5537
c2de5588
DK
5538 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5539 Handle methods ending with `?' and `!'.
1eda1d8d 5540
e70181b8
AM
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
9148ee92
GM
55532013-10-13 Glenn Morris <rgm@gnu.org>
5554
a5d38e34
GM
5555 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5556 Occur buffers are read-only. http://bugs.debian.org/720775
5557
9148ee92
GM
5558 * emacs-lisp/authors.el (authors-fixed-entries):
5559 Comment out old alpha stuff.
5560
a9ba094b
DG
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
7a068717
AM
55692013-10-13 Alan Mackenzie <acm@muc.de>
5570
5571 Fix indentation/fontification of Java enum with
5572 "implements"/generic.
5573
c2de5588
DK
5574 * progmodes/cc-engine.el (c-backward-over-enum-header):
5575 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
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
85b64f02
KH
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
fc7f501b
OK
55872013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5588
5589 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5590
fdcb2049
AP
55912013-10-13 Andreas Politz <politza@hochschule-trier.de>
5592
5593 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5594
8c106d17
GM
55952013-10-13 Glenn Morris <rgm@gnu.org>
5596
feab892d
GM
5597 * menu-bar.el (menu-bar-update-buffers):
5598 Unify Buffers menu prompt string. (Bug#15576)
5599
b22d0686
GM
5600 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5601
8c106d17
GM
5602 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5603 Add some entries.
5604 (authors-fixed-entries): Use accented form of name.
5605
1b12c797
SM
56062013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5607
650fa7bf 5608 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5609 method calls (bug#15594).
650fa7bf
SM
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
1b12c797
SM
5614 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5615 internals of universal-argument.
5616
029619c8
EZ
56172013-10-11 Eli Zaretskii <eliz@gnu.org>
5618
5619 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
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.
029619c8 5622
dd070019
SM
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
0922b826
DG
56362013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5637
b68e2926
DG
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
0922b826
DG
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
ee041f2d
SM
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
a5dab159
EZ
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
0449d6cd 56592013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
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
2f6e161e
MY
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
6c8413fc
MR
56702013-10-10 Martin Rudalics <rudalics@gmx.at>
5671
5672 * window.el (pop-to-buffer-same-window): Fix doc-string.
5673 (Bug#15492)
5674
20832de0
SM
56752013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5678
c6e8ae77
AC
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
9db13baf
GM
56842013-10-10 Glenn Morris <rgm@gnu.org>
5685
9271e90e
GM
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
9db13baf
GM
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
a0be396a 56952013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5696
5697 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5698
2edcd3c7
JL
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
574411d0
GM
57052013-10-09 Glenn Morris <rgm@gnu.org>
5706
14afa541
GM
5707 * vc/vc-svn.el (vc-svn-create-repo):
5708 Expand paths in file://... url. (Bug#15446)
5709
574411d0
GM
5710 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5711 Add some entries.
5712 (authors): Remove unused local variables.
5713
79804536
SM
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
238150c8
DG
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
b0949cc4
JL
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
4ed77415
EZ
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
c2de5588
DK
5763 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5764 Move here from mouse.el.
4ed77415
EZ
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
b7d5bd82
TL
57792013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5780
06286513
SM
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
b7d5bd82
TL
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
5ea75d23
BG
58042013-10-08 Bastien Guerry <bzg@gnu.org>
5805
f2726fa2 5806 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5807
cc5da1ec
SM
58082013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5809
8ffa1a0b
SM
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
f2223371
SM
5817 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5818 with more than one argument (bug#15538).
5819
44256060
SM
5820 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5821
cc5da1ec
SM
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
0ea1599d
DG
58292013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5830
5831 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5832 case of the dot in a chained method call being on the following line.
0ea1599d 5833
da3e5ebb
SM
58342013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5835
2abb4e65
SM
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
d2e0e795
SM
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
bdc6b4c8
SM
5845 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5846 (css-mode): Use electric-indent-chars.
5847
da3e5ebb
SM
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
f8f91d5d
MA
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
da3e5ebb
SM
5874 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5875 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5876 (tramp-gvfs-handle-insert-file-contents): Remove function.
5877
da3e5ebb
SM
5878 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5879 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5880
5881 * net/trampver.el: Update release number.
5882
7ccae3b1
SM
58832013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5884
55ca2c0d
SM
5885 * progmodes/compile.el (compilation-parse-errors):
5886 Use compilation--put-prop.
5887 (compilation--ensure-parse): Check compilation-multiline.
5888
731fc3ae
SM
5889 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5890
da3e5ebb
SM
5891 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5892 lexical-binding.
a5833280 5893
2e7ba2c2
SM
5894 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5895
7ccae3b1
SM
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
85698d63
LL
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
3986af6c
DS
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
5cd9cda9
DG
59232013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5924
5925 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5926 keyword, too.
5927
da9ea6d9
DG
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
34d1a133
SM
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.
27821a89 5947 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
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
6f6ab820
LL
59532013-10-05 Leo Liu <sdl.web@gmail.com>
5954
34d1a133
SM
5955 * progmodes/octave.el (octave-send-region):
5956 Call compilation-forget-errors.
6f6ab820 5957
34ca0f4c
XF
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
a27c1b72
SM
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
258ab3bc
SM
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
939fb29c
LL
59772013-10-04 Leo Liu <sdl.web@gmail.com>
5978
258ab3bc
SM
5979 * progmodes/octave.el (inferior-octave-mode):
5980 Call compilation-forget-errors.
939fb29c 5981
63bd7f35
XF
59822013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5983
5984 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5985
9e6229fa
MA
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
1dab32a3
LL
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
6cad7ba3
JS
60002013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6001
6002 * minibuffer.el (completion--replace): Be careful that `end' might be
6003 a marker.
6004
acbadd00
DU
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
adf2aa61
SM
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
328a8179
SM
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
15a1e936
DU
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
376f862a
KR
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
a2f93a5f
MA
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
0daa0804
JD
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
abd1ae34
SM
60842013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6087
be4e325d
MH
60882013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6089
6090 * vc/vc-git.el (vc-git-grep): Disable pager.
6091
e9155c4a
DG
60922013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6093
494e898b
DG
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
e9155c4a
DG
6098 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6099 non-nil, use `syntax-ppss' (Bug#15251).
6100
481a8e0f
RS
61012013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6102
be4e325d
MH
6103 * progmodes/octave.el (inferior-octave-startup-file):
6104 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6105
056453c6
DG
61062013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6107
be4e325d
MH
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.
056453c6
DG
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
be4e325d
MH
6122 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6123 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6124
832966e5
JD
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
6cfe977d
XF
61302013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6131
6132 * subr.el (looking-back): Do not recommend using looking-back.
6133
38de11bd
AM
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
1610938f
JD
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
e090f499
LL
61512013-09-28 Leo Liu <sdl.web@gmail.com>
6152
4d2e94d1
LL
6153 * progmodes/octave.el (inferior-octave-completion-table)
6154 (inferior-octave-completion-at-point): Minor tweaks.
6155
e090f499
LL
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
7e138a62
RS
61612013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6162
a12bf61e 6163 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6164 (octave-mode-menu): Add octave-send-buffer.
6165 (octave-send-buffer): New function.
6166
5af5ed08
RS
61672013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6168
a12bf61e 6169 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
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
3b7b2692
SM
61762013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6177
35e951cd 6178 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
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
529fb53f
TH
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
0550c95a
TH
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
6950f152
KH
62032013-09-26 Kenichi Handa <handa@gnu.org>
6204
6205 * international/quail.el (quail-help): Make it not a command.
6206
39587580
LL
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
00578659
DC
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
0c173878
SS
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
84998447
SM
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
33215353
LL
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
57b16162
JB
62352013-09-23 Juanma Barranquero <lekktu@gmail.com>
6236
c8af4e67
JB
6237 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6238
57b16162
JB
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
7186ba60
LL
62442013-09-22 Leo Liu <sdl.web@gmail.com>
6245
6246 * files.el (interpreter-mode-alist): Add octave.
6247
ece15004
AM
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
75d83e22
EZ
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
d052d3bd
XF
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
31dca772
R
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
98ccf24e
XF
62712013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6272
6273 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
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.
98ccf24e 6276
c39cc7d1
SM
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
9a0289a2
GM
62872013-09-19 Glenn Morris <rgm@gnu.org>
6288
a2c501b8
GM
6289 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6290
c440407a
GM
6291 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6292
9a0289a2
GM
6293 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6294
85e05915
MA
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
ce503312
GM
63082013-09-19 Glenn Morris <rgm@gnu.org>
6309
f7544773
GM
6310 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6311
72fd2877
GM
6312 * eshell/em-unix.el (eshell-remove-entries):
6313 Rename argument to avoid name-clash with global `top-level'.
6314
336b5a56
GM
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
57a3a53d
GM
6319 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6320 (directory-files-and-attributes): Mark unused arg.
6321
3261d4af
GM
6322 * eshell/em-unix.el (eshell-remove-entries):
6323 Remove unused arg `path'. Update callers.
6324
8e51b5d0
GM
6325 * eshell/em-hist.el (eshell-hist-parse-arguments):
6326 Remove unused arg `silent'. Update callers.
6327
ce503312
GM
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):
336b5a56 6333 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6334
ee3ce8a7
AM
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
ec9177ba
GM
63412013-09-18 Glenn Morris <rgm@gnu.org>
6342
7bb3e768
GM
6343 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6344 (chart-face-list): Drop Emacsen without display-color-p.
6345
5148da15
GM
6346 * net/eww.el (libxml-parse-html-region): Declare.
6347 (eww-display-html): Explicit error if no libxml2 support.
6348
2f68e157
GM
6349 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6350
9019d095
GM
6351 * image.el (image-type-from-buffer, image-multi-frame-p):
6352 Remove --without-x warning/error.
67645389 6353
5f30349b 6354 * mouse.el (mouse-yank-primary):
45069b2e 6355 * term.el (term-mouse-paste):
5f30349b
GM
6356 Reorder to silence --without-x compilation.
6357
cd8edbbe
GM
6358 * mpc.el (doc-view-mode): Silence --without-x compilation.
6359
8a78544e
GM
6360 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6361 Silence --without-x compilation.
6362
12679bfd
GM
6363 * progmodes/gud.el (gud-find-file, gud-mode):
6364 Silence --without-x compilation.
6365 (tooltip-mode): Declare.
30810a05 6366
f0047cb9
GM
6367 * wdired.el (dired-backup-overwrite): Remove declaration.
6368 (wdired-mode-map): Add doc string.
6369
e740f9d2
GM
6370 * custom.el (x-get-resource): Declare.
6371
92d77c89
GM
6372 * eshell/em-glob.el (ange-cache):
6373 * eshell/em-unix.el (ange-cache): Declare.
6374
76e69577
GM
6375 * faces.el (x-display-list, x-open-connection, x-get-resource):
6376 Declare.
7e58af4b
GM
6377
6378 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6379 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6380 Declare.
76e69577 6381
4bd4c0af 6382 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6383
ffb82dbd
GM
6384 * net/gnutls.el (gnutls-log-level): Declare.
6385
986ed135
GM
6386 * net/shr.el (image-size, image-animate): Declare.
6387
e740f9d2
GM
6388 * simple.el (font-info): Declare.
6389
d2f3e9f8
GM
6390 * subr.el (x-popup-dialog): Declare.
6391
047a1a4c
GM
6392 * term/common-win.el (x-select-enable-primary)
6393 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6394 Declare.
6395
f4a1d572
GM
6396 * term/ns-win.el (x-handle-args): Declare.
6397
e843de77
GM
6398 * term/x-win.el (x-select-enable-clipboard): Declare.
6399
5fa89513
GM
6400 * term/w32-win.el (create-default-fontset): Declare.
6401
38702b5b
GM
6402 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6403 Declare.
6404
e740f9d2
GM
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
49a053fc
GM
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):
91c837fe 6414 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6415 Remove unused local variables.
6416
6417 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6418
ec9177ba
GM
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
9f25cb77
LL
64232013-09-18 Leo Liu <sdl.web@gmail.com>
6424
6425 * subr.el (add-hook): Robustify to handle closure as well.
6426
2b42da98
GM
64272013-09-17 Glenn Morris <rgm@gnu.org>
6428
6429 * simple.el (messages-buffer-mode-map): Unbind "g".
6430
e8b66a6a
SM
64312013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6432
9c0ad4f7
SM
6433 * help-mode.el (help-mode-finish): Use derived-mode-p.
6434 Remove obsolete highlighting.
6435
7a806dfb
SM
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
96dbf5a8
SM
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
e8b66a6a
SM
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
90582f05
GM
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)
f804aa63 6467 (ert-run-test): Use `messages-buffer' function.
90582f05 6468 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6469 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6470 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6471
39eb0cb5 64722013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6473
6474 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6475
1d42e5b6 6476 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6477
70568a90
SM
64782013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6479
504a0381
SM
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
70568a90
SM
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
578c21bc
DG
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
c089653d
MR
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
1e53bb4b
GM
65192013-09-15 Glenn Morris <rgm@gnu.org>
6520
30753242
GM
6521 * eshell/em-unix.el (eshell/rm):
6522 Make -f ignore missing files. (Bug#15373)
6523
1e53bb4b
GM
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
0d8863b3
GM
65282013-09-14 Glenn Morris <rgm@gnu.org>
6529
6530 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6531
d3fc6549
GM
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
fcd42c11
DA
65372013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6538
6539 * frame.el (x-focus-frame): Mark as declared in frame.c.
6540
7830899f
SM
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
84387cd2
EZ
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
35ffc6ba
GM
65542013-09-13 Glenn Morris <rgm@gnu.org>
6555
5c3f9bcc
GM
6556 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6557
2ada368a
GM
6558 * eshell/esh-ext.el (eshell-search-path): Declare.
6559
fcef2e13
GM
6560 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6561 Otherwise an error occurs if eshell-dirs module not loaded.
6562
35ffc6ba
GM
6563 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6564
35c3d36e
MA
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
ae5e4c48
SM
65782013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6579
379add74
SM
6580 * term/ns-win.el (parameters): Don't declare as dynamic.
6581 (before-make-frame-hook): Don't add ineffective function.
6582
ae5e4c48
SM
6583 * eshell/*.el: Use lexical-binding (bug#15231).
6584
b5623270
KH
65852013-09-12 Kenichi Handa <handa@gnu.org>
6586
ae5e4c48 6587 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6588
30213927
GM
65892013-09-12 Glenn Morris <rgm@gnu.org>
6590
be94d713 6591 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6592 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6593
44915370
GM
6594 * subr.el (do-after-load-evaluation): Also give compiler warnings
6595 when obsolete files are used (except by obsolete files).
6596
a6ae021f
GM
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
40e64f0c
GM
6600 * vc/vc.el (vc-deduce-fileset): Doc fix.
6601
16d9f896
GM
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
dea01c6e
GM
6606 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6607
759880bf 6608 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6609 (vc-bzr-pull): Require vc-dispatcher.
6610 * vc/vc-git.el (vc-compilation-mode): Declare.
6611 (vc-git-pull): Require vc-dispatcher.
6612
08d66420
GM
6613 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6614
30b626e9
GM
6615 * progmodes/octave.el (help-button-action): Declare.
6616
8c05cb10
GM
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
30213927
GM
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
d3b049e6
SM
66372013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6638
170266d0
SM
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.
d3b049e6
SM
6667 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6668 rely on cl-return.
6669
56834f3b
GM
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
5c91a2b8
GM
66752013-09-11 Glenn Morris <rgm@gnu.org>
6676
da712f22
GM
6677 * echistory.el (electric-command-history): Remove call to deleted func.
6678
512e4cdc
GM
6679 * play/landmark.el (landmark-mode): Fix typos.
6680
d3506ca5
GM
6681 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6682 Check cvs-sort-ignore-file is bound.
6683
5c91a2b8
GM
6684 * savehist.el: No need for cl when compiling on Emacs.
6685
feeff482
SM
66862013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6687
656bd483
SM
6688 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6689 (bug#15338).
d3b049e6
SM
6690 (eshell-self-insert-command, eshell-send-invisible):
6691 Remove unused argument.
656bd483
SM
6692 (eshell-handle-control-codes): Remove unused var `orig'.
6693 Avoid delete-backward-char.
6694
feeff482
SM
6695 * files.el (set-auto-mode): Simplify a bit further.
6696
2a08047a
GM
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
34675540
SM
67062013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6707
1b3b87df
SM
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.
da712f22 6740 (Command-history-setup): Remove function.
1b3b87df
SM
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
34675540
SM
6751 * profiler.el (profiler-calltree-find): Use function-equal.
6752
6a5c15d9
GM
67532013-09-10 Glenn Morris <rgm@gnu.org>
6754
1af4c220
GM
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
6a5c15d9
GM
6765 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6766
8c27f5ff
SM
67672013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6768
02ef6c1a 6769 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6770 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
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
8c27f5ff
SM
6782 * subr.el (with-demoted-errors): Add `format' argument.
6783
6480194c
MA
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):
8c27f5ff
SM
6796 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6797 Use `tramp-cleanup-connection'.
6480194c 6798
8c27f5ff
SM
6799 * net/tramp-sh.el (tramp-maybe-open-connection):
6800 Catch 'uname-changed inside the progress reporter.
6480194c 6801
e5e916d8
GM
68022013-09-10 Glenn Morris <rgm@gnu.org>
6803
9a2c9b47
GM
6804 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6805
e5e916d8
GM
6806 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6807 returns "alternate access method" in mode (eg "-rw-r--r--.").
6808
144e38fe
GM
68092013-09-08 Glenn Morris <rgm@gnu.org>
6810
6811 * saveplace.el (load-save-place-alist-from-file):
6812 Demote errors. (Bug#15305)
6813
af9ff9e8
MA
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.
8c27f5ff
SM
6820 (with-tramp-progress-reporter): Do not let-bind `result'.
6821 This yields to scoping errors in XEmacs.
af9ff9e8
MA
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'.
8c27f5ff
SM
6827 (tramp-adb--gnu-switches-to-ash):
6828 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
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
8c27f5ff
SM
6836 * net/tramp-compat.el (tramp-compat-copy-file):
6837 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
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
8c27f5ff
SM
6848 * net/tramp-gw.el (tramp-gw-open-network-stream):
6849 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6850
8c27f5ff
SM
6851 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6852 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6853 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6854 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6855 (tramp-sh-file-inotifywait-process-filter):
6856 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
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'.
8c27f5ff
SM
6861 (tramp-smb-handle-copy-directory):
6862 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
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
0ca754d0
KH
68702013-09-08 Kenichi Handa <handa@gnu.org>
6871
e0eb0550 6872 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6873 more characters.
6874
e8dd0787
AM
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.
8c27f5ff
SM
6881 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6882 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6883 "typeless" declaration there.
6884
f2f248e7
RW
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
67982e2b
SM
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
e17d94a5
SM
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
96727100
JL
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
86cf7329
SM
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
816244a2
WX
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
1486fa31
MA
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
39785324
GM
69812013-09-06 Glenn Morris <rgm@gnu.org>
6982
6983 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6984
1f896cb7
DG
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
c0458e0b
SM
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
6c42fc3e
DH
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
4c528aab
SM
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
bd15c390
GM
70392013-09-05 Glenn Morris <rgm@gnu.org>
7040
7041 * progmodes/cc-awk.el (c-forward-sws): Declare.
7042
1c3ac2e5
GM
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
52b1cc79
SM
70492013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7050
c828af56
SM
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
abae272c
SM
7075 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7076 `deleted'. Don't drop errors silently.
7077
52b1cc79
SM
7078 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7079
63191d9f
XF
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
9d3f707c
SM
70912013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7092
abae272c 7093 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
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
fde38d49
SM
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
84032db7
SM
7105 * calculator.el (calculator-funcall): Fix typo in last change.
7106
724f5e41
SM
7107 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7108
14b511d4
SM
7109 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7110 <pkg>-autoloads.el file stop us.
7111
9d3f707c 7112 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7113 warnings, and factor out common code.
9d3f707c 7114
88527bc0
DG
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
96edb677
FEG
71212013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7122
7123 Format code sent to Python shell for robustness.
9d3f707c
SM
7124 * progmodes/python.el (python-shell-buffer-substring):
7125 New function.
96edb677
FEG
7126 (python-shell-send-region, python-shell-send-buffer): Use it.
7127
95beaef3
MA
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
f167c27b
MR
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
cd16c5f1
FEG
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'.
e5c144d6 7150 (python-nav-if-name-main): New command.
cd16c5f1 7151
e73c3a0d
GM
71522013-09-01 Glenn Morris <rgm@gnu.org>
7153
f8ccce03
GM
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
e73c3a0d
GM
7158 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7159
415f808e
GM
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
f069bba8
SM
71652013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7166
112798c1
SM
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
2da4c3ab
SM
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
f069bba8
SM
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
6758b6a8
GM
72072013-08-29 Glenn Morris <rgm@gnu.org>
7208
7209 * progmodes/cc-engine.el (c-pull-open-brace):
7210 Move definition before use.
7211
e8dfd197
SM
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
cc585c96
GM
72192013-08-29 Glenn Morris <rgm@gnu.org>
7220
ba579ea6
GM
7221 * calendar/cal-china.el (calendar-chinese-year-cache):
7222 Recenter on 2015.
7223
8201a87e
GM
7224 * nxml/nxml-util.el (nxml-debug-clear-inside):
7225 Use cl-loop rather than loop.
7226
6ee877c7
GM
7227 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7228
cc585c96
GM
7229 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7230
27be8d39
GM
72312013-08-28 Glenn Morris <rgm@gnu.org>
7232
397440a1
GM
7233 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7234
2bb762d4
GM
7235 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7236
27be8d39
GM
7237 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7238
2d69b99e
SM
72392013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7240
f663baa7
SM
7241 * simple.el (repeat-complex-command--called-interactively-skip):
7242 New function.
7243 (repeat-complex-command): Use it (bug#14136).
7244
dd4f8b74
SM
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
b58969f7
SM
7258 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7259 and dynamic let binding.
7260
4021d6a6
SM
7261 * vc/smerge-mode.el: Remove redundant :group args.
7262
2d69b99e
SM
7263 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7264 to load-path.
7265
274919fd
JL
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
121f8c95
JL
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
50b13cde
PE
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
95888bca
SM
72832013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7286
bbe558f1
JL
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
26f98a7d
JL
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
7c97d35e
MR
72982013-08-27 Martin Rudalics <rudalics@gmx.at>
7299
7300 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7301 argument in call of get-largest-window (Bug#15185).
7302 Reported by Stephen Leake.
7c97d35e 7303
a0b5606e 73042013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7305
7306 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7307
9e89d835
SM
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
78fc2530
MA
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):
95888bca
SM
7327 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7328 Apply `tramp-check-proper-host'.
78fc2530 7329
edca97cd
TH
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
df54bcbd
MA
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
eed99101
XF
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
b5eb9035
AM
73452013-08-25 Alan Mackenzie <acm@muc.de>
7346
8a51e842
AM
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
869455d4
AM
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
b5eb9035
AM
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
61611d54
GM
73772013-08-23 Glenn Morris <rgm@gnu.org>
7378
2d85dc34
GM
7379 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7380
cb8d2612
GM
7381 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7382
bb35f42f
GM
7383 * files.el (create-file-buffer): If the result would begin with
7384 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7385
b9808e77
SM
73862013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7387
e3a66363
SM
7388 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7389 text-properties (bug#15155).
7390
b9808e77
SM
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
7fd5f65e
MR
73962013-08-23 Martin Rudalics <rudalics@gmx.at>
7397
b9808e77
SM
7398 * window.el (display-buffer-pop-up-frame):
7399 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7400 use it as the new frame's buffer (Bug#15133).
7401
8352b530
SM
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
9f7b1925
SM
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
6e50e983
SS
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.
9f7b1925
SM
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).
6e50e983 7427
dbb0d350
SM
74282013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * align.el: Use lexical-binding.
7431 (align-region): Simplify accordingly.
7432
c88586a9
MA
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
f95527c8
MA
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
4b5fe4ee
LMI
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
13c366c9
MA
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
3dfc5cd6
MR
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
4bbb4381
WP
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
3a2ddc2d
GM
74702013-08-16 Glenn Morris <rgm@gnu.org>
7471
e8bedf5a
GM
7472 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7473 Handle "Remote Directory" response of some clients. (Bug#15058)
7474
58c4682f
GM
7475 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7476 Tweak warning. (Bug#14926)
7477
57953f49
GM
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
3a2ddc2d
GM
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
10fa0ed3
SM
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
5d89d9d2
MA
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
10fa0ed3
SM
7520 * net/tramp-compat.el (tramp-compat-make-temp-file):
7521 Rename FILENAME to F.
5d89d9d2
MA
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
62f33bae
JB
75492013-08-14 Juanma Barranquero <lekktu@gmail.com>
7550
7551 * frameset.el (frameset--prop-setter): New function.
7552 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
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.
62f33bae 7562
c660a885
MR
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
8259030d
LMI
75852013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7586
21c58ae2
LMI
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
8259030d
LMI
7593 * image.el (image-content-type-suffixes): New variable.
7594
ad756449
FEG
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
f73f4ce6
XF
76002013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7601
7602 * simple.el (backward-word): Mention the optional argument.
7603
1f585e65
SM
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
af1c6c84
GM
76102013-08-13 Glenn Morris <rgm@gnu.org>
7611
55e47f95
GM
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
f0024d8c
GM
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
af1c6c84
GM
7623 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7624
5514cc4c
SM
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
7997a2f1
GJ
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
01f1a9ab
JB
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
594a4307
EZ
76442013-08-12 Eli Zaretskii <eliz@gnu.org>
7645
7646 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7647
7a22490f 76482013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7649
7650 * format.el (format-annotate-function):
7651 Handle read-only text properties in the source. (Bug#14887)
7652
3e41a054
LMI
76532013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7654
5514cc4c
SM
7655 * net/eww.el (eww-display-html): Ignore coding system errors.
7656 One web site uses "utf-8lias" as the coding system.
3e41a054 7657
7ec326db
JB
76582013-08-11 Juanma Barranquero <lekktu@gmail.com>
7659
7660 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7661
5660113b
JB
76622013-08-10 Juanma Barranquero <lekktu@gmail.com>
7663
9a4ebc74
JB
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
45fdb482
JB
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
c880af52
JB
7748 * emacs-lisp/timer.el (timer--time): Define setter with
7749 gv-define-setter to avoid deprecation warning.
7750
5660113b 7751 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7752 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
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
156aab80
JB
77582013-08-09 Juanma Barranquero <lekktu@gmail.com>
7759
5c5dee78
JB
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
156aab80
JB
7764 * ffap.el (ffap-url-at-point): Fix reference to variable
7765 thing-at-point-default-mail-uri-scheme.
7766
ad9dcd70
SM
77672013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7768
54bd972f
SM
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
0ea9e53a
SM
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
b0429158
SM
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
ad9dcd70
SM
7820 * ido.el (ido-completion-help): Fix up compiler warning.
7821
77187e6f
JB
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
9d3aa82c
JB
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)
5514cc4c 7857 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
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
0ca3f70e
SM
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
74c5d24c
CS
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.
0ca3f70e
SM
7908 (comint-snapshot-last-prompt, comint-output-filter):
7909 Use comint-last-prompt.
74c5d24c 7910
c03c02ee
JB
79112013-08-08 Juanma Barranquero <lekktu@gmail.com>
7912
a3738d20 7913 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7914 (frameset-save): Check validity of the resulting frameset.
7915
04263d23
XF
79162013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7917
7918 * ido.el (ido-record-command): Add doc string.
7919
76c5e5ab
JB
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.
f9dbf1cb
JB
7930 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7931 (frameset-filter-alist): Doc fixes.
76c5e5ab 7932
bd0c3c0b
JB
79332013-08-08 Juanma Barranquero <lekktu@gmail.com>
7934
7935 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7936
c735544c
SM
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
2805a651
JB
79442013-08-08 Juanma Barranquero <lekktu@gmail.com>
7945
3677ffeb
JB
7946 * frameset.el (frameset-restore): Doc fix.
7947
2805a651
JB
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
a912c016
JB
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.
c295fc18 7988 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
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
bb41480a
SM
79982013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7999
f001e98e
SM
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
7679edb1
SM
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
bb41480a
SM
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
cdc1ebb9
EZ
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
312b1740
SM
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
400a3178
AM
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
3b5c03d3
GM
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)
8a806f04 8052 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8053 (calendar-day-name): Add option to use header array.
8054
ec6a2d7a
LMI
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.
2122cb6d
LMI
8061 (shr-make-table-1): Redo last change to fix the real problem in
8062 colspan handling.
ec6a2d7a 8063
ed4fd9c5
DA
80642013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8065
0ca3f70e
SM
8066 * files.el (cache-long-line-scans):
8067 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8068
64e22afe
JB
80692013-08-06 Juanma Barranquero <lekktu@gmail.com>
8070
024b38fc
JB
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
64e22afe
JB
8079 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8080 Fix typos in docstrings.
8081
c8c2aca8
DA
80822013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8083
8084 * frame.el (get-other-frame): Tiny cleanup.
8085
1d237bba
JB
80862013-08-06 Juanma Barranquero <lekktu@gmail.com>
8087
8951efef
JB
8088 * vc/vc.el (vc-default-ignore-completion-table):
8089 Silence byte-compiler warning.
8090
307764cc 8091 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8092 slot, which can indeed be nil.
307764cc
JB
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
1d237bba
JB
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
dc6c0eda
SM
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
290d5b58
DA
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):
a12bf61e 8170 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
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
38276e01
JB
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
12b4c0ea
DA
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
17f25e76
GM
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.
09e6d547
GM
8241 (calendar-generate-month, calendar-font-lock-keywords):
8242 Fix for calendar-day-header-width > length of any day name.
17f25e76 8243
063233c3
JB
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
d5671a82
JB
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
671d5c16
SM
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
1d44e9dc
SM
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
5414a283
JB
83372013-08-04 Juanma Barranquero <lekktu@gmail.com>
8338
51d30f2c
JB
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.
a04d36a0
JB
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.
51d30f2c 8345
5414a283
JB
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
ab419665
XF
83502013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8351
8352 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8353 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
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.
35e951cd 8360 (vc-hg-ignore-completion-table)
ab419665
XF
8361 (vc-hg-find-ignore-file): New functions.
8362
8363 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8364 (vc-git-ignore-completion-table)
ab419665
XF
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.
35e951cd 8370 (vc-bzr-ignore-completion-table)
ab419665
XF
8371 (vc-bzr-find-ignore-file): New functions.
8372
2613dea2
JB
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
9c959872
SM
83782013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8379
8380 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8381
a104f656
SM
83822013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8383
70122acf
SM
8384 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8385 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8386
a104f656
SM
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
f078d570
JB
83932013-08-02 Juanma Barranquero <lekktu@gmail.com>
8394
185e3b5a
JB
8395 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8396 Add cl-def* expressions.
8397
f078d570
JB
8398 * frameset.el (frameset-filter-params): Fix order of arguments.
8399
9421876d
JB
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
76dc5996
SM
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
06d36e2b
TH
84452013-08-01 Tassilo Horn <tsdh@gnu.org>
8446
5f648ab4
TH
8447 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8448
06d36e2b
TH
8449 * whitespace.el (whitespace-ensure-local-variables): New function.
8450 (whitespace-cleanup-region): Call it.
8451 (whitespace-turn-on): Call it.
8452
a43dc424
MA
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
44e18199
JB
8462 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8463 Order alphabetically.
afe1e4c8
GM
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.
a43dc424
MA
8470 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8471
8472 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8473 <file-notify-add-watch, file-notify-rm-watch>:
8474 <set-file-times, set-visited-file-modtime>:
8475 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
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
44e18199
JB
8483 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8484 Order alphabetically.
afe1e4c8
GM
8485 <file-notify-rm-watch>: Use default Tramp handler.
8486 <executable-find>: Remove private handler.
a43dc424
MA
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)
afe1e4c8
GM
8496 <file-notify-rm-watch, set-visited-file-modtime>:
8497 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8498 (tramp-smb-call-winexe): Do not bind `default-directory'.
8499
7188b515
XF
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
2412ee1a
DG
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
5002a754
KRC
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
44e18199 85192013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
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
aeca3fbb
XF
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
158bc55c
SB
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
d50fceab
LMI
85372013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8538
ac38e731
LMI
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
1211de50
LMI
8544 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8545
997798bf
LMI
8546 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8547 more natural than popping.
8548
d50fceab 8549 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8550 (shr-urlify): Highlight under mouse.
d50fceab 8551
5c09de04
XF
85522013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8553
207d1d04
XF
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
5c09de04
XF
8558 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8559 buffer for output.
8560
3cd51eaa
XF
8561 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8562 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8563
44e18199 8564 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8565 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
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
35a89bdd
EZ
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
78822e94
MA
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
9503c190
JB
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
d5a845b4
SB
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
42ee6f55 8596 name of filtered items buffer.
d5a845b4 8597
ddeffb17
JB
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
f5950f7a
AM
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
ae43b66a
SB
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
5ab78d3d
AM
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
44e18199 8628 with c-block-stmt-1-2-key.
5ab78d3d 8629
d85c4d50
JB
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
e4c467f9
XF
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.
742a3501 8639 (Bug#14948)
e4c467f9 8640
7ced0d04
SM
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
fec92060
EZ
86462013-07-26 Eli Zaretskii <eliz@gnu.org>
8647
8648 * simple.el (list-processes): Doc fix.
8649
d58d31fb
JB
86502013-07-26 Juanma Barranquero <lekktu@gmail.com>
8651
8652 * desktop.el (desktop--select-frame):
d85c4d50 8653 Try harder to reuse existing frames.
d58d31fb 8654
53ff3e77
SM
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
045f7a53
JB
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
59070b32
MM
86722013-07-26 Matthias Meulien <orontee@gmail.com>
8673
742a3501
XF
8674 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8675 vc-print-root-log. (Bug#14948)
59070b32 8676
b1fb3596
RS
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
56ea7291
SM
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
15ac32d5
GM
87022013-07-26 Glenn Morris <rgm@gnu.org>
8703
8358a09d
GM
8704 * align.el (align-regexp): Doc fix. (Bug#14857)
8705 (align-region): Explicit error if subexpression missing/does not match.
8706
15ac32d5
GM
8707 * simple.el (global-visual-line-mode):
8708 Do not duplicate the mode lighter. (Bug#14858)
8709
f47ad11b
MR
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
02530987
JB
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.
f63ebeb5
JB
8722 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8723 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8724
6ccb9cab 87252013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8726
6ccb9cab 8727 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8728
cb3a56d2
JB
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
7aa7fff0
XF
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.
1e6c6007 8751 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8752
8753 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8754
8755 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8756
889acc5c
JB
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
86c40970
GM
87622013-07-24 Glenn Morris <rgm@gnu.org>
8763
8764 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8765
d5d3c58a
MA
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
35e951cd 8772 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
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
d100084b
GM
87812013-07-24 Glenn Morris <rgm@gnu.org>
8782
8783 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8784 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8785
ac93e56b
SM
87862013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8787
249eea30
SM
8788 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8789 checked with memq (bug#14935).
8790
ac93e56b
SM
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
2cdeb903
SM
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
73600831
XF
88172013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8818
35e951cd
JB
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)
0e55c076
XF
8822 (ido-decorations): Doc fix.
8823
73600831
XF
8824 * ansi-color.el: Fix old URL.
8825
3d012865
MM
88262013-07-23 Michael R. Mauger <michael@mauger.com>
8827
e903c210 8828 * progmodes/sql.el: Version 3.3
3d012865
MM
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
da77a2e2
JB
88382013-07-23 Juanma Barranquero <lekktu@gmail.com>
8839
8840 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8841
80ff0c71
MA
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
b61d71e4
JB
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
c3512092
LL
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
0ac26976
SM
88622013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8863
7d22ce18
SM
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
9b2607e8
SM
8872 * winner.el (winner-hook-installed-p): Remove.
8873 (winner-mode): Simplify accordingly.
8874
c43a8618
SM
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
0ac26976
SM
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
6874724a
AR
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
70f1b5e8
JB
88902013-07-22 Juanma Barranquero <lekktu@gmail.com>
8891
a1c80d9d
JB
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.
0ac26976
SM
8897 Do not save frames with non-nil `desktop-dont-save' parameter.
8898 Filter out deleted frames.
a1c80d9d
JB
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
70f1b5e8
JB
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
728dc3cc
JB
89122013-07-21 Juanma Barranquero <lekktu@gmail.com>
8913
56bc453c
JB
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
728dc3cc
JB
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
862f1c9c
GM
89292013-07-20 Glenn Morris <rgm@gnu.org>
8930
c4074c9f
GM
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
d828e5f9
GM
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
862f1c9c
GM
8940 * image-dired.el (image-dired-track-original-file):
8941 Avoid changing point of wrong window. (Bug#14909)
8942
f0398ec1 89432013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8944
8945 * progmodes/gdb-mi.el (gdb-done-or-error):
8946 Guard against "%" in gdb output. (Bug#14127)
8947
1451928f
AS
89482013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8949
763a086d
JB
8950 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8951 (Bug#14826)
f7a03897 8952
1451928f
AS
8953 * international/mule.el (coding-system-iso-2022-flags): Fix last
8954 change.
8955
99107004
KH
89562013-07-20 Kenichi Handa <handa@gnu.org>
8957
763a086d
JB
8958 * international/mule.el (coding-system-iso-2022-flags):
8959 Add `8-bit-level-4'. (Bug#8522)
99107004 8960
48494e06
LMI
89612013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8962
8ba8eec5
LMI
8963 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8964 (bug#14815).
8965
dfbc66e3
LMI
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
48494e06
LMI
8970 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8971 degenerate widths.
8972
77c92cb9
RS
89732013-07-19 Richard Stallman <rms@gnu.org>
8974
aec7da77
RS
8975 * epa.el (epa-popup-info-window): Doc fix.
8976
77c92cb9
RS
8977 * subr.el (split-string): New arg TRIM.
8978
945c5bb1
JB
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
e06ec67f
MA
89842013-07-18 Michael Albinus <michael.albinus@gmx.de>
8985
c7064f05 8986 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8987 `file-notify-support'. Do not autoload. Adapt all uses.
8988 (file-notify-supported-p): New defun.
8989
c7064f05
JB
8990 * autorevert.el (auto-revert-use-notify):
8991 Use `file-notify-supported-p' instead of `file-notify-support'.
8992 Adapt docstring.
e06ec67f
MA
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
5dc8a629
EZ
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
77aea2fb
DG
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.
ac72c08d
DG
9018 (ruby-block-beg-keywords): Inline.
9019 (ruby-font-lock-keyword-beg-re): Extract from
9020 `ruby-font-lock-keywords'.
77aea2fb 9021
18c26d81
JD
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
da48522e
GM
90312013-07-15 Glenn Morris <rgm@gnu.org>
9032
9033 * edmacro.el (edmacro-format-keys): Fix previous change.
9034
0463c1ef
PE
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
b43f6451
JB
90402013-07-15 Juanma Barranquero <lekktu@gmail.com>
9041
9042 * simple.el (define-alternatives): Rename from alternatives-define,
9043 per RMS' suggestion.
9044
b958c0ad
JB
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
f6dd8b36
MA
90722013-07-14 Michael Albinus <michael.albinus@gmx.de>
9073
9074 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9075
2ce3c565
DG
90762013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9077
763a086d
JB
9078 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9079 Highlight conversion methods on Kernel.
2ce3c565 9080
2cdb7698
AM
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
1a67b811
EZ
90872013-07-13 Eli Zaretskii <eliz@gnu.org>
9088
1b796d6b
EZ
9089 * international/mule.el (define-coding-system): Doc fix.
9090
1a67b811
EZ
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
58fbe886
LL
90952013-07-13 Leo Liu <sdl.web@gmail.com>
9096
9097 * ido.el (ido-read-file-name): Guard against non-symbol value.
9098
1f0480d4
FEG
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
97ead0e5
LL
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
0880a952
DG
91092013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9110
35e951cd 9111 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
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
a7d8babb
SDJ
91182013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9119
9120 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9121 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9122
acfcc8c5
JB
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
051f2775
AS
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
f24e7572
GM
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
539a920c
GM
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
1048af7c
JB
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
6c0674ee
LL
91702013-07-12 Leo Liu <sdl.web@gmail.com>
9171
9172 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9173
a19b3c2d
GM
91742013-07-11 Glenn Morris <rgm@gnu.org>
9175
4582a01c
GM
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
a19b3c2d
GM
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
88f6a933
MA
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'.
afe1e4c8 9210 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9211 (Bug#14808)
9212
a43d577e
LL
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
d77974bf
JB
92202013-07-11 Juanma Barranquero <lekktu@gmail.com>
9221
9222 * subr.el (delay-warning): New function.
9223
35cb8a3e
EZ
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
525c5c77
MA
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.
0ac26976 9239 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9240 needed anymore.
0ac26976
SM
9241 (tramp-error-with-buffer): Show message in minibuffer.
9242 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9243 (with-tramp-progress-reporter): Improve messages.
9244 (tramp-process-actions): Use progress reporter. Delete process in
9245 case of error. Improve messages.
9246
763a086d
JB
9247 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9248 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9249 (tramp-current-connection): Remove.
525c5c77
MA
9250 (tramp-maybe-open-connection): The car of
9251 `tramp-current-connection' are the first 3 slots of the vector.
9252
c7a4d368
TZ
92532013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9254
9255 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9256 inside continued strings.
9257
954b166e
PE
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
56973319
LL
92632013-07-10 Leo Liu <sdl.web@gmail.com>
9264
9265 * files.el (require-final-newline): Allow safe local value.
9266 (Bug#14834)
9267
5550a72c
LL
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)
c28b9050 9273 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9274
70c46b28
DG
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
0b64b838
SM
92822013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9283
7fd72e2c
SM
9284 * faces.el (tty-setup-hook): Declare the hook.
9285
0b64b838
SM
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
ab49d60b
EZ
92902013-07-08 Eli Zaretskii <eliz@gnu.org>
9291
9292 * simple.el (line-move-partial, line-move): Account for
9293 line-spacing.
701d79aa
EZ
9294 (line-move-partial): Avoid setting vscroll when the last
9295 partially-visible line in window is of default height.
ab49d60b 9296
2d756ae0
LMI
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
ed095bd7
JB
93022013-07-07 Juanma Barranquero <lekktu@gmail.com>
9303
9304 * subr.el (read-quoted-char): Remove unused local variable `char'.
9305
f1e6674b
MK
93062013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9307
584ee3fc
GM
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.
5165d44a
JB
9315
9316 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9317 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9318
584ee3fc
GM
9319 * viper.el (viper-version): Version update.
9320 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9321
584ee3fc
GM
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)
ed095bd7 9333
9aff9b38
EZ
93342013-07-07 Eli Zaretskii <eliz@gnu.org>
9335
5165d44a
JB
9336 * simple.el (default-font-height, window-screen-lines):
9337 New functions.
9aff9b38
EZ
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
1afb1d07
JD
93432013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9344
9345 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9346 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9347
23de972a
EZ
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
54a42486
MA
93532013-07-06 Michael Albinus <michael.albinus@gmx.de>
9354
35e951cd 9355 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9356 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9357 spaces.
9358
34ada5f4
MR
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
11e03d89
JB
93652013-07-06 Juanma Barranquero <lekktu@gmail.com>
9366
9367 * simple.el (alternatives-define): Remove leftover :group keyword.
9368 Tweak docstring.
9369
3504a4be
LL
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
61e56e2c
JB
93792013-07-06 Juanma Barranquero <lekktu@gmail.com>
9380
9381 * simple.el (alternatives-define): New macro.
9382
321e1a9c
SM
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
d610f6dd
SB
93882013-07-05 Stephen Berman <stephen.berman@gmx.net>
9389
9390 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9391 mode command and externally. Fix various related bugs.
9392 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
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
321e1a9c
SM
9410 archive buffer whether or not the archive already exists.
9411 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
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
ddbdfd6f
MA
94262013-07-05 Michael Albinus <michael.albinus@gmx.de>
9427
321e1a9c
SM
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
ddbdfd6f
MA
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
96eb829a
LL
94352013-07-05 Leo Liu <sdl.web@gmail.com>
9436
9437 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9438
cf13177e
YM
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
864c58ca
MA
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
321e1a9c
SM
9459 * net/tramp.el (tramp-file-name-for-operation):
9460 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
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
96673afe
JL
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
924494f4
MM
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
56f75efc
DG
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
9b057d61
GM
94902013-07-03 Glenn Morris <rgm@gnu.org>
9491
208dee4d
GM
9492 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9493
9b057d61
GM
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
e01aa29c
LL
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
3086ca2e
DG
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
a3b49114
JD
95142013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9515
9516 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9517
08e5c823 95182013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9519
9520 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9521
2addf922
JB
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
ef099a94
MN
95352013-06-30 Michal Nazarewicz <mina86@mina86.com>
9536
9537 * files.el (find-file-noselect): Simplify conditional expression.
9538
a12bf61e 9539 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
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.
3fcfc4ee
JB
9544 * textmodes/remember.el (remember-data-file): Add :set callback to
9545 affect notes buffer (if any).
ef099a94
MN
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
0865d506
EZ
95552013-06-30 Eli Zaretskii <eliz@gnu.org>
9556
0ba54312
EZ
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
ef099a94
MN
9561 * international/mule-cmds.el (select-safe-coding-system):
9562 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9563
2fae38e5
LMI
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.
ef099a94 9568 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9569
a47cbd64
JB
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,
7a3518fa
JB
9579 just show an error message and continue. Set up maximized frames
9580 so they have default non-maximized dimensions.
a47cbd64 9581
6dbafa30
DG
95822013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9583
ef099a94
MN
9584 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9585 Don't start heredoc inside a string or comment.
6dbafa30 9586
4c672a0f
EZ
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
50960f36
KH
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
c1ea3abf
JB
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).
50960f36
KH
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
75dbaf9d
IK
96102013-06-28 Ivan Kanis <ivan@kanis.fr>
9611
eadb6068
IK
9612 * net/shr.el (shr-render-region): New function.
9613
75dbaf9d
IK
9614 * net/eww.el: Autoload `eww-browse-url'.
9615
9ea5cf9f
DG
96162013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9617
c1ea3abf
JB
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
9ea5cf9f
DG
9621 archive element.
9622
39c0e36f
JB
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
7f13406b
LMI
96342013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9635
ef099a94 9636 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9637
1e072639
SB
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
f3e2cbde
SB
96432013-06-27 Stephen Berman <stephen.berman@gmx.net>
9644
9645 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9646
99906aa0
LL
96472013-06-27 Leo Liu <sdl.web@gmail.com>
9648
9649 * net/eww.el (eww-read-bookmarks): Check file size.
9650
539f75f4
SM
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
843571cb
LMI
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.
23a75d7f 9661 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9662 (eww-add-bookmark): New command.
9663 (eww-bookmark-mode): New mode and commands.
a285ce99 9664 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9665 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9666
f2136e1e
GM
96672013-06-26 Glenn Morris <rgm@gnu.org>
9668
eab35f39
GM
9669 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9670 (hfy-size): Handle ttys. (Bug#14668)
9671
f2136e1e
GM
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
a49ff80c
SM
96762013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9677
a343d218
SM
9678 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9679
a49ff80c
SM
9680 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9681 nil terminate the loop (bug#14718).
9682
8308f184
LMI
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.
26bf2b82 9688 (eww-render): Move the history reset to the correct buffer.
8308f184 9689
ec64c273
JL
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
e080a9d7
JL
9695 * files-x.el (read-file-local-variable-value): Add `default'.
9696 (Bug#14710)
9697
bfbc93a1
IK
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
16f74f10
LMI
97072013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9708
a49ff80c 9709 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
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
12059709
SM
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
8bbdea0f
MR
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
e82b0991
LMI
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.
d3f0f918 9760 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9761
c763842b
SM
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
bceff189
RW
97692013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9770
864c58ca 9771 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9772 for DOI URLs.
9773
45f431c6
RW
97742013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9775
864c58ca 9776 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9777 Update imenu-support when dialect changes.
9778
f42d8237
LL
97792013-06-25 Leo Liu <sdl.web@gmail.com>
9780
9781 * ido.el (ido-read-internal): Allow forward slash on windows.
9782
be549ce6
LMI
97832013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9784
9785 * net/eww.el (eww): Start of strings is \\`, not ^.
9786
71d4c19d
IK
97872013-06-24 Ivan Kanis <ivan@kanis.fr>
9788
5196f88a
IK
9789 * net/shr.el (shr-browse-url): Fix interactive spec.
9790
71d4c19d
IK
9791 * net/eww.el (eww): Add a trailing slash to domain names.
9792
ae36ca55
JB
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
0ebd92a3
LMI
97972013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9798
bdaa086b
LMI
9799 * net/shr.el (shr-browse-url): Use an external browser if given a
9800 prefix.
9801
c763842b 9802 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9803
b89fc156
IK
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
18eb4bca
DU
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
6c6268c8
LL
98222013-06-24 Leo Liu <sdl.web@gmail.com>
9823
9824 * ido.el (ido-read-internal): Fix bug#14620.
9825
5e400cb3
JB
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
f3f9606c
LMI
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
a3ca09b9
IK
98402013-06-23 Ivan Kanis <ivan@kanis.fr>
9841
9842 * net/eww.el (eww-search-prefix): New variable.
9843 (eww): Use it.
f865b474
IK
9844 (eww-external-browser): New variable.
9845 (eww-mode-map): New keystroke.
9846 (eww-browse-with-external-browser): New command.
a3ca09b9 9847
e854cfc7
IK
9848 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9849
18bb9e21
JB
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
5b165ade
SM
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
12adebe9
DG
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
388573ee
JB
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
4582a01c 98772013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9878
2663dd23
GM
9879 * play/cookie1.el (cookie-apropos): Minor simplification.
9880
3d94f3ad
GM
9881 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9882
f72e2fdb
DG
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
73eab938
DG
98882013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9889
c763842b
SM
9890 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9891 Highlight keyword-like methods on Kernel and Module with
73eab938 9892 font-lock-builtin-face.
5cf8176d
DG
9893 (auto-mode-alist): Consolidate different entries into one regexp
9894 and add more *file-s.
73eab938 9895
d26255f6
SB
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
cad5d1cb
GM
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
9e277302
JB
101022013-06-21 Juanma Barranquero <lekktu@gmail.com>
10103
10104 * emacs-lisp/package.el (tar-get-file-descriptor)
10105 (tar--extract): Declare.
10106
c5b0993e
EW
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
a7d2d465
SM
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
cedf5c9d
JB
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)
35e951cd 10156 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
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
aed838b5
LL
101692013-06-21 Leo Liu <sdl.web@gmail.com>
10170
cedf5c9d
JB
10171 * comint.el (comint-redirect-results-list-from-process):
10172 Fix infinite loop.
aed838b5 10173
d80a808f
LMI
101742013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10175
10176 * net/eww.el (eww-update-header-line-format): Quote % characters.
10177
e7a526e3
GM
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.
7f8e3b22 10191 Do not autoload it.
e7a526e3
GM
10192 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10193 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10194
62efb35e
LL
101952013-06-21 Leo Liu <sdl.web@gmail.com>
10196
10197 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10198
21e3f963
GM
101992013-06-21 Glenn Morris <rgm@gnu.org>
10200
10201 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10202
fd846ab4
SM
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
b7deae5e
LL
102412013-06-21 Leo Liu <sdl.web@gmail.com>
10242
fd846ab4
SM
10243 * comint.el (comint-redirect-results-list-from-process):
10244 Fix random delay. (Bug#14681)
b7deae5e 10245
7a65a0b2
JB
102462013-06-21 Juanma Barranquero <lekktu@gmail.com>
10247
10248 * profiler.el (profiler-format-number): Use log, not log10.
10249
1493c2af
JB
102502013-06-20 Juanma Barranquero <lekktu@gmail.com>
10251
10252 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10253
aff6371e
SM
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
89561f72
PE
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
47199123
JB
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
4a172eab
MA
102792013-06-20 Michael Albinus <michael.albinus@gmx.de>
10280
47199123
JB
10281 * arc-mode.el (archive-mode): Add `archive-write-file' to
10282 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10283
5fc0acc0
JB
102842013-06-20 Juanma Barranquero <lekktu@gmail.com>
10285
d5b27848
JB
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
a5c581d8
JB
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
970ad972
G
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
4582a01c 103432013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10344
10345 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10346
15b263dc
MA
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
8f5297f7
LMI
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
011c4552
GM
103592013-06-19 Glenn Morris <rgm@gnu.org>
10360
2285bd27
GM
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
1d653303
GM
10365 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10366 (ps-underlined-faces): Declare.
10367
bdd779ec
GM
10368 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10369 (speedbar-add-supported-extension): Declare.
10370
011c4552
GM
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
e59dfb0e
MA
103752013-06-19 Michael Albinus <michael.albinus@gmx.de>
10376
c763842b
SM
10377 * net/secrets.el (secrets-struct-secret-content-type):
10378 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10379 Some servers do not offer introspection.
e59dfb0e 10380
102626e2
SM
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
ad528125
LL
103922013-06-19 Leo Liu <sdl.web@gmail.com>
10393
10394 * progmodes/octave.el (octave-help): Fix regexp.
10395
924d6997
G
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.
102626e2
SM
10413 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10414 New defuns.
924d6997 10415
d1bbba4f
DG
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
14dd22d2
JB
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
292c880c
JL
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
0950aa27
JL
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
8fbcca16
SM
104662013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10469 (bug#14633).
10470
dd7426ea
GM
104712013-06-18 Glenn Morris <rgm@gnu.org>
10472
4ba54f7d
GM
10473 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10474
dd7426ea
GM
10475 * newcomment.el (comment-search-forward, comment-search-backward):
10476 Doc fix. (Bug#14376)
10477
58aa805b
JB
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
9a08a617
MM
104832013-06-18 Matthias Meulien <orontee@gmail.com>
10484
10485 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10486 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10487
f2f426ca
GM
104882013-06-18 Glenn Morris <rgm@gnu.org>
10489
9445f99b
GM
10490 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10491 Replace obsolete function generic-make-keywords with its expansion.
10492
e0df2d14
GM
10493 * progmodes/python.el (ffap-alist): Declare.
10494
f2f426ca
GM
10495 * textmodes/reftex.el (bibtex-mode-map): Declare.
10496
f7f9a720
SM
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
57ff04e0
LMI
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
c048c022
JL
105082013-06-17 Juri Linkov <juri@jurta.org>
10509
10510 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10511
b5bcaee5
DG
105122013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10513
a020afb9
JB
10514 * emacs-lisp/package.el (package-load-descriptor):
10515 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10516 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10517
551e07e5
JB
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
d363bffb
DG
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
f612933b
JB
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
db3b7db5
SM
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
f3d674df
JB
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
31489a32
JL
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
66bd25ab
SM
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
9583ec36
EZ
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
f0100d8a
GM
105922013-06-15 Glenn Morris <rgm@gnu.org>
10593
b86a85ca
GM
10594 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10595 compilation-error-regexp-alist void, or local while let-bound.
10596
f0100d8a
GM
10597 * progmodes/make-mode.el (makefile-mode-syntax-table):
10598 Treat "=" as punctuation. (Bug#14614)
10599
05e7ce90
JB
106002013-06-15 Juanma Barranquero <lekktu@gmail.com>
10601
10602 * help-fns.el (describe-variable):
10603 Add extra line for permanent-local variables.
10604
12e5e86e
SH
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
230dcbaf
GM
106112013-06-14 Glenn Morris <rgm@gnu.org>
10612
10613 * term/xterm.el (xterm--query):
10614 Stop after first matching handler. (Bug#14615)
10615
e36b2d20 106162013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
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
0b31660d
SM
106242013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10625
bf1e6ae8
SM
10626 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10627 through a symbol rather than letrec.
10628
1b8dff23
SM
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
0b31660d
SM
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
de0503df
SM
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
bc5c8c5a
JL
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
a22289f7
JL
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
cb89acab
JL
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
6e8cfc81
JL
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
c23d55f4
VS
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
ba947bc4
GM
107302013-06-13 Glenn Morris <rgm@gnu.org>
10731
8baeb37a
GM
10732 * startup.el (tty-handle-args):
10733 Don't just discard "--" and anything after. (Bug#14608)
10734
ba947bc4
GM
10735 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10736
9abefce4
MA
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
5755011f
MH
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
1261d2da
S
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
868490bb
GJ
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
79d7167f
TH
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
5f9dbd7a
XF
107782013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10779
10780 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10781
94df41ab
AS
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
a7f3fecc
GM
107872013-06-12 Glenn Morris <rgm@gnu.org>
10788
001809f6
GM
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.
a7f3fecc 10792
834b5ded
EL
107932013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10794
08c73ed2
EL
10795 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10796
834b5ded
EL
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
daabf15a
LL
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
cf4e5178
SM
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
99c81280 108292013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10830
10831 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10832 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10833
f56be016
SM
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
31119d63
SM
108642013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10865
931a2762
SM
10866 * vc/vc.el (vc-deduce-fileset): Change error message.
10867 (vc-read-backend): New function.
10868 (vc-next-action): Use it.
10869
5a3eb0c6
SM
10870 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10871
e3eb1bb7
SM
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
31119d63
SM
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
7de135d0
GM
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
fa6bc6fd
JB
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
cf1f9b9a
SM
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
56602a4b
GM
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
30ae0b2c
JB
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
fa472906
AG
109132013-06-10 Aidan Gauland <aidalgol@amuri.net>
10914
10915 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10916 (eshell-visual-subcommands, eshell-visual-options):
10917 Add summary line to docstrings. Add cross-references.
fa472906 10918
ff4871b9
GM
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
04fcf1b0
AG
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
88b00caa
AG
109292013-06-09 Aidan Gauland <aidalgol@amuri.net>
10930
10931 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10932 (eshell-term-initialize): Move long lambda to separate function
10933 eshell-visual-command-p.
27821a89 10934 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
10935 * eshell/em-script.el (eshell-script-initialize):
10936 Add missing #' to lambda.
88b00caa 10937
fda74125
LL
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
467f3b33
GM
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
544badc3
SM
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
a175bf33
LL
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)
ce8209d4
LL
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.
a175bf33
LL
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
a822acff
EZ
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
961166f5
GM
109782013-06-06 Glenn Morris <rgm@gnu.org>
10979
d0341459
GM
10980 * font-lock.el (lisp-font-lock-keywords-2):
10981 Treat user-error like error.
10982
961166f5
GM
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
80fa505f
AM
109872013-06-05 Alan Mackenzie <acm@muc.de>
10988
10989 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10990 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10991 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10992 (Bug#9706)
80fa505f 10993
fccdc796
SM
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
9bfff84b
TZ
110032013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11004
11005 * progmodes/prog-mode.el (prog-prettify-symbols)
11006 (prog-prettify-install): Update docstrings.
11007
55577e7c
SM
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
8fc57765
TZ
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
650645d5 110322013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11033
11034 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11035 to point when opening the connection. (Bug#14380)
28f5da6d 11036
781b4af6
SM
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
3ca0d0b4
TZ
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)
781b4af6
SM
11061 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11062 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
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)
781b4af6
SM
11071 (perl--augmented-font-lock-keywords-2, perl-mode):
11072 Implement prettify support.
3ca0d0b4 11073
976cb066
LL
110742013-06-05 Leo Liu <sdl.web@gmail.com>
11075
27821a89 11076 Re-implement SMIE matching block highlight using
976cb066
LL
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
208d0342
SM
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
1ac2891e
GM
111202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11121
a12bf61e 11122 * subr.el: Convert to lexical binding.
1ac2891e
GM
11123 (overriding-local-map): Make obsolete.
11124 (add-to-list): Doc fix. Add compiler macro.
11125 (read-key): Swap values of local maps.
11126
2587b005
LL
111272013-06-05 Leo Liu <sdl.web@gmail.com>
11128
11129 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11130
f1da3c88
LL
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
3caa391f
AM
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
068922a2
TH
111432013-06-03 Tassilo Horn <tsdh@gnu.org>
11144
11145 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11146
1f8fdd53
SM
111472013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11148
bbcc4d97
SM
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.
208d0342 11152 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11153
1f8fdd53
SM
11154 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11155 eagerly (bug#14422).
11156
c9628c79
MA
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
e7b41c4c 11164 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11165 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11166 Remove.
c9628c79 11167
e5e4a942
JL
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
26b3353a
TH
111902013-06-03 Tassilo Horn <tsdh@gnu.org>
11191
781b4af6
SM
11192 * eshell/em-term.el (eshell-term-initialize):
11193 Use `cl-intersection' rather than `intersection'.
26b3353a 11194
51b60f53
XF
111952013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11196
fe054b63 11197 * vc/log-view.el: Doc fix.
d3ffe17c 11198 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11199
a0eb10b3 112002013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
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)
4f405069 11247 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
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.
4f405069
JB
11257 (eieio--scoped-class-stack): New variable.
11258 (eieio--scoped-class): New fcn.
890f7890
DE
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
d105b0e2
TH
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
e7b41c4c 11276 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11277
11278 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11279 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
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
f46305c8 112882013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11289
11290 * progmodes/python.el (python-indent-block-enders): Add break,
11291 continue and raise keywords.
11292
d870df21
GM
112932013-06-01 Glenn Morris <rgm@gnu.org>
11294
9133b82e
GM
11295 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11296
02c992ec 11297 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
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.
02c992ec
GM
11306 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11307 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11308
31e7b090
GM
11309 * progmodes/cc-vars.el (other): Emacs has this widget since
11310 at least 21.1, so don't (re)define it.
11311
d870df21
GM
11312 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11313 Replace the obsolete alias pcomplete-arg-quote-list.
11314
c75c93c7
LL
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
973d1e12
DG
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
0888c286
GM
113302013-05-31 Glenn Morris <rgm@gnu.org>
11331
e26aac1f
GM
11332 * obsolete/sym-comp.el (symbol-complete):
11333 Replace obsolete completion-annotate-function.
11334
0888c286
GM
11335 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11336
19bb8e62
DG
113372013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11338
781b4af6
SM
11339 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11340 New function, checks if point is inside a literal that allows
19bb8e62
DG
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
01dea85f
JL
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
ab1bdce5
JL
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
d6d236e2
GM
113682013-05-30 Glenn Morris <rgm@gnu.org>
11369
8accd027
GM
11370 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11371
2a8bed1c
GM
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
d6d236e2
GM
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
9190b35b
SM
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
4f8d1cf6
SM
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
02d844b5
GM
113952013-05-30 Glenn Morris <rgm@gnu.org>
11396
d209d4a9
GM
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
2082faa6
GM
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
dd8620de
GM
11407 * image.el (image-animated-p): Tweak definition.
11408
ceca95b1
GM
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
ee9f1acc
GM
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
45ce222e
GM
11419 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11420
02d844b5
GM
11421 * minibuffer.el (read-file-name-completion-ignore-case):
11422 Move before completion--in-region, for eager macro expansion.
11423
ac44d6c1
JL
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
3c9c9d38
JL
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
33e249a2
SM
114462013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11447
8e399682
SM
11448 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11449
33e249a2 11450 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11451 prog-mode-map (bug#14504).
33e249a2 11452
f236dd84
LL
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
3694d13f
GM
114612013-05-29 Glenn Morris <rgm@gnu.org>
11462
03983bdc
GM
11463 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11464 Handle idlwave-last-system-routine-info-cons-cell being nil.
11465
bc74a74a
GM
11466 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11467 (idlwave-write-paths): Simplify via with-temp-buffer.
11468
8b394200
GM
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
3694d13f
GM
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
336d7284
AM
114762013-05-28 Alan Mackenzie <acm@muc.de>
11477
11478 Handle "capitalised keywords" correctly.
33e249a2 11479 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11480
cb29c582
AG
114812013-05-28 Aidan Gauland <aidalgol@amuri.net>
11482
781b4af6 11483 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11484
690e44b2
GM
114852013-05-28 Glenn Morris <rgm@gnu.org>
11486
e658d75c
GM
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.
712b9732
GM
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.
e658d75c 11496 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
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.
e658d75c
GM
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.
712b9732
GM
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.
e658d75c
GM
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
98e87fb3
GM
11517 * obsolete/fast-lock.el (byte-compile-warnings):
11518 Don't warn about obsolete features in this obsolete file.
11519
f5379553
GM
11520 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11521 Move definition before use.
11522
7a20ef83
GM
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
690e44b2
GM
11527 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11528
3a52ccf7
JL
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
d289938a
JL
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
66fc57e3
JL
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
f1a60a0f
DG
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
7f17cc40
SM
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
25c8401c
AM
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
dde84790
MA
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
837fd9af
LL
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
4fd996b3
SM
116172013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11618
416f1802
SM
11619 * doc-view.el: Minor naming convention tweaks.
11620 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11621
4fd996b3
SM
11622 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11623 even if there's no `display' property yet (bug#14435).
11624
a052ef3b
EZ
116252013-05-25 Eli Zaretskii <eliz@gnu.org>
11626
4fd996b3 11627 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
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
c9023370
SM
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).
df76dacb 11638 Don't burp at EOB.
c9023370 11639
24d699fa
LL
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
17e5c0cc
SM
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
5d028165
XF
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
7a1d7ba7
JL
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
650cff3d
SM
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
9631677d
SS
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
50105835
SM
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
57b9823e
TH
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.
50105835
SM
11702 (desktop-buffer-mode-handlers):
11703 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11704 handler.
11705 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11706 `desktop-save-buffer' function.
11707
91aafa16
MA
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
ec076379
MA
11716 * net/xesam.el: Move to obsolete/.
11717
db785726
GM
117182013-05-24 Glenn Morris <rgm@gnu.org>
11719
af5c7606
GM
11720 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11721
e5d1916a
GM
11722 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11723
ded62b08
GM
11724 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11725 (Info-find-node, Man-getpage-in-background): Declare.
11726
9e614a3f
GM
11727 * mail/unrmail.el (unrmail):
11728 Replace obsolete detect-coding-with-priority.
11729
892f8ca3
GM
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
3c291973
GM
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
43cc956b
GM
11741 * progmodes/js.el (js--optimize-arglist): Declare.
11742
dab49a3b
GM
11743 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11744
36b9d085
GM
11745 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11746 (ediff-window-C): Declare.
11747
e354ae76
GM
11748 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11749 Tweak requires to silence compiler.
11750
b8e57bf4
GM
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
db785726
GM
11756 * obsolete/options.el (list-options): Use custom-variable-p,
11757 rather than obsolete alias.
11758
b3531901
SS
117592013-05-23 Sam Steingold <sds@gnu.org>
11760
11761 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11762 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11763 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11764
bdda4c66
SM
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
c43d45f9
TH
117702013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11771
fe1eb856
RS
11772 * ielm.el (ielm-menu): New menu.
11773 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11774
fe1eb856
RS
117752013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11776
a12bf61e 11777 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11778 Fix deactivate action.
11779
a12bf61e 11780 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11781 Add cleveref macros.
074dd971 11782
a12bf61e 11783 * textmodes/reftex-parse.el
c43d45f9
TH
11784 (reftex-locate-bibliography-files): Accept options for
11785 bibliography commands.
a12bf61e 11786 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11787 Add addbibresource. Basic Biblatex support.
11788
7764286e
MA
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
d361bc10
GM
117952013-05-23 Glenn Morris <rgm@gnu.org>
11796
8fa23984
GM
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
a5c7df1a
GM
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
e2aec513
GM
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
e68bbd7c
GM
11824 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11825 (he-string-member, he-reset-string, he-substitute-string): Declare.
11826
7efe0991
GM
11827 * eshell/em-ls.el: Adjust requires.
11828 (eshell-glob-regexp): Declare.
f87b1284
GM
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
d361bc10
GM
11851 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11852
85d090a9
LL
118532013-05-22 Leo Liu <sdl.web@gmail.com>
11854
11855 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11856
5d0acd9d
MA
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
0cdffd7d
GM
118632013-05-22 Glenn Morris <rgm@gnu.org>
11864
ca5995ec
GM
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
6450907e
GM
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
9c6906f6
GM
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
5f70c169
GM
11893 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11894
b1b7f300
GM
11895 * progmodes/idlw-help.el (idlwave-help-fontify):
11896 Use called-interactively-p.
11897
f6ebbb46
GM
11898 * term/w32console.el (w32-get-console-codepage)
11899 (w32-get-console-output-codepage): Declare.
11900
0cdffd7d
GM
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
ee44b62a
LL
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
640f050f
GM
119622013-05-21 Glenn Morris <rgm@gnu.org>
11963
79458038
GM
11964 * printing.el (pr-menu-bar): Define when compiling.
11965
9cc3e83f
LL
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
4f405069 11971 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11972 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11973 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11974 (octave-help): Show parent directory.
11975
f440830d
GM
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
b4da2cbb
LL
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
33c0f65b
GM
120222013-05-20 Glenn Morris <rgm@gnu.org>
12023
12024 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12025
1a0a0a8a
DG
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.
1a0a0a8a
DG
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.
462388b6
DG
12047 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12048 heredoc openers.
12049 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12050
c1a6c0a4
JL
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
8051fccd
GM
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
5e80b74f
LL
120612013-05-18 Leo Liu <sdl.web@gmail.com>
12062
12063 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12064 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12065 (octave-source-directories): Don't check process.
12066 (octave-source-directories, octave-find-definition): Doc fix.
12067
521a54c5
GM
120682013-05-18 Glenn Morris <rgm@gnu.org>
12069
86a94b05
GM
12070 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12071 Remove backspace/delete bindings. (Bug#14392)
12072
521a54c5
GM
12073 * cus-dep.el (custom-make-dependencies): Sort the output.
12074 (custom-versions-load-alist): Convert comment to doc.
12075
42caeb89
LL
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
e219dd97
LL
120842013-05-17 Leo Liu <sdl.web@gmail.com>
12085
fe1eb856
RS
12086 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12087 Clean up when turned off. (Bug#14395)
e219dd97
LL
12088 (smie--highlight-matching-block-overlay): No longer buffer-local.
12089 (smie-highlight-matching-block): Adjust.
12090
dc5dcb4b
PE
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
1db165f0
JB
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
c7a8fcac
LL
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
f678b18a
SM
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
ebfe68e8
LL
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
bc8bc17d
WS
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
df065a0b
EZ
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
2d4bf34b
LL
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
6b9c2d85
RZ
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
9df4ec5e
LL
121992013-05-16 Leo Liu <sdl.web@gmail.com>
12200
12201 * simple.el (prog-indent-sexp): Indent enclosing defun.
12202
f5ba00a6
GM
122032013-05-15 Glenn Morris <rgm@gnu.org>
12204
ed8be7ff
GM
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
82a7c41b
GM
12235 * cus-dep.el: Provide a feature.
12236 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12237 Don't mistakenly ignore files whose basenames match a basename
12238 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12239 Add a fallback method for getting :group.
f5ba00a6 12240
6d65486d
JL
122412013-05-15 Juri Linkov <juri@jurta.org>
12242
da547b32
JL
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
6d65486d
JL
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
c9990474
SM
122572013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12258
6e911150
SM
12259 * loadup.el: Just use unversioned DOC.
12260
c9990474
SM
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
e3772e98
LL
122862013-05-15 Leo Liu <sdl.web@gmail.com>
12287
c9990474
SM
12288 * progmodes/octave.el (octave-goto-function-definition):
12289 Improve and fix callers.
e3772e98 12290
5ac2eb34
SM
122912013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12292
c46c57b0
SM
12293 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12294 the setter (bug#14387).
12295
5ac2eb34
SM
12296 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12297 surrounding group (bug#14402).
12298
180ed218
JL
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
0ac0fecb
GM
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
2e78e6a7
JPG
123092013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12310
5ac2eb34
SM
12311 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12312 Remove signals for which replies are never received.
2e78e6a7 12313
53267cca
JPG
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
d04ce803
JPG
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
0114073a
GM
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
4d25fd7e
LL
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.
6073d8f4
LL
12355 (octave-font-lock-texinfo-comment): Fix invalid search bound
12356 error: wrong side of point.
4d25fd7e 12357
27c8b6eb
GM
123582013-05-14 Glenn Morris <rgm@gnu.org>
12359
61aaeb01
GM
12360 * progmodes/flymake.el (flymake-xml-program): New option.
12361 (flymake-xml-init): Use it.
12362
5bf90bc5
GM
12363 * term/xterm.el: Provide a feature.
12364
12365 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12366
f4c7dfd2
GM
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
2aeb3a1d
LL
123722013-05-13 Leo Liu <sdl.web@gmail.com>
12373
b0e069c2
LL
12374 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12375 ###, and %!.
f5a9432f
LL
12376 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12377 C-M-q.
b0e069c2
LL
12378 (octave-comment-start-skip): Include %!.
12379 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12380
30ea8374
LL
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
472a3834
GM
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
3191b52f
GM
123982013-05-11 Glenn Morris <rgm@gnu.org>
12399
0060ac73
GM
12400 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12401
3191b52f
GM
12402 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12403 Treat cc-provide like provide.
12404
e065ba74
KR
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
36f84c37
GM
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
c8730c3a
LL
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.
5ac2eb34
SM
12421 (octave-eldoc-function-signatures, octave-eldoc-function):
12422 New functions.
c8730c3a
LL
12423 (octave-mode, inferior-octave-mode): Add eldoc support.
12424
212e29f2
RS
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
083fe0d7
LL
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.
9dbdb67e
LL
12435 (octave-indent-comment): New function.
12436 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
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.
083fe0d7 12440
8582e4c4
GM
124412013-05-11 Glenn Morris <rgm@gnu.org>
12442
f20def1f
GM
12443 * faces.el (internal-face-x-get-resource):
12444 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12445 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12446 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12447 Fix declarations.
f20def1f 12448
445f95e2
GM
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
99fb2756
GM
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
0da7ad96
GM
12461 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12462
8582e4c4
GM
12463 * term.el (term-set-escape-char): Make it idempotent.
12464
f71c50d0
LL
124652013-05-10 Leo Liu <sdl.web@gmail.com>
12466
5ac2eb34
SM
12467 * progmodes/octave.el (inferior-octave-completion-table):
12468 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12469 completion due to bug#11906.
12470 (octave-beginning-of-defun): Re-write to be more general.
12471
d5837773
GM
124722013-05-10 Glenn Morris <rgm@gnu.org>
12473
12474 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12475
027c0f75
SM
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
4465bfb4
JD
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
2d809ffa 124892013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12490
12491 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12492
e54eeb9b
GM
124932013-05-09 Glenn Morris <rgm@gnu.org>
12494
56cd351d
GM
12495 * international/fontset.el (vertical-centering-font-regexp):
12496 Set standard-value.
12497
d84b6108
GM
12498 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12499
a931698a
GM
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
e54eeb9b
GM
12526 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12527 Add :version.
12528
455851dd
LL
125292013-05-09 Leo Liu <sdl.web@gmail.com>
12530
12531 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12532 Restore file completion. (Bug#14300)
455851dd
LL
12533 (inferior-octave-startup): Fix incorrect highlighting for the
12534 first prompt.
12535
a9e4425b
SM
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
060ca408
EZ
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
1d5963cc
SM
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):
c7064f05
JB
12560 Mark as obsolete.
12561 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12562 their declaration.
12563 (vhdl-mode-syntax-table-init): Remove.
12564
c9990474
SM
12565 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12566 last change.
1d5963cc
SM
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
c9990474
SM
12581 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12582 Consolidate declaration.
1d5963cc
SM
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
72d3cfca
SS
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
5cb15713
JB
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
ea78b95b
LL
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
dc7466df
AS
126192013-05-08 Adam Spiers <emacs@adamspiers.org>
12620
12621 * cus-edit.el (custom-save-variables):
12622 Pretty-print long values. (Bug#14187)
12623
9ecf672a
GM
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
3f555be8
TT
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
7cc8ae06
GM
126352013-05-07 Glenn Morris <rgm@gnu.org>
12636
4f58bc06
GM
12637 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12638 Remove explicit eshell-isearch-cancel-map.
12639
7cc8ae06
GM
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
ceb57e59
SM
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
4e3f9230
YM
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
203a5572
LL
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.
5ac2eb34 12660 (octave-completion-at-point): Rename from
203a5572
LL
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
ee6cff99
SM
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
32985194
JL
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
a1c700de
KD
126792013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12680
12681 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12682
c67c0839
SM
126832013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12684
323885fd
SM
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
c67c0839
SM
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
d491e7a8
IA
126942013-05-06 Ivan Andrus <darthandrus@gmail.com>
12695
12696 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12697
ddf9925e
GM
126982013-05-06 Glenn Morris <rgm@gnu.org>
12699
7cc3af27
GM
12700 * w32-fns.el (w32-charset-info-alist): Declare.
12701
16e343d6
GM
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
7d889a47
GM
12706 * generic-x.el: No need to require comint when compiling.
12707
ddf9925e
GM
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
1e2c18df
SM
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
02502a5f
LL
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
0dc04f42
RS
127292013-05-05 Richard Stallman <rms@gnu.org>
12730
6c54491c
RS
12731 * vc/compare-w.el (compare-windows-whitespace):
12732 Treat no-break space as whitespace.
12733
0dc04f42
RS
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
df8f35df
RS
12738 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12739 Doc fixes, rename args.
12740
5356e1a3
AM
127412013-05-05 Alan Mackenzie <acm@muc.de>
12742
12743 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12744
d44014cb
JL
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
c129b51f
LL
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
aa7dab97
SM
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
fd3a9a6b
GM
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
30c7e542
SM
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
b54f978b
LL
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.
30c7e542
SM
12786 (octave-completing-read, octave-goto-function-definition):
12787 New helpers.
d4d0f9b3
LL
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-.
d74a1581 12792 (user-error): Alias to error if not defined.
b54f978b 12793
27135018
LL
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
0d634d3a
LL
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
b4c8295e
LL
128062013-05-02 Leo Liu <sdl.web@gmail.com>
12807
30c7e542
SM
12808 * progmodes/octave.el (octave-syntax-propertize-function):
12809 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12810
f12ad6ec
GM
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
30cac1e0
AM
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
d8ef28b1
LL
128232013-05-01 Leo Liu <sdl.web@gmail.com>
12824
2640d52e 12825 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12826 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12827 variables were removed from Octave in 2007.
d8ef28b1
LL
12828 (inferior-octave-startup): Fix uses.
12829 (comint-line-beginning-position): Remove compatibility code for
12830 emacs 21.
12831
ac63ec89
JL
128322013-05-01 Juri Linkov <juri@jurta.org>
12833
12834 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12835
9e9be37c
JL
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
9b92c13b
LL
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
b12d33d7
LL
128512013-04-30 Leo Liu <sdl.web@gmail.com>
12852
12853 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12854 change.
12855
3d1c39fa
AM
128562013-04-30 Alan Mackenzie <acm@muc.de>
12857
12858 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12859 * progmodes/cc-engine.el (c-back-over-member-initializers):
12860 new function.
3d1c39fa
AM
12861 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12862 (most) member init lists.
12863
5147fc17
RS
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
5b78d7fc
LL
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
38d8527b
LL
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
2ec12cb0
LL
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
6eaed048
JB
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
3ffa2d4f
DH
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
685c9501
GM
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
0208ede7
JL
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
5db9dace
JL
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
b7260dd4
LL
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
c46da669
RW
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
a81ee1eb
IL
129532013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12954
12955 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12956 displayed, move point to after the totals line.
12957 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12958 for the details.
12959
4fac34ce
SM
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
f6bfc063
RT
129672013-04-26 Reuben Thomas <rrt@sc3d.org>
12968
d40ab5cf
BG
12969 * textmodes/remember.el (remember-store-in-files): Document that
12970 the file name format is passed to `format-time-string'.
f6bfc063 12971
e55d3b04
LL
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
e53052d3
SM
129772013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12978
140ef50c
SM
12979 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12980 (bug#14274).
12981
e53052d3
SM
12982 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12983 \n and comment, even if it's not an implicit ; (bug#14218).
12984
af80458d 129852013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12986
12987 * subr.el (read-number): Once more use `read' rather than
12988 `string-to-number', to trap non-numeric input. (Bug#14254)
12989
af80458d 129902013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12991
12992 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12993 Use `syntax-multiline' text property consistently instead of
8a621d53 12994 `font-lock-multiline'. (Bug#14237)
70203c2e 12995
e6ea1f6c
GM
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
070ccca4
LL
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.
e53052d3 13007 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
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
9d1c5fb6
PE
130122013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13013
13014 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13015
c034abda
BG
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
584ea277
LL
130212013-04-25 Leo Liu <sdl.web@gmail.com>
13022
e53052d3
SM
13023 * progmodes/octave.el (octave-completion-at-point-function):
13024 Make use of inferior octave process.
584ea277
LL
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
1693b06a
SM
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
be64c05d
LL
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
d79d37bd
TH
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
ced3fc5d
SM
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
1c141dad
GM
130822013-04-25 Glenn Morris <rgm@gnu.org>
13083
13084 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13085
5058062a
SM
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
5db9dace 130952013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
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
4391916c
MH
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
bb7cdf58
GM
131092013-04-24 Glenn Morris <rgm@gnu.org>
13110
3b8fe752 13111 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
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
bb7cdf58
GM
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
b46a056e
GM
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
0aecf718
TH
131312013-04-23 Tassilo Horn <tsdh@gnu.org>
13132
4391916c
MH
13133 * textmodes/reftex-vars.el (reftex-label-regexps):
13134 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13135
117f94cf
SM
131362013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13137
4391916c 13138 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
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
1d829c64
SM
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
72d548a9
LL
131492013-04-22 Leo Liu <sdl.web@gmail.com>
13150
13151 * info-look.el: Prefer latex2e.info. (Bug#14240)
13152
d0853629
MA
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 ...
4f405069 13158 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
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.
35e951cd 13169 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13170 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13171 (tramp-maybe-send-script): Check for Perl binary.
13172 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13173
38cc0210
DU
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
cc641ee1
XF
131802013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13181
02d844b5 13182 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13183 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13184 `completion-at-point'. (Bug#13774)
5d4e5c31 13185
cc641ee1
XF
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
1b42ee43
GM
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
a6d63d97
GM
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
d7f5c16f
RW
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
bcd7a0a4
SM
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):
e7b41c4c
JB
13213 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13214 (vc-cvs-annotate-command):
bcd7a0a4
SM
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
e36b2d20 132332013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13234
bcd7a0a4 13235 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13236 Handle function names with a single character. (Bug#14111)
4d3268ba 13237
27821a89 132382013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13239
13240 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13241 for subroutines defined in an eval (bug#14182).
13242
7d688336
TV
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
31dcede0
SM
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
adc31213
FEG
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
cdca8255
SM
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
beb42340
MA
132772013-04-18 Michael Albinus <michael.albinus@gmx.de>
13278
13279 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13280
fc7f4d7e
TH
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
29f47822
LL
132872013-04-18 Leo Liu <sdl.web@gmail.com>
13288
13289 * bindings.el (help-event-list): Add ?\?.
13290
d36ed1c8
SM
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
04754d36
FEG
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
dd8791e9
SM
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
ffe54a13
AM
133212013-04-17 Michal Nazarewicz <mina86@mina86.com>
13322
dd8791e9
SM
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.
ffe54a13 13331
ec7e39f2
AM
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
083850a6
FEG
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
619ed6e1
FEG
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
7a1beb6c
LL
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
2d3fa3e5
SM
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
7ce5be54
JPG
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
351edece
SM
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
613f9481
LL
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
51646b62
JB
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
efb3f01d
SM
133912013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13392
36c0a301
SM
13393 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13394 global bindings.
13395
efb3f01d
SM
13396 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13397
fb549d64
DG
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
21e8fe2f
SM
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
20e527d0
AM
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 #.
21e8fe2f
SM
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
20e527d0
AM
13427 on the #, not BOL.
13428
dabefae5
SM
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
85c9ab64
AM
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.
dabefae5 13444 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13445 handling of spaces in the regexp.
13446
0f821d99
AM
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
eb922adf
MA
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
4d9a0979
TH
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
a829b0dc
SM
134662013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13467
91e8293c
SM
13468 * files.el (normal-mode): Only use default major-mode if no other mode
13469 was specified.
13470
830aed4d
SM
13471 * emacs-lisp/trace.el (trace-values): New function.
13472
a829b0dc
SM
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
7ae9f0fb
RW
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
6646e848
RW
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>
23a0e159
RW
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
0aa3616e
SB
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
011cddd6
RW
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
f24e0036
MA
135162013-04-12 Michael Albinus <michael.albinus@gmx.de>
13517
13518 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13519
da3cda2d
TH
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
15e54145
SM
135252013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13526
78ce603d
SM
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
15e54145
SM
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
7144c627
MY
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
b39792eb
BG
135472013-04-09 Bastien Guerry <bzg@gnu.org>
13548
13549 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13550
8acdeb71
SM
135512013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13552
6fcdab68
SM
13553 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13554
8acdeb71
SM
13555 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13556 timer (bug#14156).
13557
e3e7b504
NF
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
201bb296
LL
135632013-04-07 Leo Liu <sdl.web@gmail.com>
13564
13565 * pcmpl-x.el: New file.
13566
ebb19708
DA
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
33bb237a
EZ
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
134abf1f
SM
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
d695cb94
DG
135942013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13595
e3e7b504
NF
13596 * whitespace.el (whitespace-color-on, whitespace-color-off):
13597 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13598
f4ad7ea1 135992013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13600
13601 * ispell.el (ispell-set-spellchecker-params):
13602 Really set `ispell-args' for all equivs.
13603
632556e4
SM
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
2a417372
MA
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
fc164b0c
LL
136172013-04-05 Leo Liu <sdl.web@gmail.com>
13618
13619 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13620
0ccecc08
JB
136212013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13622
13623 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13624
51af1aa2
GM
136252013-04-04 Glenn Morris <rgm@gnu.org>
13626
13627 * electric.el (electric-pair-inhibit-predicate): Add :version.
13628
b208ebc6
SM
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
f3d3eaf0
RW
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
2575da50
TV
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
397703b4
YH
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
691e26ae
AM
136532013-04-03 Alan Mackenzie <acm@muc.de>
13654
8a621d53
JB
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.
691e26ae
AM
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
4b725a70
PE
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
15c579f0
SM
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
a77e2924
RW
136842013-03-31 Roland Winkler <winkler@gnu.org>
13685
13686 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13687
2bd8a4a8
SM
136882013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13689
13690 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13691
8d3655be 136922013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
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
8d3655be 136982013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
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
8d3655be 137042013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13705
13706 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13707
0b1619da
LL
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
0b938190
TZ
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
35710234
LL
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
efc0bb73
SM
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
75a2f981
TZ
137342013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13735
13736 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13737 instead of `forward-symbol'.
13738
17c781d1
SM
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
f67bfbcf
LL
137462013-03-28 Leo Liu <sdl.web@gmail.com>
13747
13748 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13749
b59f639d
EZ
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
f557c1b1
SM
137572013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13758
b1da2957
SM
13759 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13760 and suffixes don't overlap (bug#14061).
13761
f557c1b1
SM
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
002668e1
TZ
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
73572c72
AG
137722013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13773
78b8f320 13774 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13775 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13776
69b2c07e
SM
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
08bb5ee2
LL
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
8d4c974e
SM
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
b234d92c
SM
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
ddfa3cb4
JL
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
7b0e2f85
LL
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
b3082f49
DG
138222013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13823
b234d92c
SM
13824 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13825 Make it safe-local.
bde73d27 13826
b3082f49
DG
13827 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13828
a320a2db
LL
138292013-03-23 Leo Liu <sdl.web@gmail.com>
13830
7e74b0fb
LL
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
a320a2db
LL
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
e38e6780
JL
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
e8cc7880
DE
138572013-03-21 Eric Ludlam <zappo@gnu.org>
13858
39c87140 13859 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13860 Inhibit read only while inserting objects.
13861
9bb0d822
TZ
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
aa703640
TZ
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
afff09d0
JL
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
9a1ff164
SM
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
2667d15d
PE
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
438b0579
LL
138952013-03-20 Leo Liu <sdl.web@gmail.com>
13896
13897 * ido.el (ido-chop): Fix bug#10994.
13898
c128ab07
DG
138992013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13900
13901 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13902 Remove vars.
9a1ff164
SM
13903 (whitespace-color-on, whitespace-color-off):
13904 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13905
0e6008c5
SM
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
627b52b0
DG
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).
7ec31b02
DG
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).
627b52b0 13920
50c3a20b
LL
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
2aa2157b
PE
139272013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13928
13929 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13930
e477dbfa
JD
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
64ab82d1
MA
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
33cef733
LL
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
2167b7b2
TH
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
9a1ff164 13964 display property instead the char property of the buffer's first char.
2167b7b2 13965
982efbcd
PE
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
2fcc7665
SM
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
67c0a6e6
MA
139872013-03-17 Michael Albinus <michael.albinus@gmx.de>
13988
2fcc7665
SM
13989 * net/tramp-adb.el (tramp-adb-parse-device-names):
13990 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13991 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13992
69489f1d
LL
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)
2fcc7665
SM
14002 (eldoc-display-message-no-interference-p):
14003 Support eldoc-post-insert-mode.
69489f1d
LL
14004
14005 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14006 (eval-expression): Run it.
14007
9c44569e
RW
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
327f1f6f
JB
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
67ed8fcd
LL
140182013-03-16 Leo Liu <sdl.web@gmail.com>
14019
14020 * progmodes/scheme.el: Add indentation and font-locking for λ.
14021 (Bug#13975)
14022
78be8b64 140232013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14024
14025 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14026 token before point (bug#13942).
14027
78be8b64 140282013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14029
95b43468 14030 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14031
98e775e6
EZ
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
2edd6029
MA
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
d35f5864
TH
140452013-03-14 Tassilo Horn <tsdh@gnu.org>
14046
e903c210 14047 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
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.
d35f5864 14053
1c4a85ed
KF
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
85b66a21
MA
140592013-03-13 Michael Albinus <michael.albinus@gmx.de>
14060
a020afb9
JB
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.
85b66a21 14064
175600da
SM
140652013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14066
e7f7cb1a
SM
14067 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14068 backquotes for `obsolete' (bug#13929).
14069
175600da
SM
14070 * international/mule.el (find-auto-coding): Include file name in
14071 obsolescence warning (bug#13922).
14072
ca68a22e
TZ
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
940e5099
SM
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
cc725808
PE
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
a020afb9 14102See ChangeLog.16 for earlier changes.
e3d51b27
MR
14103
14104;; Local Variables:
14105;; coding: utf-8
e3d51b27
MR
14106;; End:
14107
ba318903 14108 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
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/>.