Fix debbugs#16971
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4f8aeb84
DG
12014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2
3 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set
4 `comment-use-syntax' to t to avoid the unnecessary runtime check.
5 Set `comment-start-skip' to a simpler value that doesn't try to
6 check if the semicolon is escaped (this is handled by
7 `syntax-ppss' now). (Bug#16971)
8
9 * progmodes/scheme.el (scheme-mode-variables): Same.
10
b92631bf
MR
112014-03-16 Martin Rudalics <rudalics@gmx.at>
12
13 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
14 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
15 current (Bug#16816, Bug#17007).
16 (with-current-buffer-window): New macro doing the same as
17 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
18 * help.el (help-print-return-message): Warn in doc-string to not
19 use this in `with-help-window'.
20 (describe-bindings-internal): Call `describe-buffer-bindings'
21 from within help buffer. See Juanma's scenario in (Bug#16816).
22 (with-help-window): Update doc-string.
23 * dired.el (dired-mark-pop-up):
24 * files.el (save-buffers-kill-emacs):
25 * register.el (register-preview): Use `with-current-buffer-window'
26 instead of `with-temp-buffer-window'.
27
57348c4d
JB
282014-03-16 Juanma Barranquero <lekktu@gmail.com>
29
30 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
31 Implement inserting into current buffer, documented in their docstrings.
32 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
33 (rst-section-tree-point, rst-forward-section, rst-indent)
34 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
35 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
36 (rst-font-lock-handle-adornment-pre-match-form)
37 (rst-repeat-last-character): Reflow docstrings.
38 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
39 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
40 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
41 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
42 Fix docstring typos.
43 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
44 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
45 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
46
fd16b061
JB
472014-03-15 Juanma Barranquero <lekktu@gmail.com>
48
a2403e3d
JB
49 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
50 for compatibility with other ports.
51 (ns-initialize-window-system): Use it. It is set in term/common-win.el
52 from the -xrm command line argument, but in the Nextstep port its value
53 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
54
fd16b061
JB
55 * progmodes/python.el (defconst, python-syntax-count-quotes)
56 (python-indent-region, python-indent-shift-right)
57 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
58 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
59 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
60 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
61 (inferior-python-mode, python-shell-make-comint, run-python-internal)
62 (python-shell-buffer-substring, python-shell-send-buffer)
63 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
64 (python-completion-complete-at-point, python-fill-docstring-style)
65 (python-eldoc-function, python-imenu-format-item-label)
66 (python-imenu-format-parent-item-label)
67 (python-imenu-format-parent-item-jump-label)
68 (python-imenu--build-tree, python-imenu-create-index)
69 (python-imenu-create-flat-index): Fix docstring typos.
70 (python-indent-context, python-shell-prompt-regexp, run-python):
71 Remove superfluous backslashes.
72 (python-indent-line, python-nav-beginning-of-defun)
73 (python-shell-get-buffer, python-shell-get-process)
74 (python-info-current-defun, python-info-current-line-comment-p)
75 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
76 (python-indent-post-self-insert-function, python-shell-send-file)
77 (python-shell-completion-get-completions)
78 (python-shell-completion-complete-or-indent)
79 (python-eldoc--get-doc-at-point): Reflow docstrings.
80
e94807f0
GM
812014-03-14 Glenn Morris <rgm@gnu.org>
82
88103345
GM
83 * emacs-lisp/package.el (package-menu-mode-map):
84 Replace use of obsolete function alias. Tweak menu item text.
85
f2dd4ba8
GM
86 * info.el (Info-finder-find-node):
87 Ignore the `emacs' metapackage. (Bug#10813)
88
ac0f82ef
GM
89 * finder.el (finder-list-matches): Include unversioned packages
90 in the result of a keyword search.
91
e94807f0
GM
92 * finder.el (finder--builtins-descriptions): New constant.
93 (finder-compile-keywords): Use finder--builtins-descriptions.
94
50d434d1
DG
952014-03-14 Dmitry Gutov <dgutov@yandex.ru>
96
97 * simple.el (blink-matching-paren): Describe the new value,
98 `jump', enabling the old behavior.
99 (blink-matching-open): Use that value. (Bug#17008)
100
56759cf1
GM
1012014-03-14 Glenn Morris <rgm@gnu.org>
102
459d74ef
GM
103 * finder.el (finder-no-scan-regexp): Add leim-list.
104 (finder-compile-keywords):
105 Don't skip files with same basename. (Bug#14010)
106 * Makefile.in (setwins_finder): New, excluding leim.
107 (finder-data): Use setwins_finder.
108
56759cf1
GM
109 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
110 (help-function-arglist, help-make-usage): Move from here...
111 * help.el (help-split-fundoc, help-add-fundoc-usage)
112 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
113 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
114
7644aa97
JB
1152014-03-14 Juanma Barranquero <lekktu@gmail.com>
116
117 * net/socks.el (socks, socks-override-functions)
fd16b061 118 (socks-find-services-entry):
7644aa97
JB
119 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
120 (hif-find-ifdef-block):
121 * progmodes/modula2.el (m2-indent): Fix docstring typos.
122
123 * net/tls.el (tls-program): Reflow docstring.
124
125 * progmodes/pascal.el (pascal-mode-abbrev-table)
126 (pascal-imenu-generic-expression, pascal-auto-endcomments)
127 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
128 (pascal-outline-mode): Fix docstring typos.
129 (pascal-mode): Let define-derived-mode document mode hook.
130 (pascal-uncomment-area): Reflow.
131 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
132
133 * progmodes/opascal.el (opascal-compound-block-indent)
134 (opascal-case-label-indent): Fix docstring typos.
135 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
136
1f44df94
DG
1372014-03-13 Dmitry Gutov <dgutov@yandex.ru>
138
139 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
140 multiple adjacent negation chars. (Bug#17004)
141
0d71dfb3
TW
1422014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
143
144 * emacs-lisp/package.el (package--prepare-dependencies):
145 Accept requirements without explicit version (bug#14941).
146
d27a1a7b
JB
1472014-03-12 Juanma Barranquero <lekktu@gmail.com>
148
a5765a3d
JB
149 * register.el (register-separator, copy-to-register): Doc fixes.
150 (register-preview-default): Remove unnecessary call to concat.
151
d27a1a7b
JB
152 * frameset.el (frameset-restore): When checking for a visible frame,
153 use the action map instead of calling visible-frame-list.
154
08dfa0b7
JB
1552014-03-12 Jonas Bernoulli <jonas@bernoul.li>
156
157 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
158
8960529e
MR
1592014-03-12 Martin Rudalics <rudalics@gmx.at>
160
161 * window.el (fit-frame-to-buffer): Get maximum width from
162 display's width instead of height.
163
8a51e8e4
GM
1642014-03-12 Glenn Morris <rgm@gnu.org>
165
46456005
GM
166 * desktop.el (desktop-restore-frames)
167 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
168 (desktop-restore-reuses-frames): Doc tweaks.
169
8a51e8e4
GM
170 * electric.el (electric-indent-mode): Doc fix.
171
5983b317
JB
1722014-03-12 Juanma Barranquero <lekktu@gmail.com>
173
174 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
175 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
176 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
177 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
178 (cvs-dired-use-hook): Fix docstring typos.
179 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
180 Doc fixes.
181
182 * vc/pcvs-defs.el (cvs-auto-remove-handled)
183 (cvs-auto-remove-directories, cvs-default-ignore-marks)
184 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
185 (cvs-execute-single-dir): Fix docstring typos.
186
187 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
188 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
189
190 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
191
192 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
193 Fix docstring typos.
194
13c00cf0
JB
1952014-03-12 Juanma Barranquero <lekktu@gmail.com>
196
197 * frameset.el (frameset--jump-to-register): Add autoload; it could be
198 called from jump-to-register after unloading the frameset package.
199
536a17e3
SM
2002014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
203 (bug#16975). Deactivate the mark before setting it to nil.
204 (activate-mark): Do nothing if region is already active.
205
baf8d0ac
JB
2062014-03-11 Juanma Barranquero <lekktu@gmail.com>
207
208 * frameset.el (frameset--target-display): Remove definition; declare.
209 (frameset-save, frameset-restore): Let-bind frameset--target-display.
210
1ea22560
SM
2112014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
214 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
215 when the advice is pending.
216 (advice-remove): Remove this marker when not needed any more.
217
4538c058
JB
2182014-03-11 Juanma Barranquero <lekktu@gmail.com>
219
220 * frameset.el: Separate options for reusing frames and cleaning up.
221 (frameset--reuse-list): Remove definition; declare.
222 (frameset--action-map): Declare.
223 (frameset--find-frame-if): Doc fix.
224 (frameset--restore-frame): Cache frame action.
225 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
226 how to clean up the frame list after restoring. Remove cleaning
227 options from REUSE-FRAMES. Change all keyword values to symbols.
228 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
229
230 * desktop.el (desktop-restore-forces-onscreen)
231 (desktop-restore-reuses-frames): Use non-keyword values.
232 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
233
ba1a5c78
GM
2342014-03-10 Glenn Morris <rgm@gnu.org>
235
776aa432
GM
236 * files.el (find-file): Doc fix: update info node name.
237
ba1a5c78
GM
238 * emacs-lisp/advice.el (ad-add-advice, defadvice):
239 Doc fix: remove references to deleted info nodes.
240
183d706e
MA
2412014-03-10 Michael Albinus <michael.albinus@gmx.de>
242
243 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
244 Do not add `nil' to the environment, when there's no remote `locale'.
245 (tramp-find-inline-encoding): Check, that the remote host has
246 installed perl, before sending scripts.
247
6f0f96e7
LL
2482014-03-10 Leo Liu <sdl.web@gmail.com>
249
536a17e3
SM
250 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
251 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 252
ca70fe78
SM
2532014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
256 (bug#14430).
257
eb67db41
JL
2582014-03-09 Juri Linkov <juri@jurta.org>
259
260 * ansi-color.el (ansi-color-names-vector): Copy default colors
261 from `xterm-standard-colors' that look well on the default white
262 background (and also on the black background) to avoid illegible
8cf07e5a 263 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
264 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
265
e7db5447
JB
2662014-03-08 Juanma Barranquero <lekktu@gmail.com>
267
268 * frameset.el (frameset-restore): When no frame is visible, do not
269 generate a list of frames, just make visible the selected one.
270
f0a4c8d7
DG
2712014-03-08 Dmitry Gutov <dgutov@yandex.ru>
272
273 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
274 it only contains the repository root. (Bug#16897)
275
e50772e3
MA
2762014-03-07 Michael Albinus <michael.albinus@gmx.de>
277
278 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
279 only when `remote-file-name-inhibit-cache' is nil.
280 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
281
cac0a1d6
MR
2822014-03-06 Martin Rudalics <rudalics@gmx.at>
283
284 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
285 Fix doc-strings.
286 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
287 fit-frame-to-buffer variable. Fix doc-string.
288 (fit-window-to-buffer): Set ONLY argument in call of
289 fit-frame-to-buffer. Fix doc-string.
290
fa965cbf
MA
2912014-03-06 Michael Albinus <michael.albinus@gmx.de>
292
293 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
294 (tramp-action-password): Clear password cache if needed.
295 (tramp-read-passwd): Do not clear password cache.
296
297 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
298 cache unless it is the first password request.
299
c94e6ee4
GM
3002014-03-06 Glenn Morris <rgm@gnu.org>
301
03bc753e
GM
302 * simple.el (newline): Doc tweak.
303
c94e6ee4
GM
304 * emacs-lisp/shadow.el (load-path-shadows-find):
305 Ignore dir-locals. (Bug#12357)
306
bd2d43dc
GM
3072014-03-05 Glenn Morris <rgm@gnu.org>
308
309 * files.el (interpreter-mode-alist):
310 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
311
9284000e
JB
3122014-03-05 Juanma Barranquero <lekktu@gmail.com>
313
314 * frameset.el (frameset--initial-params): Filter out null entries.
315
e1a2cb1c
MR
3162014-03-05 Martin Rudalics <rudalics@gmx.at>
317
27821a89
JB
318 * window.el (window-min-height, window-min-width):
319 Rewrite doc-strings.
e1a2cb1c
MR
320 (window-body-size): Add PIXELWISE argument to make it consistent
321 with its callees.
322
6bf67038
JB
3232014-03-05 Juanma Barranquero <lekktu@gmail.com>
324
325 * finder.el (finder-mode-map, finder-mode-syntax-table):
326 Revert part of 2014-02-28 change.
327
90f04e4c
LI
3282014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
329
330 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
331 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
332 (eww-textarea-map): [tab] doesn't work on tty.
333 Reported by Mario Lang.
6952100d
LI
334
335 * net/shr.el (shr-map): Ditto.
90f04e4c 336
3106d59b
GM
3372014-03-04 Glenn Morris <rgm@gnu.org>
338
339 * minibuffer.el (completion-hilit-commonality):
340 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
341
f604dfdc
JB
3422014-03-04 Juanma Barranquero <lekktu@gmail.com>
343
344 * hilit-chg.el (hilit-chg-unload-function): New function.
345 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
346 (hilit-chg-map-changes): Prefer cardinal number to digit.
347 (hilit-chg-display-changes): Reflow docstring.
348 (highlight-changes-rotate-faces): Remove superfluous backslash.
349
5dc65319
MA
3502014-03-04 Michael Albinus <michael.albinus@gmx.de>
351
352 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
353 `tramp-send-command-and-check'.
354
4242d21d
JB
3552014-03-04 Juanma Barranquero <lekktu@gmail.com>
356
b01fa838
JB
357 * hexl.el (hexl-address-region, hexl-ascii-region)
358 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
359 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
360 (hexl-forward-word, hexl-previous-line, hexl-next-line):
361 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
362 (hexl-mode): Doc fix.
363 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
364 (hexl-mode-ruler): Fix typos in docstrings.
365
4242d21d
JB
366 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
367 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
368 Remove superfluous backslashes.
369 (strokes-last-stroke, strokes-global-map, strokes-mode):
370 Reflow docstrings.
371 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
372 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
373 (strokes-distance-squared, strokes-global-set-stroke)
374 (strokes-global-set-stroke-string): Doc fixes.
375 (strokes-help): Fix typos; reflow docstring.
376
87132570
MR
3772014-03-04 Martin Rudalics <rudalics@gmx.at>
378
379 * window.el (window-in-direction): Fix doc-string.
380
d82e752c
GM
3812014-03-04 Glenn Morris <rgm@gnu.org>
382
383 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
384 Explicit error if no grammar.
385 (smie-config-save): Doc fix. Fix quote typo.
386
62528af0
SM
3872014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
388
8d4901dc
SM
389 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
390 electric-indent-mode-hook if we obey electric-indent-mode.
391 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
392 decide whether we obey electric-indent-mode.
393 (c-change-set-fl-decl-start, c-extend-after-change-region):
394 Silence warnings.
395 (c-electric-indent-mode-hook): Assume we do want to obey
396 electric-indent-mode.
397
398 * electric.el (electric-indent-mode-has-been-called): Remove.
399 (electric-indent-mode): Fix accordingly.
400
092c12b2
SM
401 * files.el (hack-local-variables): Mention file name in warning.
402
62528af0
SM
403 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
404
5b87d0d9
MN
4052014-03-04 Michal Nazarewicz <mina86@mina86.com>
406
407 * binding.el: Add comment describing why C-d binds to `delete-char'.
408 * simple.el (delete-forward-char): Mark as interactive-only.
409
542a3840
JB
4102014-03-03 Juanma Barranquero <lekktu@gmail.com>
411
f2d2402e
GM
412 * icomplete.el (icomplete-completions):
413 Follow-up to 2014-03-01 change.
d11320e5
JB
414
415 * icomplete.el: Miscellaneous doc fixes.
416 Use Icomplete everywhere instead of icomplete for consistency.
417 (icomplete-max-delay-chars): Fix typo.
418 (icomplete-mode): Use \[].
419 (icomplete-tidy, icomplete-exhibit): Reflow.
420 (icomplete-minibuffer-setup-hook, icomplete-completions):
421 Remove superfluous backlashes.
422
423 * ido.el: Miscellaneous doc fixes.
424 Use Ido everywhere instead of ido or `ido' for consistency.
425 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
426 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
427 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
428 (ido-separator): Extract obsolescence info from docstring and declare
429 with make-obsolete-variable.
430 (ido-minibuffer-setup-hook): Simplify example.
431 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
432 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
433 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
434 (ido-everywhere): Reflow docstring.
435 (ido-toggle-vc): Doc fix.
436 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
437 of long list of keybindings.
438
7ebd57e9
GM
4392014-03-03 Glenn Morris <rgm@gnu.org>
440
441 * frame.el (display-pixel-height, display-pixel-width)
442 (display-mm-dimensions-alist, display-mm-height)
443 (display-mm-width): Doc tweaks.
444
35e951cd 4452014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
446
447 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
448 case of undo in region.
449
b923819c
MR
4502014-03-02 Martin Rudalics <rudalics@gmx.at>
451
452 * window.el (fit-window-to-buffer): Fix argument in window-size
453 call when window is horizontally combined.
454
b6e443c5
JB
4552014-03-02 Juanma Barranquero <lekktu@gmail.com>
456
457 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 458 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 459
1850913d
DG
4602014-03-01 Dmitry Gutov <dgutov@yandex.ru>
461
35e951cd
JB
462 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
463 Highlight regexp options. (Bug#16914)
1850913d 464
04b577b6
MR
4652014-03-01 Martin Rudalics <rudalics@gmx.at>
466
467 * window.el (window--max-delta-1): Round down when calculating
468 how many lines/columns we can get from a window.
469
b829360f
GM
4702014-03-01 Glenn Morris <rgm@gnu.org>
471
2501c912
GM
472 * isearch.el (search-invisible): Doc fix.
473
b829360f
GM
474 * minibuffer.el (completion-hilit-commonality):
475 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
476 * comint.el (comint-dynamic-list-completions): Doc fix.
477 * comint.el (comint-dynamic-list-completions):
478 * filecache.el (file-cache-minibuffer-complete):
479 * tempo.el (tempo-display-completions):
480 * eshell/em-hist.el (eshell-list-history):
481 Replace use of obsolete argument of display-completion-list.
482
9a155058
JB
4832014-03-01 Juanma Barranquero <lekktu@gmail.com>
484
485 * icomplete.el (icomplete-completions):
486 Revert back to using "..." when ?… cannot be displayed.
487
53f6cda8
JB
4882014-02-28 Juanma Barranquero <lekktu@gmail.com>
489
490 * finder.el (finder-unload-function): New function.
491
43977c23
JB
4922014-02-28 Juanma Barranquero <lekktu@gmail.com>
493
494 * dframe.el (dframe-detach):
495 * find-dired.el (find-dired, find-name-dired):
496 * finder.el (finder-mode-map, finder-mode-syntax-table)
497 (finder-headmark, finder-select, finder-mouse-select):
498 Fix docstring typos.
499
9dda75ad
MR
5002014-02-28 Martin Rudalics <rudalics@gmx.at>
501
502 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
503 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
504 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
505 Fix doc-string based on a suggestion by Nicolas Richard
506 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
507 * help.el (with-help-window): Fix doc-string.
508
8a73034e
IK
5092014-02-28 Ivan Kanis <ivan@kanis.fr>
510
b70257b0
GM
511 * net/shr.el (shr-image-animate): New option.
512 (shr-put-image): Respect shr-image-animate.
8a73034e 513
245aa73e
MA
5142014-02-28 Michael Albinus <michael.albinus@gmx.de>
515
516 * net/tramp-adb.el (tramp-adb-parse-device-names):
517 Use `accept-process-output'.
518 (tramp-adb-handle-file-truename): Cache the localname only.
519 (tramp-adb-handle-make-directory)
520 (tramp-adb-handle-delete-directory): Flush file properties correctly.
521 (tramp-adb-handle-set-file-modes): Do not raise an error when file
522 modes cannot be changed.
523
524 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
525 file properties of symlinks.
526
48e15d64
PS
5272014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
528
529 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
530 required/optional fields to match development biblatex. (Bug#16781)
531
65b77347
AS
5322014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
533
534 * saveplace.el (toggle-save-place):
535 Fix argument handling. (Bug#16673)
536
5e618aba
GM
5372014-02-28 Glenn Morris <rgm@gnu.org>
538
539 * minibuffer.el (completions-first-difference)
540 (completions-common-part, completion-hilit-commonality): Doc fixes.
541
6deb314e
KB
5422014-02-28 Karl Berry <karl@gnu.org>
543
544 * info.el (Info-mode-map): Add H for describe-mode,
545 to synchronize with standalone Info.
546
289996f5
EL
5472014-02-28 Emilio C. Lopes <eclig@gmx.net>
548
549 * progmodes/sql.el (sql-interactive-mode):
550 Avoid setting global comint-input-ring-separator. (Bug#16814)
551
79fc1191
MA
5522014-02-27 Michael Albinus <michael.albinus@gmx.de>
553
554 * net/dbus.el (dbus--init-bus): Declare function.
555 (dbus-path-local, dbus-interface-local): New defconst.
556 (dbus-init-bus): Use them.
557 (dbus-return-values-table): Extend doc.
558 (dbus-handle-bus-disconnect): Extend error message.
559
298520df
JB
5602014-02-27 Juanma Barranquero <lekktu@gmail.com>
561
562 * subr.el (y-or-n-p): Fix double space issue in message.
563
c22c1614
MA
5642014-02-27 Michael Albinus <michael.albinus@gmx.de>
565
566 * net/tramp.el (tramp-call-process): Improve trace message.
567 (tramp-handle-insert-file-contents): Trace error case.
568
569 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
570 <insert-directory>: Use `tramp-handle-insert-directory'.
571 (tramp-adb-handle-insert-directory): Remove function.
572 (tramp-adb-send-command-and-check): New defun, replacing
573 `tramp-adb-command-exit-status'. Change all callees.
574 (tramp-adb-handle-file-attributes)
575 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
576 (tramp-adb-ls-output-name-less-p):
577 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
578 (tramp-adb-handle-delete-directory): Flush also file properties of
579 the truename of directory.
580 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
581 (tramp-adb-handle-file-local-copy): Make the local copy readable.
582 (tramp-adb-handle-write-region): Implement APPEND.
583 (tramp-adb-handle-rename-file): Make it more robust. Flush file
584 properties correctly.
585 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
586 variables. Check for connected devices only when needed.
587
d9263618
GM
5882014-02-27 Glenn Morris <rgm@gnu.org>
589
ea7826ba
GM
590 * minibuffer.el (completion-table-dynamic)
591 (completion-table-with-cache): Doc fixes.
592
d9263618
GM
593 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
594 (completing-read-multiple): Doc fixes.
595
eff3168a
DC
5962014-02-27 Daniel Colascione <dancol@dancol.org>
597
51f213c3
DC
598 * minibuffer.el (completion--nth-completion): Fix indentation.
599
eff3168a
DC
600 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
601 explicit tramp path is empty.
602
b77cfcd7
GM
6032014-02-27 Glenn Morris <rgm@gnu.org>
604
605 * emacs-lisp/crm.el (completing-read-multiple):
606 Empower help-enable-auto-load.
607
9577b569
GM
6082014-02-26 Glenn Morris <rgm@gnu.org>
609
259887e8
GM
610 * startup.el (command-line): Don't init the tty in daemon mode.
611
1d491ef2
GM
612 Avoid calling tty-setup-hook twice, eg if a term file
613 explicitly calls tty-run-terminal-initialization. (Bug#16859)
614 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
615 (tty-create-frame-with-faces): Use it.
616 * startup.el (command-line): Pass run-hook argument
617 to tty-run-terminal-initialization.
618
9577b569
GM
619 * dired.el (dired-restore-desktop-buffer): Demote errors;
620 eg in case a glob match fails. (Bug#16884)
621
40ff7f86
DG
6222014-02-26 Dmitry Gutov <dgutov@yandex.ru>
623
b2388336
DG
624 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
625 error from `read-from-string'. (Bug#16850)
626
40ff7f86
DG
627 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
628 result of `completing-read' in the interactive form. (Bug#16854)
629
98bd6b32
GM
6302014-02-25 Glenn Morris <rgm@gnu.org>
631
f086804c
GM
632 * image.el (image-animate, image-animate-timeout):
633 Stop animating images in dead buffers. (Bug#16878)
634
c107155e
GM
635 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
636
9577b569
GM
637 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
638 Doc fixes.
98bd6b32
GM
639 * startup.el (term-setup-hook): Doc fix. Make obsolete.
640 * term/sun.el (sun-raw-prefix-hooks):
641 Use tty-setup-hook instead of term-setup-hook.
642 (terminal-init-sun): Construct message from bytecomp plist.
643 * term/wyse50.el (enable-arrow-keys): Doc fix.
644
9c9e18e8
JB
6452014-02-24 Juanma Barranquero <lekktu@gmail.com>
646
647 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
648 Fix docstring typos.
649
c848881f
MA
6502014-02-24 Michael Albinus <michael.albinus@gmx.de>
651
652 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
653
0e38ae05
NR
6542014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
655
656 * minibuffer.el (completion--try-word-completion):
657 Fix error when completing M-x commands (bug#16808).
658
8ee4c296
LL
6592014-02-24 Leo Liu <sdl.web@gmail.com>
660
661 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
662
7d4bd627
JB
6632014-02-24 Juanma Barranquero <lekktu@gmail.com>
664
665 * apropos.el (apropos-print): Avoid formatting error when
666 apropos-do-all and apropos-compact-layout are both t.
667
e918e27f
JB
6682014-02-23 Juanma Barranquero <lekktu@gmail.com>
669
670 * apropos.el (apropos-property, apropos-all-words-regexp)
671 (apropos-true-hit, apropos-variable, apropos-print):
672 Fix docstring typos, and remove obsolete comment.
673
85c01f80
MA
6742014-02-23 Michael Albinus <michael.albinus@gmx.de>
675
676 * net/tramp-sh.el (tramp-sh-handle-file-truename):
677 Preserve trailing "/". (Bug#16851)
678
62f95022
DG
6792014-02-23 Dmitry Gutov <dgutov@yandex.ru>
680
681 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
682 after `=>' (bug#16811).
dfdb365c
DG
683 (ruby-smie-rules): Handle the inconsistent second element of the
684 list returned by `smie-indent--parent'.
685 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
686 method call.
62f95022 687
025f2c81
JB
6882014-02-23 Juanma Barranquero <lekktu@gmail.com>
689
690 * elec-pair.el (electric-pair-text-syntax-table)
691 (electric-pair-syntax-info, electric-pair--syntax-ppss)
692 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
693 (electric-pair--looking-at-unterminated-string-p): Doc fix.
694 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
695
123c84f9
GM
6962014-02-22 Glenn Morris <rgm@gnu.org>
697
612c3e46
GM
698 * imenu.el (imenu--generic-function): Doc fix.
699
123c84f9
GM
700 * register.el (frame-configuration-to-register): Make obsolete.
701
e59fa9ad
JB
7022014-02-22 Juanma Barranquero <lekktu@gmail.com>
703
704 * desktop.el (desktop-save-buffer-p): Do not fail when
705 desktop-files-not-to-save is nil. Return t for true result
706 as the doc says.
707
4e652634
DC
7082014-02-22 Daniel Colascione <dancol@dancol.org>
709
27821a89 710 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
711 Check that attribute values are strings, avoiding the construction
712 of invalid dbus messages.
4e652634 713
f35affb6
JB
7142014-02-21 Juanma Barranquero <lekktu@gmail.com>
715
716 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
717 defun-declarations-alist.
718
3d136b1b
SM
7192014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
722 (bug#16829).
723
612ddfc0
JB
7242014-02-21 Juanma Barranquero <lekktu@gmail.com>
725
726 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
727 (whitespace-newline, whitespace-trailing, whitespace-line)
728 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
729 (whitespace-space-after-tab): Fix typo in docstrings.
730
c8481b1b
DG
7312014-02-21 Dmitry Gutov <dgutov@yandex.ru>
732
cb8f50a7
DG
733 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
734
c8481b1b
DG
735 * electric.el (electric-indent-functions-without-reindent):
736 Add `yaml-indent-line'.
737
bed5126f
JB
7382014-02-21 Juanma Barranquero <lekktu@gmail.com>
739
34b71457
JB
740 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
741 It has done nothing for years; should be removed after the release.
742
bed5126f
JB
743 * simple.el (choose-completion): Fix docstring typo.
744 (read-quoted-char-radix): Remove unneeded * in docstring.
745 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
746 Don't escape parentheses unnecessarily in docstrings.
747
8dd3e94f
MR
7482014-02-21 Martin Rudalics <rudalics@gmx.at>
749
750 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
751 * window.el (window--dump-window, window--dump-frame):
752 New functions.
753 (window--min-size-1): Account for window dividers.
754 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
755 sum of the window components has been calculated.
756 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
757 nil make sure at least one text line and two text columns remain
758 fully visible.
759 (window-resize): Signal an error when window-resize-apply fails.
760 (window--resize-child-windows): Fix calculation of by how many
761 pixels a window can still be shrunk via window-new-normal.
762 (adjust-window-trailing-edge): Call window--resizable with
763 correct TRAIL argument.
764
2ed94e04
MR
765 (with-temp-buffer-window): Don't evaluate BODY within
766 with-current-buffer (Bug#16816).
767
0e5324c4
MA
7682014-02-21 Michael Albinus <michael.albinus@gmx.de>
769
770 * net/tramp.el (tramp-check-cached-permissions):
771 Call `file-attributes' with `suffix' being a symbol but a string.
772
48198420
DC
7732014-02-21 Daniel Colascione <dancol@dancol.org>
774
775 * net/dbus.el (dbus-init-bus-1): Declare new subr.
776 (dbus-init-bus): New function: call into dbus-init-bus-1
777 and installs a handler for the disconnect signal.
778 (dbus-call-method): Rewrite to look for result in cons.
779 (dbus-call-method-handler): Store result in cons.
780 (dbus-check-event): Recognize events with nil sender as valid.
781 (dbus-handle-bus-disconnect): New function. React to bus
782 disconnection signal by synthesizing dbus error for each
783 pending synchronous or asynchronous call.
784 (dbus-notice-synchronous-call-errors): New function.
785 (dbus-handle-event): Raise errors directly only when `dbus-debug'
786 is true, not all the time.
787
99e15133
JB
7882014-02-21 Juanma Barranquero <lekktu@gmail.com>
789
e48983a6
JB
790 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
791 Remove obsolescence declarations, these variables do not exist anymore.
792
fdcfd745
JB
793 * savehist.el (savehist-save-minibuffer-history)
794 (savehist-additional-variables, savehist-file, savehist-mode-hook)
795 (savehist-save-hook, savehist-coding-system, savehist-loaded)
796 (savehist-load, savehist-install, savehist-autosave): Fix typos;
797 mostly, refer to "Savehist mode" when talking about the mode,
798 and not the function.
799
99e15133
JB
800 * saveplace.el (save-place): Remove redundant info in docstring.
801 (save-place-forget-unreadable-files, toggle-save-place)
802 (save-place-forget-unreadable-files, save-place-dired-hook):
803 Fix typos and remove unneeded backslashes.
804
f5bee33b
MA
8052014-02-20 Michael Albinus <michael.albinus@gmx.de>
806
807 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
808 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
809
810 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 811 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
812 (tramp-gvfs-handle-insert-directory): Remove function.
813
814 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
815 Call `tramp-handle-insert-directory'.
816
ee0761ca
JB
8172014-02-20 Juanma Barranquero <lekktu@gmail.com>
818
819 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
820 before the start of buffer/region (bug#16799).
821
4d49cc65
GM
8222014-02-20 Glenn Morris <rgm@gnu.org>
823
824 * isearch.el (search-invisible): Doc fix.
825
eee0d650
TK
8262014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
827
828 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
829 (bug#16657).
830
94e5e202
JB
8312014-02-19 Juanma Barranquero <lekktu@gmail.com>
832
833 * frameset.el (frameset-restore): Delay removing an old frame's
834 duplicate id until the new frame has been correctly created.
835
50bfdd5d
MA
8362014-02-19 Michael Albinus <michael.albinus@gmx.de>
837
838 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
839 (tramp-check-cached-permissions): Call `file-attributes' if the
840 cache is empty.
841
842 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 843 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
844
845 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 846 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
847 (tramp-gvfs-maybe-open-connection): Set always connection
848 properties, even if target is mounted already.
849
850 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
851 Set tramp-autoload cookie.
852 (tramp-get-remote-touch): New defun.
853 (tramp-sh-handle-set-file-times): Use it.
854 (tramp-sh-handle-directory-files-and-attributes):
855 Use `tramp-handle-directory-files-and-attributes' if neither stat
856 nor perl are available on the remote host.
857
858 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
859 "/". Write long listing only when "l" belongs to the switches.
860
861 * net/trampver.el: Update release number.
862
f097a3d2
JB
8632014-02-19 Juanma Barranquero <lekktu@gmail.com>
864
865 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
866
8e009b78
MR
8672014-02-19 Martin Rudalics <rudalics@gmx.at>
868
869 * window.el (window-state-put): Allow WINDOW to refer to an
870 internal window (Bug#16793).
871
95160c90
GM
8722014-02-19 Glenn Morris <rgm@gnu.org>
873
874 * textmodes/remember.el: Move provide statement to end.
875 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
876 (remember-notes): Doc fixes.
877
b28df58c
SM
8782014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
879
880 * delsel.el (delete-char): Restore incorrectly erased property
881 (bug#16795).
882
7108e1c0
JB
8832014-02-18 Juanma Barranquero <lekktu@gmail.com>
884
885 * frameset.el (frameset--restore-frame): When a frame is being reused
886 and its root window is not alive, delete all the frame's windows before
887 restoring the window state. This works around the issue in bug#16793.
888
c863b6ad
GM
8892014-02-18 Glenn Morris <rgm@gnu.org>
890
a73fae1f
GM
891 * textmodes/remember.el (remember-data-directory)
892 (remember-directory-file-name-format, remember-store-in-files)
893 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
894 (remember-notes-save-and-bury-buffer)
895 (remember-notes--kill-buffer-query): Doc fixes.
896
c863b6ad
GM
897 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
898
29238d28
AM
8992014-02-17 Alan Mackenzie <acm@muc.de>
900
901 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 902 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 903 to electric-indent-{,local-}-mode.
b28df58c
SM
904 (c-basic-common-init): Set electric-indent-inhibit.
905 Initialise c-electric-flag from electric-indent-mode.
29238d28 906 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 907 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
908
909 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 910 hit, toggle electric-indent-local-mode.
29238d28 911
b28df58c
SM
912 * electric.el (electric-indent-mode-has-been-called):
913 New variable.
29238d28 914
c6463340
JB
9152014-02-17 Juanma Barranquero <lekktu@gmail.com>
916
917 * frameset.el (frameset-cfg-id): New function.
918 (frameset--reuse-frame, frameset-restore): Use it.
919 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
920
94912b88
SM
9212014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * ido.el (ido-file-internal): Remove unused var `d'.
924 Use \` for to match BoS. Fit within 80n columns.
925
26ea164c
DC
9262014-02-17 Daniel Colascione <dancol@dancol.org>
927
928 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
929 dbus-call-method check for completion using a busy-wait loop with
930 gradual backoff.
931
dd7691b7
MA
9322013-10-02 Michael Albinus <michael.albinus@gmx.de>
933
934 Sync with Tramp 2.2.9.
935
936 * net/trampver.el: Update release number.
937
17d1b51b
DG
9382014-02-16 Dmitry Gutov <dgutov@yandex.ru>
939
940 * ido.el (ido-file-internal): Don't add the name of an existing
941 directory twice. (Bug#16747)
942
5bcad689
GM
9432014-02-16 Glenn Morris <rgm@gnu.org>
944
945 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
946 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
947
9482014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
949
950 * progmodes/sql.el: Version 3.4
951 (sql-oracle-options): New default value ("-L").
94912b88 952 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 953 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 954 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
955 (sql-login-delay): New variable.
956 (sql-product-interactive): Use it.
957
285f1858
JB
9582014-02-15 Juanma Barranquero <lekktu@gmail.com>
959
960 * frameset.el (frameset--jump-to-register): Check that buffer is live
961 (bug#16749).
962
5d645ea4
GM
9632014-02-15 Glenn Morris <rgm@gnu.org>
964
965 * info.el (info-initialize): Revert 2014-01-10 change.
966
48c4f9b1
GM
9672014-02-14 Glenn Morris <rgm@gnu.org>
968
b8630261
GM
969 * replace.el (map-query-replace-regexp)
970 (read-regexp-defaults-function, read-regexp): Doc fixes.
971
b2bf2a25
GM
972 * dired.el (dired-read-regexp):
973 * faces.el (list-faces-display):
974 * misearch.el (multi-isearch-read-matching-buffers)
975 (multi-isearch-read-matching-files):
976 * play/cookie1.el (cookie-apropos):
977 * progmodes/grep.el (grep-read-regexp): Doc fixes.
978
48c4f9b1
GM
979 * textmodes/remember.el (remember): Use frameset-to-register
980 rather than frame-configuration-to-register.
981
2804e0bd
JB
9822014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
983
984 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
985 incorrect keybinding.
986
0b87142f
DC
9872014-02-13 Daniel Colascione <dancol@dancol.org>
988
989 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
990 when adding overlays so that line numbers from compiler match line
991 numbers we use.
992
47a73eb0
GM
9932014-02-13 Glenn Morris <rgm@gnu.org>
994
8abcfd51
GM
995 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
996
47a73eb0
GM
997 * jit-lock.el (jit-lock-mode): Doc fix.
998
c9b6b262
JB
9992014-02-13 Juanma Barranquero <lekktu@gmail.com>
1000
1001 * apropos.el (apropos-read-pattern): When the user passes an empty
1002 string, give a more helpful error message than "Wrong type
1003 argument: stringp, nil".
1004
eb4c6947
SM
10052014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1008
0dab5068
GM
10092014-02-13 Glenn Morris <rgm@gnu.org>
1010
1011 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1012
59075dcf
SM
10132014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1016 shift-select commands.
1017
5af9fbad
DG
10182014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1019
1020 * progmodes/js.el (js-indent-line): Don't widen.
1021 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1022
a215930c
GM
10232014-02-12 Glenn Morris <rgm@gnu.org>
1024
a8cb4247
GM
1025 * icomplete.el (icomplete): Add info-link to defgroup.
1026 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1027 (icomplete-minibuffer-map, icomplete-mode)
1028 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1029
a215930c
GM
1030 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1031 (package-menu-filter): Rename from package-menu-filter-interactive.
1032 Doc fix.
1033
26c5ecd9
JB
10342014-02-11 Juanma Barranquero <lekktu@gmail.com>
1035
1036 * frameset.el (frameset--jump-to-register): Select the required
1037 window and buffer before restoring position (bug#16696).
1038
fcd58a02
LI
10392014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1040
1041 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1042
bacb3380
GM
10432014-02-10 Glenn Morris <rgm@gnu.org>
1044
1045 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1046
881329dc
EZ
10472014-02-10 Eli Zaretskii <eliz@gnu.org>
1048
02328db9
EZ
1049 * w32-common-fns.el (x-get-selection): Doc fix.
1050 * select.el (x-get-selection): Doc fix. (Bug#15109)
1051
881329dc
EZ
1052 * face-remap.el (face-remap-add-relative)
1053 (face-remap-remove-relative, face-remap-reset-base)
1054 (face-remap-set-base): Call force-mode-line-update to redisplay
1055 the current buffer due to potential change in faces. (Bug#16709)
1056
c7db4c06
MA
10572014-02-10 Michael Albinus <michael.albinus@gmx.de>
1058
1059 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1060 script more robustly.
1061
6abe4589
LI
10622014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1063
7602b5c3
LI
1064 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1065
e3692ee0
LI
1066 * simple.el (choose-completion): Doc fix (bug#14160).
1067
41015524
LI
1068 * subr.el (event-start): Say what a nil EVENT value means.
1069
87c79dcb
LI
1070 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1071 (bug#14197).
1072
3ab49e2c
LI
1073 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1074
f3c60241
LI
1075 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1076
3bd1d8a8
LI
1077 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1078
6abe4589
LI
1079 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1080 predicate function (bug#15455).
1081
a11463de
DG
10822014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1083
1084 * ielm.el (inferior-emacs-lisp-mode): Instead of
1085 `comment-use-global-state', set `comment-use-syntax'.
1086
2ab0ad85
GM
10872014-02-10 Glenn Morris <rgm@gnu.org>
1088
1089 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1090
411141fb
AM
10912014-02-09 Alan Mackenzie <acm@muc.de>
1092
1093 Fix c-invalidate-state-cache on narrowed buffers.
1094 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1095 Widen when setting and clearing the CPP delimiter properties.
1096
d6d5fdf8
LI
10972014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1098
92c70367
LI
1099 * help.el (describe-bindings): Doc fix (bug#9888).
1100
468ef484
LI
1101 * files.el (save-buffer): Use ARG as the parameter name for
1102 consistency (bug#10346).
7e34193f 1103 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1104
fc2b1ffa 1105 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1106 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1107 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1108
790aceec
LI
1109 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1110
a54a7552 1111 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1112 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1113
dd163123
LI
1114 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1115 meaning of the parameter (bug#12282).
1116
9e108fe6
LI
1117 * files.el (find-file-noselect): Clarify prompt when changing
1118 readedness (bug#13261).
5a836f58
LI
1119 (locate-file): Suffixes aren't returned, so don't say that they
1120 are (bug#12674).
2356b316 1121 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1122
20dda930
LI
1123 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1124 before we actually start to delete things (bug#16331).
1125
d6d5fdf8
LI
1126 * subr.el (event-start): Doc fix (bug#14228).
1127 (event-end): Ditto.
1128
2abd71e5
GM
11292014-02-09 Glenn Morris <rgm@gnu.org>
1130
1131 * emacs-lisp/warnings.el (lwarn):
1132 Empower help-enable-auto-load. (Bug#15940)
1133
c1b5900b
AS
11342014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1135
1136 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1137 (Bug#16690)
1138
429b93bd
MA
11392014-02-08 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1142 Insert output at end of buffer. (Bug#16120)
1143
b772a699
LI
11442014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1145
18c6aa8c
LI
1146 * simple.el (choose-completion-string-functions): Document new
1147 calling convention (bug#14153).
54dd147a 1148 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1149
dce8463b
LI
1150 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1151
b772a699 1152 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1153 (find-grep-dired): Doc fix (bug#14288).
b772a699 1154
2423c8d5
JL
11552014-02-08 Juri Linkov <juri@jurta.org>
1156
1157 * isearch.el (isearch-quote-char): Check character validity
1158 like in `quoted-insert' (bug#16677).
1159
518f26c2
LI
11602014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1161
893cc908
LI
1162 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1163
9165ffc0
LI
1164 * isearch.el (isearch-hide-immediately): Doc clarification
1165 (bug#14723).
1166
6ef4f3ce
LI
1167 * simple.el (line-move): Document utility function used many
1168 places in the Emacs sources (bug#14843).
1169
be58a238 1170 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1171 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1172 (dired-up-directory): Doc fix (bug#14848).
be58a238 1173
dd7aafbb
LI
1174 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1175
15cb9968
LI
1176 * files.el (file-relative-name): Doc fix (bug#15159).
1177
9788effd
LI
1178 * fringe.el (fringe-styles): Doc fix (bug#15239).
1179
c96411bd
LI
1180 * isearch.el (isearch-filter-predicate): Documentation typo fix
1181 (bug#15474).
1182
ea838c36
LI
1183 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1184
0d8a4ae7
LI
1185 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1186
f7a17bb3
LI
1187 * replace.el (replace-match-maybe-edit): Doc clarification
1188 (bug#15632).
1189
1bde5c3b
LI
1190 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1191
518f26c2
LI
1192 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1193
dd8e49fd
GM
11942014-02-08 Glenn Morris <rgm@gnu.org>
1195
1196 * help-fns.el (describe-variable):
1197 Check {file,dir}-local-variables-alist, and buffer-file-name,
1198 in the correct buffer.
1199
7e088b29
IL
12002014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1201
1202 * help-fns.el (describe-variable): Fix the case where
1203 a value is directory-local with no dir-locals file. (Bug#16635)
1204
41a4a82f
GM
12052014-02-08 Glenn Morris <rgm@gnu.org>
1206
1207 * abbrev.el (edit-abbrevs-mode):
1208 Derive from fundamental-mode. (Bug#16682)
1209
e255a703
JB
12102014-02-07 Juanma Barranquero <lekktu@gmail.com>
1211
1212 * simple.el (quoted-insert): Check character validity (bug#16677).
1213
c99cf5ee
JL
12142014-02-07 Juri Linkov <juri@jurta.org>
1215
1216 * desktop.el (desktop-read): Claim the lock when the owner is not
1217 the current process. (Bug#16157)
1218
7d7a68d8
JL
12192014-02-07 Juri Linkov <juri@jurta.org>
1220
1221 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1222 to "\\` ". (Bug#16651)
1223
2b777cd9
JL
12242014-02-07 Juri Linkov <juri@jurta.org>
1225
1226 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1227 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1228 (desktop-auto-save-cancel-timer): New function with some code from
1229 `desktop-auto-save-set-timer'.
1230 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1231 Instead of setting `desktop-save-mode' to nil, call
1232 `desktop-save-mode' with arg 0. (Bug#16630)
1233
60eabbb9
GM
12342014-02-07 Glenn Morris <rgm@gnu.org>
1235
99cf3859
GM
1236 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1237 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1238 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1239
2b568bc9
GM
1240 * obsolete/iswitchb.el: Move to obsolete/.
1241 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1242 since obsolete/ is not scanned for autoloads.
1243 * emacs-lisp/authors.el (authors-valid-file-names):
1244 Add iswitchb.el.
1245
60eabbb9
GM
1246 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1247 Disable now non-functional find-file-hook.
1248
629de968
MA
12492014-02-06 Michael Albinus <michael.albinus@gmx.de>
1250
1251 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1252 instead of ";" in order to avoid additional prompts. Let heredoc
1253 scripts read from tty. (Bug#16582)
1254 (tramp-send-command): No special handling of heredocs, it isn't
1255 necessary anymore.
1256
29127376
SM
12572014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1260 with a space (bug#16664). Limit the symbols considered to the ones
1261 that are bound or fbound (bug#16646).
1262
79b6e0a9
GM
12632014-02-06 Glenn Morris <rgm@gnu.org>
1264
1265 * epa.el (epa-mail-aliases): Doc fix.
1266
a333e4d2
DG
12672014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1268
29127376
SM
1269 * emacs-lisp/lisp.el (lisp-completion-at-point):
1270 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1271 (bug#16604).
1272
1273 * minibuffer.el (completion-table-merge): New function.
1274
9a83b32b
MA
12752014-02-05 Michael Albinus <michael.albinus@gmx.de>
1276
1277 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1278 (tramp-sh-handle-set-file-acl)
1279 (tramp-sh-handle-start-file-process)
1280 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1281 (tramp-find-executable, tramp-send-command): Use it.
1282
451ea3e6
GM
12832014-02-05 Glenn Morris <rgm@gnu.org>
1284
9a83b32b 1285 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1286
dd27d13b
FEG
12872014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1288
35e951cd 1289 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1290 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1291
08e41897
AL
12922014-02-04 Anders Lindgren <andlind@gmail.com>
1293
1294 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1295 the names (bug#16620).
1296
764ec9e5
MR
12972014-02-03 Martin Rudalics <rudalics@gmx.at>
1298
08e41897
AL
1299 * faces.el (window-divider): New default value. Rewrite doc-string.
1300 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1301
6da8227c
DG
13022014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1303
1304 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1305 `protected' and `public' can also be called without arguments.
1306
6a6b8e40
GM
13072014-02-03 Glenn Morris <rgm@gnu.org>
1308
7bcbca40
GM
1309 * register.el (window-configuration-to-register)
1310 (frame-configuration-to-register): Unadvertise unused argument.
1311 * frameset.el (frameset-to-register): Remove unused argument.
1312
719d965d 1313 * frameset.el (frameset-to-register):
6a6b8e40
GM
1314 * kmacro.el (kmacro-to-register):
1315 * register.el (increment-register):
1316 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1317 (calc-append-to-register, calc-prepend-to-register):
1318 * play/gametree.el (gametree-layout-to-register)
1319 (gametree-apply-register-layout):
1320 * textmodes/picture.el (picture-clear-rectangle-to-register)
1321 (picture-yank-rectangle-from-register):
1322 * vc/emerge.el (emerge-combine-versions-register):
1323 Use register-read-with-preview to read registers.
1324
5dca7759
JT
13252014-02-03 João Távora <joaotavora@gmail.com>
1326
1327 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1328 when at beginning of (possibly narrowed) buffer.
1329
709085b9
DC
13302014-02-02 Daniel Colascione <dancol@dancol.org>
1331
c295fc18 1332 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1333 Also try to display local help from just before point.
709085b9 1334
99f7b0a6
AM
13352014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1336
1337 c-parse-state. Don't "append-lower-brace-pair" in certain
1338 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1339 recognised as a comment.
1340
1341 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1342 as well as normal comment starter.
1343 (c-parse-state-get-strategy): Extra return possibility
1344 'back-and-forward.
1345 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1346 return value list to indicate replacement of a brace-pair cons
1347 with its car.
1348 (c-parse-state-1): With 'back-and-forward, only call
1349 c-append-lower-brace-pair-to state-cache when cons-separated.
1350
f0a10576
JD
13512014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1352
1353 * term/ns-win.el (ns-suspend-error): New function.
1354 (ns-initialize-window-system): Add ns-suspend-error to
1355 suspend-hook (Bug#16612).
1356
b8d552c2
DC
13572014-02-02 Daniel Colascione <dancol@dancol.org>
1358
35e951cd
JB
1359 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1360 Make loading cc-mode silent.
b8d552c2 1361
f2b7d123
DC
13622014-02-02 Daniel Colascione <dancol@dancol.org>
1363
35e951cd
JB
1364 * comint.el (comint-prompt-read-only): Change doc to suggest
1365 remap keybinding.
f2b7d123 1366
4472a196
GM
13672014-02-02 Glenn Morris <rgm@gnu.org>
1368
1369 * register.el (register-read-with-preview, point-to-register)
1370 (window-configuration-to-register, frame-configuration-to-register)
1371 (jump-to-register, number-to-register, view-register, insert-register)
1372 (copy-to-register, append-to-register, prepend-to-register)
1373 (copy-rectangle-to-register): Doc fixes.
1374
70e5a261
SM
13752014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1376
1377 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1378 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1379 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1380 * help-fns.el (describe-function-1): Use it.
1381
7c324762
GM
13822014-02-02 Glenn Morris <rgm@gnu.org>
1383
1384 * register.el (register-preview-default): New function,
1385 split from register-preview.
1386 (register-preview-function): Rename from register-preview-functions,
1387 make it not a hook.
1388 (register-preview): Use register-preview-function.
1389 (register-read-with-preview): Error on non-character event. (Bug#16595)
1390
a09beb3d
DG
13912014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1392
1393 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1394 `:' before binary operators (bug#16609). Don't check for `:'
1395 before `[' and `(', or their syntax status. A percent literal
1396 can't end with either.
68e004e0
DG
1397 (ruby-font-lock-keywords): For built-ins that require arguments,
1398 check that they're followed by something that looks like argument
1399 (bug#16610).
a09beb3d 1400
ed4d2875
LI
14012014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1402
1403 * subr.el (butlast): Document what an omitted N means (bug#13437).
1404 (nbutlast): Ditto.
1405
dba6e3ec
LI
14062014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1407
1408 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1409 depth shallower (bug#16587).
cc477daa
LI
1410 (shr-tag-svg): Respect `shr-inhibit-images'.
1411 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1412
e2a67bd0
DG
14132014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1414
1415 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1416 (ruby-smie-grammar): Make "." right-associative. Make its priority
1417 lower than the ternary and all binary operators.
1418 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1419 parent, or the first "." parent at indentation.
1420 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1421 (Bug#16593)
1422
bd21bf41
JL
14232014-01-31 Juri Linkov <juri@jurta.org>
1424
1425 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1426 from `make-hash-table'.
1427
1428 * textmodes/ispell.el (ispell-init-process): Change message format
1429 to be consistent with other messages.
1430
b7e615b9
GM
14312014-01-31 Glenn Morris <rgm@gnu.org>
1432
a69ecd19
GM
1433 * delsel.el (delete-selection-mode): Doc fix.
1434
9997d7e3
GM
1435 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1436 (trace-function-background): Doc fixes.
1437
fbb764b8
GM
1438 * ido.el (ido-use-virtual-buffers): Doc fix.
1439 Reset :version, since the default value has not changed.
1440
da942af1
GM
1441 * register.el (register-preview-delay, register-read-with-preview):
1442 Doc fixes.
1443
b7e615b9
GM
1444 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1445 do not mess with mail-buffer position (fixes 2009-11-03 change).
1446 * progmodes/cc-mode.el (c-submit-bug-report):
1447 Check auto-fill-mode is bound. (Bug#16592)
1448
0a25002d
DH
14492014-01-31 Darren Hoo <darren.hoo@gmail.com>
1450
1451 * startup.el (fancy-splash-image-file): New function,
1452 split from fancy-splash-head.
1453 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1454 so that we are both using the same image. (Bug#16574)
1455
ad78f432
GM
14562014-01-30 Glenn Morris <rgm@gnu.org>
1457
6bbc0c84
GM
1458 * simple.el (eval-expression): Doc fix.
1459
ad78f432
GM
1460 * hexl.el (hexl-mode-hook):
1461 * ielm.el (ielm-mode-hook):
1462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1463 (lisp-interaction-mode-hook):
1464 * progmodes/cfengine.e (cfengine3-documentation-function):
1465 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1466
7b2f049c
SM
14672014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1470 is a symbol (bug#16584).
1471
0c633f13
GM
14722014-01-30 Glenn Morris <rgm@gnu.org>
1473
1474 * help.el (help-for-help-internal): Add "P" to text.
1475
5e61c1ef
GM
14762014-01-29 Glenn Morris <rgm@gnu.org>
1477
1478 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1479
1dcb169c
MR
14802014-01-28 Martin Rudalics <rudalics@gmx.at>
1481
1482 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1483 height constraints.
1484
a9128931
LL
14852014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1486
1487 * progmodes/hideif.el: Extend to full CPP expression syntax.
1488 (hif-token-alist): Add missing tokens.
1489 (hif-token-regexp): Add support for float/octal/hex immediates.
1490 (hif-string-literal-regexp): New const.
1491 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1492 (hif-exprlist): New function.
1493 (hif-parse-if-exp): Use it.
1494 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1495 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1496 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1497 (hif-logxor, hif-comma): New functions.
1498
a22359a7
GM
14992014-01-28 Glenn Morris <rgm@gnu.org>
1500
793ffe81
GM
1501 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1502
e3bd7eed
GM
1503 * indent.el (tab-stop-list): Doc fix. Add :version.
1504
a22359a7
GM
1505 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1506 (cvs-append-to-ignore): Add compatibility alias.
1507
52695556 15082014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1509
bac524e0
GM
1510 * dired.el (dired-hide-details-mode): Don't autoload it,
1511 since it cannot be used outside Dired buffers anyway.
1512
52695556 1513 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1514
52695556
GM
1515 * dired.el (dired-hide-details-hide-symlink-targets)
1516 (dired-hide-details-hide-information-lines)
1517 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1518
1519 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1520 * strokes.el (strokes-file): Doc fix. Bump :version.
1521 (strokes-help): Doc fix.
1522 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1523 * emulation/viper.el (viper): Doc fix for custom group.
1524 (top-level): Remove oh-so-no-longer-relevant text about vip.
1525 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1526
1527 * ido.el (ido-save-directory-list-file):
1528 * saveplace.el (save-place-file):
1529 * calendar/timeclock.el (timeclock-file):
1530 * net/quickurl.el (quickurl-url-file):
1531 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1532 * progmodes/idlwave.el (idlwave-config-directory):
1533 * textmodes/remember.el (remember-data-file):
1534 Bump :version.
1535
169d6004
GM
15362014-01-26 Glenn Morris <rgm@gnu.org>
1537
de6a923b
GM
1538 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1539 Doc fix. Make obsolete.
1540 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1541
169d6004
GM
1542 * sort.el (delete-duplicate-lines): Doc fix.
1543
ed85dee6
RS
15442014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1545
1546 * progmodes/ada-mode.el (ada):
1547 * woman.el (woman): Link to info manual and Commentary section.
1548
1549 * progmodes/flymake.el (flymake):
1550 * nxml/nxml-mode.el (nxml):
1551 * net/eww.el (eww):
1552 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1553 * htmlfontify.el (htmlfontify):
1554 * ses.el (ses):
1555 * epa.el (epa):
1556 * ido.el (ido): Link to info manual.
1557
e0c67e1d
LL
15582014-01-25 Leo Liu <sdl.web@gmail.com>
1559
1560 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1561
35408b1a
AS
15622014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1563
1564 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1565 (bug#16537).
1566
76c3fa95
JB
15672014-01-24 Juanma Barranquero <lekktu@gmail.com>
1568
f77c7a99
JB
1569 * net/eww.el (eww-download-callback):
1570 Fix reference to eww-download-directory.
1571
76c3fa95
JB
1572 * emacs-lisp/bytecomp.el (byte-compile-file):
1573 Remove unused local variable `file-name'.
1574
1e548e40
GM
15752014-01-24 Glenn Morris <rgm@gnu.org>
1576
03f3b318
GM
1577 * woman.el (woman-default-faces, woman-monochrome-faces):
1578 Fix obsolescence specification.
1579
1e548e40
GM
1580 * subr.el (with-demoted-errors): Doc fix.
1581
d4f0427b
SM
15822014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1585 (cl--macroexp-fboundp): New function.
1586 (cl--make-type-test): Use it.
1587
1670e27f
GM
15882014-01-23 Glenn Morris <rgm@gnu.org>
1589
1590 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1591 * simple.el (eval-expression): Doc fixes.
1592
80efa207
GM
15932014-01-22 Glenn Morris <rgm@gnu.org>
1594
1595 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1596
29afcbab
SM
15972014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * emacs-lisp/package.el: Write files silently.
1600 (package-autoload-ensure-default-file, package--write-file-no-coding)
1601 (package-generate-description-file, package--download-one-archive)
1602 (package-install-from-archive): Tell `write-region' to stay quiet.
1603 (package-menu-mode, package-menu--print-info): Omit the Archive column
1604 if there's only one archive.
1605 (package-all-keywords, package--has-keyword-p): Remove dead code.
1606
2a5bce4f
GM
16072014-01-22 Glenn Morris <rgm@gnu.org>
1608
edace89f
GM
1609 * version.el (emacs-bzr-version-bzr): Fix typo.
1610
2a5bce4f
GM
1611 * version.el (emacs-repository-get-version):
1612 Check either .bzr or .git, but not both.
1613 Make the git case actually use the DIR argument, and return nil
1614 rather than the empty string.
983664c0 1615 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1616
6cb4da45
MR
16172014-01-22 Martin Rudalics <rudalics@gmx.at>
1618
1619 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1620 * window.el (window-total-size, window-size): New argument ROUND.
1621 (window--min-delta-1, window-min-delta, window--max-delta-1):
1622 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1623 columns a window can shrink (Bug#16430).
1624 (fit-window-to-buffer): Simplify code.
1625 * term.el (term-window-width): Call window-body-width again.
1626
cc0f2ece
GM
16272014-01-22 Glenn Morris <rgm@gnu.org>
1628
7b997b14
GM
1629 * image.el (image-format-suffixes): Doc fix.
1630
44e76f9d
GM
1631 * international/quail.el (quail-define-package): Doc fix.
1632
35e951cd 1633 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1634 (authors-renamed-files-alist): Additions.
7bfc1caa 1635
85a5f61f
GM
1636 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1637 reverts 2014-01-09 change. (Bug#16422)
1638
cc0f2ece
GM
1639 * calc/calc-embed.el (thing-at-point-looking-at):
1640 * emacs-lisp/map-ynp.el (x-popup-dialog):
1641 * obsolete/lmenu.el (x-popup-dialog):
1642 * emacs-lisp/package.el (url-recreate-url):
1643 * mail/mailclient.el (clipboard-kill-ring-save):
1644 * subr.el (x-popup-dialog): Update declaration.
1645 * mail/rmail.el (rmail-mime-message-p):
1646 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1647
00d2a6bb
DC
16482014-01-21 Daniel Colascione <dancol@dancol.org>
1649
1650 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1651 Correctly detect when we're inside an arithmetic expansion form
1652 containing nested parenthesis.
c295fc18 1653 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1654 to detect cases where we shouldn't expand "<<" to a heredoc
1655 skeleton.
1656
dd9d2e9d
SM
16572014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1660 (eldoc--message-command-p): New function.
1661 (eldoc-display-message-p): Use it.
1662 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1663 message is not automatically erased for us.
1664 (eldoc-print-current-symbol-info): Erase previous message, if any.
1665
e7d807ca
TH
16662014-01-21 Tassilo Horn <tsdh@gnu.org>
1667
4ff0a0e5
TH
1668 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1669 specify it's an interactive function.
1670
dd9d2e9d
SM
1671 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1672 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1673 citations with optional arguments.
1674
87503791
LL
16752014-01-21 Leo Liu <sdl.web@gmail.com>
1676
1677 * simple.el (read--expression): Don't enable eldoc-mode.
1678
6cc750ee
SM
16792014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * simple.el (move-beginning-of-line): Make sure we don't move forward
1682 (bug#16497).
1683
71f16bda
JL
16842014-01-20 Juri Linkov <juri@jurta.org>
1685
1686 * saveplace.el (toggle-save-place, save-place-to-alist)
1687 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1688 'dired-mode) before checking for dired-directory. (Bug#16477)
1689
3c5a4839
JL
16902014-01-20 Juri Linkov <juri@jurta.org>
1691
1692 * indent.el (indent-line-to): Use backward-to-indentation
1693 instead of back-to-indentation. (Bug#16461)
1694
f952002e
PE
16952014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1696
1697 Revert some of the CANNOT_DUMP fix (Bug#16494).
1698 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1699 but fixing this can wait until after the next release.
1700 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1701
93675500
MA
17022014-01-19 Michael Albinus <michael.albinus@gmx.de>
1703
1704 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1705 Use `password-word-equivalents'.
1706 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1707 to t. (Bug#5664, Bug#13124)
1708
e3af763f
AM
17092014-01-19 Alan Mackenzie <acm@muc.de>
1710
1711 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1712 points.
1713 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1714 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1715 * progmodes/cc-mode.el (c-before-change, c-after-change)
1716 (c-font-lock-fontify-region): Bind it here.
1717
4ff6d92d
MR
17182014-01-19 Martin Rudalics <rudalics@gmx.at>
1719
1720 * term.el (term-window-width): Call window-text-width instead of
1721 window-width (Bug#16470).
1722
9a685cf6
PE
17232014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1724
1725 * simple.el (password-word-equivalents): Remove duplicates.
1726 Sort, to make this easier next time.
1727 Downcase. Omit ": " after "jelszó".
1728
5aa78c2d
JD
17292014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1730
1731 * term/common-win.el (saved-region-selection): Defvar it.
1732 (x-select-text): Set saved-region-selection (Bug#16382).
1733
cabb250c
GM
17342014-01-18 Glenn Morris <rgm@gnu.org>
1735
1736 * emacs-lisp/authors.el (authors-aliases)
1737 (authors-renamed-files-alist): Add some entries.
1738
a1340440
MA
17392014-01-17 Michael Albinus <michael.albinus@gmx.de>
1740
93675500
MA
1741 * net/tramp.el (tramp-password-prompt-regexp):
1742 Use `password-word-equivalents' if available.
a1340440
MA
1743 (tramp-action-password, tramp-process-one-action)
1744 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1745
681ce5d2
CY
17462014-01-17 Chong Yidong <cyd@gnu.org>
1747
1748 * simple.el (password-word-equivalents): New defcustom.
1749 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1750 to 24.4.
1751 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1752 to t. (Bug#13124)
1753
fb3d479c
DG
17542014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1755
1756 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1757 (ruby-align-to-stmt-keywords): Change the default value.
1758 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1759 choices.
1760 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1761 keywords, check against the value of `ruby-alignable-keywords'
1762 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1763
0d613483
GM
17642014-01-17 Glenn Morris <rgm@gnu.org>
1765
fc23fe2d
GM
1766 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1767
0d613483 1768 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 1769 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
1770 (authors-ignored-files): Add some entries, remove others.
1771 (authors-ambiguous-files, authors-valid-file-names):
1772 Add some entries.
1773 (authors-renamed-files-alist): Add, remove, and adjust entries.
1774 (authors-renamed-files-regexps): Add some entries.
1775 Remove some very broad ones. Make some entries `lax'.
1776 (authors-lax-changelogs): New constant.
1777 (authors-disambiguate-file-name): Treat top-level specially.
1778 (authors-lax-changelog-p): New function.
1779 (authors-canonical-file-name): Check file as written against
1780 authors-valid-file-names. Do not special-case etc/.
1781 Handle `lax' logs and authors-renamed-files-regexps elements.
1782
2dbf4ffd
DG
17832014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1784
1785 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1786 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1787 callers.
2dbf4ffd 1788
87b2a7f2
SM
17892014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1792 Assume we're already in the proper buffer.
1793 Inspired by Anders Lindgren <andlind@gmail.com>.
1794 (follow-post-command-hook): Call it from the right buffer.
1795 (follow-comint-scroll-to-bottom): Adjust call.
1796 (follow-all-followers): Use get-buffer-window-list.
1797
93acfb0e
DC
17982014-01-15 Daniel Colascione <dancol@dancol.org>
1799
1800 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1801 `buffer-file-name' in interactive-form so that we don't leave
1802 pathless file names in `file-name-history'.
1803
ccc6b208
JL
18042014-01-15 Juri Linkov <juri@jurta.org>
1805
1806 * indent.el (indent-rigidly): Set deactivate-mark to nil
1807 in transient indentation mode. (Bug#16438)
1808
5c92e00d
DG
18092014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1810
1811 * emacs-lisp/package.el (package-desc-keywords): New function
1812 (Bug#16222).
1813 (describe-package-1, package-all-keywords)
1814 (package--has-keyword-p): Use it.
1815
dac69660
NR
18162014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1817
1818 * simple.el (define-alternatives): When creating the
1819 COMMAND-alternatives variable, assign COMMAND as its definition
1820 name so that `describe-variable' can relocate it.
1821
8b63edf8
ML
18222014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1823
1824 * font-lock.el (font-lock-keywords): Fix typo in docstring
1825 (bug#16307).
1826
c6a0b8eb
AM
18272014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1828
1829 * ispell.el (ispell-region): Reset `in-comment' for new line
1830 instead of wrongly reset `add-coment' (bug#13577).
1831
02bf443d
DU
18322014-01-14 Daiki Ueno <ueno@gnu.org>
1833
1834 * epa-file.el (epa-file-write-region): Encode the region according
1835 to `buffer-file-format'. Problem reported at:
1836 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1837
fd7fde15
SM
18382014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1841 so it applies in the right buffer (bug#16410).
1842
c176054f
DC
18432014-01-13 Daniel Colascione <dancol@dancol.org>
1844
1845 * textmodes/rst.el (rst-define-key): Provide deprecated
1846 keybindings through named functions instead of anonymous ones so
1847 that "??" doesn't appear in describe-mode output.
1848
e3f33e5d
BG
18492014-01-13 Bastien Guerry <bzg@gnu.org>
1850
1851 * simple.el (define-alternatives): Call the selected command
1852 interactively. When setting `COMMAND--implementation' for the
1853 first time, tell the user how to chose another implementation.
1854 Enhance the docstring.
1855
c055d654
SM
18562014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1857
1858 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1859 (log-edit--match-first-line): New function.
1860 (log-edit-font-lock-keywords): Use it.
1861 (log-edit-mode): Make jit-lock-defer-multiline work.
1862
d791cc3b
BG
18632014-01-13 Bastien Guerry <bzg@gnu.org>
1864
1865 * rect.el (rectangle-mark-mode): When the region is not active,
1866 display a message saying that the mark as been set and that
1867 rectangle mode is in use.
1868 (rectangle--highlight-for-redisplay): Only put an overlay with a
1869 visible vertical bar when (display-graphic-p) is non-nil.
1870 This partially fixes Bug#16403.
1871
3c0c4562
JL
18722014-01-13 Juri Linkov <juri@jurta.org>
1873
1874 * info.el (Info-find-file): Go to DIR before displaying the error
1875 about a nonexistent file if no previous Info file is visited.
1876 Use `user-error' instead of `error' for "Info file %s does not exist".
1877 (Info-find-node-2): In case of a nonexistent node in unwind forms
1878 go to the Top node if there is no previous node to revert to.
1879 (Bug#16405)
1880
25a700d0
MR
18812014-01-13 Martin Rudalics <rudalics@gmx.at>
1882
1883 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1884 * window.el (fit-frame-to-buffer): Fix doc-string.
1885 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1886 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1887 when avoiding that frame goes partially off-screen.
1888 (fit-window-to-buffer): Respect window-min-height/-width
1889 (Bug#14096).
1890
6ae948d8
SM
18912014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1894 after an empty line.
1895
6137cb82
SM
18962014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * net/shr.el (shr-render-region): Autoload.
1899
e6344e17
XF
19002014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1901
1902 * net/eww.el (eww-download-directory): Rename from
1903 `eww-download-path' (Bug#16419).
1904
3b922c70
LL
19052014-01-12 Leo Liu <sdl.web@gmail.com>
1906
1907 * dired-x.el (dired-mode-map): Fix last change.
1908
1909 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1910
4fa51741
PE
19112014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1912
1913 Spelling fixes.
1914 * emacs-lisp/generic.el (generic--normalize-comments):
1915 Rename from generic--normalise-comments. All uses changed.
35e951cd 1916 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
1917 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1918 (bubbles--neighborhood-available)
1919 (bubbles--update-neighborhood-score):
1920 Rename from names with 'neighbourhood'. All uses changed.
1921
9b335362
LL
19222014-01-12 Leo Liu <sdl.web@gmail.com>
1923
1924 Re-implement the feature of showing eldoc info after editing.
1925 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1926 (eldoc-edit-message-commands): New function.
1927 (eldoc-print-after-edit): New variable.
1928 (eldoc-pre-command-refresh-echo-area): Emit message only by
1929 eldoc-message-commands.
1930 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1931 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1932 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1933 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1934
e2a095b1
GM
19352014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1936 Eric S. Raymond <esr@thyrsus.com>
9685190b 1937
841a6d0c 1938 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1939 function works correctly in either a Bazaar or Git repo.
0abf4134 1940
e2a095b1
GM
19412014-01-11 Eric S. Raymond <esr@thyrsus.com>
1942
6137cb82
SM
1943 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1944 Goes with removal of the joke manpages from /etc.
9685190b 1945
c295fc18 19462014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1947
6137cb82
SM
1948 * mail/rmail.el (rmail-get-coding-system):
1949 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1950
d2f16e93
GM
19512014-01-10 Glenn Morris <rgm@gnu.org>
1952
1953 * emacs-lisp/authors.el (authors-fixed-entries):
1954 Update for files that no longer exist.
1955
7e03bb32
ER
19562014-01-10 Eric S. Raymond <esr@thyrsus.com>
1957
1958 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1959 24.3 (Tested).
7e03bb32 1960
dd806710
BB
19612014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1962
1963 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1964 and Podfile.
1965
ed6ec139
EZ
19662014-01-10 Eli Zaretskii <eliz@gnu.org>
1967
1968 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1969
cc33cac9
CY
19702014-01-10 Chong Yidong <cyd@gnu.org>
1971
6137cb82 1972 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1973
d9d836b5
AL
19742014-01-10 Anders Lindgren <andlind@gmail.com>
1975
1976 * follow.el (follow-cache-command-list): Include right-char and
1977 left-char.
1978
06827ec8
PE
19792014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1980
1981 Spelling fixes.
1982 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1983 * woman.el (woman-mark-horizontal-position):
1984 Rename from woman-mark-horizonal-position. Use changed.
1985
458dbf5e
GM
19862014-01-10 Glenn Morris <rgm@gnu.org>
1987
dad6fae7
GM
1988 * info.el (info-initialize): If running uninstalled, ensure our
1989 own info files are always found first, even if INFOPATH is set.
1990
458dbf5e
GM
1991 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1992
05e0afce
DE
19932014-01-09 David Engster <deng@randomsample.de>
1994
1995 * emacs-lisp/eieio-custom.el:
1996 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1997 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1998 * emacs-lisp/eieio.el: Regenerate autoloads.
1999
f29778b3
ER
20002014-01-09 Eric S. Raymond <esr@thyrsus.com>
2001
2002 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2003 following renames. (Bug#8756)
f29778b3 2004
684d44ef
SM
20052014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2008 (bug#16382).
2009 (activate-mark): Add `no-tmm' argument.
2010 (set-mark, push-mark-command): Use it instead of running
2011 activate-mark-hook by hand.
2012
9475054f
ER
20132014-01-08 Eric S. Raymond <esr@thyrsus.com>
2014
2015 In preparation for the move to git, sanitize out some
2016 Bazaar-specific names.
2017
38942b9c
GM
2018 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2019
9475054f 2020 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2021 emacs-repository-version. Obsolete-variable alias made.
9475054f 2022 * loadup.el: Follow through on this name change.
a12bf61e 2023 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2024 assumption about the version control system in use.
2025
0f918d96 20262014-01-08 David Engster <deng@randomsample.de>
abb82152 2027
684d44ef
SM
2028 * help-fns.el (help-fns-describe-function-functions):
2029 New variable to call functions for augmenting help buffers.
abb82152
DE
2030 (describe-function-1): Remove explicit calls to
2031 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2032 `help-fns--obsolete'. Put them in above new variable instead, and
2033 call them through `run-hook-with-args'.
2034 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2035 `eieio-describe-class'. Not meant for interactive use anymore,
2036 but to augment existing help buffers. Remove optional second
684d44ef
SM
2037 argument. Create proper button for file location.
2038 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2039 possible.
2040 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2041 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2042 (describe-method, describe-generic, eieio-describe-method):
2043 Remove aliases.
0f918d96
DE
2044 (eieio-help-constructor, eieio-help-generic): Rename from
2045 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2046 Rewrite to use `insert' in the current buffer and use proper help
2047 buttons.
2048 (eieio-help-find-method-definition)
2049 (eieio-help-find-class-definition): Also accept symbols as
2050 arguments.
2051 (eieio-help-mode-augmentation-maybee): Remove.
2052 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2053 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2054 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2055
136b74c5
PE
20562014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2057
2058 Spelling fixes.
2059 * language/china-util.el (hz-ascii-designation):
2060 Rename from hz-ascii-designnation.
2061 (hz-ascii-designation): Rename from hz-ascii-designnation.
2062 All uses changed.
2063
ec6c7de2
SM
20642014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2065
2066 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2067 package-alist.
2068
d6262c7c
BG
20692014-01-08 Bastien Guerry <bzg@gnu.org>
2070
4b9e6087
GM
2071 * emacs-lisp/package.el (package-delete):
2072 Correctly delete the package from package-alist.
d6262c7c 2073
0a3eec32
DU
20742014-01-08 Daiki Ueno <ueno@gnu.org>
2075
2076 * emacs-lisp/package.el (url-recreate-url): Declare.
2077 (url-http-target-url): Declare.
4b9e6087 2078 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2079 (package--check-signature): Don't re-signal errors from
2080 package--with-work-buffer. Suggested by Stefan Monnier.
2081
68f0bb97
BG
20822014-01-07 Bastien Guerry <bzg@gnu.org>
2083
2084 * minibuffer.el (completion--try-word-completion): When both a
2085 hyphen and a space are possible candidates for the character
2086 following a word, display both candidates. (Bug#15980)
2087
7e1899d7
MR
20882014-01-07 Martin Rudalics <rudalics@gmx.at>
2089
2090 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2091 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2092
0030ec15
GM
20932014-01-07 Glenn Morris <rgm@gnu.org>
2094
2095 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2096 (menu-bar-help-menu): Use view-external-packages instead.
2097
2b6b4f20
BG
20982014-01-07 Bastien Guerry <bzg@gnu.org>
2099
2100 * emacs-lisp/package.el (package-delete): Also delete the package
2101 name from `package-alist', not its description only.
2102
e9be0a13
GM
21032014-01-07 Glenn Morris <rgm@gnu.org>
2104
2105 * help.el (view-external-packages):
2106 * menu-bar.el (menu-bar-help-extra-packages):
2107 Visit efaq.info rather than etc/MORE.STUFF.
2108
e4f74da9
JL
21092014-01-07 Juri Linkov <juri@jurta.org>
2110
2111 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2112 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2113
2114 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2115 that shadows RET. (Bug#16342)
2116
de7ce2d1
CY
21172014-01-07 Chong Yidong <cyd@gnu.org>
2118
2119 * isearch.el (isearch-yank-char, isearch-yank-word)
2120 (isearch-yank-line): Doc fix.
2121
6bdd9204
SM
21222014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2125 * emacs-lisp/elint.el (elint-find-builtins):
2126 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2127 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2128 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2129 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2130 * apropos.el (apropos-safe-documentation):
2131 * subr.el (symbol-file): Remove redundant fboundp.
2132 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2133
daccca97
BG
21342014-01-06 Bastien Guerry <bzg@gnu.org>
2135
2136 * hl-line.el (global-hl-line-overlay): Make a local variable.
2137 (global-hl-line-overlays): New variable to store all overlays.
2138 (global-hl-line-mode): Don't delete overlays from the current
2139 buffer when `global-hl-line-sticky-flag' is non-nil.
2140 (global-hl-line-highlight): Add new overlays to
2141 `global-hl-line-overlays'.
2142 (global-hl-line-unhighlight-all): New function to delete all
2143 overlays when turning off `global-hl-line-mode'.
2144 This fixes Bug#16183.
2145
ec00f20f
SM
21462014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2147
2148 * subr.el (set-transient-map): Fix nested case and docstring.
2149
a0031f97
TH
21502014-01-06 Tassilo Horn <tsdh@gnu.org>
2151
2152 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2153 `Texinfo' entry.
2154
bf6a77f3
DC
21552014-01-06 Daniel Colascione <dancol@dancol.org>
2156
2157 Fix defun navigation in vc log view.
2158
2159 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2160 like `beginning-of-defun'.
c295fc18 2161 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2162 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2163 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2164 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2165 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2166
d5081c1e
PE
21672014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2168
2169 Spelling fixes.
2170 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2171 * emacs-lisp/debug.el (cancel-debug-on-entry):
2172 * epg.el (epg-error-to-string):
2173 * files.el (recover-file):
2174 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2175 * mail/emacsbug.el (report-emacs-bug-hook):
2176 * mail/sendmail.el (mail-recover):
2177 * ses.el (ses-yank-resize):
2178 * term/ns-win.el (ns-print-buffer):
2179 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2180 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2181 All uses changed.
2182 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2183
53f6b148
LL
21842014-01-06 Leo Liu <sdl.web@gmail.com>
2185
2186 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2187 to avoid shadowing global key. (Bug#16354)
53f6b148 2188
b82ace2f
DC
21892014-01-06 Daniel Colascione <dancol@dancol.org>
2190
2191 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2192 rst-mode.
2193
3669b636
MR
21942014-01-05 Martin Rudalics <rudalics@gmx.at>
2195
2196 * window.el (balance-windows): Add mising t to fix Bug#16351.
2197
1a29adc2
LMI
21982014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2199
2200 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2201 (bug#16285).
3d95a0f4
LMI
2202 (shr-insert): If we have a word that's longer than `shr-width',
2203 break after it anyway. Otherwise we'll do no breaking once we get
2204 such a long word.
1a29adc2 2205
f4018140
KN
22062014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2207
3fcfc4ee 2208 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2209 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2210 (eww-history-quit): Delete and use quit-window.
2211 (eww-history-kill): Delete, because it doesn't work well and
2212 not necessary.
2213 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2214
4e619754
PE
22152014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2216
73dbf960
PE
2217 Fix misspelling of 'chinese' in rx (Bug#16237).
2218 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2219 chinese-two-byte.
2220
4e619754
PE
2221 Change subword regexps back to vars (Bug#16296).
2222 * progmodes/subword.el (subword-forward-regexp)
2223 (subword-backward-regexp): Change these back to variables.
2224
e18b70fc
SM
22252014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2226
2227 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2228 syntax-begin-function (bug#16247).
2229
0d53f628
CY
22302014-01-03 Chong Yidong <cyd@gnu.org>
2231
2232 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2233 (advice--docstring): Delete variable.
2234 (advice--make-1): Leave the docstring empty.
2235 (advice-add): Use function-documentation for advised docstring.
2236
2237 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2238 Ignore function-documentation property when getting documentation.
2239 (ad-activate-advised-definition): Use function-documentation
2240 generate the docstring.
2241 (ad-make-advised-definition): Don't call
2242 ad-make-advised-definition-docstring.
2243 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2244 Delete functions.
2245
2246 * progmodes/sql.el (sql-help): Use function-documentation instead
2247 of dynamic-docstring-function property. No need to autoload now.
2248 (sql--help-docstring): New variable.
2249 (sql--make-help-docstring): Use it.
2250
6f547583
SM
22512014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2252
6ef9aed8
SM
2253 * ielm.el (ielm-tab): Retarget.
2254 (ielm-map): Use ielm-tab for tab.
2255 (ielm-complete-filename): Use comint-filename-completion.
2256 (ielm-complete-symbol): Remove.
2257 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2258 remove ielm-tab from completion-at-point-functions (bug#16224).
2259
6f547583
SM
2260 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2261 Beware signals raised by predicates (bug#16201).
2262
a574edbe
RS
22632014-01-02 Richard Stallman <rms@gnu.org>
2264
e831604d
RS
2265 * dired-aux.el (dired-do-print): Handle printer-name.
2266
6f547583
SM
2267 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2268 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2269 (rmail-epa-decrypt): Turn off mime processing.
2270
3fcfc4ee 2271 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2272 Add parens in message-id.
2273
2274 * mail/rmail.el (rmail-get-coding-function): Variable.
2275 (rmail-get-coding-system): Use it.
2276
04311a16
KH
22772013-12-31 Eli Zaretskii <eliz@gnu.org>
2278
2279 * international/mule-conf.el: Unify the charset indian-is13194.
2280 (indian-is13194): Specify unify-map.
2281
c8d89778
LL
22822013-12-31 Leo Liu <sdl.web@gmail.com>
2283
2284 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2285
e63ace37
DC
22862013-12-30 Daniel Colascione <dancol@dancol.org>
2287
9e0bf19a
DC
2288 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2289 of printing a useless when we resume from sleep.
2290
e63ace37 2291 * progmodes/sh-script.el
c295fc18 2292 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2293 in indentation code. (Bug#16233)
2294
e9d6c46a
JT
22952013-12-28 João Távora <joaotavora@gmail.com>
2296
6f547583
SM
2297 * elec-pair.el (electric-pair-post-self-insert-function):
2298 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2299
bf7bea5d
EZ
23002013-12-28 Eli Zaretskii <eliz@gnu.org>
2301
2302 * frame.el (window-system-for-display): Don't allow to create a
2303 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2304
8449dd1f
GM
23052013-12-28 Glenn Morris <rgm@gnu.org>
2306
9c5a5c77
GM
2307 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2308 Update callers.
2309
2310 * apropos.el (apropos-match-face):
2311 * calculator.el (calculator-displayer):
2312 * dabbrev.el (dabbrev-search-these-buffers-only):
2313 * face-remap.el (buffer-face-mode-face):
2314 * simple.el (yank-handled-properties):
2315 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2316 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2317 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2318 (hashcash-double-spend-database):
2319 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2320 (ruby-deep-indent-paren-style):
2321 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2322 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2323 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2324 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2325 Specify custom types.
2326
bb098075
GM
2327 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2328 * bookmark.el (bookmark-bmenu-use-header-line):
2329 * doc-view.el (doc-view-scale-internally):
2330 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2331 * register.el (register-preview-delay):
2332 * net/shr.el (shr-bullet):
2333 * progmodes/cfengine.el (cfengine-cf-promises)
2334 (cfengine-parameters-indent):
2335 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2336 * textmodes/reftex-vars.el (reftex-label-regexps):
2337 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2338
9c61f806
GM
2339 * net/tls.el (tls-certtool-program): Fix default value.
2340
2341 * desktop.el (desktop-restore-in-current-display):
2342 * newcomment.el (comment-empty-lines):
2343 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2344 (idlwave-pad-keyword):
2345 * progmodes/tcl.el (tcl-tab-always-indent):
2346 * textmodes/reftex-vars.el (reftex-index-default-tag):
2347 * elec-pair.el (electric-pair-skip-whitespace):
2348 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2349
8449dd1f
GM
2350 * emacs-lisp/authors.el (authors-ignored-files)
2351 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2352
fdadeb49
JC
23532013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2354
72140a0f
GM
2355 * shell.el (shell-dynamic-complete-command): Doc fix.
2356 (shell--command-completion-data): Shell completion now matches
2357 executable filenames from the current buffer's directory, on
da5ecfa9 2358 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2359
e572a7d8
LI
23602013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2361
2362 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2363
7514d3f8
SM
23642013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2365
a4151f3b
SM
2366 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2367 (bug#16251).
2368
7514d3f8
SM
2369 * electric.el: Move all electric-pair-* to elec-pair.el.
2370 * elec-pair.el: New file, split from electric.el.
2371
ac5758d1
LI
23722013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2373
2374 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2375 indentation level is larger than the width, because that will
2376 infloop.
2377 (shr-insert): Fill repeatedly long texts, so that Japanese is
2378 formatted correctly (bug#16263).
24a6b65e
LI
2379 (shr-find-fill-point): Off by one error in comparison with the
2380 indentation.
ac5758d1 2381
7514d3f8 23822013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2383
2384 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2385 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2386 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2387 if that keeps or improves their balance in buffers.
2388 (electric-pair-delete-adjacent-pairs): Delete the pair when
2389 backspacing over adjacent matched delimiters.
2390 (electric-pair-open-extra-newline): Open extra newline when
2391 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2392 (electric--sort-post-self-insertion-hook):
2393 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2394 minor-modes are activated.
2395 * simple.el (newline-and-indent): Call newline with interactive
2396 set to t.
2397 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2398 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2399 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2400 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2401 electric-pair-open-newline-between-pairs to nil.
2402
fbcc63a3
FEG
24032013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2404
2405 * progmodes/python.el: Use lexical-binding.
2406 (python-nav-beginning-of-defun): Stop searching ASAP.
2407
ed78d16c
XF
24082013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2409
2410 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2411 Fix interactive spec. Doc fix. (Bug#15754)
2412
38b2c142
KY
24132013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2414
2415 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2416 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2417 Fix edebug spec (bug#16184).
2418
3c856c14
LI
24192013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2420
83fa295c 2421 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2422 (shr-insert): Don't infloop if we can't find a good place to break
2423 the line (bug#16256).
3c856c14 2424
01379221
FEG
24252013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2426
35e951cd 2427 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2428 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2429 python-nav-lisp-forward-sexp-safe.
2430 (python-nav--forward-sexp): New argument SAFE allows switching
2431 forward sexp movement behavior for parens.
2432 (python-nav-forward-sexp): Throw errors on unterminated parens
2433 (Bug#16191).
2434 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2435 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2436 (python-shell-buffer-substring):
2437 Use `python-nav-forward-sexp-safe'.
01379221 2438
99e4926f
LI
24392013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2440
2441 * net/shr.el (shr-find-fill-point): Don't break lines before a
2442 quotation mark.
c6c20584
LI
2443 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2444 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2445 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2446
fec0e828
KN
24472013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2448
2449 * net/eww.el (eww-form-textarea): Use a different face for
2450 textareas than text input since they have different keymaps
2451 (bug#16142).
2452
89c868ad
FEG
24532013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2454
7514d3f8
SM
2455 * progmodes/python.el (python-nav-beginning-of-statement):
2456 Speed up (Bug#15295).
89c868ad 2457
eeef121a
LI
24582013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2459
2460 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2461 the window configuration.
2462
121ea65f
EZ
24632013-12-24 Eli Zaretskii <eliz@gnu.org>
2464
2465 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2466 we run on MS-Windows or MS-DOS.
2467
18cee9ec
MR
24682013-12-24 Martin Rudalics <rudalics@gmx.at>
2469
2470 * window.el (balance-windows-area): Call window-size instead of
2471 window-height and window-width. Bug#16241.
2472
58f2b9a5
LI
24732013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2474
2475 * net/eww.el (eww-bookmark-quit): Remove.
2476 (eww-bookmark-browse): Restore the window configuration when you
2477 choose a bookmark (bug#16144).
2478
d64b6308
DC
24792013-12-24 Daniel Colascione <dancol@dancol.org>
2480
2481 * icomplete.el: Remove redundant :group arguments to `defcustom'
2482 throughout.
2483 (icomplete-show-matches-on-no-input): New customizable variable.
2484 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2485 we have something to show.
7514d3f8 2486 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2487
0da54898
DC
24882013-12-23 Daniel Colascione <dancol@dancol.org>
2489
2490 * icomplete.el: Move `provide' to end of file.
2491
b90aa4f4
TZ
24922013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2493
2494 * net/gnutls.el (gnutls-verify-error): Add version tag.
2495
8cd22a08
CY
24962013-12-23 Chong Yidong <cyd@gnu.org>
2497
2498 * subr.el (set-transient-map): Rename from
2499 set-temporary-overlay-map. Doc fix.
2500
2501 * face-remap.el (text-scale-adjust):
2502 * indent.el (indent-rigidly):
2503 * kmacro.el (kmacro-call-macro):
2504 * minibuffer.el (minibuffer-force-complete):
2505 * repeat.el (repeat):
2506 * simple.el (universal-argument--mode):
2507 * calendar/todo-mode.el (todo-insert-item--next-param):
2508 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2509
7510b021
CY
2510 * indent.el (indent-rigidly): Use substitute-command-keys.
2511
72140a0f 25122013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2513
2514 * net/eww.el (eww-tag-select): Add text-property to jump to next
2515 select field.
e9dc713d 2516 (eww): Add non-supported ftp error.
56890ecd 2517
1f87a56c
DG
25182013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2519
2520 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2521 comments. Handle electric indent after typing `?' and `!'.
2522
dca38cf9
CY
25232013-12-22 Chong Yidong <cyd@gnu.org>
2524
2525 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2526 applicable to a frame, fall back on the defface spec.
2527 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2528
f2351498
DG
25292013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2530
2531 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2532 after `{'. We need it after block openers, and it doesn't seem
2533 to hurt after hash openers.
2534
6cddebc1
DG
25352013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2536
2537 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2538 extracted from `ruby-smie-rules'.
2539 (ruby--electric-indent-chars): New variable.
2540 (ruby--electric-indent-p): New function.
2541 (ruby-mode): Use `electric-indent-functions' instead of
2542 `electric-indent-chars'.
2543
65a1da00
DG
25442013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2545
2546 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2547 docstring.
2548 (ruby-smie-rules): Indent plus one level after `=>'.
2549
b51ad4cf
RS
25502013-12-21 Richard Stallman <rms@gnu.org>
2551
2552 * simple.el (newline): Doc fix.
2553
72140a0f 25542013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2555
e9dc713d 2556 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2557 (eww-history-browse, eww-history-quit, eww-history-kill)
2558 (eww-history-mode-map, eww-history-mode): New command and
2559 functions to list browser histories.
e9dc713d
JB
2560 (eww-form-text): Support text form with disabled
2561 and readonly attributes.
2562 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2563
5e1901c1
RS
25642013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2565
2566 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2567 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2568 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2569 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2570 Use `user-error'.
2571 (eww-bookmark-mode-map): Add menu.
2572 (eww-render, eww-mode): Use `setq-local'.
2573 (eww-tool-bar-map): New variable.
2574 (eww-mode): Set `tool-bar-map'.
2575 (eww-view-source): Check for `html-mode' with `fboundp'.
2576
073d5cfd
LMI
25772013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2578
2579 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2580 elements with text inside. Also remove debugging.
2581
41cf3d11
JD
25822013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2583
2584 * cus-start.el (all): Add ns-use-srgb-colorspace.
2585
aac2b673
CY
25862013-12-21 Chong Yidong <cyd@gnu.org>
2587
2588 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2589 undefined. Thus, theme settings for undefined faces do not take
2590 effect until the faces are defined with defface, the same as with
2591 theme variables.
2592
2593 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2594 (face-spec-reset-face): Don't assign extra properties in temacs.
2595 (face-spec-recalc): Apply X resources too.
2596
bacb0e77
CY
25972013-12-21 Chong Yidong <cyd@gnu.org>
2598
2599 * faces.el (face-spec-set):
2600 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2601 * custom.el (defface): Doc fixes (Bug#16203).
2602
77221051
CY
2603 * indent.el (indent-rigidly-map): Add docstring, and move commands
2604 into named functions.
2605 (indent-rigidly-left, indent-rigidly-right)
2606 (indent-rigidly-left-to-tab-stop)
2607 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2608 indentation direction based on bidi direction, and accumulate
2609 sequential commands in a single undo boundary.
2610 (indent-rigidly--pop-undo): New utility function.
2611
e0eb0550
JB
26122013-12-20 Juanma Barranquero <lekktu@gmail.com>
2613
2614 * faces.el (read-face-name): Require crm.el when using crm-separator.
2615
3282bd2e
DC
26162013-12-20 Daniel Colascione <dancol@dancol.org>
2617
2618 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2619 so that we don't reflow comments into the shebang line.
2620
1d42e5b6
JL
26212013-12-20 Juri Linkov <juri@jurta.org>
2622
2623 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2624 a position when `dired-directory' is non-nil. Check integer
2625 positions with `integerp'.
2626 (toggle-save-place, save-places-to-alist): Add check for
2627 `dired-directory'.
2628 (save-place-find-file-hook): Check integer positions with
2629 `integerp'.
2630 (save-place-dired-hook): Use `dired-goto-file' when
2631 `dired-filename' is found in the assoc list. Check integer
2632 positions with `integerp'.
2633 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2634
2635 * dired.el (dired-initial-position-hook): Rename back from
2636 `dired-initial-point-hook'.
2637 (dired-initial-position): Rename `dired-initial-point-hook' to
2638 `dired-initial-position-hook'.
2639 (dired-file-name-at-point): Doc fix. (Bug#15329)
2640
24da7273
JL
26412013-12-20 Juri Linkov <juri@jurta.org>
2642
2643 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2644 (read-regexp-suggestions): New function.
2645 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2646 Use `read-regexp-suggestions'. Add non-empty default to history
2647 for empty input.
2648 (occur-read-regexp-defaults-function): Remove function.
2649 (occur-read-primary-args): Use `regexp-history-last' instead of
2650 `occur-read-regexp-defaults-function'.
2651
2652 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2653 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2654 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2655 `hi-lock-read-regexp-defaults-function'. Doc fix.
2656 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2657 with `find-tag-default-as-symbol-regexp'. Doc fix.
2658 (hi-lock-read-regexp-defaults): Remove function.
2659 (hi-lock-regexp-okay): Add check for null.
2660
2661 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2662 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2663
2664 * subr.el (find-tag-default-as-symbol-regexp): New function.
2665 (find-tag-default-as-regexp): Move symbol regexp formatting to
2666 `find-tag-default-as-symbol-regexp'.
2667
137f57c8
S
26682013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2669
2670 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2671 (Bug#14179)
2672
f3a66082
SB
26732013-12-20 Stephen Berman <stephen.berman@gmx.net>
2674
2675 * calendar/todo-mode.el: New implementation of item insertion
2676 commands and key bindings.
2677 (todo-key-prompt): New face.
2678 (todo-insert-item): New command.
2679 (todo-insert-item--parameters): New defconst, replacing defvar
2680 todo-insertion-commands-args-genlist.
2681 (todo-insert-item--param-key-alist): New defconst, replacing
2682 defvar todo-insertion-commands-arg-key-list.
2683 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2684 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2685 (todo-insert-item--next-param): New functions.
2686 (todo-insert-item--args, todo-insert-item--argleft)
2687 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2688 New variables.
2689 (todo-key-bindings-t): Change binding of "i" from
2690 todo-insertion-map to todo-insert-item.
2691 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2692 (todo-insertion-command-name, todo-insertion-commands-names)
2693 (todo-define-insertion-command, todo-insertion-commands)
2694 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2695
2f99433b
SB
26962013-12-20 Stephen Berman <stephen.berman@gmx.net>
2697
2698 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2699 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2700 eval-when-compile.
2701 (todo-move-category): Allow choosing a non-existing todo file to
2702 move the category to, and create that file.
2703 (todo-default-priority): New user option.
2704 (todo-set-item-priority): Use it.
2705 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2706 (desktop-restore-file-buffer): Declare.
2707 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2708 (todo-modes-set-2): Locally set desktop-save-buffer to
2709 todo-desktop-save-buffer.
2710 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2711 (auto-mode-alist): Add autoload cookie.
2712
131e4695
BB
27132013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2714
2715 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2716 helpers.el was a poor choice of name.
3cbfb935
BB
2717 (string-remove-prefix): New function.
2718 (string-remove-suffix): New function.
131e4695 2719
c44de18d
MR
27202013-12-20 Martin Rudalics <rudalics@gmx.at>
2721
2722 Fix assignment for new window total sizes.
2723 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2724 (window--pixel-to-total-1, window--pixel-to-total):
2725 Fix calculation of new total sizes.
c44de18d 2726
ca65efcc
VS
27272013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2728
2729 * comint.el (comint-output-filter): Fix rear-nonsticky property
2730 placement (Bug#16010).
2731
a9574eb7
CY
27322013-12-20 Chong Yidong <cyd@gnu.org>
2733
2734 * faces.el (read-color): Minor fix for completion function.
2735
b520f210
DG
27362013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2737
e0eb0550
JB
2738 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2739 New option. (Bug#16182)
b520f210
DG
2740 (ruby-smie--indent-to-stmt-p): Use it.
2741 (ruby-smie-rules): Revert the logic in the handling of `when'.
2742 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2743 (ruby-deep-arglist, ruby-deep-indent-paren)
2744 (ruby-deep-indent-paren-style): Update docstrings to note that the
2745 vars don't have any effect with SMIE.
2746
26b75b45
JB
27472013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2748
2749 * calc/calc.el (calc-enter, calc-pop): Use the variable
2750 `calc-context-sensitive-enter'.
2751
cf91cee7
LMI
27522013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2753
2754 * net/shr.el (shr-insert): Protect against infloops in degenerate
2755 tables.
2756
51d971b4
RS
27572013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2758
2759 * progmodes/octave.el (octave): Add link to manual and octave
2760 homepage.
2761 (octave-mode-menu): Link to octave-mode manual.
2762
8c2e462a
LL
27632013-12-20 Leo Liu <sdl.web@gmail.com>
2764
2765 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2766 insertion using skeleton-end-newline. (Bug#16138)
2767
501158bc
JL
27682013-12-20 Juri Linkov <juri@jurta.org>
2769
2770 * replace.el (occur-engine): Use `add-face-text-property'
2771 to add the face property to matches and titles. (Bug#14645)
2772
2773 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2774 the palette of other hi-lock colors.
2775 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2776
50ab1da6
JL
27772013-12-19 Juri Linkov <juri@jurta.org>
2778
2779 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2780 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2781 (minibuffer-history-symbol): Move variable declaration closer to
2782 its usage.
2783
2784 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2785 (Bug#14785)
2786
3d6e95e7
JL
27872013-12-19 Juri Linkov <juri@jurta.org>
2788
2789 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2790 New function.
2791 (log-edit-hook): Add it to :options. (Bug#16170)
2792
b41594fd
JL
27932013-12-19 Juri Linkov <juri@jurta.org>
2794
2795 * simple.el (eval-expression-print-format): Don't check for
2796 command names and the last command. Always display additional
2797 formats of the integer result in the echo area, and insert them
2798 to the current buffer only with a zero prefix arg.
2799 Display character when char-displayable-p is non-nil.
2800 (eval-expression): With a zero prefix arg, set `print-length' and
2801 `print-level' to nil, and insert the integer values from
2802 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2803
2804 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2805 `eval-last-sexp-arg-internal'. Doc fix.
2806 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2807 `eval-last-sexp-print-value'. Doc fix.
2808 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2809 Set `print-length' and `print-level' to nil when arg is zero.
2810 (eval-last-sexp): Doc fix.
2811 (eval-defun-2): Print the integer values from
2812 `eval-expression-print-format' at the end.
2813
2814 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2815 values from `eval-expression-print-format' at the end.
2816
2817 * ielm.el (ielm-eval-input): Print the integer
2818 values from `eval-expression-print-format' at the end.
2819
8f2be364
TZ
28202013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2821
2822 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2823 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2824
2230a6e3
SM
28252013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2826
2827 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2828 (hl-line-highlight, global-hl-line-highlight): Use it.
2829 (hl-line-overlay): Use defvar-local.
2830
1269a680
JD
28312013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2832
2833 * term/ns-win.el: Require dnd.
2834 (global-map): Remove drag items.
2835 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2836 (ns-set-background-at-mouse):
2837 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2838 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2839 New functions.
1269a680 2840
049638ad
GM
28412013-12-19 Glenn Morris <rgm@gnu.org>
2842
2843 * emacs-lisp/ert.el (ert-select-tests):
2844 Fix string/symbol mixup. (Bug#16121)
2845
ce41edb4
DG
28462013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2847
2848 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2849 keywords to their parent.
2850
7e1549c9
DG
28512013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2852
2853 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2854 first arg to be a string (fixed dead code), or an operator symbol.
2855 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2856 operator symbols.
2857 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2858 did nothing. Don't respond to `(:after ".")', it will be called
2859 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2860 change anything. Only return indentation for binary operators
2861 when they are hanging. De-dent opening paren when its parent is
2862 `.', otherwise it looks bad when the dot is not at bol or eol
2863 (bug#16182).
2864
3ee4cd64
JL
28652013-12-19 Juri Linkov <juri@jurta.org>
2866
2867 * replace.el (query-replace-read-args): Split a non-negative arg
2868 and a negative arg into separate elements.
2869 (query-replace, query-replace-regexp, replace-string)
2870 (replace-regexp): Add arg `backward'. Doc fix.
2871 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2872 move point to the beginning of the match.
2873 (replace-search, replace-highlight): Use new arg `backward'
2874 to set the value of `isearch-forward'.
2875 (perform-replace): Add arg `backward' and use it to perform
2876 replacement backward. (Bug#14979)
2877
2878 * isearch.el (isearch-query-replace): Use a negative prefix arg
2879 to call `perform-replace' with a non-nil arg `backward'.
2880
0cda6b7b
JL
28812013-12-18 Juri Linkov <juri@jurta.org>
2882
2883 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2884 to the default list. Move `log-edit-show-files' to the end.
2885 Add more available functions to options.
2886 (log-edit): Move default specific settings to
2887 `log-edit-insert-message-template'. Don't move point.
2888 (log-edit-insert-message-template): New function.
2889 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2890 (Bug#16170)
2891
b216f0a6
JL
28922013-12-18 Juri Linkov <juri@jurta.org>
2893
2894 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2895 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2896
1d1c55dc
LL
28972013-12-18 Leo Liu <sdl.web@gmail.com>
2898
e9dc713d
JB
2899 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2900 (Bug#16186)
1d1c55dc 2901
64e4c76e
EZ
29022013-12-18 Eli Zaretskii <eliz@gnu.org>
2903
2904 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2905 formats for displaying file sizes when the -s switch is given.
2906 Instead, compute a separate format for displaying the size in
2907 blocks, which is displayed in addition to the "regular" size.
2908 When -h is given in addition to -s, produce size in blocks in
2909 human-readable form as well. (Bug#16179)
2910
b2984e39
TH
29112013-12-18 Tassilo Horn <tsdh@gnu.org>
2912
2230a6e3
SM
2913 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2914 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2915
50ff2e06
CY
29162013-12-18 Chong Yidong <cyd@gnu.org>
2917
0081bc84
CY
2918 * cus-edit.el (custom-magic-alist): Fix "themed" description
2919 (Bug#14348).
2920
a7ee9424
CY
2921 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2922 is non-nil, do not create a new entry in the symbol's theme-value
2923 or theme-face property; update theme-settings only (Bug#14664).
18874304 2924 (custom-available-themes): Doc fix.
a7ee9424 2925
8f942537
CY
2926 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2927 (Bug#15674).
2928
50ff2e06
CY
2929 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2930
83c60f60
KI
29312013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2932
2933 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2934 (Bug#13914).
2935
e0eb0550 29362013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2937
2938 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2939
1f41ee56
GM
29402013-12-18 Glenn Morris <rgm@gnu.org>
2941
2942 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2943 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2944
e82134b1
LW
29452013-12-18 Le Wang <l26wang@gmail.com>
2946
2230a6e3
SM
2947 * comint.el (comint-previous-matching-input-from-input):
2948 Retain point (Bug#13404).
e82134b1 2949
33f5d4c1
CY
29502013-12-18 Chong Yidong <cyd@gnu.org>
2951
2952 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2953
ccc9f6dc
GM
29542013-12-18 Glenn Morris <rgm@gnu.org>
2955
2956 * mail/emacsbug.el (report-emacs-bug):
2957 Only mention enable-multibyte-characters if non-standard.
2958
33dd8e95
JL
29592013-12-17 Juri Linkov <juri@jurta.org>
2960
2961 * arc-mode.el (archive-extract-by-file): Check if directory exists
2962 before deletion to not show irrelevant errors if it doesn't exist.
2963
7a409b30
JL
29642013-12-17 Juri Linkov <juri@jurta.org>
2965
2966 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2967 (Bug#14751)
2968
2969 * net/eww.el (browse-web): Add alias to `eww'.
2970 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2971 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2972
2973 * net/browse-url.el (browse-url-browser-function): Move `eww'
2974 closer to similar functions.
2975
2976 * startup.el (fancy-startup-screen, fancy-about-screen):
2977 Set browse-url-browser-function to eww-browse-url locally.
2978 (Bug#14751)
2979
2d6b6005
SM
29802013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * window.el (window--pixel-to-total): Remove unused `mini' var.
2983 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2984 (split-window): Remove unused `new' var.
2985 (window--display-buffer): Remove unused `frame' and `delta' vars.
2986 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2987 and display-width'.
2988
cf2b7efc
MR
29892013-12-17 Martin Rudalics <rudalics@gmx.at>
2990
2991 * dired.el (dired-mark-pop-up):
2992 * register.el (register-preview): Don't bind
2993 split-height-threshold here since it's now done in
2994 display-buffer-below-selected.
2995
ed3af8a7 29962013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2997
2998 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2999 xterm-rgb-convert-to-16bit.
3000 (rxvt-register-default-colors): Standardize with
3001 xterm-register-default-colors (Bug#14078).
3002
76da3455
DK
30032013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3004
3005 * simple.el (kill-region): Pass mark first, then point, so that
3006 kill-append works right (Bug#12819).
3007 (copy-region-as-kill, kill-ring-save): Likewise.
3008
2b84d763
LL
30092013-12-17 Leo Liu <sdl.web@gmail.com>
3010
3011 * net/rcirc.el (rcirc-add-face):
3012 * eshell/em-prompt.el (eshell-emit-prompt):
3013 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3014 (Bug#16167)
3015
e2f6a0bc
CY
30162013-12-17 Chong Yidong <cyd@gnu.org>
3017
3018 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3019 Suggested by Xue Fuqiao.
3020
35b249a6
DG
30212013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3022
3023 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3024
e9145444
SM
30252013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3026
3027 * net/shr.el (shr-insert-document): Remove unused var
3028 `shr-preliminary-table-render'.
3029 (shr-rescale-image): Remove unused arg `force'.
3030 (shr-put-image): Update calls accordingly.
3031 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3032
5556c0ce
DG
30332013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3034
3035 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3036 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3037 :close-all, to see which indentation method to use (Bug#16116).
3038 (smie-rules-function): Document the method :close-all.
3039
11bade0a
LMI
30402013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3041
1c4b1e61
LMI
3042 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3043
11bade0a
LMI
3044 * net/eww.el (eww-display-html): If we can't find the anchor we're
3045 looking for, then go to point-min.
3046
8fb8c4f3
PE
30472013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3048
3049 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3050 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3051 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3052 Expand dir too, in case it's relative.
3053
6c8e0ae6
JL
30542013-12-16 Juri Linkov <juri@jurta.org>
3055
3056 * desktop.el (desktop-auto-save-timeout): Change default to
3057 `auto-save-timeout'. Doc fix.
3058 (desktop-save): Skip the timestamp in desktop-saved-frameset
3059 when checking for auto-save changes.
3060 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3061 `desktop-auto-save' is called repeatedly by the idle timer.
3062 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3063 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3064 (Bug#15331)
3065
2178e858
JL
30662013-12-16 Juri Linkov <juri@jurta.org>
3067
3068 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3069 (Bug#16035)
3070 (isearch-pre-command-hook): Check `this-command' for symbolp.
3071
39cb42c6
SM
30722013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3075
5b9b750a
TZ
30762013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3077
3078 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3079 (cfengine3--current-function): Bring in the current-function
3080 functionality from `cfengine3--current-word'.
3081 (cfengine3-completion-function): Bring in the
3082 bounds-of-current-word functionality from
3083 `cfengine3--current-word'.
3084
d144ef06
MR
30852013-12-16 Martin Rudalics <rudalics@gmx.at>
3086
39cb42c6
SM
3087 * window.el (display-buffer-below-selected):
3088 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3089
a8bbe298
LL
30902013-12-16 Leo Liu <sdl.web@gmail.com>
3091
3092 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3093 Remove NOMSG arg and all uses changed.
3094
2013a2f9
SM
30952013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3098 (cua--deactivate-rectangle): Don't deactivate the mark.
3099 (cua-set-rectangle-mark): Don't set mark-active since
3100 cua--activate-rectangle already does it for us.
3101 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3102 non-rectangular region.
3103
3104 * emulation/cua-base.el (cua-repeat-replace-region):
3105 Use with-current-buffer.
3106
3107 * net/gnutls.el: Use cl-lib.
3108 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3109
5ae811dd
TZ
31102013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3111
3112 * emacs-lisp/package.el (package-built-in-p): Support both
3113 built-in and the package.el converted package descriptions.
3114 (package-show-package-list): Allow keywords.
3115 (package-keyword-button-action): Use it instead of
3116 `finder-list-matches'.
3117 (package-menu-filter-interactive): Interactive filtering (by
3118 keyword) function.
3119 (package-menu--generate): Support keywords and change keymappings
3120 and headers when they are given.
3121 (package--has-keyword-p): Helper function.
3122 (package-menu--refresh): Use it.
3123 (package--mapc): Helper function.
3124 (package-all-keywords): Use it.
3125 (package-menu-mode-map): Set up menu items and keybindings to
3126 provide a filtering UI.
3127
31b4827e
TZ
31282013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3129
3130 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3131 the behavior when a certificate fails validation. Defaults to
3132 old behavior: never abort, just warn.
3133 (gnutls-negotiate): Use it.
3134
f93cc74f
MR
31352013-12-14 Martin Rudalics <rudalics@gmx.at>
3136
3137 * window.el (display-buffer-below-selected): Never split window
3138 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3139
f77d7d17
TW
31402013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3141
3142 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3143 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3144
7514d3f8
SM
31452013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3146
aa2bddd7 3147 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3148 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3149
276bc333
DG
31502013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3151
3152 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3153 open-paren tokens when preceded by a open-paren, too.
3154 (ruby-smie-rules): Handle virtual indentation after open-paren
3155 tokens specially. If there is code between it and eol, return the
3156 column where is starts (Bug#16118).
3157
d43957f3
TZ
31582013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3159
a5c1ac0c 3160 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3161 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3162 (cfengine3--current-word): Fix parameters.
3163 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3164 (cfengine3-completion-function, cfengine3--current-function):
3165 Use `assq' for symbols.
d43957f3
TZ
3166 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3167
06a4f110
GM
31682013-12-13 Glenn Morris <rgm@gnu.org>
3169
3170 * loadup.el (load-path): Warn if site-load or site-init changes it.
3171 No more need to reset it when bootstrapping.
3172
978a5fda
TZ
31732013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3174
3175 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3176 locations for cf-promises.
3177 (cfengine-mode-syntax-functions-regex): New caching variable.
3178 (cfengine3-fallback-syntax): Fallback syntax for cases where
3179 cf-promises doesn't run.
3180 (cfengine3--current-word): Reimplement using
3181 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3182 (cfengine3-completion-function, cfengine3--current-function):
3183 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3184 (cfengine3-clear-syntax-cache): New function.
3185 (cfengine3-make-syntax-cache): Simplify and create
3186 `cfengine-mode-syntax-functions-regex' on demand.
3187 (cfengine3-format-function-docstring): Don't call
3188 `cfengine3-make-syntax-cache' explicitly.
3189
71e6691e
MR
31902013-12-13 Martin Rudalics <rudalics@gmx.at>
3191
3192 Fix windmove-find-other-window broken after pixelwise resizing
3193 (Bug#16017).
3194 * windmove.el (windmove-other-window-loc): Revert change from
3195 2013-12-04.
3196 (windmove-find-other-window): Call window-in-direction.
3197 * window.el (window-in-direction): New arguments SIGN, WRAP and
3198 MINI to emulate original windmove-find-other-window behavior.
3199
84c73ba0
DG
32002013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3201
3202 * simple.el (blink-matching--overlay): New variable.
3203 (blink-matching-open): Instead of moving point, highlight the
3204 matching paren with an overlay
3205 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3206
3207 * faces.el (paren-showing-faces, show-paren-match)
3208 (show-paren-mismatch): Move from paren.el.
3209
b9e20952
LL
32102013-12-13 Leo Liu <sdl.web@gmail.com>
3211
3212 * indent.el (indent-region): Disable progress reporter in
3213 minibuffer. (Bug#16108)
3214
3215 * bindings.el (visual-order-cursor-movement): Fix version.
3216
ce030451
FEG
32172013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3218
3219 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3220 Also match after beginning of line.
3221 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3222 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3223
4a9c6865
JL
32242013-12-13 Juri Linkov <juri@jurta.org>
3225
3226 * simple.el <Keypad support>: Remove key bindings duplicated
3227 with bindings.el. (Bug#14397)
3228
2bc170c3
JL
32292013-12-13 Juri Linkov <juri@jurta.org>
3230
3231 * comint.el (comint-mode-map): Replace `delete-char' with
3232 `delete-forward-char'. (Bug#16109)
3233
bc9222c9
FEG
32342013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3235
aa2bddd7 3236 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3237 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3238
cb3a1380
SM
32392013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3242 (advice--make): Pay attention to `depth'.
3243 (advice--make-1): Don't autoload commands eagerly.
3244 * emacs-lisp/elp.el (elp-instrument-function):
3245 * emacs-lisp/trace.el (trace-function-internal):
3246 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3247
3248 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3249
01633a17
EZ
32502013-12-12 Eli Zaretskii <eliz@gnu.org>
3251
3252 * term/w32-win.el (w32-handle-dropped-file):
3253 * startup.el (normal-top-level):
3254 * net/browse-url.el (browse-url-file-url):
3255 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3256 decode file names using 'utf-8' rather than
3257 file-name-coding-system.
3258
09faee72
FEG
32592013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3260
3261 * progmodes/python.el (python-indent-context)
3262 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3263 behavior for comment blocks. (Bug#15916)
09faee72 3264
f4f84024 32652013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3266
cb3a1380
SM
3267 * progmodes/python.el (python-indent-calculate-indentation):
3268 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3269 operators when they are just string constituents. (Bug#15812)
3270
d5ccb7be
JL
32712013-12-12 Juri Linkov <juri@jurta.org>
3272
3273 * uniquify.el (uniquify-buffer-name-style): Change default to
3274 `post-forward-angle-brackets'.
3275
3276 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3277 `uniquify'. Change default to `post-forward-angle-brackets'.
3278
7b3f5679
GM
32792013-12-11 Glenn Morris <rgm@gnu.org>
3280
3281 * emacs-lisp/package.el (finder-list-matches):
3282 Autoload rather than falsely declaring.
3283
f4fe8fdd
TZ
32842013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3285
3286 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3287 (eww-mode-map): Use them.
3288
3c29190f
MR
32892013-12-11 Martin Rudalics <rudalics@gmx.at>
3290
3291 * window.el (display-buffer-in-side-window): Fix doc-string
3292 (Bug#16115).
3293
0cd616a2
JB
32942013-12-11 Juanma Barranquero <lekktu@gmail.com>
3295
3296 * vc/vc-git.el: Silence byte-compiler warnings.
3297 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3298 (log-edit-set-header): Declare.
3299
3ef8e0d1
EZ
33002013-12-11 Eli Zaretskii <eliz@gnu.org>
3301
3302 * Makefile.in (custom-deps, finder-data): Run output file names
3303 through unmsys--file-name. (Bug#16099)
3304
afdadaf7
SM
33052013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3306
7ae3ae39 3307 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3308 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3309
5b4f37ab
SM
3310 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3311 instead of deleting the selection "by hand" (bug#16098).
3312 Rely on insert-for-yank to yank rectangles.
3313 (cua-highlight-region-shift-only): Mark obsolete.
3314 (cua-mode): Don't enable/disable transient-mark-mode,
3315 shift-select-mode (cua-mode works both with and without them), and
3316 pc-selection-mode (obsolete).
3317 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3318 (cua--deactivate-rectangle): Deactivate it.
3319
4b72c12b
SM
3320 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3321 (delete-selection-helper): Make sure yank starts at the top of the
3322 deleted region.
3323 (minibuffer-keyboard-quit): Use region-active-p.
3324
e82af72d
SM
3325 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3326
afdadaf7
SM
3327 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3328 to `delete' (bug#16109).
3329
ed4bc201
RS
33302013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3331
3332 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3333 info manual and show keybindings and set `:group' keyword.
3334
bb8097b9
JL
33352013-12-11 Juri Linkov <juri@jurta.org>
3336
3337 * delsel.el (delete-active-region): Let-bind `this-command'
3338 to prevent `kill-region' from changing its original value.
3339 (delete-selection-helper): Handle `overwrite-mode' for the type
3340 `kill' exactly the same way as for the type `t'.
3341 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3342 Support more commands. (Bug#13312)
3343
c1916ff5
JL
33442013-12-11 Juri Linkov <juri@jurta.org>
3345
3346 * bindings.el: Map kp keys to non-kp keys systematically
3347 with basic modifiers control, meta and shift. (Bug#14397)
3348
7514d3f8 33492013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3350
3351 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3352 "Close browser" menu items. Fix wrong function of "List
3353 bookmarks".
3354
4cc51eaf
JL
33552013-12-11 Juri Linkov <juri@jurta.org>
3356
3357 * misearch.el (multi-isearch-buffers): Set the value of
3358 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3359 arg of isearch-forward to t.
3360 (multi-isearch-buffers-regexp): Set the value of
3361 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3362 arg of isearch-forward-regexp to t.
3363 (multi-isearch-files): Set the value of
3364 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3365 arg of isearch-forward to t.
3366 (multi-isearch-files-regexp): Set the value of
c295fc18 3367 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3368 arg of isearch-forward-regexp to t. (Bug#16035)
3369
3370 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3371 arg of isearch-forward to t.
3372 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3373 arg of isearch-forward-regexp to t.
3374 (dired-isearch-filter-filenames): Remove unnecessary check for
3375 `dired-isearch-filenames'.
3376
3377 * comint.el (comint-history-isearch-backward):
3378 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3379 (comint-history-isearch-backward-regexp):
3380 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3381
ceac12b7
EZ
33822013-12-10 Eli Zaretskii <eliz@gnu.org>
3383
3384 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3385 unmsys--file-name. (Bug#16099)
3386
5a565782
TZ
33872013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3388
cb3a1380
SM
3389 * emacs-lisp/package.el (package-keyword-button-action):
3390 Remove finder.el require dependency.
5a565782 3391
a81fc7ba
TZ
33922013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3393
3394 * emacs-lisp/package.el: Require finder.el.
3395 (describe-package-1): Add keyword buttons.
3396 (package-make-button): New convenience function.
3397 (package-keyword-button-action): Keyword button action using
e0eb0550 3398 `finder-list-matches'.
a81fc7ba 3399
6aaca951
EZ
34002013-12-09 Eli Zaretskii <eliz@gnu.org>
3401
3402 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3403 last commit.
3404
a1099a91
MA
34052013-12-09 Michael Albinus <michael.albinus@gmx.de>
3406
3407 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3408 symlinked files.
3409
8212d9c0
DG
34102013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3411
3412 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3413 after the end of a percent literal.
3414
8f48d131
CD
34152013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3416
cb3a1380
SM
3417 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3418 Handle caret-delimited strings (Bug#16079).
8f48d131 3419
ff8c9764
DG
34202013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3421
cb3a1380
SM
3422 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3423 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3424 `ruby-parse-partial' (Bug#16078).
3425
d64643b4
LL
34262013-12-09 Leo Liu <sdl.web@gmail.com>
3427
3428 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3429
47e59c66
DG
34302013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3431
3432 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3433 (js-switch-indent-offset): New option.
3434 (js--proper-indentation): Use it. And handle the case when
3435 "default" is actually a key in an object literal.
3436 (js--same-line): New function.
3437 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3438 (js--indent-in-array-comp, js--array-comp-indentation):
3439 New functions.
47e59c66
DG
3440 (js--proper-indentation): Use them, to handle array comprehension
3441 continuations.
3442
974ebc9c
LL
34432013-12-08 Leo Liu <sdl.web@gmail.com>
3444
3445 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3446 (flymake-make-overlay): Remove arg MOUSE-FACE.
3447 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3448
27262e39
SM
34492013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3452 New function.
3453 (redisplay-highlight-region-function): Use it.
3454
3455 * emulation/cua-base.el (cua--explicit-region-start)
3456 (cua--last-region-shifted): Remove.
3457 (cua--deactivate): Use deactivate-mark.
3458 (cua--pre-command-handler-1): Don't handle shift-selection.
3459 (cua--post-command-handler-1): Don't change transient-mark-mode.
3460 (cua--select-keymaps): Use region-active-p rather than
3461 cua--explicit-region-start or cua--last-region-shifted.
3462 (cua-mode): Enable shift-select-mode.
3463
6407822c
LL
34642013-12-08 Leo Liu <sdl.web@gmail.com>
3465
27262e39
SM
3466 * progmodes/flymake.el (flymake-popup-current-error-menu):
3467 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3468 (flymake-posn-at-point-as-event, flymake-popup-menu)
3469 (flymake-make-emacs-menu): Remove. (Bug#16077)
3470
00a2b823
SM
34712013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3472
02033d49
SM
3473 * rect.el (rectangle-mark-mode): Activate mark even if
3474 transient-mark-mode is off (bug#16066).
3475 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3476 is > mark and at bolp.
3477
6f8dfccf
SM
3478 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3479 (region-extract-function): Use it.
3480 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3481 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3482 Delete functions.
3483 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3484 kill-ring-save, kill-region, delete-char, delete-forward-char.
3485 Ignore self-insert-iso.
3486
3487 * emulation/cua-gmrk.el (cua--init-global-mark):
3488 Ignore `self-insert-iso'.
3489
3490 * emulation/cua-base.el (cua--prefix-copy-handler)
3491 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3492 checking cua--rectangle.
3493 (cua-delete-region): Use region-extract-function.
3494 (cua-replace-region): Delete function.
3495 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3496 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3497 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3498 (cua--init-keymaps): Don't remap delete-selection commands.
3499 (cua-mode): Use delete-selection-mode instead of rolling our own
3500 (bug#16085).
3501
3502 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3503 Obey region-extract-function.
3504
00a2b823
SM
3505 Make registers and delete-selection-mode work on rectangles.
3506 * register.el (describe-register-1): Don't modify the register's value.
3507 (copy-to-register): Obey region-extract-function.
3508 * delsel.el (delete-active-region): Obey region-extract-function.
3509
a92fa5f1
LL
35102013-12-08 Leo Liu <sdl.web@gmail.com>
3511
3512 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3513 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3514 (flymake-compilation-prevents-syntax-check)
3515 (flymake-start-syntax-check-on-newline)
3516 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3517 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3518 (flymake-xml-program, flymake-master-file-dirs)
3519 (flymake-master-file-count-limit)
3520 (flymake-allowed-file-name-masks): Relocate.
3521 (flymake-makehash, flymake-float-time)
3522 (flymake-replace-regexp-in-string, flymake-split-string)
3523 (flymake-get-temp-dir): Remove.
3524 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3525 (flymake-current-row, flymake-selected-frame)
3526 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3527 related functions. (Bug#16077)
3528
73c8ceea
BB
35292013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3530
3531 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3532
faec28d9
TH
35332013-12-07 Tassilo Horn <tsdh@gnu.org>
3534
3535 * help-fns.el (describe-function-1): Use new advice-* functions
3536 rather than old ad-* functions. Fix function type description and
3537 source links for advised functions and subrs.
3538
e330b646
LMI
35392013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3540
00a2b823 3541 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3542
4803595d
MA
35432013-12-06 Michael Albinus <michael.albinus@gmx.de>
3544
3545 * progmodes/compile.el (compilation-start):
3546 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3547
3548 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3549 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3550
fa834a93
DG
35512013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3552
00a2b823
SM
3553 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3554 Touch up the last change.
fa834a93 3555
b2856a6f
LL
35562013-12-06 Leo Liu <sdl.web@gmail.com>
3557
3558 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3559 (inferior-octave-startup): Always use "octave> " for prompt.
3560 (octave-goto-function-definition)
3561 (octave-sync-function-file-names)
3562 (octave-find-definition-default-filename): Remove redundant backquotes.
3563
af67e79a
DG
35642013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3565
3566 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3567 syntax for `?'.
3568 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3569 where appropriate already.
3570 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3571 end of method names (Bug#15874).
3572
bf093209
JL
35732013-12-06 Juri Linkov <juri@jurta.org>
3574
3575 * isearch.el (isearch--saved-overriding-local-map):
3576 New internal variable.
3577 (isearch-mode): Set it to the initial value of
3578 `overriding-terminal-local-map'.
3579 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3580 with `isearch--saved-overriding-local-map'. (Bug#16035)
3581
16588fad
DG
35822013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3583
00a2b823
SM
3584 * progmodes/octave.el (inferior-octave-completion-table):
3585 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3586 (Bug#11906). Update all references.
3587
3588 * minibuffer.el (completion-table-with-cache): New function.
3589
bf4906d7
CD
35902013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3591
3592 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3593
ff69c18f
TZ
35942013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3595
3596 * net/eww.el (eww-current-source): New variable to store page
3597 source.
3598 (eww-display-html, eww-mode, eww-save-history)
3599 (eww-restore-history): Use it.
3600 (eww-view-source): New command to view page source.
3601 Opportunistically uses `html-mode' to highlight the buffer.
3602 (eww-mode-map): Install it.
3603
b85eff45
MA
36042013-12-05 Michael Albinus <michael.albinus@gmx.de>
3605
3606 * net/dbus.el (dbus-unregister-service)
3607 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3608 Fix docstring.
3609 (dbus-unregister-service): Skip :serial entries in
3610 `dbus-registered-objects-table'.
3611 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3612
39eb0899
TZ
36132013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3614
3615 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3616 around keywords with extra `split-string' argument.
3617
456760a5
MR
36182013-12-04 Martin Rudalics <rudalics@gmx.at>
3619
3620 * windmove.el (windmove-other-window-loc): Handle navigation
3621 between windows (excluding the minibuffer window - Bug#16017).
3622
81961e4c
MA
36232013-12-04 Michael Albinus <michael.albinus@gmx.de>
3624
3625 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3626 in D-Bus type syntax.
3627 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3628 preserve unibyte strings. (Bug#16048)
3629
8497f938
SM
36302013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3633 Call force-mode-line-update is the proper buffer (bug#16042).
3634
dda61916
DG
36352013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3636
3637 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3638 `log-edit-remember-comment', make argument optional. Adjust all
3639 callers.
3640 (log-edit-mode): Add `log-edit-remember-comment' to
3641 `kill-buffer-hook' locally.
3642 (log-edit-kill-buffer): Don't remember comment explicitly since
3643 the buffer is killed anyway.
3644
c085e5b9
JL
36452013-12-04 Juri Linkov <juri@jurta.org>
3646
3647 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3648 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3649
e0eb0550 36502013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3651
3652 * notifications.el (notifications-close-notification): Call the
81961e4c 3653 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3654
39fa32d6
KY
36552013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3656
3657 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3658
9139632a
JL
36592013-12-03 Juri Linkov <juri@jurta.org>
3660
3661 * progmodes/compile.el (compilation-start): Rename window alist
3662 entry `no-display-ok' to `allow-no-window'.
3663
3664 * simple.el (shell-command): Add window alist entry
3665 `allow-no-window' to `display-buffer'.
3666 (async-shell-command): Doc fix.
3667
3668 * window.el (display-buffer-no-window): New action function.
3669 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3670
0f457a37
DG
36712013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3672
3673 * vc/log-edit.el (log-edit-set-header): Extract from
3674 `log-edit-toggle-header'.
3675 (log-edit-extract-headers): Separate the summary, when extracted
3676 from header, from the rest of the message with an empty line.
3677
3678 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3679 line, if present, to the Summary header.
3680
0962f376
SM
36812013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3684 in current-buffer (bug#16029).
3685
f345395c
HE
36862013-12-02 Helmut Eller <eller.helmut@gmail.com>
3687
3688 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3689 (debugger-mode-map): Bind it.
3690 (debugger--backtrace-base): New function.
3691 (debugger-eval-expression): Use it.
3692 (debugger-frame-number): Skip local vars when present.
3693 (debugger--locals-visible-p, debugger--insert-locals)
3694 (debugger--show-locals, debugger--hide-locals): New functions.
3695
a8a15d9d
MA
36962013-12-02 Michael Albinus <michael.albinus@gmx.de>
3697
3698 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3699 "LC_ALL".
3700 (tramp-get-remote-locale): New defun.
3701 (tramp-open-connection-setup-interactive-shell): Use it.
3702
0518b057
LL
37032013-12-02 Leo Liu <sdl.web@gmail.com>
3704
3705 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3706
3707 * progmodes/sh-script.el (sh-shell-process):
3708 * progmodes/octave.el (inferior-octave-process-live-p):
3709 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3710 (gdb-inferior-io-sentinel):
3711 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3712
3adc9c6d
DG
37132013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3714
3715 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3716 `save-selected-window' to `log-edit-hide-buf'. This makes
3717 `log-edit-show-files' idempotent.
3718 (log-edit-show-files): Mark the new window as dedicated.
3719
47e8b74e
DG
37202013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3721
3722 * vc/log-edit.el (log-edit-mode-map): Add binding for
3723 `log-edit-kill-biffer'.
3724 (log-edit-hide-buf): Add a FIXME comment.
3725 (log-edit-add-new-comment): New function, extracted from
3726 `log-edit-done'.
3727 (log-edit-done, log-edit-add-to-changelog): Use it.
3728 (log-edit-kill-buffer): New command.
3729
1f6e1bb0
LMI
37302013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3731
3732 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3733 instead of killing the buffer.
3734
fb651d15
SM
37352013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3738
8feacce0
RS
37392013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3740
fb651d15 3741 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3742 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3743 (eww-form-checkbox, eww-toggle-checkbox):
3744 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3745
e0eb0550 3746 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3747 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3748 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3749 no :src tag was specified.
3750
fb651d15 3751 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3752 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3753 Use \\` to match beginning of string instead of ^.
3754 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3755 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3756
177948a5
RS
3757 * net/shr.el (shr-tag-video): Display content for video if no
3758 poster is available.
eb2dd24d 3759 (shr-tag-audio): Add support for <audio> tag.
177948a5 3760
e0eb0550 3761 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3762 (eww-process-text-input): Treat input types in
3763 `eww-text-input-types' as text.
3764
8feacce0
RS
3765 * net/shr.el (shr-tag-table): Fix comment typo.
3766
513562a1
LMI
37672013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3768
3769 * net/eww.el (eww-follow-link): New command to avoid reloading
3770 pages when we follow #target links (bug#15243).
de8a5633 3771 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3772
9dd99753
KN
37732013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3774
3775 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3776 forms.
3777
3e9876de
LMI
37782013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3779
3780 * net/eww.el (eww-restore-history): Update the window title after
3781 moving in the history.
ab6dea82 3782 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3783
52789f7f
DG
37842013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3785
3786 * vc/log-edit.el (log-edit-mode-map): Add binding for
3787 `log-edit-beginning-of-line'.
3788 (log-edit-setup-add-author): New user option.
3789 (log-edit-beginning-of-line): New command.
3790 (log-edit): Move major mode call above the contents setup so that
3791 the local variable values are already applied.
3792 (log-edit): Only insert "Author: " when
3793 `log-edit-setup-add-author' is non-nil.
3794 (log-edit): When SETUP is non-nil, position point after ": "
3795 instead of point-min.
3796
2e6710c3
GM
37972013-12-01 Glenn Morris <rgm@gnu.org>
3798
3799 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3800
fadec31f
EZ
38012013-11-30 Eli Zaretskii <eliz@gnu.org>
3802
3803 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3804 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3805 visible. (Bug#16014)
3806
10634b40 38072013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3808
3809 Support resizing frames and windows pixelwise.
3810 * cus-start.el (frame-resize-pixelwise)
3811 (window-resize-pixelwise): New entries.
3812 * emacs-lisp/debug.el (debug): Use window-total-height instead
3813 of window-total-size.
3814 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
3815 * help.el (describe-bindings-internal): Use help-buffer as
3816 argument for with-help-window.
880e6158
MR
3817 (temp-buffer-max-width): New option.
3818 (resize-temp-buffer-window, help-window-setup)
3819 (with-help-window): Rewrite.
3820 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3821 dragging dividers.
3822 * window.el (frame-char-size, window-min-pixel-height)
3823 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3824 (window-min-pixel-width, window-safe-min-pixel-size)
3825 (window-combination-p, window-safe-min-size)
3826 (window-resizable-p, window--size-to-pixel)
3827 (window--pixel-to-size, window--resize-apply-p): New functions.
3828 (window-safe-min-height): Fix doc-string.
3829 (window-size, window-min-size, window--min-size-1)
3830 (window-sizable, window-sizable-p, window--min-delta-1)
3831 (window-min-delta, window--max-delta-1, window-max-delta)
3832 (window--resizable, window--resizable-p, window-resizable)
3833 (window-full-height-p, window-full-width-p, window-at-side-p)
3834 (window--in-direction-2, window-in-direction)
3835 (window--resize-reset-1, window--resize-mini-window)
3836 (window-resize, window-resize-no-error)
3837 (window--resize-child-windows-normal)
3838 (window--resize-child-windows, window--resize-siblings)
3839 (window--resize-this-window, window--resize-root-window)
3840 (window--resize-root-window-vertically)
3841 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3842 (maximize-window, minimize-window, delete-window)
3843 (quit-restore-window, window-split-min-size, split-window)
3844 (balance-windows-2, balance-windows)
3845 (balance-windows-area-adjust, balance-windows-area)
3846 (window--state-get-1, window-state-get, window--state-put-1)
3847 (window--state-put-2, window-state-put)
fb651d15
SM
3848 (display-buffer-record-window, window--display-buffer):
3849 Make functions handle pixelwise sizing of windows.
880e6158 3850 (display-buffer--action-function-custom-type)
fb651d15
SM
3851 (display-buffer-fallback-action):
3852 Add display-buffer-in-previous-window.
880e6158
MR
3853 (display-buffer-use-some-window): Resize window to height it had
3854 before.
3855 (fit-window-to-buffer-horizontally): New option.
3856 (fit-frame-to-buffer): Describe new values.
3857 (fit-frame-to-buffer-bottom-margin): Replace with
3858 fit-frame-to-buffer-margins.
3859 (window--sanitize-margin): New function.
3860 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3861 using window-text-pixel-size.
3862
f9b697dd
GM
38632013-11-30 Glenn Morris <rgm@gnu.org>
3864
3e2fb4db
GM
3865 * emacs-lisp/bytecomp.el (byte-compile-form):
3866 Make the `interactive-only' warning like the `obsolete' one.
3867 * comint.el (comint-run):
3868 * files.el (insert-file-literally, insert-file):
3869 * replace.el (replace-string, replace-regexp):
3870 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3871 (goto-line, insert-buffer, next-line, previous-line):
3872 Tweak `interactive-only' spec.
3873
f9b697dd
GM
3874 Stop keeping (most) generated cedet grammar files in the repository.
3875 * Makefile.in (semantic): New.
3876 (compile-main): Depend on semantic.
3877
da048127
SM
38782013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3879
7784b779
SM
3880 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3881 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3882
4e36a6a6
SM
3883 * uniquify.el (uniquify-buffer-name-style): Change default.
3884
3885 * loadup.el: Preload "uniquify".
3886
e0ba1308
SM
3887 * time.el (display-time-update): Update all mode lines (bug#15999).
3888
da048127
SM
3889 * electric.el (electric-indent-mode): Enable by default.
3890 * loadup.el: Preload "electric".
3891
015b3b3e
BB
38922013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3893
3894 * emacs-lisp/helpers.el (string-empty-p): New function.
3895 (string-blank-p): New function.
3896
7efb806d
AP
38972013-11-29 Andreas Politz <politza@hochschule-trier.de>
3898
3899 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3900 (Bug#14029).
3901
c8f0efc2
AP
39022013-11-29 Andreas Politz <politza@fh-trier.de>
3903 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3904 allow non-lambda lists as functions.
3905 (imenu--in-alist): Don't recurse into non-subalists.
3906 (imenu): Don't pass function itself as an argument (Bug#14029).
3907
bd15d9d1
SM
39082013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * progmodes/python.el (python-mode-map): Remove binding for ":".
3911 (python-indent-electric-colon): Remove command.
3912 (python-indent-post-self-insert-function): Integrate the previous code
3913 of python-indent-electric-colon. Make it conditional on
3914 electric-indent-mode.
3915 (python-mode): Add ?: to electric-indent-chars.
3916 Move python-indent-post-self-insert-function to the end of
3917 post-self-insert-hook.
3918
1b10adb6
SM
39192013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3920
655ab9a3
SM
3921 * doc-view.el (doc-view-goto-page): Update mode-line.
3922
1b10adb6
SM
3923 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3924
7e3bf78c
GM
39252013-11-27 Glenn Morris <rgm@gnu.org>
3926
3927 * international/charprop.el, international/uni-bidi.el:
3928 * international/uni-category.el, international/uni-combining.el:
3929 * international/uni-comment.el, international/uni-decimal.el:
3930 * international/uni-decomposition.el, international/uni-digit.el:
3931 * international/uni-lowercase.el, international/uni-mirrored.el:
3932 * international/uni-name.el, international/uni-numeric.el:
3933 * international/uni-old-name.el, international/uni-titlecase.el:
3934 * international/uni-uppercase.el:
3935 Remove generated files from VCS repository.
3936
fb6a5d68
EZ
39372013-11-27 Eli Zaretskii <eliz@gnu.org>
3938
3939 * filenotify.el (file-notify-add-watch): Don't special-case
3940 w32notify when computing the directory to watch.
3941
cb6c95a3
GM
39422013-11-27 Glenn Morris <rgm@gnu.org>
3943
20372d0c
GM
3944 Make bootstrap without generated uni-*.el files possible again.
3945 * loadup.el: Update command-line-args checking for unidata-gen.
3946 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3947 * composite.el, international/characters.el:
3948 Handle unicode tables being undefined.
3949
52d6635f 3950 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3951 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3952 (compile-main): Depend on leim rule.
3953 (leim): New rule.
3954 * loadup.el: Move leim-list.el to leim/ subdirectory.
3955 * startup.el (normal-top-level): No more leim directory.
3956 * international/ja-dic-cnv.el (skkdic-convert):
3957 Disable version-control and autoloads in output files.
3958 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3959 Disable version-control and autoloads in output files.
3960 * leim/quail: Move here from ../leim.
3961 * leim/quail/hangul.el (hangul-input-method-activate):
3962 Add autoload cookie.
3963 (generated-autoload-load-name): Set file-local value.
3964 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3965 (generated-autoload-load-name): Set file-local value.
3966
7514d3f8 39672013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3968
e0eb0550 3969 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3970 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3971 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3972
0e2c793f
EZ
39732013-11-26 Eli Zaretskii <eliz@gnu.org>
3974
3975 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3976 reading output from Diff on MS-Windows and MS-DOS.
3977
447bdcb8
BB
39782013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3979
3980 * emacs-lisp/helpers.el (string-reverse): New function.
3981
5fbf6856
MA
39822013-11-26 Michael Albinus <michael.albinus@gmx.de>
3983
3984 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3985 names on MS Windows, like "/[::1]:".
3986
3987 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3988 SWITCHES.
3989
624780f0
GM
39902013-11-26 Glenn Morris <rgm@gnu.org>
3991
0bf3f0fa
GM
3992 * progmodes/python.el (python-indent-guess-indent-offset):
3993 Avoid corner-case error. (Bug#15975)
3994
624780f0
GM
3995 Preload leim-list.el. (Bug#4789)
3996 * loadup.el: Load leim-list.el when found.
3997 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3998
4301875e 39992013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4000
4001 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4002
4301875e
BB
4003 * emacs-lisp/helpers.el (string-join): New function.
4004
1633a815 40052013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4006
4007 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4008 Mark as obsolete and replace it with a symbol property.
4009 (byte-compile-form): Use new 'interactive-only property.
4010 * comint.el, files.el, replace.el, simple.el:
4011 Apply new 'interactive-only properly.
4012
00139435
MR
40132013-11-25 Martin Rudalics <rudalics@gmx.at>
4014
4015 * window.el (display-buffer-at-bottom): Make sure that
4016 split-window-sensibly creates the new window on bottom
4017 (Bug#15961).
4018
5f5b128d
DK
40192013-11-23 David Kastrup <dak@gnu.org>
4020
4021 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4022 on the conflict markers when available.
4023 (smerge--get-marker): New function.
4024 (smerge-end-re, smerge-base-re): Add subgroup.
4025
623891e5
SM
40262013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * frame.el (handle-focus-in, handle-focus-out): Add missing
4029 interactive spec.
4030
05ca27d8
MA
40312013-11-25 Michael Albinus <michael.albinus@gmx.de>
4032
4033 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4034 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4035
511fa0d3
SM
40362013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4037
e82ad66c
SM
4038 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4039 (gomoku--last-pos): New var.
4040 (gomoku--intangible-chars): New const.
4041 (gomoku--intangible): New function.
4042 (gomoku-mode): Use it. Derive from special-mode.
4043 (gomoku-move-up): Adjust line count.
4044 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4045 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4046 Simplify accordingly.
4047
511fa0d3
SM
4048 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4049 Remove blink-cursor code.
4050 (blink-cursor-timer-function, blink-cursor-suspend):
4051 Don't special-case GUIs.
4052 (blink-cursor-mode): Use focus-in/out-hook.
4053
6f20dd03
DG
40542013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4055
4056 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4057 work when annotation is invisible (Bug#13886).
4058
431dec31 40592013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4060
4061 * json.el (json-alist-p): Only return non-nil if the alist has
4062 simple keys (Bug#13518).
4063
431dec31 40642013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4065
4066 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4067 when control-statement is the first statement in a buffer (Bug#15956).
4068
ee4f0261
DG
40692013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4070
4071 * imenu.el (imenu-generic-skip-comments-and-strings):
4072 New option (Bug#15560).
4073 (imenu--generic-function): Use it.
4074
c484f866
JS
40752013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4076
e9dc713d
JB
4077 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4078 (Bug#13898)
c484f866 4079
41ce6f70
BB
40802013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4081
b55aea38
BB
4082 * emacs-lisp/helpers.el: Add some string helpers.
4083 (string-trim-left): Removes leading whitespace.
4084 (string-trim-right): Removes trailing whitespace.
4085 (string-trim): Removes leading and trailing whitespace.
4086
41ce6f70
BB
4087 * subr.el (string-suffix-p): New function.
4088
3cfb6af3
GM
40892013-11-23 Glenn Morris <rgm@gnu.org>
4090
4091 * progmodes/python.el (python-shell-send-file):
4092 Add option to delete file when done. (Bug#15647)
4093 (python-shell-send-string, python-shell-send-region): Use it.
4094
c27924b7
IS
40952013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4096
e1b01c7f
IS
4097 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4098 to set buffer-read-only to t, never to nil. (Bug#15938)
4099
c27924b7
IS
4100 * textmodes/tex-mode.el (latex-noindent-environments):
4101 Add safe-local-variable property. (Bug#15936)
4102
17e0445b
GM
41032013-11-23 Glenn Morris <rgm@gnu.org>
4104
92f78ea3
GM
4105 * textmodes/enriched.el (enriched-mode): Doc fix.
4106 * emacs-lisp/authors.el (authors-renamed-files-alist):
4107 Add enriched.doc -> enriched.txt.
4108
17e0445b
GM
4109 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4110
965bb23a
LL
41112013-11-22 Leo Liu <sdl.web@gmail.com>
4112
4113 * progmodes/octave.el (inferior-octave-startup): Spit out error
4114 message.
4115
d19ffd64
BB
41162013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4117
4118 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4119 Improve docstring.
15ba2182
BB
4120 Add :version.
4121 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4122
7a7567d2
LL
41232013-11-22 Leo Liu <sdl.web@gmail.com>
4124
4125 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4126 (Bug#15076)
8c09f64b
LL
4127 (octave-help-mode): Adapt to change to help-mode-finish to use
4128 derived-mode-p on 2013-09-17.
4129 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4130 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4131
724bc265
LL
41322013-11-22 Leo Liu <sdl.web@gmail.com>
4133
4134 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4135 (inferior-octave-startup, inferior-octave-check-process)
4136 (inferior-octave-track-window-width-change)
4137 (octave-completion-at-point, octave-eldoc-function): Use it.
4138 (octave-kill-process): Provide confirmation. (Bug#10564)
4139
38637cca
LL
41402013-11-21 Leo Liu <sdl.web@gmail.com>
4141
511fa0d3
SM
4142 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4143 Fix obsolete variable comment-use-global-state.
38637cca 4144
06e752b4
RS
41452013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4146
511fa0d3
SM
4147 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4148 Add `octave-source-file'.
06e752b4
RS
4149 (octave-source-file): New function. (Bug#15935)
4150
7514d3f8 41512013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4152
4153 * net/eww.el (eww-local-regex): New variable.
4154 (eww): Use it to detect localhost and similar.
4155
b6ffa04a
LL
41562013-11-21 Leo Liu <sdl.web@gmail.com>
4157
4158 Add completion for command `ag'.
2021a200
LL
4159 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4160 (pcomplete/ag): New function.
e9dc713d 4161 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4162
d1a6bccc
SM
41632013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4164
4165 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4166 (bug#14646).
4167 (make-obsolete): Remove interactive spec.
4168
2df10228
GM
41692013-11-21 Glenn Morris <rgm@gnu.org>
4170
4171 * startup.el (command-line-1): Use path-separator with -L.
4172
86fd16b6
TZ
41732013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4174
4175 * emacs-lisp/package.el (describe-package-1): Add package archive
4176 to shown fields.
4177
0449d6cd 41782013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4179
4180 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4181 Change default to "# encoding: %s" to differentiate it from the
4182 default Ruby encoding comment template.
4183
dc7e8c17 41842013-11-20 era eriksson <era+emacsbugs@iki.fi>
4185
4186 * ses.el (ses-mode): Doc fix. (Bug#14748)
4187
f0cfa5fe
LL
41882013-11-20 Leo Liu <sdl.web@gmail.com>
4189
4190 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4191
826dc7b6
DN
41922013-11-19 Dan Nicolaescu <dann@gnu.org>
4193
4194 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4195 when rebase or bisect are in progress.
4196
a6e3a5d5
XF
41972013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4198
4199 * filenotify.el (file-notify-add-watch): Doc fix.
4200
f130cb76
LL
42012013-11-19 Leo Liu <sdl.web@gmail.com>
4202
e0855d7d
LL
4203 * obsolete/rcompile.el: Mark obsolete.
4204
f130cb76 4205 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4206 (compilation-goto-locus, compilation-find-file):
4207 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4208 (Bug#13594)
4209
4210 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4211 new parameter no-display-ok. Return either a window or nil
4212 but never a non-window value.
f130cb76 4213
1f35d401
SM
42142013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4215
25158c76
SM
4216 * electric.el (electric-indent-mode-map): Remove.
4217 (electric-indent-mode): Change the global-map instead (bug#15915).
4218
4219 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4220 Use add-function.
1f35d401 4221
9bc67baa
SM
42222013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4223
986545b5
SM
4224 * emacs-lisp/nadvice.el (remove-function): Align with
4225 add-function's behavior.
4226
9bc67baa
SM
4227 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4228 (gdb--string-regexp): New constant.
4229 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4230 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4231 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4232 submatch 1.
4233 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4234 Adjust use accordingly.
4235 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4236
56cd894e
AS
42372013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4238
4239 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4240 interpolation curlies (Bug#15914).
4241
014690de
JB
42422013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4243
4244 * calc/calc.el (calc-context-sensitive-enter): New variable.
4245 (calc-enter): Use `calc-context-sensitive-enter'.
4246
7e26a6c3
TZ
42472013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4248
4249 * progmodes/cfengine.el: Version bump.
4250 (cfengine-cf-promises): New defcustom to locate cf-promises.
4251 (cfengine3-vartypes): Add new "data" type.
4252 (cfengine3--current-word): New function to get current name-like
4253 word or its bounds.
4254 (cfengine3--current-function): New function to look up a CFEngine
4255 function's definition.
4256 (cfengine3-format-function-docstring): New function.
4257 (cfengine3-make-syntax-cache): New function.
4258 (cfengine3-documentation-function): New function: ElDoc glue.
4259 (cfengine3-completion-function): New function: completion glue.
4260 (cfengine3-mode): Set `compile-command',
4261 `eldoc-documentation-function', and add to
4262 `completion-at-point-functions'.
4263
355204dd
MA
42642013-11-16 Michael Albinus <michael.albinus@gmx.de>
4265
4266 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4267 `tramp-current-connection'.
4268
43cebc23
DG
42692013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4270
4271 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4272 nil/self/true/false with "end of symbol".
4273
a3fed6ff
BB
42742013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4275
4276 * subr.el (version-regexp-alist): Fix a typo.
4277
e675b3e4
MA
42782013-11-15 Michael Albinus <michael.albinus@gmx.de>
4279
4280 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4281 "en_US.utf8" and "LC_CTYPE" to "".
4282 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4283 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4284
a1f03e89
LL
42852013-11-15 Leo Liu <sdl.web@gmail.com>
4286
4287 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4288
5d9d9451
SM
42892013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4290
58362662
CS
4291 * progmodes/gud.el (ctl-x-map):
4292 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4293 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4294
6c1bf086
BB
42952013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4296
0d5363c4
BB
4297 * subr.el (version-regexp-alist):
4298 Recognize hg, svn and darcs versions as snapshot versions.
4299
4e9fc48c
BB
4300 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4301 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4302 (ruby--encoding-comment-required-p): Extract from
4303 `ruby-mode-set-encoding'.
4304 (ruby-mode-set-encoding): Add the ability to always insert an
4305 utf-8 encoding comment. Fix and simplify coding comment update
4306 logic.
6c1bf086 4307
2f7e72f8
MA
43082013-11-14 Michael Albinus <michael.albinus@gmx.de>
4309
4310 * net/tramp-gvfs.el (top): Run init code only when
4311 `tramp-gvfs-enabled' is not nil.
4312 (tramp-gvfs-enabled): Check also :system bus.
4313
0f137a73
SM
43142013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 Sync with upstream verilog-mode revision 78e66ba.
4317 * progmodes/verilog-mode.el (verilog-end-of-defun)
4318 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4319 (verilog-get-end-of-defun): Remove unused argument.
4320 (verilog-comment-depth): Remove unused local `e'.
4321 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4322 Don't pass arg to verilog-get-end-of-defun.
4323
1c276bdd
GM
43242013-11-14 Glenn Morris <rgm@gnu.org>
4325
4326 * obsolete/assoc.el (aget): Prefix dynamic variable.
4327
4328 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4329
ff6ec81d
SM
43302013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * widget.el, hfy-cmap.el: Remove bogus package version number.
4333
75f777b6
GM
43342013-11-13 Glenn Morris <rgm@gnu.org>
4335
1d43dba1
GM
4336 * replace.el (replace-eval-replacement):
4337 Try to give more helpful error message. (Bug#15836)
4338
ff4b7bd5
GM
4339 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4340 (archive-7z-update): Avoid custom type mismatches.
4341
75f777b6
GM
4342 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4343
11151a06
MA
43442013-11-13 Michael Albinus <michael.albinus@gmx.de>
4345
e675b3e4 4346 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4347 address can be empty.
4348
4349 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4350 Accept nil SWITCHES.
4351 (tramp-gvfs-handle-write-region): Implement APPEND.
4352
7b08f97e
DG
43532013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4354
4355 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4356 binary "|" operator and closing block args delimiter.
4357 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4358 (ruby-smie--implicit-semi-p): Not after "|" operator.
4359 (ruby-smie--closing-pipe-p): New function.
4360 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4361 (ruby-smie-rules): Indent after "|".
4362
f201cf3a
GM
43632013-11-12 Glenn Morris <rgm@gnu.org>
4364
4365 * ps-print.el (ps-face-attribute-list):
4366 Handle anonymous faces. (Bug#15827)
4367
e6f759f9
MR
43682013-11-12 Martin Rudalics <rudalics@gmx.at>
4369
4370 * window.el (display-buffer-other-frame): Fix doc-string.
4371 (Bug#15868)
4372
ecda65d4
SM
43732013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4376
7ce8fcc3
MA
43772013-11-11 Michael Albinus <michael.albinus@gmx.de>
4378
4379 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4380 (tramp-sh-handle-file-local-copy): Don't write a message when
4381 saving temporary files.
4382
4383 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4384 both directories are remote.
4385 (tramp-smb-handle-directory-files): Do not return double entries.
4386 Do not expand full file names.
4387 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4388 (tramp-smb-handle-write-region): Implement APPEND.
4389 (tramp-smb-get-stat-capability): Fix a stupid bug.
4390
7818df11
SM
43912013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4394
608c2085
NT
43952013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4396
4397 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4398 throwing error over malformed let/let* (bug#15814).
4399
122a7e46
SM
44002013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * iswitchb.el (iswitchb-mode): Mark obsolete.
4403
766284d9
GM
44042013-11-11 Glenn Morris <rgm@gnu.org>
4405
4406 * international/uni-bidi.el, international/uni-category.el:
4407 * international/uni-name.el, international/uni-numeric.el:
4408 Regenerate for Unicode 6.3.0.
4409
7072a4e9
MA
44102013-11-10 Michael Albinus <michael.albinus@gmx.de>
4411
4412 * net/tramp.el (tramp-methods):
4413 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4414 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4415
c9df215b
AS
44162013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4417
608c2085
NT
4418 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4419 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4420
fa47d796
DG
44212013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4422
4423 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4424 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4425 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4426 (ispell-complete-word): Call `ispell-lookup-words' with the value
4427 independent of `ispell-look-p'.
4428
1629a329
DG
44292013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4430
4431 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4432 Not after "||".
4433 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4434 their parent.
4435
ad16897c
SM
44362013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4439 (ruby-font-lock-keywords): Use backquote.
4440
ffa2df72
DG
44412013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4442
4443 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4444 (ruby-smie--backward-token): Only consider full-string matches.
4445
5b97b4c0
JD
44462013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4447
4448 * faces.el (describe-face): Add distant-foreground.
4449
71731c03
BB
44502013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4451
4e9fc48c
BB
4452 * progmodes/ruby-mode.el: Improve encoding comment handling.
4453 (ruby-encoding-magic-comment-style): New option.
4454 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4455 (ruby--insert-coding-comment, ruby--detect-encoding):
4456 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4457 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4458 to control the style of the auto-inserted encoding comment.
71731c03 4459
da3b328d
DG
44602013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4461
ad16897c
SM
4462 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4463 Use `smie-backward-sexp' with token argument.
da3b328d 4464
1606c2d3
MA
44652013-11-08 Michael Albinus <michael.albinus@gmx.de>
4466
4467 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4468 Remove instrumentation code.
4469
b0f4c320
GM
44702013-11-08 Glenn Morris <rgm@gnu.org>
4471
4472 * progmodes/autoconf.el (autoconf-mode):
4473 Tweak comment-start-skip. (Bug#15822)
4474
43668fb1
SM
44752013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4476
4477 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4478 at bobp (bug#15826).
4479 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4480
daddb3fd
DH
44812013-11-08 Darren Hoo <darren.hoo@gmail.com>
4482
4483 * man.el (Man-start-calling): New macro, extracted from
4484 Man-getpage-in-background.
4485 (Man-getpage-in-background): Use it.
4486 (Man-update-manpage): New command.
4487 (Man-mode-map): Bind it.
4488
1f923923
DG
44892013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4490
4491 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4492 of "and", "or", "&&" and "||".
4493 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4494 argument. Prohibit opening curly brace because it could only be a
4495 block opener in that position.
daddb3fd
DH
4496 (ruby-smie--forward-token, ruby-smie--backward-token):
4497 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4498 arguments.
4499 (ruby-smie--indent-to-stmt): New function, seeks the end of
4500 previous statement or beginning of buffer.
4501 (ruby-smie-rules): Use it.
4502 (ruby-smie-rules): Check if there's a ":" before a curly block
4503 opener candidate; if there is, it's a hash.
4504
3220d527
SM
45052013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4508 (cl--block-wrapper): Fix last accidental change.
4509
1eb1f9e0
MA
45102013-11-07 Michael Albinus <michael.albinus@gmx.de>
4511
4512 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4513 Instrument, in order to hunt failure on hydra.
4514
e6e4db3c
NT
45152013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4516
4517 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4518 malformed bindings form (bug#15814).
4519
b420ccfc
DG
45202013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4521
4522 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4523 "." compared to " @ ". This incidentally fixes some indentation
4524 examples with "do".
e6e4db3c 4525 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4526 (ruby-smie-grammar): New tokens: "and" and "or".
4527 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4528 Exclude "and" and "or". Remove "do" in order to work around token
4529 priorities.
4530 (ruby-smie-rules): Add all infix tokens. Handle the case of
4531 beginning-of-buffer.
b420ccfc 4532
6b4ac03e
GM
45332013-11-06 Glenn Morris <rgm@gnu.org>
4534
4535 * Makefile.in (setwins_almost, setwins_for_subdirs):
4536 Avoid accidental matches.
4537
5ca114d1
SM
45382013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4539
4540 * menu-bar.el (popup-menu): Use key-binding.
4541
f72552bd
EZ
45422013-11-06 Eli Zaretskii <eliz@gnu.org>
4543
4544 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4545 menus, support also the menus produced by minor modes.
4546 (Bug#15817)
4547
5d5c701e
LL
45482013-11-06 Leo Liu <sdl.web@gmail.com>
4549
4550 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4551 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4552
0a8b75e2
GM
45532013-11-06 Glenn Morris <rgm@gnu.org>
4554
4555 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4556 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4557 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4558
a35287ea
SM
45592013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4560
feca4e2d
SM
4561 * electric.el (electric-indent-just-newline): New command.
4562 (electric-indent-mode-map): New keymap.
4563 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4564 Re-add :group which weren't redundant.
4565
a35287ea
SM
4566 * electric.el (electric-indent-local-mode): New minor mode.
4567 (electric-indent-functions-without-reindent): New var.
4568 (electric-indent-post-self-insert-function): Use it.
4569 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4570
375761b2
EZ
45712013-11-05 Eli Zaretskii <eliz@gnu.org>
4572
9a6ad735
EZ
4573 * international/quail.el (quail-help): Be more explicit about the
4574 meaning of the labels shown on the keys. (Bug#15800)
4575
375761b2
EZ
4576 * startup.el (normal-top-level): Load the subdirs.el files before
4577 setting the locale environment. (Bug#15805)
4578
520a6e4a
SM
45792013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4580
0acfafef
SM
4581 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4582 via arguments so as to get the right ones (bug#15418).
4583
520a6e4a
SM
4584 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4585
15826261
MA
45862013-11-05 Michael Albinus <michael.albinus@gmx.de>
4587
4588 Fix problems found while writing a test suite.
4589
4590 * net/tramp-compat.el (tramp-compat-load): New defun.
4591 * net/tramp.el (tramp-handle-load): Use it.
4592
4593 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4594 "(numberp ok-if-already-exists)" correctly.
4595
d35f31a4
XF
45962013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4597
4598 * international/characters.el (glyphless-char-display-control):
4599 Add usage note.
4600
ae93bc74
BB
46012013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4602
520a6e4a
SM
4603 * progmodes/python.el (python-mode):
4604 * progmodes/scheme.el (scheme-mode):
4605 * progmodes/prolog.el (prolog-mode):
4606 * progmodes/ruby-mode.el (ruby-mode):
4607 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4608 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4609
0ade65b5
SM
46102013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4611
a0d5f7a4
SM
4612 * rect.el (rectangle--highlight-for-redisplay):
4613 * emacs-lisp/smie.el (smie--next-indent-change):
4614 Use buffer-chars-modified-tick.
4615
c93f3f5c
SM
4616 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4617
0ade65b5
SM
4618 * electric.el (electric-indent-post-self-insert-function):
4619 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4620
ef9dd188
HE
46212013-11-04 Helmut Eller <eller.helmut@gmail.com>
4622
4623 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4624
306e7308
NT
46252013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4626
4627 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4628 (bug#15786).
4629
e5afbcac
SM
46302013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4631
1d01ad41
SM
4632 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4633
e5afbcac
SM
4634 * progmodes/python.el: Fix up last change.
4635 (python-shell--save-temp-file): New function.
4636 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4637 `string' comes from the current buffer.
4638 (python-shell-send-string-no-output): Remove `msg' arg.
4639 (python--use-fake-loc): New var.
4640 (python-shell-buffer-substring): Obey it. Try to compensate for the
4641 extra coding line added by python-shell--save-temp-file.
4642 (python-shell-send-region): Use python-shell--save-temp-file and
4643 python-shell-send-file directly. Add `nomain' argument.
4644 (python-shell-send-buffer): Use python-shell-send-region.
4645 (python-electric-pair-string-delimiter): New function.
4646 (python-mode): Use it.
4647
d0065ff1
EZ
46482013-11-04 Eli Zaretskii <eliz@gnu.org>
4649
4650 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4651 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4652 environment and decoding all of the default-directory's to here
4653 from command-line.
4654 (command-line): Decode also argv[0].
4655
4656 * loadup.el: Error out if default-directory is a multibyte string
4657 when we are dumping.
4658
4659 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4660
7397c587
TZ
46612013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4662
4663 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4664 (package-menu--print-info, package-menu--archive-predicate):
4665 Add Archive column to package list.
7397c587 4666
b27cc9fc
MA
46672013-11-04 Michael Albinus <michael.albinus@gmx.de>
4668
4669 Fix problems found while writing a test suite.
4670
4671 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4672 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4673 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4674 to nil when running original file name handler. Otherwise,
4675 there are problems with constructs like "$$FOO".
4676
4677 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4678 for `localname'.
4679
d8c4f18a
BB
46802013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4681
7b530552
BB
4682 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4683
4684 * subr.el (version<, version<=, version=):
4685 Update docstrings with information for snapshot versions.
4686
d8c4f18a
BB
4687 * helpers.el: New library for misc helper functions.
4688 (hash-table-keys): New function returning a list of hash keys.
4689 (hash-table-values): New function returning a list of hash values.
4690
dca01b09
DG
46912013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4692
4693 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4694 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4695
0a749fa0
MN
46962013-11-04 Michal Nazarewicz <mina86@mina86.com>
4697
4698 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4699 checking whether point is after a 1-letter word.
4700
47012013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4702
4703 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4704 Don't infloop when expanding region over `multiline' syntax-type that
4705 begins a line (bug#15778).
4706
4aca7145
SM
47072013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4710 Make it into a proper minor mode.
4711 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4712 (rectangle-mark-mode-map): New keymap.
4713 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4714
a0833f62
GM
47152013-11-04 Glenn Morris <rgm@gnu.org>
4716
4717 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4718
e61845c1
SM
47192013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4722 (ruby-smie-rules): Use smie-rule-parent instead.
4723
4724 * emacs-lisp/smie.el (smie-rule-parent): Always call
4725 smie-indent-virtual rather than only for hanging tokens.
4726 (smie--next-indent-change): New helper command.
4727
62942f89
GM
47282013-11-03 Glenn Morris <rgm@gnu.org>
4729
4730 * Makefile.in (abs_srcdir): Remove.
4731 (emacs): Unset EMACSLOADPATH.
4732
b0b9e592
GM
47332013-11-02 Glenn Morris <rgm@gnu.org>
4734
18ba6a33 4735 * Makefile.in (EMACS): Use a relative filename.
8061810d 4736 (abs_top_builddir): Remove.
18ba6a33
GM
4737 (custom-deps, finder-data, autoloads): Use --chdir.
4738
6a8b929e
GM
4739 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4740
c617f3d0
GM
4741 Use relative filenames in TAGS files.
4742 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4743 (lisptagsfiles4, TAGS): Use relative file names.
4744 (TAGS-LISP): Remove.
4745 (maintainer-clean): No more TAGS-LISP file.
4746
b0b9e592
GM
4747 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4748 (lisptagsfiles4): Use absolute filenames again.
4749 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4750 Remove all *loaddefs files, not just the first. Remove esh-groups.
4751 (maintainer-clean): Delete TAGS, TAGS-LISP.
4752
d1c0ea6a
BB
47532013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4754
e61845c1
SM
4755 * emacs-lisp/package.el (package-version-join):
4756 Recognize snapshot versions.
d1c0ea6a 4757
684d71c6
BB
47582013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4759
4760 * subr.el (version-regexp-alist): Add support for snapshot versions.
4761
3d42b968
DG
47622013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4763
e61845c1
SM
4764 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4765 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4766 skip over our direct parent if it's an assignment token..
4767 (ruby-smie-rules): Use it.
4768
7ffd3721
DG
47692013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4770
8449dd1f 4771 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4772 unconditionally. Remove now unnecessary forward declarations.
4773 Remove XEmacs-specific setup.
4774 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4775 (ruby-font-lock-syntactic-keywords)
4776 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4777 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4778 (ruby-here-doc-end-syntax): Remove.
4779 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4780 defined as function.
4781
a3996a2e
BB
47822013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4783
4784 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4785
6f9260e8
BB
47862013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4787
4788 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4789 table and abbrev table, `define-derived-mode' does that for us
4790 anyway.
4791
6014de84
GM
47922013-11-01 Glenn Morris <rgm@gnu.org>
4793
4794 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4795 files is atomic for some time, so no parallel compilation issues).
4796
3c334c14
JD
47972013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4798
4799 * faces.el (face-x-resources): Add :distant-foreground.
4800 (region): Use :distant-foreground for gtk and ns.
4801
9bc236c8
TH
48022013-11-01 Tassilo Horn <tsdh@gnu.org>
4803
5246583b 4804 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4805 BibTeX.
4806 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4807 (reftex-locate-bibliography-files): Us it.
4808
d14c81ee
CB
48092013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4810
0e7690de
CB
4811 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4812 allow comments in pbm files.
4813
d14c81ee
CB
4814 * term/w32-win.el (dynamic-library-alist): Support newer versions
4815 of libjpeg starting with v7: look only for the DLL from the
4816 version against which Emacs was built.
ac1bf374 4817 Support versions of libpng beyond 1.4.x.
019c8218 4818 Support libtiff v4.x.
d14c81ee 4819
983d0df5
BB
48202013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4821
4822 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4823 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4824 Add property :safe.
4825 (ruby-deep-arglist): Add property :type.
4826
47f58d85
GM
48272013-10-31 Glenn Morris <rgm@gnu.org>
4828
4829 * Makefile.in (custom-deps, finder-data): No need to setq the target
4830 variables, we are in the right directory and the defaults work fine.
4831
4f85b479
GM
48322013-10-30 Glenn Morris <rgm@gnu.org>
4833
ca7dd4cd
GM
4834 * Makefile.in (autoloads): Do not use abs_lisp.
4835
4f85b479
GM
4836 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4837 `newline' does not respect `standard-output', so use `princ'.
4838
cf59e41c
AA
48392013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4840
4841 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4842 * buff-menu.el (Buffer-menu--unmark): New function.
4843 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4844
74cf04fb
GM
48452013-10-30 Glenn Morris <rgm@gnu.org>
4846
b040b60e
GM
4847 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4848
f53d3815
GM
4849 * emacs-lisp/package.el (lm-homepage): Declare.
4850
5413d873
GM
4851 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4852 Fix doc typos.
4853
cecedb36
GM
4854 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4855
74cf04fb
GM
4856 * Makefile.in (finder-data, autoloads, update-subdirs)
4857 (compile-main, compile-clean, compile-always, bootstrap-clean):
4858 Check return value of cd.
4859 (compile-calc): Remove.
4860
195ee2f0
SM
48612013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4862
ae4002ce
SM
4863 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4864
4865 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4866 (byte-compile-and-folded): New function.
4867 (=, <, >, <=, >=): Use it.
4868
4869 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4870 (path-separator, null-device, buffer-file-coding-system)
4871 (lpr-headers-switches): Check system-type before modifying them.
4872 (find-buffer-file-type-coding-system): Mark obsolete.
4873 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4874 find-file-not-found-set-buffer-file-coding-system.
35e951cd 4875 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 4876 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 4877 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
4878 (w32-direct-print-region-helper, w32-direct-print-region-function)
4879 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4880 * startup.el (normal-top-level-add-subdirs-to-load-path):
4881 * ps-print.el (ps-print-region-function):
4882 * lpr.el (print-region-function): Use new name.
4883
53b39e89
SM
4884 * subr.el (custom-declare-variable-early): Remove function.
4885 (custom-declare-variable-list): Remove var.
4886 (error, user-error): Remove `while' loop.
4887 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4888 (user-emacs-directory-warning, locate-user-emacs-file):
4889 Move to files.el.
4890 * simple.el (read-quoted-char-radix, read-quoted-char):
4891 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4892 Move from subr.el.
4893 * custom.el (custom-declare-variable-list): Don't process
4894 custom-declare-variable-list.
4895
195ee2f0
SM
4896 * progmodes/python.el (python-shell-get-buffer): New function.
4897 (python-shell-get-process): Use it.
4898 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4899 Python which encoding was used. Don't split-string since we only care
4900 about the first line. Return the temp-file, if applicable.
4901 (python-shell-send-region): Tell compile.el how to turn locations in
4902 the temp-file into locations in the source buffer.
4903
7e3561ee
SM
49042013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4905
4c9797cb
SM
4906 * subr.el (undefined): Add missing behavior from the C code for
4907 unbound keys.
4908
3472b6c6
SM
4909 * rect.el: Use lexical-binding. Add new rectangular region support.
4910 (rectangle-mark): New command.
4911 (rectangle--region): New var.
4912 (deactivate-mark-hook): Reset rectangle--region.
4913 (rectangle--extract-region, rectangle--insert-for-yank)
4914 (rectangle--highlight-for-redisplay)
4915 (rectangle--unhighlight-for-redisplay): New functions.
4916 (region-extract-function, redisplay-unhighlight-region-function)
4917 (redisplay-highlight-region-function): Use them to handle
4918 rectangular region.
4919 * simple.el (region-extract-function): New var.
4920 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4921 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4922 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4923 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4924 (redisplay-unhighlight-region-function)
4925 (redisplay-highlight-region-function): New vars.
4926 (redisplay--update-region-highlight): New function.
4927 (pre-redisplay-function): Use it.
4928 (exchange-point-and-mark): Don't deactivate the mark before
4929 reactivate-it anyway.
4930 * comint.el (comint-kill-region): Remove yank-handler argument.
4931 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4932 (delete-char): Remove property, since it's now part of their
4933 default behavior.
4934 (self-insert-iso): Remove property since this command doesn't exist.
4935
7e3561ee
SM
4936 * emacs-lisp/package.el (package--download-one-archive)
4937 (describe-package-1): Don't query the user about final newline.
4938
b9bef71f
DC
49392013-10-29 Daniel Colascione <dancol@dancol.org>
4940
4941 * net/tramp.el (tramp-methods): Document new functionality.
4942 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4943 tramp-hostname-checker if method provides one instead of scanning
4944 argument list for "%h" to decide hostname acceptability.
4945
4efc33f0
MA
49462013-10-28 Michael Albinus <michael.albinus@gmx.de>
4947
4948 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4949 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4950 Handle COPY-CONTENTS. (Bug#15737)
4951
ed42a877
DU
49522013-10-28 Daiki Ueno <ueno@gnu.org>
4953
4954 * epa-file.el
7e3561ee
SM
4955 (epa-file-cache-passphrase-for-symmetric-encryption):
4956 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4957
18c9f8a2
XF
49582013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4959
35e951cd 4960 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 4961
b1e8e010
AM
49622013-10-27 Alan Mackenzie <acm@muc.de>
4963
4964 Indent statements in macros following "##" correctly.
7e3561ee
SM
4965 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4966 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4967
73d40d1e 49682013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4969
4970 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4971
c8c605ac
DG
49722013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4973
4974 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4975 after `=' is probably a new expression.
4976
ca7e59d4
RS
49772013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4978
4979 * man.el (man-imenu-title): New option.
4980 (Man-mode-map): Add menu. (Bug#15722)
4981 (Man-mode): Add imenu to menu.
4982
bae91342
DG
49832013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4984
4985 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4986 specific in what the first arg can be: a non-keyword word,
4987 string/regexp/percent literal opener, opening paren, or unary
4988 operator followed directly by word.
4989
eb89dc14
SM
49902013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4991
4992 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4993 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4994 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4995 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4996 Remove vars, they do not apply any more.
4997 (prolog-mode-abbrev-table): Remove redundant declaration.
4998 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4999 (prolog-use-smie): Remove.
5000 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5001 supported by prolog-electric-if-then-else-flag.
5002 (prolog-mode-variables, prolog-menu): Use setq-local.
5003 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5004 Remove binding to `Backspace' since this key doesn't exist anyway.
5005 Remove bindings for electric self-inserting keys.
5006 (prog-mode): Assume it's defined.
5007 (prolog-post-self-insert): New function.
5008 (prolog-mode): Use it.
5009 (prolog-indent-line, prolog-indent-level)
5010 (prolog-find-indent-of-matching-paren)
5011 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5012 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5013 (prolog-goto-next-paren, prolog-in-string-or-comment)
5014 (prolog-tokenize, prolog-inside-mline-comment)
5015 (prolog-find-start-of-mline-comment): Remove functions.
5016 (prolog-find-unmatched-paren, prolog-clause-end)
5017 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5018 (prolog-electric--if-then-else): Rename from
5019 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5020 (prolog-tokenize-searchkey): Remove const.
5021 (prolog-clause-info): Use forward-sexp.
5022 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5023 (prolog-electric-if-then-else): Remove commands.
5024 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5025 for use in post-self-insert-hook.
5026 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5027 for use in post-self-insert-hook.
5028 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5029 for use in post-self-insert-hook.
5030 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5031 adapt it for use in post-self-insert-hook.
5032
3dab0a83
MA
50332013-10-25 Michael Albinus <michael.albinus@gmx.de>
5034
5035 * emacs-lisp/ert.el (ert-run-tests-interactively):
5036 Use `completing-read'. (Bug#9756)
5037
fbfd0e1d
EZ
50382013-10-25 Eli Zaretskii <eliz@gnu.org>
5039
5040 * simple.el (line-move): Call line-move-1 instead of
5041 line-move-visual when the current window hscroll is zero, but
5042 temporary-goal-column indicates we will need to hscroll as result
5043 of the movement. (Bug#15712)
5044
963ce636
DG
50452013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5046
5047 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5048 capitalization. Use :visible instead of :active.
5049 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5050 commands that are used with SMIE.
5051 (ruby-do-end-to-brace): Insert space after `{'.
5052
a0be396a
JA
50532013-10-25 John Anthony <john@jo.hnanthony.com>
5054
f73754c9
JA
5055 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5056
5057 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5058
f5bf77df
GM
50592013-10-25 Glenn Morris <rgm@gnu.org>
5060
5061 * vc/vc.el (vc-print-log): Don't use a working revision unless
5062 one was explicitly specified. (Bug#15322)
5063
37241f62
SM
50642013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * subr.el (add-to-list): Preserve return value in compiler-macro
5067 (bug#15692).
5068
6408a65d
RS
50692013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5070
5071 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5072 result. Ask user to retry using '-all' flag. (Bug#15701)
5073
71e3276b
SM
50742013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * emacs-lisp/smie.el: New smie-config system.
5077 (smie-config): New defcustom.
5078 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5079 (smie-config-guess, smie-config-save): New commands.
5080 (smie-config--mode-local, smie-config--buffer-local)
5081 (smie-config--trace, smie-config--modefuns): New vars.
5082 (smie-config--advice, smie-config--mode-hook)
5083 (smie-config--setter, smie-config-local, smie-config--get-trace)
5084 (smie-config--guess-value, smie-config--guess): New functions.
5085 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5086 text properties. Treat "string fence" syntax like string syntax.
5087
5088 * progmodes/sh-script.el (sh-use-smie): Change default.
5089 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5090 (sh-var-value): Simplify by CSE.
5091 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5092 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5093 is used.
5094 (sh-guess-basic-offset): Use cl-incf.
5095 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5096
60db713e
HE
50972013-10-24 Helmut Eller <eller.helmut@gmail.com>
5098
5099 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5100 (bug#15699).
5101
8b251df6
GM
51022013-10-24 Glenn Morris <rgm@gnu.org>
5103
5104 * Makefile.in (abs_top_srcdir): Remove.
5105 (update-subdirs): Use relative path to update-subdirs.
5106
6be0e22b
EZ
51072013-10-24 Eli Zaretskii <eliz@gnu.org>
5108
5109 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5110 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5111 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5112 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5113
50b5b857
MA
51142013-10-24 Michael Albinus <michael.albinus@gmx.de>
5115
5116 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5117 (ert-test-skipped): New error.
5118 (ert-skip, ert-stats-skipped): New defuns.
5119 (ert--skip-unless): New macro.
5120 (ert-test-skipped): New struct.
5121 (ert--run-test-debugger, ert-test-result-type-p)
5122 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5123 (ert--stats-set-test-and-result, ert-char-for-test-result)
5124 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5125 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5126 Handle skipped tests. (Bug#9803)
50b5b857 5127
6f317c2f
GM
51282013-10-24 Glenn Morris <rgm@gnu.org>
5129
e43817c1
GM
5130 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5131
6f317c2f
GM
5132 * Makefile.in (abs_top_srcdir): New, set by configure.
5133 (update-subdirs): Correct build-aux location.
5134
369bbf71
DG
51352013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5136
8297b2cf
DG
5137 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5138 value, whether we could auto-deduce `backend', or not.
5139
369bbf71
DG
5140 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5141 with parameters" example. Simplify the "is it block or is it
5142 hash" check, but also make it more thorough.
5143
d5f1282f
MF
51442013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5145
5146 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5147
bc4aaa31
SM
51482013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5149
03d44565
SM
5150 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5151 { if it is hanging.
5152
bc4aaa31
SM
5153 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5154 :before ";".
5155
f493ff19
JB
51562013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5157
5158 * progmodes/compile.el (compilation-directory-matcher)
5159 (compilation-page-delimiter):
5160 Support GNU Make-4.0 directory quoting. (Bug#15678)
5161
c744a3b9
LL
51622013-10-23 Leo Liu <sdl.web@gmail.com>
5163
5164 * ido.el (ido-tidy): Handle read-only text.
5165
b8e3b0a9
GM
51662013-10-23 Glenn Morris <rgm@gnu.org>
5167
5168 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5169 (emacs, compile, compile-always):
5170 Quote entities that might contain whitespace.
5171 (custom-deps, finder-data, autoloads): Use abs_lisp.
5172 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5173 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5174 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5175
ee4282cd
DG
51762013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5177
bc4aaa31
SM
5178 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5179 Use `following-char'.
7790a270 5180
ee4282cd 51812013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5182
5183 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5184 * progmodes/ruby-mode.el (ruby-smie-rules):
5185 Remove corresponding workaround. Fix indentation rule of ";" so it
5186 also applies when ";" is the parent.
5187
d40a46d7
XF
51882013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5189
5190 * frame.el (display-screens, display-pixel-height)
5191 (display-pixel-width, display-mm-width, display-backing-store)
5192 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5193 (display-visual-class, display-monitor-attributes-list):
5194 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5195
a0f143c9
MG
51962013-10-22 Michael Gauland <mikelygee@amuri.net>
5197
5198 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5199 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5200
18cacc39
DG
52012013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5202
5203 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5204 TODO. Add "." after " @ ".
5205 (ruby-smie--at-dot-call): New function. Checks if point at method
5206 call with explicit target.
5207 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5208 to the method name tokens when it precedes them.
5209 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5210 (ruby-smie-rules): Add rule for indentation before and after "."
5211 token.
5212
df74c4be
SM
52132013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5214
c6dab55f
SM
5215 * textmodes/remember.el (remember-diary-extract-entries):
5216 Avoid add-to-list.
5217
df74c4be
SM
5218 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5219 an instruction.
5220
8c1ae481
DG
52212013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5222
e9dc713d
JB
5223 * progmodes/ruby-mode.el (ruby-smie-grammar):
5224 Add (almost) all infix operators.
cfef16c0
DG
5225 (ruby-smie--implicit-semi-p): Add new operator chars.
5226
8c1ae481
DG
5227 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5228 `smie-down-list'.
5229 (ruby-smie--args-separator-p): Check that there's no newline
5230 between method call and its arguments.
5231
87756ca9
AM
52322013-10-20 Alan Mackenzie <acm@muc.de>
5233
5234 Allow comma separated lists after Java "implements".
5235
df74c4be
SM
5236 * progmodes/cc-engine.el (c-backward-over-enum-header):
5237 Parse commas.
87756ca9
AM
5238 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5239 from a "disallowed" list in enum fontification.
5240
c25f8957
JB
52412013-10-20 Johan Bockgård <bojohan@gnu.org>
5242
df74c4be 5243 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5244
c25f8957
JB
5245 * progmodes/verilog-mode.el (verilog-mode): Don't set
5246 comment-indent-function globally.
5247
aca5fcdc
JD
52482013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5249
5f161884
JD
5250 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5251 Move Info menu item creation to ns-win.el.
5252
5253 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5254 in menu bar.
5255
a6c4680a 5256 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5257
5258 * term/ns-win.el (ns-initialize-window-system): ... to here.
5259
914b7f98
SM
52602013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * simple.el (newline): Only run post-self-insert-hook when
5263 called interactively.
5264
846ffe77
JB
52652013-10-19 Johan Bockgård <bojohan@gnu.org>
5266
5267 * icomplete.el (icomplete-with-completion-tables): Add :version.
5268
033f22dd
AM
52692013-10-19 Alan Mackenzie <acm@muc.de>
5270
5271 Fix fontification bugs with constructors and const.
5272
5273 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5274 CASE 2) Remove the check for the absence of a suffix construct
5275 after a function declaration with only types (no identifiers) in
5276 the parentheses. Also, accept a function declaration with just a
5277 type inside the parentheses, if this type can be positively
5278 recognised as such, or if a prefix keyword like "explicit" nails
5279 down the construct as a declaration.
5280
58ce0cfc
EZ
52812013-10-19 Eli Zaretskii <eliz@gnu.org>
5282
5283 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5284 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5285 the problem whereby selecting a menu item that leads to a
5286 minibuffer prompt moves the cursor out of the minibuffer window,
5287 making it hard to type at the prompt. Suggested by Stefan Monnier
5288 <monnier@iro.umontreal.ca>.
5289
50e28e7d
JD
52902013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5291
5292 * menu-bar.el: Don't make Services menu.
5293
7deed4bf
RS
52942013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5295
5296 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5297 (ffap-alist): Use ffap-c++-mode for c++-mode.
5298 (ffap-c++-path): New variable.
5299 (ffap-c++-mode): New function.
5300
7bcb455b
JVJ
53012013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5302
5303 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5304
f0ff1cd5
MA
53052013-10-18 Michael Albinus <michael.albinus@gmx.de>
5306
5307 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5308 introduced on 2013-09-08, which results in an infinite loop
5309 requesting a password.
5310
d64da4b7
GM
53112013-10-18 Glenn Morris <rgm@gnu.org>
5312
5313 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5314
ea89ff08
WS
53152013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5316
5317 Sync with upstream verilog-mode revision 1a6ecec7.
5318 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5319 (verilog-mode-release-date): Remove.
5320 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5321 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5322 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5323 (verilog-auto-tieoff-ignore-regexp)
5324 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5325 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5326 (verilog-signals-with, verilog-dir-cache-preserving)
5327 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5328 Doc fixes.
5329 (verilog-case-fold): New option, to control case folding in
5330 regexp searches, bug597.
5331 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5332 (verilog-string-match-fold, verilog-in-paren-count)
5333 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5334 (verilog-at-close-struct-p): New functions.
5335 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5336 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5337 (verilog-leap-to-case-head): Handle "unique0" case.
5338 (verilog-in-constraint-re): New constant.
5339 (verilog-keywords, verilog-type-font-keywords):
5340 Add some SystemVerilog 1800-2012 keywords.
5341 (verilog-label-be): Remove unimplemented argument, bug669.
5342 (verilog-batch-execute-func): When batch expanding clear
5343 create-lockfiles to prevent spurious user locks when a file ends
5344 up not changing.
5345 (verilog-calculate-indent, verilog-calc-1)
5346 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5347 (verilog-do-indent): Fix indentation of nested constraints
5348 and structures.
5349 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5350 (verilog-auto-inst-param): Use verilog-string-match-fold.
5351 (verilog-read-inst-module-matcher):
5352 Fix AUTOINST on gate primitives with #1.
5353 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5354 Reads all user-defined typed variables.
5355 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5356 (verilog-signals-matching-regexp)
5357 (verilog-signals-not-matching-regexp, verilog-auto):
5358 Respect verilog-case-fold.
5359 (verilog-diff-report): Fix line count.
5360 (verilog-auto-assign-modport): Remove unused local `modi'.
5361 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5362 better handle multidimensional arrays.
5363 Fix packed array ports misadding bit index in AUTOINST, bug637.
5364 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5365 to not double-declare existing outputs and inputs, respectively.
5366 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5367 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5368 (verilog-sk-uvm-component): New skeleton.
5369 (verilog-submit-bug-report): Add verilog-case-fold,
5370 remove verilog-mode-release-date.
5371
ef566920
BR
53722013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5373
a12bf61e 5374 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5375 as before.
5376
29df8a0b
RT
53772013-10-18 Reuben Thomas <rrt@sc3d.org>
5378
e0eb0550 5379 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5380 remember buffers (bug#13566).
5381
04a19a79
DC
53822013-10-18 Daniel Colascione <dancol@dancol.org>
5383
5384 When evaluating forms in ielm, direct standard output to ielm
5385 buffer. Add new ielm-return-for-effect command. Remove trailing
5386 whitespace throughout.
5387
5388 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5389 (ielm-return-for-effect): New command.
5390 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5391 (ielm-eval-input): Accept optional `for-effect' parameter.
5392 Bind `standard-output' to stream we create using
04a19a79
DC
5393 `ielm-standard-output-impl'. Suppress printing result when
5394 `for-effect'.
5395 (ielm-standard-output-impl): New function.
5396 (inferior-emacs-lisp-mode): Explain new features in documentation.
5397
4c1f03ef
MA
53982013-10-17 Michael Albinus <michael.albinus@gmx.de>
5399
5400 Code cleanup.
5401
5402 * net/tramp.el (tramp-debug-message): Do not check for connection
5403 buffer.
5404 (tramp-message): Use "vector" connection property.
5405
5406 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5407 (tramp-equal-remote, tramp-eshell-directory-change)
5408 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5409 (tramp-adb-handle-rename-file)
5410 * net/tramp-cmds.el (tramp-list-remote-buffers)
5411 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5412 * net/tramp-compat.el (tramp-compat-process-running-p)
5413 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5414 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5415 (tramp-gvfs-handle-rename-file)
5416 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5417 (tramp-set-file-uid-gid)
5418 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5419 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5420 of `file-remote-p'.
5421
5422 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5423 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5424 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5425 (tramp-gw-open-network-stream): Suppress unrelated traces.
5426
5427 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5428 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5429 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5430 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5431 connection property.
5432
5433 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5434 persistency file.
4c1f03ef
MA
5435
5436 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5437 Refactor common code. Improve debug message.
5438 (tramp-maybe-open-connection)
5439 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5440 connection buffer too early.
5441
5442 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5443 from `tramp-smb-actions-with-acl'.
5444 (tramp-smb-actions-set-acl): New defconst.
5445 (tramp-smb-handle-copy-directory)
5446 (tramp-smb-action-get-acl): New defun, renamed from
5447 `tramp-smb-action-with-acl'.
5448 (tramp-smb-action-set-acl): New defun.
5449 (tramp-smb-handle-set-file-acl): Rewrite.
5450
642eb8b6
GM
54512013-10-17 Glenn Morris <rgm@gnu.org>
5452
5453 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5454
85527ff3
SM
54552013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5456
921c1d62
SM
5457 * skeleton.el (skeleton-newline): Remove.
5458 (skeleton-internal-1): Use (insert "\n") instead.
5459
e333fb10
SM
5460 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5461 let-bindings.
5462
85527ff3
SM
5463 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5464 forward-sexp-function while we redo its job (bug#15613).
5465
c8722a97
JB
54662013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5467
5468 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5469 represented by lists.
5470
7a550bbb
GM
54712013-10-16 Glenn Morris <rgm@gnu.org>
5472
5473 * tmm.el (tmm--history): New dynamic variable.
5474 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5475
f19da8ad
MA
54762013-10-16 Michael Albinus <michael.albinus@gmx.de>
5477
5478 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5479 (tramp-smb-errors): Add error messages.
5480 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5481 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5482 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5483 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5484 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5485 (tramp-smb-get-stat-capability): Fix tests.
5486
a24b9961
DK
54872013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5488
5489 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5490 (bug#15580).
5491
62ad85e6
GM
54922013-10-16 Glenn Morris <rgm@gnu.org>
5493
0283d6b0
GM
5494 * ansi-color.el (ansi-color-drop-regexp):
5495 Add 1J, 1K, 2K. (Bug#15617)
5496
012e2f9f
GM
5497 * files.el (hack-local-variables--warned-lexical): New.
5498 (hack-local-variables):
5499 Warn about misplaced lexical-binding. (Bug#15616)
5500
62ad85e6
GM
5501 * net/eww.el (eww-render): Always set eww-current-url,
5502 and update header line. (Bug#15622)
5503 (eww-display-html): ... Rather than just doing it here.
5504
6456c0ea
EZ
55052013-10-15 Eli Zaretskii <eliz@gnu.org>
5506
5507 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5508 menu navigations commands.
5509
c2de5588
DK
55102013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5511
5512 * progmodes/subword.el (subword-capitalize): Be careful when
5513 the search for [[:alpha:]] fails (bug#15580).
5514
ccd4a783
EZ
55152013-10-14 Eli Zaretskii <eliz@gnu.org>
5516
5517 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5518 to commands that scroll the menu.
5519
1eda1d8d
DG
55202013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5521
c2de5588
DK
5522 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5523 Handle methods ending with `?' and `!'.
1eda1d8d 5524
e70181b8
AM
55252013-10-14 Akinori MUSHA <knu@iDaemons.org>
5526
5527 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5528 `japanese-cp932' to `cp932' to fix the problem where saving a
5529 source file written in Shift_JIS twice would end up having
5530 `coding: japanese-cp932' which Ruby could not recognize.
5531 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5532 in `ruby-encoding-map'.
5533 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5534 doesn't need to be explicitly declared in magic comment.
5535 (ruby-encoding-map): Add type declaration for better customize UI.
5536
9148ee92
GM
55372013-10-13 Glenn Morris <rgm@gnu.org>
5538
a5d38e34
GM
5539 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5540 Occur buffers are read-only. http://bugs.debian.org/720775
5541
9148ee92
GM
5542 * emacs-lisp/authors.el (authors-fixed-entries):
5543 Comment out old alpha stuff.
5544
a9ba094b
DG
55452013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5546
5547 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5548 to `after-save-hook' instead of `before-save-hook'.
5549 (ruby-mode-set-encoding): Use the value of coding system used to
5550 write the file. Call `basic-save-buffer-1' after modifying the
5551 buffer.
5552
7a068717
AM
55532013-10-13 Alan Mackenzie <acm@muc.de>
5554
5555 Fix indentation/fontification of Java enum with
5556 "implements"/generic.
5557
c2de5588
DK
5558 * progmodes/cc-engine.el (c-backward-over-enum-header):
5559 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5560 (c-inside-bracelist-p): Uses new function above.
5561 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5562 function above.
5563 (c-font-lock-enum-tail): Uses new function above.
5564
85b64f02
KH
55652013-10-13 Kenichi Handa <handa@gnu.org>
5566
5567 * international/mule-cmds.el (select-safe-coding-system): Remove a
5568 superfluous condition in chekcing whether a coding system is safe
5569 or not.
5570
fc7f501b
OK
55712013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5572
5573 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5574
fdcb2049
AP
55752013-10-13 Andreas Politz <politza@hochschule-trier.de>
5576
5577 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5578
8c106d17
GM
55792013-10-13 Glenn Morris <rgm@gnu.org>
5580
feab892d
GM
5581 * menu-bar.el (menu-bar-update-buffers):
5582 Unify Buffers menu prompt string. (Bug#15576)
5583
b22d0686
GM
5584 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5585
8c106d17
GM
5586 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5587 Add some entries.
5588 (authors-fixed-entries): Use accented form of name.
5589
1b12c797
SM
55902013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5591
650fa7bf 5592 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5593 method calls (bug#15594).
650fa7bf
SM
5594 (ruby-smie--args-separator-p): New function.
5595 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5596 recognize paren-free method calls.
5597
1b12c797
SM
5598 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5599 internals of universal-argument.
5600
029619c8
EZ
56012013-10-11 Eli Zaretskii <eliz@gnu.org>
5602
5603 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5604 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5605 dropped menu on second mouse click on the menu bar.
029619c8 5606
dd070019
SM
56072013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5610 (explicit-shell-file-name): Declare.
5611 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5612 (sh-completion-at-point-function): New function.
5613 (sh-mode): Use it.
5614 (sh-smie--keyword-p): Remove unused argument.
5615 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5616 vars.
5617 (sh-set-shell): Always setup SMIE, even if we use the
5618 old indentation code.
5619
0922b826
DG
56202013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5621
b68e2926
DG
5622 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5623 cases of ? and =.
5624 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5625 predicate would return nil are almost non-existent.
5626 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5627
0922b826
DG
5628 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5629 cache also after commands that modify the buffer but don't move
5630 point.
5631
ee041f2d
SM
56322013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * env.el (substitute-env-in-file-name): New function.
5635 (substitute-env-vars): Extend the meaning of the optional arg.
5636
a5dab159
EZ
56372013-10-10 Eli Zaretskii <eliz@gnu.org>
5638
5639 * term/w32-win.el (dynamic-library-alist): Define separate lists
5640 of GIF DLLs for versions before and after 5.0.0 of giflib.
5641 (Bug#15531)
5642
0449d6cd 56432013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5644
5645 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5646 not locked, use last revision and current source as
5647 defaults. (Bug#15569)
5648
2f6e161e
MY
56492013-10-10 Masatake YAMATO <yamato@redhat.com>
5650
5651 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5652 menu-bar is hidden.
5653
6c8413fc
MR
56542013-10-10 Martin Rudalics <rudalics@gmx.at>
5655
5656 * window.el (pop-to-buffer-same-window): Fix doc-string.
5657 (Bug#15492)
5658
20832de0
SM
56592013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5662
c6e8ae77
AC
56632013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5664
5665 * calendar/icalendar.el (icalendar-import-file):
5666 Fix interactive spec. (Bug#15482)
5667
9db13baf
GM
56682013-10-10 Glenn Morris <rgm@gnu.org>
5669
9271e90e
GM
5670 * desktop.el (desktop-save): Default to saving in .emacs.d,
5671 since PWD is no longer in desktop-path by default. (Bug#15319)
5672
9db13baf
GM
5673 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5674 now that text mode has a menu with the same entry.
5675 (menu-bar-text-mode-auto-fill): Remove now unused func.
5676 * textmodes/text-mode.el (text-mode-map):
5677 Use auto-fill help text from menu-bar.el.
5678
a0be396a 56792013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5680
5681 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5682
2edcd3c7
JL
56832013-10-09 Juri Linkov <juri@jurta.org>
5684
5685 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5686 instead of this-command-keys. Add universal-argument-more and
5687 universal-argument-minus to the list of prefix commands. (Bug#15568)
5688
574411d0
GM
56892013-10-09 Glenn Morris <rgm@gnu.org>
5690
14afa541
GM
5691 * vc/vc-svn.el (vc-svn-create-repo):
5692 Expand paths in file://... url. (Bug#15446)
5693
574411d0
GM
5694 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5695 Add some entries.
5696 (authors): Remove unused local variables.
5697
79804536
SM
56982013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * profiler.el: Create a more coherent calltree from partial backtraces.
5701 (profiler-format): Hide the tail with `invisible' so that C-s can still
5702 find the hidden elements.
5703 (profiler-calltree-depth): Don't recurse so enthusiastically.
5704 (profiler-function-equal): New hash-table-test.
5705 (profiler-calltree-build-unified): New function.
5706 (profiler-calltree-build): Use it.
5707 (profiler-report-make-name-part): Indent the calltree less.
5708 (profiler-report-mode): Add visibility specs for profiler-format.
5709 (profiler-report-expand-entry, profiler-report-toggle-entry):
5710 Expand the whole subtree when provided with a prefix arg.
5711
238150c8
DG
57122013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5713
5714 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5715 iuwu-mod token.
5716 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5717 hanging iuwu-mod token.
5718 (ruby-smie--forward-token): Do not include a dot after a token in
5719 that token.
5720 (ruby-smie--backward-token): Likewise.
5721
b0949cc4
JL
57222013-10-08 Juri Linkov <juri@jurta.org>
5723
5724 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5725 to isearch-other-control-char.
5726 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5727 and isearch-post-command-hook to post-command-hook.
5728 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5729 and isearch-post-command-hook from post-command-hook.
5730 (isearch-unread-key-sequence)
5731 (isearch-reread-key-sequence-naturally)
5732 (isearch-lookup-scroll-key, isearch-other-control-char)
5733 (isearch-other-meta-char): Remove functions.
5734 (isearch-pre-command-hook, isearch-post-command-hook):
5735 New functions based on isearch-other-meta-char rewritten
5736 relying on the new behavior of overriding-terminal-local-map
5737 that does not replace the local keymaps any more. (Bug#15200)
5738
4ed77415
EZ
57392013-10-08 Eli Zaretskii <eliz@gnu.org>
5740
5741 Support menus on text-mode terminals.
5742 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5743 functionality.
5744
5745 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5746
c2de5588
DK
5747 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5748 Move here from mouse.el.
4ed77415
EZ
5749 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5750 and arrow keys.
5751 (tty-menu-navigation-map): New map for TTY menu navigation.
5752
5753 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5754
5755 * frame.el (display-mouse-p): Report text-mode mouse as available
5756 on w32.
5757 (display-popup-menus-p): Report availability if mouse is
5758 available; don't condition on window-system.
5759
5760 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5761 (tty-menu-selected-face): New faces.
5762
b7d5bd82
TL
57632013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5764
06286513
SM
5765 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5766 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5767 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5768 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5769 New constants.
5770 (lisp-mode-variables): New `elisp' argument.
5771 (emacs-lisp-mode): Use it.
5772 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5773 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5774
b7d5bd82
TL
5775 * indent.el: Use lexical-binding.
5776 (indent-region): Add progress reporter.
5777 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5778 last step.
5779 (indent--next-tab-stop): New function to implement this behavior.
5780 (tab-to-tab-stop, move-to-tab-stop): Use it.
5781
57822013-10-08 Teemu Likonen <tlikonen@iki.fi>
5783
5784 * indent.el (indent-rigidly--current-indentation): New function.
5785 (indent-rigidly-map): New var.
5786 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5787
5ea75d23
BG
57882013-10-08 Bastien Guerry <bzg@gnu.org>
5789
f2726fa2 5790 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5791
cc5da1ec
SM
57922013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5793
8ffa1a0b
SM
5794 * progmodes/perl-mode.el: Use lexical-binding.
5795 Remove redundant :group args.
5796 (perl-nochange): Change default to be closer to other major modes's
5797 standard behavior.
5798 (perl-indent-line): Don't consider text on current line as a
5799 valid beginning of function from which to indent.
5800
f2223371
SM
5801 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5802 with more than one argument (bug#15538).
5803
44256060
SM
5804 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5805
cc5da1ec
SM
5806 * vc/pcvs.el: Use lexical-binding.
5807 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5808 environment of `eval'.
5809 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5810 than a list of expressions. Adjust callers.
5811 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5812
0ea1599d
DG
58132013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5814
5815 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5816 case of the dot in a chained method call being on the following line.
0ea1599d 5817
da3e5ebb
SM
58182013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5819
2abb4e65
SM
5820 * electric.el (electric-indent-inhibit): New var.
5821 (electric-indent-post-self-insert-function): Use it.
5822 * progmodes/python.el (python-mode): Set it.
5823
d2e0e795
SM
5824 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5825 open braces.
5826
5827 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5828
bdc6b4c8
SM
5829 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5830 (css-mode): Use electric-indent-chars.
5831
da3e5ebb
SM
5832 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5833 (font-lock-beg, font-lock-end): Move before first use.
5834 (nxml-mode): Use syntax-propertize-function.
5835 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5836 (nxml-extend-after-change-region): Remove.
5837 * nxml/xmltok.el: Use lexical-binding.
5838 (xmltok-save): Use `declare'.
5839 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5840 * nxml/nxml-util.el: Use lexical-binding.
5841 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5842 Use `declare'.
5843 * nxml/nxml-ns.el: Use lexical-binding.
5844 (nxml-ns-save): Use `declare'.
5845 (nxml-ns-prefixes-for): Avoid add-to-list.
5846 * nxml/rng-match.el: Use lexical-binding.
5847 (rng--ipattern): Use cl-defstruct.
5848 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5849 (rng-cons-group-after, rng-subst-group-after)
5850 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5851 Use closures instead of `(lambda...).
5852
f8f91d5d
MA
58532013-10-07 Michael Albinus <michael.albinus@gmx.de>
5854
5855 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5856 of BEG and END.
5857
da3e5ebb
SM
5858 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5859 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5860 (tramp-gvfs-handle-insert-file-contents): Remove function.
5861
da3e5ebb
SM
5862 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5863 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5864
5865 * net/trampver.el: Update release number.
5866
7ccae3b1
SM
58672013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5868
55ca2c0d
SM
5869 * progmodes/compile.el (compilation-parse-errors):
5870 Use compilation--put-prop.
5871 (compilation--ensure-parse): Check compilation-multiline.
5872
731fc3ae
SM
5873 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5874
da3e5ebb
SM
5875 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5876 lexical-binding.
a5833280 5877
2e7ba2c2
SM
5878 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5879
7ccae3b1
SM
5880 * progmodes/ruby-mode.el: Fix recently added tests.
5881 (ruby-smie-grammar): Add - and +.
5882 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5883 (ruby-smie--backward-id): New functions.
5884 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5885 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5886 any more.
5887
85698d63
LL
58882013-10-07 Leo Liu <sdl.web@gmail.com>
5889
5890 * register.el (register-preview-delay)
5891 (register-preview-functions): New variables.
5892 (register-read-with-preview, register-preview)
5893 (register-describe-oneline): New functions.
5894 (point-to-register, window-configuration-to-register)
5895 (frame-configuration-to-register, jump-to-register)
5896 (number-to-register, view-register, insert-register)
5897 (copy-to-register, append-to-register, prepend-to-register)
5898 (copy-rectangle-to-register): Use register-read-with-preview to
5899 read register. (Bug#15525)
5900
3986af6c
DS
59012013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5902
5903 * net/network-stream.el (network-stream-open-starttls): Don't add
5904 --insecure if it's already present, because that gnutls-cli
5905 rejects getting that parameter twice.
5906
5cd9cda9
DG
59072013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5908
5909 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5910 keyword, too.
5911
da9ea6d9
DG
59122013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5913
5914 * newcomment.el (comment-use-global-state): Change default value
5915 to t, mark obsolete (Bug#15251).
5916 (comment-beginning): In addition to `comment-to-syntax', check the
5917 value of `comment-use-global-state'.
5918
34d1a133
SM
59192013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5920
5921 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5922 (ruby-comment-column): Follow the global default, by default.
5923 (ruby-smie-grammar): Add assignment syntax.
5924 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5925 open-paren, a comma, or a \.
5926 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5927 and line continuations.
5928 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5929 followed by implicit semi-colons. Add rule for string concatenation
5930 and for indentation at BOB.
27821a89 5931 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
5932
5933 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5934 calling next-sexp, since next-token may have skipped chars which
5935 next-sexp doesn't know should be skipped!
5936
6f6ab820
LL
59372013-10-05 Leo Liu <sdl.web@gmail.com>
5938
34d1a133
SM
5939 * progmodes/octave.el (octave-send-region):
5940 Call compilation-forget-errors.
6f6ab820 5941
34ca0f4c
XF
59422013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5943
5944 * vc/vc-svn.el (vc-svn-find-admin-dir):
5945 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5946 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5947 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5948 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5949
a27c1b72
SM
59502013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5953
258ab3bc
SM
59542013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5955
5956 * subr.el (read-passwd): Hide chars even when called within a context
5957 where after-change-functions is disabled (bug#15501).
5958 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5959 until we removed ourself from overriding-terminal-local-map.
5960
939fb29c
LL
59612013-10-04 Leo Liu <sdl.web@gmail.com>
5962
258ab3bc
SM
5963 * progmodes/octave.el (inferior-octave-mode):
5964 Call compilation-forget-errors.
939fb29c 5965
63bd7f35
XF
59662013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5967
5968 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5969
9e6229fa
MA
59702013-10-04 Michael Albinus <michael.albinus@gmx.de>
5971
5972 * net/secrets.el (secrets-create-collection): Add optional
5973 argument ALIAS. Use proper Label keyword. Append ALIAS as
5974 dbus-call-method argument. (Bug#15516)
5975
1dab32a3
LL
59762013-10-04 Leo Liu <sdl.web@gmail.com>
5977
5978 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5979 (inferior-octave-compilation-font-lock-keywords): New variables.
5980 (compilation-error-regexp-alist)
5981 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5982 (inferior-octave-mode): Use compilation-shell-minor-mode.
5983
6cad7ba3
JS
59842013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5985
5986 * minibuffer.el (completion--replace): Be careful that `end' might be
5987 a marker.
5988
acbadd00
DU
59892013-10-03 Daiki Ueno <ueno@gnu.org>
5990
5991 Add support for package signature checking.
5992 * emacs-lisp/package.el (url-http-file-exists-p)
5993 (epg-make-context, epg-context-set-home-directory)
5994 (epg-verify-string, epg-context-result-for)
5995 (epg-signature-status, epg-signature-to-string)
5996 (epg-check-configuration, epg-configuration)
5997 (epg-import-keys-from-file): Declare.
5998 (package-check-signature): New user option.
5999 (package-unsigned-archives): New user option.
6000 (package-desc): Add `signed' field.
6001 (package-load-descriptor): Set `signed' field if .signed file exists.
6002 (package--archive-file-exists-p): New function.
6003 (package--check-signature): New function.
6004 (package-install-from-archive): Check package signature.
6005 (package--download-one-archive): Check archive signature.
6006 (package-delete): Remove .signed file.
6007 (package-import-keyring): New command.
6008 (package-refresh-contents): Import default keyring.
6009 (package-desc-status): Add "unsigned" status.
6010 (describe-package-1, package-menu--print-info)
6011 (package-menu-mark-delete, package-menu--find-upgrades)
6012 (package-menu--status-predicate): Support "unsigned" status.
6013
adf2aa61
SM
60142013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6015
6016 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6017 the new compilation scheme using the new byte-codes.
6018
6019 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6020 (byte-pophandler): New byte codes.
6021 (byte-goto-ops): Adjust accordingly.
6022 (byte-compile--use-old-handlers): New var.
6023 (byte-compile-catch): Use new byte codes depending on
6024 byte-compile--use-old-handlers.
6025 (byte-compile-condition-case--old): Rename from
6026 byte-compile-condition-case.
6027 (byte-compile-condition-case--new): New function.
6028 (byte-compile-condition-case): New function that dispatches depending
6029 on byte-compile--use-old-handlers.
6030 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6031 when we can.
6032
6033 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6034 Optimize under `condition-case' and `catch' if
6035 byte-compile--use-old-handlers is nil.
6036 (disassemble-offset): Handle new bytecodes.
6037
328a8179
SM
60382013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * subr.el (error): Use `declare'.
6041 (decode-char, encode-char): Use advertised-calling-convention instead
6042 of the docstring to discourage use of the `restriction' arg.
6043
15a1e936
DU
60442013-10-03 Daiki Ueno <ueno@gnu.org>
6045
6046 * epg.el (epg-verify-file): Add a comment saying that it does not
6047 notify verification error as a return value nor a signal.
6048 (epg-verify-string): Ditto.
6049
376f862a
KR
60502013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6051
6052 * progmodes/compile.el (compilation-start): Try globbing the arg to
6053 `cd' (bug#15417).
6054
a2f93a5f
MA
60552013-10-02 Michael Albinus <michael.albinus@gmx.de>
6056
6057 Sync with Tramp 2.2.8.
6058
6059 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6060 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6061 * net/trampver.el: Update release number.
6062
0daa0804
JD
60632013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6064
6065 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6066 and default-process-coding-system for darwin only.
6067
abd1ae34
SM
60682013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6071
be4e325d
MH
60722013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6073
6074 * vc/vc-git.el (vc-git-grep): Disable pager.
6075
e9155c4a
DG
60762013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6077
494e898b
DG
6078 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6079 Use :url instead of :homepage, as per
6080 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6081
e9155c4a
DG
6082 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6083 non-nil, use `syntax-ppss' (Bug#15251).
6084
481a8e0f
RS
60852013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6086
be4e325d
MH
6087 * progmodes/octave.el (inferior-octave-startup-file):
6088 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6089
056453c6
DG
60902013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6091
be4e325d
MH
6092 * emacs-lisp/package.el (package-desc-from-define):
6093 Accept additional arguments as plist, convert them to an alist and store
6094 them in the `extras' slot.
056453c6
DG
6095 (package-generate-description-file): Convert extras alist back to
6096 plist and append to the `define-package' form arguments.
6097 (package--alist-to-plist): New function.
6098 (package--ac-desc): Add `extras' slot.
6099 (package--add-to-archive-contents): Check if the archive-contents
6100 vector is long enough, and if it is, pass its `extras' slot value
6101 to `package-desc-create'.
6102 (package-buffer-info): Call `lm-homepage', pass the returned value
6103 to `package-desc-from-define'.
6104 (describe-package-1): Render the homepage button (Bug#13291).
6105
be4e325d
MH
6106 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6107 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6108
832966e5
JD
61092013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6110
6111 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6112 and default-process-coding-system to utf-8-unix (Bug#15402).
6113
6cfe977d
XF
61142013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6115
6116 * subr.el (looking-back): Do not recommend using looking-back.
6117
38de11bd
AM
61182013-09-28 Alan Mackenzie <acm@muc.de>
6119
6120 Fix indentation/fontification of Java enum with "implements".
6121
6122 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6123 regexp which matches "implements", etc., in Java.
6124 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6125 specifier clauses coming after "enum".
6126 * progmodes/cc-fonts.el (c-font-lock-declarations)
6127 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6128 after "enum".
6129
1610938f
JD
61302013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6131
6132 * faces.el (region): Change ns_selection_color to
6133 ns_selection_fg_color, add ns_selection_bg_color.
6134
e090f499
LL
61352013-09-28 Leo Liu <sdl.web@gmail.com>
6136
4d2e94d1
LL
6137 * progmodes/octave.el (inferior-octave-completion-table)
6138 (inferior-octave-completion-at-point): Minor tweaks.
6139
e090f499
LL
6140 * textmodes/ispell.el (ispell-lookup-words): Rename from
6141 lookup-words. (Bug#15460)
6142 (lookup-words): Obsolete.
6143 (ispell-complete-word, ispell-command-loop): All uses changed.
6144
7e138a62
RS
61452013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6146
a12bf61e 6147 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6148 (octave-mode-menu): Add octave-send-buffer.
6149 (octave-send-buffer): New function.
6150
5af5ed08
RS
61512013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6152
a12bf61e 6153 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6154 octave-lookfor.
6155 (octave-mode-menu): Add octave-lookfor.
6156 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6157 octave-lookfor.
6158 (octave-lookfor): New function.
6159
3b7b2692
SM
61602013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6161
35e951cd 6162 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6163 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6164 its convention.
6165 (cl--loop-set-iterator-function): New function.
6166 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6167 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6168 Bind `it' with `let' instead of substituting it with `cl-subst'.
6169 (cl--unused-var-p): New function.
6170 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6171 Eliminate some unused variable warnings (bug#15326).
6172
529fb53f
TH
61732013-09-27 Tassilo Horn <tsdh@gnu.org>
6174
6175 * doc-view.el (doc-view-scale-reset): Rename from
6176 `doc-view-reset-zoom-level'.
6177 (doc-view-scale-adjust): New command.
6178 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6179 `doc-view-scale-adjust'.
6180
0550c95a
TH
61812013-09-26 Tassilo Horn <tsdh@gnu.org>
6182
6183 * doc-view.el (doc-view-reset-zoom-level): New command.
6184 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6185 zoom commands (bug#15466).
6186
6950f152
KH
61872013-09-26 Kenichi Handa <handa@gnu.org>
6188
6189 * international/quail.el (quail-help): Make it not a command.
6190
39587580
LL
61912013-09-26 Leo Liu <sdl.web@gmail.com>
6192
6193 * minibuffer.el (completion-all-sorted-completions): Make args
6194 optional as they are.
6195
00578659
DC
61962013-09-25 Daniel Colascione <dancol@dancol.org>
6197
6198 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6199 specs are and that they're not evaluated.
6200
0c173878
SS
62012013-09-24 Sam Steingold <sds@gnu.org>
6202
6203 * midnight.el (clean-buffer-list-kill-regexps)
6204 (clean-buffer-list-kill-buffer-names): Update for the new Man
6205 buffer naming which includes the object name.
6206
84998447
SM
62072013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6210 (eshell-parse-command, eshell-parse-pipeline): Use it since
6211 eshell-separate-commands requires a dynamic scoped var.
6212 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6213
33215353
LL
62142013-09-23 Leo Liu <sdl.web@gmail.com>
6215
6216 * autoinsert.el (auto-insert-alist): Make the value of
6217 lexical-binding match its file setting.
6218
57b16162
JB
62192013-09-23 Juanma Barranquero <lekktu@gmail.com>
6220
c8af4e67
JB
6221 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6222
57b16162
JB
6223 * autoarg.el (autoarg-kp-digit-argument):
6224 * electric.el (Electric-command-loop):
6225 * kmacro.el (kmacro-step-edit-insert):
6226 Do not set universal-argument-num-events.
6227
7186ba60
LL
62282013-09-22 Leo Liu <sdl.web@gmail.com>
6229
6230 * files.el (interpreter-mode-alist): Add octave.
6231
ece15004
AM
62322013-09-21 Alan Mackenzie <acm@muc.de>
6233
6234 C++: fontify identifier in declaration following "public:" correctly.
6235 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6236 to match "public", etc.
6237 (c-decl-prefix-re): Add ":" into the C++ value.
6238 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6239 bit. Add a check for a ":" preceded by "public", etc.
6240
75d83e22
EZ
62412013-09-21 Eli Zaretskii <eliz@gnu.org>
6242
6243 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6244 recognized by GDB 7.5 and later.
6245
d052d3bd
XF
62462013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6247
6248 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6249
31dca772
R
62502013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6251
6252 * subr.el (internal--call-interactively): New const.
6253 (called-interactively-p): Use it (bug#3984).
6254
98ccf24e
XF
62552013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6256
6257 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6258 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6259 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6260
c39cc7d1
SM
62612013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6262
6263 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6264 (eshell-ls-orig-insert-directory): Remove.
6265 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6266 (eshell-ls-use-in-dired): Use advice-add/remove.
6267 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6268 Add `orig-fun' arg for use in :around advice.
6269 Make it check (redundantly) eshell-ls-use-in-dired.
6270
9a0289a2
GM
62712013-09-19 Glenn Morris <rgm@gnu.org>
6272
a2c501b8
GM
6273 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6274
c440407a
GM
6275 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6276
9a0289a2
GM
6277 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6278
85e05915
MA
62792013-09-19 Michael Albinus <michael.albinus@gmx.de>
6280
6281 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6282 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6283 (tramp-get-remote-python): New defuns.
6284 (tramp-get-remote-uid-with-perl)
6285 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6286 contributed by yary <not.com@gmail.com> (tiny change).
6287 (tramp-get-remote-uid-with-python)
6288 (tramp-get-remote-gid-with-python): New defuns. Python code
6289 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6290 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6291
ce503312
GM
62922013-09-19 Glenn Morris <rgm@gnu.org>
6293
f7544773
GM
6294 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6295
72fd2877
GM
6296 * eshell/em-unix.el (eshell-remove-entries):
6297 Rename argument to avoid name-clash with global `top-level'.
6298
336b5a56
GM
6299 * eshell/esh-proc.el (eshell-kill-process-function):
6300 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6301 (eshell-reset-after-proc): Remove unused arg `proc'.
6302
57a3a53d
GM
6303 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6304 (directory-files-and-attributes): Mark unused arg.
6305
3261d4af
GM
6306 * eshell/em-unix.el (eshell-remove-entries):
6307 Remove unused arg `path'. Update callers.
6308
8e51b5d0
GM
6309 * eshell/em-hist.el (eshell-hist-parse-arguments):
6310 Remove unused arg `silent'. Update callers.
6311
ce503312
GM
6312 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6313 Fix (f)boundp mix-up.
6314
6315 * eshell/em-smart.el (eshell-smart-scroll-window)
6316 (eshell-disable-after-change):
336b5a56 6317 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6318
ee3ce8a7
AM
63192013-09-18 Alan Mackenzie <acm@muc.de>
6320
6321 Fix fontification of type when followed by "const".
6322 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6323 "known" types from fontification.
6324
ec9177ba
GM
63252013-09-18 Glenn Morris <rgm@gnu.org>
6326
7bb3e768
GM
6327 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6328 (chart-face-list): Drop Emacsen without display-color-p.
6329
5148da15
GM
6330 * net/eww.el (libxml-parse-html-region): Declare.
6331 (eww-display-html): Explicit error if no libxml2 support.
6332
2f68e157
GM
6333 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6334
9019d095
GM
6335 * image.el (image-type-from-buffer, image-multi-frame-p):
6336 Remove --without-x warning/error.
67645389 6337
5f30349b 6338 * mouse.el (mouse-yank-primary):
45069b2e 6339 * term.el (term-mouse-paste):
5f30349b
GM
6340 Reorder to silence --without-x compilation.
6341
cd8edbbe
GM
6342 * mpc.el (doc-view-mode): Silence --without-x compilation.
6343
8a78544e
GM
6344 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6345 Silence --without-x compilation.
6346
12679bfd
GM
6347 * progmodes/gud.el (gud-find-file, gud-mode):
6348 Silence --without-x compilation.
6349 (tooltip-mode): Declare.
30810a05 6350
f0047cb9
GM
6351 * wdired.el (dired-backup-overwrite): Remove declaration.
6352 (wdired-mode-map): Add doc string.
6353
e740f9d2
GM
6354 * custom.el (x-get-resource): Declare.
6355
92d77c89
GM
6356 * eshell/em-glob.el (ange-cache):
6357 * eshell/em-unix.el (ange-cache): Declare.
6358
76e69577
GM
6359 * faces.el (x-display-list, x-open-connection, x-get-resource):
6360 Declare.
7e58af4b
GM
6361
6362 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6363 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6364 Declare.
76e69577 6365
4bd4c0af 6366 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6367
ffb82dbd
GM
6368 * net/gnutls.el (gnutls-log-level): Declare.
6369
986ed135
GM
6370 * net/shr.el (image-size, image-animate): Declare.
6371
e740f9d2
GM
6372 * simple.el (font-info): Declare.
6373
d2f3e9f8
GM
6374 * subr.el (x-popup-dialog): Declare.
6375
047a1a4c
GM
6376 * term/common-win.el (x-select-enable-primary)
6377 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6378 Declare.
6379
f4a1d572
GM
6380 * term/ns-win.el (x-handle-args): Declare.
6381
e843de77
GM
6382 * term/x-win.el (x-select-enable-clipboard): Declare.
6383
5fa89513
GM
6384 * term/w32-win.el (create-default-fontset): Declare.
6385
38702b5b
GM
6386 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6387 Declare.
6388
e740f9d2
GM
6389 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6390 (fit-frame-to-buffer): Explicit error if --without-x.
6391 (mouse-autoselect-window-select): Silence compiler.
6392
49a053fc
GM
6393 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6394
6395 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6396 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6397 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6398 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6399 Remove unused local variables.
6400
6401 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6402
ec9177ba
GM
6403 * textmodes/two-column.el: Make 2C-split work for --without-x.
6404 (scroll-bar-columns): Autoload.
6405 (top-level): Require fringe when compiling.
6406
9f25cb77
LL
64072013-09-18 Leo Liu <sdl.web@gmail.com>
6408
6409 * subr.el (add-hook): Robustify to handle closure as well.
6410
2b42da98
GM
64112013-09-17 Glenn Morris <rgm@gnu.org>
6412
6413 * simple.el (messages-buffer-mode-map): Unbind "g".
6414
e8b66a6a
SM
64152013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6416
9c0ad4f7
SM
6417 * help-mode.el (help-mode-finish): Use derived-mode-p.
6418 Remove obsolete highlighting.
6419
7a806dfb
SM
6420 * play/life.el (life-mode): Use define-derived-mode. Derive from
6421 special-mode.
6422 (life): Let-bind inhibit-read-only.
6423 (life-setup): Avoid `setq'. Use `life-mode'.
6424
96dbf5a8
SM
6425 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6426 which should not be needed any more.
6427 (package-menu-refresh, package-menu-describe-package): Use user-error.
6428
e8b66a6a
SM
6429 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6430 (eshell-post-rewrite-command-hook): Make obsolete.
6431 (eshell-parse-command): Simplify.
6432 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6433 (eshell--cmd): Declare.
6434 (eshell-parse-pipeline): Remove unused var `final-p'.
6435 Pass a dynvar to eshell-post-rewrite-command-hook.
6436 Implement the new eshell-post-rewrite-command-function.
6437 (eshell-invoke-directly): Remove unused arg `input'.
6438 * eshell/esh-io.el (eshell-io-initialize):
6439 Use eshell-post-rewrite-command-function (bug#15399).
6440 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6441 adjust to new calling convention.
6442 (eshell-create-handles): Rename args to avoid clashing with dynvar
6443 `standard-output'.
6444
90582f05
GM
64452013-09-17 Glenn Morris <rgm@gnu.org>
6446
6447 * simple.el (messages-buffer-mode): New major mode.
6448 (messages-buffer): New function.
6449 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6450 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6451 (ert-run-test): Use `messages-buffer' function.
90582f05 6452 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6453 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6454 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6455
39eb0cb5 64562013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6457
6458 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6459
1d42e5b6 6460 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6461
70568a90
SM
64622013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6463
504a0381
SM
6464 * icomplete.el (icomplete-in-buffer): New var.
6465 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6466 vars and replace them with functions.
6467 (icomplete-minibuffer-setup): Adjust accordingly.
6468 (icomplete--completion-table, icomplete--completion-predicate)
6469 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6470 New functions.
6471 (icomplete-forward-completions, icomplete-backward-completions)
6472 (icomplete-simple-completing-p, icomplete-exhibit)
6473 (icomplete-completions): Use them.
6474 (icomplete--in-region-buffer): New var.
6475 (icomplete--in-region-setup): New function.
6476 (icomplete-mode): Use it.
6477
70568a90
SM
6478 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6479 (bug#15379).
6480 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6481 return args and options.
6482 (eshell-eval-using-options): Use the new return value of
6483 eshell--do-opts to set the options's vars in their scope.
6484 (eshell--set-option): Rename from eshell-set-option.
6485 Add arg `opt-vals'.
6486 (eshell--process-option): Rename from eshell-process-option.
6487 Add arg `opt-vals'.
6488 (eshell--process-args): Use an `opt-vals' alist to store the options's
6489 values during their processing and return them additionally to the
6490 remaining args.
6491
578c21bc
DG
64922013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6493
6494 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6495 continuation character an operator, as far as indentation is
6496 concerned (Bug#15369).
6497
c089653d
MR
64982013-09-15 Martin Rudalics <rudalics@gmx.at>
6499
6500 * window.el (window--state-put-2): Don't process buffer state
6501 when buffer doesn't exist any more (Bug#15382).
6502
1e53bb4b
GM
65032013-09-15 Glenn Morris <rgm@gnu.org>
6504
30753242
GM
6505 * eshell/em-unix.el (eshell/rm):
6506 Make -f ignore missing files. (Bug#15373)
6507
1e53bb4b
GM
6508 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6509 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6510 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6511
0d8863b3
GM
65122013-09-14 Glenn Morris <rgm@gnu.org>
6513
6514 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6515
d3fc6549
GM
65162013-09-13 Glenn Morris <rgm@gnu.org>
6517
6518 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6519 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6520
fcd42c11
DA
65212013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6522
6523 * frame.el (x-focus-frame): Mark as declared in frame.c.
6524
7830899f
SM
65252013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6526
6527 * ls-lisp.el: Use advice-add.
6528 (original-insert-directory): Remove.
6529 (ls-lisp--insert-directory): Rename from insert-directory; add
6530 `orig-fun' argument.
6531 (insert-directory): Advise.
6532
84387cd2
EZ
65332013-09-13 Eli Zaretskii <eliz@gnu.org>
6534
6535 * term.el (term-emulate-terminal): Decode the command string
6536 before passing it to term-command-hook. (Bug#15337)
6537
35ffc6ba
GM
65382013-09-13 Glenn Morris <rgm@gnu.org>
6539
5c3f9bcc
GM
6540 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6541
2ada368a
GM
6542 * eshell/esh-ext.el (eshell-search-path): Declare.
6543
fcef2e13
GM
6544 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6545 Otherwise an error occurs if eshell-dirs module not loaded.
6546
35ffc6ba
GM
6547 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6548
35c3d36e
MA
65492013-09-13 Michael Albinus <michael.albinus@gmx.de>
6550
6551 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6552 `tramp-check-proper-host'. Check for a valid method name.
6553
6554 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6555 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6556 * net/tramp-sh.el (tramp-maybe-open-connection):
6557 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6558
6559 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6560 also for hash values.
6561
ae5e4c48
SM
65622013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6563
379add74
SM
6564 * term/ns-win.el (parameters): Don't declare as dynamic.
6565 (before-make-frame-hook): Don't add ineffective function.
6566
ae5e4c48
SM
6567 * eshell/*.el: Use lexical-binding (bug#15231).
6568
b5623270
KH
65692013-09-12 Kenichi Handa <handa@gnu.org>
6570
ae5e4c48 6571 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6572
30213927
GM
65732013-09-12 Glenn Morris <rgm@gnu.org>
6574
be94d713 6575 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6576 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6577
44915370
GM
6578 * subr.el (do-after-load-evaluation): Also give compiler warnings
6579 when obsolete files are used (except by obsolete files).
6580
a6ae021f
GM
6581 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6582 in the status output, assume `filename' is the first. (Bug#15322)
6583
40e64f0c
GM
6584 * vc/vc.el (vc-deduce-fileset): Doc fix.
6585
16d9f896
GM
6586 * calc/calc-help.el (Info-goto-node):
6587 * progmodes/cperl-mode.el (Info-find-node):
6588 * vc/ediff.el (Info-goto-node): Update declarations.
6589
dea01c6e
GM
6590 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6591
759880bf 6592 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6593 (vc-bzr-pull): Require vc-dispatcher.
6594 * vc/vc-git.el (vc-compilation-mode): Declare.
6595 (vc-git-pull): Require vc-dispatcher.
6596
08d66420
GM
6597 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6598
30b626e9
GM
6599 * progmodes/octave.el (help-button-action): Declare.
6600
8c05cb10
GM
6601 * shell.el (shell-directory-tracker): Output error as a message
6602 rather than just returning it as a string.
6603 (shell-process-pushd): Remove useless use of message.
6604
30213927
GM
6605 * dframe.el (dframe-timer-fn):
6606 * files.el (dir-locals-read-from-file):
6607 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6608 (mpc-format):
6609 * reveal.el (reveal-post-command):
6610 * saveplace.el (load-save-place-alist-from-file):
6611 * shell.el (shell-resync-dirs):
6612 * w32-common-fns.el (x-get-selection-value):
6613 * emacs-lisp/copyright.el (copyright-find-copyright):
6614 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6615 * emulation/tpu-edt.el (tpu-copy-keyfile):
6616 * play/bubbles.el (bubbles--mark-neighbourhood):
6617 * progmodes/executable.el
6618 (executable-make-buffer-file-executable-if-script-p):
6619 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6620
d3b049e6
SM
66212013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6622
170266d0
SM
6623 Cleanup Eshell to rely less on dynamic scoping.
6624 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6625 last-value, and ext-command here. Bind `args' closer to `body'.
6626 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6627 (eshell--args): Declare new dynamic var.
6628 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6629 last-value, and ext-command. Pass `args' to `body'.
6630 (eshell-process-args): Bind eshell--args.
6631 (eshell-set-option): Use eshell--args.
6632 * eshell/eshell.el (eshell): Use derived-mode-p.
6633 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6634 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6635 (eshell-glob-function): Declare.
6636 * eshell/esh-util.el: Require cl-lib.
6637 (eshell-read-hosts-file): Avoid add-to-list.
6638 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6639 `err'.
6640 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6641 Declare.
6642 (eshell/diff): Remove unused var `err'.
6643 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6644 `killflag'.
6645 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6646 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6647 first use.
6648 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6649 Move declaration before first use.
6650 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6651 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6652 rely on cl-return.
6653
56834f3b
GM
66542013-09-12 Glenn Morris <rgm@gnu.org>
6655
6656 * term/ns-win.el (global-map): Remove binding for ispell-next,
6657 deleted 1999-05-29. (Bug#15357)
6658
5c91a2b8
GM
66592013-09-11 Glenn Morris <rgm@gnu.org>
6660
da712f22
GM
6661 * echistory.el (electric-command-history): Remove call to deleted func.
6662
512e4cdc
GM
6663 * play/landmark.el (landmark-mode): Fix typos.
6664
d3506ca5
GM
6665 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6666 Check cvs-sort-ignore-file is bound.
6667
5c91a2b8
GM
6668 * savehist.el: No need for cl when compiling on Emacs.
6669
feeff482
SM
66702013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6671
656bd483
SM
6672 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6673 (bug#15338).
d3b049e6
SM
6674 (eshell-self-insert-command, eshell-send-invisible):
6675 Remove unused argument.
656bd483
SM
6676 (eshell-handle-control-codes): Remove unused var `orig'.
6677 Avoid delete-backward-char.
6678
feeff482
SM
6679 * files.el (set-auto-mode): Simplify a bit further.
6680
2a08047a
GM
66812013-09-11 Glenn Morris <rgm@gnu.org>
6682
6683 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6684 (set-auto-mode): Don't regexp-quote elements.
6685 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6686 * progmodes/cc-mode.el (interpreter-mode-alist):
6687 * progmodes/ruby-mode.el (interpreter-mode-alist):
6688 Revert previous change.
6689
34675540
SM
66902013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6691
1b3b87df
SM
6692 * play/snake.el (snake-mode):
6693 * play/mpuz.el (mpuz-mode):
6694 * play/landmark.el (lm-mode):
6695 * play/blackbox.el (blackbox-mode):
6696 * play/5x5.el (5x5-mode):
6697 * obsolete/options.el (Edit-options-mode):
6698 * net/quickurl.el (quickurl-list-mode):
6699 * net/newst-treeview.el (newsticker-treeview-mode):
6700 * mail/rmailsum.el (rmail-summary-mode):
6701 * mail/mspools.el (mspools-mode):
6702 * locate.el (locate-mode):
6703 * ibuffer.el (ibuffer-mode):
6704 * emulation/ws-mode.el (wordstar-mode):
6705 * emacs-lisp/debug.el (debugger-mode):
6706 * array.el (array-mode):
6707 * net/eudc.el (eudc-mode): Use define-derived-mode.
6708 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6709 Move initialization into declaration.
6710 (mairix-searches-mode): Use define-derived-mode.
6711 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6712 (eudc-edit-hotlist): Use dolist.
6713 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6714 (Man-mode): Use define-derived-mode.
6715 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6716 (Info-edit-mode): Use define-derived-mode.
6717 (Info-cease-edit): Use Info-mode.
6718 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6719 into declaration.
6720 (eshell-mode): Use define-derived-mode.
6721 * chistory.el (command-history-mode-map): Rename from
6722 command-history-map.
6723 (command-history-mode): Use define-derived-mode.
da712f22 6724 (Command-history-setup): Remove function.
1b3b87df
SM
6725 * calc/calc.el (calc-trail-mode-map): New var.
6726 (calc-trail-mode): Use define-derived-mode.
6727 (calc-trail-buffer): Set calc-main-buffer manually.
6728 * bookmark.el (bookmark-insert-annotation): New function.
6729 (bookmark-edit-annotation): Use it.
6730 (bookmark-edit-annotation-mode): Make it a proper major mode.
6731 (bookmark-send-edited-annotation): Use derived-mode-p.
6732 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6733 closer to its ideal place. Use \' to match EOS.
6734
34675540
SM
6735 * profiler.el (profiler-calltree-find): Use function-equal.
6736
6a5c15d9
GM
67372013-09-10 Glenn Morris <rgm@gnu.org>
6738
1af4c220
GM
6739 * files.el (interpreter-mode-alist): Convert to regexps.
6740 (set-auto-mode): Adapt for this. (Bug#15306)
6741 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6742 Comment out unused variable.
6743 * progmodes/cc-mode.el (interpreter-mode-alist):
6744 * progmodes/python.el (interpreter-mode-alist):
6745 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6746 * progmodes/sh-script.el (sh-set-shell):
6747 No longer use interpreter-mode-alist to get list of shells.
6748
6a5c15d9
GM
6749 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6750
8c27f5ff
SM
67512013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6752
02ef6c1a 6753 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6754 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6755 Bind switch-frame explicitly. Replace universal-argument-minus with
6756 a conditional binding.
6757 (universal-argument-num-events, saved-overriding-map): Remove.
6758 (restore-overriding-map): Remove.
6759 (universal-argument--mode): Rename from save&set-overriding-map,
6760 and rewrite.
6761 (universal-argument, universal-argument-more, negative-argument)
6762 (digit-argument): Adjust accordingly.
6763 (universal-argument-minus): Remove.
6764 (universal-argument-other-key): Remove.
6765
8c27f5ff
SM
6766 * subr.el (with-demoted-errors): Add `format' argument.
6767
6480194c
MA
67682013-09-10 Michael Albinus <michael.albinus@gmx.de>
6769
6770 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6771 `tramp-cleanup-connection'.
6772
6773 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6774 parameters KEEP-DEBUG and KEEP-PASSWORD.
6775
6776 * net/tramp.el (tramp-file-name-handler):
6777 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6778 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6779 (tramp-maybe-open-connection):
8c27f5ff
SM
6780 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6781 Use `tramp-cleanup-connection'.
6480194c 6782
8c27f5ff
SM
6783 * net/tramp-sh.el (tramp-maybe-open-connection):
6784 Catch 'uname-changed inside the progress reporter.
6480194c 6785
e5e916d8
GM
67862013-09-10 Glenn Morris <rgm@gnu.org>
6787
9a2c9b47
GM
6788 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6789
e5e916d8
GM
6790 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6791 returns "alternate access method" in mode (eg "-rw-r--r--.").
6792
144e38fe
GM
67932013-09-08 Glenn Morris <rgm@gnu.org>
6794
6795 * saveplace.el (load-save-place-alist-from-file):
6796 Demote errors. (Bug#15305)
6797
af9ff9e8
MA
67982013-09-08 Michael Albinus <michael.albinus@gmx.de>
6799
6800 Improve compatibility with older Emacsen, and XEmacs.
6801
6802 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6803 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6804 (with-tramp-progress-reporter): Do not let-bind `result'.
6805 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6806 (tramp-handle-make-auto-save-file-name): New function, moved from
6807 tramp-sh.el.
6808
6809 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6810 for `make-auto-save-file-name'.
8c27f5ff
SM
6811 (tramp-adb--gnu-switches-to-ash):
6812 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6813
6814 * net/tramp-cache.el (tramp-cache-print): Call
6815 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6816
6817 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6818 bound. It isn't for XEmacs.
6819
8c27f5ff
SM
6820 * net/tramp-compat.el (tramp-compat-copy-file):
6821 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6822 (tramp-compat-replace-regexp-in-string): New defun.
6823
6824 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6825 for `make-auto-save-file-name'.
6826 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6827 `copy-file'.
6828 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6829 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6830 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6831
8c27f5ff
SM
6832 * net/tramp-gw.el (tramp-gw-open-network-stream):
6833 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6834
8c27f5ff
SM
6835 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6836 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6837 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6838 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6839 (tramp-sh-file-inotifywait-process-filter):
6840 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6841 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6842
6843 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6844 for `make-auto-save-file-name'.
8c27f5ff
SM
6845 (tramp-smb-handle-copy-directory):
6846 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6847 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6848 (tramp-smb-handle-copy-file): Improve error message.
6849 (tramp-smb-handle-rename-file): Rename directly only in case
6850 `newname' does not exist yet. This is a restriction of smbclient.
6851 (tramp-smb-maybe-open-connection): Rerun the function only when
6852 `auth-sources' is non-nil.
6853
0ca754d0
KH
68542013-09-08 Kenichi Handa <handa@gnu.org>
6855
e0eb0550 6856 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6857 more characters.
6858
e8dd0787
AM
68592013-09-07 Alan Mackenzie <acm@muc.de>
6860
6861 Correctly fontify Java class constructors.
6862 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6863 in Java Mode.
6864 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6865 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6866 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6867 "typeless" declaration there.
6868
f2f248e7
RW
68692013-09-07 Roland Winkler <winkler@gnu.org>
6870
6871 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6872 field subtitle for entry type book.
6873
67982e2b
SM
68742013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * minibuffer.el: Make minibuffer-complete call completion-in-region
6877 rather than other way around.
6878 (completion--some, completion-pcm--find-all-completions):
6879 Don't delay signals when debugging.
6880 (minibuffer-completion-contents): Beware fields within the
6881 minibuffer contents.
6882 (completion-all-sorted-completions): Use defvar-local.
6883 (completion--do-completion, completion--cache-all-sorted-completions)
6884 (completion-all-sorted-completions, minibuffer-force-complete):
6885 Add args `beg' and `end'.
6886 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6887 (minibuffer-complete): Use completion-in-region.
6888 (completion-complete-and-exit): New fun, extracted from
6889 minibuffer-complete-and-exit.
6890 (minibuffer-complete-and-exit): Use it.
6891 (completion--complete-and-exit): Rename from
6892 minibuffer--complete-and-exit.
6893 (completion-in-region--single-word): New function, extracted from
6894 minibuffer-complete-word.
6895 (minibuffer-complete-word): Use it.
6896 (display-completion-list): Make `common-substring' argument obsolete.
6897 (completion--in-region): Call completion--in-region-1 instead of
6898 minibuffer-complete.
6899 (completion-help-at-point): Pass boundaries to
6900 minibuffer-completion-help as args rather than via an overlay.
6901 (completion-pcm--string->pattern): Use `any-delim'.
6902 (completion-pcm--optimize-pattern): New function.
6903 (completion-pcm--pattern->regex): Handle `any-delim'.
6904 * icomplete.el (icomplete-forward-completions)
6905 (icomplete-backward-completions, icomplete-completions):
6906 Adjust calls to completion-all-sorted-completions and
6907 completion--cache-all-sorted-completions.
6908 (icomplete-with-completion-tables): Default to t.
6909 * emacs-lisp/crm.el (crm--current-element): Rename from
6910 crm--select-current-element. Don't put an overlay but return the
6911 boundaries instead.
6912 (crm--completion-command): Take two new args to bind to the boundaries.
6913 (crm-completion-help): Adjust accordingly.
6914 (crm-complete): Use completion-in-region.
6915 (crm-complete-word): Use completion-in-region--single-word.
6916 (crm-complete-and-exit): Use completion-complete-and-exit.
6917
e17d94a5
SM
69182013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6919
6920 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6921 than dynamically.
6922
96727100
JL
69232013-09-06 Juri Linkov <juri@jurta.org>
6924
6925 * info.el (Info-display-images-node): When image file doesn't exist
6926 display text version of the image if it's provided in the Info file.
6927 Otherwise, display the location of missing image from SRC attribute.
6928 Add help-echo text property from ALT attribute. (Bug#15279)
6929
86cf7329
SM
69302013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6931
6932 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6933 (edit-abbrevs-mode): Use define-derived-mode.
6934
6935 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6936 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6937 that it's defined.
6938 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6939 Use define-derived-mode.
6940
6941 * epg.el (epg-start-encrypt): Minor CSE simplification.
6942
816244a2
WX
69432013-09-06 William Xu <william.xwl@gmail.com>
6944
6945 * arc-mode.el: Add support for 7za (bug#15264).
6946 (archive-7z-program): New var.
6947 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6948 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6949 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6950
1486fa31
MA
69512013-09-06 Michael Albinus <michael.albinus@gmx.de>
6952
6953 Remove URL syntax.
6954
6955 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6956 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6957 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6958 (tramp-postfix-host-format, tramp-file-name-regexp)
6959 (tramp-completion-file-name-regexp)
6960 (tramp-completion-dissect-file-name)
6961 (tramp-handle-substitute-in-file-name): Remove 'url case.
6962 (tramp-file-name-regexp-url)
6963 (tramp-completion-file-name-regexp-url): Remove constants.
6964
39785324
GM
69652013-09-06 Glenn Morris <rgm@gnu.org>
6966
6967 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6968
1f896cb7
DG
69692013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6970
6971 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6972 keywords" below "here-doc beginnings" (Bug#15270).
6973
c0458e0b
SM
69742013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 * subr.el (pop): Use `car-safe'.
6977 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6978 to detect unused `pop' return value.
6979
6980 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6981 var `block-regexp'.
6982 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6983 (python-fill-string): Remove unused var `marker'.
6984 (python-skeleton-add-menu-items): Remove unused var `items'.
6985
6986 * international/mule-cmds.el: Require CL.
6987 (find-coding-systems-for-charsets): Avoid add-to-list.
6988 (sanitize-coding-system-list): New function, extracted from
6989 select-safe-coding-system-interactively.
6990 (select-safe-coding-system-interactively): Use it.
6991 (read-input-method-name): Accept symbols for `default'.
6992
6993 * emacs-lisp/advice.el (defadvice): Add indent rule.
6994
6c42fc3e
DH
69952013-09-05 Daniel Hackney <dan@haxney.org>
6996
6997 * dired-x.el:
6998 * net/ange-ftp.el:
6999 * net/browse-url.el:
7000 * net/dbus.el:
7001 * net/eudc.el:
7002 * net/eudcb-ldap.el:
7003 * net/eww.el:
7004 * net/imap.el:
7005 * printing.el:
7006 * vc/ediff-diff.el:
7007 * vc/ediff-init.el:
7008 * vc/ediff-merg.el:
7009 * vc/ediff-mult.el:
7010 * vc/ediff-util.el:
7011 * vc/ediff-wind.el:
7012 * vc/ediff.el:
7013 * vc/emerge.el:
7014 * vc/pcvs.el:
7015 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7016 byte compiler. Remove some unused let-bound variables.
7017
4c528aab
SM
70182013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7019
7020 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7021 a "ref-cell", since it gets better optimized (bug#14883).
7022
bd15c390
GM
70232013-09-05 Glenn Morris <rgm@gnu.org>
7024
7025 * progmodes/cc-awk.el (c-forward-sws): Declare.
7026
1c3ac2e5
GM
70272013-09-04 Glenn Morris <rgm@gnu.org>
7028
7029 * generic-x.el [rul-generic-mode]: Require cc-mode.
7030 (c++-mode-syntax-table): Declare.
7031 (rul-generic-mode-syntax-table): Init in the defvar.
7032
52b1cc79
SM
70332013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7034
c828af56
SM
7035 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7036 (vc-do-command, vc-set-async-update):
7037 * vc/vc-mtn.el (vc-mtn-dir-status):
7038 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7039 (vc-hg-pull, vc-hg-merge-branch):
7040 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7041 (vc-git-merge-branch):
7042 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7043 (vc-cvs-dir-status-files):
7044 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7045 (vc-bzr-dir-status-files):
7046 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7047 * vc/vc-annotate.el: Use lexical-binding.
7048 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7049 (vc-sentinel-movepoint): Declare.
7050 (vc-annotate): Don't use `goto-line'.
7051 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7052 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7053 (vc-sentinel-movepoint): Declare.
7054 * vc/vc-svn.el: Use lexical-binding.
7055 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7056 * vc/vc-sccs.el:
7057 * vc/vc-rcs.el: Use lexical-binding.
7058
abae272c
SM
7059 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7060 `deleted'. Don't drop errors silently.
7061
52b1cc79
SM
7062 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7063
63191d9f
XF
70642013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7065
7066 * vc/vc.el (vc-ignore): Rewrite.
7067 (vc-default-ignore): New function.
7068 (vc-default-ignore-completion-table): Use find-ignore-file.
7069
7070 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7071 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7072 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7073 Remove. Most code moved to vc.el.
7074
9d3f707c
SM
70752013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7076
abae272c 7077 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7078 * net/tramp-smb.el (tramp-smb-get-file-entries):
7079 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7080 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7081
fde38d49
SM
7082 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7083 Update call to it.
7084 (eww-change-select): Remove unused var `properties'.
7085 (eww-make-unique-file-name): Remove unused var `base'.
7086
7087 * finder.el (finder-compile-keywords): Don't mess with windows.
7088
84032db7
SM
7089 * calculator.el (calculator-funcall): Fix typo in last change.
7090
724f5e41
SM
7091 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7092
14b511d4
SM
7093 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7094 <pkg>-autoloads.el file stop us.
7095
9d3f707c 7096 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7097 warnings, and factor out common code.
9d3f707c 7098
88527bc0
DG
70992013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7100
7101 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7102 two-character operators and whether the character preceding them
7103 changes their meaning (Bug#15208).
7104
96edb677
FEG
71052013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7106
7107 Format code sent to Python shell for robustness.
9d3f707c
SM
7108 * progmodes/python.el (python-shell-buffer-substring):
7109 New function.
96edb677
FEG
7110 (python-shell-send-region, python-shell-send-buffer): Use it.
7111
95beaef3
MA
71122013-09-02 Michael Albinus <michael.albinus@gmx.de>
7113
7114 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7115 * net/tramp.el (tramp-user-error): ... here.
7116 (tramp-find-method, tramp-check-proper-host)
7117 (tramp-dissect-file-name, tramp-debug-message)
7118 (tramp-handle-shell-command):
7119 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7120 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7121
7122 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7123
f167c27b
MR
71242013-09-02 Martin Rudalics <rudalics@gmx.at>
7125
7126 * avoid.el (mouse-avoidance-point-position)
7127 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7128 returns nil.
7129
cd16c5f1
FEG
71302013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7131
7132 * progmodes/python.el (python-shell-completion-get-completions):
7133 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7134 (python-nav-if-name-main): New command.
cd16c5f1 7135
e73c3a0d
GM
71362013-09-01 Glenn Morris <rgm@gnu.org>
7137
f8ccce03
GM
7138 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7139 Avoid leading space in $wins. Otherwise the sed command used by
7140 eg compile-main ends up containing "/*.el". (Bug#15170)
7141
e73c3a0d
GM
7142 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7143
415f808e
GM
71442013-08-30 Glenn Morris <rgm@gnu.org>
7145
7146 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7147 Fix is-this-a-directory logic. (Bug#15220)
7148
f069bba8
SM
71492013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7150
112798c1
SM
7151 * textmodes/css-mode.el: Use SMIE.
7152 (css-smie-grammar): New var.
7153 (css-smie--forward-token, css-smie--backward-token)
7154 (css-smie-rules): New functions.
7155 (css-mode): Use them.
7156 (css-navigation-syntax-table): Remove var.
7157 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7158 (css-indent-calculate, css-indent-line): Remove functions.
7159
7160 Misc changes to reduce use of `(lambda...); and other cleanups.
7161 * cus-edit.el: Use lexical-binding.
7162 (customize-push-and-save, customize-apropos)
7163 (custom-buffer-create-internal): Use closures.
7164 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7165 * progmodes/ada-xref.el: Use setq.
7166 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7167 * dframe.el: Use lexical-binding.
7168 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7169 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7170 * descr-text.el: Use lexical-binding.
7171 (describe-text-widget, describe-text-sexp, describe-property-list):
7172 Use closures.
7173 * comint.el (comint-history-isearch-push-state): Use a closure.
7174 * calculator.el: Use lexical-binding.
7175 (calculator-number-to-string): Make it work with lexical-binding.
7176 (calculator-funcall): Same and use cl-letf.
7177
2da4c3ab
SM
7178 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7179 (lisp--company-doc-string, lisp--company-location): New functions.
7180 (lisp-completion-at-point): Use them to improve Company support.
7181
f069bba8
SM
7182 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7183 params of lambda expressions.
7184 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7185 (ruby-smie--opening-pipe-p): New function.
7186 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7187 symbols and matched |...| for formal params.
7188 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7189 from being treated as hanging. Handle "rescue".
7190
6758b6a8
GM
71912013-08-29 Glenn Morris <rgm@gnu.org>
7192
7193 * progmodes/cc-engine.el (c-pull-open-brace):
7194 Move definition before use.
7195
e8dfd197
SM
71962013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7199 are immutable. Don't use `unsafe' any more.
7200 (cl--defsubst-expand): Don't substitute at the same time as keeping
7201 a residual unused let-binding. Don't use `unsafe' any more.
7202
cc585c96
GM
72032013-08-29 Glenn Morris <rgm@gnu.org>
7204
ba579ea6
GM
7205 * calendar/cal-china.el (calendar-chinese-year-cache):
7206 Recenter on 2015.
7207
8201a87e
GM
7208 * nxml/nxml-util.el (nxml-debug-clear-inside):
7209 Use cl-loop rather than loop.
7210
6ee877c7
GM
7211 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7212
cc585c96
GM
7213 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7214
27be8d39
GM
72152013-08-28 Glenn Morris <rgm@gnu.org>
7216
397440a1
GM
7217 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7218
2bb762d4
GM
7219 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7220
27be8d39
GM
7221 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7222
2d69b99e
SM
72232013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7224
f663baa7
SM
7225 * simple.el (repeat-complex-command--called-interactively-skip):
7226 New function.
7227 (repeat-complex-command): Use it (bug#14136).
7228
dd4f8b74
SM
7229 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7230 (c-define-abbrev-table): Add `doc' argument.
7231 (c-mode-abbrev-table, c++-mode-abbrev-table)
7232 (objc-mode-abbrev-table, java-mode-abbrev-table)
7233 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7234 (awk-mode-abbrev-table): Use it.
7235 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7236 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7237 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7238 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7239 Move initialization into the declaration; and remove any
7240 autoload cookie.
7241
b58969f7
SM
7242 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7243 and dynamic let binding.
7244
4021d6a6
SM
7245 * vc/smerge-mode.el: Remove redundant :group args.
7246
2d69b99e
SM
7247 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7248 to load-path.
7249
274919fd
JL
72502013-08-28 Juri Linkov <juri@jurta.org>
7251
7252 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7253 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7254 (isearch-other-meta-char): Handle an undefined shifted printing
7255 character by downshifting it. (Bug#15200)
7256
121f8c95
JL
72572013-08-28 Juri Linkov <juri@jurta.org>
7258
7259 * isearch.el (isearch-search): Change regexp error message for
7260 non-regexp searches. (Bug#15166)
7261
50b13cde
PE
72622013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7263
7264 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7265 for portability to hosts where /bin/sh has problems.
7266
95888bca
SM
72672013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7270
bbe558f1
JL
72712013-08-27 Juri Linkov <juri@jurta.org>
7272
7273 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7274 in the keyboard macro. (Bug#15126)
7275
26f98a7d
JL
72762013-08-27 Juri Linkov <juri@jurta.org>
7277
7278 * isearch.el (isearch-quote-char): Comment out converting unibyte
7279 to multibyte, thus syncing with its `quoted-insert' counterpart.
7280 (Bug#15166)
7281
7c97d35e
MR
72822013-08-27 Martin Rudalics <rudalics@gmx.at>
7283
7284 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7285 argument in call of get-largest-window (Bug#15185).
7286 Reported by Stephen Leake.
7c97d35e 7287
a0b5606e 72882013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7289
7290 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7291
9e89d835
SM
72922013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7293
7294 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7295 from a matcher-function unless there's no more matches (bug#15161).
7296
78fc2530
MA
72972013-08-26 Michael Albinus <michael.albinus@gmx.de>
7298
7299 * minibuffer.el: Revert change from 2013-08-20.
7300
7301 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7302 with text property `tramp-default', if appropriate.
7303 (tramp-check-proper-host): New defun.
7304 (tramp-dissect-file-name): Do not check hostname. Revert change
7305 of 2013-03-18.
7306 (tramp-backtrace): Make VEC-OR-PROC optional.
7307
7308 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7309 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7310 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7311 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7312 Apply `tramp-check-proper-host'.
78fc2530 7313
edca97cd
TH
73142013-08-26 Tassilo Horn <tsdh@gnu.org>
7315
7316 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7317 lambda expression in order to have `describe-variable' display it.
7318
df54bcbd
MA
73192013-08-26 Michael Albinus <michael.albinus@gmx.de>
7320
7321 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7322 BUF can be optional. (Bug#15186)
7323
eed99101
XF
73242013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7325
7326 * progmodes/flymake.el (flymake-get-real-file-name-function):
7327 Fix broken customization. (Bug#15184)
7328
b5eb9035
AM
73292013-08-25 Alan Mackenzie <acm@muc.de>
7330
8a51e842
AM
7331 Improve indentation of bracelists defined by macros (without "=").
7332
7333 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7334 expansion begins with "{", regard it as bracelist when it doesn't
7335 contain a ";".
7336
869455d4
AM
7337 Parse C++ inher-intro when there's a template split over 2 lines.
7338
7339 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7340 rigorously the search for "class" etc. followed by ":".
7341
7342 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7343 random languages a regexp which never matches rather than nil.
7344
b5eb9035
AM
7345 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7346
7347 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7348 (c-awk-regexp-one-line-possibly-open-char-list-re)
7349 (c-awk-one-line-possibly-open-regexp-re)
7350 (c-awk-one-line-non-syn-ws*-re): Remove.
7351 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7352 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7353 (c-awk-space*-unclosed-regexp-/-re): New constants.
7354 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7355 aren't regexp delimiters.
7356
7357 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7358 handling for a rare situation in AWK Mode involving unterminated
7359 strings/regexps.
7360
61611d54
GM
73612013-08-23 Glenn Morris <rgm@gnu.org>
7362
2d85dc34
GM
7363 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7364
cb8d2612
GM
7365 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7366
bb35f42f
GM
7367 * files.el (create-file-buffer): If the result would begin with
7368 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7369
b9808e77
SM
73702013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7371
e3a66363
SM
7372 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7373 text-properties (bug#15155).
7374
b9808e77
SM
7375 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7376 exist any more.
7377 (calc-keypad-redraw): Remove unused var `pad'.
7378 (calc-keypad-press): Remove unused var `menu'.
7379
7fd5f65e
MR
73802013-08-23 Martin Rudalics <rudalics@gmx.at>
7381
b9808e77
SM
7382 * window.el (display-buffer-pop-up-frame):
7383 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7384 use it as the new frame's buffer (Bug#15133).
7385
8352b530
SM
73862013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * calendar/timeclock.el: Minor cleanups.
7389 (timeclock-ask-before-exiting, timeclock-use-display-time):
7390 Use `symbol'.
7391 (timeclock-modeline-display): Define as alias before the
7392 actual definition.
7393 (timeclock-mode-line-display): Use define-minor-mode.
7394 (timeclock-day-list-template): Make it a function, add an argument.
7395 (timeclock-day-list-required, timeclock-day-list-length)
7396 (timeclock-day-list-debt, timeclock-day-list-span)
7397 (timeclock-day-list-break): Adjust calls accordingly.
7398
9f7b1925
SM
73992013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7400
7401 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7402 Use read--expression so that completion works again.
7403
6e50e983
SS
74042013-08-21 Sam Steingold <sds@gnu.org>
7405
7406 Add rudimentary inferior shell interaction
7407 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7408 (sh-set-shell): Reset it.
9f7b1925
SM
7409 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7410 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7411
dbb0d350
SM
74122013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 * align.el: Use lexical-binding.
7415 (align-region): Simplify accordingly.
7416
c88586a9
MA
74172013-08-20 Michael Albinus <michael.albinus@gmx.de>
7418
7419 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7420
7421 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7422 `non-essential' up.
7423
f95527c8
MA
74242013-08-17 Michael Albinus <michael.albinus@gmx.de>
7425
7426 * net/tramp.el:
7427 * net/tramp-adb.el:
7428 * net/tramp-cmds.el:
7429 * net/tramp-ftp.el:
7430 * net/tramp-gvfs.el:
7431 * net/tramp-gw.el:
7432 * net/tramp-sh.el: Don't wrap external variable declarations by
7433 `eval-when-compile'.
7434
4b5fe4ee
LMI
74352013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7436
7437 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7438 now that Emacs supports ImageMagick animations.
7439
13c366c9
MA
74402013-08-16 Michael Albinus <michael.albinus@gmx.de>
7441
7442 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7443 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7444
3dfc5cd6
MR
74452013-08-16 Martin Rudalics <rudalics@gmx.at>
7446
7447 * window.el (mouse-autoselect-window-select): Do autoselect when
7448 mouse pointer is on margin.
7449
4bbb4381
WP
74502013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7451
7452 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7453
3a2ddc2d
GM
74542013-08-16 Glenn Morris <rgm@gnu.org>
7455
e8bedf5a
GM
7456 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7457 Handle "Remote Directory" response of some clients. (Bug#15058)
7458
58c4682f
GM
7459 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7460 Tweak warning. (Bug#14926)
7461
57953f49
GM
7462 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7463 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7464
3a2ddc2d
GM
7465 * image-mode.el (image-mode-map): Add menu items to reverse,
7466 increase, decrease, reset animation speed.
7467 (image--set-speed, image-increase-speed, image-decrease-speed)
7468 (image-reverse-speed, image-reset-speed): New functions.
7469 (image-mode-map): Add bindings for speed commands.
7470
7471 * image.el (image-animate-get-speed, image-animate-set-speed):
7472 New functions.
7473 (image-animate-timeout): Respect image :speed property.
7474
10fa0ed3
SM
74752013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7478 previous line (bug#15101).
7479 (debugger-eval-expression, debugger-record-expression):
7480 Use read--expression (bug#15102).
7481
5d89d9d2
MA
74822013-08-15 Michael Albinus <michael.albinus@gmx.de>
7483
7484 Remove byte compiler warnings, visible when compiling with
7485 `byte-compile-force-lexical-warnings' set to t.
7486
7487 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7488 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7489 (tramp-handle-unhandled-file-name-directory)
7490 (tramp-handle-file-notify-add-watch, tramp-action-login)
7491 (tramp-action-succeed, tramp-action-permission-denied)
7492 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7493 arguments with "_".
7494
7495 * net/tramp-adb.el (tramp-adb-parse-device-names)
7496 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7497 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7498 (tramp-adb-handle-file-truename): Remove unused arguments.
7499
7500 * net/tramp-cache.el (tramp-flush-directory-property)
7501 (tramp-flush-connection-property, tramp-list-connections)
7502 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7503
10fa0ed3
SM
7504 * net/tramp-compat.el (tramp-compat-make-temp-file):
7505 Rename FILENAME to F.
5d89d9d2
MA
7506
7507 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7508 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7509 (tramp-zeroconf-parse-workstation-device-names)
7510 (tramp-zeroconf-parse-webdav-device-names)
7511 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7512
7513 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7514 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7515
7516 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7517 arguments.
7518 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7519 (tramp-sh-handle-insert-file-contents-literally)
7520 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7521 with "_".
7522 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7523 Remove unused variables.
7524
7525 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7526 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7527 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7528
7529 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7530 Make them a defconst.
7531 (tramp-uuencode-region): Remove unused variable.
7532
62f33bae
JB
75332013-08-14 Juanma Barranquero <lekktu@gmail.com>
7534
7535 * frameset.el (frameset--prop-setter): New function.
7536 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7537 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7538 parameter was already set in FILTERED. Doc fix.
7539 (frameset--record-minibuffer-relationships): Allow saving a
7540 minibufferless frame without its corresponding minibuffer frame.
7541 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7542 frame, if the frame id matches.
7543 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7544 frames before orphaned ones.
7545 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7546
c660a885
MR
75472013-08-14 Martin Rudalics <rudalics@gmx.at>
7548
7549 * window.el (window-make-atom): Don't overwrite parameter
7550 already present.
7551 (display-buffer-in-atom-window): Handle special case where we
7552 split an already atomic window.
7553 (window--major-non-side-window, display-buffer-in-side-window)
7554 (window--side-check): Ignore minibuffer window when walking
7555 window tree.
7556 (window-deletable-p): Return 'frame only if no other frame uses
7557 our minibuffer window.
7558 (record-window-buffer): Run buffer-list-update-hook.
7559 (split-window): Make sure window--check-frame won't destroy an
7560 existing atomic window in case the new window gets nested
7561 inside.
7562 (display-buffer-at-bottom): Ignore minibuffer window when
7563 walking window tree. Don't split a side window.
7564 (pop-to-buffer): Don't set-buffer here, the select-window call
7565 should do that.
7566 (mouse-autoselect-window-select): Autoselect only if we are in the
7567 text portion of the window.
7568
8259030d
LMI
75692013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7570
21c58ae2
LMI
7571 * net/shr.el (shr-parse-image-data): New function to grab both the
7572 data itself and the Content-Type.
7573 (shr-put-image): Use it.
7574
7575 * net/eww.el (eww-display-image): Ditto.
7576
8259030d
LMI
7577 * image.el (image-content-type-suffixes): New variable.
7578
ad756449
FEG
75792013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7580
7581 * progmodes/python.el (python-imenu--build-tree)
7582 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7583
f73f4ce6
XF
75842013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7585
7586 * simple.el (backward-word): Mention the optional argument.
7587
1f585e65
SM
75882013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7589
7590 * frameset.el (frameset--make): Rename constructor from make-frameset.
7591 (frameset-p, frameset-valid-p): Don't autoload.
7592 (frameset-valid-p): Use normal accessors.
7593
af1c6c84
GM
75942013-08-13 Glenn Morris <rgm@gnu.org>
7595
55e47f95
GM
7596 * progmodes/compile.el (compile-command): Tweak example in doc.
7597 * obsolete/scribe.el (scribe-mode):
7598 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7599
f0024d8c
GM
7600 * mail/feedmail.el (feedmail-confirm-outgoing)
7601 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7602
7603 * cus-start.el (truncate-partial-width-windows): Fix type.
7604
7605 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7606
af1c6c84
GM
7607 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7608
5514cc4c
SM
76092013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * emacs-lisp/timer.el (timer--time-setter): New function.
7612 (timer--time): Use it as gv-setter.
7613
7614 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7615 setter is not a symbol.
7616
7997a2f1
GJ
76172013-08-12 Grégoire Jadi <daimrod@gmail.com>
7618
7619 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7620 if sending fails. This makes debugging easier.
7621
01f1a9ab
JB
76222013-08-12 Juanma Barranquero <lekktu@gmail.com>
7623
7624 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7625 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7626 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7627
594a4307
EZ
76282013-08-12 Eli Zaretskii <eliz@gnu.org>
7629
7630 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7631
7a22490f 76322013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7633
7634 * format.el (format-annotate-function):
7635 Handle read-only text properties in the source. (Bug#14887)
7636
3e41a054
LMI
76372013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7638
5514cc4c
SM
7639 * net/eww.el (eww-display-html): Ignore coding system errors.
7640 One web site uses "utf-8lias" as the coding system.
3e41a054 7641
7ec326db
JB
76422013-08-11 Juanma Barranquero <lekktu@gmail.com>
7643
7644 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7645
5660113b
JB
76462013-08-10 Juanma Barranquero <lekktu@gmail.com>
7647
9a4ebc74
JB
7648 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7649 (tutorial--detailed-help): Remove unused local variables.
7650 (tutorial--save-tutorial-to): Use ignore-errors.
7651 (help-with-tutorial): Use looking-at-p.
7652
7653 * view.el (view-buffer-other-window, view-buffer-other-frame):
7654 Mark unused arguments.
7655
7656 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7657 (woman-select-symbol-fonts, woman, woman-find-file)
7658 (woman-insert-file-contents, woman-non-underline-faces):
7659 Use string-match-p.
7660 (woman1-unquote): Move declaration.
7661
7662 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7663 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7664 argument. Remove unused local variable.
7665 (xml-parse-elem-type): Use string-match-p.
7666 (xml-substitute-numeric-entities): Use ignore-errors.
7667
45fdb482
JB
7668 * calculator.el (calculator): Mark unused argument.
7669 (calculator-paste, calculator-quit, calculator-integer-p):
7670 Use ignore-errors.
7671 (calculator-string-to-number, calculator-decimal, calculator-exp)
7672 (calculator-op-or-exp): Use string-match-p.
7673
7674 * dired.el (dired-buffer-more-recently-used-p): Declare.
7675 (dired-insert-set-properties, dired-insert-old-subdirs):
7676 Use ignore-errors.
7677
7678 * dired-aux.el (dired-compress): Use ignore-errors.
7679 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7680 (dired-do-async-shell-command, dired-do-shell-command)
7681 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7682 (dired-insert-subdir-validate): Use string-match-p.
7683 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7684 (dired-add-entry): Use string-match-p, looking-at-p.
7685 (dired-insert-subdir-newpos): Remove unused local variable.
7686
7687 * filenotify.el (file-notify-callback): Remove unused local variable.
7688
7689 * filesets.el (filesets-error): Mark unused argument.
7690 (filesets-which-command-p, filesets-filter-dir-names)
7691 (filesets-directory-files, filesets-get-external-viewer)
7692 (filesets-ingroup-get-data): Use string-match-p.
7693
7694 * find-file.el (ff-other-file-name, ff-other-file-name)
7695 (ff-find-the-other-file, ff-cc-hh-converter):
7696 Remove unused local variables.
7697 (ff-get-file-name): Use string-match-p.
7698 (ff-all-dirs-under): Use ignore-errors.
7699
7700 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7701 (follow-select-if-visible): Remove unused local variable.
7702
7703 * forms.el (read-file-filter): Move declaration.
7704 (forms--make-format, forms--make-parser, forms-insert-record):
7705 Quote function with #'.
7706 (forms--update): Use string-match-p. Quote function with #'.
7707
7708 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7709 (help-make-xrefs): Use looking-at-p.
7710 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7711
7712 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7713 (ibuffer-confirm-operation-on): Use string-match-p.
7714
7715 * msb.el (msb-item-handler, msb-dired-item-handler):
7716 Mark unused arguments.
7717
7718 * ses.el (ses-decode-cell-symbol)
7719 (ses-kill-override): Remove unused local variable.
7720 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7721 (ses-load): Use ignore-errors, looking-at-p.
7722 (ses-jump-safe): Use ignore-errors.
7723 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7724
7725 * tabify.el (untabify, tabify): Mark unused arguments.
7726
7727 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7728 Mark unused argument.
7729 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7730 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7731
c880af52
JB
7732 * emacs-lisp/timer.el (timer--time): Define setter with
7733 gv-define-setter to avoid deprecation warning.
7734
5660113b 7735 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7736 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7737 (cmpl-statistics-block): Remove (body was commented out).
7738 All callers changed.
7739 (add-completions-from-buffer, load-completions-from-file):
7740 Remove unused variables.
7741
156aab80
JB
77422013-08-09 Juanma Barranquero <lekktu@gmail.com>
7743
5c5dee78
JB
7744 * filecache.el (file-cache-delete-file-list):
7745 Print message only when told so.
7746 (file-cache-files-matching): Use #' in mapconcat argument.
7747
156aab80
JB
7748 * ffap.el (ffap-url-at-point): Fix reference to variable
7749 thing-at-point-default-mail-uri-scheme.
7750
ad9dcd70
SM
77512013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7752
54bd972f
SM
7753 * subr.el (define-error): New function.
7754 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7755 error-file-not-found and define with define-error.
7756 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7757 and define with define-error.
7758 * userlock.el (file-locked, file-supersession):
7759 * simple.el (mark-inactive):
7760 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7761 * progmodes/ada-mode.el (ada-mode-errors):
7762 * play/life.el (life-extinct):
7763 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7764 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7765 * nxml/rng-util.el (rng-error):
7766 * nxml/rng-uri.el (rng-uri-error):
7767 * nxml/rng-match.el (rng-compile-error):
7768 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7769 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7770 * nxml/nxml-rap.el (nxml-scan-error):
7771 * nxml/nxml-outln.el (nxml-outline-error):
7772 * net/soap-client.el (soap-error):
7773 * net/gnutls.el (gnutls-error):
7774 * net/ange-ftp.el (ftp-error):
7775 * mpc.el (mpc-proc-error):
7776 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7777 (json-number-format, json-string-escape, json-string-format)
7778 (json-key-format, json-object-format):
7779 * jka-compr.el (compression-error):
7780 * international/quail.el (quail-error):
7781 * international/kkc.el (kkc-error):
7782 * emacs-lisp/ert.el (ert-test-failed):
7783 * calc/calc.el (calc-error, inexact-result, math-overflow)
7784 (math-underflow):
7785 * bookmark.el (bookmark-error-no-filename):
7786 * epg.el (epg-error): Define with define-error.
7787
0ea9e53a
SM
7788 * time.el (display-time-event-handler)
7789 (display-time-next-load-average): Don't call sit-for since it seems
7790 unnecessary (bug#15045).
7791
b0429158
SM
7792 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7793 Use #' instead of ' to quote functions.
7794 (checkdoc-output-mode): Use setq-local.
7795 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7796 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7797 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7798 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7799 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7800 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7801 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7802 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7803
ad9dcd70
SM
7804 * ido.el (ido-completion-help): Fix up compiler warning.
7805
77187e6f
JB
78062013-08-09 Juanma Barranquero <lekktu@gmail.com>
7807
7808 * frameset.el (frameset-p): Add autoload cookie.
7809 (frameset--jump-to-register): New function, based on code moved from
7810 register.el.
7811 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7812
7813 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7814 (frameset-restore, frameset-save, frameset-session-filter-alist):
7815 Remove declarations.
7816 (register-alist): Doc fix.
7817 (frameset-to-register): Move to frameset.el.
7818 (jump-to-register, describe-register-1): Remove frameset-specific code.
7819
9d3aa82c
JB
78202013-08-08 Juanma Barranquero <lekktu@gmail.com>
7821
7822 * allout-widgets.el (allout-widgets-pre-command-business)
7823 (allout-widgets-post-command-business)
7824 (allout-widgets-after-change-handler)
7825 (allout-decorate-item-and-context, allout-set-boundary-marker)
7826 (allout-body-modification-handler)
7827 (allout-graphics-modification-handler): Mark ignored arguments.
7828 (allout-widgets-post-command-business)
7829 (allout-widgets-exposure-change-processor)
7830 (allout-widgets-exposure-undo-processor)
7831 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7832 (allout-parse-item-at-point, allout-decorate-item-guides)
7833 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7834 * allout.el (epa-passphrase-callback-function): Declare.
7835 (allout-overlay-insert-in-front-handler)
7836 (allout-overlay-interior-modification-handler)
7837 (allout-isearch-end-handler, allout-chart-siblings)
7838 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7839 (allout-yank-processing, allout-process-exposed)
7840 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7841 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7842 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7843 (lisp-indent-defform): Mark ignored arguments.
7844 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7845 (calculate-lisp-indent): Remove unused variables.
7846 * international/characters.el (indian-2-column, arabic-2-column)
7847 (tibetan): Mark ignored arguments.
7848 (use-cjk-char-width-table): Mark ignored arguments.
7849 Remove unused variables.
7850 * international/fontset.el (build-default-fontset-data)
7851 (x-compose-font-name, create-fontset-from-fontset-spec):
7852 Mark ignored arguments.
7853 (fontset-plain-name): Remove unused variables.
7854 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7855 (keyboard-coding-system): Mark ignored arguments.
7856 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7857 * help.el (resize-temp-buffer-window):
7858 * window.el (display-buffer-in-major-side-window)
7859 (display-buffer-in-side-window, display-buffer-in-previous-window):
7860 Remove unused variables.
7861 * isearch.el (isearch-forward-symbol):
7862 * version.el (emacs-bzr-version-bzr):
7863 * international/mule-cmds.el (current-language-environment):
7864 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7865 (x-handle-display):
7866 * term/pc-win.el (x-list-fonts, x-display-planes)
7867 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7868 (x-server-version, x-display-screens, x-display-mm-height)
7869 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7870 (x-selection-owner-p, x-own-selection-internal)
7871 (x-disown-selection-internal, x-get-selection-internal)
7872 (msdos-initialize-window-system):
7873 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7874 * term/x-win.el (x-handle-no-bitmap-icon):
7875 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7876 (vc-default-find-file-hook, vc-default-extra-menu):
7877 Mark ignored arguments.
7878
0ca3f70e
SM
78792013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7882 break-condition in the context of the debugged code (bug#12685).
7883
74c5d24c
CS
78842013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7885
7886 * comint.el:
7887 Do not use an overlay to highlight the last prompt. (Bug#14744)
7888 (comint-mode): Make comint-last-prompt buffer local.
7889 (comint-last-prompt): New variable.
7890 (comint-last-prompt-overlay): Remove. Superseded by
7891 comint-last-prompt.
0ca3f70e
SM
7892 (comint-snapshot-last-prompt, comint-output-filter):
7893 Use comint-last-prompt.
74c5d24c 7894
c03c02ee
JB
78952013-08-08 Juanma Barranquero <lekktu@gmail.com>
7896
a3738d20 7897 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7898 (frameset-save): Check validity of the resulting frameset.
7899
04263d23
XF
79002013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7901
7902 * ido.el (ido-record-command): Add doc string.
7903
76c5e5ab
JB
79042013-08-08 Juanma Barranquero <lekktu@gmail.com>
7905
7906 * frameset.el (frameset): Do not disable creation of the default
7907 frameset-p predicate. Doc fix.
7908 (frameset-valid-p): New function, copied from the old predicate-p.
7909 Add additional checks.
7910 (frameset-restore): Check with frameset-valid-p.
7911 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7912 (frameset-name, frameset-description, frameset-properties)
7913 (frameset-states): Add docstring.
f9dbf1cb
JB
7914 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7915 (frameset-filter-alist): Doc fixes.
76c5e5ab 7916
bd0c3c0b
JB
79172013-08-08 Juanma Barranquero <lekktu@gmail.com>
7918
7919 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7920
c735544c
SM
79212013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7924 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7925 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7926 (byte-compile-normal-call): Remove obsolescence check.
7927
2805a651
JB
79282013-08-08 Juanma Barranquero <lekktu@gmail.com>
7929
3677ffeb
JB
7930 * frameset.el (frameset-restore): Doc fix.
7931
2805a651
JB
7932 * register.el (frameset-frame-id, frameset-frame-with-id)
7933 (frameset-p, frameset-restore, frameset-save): Declare.
7934 (register-alist): Document framesets.
7935 (frameset-session-filter-alist): Declare.
7936 (frameset-to-register): New function.
7937 (jump-to-register): Implement jumping to framesets. Doc fix.
7938 (describe-register-1): Describe framesets.
7939
7940 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7941
a912c016
JB
79422013-08-07 Juanma Barranquero <lekktu@gmail.com>
7943
7944 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7945 Use lexical-binding.
7946
7947 * frameset.el (frameset): Use type vector, not list (incompatible
7948 change). Do not declare a new constructor, use the default one.
7949 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7950 `name' and `description', respectively, and add read-only slot
7951 `timestamp'. Doc fixes.
7952 (frameset-copy, frameset-persistent-filter-alist)
7953 (frameset-filter-alist, frameset-switch-to-gui-p)
7954 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7955 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7956 (frameset-filter-iconified, frameset-keep-original-display-p):
7957 Doc fixes.
7958 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7959 Rename from frameset-filter-(save|restore)-param. All callers changed.
7960 Doc fix.
7961 (frameset-p): Adapt to change to vector and be more thorough.
7962 Change arg name to OBJECT. Doc fix.
7963 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7964 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7965 All callers changed.
7966 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7967 All callers changed.
7968 (frameset--record-minibuffer-relationships): Rename from
7969 frameset--process-minibuffer-frames. All callers changed.
7970 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7971 Use new default constructor (again). Doc fix.
c295fc18 7972 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7973 All callers changed.
7974 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7975 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7976 Doc fix.
7977 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7978 PARAMETERS and WINDOW-STATE, respectively.
7979 (frameset-restore): Add new keyword argument PREDICATE.
7980 Reset frameset--target-display to nil. Doc fix.
7981
bb41480a
SM
79822013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7983
f001e98e
SM
7984 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7985 (bat-mode): Use it.
7986 (bat-mode-syntax-table): Mark \n as end-of-comment.
7987 (bat-font-lock-keywords): Remove comment rule.
7988
7679edb1
SM
7989 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7990 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7991
bb41480a
SM
7992 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7993 (byte-compile-callargs-warn): Use `push'.
7994 (byte-compile-arglist-warn): Ignore higher-order "calls".
7995 (byte-compile-file-form-autoload): Use `pcase'.
7996 (byte-compile-function-form): If quoting a symbol, check that it exists.
7997
cdc1ebb9
EZ
79982013-08-07 Eli Zaretskii <eliz@gnu.org>
7999
8000 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8001 and add a few popular commands found in batch files.
8002 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8003 (dos-mode): Doc fixes.
8004
312b1740
SM
80052013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8006
8007 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8008 (dos-mode): Use setq-local. Add space after "rem".
8009 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8010 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8011
400a3178
AM
80122013-08-07 Arni Magnusson <arnima@hafro.is>
8013
8014 * progmodes/dos.el: New file.
8015 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8016 dos-mode.
8017
3b5c03d3
GM
80182013-08-06 Glenn Morris <rgm@gnu.org>
8019
8020 * calendar/calendar.el: Add new faces, and day-header-array.
8021 (calendar-weekday-header, calendar-weekend-header)
8022 (calendar-month-header): New faces.
8023 (calendar-day-header-construct): New function.
8024 (calendar-day-header-width): Also :set calendar-day-header-array.
8025 (calendar-american-month-header, calendar-european-month-header)
8026 (calendar-iso-month-header): Use calendar- faces.
8027 (calendar-generate-month):
8028 Use calendar-day-header-array for day headers; apply faces to them.
8029 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8030 (calendar-abbrev-construct): Add optional maxlen argument.
8031 (calendar-day-name-array): Doc fix.
8032 (calendar-day-name-array, calendar-abbrev-length)
8033 (calendar-day-abbrev-array):
8034 Also :set calendar-day-header-array, and maybe redraw.
8035 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8036 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8037 (calendar-day-name): Add option to use header array.
8038
ec6a2d7a
LMI
80392013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8040
8041 * net/shr.el (shr-render-td): Remove debugging.
8042 (shr-render-td): Make width computation consistent by defaulting
8043 all zero-width columns to 10 characters. This may not be optimal,
8044 but it's at least consistent.
2122cb6d
LMI
8045 (shr-make-table-1): Redo last change to fix the real problem in
8046 colspan handling.
ec6a2d7a 8047
ed4fd9c5
DA
80482013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8049
0ca3f70e
SM
8050 * files.el (cache-long-line-scans):
8051 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8052
64e22afe
JB
80532013-08-06 Juanma Barranquero <lekktu@gmail.com>
8054
024b38fc
JB
8055 * frameset.el (frameset, frameset-filter-alist)
8056 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8057 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8058 (frameset-compute-pos): Rename from frameset--compute-pos,
8059 and add docstring.
8060 (frameset-move-onscreen): Use frameset-compute-pos.
8061 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8062
64e22afe
JB
8063 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8064 Fix typos in docstrings.
8065
c8c2aca8
DA
80662013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8067
8068 * frame.el (get-other-frame): Tiny cleanup.
8069
1d237bba
JB
80702013-08-06 Juanma Barranquero <lekktu@gmail.com>
8071
8951efef
JB
8072 * vc/vc.el (vc-default-ignore-completion-table):
8073 Silence byte-compiler warning.
8074
307764cc 8075 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8076 slot, which can indeed be nil.
307764cc
JB
8077 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8078 Move entry for `left' from persistent to live filter alist.
8079 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8080 Doc fixes.
8081 (frameset-filter-params): When restoring a frame, copy items added to
8082 `filtered', to avoid unwittingly modifying the original parameters.
8083 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8084 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8085
1d237bba
JB
8086 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8087 to use looking-at-p instead of looking-at. (Bug#15028)
8088
dc6c0eda
SM
80892013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 Revert introduction of isearch-filter-predicates (bug#14714).
8092 Rely on add-function instead.
8093 * isearch.el (isearch-filter-predicates): Rename it back to
8094 isearch-filter-predicate.
8095 (isearch-message-prefix): Use advice-function-mapc and advice
8096 properties to get the isearch-message-prefix.
8097 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8098 instead of run-hook-with-args-until-failure.
8099 (isearch-filter-visible): Not obsolete any more.
8100 * loadup.el: Preload nadvice.
8101 * replace.el (perform-replace): Revert to funcall
8102 instead of run-hook-with-args-until-failure.
8103 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8104 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8105 dired-isearch-filenames-toggle; make it into a proper minor mode.
8106 Use add/remove-function.
8107 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8108 Call the minor-mode rather than add/remove-hook.
8109 (dired-isearch-filter-filenames):
8110 Remove isearch-message-prefix property.
8111 * info.el (Info--search-loop): New function, extracted from Info-search.
8112 Funcall isearch-filter-predicate instead of
8113 run-hook-with-args-until-failure isearch-filter-predicates.
8114 (Info-search): Use it.
8115 (Info-mode): Use isearch-filter-predicate instead of
8116 isearch-filter-predicates.
8117
290d5b58
DA
81182013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8119
8120 Do not call to `selected-window' where it is assumed by default.
8121 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8122 `window-hscroll', `window-width', `window-height', `window-buffer',
8123 `window-frame', `window-start', `window-point', `next-window'
8124 and `window-display-table'.
8125 * abbrev.el (abbrev--default-expand):
8126 * bs.el (bs--show-with-configuration):
8127 * buff-menu.el (Buffer-menu-mouse-select):
8128 * calc/calc.el (calc):
8129 * calendar/calendar.el (calendar-generate-window):
8130 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8131 (diary-make-entry):
8132 * comint.el (send-invisible, comint-dynamic-complete-filename)
8133 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8134 * completion.el (complete):
8135 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8136 * disp-table.el (describe-current-display-table):
8137 * doc-view.el (doc-view-insert-image):
8138 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8139 * ehelp.el (with-electric-help):
8140 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8141 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8142 * emacs-lisp/helper.el (Helper-help-scroller):
8143 * emulation/cua-base.el (cua--post-command-handler-1):
8144 * eshell/esh-mode.el (eshell-output-filter):
8145 * ffap.el (ffap-gnus-wrapper):
8146 * help-macro.el (make-help-screen):
8147 * hilit-chg.el (highlight-compare-buffers):
8148 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8149 * hl-line.el (global-hl-line-highlight):
8150 * icomplete.el (icomplete-simple-completing-p):
8151 * isearch.el (isearch-done):
8152 * jit-lock.el (jit-lock-stealth-fontify):
8153 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8154 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8155 * mpc.el (mpc-tagbrowser, mpc):
8156 * net/rcirc.el (rcirc-any-buffer):
8157 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8158 * play/landmark.el (landmark-max-width, landmark-max-height):
8159 * play/zone.el (zone):
8160 * progmodes/compile.el (compilation-goto-locus):
8161 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8162 * progmodes/etags.el (find-tag-other-window):
8163 * progmodes/fortran.el (fortran-column-ruler):
8164 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8165 * progmodes/verilog-mode.el (verilog-point-text):
8166 * reposition.el (reposition-window):
8167 * rot13.el (toggle-rot13-mode):
8168 * server.el (server-switch-buffer):
8169 * shell.el (shell-dynamic-complete-command)
8170 (shell-dynamic-complete-environment-variable):
8171 * simple.el (insert-buffer, set-selective-display)
8172 (delete-completion-window):
8173 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8174 (speedbar-recenter):
8175 * startup.el (fancy-splash-head):
8176 * textmodes/ispell.el (ispell-command-loop):
8177 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8178 * tutorial.el (help-with-tutorial):
8179 * vc/add-log.el (add-change-log-entry):
8180 * vc/compare-w.el (compare-windows):
8181 * vc/ediff-help.el (ediff-indent-help-message):
8182 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8183 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8184 (ediff-setup-control-frame):
8185 * vc/emerge.el (emerge-position-region):
8186 * vc/pcvs-util.el (cvs-bury-buffer):
8187 * window.el (walk-windows, mouse-autoselect-window-select):
8188 * winner.el (winner-set-conf, winner-undo): Related users changed.
8189
38276e01
JB
81902013-08-05 Juanma Barranquero <lekktu@gmail.com>
8191
8192 * frameset.el (frameset--set-id): Doc fix.
8193 (frameset-frame-id, frameset-frame-id-equal-p)
8194 (frameset-locate-frame-id): New functions.
8195 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8196 (frameset-restore): Use them.
8197
12b4c0ea
DA
81982013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8199
8200 Do not call to `selected-frame' where it is assumed by default.
8201 Affected functions are `raise-frame', `redraw-frame',
8202 `frame-first-window', `frame-terminal' and `delete-frame'.
8203 * calendar/appt.el (appt-disp-window):
8204 * epg.el (epg-wait-for-completion):
8205 * follow.el (follow-delete-other-windows-and-split)
8206 (follow-avoid-tail-recenter):
8207 * international/mule.el (set-terminal-coding-system):
8208 * mail/rmail.el (rmail-mail-return):
8209 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8210 * progmodes/f90.el (f90-add-imenu-menu):
8211 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8212 * server.el (server-switch-buffer):
8213 * simple.el (delete-completion-window):
8214 * talk.el (talk):
8215 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8216 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8217 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8218 * vc/ediff.el (ediff-documentation): Related users changed.
8219 * frame.el (selected-terminal): Remove the leftover.
8220
17f25e76
GM
82212013-08-05 Glenn Morris <rgm@gnu.org>
8222
8223 * calendar/calendar.el (calendar-generate-month):
8224 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8225 (calendar-generate-month, calendar-font-lock-keywords):
8226 Fix for calendar-day-header-width > length of any day name.
17f25e76 8227
063233c3
JB
82282013-08-05 Juanma Barranquero <lekktu@gmail.com>
8229
8230 * desktop.el (desktop-clear): Use new name of sort predicate.
8231
8232 * frameset.el (frameset): Add docstring. Move :version property to its
8233 own `version' slot.
8234 (frameset-copy): Rename from copy-frameset.
8235 (frameset-p): Check more thoroughly.
8236 (frameset-prop): Do not check for :version, which is no longer a prop.
8237 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8238 Use new :never value instead of t.
8239 (frameset-filter-alist): Expand and clarify docstring.
8240 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8241 (frameset-filter-minibuffer, frameset-filter-save-param)
8242 (frameset-filter-restore-param, frameset-filter-iconified):
8243 Add pointer to docstring of frameset-filter-alist.
8244 (frameset-filter-params): Rename filter values to be more meaningful:
8245 :never instead of t, and reverse the meanings of :save and :restore.
8246 (frameset--process-minibuffer-frames): Clarify error message.
8247 (frameset-save): Avoid unnecessary and confusing call to framep.
8248 Use new BOA constructor for framesets.
8249 (frameset--reuse-list): Doc fix.
8250 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8251 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8252 (frameset-minibufferless-first-p): Doc fix.
8253 Rename from frameset-sort-frames-for-deletion.
8254 (frameset-restore): Doc fixes. Use new function names.
8255 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8256
d5671a82
JB
82572013-08-04 Juanma Barranquero <lekktu@gmail.com>
8258
8259 * desktop.el (desktop-restore-forces-onscreen)
8260 (desktop-restore-reuses-frames): Document :keyword constant values.
8261 (desktop-filter-parameters-alist): Remove, now identical to
8262 frameset-filter-alist.
8263 (desktop--filter-tty*): Remove, moved to frameset.el.
8264 (desktop-save-frameset, desktop-restore-frameset):
8265 Do not pass :filters argument.
8266
8267 * frameset.el (frameset-live-filter-alist)
8268 (frameset-persistent-filter-alist): New variables.
8269 (frameset-filter-alist): Use them. Add autoload cookie.
8270 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8271 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8272 `frameset--id' (it's supposed to be internal to frameset.el).
8273 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8274 (frameset--initial-params): New function.
8275 (frameset--get-frame): Use it. Doc fix.
8276 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8277 Accept :all, not 'all.
8278 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8279 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8280 with fbound symbols. Fix frame id matching, and remove matching ids if
8281 the frame being restored is deleted. Obey :delete.
8282
671d5c16
SM
82832013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * subr.el (macrop): New function.
8286 (text-clone--maintaining): New var.
8287 (text-clone--maintain): Rename from text-clone-maintain. Use it
8288 instead of inhibit-modification-hooks.
8289
8290 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8291 a proxy, so as handle autoloads and redefinitions of the target.
8292 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8293
8294 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8295 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8296 (pcase--mutually-exclusive-p): New function.
8297 (pcase--split-consp): Use it.
8298 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8299 mutually exclusive with the current predicate.
8300
8301 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8302 (edebug-macrop): Remove. Use `macrop' instead.
8303 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8304 (ad-macro-p):
8305 * eshell/esh-cmd.el (eshell-macrop):
8306 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8307
1d44e9dc
SM
83082013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8311 (advice-mapc): New function, using it.
8312 (advice-function-member-p): New function.
8313 (advice--normalize): Store the cdr in advice--saved-rewrite since
8314 that's the part that will be changed.
8315 (advice--symbol-function): New function.
8316 (advice-remove): Handle removal before the function is defined.
8317 Adjust to new advice--saved-rewrite.
8318 (advice-member-p): Use advice-function-member-p and
8319 advice--symbol-function.
8320
5414a283
JB
83212013-08-04 Juanma Barranquero <lekktu@gmail.com>
8322
51d30f2c
JB
8323 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8324 (frameset-filter-minibuffer): Doc fix.
8325 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8326 (frameset--set-id, frameset--process-minibuffer-frames)
8327 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8328 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8329
5414a283
JB
8330 * desktop.el (desktop-clear): Only delete frames when called
8331 interactively and desktop-restore-frames is non-nil. Doc fix.
8332 (desktop-read): Set desktop-saved-frameset to nil.
8333
ab419665
XF
83342013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8335
8336 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8337 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8338 (vc--add-line, vc--remove-regexp): New functions.
8339
8340 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8341 (vc-svn-ignore-completion-table): New function.
8342
8343 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8344 (vc-hg-ignore-completion-table)
ab419665
XF
8345 (vc-hg-find-ignore-file): New functions.
8346
8347 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8348 (vc-git-ignore-completion-table)
ab419665
XF
8349 (vc-git-find-ignore-file): New functions.
8350
8351 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8352
8353 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8354 (vc-bzr-ignore-completion-table)
ab419665
XF
8355 (vc-bzr-find-ignore-file): New functions.
8356
2613dea2
JB
83572013-08-03 Juanma Barranquero <lekktu@gmail.com>
8358
8359 * frameset.el (frameset-prop): New function and setter.
8360 (frameset-save): Do not modify frame list passed by the caller.
8361
9c959872
SM
83622013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8365
a104f656
SM
83662013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8367
70122acf
SM
8368 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8369 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8370
a104f656
SM
8371 * custom.el (custom-initialize-default, custom-initialize-set)
8372 (custom-initialize-reset, custom-initialize-changed): Affect the
8373 toplevel-default-value (bug#6275, bug#14586).
8374 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8375 for bug#6275.
8376
f078d570
JB
83772013-08-02 Juanma Barranquero <lekktu@gmail.com>
8378
185e3b5a
JB
8379 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8380 Add cl-def* expressions.
8381
f078d570
JB
8382 * frameset.el (frameset-filter-params): Fix order of arguments.
8383
9421876d
JB
83842013-08-02 Juanma Barranquero <lekktu@gmail.com>
8385
8386 Move code related to saving frames to frameset.el.
8387 * desktop.el: Require frameset.
8388 (desktop-restore-frames): Doc fix.
8389 (desktop-restore-reuses-frames): Rename from
8390 desktop-restoring-reuses-frames.
8391 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8392 (desktop-clear): Clear frames too.
8393 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8394 (desktop--filter-tty*, desktop-save, desktop-read):
8395 Use frameset functions.
8396 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8397 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8398 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8399 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8400 (desktop--process-minibuffer-frames, desktop-save-frames)
8401 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8402 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8403 (desktop--sort-states, desktop-restoring-frames-p)
8404 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8405 (desktop-restoring-frameset-p, desktop-restore-frameset)
8406 (desktop--check-dont-save, desktop-save-frameset): New functions.
8407 (desktop--app-id): New constant.
8408 (desktop-first-buffer, desktop-buffer-ok-count)
8409 (desktop-buffer-fail-count): Move before first use.
8410 * frameset.el: New file.
8411
76dc5996
SM
84122013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8413
8414 * files.el: Use lexical-binding.
8415 (dir-locals-read-from-file): Remove unused `err' variable.
8416 (hack-dir-local-variables--warned-coding): New var.
8417 (hack-dir-local-variables): Use it to avoid repeated warnings.
8418 (make-backup-file-name--default-function): New function.
8419 (make-backup-file-name-function): Use it as default.
8420 (buffer-stale--default-function): New function.
8421 (buffer-stale-function): Use it as default.
8422 (revert-buffer-insert-file-contents--default-function): New function.
8423 (revert-buffer-insert-file-contents-function): Use it as default.
8424 (insert-directory): Avoid add-to-list.
8425
8426 * autorevert.el (auto-revert-handler): Simplify.
8427 Use buffer-stale--default-function.
8428
06d36e2b
TH
84292013-08-01 Tassilo Horn <tsdh@gnu.org>
8430
5f648ab4
TH
8431 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8432
06d36e2b
TH
8433 * whitespace.el (whitespace-ensure-local-variables): New function.
8434 (whitespace-cleanup-region): Call it.
8435 (whitespace-turn-on): Call it.
8436
a43dc424
MA
84372013-08-01 Michael Albinus <michael.albinus@gmx.de>
8438
8439 Complete file name handlers.
8440
8441 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8442 (tramp-handle-verify-visited-file-modtime)
8443 (tramp-handle-file-notify-rm-watch): New functions.
8444 (tramp-call-process): Do not bind `default-directory'.
8445
44e18199
JB
8446 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8447 Order alphabetically.
afe1e4c8
GM
8448 <access-file, add-name-to-file, dired-call-process>:
8449 <dired-compress-file, file-acl, file-notify-rm-watch>:
8450 <file-ownership-preserved-p, file-selinux-context>:
8451 <make-directory-internal, make-symbolic-link, set-file-acl>:
8452 <set-file-selinux-context, set-visited-file-modtime>:
8453 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8454 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8455
8456 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8457 <file-notify-add-watch, file-notify-rm-watch>:
8458 <set-file-times, set-visited-file-modtime>:
8459 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8460 (with-tramp-gvfs-error-message)
8461 (tramp-gvfs-handle-set-visited-file-modtime)
8462 (tramp-gvfs-fuse-file-name): Remove.
8463 (tramp-gvfs-handle-file-notify-add-watch)
8464 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8465 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8466
44e18199
JB
8467 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8468 Order alphabetically.
afe1e4c8
GM
8469 <file-notify-rm-watch>: Use default Tramp handler.
8470 <executable-find>: Remove private handler.
a43dc424
MA
8471 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8472 `default-directory'.
8473 (tramp-sh-handle-executable-find)
8474 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8475 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8476 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8477 Do not use `format' in `tramp-message'.
8478
8479 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8480 <file-notify-rm-watch, set-visited-file-modtime>:
8481 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8482 (tramp-smb-call-winexe): Do not bind `default-directory'.
8483
7188b515
XF
84842013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8485
8486 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8487
2412ee1a
DG
84882013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8489
8490 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8491 use it.
8492 (log-view-diff-changeset): Same.
8493 (log-view-diff-common): Call backend command `previous-revision'
8494 to find out the previous revision, in both cases. Swap the
8495 variables `to' and `fr', so that `fr' usually refers to the
8496 earlier revision (Bug#14989).
8497
5002a754
KRC
84982013-07-31 Kan-Ru Chen <kanru@kanru.info>
8499
8500 * ibuf-ext.el (ibuffer-filter-by-filename):
8501 Make it work with dired buffers too.
8502
44e18199 85032013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8504
8505 * emacs-lisp/re-builder.el (reb-color-display-p):
8506 * files.el (save-buffers-kill-terminal):
8507 * net/browse-url.el (browse-url):
8508 * server.el (server-save-buffers-kill-terminal):
8509 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8510 Prefer nil to selected-frame for the first arg of frame-parameter.
8511
aeca3fbb
XF
85122013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8513
8514 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8515
158bc55c
SB
85162013-07-30 Stephen Berman <stephen.berman@gmx.net>
8517
8518 * minibuffer.el (completion--twq-all): Try and preserve each
8519 completion's case choice (bug#14907).
8520
d50fceab
LMI
85212013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8522
ac38e731
LMI
8523 * net/network-stream.el (open-network-stream): Mention the new
8524 :nogreeting parameter.
8525 (network-stream-open-starttls): Use the :nogreeting parameter
8526 (bug#14938).
8527
1211de50
LMI
8528 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8529
997798bf
LMI
8530 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8531 more natural than popping.
8532
d50fceab 8533 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8534 (shr-urlify): Highlight under mouse.
d50fceab 8535
5c09de04
XF
85362013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8537
207d1d04
XF
8538 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8539
8540 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8541
5c09de04
XF
8542 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8543 buffer for output.
8544
3cd51eaa
XF
8545 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8546 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8547
44e18199 8548 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8549 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8550
8551 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8552
8553 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8554 buffer for output.
8555
35a89bdd
EZ
85562013-07-29 Eli Zaretskii <eliz@gnu.org>
8557
8558 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8559 initial frame is minibuffer-less. (Bug#14841)
8560
78822e94
MA
85612013-07-29 Michael Albinus <michael.albinus@gmx.de>
8562
8563 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8564 option.
8565
8566 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8567 (tramp-maybe-open-connection): Use it.
8568
9503c190
JB
85692013-07-28 Juanma Barranquero <lekktu@gmail.com>
8570
8571 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8572 minimal set of parameters passed when creating a frame, because
8573 the minibuffer status of a frame cannot be changed later.
8574
d5a845b4
SB
85752013-07-28 Stephen Berman <stephen.berman@gmx.net>
8576
8577 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8578 replace-regexp-in-string and inadvertent omissions in previous change.
8579 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8580 name of filtered items buffer.
d5a845b4 8581
ddeffb17
JB
85822013-07-28 Juanma Barranquero <lekktu@gmail.com>
8583
8584 * desktop.el: Optionally force offscreen frames back onscreen.
8585 (desktop-restoring-reuses-frames): New option.
8586 (desktop--compute-pos, desktop--move-onscreen): New functions.
8587 (desktop--make-frame): Use desktop--move-onscreen.
8588
f5950f7a
AM
85892013-07-27 Alan Mackenzie <acm@muc.de>
8590
8591 Fontify a Java generic method as a function.
8592 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8593 value to t.
8594
ae43b66a
SB
85952013-07-27 Stephen Berman <stephen.berman@gmx.net>
8596
8597 * calendar/todo-mode.el: Add command to rename todo files.
8598 (todo-rename-file): New command.
8599 (todo-key-bindings-t): Add key binding for it. Change the
8600 bindings of todo-filter-regexp-items(-multifile) to use `x'
8601 instead of `r', since the latter is better suited to the new
8602 renaming command.
8603
5ab78d3d
AM
86042013-07-27 Alan Mackenzie <acm@muc.de>
8605
8606 Make Java try-with-resources statement parse properly.
8607 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8608 (c-block-stmt-1-2-key): New language constants/variables.
8609 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8610 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8611 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8612 with c-block-stmt-1-2-key.
5ab78d3d 8613
d85c4d50
JB
86142013-07-27 Juanma Barranquero <lekktu@gmail.com>
8615
8616 * desktop.el (desktop--make-frame): Apply most frame parameters after
8617 creating the frame to force (partially or totally) offscreen frames to
8618 be restored as such.
8619
e4c467f9
XF
86202013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8621
8622 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8623 (Bug#14948)
e4c467f9 8624
7ced0d04
SM
86252013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8628 `base' arg of backtrace-frame.
8629
fec92060
EZ
86302013-07-26 Eli Zaretskii <eliz@gnu.org>
8631
8632 * simple.el (list-processes): Doc fix.
8633
d58d31fb
JB
86342013-07-26 Juanma Barranquero <lekktu@gmail.com>
8635
8636 * desktop.el (desktop--select-frame):
d85c4d50 8637 Try harder to reuse existing frames.
d58d31fb 8638
53ff3e77
SM
86392013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8640
8641 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8642 (edebug-eval): Use backtrace-eval.
8643 (edebug--display, edebug--recursive-edit): Don't let-bind the
8644 edebug-outer-* vars that keep track of variables we locally let-bind.
8645 (edebug-outside-excursion): Don't restore outside values of locally
8646 let-bound vars.
8647 (edebug--display): Use user-error.
8648 (cl-lexical-debug, cl-debug-env): Remove.
8649
045f7a53
JB
86502013-07-26 Juanma Barranquero <lekktu@gmail.com>
8651
8652 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8653 are restored to be sure that they are visible before deleting any
8654 remaining ones.
8655
59070b32
MM
86562013-07-26 Matthias Meulien <orontee@gmail.com>
8657
742a3501
XF
8658 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8659 vc-print-root-log. (Bug#14948)
59070b32 8660
b1fb3596
RS
86612013-07-26 Richard Stallman <rms@gnu.org>
8662
8663 Add aliases for encrypting mail.
8664 * epa.el (epa-mail-aliases): New option.
8665 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8666 Bind inhibit-read-only so read-only text doesn't ruin everything.
8667 (epa-mail-default-recipients): New subroutine broken out.
8668 Handle epa-mail-aliases.
8669
56ea7291
SM
86702013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8671
8672 Add support for lexical variables to the debugger's `e' command.
8673 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8674 vars, except for debugger-outer-match-data.
8675 (debugger-frame-number): Move check for "on a function call" from
8676 callers into it. Add `skip-base' argument.
8677 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8678 (debugger-env-macro): Only reset the state stored in non-variables,
8679 i.e. current-buffer and match-data.
8680 (debugger-eval-expression): Rewrite using backtrace-eval.
8681 * subr.el (internal--called-interactively-p--get-frame): Remove.
8682 (called-interactively-p):
8683 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8684 `base' arg of backtrace-frame instead.
8685
15ac32d5
GM
86862013-07-26 Glenn Morris <rgm@gnu.org>
8687
8358a09d
GM
8688 * align.el (align-regexp): Doc fix. (Bug#14857)
8689 (align-region): Explicit error if subexpression missing/does not match.
8690
15ac32d5
GM
8691 * simple.el (global-visual-line-mode):
8692 Do not duplicate the mode lighter. (Bug#14858)
8693
f47ad11b
MR
86942013-07-25 Martin Rudalics <rudalics@gmx.at>
8695
8696 * window.el (display-buffer): In display-buffer bind
8697 split-window-keep-point to t, bug#14829.
8698
02530987
JB
86992013-07-25 Juanma Barranquero <lekktu@gmail.com>
8700
8701 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8702 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8703 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8704 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8705 Change accordingly.
f63ebeb5
JB
8706 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8707 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8708
6ccb9cab 87092013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8710
6ccb9cab 8711 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8712
cb3a56d2
JB
87132013-07-25 Juanma Barranquero <lekktu@gmail.com>
8714
8715 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8716 parameter to modify-frame-parameters if the value has not changed;
8717 this is a workaround for bug#14949.
8718 (desktop--make-frame): On cl-delete-if call, check parameter name,
8719 not full parameter.
8720
7aa7fff0
XF
87212013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8722
8723 * vc/vc.el (vc-ignore): New function.
8724
8725 * vc/vc-svn.el (vc-svn-ignore): New function.
8726
8727 * vc/vc-hg.el (vc-hg-ignore): New function.
8728
8729 * vc/vc-git.el (vc-git-ignore): New function.
8730
8731 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8732 (vc-dir-ignore): New function.
8733
8734 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8735 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8736
8737 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8738
8739 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8740
889acc5c
JB
87412013-07-24 Juanma Barranquero <lekktu@gmail.com>
8742
8743 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8744 (desktop-restore-frames): Warn when deleting an existing frame failed.
8745
86c40970
GM
87462013-07-24 Glenn Morris <rgm@gnu.org>
8747
8748 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8749
d5d3c58a
MA
87502013-07-24 Michael Albinus <michael.albinus@gmx.de>
8751
8752 * filenotify.el (file-notify-supported-p):
8753 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8754 Remove functions.
8755
35e951cd 8756 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
8757 (auto-revert-notify-add-watch):
8758 * net/tramp.el (tramp-file-name-for-operation):
8759 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8761 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8762 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8763 Remove `file-notify-supported-p' entry.
8764
d100084b
GM
87652013-07-24 Glenn Morris <rgm@gnu.org>
8766
8767 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8768 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8769
ac93e56b
SM
87702013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8771
249eea30
SM
8772 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8773 checked with memq (bug#14935).
8774
ac93e56b
SM
8775 * files.el (revert-buffer-function): Use a non-nil default.
8776 (revert-buffer-preserve-modes): Declare var to
8777 provide access to the `preserve-modes' argument.
8778 (revert-buffer): Let-bind it.
8779 (revert-buffer--default): New function, extracted from revert-buffer.
8780
2cdeb903
SM
87812013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8782
8783 * lpr.el: Signal print errors more prominently.
8784 (print-region-function): Don't default to nil.
8785 (lpr-print-region): New function, extracted from print-region-1.
8786 Check lpr's return value and signal an error in case of problem.
8787 (print-region-1): Use it.
8788 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8789 versions instead.
8790 (ps-printer-name): Default to nil.
8791 (ps-printer-name-option): Default to lpr-printer-switch.
8792 (ps-print-region-function): Don't default to nil.
8793 (ps-postscript-code-directory): Simplify default.
8794 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8795 (ps-string-list, ps-eval-switch, ps-flatten-list)
8796 (ps-flatten-list-1): Remove.
8797 (ps-multibyte-buffer): Avoid setq.
8798 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8799 (print-region-function, ps-print-region-function): Don't set them here.
8800
73600831
XF
88012013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8802
35e951cd
JB
8803 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8804 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8805 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
8806 (ido-decorations): Doc fix.
8807
73600831
XF
8808 * ansi-color.el: Fix old URL.
8809
3d012865
MM
88102013-07-23 Michael R. Mauger <michael@mauger.com>
8811
e903c210 8812 * progmodes/sql.el: Version 3.3
3d012865
MM
8813 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8814 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8815 (sql-interactive-remove-continuation-prompt): Rewrite, use
8816 functions above. Fix continuation prompt and complete output line
8817 handling.
8818 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8819 redirected output buffer.
8820 (sql-mode): Restore deleted code (Bug#13591).
8821
da77a2e2
JB
88222013-07-23 Juanma Barranquero <lekktu@gmail.com>
8823
8824 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8825
80ff0c71
MA
88262013-07-23 Michael Albinus <michael.albinus@gmx.de>
8827
8828 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8829
8830 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8831 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8832 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8833
b61d71e4
JB
88342013-07-23 Juanma Barranquero <lekktu@gmail.com>
8835
8836 * desktop.el (desktop-clear): Simplify; remove useless checks
8837 against invalid buffer names.
8838 (desktop-list*): Use cl-list*.
8839 (desktop-buffer-info, desktop-create-buffer): Simplify.
8840
c3512092
LL
88412013-07-23 Leo Liu <sdl.web@gmail.com>
8842
8843 * bookmark.el (bookmark-make-record): Restore NAME as a default
8844 value. (Bug#14933)
8845
0ac26976
SM
88462013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8847
7d22ce18
SM
8848 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8849 extracted from autoload--insert-text.
8850 (autoload--insert-text): Remove.
8851 (autoload--print-cookie-text): New function, extracted from
8852 autoload--insert-cookie-text.
8853 (autoload--insert-cookie-text): Remove.
8854 (autoload-generate-file-autoloads): Adjust calls accordingly.
8855
9b2607e8
SM
8856 * winner.el (winner-hook-installed-p): Remove.
8857 (winner-mode): Simplify accordingly.
8858
c43a8618
SM
8859 * subr.el (add-to-list): Fix compiler-macro when `append' is
8860 not constant. Don't use `cl-member' for the base case.
8861
0ac26976
SM
8862 * progmodes/subword.el: Fix boundary case (bug#13758).
8863 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8864 own group.
8865 (subword-backward-regexp): Make it a constant.
8866 (subword-forward-internal): Don't treat a trailing capital as the
8867 beginning of a word.
8868
6874724a
AR
88692013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8870
8871 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8872 global value of tabulated-list-revert-hook (bug#14930).
8873
70f1b5e8
JB
88742013-07-22 Juanma Barranquero <lekktu@gmail.com>
8875
a1c80d9d
JB
8876 * desktop.el: Require 'cl-lib.
8877 (desktop-before-saving-frames-functions): New hook.
8878 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8879 for frames being saved. Rename from desktop--save-minibuffer-frames.
8880 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8881 Do not save frames with non-nil `desktop-dont-save' parameter.
8882 Filter out deleted frames.
a1c80d9d
JB
8883 (desktop--find-frame): Use cl-find-if.
8884 (desktop--select-frame): Use cl-(first|second|third) to access values
8885 of desktop-mini.
8886 (desktop--make-frame): Use cl-delete-if.
8887 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8888 (desktop-restore-frames): Use cl-(first|second|third) to access values
8889 of desktop-mini. Look for visible frame at the end, not while
8890 restoring frames.
8891
70f1b5e8
JB
8892 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8893 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8894 Use string-match-p, looking-at-p (bug#14927).
8895
728dc3cc
JB
88962013-07-21 Juanma Barranquero <lekktu@gmail.com>
8897
56bc453c
JB
8898 * desktop.el (desktop-saved-frame-states):
8899 Rename from desktop--saved-states; all users changed.
8900 (desktop-save-frames): Rename from desktop--save-frames.
8901 Do not save state to desktop file.
8902 (desktop-save): Save desktop-saved-frame-states to desktop file
8903 and reset to nil.
8904 (desktop-restoring-frames-p): New function.
8905 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8906 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8907 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8908
728dc3cc
JB
8909 * desktop.el: Correctly restore iconified frames.
8910 (desktop--filter-iconified-position): New function.
8911 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8912
862f1c9c
GM
89132013-07-20 Glenn Morris <rgm@gnu.org>
8914
c4074c9f
GM
8915 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8916 Let `message' do the formatting.
8917 (def-gdb-preempt-display-buffer): Add explicit format.
8918
d828e5f9
GM
8919 * image-dired.el (image-dired-track-original-file):
8920 Use with-current-buffer.
8921 (image-dired-track-thumbnail): Use with-current-buffer.
8922 Avoid changing point of wrong window.
8923
862f1c9c
GM
8924 * image-dired.el (image-dired-track-original-file):
8925 Avoid changing point of wrong window. (Bug#14909)
8926
f0398ec1 89272013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8928
8929 * progmodes/gdb-mi.el (gdb-done-or-error):
8930 Guard against "%" in gdb output. (Bug#14127)
8931
1451928f
AS
89322013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8933
763a086d
JB
8934 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8935 (Bug#14826)
f7a03897 8936
1451928f
AS
8937 * international/mule.el (coding-system-iso-2022-flags): Fix last
8938 change.
8939
99107004
KH
89402013-07-20 Kenichi Handa <handa@gnu.org>
8941
763a086d
JB
8942 * international/mule.el (coding-system-iso-2022-flags):
8943 Add `8-bit-level-4'. (Bug#8522)
99107004 8944
48494e06
LMI
89452013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8946
8ba8eec5
LMI
8947 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8948 (bug#14815).
8949
dfbc66e3
LMI
8950 * net/eww.el (eww-process-text-input): Allow inputting when the
8951 point is at the start of the line, as the properties aren't
8952 front-sticky.
8953
48494e06
LMI
8954 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8955 degenerate widths.
8956
77c92cb9
RS
89572013-07-19 Richard Stallman <rms@gnu.org>
8958
aec7da77
RS
8959 * epa.el (epa-popup-info-window): Doc fix.
8960
77c92cb9
RS
8961 * subr.el (split-string): New arg TRIM.
8962
945c5bb1
JB
89632013-07-18 Juanma Barranquero <lekktu@gmail.com>
8964
8965 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8966 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8967
e06ec67f
MA
89682013-07-18 Michael Albinus <michael.albinus@gmx.de>
8969
c7064f05 8970 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8971 `file-notify-support'. Do not autoload. Adapt all uses.
8972 (file-notify-supported-p): New defun.
8973
c7064f05
JB
8974 * autorevert.el (auto-revert-use-notify):
8975 Use `file-notify-supported-p' instead of `file-notify-support'.
8976 Adapt docstring.
e06ec67f
MA
8977 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8978
8979 * net/tramp.el (tramp-file-name-for-operation):
8980 Add `file-notify-supported-p'.
8981
8982 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8983 New defun.
8984 (tramp-sh-file-name-handler-alist): Add it as handler for
8985 `file-notify-supported-p '.
8986
8987 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8988 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8989 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8990 Add `ignore' as handler for `file-notify-*' functions.
8991
5dc8a629
EZ
89922013-07-17 Eli Zaretskii <eliz@gnu.org>
8993
8994 * simple.el (line-move-partial, line-move): Don't start vscroll or
8995 scroll-up if the current line is not taller than the window.
8996 (Bug#14881)
8997
77aea2fb
DG
89982013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8999
9000 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9001 highlight question marks in the method names as strings.
ac72c08d
DG
9002 (ruby-block-beg-keywords): Inline.
9003 (ruby-font-lock-keyword-beg-re): Extract from
9004 `ruby-font-lock-keywords'.
77aea2fb 9005
18c26d81
JD
90062013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9007
9008 * frame.el (blink-cursor-blinks): New defcustom.
9009 (blink-cursor-blinks-done): New defvar.
9010 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9011 (blink-cursor-timer-function): Check if number of blinks has been
9012 done on X and NS.
9013 (blink-cursor-suspend, blink-cursor-check): New defuns.
9014
da48522e
GM
90152013-07-15 Glenn Morris <rgm@gnu.org>
9016
9017 * edmacro.el (edmacro-format-keys): Fix previous change.
9018
0463c1ef
PE
90192013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9020
9021 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9022 The hack didn't work outside English locales anyway.
9023
b43f6451
JB
90242013-07-15 Juanma Barranquero <lekktu@gmail.com>
9025
9026 * simple.el (define-alternatives): Rename from alternatives-define,
9027 per RMS' suggestion.
9028
b958c0ad
JB
90292013-07-14 Juanma Barranquero <lekktu@gmail.com>
9030
9031 * desktop.el (desktop-restore-frames): Change default to t.
9032 (desktop-restore-in-current-display): Now offer more options.
9033 (desktop-restoring-reuses-frames): New customization option.
9034 (desktop--saved-states): Doc fix.
9035 (desktop-filter-parameters-alist): New variable, renamed and expanded
9036 from desktop--excluded-frame-parameters.
9037 (desktop--target-display): New variable.
9038 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9039 (desktop--filter-tty*, desktop--filter-*-color)
9040 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9041 (desktop--filter-save-desktop-parm)
9042 (desktop-restore-in-original-display-p): New functions.
9043 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9044 (desktop--save-minibuffer-frames): New function, inspired by a similar
9045 function from Martin Rudalics.
9046 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9047 (desktop--restore-in-this-display-p): Remove.
9048 (desktop--find-frame): Rename from desktop--find-frame-in-display
9049 and add predicate argument.
9050 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9051 (desktop--reuse-list): New variable.
9052 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9053 New functions.
9054 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9055
f6dd8b36
MA
90562013-07-14 Michael Albinus <michael.albinus@gmx.de>
9057
9058 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9059
2ce3c565
DG
90602013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9061
763a086d
JB
9062 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9063 Highlight conversion methods on Kernel.
2ce3c565 9064
2cdb7698
AM
90652013-07-13 Alan Mackenzie <acm@muc.de>
9066
9067 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9068 and comment it out. This out-commenting enables certain C++
9069 declarations to be parsed correctly.
9070
1a67b811
EZ
90712013-07-13 Eli Zaretskii <eliz@gnu.org>
9072
1b796d6b
EZ
9073 * international/mule.el (define-coding-system): Doc fix.
9074
1a67b811
EZ
9075 * simple.el (default-font-height): Don't call font-info if the
9076 frame's default font didn't change since the frame was created.
9077 (Bug#14838)
9078
58fbe886
LL
90792013-07-13 Leo Liu <sdl.web@gmail.com>
9080
9081 * ido.el (ido-read-file-name): Guard against non-symbol value.
9082
1f0480d4
FEG
90832013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9084
9085 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9086 in nested defuns.
9087
97ead0e5
LL
90882013-07-13 Leo Liu <sdl.web@gmail.com>
9089
9090 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9091 ido-set-matches call. (Bug#6852)
9092
0880a952
DG
90932013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9094
35e951cd 9095 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9096 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9097 Ruby 2.0.
9098 (ruby-font-lock-keywords): Distinguish calls to functions with
9099 module-like names from module references. Highlight character
9100 literals.
9101
a7d8babb
SDJ
91022013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9103
9104 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9105 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9106
acfcc8c5
JB
91072013-07-12 Juanma Barranquero <lekktu@gmail.com>
9108
9109 * desktop.el (desktop--v2s): Remove unused local variable.
9110 (desktop-save-buffer): Make defvar-local; adjust docstring.
9111 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9112 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9113
051f2775
AS
91142013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9115
9116 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9117
f24e7572
GM
91182013-07-12 Eli Zaretskii <eliz@gnu.org>
9119
9120 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9121 (Bug#14842)
9122
539a920c
GM
91232013-07-12 Glenn Morris <rgm@gnu.org>
9124
9125 * doc-view.el: Require cl-lib at runtime too.
9126 (doc-view-remove-if): Remove.
9127 (doc-view-search-next-match, doc-view-search-previous-match):
9128 Use cl-remove-if.
9129
9130 * edmacro.el: Require cl-lib at runtime too.
9131 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9132 (edmacro-mismatch, edmacro-subseq): Remove.
9133
9134 * shadowfile.el: Require cl-lib.
9135 (shadow-remove-if): Remove.
9136 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9137 Use cl-remove-if.
9138
9139 * wid-edit.el: Require cl-lib.
9140 (widget-choose): Use cl-remove-if.
9141 (widget-remove-if): Remove.
9142
9143 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9144 (ebrowse-delete-if-not): Remove.
9145 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9146 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9147 Use cl-delete-if-not.
9148
1048af7c
JB
91492013-07-12 Juanma Barranquero <lekktu@gmail.com>
9150
9151 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9152 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9153
6c0674ee
LL
91542013-07-12 Leo Liu <sdl.web@gmail.com>
9155
9156 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9157
a19b3c2d
GM
91582013-07-11 Glenn Morris <rgm@gnu.org>
9159
4582a01c
GM
9160 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9161 (edebug-gensym-index, edebug-gensym):
9162 Remove reimplementation of cl-gensym.
9163 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9164
9165 * thumbs.el: Require cl-lib at run-time too.
9166 (thumbs-gensym-counter, thumbs-gensym):
9167 Remove reimplementation of cl-gensym.
9168 (thumbs-temp-file): Use cl-gensym.
9169
a19b3c2d
GM
9170 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9171 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9172 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9173 (ert--union, ert--gensym-counter, ert--gensym-counter)
9174 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9175 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9176 (ert-make-test-unbound, ert--expand-should-1)
9177 (ert--expand-should, ert--should-error-handle-error)
9178 (should-error, ert--explain-equal-rec)
9179 (ert--plist-difference-explanation, ert-select-tests)
9180 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9181 Use cl-lib functions rather than reimplementations.
9182
88f6a933
MA
91832013-07-11 Michael Albinus <michael.albinus@gmx.de>
9184
9185 * net/tramp.el (tramp-methods): Extend docstring.
9186 (tramp-connection-timeout): New defcustom.
9187 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9188 (with-tramp-progress-reporter): Simplify.
9189 (tramp-process-actions): Improve messages.
9190
9191 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9192 * net/tramp-sh.el (tramp-maybe-open-connection):
9193 Use `tramp-connection-timeout'.
afe1e4c8 9194 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9195 (Bug#14808)
9196
a43d577e
LL
91972013-07-11 Leo Liu <sdl.web@gmail.com>
9198
9199 * ido.el (ido-read-file-name): Conform to the requirements of
9200 read-file-name. (Bug#11861)
9201 (ido-read-directory-name): Conform to the requirements of
9202 read-directory-name.
9203
d77974bf
JB
92042013-07-11 Juanma Barranquero <lekktu@gmail.com>
9205
9206 * subr.el (delay-warning): New function.
9207
35cb8a3e
EZ
92082013-07-10 Eli Zaretskii <eliz@gnu.org>
9209
9210 * simple.el (default-line-height): New function.
9211 (line-move-partial, line-move): Use it instead of computing the
9212 line height inline.
9213 (line-move-partial): Always compute ROWH. If the last line is
9214 partially-visible, but its text is completely visible, allow
9215 cursor to enter such a partially-visible line.
9216
525c5c77
MA
92172013-07-10 Michael Albinus <michael.albinus@gmx.de>
9218
9219 Improve error messages. (Bug#14808)
9220
9221 * net/tramp.el (tramp-current-connection): New defvar, moved from
9222 tramp-sh.el.
0ac26976 9223 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9224 needed anymore.
0ac26976
SM
9225 (tramp-error-with-buffer): Show message in minibuffer.
9226 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9227 (with-tramp-progress-reporter): Improve messages.
9228 (tramp-process-actions): Use progress reporter. Delete process in
9229 case of error. Improve messages.
9230
763a086d
JB
9231 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9232 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9233 (tramp-current-connection): Remove.
525c5c77
MA
9234 (tramp-maybe-open-connection): The car of
9235 `tramp-current-connection' are the first 3 slots of the vector.
9236
c7a4d368
TZ
92372013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9238
9239 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9240 inside continued strings.
9241
954b166e
PE
92422013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9243
9244 Timestamp fixes for undo (Bug#14824).
9245 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9246
56973319
LL
92472013-07-10 Leo Liu <sdl.web@gmail.com>
9248
9249 * files.el (require-final-newline): Allow safe local value.
9250 (Bug#14834)
9251
5550a72c
LL
92522013-07-09 Leo Liu <sdl.web@gmail.com>
9253
9254 * ido.el (ido-read-directory-name): Handle fallback.
9255 (ido-read-file-name): Update DIR to ido-current-directory.
9256 (Bug#1516)
c28b9050 9257 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9258
70c46b28
DG
92592013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9260
9261 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9262 "autoload". Remove "warn lower camel case" section, previously
9263 commented out. Highlight negation char. Do not highlight the
9264 target in singleton method definitions.
9265
0b64b838
SM
92662013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9267
7fd72e2c
SM
9268 * faces.el (tty-setup-hook): Declare the hook.
9269
0b64b838
SM
9270 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9271 and detect when a guard/pred depends on local vars (bug#14773).
9272 (pcase--u1): Adjust caller.
9273
ab49d60b
EZ
92742013-07-08 Eli Zaretskii <eliz@gnu.org>
9275
9276 * simple.el (line-move-partial, line-move): Account for
9277 line-spacing.
701d79aa
EZ
9278 (line-move-partial): Avoid setting vscroll when the last
9279 partially-visible line in window is of default height.
ab49d60b 9280
2d756ae0
LMI
92812013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9282
9283 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9284 been used a while.
9285
ed095bd7
JB
92862013-07-07 Juanma Barranquero <lekktu@gmail.com>
9287
9288 * subr.el (read-quoted-char): Remove unused local variable `char'.
9289
f1e6674b
MK
92902013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9291
584ee3fc
GM
9292 * ediff.el (ediff-version): Version update.
9293 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9294 (ediff-merge-with-ancestor-command, ediff-directories-command)
9295 (ediff-directories3-command, ediff-merge-directories-command)
9296 (ediff-merge-directories-with-ancestor-command): New functions.
9297 All are command-line interfaces to ediff: to facilitate calling
9298 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9299
9300 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9301 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9302
584ee3fc
GM
9303 * viper.el (viper-version): Version update.
9304 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9305
584ee3fc
GM
93062013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9309 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9310 (viper-intercept-ESC-key): Simplify.
9311 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9312 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9313 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9314 (viper-setup-ESC-to-escape): New functions.
9315 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9316 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9317
9aff9b38
EZ
93182013-07-07 Eli Zaretskii <eliz@gnu.org>
9319
5165d44a
JB
9320 * simple.el (default-font-height, window-screen-lines):
9321 New functions.
9aff9b38
EZ
9322 (line-move, line-move-partial): Use them instead of
9323 frame-char-height and window-text-height. This makes scrolling
9324 text smoother when the buffer's default face uses a font that is
9325 different from the frame's default font.
9326
1afb1d07
JD
93272013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9328
9329 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9330 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9331
23de972a
EZ
93322013-07-06 Eli Zaretskii <eliz@gnu.org>
9333
9334 * simple.el (line-move-partial): Adjust the row returned by
9335 posn-at-point for the current window-vscroll. (Bug#14567)
9336
54a42486
MA
93372013-07-06 Michael Albinus <michael.albinus@gmx.de>
9338
35e951cd 9339 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9340 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9341 spaces.
9342
34ada5f4
MR
93432013-07-06 Martin Rudalics <rudalics@gmx.at>
9344
9345 * window.el (window-state-put-stale-windows): New variable.
9346 (window--state-put-2): Save list of windows without matching buffer.
9347 (window-state-put): Remove "bufferless" windows if possible.
9348
11e03d89
JB
93492013-07-06 Juanma Barranquero <lekktu@gmail.com>
9350
9351 * simple.el (alternatives-define): Remove leftover :group keyword.
9352 Tweak docstring.
9353
3504a4be
LL
93542013-07-06 Leo Liu <sdl.web@gmail.com>
9355
9356 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9357 (ido-enable-virtual-buffers): New variable.
9358 (ido-buffer-internal, ido-toggle-virtual-buffers)
9359 (ido-make-buffer-list): Use it.
9360 (ido-exhibit): Support turning on and off virtual buffers
9361 automatically.
9362
61e56e2c
JB
93632013-07-06 Juanma Barranquero <lekktu@gmail.com>
9364
9365 * simple.el (alternatives-define): New macro.
9366
321e1a9c
SM
93672013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * subr.el (read-quoted-char): Use read-key.
9370 (sit-for): Let read-event decode tty input (bug#14782).
9371
d610f6dd
SB
93722013-07-05 Stephen Berman <stephen.berman@gmx.net>
9373
9374 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9375 mode command and externally. Fix various related bugs.
9376 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9377 (todo-delete-file): New command.
9378 (todo-check-file): New function.
9379 (todo-show): Handle external deletion of the file we're trying to
9380 show (bug#14688). Replace called-interactively-p by an optional
9381 prefix argument to avoid problematic interaction with catch form
9382 when byte compiled (bug#14702).
9383 (todo-quit): Handle external deletion of the archive's todo file.
9384 Make sure the buffer that was visiting the archive file is still
9385 live before trying to bury it.
9386 (todo-category-completions): Handle external deletion of any
9387 category completion files.
9388 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9389 of todo files, in case of external deletion.
9390 (todo-add-file): Replace unnecessary setq by let-binding.
9391 (todo-find-archive): Check whether there are any archives.
9392 Replace unnecessary setq by let-binding.
9393 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9394 archive buffer whether or not the archive already exists.
9395 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9396 check if the archive is new; if it is, update list of archives.
9397 (todo-default-todo-file): Allow nil to be a valid value for when
9398 there are no todo files.
9399 (todo-reevaluate-default-file-defcustom): Use corrected definition
9400 of todo-default-todo-file.
9401 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9402 (todo-delete-category, todo-show-categories-table)
9403 (todo-category-number): Clarify comment.
9404 (todo-filter-items): Clarify documentation string.
9405 (todo-show-current-file, todo-display-as-todo-file)
9406 (todo-reset-and-enable-done-separator): Tweak documentation string.
9407 (todo-done-separator): Make separator length window-width, since
9408 bug#2749 is now fixed.
9409
ddbdfd6f
MA
94102013-07-05 Michael Albinus <michael.albinus@gmx.de>
9411
321e1a9c
SM
9412 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9413 Support both "gvfs-monitor-dir" and "inotifywait".
9414 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9415 `tramp-sh-file-notify-process-filter'.
9416 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9417 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9418
96eb829a
LL
94192013-07-05 Leo Liu <sdl.web@gmail.com>
9420
9421 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9422
cf13177e
YM
94232013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9424
9425 * frame.el (display-pixel-height, display-pixel-width)
9426 (display-mm-height, display-mm-width): Mention behavior on
9427 multi-monitor setups in docstrings.
9428 (w32-display-monitor-attributes-list): Declare function.
9429 (display-monitor-attributes-list): Use it.
9430
864c58ca
MA
94312013-07-04 Michael Albinus <michael.albinus@gmx.de>
9432
9433 * filenotify.el: New package.
9434
9435 * autorevert.el (top): Require filenotify.el.
9436 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9437 instead.
9438 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9439 (auto-revert-notify-handler): Use `file-notify-*' functions.
9440
9441 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9442
321e1a9c
SM
9443 * net/tramp.el (tramp-file-name-for-operation):
9444 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9445
9446 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9447 for `file-notify-add-watch' and `file-notify-rm-watch'.
9448 (tramp-process-sentinel): Improve trace.
9449 (tramp-sh-handle-file-notify-add-watch)
9450 (tramp-sh-file-notify-process-filter)
9451 (tramp-sh-handle-file-notify-rm-watch)
9452 (tramp-get-remote-inotifywait): New defuns.
9453
96673afe
JL
94542013-07-03 Juri Linkov <juri@jurta.org>
9455
9456 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9457 call of `occur-read-primary-args' to interactive spec.
9458
9459 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9460 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9461
924494f4
MM
94622013-07-03 Matthias Meulien <orontee@gmail.com>
9463
9464 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9465 `Buffer-menu-multi-occur'. Add it to the menu.
9466 (Buffer-menu-mode): Document it in docstring.
9467 (Buffer-menu-multi-occur): New command. (Bug#14673)
9468
56f75efc
DG
94692013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9470
9471 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9472 keywords and built-ins.
9473
9b057d61
GM
94742013-07-03 Glenn Morris <rgm@gnu.org>
9475
208dee4d
GM
9476 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9477
9b057d61
GM
9478 Make info-xref checks case-sensitive by default
9479 * info.el (Info-find-node, Info-find-in-tag-table)
9480 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9481 Add option for exact case matching of nodes.
9482 * info-xref.el (info-xref): New custom group.
9483 (info-xref-case-fold): New option.
9484 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9485
e01aa29c
LL
94862013-07-03 Leo Liu <sdl.web@gmail.com>
9487
9488 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9489
3086ca2e
DG
94902013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9491
9492 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9493 middle of block statement initially, lower the depth. Remove
9494 FIXME comment, not longer valid. Remove middle of block statement
9495 detection, no need to do that anymore since we've been using
9496 `ruby-parse-region' here.
9497
a3b49114
JD
94982013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9499
9500 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9501
08e5c823 95022013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9503
9504 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9505
2addf922
JB
95062013-07-01 Juanma Barranquero <lekktu@gmail.com>
9507
9508 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9509 (desktop-restore-in-current-display): New customization option.
9510 (desktop--excluded-frame-parameters): Add `font'.
9511 (desktop--save-frames): Rename from desktop--save-windows.
9512 (desktop--restore-in-this-display-p): New function.
9513 (desktop--make-full-frame): Remove unwanted width/height from
9514 full(width|height) frames.
9515 (desktop--restore-frames): Rename from desktop--restore-windows.
9516 Obey desktop-restore-current-display. Do not delete old frames or
9517 select a new frame unless we were able to restore at least one frame.
9518
ef099a94
MN
95192013-06-30 Michal Nazarewicz <mina86@mina86.com>
9520
9521 * files.el (find-file-noselect): Simplify conditional expression.
9522
a12bf61e 9523 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9524 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9525
9526 Add `remember-notes' function to store random notes across Emacs
9527 restarts.
3fcfc4ee
JB
9528 * textmodes/remember.el (remember-data-file): Add :set callback to
9529 affect notes buffer (if any).
ef099a94
MN
9530 (remember-notes): New command.
9531 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9532 New defcustoms for the `remember-notes' function.
9533 (remember-notes-save-and-bury-buffer): New command.
9534 (remember-notes-mode-map): New variable.
9535 (remember-mode): New minor mode.
9536 (remember-notes--kill-buffer-query): New function.
9537 * startup.el (initial-buffer-choice): Add notes to custom type.
9538
0865d506
EZ
95392013-06-30 Eli Zaretskii <eliz@gnu.org>
9540
0ba54312
EZ
9541 * bindings.el (right-char, left-char): Don't call sit-for, this is
9542 no longer needed. Use arithmetic comparison only for numerical
9543 arguments.
9544
ef099a94
MN
9545 * international/mule-cmds.el (select-safe-coding-system):
9546 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9547
2fae38e5
LMI
95482013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9549
9550 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9551 progression on degenerate tables.
ef099a94 9552 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9553
a47cbd64
JB
95542013-06-30 Juanma Barranquero <lekktu@gmail.com>
9555
9556 Some fixes and improvements for desktop frame restoration.
9557 It is still experimental and disabled by default.
9558 * desktop.el (desktop--save-windows): Put the selected frame at
9559 the head of the list.
9560 (desktop--make-full-frame): New function.
9561 (desktop--restore-windows): Try to re-select the frame that was
9562 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9563 just show an error message and continue. Set up maximized frames
9564 so they have default non-maximized dimensions.
a47cbd64 9565
6dbafa30
DG
95662013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9567
ef099a94
MN
9568 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9569 Don't start heredoc inside a string or comment.
6dbafa30 9570
4c672a0f
EZ
95712013-06-29 Eli Zaretskii <eliz@gnu.org>
9572
9573 * bindings.el (visual-order-cursor-movement): New defcustom.
9574 (right-char, left-char): Provide visual-order cursor motion by
9575 calling move-point-visually. Update the doc strings.
9576
50960f36
KH
95772013-06-28 Kenichi Handa <handa@gnu.org>
9578
9579 * international/mule.el (define-coding-system): New coding system
9580 properties :inhibit-null-byte-detection,
9581 :inhibit-iso-escape-detection, and :prefer-utf-8.
9582 (set-buffer-file-coding-system): If :charset-list property of
9583 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9584 appropriate for setting.
9585
c1ea3abf
JB
9586 * international/mule-cmds.el (select-safe-coding-system):
9587 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9588 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9589
9590 * international/mule-conf.el (prefer-utf-8): New coding system.
9591 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9592 files.
9593
75dbaf9d
IK
95942013-06-28 Ivan Kanis <ivan@kanis.fr>
9595
eadb6068
IK
9596 * net/shr.el (shr-render-region): New function.
9597
75dbaf9d
IK
9598 * net/eww.el: Autoload `eww-browse-url'.
9599
9ea5cf9f
DG
96002013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9601
c1ea3abf
JB
9602 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9603 Adapt to `package-desc-version' being a list.
9604 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9605 archive element.
9606
39c0e36f
JB
96072013-06-27 Juanma Barranquero <lekktu@gmail.com>
9608
9609 New experimental feature to save&restore window and frame setup.
9610 * desktop.el (desktop-save-windows): New defcustom.
9611 (desktop--saved-states): New var.
9612 (desktop--excluded-frame-parameters): New defconst.
9613 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9614 (desktop--restore-windows, desktop--save-windows): New functions.
9615 (desktop-save): Call `desktop--save-windows'.
9616 (desktop-read): Call `desktop--restore-windows'.
9617
7f13406b
LMI
96182013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9619
ef099a94 9620 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9621
1e072639
SB
96222013-06-27 Stephen Berman <stephen.berman@gmx.net>
9623
9624 * info.el (Info-try-follow-nearest-node): Move search for footnote
9625 above search for node name to prevent missing a footnote (bug#14717).
9626
f3e2cbde
SB
96272013-06-27 Stephen Berman <stephen.berman@gmx.net>
9628
9629 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9630
99906aa0
LL
96312013-06-27 Leo Liu <sdl.web@gmail.com>
9632
9633 * net/eww.el (eww-read-bookmarks): Check file size.
9634
539f75f4
SM
96352013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9638 advice--pending if newdef is nil or an autoload (bug#13820).
9639 (advice-mapc): New function.
9640
843571cb
LMI
96412013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9642
9643 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9644 probably.
23a75d7f 9645 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9646 (eww-add-bookmark): New command.
9647 (eww-bookmark-mode): New mode and commands.
a285ce99 9648 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9649 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9650
f2136e1e
GM
96512013-06-26 Glenn Morris <rgm@gnu.org>
9652
eab35f39
GM
9653 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9654 (hfy-size): Handle ttys. (Bug#14668)
9655
f2136e1e
GM
9656 * info-xref.el: Update for Texinfo 5 change in *note format.
9657 (info-xref-node-re, info-xref-note-re): New constants.
9658 (info-xref-check-buffer): Use info-xref-note-re.
9659
a49ff80c
SM
96602013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9661
a343d218
SM
9662 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9663
a49ff80c
SM
9664 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9665 nil terminate the loop (bug#14718).
9666
8308f184
LMI
96672013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9668
9669 * net/eww.el: Rework history traversal. When going forward/back,
9670 put these actions into the history, too, so that they can be
9671 replayed.
26bf2b82 9672 (eww-render): Move the history reset to the correct buffer.
8308f184 9673
ec64c273
JL
96742013-06-25 Juri Linkov <juri@jurta.org>
9675
9676 * files-x.el (modify-dir-local-variable): Change the header comment
9677 in the file with directory local variables. (Bug#14692)
9678
e080a9d7
JL
9679 * files-x.el (read-file-local-variable-value): Add `default'.
9680 (Bug#14710)
9681
bfbc93a1
IK
96822013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9683
9684 * net/eww.el (eww-make-unique-file-name): Create a unique file
9685 name before saving to entering `y' accidentally asynchronously.
9686
96872013-06-25 Ivan Kanis <ivan@kanis.fr>
9688
9689 * net/eww.el (eww-download): New command and keystroke.
9690
16f74f10
LMI
96912013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9692
a49ff80c 9693 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9694
9695 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9696 be more consistent with Info and dired.
9697
9698 * net/eww.el (eww-mode-map): Ditto.
9699
12059709
SM
97002013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9701
9702 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9703 packages from archives.
9704 (package-archive-contents): Change format; include obsolete packages.
9705 (package-desc): Use `dir' to mark builtin packages.
9706 (package--from-builtin): Set the `dir' field to `builtin'.
9707 (generated-autoload-file, version-control): Declare.
9708 (package-compute-transaction): Change first arg and return value to be
9709 lists of package-descs. Adjust to new package-archive-contents format.
9710 (package--add-to-archive-contents): Adjust to new
9711 package-archive-contents format.
9712 (package-download-transaction): Arg is now a list of package-descs.
9713 (package-install): If `pkg' is a package name, pass it as
9714 a requirement, so it is subject to the usual (e.g. disabled) checks.
9715 (describe-package): Accept package-desc as well.
9716 (describe-package-1): Describe a specific package-desc. Add links to
9717 other package-descs for the same package name.
9718 (package-menu-describe-package): Pass the actual package-desc.
9719 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9720 works correctly.
9721 (package-desc-status): New function.
9722 (package-menu--refresh): New function, extracted
9723 from package-menu--generate.
9724 (package-menu--generate): Use it.
9725 (package-delete): Update package-alist.
9726 (package-menu-execute): Don't call package-initialize.
9727
9728 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9729 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9730 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9731 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9732 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9733 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9734
8bbdea0f
MR
97352013-06-25 Martin Rudalics <rudalics@gmx.at>
9736
9737 * window.el (window--state-get-1): Workaround for bug#14527.
9738 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9739
e82b0991
LMI
97402013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9741
9742 * net/eww.el (eww-back-url): Implement the history by stashing all
9743 the data into a list.
d3f0f918 9744 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9745
c763842b
SM
97462013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9749 for values and use read--expression for expressions (bug#14710).
9750 (read-file-local-variable): Avoid setq.
9751 (read-file-local-variable-mode): Use minor-mode-list.
9752
bceff189
RW
97532013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9754
864c58ca 9755 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9756 for DOI URLs.
9757
45f431c6
RW
97582013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9759
864c58ca 9760 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9761 Update imenu-support when dialect changes.
9762
f42d8237
LL
97632013-06-25 Leo Liu <sdl.web@gmail.com>
9764
9765 * ido.el (ido-read-internal): Allow forward slash on windows.
9766
be549ce6
LMI
97672013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9768
9769 * net/eww.el (eww): Start of strings is \\`, not ^.
9770
71d4c19d
IK
97712013-06-24 Ivan Kanis <ivan@kanis.fr>
9772
5196f88a
IK
9773 * net/shr.el (shr-browse-url): Fix interactive spec.
9774
71d4c19d
IK
9775 * net/eww.el (eww): Add a trailing slash to domain names.
9776
ae36ca55
JB
97772013-06-24 Juanma Barranquero <lekktu@gmail.com>
9778
9779 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9780
0ebd92a3
LMI
97812013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9782
bdaa086b
LMI
9783 * net/shr.el (shr-browse-url): Use an external browser if given a
9784 prefix.
9785
c763842b 9786 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9787
b89fc156
IK
97882013-06-24 Ivan Kanis <ivan@kanis.fr>
9789
9790 * net/eww.el (eww): Work more correctly for file: URLs.
9791 (eww-detect-charset): Allow quoted charsets.
9792 (eww-yank-page-url): New command and keystroke.
9793
18eb4bca
DU
97942013-06-24 Daiki Ueno <ueno@gnu.org>
9795
9796 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9797 file name of gpg executable.
9798 (epg-context-program): New function.
9799 (epg-context-home-directory): New function.
9800 (epg-context-set-program): New function.
9801 (epg-context-set-home-directory): New function.
9802 (epg--start): Use `epg-context-program' instead of
9803 'epg-gpg-program'.
9804 (epg--list-keys-1): Likewise.
9805
6c6268c8
LL
98062013-06-24 Leo Liu <sdl.web@gmail.com>
9807
9808 * ido.el (ido-read-internal): Fix bug#14620.
9809
5e400cb3
JB
98102013-06-23 Juanma Barranquero <lekktu@gmail.com>
9811
9812 * faces.el (face-documentation): Simplify.
9813 (read-face-attribute, tty-find-type, x-resolve-font-name):
9814 Use `string-match-p'.
9815 (list-faces-display): Use `string-match-p'. Simplify.
9816 (face-spec-recalc): Check face to avoid face alias loops.
9817 (read-color): Use `string-match-p' and non-capturing parenthesis.
9818
f3f9606c
LMI
98192013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9820
9821 * net/shr.el (shr-rescale-image): Use the new
9822 :max-width/:max-height functionality.
9823
a3ca09b9
IK
98242013-06-23 Ivan Kanis <ivan@kanis.fr>
9825
9826 * net/eww.el (eww-search-prefix): New variable.
9827 (eww): Use it.
f865b474
IK
9828 (eww-external-browser): New variable.
9829 (eww-mode-map): New keystroke.
9830 (eww-browse-with-external-browser): New command.
a3ca09b9 9831
e854cfc7
IK
9832 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9833
18bb9e21
JB
98342013-06-23 Juanma Barranquero <lekktu@gmail.com>
9835
9836 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9837 Don't skip aligning the next header field when padding is 0;
9838 otherwise, field width is not respected unless the title is as
9839 wide as the field.
9840
5b165ade
SM
98412013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * emacs-lisp/package.el (package-el-version): Remove.
9844 (package-process-define-package): Fix inf-loop.
9845 (package-install): Allow symbols as arguments again.
9846
12adebe9
DG
98472013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9848
9849 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9850 add some more keyword-like methods.
9851 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9852
388573ee
JB
98532013-06-22 Juanma Barranquero <lekktu@gmail.com>
9854
9855 * bs.el (bs-buffer-show-mark): Make defvar-local.
9856 (bs-mode): Use setq-local.
9857
9858 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9859 (emacs-lock--try-unlocking): Make defvar-local.
9860
4582a01c 98612013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9862
2663dd23
GM
9863 * play/cookie1.el (cookie-apropos): Minor simplification.
9864
3d94f3ad
GM
9865 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9866
f72e2fdb
DG
98672013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9868
9869 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9870 `regexp-opt', it breaks the build during dumping.
9871
73eab938
DG
98722013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9873
c763842b
SM
9874 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9875 Highlight keyword-like methods on Kernel and Module with
73eab938 9876 font-lock-builtin-face.
5cf8176d
DG
9877 (auto-mode-alist): Consolidate different entries into one regexp
9878 and add more *file-s.
73eab938 9879
d26255f6
SB
98802013-06-21 Stephen Berman <stephen.berman@gmx.net>
9881
9882 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9883
9884 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9885 (diary-entry): Use it in the action of this button type instead of
9886 diary-goto-entry.
9887
9888 * calendar/todo-mode.el: New version.
9889 (todo-add-category): Append new category to end of file and give
9890 it the highest number, instead of putting it at the beginning and
9891 giving it 0. Incorporate noninteractive functionality.
9892 (todo-forward-category): Adapt to 1-based category numbering.
9893 Allow skipping over archived categories.
9894 (todo-backward-category): Derive from todo-forward-category.
9895 (todo-backward-item, todo-forward-item): Make noninteractive and
9896 delegate interactive part to new commands. Make sensitive to done items.
9897 (todo-categories): Make value an alist of category names and
9898 vectors of item counts.
9899 (todo-category-beg): Make a defconst.
9900 (todo-category-number): Use 1 instead of 0 as initial value.
9901 (todo-category-select): Make sensitive to overlays, optional item
9902 highlighting and done items.
9903 (todo-delete-item): Make sensitive to overlays and marked and done items.
9904 (todo-edit-item): Make sensitive to overlays and editing of
9905 date/time header optional. Add format checks.
9906 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9907 no-op if point is not on an item. Advertise using todo-edit-quit.
9908 (todo-edit-mode): Make sensitive to new format, font-locking, and
9909 multiple todo files.
9910 (todo-insert-item, todo-insert-item-here): Derive from
9911 todo-basic-insert-item and extend functionality.
9912 (todo-item-end, todo-item-start): Make sensitive to done items.
9913 (todo-item-string): Don't return text properties. Restore point.
9914 (todo-jump-to-category): Make sensitive to multiple todo files and
9915 todo archives. Use extended category completion.
9916 (todo-lower-item, todo-raise-item): Rename to *-priority and
9917 derive from todo-set-item-priority.
9918 (todo-mode): Derive from special-mode. Make sensitive to new
9919 format, font-locking and multiple todo files. Make read-only.
9920 (todo-mode-map): Don't suppress digit keys, so they can supply
9921 prefix arguments. Add many new key bindings.
9922 (todo-prefix): Insert as an overlay instead of file text.
9923 Change semantics from diary date expression to purely visual mark.
9924 (todo-print): Rename to todo-print-buffer. Make buffer display
9925 features printable. Remove option to restrict number of items
9926 printed. Add option to print to file.
9927 (todo-print-function): Rename to todo-print-buffer-function.
9928 (todo-quit): Extend to handle exiting new todo modes.
9929 (todo-remove-item): Make sensitive to overlays.
9930 (todo-save): Extend to buffers of filtered items.
9931 (todo-show): Make sensitive to done items, multiple todo files and
9932 new todo modes. Offer to convert legacy todo file before creating
9933 first new todo file.
9934 (todo-show-priorities): Rename to todo-top-priorities.
9935 Change semantics of value 0.
9936 (todo-top-priorities): Rename to todo-filter-top-priorities,
9937 derive from todo-filter-items and extend functionality.
9938 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9939 and extend functionality to other types of filtered items.
9940 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9941 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9942 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9943 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9944 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9945 (todo-edit-mode-hook, todo-entry-prefix-function)
9946 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9947 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9948 (todo-initials, todo-insert-threshold, todo-item-string-start)
9949 (todo-line-string, todo-menu, todo-mode-hook)
9950 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9951 (todo-print-priorities, todo-remove-separator)
9952 (todo-save-top-priorities-too, todo-string-count-lines)
9953 (todo-string-multiline-p, todo-time-string-format)
9954 (todo-tmp-buffer-name): Remove.
9955 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9956 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9957 (todo-edit-category-diary-inclusion)
9958 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9959 (todo-edit-file, todo-edit-item-date-day)
9960 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9961 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9962 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9963 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9964 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9965 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9966 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9967 (todo-filter-top-priorities-multifile, todo-find-archive)
9968 (todo-find-filtered-items-file, todo-go-to-source-item)
9969 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9970 (todo-jump-to-archive-category, todo-lower-category)
9971 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9972 (todo-move-category, todo-move-item, todo-next-button)
9973 (todo-next-item, todo-padded-string, todo-powerset)
9974 (todo-previous-button, todo-previous-item)
9975 (todo-print-buffer-to-file, todo-raise-category)
9976 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9977 (todo-set-category-number, todo-set-item-priority)
9978 (todo-set-top-priorities-in-category)
9979 (todo-set-top-priorities-in-file, todo-show-categories-table)
9980 (todo-sort-categories-alphabetically-or-numerically)
9981 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9982 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9983 (todo-toggle-item-header, todo-toggle-item-highlighting)
9984 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9985 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9986 (todo-unarchive-items, todo-unmark-category): New commands.
9987 (todo-absolute-file-name, todo-add-to-buffer-list)
9988 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9989 (todo-basic-insert-item, todo-category-completions)
9990 (todo-category-number, todo-category-string-matcher-1)
9991 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9992 (todo-check-format, todo-clear-matches)
9993 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9994 (todo-current-category, todo-date-string-matcher)
9995 (todo-define-insertion-command, todo-diary-expired-matcher)
9996 (todo-diary-goto-entry, todo-diary-item-p)
9997 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9998 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9999 (todo-done-item-section-p, todo-done-separator)
10000 (todo-done-string-matcher, todo-files, todo-filter-items)
10001 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10002 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10003 (todo-insert-category-line, todo-insert-item-from-calendar)
10004 (todo-insert-sort-button, todo-insert-with-overlays)
10005 (todo-insertion-command-name, todo-insertion-key-bindings)
10006 (todo-label-to-key, todo-longest-category-name-length)
10007 (todo-make-categories-list, todo-mode-external-set)
10008 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10009 (todo-modes-set-3, todo-multiple-filter-files)
10010 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10011 (todo-read-category, todo-read-date, todo-read-dayname)
10012 (todo-read-file-name, todo-read-time)
10013 (todo-reevaluate-category-completions-files-defcustom)
10014 (todo-reevaluate-default-file-defcustom)
10015 (todo-reevaluate-filelist-defcustoms)
10016 (todo-reevaluate-filter-files-defcustom)
10017 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10018 (todo-reset-done-separator, todo-reset-done-separator-string)
10019 (todo-reset-done-string, todo-reset-global-current-todo-file)
10020 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10021 (todo-reset-prefix, todo-set-categories)
10022 (todo-set-date-from-calendar, todo-set-show-current-file)
10023 (todo-set-top-priorities, todo-short-file-name)
10024 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10025 (todo-total-item-counts, todo-update-buffer-list)
10026 (todo-update-categories-display, todo-update-categories-sexp)
10027 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10028 New functions.
10029 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10030 New major modes.
10031 (todo-categories, todo-display, todo-edit, todo-faces)
10032 (todo-filtered): New defgroups.
10033 (todo-archived-only, todo-button, todo-category-string, todo-date)
10034 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10035 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10036 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10037 (todo-add-item-if-new-category, todo-always-add-time-string)
10038 (todo-categories-align, todo-categories-archived-label)
10039 (todo-categories-category-label, todo-categories-diary-label)
10040 (todo-categories-done-label, todo-categories-number-separator)
10041 (todo-categories-todo-label, todo-categories-totals-label)
10042 (todo-category-completions-files, todo-completion-ignore-case)
10043 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10044 (todo-done-separator-string, todo-done-string)
10045 (todo-files-function, todo-filter-done-items, todo-filter-files)
10046 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10047 (todo-initial-category, todo-initial-file, todo-item-mark)
10048 (todo-legacy-date-time-regexp, todo-mode-line-function)
10049 (todo-nondiary-marker, todo-number-prefix)
10050 (todo-print-buffer-function, todo-show-current-file)
10051 (todo-show-done-only, todo-show-first, todo-show-with-done)
10052 (todo-skip-archived-categories, todo-top-priorities-overrides)
10053 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10054 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10055 New defcustoms.
10056 (todo-category-done, todo-date-pattern, todo-date-string-start)
10057 (todo-diary-items-buffer, todo-done-string-start)
10058 (todo-filtered-items-buffer, todo-item-start)
10059 (todo-month-abbrev-array, todo-month-name-array)
10060 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10061 (todo-top-priorities-buffer): New defconsts.
10062 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10063 (todo-categories-with-marks, todo-category-string-face)
10064 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10065 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10066 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10067 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10068 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10069 (todo-font-lock-keywords, todo-global-current-todo-file)
10070 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10071 (todo-insertion-commands-args)
10072 (todo-insertion-commands-args-genlist)
10073 (todo-insertion-commands-names, todo-insertion-map)
10074 (todo-key-bindings-t, todo-key-bindings-t+a)
10075 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10076 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10077 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10078 (todo-visited): New variables.
10079
cad5d1cb
GM
100802013-06-21 Glenn Morris <rgm@gnu.org>
10081
10082 * play/cookie1.el (cookie-apropos): Add optional display argument.
10083 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10084 (psychoanalyze-pinhead): Use cookie-doctor.
10085
9e277302
JB
100862013-06-21 Juanma Barranquero <lekktu@gmail.com>
10087
10088 * emacs-lisp/package.el (tar-get-file-descriptor)
10089 (tar--extract): Declare.
10090
c5b0993e
EW
100912013-06-21 Eduard Wiebe <usenet@pusto.de>
10092
10093 Extend flymake's warning predicate to be a function (bug#14217).
10094 * progmodes/flymake.el (flymake-warning-predicate): New.
10095 (flymake-parse-line): Use it.
10096 (flymake-warning-re): Make obsolete alias to
10097 `flymake-warning-predicate'.
10098
a7d2d465
SM
100992013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10102 (package-obsolete-list): Remove.
10103 (package-activate): Remove min-version argument. Add `force' argument.
10104 Adjust to new package-alist format.
10105 (package-mark-obsolete): Remove.
10106 (package-unpack): Force reload of the package's autoloads.
10107 (package-installed-p): Check builtins if the installed package is not
10108 recent enough.
10109 (package-initialize): Don't reset package-obsolete-list.
10110 Don't specify which package version to activate.
10111 (package-process-define-package, describe-package-1)
10112 (package-menu--generate): Adjust to new package-alist format.
10113
cedf5c9d
JB
101142013-06-21 Juanma Barranquero <lekktu@gmail.com>
10115
10116 * allout-widgets.el (allout-widgets-mode-off)
10117 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10118 (allout-widgets-post-command-business)
10119 (allout-widgets-after-copy-or-kill-function)
10120 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10121 (allout-decorate-item-and-context)
10122 (allout-graphics-modification-handler): Fix typos in docstrings.
10123 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10124
10125 * cmuscheme.el (scheme-start-file): Doc fix.
10126 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10127 (scheme-input-filter): Use `string-match-p'.
10128
10129 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10130
10131 * dired-x.el: Use Dired consistently in docstrings.
10132
10133 * dired.el: Use Dired consistently in docstrings.
10134 (dired-readin, dired-mode): Use `setq-local'.
10135 (dired-switches-alist): Make defvar-local.
10136 (dired-buffers-for-dir): Use `zerop'.
10137 (dired-safe-switches-p, dired-switches-escape-p)
10138 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10139 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10140 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10141 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10142 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10143 (dired-toggle-marks, dired-mark-files-containing-regexp)
10144 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10145 (dired-flag-auto-save-files, dired-flag-backup-files):
10146 Use `looking-at-p'.
10147 (dired-mark-files-regexp, dired-build-subdir-alist):
10148 Use `string-match-p', `looking-at-p'.
10149
10150 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10151 (direct-print-region-helper): Use `string-match-p'.
10152
aed838b5
LL
101532013-06-21 Leo Liu <sdl.web@gmail.com>
10154
cedf5c9d
JB
10155 * comint.el (comint-redirect-results-list-from-process):
10156 Fix infinite loop.
aed838b5 10157
d80a808f
LMI
101582013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10159
10160 * net/eww.el (eww-update-header-line-format): Quote % characters.
10161
e7a526e3
GM
101622013-06-21 Glenn Morris <rgm@gnu.org>
10163
10164 * play/cookie1.el (cookie): New custom group.
10165 (cookie-file): New option.
10166 (cookie-check-file): New function.
10167 (cookie): Make it interactive. Make start and end messages optional.
10168 Interactively, display the result. Default to cookie-file.
10169 (cookie-insert): Default to cookie-file.
10170 (cookie-snarf): Make start and end messages optional.
10171 Default to cookie-file. Use with-temp-buffer.
10172 (cookie-read): Rename from read-cookie.
10173 Make start and end messages optional. Default to cookie-file.
10174 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10175 Do not autoload it.
e7a526e3
GM
10176 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10177 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10178
62efb35e
LL
101792013-06-21 Leo Liu <sdl.web@gmail.com>
10180
10181 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10182
21e3f963
GM
101832013-06-21 Glenn Morris <rgm@gnu.org>
10184
10185 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10186
fd846ab4
SM
101872013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10188 Daniel Hackney <dan@haxney.org>
10189
10190 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10191 Consolidate the single-file vs tarball code.
10192 (package-desc-suffix): New function.
10193 (package-desc-full-name): Don't bother inlining it.
10194 (package-load-descriptor): Return the new package-desc.
10195 (package-mark-obsolete): Remove unused arg `package'.
10196 (package-unpack): Make it work for single files as well.
10197 Make it update package-alist.
10198 (package--make-autoloads-and-stuff): Rename from
10199 package--make-autoloads-and-compile. Don't compile any more.
10200 (package--compile): New function.
10201 (package-generate-description-file): New function, extracted from
10202 package-unpack-single.
10203 (package-unpack-single): Remove.
10204 (package--with-work-buffer): Add indentation and debugging info.
10205 (package-download-single): Remove.
10206 (package-install-from-archive): Rename from package-download-tar, make
10207 it take a pkg-desc, and make it work for single files as well.
10208 (package-download-transaction): Simplify.
10209 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10210 external tar program.
10211 (package-install-from-buffer): Remove `pkg-desc' argument.
10212 Use package-tar-file-info for tar-mode buffers.
10213 (package-install-file): Simplify accordingly.
10214 (package-archive-base): Change to take a pkg-desc.
10215 * tar-mode.el (tar--check-descriptor): New function, extracted from
10216 tar-get-descriptor.
10217 (tar-get-descriptor): Use it.
10218 (tar-get-file-descriptor): New function.
10219 (tar--extract): New function, extracted from tar-extract.
10220 (tar--extract): Use it.
10221 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10222 case the summary uses non-ascii. Adjust to new calling convention of
10223 package-tar-file-info.
10224
b7deae5e
LL
102252013-06-21 Leo Liu <sdl.web@gmail.com>
10226
fd846ab4
SM
10227 * comint.el (comint-redirect-results-list-from-process):
10228 Fix random delay. (Bug#14681)
b7deae5e 10229
7a65a0b2
JB
102302013-06-21 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * profiler.el (profiler-format-number): Use log, not log10.
10233
1493c2af
JB
102342013-06-20 Juanma Barranquero <lekktu@gmail.com>
10235
10236 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10237
aff6371e
SM
102382013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10239
10240 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10241 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10242 yet available.
10243 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10244 (AUTOGENEL): ... here.
10245 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10246 (cl--defsubst-expand): Use it.
10247
89561f72
PE
102482013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10249
10250 * subr.el (log10): Move here from C code, and declare as obsolete.
10251 All uses of (log10 X) replaced with (log X 10).
10252
47199123
JB
102532013-06-20 Juanma Barranquero <lekktu@gmail.com>
10254
10255 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10256 Declare with `defvar-local'.
10257 (tabulated-list-use-header-line, tabulated-list-entries)
10258 (tabulated-list-padding, tabulated-list-printer)
10259 (tabulated-list-sort-key): Declare with `defvar-local'.
10260 (tabulated-list-init-header, tabulated-list-print-fake-header):
10261 Use `setq-local'.
10262
4a172eab
MA
102632013-06-20 Michael Albinus <michael.albinus@gmx.de>
10264
47199123
JB
10265 * arc-mode.el (archive-mode): Add `archive-write-file' to
10266 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10267
5fc0acc0
JB
102682013-06-20 Juanma Barranquero <lekktu@gmail.com>
10269
d5b27848
JB
10270 * cus-edit.el (custom-commands): Fix typos.
10271 (custom-display): Fix tooltip text.
10272 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10273 Fix typos in docstrings.
10274 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10275 (custom-unlispify-menu-entry, custom-magic-value-create)
10276 (custom-add-see-also, custom-group-value-create): Use ?\s.
10277 (custom-guess-type, customize-apropos, editable-field)
10278 (custom-face-value-create): Use `string-match-p'.
10279 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10280
10281 * custom.el (custom-load-symbol): Use `string-match-p'.
10282
a5c581d8
JB
10283 * ansi-color.el: Convert to lexical binding.
10284 (ansi-colors): Fix URL.
10285 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10286 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10287 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10288
970ad972
G
102892013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10290
10291 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10292
10293 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10294
102952013-06-19 Tom Tromey <tromey@redhat.com>
10296
10297 * net/eww.el (eww-top-url): Remove.
10298 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10299 (eww-render): Set new variables. Don't set eww-top-url.
10300 (eww-handle-link): Handle "prev", "home", and "contents".
10301 Downcase the rel text.
10302 (eww-top-url): Choose best top URL.
10303
103042013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10305
10306 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10307 relying in widget.el. Using widget.el leads to too many
10308 user interface inconsistencies.
10309 (eww-self-insert): Implement entering commands in text fields.
10310 (eww-process-text-input): New function to make text input field editing
10311 work.
10312 (eww-submit): Rewrite to use the new-style form methods.
10313 (eww-select-display): Display the correct selected item.
10314 (eww-change-select): Implement changing the select value.
10315 (eww-toggle-checkbox): Implement radio/checkboxes.
10316 (eww-update-field): Fix compilation error.
10317 (eww-tag-textarea): Implement <textarea>.
10318
10319 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10320 we don't shadow mode-specific bindings.
10321
10322 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10323 nothing to push.
10324
10325 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10326
4582a01c 103272013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10328
10329 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10330
15b263dc
MA
103312013-06-19 Michael Albinus <michael.albinus@gmx.de>
10332
10333 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10334 not needed.
10335
10336 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10337
8f5297f7
LMI
103382013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10339
10340 * net/browse-url.el (browse-url-browser-function):
10341 `eww-browse-url' has the right calling signature, `eww' does not.
10342
011c4552
GM
103432013-06-19 Glenn Morris <rgm@gnu.org>
10344
2285bd27
GM
10345 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10346 Only eval autoloaded macros.
10347 (byte-compile-autoload): Only give the macro warning for macros.
10348
1d653303
GM
10349 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10350 (ps-underlined-faces): Declare.
10351
bdd779ec
GM
10352 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10353 (speedbar-add-supported-extension): Declare.
10354
011c4552
GM
10355 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10356 Don't include a date stamp in the header of the generated file;
10357 it leads to needless differences between output files.
10358
e59dfb0e
MA
103592013-06-19 Michael Albinus <michael.albinus@gmx.de>
10360
c763842b
SM
10361 * net/secrets.el (secrets-struct-secret-content-type):
10362 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10363 Some servers do not offer introspection.
e59dfb0e 10364
102626e2
SM
103652013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * electric.el (electric-pair-mode): Improve interaction with
10368 electric-layout-mode.
10369 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10370 (electric-pair-syntax): Use text-mode-syntax-table in comments
10371 and strings.
10372 (electric-pair--insert): New function.
10373 (electric-pair-post-self-insert-function): Use it and
10374 electric--after-char-pos.
10375
ad528125
LL
103762013-06-19 Leo Liu <sdl.web@gmail.com>
10377
10378 * progmodes/octave.el (octave-help): Fix regexp.
10379
924d6997
G
103802013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10381
10382 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10383 (shr-table-horizontal-line): Allow nil as a value, and change the
10384 default.
10385 (shr-insert-table-ruler): Respect the nil value.
10386
103872013-06-18 Tom Tromey <tromey@barimba>
10388
10389 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10390 New defvars.
10391 (eww-open-file): New defun.
10392 (eww-render): Initialize new variables.
10393 (eww-display-html): Handle "link" and "a".
10394 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10395 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10396 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10397 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10398 New defuns.
924d6997 10399
d1bbba4f
DG
104002013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10401
10402 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10403 Distinguish ternary operator tokens from slash symbol and slash
10404 char literal.
10405
14dd22d2
JB
104062013-06-18 Juanma Barranquero <lekktu@gmail.com>
10407
10408 Convert symbol prettification into minor mode and global minor mode.
10409
10410 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10411 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10412 (prettify-symbols--keywords): Rename from
10413 `prog-prettify-symbols-alist' and make a local defvar.
10414 (prettify-symbols--compose-symbol): Rename from
10415 `prog--prettify-font-lock-compose-symbol'.
10416 (prettify-symbols--make-keywords): Rename from
10417 `prog-prettify-font-lock-symbols-keywords' and simplify.
10418 (prog-prettify-install): Remove.
10419 (prettify-symbols-mode): New minor mode, based on
10420 `prog-prettify-install'.
10421 (turn-on-prettify-symbols-mode): New function.
10422 (global-prettify-symbols-mode): New globalized minor mode.
10423
10424 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10425 * progmodes/cfengine.el (cfengine3-mode):
10426 * progmodes/perl-mode.el (perl-mode): Don't call
10427 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10428
292c880c
JL
104292013-06-18 Juri Linkov <juri@jurta.org>
10430
10431 * files-x.el (modify-file-local-variable-message): New function.
10432 (modify-file-local-variable)
10433 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10434 and call `modify-file-local-variable-message' when it's non-nil.
10435 (add-file-local-variable, delete-file-local-variable)
10436 (add-file-local-variable-prop-line)
10437 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10438 and use it. (Bug#9820)
10439
0950aa27
JL
104402013-06-18 Juri Linkov <juri@jurta.org>
10441
10442 * emulation/vi.el (vi-shell-op):
10443 * emulation/vip.el (vip-execute-com, ex-command):
10444 * emulation/viper-cmd.el (viper-exec-bang):
10445 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10446 the call of `shell-command-on-region'. (Bug#14637)
10447
10448 * simple.el (shell-command-on-region): Doc fix.
10449
8fbcca16
SM
104502013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10453 (bug#14633).
10454
dd7426ea
GM
104552013-06-18 Glenn Morris <rgm@gnu.org>
10456
4ba54f7d
GM
10457 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10458
dd7426ea
GM
10459 * newcomment.el (comment-search-forward, comment-search-backward):
10460 Doc fix. (Bug#14376)
10461
58aa805b
JB
104622013-06-18 Juanma Barranquero <lekktu@gmail.com>
10463
10464 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10465 (buffer-face-mode-invoke): Doc fix.
10466
9a08a617
MM
104672013-06-18 Matthias Meulien <orontee@gmail.com>
10468
10469 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10470 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10471
f2f426ca
GM
104722013-06-18 Glenn Morris <rgm@gnu.org>
10473
9445f99b
GM
10474 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10475 Replace obsolete function generic-make-keywords with its expansion.
10476
e0df2d14
GM
10477 * progmodes/python.el (ffap-alist): Declare.
10478
f2f426ca
GM
10479 * textmodes/reftex.el (bibtex-mode-map): Declare.
10480
f7f9a720
SM
104812013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10482
10483 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10484 (package-unpack, package-unpack-single): Return the pkg-dir.
10485 (package-download-transaction): Use it to update package-alist.
10486
57ff04e0
LMI
104872013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10488
10489 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10490 possible choice.
10491
c048c022
JL
104922013-06-17 Juri Linkov <juri@jurta.org>
10493
10494 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10495
b5bcaee5
DG
104962013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10497
a020afb9
JB
10498 * emacs-lisp/package.el (package-load-descriptor):
10499 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10500 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10501
551e07e5
JB
105022013-06-17 Juanma Barranquero <lekktu@gmail.com>
10503
10504 * startup.el (command-line): Expand package name returned by
10505 `package--description-file' (bug#14639).
10506
d363bffb
DG
105072013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10508
10509 * emacs-lisp/package.el (package-load-descriptor): Do not call
10510 `emacs-lisp-mode', just use its syntax table.
10511
f612933b
JB
105122013-06-17 Juanma Barranquero <lekktu@gmail.com>
10513
10514 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10515 `font-lock-extra-managed-props' if any prettifying keyword is added.
10516 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10517 (prog-mode): Use `setq-local'.
10518
db3b7db5
SM
105192013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10520
10521 * international/characters.el (standard-case-table): Set syntax of ?»
10522 and ?« to punctuation.
10523
f3d674df
JB
105242013-06-16 Juanma Barranquero <lekktu@gmail.com>
10525
10526 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10527 Save relevant match data before calling `syntax-ppss' (bug#14595).
10528
31489a32
JL
105292013-06-15 Juri Linkov <juri@jurta.org>
10530
10531 * files-x.el (modify-file-local-variable-prop-line): Add local
10532 variables to the end of the existing comment on the first line.
10533 Use `file-auto-mode-skip' to skip interpreter magic line,
10534 and also skip XML declaration.
10535
66bd25ab
SM
105362013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10537
10538 * startup.el (package--builtin-versions): New var.
10539 (package-subdirectory-regexp): Remove.
10540 (package--description-file): Hard code its value instead.
10541
10542 * emacs-lisp/package.el: Don't activate packages older than builtin.
10543 (package-obsolete-list): Rename from package-obsolete-alist, and make
10544 it into a simple list of package-desc.
10545 (package-strip-version): Remove.
10546 (package-built-in-p): Use package--builtin-versions.
10547 (package-mark-obsolete): Simplify.
10548 (package-process-define-package): Mark it obsolete if older than the
10549 builtin version.
10550 (package-handle-response): Use line-end-position.
10551 (package-read-archive-contents, package--download-one-archive):
10552 Simplify.
10553 (package--add-to-archive-contents): Skip if older than the builtin or
10554 installed version.
10555 (package-menu-describe-package): Fix last change.
10556 (package-list-unversioned): New var.
10557 (package-menu--generate): Use it.
10558
10559 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10560 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10561 (autoload-builtin-package-versions): New variable.
10562 (autoload-generate-file-autoloads): Use them.
10563 Remove the list of autoloaded functions/macros from the
10564 (autoload...) comments.
10565
10566 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10567
9583ec36
EZ
105682013-06-15 Eli Zaretskii <eliz@gnu.org>
10569
10570 * simple.el (line-move-partial): Don't jump to the next screen
10571 line as soon as it becomes visible. Instead, continue enlarging
10572 the vscroll until the portion of a tall screen line that's left on
10573 display is about the height of the frame's default font.
10574 (Bug#14567)
10575
f0100d8a
GM
105762013-06-15 Glenn Morris <rgm@gnu.org>
10577
b86a85ca
GM
10578 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10579 compilation-error-regexp-alist void, or local while let-bound.
10580
f0100d8a
GM
10581 * progmodes/make-mode.el (makefile-mode-syntax-table):
10582 Treat "=" as punctuation. (Bug#14614)
10583
05e7ce90
JB
105842013-06-15 Juanma Barranquero <lekktu@gmail.com>
10585
10586 * help-fns.el (describe-variable):
10587 Add extra line for permanent-local variables.
10588
12e5e86e
SH
105892013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10590
10591 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10592 Add export, import, library. (Bug#9164)
10593 (library): Set indent function.
10594
230dcbaf
GM
105952013-06-14 Glenn Morris <rgm@gnu.org>
10596
10597 * term/xterm.el (xterm--query):
10598 Stop after first matching handler. (Bug#14615)
10599
e36b2d20 106002013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10601
10602 Add support for dired in saveplace.
10603 * dired.el (dired-initial-position-hook): New variable.
10604 (dired-initial-position): Call hook to place cursor position.
10605 * saveplace.el (save-place-to-alist): Add dired position.
10606 (save-place-dired-hook): New function.
10607
0b31660d
SM
106082013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10609
bf1e6ae8
SM
10610 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10611 through a symbol rather than letrec.
10612
1b8dff23
SM
10613 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10614 (package-desc): Add `dir' field.
10615 (package-desc-full-name): New function.
10616 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10617 (package-maybe-load-descriptor): Remove.
10618 (package-load-all-descriptors): Just call package-load-descriptor.
10619 (package--disabled-p): New function.
10620 (package-desc-vers, package-desc-doc): Remove aliases.
10621 (package--dir): Remove function.
10622 (package-activate): Check if a package is disabled.
10623 (package-process-define-package): New function, extracted from
10624 define-package.
10625 (define-package): Turn into a place holder.
10626 (package-unpack-single, package-tar-file-info):
10627 Use package--description-file.
10628 (package-compute-transaction): Use package--disabled-p.
10629 (package-download-transaction): Don't call
10630 package-maybe-load-descriptor since they're all loaded anyway.
10631 (package-install): Change argument to be a pkg-desc.
10632 (package-delete): Use a single pkg-desc argument.
10633 (describe-package-1): Use package-desc-dir instead of package--dir.
10634 Use package-desc property instead of package-symbol.
10635 (package-install-button-action): Adjust accordingly.
10636 (package--push): Rewrite.
10637 (package-menu--print-info): Adjust accordingly. Change the ID format
10638 to be a pkg-desc.
10639 (package-menu-describe-package, package-menu-get-status)
10640 (package-menu--find-upgrades, package-menu-mark-upgrades)
10641 (package-menu-execute, package-menu--name-predicate):
10642 Adjust accordingly.
10643 * startup.el (package--description-file): New function.
10644 (command-line): Use it.
10645 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10646 Use package-desc-version.
10647
0b31660d
SM
10648 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10649 (byte-compile-preprocess): Use it.
10650 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10651 can't quite recognize.
10652 (byte-compile-add-to-list): Remove.
10653 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10654 (cconv-closure-convert): Add assertion.
10655
10656 * emacs-lisp/map-ynp.el: Use lexical-binding.
10657 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10658 Factor out some repeated code.
10659
de0503df
SM
106602013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10661
10662 * subr.el (with-eval-after-load): New macro.
10663 (eval-after-load): Allow form to be a function.
10664 take advantage of lexical-binding.
10665 (do-after-load-evaluation): Use dolist and adjust to new format.
10666 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10667
bc5c8c5a
JL
106682013-06-13 Juri Linkov <juri@jurta.org>
10669
10670 * replace.el (perform-replace): Display "symbol " and other search
10671 modes from `isearch-message-prefix' in the *Help* buffer.
10672
10673 * isearch.el (isearch-query-replace): Add " symbol" and other
10674 possible search modes from `isearch-message-prefix' to the prompt.
10675 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10676 when reading a regexp to collect.
10677
a22289f7
JL
106782013-06-13 Juri Linkov <juri@jurta.org>
10679
10680 * isearch.el (word-search-regexp): Match whitespace if the search
10681 string begins or ends in whitespace. The LAX arg is applied to
10682 both ends of the search string. Use `regexp-quote' and explicit
10683 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10684 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10685 boundaries are replaced with symbol boundaries, and characters
10686 between symbols match non-word non-symbol syntax. (Bug#14602)
10687
cb89acab
JL
106882013-06-13 Juri Linkov <juri@jurta.org>
10689
10690 * isearch.el (isearch-del-char): Don't exceed the length of
10691 `isearch-string' by the prefix arg. (Bug#14563)
10692
6e8cfc81
JL
106932013-06-13 Juri Linkov <juri@jurta.org>
10694
10695 * isearch.el (isearch-yank-word, isearch-yank-line)
10696 (isearch-char-by-name, isearch-quote-char)
10697 (isearch-printing-char, isearch-process-search-char):
10698 Add optional count prefix arg. (Bug#14563)
10699
10700 * international/isearch-x.el
10701 (isearch-process-search-multibyte-characters):
10702 Add optional count prefix arg.
10703
c23d55f4
VS
107042013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10707 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10708 lexical-binding.
10709
107102013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10711
10712 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10713
ba947bc4
GM
107142013-06-13 Glenn Morris <rgm@gnu.org>
10715
8baeb37a
GM
10716 * startup.el (tty-handle-args):
10717 Don't just discard "--" and anything after. (Bug#14608)
10718
ba947bc4
GM
10719 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10720
9abefce4
MA
107212013-06-13 Michael Albinus <michael.albinus@gmx.de>
10722
10723 Implement changes in Secret Service API. Make it backward compatible.
10724 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10725 (secrets-create-item): Use it. Prefix properties with interface.
10726
5755011f
MH
107272013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10728
10729 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10730 (term-emulate-terminal): Respect term-suppress-hard-newline.
10731
1261d2da
S
107322013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10733
10734 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10735 Only remove a `thumb-file' overlay. (Bug#14548)
10736
868490bb
GJ
107372013-06-12 Grégoire Jadi <daimrod@gmail.com>
10738
10739 * mail/reporter.el (reporter-submit-bug-report):
10740 Handle missing package-name. (Bug#14600)
10741
79d7167f
TH
107422013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10743
10744 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10745 (reftex-citation-prompt, reftex-default-bibliography)
10746 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10747 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10748 (reftex-bib-sort-author, reftex-bib-sort-year)
10749 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10750 (reftex-extract-bib-entries-from-thebibliography)
10751 (reftex-get-bibkey-default, reftex-get-bib-names)
10752 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10753 (reftex-format-bib-entry, reftex-parse-bibitem)
10754 (reftex-format-bibitem, reftex-do-citation)
10755 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10756 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10757 (reftex-insert-bib-matches, reftex-format-citation)
10758 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10759 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10760 existing comments into docstrings.
10761
5f9dbd7a
XF
107622013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10763
10764 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10765
94df41ab
AS
107662013-06-12 Andreas Schwab <schwab@suse.de>
10767
10768 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10769 for auto-save files.
10770
a7f3fecc
GM
107712013-06-12 Glenn Morris <rgm@gnu.org>
10772
001809f6
GM
10773 * ido.el (ido-delete-ignored-files): Remove.
10774 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10775 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10776
834b5ded
EL
107772013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10778
08c73ed2
EL
10779 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10780
834b5ded
EL
10781 * ido.el (ido-delete-ignored-files): New function,
10782 split from ido-make-file-list-1.
10783 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10784 (ido-make-file-list-1): Use ido-delete-ignored-files.
10785
daabf15a
LL
107862013-06-12 Leo Liu <sdl.web@gmail.com>
10787
10788 * progmodes/octave.el (inferior-octave-startup)
10789 (inferior-octave-completion-table)
10790 (inferior-octave-track-window-width-change)
10791 (octave-eldoc-function-signatures, octave-help)
10792 (octave-find-definition): Use single quoted strings.
10793 (inferior-octave-startup-args): Change default value.
10794 (inferior-octave-startup): Do not hard code "-i" and
10795 "--no-line-editing".
10796 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10797 (inferior-octave-directory-tracker): Use it.
10798 (octave-goto-function-definition): Robustify.
10799 (octave-help): Support highlighting operators in 'See also'.
10800 (octave-find-definition): Find subfunctions only in Octave mode.
10801
cf4e5178
SM
108022013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10803
10804 * help-fns.el (help-fns--compiler-macro): If the handler function is
10805 named, then put a link to it.
10806 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10807 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10808 (cl-typep): Use it.
10809 (cl-eval-when): Simplify debug spec.
10810 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10811 compiler-macro function instead of setting `compiler-macro-file'.
10812
99c81280 108132013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10814
10815 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10816 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10817
f56be016
SM
108182013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10819 Daniel Hackney <dan@haxney.org>
10820
10821 First part of Daniel Hackney's patch to package.el.
10822 * emacs-lisp/package.el: Use defstruct.
10823 (package-desc): New, main struct.
10824 (package--bi-desc, package--ac-desc): New structs, used to describe the
10825 format in external files.
10826 (package-desc-vers): Replace with package-desc-version accessor.
10827 (package-desc-doc): Replace with package-desc-summary accessor.
10828 (package-activate-1): Remove `package' arg since the pkg-vec now
10829 includes the name.
10830 (define-package): Use package-desc-from-define.
10831 (package-unpack-single): Change file-name arg to be a symbol.
10832 (package--add-to-archive-contents): Use package-desc-create and new
10833 accessor functions to package--ac-desc.
10834 (package-buffer-info, package-tar-file-info): Return a package-desc.
10835 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10836 arg to be a package-desc.
10837 (package-install-file): Adjust accordingly. Use \' to match EOS.
10838 (package--from-builtin): New function.
10839 (describe-package-1, package-menu--generate): Use it.
10840 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10841 (package-generate-autoloads): Idem and return the name of the file.
10842 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10843 Change pkg-info arg to be a package-desc.
10844 Use package-make-ac-desc.
10845 (package-upload-file): Use \' to match EOS.
10846 * finder.el (finder-compile-keywords): Use package-make-builtin.
10847
31119d63
SM
108482013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10849
931a2762
SM
10850 * vc/vc.el (vc-deduce-fileset): Change error message.
10851 (vc-read-backend): New function.
10852 (vc-next-action): Use it.
10853
5a3eb0c6
SM
10854 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10855
e3eb1bb7
SM
10856 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10857 (prolog-font-lock-keywords): Use regexp-opt instead.
10858 Don't manually highlight strings.
10859 (prolog-mode-variables): Simplify comment-start-skip.
10860 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10861
31119d63
SM
10862 * emacs-lisp/generic.el (generic--normalise-comments)
10863 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10864 (generic-mode-set-comments): Use them.
10865 (generic-bracket-support): Use setq-local.
10866 (generic-make-keywords-list): Declare obsolete.
10867
7de135d0
GM
108682013-06-11 Glenn Morris <rgm@gnu.org>
10869
10870 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10871 Prettify after setting font-lock-defaults. (Bug#14574)
10872
fa6bc6fd
JB
108732013-06-11 Juanma Barranquero <lekktu@gmail.com>
10874
10875 * replace.el (query-replace, occur-read-regexp-defaults-function)
10876 (replace-search):
10877 * subr.el (declare-function, number-sequence, local-set-key)
10878 (substitute-key-definition, locate-user-emacs-file)
10879 (with-silent-modifications, split-string, eval-after-load):
10880 Fix typos, remove unneeded backslashes and reflow some docstrings.
10881
cf1f9b9a
SM
108822013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10885 default for Elisp files.
10886
56602a4b
GM
108872013-06-11 Glenn Morris <rgm@gnu.org>
10888
10889 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10890 although define-derived-mode was doing this anyway. (Bug#14583)
10891
30ae0b2c
JB
108922013-06-10 Juanma Barranquero <lekktu@gmail.com>
10893
10894 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10895 Fix make-variable-buffer-local call to refer to the correct variable.
10896
fa472906
AG
108972013-06-10 Aidan Gauland <aidalgol@amuri.net>
10898
10899 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10900 (eshell-visual-subcommands, eshell-visual-options):
10901 Add summary line to docstrings. Add cross-references.
fa472906 10902
ff4871b9
GM
109032013-06-10 Glenn Morris <rgm@gnu.org>
10904
10905 * epa.el (epa-read-file-name): New function. (Bug#14510)
10906 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10907
04fcf1b0
AG
109082013-06-09 Aidan Gauland <aidalgol@amuri.net>
10909
10910 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10911 output redirection to be ignored with visual commands.
10912
88b00caa
AG
109132013-06-09 Aidan Gauland <aidalgol@amuri.net>
10914
10915 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10916 (eshell-term-initialize): Move long lambda to separate function
10917 eshell-visual-command-p.
27821a89 10918 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
10919 * eshell/em-script.el (eshell-script-initialize):
10920 Add missing #' to lambda.
88b00caa 10921
fda74125
LL
109222013-06-08 Leo Liu <sdl.web@gmail.com>
10923
10924 * progmodes/octave.el (octave-add-log-current-defun): New function.
10925 (octave-mode): Set add-log-current-defun-function.
10926 (octave-goto-function-definition): Do not move point if not found.
10927 (octave-find-definition): Enhance to try subfunctions first.
10928
467f3b33
GM
109292013-06-08 Glenn Morris <rgm@gnu.org>
10930
10931 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10932 (byte-compile-backward-char, byte-compile-backward-word):
10933 Improve previous change, to handle non-explicit nil.
10934
544badc3
SM
109352013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10938 (smie--opener/closer-at-point): New function.
10939 (smie--matching-block-data): Use it. Don't match from right after an
10940 opener or right before a closer. Obey smie-blink-matching-inners.
10941 Don't signal a mismatch for repeated inners like "switch..case..case".
10942
a175bf33
LL
109432013-06-07 Leo Liu <sdl.web@gmail.com>
10944
10945 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10946 to t. (Bug#14303)
ce8209d4
LL
10947 (octave-function-header-regexp): Fix. (Bug#14570)
10948 (octave-help-mode-finish-hook, octave-help-mode-finish):
10949 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10950
10951 * newcomment.el (comment-search-backward): Revert last change.
10952 (Bug#14434)
10953
10954 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10955
a822acff
EZ
109562013-06-07 Eli Zaretskii <eliz@gnu.org>
10957
10958 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10959 through xargs, to avoid failure due to MS-Windows limitations on
10960 command-line length.
10961
961166f5
GM
109622013-06-06 Glenn Morris <rgm@gnu.org>
10963
d0341459
GM
10964 * font-lock.el (lisp-font-lock-keywords-2):
10965 Treat user-error like error.
10966
961166f5
GM
10967 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10968 (byte-compile-backward-char, byte-compile-backward-word):
10969 Handle explicit nil arguments. (Bug#14565)
10970
80fa505f
AM
109712013-06-05 Alan Mackenzie <acm@muc.de>
10972
10973 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10974 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10975 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10976 (Bug#9706)
80fa505f 10977
fccdc796
SM
109782013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 * autorevert.el (auto-revert-notify-handler): Use memq.
10981 Hide assertion failure.
10982
10983 * skeleton.el: Use cl-lib.
10984 (skeleton-further-elements): Use defvar-local.
10985 (skeleton-insert): Use cl-progv.
10986
9bfff84b
TZ
109872013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10988
10989 * progmodes/prog-mode.el (prog-prettify-symbols)
10990 (prog-prettify-install): Update docstrings.
10991
55577e7c
SM
109922013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10993
10994 * simple.el: Move all the prog-mode code to prog-mode.el.
10995 * progmodes/prog-mode.el: New file.
10996 * loadup.el: Add prog-mode.el.
10997
8fc57765
TZ
109982013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10999
11000 * simple.el (prog-prettify-symbols): Add version.
11001 (prog-prettify-install): Add convenience function to prettify symbols.
11002
11003 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11004 (perl--augmented-font-lock-keywords-1)
11005 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11006 variables and use it.
11007
11008 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11009 (cfengine3-mode): Remove unneeded variable and use it.
11010
11011 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11012 (lisp--augmented-font-lock-keywords-1)
11013 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11014 Remove unneeded variables and use it.
11015
650645d5 110162013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11017
11018 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11019 to point when opening the connection. (Bug#14380)
28f5da6d 11020
781b4af6
SM
110212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11022
11023 * subr.el (load-history-regexp, load-history-filename-element)
11024 (eval-after-load, after-load-functions, do-after-load-evaluation)
11025 (eval-next-after-load, display-delayed-warnings)
11026 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11027 definition of save-match-data.
11028 (overriding-local-map): Remove accidental obsolescence declaration.
11029
11030 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11031
3ca0d0b4
TZ
110322013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11033
11034 Generalize symbol prettify support to prog-mode and implement it
11035 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11036 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11037 (prog--prettify-font-lock-compose-symbol)
11038 (prog-prettify-font-lock-symbols-keywords): New variables and
11039 functions to support symbol prettification.
11040 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11041 (lisp--augmented-font-lock-keywords-1)
11042 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11043 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11044 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11045 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11046 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11047 * progmodes/perl-mode.el (perl-prettify-symbols)
11048 (perl--font-lock-compose-symbol)
11049 (perl--font-lock-symbols-keywords): Move to prog-mode.
11050 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11051 (perl-font-lock-keywords-1)
11052 (perl-font-lock-keywords-2): Remove explicit prettify support.
11053 (perl--augmented-font-lock-keywords)
11054 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11055 (perl--augmented-font-lock-keywords-2, perl-mode):
11056 Implement prettify support.
3ca0d0b4 11057
976cb066
LL
110582013-06-05 Leo Liu <sdl.web@gmail.com>
11059
27821a89 11060 Re-implement SMIE matching block highlight using
976cb066
LL
11061 show-paren-data-function. (Bug#14395)
11062 * emacs-lisp/smie.el (smie-matching-block-highlight)
11063 (smie--highlight-matching-block-overlay)
11064 (smie--highlight-matching-block-lastpos)
11065 (smie-highlight-matching-block)
11066 (smie-highlight-matching-block-mode): Remove.
11067 (smie--matching-block-data-cache): New variable.
11068 (smie--matching-block-data): New function.
11069 (smie-setup): Use smie--matching-block-data for
11070 show-paren-data-function.
11071
11072 * progmodes/octave.el (octave-mode-menu): Fix.
11073 (octave-find-definition): Skip garbage lines.
11074
208d0342
SM
110752013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11076
11077 Fix compilation error with simultaneous dynamic+lexical scoping.
11078 Add warning when a defvar appears after the first let-binding.
11079 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11080 (byte-compile-close-variables): Initialize it.
11081 (byte-compile--declare-var): New function.
11082 (byte-compile-file-form-defvar)
11083 (byte-compile-file-form-define-abbrev-table)
11084 (byte-compile-file-form-custom-declare-variable): Use it.
11085 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11086 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11087 (byte-compile-bind): Handle dynamic bindings that shadow
11088 lexical bindings.
11089 (byte-compile-unbind): Make arg non-optional.
11090 (byte-compile-let): Simplify.
11091 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11092 (cconv--analyse-function, cconv-analyse-form): Populate it.
11093 Protect byte-compile-bound-variables to limit the scope of defvars.
11094 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11095 Remove unneeded rule for `declare'.
11096
11097 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11098 so as to avoid depending on cl-adjoin at run-time.
11099 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11100
11101 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11102 (macroexp--warn-and-return): Use it.
11103
1ac2891e
GM
111042013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11105
a12bf61e 11106 * subr.el: Convert to lexical binding.
1ac2891e
GM
11107 (overriding-local-map): Make obsolete.
11108 (add-to-list): Doc fix. Add compiler macro.
11109 (read-key): Swap values of local maps.
11110
2587b005
LL
111112013-06-05 Leo Liu <sdl.web@gmail.com>
11112
11113 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11114
f1da3c88
LL
111152013-06-04 Leo Liu <sdl.web@gmail.com>
11116
11117 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11118 (compilation-auto-jump): Suppress the "Mark set" message to give
11119 way to exit message.
11120
3caa391f
AM
111212013-06-04 Alan Mackenzie <acm@muc.de>
11122
11123 Remove faulty optimisation from indentation calculation.
11124 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11125 search limit based on 2000 characters back from indent-point.
11126
068922a2
TH
111272013-06-03 Tassilo Horn <tsdh@gnu.org>
11128
11129 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11130
1f8fdd53
SM
111312013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11132
bbcc4d97
SM
11133 * emacs-lisp/lisp.el: Use lexical-binding.
11134 (lisp--local-variables-1, lisp--local-variables): New functions.
11135 (lisp--local-variables-completion-table): New var.
208d0342 11136 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11137
1f8fdd53
SM
11138 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11139 eagerly (bug#14422).
11140
c9628c79
MA
111412013-06-03 Michael Albinus <michael.albinus@gmx.de>
11142
11143 * autorevert.el (auto-revert-notify-enabled)
11144 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11145 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11146 (auto-revert-notify-handler): Handle also gfilenotify.
11147
e7b41c4c 11148 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11149 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11150 Remove.
c9628c79 11151
e5e4a942
JL
111522013-06-03 Juri Linkov <juri@jurta.org>
11153
11154 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11155 `M-s h .'. (Bug#14427)
11156
11157 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11158 command `hi-lock-face-symbol-at-point'.
11159 (hi-lock-face-symbol-at-point): New command.
11160 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11161 (hi-lock-menu): Add `highlight-symbol-at-point'.
11162 (hi-lock-mode): Doc fix.
11163
11164 * isearch.el (isearch-forward-symbol-at-point): New command.
11165 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11166 (isearch-highlight-regexp): Add a regexp which matches
11167 words/symbols for word/symbol mode.
11168
11169 * subr.el (find-tag-default-bounds): New function with the body
11170 mostly moved from `find-tag-default'.
11171 (find-tag-default): Move most code to `find-tag-default-bounds',
11172 call it and apply `buffer-substring-no-properties' afterwards.
11173
26b3353a
TH
111742013-06-03 Tassilo Horn <tsdh@gnu.org>
11175
781b4af6
SM
11176 * eshell/em-term.el (eshell-term-initialize):
11177 Use `cl-intersection' rather than `intersection'.
26b3353a 11178
51b60f53
XF
111792013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11180
fe054b63 11181 * vc/log-view.el: Doc fix.
d3ffe17c 11182 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11183
a0eb10b3 111842013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11185
11186 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11187 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11188 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11189 (eieio-unbound, eieio-default-superclass)
11190 (eieio--define-field-accessors, method-static, method-before)
11191 (method-primary, method-after, method-num-lists)
11192 (method-generic-before, method-generic-primary)
11193 (method-generic-after, method-num-slots)
11194 (eieio-specialized-key-to-generic-key)
11195 (eieio--check-type, class-v, class-p)
11196 (eieio-class-name, define-obsolete-function-alias)
11197 (eieio-class-parents-fast, eieio-class-children-fast)
11198 (same-class-fast-p, class-constructor, generic-p)
11199 (generic-primary-only-p, generic-primary-only-one-p)
11200 (class-option-assoc, class-option, eieio-object-p)
11201 (class-abstract-p, class-method-invocation-order)
11202 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11203 (eieio-class-un-autoload, eieio-defclass)
11204 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11205 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11206 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11207 (eieio-defgeneric-reset-generic-form)
11208 (eieio-defgeneric-form-primary-only)
11209 (eieio-defgeneric-reset-generic-form-primary-only)
11210 (eieio-defgeneric-form-primary-only-one)
11211 (eieio-defgeneric-reset-generic-form-primary-only-one)
11212 (eieio-unbind-method-implementations)
11213 (eieio--defmethod, eieio--typep)
11214 (eieio-perform-slot-validation, eieio-validate-slot-value)
11215 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11216 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11217 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11218 (eieio-slot-name-index, eieio-class-slot-name-index)
11219 (eieio-set-defaults, eieio-initarg-to-attribute)
11220 (eieio-attribute-to-initarg, eieio-c3-candidate)
11221 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11222 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11223 (eieio-class-precedence-list, eieio-generic-call-methodname)
11224 (eieio-generic-call-arglst, eieio-generic-call-key)
11225 (eieio-generic-call-next-method-list)
11226 (eieio-pre-method-execution-functions, eieio-generic-call)
11227 (eieio-generic-call-primary-only, eieiomt-method-list)
11228 (eieiomt-optimizing-obarray, eieiomt-install)
11229 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11230 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11231 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11232 (defclass): Remove `eval-and-compile' from macro.
11233 (call-next-method, shared-initialize): Instead of using
11234 `scoped-class' variable, use new eieio--scoped-class, and
11235 eieio--with-scoped-class.
11236 (initialize-instance): Rename local variable 'scoped-class' to
11237 'this-class' to remove ambiguitity from old global.
11238
11239 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11240 eieio.el.
4f405069
JB
11241 (eieio--scoped-class-stack): New variable.
11242 (eieio--scoped-class): New fcn.
890f7890
DE
11243 (eieio--with-scoped-class): New scoping macro.
11244 (eieio-defclass): Use pushnew instead of add-to-list.
11245 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11246 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11247 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11248 `scoped-class' variable, use new eieio--scoped-class, and
11249 eieio--with-scoped-class.
11250
11251 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11252
d105b0e2
TH
112532013-06-02 Tassilo Horn <tsdh@gnu.org>
11254
11255 * eshell/esh-ext.el (eshell-external-command): Pass args to
11256 `eshell-find-interpreter'.
11257 (eshell-find-interpreter): Add new second parameter ARGS.
11258
11259 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11260 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11261
11262 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11263 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11264
11265 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11266 (eshell-visual-options): New defcustom.
11267 (eshell-escape-control-x): Adapt docstring.
11268 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11269 `eshell-visual-options' in addition to `eshell-visual-commands'.
11270 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11271
f46305c8 112722013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11273
11274 * progmodes/python.el (python-indent-block-enders): Add break,
11275 continue and raise keywords.
11276
d870df21
GM
112772013-06-01 Glenn Morris <rgm@gnu.org>
11278
9133b82e
GM
11279 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11280
02c992ec 11281 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11282 * progmodes/cc-cmds.el (delete-forward-p):
11283 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11284 * progmodes/cc-engine.el (buffer-syntactic-context):
11285 * progmodes/cc-fonts.el (face-property-instance):
11286 * progmodes/cc-mode.el (set-keymap-parents):
11287 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11288 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11289 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11290 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11291 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11292
31e7b090
GM
11293 * progmodes/cc-vars.el (other): Emacs has this widget since
11294 at least 21.1, so don't (re)define it.
11295
d870df21
GM
11296 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11297 Replace the obsolete alias pcomplete-arg-quote-list.
11298
c75c93c7
LL
112992013-06-01 Leo Liu <sdl.web@gmail.com>
11300
11301 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11302 punctuation syntax.
11303 (inferior-octave-minimal-columns)
11304 (inferior-octave-last-column-width): New variables.
11305 (inferior-octave-track-window-width-change): New function.
11306 (inferior-octave-mode): Adjust column width so that Octave output,
11307 for example from 'ls', can fit into the window nicely.
11308
973d1e12
DG
113092013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11310
11311 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11312 Highlight expansions inside regexp literals.
11313
0888c286
GM
113142013-05-31 Glenn Morris <rgm@gnu.org>
11315
e26aac1f
GM
11316 * obsolete/sym-comp.el (symbol-complete):
11317 Replace obsolete completion-annotate-function.
11318
0888c286
GM
11319 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11320
19bb8e62
DG
113212013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11322
781b4af6
SM
11323 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11324 New function, checks if point is inside a literal that allows
19bb8e62
DG
11325 expression expansion.
11326 (ruby-syntax-propertize-expansion): Use it.
11327 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11328 around the body.
11329
01dea85f
JL
113302013-05-30 Juri Linkov <juri@jurta.org>
11331
11332 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11333 to "\M-si".
11334 (isearch-invisible): New variable.
11335 (isearch-forward): Doc fix.
11336 (isearch-mode): Set `isearch-invisible'
11337 to the value of `search-invisible'.
11338 (isearch-toggle-case-fold): Doc fix.
11339 (isearch-toggle-invisible): New command.
11340 (isearch-query-replace): Let-bind `search-invisible'
11341 to the value of `isearch-invisible'.
11342 (isearch-search): Use `isearch-invisible' instead of
11343 `search-invisible'. Let-bind `search-invisible'
11344 to the value of `isearch-invisible'. (Bug#11378)
11345
ab1bdce5
JL
113462013-05-30 Juri Linkov <juri@jurta.org>
11347
11348 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11349 call when `query-flag' is nil and `search-invisible' is non-nil.
11350 (Bug#11746)
11351
d6d236e2
GM
113522013-05-30 Glenn Morris <rgm@gnu.org>
11353
8accd027
GM
11354 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11355
2a8bed1c
GM
11356 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11357 (cc-require): Suppress spurious "noruntime" warnings.
11358 (cc-require-when-compile): Use fboundp, for sake of compiler.
11359
d6d236e2
GM
11360 * progmodes/cc-mode.el: Move load of cc-vars before that of
11361 cc-langs (which in turn loads cc-vars), to quieten compiler.
11362
9190b35b
SM
113632013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * paren.el: Simplify the code.
11366 (show-paren-mode): Always start the timer.
11367 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11368 (show-paren--overlay, show-paren--overlay-1): Rename from
11369 show-paren-overlay and show-paren-overlay-1, and initialize to an
11370 overlay rather than to nil.
11371 (show-paren-function): Misc cleanup and simplifications.
11372
4f8d1cf6
SM
113732013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11374
11375 * paren.el (show-paren-data-function): New hook.
11376 (show-paren--default): New function, extracted from show-paren-function.
11377 (show-paren-function): Use show-paren-data-function.
11378
02d844b5
GM
113792013-05-30 Glenn Morris <rgm@gnu.org>
11380
d209d4a9
GM
11381 * ielm.el (ielm-map, ielm-complete-symbol):
11382 Use completion-at-point rather than obsolete functions.
11383 (inferior-emacs-lisp-mode): Doc fix.
11384 Set completion-at-point-functions, rather than
11385 comint-dynamic-complete-functions.
11386
2082faa6
GM
11387 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11388 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11389 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11390
dd8620de
GM
11391 * image.el (image-animated-p): Tweak definition.
11392
ceca95b1
GM
11393 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11394 (rlogin-process-connection-type): Tweak default. Add set-after.
11395 (rlogin-host): Doc fix.
11396 (rlogin): Tweak prompt.
11397 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11398
ee9f1acc
GM
11399 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11400 * progmodes/tcl.el (inferior-tcl-mode-map):
11401 Use completion-at-point rather than obsolete alias.
11402
45ce222e
GM
11403 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11404
02d844b5
GM
11405 * minibuffer.el (read-file-name-completion-ignore-case):
11406 Move before completion--in-region, for eager macro expansion.
11407
ac44d6c1
JL
114082013-05-29 Juri Linkov <juri@jurta.org>
11409
11410 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11411 for total count of matching lines. Add `global-matches' for total
11412 count of matches. Rename `matches' to `lines' for count of
11413 matching lines. Add `matches' for count of matches.
11414 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11415 to `prev-line' for line number of prev match endpt.
11416 Increment `matches' for every match. Print the number of
11417 matching lines in the header.
11418 (occur-context-lines): Rename `lines' to `curr-line'.
11419 Rename `prev-lines' to `prev-line'. (Bug#14017)
11420
3c9c9d38
JL
114212013-05-29 Juri Linkov <juri@jurta.org>
11422
11423 * replace.el (perform-replace): Add `skip-read-only-count',
11424 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11425 Increment them for corresponding conditions and report the number
11426 of skipped occurrences in the final message. (Bug#11746)
11427 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11428 (replace-string, replace-regexp): Doc fix.
11429
33e249a2
SM
114302013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11431
8e399682
SM
11432 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11433
33e249a2 11434 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11435 prog-mode-map (bug#14504).
33e249a2 11436
f236dd84
LL
114372013-05-29 Leo Liu <sdl.web@gmail.com>
11438
11439 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11440 (octave-help): Small simplification.
11441
11442 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11443 off the highlight first.
11444
3694d13f
GM
114452013-05-29 Glenn Morris <rgm@gnu.org>
11446
03983bdc
GM
11447 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11448 Handle idlwave-last-system-routine-info-cons-cell being nil.
11449
bc74a74a
GM
11450 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11451 (idlwave-write-paths): Simplify via with-temp-buffer.
11452
8b394200
GM
11453 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11454 * emulation/cua-rect.el: Also load cua-base at run time.
11455
3694d13f
GM
11456 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11457 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11458 (cperl-imenu-on-info): Require imenu.
11459
336d7284
AM
114602013-05-28 Alan Mackenzie <acm@muc.de>
11461
11462 Handle "capitalised keywords" correctly.
33e249a2 11463 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11464
cb29c582
AG
114652013-05-28 Aidan Gauland <aidalgol@amuri.net>
11466
781b4af6 11467 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11468
690e44b2
GM
114692013-05-28 Glenn Morris <rgm@gnu.org>
11470
e658d75c
GM
11471 * vc/vc-arch.el (vc-exec-after): Declare.
11472 (vc-switches): Autoload.
11473 * vc/vc-bzr.el: No need to require vc when compiling.
11474 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11475 (vc-resynch-buffer, vc-dir-refresh): Declare.
11476 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11477 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11478 (vc-resynch-buffer): Declare.
11479 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11480 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11481 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11482 (grep-read-regexp, grep-read-files, grep-expand-template)
11483 (vc-dir-refresh): Declare.
11484 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11485 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11486 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11487 * vc/vc-mtn.el (vc-exec-after): Declare.
11488 (vc-switches): Autoload.
11489 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11490 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11491 (vc-file-tree-walk): Declare.
712b9732
GM
11492 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11493 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11494 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11495 * vc/vc-svn.el (vc-exec-after): Declare.
11496 (vc-switches, vc-setup-buffer): Autoload.
11497 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11498 Autoload.
11499 (vc-resynch-buffer): Declare.
11500
98e87fb3
GM
11501 * obsolete/fast-lock.el (byte-compile-warnings):
11502 Don't warn about obsolete features in this obsolete file.
11503
f5379553
GM
11504 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11505 Move definition before use.
11506
7a20ef83
GM
11507 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11508 (dun-unix-verbs): Remove dun-zippy.
11509 (dun-zippy): Remove function.
11510
690e44b2
GM
11511 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11512
3a52ccf7
JL
115132013-05-27 Juri Linkov <juri@jurta.org>
11514
11515 * replace.el (replace-search): New function with code moved out
11516 from `perform-replace'.
11517 (replace-highlight, replace-dehighlight): Move function definitions
11518 up closer to `replace-search'. (Bug#11746)
11519
d289938a
JL
115202013-05-27 Juri Linkov <juri@jurta.org>
11521
11522 * replace.el (perform-replace): Ignore invisible matches.
11523 In addition to checking `query-replace-skip-read-only', also
11524 filter out matches by calling `run-hook-with-args-until-failure'
11525 on `isearch-filter-predicates', and also check `search-invisible'
11526 for t or call `isearch-range-invisible'.
11527 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11528
66fc57e3
JL
115292013-05-27 Juri Linkov <juri@jurta.org>
11530
11531 * isearch.el (isearch-filter-predicates): Rename from
11532 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11533 (isearch-message-prefix): Display text from the property
11534 `isearch-message-prefix' of the currently active filters.
11535 (isearch-search): Don't compare `isearch-filter-predicate' with
11536 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11537 on `isearch-filter-predicates'. Also check `search-invisible' for t
11538 or call `isearch-range-invisible'.
11539 (isearch-filter-visible): Make obsolete.
11540 (isearch-lazy-highlight-search):
11541 Call `run-hook-with-args-until-failure' on
11542 `isearch-filter-predicates' and use `isearch-range-invisible'.
11543
11544 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11545 `isearch-filter-predicates' instead of `funcall'ing
11546 `isearch-filter-predicate'.
11547 (Info-mode): Set `Info-isearch-filter' to
11548 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11549
11550 * dired-aux.el (dired-isearch-filter-predicate-orig):
11551 Remove variable.
11552 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11553 (dired-isearch-filenames-end): Add and remove
11554 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11555 instead of changing the value of `isearch-filter-predicate'.
11556 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11557 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11558 Put property `isearch-message-prefix' to "filename " on
11559 `dired-isearch-filter-filenames'.
11560
11561 * wdired.el (wdired-change-to-wdired-mode):
11562 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11563 locally instead of changing `isearch-filter-predicate'.
11564 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11565
f1a60a0f
DG
115662013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11567
11568 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11569 return the commit hash (Bug#14459). Also set the
11570 `vc-git-detached' property.
11571 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11572 (vc-git-mode-line-string): Use the same help-echo format whether
11573 in detached mode or not, because we know the actual revision now.
11574 When in detached mode, shorten the revision to 7 chars.
11575
7f17cc40
SM
115762013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * emacs-lisp/easy-mmode.el (define-minor-mode):
11579 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11580 mode hook and provide a docstring.
11581
25c8401c
AM
115822013-05-27 Alan Mackenzie <acm@muc.de>
11583
11584 Remove spurious syntax-table text properties inserted by C-y.
11585 * progmodes/cc-mode.el (c-after-change): Also clear hard
11586 syntax-table property with value nil.
11587
dde84790
MA
115882013-05-27 Michael Albinus <michael.albinus@gmx.de>
11589
11590 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11591 when reading the events; the buffer layout shall not be changed.
11592
837fd9af
LL
115932013-05-27 Leo Liu <sdl.web@gmail.com>
11594
11595 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11596 New variable.
11597 (inferior-octave-directory-tracker): Automatically re-sync
11598 default-directory.
11599 (octave-help): Improve handling of 'See also'.
11600
4fd996b3
SM
116012013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11602
416f1802
SM
11603 * doc-view.el: Minor naming convention tweaks.
11604 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11605
4fd996b3
SM
11606 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11607 even if there's no `display' property yet (bug#14435).
11608
a052ef3b
EZ
116092013-05-25 Eli Zaretskii <eliz@gnu.org>
11610
4fd996b3 11611 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11612
11613 * Makefile.in (custom-deps, finder-data, autoloads)
11614 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11615 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11616 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11617
c9023370
SM
116182013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11619
11620 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11621 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11622 Don't burp at EOB.
c9023370 11623
24d699fa
LL
116242013-05-25 Leo Liu <sdl.web@gmail.com>
11625
11626 * comint.el (comint-previous-matching-input): Do not flood the
11627 *Messages* buffer with trivial messages.
11628
17e5c0cc
SM
116292013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 * progmodes/flymake.el (flymake-nop): Don't return a string.
11632 (flymake-set-at): Fix typo.
11633
11634 * simple.el (read--expression): New function, extracted from
11635 eval-expression. Set completion-at-point-functions (bug#14465).
11636 (eval-expression, eval-minibuffer): Use it.
11637
5d028165
XF
116382013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11639
11640 * progmodes/flymake.el (flymake-save-buffer-in-file)
11641 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11642 (flymake-selected-frame, flymake-log, flymake-ins-after)
11643 (flymake-set-at, flymake-get-buildfile-from-cache)
11644 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11645 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11646 Refine the doc string.
11647 (flymake-get-file-name-mode-and-masks): Reformat.
11648 (flymake-get-real-file-name-function): Fix a minor bug.
11649
7a1d7ba7
JL
116502013-05-24 Juri Linkov <juri@jurta.org>
11651
11652 * progmodes/grep.el (grep-mode-font-lock-keywords):
11653 Support =linenumber= format used by git-grep for lines with
11654 function names. (Bug#13549)
11655
650cff3d
SM
116562013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11659 0 after a semi-colon; it works better for smie-auto-fill.
11660 (octave--indent-new-comment-line): New function.
11661 (octave-indent-new-comment-line): Use it (indirectly).
11662 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11663 modify comment-line-break-function.
11664
11665 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11666 (smie-setup): Use add-function to set it.
11667
9631677d
SS
116682013-05-24 Sam Steingold <sds@gnu.org>
11669
11670 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11671 argument (before the `interactive' argument).
11672
50105835
SM
116732013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11674
11675 * image-mode.el (image-mode-winprops): Add winprops to
11676 image-mode-winprops-alist before running
11677 image-mode-new-window-functions.
11678 * doc-view.el (doc-view-new-window-function): Don't delay
11679 doc-view-goto-page via timers (bug#14435).
11680
57b9823e
TH
116812013-05-24 Tassilo Horn <tsdh@gnu.org>
11682
11683 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11684 (doc-view-desktop-save-buffer): New function.
11685 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11686 (desktop-buffer-mode-handlers):
11687 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11688 handler.
11689 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11690 `desktop-save-buffer' function.
11691
91aafa16
MA
116922013-05-24 Michael Albinus <michael.albinus@gmx.de>
11693
11694 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11695 (tramp-gvfs-file-name-handler): Raise a user error when
11696 `tramp-gvfs-enabled' is nil.
11697 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11698 Do not raise a user error when loading package. (Bug#14447)
11699
ec076379
MA
11700 * net/xesam.el: Move to obsolete/.
11701
db785726
GM
117022013-05-24 Glenn Morris <rgm@gnu.org>
11703
af5c7606
GM
11704 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11705
e5d1916a
GM
11706 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11707
ded62b08
GM
11708 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11709 (Info-find-node, Man-getpage-in-background): Declare.
11710
9e614a3f
GM
11711 * mail/unrmail.el (unrmail):
11712 Replace obsolete detect-coding-with-priority.
11713
892f8ca3
GM
11714 * net/socks.el (socks-split-string): Use this rather than split-string.
11715 (socks-nslookup-host): Update for above change.
11716 (dynamic-choice, s5-dynamic-choice-match)
11717 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11718 Comment out unused code.
11719
3c291973
GM
11720 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11721 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11722 (gud-tooltip-echo-area): Make obsolete.
11723 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11724
43cc956b
GM
11725 * progmodes/js.el (js--optimize-arglist): Declare.
11726
dab49a3b
GM
11727 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11728
36b9d085
GM
11729 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11730 (ediff-window-C): Declare.
11731
e354ae76
GM
11732 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11733 Tweak requires to silence compiler.
11734
b8e57bf4
GM
11735 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11736 (he-search-string, he-tried-table, he-expand-list)
11737 (he-init-string, he-string-member, he-substitute-string)
11738 (he-reset-string): Declare.
11739
db785726
GM
11740 * obsolete/options.el (list-options): Use custom-variable-p,
11741 rather than obsolete alias.
11742
b3531901
SS
117432013-05-23 Sam Steingold <sds@gnu.org>
11744
11745 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11746 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11747 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11748
bdda4c66
SM
117492013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11750
11751 * emacs-lisp/smie.el (smie-indent-forward-token)
11752 (smie-indent-backward-token): Handle string tokens (bug#14381).
11753
c43d45f9
TH
117542013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11755
fe1eb856
RS
11756 * ielm.el (ielm-menu): New menu.
11757 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11758
fe1eb856
RS
117592013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11760
a12bf61e 11761 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11762 Fix deactivate action.
11763
a12bf61e 11764 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11765 Add cleveref macros.
074dd971 11766
a12bf61e 11767 * textmodes/reftex-parse.el
c43d45f9
TH
11768 (reftex-locate-bibliography-files): Accept options for
11769 bibliography commands.
a12bf61e 11770 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11771 Add addbibresource. Basic Biblatex support.
11772
7764286e
MA
117732013-05-23 Michael Albinus <michael.albinus@gmx.de>
11774
11775 * net/tramp-gvfs.el (top):
11776 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11777 when loading package. (Bug#14447)
11778
d361bc10
GM
117792013-05-23 Glenn Morris <rgm@gnu.org>
11780
8fa23984
GM
11781 * progmodes/js.el: No need to load comint when compiling.
11782 (ring-insert, comint-send-string, comint-send-input)
11783 (comint-last-input-end, ido-chop): Declare.
11784
a5c7df1a
GM
11785 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11786 * vc/ediff-mult.el: Adjust requires.
11787 (ediff-directories-internal, ediff-directory-revisions-internal)
11788 (ediff-patch-file-internal): Declare.
11789 * vc/ediff-ptch.el: Adjust requires.
11790 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11791 (ediff-find-file): Autoload.
11792 * vc/ediff-util.el: No need to load ediff when compiling.
11793 (ediff-regions-internal): Declare.
11794 * vc/ediff-wind.el: Adjust requires.
11795 (ediff-compute-toolbar-width): Define when compiling.
11796 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11797 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11798 (dired-get-filename, dired-get-marked-files)
11799 (ediff-last-dir-patch, ediff-patch-default-directory)
11800 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11801 (ediff-patch-buffer-internal): Declare.
11802
e2aec513
GM
11803 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11804 (ispell-process, ispell-buffer-local-words, lm-summary)
11805 (lm-section-start, lm-section-end): Declare.
11806 (checkdoc-ispell-init): Simplify.
11807
e68bbd7c
GM
11808 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11809 (he-string-member, he-reset-string, he-substitute-string): Declare.
11810
7efe0991
GM
11811 * eshell/em-ls.el: Adjust requires.
11812 (eshell-glob-regexp): Declare.
f87b1284
GM
11813 * eshell/em-tramp.el: Adjust requires.
11814 (eshell-parse-command): Autoload.
11815 * eshell/em-xtra.el: Adjust requires.
11816 (eshell-parse-command): Autoload.
11817 * eshell/esh-ext.el: Adjust requires.
11818 (eshell-parse-command, eshell-close-handles): Autoload.
11819 * eshell/esh-io.el: Adjust requires.
11820 (eshell-output-filter): Autoload.
11821 * eshell/esh-util.el: No need to load tramp when compiling.
11822 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11823 Declare.
11824 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11825 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11826 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11827 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11828 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11829 * eshell/esh-opt.el, eshell/esh-proc.el:
11830 * eshell/esh-var.el: Adjust requires.
11831 * eshell/eshell.el: Do not require esh-util twice.
11832 (eshell-add-input-to-history): Declare.
11833 (eshell-command): Check history module is active before using it.
11834
d361bc10
GM
11835 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11836
85d090a9
LL
118372013-05-22 Leo Liu <sdl.web@gmail.com>
11838
11839 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11840
5d0acd9d
MA
118412013-05-22 Michael Albinus <michael.albinus@gmx.de>
11842
11843 * autorevert.el (auto-revert-notify-add-watch)
11844 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11845 it indicates changes in file modification time.
11846
0cdffd7d
GM
118472013-05-22 Glenn Morris <rgm@gnu.org>
11848
ca5995ec
GM
11849 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11850 Always delete the autoloaded function from the noruntime and
11851 unresolved functions lists.
11852
6450907e
GM
11853 * allout.el: No need to load epa, epg, overlay when compiling.
11854 (epg-context-set-passphrase-callback, epg-list-keys)
11855 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11856 (epg-key-user-id-list): Declare.
11857
9c6906f6
GM
11858 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11859 (viper-set-parsing-style-toggling-macro)
11860 (viper-set-emacs-state-searchstyle-macros):
11861 Use called-interactively-p on Emacs.
11862 (viper-looking-back): Make it an obsolete alias. Update callers.
11863 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11864 Use looking-back rather than viper-looking-back.
11865 (viper-tmp-insert-at-eob, viper-enlarge-region)
11866 (viper-read-string-with-history, viper-register-to-point)
11867 (viper-append-to-register, viper-change-state-to-vi)
11868 (viper-backward-char-carefully, viper-forward-char-carefully)
11869 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11870 (viper-change-state-to-emacs): Declare.
11871 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11872 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11873 * emulation/viper-mous.el: Do not load viper-cmd.
11874 (viper-backward-char-carefully, viper-forward-char-carefully)
11875 (viper-forward-word, viper-adjust-window): Declare.
11876
5f70c169
GM
11877 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11878
b1b7f300
GM
11879 * progmodes/idlw-help.el (idlwave-help-fontify):
11880 Use called-interactively-p.
11881
f6ebbb46
GM
11882 * term/w32console.el (w32-get-console-codepage)
11883 (w32-get-console-output-codepage): Declare.
11884
0cdffd7d
GM
11885 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11886 Remove unnecessary declarations.
11887 (dframe-message): Doc fix.
11888
11889 * info.el (dframe-select-attached-frame, dframe-current-frame):
11890 Declare.
11891
11892 * speedbar.el (speedbar-message): Make it an obsolete alias.
11893 Update all callers.
11894 (speedbar-with-attached-buffer)
11895 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11896 (speedbar-with-writable): Use backquote.
11897 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11898 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11899 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11900 rather than speedbar- aliases.
11901 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11902 (speedbar-make-specialized-keymap, speedbar-insert-button)
11903 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11904 (speedbar-do-function-pointer): Declare.
11905 (rmail-speedbar-button, rmail-speedbar-find-file)
11906 (rmail-speedbar-move-message):
11907 Use dframe-with-attached-buffer rather than speedbar- alias.
11908 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11909 (dframe-message, speedbar-make-specialized-keymap)
11910 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11911 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11912 (speedbar-insert-button, dframe-select-attached-frame)
11913 (dframe-maybee-jump-to-attached-frame)
11914 (speedbar-change-initial-expansion-list)
11915 (speedbar-previously-used-expansion-list-name): Declare.
11916 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11917 Use dframe-message, dframe-with-attached-buffer rather than
11918 speedbar- aliases.
11919 (gud-sentinel): Silence compiler.
11920 * progmodes/vhdl-mode.el (speedbar-refresh)
11921 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11922 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11923 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11924 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11925 (speedbar-file-lists, speedbar-make-tag-line)
11926 (speedbar-line-directory, speedbar-goto-this-file)
11927 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11928 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11929 (speedbar-make-button, speedbar-reset-scanners)
11930 (speedbar-files-item-info, speedbar-line-text)
11931 (speedbar-find-file-in-frame, speedbar-set-timer)
11932 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11933 (speedbar-with-writable): Do not (re)define it.
11934 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11935 rather than speedbar- alias.
11936
ee44b62a
LL
119372013-05-21 Leo Liu <sdl.web@gmail.com>
11938
11939 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11940 menu items.
11941 (octave-mode): Tweak fill-nobreak-predicate.
11942 (inferior-octave-startup): Check process to avoid infinite loop.
11943 (inferior-octave): Pop to buffer first to show abornmal process
11944 exit information.
11945
640f050f
GM
119462013-05-21 Glenn Morris <rgm@gnu.org>
11947
79458038
GM
11948 * printing.el (pr-menu-bar): Define when compiling.
11949
9cc3e83f
LL
119502013-05-21 Leo Liu <sdl.web@gmail.com>
11951
11952 * progmodes/octave.el (octave-auto-fill): Remove.
11953 (octave-indent-new-comment-line): Improve.
11954 (octave-mode): Use auto fill mode through
4f405069 11955 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11956 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11957 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11958 (octave-help): Show parent directory.
11959
f440830d
GM
119602013-05-21 Glenn Morris <rgm@gnu.org>
11961
11962 * files.el (dired-unmark):
11963 * progmodes/gud.el (gdb-input): Update declarations.
11964
11965 * calculator.el (electric, ehelp): No need to load when compiling.
11966 (Electric-command-loop, electric-describe-mode): Declare.
11967
11968 * doc-view.el (doc-view-current-converter-processes): Move before use.
11969
11970 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11971 Move MODE-set-explicitly definition before use.
11972
11973 * international/mule-diag.el (mule-diag):
11974 Don't use obsolete window-system-version.
11975
11976 * mail/feedmail.el (smtpmail): No need to load when compiling.
11977 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11978
11979 * mail/mail-utils.el (rfc822): No need to load when compiling.
11980 (rfc822-addresses): Autoload it.
11981 (mail-strip-quoted-names): Trivial simplification.
11982
11983 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11984 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11985
11986 * net/snmp-mode.el (tempo): Don't duplicate requires.
11987
11988 * progmodes/prolog.el (info): No need to load when compiling.
11989 (comint): Require before shell requires it.
11990 (Info-goto-node): Autoload it.
11991 (Info-follow-nearest-node): Declare.
11992 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11993
11994 * textmodes/artist.el (picture-mode-exit): Declare.
11995
11996 * textmodes/reftex-parse.el (reftex-parse-from-file):
11997 Trivial rewrite so the compiler can parse it better.
11998
b4da2cbb
LL
119992013-05-20 Leo Liu <sdl.web@gmail.com>
12000
12001 * progmodes/octave.el (octave-help-mode-map)
12002 (octave-help-mode-finish-hook): New variables.
12003 (octave-help-mode, octave-help-mode-finish): New functions.
12004 (octave-help): Use octave-help-mode.
12005
33c0f65b
GM
120062013-05-20 Glenn Morris <rgm@gnu.org>
12007
12008 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12009
1a0a0a8a
DG
120102013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12011
12012 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12013 start at point, so that expansion starting right after opening
12014 slash in a regexp is recognized.
12015 (ruby-syntax-before-regexp-re): New defvar, extracted from
12016 ruby-syntax-propertize-function. Since the value of this regexp
12017 is looked up at runtime now, we should be able to turn
12018 `ruby-syntax-methods-before-regexp' into a defcustom later.
12019 (ruby-syntax-propertize-function): Split regexp matching into two
12020 parts, for opening and closing slashes. That allows us to skip
12021 over string interpolations and support multiline regexps.
12022 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12023 for them, which calls `ruby-syntax-propertize-expansion'.
12024 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12025 call to `ruby-syntax-propertize-function'.
12026 (ruby-syntax-propertize-expansion): Extracted from
12027 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12028 (ruby-syntax-propertize-percent-literal): Leave point right after
12029 the percent symbol, so that the expression expansion rule can
12030 propertize the contents.
462388b6
DG
12031 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12032 heredoc openers.
12033 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12034
c1a6c0a4
JL
120352013-05-18 Juri Linkov <juri@jurta.org>
12036
12037 * man.el (Man-default-man-entry): Remove `-' from the end
12038 of the default value. (Bug#14400)
12039
8051fccd
GM
120402013-05-18 Glenn Morris <rgm@gnu.org>
12041
12042 * comint.el (comint-password-prompt-regexp):
12043 Allow "password for XXX" where XXX contains colons (eg https://...).
12044
5e80b74f
LL
120452013-05-18 Leo Liu <sdl.web@gmail.com>
12046
12047 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12048 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12049 (octave-source-directories): Don't check process.
12050 (octave-source-directories, octave-find-definition): Doc fix.
12051
521a54c5
GM
120522013-05-18 Glenn Morris <rgm@gnu.org>
12053
86a94b05
GM
12054 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12055 Remove backspace/delete bindings. (Bug#14392)
12056
521a54c5
GM
12057 * cus-dep.el (custom-make-dependencies): Sort the output.
12058 (custom-versions-load-alist): Convert comment to doc.
12059
42caeb89
LL
120602013-05-17 Leo Liu <sdl.web@gmail.com>
12061
12062 * newcomment.el (comment-search-backward): Stricter in finding
12063 comment start. (Bug#14303)
12064
12065 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12066 (octave-comment-start-skip): Properly anchored.
12067
e219dd97
LL
120682013-05-17 Leo Liu <sdl.web@gmail.com>
12069
fe1eb856
RS
12070 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12071 Clean up when turned off. (Bug#14395)
e219dd97
LL
12072 (smie--highlight-matching-block-overlay): No longer buffer-local.
12073 (smie-highlight-matching-block): Adjust.
12074
dc5dcb4b
PE
120752013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12076
12077 Doc string fix for "nanoseconds" (Bug#14406).
12078 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12079 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12080
1db165f0
JB
120812013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12082
12083 * calc/calc-units.el (math-extract-units): Preserve powers
12084 of units.
12085
c7a8fcac
LL
120862013-05-17 Leo Liu <sdl.web@gmail.com>
12087
12088 * subr.el (delete-consecutive-dups): New function.
12089 * ido.el (ido-set-matches-1): Use it.
12090 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12091 * ido.el (ido-remove-consecutive-dups): Remove.
12092
f678b18a
SM
120932013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12094
12095 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12096 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12097 regexp-opt's `words'.
12098
ebfe68e8
LL
120992013-05-16 Leo Liu <sdl.web@gmail.com>
12100
12101 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12102 (smie--highlight-matching-block-overlay)
12103 (smie--highlight-matching-block-lastpos)
12104 (smie--highlight-matching-block-timer): New variables.
12105 (smie-highlight-matching-block): New function.
12106 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12107 (smie-setup): Conditionally enable smie-blink-matching-open.
12108
bc8bc17d
WS
121092013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12110
12111 Sync with upstream verilog-mode r840.
12112 * progmodes/verilog-mode.el (verilog-mode-version)
12113 (verilog-mode-release-date): Update.
12114 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12115 (verilog-sig-tieoff): Fix string error on
12116 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12117 (verilog-read-decls): Fix parameters confusing
12118 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12119
df065a0b
EZ
121202013-05-16 Eli Zaretskii <eliz@gnu.org>
12121
12122 * subr.el (reveal-filename): New function.
12123
12124 * loadup.el: Compute Emacs executable versions on MS-Windows,
12125 where executables have the .exe extension. Add a hard link
12126 emacs-XX.YY.ZZ.exe on MS-Windows.
12127
12128 * Makefile.in (XARGS_LIMIT): New variable.
12129 (custom-deps, finder-data, autoloads)
12130 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12131 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12132 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12133 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12134
2d4bf34b
LL
121352013-05-16 Leo Liu <sdl.web@gmail.com>
12136
12137 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12138 (octave-mode-menu, octave-mode-map): Remove its uses.
12139
6b9c2d85
RZ
121402013-05-16 Reto Zimmermann <reto@gnu.org>
12141
12142 Sync with upstream vhdl mode v3.34.2.
12143 * progmodes/vhdl-mode.el: Use `push' throughout.
12144 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12145 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12146 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12147 (vhdl-actual-generic-name): New option to derive actual generic name.
12148 (vhdl-port-paste-signals): Replace formal by actual generics.
12149 (vhdl-beautify): New name for old group vhdl-align. Update users.
12150 (vhdl-beautify-options): New option.
12151 (vhdl-last-input-event): New compat alias. Use throughout.
12152 (vhdl-goto-line): Replace user level function `goto-line'.
12153 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12154 vhdl-fix-statement-buffer.
12155 (vhdl-create-mode-menu): Add some entries.
12156 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12157 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12158 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12159 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12160 to force statements on one line.
12161 (vhdl-remove-trailing-spaces-region):
12162 New, split from vhdl-remove-trailing-spaces.
12163 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12164 Respect vhdl-beautify-options.
12165 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12166 (vhdl-update-sensitivity-list): Not add with index if exists without.
12167 Not include array index with signal. Ignore keywords in comments.
12168 (vhdl-get-visible-signals): Regexp tweaks.
12169 (vhdl-template-component-inst): Handle empty library.
12170 (vhdl-template-type): Add template for 'enum' type.
12171 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12172 Use vhdl-replace-string.
12173 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12174 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12175 (vhdl-speedbar-initialize): Update for above name change.
12176 (vhdl-compose-wire-components): Fix in handling of constants.
12177 (vhdl-error-regexp-emacs-alist): New variable.
12178 (vhdl-error-regexp-add-emacs): New function;
12179 adds support for new compile.el (Emacs 22+)
12180 (vhdl-generate-makefile-1): Change target order for single lib. units.
12181 Allow use of absolute file names.
12182
9df4ec5e
LL
121832013-05-16 Leo Liu <sdl.web@gmail.com>
12184
12185 * simple.el (prog-indent-sexp): Indent enclosing defun.
12186
f5ba00a6
GM
121872013-05-15 Glenn Morris <rgm@gnu.org>
12188
ed8be7ff
GM
12189 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12190 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12191 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12192 (whitespace-highlight): Move to whitespace group.
12193
12194 * comint.el (comint-source):
12195 * pcmpl-linux.el (pcmpl-linux):
12196 * shell.el (shell-faces):
12197 * eshell/esh-opt.el (eshell-opt):
12198 * international/ccl.el (ccl): Remove empty custom groups.
12199
12200 * completion.el (dynamic-completion-mode):
12201 * jit-lock.el (jit-lock-debug-mode):
12202 * minibuffer.el (completion-in-region-mode):
12203 * type-break.el (type-break-mode-line-message-mode)
12204 (type-break-query-mode):
12205 * emulation/tpu-edt.el (tpu-edt-mode):
12206 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12207 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12208 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12209
12210 * term/xterm.el (xterm): Change parent group to terminals.
12211
12212 * master.el (master): Remove empty custom group.
12213 (master-mode): Remove unused :group argument.
12214 * textmodes/refill.el (refill): Remove empty custom group.
12215 (refill-mode): Remove unused :group argument.
12216
12217 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12218
82a7c41b
GM
12219 * cus-dep.el: Provide a feature.
12220 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12221 Don't mistakenly ignore files whose basenames match a basename
12222 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12223 Add a fallback method for getting :group.
f5ba00a6 12224
6d65486d
JL
122252013-05-15 Juri Linkov <juri@jurta.org>
12226
da547b32
JL
12227 * isearch.el (isearch-char-by-name): Rename from
12228 `isearch-insert-char-by-name'. Doc fix.
12229 (isearch-forward): Mention `isearch-char-by-name' in
12230 the docstring. (Bug#13348)
12231
6d65486d
JL
12232 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12233 `exit-minibuffer' instead of
12234 `isearch-nonincremental-exit-minibuffer'.
12235 (isearch-edit-string): Remove mention of
12236 `isearch-nonincremental-exit-minibuffer' from docstring.
12237 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12238 (isearch-forward-exit-minibuffer)
12239 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12240
c9990474
SM
122412013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12242
6e911150
SM
12243 * loadup.el: Just use unversioned DOC.
12244
c9990474
SM
12245 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12246 literals as extending to EOB.
12247 (nxml-last-fontify-end): Remove unused variable.
12248 (nxml-after-change1): Use with-silent-modifications.
12249 (nxml-extend-after-change-region): Simplify.
12250 (nxml-extend-after-change-region1): Remove function.
12251 (nxml-after-change1): Don't adjust for dependent regions.
12252 (nxml-fontify-matcher): Simplify.
12253 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12254 (xmltok-add-dependent): Remove function.
12255 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12256 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12257 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12258 unclosed <[[, <?, comment, and other literals as extending to EOB.
12259 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12260 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12261 Remove functions.
12262 (rng-do-some-validation-1): Don't mark dependent regions.
12263 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12264 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12265 (nxml-clear-dependent-regions): Remove functions.
12266 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12267 (nxml-ensure-scan-up-to-date):
12268 Don't clear&mark dependent regions.
12269
e3772e98
LL
122702013-05-15 Leo Liu <sdl.web@gmail.com>
12271
c9990474
SM
12272 * progmodes/octave.el (octave-goto-function-definition):
12273 Improve and fix callers.
e3772e98 12274
5ac2eb34
SM
122752013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12276
c46c57b0
SM
12277 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12278 the setter (bug#14387).
12279
5ac2eb34
SM
12280 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12281 surrounding group (bug#14402).
12282
180ed218
JL
122832013-05-14 Juri Linkov <juri@jurta.org>
12284
12285 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12286 (Bug#14390)
12287
0ac0fecb
GM
122882013-05-14 Glenn Morris <rgm@gnu.org>
12289
12290 * progmodes/f90.el (f90-imenu-generic-expression):
12291 Fix typo in 2013-05-08 change. (Bug#14402)
12292
2e78e6a7
JPG
122932013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12294
5ac2eb34
SM
12295 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12296 Remove signals for which replies are never received.
2e78e6a7 12297
53267cca
JPG
122982013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12299
12300 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12301 (gdb-handler-alist, gdb-handler-number): Remove variables.
12302 (gdb-handler-list): New variable.
12303 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12304 (gdb-pending-handler-p, gdb-handle-reply)
12305 (gdb-remove-all-pending-triggers): New functions.
12306 (gdb-discard-unordered-replies): New defcustom.
12307 (gdb-handler): New defstruct.
12308 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12309 instead of gdb-pending-triggers. Update docstring.
12310 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12311 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12312 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12313 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12314 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12315 (gdb-frame-handler): Pending triggers are now automatically managed.
12316 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12317 Remove argument.
12318 (gdb-input): Automatically handles pending triggers. Update docstring.
12319 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12320 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12321 Update comments.
12322 (gdb-done-or-error): Now use gdb-handle-reply.
12323
d04ce803
JPG
123242013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12325
12326 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12327 gdb-debug-log.
12328
0114073a
GM
123292013-05-14 Glenn Morris <rgm@gnu.org>
12330
12331 * subr.el (user-emacs-directory-warning): New option.
12332 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12333
4d25fd7e
LL
123342013-05-14 Leo Liu <sdl.web@gmail.com>
12335
12336 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12337 during redisplay.
12338 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12339 (octave-font-lock-texinfo-comment): Fix invalid search bound
12340 error: wrong side of point.
4d25fd7e 12341
27c8b6eb
GM
123422013-05-14 Glenn Morris <rgm@gnu.org>
12343
61aaeb01
GM
12344 * progmodes/flymake.el (flymake-xml-program): New option.
12345 (flymake-xml-init): Use it.
12346
5bf90bc5
GM
12347 * term/xterm.el: Provide a feature.
12348
12349 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12350
f4c7dfd2
GM
123512013-05-13 Glenn Morris <rgm@gnu.org>
12352
12353 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12354 Add compat aliases as a hack workaround. (Bug#14384)
12355
2aeb3a1d
LL
123562013-05-13 Leo Liu <sdl.web@gmail.com>
12357
b0e069c2
LL
12358 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12359 ###, and %!.
f5a9432f
LL
12360 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12361 C-M-q.
b0e069c2
LL
12362 (octave-comment-start-skip): Include %!.
12363 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12364
30ea8374
LL
123652013-05-12 Leo Liu <sdl.web@gmail.com>
12366
12367 * progmodes/octave.el (inferior-octave-startup): Store the value
12368 of __octave_srcdir__ for octave-source-directories.
12369 (inferior-octave-check-process): New function refactored out of
12370 inferior-octave-send-list-and-digest.
12371 (octave-source-directories)
12372 (octave-find-definition-filename-function): New variables.
12373 (octave-source-directories)
12374 (octave-find-definition-default-filename): New functions.
12375 (octave-find-definition): Improve to find functions implemented in C++.
12376
472a3834
GM
123772013-05-12 Glenn Morris <rgm@gnu.org>
12378
12379 * calendar/diary-lib.el (diary-outlook-format-1):
12380 Don't include dayname in the output. (Bug#14349)
12381
3191b52f
GM
123822013-05-11 Glenn Morris <rgm@gnu.org>
12383
0060ac73
GM
12384 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12385
3191b52f
GM
12386 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12387 Treat cc-provide like provide.
12388
e065ba74
KR
123892013-05-11 Kevin Ryde <user42@zip.com.au>
12390
12391 * cus-dep.el (custom-make-dependencies):
12392 Use generated-autoload-load-name for the sake of files such
12393 such cedet/semantic/bovine/c.el, where the base file name
12394 is not in load-path. (Bug#5277)
12395
36f84c37
GM
123962013-05-11 Glenn Morris <rgm@gnu.org>
12397
12398 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12399 Provide features.
12400
c8730c3a
LL
124012013-05-11 Leo Liu <sdl.web@gmail.com>
12402
12403 * progmodes/octave.el (octave-indent-comment): Improve.
12404 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12405 (octave-eldoc-function-signatures, octave-eldoc-function):
12406 New functions.
c8730c3a
LL
12407 (octave-mode, inferior-octave-mode): Add eldoc support.
12408
212e29f2
RS
124092013-05-11 Richard Stallman <rms@gnu.org>
12410
12411 * epa.el (epa-decrypt-file): Take output file name as argument
12412 and read it using `interactive'.
12413
083fe0d7
LL
124142013-05-11 Leo Liu <sdl.web@gmail.com>
12415
12416 * progmodes/octave.el (octave-beginning-of-line)
12417 (octave-end-of-line): Check before using up-list because it jumps
12418 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12419 (octave-indent-comment): New function.
12420 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12421 (octave-begin-keywords, octave-end-keywords)
12422 (octave-reserved-words, octave-smie-bnf-table)
12423 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12424
8582e4c4
GM
124252013-05-11 Glenn Morris <rgm@gnu.org>
12426
f20def1f
GM
12427 * faces.el (internal-face-x-get-resource):
12428 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12429 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12430 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12431 Fix declarations.
f20def1f 12432
445f95e2
GM
12433 * calc/calc-menu.el: Make it loadable in isolation.
12434
12435 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12436 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12437 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12438 (eudc-bbdb-query-internal): Require 'bbdb.
12439
99fb2756
GM
12440 * lpr.el (lpr-headers-switches):
12441 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12442
12443 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12444
0da7ad96
GM
12445 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12446
8582e4c4
GM
12447 * term.el (term-set-escape-char): Make it idempotent.
12448
f71c50d0
LL
124492013-05-10 Leo Liu <sdl.web@gmail.com>
12450
5ac2eb34
SM
12451 * progmodes/octave.el (inferior-octave-completion-table):
12452 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12453 completion due to bug#11906.
12454 (octave-beginning-of-defun): Re-write to be more general.
12455
d5837773
GM
124562013-05-10 Glenn Morris <rgm@gnu.org>
12457
12458 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12459
027c0f75
SM
124602013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12461
12462 * comint.el (comint-redirect-send-command-to-process): Use :around
12463 rather than :override for comint-redirect-filter.
12464 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12465 Call it instead of comint-redirect-original-filter-function (which
12466 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12467
4465bfb4
JD
124682013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12469
12470 * frame.el (display-monitor-attributes-list): Add NS case.
12471 (ns-display-monitor-attributes-list): Declare.
12472
2d809ffa 124732013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12474
12475 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12476
e54eeb9b
GM
124772013-05-09 Glenn Morris <rgm@gnu.org>
12478
56cd351d
GM
12479 * international/fontset.el (vertical-centering-font-regexp):
12480 Set standard-value.
12481
d84b6108
GM
12482 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12483
a931698a
GM
12484 * bookmark.el (bookmark-search-delay):
12485 * cus-start.el (vertical-centering-font-regexp):
12486 * ps-mule.el (ps-mule-font-info-database-default):
12487 * ps-print.el (ps-default-fg, ps-default-bg):
12488 * type-break.el (type-break-good-break-interval):
12489 * whitespace.el (whitespace-indentation-regexp)
12490 (whitespace-space-after-tab-regexp):
12491 * emacs-lisp/testcover.el (testcover-1value-functions)
12492 (testcover-noreturn-functions, testcover-progn-functions)
12493 (testcover-prog1-functions):
12494 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12495 * eshell/em-glob.el (eshell-glob-translate-alist):
12496 * play/tetris.el (tetris-tty-colors):
12497 * progmodes/cpp.el (cpp-face-default-list):
12498 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12499 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12500 (idlwave-help-browser-generic-args):
12501 * progmodes/make-mode.el (makefile-special-targets-list):
12502 * progmodes/python.el (python-shell-virtualenv-path):
12503 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12504 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12505 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12506 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12507 * textmodes/reftex-vars.el (reftex-format-label-function):
12508 * textmodes/remember.el (remember-diary-file): Fix custom types.
12509
e54eeb9b
GM
12510 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12511 Add :version.
12512
455851dd
LL
125132013-05-09 Leo Liu <sdl.web@gmail.com>
12514
12515 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12516 Restore file completion. (Bug#14300)
455851dd
LL
12517 (inferior-octave-startup): Fix incorrect highlighting for the
12518 first prompt.
12519
a9e4425b
SM
125202013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12521
12522 * progmodes/ruby-mode.el: First cut at SMIE support.
12523 (ruby-use-smie): New var.
12524 (ruby-smie-grammar): New constant.
12525 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12526 (ruby-smie--forward-token, ruby-smie--backward-token)
12527 (ruby-smie-rules): New functions.
12528 (ruby-mode-variables): Setup SMIE if applicable.
12529
060ca408
EZ
125302013-05-08 Eli Zaretskii <eliz@gnu.org>
12531
12532 * simple.el (line-move-visual): Signal beginning/end of buffer
12533 only if vertical-motion moved less than it was requested. Avoids
12534 silly incorrect error messages when there are display strings with
12535 multiple newlines at EOL.
12536
1d5963cc
SM
125372013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12538
12539 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12540 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12541 (prolog-char-quote-workaround):
12542 * progmodes/cperl-mode.el (cperl-under-as-char):
12543 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12544 Mark as obsolete.
12545 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12546 their declaration.
12547 (vhdl-mode-syntax-table-init): Remove.
12548
c9990474
SM
12549 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12550 last change.
1d5963cc
SM
12551
12552 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12553 syntax for "_".
12554 (ld-script-font-lock-keywords):
12555 Change regexps to use things like \_< and \_>.
12556
12557 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12558 Change all regexps to use things like \_< and \_>.
12559
12560 * progmodes/autoconf.el (autoconf-definition-regexp)
12561 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12562 Handle a _ with symbol syntax.
12563 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12564
c9990474
SM
12565 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12566 Consolidate declaration.
1d5963cc
SM
12567 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12568 the declaration.
12569 (ada-create-syntax-table): Remove.
12570 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12571 already has the right syntax nowadays.
12572 (ada-goto-next-word): Don't change the syntax of "_".
12573
12574 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12575 with-wrapper-hook.
12576
72d3cfca
SS
125772013-05-08 Sam Steingold <sds@gnu.org>
12578
12579 * thingatpt.el (thing-at-point): Accept optional second argument
12580 NO-PROPERTIES to strip the text properties from the return value.
12581 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12582 to `thing-at-point' instead of stripping the properties ourselves.
12583 Also, when `thing-at-point' fails to find a url, prepend "http://"
12584 to the filename at point on the assumption that the user is
12585 pointing at something like gnu.org/gnu.
12586
5cb15713
JB
125872013-05-08 Juanma Barranquero <lekktu@gmail.com>
12588
12589 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12590 * faces.el (crm-separator):
12591 Silence byte-compiler.
12592
12593 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12594 (tool-bar-map): Remove unneeded defvars.
12595
ea78b95b
LL
125962013-05-08 Leo Liu <sdl.web@gmail.com>
12597
12598 Re-work a fix for bug#10994 based on Le Wang's patch.
12599 * ido.el (ido-remove-consecutive-dups): New helper.
12600 (ido-completing-read): Use it.
12601 (ido-chop): Revert fix for bug#10994.
12602
dc7466df
AS
126032013-05-08 Adam Spiers <emacs@adamspiers.org>
12604
12605 * cus-edit.el (custom-save-variables):
12606 Pretty-print long values. (Bug#14187)
12607
9ecf672a
GM
126082013-05-08 Glenn Morris <rgm@gnu.org>
12609
12610 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12611 (m4-mode-syntax-table): Init in the defvar.
12612 (m4-mode-abbrev-table): Let define-derived-mode define it.
12613
3f555be8
TT
126142013-05-08 Tom Tromey <tromey@redhat.com>
12615
12616 * progmodes/m4-mode.el (m4-mode-syntax-table):
12617 Do not treat "_" as word constituent. (Bug#14167)
12618
7cc8ae06
GM
126192013-05-07 Glenn Morris <rgm@gnu.org>
12620
4f58bc06
GM
12621 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12622 Remove explicit eshell-isearch-cancel-map.
12623
7cc8ae06
GM
12624 * progmodes/f90.el (f90-smart-end-names): New option.
12625 (f90-smart-end): Doc fix.
12626 (f90-end-block-optional-name): New constant.
12627 (f90-block-match): Respect f90-smart-end-names.
12628
ceb57e59
SM
126292013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12630
12631 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12632 about implicit semi-colons (bug#14218).
12633
4e3f9230
YM
126342013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12635
12636 * frame.el (display-monitor-attributes-list)
12637 (frame-monitor-attributes): New functions.
12638
203a5572
LL
126392013-05-06 Leo Liu <sdl.web@gmail.com>
12640
12641 * progmodes/octave.el (octave-syntax-propertize-function): Change
12642 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12643 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12644 (octave-completion-at-point): Rename from
203a5572
LL
12645 octave-completion-at-point-function.
12646 (inferior-octave-directory-tracker): Robustify.
12647 (octave-text-functions): Remove and fix its uses. No such things
12648 any more.
12649
ee6cff99
SM
126502013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12651
12652 * emacs-lisp/trace.el (trace--display-buffer): New function.
12653 (trace-make-advice): Use it.
12654
32985194
JL
126552013-05-06 Juri Linkov <juri@jurta.org>
12656
12657 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12658 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12659 Doc fix.
12660 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12661 in the help string. (Bug#12985)
12662
a1c700de
KD
126632013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12664
12665 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12666
c67c0839
SM
126672013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12668
323885fd
SM
12669 * progmodes/perl-mode.el: Add support for here documents.
12670 (perl-syntax-propertize-function): Match here-doc markers.
12671 (perl-syntax-propertize-special-constructs): Find their end.
12672 (perl-imenu-generic-expression): Use [:alnum:].
12673
c67c0839
SM
12674 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12675 (advice--add-function): Refresh the advice if already present
12676 (bug#14317).
12677
d491e7a8
IA
126782013-05-06 Ivan Andrus <darthandrus@gmail.com>
12679
12680 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12681
ddf9925e
GM
126822013-05-06 Glenn Morris <rgm@gnu.org>
12683
7cc3af27
GM
12684 * w32-fns.el (w32-charset-info-alist): Declare.
12685
16e343d6
GM
12686 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12687 of its defcustom properties.
12688 (eshell-cmpl-initialize): No need to load pcomplete.
12689
7d889a47
GM
12690 * generic-x.el: No need to require comint when compiling.
12691
ddf9925e
GM
12692 * net/eudc-export.el: Make it loadable without bbdb.
12693 (top-level): Use require rather than load-library.
12694 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12695 (eudc-batch-export-records-to-bbdb)
12696 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12697 Require bbdb.
12698
1e2c18df
SM
126992013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12700
12701 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12702 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12703 some tweaks, instead.
12704
02502a5f
LL
127052013-05-05 Leo Liu <sdl.web@gmail.com>
12706
12707 * progmodes/octave.el (octave-font-lock-keywords)
12708 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12709 (inferior-octave-send-list-and-digest): Improve error message.
12710 (octave-mode, inferior-octave-mode): Use setq-local.
12711 (octave-help): Set info-lookup-mode.
12712
0dc04f42
RS
127132013-05-05 Richard Stallman <rms@gnu.org>
12714
6c54491c
RS
12715 * vc/compare-w.el (compare-windows-whitespace):
12716 Treat no-break space as whitespace.
12717
0dc04f42
RS
12718 * mail/rmailsum.el (rmail-summary-rmail-update):
12719 Detect empty summary and don't change selected message.
12720 (rmail-summary-goto-msg): Likewise.
12721
df8f35df
RS
12722 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12723 Doc fixes, rename args.
12724
5356e1a3
AM
127252013-05-05 Alan Mackenzie <acm@muc.de>
12726
12727 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12728
d44014cb
JL
127292013-05-05 Juri Linkov <juri@jurta.org>
12730
12731 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12732 to not add the length of the summary segment to the return value.
12733 (Bug#14125)
12734
c129b51f
LL
127352013-05-05 Leo Liu <sdl.web@gmail.com>
12736
12737 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12738 (inferior-octave-output-filter): Remove.
12739 (octave-send-region, inferior-octave-startup): Fix callers.
12740 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12741 (octave-binary-file-extensions): New user variable.
12742 (octave-find-definition): Confirm if opening binary files.
12743 (octave-help-file): Use octave-find-definition to get the binary
12744 confirmation.
12745 (octave-help): Adjust for octave-help-file change.
12746
aa7dab97
SM
127472013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12750 Merge the two entries that handle function definitions.
12751 (pascal--syntax-propertize): New const.
12752 (pascal-mode): Use it. Use setq-local.
12753
fd3a9a6b
GM
127542013-05-04 Glenn Morris <rgm@gnu.org>
12755
12756 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12757 (diary-from-outlook): Respect diary-from-outlook-function.
12758
30c7e542
SM
127592013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12762 Move the declaration from C.
12763 (read-minibuffer, eval-minibuffer): Move from C.
12764 (completion-setup-function): Avoid minibuffer-completion-contents.
12765
b54f978b
LL
127662013-05-03 Leo Liu <sdl.web@gmail.com>
12767
12768 * progmodes/octave.el (octave-font-lock-keywords): Do not
12769 dehighlight 'end' in comments or strings.
30c7e542
SM
12770 (octave-completing-read, octave-goto-function-definition):
12771 New helpers.
d4d0f9b3
LL
12772 (octave-help-buffer): New user variable.
12773 (octave-help-file, octave-help-function): New button types.
12774 (octave-help): New command and bind it to C-h ;.
12775 (octave-find-definition): New command and bind it to M-.
d74a1581 12776 (user-error): Alias to error if not defined.
b54f978b 12777
27135018
LL
127782013-05-02 Leo Liu <sdl.web@gmail.com>
12779
12780 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12781 for \. (bug#14332)
12782 (octave-font-lock-keywords): Include [ and {.
12783
0d634d3a
LL
127842013-05-02 Leo Liu <sdl.web@gmail.com>
12785
12786 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12787 (inferior-octave): Remove calling comint-mode and return the buffer.
12788 (inferior-octave-startup): Cosmetic changes.
12789
b4c8295e
LL
127902013-05-02 Leo Liu <sdl.web@gmail.com>
12791
30c7e542
SM
12792 * progmodes/octave.el (octave-syntax-propertize-function):
12793 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12794
f12ad6ec
GM
127952013-05-02 Glenn Morris <rgm@gnu.org>
12796
12797 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12798 * desktop.el (vc-dir-mode): Just autoload it here.
12799
30cac1e0
AM
128002013-05-02 Alan Mackenzie <acm@muc.de>
12801
12802 Eliminate variable c-standard-font-lock-fontify-region-function.
12803 * progmodes/cc-mode.el
12804 (c-standard-font-lock-fontify-region-function): Remove.
12805 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12806
d8ef28b1
LL
128072013-05-01 Leo Liu <sdl.web@gmail.com>
12808
2640d52e 12809 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12810 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12811 variables were removed from Octave in 2007.
d8ef28b1
LL
12812 (inferior-octave-startup): Fix uses.
12813 (comint-line-beginning-position): Remove compatibility code for
12814 emacs 21.
12815
ac63ec89
JL
128162013-05-01 Juri Linkov <juri@jurta.org>
12817
12818 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12819
9e9be37c
JL
128202013-05-01 Juri Linkov <juri@jurta.org>
12821
12822 * comint.el (comint-previous-matching-input): Don't print message
12823 "History item: %d" when `isearch-mode' is active.
12824 (comint-history-isearch-message): Print message "History item: %d"
12825 when `comint-input-ring-index' is not empty and this function is
12826 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12827
9b92c13b
LL
128282013-05-01 Leo Liu <sdl.web@gmail.com>
12829
12830 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12831 definitions. Use completion-at-point to insert keywords.
12832 (octave-abbrev-start): Remove.
12833 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12834
b12d33d7
LL
128352013-04-30 Leo Liu <sdl.web@gmail.com>
12836
12837 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12838 change.
12839
3d1c39fa
AM
128402013-04-30 Alan Mackenzie <acm@muc.de>
12841
12842 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12843 * progmodes/cc-engine.el (c-back-over-member-initializers):
12844 new function.
3d1c39fa
AM
12845 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12846 (most) member init lists.
12847
5147fc17
RS
128482013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12849
12850 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12851 variable.
12852
5b78d7fc
LL
128532013-04-30 Leo Liu <sdl.web@gmail.com>
12854
12855 * progmodes/octave.el (octave-variables): Remove. No builtin
12856 variables any more. All converted to functions.
12857 (octave-font-lock-keywords, octave-completion-at-point-function):
12858 Fix uses.
12859 (octave-font-lock-texinfo-comment): New user variable.
12860 (octave-texinfo-font-lock-keywords): New variable for texinfo
12861 comment block.
12862 (octave-function-comment-block): New face.
12863 (octave-font-lock-texinfo-comment): New function.
12864 (octave-mode): Font lock texinfo comment block.
12865
38d8527b
LL
128662013-04-29 Leo Liu <sdl.web@gmail.com>
12867
12868 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12869 indexing expression.
12870 (octave-continuation-string): Do not use \.
12871 (inferior-octave-complete-impossible): Remove.
12872 (inferior-octave-completion-table)
12873 (inferior-octave-completion-at-point): Remove its uses.
12874 (inferior-octave-startup): completion_matches was introduced to
12875 Octave in 1996 so safe to assume it.
12876 (octave-function-file-comment): Improve to follow how Octave does it.
12877 (octave-update-function-file-comment): Tweak.
12878
2ec12cb0
LL
128792013-04-29 Leo Liu <sdl.web@gmail.com>
12880
12881 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12882 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12883 (octave-function-file-comment): Fix typo.
12884 (octave-sync-function-file-names): Use read-char-choice.
12885
6eaed048
JB
128862013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12887
12888 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12889 to t for the less important warnings.
12890
3ffa2d4f
DH
128912013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12892
12893 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12894
685c9501
GM
128952013-04-27 Glenn Morris <rgm@gnu.org>
12896
12897 * vc/log-view.el (log-view-current-entry):
12898 Treat "---" separator lines as part of the following rev. (Bug#14169)
12899
0208ede7
JL
129002013-04-27 Juri Linkov <juri@jurta.org>
12901
12902 * subr.el (read-number): Doc fix about using it by interactive
12903 code letter `n'. (Bug#14254)
12904
5db9dace
JL
129052013-04-27 Juri Linkov <juri@jurta.org>
12906
12907 * desktop.el (desktop-auto-save-timeout): New option.
12908 (desktop-file-checksum): New variable.
12909 (desktop-save): Add optional arg `auto-save' and don't auto-save
12910 if nothing changed.
12911 (desktop-auto-save-timer): New variable.
12912 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12913 (after-init-hook): Call `desktop-auto-save-set-timer'.
12914 Suggested by Reuben Thomas <rrt@sc3d.org> in
12915 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12916
b7260dd4
LL
129172013-04-27 Leo Liu <sdl.web@gmail.com>
12918
12919 * progmodes/octave.el (octave-function-file-p)
12920 (octave-skip-comment-forward, octave-function-file-comment)
12921 (octave-update-function-file-comment): New functions.
12922 (octave-mode-map): Bind C-c ; to
12923 octave-update-function-file-comment.
12924 (octave-mode-menu): Add octave-update-function-file-comment.
12925 (octave-mode, inferior-octave-mode): Fix doc-string.
12926 (octave-insert-defun): Conform to Octave's coding convention.
12927 (Bug#14285)
12928
12929 * files.el (basic-save-buffer): Don't let errors in
12930 before-save-hook prevent saving buffer.
12931
c46da669
RW
129322013-04-20 Roland Winkler <winkler@gnu.org>
12933
12934 * faces.el (read-face-name): Use completing-read if arg multiple
12935 is nil.
12936
a81ee1eb
IL
129372013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12938
12939 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12940 displayed, move point to after the totals line.
12941 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12942 for the details.
12943
4fac34ce
SM
129442013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12945
12946 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12947 Add current dir to the load-path.
12948 (package-generate-autoloads): Don't rely on
12949 autoload-ensure-default-file.
12950
f6bfc063
RT
129512013-04-26 Reuben Thomas <rrt@sc3d.org>
12952
d40ab5cf
BG
12953 * textmodes/remember.el (remember-store-in-files): Document that
12954 the file name format is passed to `format-time-string'.
f6bfc063 12955
e55d3b04
LL
129562013-04-26 Leo Liu <sdl.web@gmail.com>
12957
12958 * progmodes/octave.el (octave-sync-function-file-names): New function.
12959 (octave-mode): Use it in before-save-hook.
12960
e53052d3
SM
129612013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12962
140ef50c
SM
12963 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12964 (bug#14274).
12965
e53052d3
SM
12966 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12967 \n and comment, even if it's not an implicit ; (bug#14218).
12968
af80458d 129692013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12970
12971 * subr.el (read-number): Once more use `read' rather than
12972 `string-to-number', to trap non-numeric input. (Bug#14254)
12973
af80458d 129742013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12975
12976 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12977 Use `syntax-multiline' text property consistently instead of
8a621d53 12978 `font-lock-multiline'. (Bug#14237)
70203c2e 12979
e6ea1f6c
GM
129802013-04-26 Glenn Morris <rgm@gnu.org>
12981
12982 * emacs-lisp/shadow.el (list-load-path-shadows):
12983 No longer necessary to check for duplicate simple.el, since
12984 2012-07-07 change to init_lread to not include installation lisp
12985 directories in load-path when running uninstalled. (Bug#14270)
12986
070ccca4
LL
129872013-04-26 Leo Liu <sdl.web@gmail.com>
12988
12989 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12990 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12991 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12992 octave-in-string-or-comment-p.
12993 (octave-in-comment-p, octave-in-string-p)
12994 (octave-in-string-or-comment-p): Replace defsubst with defun.
12995
9d1c5fb6
PE
129962013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12997
12998 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12999
c034abda
BG
130002013-04-25 Bastien Guerry <bzg@gnu.org>
13001
13002 * textmodes/remember.el (remember-data-directory)
13003 (remember-directory-file-name-format): Fix custom types.
13004
584ea277
LL
130052013-04-25 Leo Liu <sdl.web@gmail.com>
13006
e53052d3
SM
13007 * progmodes/octave.el (octave-completion-at-point-function):
13008 Make use of inferior octave process.
584ea277
LL
13009 (octave-initialize-completions): Remove.
13010 (inferior-octave-completion-table): New function.
13011 (inferior-octave-completion-at-point): Use it.
13012 (octave-completion-alist): Remove.
13013
1693b06a
SM
130142013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13017 (opascal-mode-syntax-table): New var.
13018 (opascal-literal-kind, opascal-is-literal-end)
13019 (opascal-literal-token-at): Rewrite.
13020 (opascal--literal-start-re, opascal-font-lock-keywords)
13021 (opascal--syntax-propertize): New constants.
13022 (opascal-font-lock-defaults): Adjust.
13023 (opascal-mode): Use them. Set comment-<foo> variables as well.
13024 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13025 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13026 (delphi-other-face, opascal-other-face): Remove face variables.
13027 (opascal-save-state): Remove macro.
13028 (opascal-fontifying-progress-step): Remove constant.
13029 (opascal--ignore-changes): Remove var.
13030 (opascal-set-token-property, opascal-parse-next-literal)
13031 (opascal-is-stable-literal, opascal-complete-literal)
13032 (opascal-is-literal-start, opascal-face-of)
13033 (opascal-parse-region, opascal-parse-region-until-stable)
13034 (opascal-fontify-region, opascal-after-change)
13035 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13036 (opascal-debug-parse-region, opascal-debug-parse-window)
13037 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13038 (opascal-debug-fontify-buffer): Remove.
13039 (opascal-debug-mode-map): Adjust accordingly.
13040
be64c05d
LL
130412013-04-25 Leo Liu <sdl.web@gmail.com>
13042
13043 Merge octave-mod.el and octave-inf.el into octave.el with some
13044 cleanups.
13045 * progmodes/octave.el: New file renamed from octave-mod.el.
13046 * progmodes/octave-inf.el: Merged into octave.el.
13047 * progmodes/octave-mod.el: Renamed to octave.el.
13048
d79d37bd
TH
130492013-04-25 Tassilo Horn <tsdh@gnu.org>
13050
13051 * textmodes/reftex-vars.el
13052 (reftex-label-ignored-macros-and-environments): New defcustom.
13053
13054 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13055
ced3fc5d
SM
130562013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13059 (smie-indent-keyword): Improve the check to ensure that the next
13060 comment is really on the same line.
13061 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13062
13063 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13064 semi-colons if the line is not otherwise empty (bug#14218).
13065
1c141dad
GM
130662013-04-25 Glenn Morris <rgm@gnu.org>
13067
13068 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13069
5058062a
SM
130702013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13071
13072 * progmodes/opascal.el (opascal-set-token-property): Rename from
13073 opascal-set-text-properties and only set `token' (bug#14134).
13074 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13075 (opascal-literal-text-properties): Remove.
13076 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13077 Adjust callers.
13078
5db9dace 130792013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13080
13081 * textmodes/remember.el (remember-handler-functions): Add an
13082 option for a new handler `remember-store-in-files'.
13083 (remember-data-directory, remember-directory-file-name-format):
13084 New options.
13085 (remember-store-in-files): New function to store remember notes
13086 as separate files within a directory.
13087
4391916c
MH
130882013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13089
13090 * progmodes/compile.el (compilation-next-error-function):
13091 Pass "formats" to compilation-find-file (bug#11777).
13092
bb7cdf58
GM
130932013-04-24 Glenn Morris <rgm@gnu.org>
13094
3b8fe752 13095 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13096 * vc/vc-hg.el (vc-hg-print-log):
13097 * vc/vc-svn.el (vc-svn-print-log):
13098 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13099
bb7cdf58
GM
13100 * vc/vc-bzr.el (vc-bzr-print-log):
13101 * vc/vc-cvs.el (vc-cvs-print-log):
13102 * vc/vc-git.el (vc-git-print-log):
13103 * vc/vc-hg.el (vc-hg-print-log):
13104 * vc/vc-mtn.el (vc-mtn-print-log):
13105 * vc/vc-rcs.el (vc-rcs-print-log):
13106 * vc/vc-sccs.el (vc-sccs-print-log):
13107 * vc/vc-svn.el (vc-svn-print-log):
13108 * vc/vc.el (vc-print-log-internal): Doc fixes.
13109
b46a056e
GM
131102013-04-23 Glenn Morris <rgm@gnu.org>
13111
13112 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13113 Remove venerable code attempting to avoid substitute-command-keys.
13114
0aecf718
TH
131152013-04-23 Tassilo Horn <tsdh@gnu.org>
13116
4391916c
MH
13117 * textmodes/reftex-vars.el (reftex-label-regexps):
13118 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13119
117f94cf
SM
131202013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13121
4391916c 13122 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13123 Use lexical-binding.
13124 (jit-lock-force-redisplay): Use markers, check buffer's continued
13125 existence and beware narrowed buffers.
13126 (jit-lock-fontify-now): Adjust call accordingly.
13127
1d829c64
SM
131282013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13129
13130 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13131 to avoid misleading the user.
13132
72d548a9
LL
131332013-04-22 Leo Liu <sdl.web@gmail.com>
13134
13135 * info-look.el: Prefer latex2e.info. (Bug#14240)
13136
d0853629
MA
131372013-04-22 Michael Albinus <michael.albinus@gmx.de>
13138
13139 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13140
13141 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13142 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13143 (tramp-set-completion-function, tramp-parse-putty):
13144 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13145 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13146 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13147 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13148 (tramp-call-local-coding-command): Use `tramp-call-process'
13149 instead of `tramp-compat-call-process'.
13150
13151 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13152 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13153 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13154 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13155 (tramp-maybe-send-script): Check for Perl binary.
13156 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13157
38cc0210
DU
131582013-04-22 Daiki Ueno <ueno@gnu.org>
13159
13160 * epg.el (epg-context-pinentry-mode): New function.
13161 (epg-context-set-pinentry-mode): New function.
13162 (epg--start): Pass --pinentry-mode option to gpg command.
13163
cc641ee1
XF
131642013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13165
02d844b5 13166 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13167 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13168 `completion-at-point'. (Bug#13774)
5d4e5c31 13169
cc641ee1
XF
13170 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13171 default key binding for `describe-distribution' has been moved to
13172 `C-h C-o'. (Bug#13970)
13173
1b42ee43
GM
131742013-04-21 Glenn Morris <rgm@gnu.org>
13175
13176 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13177 Add doc strings.
13178 (vc-print-log): Clarify interactive prompt.
13179
a6d63d97
GM
131802013-04-20 Glenn Morris <rgm@gnu.org>
13181
13182 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13183 No longer include timestamp etc information.
13184
d7f5c16f
RW
131852013-04-20 Roland Winkler <winkler@gnu.org>
13186
13187 * faces.el (read-face-name): Bug fix, return just one face if arg
13188 multiple is nil. (Bug#14209)
13189
bcd7a0a4
SM
131902013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13191
13192 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13193 (remove-function): Autoload.
13194
13195 * comint.el (comint-redirect-original-filter-function): Remove.
13196 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13197 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13198 (vc-cvs-annotate-command):
bcd7a0a4
SM
13199 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13200 * progmodes/prolog.el (prolog-consult-compile):
13201 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13202 Use add/remove-function instead.
13203 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13204 (gud-tooltip-process-output, gud-tooltip-tips):
13205 Use add/remove-function instead.
13206 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13207 (scheme-interaction-mode, exit-scheme-interaction-mode):
13208 Use add/remove-function instead.
13209
13210 * vc/vc-dispatcher.el: Use lexical-binding.
13211 (vc--process-sentinel): Rename from vc-process-sentinel.
13212 Change last arg to be the code to run. Don't use vc-previous-sentinel
13213 and vc-sentinel-commands any more.
13214 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13215 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13216
e36b2d20 132172013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13218
bcd7a0a4 13219 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13220 Handle function names with a single character. (Bug#14111)
4d3268ba 13221
27821a89 132222013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13223
13224 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13225 for subroutines defined in an eval (bug#14182).
13226
7d688336
TV
132272013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13228
13229 * bookmark.el (bookmark-completing-read): Improve handling of empty
13230 string (bug#14176).
13231
31dcede0
SM
132322013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13235
adc31213
FEG
132362013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13237
13238 New faster Imenu implementation (bug#14058).
13239 * progmodes/python.el:
13240 (python-imenu-prev-index-position):
13241 (python-imenu-format-item-label-function)
13242 (python-imenu-format-parent-item-label-function)
13243 (python-imenu-format-parent-item-jump-label-function):
13244 New vars.
13245 (python-imenu-format-item-label)
13246 (python-imenu-format-parent-item-label)
13247 (python-imenu-format-parent-item-jump-label)
13248 (python-imenu--put-parent, python-imenu--build-tree)
13249 (python-imenu-create-index, python-imenu-create-flat-index)
13250 (python-util-popn): New functions.
13251 (python-mode): Set imenu-create-index-function to
13252 python-imenu-create-index.
13253
cdca8255
SM
132542013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * winner.el (winner-active-region): Use region-active-p, activate-mark
13257 and deactivate-mark (bug#14225).
13258
13259 * simple.el (deactivate-mark): Don't inline it.
13260
beb42340
MA
132612013-04-18 Michael Albinus <michael.albinus@gmx.de>
13262
13263 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13264
fc7f4d7e
TH
132652013-04-18 Tassilo Horn <tsdh@gnu.org>
13266
13267 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13268 file extensions from the archive-mode entry in order to prefer
13269 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13270
29f47822
LL
132712013-04-18 Leo Liu <sdl.web@gmail.com>
13272
13273 * bindings.el (help-event-list): Add ?\?.
13274
d36ed1c8
SM
132752013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13276
13277 * subr.el (with-wrapper-hook): Declare obsolete.
13278 * simple.el (filter-buffer-substring-function): New hook.
13279 (filter-buffer-substring): Use it.
13280 (filter-buffer-substring-functions): Mark obsolete.
13281 * minibuffer.el (completion-in-region-function): New hook.
13282 (completion-in-region): Use it.
13283 (completion-in-region-functions): Mark obsolete.
13284 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13285 * abbrev.el (abbrev-expand-function): New hook.
13286 (expand-abbrev): Use it.
13287 (abbrev-expand-functions): Mark obsolete.
13288 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13289 and :filter-return.
13290
04754d36
FEG
132912013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13292
13293 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13294 and do not care about match data.
13295
dd8791e9
SM
132962013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13297
13298 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13299 completion tables when completing error conditions and
13300 `declare' arguments.
13301 (lisp-complete-symbol, field-complete): Mark as obsolete.
13302 (check-parens): Unmatched parens are user errors.
13303 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13304
ffe54a13
AM
133052013-04-17 Michal Nazarewicz <mina86@mina86.com>
13306
dd8791e9
SM
13307 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13308 command changed buffer (ie. `flyspell-pre-buffer' is not current
13309 buffer), which prevents making decisions based on invalid value of
13310 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13311 cause an error when `flyspell-pre-point' was nil after switching
13312 buffers.
13313 (flyspell-post-command-hook): No longer needs to change buffers when
13314 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13315
ec7e39f2
AM
133162013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13317
13318 * textmodes/ispell.el (ispell-add-per-file-word-list):
13319 Fix `flyspell-correct-word-before-point' error when accepting
13320 words and `coment-padding' is an integer by using
13321 `comment-normalize-vars' (Bug #14214).
13322
083850a6
FEG
133232013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13324
13325 New defun movement commands.
13326 * progmodes/python.el (python-nav--syntactically)
13327 (python-nav--forward-defun, python-nav-backward-defun)
13328 (python-nav-forward-defun): New functions.
13329
619ed6e1
FEG
133302013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13331
13332 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13333 (python-syntax-context): Use named compiler-macro for backwards
13334 compatibility with Emacs 24.x.
13335
7a1beb6c
LL
133362013-04-17 Leo Liu <sdl.web@gmail.com>
13337
13338 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13339 octave-hide-process-buffer.
13340
2d3fa3e5
SM
133412013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13344 (bug#14216).
13345
7ce5be54
JPG
133462013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13347
13348 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13349 Fix adjustment of offset when receiving incomplete responses from GDB
13350 (bug#14129).
13351
351edece
SM
133522013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13355 python-mode-abbrev-table.
13356 (python-skeleton-define): Adjust accordingly.
13357 (python-mode-abbrev-table): New table that inherits from it so that
13358 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13359
13360 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13361 (abbrev-symbol): Use it.
13362 (abbrev--before-point): Use it since we already handle inheritance.
13363
613f9481
LL
133642013-04-16 Leo Liu <sdl.web@gmail.com>
13365
13366 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13367 binding to info-lookup-symbol.
13368
51646b62
JB
133692013-04-16 Juanma Barranquero <lekktu@gmail.com>
13370
13371 * minibuffer.el (completion--twq-all):
13372 * term/ns-win.el (ns-initialize-window-system):
13373 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13374
efb3f01d
SM
133752013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13376
36c0a301
SM
13377 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13378 global bindings.
13379
efb3f01d
SM
13380 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13381
fb549d64
DG
133822013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13383
13384 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13385 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13386 to nil.
13387 (ruby-end-of-defun): Remove the unused arg, change the docstring
13388 to reflect that this function is only used as the value of
13389 `end-of-defun-function'.
13390 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13391 to reflect an earlier change that beginning/end-of-defun functions
13392 jump between methods in a class definition, as well as top-level
13393 functions.
13394
21e8fe2f
SM
133952013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13396
13397 * minibuffer.el (minibuffer-complete): Don't just scroll
13398 a *Completions* that's been iconified.
13399 (minibuffer-force-complete): Make sure repetitions do cycle when going
13400 through completion-in-region -> minibuffer-complete.
13401
20e527d0
AM
134022013-04-15 Alan Mackenzie <acm@muc.de>
13403
13404 Correct the placement of c-cpp-delimiters when there're #s not at
13405 col 0.
13406
13407 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13408 place a submatch around the #.
21e8fe2f
SM
13409 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13410 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13411 on the #, not BOL.
13412
dabefae5
SM
134132013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13414
13415 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13416 (advice--member-p): New arg `name'.
13417 (advice--add-function, advice-member-p): Use it (bug#14202).
13418
85c9ab64
AM
134192013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13420
13421 Reformulate java imenu-generic-expression.
13422 The old expression contained ill formed regexps.
13423
13424 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13425 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13426 (cc-imenu-java-method-arg-regexp): New defconsts.
13427 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13428 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13429 handling of spaces in the regexp.
13430
0f821d99
AM
134312013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13432
13433 * textmodes/ispell.el (ispell-command-loop): Remove
13434 flyspell highlight of a word when ispell accepts it (bug #14178).
13435
eb922adf
MA
134362013-04-15 Michael Albinus <michael.albinus@gmx.de>
13437
13438 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13439 uses code from the previous `ange-ftp-run-real-handler'.
13440 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13441 only in case that function exist. This is needed for proper
13442 unloading of Tramp.
13443
4d9a0979
TH
134442013-04-15 Tassilo Horn <tsdh@gnu.org>
13445
13446 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13447
13448 * textmodes/reftex.el (reftex-compile-variables): Use it.
13449
a829b0dc
SM
134502013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13451
91e8293c
SM
13452 * files.el (normal-mode): Only use default major-mode if no other mode
13453 was specified.
13454
830aed4d
SM
13455 * emacs-lisp/trace.el (trace-values): New function.
13456
a829b0dc
SM
13457 * files.el: Allow : in local variables (bug#14089).
13458 (hack-local-variable-regexp): New var.
13459 (hack-local-variables-prop-line, hack-local-variables): Use it.
13460
7ae9f0fb
RW
134612013-04-13 Roland Winkler <winkler@gnu.org>
13462
13463 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13464 data before it gets modified by bibtex-beginning-of-entry.
13465
6646e848
RW
134662013-04-13 Roland Winkler <winkler@gnu.org>
13467
13468 * textmodes/bibtex.el (bibtex-url): Doc fix.
13469
134702013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13471
13472 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13473 does not visit a BibTeX file, exclude it from the list of buffers
13474 returned by bibtex-initialize.
13475
0aa3616e
SB
134762013-04-13 Stephen Berman <stephen.berman@gmx.net>
13477
13478 * window.el (split-window): Remove interactive form, since as a
13479 command this function is a special case of split-window-below.
13480 Correct doc string.
13481
011cddd6
RW
134822013-04-12 Roland Winkler <winkler@gnu.org>
13483
13484 * faces.el (read-face-name): Do not override value of arg default.
13485 Allow single faces and strings as default values. Remove those
13486 elements from return value that are not faces.
13487 (describe-face): Simplify.
13488 (face-at-point): New optional args thing and multiple so that this
13489 function can provide the same functionality previously provided by
13490 read-face-name.
13491 (make-face-bold, make-face-unbold, make-face-italic)
13492 (make-face-unitalic, make-face-bold-italic, invert-face)
13493 (modify-face, read-face-and-attribute): Use face-at-point.
13494
13495 * cus-edit.el (customize-face, customize-face-other-window)
13496 * cus-theme.el (custom-theme-add-face)
13497 * face-remap.el (buffer-face-set)
13498 * facemenu.el (facemenu-set-face): Use face-at-point.
13499
f24e0036
MA
135002013-04-12 Michael Albinus <michael.albinus@gmx.de>
13501
13502 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13503
da3cda2d
TH
135042013-04-10 Tassilo Horn <tsdh@gnu.org>
13505
13506 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13507 off leading { and trailing } from field values.
13508
15e54145
SM
135092013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13510
78ce603d
SM
13511 * emacs-lisp/timer.el (timer--check): New function.
13512 (timer--time, timer-set-function, timer-event-handler): Use it.
13513 (timer-set-idle-time): Simplify.
13514 (timer--activate): CSE.
13515 (timer-event-handler): Give more info in error message.
13516 (internal-timer-start-idle): New function, moved from C.
13517
15e54145
SM
13518 * mpc.el (mpc-proc): Add `restart' argument.
13519 (mpc-proc-cmd): Use it.
13520 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13521 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13522 less often.
13523
7144c627
MY
135242013-04-10 Masatake YAMATO <yamato@redhat.com>
13525
13526 * progmodes/sh-script.el: Implement `sh-mode' own
13527 `add-log-current-defun-function' (bug#14112).
13528 (sh-current-defun-name): New function.
13529 (sh-mode): Use the function.
13530
b39792eb
BG
135312013-04-09 Bastien Guerry <bzg@gnu.org>
13532
13533 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13534
8acdeb71
SM
135352013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13536
6fcdab68
SM
13537 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13538
8acdeb71
SM
13539 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13540 timer (bug#14156).
13541
e3e7b504
NF
135422013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13543
13544 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13545 declaration.
13546
201bb296
LL
135472013-04-07 Leo Liu <sdl.web@gmail.com>
13548
13549 * pcmpl-x.el: New file.
13550
ebb19708
DA
135512013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13552
13553 Do not set x-display-name until X connection is established.
13554 This is needed to prevent from weird situation described at
13555 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13556 * frame.el (make-frame): Set x-display-name after call to
13557 window system initialization function, not before.
13558 * term/x-win.el (x-initialize-window-system): Add optional
13559 display argument and use it.
13560 * term/w32-win.el (w32-initialize-window-system):
13561 * term/ns-win.el (ns-initialize-window-system):
13562 * term/pc-win.el (msdos-initialize-window-system):
13563 Add compatible optional display argument.
13564
33bb237a
EZ
135652013-04-06 Eli Zaretskii <eliz@gnu.org>
13566
13567 * files.el (normal-backup-enable-predicate): On MS-Windows and
13568 MS-DOS compare truenames of temporary-file-directory and of the
13569 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13570 don't fail comparison by compare-strings. Also, compare file
13571 names case-insensitively on MS-Windows and MS-DOS.
13572
134abf1f
SM
135732013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13574
13575 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13576 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13577
d695cb94
DG
135782013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13579
e3e7b504
NF
13580 * whitespace.el (whitespace-color-on, whitespace-color-off):
13581 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13582
f4ad7ea1 135832013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13584
13585 * ispell.el (ispell-set-spellchecker-params):
13586 Really set `ispell-args' for all equivs.
13587
632556e4
SM
135882013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13589
13590 * ido.el (ido-completions): Use extra elements of ido-decorations
13591 (bug#14143).
13592 (ido-decorations): Update docstring.
13593
2a417372
MA
135942013-04-05 Michael Albinus <michael.albinus@gmx.de>
13595
13596 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13597 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13598 nil during initialization, in order not to miss changes since the
13599 file was opened. (Bug#14140)
13600
fc164b0c
LL
136012013-04-05 Leo Liu <sdl.web@gmail.com>
13602
13603 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13604
0ccecc08
JB
136052013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13606
13607 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13608
51af1aa2
GM
136092013-04-04 Glenn Morris <rgm@gnu.org>
13610
13611 * electric.el (electric-pair-inhibit-predicate): Add :version.
13612
b208ebc6
SM
136132013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13614
13615 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13616 when a package is required several times (bug#14082).
13617
f3d3eaf0
RW
136182013-04-04 Roland Winkler <winkler@gnu.org>
13619
13620 * faces.el (read-face-name): Behave as promised by the docstring.
13621 Assume that arg default is a list of faces.
13622 (describe-face): Call read-face-name with list of default faces.
13623
2575da50
TV
136242013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13625
13626 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13627 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13628 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13629 the header.
13630 (bookmark-exit-hook-internal): Save even if list is empty.
13631
397703b4
YH
136322013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13633
13634 * emacs-lisp/package.el (package-pinned-packages): New var.
13635 (package--add-to-archive-contents): Obey it (bug#14118).
13636
691e26ae
AM
136372013-04-03 Alan Mackenzie <acm@muc.de>
13638
8a621d53
JB
13639 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13640 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13641
13642 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13643 parameter `not-in-delimiter'. Handle being inside comment opener.
13644 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13645 character in case we're typing a '*' after a '/'.
13646 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13647 instead by passing the parameter to c-state-pp-to-literal.
13648
13649 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13650 for elt. 7 of a parse state.
13651
4b725a70
PE
136522013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13653
13654 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13655 * international/latin1-disp.el, international/mule-util.el:
13656 * language/cyril-util.el, language/european.el, language/ind-util.el:
13657 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13658 * language/tibetan.el, language/viet-util.el:
13659 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13660
15c579f0
SM
136612013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13662
13663 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13664 (electric-pair-post-self-insert-function): Use it.
13665 (electric-pair-default-inhibit): New function, extracted from
13666 electric-pair-post-self-insert-function.
13667
a77e2924
RW
136682013-03-31 Roland Winkler <winkler@gnu.org>
13669
13670 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13671
2bd8a4a8
SM
136722013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13673
13674 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13675
8d3655be 136762013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13677
13678 Un-indent after "pass" and "return" statements (Bug#13888)
13679 * progmodes/python.el (python-indent-block-enders): New var.
13680 (python-indent-calculate-indentation): Use it.
13681
8d3655be 136822013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13683
13684 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13685 defun. Defining it as defalias could introduce too eager
13686 byte-compiler optimization. (Bug#14030)
13687
8d3655be 136882013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13689
13690 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13691
0b1619da
LL
136922013-03-30 Leo Liu <sdl.web@gmail.com>
13693
13694 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13695 (kmacro-execute-from-register): Pass the keyboard macro to
13696 kmacro-call-macro or repeating won't work correctly.
13697
0b938190
TZ
136982013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13699
13700 * progmodes/subword.el: Back to using `forward-symbol'.
13701
13702 * subr.el (forward-whitespace, forward-symbol)
13703 (forward-same-syntax): Move from thingatpt.el.
13704
35710234
LL
137052013-03-29 Leo Liu <sdl.web@gmail.com>
13706
13707 * kmacro.el (kmacro-to-register): New command.
13708 (kmacro-execute-from-register): New function.
13709 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13710
efc0bb73
SM
137112013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13712
13713 * mpc.el: Use defvar-local and setq-local.
13714 (mpc--proc-connect): Connection failures are not bugs.
13715 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13716 (mpc-volume-map): Bind to the up-events.
13717
75a2f981
TZ
137182013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13719
13720 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13721 instead of `forward-symbol'.
13722
17c781d1
SM
137232013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13724
13725 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13726 (edebug--recursive-edit): Use it.
13727 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13728 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13729
f67bfbcf
LL
137302013-03-28 Leo Liu <sdl.web@gmail.com>
13731
13732 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13733
b59f639d
EZ
137342013-03-27 Eli Zaretskii <eliz@gnu.org>
13735
13736 * facemenu.el (list-colors-callback): New defvar.
13737 (list-colors-redisplay): New function.
13738 (list-colors-display): Install list-colors-redisplay as the
13739 revert-buffer-function. (Bug#14063)
13740
f557c1b1
SM
137412013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13742
b1da2957
SM
13743 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13744 and suffixes don't overlap (bug#14061).
13745
f557c1b1
SM
13746 * case-table.el: Use lexical-binding.
13747 (case-table-get-table): New function.
13748 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13749
002668e1
TZ
137502013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13751
13752 * progmodes/subword.el: Add `superword-mode' to do word motion
13753 over symbol_words (parallels and leverages `subword-mode' which
13754 does word motion inside MixedCaseWords).
13755
73572c72
AG
137562013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13757
78b8f320 13758 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13759 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13760
69b2c07e
SM
137612013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13762
13763 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13764 Change return value to be a sexp. Delay `get-buffer' to after
13765 restoring the desktop (bug#13951).
13766
08bb5ee2
LL
137672013-03-26 Leo Liu <sdl.web@gmail.com>
13768
13769 * register.el: Move semantic tag handling back to
13770 cedet/semantic/senator.el. (Bug#14052)
13771
8d4c974e
SM
137722013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13773
13774 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13775 into the prompt either (bug#13963).
13776
b234d92c
SM
137772013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13778
13779 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13780 part of "(error-foo)".
13781
ddfa3cb4
JL
137822013-03-24 Juri Linkov <juri@jurta.org>
13783
13784 * replace.el (list-matching-lines-prefix-face): New defcustom.
13785 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13786 `occur-engine' if `face-differs-from-default-p' returns t.
13787 (occur-engine): Add `,' inside backquote construct to evaluate
13788 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13789 Pass `prefix-face' to the functions `occur-context-lines' and
13790 `occur-engine-add-prefix'.
13791 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13792 `prefix-face' and propertize the prefix with `prefix-face'.
13793 (Bug#14017)
13794
7b0e2f85
LL
137952013-03-24 Leo Liu <sdl.web@gmail.com>
13796
13797 * nxml/rng-valid.el (rng-validate-while-idle)
13798 (rng-validate-quick-while-idle): Guard against deleted buffer.
13799 (Bug#13999)
13800
13801 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13802 is the last entry in kill-buffer-hook.
13803
13804 * files.el (kill-buffer-hook): Doc fix.
13805
b3082f49
DG
138062013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13807
b234d92c
SM
13808 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13809 Make it safe-local.
bde73d27 13810
b3082f49
DG
13811 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13812
a320a2db
LL
138132013-03-23 Leo Liu <sdl.web@gmail.com>
13814
7e74b0fb
LL
13815 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13816 Remove.
13817
13818 * nxml/rng-valid.el (rng-validate-mode)
13819 (rng-after-change-function, rng-do-some-validation):
13820 * nxml/rng-maint.el (rng-validate-buffer):
13821 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13822 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13823 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13824 (nxml-extend-after-change-region): Use with-silent-modifications.
13825
a320a2db
LL
13826 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13827 timer-idle-list.
13828
13829 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13830 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13831 timer-idle-list. (Bug#13999)
13832
e38e6780
JL
138332013-03-23 Juri Linkov <juri@jurta.org>
13834
13835 * info.el (info-index-match): New face.
13836 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13837 main pattern and add text properties with the new face to matches
13838 in index entries relative to the beginning of the index entry.
13839 (Bug#14015)
13840
e8cc7880
DE
138412013-03-21 Eric Ludlam <zappo@gnu.org>
13842
39c87140 13843 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13844 Inhibit read only while inserting objects.
13845
9bb0d822
TZ
138462013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13847
13848 * progmodes/cfengine.el: Update docs to mention
13849 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13850 symbol motion. Remove "_" from the word syntax.
13851
aa703640
TZ
138522013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13853
13854 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13855 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13856
afff09d0
JL
138572013-03-20 Juri Linkov <juri@jurta.org>
13858
13859 * info.el (Info-next-reference-or-link)
13860 (Info-prev-reference-or-link): New functions.
13861 (Info-next-reference, Info-prev-reference): Use them.
13862 (Info-try-follow-nearest-node): Handle footnote navigation.
13863 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13864
9a1ff164
SM
138652013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13866
13867 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13868 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13869
2667d15d
PE
138702013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13871
13872 Suppress unnecessary non-ASCII chatter during build process.
13873 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13874 (batch-skkdic-convert): Suppress most of the chatter.
13875 It's not needed so much now that machines are faster,
13876 and its non-ASCII component was confusing; see Dmitry Gutov in
13877 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13878
438b0579
LL
138792013-03-20 Leo Liu <sdl.web@gmail.com>
13880
13881 * ido.el (ido-chop): Fix bug#10994.
13882
c128ab07
DG
138832013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13884
13885 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13886 Remove vars.
9a1ff164
SM
13887 (whitespace-color-on, whitespace-color-off):
13888 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13889
0e6008c5
SM
138902013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13891
13892 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13893 remapping in mode-line.
13894 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13895
627b52b0
DG
138962013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13897
13898 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13899 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13900 (whitespace-font-lock-keywords): Change description.
13901 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13902 the constructed keywords instead.
13903 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13904
50c3a20b
LL
139052013-03-19 Leo Liu <sdl.web@gmail.com>
13906
13907 * progmodes/compile.el (compilation-display-error): New command.
13908 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13909 C-o. (Bug#13992)
13910
2aa2157b
PE
139112013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13912
13913 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13914
e477dbfa
JD
139152013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13916
13917 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13918
64ab82d1
MA
139192013-03-18 Michael Albinus <michael.albinus@gmx.de>
13920
13921 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13922
13923 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13924 * net/tramp-gvfs.el (top):
13925 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13926 (tramp-handle-shell-command): Use it.
13927 (tramp-dissect-file-name): Raise an error when hostname is a
13928 method name, and neither method nor user is specified.
13929
13930 * net/trampver.el: Update release number.
13931
33cef733
LL
139322013-03-18 Leo Liu <sdl.web@gmail.com>
13933
13934 Make sure eldoc can be turned off properly.
13935 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13936 eldoc-mode.
13937 (eldoc-display-message-p): Revert last change.
13938 (eldoc-display-message-no-interference-p)
13939 (eldoc-print-current-symbol-info): Tweak.
13940
2167b7b2
TH
139412013-03-18 Tassilo Horn <tsdh@gnu.org>
13942
13943 * doc-view.el (doc-view-new-window-function): Check the new window
13944 overlay's display property instead the char property of the
13945 buffer's first char. Use `with-selected-window' instead of
13946 `save-window-excursion' with `select-window'.
13947 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13948 display property instead the char property of the buffer's first char.
2167b7b2 13949
982efbcd
PE
139502013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13951
13952 Automate the build of ja-dic.el (Bug#13984).
13953 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13954 from the input, rather than assume that it's been done for us by the
13955 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13956 the current date into a ja-dic.el comment, as that complicates
13957 regression testing.
13958
2fcc7665
SM
139592013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13960
13961 * whitespace.el: Fix double evaluation.
13962 (whitespace-space, whitespace-hspace, whitespace-tab)
13963 (whitespace-newline, whitespace-trailing, whitespace-line)
13964 (whitespace-space-before-tab, whitespace-indentation)
13965 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13966 obsolete defvars.
13967 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13968 (whitespace-color-on): Use a single font-lock-add-keywords call.
13969 Fix double-evaluation of face variables.
13970
67c0a6e6
MA
139712013-03-17 Michael Albinus <michael.albinus@gmx.de>
13972
2fcc7665
SM
13973 * net/tramp-adb.el (tramp-adb-parse-device-names):
13974 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13975 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13976
69489f1d
LL
139772013-03-17 Leo Liu <sdl.web@gmail.com>
13978
13979 Extend eldoc to display info in the mode-line. (Bug#13978)
13980 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13981 (eldoc-mode-line-string): New variable.
13982 (eldoc-minibuffer-message): New function.
13983 (eldoc-message-function): New variable.
13984 (eldoc-message): Use it.
13985 (eldoc-display-message-p)
2fcc7665
SM
13986 (eldoc-display-message-no-interference-p):
13987 Support eldoc-post-insert-mode.
69489f1d
LL
13988
13989 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13990 (eval-expression): Run it.
13991
9c44569e
RW
139922013-03-17 Roland Winkler <winkler@gnu.org>
13993
13994 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13995 strings in the list of return values.
13996
327f1f6f
JB
139972013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13998
13999 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14000 radix before checking for HMS forms.
14001
67ed8fcd
LL
140022013-03-16 Leo Liu <sdl.web@gmail.com>
14003
14004 * progmodes/scheme.el: Add indentation and font-locking for λ.
14005 (Bug#13975)
14006
78be8b64 140072013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14008
14009 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14010 token before point (bug#13942).
14011
78be8b64 140122013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14013
95b43468 14014 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14015
98e775e6
EZ
140162013-03-16 Eli Zaretskii <eliz@gnu.org>
14017
14018 * startup.el (command-line-normalize-file-name): Fix handling of
14019 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14020 <xfq.free@gmail.com> in
14021 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14022
2edd6029
MA
140232013-03-15 Michael Albinus <michael.albinus@gmx.de>
14024
14025 Sync with Tramp 2.2.7.
14026
14027 * net/trampver.el: Update release number.
14028
d35f5864
TH
140292013-03-14 Tassilo Horn <tsdh@gnu.org>
14030
e903c210 14031 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14032 (doc-view-insert-image): Don't modify overlay associated to
14033 non-live windows, and implement horizontal centering of image in
14034 case it's smaller than the window.
14035 (doc-view-new-window-function): Force redisplay of new windows on
14036 doc-view buffers.
d35f5864 14037
1c4a85ed
KF
140382013-03-13 Karl Fogel <kfogel@red-bean.com>
14039
14040 * saveplace.el (save-place-alist-to-file): Don't sort
14041 `save-place-alist', just pretty-print it (bug#13882).
14042
85b66a21
MA
140432013-03-13 Michael Albinus <michael.albinus@gmx.de>
14044
a020afb9
JB
14045 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14046 Check whether `default-file-name-coding-system' is bound.
14047 It isn't in XEmacs.
85b66a21 14048
175600da
SM
140492013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14050
e7f7cb1a
SM
14051 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14052 backquotes for `obsolete' (bug#13929).
14053
175600da
SM
14054 * international/mule.el (find-auto-coding): Include file name in
14055 obsolescence warning (bug#13922).
14056
ca68a22e
TZ
140572013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14058
14059 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14060 for CFEngine 3-specific indentation.
14061 (cfengine3-indent-line): Use it. Fix up category regex.
14062 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14063
940e5099
SM
140642013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14065
14066 * type-break.el (type-break-file-name):
14067 * textmodes/remember.el (remember-data-file):
14068 * strokes.el (strokes-file):
14069 * shadowfile.el (shadow-initialize):
14070 * saveplace.el (save-place-file):
14071 * ps-bdf.el (bdf-cache-file):
14072 * progmodes/idlwave.el (idlwave-config-directory):
14073 * net/quickurl.el (quickurl-url-file):
14074 * international/kkc.el (kkc-init-file-name):
14075 * ido.el (ido-save-directory-list-file):
14076 * emulation/viper.el (viper-custom-file-name):
14077 * emulation/vip.el (vip-startup-file):
14078 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14079 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14080
cc725808
PE
140812013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14082
14083 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14084 * language/thai-word.el: Switch to UTF-8.
14085
a020afb9 14086See ChangeLog.16 for earlier changes.
e3d51b27
MR
14087
14088;; Local Variables:
14089;; coding: utf-8
e3d51b27
MR
14090;; End:
14091
ba318903 14092 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14093
14094 This file is part of GNU Emacs.
14095
14096 GNU Emacs is free software: you can redistribute it and/or modify
14097 it under the terms of the GNU General Public License as published by
14098 the Free Software Foundation, either version 3 of the License, or
14099 (at your option) any later version.
14100
14101 GNU Emacs is distributed in the hope that it will be useful,
14102 but WITHOUT ANY WARRANTY; without even the implied warranty of
14103 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14104 GNU General Public License for more details.
14105
14106 You should have received a copy of the GNU General Public License
14107 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.