lisp/textmodes/rst.el: Implement missing but documented functionality.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
57348c4d
JB
12014-03-16 Juanma Barranquero <lekktu@gmail.com>
2
3 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
4 Implement inserting into current buffer, documented in their docstrings.
5 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
6 (rst-section-tree-point, rst-forward-section, rst-indent)
7 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
8 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
9 (rst-font-lock-handle-adornment-pre-match-form)
10 (rst-repeat-last-character): Reflow docstrings.
11 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
12 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
13 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
14 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
15 Fix docstring typos.
16 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
17 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
18 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
19
fd16b061
JB
202014-03-15 Juanma Barranquero <lekktu@gmail.com>
21
a2403e3d
JB
22 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
23 for compatibility with other ports.
24 (ns-initialize-window-system): Use it. It is set in term/common-win.el
25 from the -xrm command line argument, but in the Nextstep port its value
26 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
27
fd16b061
JB
28 * progmodes/python.el (defconst, python-syntax-count-quotes)
29 (python-indent-region, python-indent-shift-right)
30 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
31 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
32 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
33 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
34 (inferior-python-mode, python-shell-make-comint, run-python-internal)
35 (python-shell-buffer-substring, python-shell-send-buffer)
36 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
37 (python-completion-complete-at-point, python-fill-docstring-style)
38 (python-eldoc-function, python-imenu-format-item-label)
39 (python-imenu-format-parent-item-label)
40 (python-imenu-format-parent-item-jump-label)
41 (python-imenu--build-tree, python-imenu-create-index)
42 (python-imenu-create-flat-index): Fix docstring typos.
43 (python-indent-context, python-shell-prompt-regexp, run-python):
44 Remove superfluous backslashes.
45 (python-indent-line, python-nav-beginning-of-defun)
46 (python-shell-get-buffer, python-shell-get-process)
47 (python-info-current-defun, python-info-current-line-comment-p)
48 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
49 (python-indent-post-self-insert-function, python-shell-send-file)
50 (python-shell-completion-get-completions)
51 (python-shell-completion-complete-or-indent)
52 (python-eldoc--get-doc-at-point): Reflow docstrings.
53
e94807f0
GM
542014-03-14 Glenn Morris <rgm@gnu.org>
55
88103345
GM
56 * emacs-lisp/package.el (package-menu-mode-map):
57 Replace use of obsolete function alias. Tweak menu item text.
58
f2dd4ba8
GM
59 * info.el (Info-finder-find-node):
60 Ignore the `emacs' metapackage. (Bug#10813)
61
ac0f82ef
GM
62 * finder.el (finder-list-matches): Include unversioned packages
63 in the result of a keyword search.
64
e94807f0
GM
65 * finder.el (finder--builtins-descriptions): New constant.
66 (finder-compile-keywords): Use finder--builtins-descriptions.
67
50d434d1
DG
682014-03-14 Dmitry Gutov <dgutov@yandex.ru>
69
70 * simple.el (blink-matching-paren): Describe the new value,
71 `jump', enabling the old behavior.
72 (blink-matching-open): Use that value. (Bug#17008)
73
56759cf1
GM
742014-03-14 Glenn Morris <rgm@gnu.org>
75
459d74ef
GM
76 * finder.el (finder-no-scan-regexp): Add leim-list.
77 (finder-compile-keywords):
78 Don't skip files with same basename. (Bug#14010)
79 * Makefile.in (setwins_finder): New, excluding leim.
80 (finder-data): Use setwins_finder.
81
56759cf1
GM
82 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
83 (help-function-arglist, help-make-usage): Move from here...
84 * help.el (help-split-fundoc, help-add-fundoc-usage)
85 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
86 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
87
7644aa97
JB
882014-03-14 Juanma Barranquero <lekktu@gmail.com>
89
90 * net/socks.el (socks, socks-override-functions)
fd16b061 91 (socks-find-services-entry):
7644aa97
JB
92 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
93 (hif-find-ifdef-block):
94 * progmodes/modula2.el (m2-indent): Fix docstring typos.
95
96 * net/tls.el (tls-program): Reflow docstring.
97
98 * progmodes/pascal.el (pascal-mode-abbrev-table)
99 (pascal-imenu-generic-expression, pascal-auto-endcomments)
100 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
101 (pascal-outline-mode): Fix docstring typos.
102 (pascal-mode): Let define-derived-mode document mode hook.
103 (pascal-uncomment-area): Reflow.
104 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
105
106 * progmodes/opascal.el (opascal-compound-block-indent)
107 (opascal-case-label-indent): Fix docstring typos.
108 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
109
1f44df94
DG
1102014-03-13 Dmitry Gutov <dgutov@yandex.ru>
111
112 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
113 multiple adjacent negation chars. (Bug#17004)
114
0d71dfb3
TW
1152014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
116
117 * emacs-lisp/package.el (package--prepare-dependencies):
118 Accept requirements without explicit version (bug#14941).
119
d27a1a7b
JB
1202014-03-12 Juanma Barranquero <lekktu@gmail.com>
121
a5765a3d
JB
122 * register.el (register-separator, copy-to-register): Doc fixes.
123 (register-preview-default): Remove unnecessary call to concat.
124
d27a1a7b
JB
125 * frameset.el (frameset-restore): When checking for a visible frame,
126 use the action map instead of calling visible-frame-list.
127
08dfa0b7
JB
1282014-03-12 Jonas Bernoulli <jonas@bernoul.li>
129
130 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
131
8960529e
MR
1322014-03-12 Martin Rudalics <rudalics@gmx.at>
133
134 * window.el (fit-frame-to-buffer): Get maximum width from
135 display's width instead of height.
136
8a51e8e4
GM
1372014-03-12 Glenn Morris <rgm@gnu.org>
138
46456005
GM
139 * desktop.el (desktop-restore-frames)
140 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
141 (desktop-restore-reuses-frames): Doc tweaks.
142
8a51e8e4
GM
143 * electric.el (electric-indent-mode): Doc fix.
144
5983b317
JB
1452014-03-12 Juanma Barranquero <lekktu@gmail.com>
146
147 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
148 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
149 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
150 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
151 (cvs-dired-use-hook): Fix docstring typos.
152 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
153 Doc fixes.
154
155 * vc/pcvs-defs.el (cvs-auto-remove-handled)
156 (cvs-auto-remove-directories, cvs-default-ignore-marks)
157 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
158 (cvs-execute-single-dir): Fix docstring typos.
159
160 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
161 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
162
163 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
164
165 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
166 Fix docstring typos.
167
13c00cf0
JB
1682014-03-12 Juanma Barranquero <lekktu@gmail.com>
169
170 * frameset.el (frameset--jump-to-register): Add autoload; it could be
171 called from jump-to-register after unloading the frameset package.
172
536a17e3
SM
1732014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
176 (bug#16975). Deactivate the mark before setting it to nil.
177 (activate-mark): Do nothing if region is already active.
178
baf8d0ac
JB
1792014-03-11 Juanma Barranquero <lekktu@gmail.com>
180
181 * frameset.el (frameset--target-display): Remove definition; declare.
182 (frameset-save, frameset-restore): Let-bind frameset--target-display.
183
1ea22560
SM
1842014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
187 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
188 when the advice is pending.
189 (advice-remove): Remove this marker when not needed any more.
190
4538c058
JB
1912014-03-11 Juanma Barranquero <lekktu@gmail.com>
192
193 * frameset.el: Separate options for reusing frames and cleaning up.
194 (frameset--reuse-list): Remove definition; declare.
195 (frameset--action-map): Declare.
196 (frameset--find-frame-if): Doc fix.
197 (frameset--restore-frame): Cache frame action.
198 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
199 how to clean up the frame list after restoring. Remove cleaning
200 options from REUSE-FRAMES. Change all keyword values to symbols.
201 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
202
203 * desktop.el (desktop-restore-forces-onscreen)
204 (desktop-restore-reuses-frames): Use non-keyword values.
205 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
206
ba1a5c78
GM
2072014-03-10 Glenn Morris <rgm@gnu.org>
208
776aa432
GM
209 * files.el (find-file): Doc fix: update info node name.
210
ba1a5c78
GM
211 * emacs-lisp/advice.el (ad-add-advice, defadvice):
212 Doc fix: remove references to deleted info nodes.
213
183d706e
MA
2142014-03-10 Michael Albinus <michael.albinus@gmx.de>
215
216 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
217 Do not add `nil' to the environment, when there's no remote `locale'.
218 (tramp-find-inline-encoding): Check, that the remote host has
219 installed perl, before sending scripts.
220
6f0f96e7
LL
2212014-03-10 Leo Liu <sdl.web@gmail.com>
222
536a17e3
SM
223 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
224 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 225
ca70fe78
SM
2262014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
229 (bug#14430).
230
eb67db41
JL
2312014-03-09 Juri Linkov <juri@jurta.org>
232
233 * ansi-color.el (ansi-color-names-vector): Copy default colors
234 from `xterm-standard-colors' that look well on the default white
235 background (and also on the black background) to avoid illegible
8cf07e5a 236 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
237 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
238
e7db5447
JB
2392014-03-08 Juanma Barranquero <lekktu@gmail.com>
240
241 * frameset.el (frameset-restore): When no frame is visible, do not
242 generate a list of frames, just make visible the selected one.
243
f0a4c8d7
DG
2442014-03-08 Dmitry Gutov <dgutov@yandex.ru>
245
246 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
247 it only contains the repository root. (Bug#16897)
248
e50772e3
MA
2492014-03-07 Michael Albinus <michael.albinus@gmx.de>
250
251 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
252 only when `remote-file-name-inhibit-cache' is nil.
253 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
254
cac0a1d6
MR
2552014-03-06 Martin Rudalics <rudalics@gmx.at>
256
257 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
258 Fix doc-strings.
259 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
260 fit-frame-to-buffer variable. Fix doc-string.
261 (fit-window-to-buffer): Set ONLY argument in call of
262 fit-frame-to-buffer. Fix doc-string.
263
fa965cbf
MA
2642014-03-06 Michael Albinus <michael.albinus@gmx.de>
265
266 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
267 (tramp-action-password): Clear password cache if needed.
268 (tramp-read-passwd): Do not clear password cache.
269
270 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
271 cache unless it is the first password request.
272
c94e6ee4
GM
2732014-03-06 Glenn Morris <rgm@gnu.org>
274
03bc753e
GM
275 * simple.el (newline): Doc tweak.
276
c94e6ee4
GM
277 * emacs-lisp/shadow.el (load-path-shadows-find):
278 Ignore dir-locals. (Bug#12357)
279
bd2d43dc
GM
2802014-03-05 Glenn Morris <rgm@gnu.org>
281
282 * files.el (interpreter-mode-alist):
283 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
284
9284000e
JB
2852014-03-05 Juanma Barranquero <lekktu@gmail.com>
286
287 * frameset.el (frameset--initial-params): Filter out null entries.
288
e1a2cb1c
MR
2892014-03-05 Martin Rudalics <rudalics@gmx.at>
290
27821a89
JB
291 * window.el (window-min-height, window-min-width):
292 Rewrite doc-strings.
e1a2cb1c
MR
293 (window-body-size): Add PIXELWISE argument to make it consistent
294 with its callees.
295
6bf67038
JB
2962014-03-05 Juanma Barranquero <lekktu@gmail.com>
297
298 * finder.el (finder-mode-map, finder-mode-syntax-table):
299 Revert part of 2014-02-28 change.
300
90f04e4c
LI
3012014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
302
303 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
304 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
305 (eww-textarea-map): [tab] doesn't work on tty.
306 Reported by Mario Lang.
6952100d
LI
307
308 * net/shr.el (shr-map): Ditto.
90f04e4c 309
3106d59b
GM
3102014-03-04 Glenn Morris <rgm@gnu.org>
311
312 * minibuffer.el (completion-hilit-commonality):
313 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
314
f604dfdc
JB
3152014-03-04 Juanma Barranquero <lekktu@gmail.com>
316
317 * hilit-chg.el (hilit-chg-unload-function): New function.
318 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
319 (hilit-chg-map-changes): Prefer cardinal number to digit.
320 (hilit-chg-display-changes): Reflow docstring.
321 (highlight-changes-rotate-faces): Remove superfluous backslash.
322
5dc65319
MA
3232014-03-04 Michael Albinus <michael.albinus@gmx.de>
324
325 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
326 `tramp-send-command-and-check'.
327
4242d21d
JB
3282014-03-04 Juanma Barranquero <lekktu@gmail.com>
329
b01fa838
JB
330 * hexl.el (hexl-address-region, hexl-ascii-region)
331 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
332 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
333 (hexl-forward-word, hexl-previous-line, hexl-next-line):
334 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
335 (hexl-mode): Doc fix.
336 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
337 (hexl-mode-ruler): Fix typos in docstrings.
338
4242d21d
JB
339 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
340 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
341 Remove superfluous backslashes.
342 (strokes-last-stroke, strokes-global-map, strokes-mode):
343 Reflow docstrings.
344 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
345 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
346 (strokes-distance-squared, strokes-global-set-stroke)
347 (strokes-global-set-stroke-string): Doc fixes.
348 (strokes-help): Fix typos; reflow docstring.
349
87132570
MR
3502014-03-04 Martin Rudalics <rudalics@gmx.at>
351
352 * window.el (window-in-direction): Fix doc-string.
353
d82e752c
GM
3542014-03-04 Glenn Morris <rgm@gnu.org>
355
356 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
357 Explicit error if no grammar.
358 (smie-config-save): Doc fix. Fix quote typo.
359
62528af0
SM
3602014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
361
8d4901dc
SM
362 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
363 electric-indent-mode-hook if we obey electric-indent-mode.
364 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
365 decide whether we obey electric-indent-mode.
366 (c-change-set-fl-decl-start, c-extend-after-change-region):
367 Silence warnings.
368 (c-electric-indent-mode-hook): Assume we do want to obey
369 electric-indent-mode.
370
371 * electric.el (electric-indent-mode-has-been-called): Remove.
372 (electric-indent-mode): Fix accordingly.
373
092c12b2
SM
374 * files.el (hack-local-variables): Mention file name in warning.
375
62528af0
SM
376 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
377
5b87d0d9
MN
3782014-03-04 Michal Nazarewicz <mina86@mina86.com>
379
380 * binding.el: Add comment describing why C-d binds to `delete-char'.
381 * simple.el (delete-forward-char): Mark as interactive-only.
382
542a3840
JB
3832014-03-03 Juanma Barranquero <lekktu@gmail.com>
384
f2d2402e
GM
385 * icomplete.el (icomplete-completions):
386 Follow-up to 2014-03-01 change.
d11320e5
JB
387
388 * icomplete.el: Miscellaneous doc fixes.
389 Use Icomplete everywhere instead of icomplete for consistency.
390 (icomplete-max-delay-chars): Fix typo.
391 (icomplete-mode): Use \[].
392 (icomplete-tidy, icomplete-exhibit): Reflow.
393 (icomplete-minibuffer-setup-hook, icomplete-completions):
394 Remove superfluous backlashes.
395
396 * ido.el: Miscellaneous doc fixes.
397 Use Ido everywhere instead of ido or `ido' for consistency.
398 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
399 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
400 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
401 (ido-separator): Extract obsolescence info from docstring and declare
402 with make-obsolete-variable.
403 (ido-minibuffer-setup-hook): Simplify example.
404 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
405 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
406 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
407 (ido-everywhere): Reflow docstring.
408 (ido-toggle-vc): Doc fix.
409 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
410 of long list of keybindings.
411
7ebd57e9
GM
4122014-03-03 Glenn Morris <rgm@gnu.org>
413
414 * frame.el (display-pixel-height, display-pixel-width)
415 (display-mm-dimensions-alist, display-mm-height)
416 (display-mm-width): Doc tweaks.
417
35e951cd 4182014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
419
420 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
421 case of undo in region.
422
b923819c
MR
4232014-03-02 Martin Rudalics <rudalics@gmx.at>
424
425 * window.el (fit-window-to-buffer): Fix argument in window-size
426 call when window is horizontally combined.
427
b6e443c5
JB
4282014-03-02 Juanma Barranquero <lekktu@gmail.com>
429
430 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 431 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 432
1850913d
DG
4332014-03-01 Dmitry Gutov <dgutov@yandex.ru>
434
35e951cd
JB
435 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
436 Highlight regexp options. (Bug#16914)
1850913d 437
04b577b6
MR
4382014-03-01 Martin Rudalics <rudalics@gmx.at>
439
440 * window.el (window--max-delta-1): Round down when calculating
441 how many lines/columns we can get from a window.
442
b829360f
GM
4432014-03-01 Glenn Morris <rgm@gnu.org>
444
2501c912
GM
445 * isearch.el (search-invisible): Doc fix.
446
b829360f
GM
447 * minibuffer.el (completion-hilit-commonality):
448 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
449 * comint.el (comint-dynamic-list-completions): Doc fix.
450 * comint.el (comint-dynamic-list-completions):
451 * filecache.el (file-cache-minibuffer-complete):
452 * tempo.el (tempo-display-completions):
453 * eshell/em-hist.el (eshell-list-history):
454 Replace use of obsolete argument of display-completion-list.
455
9a155058
JB
4562014-03-01 Juanma Barranquero <lekktu@gmail.com>
457
458 * icomplete.el (icomplete-completions):
459 Revert back to using "..." when ?… cannot be displayed.
460
53f6cda8
JB
4612014-02-28 Juanma Barranquero <lekktu@gmail.com>
462
463 * finder.el (finder-unload-function): New function.
464
43977c23
JB
4652014-02-28 Juanma Barranquero <lekktu@gmail.com>
466
467 * dframe.el (dframe-detach):
468 * find-dired.el (find-dired, find-name-dired):
469 * finder.el (finder-mode-map, finder-mode-syntax-table)
470 (finder-headmark, finder-select, finder-mouse-select):
471 Fix docstring typos.
472
9dda75ad
MR
4732014-02-28 Martin Rudalics <rudalics@gmx.at>
474
475 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
476 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
477 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
478 Fix doc-string based on a suggestion by Nicolas Richard
479 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
480 * help.el (with-help-window): Fix doc-string.
481
8a73034e
IK
4822014-02-28 Ivan Kanis <ivan@kanis.fr>
483
b70257b0
GM
484 * net/shr.el (shr-image-animate): New option.
485 (shr-put-image): Respect shr-image-animate.
8a73034e 486
245aa73e
MA
4872014-02-28 Michael Albinus <michael.albinus@gmx.de>
488
489 * net/tramp-adb.el (tramp-adb-parse-device-names):
490 Use `accept-process-output'.
491 (tramp-adb-handle-file-truename): Cache the localname only.
492 (tramp-adb-handle-make-directory)
493 (tramp-adb-handle-delete-directory): Flush file properties correctly.
494 (tramp-adb-handle-set-file-modes): Do not raise an error when file
495 modes cannot be changed.
496
497 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
498 file properties of symlinks.
499
48e15d64
PS
5002014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
501
502 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
503 required/optional fields to match development biblatex. (Bug#16781)
504
65b77347
AS
5052014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
506
507 * saveplace.el (toggle-save-place):
508 Fix argument handling. (Bug#16673)
509
5e618aba
GM
5102014-02-28 Glenn Morris <rgm@gnu.org>
511
512 * minibuffer.el (completions-first-difference)
513 (completions-common-part, completion-hilit-commonality): Doc fixes.
514
6deb314e
KB
5152014-02-28 Karl Berry <karl@gnu.org>
516
517 * info.el (Info-mode-map): Add H for describe-mode,
518 to synchronize with standalone Info.
519
289996f5
EL
5202014-02-28 Emilio C. Lopes <eclig@gmx.net>
521
522 * progmodes/sql.el (sql-interactive-mode):
523 Avoid setting global comint-input-ring-separator. (Bug#16814)
524
79fc1191
MA
5252014-02-27 Michael Albinus <michael.albinus@gmx.de>
526
527 * net/dbus.el (dbus--init-bus): Declare function.
528 (dbus-path-local, dbus-interface-local): New defconst.
529 (dbus-init-bus): Use them.
530 (dbus-return-values-table): Extend doc.
531 (dbus-handle-bus-disconnect): Extend error message.
532
298520df
JB
5332014-02-27 Juanma Barranquero <lekktu@gmail.com>
534
535 * subr.el (y-or-n-p): Fix double space issue in message.
536
c22c1614
MA
5372014-02-27 Michael Albinus <michael.albinus@gmx.de>
538
539 * net/tramp.el (tramp-call-process): Improve trace message.
540 (tramp-handle-insert-file-contents): Trace error case.
541
542 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
543 <insert-directory>: Use `tramp-handle-insert-directory'.
544 (tramp-adb-handle-insert-directory): Remove function.
545 (tramp-adb-send-command-and-check): New defun, replacing
546 `tramp-adb-command-exit-status'. Change all callees.
547 (tramp-adb-handle-file-attributes)
548 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
549 (tramp-adb-ls-output-name-less-p):
550 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
551 (tramp-adb-handle-delete-directory): Flush also file properties of
552 the truename of directory.
553 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
554 (tramp-adb-handle-file-local-copy): Make the local copy readable.
555 (tramp-adb-handle-write-region): Implement APPEND.
556 (tramp-adb-handle-rename-file): Make it more robust. Flush file
557 properties correctly.
558 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
559 variables. Check for connected devices only when needed.
560
d9263618
GM
5612014-02-27 Glenn Morris <rgm@gnu.org>
562
ea7826ba
GM
563 * minibuffer.el (completion-table-dynamic)
564 (completion-table-with-cache): Doc fixes.
565
d9263618
GM
566 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
567 (completing-read-multiple): Doc fixes.
568
eff3168a
DC
5692014-02-27 Daniel Colascione <dancol@dancol.org>
570
51f213c3
DC
571 * minibuffer.el (completion--nth-completion): Fix indentation.
572
eff3168a
DC
573 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
574 explicit tramp path is empty.
575
b77cfcd7
GM
5762014-02-27 Glenn Morris <rgm@gnu.org>
577
578 * emacs-lisp/crm.el (completing-read-multiple):
579 Empower help-enable-auto-load.
580
9577b569
GM
5812014-02-26 Glenn Morris <rgm@gnu.org>
582
259887e8
GM
583 * startup.el (command-line): Don't init the tty in daemon mode.
584
1d491ef2
GM
585 Avoid calling tty-setup-hook twice, eg if a term file
586 explicitly calls tty-run-terminal-initialization. (Bug#16859)
587 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
588 (tty-create-frame-with-faces): Use it.
589 * startup.el (command-line): Pass run-hook argument
590 to tty-run-terminal-initialization.
591
9577b569
GM
592 * dired.el (dired-restore-desktop-buffer): Demote errors;
593 eg in case a glob match fails. (Bug#16884)
594
40ff7f86
DG
5952014-02-26 Dmitry Gutov <dgutov@yandex.ru>
596
b2388336
DG
597 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
598 error from `read-from-string'. (Bug#16850)
599
40ff7f86
DG
600 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
601 result of `completing-read' in the interactive form. (Bug#16854)
602
98bd6b32
GM
6032014-02-25 Glenn Morris <rgm@gnu.org>
604
f086804c
GM
605 * image.el (image-animate, image-animate-timeout):
606 Stop animating images in dead buffers. (Bug#16878)
607
c107155e
GM
608 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
609
9577b569
GM
610 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
611 Doc fixes.
98bd6b32
GM
612 * startup.el (term-setup-hook): Doc fix. Make obsolete.
613 * term/sun.el (sun-raw-prefix-hooks):
614 Use tty-setup-hook instead of term-setup-hook.
615 (terminal-init-sun): Construct message from bytecomp plist.
616 * term/wyse50.el (enable-arrow-keys): Doc fix.
617
9c9e18e8
JB
6182014-02-24 Juanma Barranquero <lekktu@gmail.com>
619
620 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
621 Fix docstring typos.
622
c848881f
MA
6232014-02-24 Michael Albinus <michael.albinus@gmx.de>
624
625 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
626
0e38ae05
NR
6272014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
628
629 * minibuffer.el (completion--try-word-completion):
630 Fix error when completing M-x commands (bug#16808).
631
8ee4c296
LL
6322014-02-24 Leo Liu <sdl.web@gmail.com>
633
634 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
635
7d4bd627
JB
6362014-02-24 Juanma Barranquero <lekktu@gmail.com>
637
638 * apropos.el (apropos-print): Avoid formatting error when
639 apropos-do-all and apropos-compact-layout are both t.
640
e918e27f
JB
6412014-02-23 Juanma Barranquero <lekktu@gmail.com>
642
643 * apropos.el (apropos-property, apropos-all-words-regexp)
644 (apropos-true-hit, apropos-variable, apropos-print):
645 Fix docstring typos, and remove obsolete comment.
646
85c01f80
MA
6472014-02-23 Michael Albinus <michael.albinus@gmx.de>
648
649 * net/tramp-sh.el (tramp-sh-handle-file-truename):
650 Preserve trailing "/". (Bug#16851)
651
62f95022
DG
6522014-02-23 Dmitry Gutov <dgutov@yandex.ru>
653
654 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
655 after `=>' (bug#16811).
dfdb365c
DG
656 (ruby-smie-rules): Handle the inconsistent second element of the
657 list returned by `smie-indent--parent'.
658 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
659 method call.
62f95022 660
025f2c81
JB
6612014-02-23 Juanma Barranquero <lekktu@gmail.com>
662
663 * elec-pair.el (electric-pair-text-syntax-table)
664 (electric-pair-syntax-info, electric-pair--syntax-ppss)
665 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
666 (electric-pair--looking-at-unterminated-string-p): Doc fix.
667 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
668
123c84f9
GM
6692014-02-22 Glenn Morris <rgm@gnu.org>
670
612c3e46
GM
671 * imenu.el (imenu--generic-function): Doc fix.
672
123c84f9
GM
673 * register.el (frame-configuration-to-register): Make obsolete.
674
e59fa9ad
JB
6752014-02-22 Juanma Barranquero <lekktu@gmail.com>
676
677 * desktop.el (desktop-save-buffer-p): Do not fail when
678 desktop-files-not-to-save is nil. Return t for true result
679 as the doc says.
680
4e652634
DC
6812014-02-22 Daniel Colascione <dancol@dancol.org>
682
27821a89 683 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
684 Check that attribute values are strings, avoiding the construction
685 of invalid dbus messages.
4e652634 686
f35affb6
JB
6872014-02-21 Juanma Barranquero <lekktu@gmail.com>
688
689 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
690 defun-declarations-alist.
691
3d136b1b
SM
6922014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
695 (bug#16829).
696
612ddfc0
JB
6972014-02-21 Juanma Barranquero <lekktu@gmail.com>
698
699 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
700 (whitespace-newline, whitespace-trailing, whitespace-line)
701 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
702 (whitespace-space-after-tab): Fix typo in docstrings.
703
c8481b1b
DG
7042014-02-21 Dmitry Gutov <dgutov@yandex.ru>
705
cb8f50a7
DG
706 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
707
c8481b1b
DG
708 * electric.el (electric-indent-functions-without-reindent):
709 Add `yaml-indent-line'.
710
bed5126f
JB
7112014-02-21 Juanma Barranquero <lekktu@gmail.com>
712
34b71457
JB
713 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
714 It has done nothing for years; should be removed after the release.
715
bed5126f
JB
716 * simple.el (choose-completion): Fix docstring typo.
717 (read-quoted-char-radix): Remove unneeded * in docstring.
718 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
719 Don't escape parentheses unnecessarily in docstrings.
720
8dd3e94f
MR
7212014-02-21 Martin Rudalics <rudalics@gmx.at>
722
723 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
724 * window.el (window--dump-window, window--dump-frame):
725 New functions.
726 (window--min-size-1): Account for window dividers.
727 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
728 sum of the window components has been calculated.
729 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
730 nil make sure at least one text line and two text columns remain
731 fully visible.
732 (window-resize): Signal an error when window-resize-apply fails.
733 (window--resize-child-windows): Fix calculation of by how many
734 pixels a window can still be shrunk via window-new-normal.
735 (adjust-window-trailing-edge): Call window--resizable with
736 correct TRAIL argument.
737
2ed94e04
MR
738 (with-temp-buffer-window): Don't evaluate BODY within
739 with-current-buffer (Bug#16816).
740
0e5324c4
MA
7412014-02-21 Michael Albinus <michael.albinus@gmx.de>
742
743 * net/tramp.el (tramp-check-cached-permissions):
744 Call `file-attributes' with `suffix' being a symbol but a string.
745
48198420
DC
7462014-02-21 Daniel Colascione <dancol@dancol.org>
747
748 * net/dbus.el (dbus-init-bus-1): Declare new subr.
749 (dbus-init-bus): New function: call into dbus-init-bus-1
750 and installs a handler for the disconnect signal.
751 (dbus-call-method): Rewrite to look for result in cons.
752 (dbus-call-method-handler): Store result in cons.
753 (dbus-check-event): Recognize events with nil sender as valid.
754 (dbus-handle-bus-disconnect): New function. React to bus
755 disconnection signal by synthesizing dbus error for each
756 pending synchronous or asynchronous call.
757 (dbus-notice-synchronous-call-errors): New function.
758 (dbus-handle-event): Raise errors directly only when `dbus-debug'
759 is true, not all the time.
760
99e15133
JB
7612014-02-21 Juanma Barranquero <lekktu@gmail.com>
762
e48983a6
JB
763 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
764 Remove obsolescence declarations, these variables do not exist anymore.
765
fdcfd745
JB
766 * savehist.el (savehist-save-minibuffer-history)
767 (savehist-additional-variables, savehist-file, savehist-mode-hook)
768 (savehist-save-hook, savehist-coding-system, savehist-loaded)
769 (savehist-load, savehist-install, savehist-autosave): Fix typos;
770 mostly, refer to "Savehist mode" when talking about the mode,
771 and not the function.
772
99e15133
JB
773 * saveplace.el (save-place): Remove redundant info in docstring.
774 (save-place-forget-unreadable-files, toggle-save-place)
775 (save-place-forget-unreadable-files, save-place-dired-hook):
776 Fix typos and remove unneeded backslashes.
777
f5bee33b
MA
7782014-02-20 Michael Albinus <michael.albinus@gmx.de>
779
780 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
781 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
782
783 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 784 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
785 (tramp-gvfs-handle-insert-directory): Remove function.
786
787 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
788 Call `tramp-handle-insert-directory'.
789
ee0761ca
JB
7902014-02-20 Juanma Barranquero <lekktu@gmail.com>
791
792 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
793 before the start of buffer/region (bug#16799).
794
4d49cc65
GM
7952014-02-20 Glenn Morris <rgm@gnu.org>
796
797 * isearch.el (search-invisible): Doc fix.
798
eee0d650
TK
7992014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
800
801 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
802 (bug#16657).
803
94e5e202
JB
8042014-02-19 Juanma Barranquero <lekktu@gmail.com>
805
806 * frameset.el (frameset-restore): Delay removing an old frame's
807 duplicate id until the new frame has been correctly created.
808
50bfdd5d
MA
8092014-02-19 Michael Albinus <michael.albinus@gmx.de>
810
811 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
812 (tramp-check-cached-permissions): Call `file-attributes' if the
813 cache is empty.
814
815 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 816 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
817
818 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 819 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
820 (tramp-gvfs-maybe-open-connection): Set always connection
821 properties, even if target is mounted already.
822
823 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
824 Set tramp-autoload cookie.
825 (tramp-get-remote-touch): New defun.
826 (tramp-sh-handle-set-file-times): Use it.
827 (tramp-sh-handle-directory-files-and-attributes):
828 Use `tramp-handle-directory-files-and-attributes' if neither stat
829 nor perl are available on the remote host.
830
831 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
832 "/". Write long listing only when "l" belongs to the switches.
833
834 * net/trampver.el: Update release number.
835
f097a3d2
JB
8362014-02-19 Juanma Barranquero <lekktu@gmail.com>
837
838 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
839
8e009b78
MR
8402014-02-19 Martin Rudalics <rudalics@gmx.at>
841
842 * window.el (window-state-put): Allow WINDOW to refer to an
843 internal window (Bug#16793).
844
95160c90
GM
8452014-02-19 Glenn Morris <rgm@gnu.org>
846
847 * textmodes/remember.el: Move provide statement to end.
848 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
849 (remember-notes): Doc fixes.
850
b28df58c
SM
8512014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * delsel.el (delete-char): Restore incorrectly erased property
854 (bug#16795).
855
7108e1c0
JB
8562014-02-18 Juanma Barranquero <lekktu@gmail.com>
857
858 * frameset.el (frameset--restore-frame): When a frame is being reused
859 and its root window is not alive, delete all the frame's windows before
860 restoring the window state. This works around the issue in bug#16793.
861
c863b6ad
GM
8622014-02-18 Glenn Morris <rgm@gnu.org>
863
a73fae1f
GM
864 * textmodes/remember.el (remember-data-directory)
865 (remember-directory-file-name-format, remember-store-in-files)
866 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
867 (remember-notes-save-and-bury-buffer)
868 (remember-notes--kill-buffer-query): Doc fixes.
869
c863b6ad
GM
870 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
871
29238d28
AM
8722014-02-17 Alan Mackenzie <acm@muc.de>
873
874 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 875 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 876 to electric-indent-{,local-}-mode.
b28df58c
SM
877 (c-basic-common-init): Set electric-indent-inhibit.
878 Initialise c-electric-flag from electric-indent-mode.
29238d28 879 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 880 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
881
882 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 883 hit, toggle electric-indent-local-mode.
29238d28 884
b28df58c
SM
885 * electric.el (electric-indent-mode-has-been-called):
886 New variable.
29238d28 887
c6463340
JB
8882014-02-17 Juanma Barranquero <lekktu@gmail.com>
889
890 * frameset.el (frameset-cfg-id): New function.
891 (frameset--reuse-frame, frameset-restore): Use it.
892 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
893
94912b88
SM
8942014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * ido.el (ido-file-internal): Remove unused var `d'.
897 Use \` for to match BoS. Fit within 80n columns.
898
26ea164c
DC
8992014-02-17 Daniel Colascione <dancol@dancol.org>
900
901 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
902 dbus-call-method check for completion using a busy-wait loop with
903 gradual backoff.
904
dd7691b7
MA
9052013-10-02 Michael Albinus <michael.albinus@gmx.de>
906
907 Sync with Tramp 2.2.9.
908
909 * net/trampver.el: Update release number.
910
17d1b51b
DG
9112014-02-16 Dmitry Gutov <dgutov@yandex.ru>
912
913 * ido.el (ido-file-internal): Don't add the name of an existing
914 directory twice. (Bug#16747)
915
5bcad689
GM
9162014-02-16 Glenn Morris <rgm@gnu.org>
917
918 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
919 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
920
9212014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
922
923 * progmodes/sql.el: Version 3.4
924 (sql-oracle-options): New default value ("-L").
94912b88 925 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 926 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 927 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
928 (sql-login-delay): New variable.
929 (sql-product-interactive): Use it.
930
285f1858
JB
9312014-02-15 Juanma Barranquero <lekktu@gmail.com>
932
933 * frameset.el (frameset--jump-to-register): Check that buffer is live
934 (bug#16749).
935
5d645ea4
GM
9362014-02-15 Glenn Morris <rgm@gnu.org>
937
938 * info.el (info-initialize): Revert 2014-01-10 change.
939
48c4f9b1
GM
9402014-02-14 Glenn Morris <rgm@gnu.org>
941
b8630261
GM
942 * replace.el (map-query-replace-regexp)
943 (read-regexp-defaults-function, read-regexp): Doc fixes.
944
b2bf2a25
GM
945 * dired.el (dired-read-regexp):
946 * faces.el (list-faces-display):
947 * misearch.el (multi-isearch-read-matching-buffers)
948 (multi-isearch-read-matching-files):
949 * play/cookie1.el (cookie-apropos):
950 * progmodes/grep.el (grep-read-regexp): Doc fixes.
951
48c4f9b1
GM
952 * textmodes/remember.el (remember): Use frameset-to-register
953 rather than frame-configuration-to-register.
954
2804e0bd
JB
9552014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
956
957 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
958 incorrect keybinding.
959
0b87142f
DC
9602014-02-13 Daniel Colascione <dancol@dancol.org>
961
962 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
963 when adding overlays so that line numbers from compiler match line
964 numbers we use.
965
47a73eb0
GM
9662014-02-13 Glenn Morris <rgm@gnu.org>
967
8abcfd51
GM
968 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
969
47a73eb0
GM
970 * jit-lock.el (jit-lock-mode): Doc fix.
971
c9b6b262
JB
9722014-02-13 Juanma Barranquero <lekktu@gmail.com>
973
974 * apropos.el (apropos-read-pattern): When the user passes an empty
975 string, give a more helpful error message than "Wrong type
976 argument: stringp, nil".
977
eb4c6947
SM
9782014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
981
0dab5068
GM
9822014-02-13 Glenn Morris <rgm@gnu.org>
983
984 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
985
59075dcf
SM
9862014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
989 shift-select commands.
990
5af9fbad
DG
9912014-02-12 Dmitry Gutov <dgutov@yandex.ru>
992
993 * progmodes/js.el (js-indent-line): Don't widen.
994 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
995
a215930c
GM
9962014-02-12 Glenn Morris <rgm@gnu.org>
997
a8cb4247
GM
998 * icomplete.el (icomplete): Add info-link to defgroup.
999 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1000 (icomplete-minibuffer-map, icomplete-mode)
1001 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1002
a215930c
GM
1003 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1004 (package-menu-filter): Rename from package-menu-filter-interactive.
1005 Doc fix.
1006
26c5ecd9
JB
10072014-02-11 Juanma Barranquero <lekktu@gmail.com>
1008
1009 * frameset.el (frameset--jump-to-register): Select the required
1010 window and buffer before restoring position (bug#16696).
1011
fcd58a02
LI
10122014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1013
1014 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1015
bacb3380
GM
10162014-02-10 Glenn Morris <rgm@gnu.org>
1017
1018 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1019
881329dc
EZ
10202014-02-10 Eli Zaretskii <eliz@gnu.org>
1021
02328db9
EZ
1022 * w32-common-fns.el (x-get-selection): Doc fix.
1023 * select.el (x-get-selection): Doc fix. (Bug#15109)
1024
881329dc
EZ
1025 * face-remap.el (face-remap-add-relative)
1026 (face-remap-remove-relative, face-remap-reset-base)
1027 (face-remap-set-base): Call force-mode-line-update to redisplay
1028 the current buffer due to potential change in faces. (Bug#16709)
1029
c7db4c06
MA
10302014-02-10 Michael Albinus <michael.albinus@gmx.de>
1031
1032 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1033 script more robustly.
1034
6abe4589
LI
10352014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1036
7602b5c3
LI
1037 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1038
e3692ee0
LI
1039 * simple.el (choose-completion): Doc fix (bug#14160).
1040
41015524
LI
1041 * subr.el (event-start): Say what a nil EVENT value means.
1042
87c79dcb
LI
1043 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1044 (bug#14197).
1045
3ab49e2c
LI
1046 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1047
f3c60241
LI
1048 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1049
3bd1d8a8
LI
1050 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1051
6abe4589
LI
1052 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1053 predicate function (bug#15455).
1054
a11463de
DG
10552014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1056
1057 * ielm.el (inferior-emacs-lisp-mode): Instead of
1058 `comment-use-global-state', set `comment-use-syntax'.
1059
2ab0ad85
GM
10602014-02-10 Glenn Morris <rgm@gnu.org>
1061
1062 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1063
411141fb
AM
10642014-02-09 Alan Mackenzie <acm@muc.de>
1065
1066 Fix c-invalidate-state-cache on narrowed buffers.
1067 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1068 Widen when setting and clearing the CPP delimiter properties.
1069
d6d5fdf8
LI
10702014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1071
92c70367
LI
1072 * help.el (describe-bindings): Doc fix (bug#9888).
1073
468ef484
LI
1074 * files.el (save-buffer): Use ARG as the parameter name for
1075 consistency (bug#10346).
7e34193f 1076 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1077
fc2b1ffa 1078 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1079 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1080 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1081
790aceec
LI
1082 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1083
a54a7552 1084 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1085 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1086
dd163123
LI
1087 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1088 meaning of the parameter (bug#12282).
1089
9e108fe6
LI
1090 * files.el (find-file-noselect): Clarify prompt when changing
1091 readedness (bug#13261).
5a836f58
LI
1092 (locate-file): Suffixes aren't returned, so don't say that they
1093 are (bug#12674).
2356b316 1094 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1095
20dda930
LI
1096 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1097 before we actually start to delete things (bug#16331).
1098
d6d5fdf8
LI
1099 * subr.el (event-start): Doc fix (bug#14228).
1100 (event-end): Ditto.
1101
2abd71e5
GM
11022014-02-09 Glenn Morris <rgm@gnu.org>
1103
1104 * emacs-lisp/warnings.el (lwarn):
1105 Empower help-enable-auto-load. (Bug#15940)
1106
c1b5900b
AS
11072014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1108
1109 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1110 (Bug#16690)
1111
429b93bd
MA
11122014-02-08 Michael Albinus <michael.albinus@gmx.de>
1113
1114 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1115 Insert output at end of buffer. (Bug#16120)
1116
b772a699
LI
11172014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1118
18c6aa8c
LI
1119 * simple.el (choose-completion-string-functions): Document new
1120 calling convention (bug#14153).
54dd147a 1121 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1122
dce8463b
LI
1123 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1124
b772a699 1125 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1126 (find-grep-dired): Doc fix (bug#14288).
b772a699 1127
2423c8d5
JL
11282014-02-08 Juri Linkov <juri@jurta.org>
1129
1130 * isearch.el (isearch-quote-char): Check character validity
1131 like in `quoted-insert' (bug#16677).
1132
518f26c2
LI
11332014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1134
893cc908
LI
1135 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1136
9165ffc0
LI
1137 * isearch.el (isearch-hide-immediately): Doc clarification
1138 (bug#14723).
1139
6ef4f3ce
LI
1140 * simple.el (line-move): Document utility function used many
1141 places in the Emacs sources (bug#14843).
1142
be58a238 1143 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1144 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1145 (dired-up-directory): Doc fix (bug#14848).
be58a238 1146
dd7aafbb
LI
1147 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1148
15cb9968
LI
1149 * files.el (file-relative-name): Doc fix (bug#15159).
1150
9788effd
LI
1151 * fringe.el (fringe-styles): Doc fix (bug#15239).
1152
c96411bd
LI
1153 * isearch.el (isearch-filter-predicate): Documentation typo fix
1154 (bug#15474).
1155
ea838c36
LI
1156 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1157
0d8a4ae7
LI
1158 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1159
f7a17bb3
LI
1160 * replace.el (replace-match-maybe-edit): Doc clarification
1161 (bug#15632).
1162
1bde5c3b
LI
1163 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1164
518f26c2
LI
1165 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1166
dd8e49fd
GM
11672014-02-08 Glenn Morris <rgm@gnu.org>
1168
1169 * help-fns.el (describe-variable):
1170 Check {file,dir}-local-variables-alist, and buffer-file-name,
1171 in the correct buffer.
1172
7e088b29
IL
11732014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1174
1175 * help-fns.el (describe-variable): Fix the case where
1176 a value is directory-local with no dir-locals file. (Bug#16635)
1177
41a4a82f
GM
11782014-02-08 Glenn Morris <rgm@gnu.org>
1179
1180 * abbrev.el (edit-abbrevs-mode):
1181 Derive from fundamental-mode. (Bug#16682)
1182
e255a703
JB
11832014-02-07 Juanma Barranquero <lekktu@gmail.com>
1184
1185 * simple.el (quoted-insert): Check character validity (bug#16677).
1186
c99cf5ee
JL
11872014-02-07 Juri Linkov <juri@jurta.org>
1188
1189 * desktop.el (desktop-read): Claim the lock when the owner is not
1190 the current process. (Bug#16157)
1191
7d7a68d8
JL
11922014-02-07 Juri Linkov <juri@jurta.org>
1193
1194 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1195 to "\\` ". (Bug#16651)
1196
2b777cd9
JL
11972014-02-07 Juri Linkov <juri@jurta.org>
1198
1199 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1200 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1201 (desktop-auto-save-cancel-timer): New function with some code from
1202 `desktop-auto-save-set-timer'.
1203 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1204 Instead of setting `desktop-save-mode' to nil, call
1205 `desktop-save-mode' with arg 0. (Bug#16630)
1206
60eabbb9
GM
12072014-02-07 Glenn Morris <rgm@gnu.org>
1208
99cf3859
GM
1209 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1210 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1211 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1212
2b568bc9
GM
1213 * obsolete/iswitchb.el: Move to obsolete/.
1214 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1215 since obsolete/ is not scanned for autoloads.
1216 * emacs-lisp/authors.el (authors-valid-file-names):
1217 Add iswitchb.el.
1218
60eabbb9
GM
1219 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1220 Disable now non-functional find-file-hook.
1221
629de968
MA
12222014-02-06 Michael Albinus <michael.albinus@gmx.de>
1223
1224 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1225 instead of ";" in order to avoid additional prompts. Let heredoc
1226 scripts read from tty. (Bug#16582)
1227 (tramp-send-command): No special handling of heredocs, it isn't
1228 necessary anymore.
1229
29127376
SM
12302014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1233 with a space (bug#16664). Limit the symbols considered to the ones
1234 that are bound or fbound (bug#16646).
1235
79b6e0a9
GM
12362014-02-06 Glenn Morris <rgm@gnu.org>
1237
1238 * epa.el (epa-mail-aliases): Doc fix.
1239
a333e4d2
DG
12402014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1241
29127376
SM
1242 * emacs-lisp/lisp.el (lisp-completion-at-point):
1243 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1244 (bug#16604).
1245
1246 * minibuffer.el (completion-table-merge): New function.
1247
9a83b32b
MA
12482014-02-05 Michael Albinus <michael.albinus@gmx.de>
1249
1250 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1251 (tramp-sh-handle-set-file-acl)
1252 (tramp-sh-handle-start-file-process)
1253 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1254 (tramp-find-executable, tramp-send-command): Use it.
1255
451ea3e6
GM
12562014-02-05 Glenn Morris <rgm@gnu.org>
1257
9a83b32b 1258 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1259
dd27d13b
FEG
12602014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1261
35e951cd 1262 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1263 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1264
08e41897
AL
12652014-02-04 Anders Lindgren <andlind@gmail.com>
1266
1267 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1268 the names (bug#16620).
1269
764ec9e5
MR
12702014-02-03 Martin Rudalics <rudalics@gmx.at>
1271
08e41897
AL
1272 * faces.el (window-divider): New default value. Rewrite doc-string.
1273 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1274
6da8227c
DG
12752014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1276
1277 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1278 `protected' and `public' can also be called without arguments.
1279
6a6b8e40
GM
12802014-02-03 Glenn Morris <rgm@gnu.org>
1281
7bcbca40
GM
1282 * register.el (window-configuration-to-register)
1283 (frame-configuration-to-register): Unadvertise unused argument.
1284 * frameset.el (frameset-to-register): Remove unused argument.
1285
719d965d 1286 * frameset.el (frameset-to-register):
6a6b8e40
GM
1287 * kmacro.el (kmacro-to-register):
1288 * register.el (increment-register):
1289 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1290 (calc-append-to-register, calc-prepend-to-register):
1291 * play/gametree.el (gametree-layout-to-register)
1292 (gametree-apply-register-layout):
1293 * textmodes/picture.el (picture-clear-rectangle-to-register)
1294 (picture-yank-rectangle-from-register):
1295 * vc/emerge.el (emerge-combine-versions-register):
1296 Use register-read-with-preview to read registers.
1297
5dca7759
JT
12982014-02-03 João Távora <joaotavora@gmail.com>
1299
1300 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1301 when at beginning of (possibly narrowed) buffer.
1302
709085b9
DC
13032014-02-02 Daniel Colascione <dancol@dancol.org>
1304
c295fc18 1305 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1306 Also try to display local help from just before point.
709085b9 1307
99f7b0a6
AM
13082014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1309
1310 c-parse-state. Don't "append-lower-brace-pair" in certain
1311 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1312 recognised as a comment.
1313
1314 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1315 as well as normal comment starter.
1316 (c-parse-state-get-strategy): Extra return possibility
1317 'back-and-forward.
1318 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1319 return value list to indicate replacement of a brace-pair cons
1320 with its car.
1321 (c-parse-state-1): With 'back-and-forward, only call
1322 c-append-lower-brace-pair-to state-cache when cons-separated.
1323
f0a10576
JD
13242014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1325
1326 * term/ns-win.el (ns-suspend-error): New function.
1327 (ns-initialize-window-system): Add ns-suspend-error to
1328 suspend-hook (Bug#16612).
1329
b8d552c2
DC
13302014-02-02 Daniel Colascione <dancol@dancol.org>
1331
35e951cd
JB
1332 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1333 Make loading cc-mode silent.
b8d552c2 1334
f2b7d123
DC
13352014-02-02 Daniel Colascione <dancol@dancol.org>
1336
35e951cd
JB
1337 * comint.el (comint-prompt-read-only): Change doc to suggest
1338 remap keybinding.
f2b7d123 1339
4472a196
GM
13402014-02-02 Glenn Morris <rgm@gnu.org>
1341
1342 * register.el (register-read-with-preview, point-to-register)
1343 (window-configuration-to-register, frame-configuration-to-register)
1344 (jump-to-register, number-to-register, view-register, insert-register)
1345 (copy-to-register, append-to-register, prepend-to-register)
1346 (copy-rectangle-to-register): Doc fixes.
1347
70e5a261
SM
13482014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1351 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1352 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1353 * help-fns.el (describe-function-1): Use it.
1354
7c324762
GM
13552014-02-02 Glenn Morris <rgm@gnu.org>
1356
1357 * register.el (register-preview-default): New function,
1358 split from register-preview.
1359 (register-preview-function): Rename from register-preview-functions,
1360 make it not a hook.
1361 (register-preview): Use register-preview-function.
1362 (register-read-with-preview): Error on non-character event. (Bug#16595)
1363
a09beb3d
DG
13642014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1365
1366 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1367 `:' before binary operators (bug#16609). Don't check for `:'
1368 before `[' and `(', or their syntax status. A percent literal
1369 can't end with either.
68e004e0
DG
1370 (ruby-font-lock-keywords): For built-ins that require arguments,
1371 check that they're followed by something that looks like argument
1372 (bug#16610).
a09beb3d 1373
ed4d2875
LI
13742014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1375
1376 * subr.el (butlast): Document what an omitted N means (bug#13437).
1377 (nbutlast): Ditto.
1378
dba6e3ec
LI
13792014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1380
1381 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1382 depth shallower (bug#16587).
cc477daa
LI
1383 (shr-tag-svg): Respect `shr-inhibit-images'.
1384 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1385
e2a67bd0
DG
13862014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1387
1388 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1389 (ruby-smie-grammar): Make "." right-associative. Make its priority
1390 lower than the ternary and all binary operators.
1391 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1392 parent, or the first "." parent at indentation.
1393 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1394 (Bug#16593)
1395
bd21bf41
JL
13962014-01-31 Juri Linkov <juri@jurta.org>
1397
1398 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1399 from `make-hash-table'.
1400
1401 * textmodes/ispell.el (ispell-init-process): Change message format
1402 to be consistent with other messages.
1403
b7e615b9
GM
14042014-01-31 Glenn Morris <rgm@gnu.org>
1405
a69ecd19
GM
1406 * delsel.el (delete-selection-mode): Doc fix.
1407
9997d7e3
GM
1408 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1409 (trace-function-background): Doc fixes.
1410
fbb764b8
GM
1411 * ido.el (ido-use-virtual-buffers): Doc fix.
1412 Reset :version, since the default value has not changed.
1413
da942af1
GM
1414 * register.el (register-preview-delay, register-read-with-preview):
1415 Doc fixes.
1416
b7e615b9
GM
1417 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1418 do not mess with mail-buffer position (fixes 2009-11-03 change).
1419 * progmodes/cc-mode.el (c-submit-bug-report):
1420 Check auto-fill-mode is bound. (Bug#16592)
1421
0a25002d
DH
14222014-01-31 Darren Hoo <darren.hoo@gmail.com>
1423
1424 * startup.el (fancy-splash-image-file): New function,
1425 split from fancy-splash-head.
1426 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1427 so that we are both using the same image. (Bug#16574)
1428
ad78f432
GM
14292014-01-30 Glenn Morris <rgm@gnu.org>
1430
6bbc0c84
GM
1431 * simple.el (eval-expression): Doc fix.
1432
ad78f432
GM
1433 * hexl.el (hexl-mode-hook):
1434 * ielm.el (ielm-mode-hook):
1435 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1436 (lisp-interaction-mode-hook):
1437 * progmodes/cfengine.e (cfengine3-documentation-function):
1438 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1439
7b2f049c
SM
14402014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1441
1442 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1443 is a symbol (bug#16584).
1444
0c633f13
GM
14452014-01-30 Glenn Morris <rgm@gnu.org>
1446
1447 * help.el (help-for-help-internal): Add "P" to text.
1448
5e61c1ef
GM
14492014-01-29 Glenn Morris <rgm@gnu.org>
1450
1451 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1452
1dcb169c
MR
14532014-01-28 Martin Rudalics <rudalics@gmx.at>
1454
1455 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1456 height constraints.
1457
a9128931
LL
14582014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1459
1460 * progmodes/hideif.el: Extend to full CPP expression syntax.
1461 (hif-token-alist): Add missing tokens.
1462 (hif-token-regexp): Add support for float/octal/hex immediates.
1463 (hif-string-literal-regexp): New const.
1464 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1465 (hif-exprlist): New function.
1466 (hif-parse-if-exp): Use it.
1467 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1468 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1469 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1470 (hif-logxor, hif-comma): New functions.
1471
a22359a7
GM
14722014-01-28 Glenn Morris <rgm@gnu.org>
1473
793ffe81
GM
1474 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1475
e3bd7eed
GM
1476 * indent.el (tab-stop-list): Doc fix. Add :version.
1477
a22359a7
GM
1478 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1479 (cvs-append-to-ignore): Add compatibility alias.
1480
52695556 14812014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1482
bac524e0
GM
1483 * dired.el (dired-hide-details-mode): Don't autoload it,
1484 since it cannot be used outside Dired buffers anyway.
1485
52695556 1486 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1487
52695556
GM
1488 * dired.el (dired-hide-details-hide-symlink-targets)
1489 (dired-hide-details-hide-information-lines)
1490 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1491
1492 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1493 * strokes.el (strokes-file): Doc fix. Bump :version.
1494 (strokes-help): Doc fix.
1495 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1496 * emulation/viper.el (viper): Doc fix for custom group.
1497 (top-level): Remove oh-so-no-longer-relevant text about vip.
1498 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1499
1500 * ido.el (ido-save-directory-list-file):
1501 * saveplace.el (save-place-file):
1502 * calendar/timeclock.el (timeclock-file):
1503 * net/quickurl.el (quickurl-url-file):
1504 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1505 * progmodes/idlwave.el (idlwave-config-directory):
1506 * textmodes/remember.el (remember-data-file):
1507 Bump :version.
1508
169d6004
GM
15092014-01-26 Glenn Morris <rgm@gnu.org>
1510
de6a923b
GM
1511 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1512 Doc fix. Make obsolete.
1513 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1514
169d6004
GM
1515 * sort.el (delete-duplicate-lines): Doc fix.
1516
ed85dee6
RS
15172014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1518
1519 * progmodes/ada-mode.el (ada):
1520 * woman.el (woman): Link to info manual and Commentary section.
1521
1522 * progmodes/flymake.el (flymake):
1523 * nxml/nxml-mode.el (nxml):
1524 * net/eww.el (eww):
1525 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1526 * htmlfontify.el (htmlfontify):
1527 * ses.el (ses):
1528 * epa.el (epa):
1529 * ido.el (ido): Link to info manual.
1530
e0c67e1d
LL
15312014-01-25 Leo Liu <sdl.web@gmail.com>
1532
1533 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1534
35408b1a
AS
15352014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1536
1537 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1538 (bug#16537).
1539
76c3fa95
JB
15402014-01-24 Juanma Barranquero <lekktu@gmail.com>
1541
f77c7a99
JB
1542 * net/eww.el (eww-download-callback):
1543 Fix reference to eww-download-directory.
1544
76c3fa95
JB
1545 * emacs-lisp/bytecomp.el (byte-compile-file):
1546 Remove unused local variable `file-name'.
1547
1e548e40
GM
15482014-01-24 Glenn Morris <rgm@gnu.org>
1549
03f3b318
GM
1550 * woman.el (woman-default-faces, woman-monochrome-faces):
1551 Fix obsolescence specification.
1552
1e548e40
GM
1553 * subr.el (with-demoted-errors): Doc fix.
1554
d4f0427b
SM
15552014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1558 (cl--macroexp-fboundp): New function.
1559 (cl--make-type-test): Use it.
1560
1670e27f
GM
15612014-01-23 Glenn Morris <rgm@gnu.org>
1562
1563 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1564 * simple.el (eval-expression): Doc fixes.
1565
80efa207
GM
15662014-01-22 Glenn Morris <rgm@gnu.org>
1567
1568 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1569
29afcbab
SM
15702014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * emacs-lisp/package.el: Write files silently.
1573 (package-autoload-ensure-default-file, package--write-file-no-coding)
1574 (package-generate-description-file, package--download-one-archive)
1575 (package-install-from-archive): Tell `write-region' to stay quiet.
1576 (package-menu-mode, package-menu--print-info): Omit the Archive column
1577 if there's only one archive.
1578 (package-all-keywords, package--has-keyword-p): Remove dead code.
1579
2a5bce4f
GM
15802014-01-22 Glenn Morris <rgm@gnu.org>
1581
edace89f
GM
1582 * version.el (emacs-bzr-version-bzr): Fix typo.
1583
2a5bce4f
GM
1584 * version.el (emacs-repository-get-version):
1585 Check either .bzr or .git, but not both.
1586 Make the git case actually use the DIR argument, and return nil
1587 rather than the empty string.
983664c0 1588 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1589
6cb4da45
MR
15902014-01-22 Martin Rudalics <rudalics@gmx.at>
1591
1592 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1593 * window.el (window-total-size, window-size): New argument ROUND.
1594 (window--min-delta-1, window-min-delta, window--max-delta-1):
1595 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1596 columns a window can shrink (Bug#16430).
1597 (fit-window-to-buffer): Simplify code.
1598 * term.el (term-window-width): Call window-body-width again.
1599
cc0f2ece
GM
16002014-01-22 Glenn Morris <rgm@gnu.org>
1601
7b997b14
GM
1602 * image.el (image-format-suffixes): Doc fix.
1603
44e76f9d
GM
1604 * international/quail.el (quail-define-package): Doc fix.
1605
35e951cd 1606 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1607 (authors-renamed-files-alist): Additions.
7bfc1caa 1608
85a5f61f
GM
1609 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1610 reverts 2014-01-09 change. (Bug#16422)
1611
cc0f2ece
GM
1612 * calc/calc-embed.el (thing-at-point-looking-at):
1613 * emacs-lisp/map-ynp.el (x-popup-dialog):
1614 * obsolete/lmenu.el (x-popup-dialog):
1615 * emacs-lisp/package.el (url-recreate-url):
1616 * mail/mailclient.el (clipboard-kill-ring-save):
1617 * subr.el (x-popup-dialog): Update declaration.
1618 * mail/rmail.el (rmail-mime-message-p):
1619 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1620
00d2a6bb
DC
16212014-01-21 Daniel Colascione <dancol@dancol.org>
1622
1623 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1624 Correctly detect when we're inside an arithmetic expansion form
1625 containing nested parenthesis.
c295fc18 1626 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1627 to detect cases where we shouldn't expand "<<" to a heredoc
1628 skeleton.
1629
dd9d2e9d
SM
16302014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1633 (eldoc--message-command-p): New function.
1634 (eldoc-display-message-p): Use it.
1635 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1636 message is not automatically erased for us.
1637 (eldoc-print-current-symbol-info): Erase previous message, if any.
1638
e7d807ca
TH
16392014-01-21 Tassilo Horn <tsdh@gnu.org>
1640
4ff0a0e5
TH
1641 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1642 specify it's an interactive function.
1643
dd9d2e9d
SM
1644 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1645 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1646 citations with optional arguments.
1647
87503791
LL
16482014-01-21 Leo Liu <sdl.web@gmail.com>
1649
1650 * simple.el (read--expression): Don't enable eldoc-mode.
1651
6cc750ee
SM
16522014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1653
1654 * simple.el (move-beginning-of-line): Make sure we don't move forward
1655 (bug#16497).
1656
71f16bda
JL
16572014-01-20 Juri Linkov <juri@jurta.org>
1658
1659 * saveplace.el (toggle-save-place, save-place-to-alist)
1660 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1661 'dired-mode) before checking for dired-directory. (Bug#16477)
1662
3c5a4839
JL
16632014-01-20 Juri Linkov <juri@jurta.org>
1664
1665 * indent.el (indent-line-to): Use backward-to-indentation
1666 instead of back-to-indentation. (Bug#16461)
1667
f952002e
PE
16682014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1669
1670 Revert some of the CANNOT_DUMP fix (Bug#16494).
1671 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1672 but fixing this can wait until after the next release.
1673 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1674
93675500
MA
16752014-01-19 Michael Albinus <michael.albinus@gmx.de>
1676
1677 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1678 Use `password-word-equivalents'.
1679 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1680 to t. (Bug#5664, Bug#13124)
1681
e3af763f
AM
16822014-01-19 Alan Mackenzie <acm@muc.de>
1683
1684 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1685 points.
1686 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1687 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1688 * progmodes/cc-mode.el (c-before-change, c-after-change)
1689 (c-font-lock-fontify-region): Bind it here.
1690
4ff6d92d
MR
16912014-01-19 Martin Rudalics <rudalics@gmx.at>
1692
1693 * term.el (term-window-width): Call window-text-width instead of
1694 window-width (Bug#16470).
1695
9a685cf6
PE
16962014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1697
1698 * simple.el (password-word-equivalents): Remove duplicates.
1699 Sort, to make this easier next time.
1700 Downcase. Omit ": " after "jelszó".
1701
5aa78c2d
JD
17022014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1703
1704 * term/common-win.el (saved-region-selection): Defvar it.
1705 (x-select-text): Set saved-region-selection (Bug#16382).
1706
cabb250c
GM
17072014-01-18 Glenn Morris <rgm@gnu.org>
1708
1709 * emacs-lisp/authors.el (authors-aliases)
1710 (authors-renamed-files-alist): Add some entries.
1711
a1340440
MA
17122014-01-17 Michael Albinus <michael.albinus@gmx.de>
1713
93675500
MA
1714 * net/tramp.el (tramp-password-prompt-regexp):
1715 Use `password-word-equivalents' if available.
a1340440
MA
1716 (tramp-action-password, tramp-process-one-action)
1717 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1718
681ce5d2
CY
17192014-01-17 Chong Yidong <cyd@gnu.org>
1720
1721 * simple.el (password-word-equivalents): New defcustom.
1722 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1723 to 24.4.
1724 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1725 to t. (Bug#13124)
1726
fb3d479c
DG
17272014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1728
1729 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1730 (ruby-align-to-stmt-keywords): Change the default value.
1731 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1732 choices.
1733 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1734 keywords, check against the value of `ruby-alignable-keywords'
1735 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1736
0d613483
GM
17372014-01-17 Glenn Morris <rgm@gnu.org>
1738
fc23fe2d
GM
1739 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1740
0d613483 1741 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 1742 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
1743 (authors-ignored-files): Add some entries, remove others.
1744 (authors-ambiguous-files, authors-valid-file-names):
1745 Add some entries.
1746 (authors-renamed-files-alist): Add, remove, and adjust entries.
1747 (authors-renamed-files-regexps): Add some entries.
1748 Remove some very broad ones. Make some entries `lax'.
1749 (authors-lax-changelogs): New constant.
1750 (authors-disambiguate-file-name): Treat top-level specially.
1751 (authors-lax-changelog-p): New function.
1752 (authors-canonical-file-name): Check file as written against
1753 authors-valid-file-names. Do not special-case etc/.
1754 Handle `lax' logs and authors-renamed-files-regexps elements.
1755
2dbf4ffd
DG
17562014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1757
1758 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1759 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1760 callers.
2dbf4ffd 1761
87b2a7f2
SM
17622014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1765 Assume we're already in the proper buffer.
1766 Inspired by Anders Lindgren <andlind@gmail.com>.
1767 (follow-post-command-hook): Call it from the right buffer.
1768 (follow-comint-scroll-to-bottom): Adjust call.
1769 (follow-all-followers): Use get-buffer-window-list.
1770
93acfb0e
DC
17712014-01-15 Daniel Colascione <dancol@dancol.org>
1772
1773 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1774 `buffer-file-name' in interactive-form so that we don't leave
1775 pathless file names in `file-name-history'.
1776
ccc6b208
JL
17772014-01-15 Juri Linkov <juri@jurta.org>
1778
1779 * indent.el (indent-rigidly): Set deactivate-mark to nil
1780 in transient indentation mode. (Bug#16438)
1781
5c92e00d
DG
17822014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1783
1784 * emacs-lisp/package.el (package-desc-keywords): New function
1785 (Bug#16222).
1786 (describe-package-1, package-all-keywords)
1787 (package--has-keyword-p): Use it.
1788
dac69660
NR
17892014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1790
1791 * simple.el (define-alternatives): When creating the
1792 COMMAND-alternatives variable, assign COMMAND as its definition
1793 name so that `describe-variable' can relocate it.
1794
8b63edf8
ML
17952014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1796
1797 * font-lock.el (font-lock-keywords): Fix typo in docstring
1798 (bug#16307).
1799
c6a0b8eb
AM
18002014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1801
1802 * ispell.el (ispell-region): Reset `in-comment' for new line
1803 instead of wrongly reset `add-coment' (bug#13577).
1804
02bf443d
DU
18052014-01-14 Daiki Ueno <ueno@gnu.org>
1806
1807 * epa-file.el (epa-file-write-region): Encode the region according
1808 to `buffer-file-format'. Problem reported at:
1809 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1810
fd7fde15
SM
18112014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1814 so it applies in the right buffer (bug#16410).
1815
c176054f
DC
18162014-01-13 Daniel Colascione <dancol@dancol.org>
1817
1818 * textmodes/rst.el (rst-define-key): Provide deprecated
1819 keybindings through named functions instead of anonymous ones so
1820 that "??" doesn't appear in describe-mode output.
1821
e3f33e5d
BG
18222014-01-13 Bastien Guerry <bzg@gnu.org>
1823
1824 * simple.el (define-alternatives): Call the selected command
1825 interactively. When setting `COMMAND--implementation' for the
1826 first time, tell the user how to chose another implementation.
1827 Enhance the docstring.
1828
c055d654
SM
18292014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1830
1831 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1832 (log-edit--match-first-line): New function.
1833 (log-edit-font-lock-keywords): Use it.
1834 (log-edit-mode): Make jit-lock-defer-multiline work.
1835
d791cc3b
BG
18362014-01-13 Bastien Guerry <bzg@gnu.org>
1837
1838 * rect.el (rectangle-mark-mode): When the region is not active,
1839 display a message saying that the mark as been set and that
1840 rectangle mode is in use.
1841 (rectangle--highlight-for-redisplay): Only put an overlay with a
1842 visible vertical bar when (display-graphic-p) is non-nil.
1843 This partially fixes Bug#16403.
1844
3c0c4562
JL
18452014-01-13 Juri Linkov <juri@jurta.org>
1846
1847 * info.el (Info-find-file): Go to DIR before displaying the error
1848 about a nonexistent file if no previous Info file is visited.
1849 Use `user-error' instead of `error' for "Info file %s does not exist".
1850 (Info-find-node-2): In case of a nonexistent node in unwind forms
1851 go to the Top node if there is no previous node to revert to.
1852 (Bug#16405)
1853
25a700d0
MR
18542014-01-13 Martin Rudalics <rudalics@gmx.at>
1855
1856 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1857 * window.el (fit-frame-to-buffer): Fix doc-string.
1858 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1859 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1860 when avoiding that frame goes partially off-screen.
1861 (fit-window-to-buffer): Respect window-min-height/-width
1862 (Bug#14096).
1863
6ae948d8
SM
18642014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1867 after an empty line.
1868
6137cb82
SM
18692014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1870
1871 * net/shr.el (shr-render-region): Autoload.
1872
e6344e17
XF
18732014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1874
1875 * net/eww.el (eww-download-directory): Rename from
1876 `eww-download-path' (Bug#16419).
1877
3b922c70
LL
18782014-01-12 Leo Liu <sdl.web@gmail.com>
1879
1880 * dired-x.el (dired-mode-map): Fix last change.
1881
1882 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1883
4fa51741
PE
18842014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1885
1886 Spelling fixes.
1887 * emacs-lisp/generic.el (generic--normalize-comments):
1888 Rename from generic--normalise-comments. All uses changed.
35e951cd 1889 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
1890 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1891 (bubbles--neighborhood-available)
1892 (bubbles--update-neighborhood-score):
1893 Rename from names with 'neighbourhood'. All uses changed.
1894
9b335362
LL
18952014-01-12 Leo Liu <sdl.web@gmail.com>
1896
1897 Re-implement the feature of showing eldoc info after editing.
1898 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1899 (eldoc-edit-message-commands): New function.
1900 (eldoc-print-after-edit): New variable.
1901 (eldoc-pre-command-refresh-echo-area): Emit message only by
1902 eldoc-message-commands.
1903 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1904 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1905 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1906 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1907
e2a095b1
GM
19082014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1909 Eric S. Raymond <esr@thyrsus.com>
9685190b 1910
841a6d0c 1911 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1912 function works correctly in either a Bazaar or Git repo.
0abf4134 1913
e2a095b1
GM
19142014-01-11 Eric S. Raymond <esr@thyrsus.com>
1915
6137cb82
SM
1916 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1917 Goes with removal of the joke manpages from /etc.
9685190b 1918
c295fc18 19192014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1920
6137cb82
SM
1921 * mail/rmail.el (rmail-get-coding-system):
1922 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1923
d2f16e93
GM
19242014-01-10 Glenn Morris <rgm@gnu.org>
1925
1926 * emacs-lisp/authors.el (authors-fixed-entries):
1927 Update for files that no longer exist.
1928
7e03bb32
ER
19292014-01-10 Eric S. Raymond <esr@thyrsus.com>
1930
1931 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1932 24.3 (Tested).
7e03bb32 1933
dd806710
BB
19342014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1935
1936 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1937 and Podfile.
1938
ed6ec139
EZ
19392014-01-10 Eli Zaretskii <eliz@gnu.org>
1940
1941 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1942
cc33cac9
CY
19432014-01-10 Chong Yidong <cyd@gnu.org>
1944
6137cb82 1945 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1946
d9d836b5
AL
19472014-01-10 Anders Lindgren <andlind@gmail.com>
1948
1949 * follow.el (follow-cache-command-list): Include right-char and
1950 left-char.
1951
06827ec8
PE
19522014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1953
1954 Spelling fixes.
1955 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1956 * woman.el (woman-mark-horizontal-position):
1957 Rename from woman-mark-horizonal-position. Use changed.
1958
458dbf5e
GM
19592014-01-10 Glenn Morris <rgm@gnu.org>
1960
dad6fae7
GM
1961 * info.el (info-initialize): If running uninstalled, ensure our
1962 own info files are always found first, even if INFOPATH is set.
1963
458dbf5e
GM
1964 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1965
05e0afce
DE
19662014-01-09 David Engster <deng@randomsample.de>
1967
1968 * emacs-lisp/eieio-custom.el:
1969 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1970 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1971 * emacs-lisp/eieio.el: Regenerate autoloads.
1972
f29778b3
ER
19732014-01-09 Eric S. Raymond <esr@thyrsus.com>
1974
1975 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1976 following renames. (Bug#8756)
f29778b3 1977
684d44ef
SM
19782014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1981 (bug#16382).
1982 (activate-mark): Add `no-tmm' argument.
1983 (set-mark, push-mark-command): Use it instead of running
1984 activate-mark-hook by hand.
1985
9475054f
ER
19862014-01-08 Eric S. Raymond <esr@thyrsus.com>
1987
1988 In preparation for the move to git, sanitize out some
1989 Bazaar-specific names.
1990
38942b9c
GM
1991 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1992
9475054f 1993 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1994 emacs-repository-version. Obsolete-variable alias made.
9475054f 1995 * loadup.el: Follow through on this name change.
a12bf61e 1996 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1997 assumption about the version control system in use.
1998
0f918d96 19992014-01-08 David Engster <deng@randomsample.de>
abb82152 2000
684d44ef
SM
2001 * help-fns.el (help-fns-describe-function-functions):
2002 New variable to call functions for augmenting help buffers.
abb82152
DE
2003 (describe-function-1): Remove explicit calls to
2004 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2005 `help-fns--obsolete'. Put them in above new variable instead, and
2006 call them through `run-hook-with-args'.
2007 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2008 `eieio-describe-class'. Not meant for interactive use anymore,
2009 but to augment existing help buffers. Remove optional second
684d44ef
SM
2010 argument. Create proper button for file location.
2011 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2012 possible.
2013 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2014 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2015 (describe-method, describe-generic, eieio-describe-method):
2016 Remove aliases.
0f918d96
DE
2017 (eieio-help-constructor, eieio-help-generic): Rename from
2018 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2019 Rewrite to use `insert' in the current buffer and use proper help
2020 buttons.
2021 (eieio-help-find-method-definition)
2022 (eieio-help-find-class-definition): Also accept symbols as
2023 arguments.
2024 (eieio-help-mode-augmentation-maybee): Remove.
2025 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2026 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2027 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2028
136b74c5
PE
20292014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2030
2031 Spelling fixes.
2032 * language/china-util.el (hz-ascii-designation):
2033 Rename from hz-ascii-designnation.
2034 (hz-ascii-designation): Rename from hz-ascii-designnation.
2035 All uses changed.
2036
ec6c7de2
SM
20372014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2040 package-alist.
2041
d6262c7c
BG
20422014-01-08 Bastien Guerry <bzg@gnu.org>
2043
4b9e6087
GM
2044 * emacs-lisp/package.el (package-delete):
2045 Correctly delete the package from package-alist.
d6262c7c 2046
0a3eec32
DU
20472014-01-08 Daiki Ueno <ueno@gnu.org>
2048
2049 * emacs-lisp/package.el (url-recreate-url): Declare.
2050 (url-http-target-url): Declare.
4b9e6087 2051 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2052 (package--check-signature): Don't re-signal errors from
2053 package--with-work-buffer. Suggested by Stefan Monnier.
2054
68f0bb97
BG
20552014-01-07 Bastien Guerry <bzg@gnu.org>
2056
2057 * minibuffer.el (completion--try-word-completion): When both a
2058 hyphen and a space are possible candidates for the character
2059 following a word, display both candidates. (Bug#15980)
2060
7e1899d7
MR
20612014-01-07 Martin Rudalics <rudalics@gmx.at>
2062
2063 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2064 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2065
0030ec15
GM
20662014-01-07 Glenn Morris <rgm@gnu.org>
2067
2068 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2069 (menu-bar-help-menu): Use view-external-packages instead.
2070
2b6b4f20
BG
20712014-01-07 Bastien Guerry <bzg@gnu.org>
2072
2073 * emacs-lisp/package.el (package-delete): Also delete the package
2074 name from `package-alist', not its description only.
2075
e9be0a13
GM
20762014-01-07 Glenn Morris <rgm@gnu.org>
2077
2078 * help.el (view-external-packages):
2079 * menu-bar.el (menu-bar-help-extra-packages):
2080 Visit efaq.info rather than etc/MORE.STUFF.
2081
e4f74da9
JL
20822014-01-07 Juri Linkov <juri@jurta.org>
2083
2084 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2085 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2086
2087 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2088 that shadows RET. (Bug#16342)
2089
de7ce2d1
CY
20902014-01-07 Chong Yidong <cyd@gnu.org>
2091
2092 * isearch.el (isearch-yank-char, isearch-yank-word)
2093 (isearch-yank-line): Doc fix.
2094
6bdd9204
SM
20952014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2098 * emacs-lisp/elint.el (elint-find-builtins):
2099 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2100 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2101 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2102 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2103 * apropos.el (apropos-safe-documentation):
2104 * subr.el (symbol-file): Remove redundant fboundp.
2105 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2106
daccca97
BG
21072014-01-06 Bastien Guerry <bzg@gnu.org>
2108
2109 * hl-line.el (global-hl-line-overlay): Make a local variable.
2110 (global-hl-line-overlays): New variable to store all overlays.
2111 (global-hl-line-mode): Don't delete overlays from the current
2112 buffer when `global-hl-line-sticky-flag' is non-nil.
2113 (global-hl-line-highlight): Add new overlays to
2114 `global-hl-line-overlays'.
2115 (global-hl-line-unhighlight-all): New function to delete all
2116 overlays when turning off `global-hl-line-mode'.
2117 This fixes Bug#16183.
2118
ec00f20f
SM
21192014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * subr.el (set-transient-map): Fix nested case and docstring.
2122
a0031f97
TH
21232014-01-06 Tassilo Horn <tsdh@gnu.org>
2124
2125 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2126 `Texinfo' entry.
2127
bf6a77f3
DC
21282014-01-06 Daniel Colascione <dancol@dancol.org>
2129
2130 Fix defun navigation in vc log view.
2131
2132 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2133 like `beginning-of-defun'.
c295fc18 2134 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2135 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2136 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2137 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2138 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2139
d5081c1e
PE
21402014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2141
2142 Spelling fixes.
2143 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2144 * emacs-lisp/debug.el (cancel-debug-on-entry):
2145 * epg.el (epg-error-to-string):
2146 * files.el (recover-file):
2147 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2148 * mail/emacsbug.el (report-emacs-bug-hook):
2149 * mail/sendmail.el (mail-recover):
2150 * ses.el (ses-yank-resize):
2151 * term/ns-win.el (ns-print-buffer):
2152 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2153 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2154 All uses changed.
2155 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2156
53f6b148
LL
21572014-01-06 Leo Liu <sdl.web@gmail.com>
2158
2159 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2160 to avoid shadowing global key. (Bug#16354)
53f6b148 2161
b82ace2f
DC
21622014-01-06 Daniel Colascione <dancol@dancol.org>
2163
2164 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2165 rst-mode.
2166
3669b636
MR
21672014-01-05 Martin Rudalics <rudalics@gmx.at>
2168
2169 * window.el (balance-windows): Add mising t to fix Bug#16351.
2170
1a29adc2
LMI
21712014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2172
2173 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2174 (bug#16285).
3d95a0f4
LMI
2175 (shr-insert): If we have a word that's longer than `shr-width',
2176 break after it anyway. Otherwise we'll do no breaking once we get
2177 such a long word.
1a29adc2 2178
f4018140
KN
21792014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2180
3fcfc4ee 2181 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2182 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2183 (eww-history-quit): Delete and use quit-window.
2184 (eww-history-kill): Delete, because it doesn't work well and
2185 not necessary.
2186 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2187
4e619754
PE
21882014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2189
73dbf960
PE
2190 Fix misspelling of 'chinese' in rx (Bug#16237).
2191 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2192 chinese-two-byte.
2193
4e619754
PE
2194 Change subword regexps back to vars (Bug#16296).
2195 * progmodes/subword.el (subword-forward-regexp)
2196 (subword-backward-regexp): Change these back to variables.
2197
e18b70fc
SM
21982014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2199
2200 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2201 syntax-begin-function (bug#16247).
2202
0d53f628
CY
22032014-01-03 Chong Yidong <cyd@gnu.org>
2204
2205 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2206 (advice--docstring): Delete variable.
2207 (advice--make-1): Leave the docstring empty.
2208 (advice-add): Use function-documentation for advised docstring.
2209
2210 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2211 Ignore function-documentation property when getting documentation.
2212 (ad-activate-advised-definition): Use function-documentation
2213 generate the docstring.
2214 (ad-make-advised-definition): Don't call
2215 ad-make-advised-definition-docstring.
2216 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2217 Delete functions.
2218
2219 * progmodes/sql.el (sql-help): Use function-documentation instead
2220 of dynamic-docstring-function property. No need to autoload now.
2221 (sql--help-docstring): New variable.
2222 (sql--make-help-docstring): Use it.
2223
6f547583
SM
22242014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2225
6ef9aed8
SM
2226 * ielm.el (ielm-tab): Retarget.
2227 (ielm-map): Use ielm-tab for tab.
2228 (ielm-complete-filename): Use comint-filename-completion.
2229 (ielm-complete-symbol): Remove.
2230 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2231 remove ielm-tab from completion-at-point-functions (bug#16224).
2232
6f547583
SM
2233 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2234 Beware signals raised by predicates (bug#16201).
2235
a574edbe
RS
22362014-01-02 Richard Stallman <rms@gnu.org>
2237
e831604d
RS
2238 * dired-aux.el (dired-do-print): Handle printer-name.
2239
6f547583
SM
2240 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2241 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2242 (rmail-epa-decrypt): Turn off mime processing.
2243
3fcfc4ee 2244 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2245 Add parens in message-id.
2246
2247 * mail/rmail.el (rmail-get-coding-function): Variable.
2248 (rmail-get-coding-system): Use it.
2249
04311a16
KH
22502013-12-31 Eli Zaretskii <eliz@gnu.org>
2251
2252 * international/mule-conf.el: Unify the charset indian-is13194.
2253 (indian-is13194): Specify unify-map.
2254
c8d89778
LL
22552013-12-31 Leo Liu <sdl.web@gmail.com>
2256
2257 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2258
e63ace37
DC
22592013-12-30 Daniel Colascione <dancol@dancol.org>
2260
9e0bf19a
DC
2261 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2262 of printing a useless when we resume from sleep.
2263
e63ace37 2264 * progmodes/sh-script.el
c295fc18 2265 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2266 in indentation code. (Bug#16233)
2267
e9d6c46a
JT
22682013-12-28 João Távora <joaotavora@gmail.com>
2269
6f547583
SM
2270 * elec-pair.el (electric-pair-post-self-insert-function):
2271 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2272
bf7bea5d
EZ
22732013-12-28 Eli Zaretskii <eliz@gnu.org>
2274
2275 * frame.el (window-system-for-display): Don't allow to create a
2276 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2277
8449dd1f
GM
22782013-12-28 Glenn Morris <rgm@gnu.org>
2279
9c5a5c77
GM
2280 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2281 Update callers.
2282
2283 * apropos.el (apropos-match-face):
2284 * calculator.el (calculator-displayer):
2285 * dabbrev.el (dabbrev-search-these-buffers-only):
2286 * face-remap.el (buffer-face-mode-face):
2287 * simple.el (yank-handled-properties):
2288 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2289 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2290 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2291 (hashcash-double-spend-database):
2292 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2293 (ruby-deep-indent-paren-style):
2294 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2295 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2296 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2297 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2298 Specify custom types.
2299
bb098075
GM
2300 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2301 * bookmark.el (bookmark-bmenu-use-header-line):
2302 * doc-view.el (doc-view-scale-internally):
2303 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2304 * register.el (register-preview-delay):
2305 * net/shr.el (shr-bullet):
2306 * progmodes/cfengine.el (cfengine-cf-promises)
2307 (cfengine-parameters-indent):
2308 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2309 * textmodes/reftex-vars.el (reftex-label-regexps):
2310 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2311
9c61f806
GM
2312 * net/tls.el (tls-certtool-program): Fix default value.
2313
2314 * desktop.el (desktop-restore-in-current-display):
2315 * newcomment.el (comment-empty-lines):
2316 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2317 (idlwave-pad-keyword):
2318 * progmodes/tcl.el (tcl-tab-always-indent):
2319 * textmodes/reftex-vars.el (reftex-index-default-tag):
2320 * elec-pair.el (electric-pair-skip-whitespace):
2321 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2322
8449dd1f
GM
2323 * emacs-lisp/authors.el (authors-ignored-files)
2324 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2325
fdadeb49
JC
23262013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2327
72140a0f
GM
2328 * shell.el (shell-dynamic-complete-command): Doc fix.
2329 (shell--command-completion-data): Shell completion now matches
2330 executable filenames from the current buffer's directory, on
da5ecfa9 2331 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2332
e572a7d8
LI
23332013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2334
2335 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2336
7514d3f8
SM
23372013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2338
a4151f3b
SM
2339 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2340 (bug#16251).
2341
7514d3f8
SM
2342 * electric.el: Move all electric-pair-* to elec-pair.el.
2343 * elec-pair.el: New file, split from electric.el.
2344
ac5758d1
LI
23452013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2346
2347 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2348 indentation level is larger than the width, because that will
2349 infloop.
2350 (shr-insert): Fill repeatedly long texts, so that Japanese is
2351 formatted correctly (bug#16263).
24a6b65e
LI
2352 (shr-find-fill-point): Off by one error in comparison with the
2353 indentation.
ac5758d1 2354
7514d3f8 23552013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2356
2357 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2358 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2359 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2360 if that keeps or improves their balance in buffers.
2361 (electric-pair-delete-adjacent-pairs): Delete the pair when
2362 backspacing over adjacent matched delimiters.
2363 (electric-pair-open-extra-newline): Open extra newline when
2364 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2365 (electric--sort-post-self-insertion-hook):
2366 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2367 minor-modes are activated.
2368 * simple.el (newline-and-indent): Call newline with interactive
2369 set to t.
2370 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2371 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2372 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2373 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2374 electric-pair-open-newline-between-pairs to nil.
2375
fbcc63a3
FEG
23762013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2377
2378 * progmodes/python.el: Use lexical-binding.
2379 (python-nav-beginning-of-defun): Stop searching ASAP.
2380
ed78d16c
XF
23812013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2382
2383 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2384 Fix interactive spec. Doc fix. (Bug#15754)
2385
38b2c142
KY
23862013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2387
2388 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2389 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2390 Fix edebug spec (bug#16184).
2391
3c856c14
LI
23922013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2393
83fa295c 2394 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2395 (shr-insert): Don't infloop if we can't find a good place to break
2396 the line (bug#16256).
3c856c14 2397
01379221
FEG
23982013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2399
35e951cd 2400 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2401 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2402 python-nav-lisp-forward-sexp-safe.
2403 (python-nav--forward-sexp): New argument SAFE allows switching
2404 forward sexp movement behavior for parens.
2405 (python-nav-forward-sexp): Throw errors on unterminated parens
2406 (Bug#16191).
2407 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2408 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2409 (python-shell-buffer-substring):
2410 Use `python-nav-forward-sexp-safe'.
01379221 2411
99e4926f
LI
24122013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2413
2414 * net/shr.el (shr-find-fill-point): Don't break lines before a
2415 quotation mark.
c6c20584
LI
2416 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2417 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2418 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2419
fec0e828
KN
24202013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2421
2422 * net/eww.el (eww-form-textarea): Use a different face for
2423 textareas than text input since they have different keymaps
2424 (bug#16142).
2425
89c868ad
FEG
24262013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2427
7514d3f8
SM
2428 * progmodes/python.el (python-nav-beginning-of-statement):
2429 Speed up (Bug#15295).
89c868ad 2430
eeef121a
LI
24312013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2432
2433 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2434 the window configuration.
2435
121ea65f
EZ
24362013-12-24 Eli Zaretskii <eliz@gnu.org>
2437
2438 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2439 we run on MS-Windows or MS-DOS.
2440
18cee9ec
MR
24412013-12-24 Martin Rudalics <rudalics@gmx.at>
2442
2443 * window.el (balance-windows-area): Call window-size instead of
2444 window-height and window-width. Bug#16241.
2445
58f2b9a5
LI
24462013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2447
2448 * net/eww.el (eww-bookmark-quit): Remove.
2449 (eww-bookmark-browse): Restore the window configuration when you
2450 choose a bookmark (bug#16144).
2451
d64b6308
DC
24522013-12-24 Daniel Colascione <dancol@dancol.org>
2453
2454 * icomplete.el: Remove redundant :group arguments to `defcustom'
2455 throughout.
2456 (icomplete-show-matches-on-no-input): New customizable variable.
2457 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2458 we have something to show.
7514d3f8 2459 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2460
0da54898
DC
24612013-12-23 Daniel Colascione <dancol@dancol.org>
2462
2463 * icomplete.el: Move `provide' to end of file.
2464
b90aa4f4
TZ
24652013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2466
2467 * net/gnutls.el (gnutls-verify-error): Add version tag.
2468
8cd22a08
CY
24692013-12-23 Chong Yidong <cyd@gnu.org>
2470
2471 * subr.el (set-transient-map): Rename from
2472 set-temporary-overlay-map. Doc fix.
2473
2474 * face-remap.el (text-scale-adjust):
2475 * indent.el (indent-rigidly):
2476 * kmacro.el (kmacro-call-macro):
2477 * minibuffer.el (minibuffer-force-complete):
2478 * repeat.el (repeat):
2479 * simple.el (universal-argument--mode):
2480 * calendar/todo-mode.el (todo-insert-item--next-param):
2481 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2482
7510b021
CY
2483 * indent.el (indent-rigidly): Use substitute-command-keys.
2484
72140a0f 24852013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2486
2487 * net/eww.el (eww-tag-select): Add text-property to jump to next
2488 select field.
e9dc713d 2489 (eww): Add non-supported ftp error.
56890ecd 2490
1f87a56c
DG
24912013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2492
2493 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2494 comments. Handle electric indent after typing `?' and `!'.
2495
dca38cf9
CY
24962013-12-22 Chong Yidong <cyd@gnu.org>
2497
2498 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2499 applicable to a frame, fall back on the defface spec.
2500 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2501
f2351498
DG
25022013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2503
2504 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2505 after `{'. We need it after block openers, and it doesn't seem
2506 to hurt after hash openers.
2507
6cddebc1
DG
25082013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2509
2510 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2511 extracted from `ruby-smie-rules'.
2512 (ruby--electric-indent-chars): New variable.
2513 (ruby--electric-indent-p): New function.
2514 (ruby-mode): Use `electric-indent-functions' instead of
2515 `electric-indent-chars'.
2516
65a1da00
DG
25172013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2518
2519 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2520 docstring.
2521 (ruby-smie-rules): Indent plus one level after `=>'.
2522
b51ad4cf
RS
25232013-12-21 Richard Stallman <rms@gnu.org>
2524
2525 * simple.el (newline): Doc fix.
2526
72140a0f 25272013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2528
e9dc713d 2529 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2530 (eww-history-browse, eww-history-quit, eww-history-kill)
2531 (eww-history-mode-map, eww-history-mode): New command and
2532 functions to list browser histories.
e9dc713d
JB
2533 (eww-form-text): Support text form with disabled
2534 and readonly attributes.
2535 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2536
5e1901c1
RS
25372013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2538
2539 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2540 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2541 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2542 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2543 Use `user-error'.
2544 (eww-bookmark-mode-map): Add menu.
2545 (eww-render, eww-mode): Use `setq-local'.
2546 (eww-tool-bar-map): New variable.
2547 (eww-mode): Set `tool-bar-map'.
2548 (eww-view-source): Check for `html-mode' with `fboundp'.
2549
073d5cfd
LMI
25502013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2551
2552 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2553 elements with text inside. Also remove debugging.
2554
41cf3d11
JD
25552013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2556
2557 * cus-start.el (all): Add ns-use-srgb-colorspace.
2558
aac2b673
CY
25592013-12-21 Chong Yidong <cyd@gnu.org>
2560
2561 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2562 undefined. Thus, theme settings for undefined faces do not take
2563 effect until the faces are defined with defface, the same as with
2564 theme variables.
2565
2566 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2567 (face-spec-reset-face): Don't assign extra properties in temacs.
2568 (face-spec-recalc): Apply X resources too.
2569
bacb0e77
CY
25702013-12-21 Chong Yidong <cyd@gnu.org>
2571
2572 * faces.el (face-spec-set):
2573 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2574 * custom.el (defface): Doc fixes (Bug#16203).
2575
77221051
CY
2576 * indent.el (indent-rigidly-map): Add docstring, and move commands
2577 into named functions.
2578 (indent-rigidly-left, indent-rigidly-right)
2579 (indent-rigidly-left-to-tab-stop)
2580 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2581 indentation direction based on bidi direction, and accumulate
2582 sequential commands in a single undo boundary.
2583 (indent-rigidly--pop-undo): New utility function.
2584
e0eb0550
JB
25852013-12-20 Juanma Barranquero <lekktu@gmail.com>
2586
2587 * faces.el (read-face-name): Require crm.el when using crm-separator.
2588
3282bd2e
DC
25892013-12-20 Daniel Colascione <dancol@dancol.org>
2590
2591 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2592 so that we don't reflow comments into the shebang line.
2593
1d42e5b6
JL
25942013-12-20 Juri Linkov <juri@jurta.org>
2595
2596 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2597 a position when `dired-directory' is non-nil. Check integer
2598 positions with `integerp'.
2599 (toggle-save-place, save-places-to-alist): Add check for
2600 `dired-directory'.
2601 (save-place-find-file-hook): Check integer positions with
2602 `integerp'.
2603 (save-place-dired-hook): Use `dired-goto-file' when
2604 `dired-filename' is found in the assoc list. Check integer
2605 positions with `integerp'.
2606 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2607
2608 * dired.el (dired-initial-position-hook): Rename back from
2609 `dired-initial-point-hook'.
2610 (dired-initial-position): Rename `dired-initial-point-hook' to
2611 `dired-initial-position-hook'.
2612 (dired-file-name-at-point): Doc fix. (Bug#15329)
2613
24da7273
JL
26142013-12-20 Juri Linkov <juri@jurta.org>
2615
2616 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2617 (read-regexp-suggestions): New function.
2618 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2619 Use `read-regexp-suggestions'. Add non-empty default to history
2620 for empty input.
2621 (occur-read-regexp-defaults-function): Remove function.
2622 (occur-read-primary-args): Use `regexp-history-last' instead of
2623 `occur-read-regexp-defaults-function'.
2624
2625 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2626 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2627 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2628 `hi-lock-read-regexp-defaults-function'. Doc fix.
2629 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2630 with `find-tag-default-as-symbol-regexp'. Doc fix.
2631 (hi-lock-read-regexp-defaults): Remove function.
2632 (hi-lock-regexp-okay): Add check for null.
2633
2634 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2635 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2636
2637 * subr.el (find-tag-default-as-symbol-regexp): New function.
2638 (find-tag-default-as-regexp): Move symbol regexp formatting to
2639 `find-tag-default-as-symbol-regexp'.
2640
137f57c8
S
26412013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2642
2643 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2644 (Bug#14179)
2645
f3a66082
SB
26462013-12-20 Stephen Berman <stephen.berman@gmx.net>
2647
2648 * calendar/todo-mode.el: New implementation of item insertion
2649 commands and key bindings.
2650 (todo-key-prompt): New face.
2651 (todo-insert-item): New command.
2652 (todo-insert-item--parameters): New defconst, replacing defvar
2653 todo-insertion-commands-args-genlist.
2654 (todo-insert-item--param-key-alist): New defconst, replacing
2655 defvar todo-insertion-commands-arg-key-list.
2656 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2657 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2658 (todo-insert-item--next-param): New functions.
2659 (todo-insert-item--args, todo-insert-item--argleft)
2660 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2661 New variables.
2662 (todo-key-bindings-t): Change binding of "i" from
2663 todo-insertion-map to todo-insert-item.
2664 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2665 (todo-insertion-command-name, todo-insertion-commands-names)
2666 (todo-define-insertion-command, todo-insertion-commands)
2667 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2668
2f99433b
SB
26692013-12-20 Stephen Berman <stephen.berman@gmx.net>
2670
2671 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2672 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2673 eval-when-compile.
2674 (todo-move-category): Allow choosing a non-existing todo file to
2675 move the category to, and create that file.
2676 (todo-default-priority): New user option.
2677 (todo-set-item-priority): Use it.
2678 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2679 (desktop-restore-file-buffer): Declare.
2680 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2681 (todo-modes-set-2): Locally set desktop-save-buffer to
2682 todo-desktop-save-buffer.
2683 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2684 (auto-mode-alist): Add autoload cookie.
2685
131e4695
BB
26862013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2687
2688 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2689 helpers.el was a poor choice of name.
3cbfb935
BB
2690 (string-remove-prefix): New function.
2691 (string-remove-suffix): New function.
131e4695 2692
c44de18d
MR
26932013-12-20 Martin Rudalics <rudalics@gmx.at>
2694
2695 Fix assignment for new window total sizes.
2696 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2697 (window--pixel-to-total-1, window--pixel-to-total):
2698 Fix calculation of new total sizes.
c44de18d 2699
ca65efcc
VS
27002013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2701
2702 * comint.el (comint-output-filter): Fix rear-nonsticky property
2703 placement (Bug#16010).
2704
a9574eb7
CY
27052013-12-20 Chong Yidong <cyd@gnu.org>
2706
2707 * faces.el (read-color): Minor fix for completion function.
2708
b520f210
DG
27092013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2710
e0eb0550
JB
2711 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2712 New option. (Bug#16182)
b520f210
DG
2713 (ruby-smie--indent-to-stmt-p): Use it.
2714 (ruby-smie-rules): Revert the logic in the handling of `when'.
2715 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2716 (ruby-deep-arglist, ruby-deep-indent-paren)
2717 (ruby-deep-indent-paren-style): Update docstrings to note that the
2718 vars don't have any effect with SMIE.
2719
26b75b45
JB
27202013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2721
2722 * calc/calc.el (calc-enter, calc-pop): Use the variable
2723 `calc-context-sensitive-enter'.
2724
cf91cee7
LMI
27252013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2726
2727 * net/shr.el (shr-insert): Protect against infloops in degenerate
2728 tables.
2729
51d971b4
RS
27302013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2731
2732 * progmodes/octave.el (octave): Add link to manual and octave
2733 homepage.
2734 (octave-mode-menu): Link to octave-mode manual.
2735
8c2e462a
LL
27362013-12-20 Leo Liu <sdl.web@gmail.com>
2737
2738 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2739 insertion using skeleton-end-newline. (Bug#16138)
2740
501158bc
JL
27412013-12-20 Juri Linkov <juri@jurta.org>
2742
2743 * replace.el (occur-engine): Use `add-face-text-property'
2744 to add the face property to matches and titles. (Bug#14645)
2745
2746 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2747 the palette of other hi-lock colors.
2748 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2749
50ab1da6
JL
27502013-12-19 Juri Linkov <juri@jurta.org>
2751
2752 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2753 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2754 (minibuffer-history-symbol): Move variable declaration closer to
2755 its usage.
2756
2757 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2758 (Bug#14785)
2759
3d6e95e7
JL
27602013-12-19 Juri Linkov <juri@jurta.org>
2761
2762 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2763 New function.
2764 (log-edit-hook): Add it to :options. (Bug#16170)
2765
b41594fd
JL
27662013-12-19 Juri Linkov <juri@jurta.org>
2767
2768 * simple.el (eval-expression-print-format): Don't check for
2769 command names and the last command. Always display additional
2770 formats of the integer result in the echo area, and insert them
2771 to the current buffer only with a zero prefix arg.
2772 Display character when char-displayable-p is non-nil.
2773 (eval-expression): With a zero prefix arg, set `print-length' and
2774 `print-level' to nil, and insert the integer values from
2775 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2776
2777 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2778 `eval-last-sexp-arg-internal'. Doc fix.
2779 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2780 `eval-last-sexp-print-value'. Doc fix.
2781 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2782 Set `print-length' and `print-level' to nil when arg is zero.
2783 (eval-last-sexp): Doc fix.
2784 (eval-defun-2): Print the integer values from
2785 `eval-expression-print-format' at the end.
2786
2787 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2788 values from `eval-expression-print-format' at the end.
2789
2790 * ielm.el (ielm-eval-input): Print the integer
2791 values from `eval-expression-print-format' at the end.
2792
8f2be364
TZ
27932013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2794
2795 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2796 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2797
2230a6e3
SM
27982013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2799
2800 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2801 (hl-line-highlight, global-hl-line-highlight): Use it.
2802 (hl-line-overlay): Use defvar-local.
2803
1269a680
JD
28042013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2805
2806 * term/ns-win.el: Require dnd.
2807 (global-map): Remove drag items.
2808 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2809 (ns-set-background-at-mouse):
2810 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2811 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2812 New functions.
1269a680 2813
049638ad
GM
28142013-12-19 Glenn Morris <rgm@gnu.org>
2815
2816 * emacs-lisp/ert.el (ert-select-tests):
2817 Fix string/symbol mixup. (Bug#16121)
2818
ce41edb4
DG
28192013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2820
2821 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2822 keywords to their parent.
2823
7e1549c9
DG
28242013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2825
2826 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2827 first arg to be a string (fixed dead code), or an operator symbol.
2828 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2829 operator symbols.
2830 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2831 did nothing. Don't respond to `(:after ".")', it will be called
2832 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2833 change anything. Only return indentation for binary operators
2834 when they are hanging. De-dent opening paren when its parent is
2835 `.', otherwise it looks bad when the dot is not at bol or eol
2836 (bug#16182).
2837
3ee4cd64
JL
28382013-12-19 Juri Linkov <juri@jurta.org>
2839
2840 * replace.el (query-replace-read-args): Split a non-negative arg
2841 and a negative arg into separate elements.
2842 (query-replace, query-replace-regexp, replace-string)
2843 (replace-regexp): Add arg `backward'. Doc fix.
2844 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2845 move point to the beginning of the match.
2846 (replace-search, replace-highlight): Use new arg `backward'
2847 to set the value of `isearch-forward'.
2848 (perform-replace): Add arg `backward' and use it to perform
2849 replacement backward. (Bug#14979)
2850
2851 * isearch.el (isearch-query-replace): Use a negative prefix arg
2852 to call `perform-replace' with a non-nil arg `backward'.
2853
0cda6b7b
JL
28542013-12-18 Juri Linkov <juri@jurta.org>
2855
2856 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2857 to the default list. Move `log-edit-show-files' to the end.
2858 Add more available functions to options.
2859 (log-edit): Move default specific settings to
2860 `log-edit-insert-message-template'. Don't move point.
2861 (log-edit-insert-message-template): New function.
2862 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2863 (Bug#16170)
2864
b216f0a6
JL
28652013-12-18 Juri Linkov <juri@jurta.org>
2866
2867 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2868 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2869
1d1c55dc
LL
28702013-12-18 Leo Liu <sdl.web@gmail.com>
2871
e9dc713d
JB
2872 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2873 (Bug#16186)
1d1c55dc 2874
64e4c76e
EZ
28752013-12-18 Eli Zaretskii <eliz@gnu.org>
2876
2877 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2878 formats for displaying file sizes when the -s switch is given.
2879 Instead, compute a separate format for displaying the size in
2880 blocks, which is displayed in addition to the "regular" size.
2881 When -h is given in addition to -s, produce size in blocks in
2882 human-readable form as well. (Bug#16179)
2883
b2984e39
TH
28842013-12-18 Tassilo Horn <tsdh@gnu.org>
2885
2230a6e3
SM
2886 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2887 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2888
50ff2e06
CY
28892013-12-18 Chong Yidong <cyd@gnu.org>
2890
0081bc84
CY
2891 * cus-edit.el (custom-magic-alist): Fix "themed" description
2892 (Bug#14348).
2893
a7ee9424
CY
2894 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2895 is non-nil, do not create a new entry in the symbol's theme-value
2896 or theme-face property; update theme-settings only (Bug#14664).
18874304 2897 (custom-available-themes): Doc fix.
a7ee9424 2898
8f942537
CY
2899 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2900 (Bug#15674).
2901
50ff2e06
CY
2902 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2903
83c60f60
KI
29042013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2905
2906 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2907 (Bug#13914).
2908
e0eb0550 29092013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2910
2911 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2912
1f41ee56
GM
29132013-12-18 Glenn Morris <rgm@gnu.org>
2914
2915 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2916 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2917
e82134b1
LW
29182013-12-18 Le Wang <l26wang@gmail.com>
2919
2230a6e3
SM
2920 * comint.el (comint-previous-matching-input-from-input):
2921 Retain point (Bug#13404).
e82134b1 2922
33f5d4c1
CY
29232013-12-18 Chong Yidong <cyd@gnu.org>
2924
2925 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2926
ccc9f6dc
GM
29272013-12-18 Glenn Morris <rgm@gnu.org>
2928
2929 * mail/emacsbug.el (report-emacs-bug):
2930 Only mention enable-multibyte-characters if non-standard.
2931
33dd8e95
JL
29322013-12-17 Juri Linkov <juri@jurta.org>
2933
2934 * arc-mode.el (archive-extract-by-file): Check if directory exists
2935 before deletion to not show irrelevant errors if it doesn't exist.
2936
7a409b30
JL
29372013-12-17 Juri Linkov <juri@jurta.org>
2938
2939 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2940 (Bug#14751)
2941
2942 * net/eww.el (browse-web): Add alias to `eww'.
2943 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2944 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2945
2946 * net/browse-url.el (browse-url-browser-function): Move `eww'
2947 closer to similar functions.
2948
2949 * startup.el (fancy-startup-screen, fancy-about-screen):
2950 Set browse-url-browser-function to eww-browse-url locally.
2951 (Bug#14751)
2952
2d6b6005
SM
29532013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2954
2955 * window.el (window--pixel-to-total): Remove unused `mini' var.
2956 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2957 (split-window): Remove unused `new' var.
2958 (window--display-buffer): Remove unused `frame' and `delta' vars.
2959 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2960 and display-width'.
2961
cf2b7efc
MR
29622013-12-17 Martin Rudalics <rudalics@gmx.at>
2963
2964 * dired.el (dired-mark-pop-up):
2965 * register.el (register-preview): Don't bind
2966 split-height-threshold here since it's now done in
2967 display-buffer-below-selected.
2968
ed3af8a7 29692013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2970
2971 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2972 xterm-rgb-convert-to-16bit.
2973 (rxvt-register-default-colors): Standardize with
2974 xterm-register-default-colors (Bug#14078).
2975
76da3455
DK
29762013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2977
2978 * simple.el (kill-region): Pass mark first, then point, so that
2979 kill-append works right (Bug#12819).
2980 (copy-region-as-kill, kill-ring-save): Likewise.
2981
2b84d763
LL
29822013-12-17 Leo Liu <sdl.web@gmail.com>
2983
2984 * net/rcirc.el (rcirc-add-face):
2985 * eshell/em-prompt.el (eshell-emit-prompt):
2986 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2987 (Bug#16167)
2988
e2f6a0bc
CY
29892013-12-17 Chong Yidong <cyd@gnu.org>
2990
2991 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2992 Suggested by Xue Fuqiao.
2993
35b249a6
DG
29942013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2995
2996 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2997
e9145444
SM
29982013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2999
3000 * net/shr.el (shr-insert-document): Remove unused var
3001 `shr-preliminary-table-render'.
3002 (shr-rescale-image): Remove unused arg `force'.
3003 (shr-put-image): Update calls accordingly.
3004 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3005
5556c0ce
DG
30062013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3007
3008 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3009 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3010 :close-all, to see which indentation method to use (Bug#16116).
3011 (smie-rules-function): Document the method :close-all.
3012
11bade0a
LMI
30132013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3014
1c4b1e61
LMI
3015 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3016
11bade0a
LMI
3017 * net/eww.el (eww-display-html): If we can't find the anchor we're
3018 looking for, then go to point-min.
3019
8fb8c4f3
PE
30202013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3021
3022 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3023 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3024 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3025 Expand dir too, in case it's relative.
3026
6c8e0ae6
JL
30272013-12-16 Juri Linkov <juri@jurta.org>
3028
3029 * desktop.el (desktop-auto-save-timeout): Change default to
3030 `auto-save-timeout'. Doc fix.
3031 (desktop-save): Skip the timestamp in desktop-saved-frameset
3032 when checking for auto-save changes.
3033 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3034 `desktop-auto-save' is called repeatedly by the idle timer.
3035 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3036 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3037 (Bug#15331)
3038
2178e858
JL
30392013-12-16 Juri Linkov <juri@jurta.org>
3040
3041 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3042 (Bug#16035)
3043 (isearch-pre-command-hook): Check `this-command' for symbolp.
3044
39cb42c6
SM
30452013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3046
3047 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3048
5b9b750a
TZ
30492013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3050
3051 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3052 (cfengine3--current-function): Bring in the current-function
3053 functionality from `cfengine3--current-word'.
3054 (cfengine3-completion-function): Bring in the
3055 bounds-of-current-word functionality from
3056 `cfengine3--current-word'.
3057
d144ef06
MR
30582013-12-16 Martin Rudalics <rudalics@gmx.at>
3059
39cb42c6
SM
3060 * window.el (display-buffer-below-selected):
3061 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3062
a8bbe298
LL
30632013-12-16 Leo Liu <sdl.web@gmail.com>
3064
3065 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3066 Remove NOMSG arg and all uses changed.
3067
2013a2f9
SM
30682013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3071 (cua--deactivate-rectangle): Don't deactivate the mark.
3072 (cua-set-rectangle-mark): Don't set mark-active since
3073 cua--activate-rectangle already does it for us.
3074 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3075 non-rectangular region.
3076
3077 * emulation/cua-base.el (cua-repeat-replace-region):
3078 Use with-current-buffer.
3079
3080 * net/gnutls.el: Use cl-lib.
3081 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3082
5ae811dd
TZ
30832013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3084
3085 * emacs-lisp/package.el (package-built-in-p): Support both
3086 built-in and the package.el converted package descriptions.
3087 (package-show-package-list): Allow keywords.
3088 (package-keyword-button-action): Use it instead of
3089 `finder-list-matches'.
3090 (package-menu-filter-interactive): Interactive filtering (by
3091 keyword) function.
3092 (package-menu--generate): Support keywords and change keymappings
3093 and headers when they are given.
3094 (package--has-keyword-p): Helper function.
3095 (package-menu--refresh): Use it.
3096 (package--mapc): Helper function.
3097 (package-all-keywords): Use it.
3098 (package-menu-mode-map): Set up menu items and keybindings to
3099 provide a filtering UI.
3100
31b4827e
TZ
31012013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3102
3103 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3104 the behavior when a certificate fails validation. Defaults to
3105 old behavior: never abort, just warn.
3106 (gnutls-negotiate): Use it.
3107
f93cc74f
MR
31082013-12-14 Martin Rudalics <rudalics@gmx.at>
3109
3110 * window.el (display-buffer-below-selected): Never split window
3111 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3112
f77d7d17
TW
31132013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3114
3115 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3116 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3117
7514d3f8
SM
31182013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3119
aa2bddd7 3120 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3121 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3122
276bc333
DG
31232013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3124
3125 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3126 open-paren tokens when preceded by a open-paren, too.
3127 (ruby-smie-rules): Handle virtual indentation after open-paren
3128 tokens specially. If there is code between it and eol, return the
3129 column where is starts (Bug#16118).
3130
d43957f3
TZ
31312013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3132
a5c1ac0c 3133 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3134 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3135 (cfengine3--current-word): Fix parameters.
3136 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3137 (cfengine3-completion-function, cfengine3--current-function):
3138 Use `assq' for symbols.
d43957f3
TZ
3139 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3140
06a4f110
GM
31412013-12-13 Glenn Morris <rgm@gnu.org>
3142
3143 * loadup.el (load-path): Warn if site-load or site-init changes it.
3144 No more need to reset it when bootstrapping.
3145
978a5fda
TZ
31462013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3147
3148 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3149 locations for cf-promises.
3150 (cfengine-mode-syntax-functions-regex): New caching variable.
3151 (cfengine3-fallback-syntax): Fallback syntax for cases where
3152 cf-promises doesn't run.
3153 (cfengine3--current-word): Reimplement using
3154 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3155 (cfengine3-completion-function, cfengine3--current-function):
3156 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3157 (cfengine3-clear-syntax-cache): New function.
3158 (cfengine3-make-syntax-cache): Simplify and create
3159 `cfengine-mode-syntax-functions-regex' on demand.
3160 (cfengine3-format-function-docstring): Don't call
3161 `cfengine3-make-syntax-cache' explicitly.
3162
71e6691e
MR
31632013-12-13 Martin Rudalics <rudalics@gmx.at>
3164
3165 Fix windmove-find-other-window broken after pixelwise resizing
3166 (Bug#16017).
3167 * windmove.el (windmove-other-window-loc): Revert change from
3168 2013-12-04.
3169 (windmove-find-other-window): Call window-in-direction.
3170 * window.el (window-in-direction): New arguments SIGN, WRAP and
3171 MINI to emulate original windmove-find-other-window behavior.
3172
84c73ba0
DG
31732013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3174
3175 * simple.el (blink-matching--overlay): New variable.
3176 (blink-matching-open): Instead of moving point, highlight the
3177 matching paren with an overlay
3178 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3179
3180 * faces.el (paren-showing-faces, show-paren-match)
3181 (show-paren-mismatch): Move from paren.el.
3182
b9e20952
LL
31832013-12-13 Leo Liu <sdl.web@gmail.com>
3184
3185 * indent.el (indent-region): Disable progress reporter in
3186 minibuffer. (Bug#16108)
3187
3188 * bindings.el (visual-order-cursor-movement): Fix version.
3189
ce030451
FEG
31902013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3191
3192 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3193 Also match after beginning of line.
3194 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3195 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3196
4a9c6865
JL
31972013-12-13 Juri Linkov <juri@jurta.org>
3198
3199 * simple.el <Keypad support>: Remove key bindings duplicated
3200 with bindings.el. (Bug#14397)
3201
2bc170c3
JL
32022013-12-13 Juri Linkov <juri@jurta.org>
3203
3204 * comint.el (comint-mode-map): Replace `delete-char' with
3205 `delete-forward-char'. (Bug#16109)
3206
bc9222c9
FEG
32072013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3208
aa2bddd7 3209 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3210 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3211
cb3a1380
SM
32122013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3215 (advice--make): Pay attention to `depth'.
3216 (advice--make-1): Don't autoload commands eagerly.
3217 * emacs-lisp/elp.el (elp-instrument-function):
3218 * emacs-lisp/trace.el (trace-function-internal):
3219 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3220
3221 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3222
01633a17
EZ
32232013-12-12 Eli Zaretskii <eliz@gnu.org>
3224
3225 * term/w32-win.el (w32-handle-dropped-file):
3226 * startup.el (normal-top-level):
3227 * net/browse-url.el (browse-url-file-url):
3228 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3229 decode file names using 'utf-8' rather than
3230 file-name-coding-system.
3231
09faee72
FEG
32322013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3233
3234 * progmodes/python.el (python-indent-context)
3235 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3236 behavior for comment blocks. (Bug#15916)
09faee72 3237
f4f84024 32382013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3239
cb3a1380
SM
3240 * progmodes/python.el (python-indent-calculate-indentation):
3241 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3242 operators when they are just string constituents. (Bug#15812)
3243
d5ccb7be
JL
32442013-12-12 Juri Linkov <juri@jurta.org>
3245
3246 * uniquify.el (uniquify-buffer-name-style): Change default to
3247 `post-forward-angle-brackets'.
3248
3249 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3250 `uniquify'. Change default to `post-forward-angle-brackets'.
3251
7b3f5679
GM
32522013-12-11 Glenn Morris <rgm@gnu.org>
3253
3254 * emacs-lisp/package.el (finder-list-matches):
3255 Autoload rather than falsely declaring.
3256
f4fe8fdd
TZ
32572013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3258
3259 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3260 (eww-mode-map): Use them.
3261
3c29190f
MR
32622013-12-11 Martin Rudalics <rudalics@gmx.at>
3263
3264 * window.el (display-buffer-in-side-window): Fix doc-string
3265 (Bug#16115).
3266
0cd616a2
JB
32672013-12-11 Juanma Barranquero <lekktu@gmail.com>
3268
3269 * vc/vc-git.el: Silence byte-compiler warnings.
3270 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3271 (log-edit-set-header): Declare.
3272
3ef8e0d1
EZ
32732013-12-11 Eli Zaretskii <eliz@gnu.org>
3274
3275 * Makefile.in (custom-deps, finder-data): Run output file names
3276 through unmsys--file-name. (Bug#16099)
3277
afdadaf7
SM
32782013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3279
7ae3ae39 3280 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3281 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3282
5b4f37ab
SM
3283 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3284 instead of deleting the selection "by hand" (bug#16098).
3285 Rely on insert-for-yank to yank rectangles.
3286 (cua-highlight-region-shift-only): Mark obsolete.
3287 (cua-mode): Don't enable/disable transient-mark-mode,
3288 shift-select-mode (cua-mode works both with and without them), and
3289 pc-selection-mode (obsolete).
3290 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3291 (cua--deactivate-rectangle): Deactivate it.
3292
4b72c12b
SM
3293 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3294 (delete-selection-helper): Make sure yank starts at the top of the
3295 deleted region.
3296 (minibuffer-keyboard-quit): Use region-active-p.
3297
e82af72d
SM
3298 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3299
afdadaf7
SM
3300 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3301 to `delete' (bug#16109).
3302
ed4bc201
RS
33032013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3304
3305 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3306 info manual and show keybindings and set `:group' keyword.
3307
bb8097b9
JL
33082013-12-11 Juri Linkov <juri@jurta.org>
3309
3310 * delsel.el (delete-active-region): Let-bind `this-command'
3311 to prevent `kill-region' from changing its original value.
3312 (delete-selection-helper): Handle `overwrite-mode' for the type
3313 `kill' exactly the same way as for the type `t'.
3314 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3315 Support more commands. (Bug#13312)
3316
c1916ff5
JL
33172013-12-11 Juri Linkov <juri@jurta.org>
3318
3319 * bindings.el: Map kp keys to non-kp keys systematically
3320 with basic modifiers control, meta and shift. (Bug#14397)
3321
7514d3f8 33222013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3323
3324 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3325 "Close browser" menu items. Fix wrong function of "List
3326 bookmarks".
3327
4cc51eaf
JL
33282013-12-11 Juri Linkov <juri@jurta.org>
3329
3330 * misearch.el (multi-isearch-buffers): Set the value of
3331 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3332 arg of isearch-forward to t.
3333 (multi-isearch-buffers-regexp): Set the value of
3334 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3335 arg of isearch-forward-regexp to t.
3336 (multi-isearch-files): Set the value of
3337 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3338 arg of isearch-forward to t.
3339 (multi-isearch-files-regexp): Set the value of
c295fc18 3340 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3341 arg of isearch-forward-regexp to t. (Bug#16035)
3342
3343 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3344 arg of isearch-forward to t.
3345 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3346 arg of isearch-forward-regexp to t.
3347 (dired-isearch-filter-filenames): Remove unnecessary check for
3348 `dired-isearch-filenames'.
3349
3350 * comint.el (comint-history-isearch-backward):
3351 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3352 (comint-history-isearch-backward-regexp):
3353 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3354
ceac12b7
EZ
33552013-12-10 Eli Zaretskii <eliz@gnu.org>
3356
3357 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3358 unmsys--file-name. (Bug#16099)
3359
5a565782
TZ
33602013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3361
cb3a1380
SM
3362 * emacs-lisp/package.el (package-keyword-button-action):
3363 Remove finder.el require dependency.
5a565782 3364
a81fc7ba
TZ
33652013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3366
3367 * emacs-lisp/package.el: Require finder.el.
3368 (describe-package-1): Add keyword buttons.
3369 (package-make-button): New convenience function.
3370 (package-keyword-button-action): Keyword button action using
e0eb0550 3371 `finder-list-matches'.
a81fc7ba 3372
6aaca951
EZ
33732013-12-09 Eli Zaretskii <eliz@gnu.org>
3374
3375 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3376 last commit.
3377
a1099a91
MA
33782013-12-09 Michael Albinus <michael.albinus@gmx.de>
3379
3380 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3381 symlinked files.
3382
8212d9c0
DG
33832013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3384
3385 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3386 after the end of a percent literal.
3387
8f48d131
CD
33882013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3389
cb3a1380
SM
3390 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3391 Handle caret-delimited strings (Bug#16079).
8f48d131 3392
ff8c9764
DG
33932013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3394
cb3a1380
SM
3395 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3396 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3397 `ruby-parse-partial' (Bug#16078).
3398
d64643b4
LL
33992013-12-09 Leo Liu <sdl.web@gmail.com>
3400
3401 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3402
47e59c66
DG
34032013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3404
3405 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3406 (js-switch-indent-offset): New option.
3407 (js--proper-indentation): Use it. And handle the case when
3408 "default" is actually a key in an object literal.
3409 (js--same-line): New function.
3410 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3411 (js--indent-in-array-comp, js--array-comp-indentation):
3412 New functions.
47e59c66
DG
3413 (js--proper-indentation): Use them, to handle array comprehension
3414 continuations.
3415
974ebc9c
LL
34162013-12-08 Leo Liu <sdl.web@gmail.com>
3417
3418 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3419 (flymake-make-overlay): Remove arg MOUSE-FACE.
3420 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3421
27262e39
SM
34222013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3425 New function.
3426 (redisplay-highlight-region-function): Use it.
3427
3428 * emulation/cua-base.el (cua--explicit-region-start)
3429 (cua--last-region-shifted): Remove.
3430 (cua--deactivate): Use deactivate-mark.
3431 (cua--pre-command-handler-1): Don't handle shift-selection.
3432 (cua--post-command-handler-1): Don't change transient-mark-mode.
3433 (cua--select-keymaps): Use region-active-p rather than
3434 cua--explicit-region-start or cua--last-region-shifted.
3435 (cua-mode): Enable shift-select-mode.
3436
6407822c
LL
34372013-12-08 Leo Liu <sdl.web@gmail.com>
3438
27262e39
SM
3439 * progmodes/flymake.el (flymake-popup-current-error-menu):
3440 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3441 (flymake-posn-at-point-as-event, flymake-popup-menu)
3442 (flymake-make-emacs-menu): Remove. (Bug#16077)
3443
00a2b823
SM
34442013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3445
02033d49
SM
3446 * rect.el (rectangle-mark-mode): Activate mark even if
3447 transient-mark-mode is off (bug#16066).
3448 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3449 is > mark and at bolp.
3450
6f8dfccf
SM
3451 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3452 (region-extract-function): Use it.
3453 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3454 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3455 Delete functions.
3456 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3457 kill-ring-save, kill-region, delete-char, delete-forward-char.
3458 Ignore self-insert-iso.
3459
3460 * emulation/cua-gmrk.el (cua--init-global-mark):
3461 Ignore `self-insert-iso'.
3462
3463 * emulation/cua-base.el (cua--prefix-copy-handler)
3464 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3465 checking cua--rectangle.
3466 (cua-delete-region): Use region-extract-function.
3467 (cua-replace-region): Delete function.
3468 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3469 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3470 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3471 (cua--init-keymaps): Don't remap delete-selection commands.
3472 (cua-mode): Use delete-selection-mode instead of rolling our own
3473 (bug#16085).
3474
3475 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3476 Obey region-extract-function.
3477
00a2b823
SM
3478 Make registers and delete-selection-mode work on rectangles.
3479 * register.el (describe-register-1): Don't modify the register's value.
3480 (copy-to-register): Obey region-extract-function.
3481 * delsel.el (delete-active-region): Obey region-extract-function.
3482
a92fa5f1
LL
34832013-12-08 Leo Liu <sdl.web@gmail.com>
3484
3485 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3486 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3487 (flymake-compilation-prevents-syntax-check)
3488 (flymake-start-syntax-check-on-newline)
3489 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3490 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3491 (flymake-xml-program, flymake-master-file-dirs)
3492 (flymake-master-file-count-limit)
3493 (flymake-allowed-file-name-masks): Relocate.
3494 (flymake-makehash, flymake-float-time)
3495 (flymake-replace-regexp-in-string, flymake-split-string)
3496 (flymake-get-temp-dir): Remove.
3497 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3498 (flymake-current-row, flymake-selected-frame)
3499 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3500 related functions. (Bug#16077)
3501
73c8ceea
BB
35022013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3503
3504 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3505
faec28d9
TH
35062013-12-07 Tassilo Horn <tsdh@gnu.org>
3507
3508 * help-fns.el (describe-function-1): Use new advice-* functions
3509 rather than old ad-* functions. Fix function type description and
3510 source links for advised functions and subrs.
3511
e330b646
LMI
35122013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3513
00a2b823 3514 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3515
4803595d
MA
35162013-12-06 Michael Albinus <michael.albinus@gmx.de>
3517
3518 * progmodes/compile.el (compilation-start):
3519 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3520
3521 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3522 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3523
fa834a93
DG
35242013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3525
00a2b823
SM
3526 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3527 Touch up the last change.
fa834a93 3528
b2856a6f
LL
35292013-12-06 Leo Liu <sdl.web@gmail.com>
3530
3531 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3532 (inferior-octave-startup): Always use "octave> " for prompt.
3533 (octave-goto-function-definition)
3534 (octave-sync-function-file-names)
3535 (octave-find-definition-default-filename): Remove redundant backquotes.
3536
af67e79a
DG
35372013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3538
3539 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3540 syntax for `?'.
3541 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3542 where appropriate already.
3543 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3544 end of method names (Bug#15874).
3545
bf093209
JL
35462013-12-06 Juri Linkov <juri@jurta.org>
3547
3548 * isearch.el (isearch--saved-overriding-local-map):
3549 New internal variable.
3550 (isearch-mode): Set it to the initial value of
3551 `overriding-terminal-local-map'.
3552 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3553 with `isearch--saved-overriding-local-map'. (Bug#16035)
3554
16588fad
DG
35552013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3556
00a2b823
SM
3557 * progmodes/octave.el (inferior-octave-completion-table):
3558 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3559 (Bug#11906). Update all references.
3560
3561 * minibuffer.el (completion-table-with-cache): New function.
3562
bf4906d7
CD
35632013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3564
3565 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3566
ff69c18f
TZ
35672013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3568
3569 * net/eww.el (eww-current-source): New variable to store page
3570 source.
3571 (eww-display-html, eww-mode, eww-save-history)
3572 (eww-restore-history): Use it.
3573 (eww-view-source): New command to view page source.
3574 Opportunistically uses `html-mode' to highlight the buffer.
3575 (eww-mode-map): Install it.
3576
b85eff45
MA
35772013-12-05 Michael Albinus <michael.albinus@gmx.de>
3578
3579 * net/dbus.el (dbus-unregister-service)
3580 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3581 Fix docstring.
3582 (dbus-unregister-service): Skip :serial entries in
3583 `dbus-registered-objects-table'.
3584 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3585
39eb0899
TZ
35862013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3587
3588 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3589 around keywords with extra `split-string' argument.
3590
456760a5
MR
35912013-12-04 Martin Rudalics <rudalics@gmx.at>
3592
3593 * windmove.el (windmove-other-window-loc): Handle navigation
3594 between windows (excluding the minibuffer window - Bug#16017).
3595
81961e4c
MA
35962013-12-04 Michael Albinus <michael.albinus@gmx.de>
3597
3598 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3599 in D-Bus type syntax.
3600 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3601 preserve unibyte strings. (Bug#16048)
3602
8497f938
SM
36032013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3606 Call force-mode-line-update is the proper buffer (bug#16042).
3607
dda61916
DG
36082013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3609
3610 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3611 `log-edit-remember-comment', make argument optional. Adjust all
3612 callers.
3613 (log-edit-mode): Add `log-edit-remember-comment' to
3614 `kill-buffer-hook' locally.
3615 (log-edit-kill-buffer): Don't remember comment explicitly since
3616 the buffer is killed anyway.
3617
c085e5b9
JL
36182013-12-04 Juri Linkov <juri@jurta.org>
3619
3620 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3621 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3622
e0eb0550 36232013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3624
3625 * notifications.el (notifications-close-notification): Call the
81961e4c 3626 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3627
39fa32d6
KY
36282013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3629
3630 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3631
9139632a
JL
36322013-12-03 Juri Linkov <juri@jurta.org>
3633
3634 * progmodes/compile.el (compilation-start): Rename window alist
3635 entry `no-display-ok' to `allow-no-window'.
3636
3637 * simple.el (shell-command): Add window alist entry
3638 `allow-no-window' to `display-buffer'.
3639 (async-shell-command): Doc fix.
3640
3641 * window.el (display-buffer-no-window): New action function.
3642 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3643
0f457a37
DG
36442013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3645
3646 * vc/log-edit.el (log-edit-set-header): Extract from
3647 `log-edit-toggle-header'.
3648 (log-edit-extract-headers): Separate the summary, when extracted
3649 from header, from the rest of the message with an empty line.
3650
3651 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3652 line, if present, to the Summary header.
3653
0962f376
SM
36542013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3655
3656 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3657 in current-buffer (bug#16029).
3658
f345395c
HE
36592013-12-02 Helmut Eller <eller.helmut@gmail.com>
3660
3661 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3662 (debugger-mode-map): Bind it.
3663 (debugger--backtrace-base): New function.
3664 (debugger-eval-expression): Use it.
3665 (debugger-frame-number): Skip local vars when present.
3666 (debugger--locals-visible-p, debugger--insert-locals)
3667 (debugger--show-locals, debugger--hide-locals): New functions.
3668
a8a15d9d
MA
36692013-12-02 Michael Albinus <michael.albinus@gmx.de>
3670
3671 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3672 "LC_ALL".
3673 (tramp-get-remote-locale): New defun.
3674 (tramp-open-connection-setup-interactive-shell): Use it.
3675
0518b057
LL
36762013-12-02 Leo Liu <sdl.web@gmail.com>
3677
3678 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3679
3680 * progmodes/sh-script.el (sh-shell-process):
3681 * progmodes/octave.el (inferior-octave-process-live-p):
3682 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3683 (gdb-inferior-io-sentinel):
3684 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3685
3adc9c6d
DG
36862013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3687
3688 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3689 `save-selected-window' to `log-edit-hide-buf'. This makes
3690 `log-edit-show-files' idempotent.
3691 (log-edit-show-files): Mark the new window as dedicated.
3692
47e8b74e
DG
36932013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3694
3695 * vc/log-edit.el (log-edit-mode-map): Add binding for
3696 `log-edit-kill-biffer'.
3697 (log-edit-hide-buf): Add a FIXME comment.
3698 (log-edit-add-new-comment): New function, extracted from
3699 `log-edit-done'.
3700 (log-edit-done, log-edit-add-to-changelog): Use it.
3701 (log-edit-kill-buffer): New command.
3702
1f6e1bb0
LMI
37032013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3704
3705 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3706 instead of killing the buffer.
3707
fb651d15
SM
37082013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3711
8feacce0
RS
37122013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3713
fb651d15 3714 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3715 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3716 (eww-form-checkbox, eww-toggle-checkbox):
3717 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3718
e0eb0550 3719 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3720 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3721 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3722 no :src tag was specified.
3723
fb651d15 3724 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3725 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3726 Use \\` to match beginning of string instead of ^.
3727 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3728 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3729
177948a5
RS
3730 * net/shr.el (shr-tag-video): Display content for video if no
3731 poster is available.
eb2dd24d 3732 (shr-tag-audio): Add support for <audio> tag.
177948a5 3733
e0eb0550 3734 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3735 (eww-process-text-input): Treat input types in
3736 `eww-text-input-types' as text.
3737
8feacce0
RS
3738 * net/shr.el (shr-tag-table): Fix comment typo.
3739
513562a1
LMI
37402013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3741
3742 * net/eww.el (eww-follow-link): New command to avoid reloading
3743 pages when we follow #target links (bug#15243).
de8a5633 3744 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3745
9dd99753
KN
37462013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3747
3748 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3749 forms.
3750
3e9876de
LMI
37512013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3752
3753 * net/eww.el (eww-restore-history): Update the window title after
3754 moving in the history.
ab6dea82 3755 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3756
52789f7f
DG
37572013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3758
3759 * vc/log-edit.el (log-edit-mode-map): Add binding for
3760 `log-edit-beginning-of-line'.
3761 (log-edit-setup-add-author): New user option.
3762 (log-edit-beginning-of-line): New command.
3763 (log-edit): Move major mode call above the contents setup so that
3764 the local variable values are already applied.
3765 (log-edit): Only insert "Author: " when
3766 `log-edit-setup-add-author' is non-nil.
3767 (log-edit): When SETUP is non-nil, position point after ": "
3768 instead of point-min.
3769
2e6710c3
GM
37702013-12-01 Glenn Morris <rgm@gnu.org>
3771
3772 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3773
fadec31f
EZ
37742013-11-30 Eli Zaretskii <eliz@gnu.org>
3775
3776 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3777 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3778 visible. (Bug#16014)
3779
10634b40 37802013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3781
3782 Support resizing frames and windows pixelwise.
3783 * cus-start.el (frame-resize-pixelwise)
3784 (window-resize-pixelwise): New entries.
3785 * emacs-lisp/debug.el (debug): Use window-total-height instead
3786 of window-total-size.
3787 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
3788 * help.el (describe-bindings-internal): Use help-buffer as
3789 argument for with-help-window.
880e6158
MR
3790 (temp-buffer-max-width): New option.
3791 (resize-temp-buffer-window, help-window-setup)
3792 (with-help-window): Rewrite.
3793 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3794 dragging dividers.
3795 * window.el (frame-char-size, window-min-pixel-height)
3796 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3797 (window-min-pixel-width, window-safe-min-pixel-size)
3798 (window-combination-p, window-safe-min-size)
3799 (window-resizable-p, window--size-to-pixel)
3800 (window--pixel-to-size, window--resize-apply-p): New functions.
3801 (window-safe-min-height): Fix doc-string.
3802 (window-size, window-min-size, window--min-size-1)
3803 (window-sizable, window-sizable-p, window--min-delta-1)
3804 (window-min-delta, window--max-delta-1, window-max-delta)
3805 (window--resizable, window--resizable-p, window-resizable)
3806 (window-full-height-p, window-full-width-p, window-at-side-p)
3807 (window--in-direction-2, window-in-direction)
3808 (window--resize-reset-1, window--resize-mini-window)
3809 (window-resize, window-resize-no-error)
3810 (window--resize-child-windows-normal)
3811 (window--resize-child-windows, window--resize-siblings)
3812 (window--resize-this-window, window--resize-root-window)
3813 (window--resize-root-window-vertically)
3814 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3815 (maximize-window, minimize-window, delete-window)
3816 (quit-restore-window, window-split-min-size, split-window)
3817 (balance-windows-2, balance-windows)
3818 (balance-windows-area-adjust, balance-windows-area)
3819 (window--state-get-1, window-state-get, window--state-put-1)
3820 (window--state-put-2, window-state-put)
fb651d15
SM
3821 (display-buffer-record-window, window--display-buffer):
3822 Make functions handle pixelwise sizing of windows.
880e6158 3823 (display-buffer--action-function-custom-type)
fb651d15
SM
3824 (display-buffer-fallback-action):
3825 Add display-buffer-in-previous-window.
880e6158
MR
3826 (display-buffer-use-some-window): Resize window to height it had
3827 before.
3828 (fit-window-to-buffer-horizontally): New option.
3829 (fit-frame-to-buffer): Describe new values.
3830 (fit-frame-to-buffer-bottom-margin): Replace with
3831 fit-frame-to-buffer-margins.
3832 (window--sanitize-margin): New function.
3833 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3834 using window-text-pixel-size.
3835
f9b697dd
GM
38362013-11-30 Glenn Morris <rgm@gnu.org>
3837
3e2fb4db
GM
3838 * emacs-lisp/bytecomp.el (byte-compile-form):
3839 Make the `interactive-only' warning like the `obsolete' one.
3840 * comint.el (comint-run):
3841 * files.el (insert-file-literally, insert-file):
3842 * replace.el (replace-string, replace-regexp):
3843 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3844 (goto-line, insert-buffer, next-line, previous-line):
3845 Tweak `interactive-only' spec.
3846
f9b697dd
GM
3847 Stop keeping (most) generated cedet grammar files in the repository.
3848 * Makefile.in (semantic): New.
3849 (compile-main): Depend on semantic.
3850
da048127
SM
38512013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3852
7784b779
SM
3853 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3854 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3855
4e36a6a6
SM
3856 * uniquify.el (uniquify-buffer-name-style): Change default.
3857
3858 * loadup.el: Preload "uniquify".
3859
e0ba1308
SM
3860 * time.el (display-time-update): Update all mode lines (bug#15999).
3861
da048127
SM
3862 * electric.el (electric-indent-mode): Enable by default.
3863 * loadup.el: Preload "electric".
3864
015b3b3e
BB
38652013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3866
3867 * emacs-lisp/helpers.el (string-empty-p): New function.
3868 (string-blank-p): New function.
3869
7efb806d
AP
38702013-11-29 Andreas Politz <politza@hochschule-trier.de>
3871
3872 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3873 (Bug#14029).
3874
c8f0efc2
AP
38752013-11-29 Andreas Politz <politza@fh-trier.de>
3876 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3877 allow non-lambda lists as functions.
3878 (imenu--in-alist): Don't recurse into non-subalists.
3879 (imenu): Don't pass function itself as an argument (Bug#14029).
3880
bd15d9d1
SM
38812013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * progmodes/python.el (python-mode-map): Remove binding for ":".
3884 (python-indent-electric-colon): Remove command.
3885 (python-indent-post-self-insert-function): Integrate the previous code
3886 of python-indent-electric-colon. Make it conditional on
3887 electric-indent-mode.
3888 (python-mode): Add ?: to electric-indent-chars.
3889 Move python-indent-post-self-insert-function to the end of
3890 post-self-insert-hook.
3891
1b10adb6
SM
38922013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3893
655ab9a3
SM
3894 * doc-view.el (doc-view-goto-page): Update mode-line.
3895
1b10adb6
SM
3896 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3897
7e3bf78c
GM
38982013-11-27 Glenn Morris <rgm@gnu.org>
3899
3900 * international/charprop.el, international/uni-bidi.el:
3901 * international/uni-category.el, international/uni-combining.el:
3902 * international/uni-comment.el, international/uni-decimal.el:
3903 * international/uni-decomposition.el, international/uni-digit.el:
3904 * international/uni-lowercase.el, international/uni-mirrored.el:
3905 * international/uni-name.el, international/uni-numeric.el:
3906 * international/uni-old-name.el, international/uni-titlecase.el:
3907 * international/uni-uppercase.el:
3908 Remove generated files from VCS repository.
3909
fb6a5d68
EZ
39102013-11-27 Eli Zaretskii <eliz@gnu.org>
3911
3912 * filenotify.el (file-notify-add-watch): Don't special-case
3913 w32notify when computing the directory to watch.
3914
cb6c95a3
GM
39152013-11-27 Glenn Morris <rgm@gnu.org>
3916
20372d0c
GM
3917 Make bootstrap without generated uni-*.el files possible again.
3918 * loadup.el: Update command-line-args checking for unidata-gen.
3919 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3920 * composite.el, international/characters.el:
3921 Handle unicode tables being undefined.
3922
52d6635f 3923 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3924 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3925 (compile-main): Depend on leim rule.
3926 (leim): New rule.
3927 * loadup.el: Move leim-list.el to leim/ subdirectory.
3928 * startup.el (normal-top-level): No more leim directory.
3929 * international/ja-dic-cnv.el (skkdic-convert):
3930 Disable version-control and autoloads in output files.
3931 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3932 Disable version-control and autoloads in output files.
3933 * leim/quail: Move here from ../leim.
3934 * leim/quail/hangul.el (hangul-input-method-activate):
3935 Add autoload cookie.
3936 (generated-autoload-load-name): Set file-local value.
3937 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3938 (generated-autoload-load-name): Set file-local value.
3939
7514d3f8 39402013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3941
e0eb0550 3942 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3943 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3944 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3945
0e2c793f
EZ
39462013-11-26 Eli Zaretskii <eliz@gnu.org>
3947
3948 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3949 reading output from Diff on MS-Windows and MS-DOS.
3950
447bdcb8
BB
39512013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3952
3953 * emacs-lisp/helpers.el (string-reverse): New function.
3954
5fbf6856
MA
39552013-11-26 Michael Albinus <michael.albinus@gmx.de>
3956
3957 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3958 names on MS Windows, like "/[::1]:".
3959
3960 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3961 SWITCHES.
3962
624780f0
GM
39632013-11-26 Glenn Morris <rgm@gnu.org>
3964
0bf3f0fa
GM
3965 * progmodes/python.el (python-indent-guess-indent-offset):
3966 Avoid corner-case error. (Bug#15975)
3967
624780f0
GM
3968 Preload leim-list.el. (Bug#4789)
3969 * loadup.el: Load leim-list.el when found.
3970 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3971
4301875e 39722013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3973
3974 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3975
4301875e
BB
3976 * emacs-lisp/helpers.el (string-join): New function.
3977
1633a815 39782013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3979
3980 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3981 Mark as obsolete and replace it with a symbol property.
3982 (byte-compile-form): Use new 'interactive-only property.
3983 * comint.el, files.el, replace.el, simple.el:
3984 Apply new 'interactive-only properly.
3985
00139435
MR
39862013-11-25 Martin Rudalics <rudalics@gmx.at>
3987
3988 * window.el (display-buffer-at-bottom): Make sure that
3989 split-window-sensibly creates the new window on bottom
3990 (Bug#15961).
3991
5f5b128d
DK
39922013-11-23 David Kastrup <dak@gnu.org>
3993
3994 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3995 on the conflict markers when available.
3996 (smerge--get-marker): New function.
3997 (smerge-end-re, smerge-base-re): Add subgroup.
3998
623891e5
SM
39992013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * frame.el (handle-focus-in, handle-focus-out): Add missing
4002 interactive spec.
4003
05ca27d8
MA
40042013-11-25 Michael Albinus <michael.albinus@gmx.de>
4005
4006 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4007 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4008
511fa0d3
SM
40092013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4010
e82ad66c
SM
4011 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4012 (gomoku--last-pos): New var.
4013 (gomoku--intangible-chars): New const.
4014 (gomoku--intangible): New function.
4015 (gomoku-mode): Use it. Derive from special-mode.
4016 (gomoku-move-up): Adjust line count.
4017 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4018 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4019 Simplify accordingly.
4020
511fa0d3
SM
4021 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4022 Remove blink-cursor code.
4023 (blink-cursor-timer-function, blink-cursor-suspend):
4024 Don't special-case GUIs.
4025 (blink-cursor-mode): Use focus-in/out-hook.
4026
6f20dd03
DG
40272013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4028
4029 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4030 work when annotation is invisible (Bug#13886).
4031
431dec31 40322013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4033
4034 * json.el (json-alist-p): Only return non-nil if the alist has
4035 simple keys (Bug#13518).
4036
431dec31 40372013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4038
4039 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4040 when control-statement is the first statement in a buffer (Bug#15956).
4041
ee4f0261
DG
40422013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4043
4044 * imenu.el (imenu-generic-skip-comments-and-strings):
4045 New option (Bug#15560).
4046 (imenu--generic-function): Use it.
4047
c484f866
JS
40482013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4049
e9dc713d
JB
4050 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4051 (Bug#13898)
c484f866 4052
41ce6f70
BB
40532013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4054
b55aea38
BB
4055 * emacs-lisp/helpers.el: Add some string helpers.
4056 (string-trim-left): Removes leading whitespace.
4057 (string-trim-right): Removes trailing whitespace.
4058 (string-trim): Removes leading and trailing whitespace.
4059
41ce6f70
BB
4060 * subr.el (string-suffix-p): New function.
4061
3cfb6af3
GM
40622013-11-23 Glenn Morris <rgm@gnu.org>
4063
4064 * progmodes/python.el (python-shell-send-file):
4065 Add option to delete file when done. (Bug#15647)
4066 (python-shell-send-string, python-shell-send-region): Use it.
4067
c27924b7
IS
40682013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4069
e1b01c7f
IS
4070 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4071 to set buffer-read-only to t, never to nil. (Bug#15938)
4072
c27924b7
IS
4073 * textmodes/tex-mode.el (latex-noindent-environments):
4074 Add safe-local-variable property. (Bug#15936)
4075
17e0445b
GM
40762013-11-23 Glenn Morris <rgm@gnu.org>
4077
92f78ea3
GM
4078 * textmodes/enriched.el (enriched-mode): Doc fix.
4079 * emacs-lisp/authors.el (authors-renamed-files-alist):
4080 Add enriched.doc -> enriched.txt.
4081
17e0445b
GM
4082 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4083
965bb23a
LL
40842013-11-22 Leo Liu <sdl.web@gmail.com>
4085
4086 * progmodes/octave.el (inferior-octave-startup): Spit out error
4087 message.
4088
d19ffd64
BB
40892013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4090
4091 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4092 Improve docstring.
15ba2182
BB
4093 Add :version.
4094 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4095
7a7567d2
LL
40962013-11-22 Leo Liu <sdl.web@gmail.com>
4097
4098 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4099 (Bug#15076)
8c09f64b
LL
4100 (octave-help-mode): Adapt to change to help-mode-finish to use
4101 derived-mode-p on 2013-09-17.
4102 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4103 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4104
724bc265
LL
41052013-11-22 Leo Liu <sdl.web@gmail.com>
4106
4107 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4108 (inferior-octave-startup, inferior-octave-check-process)
4109 (inferior-octave-track-window-width-change)
4110 (octave-completion-at-point, octave-eldoc-function): Use it.
4111 (octave-kill-process): Provide confirmation. (Bug#10564)
4112
38637cca
LL
41132013-11-21 Leo Liu <sdl.web@gmail.com>
4114
511fa0d3
SM
4115 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4116 Fix obsolete variable comment-use-global-state.
38637cca 4117
06e752b4
RS
41182013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4119
511fa0d3
SM
4120 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4121 Add `octave-source-file'.
06e752b4
RS
4122 (octave-source-file): New function. (Bug#15935)
4123
7514d3f8 41242013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4125
4126 * net/eww.el (eww-local-regex): New variable.
4127 (eww): Use it to detect localhost and similar.
4128
b6ffa04a
LL
41292013-11-21 Leo Liu <sdl.web@gmail.com>
4130
4131 Add completion for command `ag'.
2021a200
LL
4132 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4133 (pcomplete/ag): New function.
e9dc713d 4134 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4135
d1a6bccc
SM
41362013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4139 (bug#14646).
4140 (make-obsolete): Remove interactive spec.
4141
2df10228
GM
41422013-11-21 Glenn Morris <rgm@gnu.org>
4143
4144 * startup.el (command-line-1): Use path-separator with -L.
4145
86fd16b6
TZ
41462013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4147
4148 * emacs-lisp/package.el (describe-package-1): Add package archive
4149 to shown fields.
4150
0449d6cd 41512013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4152
4153 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4154 Change default to "# encoding: %s" to differentiate it from the
4155 default Ruby encoding comment template.
4156
dc7e8c17 41572013-11-20 era eriksson <era+emacsbugs@iki.fi>
4158
4159 * ses.el (ses-mode): Doc fix. (Bug#14748)
4160
f0cfa5fe
LL
41612013-11-20 Leo Liu <sdl.web@gmail.com>
4162
4163 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4164
826dc7b6
DN
41652013-11-19 Dan Nicolaescu <dann@gnu.org>
4166
4167 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4168 when rebase or bisect are in progress.
4169
a6e3a5d5
XF
41702013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4171
4172 * filenotify.el (file-notify-add-watch): Doc fix.
4173
f130cb76
LL
41742013-11-19 Leo Liu <sdl.web@gmail.com>
4175
e0855d7d
LL
4176 * obsolete/rcompile.el: Mark obsolete.
4177
f130cb76 4178 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4179 (compilation-goto-locus, compilation-find-file):
4180 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4181 (Bug#13594)
4182
4183 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4184 new parameter no-display-ok. Return either a window or nil
4185 but never a non-window value.
f130cb76 4186
1f35d401
SM
41872013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4188
25158c76
SM
4189 * electric.el (electric-indent-mode-map): Remove.
4190 (electric-indent-mode): Change the global-map instead (bug#15915).
4191
4192 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4193 Use add-function.
1f35d401 4194
9bc67baa
SM
41952013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4196
986545b5
SM
4197 * emacs-lisp/nadvice.el (remove-function): Align with
4198 add-function's behavior.
4199
9bc67baa
SM
4200 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4201 (gdb--string-regexp): New constant.
4202 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4203 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4204 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4205 submatch 1.
4206 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4207 Adjust use accordingly.
4208 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4209
56cd894e
AS
42102013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4211
4212 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4213 interpolation curlies (Bug#15914).
4214
014690de
JB
42152013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4216
4217 * calc/calc.el (calc-context-sensitive-enter): New variable.
4218 (calc-enter): Use `calc-context-sensitive-enter'.
4219
7e26a6c3
TZ
42202013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4221
4222 * progmodes/cfengine.el: Version bump.
4223 (cfengine-cf-promises): New defcustom to locate cf-promises.
4224 (cfengine3-vartypes): Add new "data" type.
4225 (cfengine3--current-word): New function to get current name-like
4226 word or its bounds.
4227 (cfengine3--current-function): New function to look up a CFEngine
4228 function's definition.
4229 (cfengine3-format-function-docstring): New function.
4230 (cfengine3-make-syntax-cache): New function.
4231 (cfengine3-documentation-function): New function: ElDoc glue.
4232 (cfengine3-completion-function): New function: completion glue.
4233 (cfengine3-mode): Set `compile-command',
4234 `eldoc-documentation-function', and add to
4235 `completion-at-point-functions'.
4236
355204dd
MA
42372013-11-16 Michael Albinus <michael.albinus@gmx.de>
4238
4239 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4240 `tramp-current-connection'.
4241
43cebc23
DG
42422013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4243
4244 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4245 nil/self/true/false with "end of symbol".
4246
a3fed6ff
BB
42472013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4248
4249 * subr.el (version-regexp-alist): Fix a typo.
4250
e675b3e4
MA
42512013-11-15 Michael Albinus <michael.albinus@gmx.de>
4252
4253 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4254 "en_US.utf8" and "LC_CTYPE" to "".
4255 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4256 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4257
a1f03e89
LL
42582013-11-15 Leo Liu <sdl.web@gmail.com>
4259
4260 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4261
5d9d9451
SM
42622013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4263
58362662
CS
4264 * progmodes/gud.el (ctl-x-map):
4265 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4266 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4267
6c1bf086
BB
42682013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4269
0d5363c4
BB
4270 * subr.el (version-regexp-alist):
4271 Recognize hg, svn and darcs versions as snapshot versions.
4272
4e9fc48c
BB
4273 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4274 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4275 (ruby--encoding-comment-required-p): Extract from
4276 `ruby-mode-set-encoding'.
4277 (ruby-mode-set-encoding): Add the ability to always insert an
4278 utf-8 encoding comment. Fix and simplify coding comment update
4279 logic.
6c1bf086 4280
2f7e72f8
MA
42812013-11-14 Michael Albinus <michael.albinus@gmx.de>
4282
4283 * net/tramp-gvfs.el (top): Run init code only when
4284 `tramp-gvfs-enabled' is not nil.
4285 (tramp-gvfs-enabled): Check also :system bus.
4286
0f137a73
SM
42872013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4288
4289 Sync with upstream verilog-mode revision 78e66ba.
4290 * progmodes/verilog-mode.el (verilog-end-of-defun)
4291 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4292 (verilog-get-end-of-defun): Remove unused argument.
4293 (verilog-comment-depth): Remove unused local `e'.
4294 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4295 Don't pass arg to verilog-get-end-of-defun.
4296
1c276bdd
GM
42972013-11-14 Glenn Morris <rgm@gnu.org>
4298
4299 * obsolete/assoc.el (aget): Prefix dynamic variable.
4300
4301 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4302
ff6ec81d
SM
43032013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * widget.el, hfy-cmap.el: Remove bogus package version number.
4306
75f777b6
GM
43072013-11-13 Glenn Morris <rgm@gnu.org>
4308
1d43dba1
GM
4309 * replace.el (replace-eval-replacement):
4310 Try to give more helpful error message. (Bug#15836)
4311
ff4b7bd5
GM
4312 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4313 (archive-7z-update): Avoid custom type mismatches.
4314
75f777b6
GM
4315 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4316
11151a06
MA
43172013-11-13 Michael Albinus <michael.albinus@gmx.de>
4318
e675b3e4 4319 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4320 address can be empty.
4321
4322 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4323 Accept nil SWITCHES.
4324 (tramp-gvfs-handle-write-region): Implement APPEND.
4325
7b08f97e
DG
43262013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4327
4328 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4329 binary "|" operator and closing block args delimiter.
4330 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4331 (ruby-smie--implicit-semi-p): Not after "|" operator.
4332 (ruby-smie--closing-pipe-p): New function.
4333 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4334 (ruby-smie-rules): Indent after "|".
4335
f201cf3a
GM
43362013-11-12 Glenn Morris <rgm@gnu.org>
4337
4338 * ps-print.el (ps-face-attribute-list):
4339 Handle anonymous faces. (Bug#15827)
4340
e6f759f9
MR
43412013-11-12 Martin Rudalics <rudalics@gmx.at>
4342
4343 * window.el (display-buffer-other-frame): Fix doc-string.
4344 (Bug#15868)
4345
ecda65d4
SM
43462013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4349
7ce8fcc3
MA
43502013-11-11 Michael Albinus <michael.albinus@gmx.de>
4351
4352 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4353 (tramp-sh-handle-file-local-copy): Don't write a message when
4354 saving temporary files.
4355
4356 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4357 both directories are remote.
4358 (tramp-smb-handle-directory-files): Do not return double entries.
4359 Do not expand full file names.
4360 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4361 (tramp-smb-handle-write-region): Implement APPEND.
4362 (tramp-smb-get-stat-capability): Fix a stupid bug.
4363
7818df11
SM
43642013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4367
608c2085
NT
43682013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4369
4370 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4371 throwing error over malformed let/let* (bug#15814).
4372
122a7e46
SM
43732013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * iswitchb.el (iswitchb-mode): Mark obsolete.
4376
766284d9
GM
43772013-11-11 Glenn Morris <rgm@gnu.org>
4378
4379 * international/uni-bidi.el, international/uni-category.el:
4380 * international/uni-name.el, international/uni-numeric.el:
4381 Regenerate for Unicode 6.3.0.
4382
7072a4e9
MA
43832013-11-10 Michael Albinus <michael.albinus@gmx.de>
4384
4385 * net/tramp.el (tramp-methods):
4386 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4387 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4388
c9df215b
AS
43892013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4390
608c2085
NT
4391 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4392 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4393
fa47d796
DG
43942013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4395
4396 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4397 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4398 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4399 (ispell-complete-word): Call `ispell-lookup-words' with the value
4400 independent of `ispell-look-p'.
4401
1629a329
DG
44022013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4403
4404 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4405 Not after "||".
4406 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4407 their parent.
4408
ad16897c
SM
44092013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4412 (ruby-font-lock-keywords): Use backquote.
4413
ffa2df72
DG
44142013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4415
4416 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4417 (ruby-smie--backward-token): Only consider full-string matches.
4418
5b97b4c0
JD
44192013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4420
4421 * faces.el (describe-face): Add distant-foreground.
4422
71731c03
BB
44232013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4424
4e9fc48c
BB
4425 * progmodes/ruby-mode.el: Improve encoding comment handling.
4426 (ruby-encoding-magic-comment-style): New option.
4427 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4428 (ruby--insert-coding-comment, ruby--detect-encoding):
4429 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4430 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4431 to control the style of the auto-inserted encoding comment.
71731c03 4432
da3b328d
DG
44332013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4434
ad16897c
SM
4435 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4436 Use `smie-backward-sexp' with token argument.
da3b328d 4437
1606c2d3
MA
44382013-11-08 Michael Albinus <michael.albinus@gmx.de>
4439
4440 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4441 Remove instrumentation code.
4442
b0f4c320
GM
44432013-11-08 Glenn Morris <rgm@gnu.org>
4444
4445 * progmodes/autoconf.el (autoconf-mode):
4446 Tweak comment-start-skip. (Bug#15822)
4447
43668fb1
SM
44482013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4451 at bobp (bug#15826).
4452 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4453
daddb3fd
DH
44542013-11-08 Darren Hoo <darren.hoo@gmail.com>
4455
4456 * man.el (Man-start-calling): New macro, extracted from
4457 Man-getpage-in-background.
4458 (Man-getpage-in-background): Use it.
4459 (Man-update-manpage): New command.
4460 (Man-mode-map): Bind it.
4461
1f923923
DG
44622013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4463
4464 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4465 of "and", "or", "&&" and "||".
4466 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4467 argument. Prohibit opening curly brace because it could only be a
4468 block opener in that position.
daddb3fd
DH
4469 (ruby-smie--forward-token, ruby-smie--backward-token):
4470 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4471 arguments.
4472 (ruby-smie--indent-to-stmt): New function, seeks the end of
4473 previous statement or beginning of buffer.
4474 (ruby-smie-rules): Use it.
4475 (ruby-smie-rules): Check if there's a ":" before a curly block
4476 opener candidate; if there is, it's a hash.
4477
3220d527
SM
44782013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4481 (cl--block-wrapper): Fix last accidental change.
4482
1eb1f9e0
MA
44832013-11-07 Michael Albinus <michael.albinus@gmx.de>
4484
4485 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4486 Instrument, in order to hunt failure on hydra.
4487
e6e4db3c
NT
44882013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4489
4490 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4491 malformed bindings form (bug#15814).
4492
b420ccfc
DG
44932013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4494
4495 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4496 "." compared to " @ ". This incidentally fixes some indentation
4497 examples with "do".
e6e4db3c 4498 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4499 (ruby-smie-grammar): New tokens: "and" and "or".
4500 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4501 Exclude "and" and "or". Remove "do" in order to work around token
4502 priorities.
4503 (ruby-smie-rules): Add all infix tokens. Handle the case of
4504 beginning-of-buffer.
b420ccfc 4505
6b4ac03e
GM
45062013-11-06 Glenn Morris <rgm@gnu.org>
4507
4508 * Makefile.in (setwins_almost, setwins_for_subdirs):
4509 Avoid accidental matches.
4510
5ca114d1
SM
45112013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4512
4513 * menu-bar.el (popup-menu): Use key-binding.
4514
f72552bd
EZ
45152013-11-06 Eli Zaretskii <eliz@gnu.org>
4516
4517 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4518 menus, support also the menus produced by minor modes.
4519 (Bug#15817)
4520
5d5c701e
LL
45212013-11-06 Leo Liu <sdl.web@gmail.com>
4522
4523 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4524 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4525
0a8b75e2
GM
45262013-11-06 Glenn Morris <rgm@gnu.org>
4527
4528 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4529 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4530 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4531
a35287ea
SM
45322013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4533
feca4e2d
SM
4534 * electric.el (electric-indent-just-newline): New command.
4535 (electric-indent-mode-map): New keymap.
4536 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4537 Re-add :group which weren't redundant.
4538
a35287ea
SM
4539 * electric.el (electric-indent-local-mode): New minor mode.
4540 (electric-indent-functions-without-reindent): New var.
4541 (electric-indent-post-self-insert-function): Use it.
4542 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4543
375761b2
EZ
45442013-11-05 Eli Zaretskii <eliz@gnu.org>
4545
9a6ad735
EZ
4546 * international/quail.el (quail-help): Be more explicit about the
4547 meaning of the labels shown on the keys. (Bug#15800)
4548
375761b2
EZ
4549 * startup.el (normal-top-level): Load the subdirs.el files before
4550 setting the locale environment. (Bug#15805)
4551
520a6e4a
SM
45522013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4553
0acfafef
SM
4554 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4555 via arguments so as to get the right ones (bug#15418).
4556
520a6e4a
SM
4557 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4558
15826261
MA
45592013-11-05 Michael Albinus <michael.albinus@gmx.de>
4560
4561 Fix problems found while writing a test suite.
4562
4563 * net/tramp-compat.el (tramp-compat-load): New defun.
4564 * net/tramp.el (tramp-handle-load): Use it.
4565
4566 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4567 "(numberp ok-if-already-exists)" correctly.
4568
d35f31a4
XF
45692013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4570
4571 * international/characters.el (glyphless-char-display-control):
4572 Add usage note.
4573
ae93bc74
BB
45742013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4575
520a6e4a
SM
4576 * progmodes/python.el (python-mode):
4577 * progmodes/scheme.el (scheme-mode):
4578 * progmodes/prolog.el (prolog-mode):
4579 * progmodes/ruby-mode.el (ruby-mode):
4580 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4581 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4582
0ade65b5
SM
45832013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4584
a0d5f7a4
SM
4585 * rect.el (rectangle--highlight-for-redisplay):
4586 * emacs-lisp/smie.el (smie--next-indent-change):
4587 Use buffer-chars-modified-tick.
4588
c93f3f5c
SM
4589 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4590
0ade65b5
SM
4591 * electric.el (electric-indent-post-self-insert-function):
4592 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4593
ef9dd188
HE
45942013-11-04 Helmut Eller <eller.helmut@gmail.com>
4595
4596 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4597
306e7308
NT
45982013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4599
4600 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4601 (bug#15786).
4602
e5afbcac
SM
46032013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4604
1d01ad41
SM
4605 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4606
e5afbcac
SM
4607 * progmodes/python.el: Fix up last change.
4608 (python-shell--save-temp-file): New function.
4609 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4610 `string' comes from the current buffer.
4611 (python-shell-send-string-no-output): Remove `msg' arg.
4612 (python--use-fake-loc): New var.
4613 (python-shell-buffer-substring): Obey it. Try to compensate for the
4614 extra coding line added by python-shell--save-temp-file.
4615 (python-shell-send-region): Use python-shell--save-temp-file and
4616 python-shell-send-file directly. Add `nomain' argument.
4617 (python-shell-send-buffer): Use python-shell-send-region.
4618 (python-electric-pair-string-delimiter): New function.
4619 (python-mode): Use it.
4620
d0065ff1
EZ
46212013-11-04 Eli Zaretskii <eliz@gnu.org>
4622
4623 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4624 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4625 environment and decoding all of the default-directory's to here
4626 from command-line.
4627 (command-line): Decode also argv[0].
4628
4629 * loadup.el: Error out if default-directory is a multibyte string
4630 when we are dumping.
4631
4632 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4633
7397c587
TZ
46342013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4635
4636 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4637 (package-menu--print-info, package-menu--archive-predicate):
4638 Add Archive column to package list.
7397c587 4639
b27cc9fc
MA
46402013-11-04 Michael Albinus <michael.albinus@gmx.de>
4641
4642 Fix problems found while writing a test suite.
4643
4644 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4645 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4646 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4647 to nil when running original file name handler. Otherwise,
4648 there are problems with constructs like "$$FOO".
4649
4650 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4651 for `localname'.
4652
d8c4f18a
BB
46532013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4654
7b530552
BB
4655 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4656
4657 * subr.el (version<, version<=, version=):
4658 Update docstrings with information for snapshot versions.
4659
d8c4f18a
BB
4660 * helpers.el: New library for misc helper functions.
4661 (hash-table-keys): New function returning a list of hash keys.
4662 (hash-table-values): New function returning a list of hash values.
4663
dca01b09
DG
46642013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4665
4666 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4667 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4668
0a749fa0
MN
46692013-11-04 Michal Nazarewicz <mina86@mina86.com>
4670
4671 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4672 checking whether point is after a 1-letter word.
4673
46742013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4675
4676 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4677 Don't infloop when expanding region over `multiline' syntax-type that
4678 begins a line (bug#15778).
4679
4aca7145
SM
46802013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4683 Make it into a proper minor mode.
4684 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4685 (rectangle-mark-mode-map): New keymap.
4686 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4687
a0833f62
GM
46882013-11-04 Glenn Morris <rgm@gnu.org>
4689
4690 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4691
e61845c1
SM
46922013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4695 (ruby-smie-rules): Use smie-rule-parent instead.
4696
4697 * emacs-lisp/smie.el (smie-rule-parent): Always call
4698 smie-indent-virtual rather than only for hanging tokens.
4699 (smie--next-indent-change): New helper command.
4700
62942f89
GM
47012013-11-03 Glenn Morris <rgm@gnu.org>
4702
4703 * Makefile.in (abs_srcdir): Remove.
4704 (emacs): Unset EMACSLOADPATH.
4705
b0b9e592
GM
47062013-11-02 Glenn Morris <rgm@gnu.org>
4707
18ba6a33 4708 * Makefile.in (EMACS): Use a relative filename.
8061810d 4709 (abs_top_builddir): Remove.
18ba6a33
GM
4710 (custom-deps, finder-data, autoloads): Use --chdir.
4711
6a8b929e
GM
4712 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4713
c617f3d0
GM
4714 Use relative filenames in TAGS files.
4715 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4716 (lisptagsfiles4, TAGS): Use relative file names.
4717 (TAGS-LISP): Remove.
4718 (maintainer-clean): No more TAGS-LISP file.
4719
b0b9e592
GM
4720 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4721 (lisptagsfiles4): Use absolute filenames again.
4722 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4723 Remove all *loaddefs files, not just the first. Remove esh-groups.
4724 (maintainer-clean): Delete TAGS, TAGS-LISP.
4725
d1c0ea6a
BB
47262013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4727
e61845c1
SM
4728 * emacs-lisp/package.el (package-version-join):
4729 Recognize snapshot versions.
d1c0ea6a 4730
684d71c6
BB
47312013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4732
4733 * subr.el (version-regexp-alist): Add support for snapshot versions.
4734
3d42b968
DG
47352013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4736
e61845c1
SM
4737 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4738 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4739 skip over our direct parent if it's an assignment token..
4740 (ruby-smie-rules): Use it.
4741
7ffd3721
DG
47422013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4743
8449dd1f 4744 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4745 unconditionally. Remove now unnecessary forward declarations.
4746 Remove XEmacs-specific setup.
4747 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4748 (ruby-font-lock-syntactic-keywords)
4749 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4750 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4751 (ruby-here-doc-end-syntax): Remove.
4752 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4753 defined as function.
4754
a3996a2e
BB
47552013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4756
4757 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4758
6f9260e8
BB
47592013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4760
4761 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4762 table and abbrev table, `define-derived-mode' does that for us
4763 anyway.
4764
6014de84
GM
47652013-11-01 Glenn Morris <rgm@gnu.org>
4766
4767 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4768 files is atomic for some time, so no parallel compilation issues).
4769
3c334c14
JD
47702013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4771
4772 * faces.el (face-x-resources): Add :distant-foreground.
4773 (region): Use :distant-foreground for gtk and ns.
4774
9bc236c8
TH
47752013-11-01 Tassilo Horn <tsdh@gnu.org>
4776
5246583b 4777 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4778 BibTeX.
4779 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4780 (reftex-locate-bibliography-files): Us it.
4781
d14c81ee
CB
47822013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4783
0e7690de
CB
4784 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4785 allow comments in pbm files.
4786
d14c81ee
CB
4787 * term/w32-win.el (dynamic-library-alist): Support newer versions
4788 of libjpeg starting with v7: look only for the DLL from the
4789 version against which Emacs was built.
ac1bf374 4790 Support versions of libpng beyond 1.4.x.
019c8218 4791 Support libtiff v4.x.
d14c81ee 4792
983d0df5
BB
47932013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4794
4795 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4796 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4797 Add property :safe.
4798 (ruby-deep-arglist): Add property :type.
4799
47f58d85
GM
48002013-10-31 Glenn Morris <rgm@gnu.org>
4801
4802 * Makefile.in (custom-deps, finder-data): No need to setq the target
4803 variables, we are in the right directory and the defaults work fine.
4804
4f85b479
GM
48052013-10-30 Glenn Morris <rgm@gnu.org>
4806
ca7dd4cd
GM
4807 * Makefile.in (autoloads): Do not use abs_lisp.
4808
4f85b479
GM
4809 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4810 `newline' does not respect `standard-output', so use `princ'.
4811
cf59e41c
AA
48122013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4813
4814 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4815 * buff-menu.el (Buffer-menu--unmark): New function.
4816 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4817
74cf04fb
GM
48182013-10-30 Glenn Morris <rgm@gnu.org>
4819
b040b60e
GM
4820 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4821
f53d3815
GM
4822 * emacs-lisp/package.el (lm-homepage): Declare.
4823
5413d873
GM
4824 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4825 Fix doc typos.
4826
cecedb36
GM
4827 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4828
74cf04fb
GM
4829 * Makefile.in (finder-data, autoloads, update-subdirs)
4830 (compile-main, compile-clean, compile-always, bootstrap-clean):
4831 Check return value of cd.
4832 (compile-calc): Remove.
4833
195ee2f0
SM
48342013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4835
ae4002ce
SM
4836 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4837
4838 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4839 (byte-compile-and-folded): New function.
4840 (=, <, >, <=, >=): Use it.
4841
4842 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4843 (path-separator, null-device, buffer-file-coding-system)
4844 (lpr-headers-switches): Check system-type before modifying them.
4845 (find-buffer-file-type-coding-system): Mark obsolete.
4846 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4847 find-file-not-found-set-buffer-file-coding-system.
35e951cd 4848 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 4849 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 4850 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
4851 (w32-direct-print-region-helper, w32-direct-print-region-function)
4852 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4853 * startup.el (normal-top-level-add-subdirs-to-load-path):
4854 * ps-print.el (ps-print-region-function):
4855 * lpr.el (print-region-function): Use new name.
4856
53b39e89
SM
4857 * subr.el (custom-declare-variable-early): Remove function.
4858 (custom-declare-variable-list): Remove var.
4859 (error, user-error): Remove `while' loop.
4860 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4861 (user-emacs-directory-warning, locate-user-emacs-file):
4862 Move to files.el.
4863 * simple.el (read-quoted-char-radix, read-quoted-char):
4864 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4865 Move from subr.el.
4866 * custom.el (custom-declare-variable-list): Don't process
4867 custom-declare-variable-list.
4868
195ee2f0
SM
4869 * progmodes/python.el (python-shell-get-buffer): New function.
4870 (python-shell-get-process): Use it.
4871 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4872 Python which encoding was used. Don't split-string since we only care
4873 about the first line. Return the temp-file, if applicable.
4874 (python-shell-send-region): Tell compile.el how to turn locations in
4875 the temp-file into locations in the source buffer.
4876
7e3561ee
SM
48772013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4c9797cb
SM
4879 * subr.el (undefined): Add missing behavior from the C code for
4880 unbound keys.
4881
3472b6c6
SM
4882 * rect.el: Use lexical-binding. Add new rectangular region support.
4883 (rectangle-mark): New command.
4884 (rectangle--region): New var.
4885 (deactivate-mark-hook): Reset rectangle--region.
4886 (rectangle--extract-region, rectangle--insert-for-yank)
4887 (rectangle--highlight-for-redisplay)
4888 (rectangle--unhighlight-for-redisplay): New functions.
4889 (region-extract-function, redisplay-unhighlight-region-function)
4890 (redisplay-highlight-region-function): Use them to handle
4891 rectangular region.
4892 * simple.el (region-extract-function): New var.
4893 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4894 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4895 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4896 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4897 (redisplay-unhighlight-region-function)
4898 (redisplay-highlight-region-function): New vars.
4899 (redisplay--update-region-highlight): New function.
4900 (pre-redisplay-function): Use it.
4901 (exchange-point-and-mark): Don't deactivate the mark before
4902 reactivate-it anyway.
4903 * comint.el (comint-kill-region): Remove yank-handler argument.
4904 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4905 (delete-char): Remove property, since it's now part of their
4906 default behavior.
4907 (self-insert-iso): Remove property since this command doesn't exist.
4908
7e3561ee
SM
4909 * emacs-lisp/package.el (package--download-one-archive)
4910 (describe-package-1): Don't query the user about final newline.
4911
b9bef71f
DC
49122013-10-29 Daniel Colascione <dancol@dancol.org>
4913
4914 * net/tramp.el (tramp-methods): Document new functionality.
4915 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4916 tramp-hostname-checker if method provides one instead of scanning
4917 argument list for "%h" to decide hostname acceptability.
4918
4efc33f0
MA
49192013-10-28 Michael Albinus <michael.albinus@gmx.de>
4920
4921 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4922 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4923 Handle COPY-CONTENTS. (Bug#15737)
4924
ed42a877
DU
49252013-10-28 Daiki Ueno <ueno@gnu.org>
4926
4927 * epa-file.el
7e3561ee
SM
4928 (epa-file-cache-passphrase-for-symmetric-encryption):
4929 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4930
18c9f8a2
XF
49312013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4932
35e951cd 4933 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 4934
b1e8e010
AM
49352013-10-27 Alan Mackenzie <acm@muc.de>
4936
4937 Indent statements in macros following "##" correctly.
7e3561ee
SM
4938 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4939 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4940
73d40d1e 49412013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4942
4943 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4944
c8c605ac
DG
49452013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4946
4947 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4948 after `=' is probably a new expression.
4949
ca7e59d4
RS
49502013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4951
4952 * man.el (man-imenu-title): New option.
4953 (Man-mode-map): Add menu. (Bug#15722)
4954 (Man-mode): Add imenu to menu.
4955
bae91342
DG
49562013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4957
4958 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4959 specific in what the first arg can be: a non-keyword word,
4960 string/regexp/percent literal opener, opening paren, or unary
4961 operator followed directly by word.
4962
eb89dc14
SM
49632013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4966 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4967 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4968 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4969 Remove vars, they do not apply any more.
4970 (prolog-mode-abbrev-table): Remove redundant declaration.
4971 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4972 (prolog-use-smie): Remove.
4973 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4974 supported by prolog-electric-if-then-else-flag.
4975 (prolog-mode-variables, prolog-menu): Use setq-local.
4976 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4977 Remove binding to `Backspace' since this key doesn't exist anyway.
4978 Remove bindings for electric self-inserting keys.
4979 (prog-mode): Assume it's defined.
4980 (prolog-post-self-insert): New function.
4981 (prolog-mode): Use it.
4982 (prolog-indent-line, prolog-indent-level)
4983 (prolog-find-indent-of-matching-paren)
4984 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4985 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4986 (prolog-goto-next-paren, prolog-in-string-or-comment)
4987 (prolog-tokenize, prolog-inside-mline-comment)
4988 (prolog-find-start-of-mline-comment): Remove functions.
4989 (prolog-find-unmatched-paren, prolog-clause-end)
4990 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4991 (prolog-electric--if-then-else): Rename from
4992 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4993 (prolog-tokenize-searchkey): Remove const.
4994 (prolog-clause-info): Use forward-sexp.
4995 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4996 (prolog-electric-if-then-else): Remove commands.
4997 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4998 for use in post-self-insert-hook.
4999 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5000 for use in post-self-insert-hook.
5001 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5002 for use in post-self-insert-hook.
5003 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5004 adapt it for use in post-self-insert-hook.
5005
3dab0a83
MA
50062013-10-25 Michael Albinus <michael.albinus@gmx.de>
5007
5008 * emacs-lisp/ert.el (ert-run-tests-interactively):
5009 Use `completing-read'. (Bug#9756)
5010
fbfd0e1d
EZ
50112013-10-25 Eli Zaretskii <eliz@gnu.org>
5012
5013 * simple.el (line-move): Call line-move-1 instead of
5014 line-move-visual when the current window hscroll is zero, but
5015 temporary-goal-column indicates we will need to hscroll as result
5016 of the movement. (Bug#15712)
5017
963ce636
DG
50182013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5019
5020 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5021 capitalization. Use :visible instead of :active.
5022 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5023 commands that are used with SMIE.
5024 (ruby-do-end-to-brace): Insert space after `{'.
5025
a0be396a
JA
50262013-10-25 John Anthony <john@jo.hnanthony.com>
5027
f73754c9
JA
5028 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5029
5030 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5031
f5bf77df
GM
50322013-10-25 Glenn Morris <rgm@gnu.org>
5033
5034 * vc/vc.el (vc-print-log): Don't use a working revision unless
5035 one was explicitly specified. (Bug#15322)
5036
37241f62
SM
50372013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * subr.el (add-to-list): Preserve return value in compiler-macro
5040 (bug#15692).
5041
6408a65d
RS
50422013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5043
5044 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5045 result. Ask user to retry using '-all' flag. (Bug#15701)
5046
71e3276b
SM
50472013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5048
5049 * emacs-lisp/smie.el: New smie-config system.
5050 (smie-config): New defcustom.
5051 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5052 (smie-config-guess, smie-config-save): New commands.
5053 (smie-config--mode-local, smie-config--buffer-local)
5054 (smie-config--trace, smie-config--modefuns): New vars.
5055 (smie-config--advice, smie-config--mode-hook)
5056 (smie-config--setter, smie-config-local, smie-config--get-trace)
5057 (smie-config--guess-value, smie-config--guess): New functions.
5058 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5059 text properties. Treat "string fence" syntax like string syntax.
5060
5061 * progmodes/sh-script.el (sh-use-smie): Change default.
5062 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5063 (sh-var-value): Simplify by CSE.
5064 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5065 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5066 is used.
5067 (sh-guess-basic-offset): Use cl-incf.
5068 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5069
60db713e
HE
50702013-10-24 Helmut Eller <eller.helmut@gmail.com>
5071
5072 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5073 (bug#15699).
5074
8b251df6
GM
50752013-10-24 Glenn Morris <rgm@gnu.org>
5076
5077 * Makefile.in (abs_top_srcdir): Remove.
5078 (update-subdirs): Use relative path to update-subdirs.
5079
6be0e22b
EZ
50802013-10-24 Eli Zaretskii <eliz@gnu.org>
5081
5082 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5083 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5084 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5085 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5086
50b5b857
MA
50872013-10-24 Michael Albinus <michael.albinus@gmx.de>
5088
5089 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5090 (ert-test-skipped): New error.
5091 (ert-skip, ert-stats-skipped): New defuns.
5092 (ert--skip-unless): New macro.
5093 (ert-test-skipped): New struct.
5094 (ert--run-test-debugger, ert-test-result-type-p)
5095 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5096 (ert--stats-set-test-and-result, ert-char-for-test-result)
5097 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5098 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5099 Handle skipped tests. (Bug#9803)
50b5b857 5100
6f317c2f
GM
51012013-10-24 Glenn Morris <rgm@gnu.org>
5102
e43817c1
GM
5103 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5104
6f317c2f
GM
5105 * Makefile.in (abs_top_srcdir): New, set by configure.
5106 (update-subdirs): Correct build-aux location.
5107
369bbf71
DG
51082013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5109
8297b2cf
DG
5110 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5111 value, whether we could auto-deduce `backend', or not.
5112
369bbf71
DG
5113 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5114 with parameters" example. Simplify the "is it block or is it
5115 hash" check, but also make it more thorough.
5116
d5f1282f
MF
51172013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5118
5119 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5120
bc4aaa31
SM
51212013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5122
03d44565
SM
5123 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5124 { if it is hanging.
5125
bc4aaa31
SM
5126 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5127 :before ";".
5128
f493ff19
JB
51292013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5130
5131 * progmodes/compile.el (compilation-directory-matcher)
5132 (compilation-page-delimiter):
5133 Support GNU Make-4.0 directory quoting. (Bug#15678)
5134
c744a3b9
LL
51352013-10-23 Leo Liu <sdl.web@gmail.com>
5136
5137 * ido.el (ido-tidy): Handle read-only text.
5138
b8e3b0a9
GM
51392013-10-23 Glenn Morris <rgm@gnu.org>
5140
5141 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5142 (emacs, compile, compile-always):
5143 Quote entities that might contain whitespace.
5144 (custom-deps, finder-data, autoloads): Use abs_lisp.
5145 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5146 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5147 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5148
ee4282cd
DG
51492013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5150
bc4aaa31
SM
5151 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5152 Use `following-char'.
7790a270 5153
ee4282cd 51542013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5155
5156 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5157 * progmodes/ruby-mode.el (ruby-smie-rules):
5158 Remove corresponding workaround. Fix indentation rule of ";" so it
5159 also applies when ";" is the parent.
5160
d40a46d7
XF
51612013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5162
5163 * frame.el (display-screens, display-pixel-height)
5164 (display-pixel-width, display-mm-width, display-backing-store)
5165 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5166 (display-visual-class, display-monitor-attributes-list):
5167 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5168
a0f143c9
MG
51692013-10-22 Michael Gauland <mikelygee@amuri.net>
5170
5171 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5172 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5173
18cacc39
DG
51742013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5175
5176 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5177 TODO. Add "." after " @ ".
5178 (ruby-smie--at-dot-call): New function. Checks if point at method
5179 call with explicit target.
5180 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5181 to the method name tokens when it precedes them.
5182 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5183 (ruby-smie-rules): Add rule for indentation before and after "."
5184 token.
5185
df74c4be
SM
51862013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5187
c6dab55f
SM
5188 * textmodes/remember.el (remember-diary-extract-entries):
5189 Avoid add-to-list.
5190
df74c4be
SM
5191 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5192 an instruction.
5193
8c1ae481
DG
51942013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5195
e9dc713d
JB
5196 * progmodes/ruby-mode.el (ruby-smie-grammar):
5197 Add (almost) all infix operators.
cfef16c0
DG
5198 (ruby-smie--implicit-semi-p): Add new operator chars.
5199
8c1ae481
DG
5200 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5201 `smie-down-list'.
5202 (ruby-smie--args-separator-p): Check that there's no newline
5203 between method call and its arguments.
5204
87756ca9
AM
52052013-10-20 Alan Mackenzie <acm@muc.de>
5206
5207 Allow comma separated lists after Java "implements".
5208
df74c4be
SM
5209 * progmodes/cc-engine.el (c-backward-over-enum-header):
5210 Parse commas.
87756ca9
AM
5211 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5212 from a "disallowed" list in enum fontification.
5213
c25f8957
JB
52142013-10-20 Johan Bockgård <bojohan@gnu.org>
5215
df74c4be 5216 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5217
c25f8957
JB
5218 * progmodes/verilog-mode.el (verilog-mode): Don't set
5219 comment-indent-function globally.
5220
aca5fcdc
JD
52212013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5222
5f161884
JD
5223 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5224 Move Info menu item creation to ns-win.el.
5225
5226 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5227 in menu bar.
5228
a6c4680a 5229 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5230
5231 * term/ns-win.el (ns-initialize-window-system): ... to here.
5232
914b7f98
SM
52332013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * simple.el (newline): Only run post-self-insert-hook when
5236 called interactively.
5237
846ffe77
JB
52382013-10-19 Johan Bockgård <bojohan@gnu.org>
5239
5240 * icomplete.el (icomplete-with-completion-tables): Add :version.
5241
033f22dd
AM
52422013-10-19 Alan Mackenzie <acm@muc.de>
5243
5244 Fix fontification bugs with constructors and const.
5245
5246 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5247 CASE 2) Remove the check for the absence of a suffix construct
5248 after a function declaration with only types (no identifiers) in
5249 the parentheses. Also, accept a function declaration with just a
5250 type inside the parentheses, if this type can be positively
5251 recognised as such, or if a prefix keyword like "explicit" nails
5252 down the construct as a declaration.
5253
58ce0cfc
EZ
52542013-10-19 Eli Zaretskii <eliz@gnu.org>
5255
5256 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5257 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5258 the problem whereby selecting a menu item that leads to a
5259 minibuffer prompt moves the cursor out of the minibuffer window,
5260 making it hard to type at the prompt. Suggested by Stefan Monnier
5261 <monnier@iro.umontreal.ca>.
5262
50e28e7d
JD
52632013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5264
5265 * menu-bar.el: Don't make Services menu.
5266
7deed4bf
RS
52672013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5268
5269 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5270 (ffap-alist): Use ffap-c++-mode for c++-mode.
5271 (ffap-c++-path): New variable.
5272 (ffap-c++-mode): New function.
5273
7bcb455b
JVJ
52742013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5275
5276 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5277
f0ff1cd5
MA
52782013-10-18 Michael Albinus <michael.albinus@gmx.de>
5279
5280 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5281 introduced on 2013-09-08, which results in an infinite loop
5282 requesting a password.
5283
d64da4b7
GM
52842013-10-18 Glenn Morris <rgm@gnu.org>
5285
5286 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5287
ea89ff08
WS
52882013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5289
5290 Sync with upstream verilog-mode revision 1a6ecec7.
5291 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5292 (verilog-mode-release-date): Remove.
5293 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5294 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5295 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5296 (verilog-auto-tieoff-ignore-regexp)
5297 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5298 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5299 (verilog-signals-with, verilog-dir-cache-preserving)
5300 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5301 Doc fixes.
5302 (verilog-case-fold): New option, to control case folding in
5303 regexp searches, bug597.
5304 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5305 (verilog-string-match-fold, verilog-in-paren-count)
5306 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5307 (verilog-at-close-struct-p): New functions.
5308 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5309 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5310 (verilog-leap-to-case-head): Handle "unique0" case.
5311 (verilog-in-constraint-re): New constant.
5312 (verilog-keywords, verilog-type-font-keywords):
5313 Add some SystemVerilog 1800-2012 keywords.
5314 (verilog-label-be): Remove unimplemented argument, bug669.
5315 (verilog-batch-execute-func): When batch expanding clear
5316 create-lockfiles to prevent spurious user locks when a file ends
5317 up not changing.
5318 (verilog-calculate-indent, verilog-calc-1)
5319 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5320 (verilog-do-indent): Fix indentation of nested constraints
5321 and structures.
5322 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5323 (verilog-auto-inst-param): Use verilog-string-match-fold.
5324 (verilog-read-inst-module-matcher):
5325 Fix AUTOINST on gate primitives with #1.
5326 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5327 Reads all user-defined typed variables.
5328 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5329 (verilog-signals-matching-regexp)
5330 (verilog-signals-not-matching-regexp, verilog-auto):
5331 Respect verilog-case-fold.
5332 (verilog-diff-report): Fix line count.
5333 (verilog-auto-assign-modport): Remove unused local `modi'.
5334 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5335 better handle multidimensional arrays.
5336 Fix packed array ports misadding bit index in AUTOINST, bug637.
5337 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5338 to not double-declare existing outputs and inputs, respectively.
5339 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5340 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5341 (verilog-sk-uvm-component): New skeleton.
5342 (verilog-submit-bug-report): Add verilog-case-fold,
5343 remove verilog-mode-release-date.
5344
ef566920
BR
53452013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5346
a12bf61e 5347 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5348 as before.
5349
29df8a0b
RT
53502013-10-18 Reuben Thomas <rrt@sc3d.org>
5351
e0eb0550 5352 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5353 remember buffers (bug#13566).
5354
04a19a79
DC
53552013-10-18 Daniel Colascione <dancol@dancol.org>
5356
5357 When evaluating forms in ielm, direct standard output to ielm
5358 buffer. Add new ielm-return-for-effect command. Remove trailing
5359 whitespace throughout.
5360
5361 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5362 (ielm-return-for-effect): New command.
5363 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5364 (ielm-eval-input): Accept optional `for-effect' parameter.
5365 Bind `standard-output' to stream we create using
04a19a79
DC
5366 `ielm-standard-output-impl'. Suppress printing result when
5367 `for-effect'.
5368 (ielm-standard-output-impl): New function.
5369 (inferior-emacs-lisp-mode): Explain new features in documentation.
5370
4c1f03ef
MA
53712013-10-17 Michael Albinus <michael.albinus@gmx.de>
5372
5373 Code cleanup.
5374
5375 * net/tramp.el (tramp-debug-message): Do not check for connection
5376 buffer.
5377 (tramp-message): Use "vector" connection property.
5378
5379 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5380 (tramp-equal-remote, tramp-eshell-directory-change)
5381 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5382 (tramp-adb-handle-rename-file)
5383 * net/tramp-cmds.el (tramp-list-remote-buffers)
5384 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5385 * net/tramp-compat.el (tramp-compat-process-running-p)
5386 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5387 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5388 (tramp-gvfs-handle-rename-file)
5389 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5390 (tramp-set-file-uid-gid)
5391 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5392 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5393 of `file-remote-p'.
5394
5395 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5396 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5397 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5398 (tramp-gw-open-network-stream): Suppress unrelated traces.
5399
5400 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5401 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5402 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5403 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5404 connection property.
5405
5406 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5407 persistency file.
4c1f03ef
MA
5408
5409 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5410 Refactor common code. Improve debug message.
5411 (tramp-maybe-open-connection)
5412 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5413 connection buffer too early.
5414
5415 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5416 from `tramp-smb-actions-with-acl'.
5417 (tramp-smb-actions-set-acl): New defconst.
5418 (tramp-smb-handle-copy-directory)
5419 (tramp-smb-action-get-acl): New defun, renamed from
5420 `tramp-smb-action-with-acl'.
5421 (tramp-smb-action-set-acl): New defun.
5422 (tramp-smb-handle-set-file-acl): Rewrite.
5423
642eb8b6
GM
54242013-10-17 Glenn Morris <rgm@gnu.org>
5425
5426 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5427
85527ff3
SM
54282013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5429
921c1d62
SM
5430 * skeleton.el (skeleton-newline): Remove.
5431 (skeleton-internal-1): Use (insert "\n") instead.
5432
e333fb10
SM
5433 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5434 let-bindings.
5435
85527ff3
SM
5436 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5437 forward-sexp-function while we redo its job (bug#15613).
5438
c8722a97
JB
54392013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5440
5441 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5442 represented by lists.
5443
7a550bbb
GM
54442013-10-16 Glenn Morris <rgm@gnu.org>
5445
5446 * tmm.el (tmm--history): New dynamic variable.
5447 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5448
f19da8ad
MA
54492013-10-16 Michael Albinus <michael.albinus@gmx.de>
5450
5451 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5452 (tramp-smb-errors): Add error messages.
5453 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5454 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5455 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5456 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5457 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5458 (tramp-smb-get-stat-capability): Fix tests.
5459
a24b9961
DK
54602013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5461
5462 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5463 (bug#15580).
5464
62ad85e6
GM
54652013-10-16 Glenn Morris <rgm@gnu.org>
5466
0283d6b0
GM
5467 * ansi-color.el (ansi-color-drop-regexp):
5468 Add 1J, 1K, 2K. (Bug#15617)
5469
012e2f9f
GM
5470 * files.el (hack-local-variables--warned-lexical): New.
5471 (hack-local-variables):
5472 Warn about misplaced lexical-binding. (Bug#15616)
5473
62ad85e6
GM
5474 * net/eww.el (eww-render): Always set eww-current-url,
5475 and update header line. (Bug#15622)
5476 (eww-display-html): ... Rather than just doing it here.
5477
6456c0ea
EZ
54782013-10-15 Eli Zaretskii <eliz@gnu.org>
5479
5480 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5481 menu navigations commands.
5482
c2de5588
DK
54832013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5484
5485 * progmodes/subword.el (subword-capitalize): Be careful when
5486 the search for [[:alpha:]] fails (bug#15580).
5487
ccd4a783
EZ
54882013-10-14 Eli Zaretskii <eliz@gnu.org>
5489
5490 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5491 to commands that scroll the menu.
5492
1eda1d8d
DG
54932013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5494
c2de5588
DK
5495 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5496 Handle methods ending with `?' and `!'.
1eda1d8d 5497
e70181b8
AM
54982013-10-14 Akinori MUSHA <knu@iDaemons.org>
5499
5500 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5501 `japanese-cp932' to `cp932' to fix the problem where saving a
5502 source file written in Shift_JIS twice would end up having
5503 `coding: japanese-cp932' which Ruby could not recognize.
5504 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5505 in `ruby-encoding-map'.
5506 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5507 doesn't need to be explicitly declared in magic comment.
5508 (ruby-encoding-map): Add type declaration for better customize UI.
5509
9148ee92
GM
55102013-10-13 Glenn Morris <rgm@gnu.org>
5511
a5d38e34
GM
5512 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5513 Occur buffers are read-only. http://bugs.debian.org/720775
5514
9148ee92
GM
5515 * emacs-lisp/authors.el (authors-fixed-entries):
5516 Comment out old alpha stuff.
5517
a9ba094b
DG
55182013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5519
5520 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5521 to `after-save-hook' instead of `before-save-hook'.
5522 (ruby-mode-set-encoding): Use the value of coding system used to
5523 write the file. Call `basic-save-buffer-1' after modifying the
5524 buffer.
5525
7a068717
AM
55262013-10-13 Alan Mackenzie <acm@muc.de>
5527
5528 Fix indentation/fontification of Java enum with
5529 "implements"/generic.
5530
c2de5588
DK
5531 * progmodes/cc-engine.el (c-backward-over-enum-header):
5532 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5533 (c-inside-bracelist-p): Uses new function above.
5534 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5535 function above.
5536 (c-font-lock-enum-tail): Uses new function above.
5537
85b64f02
KH
55382013-10-13 Kenichi Handa <handa@gnu.org>
5539
5540 * international/mule-cmds.el (select-safe-coding-system): Remove a
5541 superfluous condition in chekcing whether a coding system is safe
5542 or not.
5543
fc7f501b
OK
55442013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5545
5546 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5547
fdcb2049
AP
55482013-10-13 Andreas Politz <politza@hochschule-trier.de>
5549
5550 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5551
8c106d17
GM
55522013-10-13 Glenn Morris <rgm@gnu.org>
5553
feab892d
GM
5554 * menu-bar.el (menu-bar-update-buffers):
5555 Unify Buffers menu prompt string. (Bug#15576)
5556
b22d0686
GM
5557 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5558
8c106d17
GM
5559 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5560 Add some entries.
5561 (authors-fixed-entries): Use accented form of name.
5562
1b12c797
SM
55632013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5564
650fa7bf 5565 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5566 method calls (bug#15594).
650fa7bf
SM
5567 (ruby-smie--args-separator-p): New function.
5568 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5569 recognize paren-free method calls.
5570
1b12c797
SM
5571 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5572 internals of universal-argument.
5573
029619c8
EZ
55742013-10-11 Eli Zaretskii <eliz@gnu.org>
5575
5576 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5577 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5578 dropped menu on second mouse click on the menu bar.
029619c8 5579
dd070019
SM
55802013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5583 (explicit-shell-file-name): Declare.
5584 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5585 (sh-completion-at-point-function): New function.
5586 (sh-mode): Use it.
5587 (sh-smie--keyword-p): Remove unused argument.
5588 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5589 vars.
5590 (sh-set-shell): Always setup SMIE, even if we use the
5591 old indentation code.
5592
0922b826
DG
55932013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5594
b68e2926
DG
5595 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5596 cases of ? and =.
5597 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5598 predicate would return nil are almost non-existent.
5599 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5600
0922b826
DG
5601 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5602 cache also after commands that modify the buffer but don't move
5603 point.
5604
ee041f2d
SM
56052013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * env.el (substitute-env-in-file-name): New function.
5608 (substitute-env-vars): Extend the meaning of the optional arg.
5609
a5dab159
EZ
56102013-10-10 Eli Zaretskii <eliz@gnu.org>
5611
5612 * term/w32-win.el (dynamic-library-alist): Define separate lists
5613 of GIF DLLs for versions before and after 5.0.0 of giflib.
5614 (Bug#15531)
5615
0449d6cd 56162013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5617
5618 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5619 not locked, use last revision and current source as
5620 defaults. (Bug#15569)
5621
2f6e161e
MY
56222013-10-10 Masatake YAMATO <yamato@redhat.com>
5623
5624 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5625 menu-bar is hidden.
5626
6c8413fc
MR
56272013-10-10 Martin Rudalics <rudalics@gmx.at>
5628
5629 * window.el (pop-to-buffer-same-window): Fix doc-string.
5630 (Bug#15492)
5631
20832de0
SM
56322013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5635
c6e8ae77
AC
56362013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5637
5638 * calendar/icalendar.el (icalendar-import-file):
5639 Fix interactive spec. (Bug#15482)
5640
9db13baf
GM
56412013-10-10 Glenn Morris <rgm@gnu.org>
5642
9271e90e
GM
5643 * desktop.el (desktop-save): Default to saving in .emacs.d,
5644 since PWD is no longer in desktop-path by default. (Bug#15319)
5645
9db13baf
GM
5646 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5647 now that text mode has a menu with the same entry.
5648 (menu-bar-text-mode-auto-fill): Remove now unused func.
5649 * textmodes/text-mode.el (text-mode-map):
5650 Use auto-fill help text from menu-bar.el.
5651
a0be396a 56522013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5653
5654 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5655
2edcd3c7
JL
56562013-10-09 Juri Linkov <juri@jurta.org>
5657
5658 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5659 instead of this-command-keys. Add universal-argument-more and
5660 universal-argument-minus to the list of prefix commands. (Bug#15568)
5661
574411d0
GM
56622013-10-09 Glenn Morris <rgm@gnu.org>
5663
14afa541
GM
5664 * vc/vc-svn.el (vc-svn-create-repo):
5665 Expand paths in file://... url. (Bug#15446)
5666
574411d0
GM
5667 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5668 Add some entries.
5669 (authors): Remove unused local variables.
5670
79804536
SM
56712013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 * profiler.el: Create a more coherent calltree from partial backtraces.
5674 (profiler-format): Hide the tail with `invisible' so that C-s can still
5675 find the hidden elements.
5676 (profiler-calltree-depth): Don't recurse so enthusiastically.
5677 (profiler-function-equal): New hash-table-test.
5678 (profiler-calltree-build-unified): New function.
5679 (profiler-calltree-build): Use it.
5680 (profiler-report-make-name-part): Indent the calltree less.
5681 (profiler-report-mode): Add visibility specs for profiler-format.
5682 (profiler-report-expand-entry, profiler-report-toggle-entry):
5683 Expand the whole subtree when provided with a prefix arg.
5684
238150c8
DG
56852013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5686
5687 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5688 iuwu-mod token.
5689 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5690 hanging iuwu-mod token.
5691 (ruby-smie--forward-token): Do not include a dot after a token in
5692 that token.
5693 (ruby-smie--backward-token): Likewise.
5694
b0949cc4
JL
56952013-10-08 Juri Linkov <juri@jurta.org>
5696
5697 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5698 to isearch-other-control-char.
5699 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5700 and isearch-post-command-hook to post-command-hook.
5701 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5702 and isearch-post-command-hook from post-command-hook.
5703 (isearch-unread-key-sequence)
5704 (isearch-reread-key-sequence-naturally)
5705 (isearch-lookup-scroll-key, isearch-other-control-char)
5706 (isearch-other-meta-char): Remove functions.
5707 (isearch-pre-command-hook, isearch-post-command-hook):
5708 New functions based on isearch-other-meta-char rewritten
5709 relying on the new behavior of overriding-terminal-local-map
5710 that does not replace the local keymaps any more. (Bug#15200)
5711
4ed77415
EZ
57122013-10-08 Eli Zaretskii <eliz@gnu.org>
5713
5714 Support menus on text-mode terminals.
5715 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5716 functionality.
5717
5718 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5719
c2de5588
DK
5720 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5721 Move here from mouse.el.
4ed77415
EZ
5722 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5723 and arrow keys.
5724 (tty-menu-navigation-map): New map for TTY menu navigation.
5725
5726 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5727
5728 * frame.el (display-mouse-p): Report text-mode mouse as available
5729 on w32.
5730 (display-popup-menus-p): Report availability if mouse is
5731 available; don't condition on window-system.
5732
5733 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5734 (tty-menu-selected-face): New faces.
5735
b7d5bd82
TL
57362013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5737
06286513
SM
5738 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5739 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5740 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5741 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5742 New constants.
5743 (lisp-mode-variables): New `elisp' argument.
5744 (emacs-lisp-mode): Use it.
5745 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5746 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5747
b7d5bd82
TL
5748 * indent.el: Use lexical-binding.
5749 (indent-region): Add progress reporter.
5750 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5751 last step.
5752 (indent--next-tab-stop): New function to implement this behavior.
5753 (tab-to-tab-stop, move-to-tab-stop): Use it.
5754
57552013-10-08 Teemu Likonen <tlikonen@iki.fi>
5756
5757 * indent.el (indent-rigidly--current-indentation): New function.
5758 (indent-rigidly-map): New var.
5759 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5760
5ea75d23
BG
57612013-10-08 Bastien Guerry <bzg@gnu.org>
5762
f2726fa2 5763 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5764
cc5da1ec
SM
57652013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5766
8ffa1a0b
SM
5767 * progmodes/perl-mode.el: Use lexical-binding.
5768 Remove redundant :group args.
5769 (perl-nochange): Change default to be closer to other major modes's
5770 standard behavior.
5771 (perl-indent-line): Don't consider text on current line as a
5772 valid beginning of function from which to indent.
5773
f2223371
SM
5774 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5775 with more than one argument (bug#15538).
5776
44256060
SM
5777 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5778
cc5da1ec
SM
5779 * vc/pcvs.el: Use lexical-binding.
5780 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5781 environment of `eval'.
5782 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5783 than a list of expressions. Adjust callers.
5784 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5785
0ea1599d
DG
57862013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5787
5788 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5789 case of the dot in a chained method call being on the following line.
0ea1599d 5790
da3e5ebb
SM
57912013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5792
2abb4e65
SM
5793 * electric.el (electric-indent-inhibit): New var.
5794 (electric-indent-post-self-insert-function): Use it.
5795 * progmodes/python.el (python-mode): Set it.
5796
d2e0e795
SM
5797 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5798 open braces.
5799
5800 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5801
bdc6b4c8
SM
5802 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5803 (css-mode): Use electric-indent-chars.
5804
da3e5ebb
SM
5805 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5806 (font-lock-beg, font-lock-end): Move before first use.
5807 (nxml-mode): Use syntax-propertize-function.
5808 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5809 (nxml-extend-after-change-region): Remove.
5810 * nxml/xmltok.el: Use lexical-binding.
5811 (xmltok-save): Use `declare'.
5812 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5813 * nxml/nxml-util.el: Use lexical-binding.
5814 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5815 Use `declare'.
5816 * nxml/nxml-ns.el: Use lexical-binding.
5817 (nxml-ns-save): Use `declare'.
5818 (nxml-ns-prefixes-for): Avoid add-to-list.
5819 * nxml/rng-match.el: Use lexical-binding.
5820 (rng--ipattern): Use cl-defstruct.
5821 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5822 (rng-cons-group-after, rng-subst-group-after)
5823 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5824 Use closures instead of `(lambda...).
5825
f8f91d5d
MA
58262013-10-07 Michael Albinus <michael.albinus@gmx.de>
5827
5828 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5829 of BEG and END.
5830
da3e5ebb
SM
5831 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5832 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5833 (tramp-gvfs-handle-insert-file-contents): Remove function.
5834
da3e5ebb
SM
5835 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5836 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5837
5838 * net/trampver.el: Update release number.
5839
7ccae3b1
SM
58402013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5841
55ca2c0d
SM
5842 * progmodes/compile.el (compilation-parse-errors):
5843 Use compilation--put-prop.
5844 (compilation--ensure-parse): Check compilation-multiline.
5845
731fc3ae
SM
5846 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5847
da3e5ebb
SM
5848 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5849 lexical-binding.
a5833280 5850
2e7ba2c2
SM
5851 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5852
7ccae3b1
SM
5853 * progmodes/ruby-mode.el: Fix recently added tests.
5854 (ruby-smie-grammar): Add - and +.
5855 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5856 (ruby-smie--backward-id): New functions.
5857 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5858 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5859 any more.
5860
85698d63
LL
58612013-10-07 Leo Liu <sdl.web@gmail.com>
5862
5863 * register.el (register-preview-delay)
5864 (register-preview-functions): New variables.
5865 (register-read-with-preview, register-preview)
5866 (register-describe-oneline): New functions.
5867 (point-to-register, window-configuration-to-register)
5868 (frame-configuration-to-register, jump-to-register)
5869 (number-to-register, view-register, insert-register)
5870 (copy-to-register, append-to-register, prepend-to-register)
5871 (copy-rectangle-to-register): Use register-read-with-preview to
5872 read register. (Bug#15525)
5873
3986af6c
DS
58742013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5875
5876 * net/network-stream.el (network-stream-open-starttls): Don't add
5877 --insecure if it's already present, because that gnutls-cli
5878 rejects getting that parameter twice.
5879
5cd9cda9
DG
58802013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5881
5882 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5883 keyword, too.
5884
da9ea6d9
DG
58852013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5886
5887 * newcomment.el (comment-use-global-state): Change default value
5888 to t, mark obsolete (Bug#15251).
5889 (comment-beginning): In addition to `comment-to-syntax', check the
5890 value of `comment-use-global-state'.
5891
34d1a133
SM
58922013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5893
5894 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5895 (ruby-comment-column): Follow the global default, by default.
5896 (ruby-smie-grammar): Add assignment syntax.
5897 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5898 open-paren, a comma, or a \.
5899 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5900 and line continuations.
5901 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5902 followed by implicit semi-colons. Add rule for string concatenation
5903 and for indentation at BOB.
27821a89 5904 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
5905
5906 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5907 calling next-sexp, since next-token may have skipped chars which
5908 next-sexp doesn't know should be skipped!
5909
6f6ab820
LL
59102013-10-05 Leo Liu <sdl.web@gmail.com>
5911
34d1a133
SM
5912 * progmodes/octave.el (octave-send-region):
5913 Call compilation-forget-errors.
6f6ab820 5914
34ca0f4c
XF
59152013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5916
5917 * vc/vc-svn.el (vc-svn-find-admin-dir):
5918 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5919 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5920 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5921 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5922
a27c1b72
SM
59232013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5926
258ab3bc
SM
59272013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * subr.el (read-passwd): Hide chars even when called within a context
5930 where after-change-functions is disabled (bug#15501).
5931 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5932 until we removed ourself from overriding-terminal-local-map.
5933
939fb29c
LL
59342013-10-04 Leo Liu <sdl.web@gmail.com>
5935
258ab3bc
SM
5936 * progmodes/octave.el (inferior-octave-mode):
5937 Call compilation-forget-errors.
939fb29c 5938
63bd7f35
XF
59392013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5940
5941 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5942
9e6229fa
MA
59432013-10-04 Michael Albinus <michael.albinus@gmx.de>
5944
5945 * net/secrets.el (secrets-create-collection): Add optional
5946 argument ALIAS. Use proper Label keyword. Append ALIAS as
5947 dbus-call-method argument. (Bug#15516)
5948
1dab32a3
LL
59492013-10-04 Leo Liu <sdl.web@gmail.com>
5950
5951 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5952 (inferior-octave-compilation-font-lock-keywords): New variables.
5953 (compilation-error-regexp-alist)
5954 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5955 (inferior-octave-mode): Use compilation-shell-minor-mode.
5956
6cad7ba3
JS
59572013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5958
5959 * minibuffer.el (completion--replace): Be careful that `end' might be
5960 a marker.
5961
acbadd00
DU
59622013-10-03 Daiki Ueno <ueno@gnu.org>
5963
5964 Add support for package signature checking.
5965 * emacs-lisp/package.el (url-http-file-exists-p)
5966 (epg-make-context, epg-context-set-home-directory)
5967 (epg-verify-string, epg-context-result-for)
5968 (epg-signature-status, epg-signature-to-string)
5969 (epg-check-configuration, epg-configuration)
5970 (epg-import-keys-from-file): Declare.
5971 (package-check-signature): New user option.
5972 (package-unsigned-archives): New user option.
5973 (package-desc): Add `signed' field.
5974 (package-load-descriptor): Set `signed' field if .signed file exists.
5975 (package--archive-file-exists-p): New function.
5976 (package--check-signature): New function.
5977 (package-install-from-archive): Check package signature.
5978 (package--download-one-archive): Check archive signature.
5979 (package-delete): Remove .signed file.
5980 (package-import-keyring): New command.
5981 (package-refresh-contents): Import default keyring.
5982 (package-desc-status): Add "unsigned" status.
5983 (describe-package-1, package-menu--print-info)
5984 (package-menu-mark-delete, package-menu--find-upgrades)
5985 (package-menu--status-predicate): Support "unsigned" status.
5986
adf2aa61
SM
59872013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5990 the new compilation scheme using the new byte-codes.
5991
5992 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5993 (byte-pophandler): New byte codes.
5994 (byte-goto-ops): Adjust accordingly.
5995 (byte-compile--use-old-handlers): New var.
5996 (byte-compile-catch): Use new byte codes depending on
5997 byte-compile--use-old-handlers.
5998 (byte-compile-condition-case--old): Rename from
5999 byte-compile-condition-case.
6000 (byte-compile-condition-case--new): New function.
6001 (byte-compile-condition-case): New function that dispatches depending
6002 on byte-compile--use-old-handlers.
6003 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6004 when we can.
6005
6006 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6007 Optimize under `condition-case' and `catch' if
6008 byte-compile--use-old-handlers is nil.
6009 (disassemble-offset): Handle new bytecodes.
6010
328a8179
SM
60112013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * subr.el (error): Use `declare'.
6014 (decode-char, encode-char): Use advertised-calling-convention instead
6015 of the docstring to discourage use of the `restriction' arg.
6016
15a1e936
DU
60172013-10-03 Daiki Ueno <ueno@gnu.org>
6018
6019 * epg.el (epg-verify-file): Add a comment saying that it does not
6020 notify verification error as a return value nor a signal.
6021 (epg-verify-string): Ditto.
6022
376f862a
KR
60232013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6024
6025 * progmodes/compile.el (compilation-start): Try globbing the arg to
6026 `cd' (bug#15417).
6027
a2f93a5f
MA
60282013-10-02 Michael Albinus <michael.albinus@gmx.de>
6029
6030 Sync with Tramp 2.2.8.
6031
6032 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6033 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6034 * net/trampver.el: Update release number.
6035
0daa0804
JD
60362013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6037
6038 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6039 and default-process-coding-system for darwin only.
6040
abd1ae34
SM
60412013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6044
be4e325d
MH
60452013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6046
6047 * vc/vc-git.el (vc-git-grep): Disable pager.
6048
e9155c4a
DG
60492013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6050
494e898b
DG
6051 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6052 Use :url instead of :homepage, as per
6053 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6054
e9155c4a
DG
6055 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6056 non-nil, use `syntax-ppss' (Bug#15251).
6057
481a8e0f
RS
60582013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6059
be4e325d
MH
6060 * progmodes/octave.el (inferior-octave-startup-file):
6061 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6062
056453c6
DG
60632013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6064
be4e325d
MH
6065 * emacs-lisp/package.el (package-desc-from-define):
6066 Accept additional arguments as plist, convert them to an alist and store
6067 them in the `extras' slot.
056453c6
DG
6068 (package-generate-description-file): Convert extras alist back to
6069 plist and append to the `define-package' form arguments.
6070 (package--alist-to-plist): New function.
6071 (package--ac-desc): Add `extras' slot.
6072 (package--add-to-archive-contents): Check if the archive-contents
6073 vector is long enough, and if it is, pass its `extras' slot value
6074 to `package-desc-create'.
6075 (package-buffer-info): Call `lm-homepage', pass the returned value
6076 to `package-desc-from-define'.
6077 (describe-package-1): Render the homepage button (Bug#13291).
6078
be4e325d
MH
6079 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6080 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6081
832966e5
JD
60822013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6083
6084 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6085 and default-process-coding-system to utf-8-unix (Bug#15402).
6086
6cfe977d
XF
60872013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6088
6089 * subr.el (looking-back): Do not recommend using looking-back.
6090
38de11bd
AM
60912013-09-28 Alan Mackenzie <acm@muc.de>
6092
6093 Fix indentation/fontification of Java enum with "implements".
6094
6095 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6096 regexp which matches "implements", etc., in Java.
6097 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6098 specifier clauses coming after "enum".
6099 * progmodes/cc-fonts.el (c-font-lock-declarations)
6100 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6101 after "enum".
6102
1610938f
JD
61032013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6104
6105 * faces.el (region): Change ns_selection_color to
6106 ns_selection_fg_color, add ns_selection_bg_color.
6107
e090f499
LL
61082013-09-28 Leo Liu <sdl.web@gmail.com>
6109
4d2e94d1
LL
6110 * progmodes/octave.el (inferior-octave-completion-table)
6111 (inferior-octave-completion-at-point): Minor tweaks.
6112
e090f499
LL
6113 * textmodes/ispell.el (ispell-lookup-words): Rename from
6114 lookup-words. (Bug#15460)
6115 (lookup-words): Obsolete.
6116 (ispell-complete-word, ispell-command-loop): All uses changed.
6117
7e138a62
RS
61182013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6119
a12bf61e 6120 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6121 (octave-mode-menu): Add octave-send-buffer.
6122 (octave-send-buffer): New function.
6123
5af5ed08
RS
61242013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6125
a12bf61e 6126 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6127 octave-lookfor.
6128 (octave-mode-menu): Add octave-lookfor.
6129 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6130 octave-lookfor.
6131 (octave-lookfor): New function.
6132
3b7b2692
SM
61332013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6134
35e951cd 6135 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6136 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6137 its convention.
6138 (cl--loop-set-iterator-function): New function.
6139 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6140 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6141 Bind `it' with `let' instead of substituting it with `cl-subst'.
6142 (cl--unused-var-p): New function.
6143 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6144 Eliminate some unused variable warnings (bug#15326).
6145
529fb53f
TH
61462013-09-27 Tassilo Horn <tsdh@gnu.org>
6147
6148 * doc-view.el (doc-view-scale-reset): Rename from
6149 `doc-view-reset-zoom-level'.
6150 (doc-view-scale-adjust): New command.
6151 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6152 `doc-view-scale-adjust'.
6153
0550c95a
TH
61542013-09-26 Tassilo Horn <tsdh@gnu.org>
6155
6156 * doc-view.el (doc-view-reset-zoom-level): New command.
6157 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6158 zoom commands (bug#15466).
6159
6950f152
KH
61602013-09-26 Kenichi Handa <handa@gnu.org>
6161
6162 * international/quail.el (quail-help): Make it not a command.
6163
39587580
LL
61642013-09-26 Leo Liu <sdl.web@gmail.com>
6165
6166 * minibuffer.el (completion-all-sorted-completions): Make args
6167 optional as they are.
6168
00578659
DC
61692013-09-25 Daniel Colascione <dancol@dancol.org>
6170
6171 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6172 specs are and that they're not evaluated.
6173
0c173878
SS
61742013-09-24 Sam Steingold <sds@gnu.org>
6175
6176 * midnight.el (clean-buffer-list-kill-regexps)
6177 (clean-buffer-list-kill-buffer-names): Update for the new Man
6178 buffer naming which includes the object name.
6179
84998447
SM
61802013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6183 (eshell-parse-command, eshell-parse-pipeline): Use it since
6184 eshell-separate-commands requires a dynamic scoped var.
6185 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6186
33215353
LL
61872013-09-23 Leo Liu <sdl.web@gmail.com>
6188
6189 * autoinsert.el (auto-insert-alist): Make the value of
6190 lexical-binding match its file setting.
6191
57b16162
JB
61922013-09-23 Juanma Barranquero <lekktu@gmail.com>
6193
c8af4e67
JB
6194 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6195
57b16162
JB
6196 * autoarg.el (autoarg-kp-digit-argument):
6197 * electric.el (Electric-command-loop):
6198 * kmacro.el (kmacro-step-edit-insert):
6199 Do not set universal-argument-num-events.
6200
7186ba60
LL
62012013-09-22 Leo Liu <sdl.web@gmail.com>
6202
6203 * files.el (interpreter-mode-alist): Add octave.
6204
ece15004
AM
62052013-09-21 Alan Mackenzie <acm@muc.de>
6206
6207 C++: fontify identifier in declaration following "public:" correctly.
6208 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6209 to match "public", etc.
6210 (c-decl-prefix-re): Add ":" into the C++ value.
6211 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6212 bit. Add a check for a ":" preceded by "public", etc.
6213
75d83e22
EZ
62142013-09-21 Eli Zaretskii <eliz@gnu.org>
6215
6216 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6217 recognized by GDB 7.5 and later.
6218
d052d3bd
XF
62192013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6220
6221 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6222
31dca772
R
62232013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * subr.el (internal--call-interactively): New const.
6226 (called-interactively-p): Use it (bug#3984).
6227
98ccf24e
XF
62282013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6229
6230 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6231 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6232 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6233
c39cc7d1
SM
62342013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6237 (eshell-ls-orig-insert-directory): Remove.
6238 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6239 (eshell-ls-use-in-dired): Use advice-add/remove.
6240 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6241 Add `orig-fun' arg for use in :around advice.
6242 Make it check (redundantly) eshell-ls-use-in-dired.
6243
9a0289a2
GM
62442013-09-19 Glenn Morris <rgm@gnu.org>
6245
a2c501b8
GM
6246 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6247
c440407a
GM
6248 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6249
9a0289a2
GM
6250 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6251
85e05915
MA
62522013-09-19 Michael Albinus <michael.albinus@gmx.de>
6253
6254 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6255 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6256 (tramp-get-remote-python): New defuns.
6257 (tramp-get-remote-uid-with-perl)
6258 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6259 contributed by yary <not.com@gmail.com> (tiny change).
6260 (tramp-get-remote-uid-with-python)
6261 (tramp-get-remote-gid-with-python): New defuns. Python code
6262 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6263 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6264
ce503312
GM
62652013-09-19 Glenn Morris <rgm@gnu.org>
6266
f7544773
GM
6267 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6268
72fd2877
GM
6269 * eshell/em-unix.el (eshell-remove-entries):
6270 Rename argument to avoid name-clash with global `top-level'.
6271
336b5a56
GM
6272 * eshell/esh-proc.el (eshell-kill-process-function):
6273 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6274 (eshell-reset-after-proc): Remove unused arg `proc'.
6275
57a3a53d
GM
6276 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6277 (directory-files-and-attributes): Mark unused arg.
6278
3261d4af
GM
6279 * eshell/em-unix.el (eshell-remove-entries):
6280 Remove unused arg `path'. Update callers.
6281
8e51b5d0
GM
6282 * eshell/em-hist.el (eshell-hist-parse-arguments):
6283 Remove unused arg `silent'. Update callers.
6284
ce503312
GM
6285 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6286 Fix (f)boundp mix-up.
6287
6288 * eshell/em-smart.el (eshell-smart-scroll-window)
6289 (eshell-disable-after-change):
336b5a56 6290 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6291
ee3ce8a7
AM
62922013-09-18 Alan Mackenzie <acm@muc.de>
6293
6294 Fix fontification of type when followed by "const".
6295 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6296 "known" types from fontification.
6297
ec9177ba
GM
62982013-09-18 Glenn Morris <rgm@gnu.org>
6299
7bb3e768
GM
6300 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6301 (chart-face-list): Drop Emacsen without display-color-p.
6302
5148da15
GM
6303 * net/eww.el (libxml-parse-html-region): Declare.
6304 (eww-display-html): Explicit error if no libxml2 support.
6305
2f68e157
GM
6306 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6307
9019d095
GM
6308 * image.el (image-type-from-buffer, image-multi-frame-p):
6309 Remove --without-x warning/error.
67645389 6310
5f30349b 6311 * mouse.el (mouse-yank-primary):
45069b2e 6312 * term.el (term-mouse-paste):
5f30349b
GM
6313 Reorder to silence --without-x compilation.
6314
cd8edbbe
GM
6315 * mpc.el (doc-view-mode): Silence --without-x compilation.
6316
8a78544e
GM
6317 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6318 Silence --without-x compilation.
6319
12679bfd
GM
6320 * progmodes/gud.el (gud-find-file, gud-mode):
6321 Silence --without-x compilation.
6322 (tooltip-mode): Declare.
30810a05 6323
f0047cb9
GM
6324 * wdired.el (dired-backup-overwrite): Remove declaration.
6325 (wdired-mode-map): Add doc string.
6326
e740f9d2
GM
6327 * custom.el (x-get-resource): Declare.
6328
92d77c89
GM
6329 * eshell/em-glob.el (ange-cache):
6330 * eshell/em-unix.el (ange-cache): Declare.
6331
76e69577
GM
6332 * faces.el (x-display-list, x-open-connection, x-get-resource):
6333 Declare.
7e58af4b
GM
6334
6335 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6336 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6337 Declare.
76e69577 6338
4bd4c0af 6339 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6340
ffb82dbd
GM
6341 * net/gnutls.el (gnutls-log-level): Declare.
6342
986ed135
GM
6343 * net/shr.el (image-size, image-animate): Declare.
6344
e740f9d2
GM
6345 * simple.el (font-info): Declare.
6346
d2f3e9f8
GM
6347 * subr.el (x-popup-dialog): Declare.
6348
047a1a4c
GM
6349 * term/common-win.el (x-select-enable-primary)
6350 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6351 Declare.
6352
f4a1d572
GM
6353 * term/ns-win.el (x-handle-args): Declare.
6354
e843de77
GM
6355 * term/x-win.el (x-select-enable-clipboard): Declare.
6356
5fa89513
GM
6357 * term/w32-win.el (create-default-fontset): Declare.
6358
38702b5b
GM
6359 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6360 Declare.
6361
e740f9d2
GM
6362 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6363 (fit-frame-to-buffer): Explicit error if --without-x.
6364 (mouse-autoselect-window-select): Silence compiler.
6365
49a053fc
GM
6366 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6367
6368 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6369 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6370 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6371 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6372 Remove unused local variables.
6373
6374 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6375
ec9177ba
GM
6376 * textmodes/two-column.el: Make 2C-split work for --without-x.
6377 (scroll-bar-columns): Autoload.
6378 (top-level): Require fringe when compiling.
6379
9f25cb77
LL
63802013-09-18 Leo Liu <sdl.web@gmail.com>
6381
6382 * subr.el (add-hook): Robustify to handle closure as well.
6383
2b42da98
GM
63842013-09-17 Glenn Morris <rgm@gnu.org>
6385
6386 * simple.el (messages-buffer-mode-map): Unbind "g".
6387
e8b66a6a
SM
63882013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6389
9c0ad4f7
SM
6390 * help-mode.el (help-mode-finish): Use derived-mode-p.
6391 Remove obsolete highlighting.
6392
7a806dfb
SM
6393 * play/life.el (life-mode): Use define-derived-mode. Derive from
6394 special-mode.
6395 (life): Let-bind inhibit-read-only.
6396 (life-setup): Avoid `setq'. Use `life-mode'.
6397
96dbf5a8
SM
6398 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6399 which should not be needed any more.
6400 (package-menu-refresh, package-menu-describe-package): Use user-error.
6401
e8b66a6a
SM
6402 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6403 (eshell-post-rewrite-command-hook): Make obsolete.
6404 (eshell-parse-command): Simplify.
6405 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6406 (eshell--cmd): Declare.
6407 (eshell-parse-pipeline): Remove unused var `final-p'.
6408 Pass a dynvar to eshell-post-rewrite-command-hook.
6409 Implement the new eshell-post-rewrite-command-function.
6410 (eshell-invoke-directly): Remove unused arg `input'.
6411 * eshell/esh-io.el (eshell-io-initialize):
6412 Use eshell-post-rewrite-command-function (bug#15399).
6413 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6414 adjust to new calling convention.
6415 (eshell-create-handles): Rename args to avoid clashing with dynvar
6416 `standard-output'.
6417
90582f05
GM
64182013-09-17 Glenn Morris <rgm@gnu.org>
6419
6420 * simple.el (messages-buffer-mode): New major mode.
6421 (messages-buffer): New function.
6422 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6423 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6424 (ert-run-test): Use `messages-buffer' function.
90582f05 6425 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6426 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6427 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6428
39eb0cb5 64292013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6430
6431 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6432
1d42e5b6 6433 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6434
70568a90
SM
64352013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6436
504a0381
SM
6437 * icomplete.el (icomplete-in-buffer): New var.
6438 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6439 vars and replace them with functions.
6440 (icomplete-minibuffer-setup): Adjust accordingly.
6441 (icomplete--completion-table, icomplete--completion-predicate)
6442 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6443 New functions.
6444 (icomplete-forward-completions, icomplete-backward-completions)
6445 (icomplete-simple-completing-p, icomplete-exhibit)
6446 (icomplete-completions): Use them.
6447 (icomplete--in-region-buffer): New var.
6448 (icomplete--in-region-setup): New function.
6449 (icomplete-mode): Use it.
6450
70568a90
SM
6451 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6452 (bug#15379).
6453 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6454 return args and options.
6455 (eshell-eval-using-options): Use the new return value of
6456 eshell--do-opts to set the options's vars in their scope.
6457 (eshell--set-option): Rename from eshell-set-option.
6458 Add arg `opt-vals'.
6459 (eshell--process-option): Rename from eshell-process-option.
6460 Add arg `opt-vals'.
6461 (eshell--process-args): Use an `opt-vals' alist to store the options's
6462 values during their processing and return them additionally to the
6463 remaining args.
6464
578c21bc
DG
64652013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6466
6467 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6468 continuation character an operator, as far as indentation is
6469 concerned (Bug#15369).
6470
c089653d
MR
64712013-09-15 Martin Rudalics <rudalics@gmx.at>
6472
6473 * window.el (window--state-put-2): Don't process buffer state
6474 when buffer doesn't exist any more (Bug#15382).
6475
1e53bb4b
GM
64762013-09-15 Glenn Morris <rgm@gnu.org>
6477
30753242
GM
6478 * eshell/em-unix.el (eshell/rm):
6479 Make -f ignore missing files. (Bug#15373)
6480
1e53bb4b
GM
6481 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6482 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6483 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6484
0d8863b3
GM
64852013-09-14 Glenn Morris <rgm@gnu.org>
6486
6487 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6488
d3fc6549
GM
64892013-09-13 Glenn Morris <rgm@gnu.org>
6490
6491 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6492 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6493
fcd42c11
DA
64942013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6495
6496 * frame.el (x-focus-frame): Mark as declared in frame.c.
6497
7830899f
SM
64982013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6499
6500 * ls-lisp.el: Use advice-add.
6501 (original-insert-directory): Remove.
6502 (ls-lisp--insert-directory): Rename from insert-directory; add
6503 `orig-fun' argument.
6504 (insert-directory): Advise.
6505
84387cd2
EZ
65062013-09-13 Eli Zaretskii <eliz@gnu.org>
6507
6508 * term.el (term-emulate-terminal): Decode the command string
6509 before passing it to term-command-hook. (Bug#15337)
6510
35ffc6ba
GM
65112013-09-13 Glenn Morris <rgm@gnu.org>
6512
5c3f9bcc
GM
6513 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6514
2ada368a
GM
6515 * eshell/esh-ext.el (eshell-search-path): Declare.
6516
fcef2e13
GM
6517 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6518 Otherwise an error occurs if eshell-dirs module not loaded.
6519
35ffc6ba
GM
6520 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6521
35c3d36e
MA
65222013-09-13 Michael Albinus <michael.albinus@gmx.de>
6523
6524 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6525 `tramp-check-proper-host'. Check for a valid method name.
6526
6527 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6528 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6529 * net/tramp-sh.el (tramp-maybe-open-connection):
6530 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6531
6532 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6533 also for hash values.
6534
ae5e4c48
SM
65352013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6536
379add74
SM
6537 * term/ns-win.el (parameters): Don't declare as dynamic.
6538 (before-make-frame-hook): Don't add ineffective function.
6539
ae5e4c48
SM
6540 * eshell/*.el: Use lexical-binding (bug#15231).
6541
b5623270
KH
65422013-09-12 Kenichi Handa <handa@gnu.org>
6543
ae5e4c48 6544 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6545
30213927
GM
65462013-09-12 Glenn Morris <rgm@gnu.org>
6547
be94d713 6548 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6549 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6550
44915370
GM
6551 * subr.el (do-after-load-evaluation): Also give compiler warnings
6552 when obsolete files are used (except by obsolete files).
6553
a6ae021f
GM
6554 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6555 in the status output, assume `filename' is the first. (Bug#15322)
6556
40e64f0c
GM
6557 * vc/vc.el (vc-deduce-fileset): Doc fix.
6558
16d9f896
GM
6559 * calc/calc-help.el (Info-goto-node):
6560 * progmodes/cperl-mode.el (Info-find-node):
6561 * vc/ediff.el (Info-goto-node): Update declarations.
6562
dea01c6e
GM
6563 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6564
759880bf 6565 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6566 (vc-bzr-pull): Require vc-dispatcher.
6567 * vc/vc-git.el (vc-compilation-mode): Declare.
6568 (vc-git-pull): Require vc-dispatcher.
6569
08d66420
GM
6570 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6571
30b626e9
GM
6572 * progmodes/octave.el (help-button-action): Declare.
6573
8c05cb10
GM
6574 * shell.el (shell-directory-tracker): Output error as a message
6575 rather than just returning it as a string.
6576 (shell-process-pushd): Remove useless use of message.
6577
30213927
GM
6578 * dframe.el (dframe-timer-fn):
6579 * files.el (dir-locals-read-from-file):
6580 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6581 (mpc-format):
6582 * reveal.el (reveal-post-command):
6583 * saveplace.el (load-save-place-alist-from-file):
6584 * shell.el (shell-resync-dirs):
6585 * w32-common-fns.el (x-get-selection-value):
6586 * emacs-lisp/copyright.el (copyright-find-copyright):
6587 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6588 * emulation/tpu-edt.el (tpu-copy-keyfile):
6589 * play/bubbles.el (bubbles--mark-neighbourhood):
6590 * progmodes/executable.el
6591 (executable-make-buffer-file-executable-if-script-p):
6592 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6593
d3b049e6
SM
65942013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6595
170266d0
SM
6596 Cleanup Eshell to rely less on dynamic scoping.
6597 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6598 last-value, and ext-command here. Bind `args' closer to `body'.
6599 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6600 (eshell--args): Declare new dynamic var.
6601 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6602 last-value, and ext-command. Pass `args' to `body'.
6603 (eshell-process-args): Bind eshell--args.
6604 (eshell-set-option): Use eshell--args.
6605 * eshell/eshell.el (eshell): Use derived-mode-p.
6606 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6607 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6608 (eshell-glob-function): Declare.
6609 * eshell/esh-util.el: Require cl-lib.
6610 (eshell-read-hosts-file): Avoid add-to-list.
6611 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6612 `err'.
6613 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6614 Declare.
6615 (eshell/diff): Remove unused var `err'.
6616 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6617 `killflag'.
6618 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6619 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6620 first use.
6621 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6622 Move declaration before first use.
6623 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6624 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6625 rely on cl-return.
6626
56834f3b
GM
66272013-09-12 Glenn Morris <rgm@gnu.org>
6628
6629 * term/ns-win.el (global-map): Remove binding for ispell-next,
6630 deleted 1999-05-29. (Bug#15357)
6631
5c91a2b8
GM
66322013-09-11 Glenn Morris <rgm@gnu.org>
6633
da712f22
GM
6634 * echistory.el (electric-command-history): Remove call to deleted func.
6635
512e4cdc
GM
6636 * play/landmark.el (landmark-mode): Fix typos.
6637
d3506ca5
GM
6638 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6639 Check cvs-sort-ignore-file is bound.
6640
5c91a2b8
GM
6641 * savehist.el: No need for cl when compiling on Emacs.
6642
feeff482
SM
66432013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6644
656bd483
SM
6645 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6646 (bug#15338).
d3b049e6
SM
6647 (eshell-self-insert-command, eshell-send-invisible):
6648 Remove unused argument.
656bd483
SM
6649 (eshell-handle-control-codes): Remove unused var `orig'.
6650 Avoid delete-backward-char.
6651
feeff482
SM
6652 * files.el (set-auto-mode): Simplify a bit further.
6653
2a08047a
GM
66542013-09-11 Glenn Morris <rgm@gnu.org>
6655
6656 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6657 (set-auto-mode): Don't regexp-quote elements.
6658 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6659 * progmodes/cc-mode.el (interpreter-mode-alist):
6660 * progmodes/ruby-mode.el (interpreter-mode-alist):
6661 Revert previous change.
6662
34675540
SM
66632013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6664
1b3b87df
SM
6665 * play/snake.el (snake-mode):
6666 * play/mpuz.el (mpuz-mode):
6667 * play/landmark.el (lm-mode):
6668 * play/blackbox.el (blackbox-mode):
6669 * play/5x5.el (5x5-mode):
6670 * obsolete/options.el (Edit-options-mode):
6671 * net/quickurl.el (quickurl-list-mode):
6672 * net/newst-treeview.el (newsticker-treeview-mode):
6673 * mail/rmailsum.el (rmail-summary-mode):
6674 * mail/mspools.el (mspools-mode):
6675 * locate.el (locate-mode):
6676 * ibuffer.el (ibuffer-mode):
6677 * emulation/ws-mode.el (wordstar-mode):
6678 * emacs-lisp/debug.el (debugger-mode):
6679 * array.el (array-mode):
6680 * net/eudc.el (eudc-mode): Use define-derived-mode.
6681 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6682 Move initialization into declaration.
6683 (mairix-searches-mode): Use define-derived-mode.
6684 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6685 (eudc-edit-hotlist): Use dolist.
6686 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6687 (Man-mode): Use define-derived-mode.
6688 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6689 (Info-edit-mode): Use define-derived-mode.
6690 (Info-cease-edit): Use Info-mode.
6691 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6692 into declaration.
6693 (eshell-mode): Use define-derived-mode.
6694 * chistory.el (command-history-mode-map): Rename from
6695 command-history-map.
6696 (command-history-mode): Use define-derived-mode.
da712f22 6697 (Command-history-setup): Remove function.
1b3b87df
SM
6698 * calc/calc.el (calc-trail-mode-map): New var.
6699 (calc-trail-mode): Use define-derived-mode.
6700 (calc-trail-buffer): Set calc-main-buffer manually.
6701 * bookmark.el (bookmark-insert-annotation): New function.
6702 (bookmark-edit-annotation): Use it.
6703 (bookmark-edit-annotation-mode): Make it a proper major mode.
6704 (bookmark-send-edited-annotation): Use derived-mode-p.
6705 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6706 closer to its ideal place. Use \' to match EOS.
6707
34675540
SM
6708 * profiler.el (profiler-calltree-find): Use function-equal.
6709
6a5c15d9
GM
67102013-09-10 Glenn Morris <rgm@gnu.org>
6711
1af4c220
GM
6712 * files.el (interpreter-mode-alist): Convert to regexps.
6713 (set-auto-mode): Adapt for this. (Bug#15306)
6714 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6715 Comment out unused variable.
6716 * progmodes/cc-mode.el (interpreter-mode-alist):
6717 * progmodes/python.el (interpreter-mode-alist):
6718 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6719 * progmodes/sh-script.el (sh-set-shell):
6720 No longer use interpreter-mode-alist to get list of shells.
6721
6a5c15d9
GM
6722 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6723
8c27f5ff
SM
67242013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6725
02ef6c1a 6726 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6727 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6728 Bind switch-frame explicitly. Replace universal-argument-minus with
6729 a conditional binding.
6730 (universal-argument-num-events, saved-overriding-map): Remove.
6731 (restore-overriding-map): Remove.
6732 (universal-argument--mode): Rename from save&set-overriding-map,
6733 and rewrite.
6734 (universal-argument, universal-argument-more, negative-argument)
6735 (digit-argument): Adjust accordingly.
6736 (universal-argument-minus): Remove.
6737 (universal-argument-other-key): Remove.
6738
8c27f5ff
SM
6739 * subr.el (with-demoted-errors): Add `format' argument.
6740
6480194c
MA
67412013-09-10 Michael Albinus <michael.albinus@gmx.de>
6742
6743 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6744 `tramp-cleanup-connection'.
6745
6746 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6747 parameters KEEP-DEBUG and KEEP-PASSWORD.
6748
6749 * net/tramp.el (tramp-file-name-handler):
6750 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6751 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6752 (tramp-maybe-open-connection):
8c27f5ff
SM
6753 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6754 Use `tramp-cleanup-connection'.
6480194c 6755
8c27f5ff
SM
6756 * net/tramp-sh.el (tramp-maybe-open-connection):
6757 Catch 'uname-changed inside the progress reporter.
6480194c 6758
e5e916d8
GM
67592013-09-10 Glenn Morris <rgm@gnu.org>
6760
9a2c9b47
GM
6761 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6762
e5e916d8
GM
6763 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6764 returns "alternate access method" in mode (eg "-rw-r--r--.").
6765
144e38fe
GM
67662013-09-08 Glenn Morris <rgm@gnu.org>
6767
6768 * saveplace.el (load-save-place-alist-from-file):
6769 Demote errors. (Bug#15305)
6770
af9ff9e8
MA
67712013-09-08 Michael Albinus <michael.albinus@gmx.de>
6772
6773 Improve compatibility with older Emacsen, and XEmacs.
6774
6775 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6776 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6777 (with-tramp-progress-reporter): Do not let-bind `result'.
6778 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6779 (tramp-handle-make-auto-save-file-name): New function, moved from
6780 tramp-sh.el.
6781
6782 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6783 for `make-auto-save-file-name'.
8c27f5ff
SM
6784 (tramp-adb--gnu-switches-to-ash):
6785 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6786
6787 * net/tramp-cache.el (tramp-cache-print): Call
6788 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6789
6790 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6791 bound. It isn't for XEmacs.
6792
8c27f5ff
SM
6793 * net/tramp-compat.el (tramp-compat-copy-file):
6794 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6795 (tramp-compat-replace-regexp-in-string): New defun.
6796
6797 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6798 for `make-auto-save-file-name'.
6799 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6800 `copy-file'.
6801 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6802 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6803 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6804
8c27f5ff
SM
6805 * net/tramp-gw.el (tramp-gw-open-network-stream):
6806 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6807
8c27f5ff
SM
6808 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6809 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6810 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6811 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6812 (tramp-sh-file-inotifywait-process-filter):
6813 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6814 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6815
6816 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6817 for `make-auto-save-file-name'.
8c27f5ff
SM
6818 (tramp-smb-handle-copy-directory):
6819 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6820 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6821 (tramp-smb-handle-copy-file): Improve error message.
6822 (tramp-smb-handle-rename-file): Rename directly only in case
6823 `newname' does not exist yet. This is a restriction of smbclient.
6824 (tramp-smb-maybe-open-connection): Rerun the function only when
6825 `auth-sources' is non-nil.
6826
0ca754d0
KH
68272013-09-08 Kenichi Handa <handa@gnu.org>
6828
e0eb0550 6829 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6830 more characters.
6831
e8dd0787
AM
68322013-09-07 Alan Mackenzie <acm@muc.de>
6833
6834 Correctly fontify Java class constructors.
6835 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6836 in Java Mode.
6837 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6838 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6839 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6840 "typeless" declaration there.
6841
f2f248e7
RW
68422013-09-07 Roland Winkler <winkler@gnu.org>
6843
6844 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6845 field subtitle for entry type book.
6846
67982e2b
SM
68472013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6848
6849 * minibuffer.el: Make minibuffer-complete call completion-in-region
6850 rather than other way around.
6851 (completion--some, completion-pcm--find-all-completions):
6852 Don't delay signals when debugging.
6853 (minibuffer-completion-contents): Beware fields within the
6854 minibuffer contents.
6855 (completion-all-sorted-completions): Use defvar-local.
6856 (completion--do-completion, completion--cache-all-sorted-completions)
6857 (completion-all-sorted-completions, minibuffer-force-complete):
6858 Add args `beg' and `end'.
6859 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6860 (minibuffer-complete): Use completion-in-region.
6861 (completion-complete-and-exit): New fun, extracted from
6862 minibuffer-complete-and-exit.
6863 (minibuffer-complete-and-exit): Use it.
6864 (completion--complete-and-exit): Rename from
6865 minibuffer--complete-and-exit.
6866 (completion-in-region--single-word): New function, extracted from
6867 minibuffer-complete-word.
6868 (minibuffer-complete-word): Use it.
6869 (display-completion-list): Make `common-substring' argument obsolete.
6870 (completion--in-region): Call completion--in-region-1 instead of
6871 minibuffer-complete.
6872 (completion-help-at-point): Pass boundaries to
6873 minibuffer-completion-help as args rather than via an overlay.
6874 (completion-pcm--string->pattern): Use `any-delim'.
6875 (completion-pcm--optimize-pattern): New function.
6876 (completion-pcm--pattern->regex): Handle `any-delim'.
6877 * icomplete.el (icomplete-forward-completions)
6878 (icomplete-backward-completions, icomplete-completions):
6879 Adjust calls to completion-all-sorted-completions and
6880 completion--cache-all-sorted-completions.
6881 (icomplete-with-completion-tables): Default to t.
6882 * emacs-lisp/crm.el (crm--current-element): Rename from
6883 crm--select-current-element. Don't put an overlay but return the
6884 boundaries instead.
6885 (crm--completion-command): Take two new args to bind to the boundaries.
6886 (crm-completion-help): Adjust accordingly.
6887 (crm-complete): Use completion-in-region.
6888 (crm-complete-word): Use completion-in-region--single-word.
6889 (crm-complete-and-exit): Use completion-complete-and-exit.
6890
e17d94a5
SM
68912013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6892
6893 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6894 than dynamically.
6895
96727100
JL
68962013-09-06 Juri Linkov <juri@jurta.org>
6897
6898 * info.el (Info-display-images-node): When image file doesn't exist
6899 display text version of the image if it's provided in the Info file.
6900 Otherwise, display the location of missing image from SRC attribute.
6901 Add help-echo text property from ALT attribute. (Bug#15279)
6902
86cf7329
SM
69032013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6906 (edit-abbrevs-mode): Use define-derived-mode.
6907
6908 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6909 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6910 that it's defined.
6911 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6912 Use define-derived-mode.
6913
6914 * epg.el (epg-start-encrypt): Minor CSE simplification.
6915
816244a2
WX
69162013-09-06 William Xu <william.xwl@gmail.com>
6917
6918 * arc-mode.el: Add support for 7za (bug#15264).
6919 (archive-7z-program): New var.
6920 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6921 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6922 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6923
1486fa31
MA
69242013-09-06 Michael Albinus <michael.albinus@gmx.de>
6925
6926 Remove URL syntax.
6927
6928 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6929 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6930 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6931 (tramp-postfix-host-format, tramp-file-name-regexp)
6932 (tramp-completion-file-name-regexp)
6933 (tramp-completion-dissect-file-name)
6934 (tramp-handle-substitute-in-file-name): Remove 'url case.
6935 (tramp-file-name-regexp-url)
6936 (tramp-completion-file-name-regexp-url): Remove constants.
6937
39785324
GM
69382013-09-06 Glenn Morris <rgm@gnu.org>
6939
6940 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6941
1f896cb7
DG
69422013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6943
6944 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6945 keywords" below "here-doc beginnings" (Bug#15270).
6946
c0458e0b
SM
69472013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * subr.el (pop): Use `car-safe'.
6950 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6951 to detect unused `pop' return value.
6952
6953 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6954 var `block-regexp'.
6955 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6956 (python-fill-string): Remove unused var `marker'.
6957 (python-skeleton-add-menu-items): Remove unused var `items'.
6958
6959 * international/mule-cmds.el: Require CL.
6960 (find-coding-systems-for-charsets): Avoid add-to-list.
6961 (sanitize-coding-system-list): New function, extracted from
6962 select-safe-coding-system-interactively.
6963 (select-safe-coding-system-interactively): Use it.
6964 (read-input-method-name): Accept symbols for `default'.
6965
6966 * emacs-lisp/advice.el (defadvice): Add indent rule.
6967
6c42fc3e
DH
69682013-09-05 Daniel Hackney <dan@haxney.org>
6969
6970 * dired-x.el:
6971 * net/ange-ftp.el:
6972 * net/browse-url.el:
6973 * net/dbus.el:
6974 * net/eudc.el:
6975 * net/eudcb-ldap.el:
6976 * net/eww.el:
6977 * net/imap.el:
6978 * printing.el:
6979 * vc/ediff-diff.el:
6980 * vc/ediff-init.el:
6981 * vc/ediff-merg.el:
6982 * vc/ediff-mult.el:
6983 * vc/ediff-util.el:
6984 * vc/ediff-wind.el:
6985 * vc/ediff.el:
6986 * vc/emerge.el:
6987 * vc/pcvs.el:
6988 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6989 byte compiler. Remove some unused let-bound variables.
6990
4c528aab
SM
69912013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6992
6993 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6994 a "ref-cell", since it gets better optimized (bug#14883).
6995
bd15c390
GM
69962013-09-05 Glenn Morris <rgm@gnu.org>
6997
6998 * progmodes/cc-awk.el (c-forward-sws): Declare.
6999
1c3ac2e5
GM
70002013-09-04 Glenn Morris <rgm@gnu.org>
7001
7002 * generic-x.el [rul-generic-mode]: Require cc-mode.
7003 (c++-mode-syntax-table): Declare.
7004 (rul-generic-mode-syntax-table): Init in the defvar.
7005
52b1cc79
SM
70062013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7007
c828af56
SM
7008 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7009 (vc-do-command, vc-set-async-update):
7010 * vc/vc-mtn.el (vc-mtn-dir-status):
7011 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7012 (vc-hg-pull, vc-hg-merge-branch):
7013 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7014 (vc-git-merge-branch):
7015 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7016 (vc-cvs-dir-status-files):
7017 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7018 (vc-bzr-dir-status-files):
7019 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7020 * vc/vc-annotate.el: Use lexical-binding.
7021 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7022 (vc-sentinel-movepoint): Declare.
7023 (vc-annotate): Don't use `goto-line'.
7024 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7025 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7026 (vc-sentinel-movepoint): Declare.
7027 * vc/vc-svn.el: Use lexical-binding.
7028 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7029 * vc/vc-sccs.el:
7030 * vc/vc-rcs.el: Use lexical-binding.
7031
abae272c
SM
7032 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7033 `deleted'. Don't drop errors silently.
7034
52b1cc79
SM
7035 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7036
63191d9f
XF
70372013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7038
7039 * vc/vc.el (vc-ignore): Rewrite.
7040 (vc-default-ignore): New function.
7041 (vc-default-ignore-completion-table): Use find-ignore-file.
7042
7043 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7044 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7045 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7046 Remove. Most code moved to vc.el.
7047
9d3f707c
SM
70482013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7049
abae272c 7050 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7051 * net/tramp-smb.el (tramp-smb-get-file-entries):
7052 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7053 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7054
fde38d49
SM
7055 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7056 Update call to it.
7057 (eww-change-select): Remove unused var `properties'.
7058 (eww-make-unique-file-name): Remove unused var `base'.
7059
7060 * finder.el (finder-compile-keywords): Don't mess with windows.
7061
84032db7
SM
7062 * calculator.el (calculator-funcall): Fix typo in last change.
7063
724f5e41
SM
7064 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7065
14b511d4
SM
7066 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7067 <pkg>-autoloads.el file stop us.
7068
9d3f707c 7069 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7070 warnings, and factor out common code.
9d3f707c 7071
88527bc0
DG
70722013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7073
7074 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7075 two-character operators and whether the character preceding them
7076 changes their meaning (Bug#15208).
7077
96edb677
FEG
70782013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7079
7080 Format code sent to Python shell for robustness.
9d3f707c
SM
7081 * progmodes/python.el (python-shell-buffer-substring):
7082 New function.
96edb677
FEG
7083 (python-shell-send-region, python-shell-send-buffer): Use it.
7084
95beaef3
MA
70852013-09-02 Michael Albinus <michael.albinus@gmx.de>
7086
7087 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7088 * net/tramp.el (tramp-user-error): ... here.
7089 (tramp-find-method, tramp-check-proper-host)
7090 (tramp-dissect-file-name, tramp-debug-message)
7091 (tramp-handle-shell-command):
7092 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7093 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7094
7095 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7096
f167c27b
MR
70972013-09-02 Martin Rudalics <rudalics@gmx.at>
7098
7099 * avoid.el (mouse-avoidance-point-position)
7100 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7101 returns nil.
7102
cd16c5f1
FEG
71032013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7104
7105 * progmodes/python.el (python-shell-completion-get-completions):
7106 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7107 (python-nav-if-name-main): New command.
cd16c5f1 7108
e73c3a0d
GM
71092013-09-01 Glenn Morris <rgm@gnu.org>
7110
f8ccce03
GM
7111 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7112 Avoid leading space in $wins. Otherwise the sed command used by
7113 eg compile-main ends up containing "/*.el". (Bug#15170)
7114
e73c3a0d
GM
7115 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7116
415f808e
GM
71172013-08-30 Glenn Morris <rgm@gnu.org>
7118
7119 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7120 Fix is-this-a-directory logic. (Bug#15220)
7121
f069bba8
SM
71222013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7123
112798c1
SM
7124 * textmodes/css-mode.el: Use SMIE.
7125 (css-smie-grammar): New var.
7126 (css-smie--forward-token, css-smie--backward-token)
7127 (css-smie-rules): New functions.
7128 (css-mode): Use them.
7129 (css-navigation-syntax-table): Remove var.
7130 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7131 (css-indent-calculate, css-indent-line): Remove functions.
7132
7133 Misc changes to reduce use of `(lambda...); and other cleanups.
7134 * cus-edit.el: Use lexical-binding.
7135 (customize-push-and-save, customize-apropos)
7136 (custom-buffer-create-internal): Use closures.
7137 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7138 * progmodes/ada-xref.el: Use setq.
7139 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7140 * dframe.el: Use lexical-binding.
7141 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7142 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7143 * descr-text.el: Use lexical-binding.
7144 (describe-text-widget, describe-text-sexp, describe-property-list):
7145 Use closures.
7146 * comint.el (comint-history-isearch-push-state): Use a closure.
7147 * calculator.el: Use lexical-binding.
7148 (calculator-number-to-string): Make it work with lexical-binding.
7149 (calculator-funcall): Same and use cl-letf.
7150
2da4c3ab
SM
7151 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7152 (lisp--company-doc-string, lisp--company-location): New functions.
7153 (lisp-completion-at-point): Use them to improve Company support.
7154
f069bba8
SM
7155 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7156 params of lambda expressions.
7157 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7158 (ruby-smie--opening-pipe-p): New function.
7159 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7160 symbols and matched |...| for formal params.
7161 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7162 from being treated as hanging. Handle "rescue".
7163
6758b6a8
GM
71642013-08-29 Glenn Morris <rgm@gnu.org>
7165
7166 * progmodes/cc-engine.el (c-pull-open-brace):
7167 Move definition before use.
7168
e8dfd197
SM
71692013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7172 are immutable. Don't use `unsafe' any more.
7173 (cl--defsubst-expand): Don't substitute at the same time as keeping
7174 a residual unused let-binding. Don't use `unsafe' any more.
7175
cc585c96
GM
71762013-08-29 Glenn Morris <rgm@gnu.org>
7177
ba579ea6
GM
7178 * calendar/cal-china.el (calendar-chinese-year-cache):
7179 Recenter on 2015.
7180
8201a87e
GM
7181 * nxml/nxml-util.el (nxml-debug-clear-inside):
7182 Use cl-loop rather than loop.
7183
6ee877c7
GM
7184 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7185
cc585c96
GM
7186 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7187
27be8d39
GM
71882013-08-28 Glenn Morris <rgm@gnu.org>
7189
397440a1
GM
7190 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7191
2bb762d4
GM
7192 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7193
27be8d39
GM
7194 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7195
2d69b99e
SM
71962013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7197
f663baa7
SM
7198 * simple.el (repeat-complex-command--called-interactively-skip):
7199 New function.
7200 (repeat-complex-command): Use it (bug#14136).
7201
dd4f8b74
SM
7202 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7203 (c-define-abbrev-table): Add `doc' argument.
7204 (c-mode-abbrev-table, c++-mode-abbrev-table)
7205 (objc-mode-abbrev-table, java-mode-abbrev-table)
7206 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7207 (awk-mode-abbrev-table): Use it.
7208 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7209 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7210 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7211 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7212 Move initialization into the declaration; and remove any
7213 autoload cookie.
7214
b58969f7
SM
7215 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7216 and dynamic let binding.
7217
4021d6a6
SM
7218 * vc/smerge-mode.el: Remove redundant :group args.
7219
2d69b99e
SM
7220 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7221 to load-path.
7222
274919fd
JL
72232013-08-28 Juri Linkov <juri@jurta.org>
7224
7225 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7226 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7227 (isearch-other-meta-char): Handle an undefined shifted printing
7228 character by downshifting it. (Bug#15200)
7229
121f8c95
JL
72302013-08-28 Juri Linkov <juri@jurta.org>
7231
7232 * isearch.el (isearch-search): Change regexp error message for
7233 non-regexp searches. (Bug#15166)
7234
50b13cde
PE
72352013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7236
7237 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7238 for portability to hosts where /bin/sh has problems.
7239
95888bca
SM
72402013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7243
bbe558f1
JL
72442013-08-27 Juri Linkov <juri@jurta.org>
7245
7246 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7247 in the keyboard macro. (Bug#15126)
7248
26f98a7d
JL
72492013-08-27 Juri Linkov <juri@jurta.org>
7250
7251 * isearch.el (isearch-quote-char): Comment out converting unibyte
7252 to multibyte, thus syncing with its `quoted-insert' counterpart.
7253 (Bug#15166)
7254
7c97d35e
MR
72552013-08-27 Martin Rudalics <rudalics@gmx.at>
7256
7257 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7258 argument in call of get-largest-window (Bug#15185).
7259 Reported by Stephen Leake.
7c97d35e 7260
a0b5606e 72612013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7262
7263 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7264
9e89d835
SM
72652013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7268 from a matcher-function unless there's no more matches (bug#15161).
7269
78fc2530
MA
72702013-08-26 Michael Albinus <michael.albinus@gmx.de>
7271
7272 * minibuffer.el: Revert change from 2013-08-20.
7273
7274 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7275 with text property `tramp-default', if appropriate.
7276 (tramp-check-proper-host): New defun.
7277 (tramp-dissect-file-name): Do not check hostname. Revert change
7278 of 2013-03-18.
7279 (tramp-backtrace): Make VEC-OR-PROC optional.
7280
7281 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7282 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7283 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7284 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7285 Apply `tramp-check-proper-host'.
78fc2530 7286
edca97cd
TH
72872013-08-26 Tassilo Horn <tsdh@gnu.org>
7288
7289 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7290 lambda expression in order to have `describe-variable' display it.
7291
df54bcbd
MA
72922013-08-26 Michael Albinus <michael.albinus@gmx.de>
7293
7294 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7295 BUF can be optional. (Bug#15186)
7296
eed99101
XF
72972013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7298
7299 * progmodes/flymake.el (flymake-get-real-file-name-function):
7300 Fix broken customization. (Bug#15184)
7301
b5eb9035
AM
73022013-08-25 Alan Mackenzie <acm@muc.de>
7303
8a51e842
AM
7304 Improve indentation of bracelists defined by macros (without "=").
7305
7306 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7307 expansion begins with "{", regard it as bracelist when it doesn't
7308 contain a ";".
7309
869455d4
AM
7310 Parse C++ inher-intro when there's a template split over 2 lines.
7311
7312 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7313 rigorously the search for "class" etc. followed by ":".
7314
7315 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7316 random languages a regexp which never matches rather than nil.
7317
b5eb9035
AM
7318 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7319
7320 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7321 (c-awk-regexp-one-line-possibly-open-char-list-re)
7322 (c-awk-one-line-possibly-open-regexp-re)
7323 (c-awk-one-line-non-syn-ws*-re): Remove.
7324 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7325 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7326 (c-awk-space*-unclosed-regexp-/-re): New constants.
7327 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7328 aren't regexp delimiters.
7329
7330 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7331 handling for a rare situation in AWK Mode involving unterminated
7332 strings/regexps.
7333
61611d54
GM
73342013-08-23 Glenn Morris <rgm@gnu.org>
7335
2d85dc34
GM
7336 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7337
cb8d2612
GM
7338 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7339
bb35f42f
GM
7340 * files.el (create-file-buffer): If the result would begin with
7341 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7342
b9808e77
SM
73432013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7344
e3a66363
SM
7345 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7346 text-properties (bug#15155).
7347
b9808e77
SM
7348 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7349 exist any more.
7350 (calc-keypad-redraw): Remove unused var `pad'.
7351 (calc-keypad-press): Remove unused var `menu'.
7352
7fd5f65e
MR
73532013-08-23 Martin Rudalics <rudalics@gmx.at>
7354
b9808e77
SM
7355 * window.el (display-buffer-pop-up-frame):
7356 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7357 use it as the new frame's buffer (Bug#15133).
7358
8352b530
SM
73592013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * calendar/timeclock.el: Minor cleanups.
7362 (timeclock-ask-before-exiting, timeclock-use-display-time):
7363 Use `symbol'.
7364 (timeclock-modeline-display): Define as alias before the
7365 actual definition.
7366 (timeclock-mode-line-display): Use define-minor-mode.
7367 (timeclock-day-list-template): Make it a function, add an argument.
7368 (timeclock-day-list-required, timeclock-day-list-length)
7369 (timeclock-day-list-debt, timeclock-day-list-span)
7370 (timeclock-day-list-break): Adjust calls accordingly.
7371
9f7b1925
SM
73722013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7373
7374 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7375 Use read--expression so that completion works again.
7376
6e50e983
SS
73772013-08-21 Sam Steingold <sds@gnu.org>
7378
7379 Add rudimentary inferior shell interaction
7380 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7381 (sh-set-shell): Reset it.
9f7b1925
SM
7382 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7383 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7384
dbb0d350
SM
73852013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * align.el: Use lexical-binding.
7388 (align-region): Simplify accordingly.
7389
c88586a9
MA
73902013-08-20 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7393
7394 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7395 `non-essential' up.
7396
f95527c8
MA
73972013-08-17 Michael Albinus <michael.albinus@gmx.de>
7398
7399 * net/tramp.el:
7400 * net/tramp-adb.el:
7401 * net/tramp-cmds.el:
7402 * net/tramp-ftp.el:
7403 * net/tramp-gvfs.el:
7404 * net/tramp-gw.el:
7405 * net/tramp-sh.el: Don't wrap external variable declarations by
7406 `eval-when-compile'.
7407
4b5fe4ee
LMI
74082013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7409
7410 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7411 now that Emacs supports ImageMagick animations.
7412
13c366c9
MA
74132013-08-16 Michael Albinus <michael.albinus@gmx.de>
7414
7415 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7416 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7417
3dfc5cd6
MR
74182013-08-16 Martin Rudalics <rudalics@gmx.at>
7419
7420 * window.el (mouse-autoselect-window-select): Do autoselect when
7421 mouse pointer is on margin.
7422
4bbb4381
WP
74232013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7424
7425 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7426
3a2ddc2d
GM
74272013-08-16 Glenn Morris <rgm@gnu.org>
7428
e8bedf5a
GM
7429 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7430 Handle "Remote Directory" response of some clients. (Bug#15058)
7431
58c4682f
GM
7432 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7433 Tweak warning. (Bug#14926)
7434
57953f49
GM
7435 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7436 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7437
3a2ddc2d
GM
7438 * image-mode.el (image-mode-map): Add menu items to reverse,
7439 increase, decrease, reset animation speed.
7440 (image--set-speed, image-increase-speed, image-decrease-speed)
7441 (image-reverse-speed, image-reset-speed): New functions.
7442 (image-mode-map): Add bindings for speed commands.
7443
7444 * image.el (image-animate-get-speed, image-animate-set-speed):
7445 New functions.
7446 (image-animate-timeout): Respect image :speed property.
7447
10fa0ed3
SM
74482013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7451 previous line (bug#15101).
7452 (debugger-eval-expression, debugger-record-expression):
7453 Use read--expression (bug#15102).
7454
5d89d9d2
MA
74552013-08-15 Michael Albinus <michael.albinus@gmx.de>
7456
7457 Remove byte compiler warnings, visible when compiling with
7458 `byte-compile-force-lexical-warnings' set to t.
7459
7460 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7461 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7462 (tramp-handle-unhandled-file-name-directory)
7463 (tramp-handle-file-notify-add-watch, tramp-action-login)
7464 (tramp-action-succeed, tramp-action-permission-denied)
7465 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7466 arguments with "_".
7467
7468 * net/tramp-adb.el (tramp-adb-parse-device-names)
7469 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7470 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7471 (tramp-adb-handle-file-truename): Remove unused arguments.
7472
7473 * net/tramp-cache.el (tramp-flush-directory-property)
7474 (tramp-flush-connection-property, tramp-list-connections)
7475 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7476
10fa0ed3
SM
7477 * net/tramp-compat.el (tramp-compat-make-temp-file):
7478 Rename FILENAME to F.
5d89d9d2
MA
7479
7480 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7481 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7482 (tramp-zeroconf-parse-workstation-device-names)
7483 (tramp-zeroconf-parse-webdav-device-names)
7484 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7485
7486 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7487 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7488
7489 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7490 arguments.
7491 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7492 (tramp-sh-handle-insert-file-contents-literally)
7493 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7494 with "_".
7495 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7496 Remove unused variables.
7497
7498 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7499 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7500 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7501
7502 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7503 Make them a defconst.
7504 (tramp-uuencode-region): Remove unused variable.
7505
62f33bae
JB
75062013-08-14 Juanma Barranquero <lekktu@gmail.com>
7507
7508 * frameset.el (frameset--prop-setter): New function.
7509 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7510 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7511 parameter was already set in FILTERED. Doc fix.
7512 (frameset--record-minibuffer-relationships): Allow saving a
7513 minibufferless frame without its corresponding minibuffer frame.
7514 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7515 frame, if the frame id matches.
7516 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7517 frames before orphaned ones.
7518 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7519
c660a885
MR
75202013-08-14 Martin Rudalics <rudalics@gmx.at>
7521
7522 * window.el (window-make-atom): Don't overwrite parameter
7523 already present.
7524 (display-buffer-in-atom-window): Handle special case where we
7525 split an already atomic window.
7526 (window--major-non-side-window, display-buffer-in-side-window)
7527 (window--side-check): Ignore minibuffer window when walking
7528 window tree.
7529 (window-deletable-p): Return 'frame only if no other frame uses
7530 our minibuffer window.
7531 (record-window-buffer): Run buffer-list-update-hook.
7532 (split-window): Make sure window--check-frame won't destroy an
7533 existing atomic window in case the new window gets nested
7534 inside.
7535 (display-buffer-at-bottom): Ignore minibuffer window when
7536 walking window tree. Don't split a side window.
7537 (pop-to-buffer): Don't set-buffer here, the select-window call
7538 should do that.
7539 (mouse-autoselect-window-select): Autoselect only if we are in the
7540 text portion of the window.
7541
8259030d
LMI
75422013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7543
21c58ae2
LMI
7544 * net/shr.el (shr-parse-image-data): New function to grab both the
7545 data itself and the Content-Type.
7546 (shr-put-image): Use it.
7547
7548 * net/eww.el (eww-display-image): Ditto.
7549
8259030d
LMI
7550 * image.el (image-content-type-suffixes): New variable.
7551
ad756449
FEG
75522013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7553
7554 * progmodes/python.el (python-imenu--build-tree)
7555 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7556
f73f4ce6
XF
75572013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7558
7559 * simple.el (backward-word): Mention the optional argument.
7560
1f585e65
SM
75612013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * frameset.el (frameset--make): Rename constructor from make-frameset.
7564 (frameset-p, frameset-valid-p): Don't autoload.
7565 (frameset-valid-p): Use normal accessors.
7566
af1c6c84
GM
75672013-08-13 Glenn Morris <rgm@gnu.org>
7568
55e47f95
GM
7569 * progmodes/compile.el (compile-command): Tweak example in doc.
7570 * obsolete/scribe.el (scribe-mode):
7571 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7572
f0024d8c
GM
7573 * mail/feedmail.el (feedmail-confirm-outgoing)
7574 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7575
7576 * cus-start.el (truncate-partial-width-windows): Fix type.
7577
7578 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7579
af1c6c84
GM
7580 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7581
5514cc4c
SM
75822013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * emacs-lisp/timer.el (timer--time-setter): New function.
7585 (timer--time): Use it as gv-setter.
7586
7587 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7588 setter is not a symbol.
7589
7997a2f1
GJ
75902013-08-12 Grégoire Jadi <daimrod@gmail.com>
7591
7592 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7593 if sending fails. This makes debugging easier.
7594
01f1a9ab
JB
75952013-08-12 Juanma Barranquero <lekktu@gmail.com>
7596
7597 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7598 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7599 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7600
594a4307
EZ
76012013-08-12 Eli Zaretskii <eliz@gnu.org>
7602
7603 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7604
7a22490f 76052013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7606
7607 * format.el (format-annotate-function):
7608 Handle read-only text properties in the source. (Bug#14887)
7609
3e41a054
LMI
76102013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7611
5514cc4c
SM
7612 * net/eww.el (eww-display-html): Ignore coding system errors.
7613 One web site uses "utf-8lias" as the coding system.
3e41a054 7614
7ec326db
JB
76152013-08-11 Juanma Barranquero <lekktu@gmail.com>
7616
7617 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7618
5660113b
JB
76192013-08-10 Juanma Barranquero <lekktu@gmail.com>
7620
9a4ebc74
JB
7621 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7622 (tutorial--detailed-help): Remove unused local variables.
7623 (tutorial--save-tutorial-to): Use ignore-errors.
7624 (help-with-tutorial): Use looking-at-p.
7625
7626 * view.el (view-buffer-other-window, view-buffer-other-frame):
7627 Mark unused arguments.
7628
7629 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7630 (woman-select-symbol-fonts, woman, woman-find-file)
7631 (woman-insert-file-contents, woman-non-underline-faces):
7632 Use string-match-p.
7633 (woman1-unquote): Move declaration.
7634
7635 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7636 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7637 argument. Remove unused local variable.
7638 (xml-parse-elem-type): Use string-match-p.
7639 (xml-substitute-numeric-entities): Use ignore-errors.
7640
45fdb482
JB
7641 * calculator.el (calculator): Mark unused argument.
7642 (calculator-paste, calculator-quit, calculator-integer-p):
7643 Use ignore-errors.
7644 (calculator-string-to-number, calculator-decimal, calculator-exp)
7645 (calculator-op-or-exp): Use string-match-p.
7646
7647 * dired.el (dired-buffer-more-recently-used-p): Declare.
7648 (dired-insert-set-properties, dired-insert-old-subdirs):
7649 Use ignore-errors.
7650
7651 * dired-aux.el (dired-compress): Use ignore-errors.
7652 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7653 (dired-do-async-shell-command, dired-do-shell-command)
7654 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7655 (dired-insert-subdir-validate): Use string-match-p.
7656 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7657 (dired-add-entry): Use string-match-p, looking-at-p.
7658 (dired-insert-subdir-newpos): Remove unused local variable.
7659
7660 * filenotify.el (file-notify-callback): Remove unused local variable.
7661
7662 * filesets.el (filesets-error): Mark unused argument.
7663 (filesets-which-command-p, filesets-filter-dir-names)
7664 (filesets-directory-files, filesets-get-external-viewer)
7665 (filesets-ingroup-get-data): Use string-match-p.
7666
7667 * find-file.el (ff-other-file-name, ff-other-file-name)
7668 (ff-find-the-other-file, ff-cc-hh-converter):
7669 Remove unused local variables.
7670 (ff-get-file-name): Use string-match-p.
7671 (ff-all-dirs-under): Use ignore-errors.
7672
7673 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7674 (follow-select-if-visible): Remove unused local variable.
7675
7676 * forms.el (read-file-filter): Move declaration.
7677 (forms--make-format, forms--make-parser, forms-insert-record):
7678 Quote function with #'.
7679 (forms--update): Use string-match-p. Quote function with #'.
7680
7681 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7682 (help-make-xrefs): Use looking-at-p.
7683 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7684
7685 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7686 (ibuffer-confirm-operation-on): Use string-match-p.
7687
7688 * msb.el (msb-item-handler, msb-dired-item-handler):
7689 Mark unused arguments.
7690
7691 * ses.el (ses-decode-cell-symbol)
7692 (ses-kill-override): Remove unused local variable.
7693 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7694 (ses-load): Use ignore-errors, looking-at-p.
7695 (ses-jump-safe): Use ignore-errors.
7696 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7697
7698 * tabify.el (untabify, tabify): Mark unused arguments.
7699
7700 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7701 Mark unused argument.
7702 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7703 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7704
c880af52
JB
7705 * emacs-lisp/timer.el (timer--time): Define setter with
7706 gv-define-setter to avoid deprecation warning.
7707
5660113b 7708 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7709 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7710 (cmpl-statistics-block): Remove (body was commented out).
7711 All callers changed.
7712 (add-completions-from-buffer, load-completions-from-file):
7713 Remove unused variables.
7714
156aab80
JB
77152013-08-09 Juanma Barranquero <lekktu@gmail.com>
7716
5c5dee78
JB
7717 * filecache.el (file-cache-delete-file-list):
7718 Print message only when told so.
7719 (file-cache-files-matching): Use #' in mapconcat argument.
7720
156aab80
JB
7721 * ffap.el (ffap-url-at-point): Fix reference to variable
7722 thing-at-point-default-mail-uri-scheme.
7723
ad9dcd70
SM
77242013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7725
54bd972f
SM
7726 * subr.el (define-error): New function.
7727 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7728 error-file-not-found and define with define-error.
7729 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7730 and define with define-error.
7731 * userlock.el (file-locked, file-supersession):
7732 * simple.el (mark-inactive):
7733 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7734 * progmodes/ada-mode.el (ada-mode-errors):
7735 * play/life.el (life-extinct):
7736 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7737 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7738 * nxml/rng-util.el (rng-error):
7739 * nxml/rng-uri.el (rng-uri-error):
7740 * nxml/rng-match.el (rng-compile-error):
7741 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7742 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7743 * nxml/nxml-rap.el (nxml-scan-error):
7744 * nxml/nxml-outln.el (nxml-outline-error):
7745 * net/soap-client.el (soap-error):
7746 * net/gnutls.el (gnutls-error):
7747 * net/ange-ftp.el (ftp-error):
7748 * mpc.el (mpc-proc-error):
7749 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7750 (json-number-format, json-string-escape, json-string-format)
7751 (json-key-format, json-object-format):
7752 * jka-compr.el (compression-error):
7753 * international/quail.el (quail-error):
7754 * international/kkc.el (kkc-error):
7755 * emacs-lisp/ert.el (ert-test-failed):
7756 * calc/calc.el (calc-error, inexact-result, math-overflow)
7757 (math-underflow):
7758 * bookmark.el (bookmark-error-no-filename):
7759 * epg.el (epg-error): Define with define-error.
7760
0ea9e53a
SM
7761 * time.el (display-time-event-handler)
7762 (display-time-next-load-average): Don't call sit-for since it seems
7763 unnecessary (bug#15045).
7764
b0429158
SM
7765 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7766 Use #' instead of ' to quote functions.
7767 (checkdoc-output-mode): Use setq-local.
7768 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7769 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7770 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7771 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7772 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7773 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7774 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7775 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7776
ad9dcd70
SM
7777 * ido.el (ido-completion-help): Fix up compiler warning.
7778
77187e6f
JB
77792013-08-09 Juanma Barranquero <lekktu@gmail.com>
7780
7781 * frameset.el (frameset-p): Add autoload cookie.
7782 (frameset--jump-to-register): New function, based on code moved from
7783 register.el.
7784 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7785
7786 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7787 (frameset-restore, frameset-save, frameset-session-filter-alist):
7788 Remove declarations.
7789 (register-alist): Doc fix.
7790 (frameset-to-register): Move to frameset.el.
7791 (jump-to-register, describe-register-1): Remove frameset-specific code.
7792
9d3aa82c
JB
77932013-08-08 Juanma Barranquero <lekktu@gmail.com>
7794
7795 * allout-widgets.el (allout-widgets-pre-command-business)
7796 (allout-widgets-post-command-business)
7797 (allout-widgets-after-change-handler)
7798 (allout-decorate-item-and-context, allout-set-boundary-marker)
7799 (allout-body-modification-handler)
7800 (allout-graphics-modification-handler): Mark ignored arguments.
7801 (allout-widgets-post-command-business)
7802 (allout-widgets-exposure-change-processor)
7803 (allout-widgets-exposure-undo-processor)
7804 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7805 (allout-parse-item-at-point, allout-decorate-item-guides)
7806 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7807 * allout.el (epa-passphrase-callback-function): Declare.
7808 (allout-overlay-insert-in-front-handler)
7809 (allout-overlay-interior-modification-handler)
7810 (allout-isearch-end-handler, allout-chart-siblings)
7811 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7812 (allout-yank-processing, allout-process-exposed)
7813 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7814 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7815 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7816 (lisp-indent-defform): Mark ignored arguments.
7817 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7818 (calculate-lisp-indent): Remove unused variables.
7819 * international/characters.el (indian-2-column, arabic-2-column)
7820 (tibetan): Mark ignored arguments.
7821 (use-cjk-char-width-table): Mark ignored arguments.
7822 Remove unused variables.
7823 * international/fontset.el (build-default-fontset-data)
7824 (x-compose-font-name, create-fontset-from-fontset-spec):
7825 Mark ignored arguments.
7826 (fontset-plain-name): Remove unused variables.
7827 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7828 (keyboard-coding-system): Mark ignored arguments.
7829 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7830 * help.el (resize-temp-buffer-window):
7831 * window.el (display-buffer-in-major-side-window)
7832 (display-buffer-in-side-window, display-buffer-in-previous-window):
7833 Remove unused variables.
7834 * isearch.el (isearch-forward-symbol):
7835 * version.el (emacs-bzr-version-bzr):
7836 * international/mule-cmds.el (current-language-environment):
7837 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7838 (x-handle-display):
7839 * term/pc-win.el (x-list-fonts, x-display-planes)
7840 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7841 (x-server-version, x-display-screens, x-display-mm-height)
7842 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7843 (x-selection-owner-p, x-own-selection-internal)
7844 (x-disown-selection-internal, x-get-selection-internal)
7845 (msdos-initialize-window-system):
7846 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7847 * term/x-win.el (x-handle-no-bitmap-icon):
7848 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7849 (vc-default-find-file-hook, vc-default-extra-menu):
7850 Mark ignored arguments.
7851
0ca3f70e
SM
78522013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7855 break-condition in the context of the debugged code (bug#12685).
7856
74c5d24c
CS
78572013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7858
7859 * comint.el:
7860 Do not use an overlay to highlight the last prompt. (Bug#14744)
7861 (comint-mode): Make comint-last-prompt buffer local.
7862 (comint-last-prompt): New variable.
7863 (comint-last-prompt-overlay): Remove. Superseded by
7864 comint-last-prompt.
0ca3f70e
SM
7865 (comint-snapshot-last-prompt, comint-output-filter):
7866 Use comint-last-prompt.
74c5d24c 7867
c03c02ee
JB
78682013-08-08 Juanma Barranquero <lekktu@gmail.com>
7869
a3738d20 7870 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7871 (frameset-save): Check validity of the resulting frameset.
7872
04263d23
XF
78732013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7874
7875 * ido.el (ido-record-command): Add doc string.
7876
76c5e5ab
JB
78772013-08-08 Juanma Barranquero <lekktu@gmail.com>
7878
7879 * frameset.el (frameset): Do not disable creation of the default
7880 frameset-p predicate. Doc fix.
7881 (frameset-valid-p): New function, copied from the old predicate-p.
7882 Add additional checks.
7883 (frameset-restore): Check with frameset-valid-p.
7884 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7885 (frameset-name, frameset-description, frameset-properties)
7886 (frameset-states): Add docstring.
f9dbf1cb
JB
7887 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7888 (frameset-filter-alist): Doc fixes.
76c5e5ab 7889
bd0c3c0b
JB
78902013-08-08 Juanma Barranquero <lekktu@gmail.com>
7891
7892 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7893
c735544c
SM
78942013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7895
7896 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7897 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7898 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7899 (byte-compile-normal-call): Remove obsolescence check.
7900
2805a651
JB
79012013-08-08 Juanma Barranquero <lekktu@gmail.com>
7902
3677ffeb
JB
7903 * frameset.el (frameset-restore): Doc fix.
7904
2805a651
JB
7905 * register.el (frameset-frame-id, frameset-frame-with-id)
7906 (frameset-p, frameset-restore, frameset-save): Declare.
7907 (register-alist): Document framesets.
7908 (frameset-session-filter-alist): Declare.
7909 (frameset-to-register): New function.
7910 (jump-to-register): Implement jumping to framesets. Doc fix.
7911 (describe-register-1): Describe framesets.
7912
7913 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7914
a912c016
JB
79152013-08-07 Juanma Barranquero <lekktu@gmail.com>
7916
7917 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7918 Use lexical-binding.
7919
7920 * frameset.el (frameset): Use type vector, not list (incompatible
7921 change). Do not declare a new constructor, use the default one.
7922 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7923 `name' and `description', respectively, and add read-only slot
7924 `timestamp'. Doc fixes.
7925 (frameset-copy, frameset-persistent-filter-alist)
7926 (frameset-filter-alist, frameset-switch-to-gui-p)
7927 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7928 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7929 (frameset-filter-iconified, frameset-keep-original-display-p):
7930 Doc fixes.
7931 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7932 Rename from frameset-filter-(save|restore)-param. All callers changed.
7933 Doc fix.
7934 (frameset-p): Adapt to change to vector and be more thorough.
7935 Change arg name to OBJECT. Doc fix.
7936 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7937 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7938 All callers changed.
7939 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7940 All callers changed.
7941 (frameset--record-minibuffer-relationships): Rename from
7942 frameset--process-minibuffer-frames. All callers changed.
7943 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7944 Use new default constructor (again). Doc fix.
c295fc18 7945 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7946 All callers changed.
7947 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7948 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7949 Doc fix.
7950 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7951 PARAMETERS and WINDOW-STATE, respectively.
7952 (frameset-restore): Add new keyword argument PREDICATE.
7953 Reset frameset--target-display to nil. Doc fix.
7954
bb41480a
SM
79552013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7956
f001e98e
SM
7957 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7958 (bat-mode): Use it.
7959 (bat-mode-syntax-table): Mark \n as end-of-comment.
7960 (bat-font-lock-keywords): Remove comment rule.
7961
7679edb1
SM
7962 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7963 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7964
bb41480a
SM
7965 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7966 (byte-compile-callargs-warn): Use `push'.
7967 (byte-compile-arglist-warn): Ignore higher-order "calls".
7968 (byte-compile-file-form-autoload): Use `pcase'.
7969 (byte-compile-function-form): If quoting a symbol, check that it exists.
7970
cdc1ebb9
EZ
79712013-08-07 Eli Zaretskii <eliz@gnu.org>
7972
7973 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7974 and add a few popular commands found in batch files.
7975 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7976 (dos-mode): Doc fixes.
7977
312b1740
SM
79782013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7981 (dos-mode): Use setq-local. Add space after "rem".
7982 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7983 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7984
400a3178
AM
79852013-08-07 Arni Magnusson <arnima@hafro.is>
7986
7987 * progmodes/dos.el: New file.
7988 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7989 dos-mode.
7990
3b5c03d3
GM
79912013-08-06 Glenn Morris <rgm@gnu.org>
7992
7993 * calendar/calendar.el: Add new faces, and day-header-array.
7994 (calendar-weekday-header, calendar-weekend-header)
7995 (calendar-month-header): New faces.
7996 (calendar-day-header-construct): New function.
7997 (calendar-day-header-width): Also :set calendar-day-header-array.
7998 (calendar-american-month-header, calendar-european-month-header)
7999 (calendar-iso-month-header): Use calendar- faces.
8000 (calendar-generate-month):
8001 Use calendar-day-header-array for day headers; apply faces to them.
8002 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8003 (calendar-abbrev-construct): Add optional maxlen argument.
8004 (calendar-day-name-array): Doc fix.
8005 (calendar-day-name-array, calendar-abbrev-length)
8006 (calendar-day-abbrev-array):
8007 Also :set calendar-day-header-array, and maybe redraw.
8008 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8009 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8010 (calendar-day-name): Add option to use header array.
8011
ec6a2d7a
LMI
80122013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8013
8014 * net/shr.el (shr-render-td): Remove debugging.
8015 (shr-render-td): Make width computation consistent by defaulting
8016 all zero-width columns to 10 characters. This may not be optimal,
8017 but it's at least consistent.
2122cb6d
LMI
8018 (shr-make-table-1): Redo last change to fix the real problem in
8019 colspan handling.
ec6a2d7a 8020
ed4fd9c5
DA
80212013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8022
0ca3f70e
SM
8023 * files.el (cache-long-line-scans):
8024 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8025
64e22afe
JB
80262013-08-06 Juanma Barranquero <lekktu@gmail.com>
8027
024b38fc
JB
8028 * frameset.el (frameset, frameset-filter-alist)
8029 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8030 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8031 (frameset-compute-pos): Rename from frameset--compute-pos,
8032 and add docstring.
8033 (frameset-move-onscreen): Use frameset-compute-pos.
8034 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8035
64e22afe
JB
8036 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8037 Fix typos in docstrings.
8038
c8c2aca8
DA
80392013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8040
8041 * frame.el (get-other-frame): Tiny cleanup.
8042
1d237bba
JB
80432013-08-06 Juanma Barranquero <lekktu@gmail.com>
8044
8951efef
JB
8045 * vc/vc.el (vc-default-ignore-completion-table):
8046 Silence byte-compiler warning.
8047
307764cc 8048 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8049 slot, which can indeed be nil.
307764cc
JB
8050 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8051 Move entry for `left' from persistent to live filter alist.
8052 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8053 Doc fixes.
8054 (frameset-filter-params): When restoring a frame, copy items added to
8055 `filtered', to avoid unwittingly modifying the original parameters.
8056 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8057 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8058
1d237bba
JB
8059 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8060 to use looking-at-p instead of looking-at. (Bug#15028)
8061
dc6c0eda
SM
80622013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 Revert introduction of isearch-filter-predicates (bug#14714).
8065 Rely on add-function instead.
8066 * isearch.el (isearch-filter-predicates): Rename it back to
8067 isearch-filter-predicate.
8068 (isearch-message-prefix): Use advice-function-mapc and advice
8069 properties to get the isearch-message-prefix.
8070 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8071 instead of run-hook-with-args-until-failure.
8072 (isearch-filter-visible): Not obsolete any more.
8073 * loadup.el: Preload nadvice.
8074 * replace.el (perform-replace): Revert to funcall
8075 instead of run-hook-with-args-until-failure.
8076 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8077 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8078 dired-isearch-filenames-toggle; make it into a proper minor mode.
8079 Use add/remove-function.
8080 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8081 Call the minor-mode rather than add/remove-hook.
8082 (dired-isearch-filter-filenames):
8083 Remove isearch-message-prefix property.
8084 * info.el (Info--search-loop): New function, extracted from Info-search.
8085 Funcall isearch-filter-predicate instead of
8086 run-hook-with-args-until-failure isearch-filter-predicates.
8087 (Info-search): Use it.
8088 (Info-mode): Use isearch-filter-predicate instead of
8089 isearch-filter-predicates.
8090
290d5b58
DA
80912013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8092
8093 Do not call to `selected-window' where it is assumed by default.
8094 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8095 `window-hscroll', `window-width', `window-height', `window-buffer',
8096 `window-frame', `window-start', `window-point', `next-window'
8097 and `window-display-table'.
8098 * abbrev.el (abbrev--default-expand):
8099 * bs.el (bs--show-with-configuration):
8100 * buff-menu.el (Buffer-menu-mouse-select):
8101 * calc/calc.el (calc):
8102 * calendar/calendar.el (calendar-generate-window):
8103 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8104 (diary-make-entry):
8105 * comint.el (send-invisible, comint-dynamic-complete-filename)
8106 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8107 * completion.el (complete):
8108 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8109 * disp-table.el (describe-current-display-table):
8110 * doc-view.el (doc-view-insert-image):
8111 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8112 * ehelp.el (with-electric-help):
8113 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8114 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8115 * emacs-lisp/helper.el (Helper-help-scroller):
8116 * emulation/cua-base.el (cua--post-command-handler-1):
8117 * eshell/esh-mode.el (eshell-output-filter):
8118 * ffap.el (ffap-gnus-wrapper):
8119 * help-macro.el (make-help-screen):
8120 * hilit-chg.el (highlight-compare-buffers):
8121 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8122 * hl-line.el (global-hl-line-highlight):
8123 * icomplete.el (icomplete-simple-completing-p):
8124 * isearch.el (isearch-done):
8125 * jit-lock.el (jit-lock-stealth-fontify):
8126 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8127 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8128 * mpc.el (mpc-tagbrowser, mpc):
8129 * net/rcirc.el (rcirc-any-buffer):
8130 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8131 * play/landmark.el (landmark-max-width, landmark-max-height):
8132 * play/zone.el (zone):
8133 * progmodes/compile.el (compilation-goto-locus):
8134 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8135 * progmodes/etags.el (find-tag-other-window):
8136 * progmodes/fortran.el (fortran-column-ruler):
8137 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8138 * progmodes/verilog-mode.el (verilog-point-text):
8139 * reposition.el (reposition-window):
8140 * rot13.el (toggle-rot13-mode):
8141 * server.el (server-switch-buffer):
8142 * shell.el (shell-dynamic-complete-command)
8143 (shell-dynamic-complete-environment-variable):
8144 * simple.el (insert-buffer, set-selective-display)
8145 (delete-completion-window):
8146 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8147 (speedbar-recenter):
8148 * startup.el (fancy-splash-head):
8149 * textmodes/ispell.el (ispell-command-loop):
8150 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8151 * tutorial.el (help-with-tutorial):
8152 * vc/add-log.el (add-change-log-entry):
8153 * vc/compare-w.el (compare-windows):
8154 * vc/ediff-help.el (ediff-indent-help-message):
8155 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8156 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8157 (ediff-setup-control-frame):
8158 * vc/emerge.el (emerge-position-region):
8159 * vc/pcvs-util.el (cvs-bury-buffer):
8160 * window.el (walk-windows, mouse-autoselect-window-select):
8161 * winner.el (winner-set-conf, winner-undo): Related users changed.
8162
38276e01
JB
81632013-08-05 Juanma Barranquero <lekktu@gmail.com>
8164
8165 * frameset.el (frameset--set-id): Doc fix.
8166 (frameset-frame-id, frameset-frame-id-equal-p)
8167 (frameset-locate-frame-id): New functions.
8168 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8169 (frameset-restore): Use them.
8170
12b4c0ea
DA
81712013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8172
8173 Do not call to `selected-frame' where it is assumed by default.
8174 Affected functions are `raise-frame', `redraw-frame',
8175 `frame-first-window', `frame-terminal' and `delete-frame'.
8176 * calendar/appt.el (appt-disp-window):
8177 * epg.el (epg-wait-for-completion):
8178 * follow.el (follow-delete-other-windows-and-split)
8179 (follow-avoid-tail-recenter):
8180 * international/mule.el (set-terminal-coding-system):
8181 * mail/rmail.el (rmail-mail-return):
8182 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8183 * progmodes/f90.el (f90-add-imenu-menu):
8184 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8185 * server.el (server-switch-buffer):
8186 * simple.el (delete-completion-window):
8187 * talk.el (talk):
8188 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8189 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8190 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8191 * vc/ediff.el (ediff-documentation): Related users changed.
8192 * frame.el (selected-terminal): Remove the leftover.
8193
17f25e76
GM
81942013-08-05 Glenn Morris <rgm@gnu.org>
8195
8196 * calendar/calendar.el (calendar-generate-month):
8197 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8198 (calendar-generate-month, calendar-font-lock-keywords):
8199 Fix for calendar-day-header-width > length of any day name.
17f25e76 8200
063233c3
JB
82012013-08-05 Juanma Barranquero <lekktu@gmail.com>
8202
8203 * desktop.el (desktop-clear): Use new name of sort predicate.
8204
8205 * frameset.el (frameset): Add docstring. Move :version property to its
8206 own `version' slot.
8207 (frameset-copy): Rename from copy-frameset.
8208 (frameset-p): Check more thoroughly.
8209 (frameset-prop): Do not check for :version, which is no longer a prop.
8210 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8211 Use new :never value instead of t.
8212 (frameset-filter-alist): Expand and clarify docstring.
8213 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8214 (frameset-filter-minibuffer, frameset-filter-save-param)
8215 (frameset-filter-restore-param, frameset-filter-iconified):
8216 Add pointer to docstring of frameset-filter-alist.
8217 (frameset-filter-params): Rename filter values to be more meaningful:
8218 :never instead of t, and reverse the meanings of :save and :restore.
8219 (frameset--process-minibuffer-frames): Clarify error message.
8220 (frameset-save): Avoid unnecessary and confusing call to framep.
8221 Use new BOA constructor for framesets.
8222 (frameset--reuse-list): Doc fix.
8223 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8224 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8225 (frameset-minibufferless-first-p): Doc fix.
8226 Rename from frameset-sort-frames-for-deletion.
8227 (frameset-restore): Doc fixes. Use new function names.
8228 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8229
d5671a82
JB
82302013-08-04 Juanma Barranquero <lekktu@gmail.com>
8231
8232 * desktop.el (desktop-restore-forces-onscreen)
8233 (desktop-restore-reuses-frames): Document :keyword constant values.
8234 (desktop-filter-parameters-alist): Remove, now identical to
8235 frameset-filter-alist.
8236 (desktop--filter-tty*): Remove, moved to frameset.el.
8237 (desktop-save-frameset, desktop-restore-frameset):
8238 Do not pass :filters argument.
8239
8240 * frameset.el (frameset-live-filter-alist)
8241 (frameset-persistent-filter-alist): New variables.
8242 (frameset-filter-alist): Use them. Add autoload cookie.
8243 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8244 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8245 `frameset--id' (it's supposed to be internal to frameset.el).
8246 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8247 (frameset--initial-params): New function.
8248 (frameset--get-frame): Use it. Doc fix.
8249 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8250 Accept :all, not 'all.
8251 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8252 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8253 with fbound symbols. Fix frame id matching, and remove matching ids if
8254 the frame being restored is deleted. Obey :delete.
8255
671d5c16
SM
82562013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * subr.el (macrop): New function.
8259 (text-clone--maintaining): New var.
8260 (text-clone--maintain): Rename from text-clone-maintain. Use it
8261 instead of inhibit-modification-hooks.
8262
8263 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8264 a proxy, so as handle autoloads and redefinitions of the target.
8265 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8266
8267 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8268 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8269 (pcase--mutually-exclusive-p): New function.
8270 (pcase--split-consp): Use it.
8271 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8272 mutually exclusive with the current predicate.
8273
8274 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8275 (edebug-macrop): Remove. Use `macrop' instead.
8276 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8277 (ad-macro-p):
8278 * eshell/esh-cmd.el (eshell-macrop):
8279 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8280
1d44e9dc
SM
82812013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8284 (advice-mapc): New function, using it.
8285 (advice-function-member-p): New function.
8286 (advice--normalize): Store the cdr in advice--saved-rewrite since
8287 that's the part that will be changed.
8288 (advice--symbol-function): New function.
8289 (advice-remove): Handle removal before the function is defined.
8290 Adjust to new advice--saved-rewrite.
8291 (advice-member-p): Use advice-function-member-p and
8292 advice--symbol-function.
8293
5414a283
JB
82942013-08-04 Juanma Barranquero <lekktu@gmail.com>
8295
51d30f2c
JB
8296 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8297 (frameset-filter-minibuffer): Doc fix.
8298 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8299 (frameset--set-id, frameset--process-minibuffer-frames)
8300 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8301 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8302
5414a283
JB
8303 * desktop.el (desktop-clear): Only delete frames when called
8304 interactively and desktop-restore-frames is non-nil. Doc fix.
8305 (desktop-read): Set desktop-saved-frameset to nil.
8306
ab419665
XF
83072013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8308
8309 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8310 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8311 (vc--add-line, vc--remove-regexp): New functions.
8312
8313 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8314 (vc-svn-ignore-completion-table): New function.
8315
8316 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8317 (vc-hg-ignore-completion-table)
ab419665
XF
8318 (vc-hg-find-ignore-file): New functions.
8319
8320 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8321 (vc-git-ignore-completion-table)
ab419665
XF
8322 (vc-git-find-ignore-file): New functions.
8323
8324 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8325
8326 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8327 (vc-bzr-ignore-completion-table)
ab419665
XF
8328 (vc-bzr-find-ignore-file): New functions.
8329
2613dea2
JB
83302013-08-03 Juanma Barranquero <lekktu@gmail.com>
8331
8332 * frameset.el (frameset-prop): New function and setter.
8333 (frameset-save): Do not modify frame list passed by the caller.
8334
9c959872
SM
83352013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8338
a104f656
SM
83392013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8340
70122acf
SM
8341 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8342 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8343
a104f656
SM
8344 * custom.el (custom-initialize-default, custom-initialize-set)
8345 (custom-initialize-reset, custom-initialize-changed): Affect the
8346 toplevel-default-value (bug#6275, bug#14586).
8347 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8348 for bug#6275.
8349
f078d570
JB
83502013-08-02 Juanma Barranquero <lekktu@gmail.com>
8351
185e3b5a
JB
8352 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8353 Add cl-def* expressions.
8354
f078d570
JB
8355 * frameset.el (frameset-filter-params): Fix order of arguments.
8356
9421876d
JB
83572013-08-02 Juanma Barranquero <lekktu@gmail.com>
8358
8359 Move code related to saving frames to frameset.el.
8360 * desktop.el: Require frameset.
8361 (desktop-restore-frames): Doc fix.
8362 (desktop-restore-reuses-frames): Rename from
8363 desktop-restoring-reuses-frames.
8364 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8365 (desktop-clear): Clear frames too.
8366 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8367 (desktop--filter-tty*, desktop-save, desktop-read):
8368 Use frameset functions.
8369 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8370 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8371 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8372 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8373 (desktop--process-minibuffer-frames, desktop-save-frames)
8374 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8375 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8376 (desktop--sort-states, desktop-restoring-frames-p)
8377 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8378 (desktop-restoring-frameset-p, desktop-restore-frameset)
8379 (desktop--check-dont-save, desktop-save-frameset): New functions.
8380 (desktop--app-id): New constant.
8381 (desktop-first-buffer, desktop-buffer-ok-count)
8382 (desktop-buffer-fail-count): Move before first use.
8383 * frameset.el: New file.
8384
76dc5996
SM
83852013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * files.el: Use lexical-binding.
8388 (dir-locals-read-from-file): Remove unused `err' variable.
8389 (hack-dir-local-variables--warned-coding): New var.
8390 (hack-dir-local-variables): Use it to avoid repeated warnings.
8391 (make-backup-file-name--default-function): New function.
8392 (make-backup-file-name-function): Use it as default.
8393 (buffer-stale--default-function): New function.
8394 (buffer-stale-function): Use it as default.
8395 (revert-buffer-insert-file-contents--default-function): New function.
8396 (revert-buffer-insert-file-contents-function): Use it as default.
8397 (insert-directory): Avoid add-to-list.
8398
8399 * autorevert.el (auto-revert-handler): Simplify.
8400 Use buffer-stale--default-function.
8401
06d36e2b
TH
84022013-08-01 Tassilo Horn <tsdh@gnu.org>
8403
5f648ab4
TH
8404 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8405
06d36e2b
TH
8406 * whitespace.el (whitespace-ensure-local-variables): New function.
8407 (whitespace-cleanup-region): Call it.
8408 (whitespace-turn-on): Call it.
8409
a43dc424
MA
84102013-08-01 Michael Albinus <michael.albinus@gmx.de>
8411
8412 Complete file name handlers.
8413
8414 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8415 (tramp-handle-verify-visited-file-modtime)
8416 (tramp-handle-file-notify-rm-watch): New functions.
8417 (tramp-call-process): Do not bind `default-directory'.
8418
44e18199
JB
8419 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8420 Order alphabetically.
afe1e4c8
GM
8421 <access-file, add-name-to-file, dired-call-process>:
8422 <dired-compress-file, file-acl, file-notify-rm-watch>:
8423 <file-ownership-preserved-p, file-selinux-context>:
8424 <make-directory-internal, make-symbolic-link, set-file-acl>:
8425 <set-file-selinux-context, set-visited-file-modtime>:
8426 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8427 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8428
8429 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8430 <file-notify-add-watch, file-notify-rm-watch>:
8431 <set-file-times, set-visited-file-modtime>:
8432 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8433 (with-tramp-gvfs-error-message)
8434 (tramp-gvfs-handle-set-visited-file-modtime)
8435 (tramp-gvfs-fuse-file-name): Remove.
8436 (tramp-gvfs-handle-file-notify-add-watch)
8437 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8438 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8439
44e18199
JB
8440 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8441 Order alphabetically.
afe1e4c8
GM
8442 <file-notify-rm-watch>: Use default Tramp handler.
8443 <executable-find>: Remove private handler.
a43dc424
MA
8444 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8445 `default-directory'.
8446 (tramp-sh-handle-executable-find)
8447 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8448 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8449 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8450 Do not use `format' in `tramp-message'.
8451
8452 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8453 <file-notify-rm-watch, set-visited-file-modtime>:
8454 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8455 (tramp-smb-call-winexe): Do not bind `default-directory'.
8456
7188b515
XF
84572013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8458
8459 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8460
2412ee1a
DG
84612013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8462
8463 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8464 use it.
8465 (log-view-diff-changeset): Same.
8466 (log-view-diff-common): Call backend command `previous-revision'
8467 to find out the previous revision, in both cases. Swap the
8468 variables `to' and `fr', so that `fr' usually refers to the
8469 earlier revision (Bug#14989).
8470
5002a754
KRC
84712013-07-31 Kan-Ru Chen <kanru@kanru.info>
8472
8473 * ibuf-ext.el (ibuffer-filter-by-filename):
8474 Make it work with dired buffers too.
8475
44e18199 84762013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8477
8478 * emacs-lisp/re-builder.el (reb-color-display-p):
8479 * files.el (save-buffers-kill-terminal):
8480 * net/browse-url.el (browse-url):
8481 * server.el (server-save-buffers-kill-terminal):
8482 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8483 Prefer nil to selected-frame for the first arg of frame-parameter.
8484
aeca3fbb
XF
84852013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8486
8487 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8488
158bc55c
SB
84892013-07-30 Stephen Berman <stephen.berman@gmx.net>
8490
8491 * minibuffer.el (completion--twq-all): Try and preserve each
8492 completion's case choice (bug#14907).
8493
d50fceab
LMI
84942013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8495
ac38e731
LMI
8496 * net/network-stream.el (open-network-stream): Mention the new
8497 :nogreeting parameter.
8498 (network-stream-open-starttls): Use the :nogreeting parameter
8499 (bug#14938).
8500
1211de50
LMI
8501 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8502
997798bf
LMI
8503 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8504 more natural than popping.
8505
d50fceab 8506 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8507 (shr-urlify): Highlight under mouse.
d50fceab 8508
5c09de04
XF
85092013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8510
207d1d04
XF
8511 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8512
8513 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8514
5c09de04
XF
8515 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8516 buffer for output.
8517
3cd51eaa
XF
8518 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8519 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8520
44e18199 8521 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8522 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8523
8524 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8525
8526 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8527 buffer for output.
8528
35a89bdd
EZ
85292013-07-29 Eli Zaretskii <eliz@gnu.org>
8530
8531 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8532 initial frame is minibuffer-less. (Bug#14841)
8533
78822e94
MA
85342013-07-29 Michael Albinus <michael.albinus@gmx.de>
8535
8536 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8537 option.
8538
8539 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8540 (tramp-maybe-open-connection): Use it.
8541
9503c190
JB
85422013-07-28 Juanma Barranquero <lekktu@gmail.com>
8543
8544 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8545 minimal set of parameters passed when creating a frame, because
8546 the minibuffer status of a frame cannot be changed later.
8547
d5a845b4
SB
85482013-07-28 Stephen Berman <stephen.berman@gmx.net>
8549
8550 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8551 replace-regexp-in-string and inadvertent omissions in previous change.
8552 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8553 name of filtered items buffer.
d5a845b4 8554
ddeffb17
JB
85552013-07-28 Juanma Barranquero <lekktu@gmail.com>
8556
8557 * desktop.el: Optionally force offscreen frames back onscreen.
8558 (desktop-restoring-reuses-frames): New option.
8559 (desktop--compute-pos, desktop--move-onscreen): New functions.
8560 (desktop--make-frame): Use desktop--move-onscreen.
8561
f5950f7a
AM
85622013-07-27 Alan Mackenzie <acm@muc.de>
8563
8564 Fontify a Java generic method as a function.
8565 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8566 value to t.
8567
ae43b66a
SB
85682013-07-27 Stephen Berman <stephen.berman@gmx.net>
8569
8570 * calendar/todo-mode.el: Add command to rename todo files.
8571 (todo-rename-file): New command.
8572 (todo-key-bindings-t): Add key binding for it. Change the
8573 bindings of todo-filter-regexp-items(-multifile) to use `x'
8574 instead of `r', since the latter is better suited to the new
8575 renaming command.
8576
5ab78d3d
AM
85772013-07-27 Alan Mackenzie <acm@muc.de>
8578
8579 Make Java try-with-resources statement parse properly.
8580 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8581 (c-block-stmt-1-2-key): New language constants/variables.
8582 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8583 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8584 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8585 with c-block-stmt-1-2-key.
5ab78d3d 8586
d85c4d50
JB
85872013-07-27 Juanma Barranquero <lekktu@gmail.com>
8588
8589 * desktop.el (desktop--make-frame): Apply most frame parameters after
8590 creating the frame to force (partially or totally) offscreen frames to
8591 be restored as such.
8592
e4c467f9
XF
85932013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8594
8595 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8596 (Bug#14948)
e4c467f9 8597
7ced0d04
SM
85982013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8601 `base' arg of backtrace-frame.
8602
fec92060
EZ
86032013-07-26 Eli Zaretskii <eliz@gnu.org>
8604
8605 * simple.el (list-processes): Doc fix.
8606
d58d31fb
JB
86072013-07-26 Juanma Barranquero <lekktu@gmail.com>
8608
8609 * desktop.el (desktop--select-frame):
d85c4d50 8610 Try harder to reuse existing frames.
d58d31fb 8611
53ff3e77
SM
86122013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8615 (edebug-eval): Use backtrace-eval.
8616 (edebug--display, edebug--recursive-edit): Don't let-bind the
8617 edebug-outer-* vars that keep track of variables we locally let-bind.
8618 (edebug-outside-excursion): Don't restore outside values of locally
8619 let-bound vars.
8620 (edebug--display): Use user-error.
8621 (cl-lexical-debug, cl-debug-env): Remove.
8622
045f7a53
JB
86232013-07-26 Juanma Barranquero <lekktu@gmail.com>
8624
8625 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8626 are restored to be sure that they are visible before deleting any
8627 remaining ones.
8628
59070b32
MM
86292013-07-26 Matthias Meulien <orontee@gmail.com>
8630
742a3501
XF
8631 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8632 vc-print-root-log. (Bug#14948)
59070b32 8633
b1fb3596
RS
86342013-07-26 Richard Stallman <rms@gnu.org>
8635
8636 Add aliases for encrypting mail.
8637 * epa.el (epa-mail-aliases): New option.
8638 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8639 Bind inhibit-read-only so read-only text doesn't ruin everything.
8640 (epa-mail-default-recipients): New subroutine broken out.
8641 Handle epa-mail-aliases.
8642
56ea7291
SM
86432013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 Add support for lexical variables to the debugger's `e' command.
8646 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8647 vars, except for debugger-outer-match-data.
8648 (debugger-frame-number): Move check for "on a function call" from
8649 callers into it. Add `skip-base' argument.
8650 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8651 (debugger-env-macro): Only reset the state stored in non-variables,
8652 i.e. current-buffer and match-data.
8653 (debugger-eval-expression): Rewrite using backtrace-eval.
8654 * subr.el (internal--called-interactively-p--get-frame): Remove.
8655 (called-interactively-p):
8656 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8657 `base' arg of backtrace-frame instead.
8658
15ac32d5
GM
86592013-07-26 Glenn Morris <rgm@gnu.org>
8660
8358a09d
GM
8661 * align.el (align-regexp): Doc fix. (Bug#14857)
8662 (align-region): Explicit error if subexpression missing/does not match.
8663
15ac32d5
GM
8664 * simple.el (global-visual-line-mode):
8665 Do not duplicate the mode lighter. (Bug#14858)
8666
f47ad11b
MR
86672013-07-25 Martin Rudalics <rudalics@gmx.at>
8668
8669 * window.el (display-buffer): In display-buffer bind
8670 split-window-keep-point to t, bug#14829.
8671
02530987
JB
86722013-07-25 Juanma Barranquero <lekktu@gmail.com>
8673
8674 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8675 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8676 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8677 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8678 Change accordingly.
f63ebeb5
JB
8679 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8680 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8681
6ccb9cab 86822013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8683
6ccb9cab 8684 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8685
cb3a56d2
JB
86862013-07-25 Juanma Barranquero <lekktu@gmail.com>
8687
8688 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8689 parameter to modify-frame-parameters if the value has not changed;
8690 this is a workaround for bug#14949.
8691 (desktop--make-frame): On cl-delete-if call, check parameter name,
8692 not full parameter.
8693
7aa7fff0
XF
86942013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8695
8696 * vc/vc.el (vc-ignore): New function.
8697
8698 * vc/vc-svn.el (vc-svn-ignore): New function.
8699
8700 * vc/vc-hg.el (vc-hg-ignore): New function.
8701
8702 * vc/vc-git.el (vc-git-ignore): New function.
8703
8704 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8705 (vc-dir-ignore): New function.
8706
8707 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8708 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8709
8710 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8711
8712 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8713
889acc5c
JB
87142013-07-24 Juanma Barranquero <lekktu@gmail.com>
8715
8716 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8717 (desktop-restore-frames): Warn when deleting an existing frame failed.
8718
86c40970
GM
87192013-07-24 Glenn Morris <rgm@gnu.org>
8720
8721 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8722
d5d3c58a
MA
87232013-07-24 Michael Albinus <michael.albinus@gmx.de>
8724
8725 * filenotify.el (file-notify-supported-p):
8726 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8727 Remove functions.
8728
35e951cd 8729 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
8730 (auto-revert-notify-add-watch):
8731 * net/tramp.el (tramp-file-name-for-operation):
8732 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8733 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8734 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8735 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8736 Remove `file-notify-supported-p' entry.
8737
d100084b
GM
87382013-07-24 Glenn Morris <rgm@gnu.org>
8739
8740 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8741 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8742
ac93e56b
SM
87432013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8744
249eea30
SM
8745 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8746 checked with memq (bug#14935).
8747
ac93e56b
SM
8748 * files.el (revert-buffer-function): Use a non-nil default.
8749 (revert-buffer-preserve-modes): Declare var to
8750 provide access to the `preserve-modes' argument.
8751 (revert-buffer): Let-bind it.
8752 (revert-buffer--default): New function, extracted from revert-buffer.
8753
2cdeb903
SM
87542013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * lpr.el: Signal print errors more prominently.
8757 (print-region-function): Don't default to nil.
8758 (lpr-print-region): New function, extracted from print-region-1.
8759 Check lpr's return value and signal an error in case of problem.
8760 (print-region-1): Use it.
8761 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8762 versions instead.
8763 (ps-printer-name): Default to nil.
8764 (ps-printer-name-option): Default to lpr-printer-switch.
8765 (ps-print-region-function): Don't default to nil.
8766 (ps-postscript-code-directory): Simplify default.
8767 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8768 (ps-string-list, ps-eval-switch, ps-flatten-list)
8769 (ps-flatten-list-1): Remove.
8770 (ps-multibyte-buffer): Avoid setq.
8771 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8772 (print-region-function, ps-print-region-function): Don't set them here.
8773
73600831
XF
87742013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8775
35e951cd
JB
8776 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8777 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8778 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
8779 (ido-decorations): Doc fix.
8780
73600831
XF
8781 * ansi-color.el: Fix old URL.
8782
3d012865
MM
87832013-07-23 Michael R. Mauger <michael@mauger.com>
8784
e903c210 8785 * progmodes/sql.el: Version 3.3
3d012865
MM
8786 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8787 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8788 (sql-interactive-remove-continuation-prompt): Rewrite, use
8789 functions above. Fix continuation prompt and complete output line
8790 handling.
8791 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8792 redirected output buffer.
8793 (sql-mode): Restore deleted code (Bug#13591).
8794
da77a2e2
JB
87952013-07-23 Juanma Barranquero <lekktu@gmail.com>
8796
8797 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8798
80ff0c71
MA
87992013-07-23 Michael Albinus <michael.albinus@gmx.de>
8800
8801 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8802
8803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8804 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8805 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8806
b61d71e4
JB
88072013-07-23 Juanma Barranquero <lekktu@gmail.com>
8808
8809 * desktop.el (desktop-clear): Simplify; remove useless checks
8810 against invalid buffer names.
8811 (desktop-list*): Use cl-list*.
8812 (desktop-buffer-info, desktop-create-buffer): Simplify.
8813
c3512092
LL
88142013-07-23 Leo Liu <sdl.web@gmail.com>
8815
8816 * bookmark.el (bookmark-make-record): Restore NAME as a default
8817 value. (Bug#14933)
8818
0ac26976
SM
88192013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8820
7d22ce18
SM
8821 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8822 extracted from autoload--insert-text.
8823 (autoload--insert-text): Remove.
8824 (autoload--print-cookie-text): New function, extracted from
8825 autoload--insert-cookie-text.
8826 (autoload--insert-cookie-text): Remove.
8827 (autoload-generate-file-autoloads): Adjust calls accordingly.
8828
9b2607e8
SM
8829 * winner.el (winner-hook-installed-p): Remove.
8830 (winner-mode): Simplify accordingly.
8831
c43a8618
SM
8832 * subr.el (add-to-list): Fix compiler-macro when `append' is
8833 not constant. Don't use `cl-member' for the base case.
8834
0ac26976
SM
8835 * progmodes/subword.el: Fix boundary case (bug#13758).
8836 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8837 own group.
8838 (subword-backward-regexp): Make it a constant.
8839 (subword-forward-internal): Don't treat a trailing capital as the
8840 beginning of a word.
8841
6874724a
AR
88422013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8843
8844 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8845 global value of tabulated-list-revert-hook (bug#14930).
8846
70f1b5e8
JB
88472013-07-22 Juanma Barranquero <lekktu@gmail.com>
8848
a1c80d9d
JB
8849 * desktop.el: Require 'cl-lib.
8850 (desktop-before-saving-frames-functions): New hook.
8851 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8852 for frames being saved. Rename from desktop--save-minibuffer-frames.
8853 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8854 Do not save frames with non-nil `desktop-dont-save' parameter.
8855 Filter out deleted frames.
a1c80d9d
JB
8856 (desktop--find-frame): Use cl-find-if.
8857 (desktop--select-frame): Use cl-(first|second|third) to access values
8858 of desktop-mini.
8859 (desktop--make-frame): Use cl-delete-if.
8860 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8861 (desktop-restore-frames): Use cl-(first|second|third) to access values
8862 of desktop-mini. Look for visible frame at the end, not while
8863 restoring frames.
8864
70f1b5e8
JB
8865 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8866 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8867 Use string-match-p, looking-at-p (bug#14927).
8868
728dc3cc
JB
88692013-07-21 Juanma Barranquero <lekktu@gmail.com>
8870
56bc453c
JB
8871 * desktop.el (desktop-saved-frame-states):
8872 Rename from desktop--saved-states; all users changed.
8873 (desktop-save-frames): Rename from desktop--save-frames.
8874 Do not save state to desktop file.
8875 (desktop-save): Save desktop-saved-frame-states to desktop file
8876 and reset to nil.
8877 (desktop-restoring-frames-p): New function.
8878 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8879 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8880 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8881
728dc3cc
JB
8882 * desktop.el: Correctly restore iconified frames.
8883 (desktop--filter-iconified-position): New function.
8884 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8885
862f1c9c
GM
88862013-07-20 Glenn Morris <rgm@gnu.org>
8887
c4074c9f
GM
8888 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8889 Let `message' do the formatting.
8890 (def-gdb-preempt-display-buffer): Add explicit format.
8891
d828e5f9
GM
8892 * image-dired.el (image-dired-track-original-file):
8893 Use with-current-buffer.
8894 (image-dired-track-thumbnail): Use with-current-buffer.
8895 Avoid changing point of wrong window.
8896
862f1c9c
GM
8897 * image-dired.el (image-dired-track-original-file):
8898 Avoid changing point of wrong window. (Bug#14909)
8899
f0398ec1 89002013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8901
8902 * progmodes/gdb-mi.el (gdb-done-or-error):
8903 Guard against "%" in gdb output. (Bug#14127)
8904
1451928f
AS
89052013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8906
763a086d
JB
8907 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8908 (Bug#14826)
f7a03897 8909
1451928f
AS
8910 * international/mule.el (coding-system-iso-2022-flags): Fix last
8911 change.
8912
99107004
KH
89132013-07-20 Kenichi Handa <handa@gnu.org>
8914
763a086d
JB
8915 * international/mule.el (coding-system-iso-2022-flags):
8916 Add `8-bit-level-4'. (Bug#8522)
99107004 8917
48494e06
LMI
89182013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8919
8ba8eec5
LMI
8920 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8921 (bug#14815).
8922
dfbc66e3
LMI
8923 * net/eww.el (eww-process-text-input): Allow inputting when the
8924 point is at the start of the line, as the properties aren't
8925 front-sticky.
8926
48494e06
LMI
8927 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8928 degenerate widths.
8929
77c92cb9
RS
89302013-07-19 Richard Stallman <rms@gnu.org>
8931
aec7da77
RS
8932 * epa.el (epa-popup-info-window): Doc fix.
8933
77c92cb9
RS
8934 * subr.el (split-string): New arg TRIM.
8935
945c5bb1
JB
89362013-07-18 Juanma Barranquero <lekktu@gmail.com>
8937
8938 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8939 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8940
e06ec67f
MA
89412013-07-18 Michael Albinus <michael.albinus@gmx.de>
8942
c7064f05 8943 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8944 `file-notify-support'. Do not autoload. Adapt all uses.
8945 (file-notify-supported-p): New defun.
8946
c7064f05
JB
8947 * autorevert.el (auto-revert-use-notify):
8948 Use `file-notify-supported-p' instead of `file-notify-support'.
8949 Adapt docstring.
e06ec67f
MA
8950 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8951
8952 * net/tramp.el (tramp-file-name-for-operation):
8953 Add `file-notify-supported-p'.
8954
8955 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8956 New defun.
8957 (tramp-sh-file-name-handler-alist): Add it as handler for
8958 `file-notify-supported-p '.
8959
8960 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8961 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8962 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8963 Add `ignore' as handler for `file-notify-*' functions.
8964
5dc8a629
EZ
89652013-07-17 Eli Zaretskii <eliz@gnu.org>
8966
8967 * simple.el (line-move-partial, line-move): Don't start vscroll or
8968 scroll-up if the current line is not taller than the window.
8969 (Bug#14881)
8970
77aea2fb
DG
89712013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8972
8973 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8974 highlight question marks in the method names as strings.
ac72c08d
DG
8975 (ruby-block-beg-keywords): Inline.
8976 (ruby-font-lock-keyword-beg-re): Extract from
8977 `ruby-font-lock-keywords'.
77aea2fb 8978
18c26d81
JD
89792013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8980
8981 * frame.el (blink-cursor-blinks): New defcustom.
8982 (blink-cursor-blinks-done): New defvar.
8983 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8984 (blink-cursor-timer-function): Check if number of blinks has been
8985 done on X and NS.
8986 (blink-cursor-suspend, blink-cursor-check): New defuns.
8987
da48522e
GM
89882013-07-15 Glenn Morris <rgm@gnu.org>
8989
8990 * edmacro.el (edmacro-format-keys): Fix previous change.
8991
0463c1ef
PE
89922013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8993
8994 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8995 The hack didn't work outside English locales anyway.
8996
b43f6451
JB
89972013-07-15 Juanma Barranquero <lekktu@gmail.com>
8998
8999 * simple.el (define-alternatives): Rename from alternatives-define,
9000 per RMS' suggestion.
9001
b958c0ad
JB
90022013-07-14 Juanma Barranquero <lekktu@gmail.com>
9003
9004 * desktop.el (desktop-restore-frames): Change default to t.
9005 (desktop-restore-in-current-display): Now offer more options.
9006 (desktop-restoring-reuses-frames): New customization option.
9007 (desktop--saved-states): Doc fix.
9008 (desktop-filter-parameters-alist): New variable, renamed and expanded
9009 from desktop--excluded-frame-parameters.
9010 (desktop--target-display): New variable.
9011 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9012 (desktop--filter-tty*, desktop--filter-*-color)
9013 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9014 (desktop--filter-save-desktop-parm)
9015 (desktop-restore-in-original-display-p): New functions.
9016 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9017 (desktop--save-minibuffer-frames): New function, inspired by a similar
9018 function from Martin Rudalics.
9019 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9020 (desktop--restore-in-this-display-p): Remove.
9021 (desktop--find-frame): Rename from desktop--find-frame-in-display
9022 and add predicate argument.
9023 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9024 (desktop--reuse-list): New variable.
9025 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9026 New functions.
9027 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9028
f6dd8b36
MA
90292013-07-14 Michael Albinus <michael.albinus@gmx.de>
9030
9031 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9032
2ce3c565
DG
90332013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9034
763a086d
JB
9035 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9036 Highlight conversion methods on Kernel.
2ce3c565 9037
2cdb7698
AM
90382013-07-13 Alan Mackenzie <acm@muc.de>
9039
9040 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9041 and comment it out. This out-commenting enables certain C++
9042 declarations to be parsed correctly.
9043
1a67b811
EZ
90442013-07-13 Eli Zaretskii <eliz@gnu.org>
9045
1b796d6b
EZ
9046 * international/mule.el (define-coding-system): Doc fix.
9047
1a67b811
EZ
9048 * simple.el (default-font-height): Don't call font-info if the
9049 frame's default font didn't change since the frame was created.
9050 (Bug#14838)
9051
58fbe886
LL
90522013-07-13 Leo Liu <sdl.web@gmail.com>
9053
9054 * ido.el (ido-read-file-name): Guard against non-symbol value.
9055
1f0480d4
FEG
90562013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9057
9058 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9059 in nested defuns.
9060
97ead0e5
LL
90612013-07-13 Leo Liu <sdl.web@gmail.com>
9062
9063 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9064 ido-set-matches call. (Bug#6852)
9065
0880a952
DG
90662013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9067
35e951cd 9068 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9069 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9070 Ruby 2.0.
9071 (ruby-font-lock-keywords): Distinguish calls to functions with
9072 module-like names from module references. Highlight character
9073 literals.
9074
a7d8babb
SDJ
90752013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9076
9077 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9078 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9079
acfcc8c5
JB
90802013-07-12 Juanma Barranquero <lekktu@gmail.com>
9081
9082 * desktop.el (desktop--v2s): Remove unused local variable.
9083 (desktop-save-buffer): Make defvar-local; adjust docstring.
9084 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9085 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9086
051f2775
AS
90872013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9088
9089 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9090
f24e7572
GM
90912013-07-12 Eli Zaretskii <eliz@gnu.org>
9092
9093 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9094 (Bug#14842)
9095
539a920c
GM
90962013-07-12 Glenn Morris <rgm@gnu.org>
9097
9098 * doc-view.el: Require cl-lib at runtime too.
9099 (doc-view-remove-if): Remove.
9100 (doc-view-search-next-match, doc-view-search-previous-match):
9101 Use cl-remove-if.
9102
9103 * edmacro.el: Require cl-lib at runtime too.
9104 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9105 (edmacro-mismatch, edmacro-subseq): Remove.
9106
9107 * shadowfile.el: Require cl-lib.
9108 (shadow-remove-if): Remove.
9109 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9110 Use cl-remove-if.
9111
9112 * wid-edit.el: Require cl-lib.
9113 (widget-choose): Use cl-remove-if.
9114 (widget-remove-if): Remove.
9115
9116 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9117 (ebrowse-delete-if-not): Remove.
9118 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9119 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9120 Use cl-delete-if-not.
9121
1048af7c
JB
91222013-07-12 Juanma Barranquero <lekktu@gmail.com>
9123
9124 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9125 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9126
6c0674ee
LL
91272013-07-12 Leo Liu <sdl.web@gmail.com>
9128
9129 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9130
a19b3c2d
GM
91312013-07-11 Glenn Morris <rgm@gnu.org>
9132
4582a01c
GM
9133 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9134 (edebug-gensym-index, edebug-gensym):
9135 Remove reimplementation of cl-gensym.
9136 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9137
9138 * thumbs.el: Require cl-lib at run-time too.
9139 (thumbs-gensym-counter, thumbs-gensym):
9140 Remove reimplementation of cl-gensym.
9141 (thumbs-temp-file): Use cl-gensym.
9142
a19b3c2d
GM
9143 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9144 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9145 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9146 (ert--union, ert--gensym-counter, ert--gensym-counter)
9147 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9148 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9149 (ert-make-test-unbound, ert--expand-should-1)
9150 (ert--expand-should, ert--should-error-handle-error)
9151 (should-error, ert--explain-equal-rec)
9152 (ert--plist-difference-explanation, ert-select-tests)
9153 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9154 Use cl-lib functions rather than reimplementations.
9155
88f6a933
MA
91562013-07-11 Michael Albinus <michael.albinus@gmx.de>
9157
9158 * net/tramp.el (tramp-methods): Extend docstring.
9159 (tramp-connection-timeout): New defcustom.
9160 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9161 (with-tramp-progress-reporter): Simplify.
9162 (tramp-process-actions): Improve messages.
9163
9164 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9165 * net/tramp-sh.el (tramp-maybe-open-connection):
9166 Use `tramp-connection-timeout'.
afe1e4c8 9167 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9168 (Bug#14808)
9169
a43d577e
LL
91702013-07-11 Leo Liu <sdl.web@gmail.com>
9171
9172 * ido.el (ido-read-file-name): Conform to the requirements of
9173 read-file-name. (Bug#11861)
9174 (ido-read-directory-name): Conform to the requirements of
9175 read-directory-name.
9176
d77974bf
JB
91772013-07-11 Juanma Barranquero <lekktu@gmail.com>
9178
9179 * subr.el (delay-warning): New function.
9180
35cb8a3e
EZ
91812013-07-10 Eli Zaretskii <eliz@gnu.org>
9182
9183 * simple.el (default-line-height): New function.
9184 (line-move-partial, line-move): Use it instead of computing the
9185 line height inline.
9186 (line-move-partial): Always compute ROWH. If the last line is
9187 partially-visible, but its text is completely visible, allow
9188 cursor to enter such a partially-visible line.
9189
525c5c77
MA
91902013-07-10 Michael Albinus <michael.albinus@gmx.de>
9191
9192 Improve error messages. (Bug#14808)
9193
9194 * net/tramp.el (tramp-current-connection): New defvar, moved from
9195 tramp-sh.el.
0ac26976 9196 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9197 needed anymore.
0ac26976
SM
9198 (tramp-error-with-buffer): Show message in minibuffer.
9199 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9200 (with-tramp-progress-reporter): Improve messages.
9201 (tramp-process-actions): Use progress reporter. Delete process in
9202 case of error. Improve messages.
9203
763a086d
JB
9204 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9205 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9206 (tramp-current-connection): Remove.
525c5c77
MA
9207 (tramp-maybe-open-connection): The car of
9208 `tramp-current-connection' are the first 3 slots of the vector.
9209
c7a4d368
TZ
92102013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9211
9212 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9213 inside continued strings.
9214
954b166e
PE
92152013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9216
9217 Timestamp fixes for undo (Bug#14824).
9218 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9219
56973319
LL
92202013-07-10 Leo Liu <sdl.web@gmail.com>
9221
9222 * files.el (require-final-newline): Allow safe local value.
9223 (Bug#14834)
9224
5550a72c
LL
92252013-07-09 Leo Liu <sdl.web@gmail.com>
9226
9227 * ido.el (ido-read-directory-name): Handle fallback.
9228 (ido-read-file-name): Update DIR to ido-current-directory.
9229 (Bug#1516)
c28b9050 9230 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9231
70c46b28
DG
92322013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9233
9234 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9235 "autoload". Remove "warn lower camel case" section, previously
9236 commented out. Highlight negation char. Do not highlight the
9237 target in singleton method definitions.
9238
0b64b838
SM
92392013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9240
7fd72e2c
SM
9241 * faces.el (tty-setup-hook): Declare the hook.
9242
0b64b838
SM
9243 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9244 and detect when a guard/pred depends on local vars (bug#14773).
9245 (pcase--u1): Adjust caller.
9246
ab49d60b
EZ
92472013-07-08 Eli Zaretskii <eliz@gnu.org>
9248
9249 * simple.el (line-move-partial, line-move): Account for
9250 line-spacing.
701d79aa
EZ
9251 (line-move-partial): Avoid setting vscroll when the last
9252 partially-visible line in window is of default height.
ab49d60b 9253
2d756ae0
LMI
92542013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9255
9256 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9257 been used a while.
9258
ed095bd7
JB
92592013-07-07 Juanma Barranquero <lekktu@gmail.com>
9260
9261 * subr.el (read-quoted-char): Remove unused local variable `char'.
9262
f1e6674b
MK
92632013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9264
584ee3fc
GM
9265 * ediff.el (ediff-version): Version update.
9266 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9267 (ediff-merge-with-ancestor-command, ediff-directories-command)
9268 (ediff-directories3-command, ediff-merge-directories-command)
9269 (ediff-merge-directories-with-ancestor-command): New functions.
9270 All are command-line interfaces to ediff: to facilitate calling
9271 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9272
9273 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9274 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9275
584ee3fc
GM
9276 * viper.el (viper-version): Version update.
9277 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9278
584ee3fc
GM
92792013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9280
9281 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9282 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9283 (viper-intercept-ESC-key): Simplify.
9284 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9285 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9286 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9287 (viper-setup-ESC-to-escape): New functions.
9288 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9289 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9290
9aff9b38
EZ
92912013-07-07 Eli Zaretskii <eliz@gnu.org>
9292
5165d44a
JB
9293 * simple.el (default-font-height, window-screen-lines):
9294 New functions.
9aff9b38
EZ
9295 (line-move, line-move-partial): Use them instead of
9296 frame-char-height and window-text-height. This makes scrolling
9297 text smoother when the buffer's default face uses a font that is
9298 different from the frame's default font.
9299
1afb1d07
JD
93002013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9301
9302 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9303 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9304
23de972a
EZ
93052013-07-06 Eli Zaretskii <eliz@gnu.org>
9306
9307 * simple.el (line-move-partial): Adjust the row returned by
9308 posn-at-point for the current window-vscroll. (Bug#14567)
9309
54a42486
MA
93102013-07-06 Michael Albinus <michael.albinus@gmx.de>
9311
35e951cd 9312 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9313 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9314 spaces.
9315
34ada5f4
MR
93162013-07-06 Martin Rudalics <rudalics@gmx.at>
9317
9318 * window.el (window-state-put-stale-windows): New variable.
9319 (window--state-put-2): Save list of windows without matching buffer.
9320 (window-state-put): Remove "bufferless" windows if possible.
9321
11e03d89
JB
93222013-07-06 Juanma Barranquero <lekktu@gmail.com>
9323
9324 * simple.el (alternatives-define): Remove leftover :group keyword.
9325 Tweak docstring.
9326
3504a4be
LL
93272013-07-06 Leo Liu <sdl.web@gmail.com>
9328
9329 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9330 (ido-enable-virtual-buffers): New variable.
9331 (ido-buffer-internal, ido-toggle-virtual-buffers)
9332 (ido-make-buffer-list): Use it.
9333 (ido-exhibit): Support turning on and off virtual buffers
9334 automatically.
9335
61e56e2c
JB
93362013-07-06 Juanma Barranquero <lekktu@gmail.com>
9337
9338 * simple.el (alternatives-define): New macro.
9339
321e1a9c
SM
93402013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * subr.el (read-quoted-char): Use read-key.
9343 (sit-for): Let read-event decode tty input (bug#14782).
9344
d610f6dd
SB
93452013-07-05 Stephen Berman <stephen.berman@gmx.net>
9346
9347 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9348 mode command and externally. Fix various related bugs.
9349 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9350 (todo-delete-file): New command.
9351 (todo-check-file): New function.
9352 (todo-show): Handle external deletion of the file we're trying to
9353 show (bug#14688). Replace called-interactively-p by an optional
9354 prefix argument to avoid problematic interaction with catch form
9355 when byte compiled (bug#14702).
9356 (todo-quit): Handle external deletion of the archive's todo file.
9357 Make sure the buffer that was visiting the archive file is still
9358 live before trying to bury it.
9359 (todo-category-completions): Handle external deletion of any
9360 category completion files.
9361 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9362 of todo files, in case of external deletion.
9363 (todo-add-file): Replace unnecessary setq by let-binding.
9364 (todo-find-archive): Check whether there are any archives.
9365 Replace unnecessary setq by let-binding.
9366 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9367 archive buffer whether or not the archive already exists.
9368 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9369 check if the archive is new; if it is, update list of archives.
9370 (todo-default-todo-file): Allow nil to be a valid value for when
9371 there are no todo files.
9372 (todo-reevaluate-default-file-defcustom): Use corrected definition
9373 of todo-default-todo-file.
9374 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9375 (todo-delete-category, todo-show-categories-table)
9376 (todo-category-number): Clarify comment.
9377 (todo-filter-items): Clarify documentation string.
9378 (todo-show-current-file, todo-display-as-todo-file)
9379 (todo-reset-and-enable-done-separator): Tweak documentation string.
9380 (todo-done-separator): Make separator length window-width, since
9381 bug#2749 is now fixed.
9382
ddbdfd6f
MA
93832013-07-05 Michael Albinus <michael.albinus@gmx.de>
9384
321e1a9c
SM
9385 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9386 Support both "gvfs-monitor-dir" and "inotifywait".
9387 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9388 `tramp-sh-file-notify-process-filter'.
9389 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9390 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9391
96eb829a
LL
93922013-07-05 Leo Liu <sdl.web@gmail.com>
9393
9394 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9395
cf13177e
YM
93962013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9397
9398 * frame.el (display-pixel-height, display-pixel-width)
9399 (display-mm-height, display-mm-width): Mention behavior on
9400 multi-monitor setups in docstrings.
9401 (w32-display-monitor-attributes-list): Declare function.
9402 (display-monitor-attributes-list): Use it.
9403
864c58ca
MA
94042013-07-04 Michael Albinus <michael.albinus@gmx.de>
9405
9406 * filenotify.el: New package.
9407
9408 * autorevert.el (top): Require filenotify.el.
9409 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9410 instead.
9411 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9412 (auto-revert-notify-handler): Use `file-notify-*' functions.
9413
9414 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9415
321e1a9c
SM
9416 * net/tramp.el (tramp-file-name-for-operation):
9417 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9418
9419 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9420 for `file-notify-add-watch' and `file-notify-rm-watch'.
9421 (tramp-process-sentinel): Improve trace.
9422 (tramp-sh-handle-file-notify-add-watch)
9423 (tramp-sh-file-notify-process-filter)
9424 (tramp-sh-handle-file-notify-rm-watch)
9425 (tramp-get-remote-inotifywait): New defuns.
9426
96673afe
JL
94272013-07-03 Juri Linkov <juri@jurta.org>
9428
9429 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9430 call of `occur-read-primary-args' to interactive spec.
9431
9432 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9433 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9434
924494f4
MM
94352013-07-03 Matthias Meulien <orontee@gmail.com>
9436
9437 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9438 `Buffer-menu-multi-occur'. Add it to the menu.
9439 (Buffer-menu-mode): Document it in docstring.
9440 (Buffer-menu-multi-occur): New command. (Bug#14673)
9441
56f75efc
DG
94422013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9443
9444 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9445 keywords and built-ins.
9446
9b057d61
GM
94472013-07-03 Glenn Morris <rgm@gnu.org>
9448
208dee4d
GM
9449 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9450
9b057d61
GM
9451 Make info-xref checks case-sensitive by default
9452 * info.el (Info-find-node, Info-find-in-tag-table)
9453 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9454 Add option for exact case matching of nodes.
9455 * info-xref.el (info-xref): New custom group.
9456 (info-xref-case-fold): New option.
9457 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9458
e01aa29c
LL
94592013-07-03 Leo Liu <sdl.web@gmail.com>
9460
9461 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9462
3086ca2e
DG
94632013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9464
9465 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9466 middle of block statement initially, lower the depth. Remove
9467 FIXME comment, not longer valid. Remove middle of block statement
9468 detection, no need to do that anymore since we've been using
9469 `ruby-parse-region' here.
9470
a3b49114
JD
94712013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9472
9473 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9474
08e5c823 94752013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9476
9477 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9478
2addf922
JB
94792013-07-01 Juanma Barranquero <lekktu@gmail.com>
9480
9481 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9482 (desktop-restore-in-current-display): New customization option.
9483 (desktop--excluded-frame-parameters): Add `font'.
9484 (desktop--save-frames): Rename from desktop--save-windows.
9485 (desktop--restore-in-this-display-p): New function.
9486 (desktop--make-full-frame): Remove unwanted width/height from
9487 full(width|height) frames.
9488 (desktop--restore-frames): Rename from desktop--restore-windows.
9489 Obey desktop-restore-current-display. Do not delete old frames or
9490 select a new frame unless we were able to restore at least one frame.
9491
ef099a94
MN
94922013-06-30 Michal Nazarewicz <mina86@mina86.com>
9493
9494 * files.el (find-file-noselect): Simplify conditional expression.
9495
a12bf61e 9496 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9497 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9498
9499 Add `remember-notes' function to store random notes across Emacs
9500 restarts.
3fcfc4ee
JB
9501 * textmodes/remember.el (remember-data-file): Add :set callback to
9502 affect notes buffer (if any).
ef099a94
MN
9503 (remember-notes): New command.
9504 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9505 New defcustoms for the `remember-notes' function.
9506 (remember-notes-save-and-bury-buffer): New command.
9507 (remember-notes-mode-map): New variable.
9508 (remember-mode): New minor mode.
9509 (remember-notes--kill-buffer-query): New function.
9510 * startup.el (initial-buffer-choice): Add notes to custom type.
9511
0865d506
EZ
95122013-06-30 Eli Zaretskii <eliz@gnu.org>
9513
0ba54312
EZ
9514 * bindings.el (right-char, left-char): Don't call sit-for, this is
9515 no longer needed. Use arithmetic comparison only for numerical
9516 arguments.
9517
ef099a94
MN
9518 * international/mule-cmds.el (select-safe-coding-system):
9519 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9520
2fae38e5
LMI
95212013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9522
9523 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9524 progression on degenerate tables.
ef099a94 9525 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9526
a47cbd64
JB
95272013-06-30 Juanma Barranquero <lekktu@gmail.com>
9528
9529 Some fixes and improvements for desktop frame restoration.
9530 It is still experimental and disabled by default.
9531 * desktop.el (desktop--save-windows): Put the selected frame at
9532 the head of the list.
9533 (desktop--make-full-frame): New function.
9534 (desktop--restore-windows): Try to re-select the frame that was
9535 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9536 just show an error message and continue. Set up maximized frames
9537 so they have default non-maximized dimensions.
a47cbd64 9538
6dbafa30
DG
95392013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9540
ef099a94
MN
9541 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9542 Don't start heredoc inside a string or comment.
6dbafa30 9543
4c672a0f
EZ
95442013-06-29 Eli Zaretskii <eliz@gnu.org>
9545
9546 * bindings.el (visual-order-cursor-movement): New defcustom.
9547 (right-char, left-char): Provide visual-order cursor motion by
9548 calling move-point-visually. Update the doc strings.
9549
50960f36
KH
95502013-06-28 Kenichi Handa <handa@gnu.org>
9551
9552 * international/mule.el (define-coding-system): New coding system
9553 properties :inhibit-null-byte-detection,
9554 :inhibit-iso-escape-detection, and :prefer-utf-8.
9555 (set-buffer-file-coding-system): If :charset-list property of
9556 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9557 appropriate for setting.
9558
c1ea3abf
JB
9559 * international/mule-cmds.el (select-safe-coding-system):
9560 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9561 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9562
9563 * international/mule-conf.el (prefer-utf-8): New coding system.
9564 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9565 files.
9566
75dbaf9d
IK
95672013-06-28 Ivan Kanis <ivan@kanis.fr>
9568
eadb6068
IK
9569 * net/shr.el (shr-render-region): New function.
9570
75dbaf9d
IK
9571 * net/eww.el: Autoload `eww-browse-url'.
9572
9ea5cf9f
DG
95732013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9574
c1ea3abf
JB
9575 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9576 Adapt to `package-desc-version' being a list.
9577 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9578 archive element.
9579
39c0e36f
JB
95802013-06-27 Juanma Barranquero <lekktu@gmail.com>
9581
9582 New experimental feature to save&restore window and frame setup.
9583 * desktop.el (desktop-save-windows): New defcustom.
9584 (desktop--saved-states): New var.
9585 (desktop--excluded-frame-parameters): New defconst.
9586 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9587 (desktop--restore-windows, desktop--save-windows): New functions.
9588 (desktop-save): Call `desktop--save-windows'.
9589 (desktop-read): Call `desktop--restore-windows'.
9590
7f13406b
LMI
95912013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9592
ef099a94 9593 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9594
1e072639
SB
95952013-06-27 Stephen Berman <stephen.berman@gmx.net>
9596
9597 * info.el (Info-try-follow-nearest-node): Move search for footnote
9598 above search for node name to prevent missing a footnote (bug#14717).
9599
f3e2cbde
SB
96002013-06-27 Stephen Berman <stephen.berman@gmx.net>
9601
9602 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9603
99906aa0
LL
96042013-06-27 Leo Liu <sdl.web@gmail.com>
9605
9606 * net/eww.el (eww-read-bookmarks): Check file size.
9607
539f75f4
SM
96082013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9609
9610 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9611 advice--pending if newdef is nil or an autoload (bug#13820).
9612 (advice-mapc): New function.
9613
843571cb
LMI
96142013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9615
9616 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9617 probably.
23a75d7f 9618 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9619 (eww-add-bookmark): New command.
9620 (eww-bookmark-mode): New mode and commands.
a285ce99 9621 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9622 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9623
f2136e1e
GM
96242013-06-26 Glenn Morris <rgm@gnu.org>
9625
eab35f39
GM
9626 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9627 (hfy-size): Handle ttys. (Bug#14668)
9628
f2136e1e
GM
9629 * info-xref.el: Update for Texinfo 5 change in *note format.
9630 (info-xref-node-re, info-xref-note-re): New constants.
9631 (info-xref-check-buffer): Use info-xref-note-re.
9632
a49ff80c
SM
96332013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9634
a343d218
SM
9635 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9636
a49ff80c
SM
9637 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9638 nil terminate the loop (bug#14718).
9639
8308f184
LMI
96402013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9641
9642 * net/eww.el: Rework history traversal. When going forward/back,
9643 put these actions into the history, too, so that they can be
9644 replayed.
26bf2b82 9645 (eww-render): Move the history reset to the correct buffer.
8308f184 9646
ec64c273
JL
96472013-06-25 Juri Linkov <juri@jurta.org>
9648
9649 * files-x.el (modify-dir-local-variable): Change the header comment
9650 in the file with directory local variables. (Bug#14692)
9651
e080a9d7
JL
9652 * files-x.el (read-file-local-variable-value): Add `default'.
9653 (Bug#14710)
9654
bfbc93a1
IK
96552013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9656
9657 * net/eww.el (eww-make-unique-file-name): Create a unique file
9658 name before saving to entering `y' accidentally asynchronously.
9659
96602013-06-25 Ivan Kanis <ivan@kanis.fr>
9661
9662 * net/eww.el (eww-download): New command and keystroke.
9663
16f74f10
LMI
96642013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9665
a49ff80c 9666 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9667
9668 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9669 be more consistent with Info and dired.
9670
9671 * net/eww.el (eww-mode-map): Ditto.
9672
12059709
SM
96732013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9674
9675 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9676 packages from archives.
9677 (package-archive-contents): Change format; include obsolete packages.
9678 (package-desc): Use `dir' to mark builtin packages.
9679 (package--from-builtin): Set the `dir' field to `builtin'.
9680 (generated-autoload-file, version-control): Declare.
9681 (package-compute-transaction): Change first arg and return value to be
9682 lists of package-descs. Adjust to new package-archive-contents format.
9683 (package--add-to-archive-contents): Adjust to new
9684 package-archive-contents format.
9685 (package-download-transaction): Arg is now a list of package-descs.
9686 (package-install): If `pkg' is a package name, pass it as
9687 a requirement, so it is subject to the usual (e.g. disabled) checks.
9688 (describe-package): Accept package-desc as well.
9689 (describe-package-1): Describe a specific package-desc. Add links to
9690 other package-descs for the same package name.
9691 (package-menu-describe-package): Pass the actual package-desc.
9692 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9693 works correctly.
9694 (package-desc-status): New function.
9695 (package-menu--refresh): New function, extracted
9696 from package-menu--generate.
9697 (package-menu--generate): Use it.
9698 (package-delete): Update package-alist.
9699 (package-menu-execute): Don't call package-initialize.
9700
9701 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9702 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9703 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9704 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9705 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9706 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9707
8bbdea0f
MR
97082013-06-25 Martin Rudalics <rudalics@gmx.at>
9709
9710 * window.el (window--state-get-1): Workaround for bug#14527.
9711 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9712
e82b0991
LMI
97132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9714
9715 * net/eww.el (eww-back-url): Implement the history by stashing all
9716 the data into a list.
d3f0f918 9717 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9718
c763842b
SM
97192013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9722 for values and use read--expression for expressions (bug#14710).
9723 (read-file-local-variable): Avoid setq.
9724 (read-file-local-variable-mode): Use minor-mode-list.
9725
bceff189
RW
97262013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9727
864c58ca 9728 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9729 for DOI URLs.
9730
45f431c6
RW
97312013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9732
864c58ca 9733 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9734 Update imenu-support when dialect changes.
9735
f42d8237
LL
97362013-06-25 Leo Liu <sdl.web@gmail.com>
9737
9738 * ido.el (ido-read-internal): Allow forward slash on windows.
9739
be549ce6
LMI
97402013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9741
9742 * net/eww.el (eww): Start of strings is \\`, not ^.
9743
71d4c19d
IK
97442013-06-24 Ivan Kanis <ivan@kanis.fr>
9745
5196f88a
IK
9746 * net/shr.el (shr-browse-url): Fix interactive spec.
9747
71d4c19d
IK
9748 * net/eww.el (eww): Add a trailing slash to domain names.
9749
ae36ca55
JB
97502013-06-24 Juanma Barranquero <lekktu@gmail.com>
9751
9752 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9753
0ebd92a3
LMI
97542013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9755
bdaa086b
LMI
9756 * net/shr.el (shr-browse-url): Use an external browser if given a
9757 prefix.
9758
c763842b 9759 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9760
b89fc156
IK
97612013-06-24 Ivan Kanis <ivan@kanis.fr>
9762
9763 * net/eww.el (eww): Work more correctly for file: URLs.
9764 (eww-detect-charset): Allow quoted charsets.
9765 (eww-yank-page-url): New command and keystroke.
9766
18eb4bca
DU
97672013-06-24 Daiki Ueno <ueno@gnu.org>
9768
9769 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9770 file name of gpg executable.
9771 (epg-context-program): New function.
9772 (epg-context-home-directory): New function.
9773 (epg-context-set-program): New function.
9774 (epg-context-set-home-directory): New function.
9775 (epg--start): Use `epg-context-program' instead of
9776 'epg-gpg-program'.
9777 (epg--list-keys-1): Likewise.
9778
6c6268c8
LL
97792013-06-24 Leo Liu <sdl.web@gmail.com>
9780
9781 * ido.el (ido-read-internal): Fix bug#14620.
9782
5e400cb3
JB
97832013-06-23 Juanma Barranquero <lekktu@gmail.com>
9784
9785 * faces.el (face-documentation): Simplify.
9786 (read-face-attribute, tty-find-type, x-resolve-font-name):
9787 Use `string-match-p'.
9788 (list-faces-display): Use `string-match-p'. Simplify.
9789 (face-spec-recalc): Check face to avoid face alias loops.
9790 (read-color): Use `string-match-p' and non-capturing parenthesis.
9791
f3f9606c
LMI
97922013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9793
9794 * net/shr.el (shr-rescale-image): Use the new
9795 :max-width/:max-height functionality.
9796
a3ca09b9
IK
97972013-06-23 Ivan Kanis <ivan@kanis.fr>
9798
9799 * net/eww.el (eww-search-prefix): New variable.
9800 (eww): Use it.
f865b474
IK
9801 (eww-external-browser): New variable.
9802 (eww-mode-map): New keystroke.
9803 (eww-browse-with-external-browser): New command.
a3ca09b9 9804
e854cfc7
IK
9805 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9806
18bb9e21
JB
98072013-06-23 Juanma Barranquero <lekktu@gmail.com>
9808
9809 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9810 Don't skip aligning the next header field when padding is 0;
9811 otherwise, field width is not respected unless the title is as
9812 wide as the field.
9813
5b165ade
SM
98142013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * emacs-lisp/package.el (package-el-version): Remove.
9817 (package-process-define-package): Fix inf-loop.
9818 (package-install): Allow symbols as arguments again.
9819
12adebe9
DG
98202013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9821
9822 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9823 add some more keyword-like methods.
9824 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9825
388573ee
JB
98262013-06-22 Juanma Barranquero <lekktu@gmail.com>
9827
9828 * bs.el (bs-buffer-show-mark): Make defvar-local.
9829 (bs-mode): Use setq-local.
9830
9831 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9832 (emacs-lock--try-unlocking): Make defvar-local.
9833
4582a01c 98342013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9835
2663dd23
GM
9836 * play/cookie1.el (cookie-apropos): Minor simplification.
9837
3d94f3ad
GM
9838 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9839
f72e2fdb
DG
98402013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9841
9842 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9843 `regexp-opt', it breaks the build during dumping.
9844
73eab938
DG
98452013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9846
c763842b
SM
9847 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9848 Highlight keyword-like methods on Kernel and Module with
73eab938 9849 font-lock-builtin-face.
5cf8176d
DG
9850 (auto-mode-alist): Consolidate different entries into one regexp
9851 and add more *file-s.
73eab938 9852
d26255f6
SB
98532013-06-21 Stephen Berman <stephen.berman@gmx.net>
9854
9855 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9856
9857 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9858 (diary-entry): Use it in the action of this button type instead of
9859 diary-goto-entry.
9860
9861 * calendar/todo-mode.el: New version.
9862 (todo-add-category): Append new category to end of file and give
9863 it the highest number, instead of putting it at the beginning and
9864 giving it 0. Incorporate noninteractive functionality.
9865 (todo-forward-category): Adapt to 1-based category numbering.
9866 Allow skipping over archived categories.
9867 (todo-backward-category): Derive from todo-forward-category.
9868 (todo-backward-item, todo-forward-item): Make noninteractive and
9869 delegate interactive part to new commands. Make sensitive to done items.
9870 (todo-categories): Make value an alist of category names and
9871 vectors of item counts.
9872 (todo-category-beg): Make a defconst.
9873 (todo-category-number): Use 1 instead of 0 as initial value.
9874 (todo-category-select): Make sensitive to overlays, optional item
9875 highlighting and done items.
9876 (todo-delete-item): Make sensitive to overlays and marked and done items.
9877 (todo-edit-item): Make sensitive to overlays and editing of
9878 date/time header optional. Add format checks.
9879 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9880 no-op if point is not on an item. Advertise using todo-edit-quit.
9881 (todo-edit-mode): Make sensitive to new format, font-locking, and
9882 multiple todo files.
9883 (todo-insert-item, todo-insert-item-here): Derive from
9884 todo-basic-insert-item and extend functionality.
9885 (todo-item-end, todo-item-start): Make sensitive to done items.
9886 (todo-item-string): Don't return text properties. Restore point.
9887 (todo-jump-to-category): Make sensitive to multiple todo files and
9888 todo archives. Use extended category completion.
9889 (todo-lower-item, todo-raise-item): Rename to *-priority and
9890 derive from todo-set-item-priority.
9891 (todo-mode): Derive from special-mode. Make sensitive to new
9892 format, font-locking and multiple todo files. Make read-only.
9893 (todo-mode-map): Don't suppress digit keys, so they can supply
9894 prefix arguments. Add many new key bindings.
9895 (todo-prefix): Insert as an overlay instead of file text.
9896 Change semantics from diary date expression to purely visual mark.
9897 (todo-print): Rename to todo-print-buffer. Make buffer display
9898 features printable. Remove option to restrict number of items
9899 printed. Add option to print to file.
9900 (todo-print-function): Rename to todo-print-buffer-function.
9901 (todo-quit): Extend to handle exiting new todo modes.
9902 (todo-remove-item): Make sensitive to overlays.
9903 (todo-save): Extend to buffers of filtered items.
9904 (todo-show): Make sensitive to done items, multiple todo files and
9905 new todo modes. Offer to convert legacy todo file before creating
9906 first new todo file.
9907 (todo-show-priorities): Rename to todo-top-priorities.
9908 Change semantics of value 0.
9909 (todo-top-priorities): Rename to todo-filter-top-priorities,
9910 derive from todo-filter-items and extend functionality.
9911 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9912 and extend functionality to other types of filtered items.
9913 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9914 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9915 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9916 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9917 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9918 (todo-edit-mode-hook, todo-entry-prefix-function)
9919 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9920 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9921 (todo-initials, todo-insert-threshold, todo-item-string-start)
9922 (todo-line-string, todo-menu, todo-mode-hook)
9923 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9924 (todo-print-priorities, todo-remove-separator)
9925 (todo-save-top-priorities-too, todo-string-count-lines)
9926 (todo-string-multiline-p, todo-time-string-format)
9927 (todo-tmp-buffer-name): Remove.
9928 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9929 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9930 (todo-edit-category-diary-inclusion)
9931 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9932 (todo-edit-file, todo-edit-item-date-day)
9933 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9934 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9935 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9936 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9937 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9938 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9939 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9940 (todo-filter-top-priorities-multifile, todo-find-archive)
9941 (todo-find-filtered-items-file, todo-go-to-source-item)
9942 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9943 (todo-jump-to-archive-category, todo-lower-category)
9944 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9945 (todo-move-category, todo-move-item, todo-next-button)
9946 (todo-next-item, todo-padded-string, todo-powerset)
9947 (todo-previous-button, todo-previous-item)
9948 (todo-print-buffer-to-file, todo-raise-category)
9949 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9950 (todo-set-category-number, todo-set-item-priority)
9951 (todo-set-top-priorities-in-category)
9952 (todo-set-top-priorities-in-file, todo-show-categories-table)
9953 (todo-sort-categories-alphabetically-or-numerically)
9954 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9955 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9956 (todo-toggle-item-header, todo-toggle-item-highlighting)
9957 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9958 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9959 (todo-unarchive-items, todo-unmark-category): New commands.
9960 (todo-absolute-file-name, todo-add-to-buffer-list)
9961 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9962 (todo-basic-insert-item, todo-category-completions)
9963 (todo-category-number, todo-category-string-matcher-1)
9964 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9965 (todo-check-format, todo-clear-matches)
9966 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9967 (todo-current-category, todo-date-string-matcher)
9968 (todo-define-insertion-command, todo-diary-expired-matcher)
9969 (todo-diary-goto-entry, todo-diary-item-p)
9970 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9971 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9972 (todo-done-item-section-p, todo-done-separator)
9973 (todo-done-string-matcher, todo-files, todo-filter-items)
9974 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9975 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9976 (todo-insert-category-line, todo-insert-item-from-calendar)
9977 (todo-insert-sort-button, todo-insert-with-overlays)
9978 (todo-insertion-command-name, todo-insertion-key-bindings)
9979 (todo-label-to-key, todo-longest-category-name-length)
9980 (todo-make-categories-list, todo-mode-external-set)
9981 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9982 (todo-modes-set-3, todo-multiple-filter-files)
9983 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9984 (todo-read-category, todo-read-date, todo-read-dayname)
9985 (todo-read-file-name, todo-read-time)
9986 (todo-reevaluate-category-completions-files-defcustom)
9987 (todo-reevaluate-default-file-defcustom)
9988 (todo-reevaluate-filelist-defcustoms)
9989 (todo-reevaluate-filter-files-defcustom)
9990 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9991 (todo-reset-done-separator, todo-reset-done-separator-string)
9992 (todo-reset-done-string, todo-reset-global-current-todo-file)
9993 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9994 (todo-reset-prefix, todo-set-categories)
9995 (todo-set-date-from-calendar, todo-set-show-current-file)
9996 (todo-set-top-priorities, todo-short-file-name)
9997 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9998 (todo-total-item-counts, todo-update-buffer-list)
9999 (todo-update-categories-display, todo-update-categories-sexp)
10000 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10001 New functions.
10002 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10003 New major modes.
10004 (todo-categories, todo-display, todo-edit, todo-faces)
10005 (todo-filtered): New defgroups.
10006 (todo-archived-only, todo-button, todo-category-string, todo-date)
10007 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10008 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10009 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10010 (todo-add-item-if-new-category, todo-always-add-time-string)
10011 (todo-categories-align, todo-categories-archived-label)
10012 (todo-categories-category-label, todo-categories-diary-label)
10013 (todo-categories-done-label, todo-categories-number-separator)
10014 (todo-categories-todo-label, todo-categories-totals-label)
10015 (todo-category-completions-files, todo-completion-ignore-case)
10016 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10017 (todo-done-separator-string, todo-done-string)
10018 (todo-files-function, todo-filter-done-items, todo-filter-files)
10019 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10020 (todo-initial-category, todo-initial-file, todo-item-mark)
10021 (todo-legacy-date-time-regexp, todo-mode-line-function)
10022 (todo-nondiary-marker, todo-number-prefix)
10023 (todo-print-buffer-function, todo-show-current-file)
10024 (todo-show-done-only, todo-show-first, todo-show-with-done)
10025 (todo-skip-archived-categories, todo-top-priorities-overrides)
10026 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10027 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10028 New defcustoms.
10029 (todo-category-done, todo-date-pattern, todo-date-string-start)
10030 (todo-diary-items-buffer, todo-done-string-start)
10031 (todo-filtered-items-buffer, todo-item-start)
10032 (todo-month-abbrev-array, todo-month-name-array)
10033 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10034 (todo-top-priorities-buffer): New defconsts.
10035 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10036 (todo-categories-with-marks, todo-category-string-face)
10037 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10038 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10039 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10040 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10041 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10042 (todo-font-lock-keywords, todo-global-current-todo-file)
10043 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10044 (todo-insertion-commands-args)
10045 (todo-insertion-commands-args-genlist)
10046 (todo-insertion-commands-names, todo-insertion-map)
10047 (todo-key-bindings-t, todo-key-bindings-t+a)
10048 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10049 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10050 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10051 (todo-visited): New variables.
10052
cad5d1cb
GM
100532013-06-21 Glenn Morris <rgm@gnu.org>
10054
10055 * play/cookie1.el (cookie-apropos): Add optional display argument.
10056 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10057 (psychoanalyze-pinhead): Use cookie-doctor.
10058
9e277302
JB
100592013-06-21 Juanma Barranquero <lekktu@gmail.com>
10060
10061 * emacs-lisp/package.el (tar-get-file-descriptor)
10062 (tar--extract): Declare.
10063
c5b0993e
EW
100642013-06-21 Eduard Wiebe <usenet@pusto.de>
10065
10066 Extend flymake's warning predicate to be a function (bug#14217).
10067 * progmodes/flymake.el (flymake-warning-predicate): New.
10068 (flymake-parse-line): Use it.
10069 (flymake-warning-re): Make obsolete alias to
10070 `flymake-warning-predicate'.
10071
a7d2d465
SM
100722013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10075 (package-obsolete-list): Remove.
10076 (package-activate): Remove min-version argument. Add `force' argument.
10077 Adjust to new package-alist format.
10078 (package-mark-obsolete): Remove.
10079 (package-unpack): Force reload of the package's autoloads.
10080 (package-installed-p): Check builtins if the installed package is not
10081 recent enough.
10082 (package-initialize): Don't reset package-obsolete-list.
10083 Don't specify which package version to activate.
10084 (package-process-define-package, describe-package-1)
10085 (package-menu--generate): Adjust to new package-alist format.
10086
cedf5c9d
JB
100872013-06-21 Juanma Barranquero <lekktu@gmail.com>
10088
10089 * allout-widgets.el (allout-widgets-mode-off)
10090 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10091 (allout-widgets-post-command-business)
10092 (allout-widgets-after-copy-or-kill-function)
10093 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10094 (allout-decorate-item-and-context)
10095 (allout-graphics-modification-handler): Fix typos in docstrings.
10096 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10097
10098 * cmuscheme.el (scheme-start-file): Doc fix.
10099 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10100 (scheme-input-filter): Use `string-match-p'.
10101
10102 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10103
10104 * dired-x.el: Use Dired consistently in docstrings.
10105
10106 * dired.el: Use Dired consistently in docstrings.
10107 (dired-readin, dired-mode): Use `setq-local'.
10108 (dired-switches-alist): Make defvar-local.
10109 (dired-buffers-for-dir): Use `zerop'.
10110 (dired-safe-switches-p, dired-switches-escape-p)
10111 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10112 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10113 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10114 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10115 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10116 (dired-toggle-marks, dired-mark-files-containing-regexp)
10117 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10118 (dired-flag-auto-save-files, dired-flag-backup-files):
10119 Use `looking-at-p'.
10120 (dired-mark-files-regexp, dired-build-subdir-alist):
10121 Use `string-match-p', `looking-at-p'.
10122
10123 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10124 (direct-print-region-helper): Use `string-match-p'.
10125
aed838b5
LL
101262013-06-21 Leo Liu <sdl.web@gmail.com>
10127
cedf5c9d
JB
10128 * comint.el (comint-redirect-results-list-from-process):
10129 Fix infinite loop.
aed838b5 10130
d80a808f
LMI
101312013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10132
10133 * net/eww.el (eww-update-header-line-format): Quote % characters.
10134
e7a526e3
GM
101352013-06-21 Glenn Morris <rgm@gnu.org>
10136
10137 * play/cookie1.el (cookie): New custom group.
10138 (cookie-file): New option.
10139 (cookie-check-file): New function.
10140 (cookie): Make it interactive. Make start and end messages optional.
10141 Interactively, display the result. Default to cookie-file.
10142 (cookie-insert): Default to cookie-file.
10143 (cookie-snarf): Make start and end messages optional.
10144 Default to cookie-file. Use with-temp-buffer.
10145 (cookie-read): Rename from read-cookie.
10146 Make start and end messages optional. Default to cookie-file.
10147 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10148 Do not autoload it.
e7a526e3
GM
10149 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10150 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10151
62efb35e
LL
101522013-06-21 Leo Liu <sdl.web@gmail.com>
10153
10154 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10155
21e3f963
GM
101562013-06-21 Glenn Morris <rgm@gnu.org>
10157
10158 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10159
fd846ab4
SM
101602013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10161 Daniel Hackney <dan@haxney.org>
10162
10163 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10164 Consolidate the single-file vs tarball code.
10165 (package-desc-suffix): New function.
10166 (package-desc-full-name): Don't bother inlining it.
10167 (package-load-descriptor): Return the new package-desc.
10168 (package-mark-obsolete): Remove unused arg `package'.
10169 (package-unpack): Make it work for single files as well.
10170 Make it update package-alist.
10171 (package--make-autoloads-and-stuff): Rename from
10172 package--make-autoloads-and-compile. Don't compile any more.
10173 (package--compile): New function.
10174 (package-generate-description-file): New function, extracted from
10175 package-unpack-single.
10176 (package-unpack-single): Remove.
10177 (package--with-work-buffer): Add indentation and debugging info.
10178 (package-download-single): Remove.
10179 (package-install-from-archive): Rename from package-download-tar, make
10180 it take a pkg-desc, and make it work for single files as well.
10181 (package-download-transaction): Simplify.
10182 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10183 external tar program.
10184 (package-install-from-buffer): Remove `pkg-desc' argument.
10185 Use package-tar-file-info for tar-mode buffers.
10186 (package-install-file): Simplify accordingly.
10187 (package-archive-base): Change to take a pkg-desc.
10188 * tar-mode.el (tar--check-descriptor): New function, extracted from
10189 tar-get-descriptor.
10190 (tar-get-descriptor): Use it.
10191 (tar-get-file-descriptor): New function.
10192 (tar--extract): New function, extracted from tar-extract.
10193 (tar--extract): Use it.
10194 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10195 case the summary uses non-ascii. Adjust to new calling convention of
10196 package-tar-file-info.
10197
b7deae5e
LL
101982013-06-21 Leo Liu <sdl.web@gmail.com>
10199
fd846ab4
SM
10200 * comint.el (comint-redirect-results-list-from-process):
10201 Fix random delay. (Bug#14681)
b7deae5e 10202
7a65a0b2
JB
102032013-06-21 Juanma Barranquero <lekktu@gmail.com>
10204
10205 * profiler.el (profiler-format-number): Use log, not log10.
10206
1493c2af
JB
102072013-06-20 Juanma Barranquero <lekktu@gmail.com>
10208
10209 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10210
aff6371e
SM
102112013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10214 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10215 yet available.
10216 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10217 (AUTOGENEL): ... here.
10218 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10219 (cl--defsubst-expand): Use it.
10220
89561f72
PE
102212013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10222
10223 * subr.el (log10): Move here from C code, and declare as obsolete.
10224 All uses of (log10 X) replaced with (log X 10).
10225
47199123
JB
102262013-06-20 Juanma Barranquero <lekktu@gmail.com>
10227
10228 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10229 Declare with `defvar-local'.
10230 (tabulated-list-use-header-line, tabulated-list-entries)
10231 (tabulated-list-padding, tabulated-list-printer)
10232 (tabulated-list-sort-key): Declare with `defvar-local'.
10233 (tabulated-list-init-header, tabulated-list-print-fake-header):
10234 Use `setq-local'.
10235
4a172eab
MA
102362013-06-20 Michael Albinus <michael.albinus@gmx.de>
10237
47199123
JB
10238 * arc-mode.el (archive-mode): Add `archive-write-file' to
10239 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10240
5fc0acc0
JB
102412013-06-20 Juanma Barranquero <lekktu@gmail.com>
10242
d5b27848
JB
10243 * cus-edit.el (custom-commands): Fix typos.
10244 (custom-display): Fix tooltip text.
10245 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10246 Fix typos in docstrings.
10247 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10248 (custom-unlispify-menu-entry, custom-magic-value-create)
10249 (custom-add-see-also, custom-group-value-create): Use ?\s.
10250 (custom-guess-type, customize-apropos, editable-field)
10251 (custom-face-value-create): Use `string-match-p'.
10252 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10253
10254 * custom.el (custom-load-symbol): Use `string-match-p'.
10255
a5c581d8
JB
10256 * ansi-color.el: Convert to lexical binding.
10257 (ansi-colors): Fix URL.
10258 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10259 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10260 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10261
970ad972
G
102622013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10263
10264 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10265
10266 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10267
102682013-06-19 Tom Tromey <tromey@redhat.com>
10269
10270 * net/eww.el (eww-top-url): Remove.
10271 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10272 (eww-render): Set new variables. Don't set eww-top-url.
10273 (eww-handle-link): Handle "prev", "home", and "contents".
10274 Downcase the rel text.
10275 (eww-top-url): Choose best top URL.
10276
102772013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10278
10279 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10280 relying in widget.el. Using widget.el leads to too many
10281 user interface inconsistencies.
10282 (eww-self-insert): Implement entering commands in text fields.
10283 (eww-process-text-input): New function to make text input field editing
10284 work.
10285 (eww-submit): Rewrite to use the new-style form methods.
10286 (eww-select-display): Display the correct selected item.
10287 (eww-change-select): Implement changing the select value.
10288 (eww-toggle-checkbox): Implement radio/checkboxes.
10289 (eww-update-field): Fix compilation error.
10290 (eww-tag-textarea): Implement <textarea>.
10291
10292 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10293 we don't shadow mode-specific bindings.
10294
10295 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10296 nothing to push.
10297
10298 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10299
4582a01c 103002013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10301
10302 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10303
15b263dc
MA
103042013-06-19 Michael Albinus <michael.albinus@gmx.de>
10305
10306 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10307 not needed.
10308
10309 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10310
8f5297f7
LMI
103112013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10312
10313 * net/browse-url.el (browse-url-browser-function):
10314 `eww-browse-url' has the right calling signature, `eww' does not.
10315
011c4552
GM
103162013-06-19 Glenn Morris <rgm@gnu.org>
10317
2285bd27
GM
10318 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10319 Only eval autoloaded macros.
10320 (byte-compile-autoload): Only give the macro warning for macros.
10321
1d653303
GM
10322 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10323 (ps-underlined-faces): Declare.
10324
bdd779ec
GM
10325 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10326 (speedbar-add-supported-extension): Declare.
10327
011c4552
GM
10328 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10329 Don't include a date stamp in the header of the generated file;
10330 it leads to needless differences between output files.
10331
e59dfb0e
MA
103322013-06-19 Michael Albinus <michael.albinus@gmx.de>
10333
c763842b
SM
10334 * net/secrets.el (secrets-struct-secret-content-type):
10335 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10336 Some servers do not offer introspection.
e59dfb0e 10337
102626e2
SM
103382013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10339
10340 * electric.el (electric-pair-mode): Improve interaction with
10341 electric-layout-mode.
10342 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10343 (electric-pair-syntax): Use text-mode-syntax-table in comments
10344 and strings.
10345 (electric-pair--insert): New function.
10346 (electric-pair-post-self-insert-function): Use it and
10347 electric--after-char-pos.
10348
ad528125
LL
103492013-06-19 Leo Liu <sdl.web@gmail.com>
10350
10351 * progmodes/octave.el (octave-help): Fix regexp.
10352
924d6997
G
103532013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10354
10355 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10356 (shr-table-horizontal-line): Allow nil as a value, and change the
10357 default.
10358 (shr-insert-table-ruler): Respect the nil value.
10359
103602013-06-18 Tom Tromey <tromey@barimba>
10361
10362 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10363 New defvars.
10364 (eww-open-file): New defun.
10365 (eww-render): Initialize new variables.
10366 (eww-display-html): Handle "link" and "a".
10367 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10368 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10369 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10370 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10371 New defuns.
924d6997 10372
d1bbba4f
DG
103732013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10374
10375 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10376 Distinguish ternary operator tokens from slash symbol and slash
10377 char literal.
10378
14dd22d2
JB
103792013-06-18 Juanma Barranquero <lekktu@gmail.com>
10380
10381 Convert symbol prettification into minor mode and global minor mode.
10382
10383 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10384 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10385 (prettify-symbols--keywords): Rename from
10386 `prog-prettify-symbols-alist' and make a local defvar.
10387 (prettify-symbols--compose-symbol): Rename from
10388 `prog--prettify-font-lock-compose-symbol'.
10389 (prettify-symbols--make-keywords): Rename from
10390 `prog-prettify-font-lock-symbols-keywords' and simplify.
10391 (prog-prettify-install): Remove.
10392 (prettify-symbols-mode): New minor mode, based on
10393 `prog-prettify-install'.
10394 (turn-on-prettify-symbols-mode): New function.
10395 (global-prettify-symbols-mode): New globalized minor mode.
10396
10397 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10398 * progmodes/cfengine.el (cfengine3-mode):
10399 * progmodes/perl-mode.el (perl-mode): Don't call
10400 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10401
292c880c
JL
104022013-06-18 Juri Linkov <juri@jurta.org>
10403
10404 * files-x.el (modify-file-local-variable-message): New function.
10405 (modify-file-local-variable)
10406 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10407 and call `modify-file-local-variable-message' when it's non-nil.
10408 (add-file-local-variable, delete-file-local-variable)
10409 (add-file-local-variable-prop-line)
10410 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10411 and use it. (Bug#9820)
10412
0950aa27
JL
104132013-06-18 Juri Linkov <juri@jurta.org>
10414
10415 * emulation/vi.el (vi-shell-op):
10416 * emulation/vip.el (vip-execute-com, ex-command):
10417 * emulation/viper-cmd.el (viper-exec-bang):
10418 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10419 the call of `shell-command-on-region'. (Bug#14637)
10420
10421 * simple.el (shell-command-on-region): Doc fix.
10422
8fbcca16
SM
104232013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10424
10425 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10426 (bug#14633).
10427
dd7426ea
GM
104282013-06-18 Glenn Morris <rgm@gnu.org>
10429
4ba54f7d
GM
10430 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10431
dd7426ea
GM
10432 * newcomment.el (comment-search-forward, comment-search-backward):
10433 Doc fix. (Bug#14376)
10434
58aa805b
JB
104352013-06-18 Juanma Barranquero <lekktu@gmail.com>
10436
10437 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10438 (buffer-face-mode-invoke): Doc fix.
10439
9a08a617
MM
104402013-06-18 Matthias Meulien <orontee@gmail.com>
10441
10442 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10443 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10444
f2f426ca
GM
104452013-06-18 Glenn Morris <rgm@gnu.org>
10446
9445f99b
GM
10447 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10448 Replace obsolete function generic-make-keywords with its expansion.
10449
e0df2d14
GM
10450 * progmodes/python.el (ffap-alist): Declare.
10451
f2f426ca
GM
10452 * textmodes/reftex.el (bibtex-mode-map): Declare.
10453
f7f9a720
SM
104542013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10457 (package-unpack, package-unpack-single): Return the pkg-dir.
10458 (package-download-transaction): Use it to update package-alist.
10459
57ff04e0
LMI
104602013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10461
10462 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10463 possible choice.
10464
c048c022
JL
104652013-06-17 Juri Linkov <juri@jurta.org>
10466
10467 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10468
b5bcaee5
DG
104692013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10470
a020afb9
JB
10471 * emacs-lisp/package.el (package-load-descriptor):
10472 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10473 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10474
551e07e5
JB
104752013-06-17 Juanma Barranquero <lekktu@gmail.com>
10476
10477 * startup.el (command-line): Expand package name returned by
10478 `package--description-file' (bug#14639).
10479
d363bffb
DG
104802013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10481
10482 * emacs-lisp/package.el (package-load-descriptor): Do not call
10483 `emacs-lisp-mode', just use its syntax table.
10484
f612933b
JB
104852013-06-17 Juanma Barranquero <lekktu@gmail.com>
10486
10487 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10488 `font-lock-extra-managed-props' if any prettifying keyword is added.
10489 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10490 (prog-mode): Use `setq-local'.
10491
db3b7db5
SM
104922013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10493
10494 * international/characters.el (standard-case-table): Set syntax of ?»
10495 and ?« to punctuation.
10496
f3d674df
JB
104972013-06-16 Juanma Barranquero <lekktu@gmail.com>
10498
10499 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10500 Save relevant match data before calling `syntax-ppss' (bug#14595).
10501
31489a32
JL
105022013-06-15 Juri Linkov <juri@jurta.org>
10503
10504 * files-x.el (modify-file-local-variable-prop-line): Add local
10505 variables to the end of the existing comment on the first line.
10506 Use `file-auto-mode-skip' to skip interpreter magic line,
10507 and also skip XML declaration.
10508
66bd25ab
SM
105092013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10510
10511 * startup.el (package--builtin-versions): New var.
10512 (package-subdirectory-regexp): Remove.
10513 (package--description-file): Hard code its value instead.
10514
10515 * emacs-lisp/package.el: Don't activate packages older than builtin.
10516 (package-obsolete-list): Rename from package-obsolete-alist, and make
10517 it into a simple list of package-desc.
10518 (package-strip-version): Remove.
10519 (package-built-in-p): Use package--builtin-versions.
10520 (package-mark-obsolete): Simplify.
10521 (package-process-define-package): Mark it obsolete if older than the
10522 builtin version.
10523 (package-handle-response): Use line-end-position.
10524 (package-read-archive-contents, package--download-one-archive):
10525 Simplify.
10526 (package--add-to-archive-contents): Skip if older than the builtin or
10527 installed version.
10528 (package-menu-describe-package): Fix last change.
10529 (package-list-unversioned): New var.
10530 (package-menu--generate): Use it.
10531
10532 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10533 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10534 (autoload-builtin-package-versions): New variable.
10535 (autoload-generate-file-autoloads): Use them.
10536 Remove the list of autoloaded functions/macros from the
10537 (autoload...) comments.
10538
10539 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10540
9583ec36
EZ
105412013-06-15 Eli Zaretskii <eliz@gnu.org>
10542
10543 * simple.el (line-move-partial): Don't jump to the next screen
10544 line as soon as it becomes visible. Instead, continue enlarging
10545 the vscroll until the portion of a tall screen line that's left on
10546 display is about the height of the frame's default font.
10547 (Bug#14567)
10548
f0100d8a
GM
105492013-06-15 Glenn Morris <rgm@gnu.org>
10550
b86a85ca
GM
10551 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10552 compilation-error-regexp-alist void, or local while let-bound.
10553
f0100d8a
GM
10554 * progmodes/make-mode.el (makefile-mode-syntax-table):
10555 Treat "=" as punctuation. (Bug#14614)
10556
05e7ce90
JB
105572013-06-15 Juanma Barranquero <lekktu@gmail.com>
10558
10559 * help-fns.el (describe-variable):
10560 Add extra line for permanent-local variables.
10561
12e5e86e
SH
105622013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10563
10564 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10565 Add export, import, library. (Bug#9164)
10566 (library): Set indent function.
10567
230dcbaf
GM
105682013-06-14 Glenn Morris <rgm@gnu.org>
10569
10570 * term/xterm.el (xterm--query):
10571 Stop after first matching handler. (Bug#14615)
10572
e36b2d20 105732013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10574
10575 Add support for dired in saveplace.
10576 * dired.el (dired-initial-position-hook): New variable.
10577 (dired-initial-position): Call hook to place cursor position.
10578 * saveplace.el (save-place-to-alist): Add dired position.
10579 (save-place-dired-hook): New function.
10580
0b31660d
SM
105812013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10582
bf1e6ae8
SM
10583 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10584 through a symbol rather than letrec.
10585
1b8dff23
SM
10586 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10587 (package-desc): Add `dir' field.
10588 (package-desc-full-name): New function.
10589 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10590 (package-maybe-load-descriptor): Remove.
10591 (package-load-all-descriptors): Just call package-load-descriptor.
10592 (package--disabled-p): New function.
10593 (package-desc-vers, package-desc-doc): Remove aliases.
10594 (package--dir): Remove function.
10595 (package-activate): Check if a package is disabled.
10596 (package-process-define-package): New function, extracted from
10597 define-package.
10598 (define-package): Turn into a place holder.
10599 (package-unpack-single, package-tar-file-info):
10600 Use package--description-file.
10601 (package-compute-transaction): Use package--disabled-p.
10602 (package-download-transaction): Don't call
10603 package-maybe-load-descriptor since they're all loaded anyway.
10604 (package-install): Change argument to be a pkg-desc.
10605 (package-delete): Use a single pkg-desc argument.
10606 (describe-package-1): Use package-desc-dir instead of package--dir.
10607 Use package-desc property instead of package-symbol.
10608 (package-install-button-action): Adjust accordingly.
10609 (package--push): Rewrite.
10610 (package-menu--print-info): Adjust accordingly. Change the ID format
10611 to be a pkg-desc.
10612 (package-menu-describe-package, package-menu-get-status)
10613 (package-menu--find-upgrades, package-menu-mark-upgrades)
10614 (package-menu-execute, package-menu--name-predicate):
10615 Adjust accordingly.
10616 * startup.el (package--description-file): New function.
10617 (command-line): Use it.
10618 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10619 Use package-desc-version.
10620
0b31660d
SM
10621 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10622 (byte-compile-preprocess): Use it.
10623 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10624 can't quite recognize.
10625 (byte-compile-add-to-list): Remove.
10626 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10627 (cconv-closure-convert): Add assertion.
10628
10629 * emacs-lisp/map-ynp.el: Use lexical-binding.
10630 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10631 Factor out some repeated code.
10632
de0503df
SM
106332013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10634
10635 * subr.el (with-eval-after-load): New macro.
10636 (eval-after-load): Allow form to be a function.
10637 take advantage of lexical-binding.
10638 (do-after-load-evaluation): Use dolist and adjust to new format.
10639 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10640
bc5c8c5a
JL
106412013-06-13 Juri Linkov <juri@jurta.org>
10642
10643 * replace.el (perform-replace): Display "symbol " and other search
10644 modes from `isearch-message-prefix' in the *Help* buffer.
10645
10646 * isearch.el (isearch-query-replace): Add " symbol" and other
10647 possible search modes from `isearch-message-prefix' to the prompt.
10648 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10649 when reading a regexp to collect.
10650
a22289f7
JL
106512013-06-13 Juri Linkov <juri@jurta.org>
10652
10653 * isearch.el (word-search-regexp): Match whitespace if the search
10654 string begins or ends in whitespace. The LAX arg is applied to
10655 both ends of the search string. Use `regexp-quote' and explicit
10656 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10657 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10658 boundaries are replaced with symbol boundaries, and characters
10659 between symbols match non-word non-symbol syntax. (Bug#14602)
10660
cb89acab
JL
106612013-06-13 Juri Linkov <juri@jurta.org>
10662
10663 * isearch.el (isearch-del-char): Don't exceed the length of
10664 `isearch-string' by the prefix arg. (Bug#14563)
10665
6e8cfc81
JL
106662013-06-13 Juri Linkov <juri@jurta.org>
10667
10668 * isearch.el (isearch-yank-word, isearch-yank-line)
10669 (isearch-char-by-name, isearch-quote-char)
10670 (isearch-printing-char, isearch-process-search-char):
10671 Add optional count prefix arg. (Bug#14563)
10672
10673 * international/isearch-x.el
10674 (isearch-process-search-multibyte-characters):
10675 Add optional count prefix arg.
10676
c23d55f4
VS
106772013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10680 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10681 lexical-binding.
10682
106832013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10684
10685 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10686
ba947bc4
GM
106872013-06-13 Glenn Morris <rgm@gnu.org>
10688
8baeb37a
GM
10689 * startup.el (tty-handle-args):
10690 Don't just discard "--" and anything after. (Bug#14608)
10691
ba947bc4
GM
10692 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10693
9abefce4
MA
106942013-06-13 Michael Albinus <michael.albinus@gmx.de>
10695
10696 Implement changes in Secret Service API. Make it backward compatible.
10697 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10698 (secrets-create-item): Use it. Prefix properties with interface.
10699
5755011f
MH
107002013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10701
10702 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10703 (term-emulate-terminal): Respect term-suppress-hard-newline.
10704
1261d2da
S
107052013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10706
10707 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10708 Only remove a `thumb-file' overlay. (Bug#14548)
10709
868490bb
GJ
107102013-06-12 Grégoire Jadi <daimrod@gmail.com>
10711
10712 * mail/reporter.el (reporter-submit-bug-report):
10713 Handle missing package-name. (Bug#14600)
10714
79d7167f
TH
107152013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10716
10717 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10718 (reftex-citation-prompt, reftex-default-bibliography)
10719 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10720 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10721 (reftex-bib-sort-author, reftex-bib-sort-year)
10722 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10723 (reftex-extract-bib-entries-from-thebibliography)
10724 (reftex-get-bibkey-default, reftex-get-bib-names)
10725 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10726 (reftex-format-bib-entry, reftex-parse-bibitem)
10727 (reftex-format-bibitem, reftex-do-citation)
10728 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10729 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10730 (reftex-insert-bib-matches, reftex-format-citation)
10731 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10732 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10733 existing comments into docstrings.
10734
5f9dbd7a
XF
107352013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10736
10737 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10738
94df41ab
AS
107392013-06-12 Andreas Schwab <schwab@suse.de>
10740
10741 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10742 for auto-save files.
10743
a7f3fecc
GM
107442013-06-12 Glenn Morris <rgm@gnu.org>
10745
001809f6
GM
10746 * ido.el (ido-delete-ignored-files): Remove.
10747 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10748 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10749
834b5ded
EL
107502013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10751
08c73ed2
EL
10752 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10753
834b5ded
EL
10754 * ido.el (ido-delete-ignored-files): New function,
10755 split from ido-make-file-list-1.
10756 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10757 (ido-make-file-list-1): Use ido-delete-ignored-files.
10758
daabf15a
LL
107592013-06-12 Leo Liu <sdl.web@gmail.com>
10760
10761 * progmodes/octave.el (inferior-octave-startup)
10762 (inferior-octave-completion-table)
10763 (inferior-octave-track-window-width-change)
10764 (octave-eldoc-function-signatures, octave-help)
10765 (octave-find-definition): Use single quoted strings.
10766 (inferior-octave-startup-args): Change default value.
10767 (inferior-octave-startup): Do not hard code "-i" and
10768 "--no-line-editing".
10769 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10770 (inferior-octave-directory-tracker): Use it.
10771 (octave-goto-function-definition): Robustify.
10772 (octave-help): Support highlighting operators in 'See also'.
10773 (octave-find-definition): Find subfunctions only in Octave mode.
10774
cf4e5178
SM
107752013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10776
10777 * help-fns.el (help-fns--compiler-macro): If the handler function is
10778 named, then put a link to it.
10779 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10780 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10781 (cl-typep): Use it.
10782 (cl-eval-when): Simplify debug spec.
10783 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10784 compiler-macro function instead of setting `compiler-macro-file'.
10785
99c81280 107862013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10787
10788 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10789 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10790
f56be016
SM
107912013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10792 Daniel Hackney <dan@haxney.org>
10793
10794 First part of Daniel Hackney's patch to package.el.
10795 * emacs-lisp/package.el: Use defstruct.
10796 (package-desc): New, main struct.
10797 (package--bi-desc, package--ac-desc): New structs, used to describe the
10798 format in external files.
10799 (package-desc-vers): Replace with package-desc-version accessor.
10800 (package-desc-doc): Replace with package-desc-summary accessor.
10801 (package-activate-1): Remove `package' arg since the pkg-vec now
10802 includes the name.
10803 (define-package): Use package-desc-from-define.
10804 (package-unpack-single): Change file-name arg to be a symbol.
10805 (package--add-to-archive-contents): Use package-desc-create and new
10806 accessor functions to package--ac-desc.
10807 (package-buffer-info, package-tar-file-info): Return a package-desc.
10808 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10809 arg to be a package-desc.
10810 (package-install-file): Adjust accordingly. Use \' to match EOS.
10811 (package--from-builtin): New function.
10812 (describe-package-1, package-menu--generate): Use it.
10813 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10814 (package-generate-autoloads): Idem and return the name of the file.
10815 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10816 Change pkg-info arg to be a package-desc.
10817 Use package-make-ac-desc.
10818 (package-upload-file): Use \' to match EOS.
10819 * finder.el (finder-compile-keywords): Use package-make-builtin.
10820
31119d63
SM
108212013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10822
931a2762
SM
10823 * vc/vc.el (vc-deduce-fileset): Change error message.
10824 (vc-read-backend): New function.
10825 (vc-next-action): Use it.
10826
5a3eb0c6
SM
10827 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10828
e3eb1bb7
SM
10829 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10830 (prolog-font-lock-keywords): Use regexp-opt instead.
10831 Don't manually highlight strings.
10832 (prolog-mode-variables): Simplify comment-start-skip.
10833 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10834
31119d63
SM
10835 * emacs-lisp/generic.el (generic--normalise-comments)
10836 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10837 (generic-mode-set-comments): Use them.
10838 (generic-bracket-support): Use setq-local.
10839 (generic-make-keywords-list): Declare obsolete.
10840
7de135d0
GM
108412013-06-11 Glenn Morris <rgm@gnu.org>
10842
10843 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10844 Prettify after setting font-lock-defaults. (Bug#14574)
10845
fa6bc6fd
JB
108462013-06-11 Juanma Barranquero <lekktu@gmail.com>
10847
10848 * replace.el (query-replace, occur-read-regexp-defaults-function)
10849 (replace-search):
10850 * subr.el (declare-function, number-sequence, local-set-key)
10851 (substitute-key-definition, locate-user-emacs-file)
10852 (with-silent-modifications, split-string, eval-after-load):
10853 Fix typos, remove unneeded backslashes and reflow some docstrings.
10854
cf1f9b9a
SM
108552013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10856
10857 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10858 default for Elisp files.
10859
56602a4b
GM
108602013-06-11 Glenn Morris <rgm@gnu.org>
10861
10862 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10863 although define-derived-mode was doing this anyway. (Bug#14583)
10864
30ae0b2c
JB
108652013-06-10 Juanma Barranquero <lekktu@gmail.com>
10866
10867 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10868 Fix make-variable-buffer-local call to refer to the correct variable.
10869
fa472906
AG
108702013-06-10 Aidan Gauland <aidalgol@amuri.net>
10871
10872 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10873 (eshell-visual-subcommands, eshell-visual-options):
10874 Add summary line to docstrings. Add cross-references.
fa472906 10875
ff4871b9
GM
108762013-06-10 Glenn Morris <rgm@gnu.org>
10877
10878 * epa.el (epa-read-file-name): New function. (Bug#14510)
10879 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10880
04fcf1b0
AG
108812013-06-09 Aidan Gauland <aidalgol@amuri.net>
10882
10883 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10884 output redirection to be ignored with visual commands.
10885
88b00caa
AG
108862013-06-09 Aidan Gauland <aidalgol@amuri.net>
10887
10888 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10889 (eshell-term-initialize): Move long lambda to separate function
10890 eshell-visual-command-p.
27821a89 10891 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
10892 * eshell/em-script.el (eshell-script-initialize):
10893 Add missing #' to lambda.
88b00caa 10894
fda74125
LL
108952013-06-08 Leo Liu <sdl.web@gmail.com>
10896
10897 * progmodes/octave.el (octave-add-log-current-defun): New function.
10898 (octave-mode): Set add-log-current-defun-function.
10899 (octave-goto-function-definition): Do not move point if not found.
10900 (octave-find-definition): Enhance to try subfunctions first.
10901
467f3b33
GM
109022013-06-08 Glenn Morris <rgm@gnu.org>
10903
10904 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10905 (byte-compile-backward-char, byte-compile-backward-word):
10906 Improve previous change, to handle non-explicit nil.
10907
544badc3
SM
109082013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10911 (smie--opener/closer-at-point): New function.
10912 (smie--matching-block-data): Use it. Don't match from right after an
10913 opener or right before a closer. Obey smie-blink-matching-inners.
10914 Don't signal a mismatch for repeated inners like "switch..case..case".
10915
a175bf33
LL
109162013-06-07 Leo Liu <sdl.web@gmail.com>
10917
10918 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10919 to t. (Bug#14303)
ce8209d4
LL
10920 (octave-function-header-regexp): Fix. (Bug#14570)
10921 (octave-help-mode-finish-hook, octave-help-mode-finish):
10922 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10923
10924 * newcomment.el (comment-search-backward): Revert last change.
10925 (Bug#14434)
10926
10927 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10928
a822acff
EZ
109292013-06-07 Eli Zaretskii <eliz@gnu.org>
10930
10931 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10932 through xargs, to avoid failure due to MS-Windows limitations on
10933 command-line length.
10934
961166f5
GM
109352013-06-06 Glenn Morris <rgm@gnu.org>
10936
d0341459
GM
10937 * font-lock.el (lisp-font-lock-keywords-2):
10938 Treat user-error like error.
10939
961166f5
GM
10940 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10941 (byte-compile-backward-char, byte-compile-backward-word):
10942 Handle explicit nil arguments. (Bug#14565)
10943
80fa505f
AM
109442013-06-05 Alan Mackenzie <acm@muc.de>
10945
10946 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10947 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10948 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10949 (Bug#9706)
80fa505f 10950
fccdc796
SM
109512013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * autorevert.el (auto-revert-notify-handler): Use memq.
10954 Hide assertion failure.
10955
10956 * skeleton.el: Use cl-lib.
10957 (skeleton-further-elements): Use defvar-local.
10958 (skeleton-insert): Use cl-progv.
10959
9bfff84b
TZ
109602013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10961
10962 * progmodes/prog-mode.el (prog-prettify-symbols)
10963 (prog-prettify-install): Update docstrings.
10964
55577e7c
SM
109652013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10966
10967 * simple.el: Move all the prog-mode code to prog-mode.el.
10968 * progmodes/prog-mode.el: New file.
10969 * loadup.el: Add prog-mode.el.
10970
8fc57765
TZ
109712013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10972
10973 * simple.el (prog-prettify-symbols): Add version.
10974 (prog-prettify-install): Add convenience function to prettify symbols.
10975
10976 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10977 (perl--augmented-font-lock-keywords-1)
10978 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10979 variables and use it.
10980
10981 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10982 (cfengine3-mode): Remove unneeded variable and use it.
10983
10984 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10985 (lisp--augmented-font-lock-keywords-1)
10986 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10987 Remove unneeded variables and use it.
10988
650645d5 109892013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10990
10991 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10992 to point when opening the connection. (Bug#14380)
28f5da6d 10993
781b4af6
SM
109942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * subr.el (load-history-regexp, load-history-filename-element)
10997 (eval-after-load, after-load-functions, do-after-load-evaluation)
10998 (eval-next-after-load, display-delayed-warnings)
10999 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11000 definition of save-match-data.
11001 (overriding-local-map): Remove accidental obsolescence declaration.
11002
11003 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11004
3ca0d0b4
TZ
110052013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11006
11007 Generalize symbol prettify support to prog-mode and implement it
11008 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11009 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11010 (prog--prettify-font-lock-compose-symbol)
11011 (prog-prettify-font-lock-symbols-keywords): New variables and
11012 functions to support symbol prettification.
11013 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11014 (lisp--augmented-font-lock-keywords-1)
11015 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11016 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11017 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11018 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11019 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11020 * progmodes/perl-mode.el (perl-prettify-symbols)
11021 (perl--font-lock-compose-symbol)
11022 (perl--font-lock-symbols-keywords): Move to prog-mode.
11023 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11024 (perl-font-lock-keywords-1)
11025 (perl-font-lock-keywords-2): Remove explicit prettify support.
11026 (perl--augmented-font-lock-keywords)
11027 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11028 (perl--augmented-font-lock-keywords-2, perl-mode):
11029 Implement prettify support.
3ca0d0b4 11030
976cb066
LL
110312013-06-05 Leo Liu <sdl.web@gmail.com>
11032
27821a89 11033 Re-implement SMIE matching block highlight using
976cb066
LL
11034 show-paren-data-function. (Bug#14395)
11035 * emacs-lisp/smie.el (smie-matching-block-highlight)
11036 (smie--highlight-matching-block-overlay)
11037 (smie--highlight-matching-block-lastpos)
11038 (smie-highlight-matching-block)
11039 (smie-highlight-matching-block-mode): Remove.
11040 (smie--matching-block-data-cache): New variable.
11041 (smie--matching-block-data): New function.
11042 (smie-setup): Use smie--matching-block-data for
11043 show-paren-data-function.
11044
11045 * progmodes/octave.el (octave-mode-menu): Fix.
11046 (octave-find-definition): Skip garbage lines.
11047
208d0342
SM
110482013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 Fix compilation error with simultaneous dynamic+lexical scoping.
11051 Add warning when a defvar appears after the first let-binding.
11052 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11053 (byte-compile-close-variables): Initialize it.
11054 (byte-compile--declare-var): New function.
11055 (byte-compile-file-form-defvar)
11056 (byte-compile-file-form-define-abbrev-table)
11057 (byte-compile-file-form-custom-declare-variable): Use it.
11058 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11059 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11060 (byte-compile-bind): Handle dynamic bindings that shadow
11061 lexical bindings.
11062 (byte-compile-unbind): Make arg non-optional.
11063 (byte-compile-let): Simplify.
11064 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11065 (cconv--analyse-function, cconv-analyse-form): Populate it.
11066 Protect byte-compile-bound-variables to limit the scope of defvars.
11067 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11068 Remove unneeded rule for `declare'.
11069
11070 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11071 so as to avoid depending on cl-adjoin at run-time.
11072 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11073
11074 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11075 (macroexp--warn-and-return): Use it.
11076
1ac2891e
GM
110772013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11078
a12bf61e 11079 * subr.el: Convert to lexical binding.
1ac2891e
GM
11080 (overriding-local-map): Make obsolete.
11081 (add-to-list): Doc fix. Add compiler macro.
11082 (read-key): Swap values of local maps.
11083
2587b005
LL
110842013-06-05 Leo Liu <sdl.web@gmail.com>
11085
11086 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11087
f1da3c88
LL
110882013-06-04 Leo Liu <sdl.web@gmail.com>
11089
11090 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11091 (compilation-auto-jump): Suppress the "Mark set" message to give
11092 way to exit message.
11093
3caa391f
AM
110942013-06-04 Alan Mackenzie <acm@muc.de>
11095
11096 Remove faulty optimisation from indentation calculation.
11097 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11098 search limit based on 2000 characters back from indent-point.
11099
068922a2
TH
111002013-06-03 Tassilo Horn <tsdh@gnu.org>
11101
11102 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11103
1f8fdd53
SM
111042013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11105
bbcc4d97
SM
11106 * emacs-lisp/lisp.el: Use lexical-binding.
11107 (lisp--local-variables-1, lisp--local-variables): New functions.
11108 (lisp--local-variables-completion-table): New var.
208d0342 11109 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11110
1f8fdd53
SM
11111 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11112 eagerly (bug#14422).
11113
c9628c79
MA
111142013-06-03 Michael Albinus <michael.albinus@gmx.de>
11115
11116 * autorevert.el (auto-revert-notify-enabled)
11117 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11118 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11119 (auto-revert-notify-handler): Handle also gfilenotify.
11120
e7b41c4c 11121 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11122 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11123 Remove.
c9628c79 11124
e5e4a942
JL
111252013-06-03 Juri Linkov <juri@jurta.org>
11126
11127 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11128 `M-s h .'. (Bug#14427)
11129
11130 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11131 command `hi-lock-face-symbol-at-point'.
11132 (hi-lock-face-symbol-at-point): New command.
11133 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11134 (hi-lock-menu): Add `highlight-symbol-at-point'.
11135 (hi-lock-mode): Doc fix.
11136
11137 * isearch.el (isearch-forward-symbol-at-point): New command.
11138 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11139 (isearch-highlight-regexp): Add a regexp which matches
11140 words/symbols for word/symbol mode.
11141
11142 * subr.el (find-tag-default-bounds): New function with the body
11143 mostly moved from `find-tag-default'.
11144 (find-tag-default): Move most code to `find-tag-default-bounds',
11145 call it and apply `buffer-substring-no-properties' afterwards.
11146
26b3353a
TH
111472013-06-03 Tassilo Horn <tsdh@gnu.org>
11148
781b4af6
SM
11149 * eshell/em-term.el (eshell-term-initialize):
11150 Use `cl-intersection' rather than `intersection'.
26b3353a 11151
51b60f53
XF
111522013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11153
fe054b63 11154 * vc/log-view.el: Doc fix.
d3ffe17c 11155 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11156
a0eb10b3 111572013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11158
11159 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11160 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11161 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11162 (eieio-unbound, eieio-default-superclass)
11163 (eieio--define-field-accessors, method-static, method-before)
11164 (method-primary, method-after, method-num-lists)
11165 (method-generic-before, method-generic-primary)
11166 (method-generic-after, method-num-slots)
11167 (eieio-specialized-key-to-generic-key)
11168 (eieio--check-type, class-v, class-p)
11169 (eieio-class-name, define-obsolete-function-alias)
11170 (eieio-class-parents-fast, eieio-class-children-fast)
11171 (same-class-fast-p, class-constructor, generic-p)
11172 (generic-primary-only-p, generic-primary-only-one-p)
11173 (class-option-assoc, class-option, eieio-object-p)
11174 (class-abstract-p, class-method-invocation-order)
11175 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11176 (eieio-class-un-autoload, eieio-defclass)
11177 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11178 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11179 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11180 (eieio-defgeneric-reset-generic-form)
11181 (eieio-defgeneric-form-primary-only)
11182 (eieio-defgeneric-reset-generic-form-primary-only)
11183 (eieio-defgeneric-form-primary-only-one)
11184 (eieio-defgeneric-reset-generic-form-primary-only-one)
11185 (eieio-unbind-method-implementations)
11186 (eieio--defmethod, eieio--typep)
11187 (eieio-perform-slot-validation, eieio-validate-slot-value)
11188 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11189 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11190 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11191 (eieio-slot-name-index, eieio-class-slot-name-index)
11192 (eieio-set-defaults, eieio-initarg-to-attribute)
11193 (eieio-attribute-to-initarg, eieio-c3-candidate)
11194 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11195 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11196 (eieio-class-precedence-list, eieio-generic-call-methodname)
11197 (eieio-generic-call-arglst, eieio-generic-call-key)
11198 (eieio-generic-call-next-method-list)
11199 (eieio-pre-method-execution-functions, eieio-generic-call)
11200 (eieio-generic-call-primary-only, eieiomt-method-list)
11201 (eieiomt-optimizing-obarray, eieiomt-install)
11202 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11203 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11204 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11205 (defclass): Remove `eval-and-compile' from macro.
11206 (call-next-method, shared-initialize): Instead of using
11207 `scoped-class' variable, use new eieio--scoped-class, and
11208 eieio--with-scoped-class.
11209 (initialize-instance): Rename local variable 'scoped-class' to
11210 'this-class' to remove ambiguitity from old global.
11211
11212 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11213 eieio.el.
4f405069
JB
11214 (eieio--scoped-class-stack): New variable.
11215 (eieio--scoped-class): New fcn.
890f7890
DE
11216 (eieio--with-scoped-class): New scoping macro.
11217 (eieio-defclass): Use pushnew instead of add-to-list.
11218 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11219 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11220 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11221 `scoped-class' variable, use new eieio--scoped-class, and
11222 eieio--with-scoped-class.
11223
11224 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11225
d105b0e2
TH
112262013-06-02 Tassilo Horn <tsdh@gnu.org>
11227
11228 * eshell/esh-ext.el (eshell-external-command): Pass args to
11229 `eshell-find-interpreter'.
11230 (eshell-find-interpreter): Add new second parameter ARGS.
11231
11232 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11233 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11234
11235 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11236 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11237
11238 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11239 (eshell-visual-options): New defcustom.
11240 (eshell-escape-control-x): Adapt docstring.
11241 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11242 `eshell-visual-options' in addition to `eshell-visual-commands'.
11243 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11244
f46305c8 112452013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11246
11247 * progmodes/python.el (python-indent-block-enders): Add break,
11248 continue and raise keywords.
11249
d870df21
GM
112502013-06-01 Glenn Morris <rgm@gnu.org>
11251
9133b82e
GM
11252 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11253
02c992ec 11254 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11255 * progmodes/cc-cmds.el (delete-forward-p):
11256 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11257 * progmodes/cc-engine.el (buffer-syntactic-context):
11258 * progmodes/cc-fonts.el (face-property-instance):
11259 * progmodes/cc-mode.el (set-keymap-parents):
11260 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11261 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11262 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11263 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11264 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11265
31e7b090
GM
11266 * progmodes/cc-vars.el (other): Emacs has this widget since
11267 at least 21.1, so don't (re)define it.
11268
d870df21
GM
11269 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11270 Replace the obsolete alias pcomplete-arg-quote-list.
11271
c75c93c7
LL
112722013-06-01 Leo Liu <sdl.web@gmail.com>
11273
11274 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11275 punctuation syntax.
11276 (inferior-octave-minimal-columns)
11277 (inferior-octave-last-column-width): New variables.
11278 (inferior-octave-track-window-width-change): New function.
11279 (inferior-octave-mode): Adjust column width so that Octave output,
11280 for example from 'ls', can fit into the window nicely.
11281
973d1e12
DG
112822013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11283
11284 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11285 Highlight expansions inside regexp literals.
11286
0888c286
GM
112872013-05-31 Glenn Morris <rgm@gnu.org>
11288
e26aac1f
GM
11289 * obsolete/sym-comp.el (symbol-complete):
11290 Replace obsolete completion-annotate-function.
11291
0888c286
GM
11292 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11293
19bb8e62
DG
112942013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11295
781b4af6
SM
11296 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11297 New function, checks if point is inside a literal that allows
19bb8e62
DG
11298 expression expansion.
11299 (ruby-syntax-propertize-expansion): Use it.
11300 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11301 around the body.
11302
01dea85f
JL
113032013-05-30 Juri Linkov <juri@jurta.org>
11304
11305 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11306 to "\M-si".
11307 (isearch-invisible): New variable.
11308 (isearch-forward): Doc fix.
11309 (isearch-mode): Set `isearch-invisible'
11310 to the value of `search-invisible'.
11311 (isearch-toggle-case-fold): Doc fix.
11312 (isearch-toggle-invisible): New command.
11313 (isearch-query-replace): Let-bind `search-invisible'
11314 to the value of `isearch-invisible'.
11315 (isearch-search): Use `isearch-invisible' instead of
11316 `search-invisible'. Let-bind `search-invisible'
11317 to the value of `isearch-invisible'. (Bug#11378)
11318
ab1bdce5
JL
113192013-05-30 Juri Linkov <juri@jurta.org>
11320
11321 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11322 call when `query-flag' is nil and `search-invisible' is non-nil.
11323 (Bug#11746)
11324
d6d236e2
GM
113252013-05-30 Glenn Morris <rgm@gnu.org>
11326
8accd027
GM
11327 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11328
2a8bed1c
GM
11329 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11330 (cc-require): Suppress spurious "noruntime" warnings.
11331 (cc-require-when-compile): Use fboundp, for sake of compiler.
11332
d6d236e2
GM
11333 * progmodes/cc-mode.el: Move load of cc-vars before that of
11334 cc-langs (which in turn loads cc-vars), to quieten compiler.
11335
9190b35b
SM
113362013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11337
11338 * paren.el: Simplify the code.
11339 (show-paren-mode): Always start the timer.
11340 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11341 (show-paren--overlay, show-paren--overlay-1): Rename from
11342 show-paren-overlay and show-paren-overlay-1, and initialize to an
11343 overlay rather than to nil.
11344 (show-paren-function): Misc cleanup and simplifications.
11345
4f8d1cf6
SM
113462013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11347
11348 * paren.el (show-paren-data-function): New hook.
11349 (show-paren--default): New function, extracted from show-paren-function.
11350 (show-paren-function): Use show-paren-data-function.
11351
02d844b5
GM
113522013-05-30 Glenn Morris <rgm@gnu.org>
11353
d209d4a9
GM
11354 * ielm.el (ielm-map, ielm-complete-symbol):
11355 Use completion-at-point rather than obsolete functions.
11356 (inferior-emacs-lisp-mode): Doc fix.
11357 Set completion-at-point-functions, rather than
11358 comint-dynamic-complete-functions.
11359
2082faa6
GM
11360 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11361 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11362 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11363
dd8620de
GM
11364 * image.el (image-animated-p): Tweak definition.
11365
ceca95b1
GM
11366 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11367 (rlogin-process-connection-type): Tweak default. Add set-after.
11368 (rlogin-host): Doc fix.
11369 (rlogin): Tweak prompt.
11370 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11371
ee9f1acc
GM
11372 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11373 * progmodes/tcl.el (inferior-tcl-mode-map):
11374 Use completion-at-point rather than obsolete alias.
11375
45ce222e
GM
11376 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11377
02d844b5
GM
11378 * minibuffer.el (read-file-name-completion-ignore-case):
11379 Move before completion--in-region, for eager macro expansion.
11380
ac44d6c1
JL
113812013-05-29 Juri Linkov <juri@jurta.org>
11382
11383 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11384 for total count of matching lines. Add `global-matches' for total
11385 count of matches. Rename `matches' to `lines' for count of
11386 matching lines. Add `matches' for count of matches.
11387 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11388 to `prev-line' for line number of prev match endpt.
11389 Increment `matches' for every match. Print the number of
11390 matching lines in the header.
11391 (occur-context-lines): Rename `lines' to `curr-line'.
11392 Rename `prev-lines' to `prev-line'. (Bug#14017)
11393
3c9c9d38
JL
113942013-05-29 Juri Linkov <juri@jurta.org>
11395
11396 * replace.el (perform-replace): Add `skip-read-only-count',
11397 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11398 Increment them for corresponding conditions and report the number
11399 of skipped occurrences in the final message. (Bug#11746)
11400 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11401 (replace-string, replace-regexp): Doc fix.
11402
33e249a2
SM
114032013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11404
8e399682
SM
11405 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11406
33e249a2 11407 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11408 prog-mode-map (bug#14504).
33e249a2 11409
f236dd84
LL
114102013-05-29 Leo Liu <sdl.web@gmail.com>
11411
11412 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11413 (octave-help): Small simplification.
11414
11415 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11416 off the highlight first.
11417
3694d13f
GM
114182013-05-29 Glenn Morris <rgm@gnu.org>
11419
03983bdc
GM
11420 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11421 Handle idlwave-last-system-routine-info-cons-cell being nil.
11422
bc74a74a
GM
11423 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11424 (idlwave-write-paths): Simplify via with-temp-buffer.
11425
8b394200
GM
11426 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11427 * emulation/cua-rect.el: Also load cua-base at run time.
11428
3694d13f
GM
11429 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11430 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11431 (cperl-imenu-on-info): Require imenu.
11432
336d7284
AM
114332013-05-28 Alan Mackenzie <acm@muc.de>
11434
11435 Handle "capitalised keywords" correctly.
33e249a2 11436 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11437
cb29c582
AG
114382013-05-28 Aidan Gauland <aidalgol@amuri.net>
11439
781b4af6 11440 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11441
690e44b2
GM
114422013-05-28 Glenn Morris <rgm@gnu.org>
11443
e658d75c
GM
11444 * vc/vc-arch.el (vc-exec-after): Declare.
11445 (vc-switches): Autoload.
11446 * vc/vc-bzr.el: No need to require vc when compiling.
11447 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11448 (vc-resynch-buffer, vc-dir-refresh): Declare.
11449 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11450 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11451 (vc-resynch-buffer): Declare.
11452 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11453 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11454 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11455 (grep-read-regexp, grep-read-files, grep-expand-template)
11456 (vc-dir-refresh): Declare.
11457 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11458 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11459 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11460 * vc/vc-mtn.el (vc-exec-after): Declare.
11461 (vc-switches): Autoload.
11462 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11463 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11464 (vc-file-tree-walk): Declare.
712b9732
GM
11465 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11466 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11467 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11468 * vc/vc-svn.el (vc-exec-after): Declare.
11469 (vc-switches, vc-setup-buffer): Autoload.
11470 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11471 Autoload.
11472 (vc-resynch-buffer): Declare.
11473
98e87fb3
GM
11474 * obsolete/fast-lock.el (byte-compile-warnings):
11475 Don't warn about obsolete features in this obsolete file.
11476
f5379553
GM
11477 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11478 Move definition before use.
11479
7a20ef83
GM
11480 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11481 (dun-unix-verbs): Remove dun-zippy.
11482 (dun-zippy): Remove function.
11483
690e44b2
GM
11484 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11485
3a52ccf7
JL
114862013-05-27 Juri Linkov <juri@jurta.org>
11487
11488 * replace.el (replace-search): New function with code moved out
11489 from `perform-replace'.
11490 (replace-highlight, replace-dehighlight): Move function definitions
11491 up closer to `replace-search'. (Bug#11746)
11492
d289938a
JL
114932013-05-27 Juri Linkov <juri@jurta.org>
11494
11495 * replace.el (perform-replace): Ignore invisible matches.
11496 In addition to checking `query-replace-skip-read-only', also
11497 filter out matches by calling `run-hook-with-args-until-failure'
11498 on `isearch-filter-predicates', and also check `search-invisible'
11499 for t or call `isearch-range-invisible'.
11500 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11501
66fc57e3
JL
115022013-05-27 Juri Linkov <juri@jurta.org>
11503
11504 * isearch.el (isearch-filter-predicates): Rename from
11505 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11506 (isearch-message-prefix): Display text from the property
11507 `isearch-message-prefix' of the currently active filters.
11508 (isearch-search): Don't compare `isearch-filter-predicate' with
11509 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11510 on `isearch-filter-predicates'. Also check `search-invisible' for t
11511 or call `isearch-range-invisible'.
11512 (isearch-filter-visible): Make obsolete.
11513 (isearch-lazy-highlight-search):
11514 Call `run-hook-with-args-until-failure' on
11515 `isearch-filter-predicates' and use `isearch-range-invisible'.
11516
11517 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11518 `isearch-filter-predicates' instead of `funcall'ing
11519 `isearch-filter-predicate'.
11520 (Info-mode): Set `Info-isearch-filter' to
11521 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11522
11523 * dired-aux.el (dired-isearch-filter-predicate-orig):
11524 Remove variable.
11525 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11526 (dired-isearch-filenames-end): Add and remove
11527 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11528 instead of changing the value of `isearch-filter-predicate'.
11529 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11530 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11531 Put property `isearch-message-prefix' to "filename " on
11532 `dired-isearch-filter-filenames'.
11533
11534 * wdired.el (wdired-change-to-wdired-mode):
11535 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11536 locally instead of changing `isearch-filter-predicate'.
11537 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11538
f1a60a0f
DG
115392013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11540
11541 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11542 return the commit hash (Bug#14459). Also set the
11543 `vc-git-detached' property.
11544 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11545 (vc-git-mode-line-string): Use the same help-echo format whether
11546 in detached mode or not, because we know the actual revision now.
11547 When in detached mode, shorten the revision to 7 chars.
11548
7f17cc40
SM
115492013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11550
11551 * emacs-lisp/easy-mmode.el (define-minor-mode):
11552 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11553 mode hook and provide a docstring.
11554
25c8401c
AM
115552013-05-27 Alan Mackenzie <acm@muc.de>
11556
11557 Remove spurious syntax-table text properties inserted by C-y.
11558 * progmodes/cc-mode.el (c-after-change): Also clear hard
11559 syntax-table property with value nil.
11560
dde84790
MA
115612013-05-27 Michael Albinus <michael.albinus@gmx.de>
11562
11563 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11564 when reading the events; the buffer layout shall not be changed.
11565
837fd9af
LL
115662013-05-27 Leo Liu <sdl.web@gmail.com>
11567
11568 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11569 New variable.
11570 (inferior-octave-directory-tracker): Automatically re-sync
11571 default-directory.
11572 (octave-help): Improve handling of 'See also'.
11573
4fd996b3
SM
115742013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11575
416f1802
SM
11576 * doc-view.el: Minor naming convention tweaks.
11577 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11578
4fd996b3
SM
11579 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11580 even if there's no `display' property yet (bug#14435).
11581
a052ef3b
EZ
115822013-05-25 Eli Zaretskii <eliz@gnu.org>
11583
4fd996b3 11584 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11585
11586 * Makefile.in (custom-deps, finder-data, autoloads)
11587 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11588 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11589 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11590
c9023370
SM
115912013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11592
11593 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11594 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11595 Don't burp at EOB.
c9023370 11596
24d699fa
LL
115972013-05-25 Leo Liu <sdl.web@gmail.com>
11598
11599 * comint.el (comint-previous-matching-input): Do not flood the
11600 *Messages* buffer with trivial messages.
11601
17e5c0cc
SM
116022013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11603
11604 * progmodes/flymake.el (flymake-nop): Don't return a string.
11605 (flymake-set-at): Fix typo.
11606
11607 * simple.el (read--expression): New function, extracted from
11608 eval-expression. Set completion-at-point-functions (bug#14465).
11609 (eval-expression, eval-minibuffer): Use it.
11610
5d028165
XF
116112013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11612
11613 * progmodes/flymake.el (flymake-save-buffer-in-file)
11614 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11615 (flymake-selected-frame, flymake-log, flymake-ins-after)
11616 (flymake-set-at, flymake-get-buildfile-from-cache)
11617 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11618 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11619 Refine the doc string.
11620 (flymake-get-file-name-mode-and-masks): Reformat.
11621 (flymake-get-real-file-name-function): Fix a minor bug.
11622
7a1d7ba7
JL
116232013-05-24 Juri Linkov <juri@jurta.org>
11624
11625 * progmodes/grep.el (grep-mode-font-lock-keywords):
11626 Support =linenumber= format used by git-grep for lines with
11627 function names. (Bug#13549)
11628
650cff3d
SM
116292013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11632 0 after a semi-colon; it works better for smie-auto-fill.
11633 (octave--indent-new-comment-line): New function.
11634 (octave-indent-new-comment-line): Use it (indirectly).
11635 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11636 modify comment-line-break-function.
11637
11638 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11639 (smie-setup): Use add-function to set it.
11640
9631677d
SS
116412013-05-24 Sam Steingold <sds@gnu.org>
11642
11643 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11644 argument (before the `interactive' argument).
11645
50105835
SM
116462013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 * image-mode.el (image-mode-winprops): Add winprops to
11649 image-mode-winprops-alist before running
11650 image-mode-new-window-functions.
11651 * doc-view.el (doc-view-new-window-function): Don't delay
11652 doc-view-goto-page via timers (bug#14435).
11653
57b9823e
TH
116542013-05-24 Tassilo Horn <tsdh@gnu.org>
11655
11656 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11657 (doc-view-desktop-save-buffer): New function.
11658 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11659 (desktop-buffer-mode-handlers):
11660 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11661 handler.
11662 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11663 `desktop-save-buffer' function.
11664
91aafa16
MA
116652013-05-24 Michael Albinus <michael.albinus@gmx.de>
11666
11667 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11668 (tramp-gvfs-file-name-handler): Raise a user error when
11669 `tramp-gvfs-enabled' is nil.
11670 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11671 Do not raise a user error when loading package. (Bug#14447)
11672
ec076379
MA
11673 * net/xesam.el: Move to obsolete/.
11674
db785726
GM
116752013-05-24 Glenn Morris <rgm@gnu.org>
11676
af5c7606
GM
11677 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11678
e5d1916a
GM
11679 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11680
ded62b08
GM
11681 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11682 (Info-find-node, Man-getpage-in-background): Declare.
11683
9e614a3f
GM
11684 * mail/unrmail.el (unrmail):
11685 Replace obsolete detect-coding-with-priority.
11686
892f8ca3
GM
11687 * net/socks.el (socks-split-string): Use this rather than split-string.
11688 (socks-nslookup-host): Update for above change.
11689 (dynamic-choice, s5-dynamic-choice-match)
11690 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11691 Comment out unused code.
11692
3c291973
GM
11693 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11694 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11695 (gud-tooltip-echo-area): Make obsolete.
11696 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11697
43cc956b
GM
11698 * progmodes/js.el (js--optimize-arglist): Declare.
11699
dab49a3b
GM
11700 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11701
36b9d085
GM
11702 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11703 (ediff-window-C): Declare.
11704
e354ae76
GM
11705 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11706 Tweak requires to silence compiler.
11707
b8e57bf4
GM
11708 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11709 (he-search-string, he-tried-table, he-expand-list)
11710 (he-init-string, he-string-member, he-substitute-string)
11711 (he-reset-string): Declare.
11712
db785726
GM
11713 * obsolete/options.el (list-options): Use custom-variable-p,
11714 rather than obsolete alias.
11715
b3531901
SS
117162013-05-23 Sam Steingold <sds@gnu.org>
11717
11718 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11719 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11720 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11721
bdda4c66
SM
117222013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * emacs-lisp/smie.el (smie-indent-forward-token)
11725 (smie-indent-backward-token): Handle string tokens (bug#14381).
11726
c43d45f9
TH
117272013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11728
fe1eb856
RS
11729 * ielm.el (ielm-menu): New menu.
11730 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11731
fe1eb856
RS
117322013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11733
a12bf61e 11734 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11735 Fix deactivate action.
11736
a12bf61e 11737 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11738 Add cleveref macros.
074dd971 11739
a12bf61e 11740 * textmodes/reftex-parse.el
c43d45f9
TH
11741 (reftex-locate-bibliography-files): Accept options for
11742 bibliography commands.
a12bf61e 11743 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11744 Add addbibresource. Basic Biblatex support.
11745
7764286e
MA
117462013-05-23 Michael Albinus <michael.albinus@gmx.de>
11747
11748 * net/tramp-gvfs.el (top):
11749 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11750 when loading package. (Bug#14447)
11751
d361bc10
GM
117522013-05-23 Glenn Morris <rgm@gnu.org>
11753
8fa23984
GM
11754 * progmodes/js.el: No need to load comint when compiling.
11755 (ring-insert, comint-send-string, comint-send-input)
11756 (comint-last-input-end, ido-chop): Declare.
11757
a5c7df1a
GM
11758 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11759 * vc/ediff-mult.el: Adjust requires.
11760 (ediff-directories-internal, ediff-directory-revisions-internal)
11761 (ediff-patch-file-internal): Declare.
11762 * vc/ediff-ptch.el: Adjust requires.
11763 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11764 (ediff-find-file): Autoload.
11765 * vc/ediff-util.el: No need to load ediff when compiling.
11766 (ediff-regions-internal): Declare.
11767 * vc/ediff-wind.el: Adjust requires.
11768 (ediff-compute-toolbar-width): Define when compiling.
11769 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11770 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11771 (dired-get-filename, dired-get-marked-files)
11772 (ediff-last-dir-patch, ediff-patch-default-directory)
11773 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11774 (ediff-patch-buffer-internal): Declare.
11775
e2aec513
GM
11776 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11777 (ispell-process, ispell-buffer-local-words, lm-summary)
11778 (lm-section-start, lm-section-end): Declare.
11779 (checkdoc-ispell-init): Simplify.
11780
e68bbd7c
GM
11781 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11782 (he-string-member, he-reset-string, he-substitute-string): Declare.
11783
7efe0991
GM
11784 * eshell/em-ls.el: Adjust requires.
11785 (eshell-glob-regexp): Declare.
f87b1284
GM
11786 * eshell/em-tramp.el: Adjust requires.
11787 (eshell-parse-command): Autoload.
11788 * eshell/em-xtra.el: Adjust requires.
11789 (eshell-parse-command): Autoload.
11790 * eshell/esh-ext.el: Adjust requires.
11791 (eshell-parse-command, eshell-close-handles): Autoload.
11792 * eshell/esh-io.el: Adjust requires.
11793 (eshell-output-filter): Autoload.
11794 * eshell/esh-util.el: No need to load tramp when compiling.
11795 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11796 Declare.
11797 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11798 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11799 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11800 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11801 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11802 * eshell/esh-opt.el, eshell/esh-proc.el:
11803 * eshell/esh-var.el: Adjust requires.
11804 * eshell/eshell.el: Do not require esh-util twice.
11805 (eshell-add-input-to-history): Declare.
11806 (eshell-command): Check history module is active before using it.
11807
d361bc10
GM
11808 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11809
85d090a9
LL
118102013-05-22 Leo Liu <sdl.web@gmail.com>
11811
11812 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11813
5d0acd9d
MA
118142013-05-22 Michael Albinus <michael.albinus@gmx.de>
11815
11816 * autorevert.el (auto-revert-notify-add-watch)
11817 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11818 it indicates changes in file modification time.
11819
0cdffd7d
GM
118202013-05-22 Glenn Morris <rgm@gnu.org>
11821
ca5995ec
GM
11822 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11823 Always delete the autoloaded function from the noruntime and
11824 unresolved functions lists.
11825
6450907e
GM
11826 * allout.el: No need to load epa, epg, overlay when compiling.
11827 (epg-context-set-passphrase-callback, epg-list-keys)
11828 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11829 (epg-key-user-id-list): Declare.
11830
9c6906f6
GM
11831 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11832 (viper-set-parsing-style-toggling-macro)
11833 (viper-set-emacs-state-searchstyle-macros):
11834 Use called-interactively-p on Emacs.
11835 (viper-looking-back): Make it an obsolete alias. Update callers.
11836 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11837 Use looking-back rather than viper-looking-back.
11838 (viper-tmp-insert-at-eob, viper-enlarge-region)
11839 (viper-read-string-with-history, viper-register-to-point)
11840 (viper-append-to-register, viper-change-state-to-vi)
11841 (viper-backward-char-carefully, viper-forward-char-carefully)
11842 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11843 (viper-change-state-to-emacs): Declare.
11844 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11845 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11846 * emulation/viper-mous.el: Do not load viper-cmd.
11847 (viper-backward-char-carefully, viper-forward-char-carefully)
11848 (viper-forward-word, viper-adjust-window): Declare.
11849
5f70c169
GM
11850 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11851
b1b7f300
GM
11852 * progmodes/idlw-help.el (idlwave-help-fontify):
11853 Use called-interactively-p.
11854
f6ebbb46
GM
11855 * term/w32console.el (w32-get-console-codepage)
11856 (w32-get-console-output-codepage): Declare.
11857
0cdffd7d
GM
11858 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11859 Remove unnecessary declarations.
11860 (dframe-message): Doc fix.
11861
11862 * info.el (dframe-select-attached-frame, dframe-current-frame):
11863 Declare.
11864
11865 * speedbar.el (speedbar-message): Make it an obsolete alias.
11866 Update all callers.
11867 (speedbar-with-attached-buffer)
11868 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11869 (speedbar-with-writable): Use backquote.
11870 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11871 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11872 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11873 rather than speedbar- aliases.
11874 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11875 (speedbar-make-specialized-keymap, speedbar-insert-button)
11876 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11877 (speedbar-do-function-pointer): Declare.
11878 (rmail-speedbar-button, rmail-speedbar-find-file)
11879 (rmail-speedbar-move-message):
11880 Use dframe-with-attached-buffer rather than speedbar- alias.
11881 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11882 (dframe-message, speedbar-make-specialized-keymap)
11883 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11884 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11885 (speedbar-insert-button, dframe-select-attached-frame)
11886 (dframe-maybee-jump-to-attached-frame)
11887 (speedbar-change-initial-expansion-list)
11888 (speedbar-previously-used-expansion-list-name): Declare.
11889 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11890 Use dframe-message, dframe-with-attached-buffer rather than
11891 speedbar- aliases.
11892 (gud-sentinel): Silence compiler.
11893 * progmodes/vhdl-mode.el (speedbar-refresh)
11894 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11895 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11896 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11897 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11898 (speedbar-file-lists, speedbar-make-tag-line)
11899 (speedbar-line-directory, speedbar-goto-this-file)
11900 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11901 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11902 (speedbar-make-button, speedbar-reset-scanners)
11903 (speedbar-files-item-info, speedbar-line-text)
11904 (speedbar-find-file-in-frame, speedbar-set-timer)
11905 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11906 (speedbar-with-writable): Do not (re)define it.
11907 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11908 rather than speedbar- alias.
11909
ee44b62a
LL
119102013-05-21 Leo Liu <sdl.web@gmail.com>
11911
11912 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11913 menu items.
11914 (octave-mode): Tweak fill-nobreak-predicate.
11915 (inferior-octave-startup): Check process to avoid infinite loop.
11916 (inferior-octave): Pop to buffer first to show abornmal process
11917 exit information.
11918
640f050f
GM
119192013-05-21 Glenn Morris <rgm@gnu.org>
11920
79458038
GM
11921 * printing.el (pr-menu-bar): Define when compiling.
11922
9cc3e83f
LL
119232013-05-21 Leo Liu <sdl.web@gmail.com>
11924
11925 * progmodes/octave.el (octave-auto-fill): Remove.
11926 (octave-indent-new-comment-line): Improve.
11927 (octave-mode): Use auto fill mode through
4f405069 11928 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11929 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11930 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11931 (octave-help): Show parent directory.
11932
f440830d
GM
119332013-05-21 Glenn Morris <rgm@gnu.org>
11934
11935 * files.el (dired-unmark):
11936 * progmodes/gud.el (gdb-input): Update declarations.
11937
11938 * calculator.el (electric, ehelp): No need to load when compiling.
11939 (Electric-command-loop, electric-describe-mode): Declare.
11940
11941 * doc-view.el (doc-view-current-converter-processes): Move before use.
11942
11943 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11944 Move MODE-set-explicitly definition before use.
11945
11946 * international/mule-diag.el (mule-diag):
11947 Don't use obsolete window-system-version.
11948
11949 * mail/feedmail.el (smtpmail): No need to load when compiling.
11950 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11951
11952 * mail/mail-utils.el (rfc822): No need to load when compiling.
11953 (rfc822-addresses): Autoload it.
11954 (mail-strip-quoted-names): Trivial simplification.
11955
11956 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11957 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11958
11959 * net/snmp-mode.el (tempo): Don't duplicate requires.
11960
11961 * progmodes/prolog.el (info): No need to load when compiling.
11962 (comint): Require before shell requires it.
11963 (Info-goto-node): Autoload it.
11964 (Info-follow-nearest-node): Declare.
11965 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11966
11967 * textmodes/artist.el (picture-mode-exit): Declare.
11968
11969 * textmodes/reftex-parse.el (reftex-parse-from-file):
11970 Trivial rewrite so the compiler can parse it better.
11971
b4da2cbb
LL
119722013-05-20 Leo Liu <sdl.web@gmail.com>
11973
11974 * progmodes/octave.el (octave-help-mode-map)
11975 (octave-help-mode-finish-hook): New variables.
11976 (octave-help-mode, octave-help-mode-finish): New functions.
11977 (octave-help): Use octave-help-mode.
11978
33c0f65b
GM
119792013-05-20 Glenn Morris <rgm@gnu.org>
11980
11981 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11982
1a0a0a8a
DG
119832013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11984
11985 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11986 start at point, so that expansion starting right after opening
11987 slash in a regexp is recognized.
11988 (ruby-syntax-before-regexp-re): New defvar, extracted from
11989 ruby-syntax-propertize-function. Since the value of this regexp
11990 is looked up at runtime now, we should be able to turn
11991 `ruby-syntax-methods-before-regexp' into a defcustom later.
11992 (ruby-syntax-propertize-function): Split regexp matching into two
11993 parts, for opening and closing slashes. That allows us to skip
11994 over string interpolations and support multiline regexps.
11995 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11996 for them, which calls `ruby-syntax-propertize-expansion'.
11997 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11998 call to `ruby-syntax-propertize-function'.
11999 (ruby-syntax-propertize-expansion): Extracted from
12000 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12001 (ruby-syntax-propertize-percent-literal): Leave point right after
12002 the percent symbol, so that the expression expansion rule can
12003 propertize the contents.
462388b6
DG
12004 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12005 heredoc openers.
12006 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12007
c1a6c0a4
JL
120082013-05-18 Juri Linkov <juri@jurta.org>
12009
12010 * man.el (Man-default-man-entry): Remove `-' from the end
12011 of the default value. (Bug#14400)
12012
8051fccd
GM
120132013-05-18 Glenn Morris <rgm@gnu.org>
12014
12015 * comint.el (comint-password-prompt-regexp):
12016 Allow "password for XXX" where XXX contains colons (eg https://...).
12017
5e80b74f
LL
120182013-05-18 Leo Liu <sdl.web@gmail.com>
12019
12020 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12021 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12022 (octave-source-directories): Don't check process.
12023 (octave-source-directories, octave-find-definition): Doc fix.
12024
521a54c5
GM
120252013-05-18 Glenn Morris <rgm@gnu.org>
12026
86a94b05
GM
12027 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12028 Remove backspace/delete bindings. (Bug#14392)
12029
521a54c5
GM
12030 * cus-dep.el (custom-make-dependencies): Sort the output.
12031 (custom-versions-load-alist): Convert comment to doc.
12032
42caeb89
LL
120332013-05-17 Leo Liu <sdl.web@gmail.com>
12034
12035 * newcomment.el (comment-search-backward): Stricter in finding
12036 comment start. (Bug#14303)
12037
12038 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12039 (octave-comment-start-skip): Properly anchored.
12040
e219dd97
LL
120412013-05-17 Leo Liu <sdl.web@gmail.com>
12042
fe1eb856
RS
12043 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12044 Clean up when turned off. (Bug#14395)
e219dd97
LL
12045 (smie--highlight-matching-block-overlay): No longer buffer-local.
12046 (smie-highlight-matching-block): Adjust.
12047
dc5dcb4b
PE
120482013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12049
12050 Doc string fix for "nanoseconds" (Bug#14406).
12051 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12052 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12053
1db165f0
JB
120542013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12055
12056 * calc/calc-units.el (math-extract-units): Preserve powers
12057 of units.
12058
c7a8fcac
LL
120592013-05-17 Leo Liu <sdl.web@gmail.com>
12060
12061 * subr.el (delete-consecutive-dups): New function.
12062 * ido.el (ido-set-matches-1): Use it.
12063 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12064 * ido.el (ido-remove-consecutive-dups): Remove.
12065
f678b18a
SM
120662013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12067
12068 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12069 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12070 regexp-opt's `words'.
12071
ebfe68e8
LL
120722013-05-16 Leo Liu <sdl.web@gmail.com>
12073
12074 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12075 (smie--highlight-matching-block-overlay)
12076 (smie--highlight-matching-block-lastpos)
12077 (smie--highlight-matching-block-timer): New variables.
12078 (smie-highlight-matching-block): New function.
12079 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12080 (smie-setup): Conditionally enable smie-blink-matching-open.
12081
bc8bc17d
WS
120822013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12083
12084 Sync with upstream verilog-mode r840.
12085 * progmodes/verilog-mode.el (verilog-mode-version)
12086 (verilog-mode-release-date): Update.
12087 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12088 (verilog-sig-tieoff): Fix string error on
12089 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12090 (verilog-read-decls): Fix parameters confusing
12091 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12092
df065a0b
EZ
120932013-05-16 Eli Zaretskii <eliz@gnu.org>
12094
12095 * subr.el (reveal-filename): New function.
12096
12097 * loadup.el: Compute Emacs executable versions on MS-Windows,
12098 where executables have the .exe extension. Add a hard link
12099 emacs-XX.YY.ZZ.exe on MS-Windows.
12100
12101 * Makefile.in (XARGS_LIMIT): New variable.
12102 (custom-deps, finder-data, autoloads)
12103 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12104 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12105 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12106 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12107
2d4bf34b
LL
121082013-05-16 Leo Liu <sdl.web@gmail.com>
12109
12110 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12111 (octave-mode-menu, octave-mode-map): Remove its uses.
12112
6b9c2d85
RZ
121132013-05-16 Reto Zimmermann <reto@gnu.org>
12114
12115 Sync with upstream vhdl mode v3.34.2.
12116 * progmodes/vhdl-mode.el: Use `push' throughout.
12117 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12118 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12119 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12120 (vhdl-actual-generic-name): New option to derive actual generic name.
12121 (vhdl-port-paste-signals): Replace formal by actual generics.
12122 (vhdl-beautify): New name for old group vhdl-align. Update users.
12123 (vhdl-beautify-options): New option.
12124 (vhdl-last-input-event): New compat alias. Use throughout.
12125 (vhdl-goto-line): Replace user level function `goto-line'.
12126 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12127 vhdl-fix-statement-buffer.
12128 (vhdl-create-mode-menu): Add some entries.
12129 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12130 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12131 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12132 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12133 to force statements on one line.
12134 (vhdl-remove-trailing-spaces-region):
12135 New, split from vhdl-remove-trailing-spaces.
12136 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12137 Respect vhdl-beautify-options.
12138 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12139 (vhdl-update-sensitivity-list): Not add with index if exists without.
12140 Not include array index with signal. Ignore keywords in comments.
12141 (vhdl-get-visible-signals): Regexp tweaks.
12142 (vhdl-template-component-inst): Handle empty library.
12143 (vhdl-template-type): Add template for 'enum' type.
12144 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12145 Use vhdl-replace-string.
12146 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12147 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12148 (vhdl-speedbar-initialize): Update for above name change.
12149 (vhdl-compose-wire-components): Fix in handling of constants.
12150 (vhdl-error-regexp-emacs-alist): New variable.
12151 (vhdl-error-regexp-add-emacs): New function;
12152 adds support for new compile.el (Emacs 22+)
12153 (vhdl-generate-makefile-1): Change target order for single lib. units.
12154 Allow use of absolute file names.
12155
9df4ec5e
LL
121562013-05-16 Leo Liu <sdl.web@gmail.com>
12157
12158 * simple.el (prog-indent-sexp): Indent enclosing defun.
12159
f5ba00a6
GM
121602013-05-15 Glenn Morris <rgm@gnu.org>
12161
ed8be7ff
GM
12162 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12163 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12164 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12165 (whitespace-highlight): Move to whitespace group.
12166
12167 * comint.el (comint-source):
12168 * pcmpl-linux.el (pcmpl-linux):
12169 * shell.el (shell-faces):
12170 * eshell/esh-opt.el (eshell-opt):
12171 * international/ccl.el (ccl): Remove empty custom groups.
12172
12173 * completion.el (dynamic-completion-mode):
12174 * jit-lock.el (jit-lock-debug-mode):
12175 * minibuffer.el (completion-in-region-mode):
12176 * type-break.el (type-break-mode-line-message-mode)
12177 (type-break-query-mode):
12178 * emulation/tpu-edt.el (tpu-edt-mode):
12179 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12180 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12181 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12182
12183 * term/xterm.el (xterm): Change parent group to terminals.
12184
12185 * master.el (master): Remove empty custom group.
12186 (master-mode): Remove unused :group argument.
12187 * textmodes/refill.el (refill): Remove empty custom group.
12188 (refill-mode): Remove unused :group argument.
12189
12190 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12191
82a7c41b
GM
12192 * cus-dep.el: Provide a feature.
12193 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12194 Don't mistakenly ignore files whose basenames match a basename
12195 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12196 Add a fallback method for getting :group.
f5ba00a6 12197
6d65486d
JL
121982013-05-15 Juri Linkov <juri@jurta.org>
12199
da547b32
JL
12200 * isearch.el (isearch-char-by-name): Rename from
12201 `isearch-insert-char-by-name'. Doc fix.
12202 (isearch-forward): Mention `isearch-char-by-name' in
12203 the docstring. (Bug#13348)
12204
6d65486d
JL
12205 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12206 `exit-minibuffer' instead of
12207 `isearch-nonincremental-exit-minibuffer'.
12208 (isearch-edit-string): Remove mention of
12209 `isearch-nonincremental-exit-minibuffer' from docstring.
12210 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12211 (isearch-forward-exit-minibuffer)
12212 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12213
c9990474
SM
122142013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12215
6e911150
SM
12216 * loadup.el: Just use unversioned DOC.
12217
c9990474
SM
12218 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12219 literals as extending to EOB.
12220 (nxml-last-fontify-end): Remove unused variable.
12221 (nxml-after-change1): Use with-silent-modifications.
12222 (nxml-extend-after-change-region): Simplify.
12223 (nxml-extend-after-change-region1): Remove function.
12224 (nxml-after-change1): Don't adjust for dependent regions.
12225 (nxml-fontify-matcher): Simplify.
12226 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12227 (xmltok-add-dependent): Remove function.
12228 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12229 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12230 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12231 unclosed <[[, <?, comment, and other literals as extending to EOB.
12232 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12233 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12234 Remove functions.
12235 (rng-do-some-validation-1): Don't mark dependent regions.
12236 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12237 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12238 (nxml-clear-dependent-regions): Remove functions.
12239 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12240 (nxml-ensure-scan-up-to-date):
12241 Don't clear&mark dependent regions.
12242
e3772e98
LL
122432013-05-15 Leo Liu <sdl.web@gmail.com>
12244
c9990474
SM
12245 * progmodes/octave.el (octave-goto-function-definition):
12246 Improve and fix callers.
e3772e98 12247
5ac2eb34
SM
122482013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12249
c46c57b0
SM
12250 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12251 the setter (bug#14387).
12252
5ac2eb34
SM
12253 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12254 surrounding group (bug#14402).
12255
180ed218
JL
122562013-05-14 Juri Linkov <juri@jurta.org>
12257
12258 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12259 (Bug#14390)
12260
0ac0fecb
GM
122612013-05-14 Glenn Morris <rgm@gnu.org>
12262
12263 * progmodes/f90.el (f90-imenu-generic-expression):
12264 Fix typo in 2013-05-08 change. (Bug#14402)
12265
2e78e6a7
JPG
122662013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12267
5ac2eb34
SM
12268 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12269 Remove signals for which replies are never received.
2e78e6a7 12270
53267cca
JPG
122712013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12272
12273 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12274 (gdb-handler-alist, gdb-handler-number): Remove variables.
12275 (gdb-handler-list): New variable.
12276 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12277 (gdb-pending-handler-p, gdb-handle-reply)
12278 (gdb-remove-all-pending-triggers): New functions.
12279 (gdb-discard-unordered-replies): New defcustom.
12280 (gdb-handler): New defstruct.
12281 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12282 instead of gdb-pending-triggers. Update docstring.
12283 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12284 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12285 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12286 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12287 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12288 (gdb-frame-handler): Pending triggers are now automatically managed.
12289 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12290 Remove argument.
12291 (gdb-input): Automatically handles pending triggers. Update docstring.
12292 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12293 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12294 Update comments.
12295 (gdb-done-or-error): Now use gdb-handle-reply.
12296
d04ce803
JPG
122972013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12298
12299 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12300 gdb-debug-log.
12301
0114073a
GM
123022013-05-14 Glenn Morris <rgm@gnu.org>
12303
12304 * subr.el (user-emacs-directory-warning): New option.
12305 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12306
4d25fd7e
LL
123072013-05-14 Leo Liu <sdl.web@gmail.com>
12308
12309 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12310 during redisplay.
12311 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12312 (octave-font-lock-texinfo-comment): Fix invalid search bound
12313 error: wrong side of point.
4d25fd7e 12314
27c8b6eb
GM
123152013-05-14 Glenn Morris <rgm@gnu.org>
12316
61aaeb01
GM
12317 * progmodes/flymake.el (flymake-xml-program): New option.
12318 (flymake-xml-init): Use it.
12319
5bf90bc5
GM
12320 * term/xterm.el: Provide a feature.
12321
12322 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12323
f4c7dfd2
GM
123242013-05-13 Glenn Morris <rgm@gnu.org>
12325
12326 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12327 Add compat aliases as a hack workaround. (Bug#14384)
12328
2aeb3a1d
LL
123292013-05-13 Leo Liu <sdl.web@gmail.com>
12330
b0e069c2
LL
12331 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12332 ###, and %!.
f5a9432f
LL
12333 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12334 C-M-q.
b0e069c2
LL
12335 (octave-comment-start-skip): Include %!.
12336 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12337
30ea8374
LL
123382013-05-12 Leo Liu <sdl.web@gmail.com>
12339
12340 * progmodes/octave.el (inferior-octave-startup): Store the value
12341 of __octave_srcdir__ for octave-source-directories.
12342 (inferior-octave-check-process): New function refactored out of
12343 inferior-octave-send-list-and-digest.
12344 (octave-source-directories)
12345 (octave-find-definition-filename-function): New variables.
12346 (octave-source-directories)
12347 (octave-find-definition-default-filename): New functions.
12348 (octave-find-definition): Improve to find functions implemented in C++.
12349
472a3834
GM
123502013-05-12 Glenn Morris <rgm@gnu.org>
12351
12352 * calendar/diary-lib.el (diary-outlook-format-1):
12353 Don't include dayname in the output. (Bug#14349)
12354
3191b52f
GM
123552013-05-11 Glenn Morris <rgm@gnu.org>
12356
0060ac73
GM
12357 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12358
3191b52f
GM
12359 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12360 Treat cc-provide like provide.
12361
e065ba74
KR
123622013-05-11 Kevin Ryde <user42@zip.com.au>
12363
12364 * cus-dep.el (custom-make-dependencies):
12365 Use generated-autoload-load-name for the sake of files such
12366 such cedet/semantic/bovine/c.el, where the base file name
12367 is not in load-path. (Bug#5277)
12368
36f84c37
GM
123692013-05-11 Glenn Morris <rgm@gnu.org>
12370
12371 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12372 Provide features.
12373
c8730c3a
LL
123742013-05-11 Leo Liu <sdl.web@gmail.com>
12375
12376 * progmodes/octave.el (octave-indent-comment): Improve.
12377 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12378 (octave-eldoc-function-signatures, octave-eldoc-function):
12379 New functions.
c8730c3a
LL
12380 (octave-mode, inferior-octave-mode): Add eldoc support.
12381
212e29f2
RS
123822013-05-11 Richard Stallman <rms@gnu.org>
12383
12384 * epa.el (epa-decrypt-file): Take output file name as argument
12385 and read it using `interactive'.
12386
083fe0d7
LL
123872013-05-11 Leo Liu <sdl.web@gmail.com>
12388
12389 * progmodes/octave.el (octave-beginning-of-line)
12390 (octave-end-of-line): Check before using up-list because it jumps
12391 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12392 (octave-indent-comment): New function.
12393 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12394 (octave-begin-keywords, octave-end-keywords)
12395 (octave-reserved-words, octave-smie-bnf-table)
12396 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12397
8582e4c4
GM
123982013-05-11 Glenn Morris <rgm@gnu.org>
12399
f20def1f
GM
12400 * faces.el (internal-face-x-get-resource):
12401 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12402 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12403 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12404 Fix declarations.
f20def1f 12405
445f95e2
GM
12406 * calc/calc-menu.el: Make it loadable in isolation.
12407
12408 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12409 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12410 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12411 (eudc-bbdb-query-internal): Require 'bbdb.
12412
99fb2756
GM
12413 * lpr.el (lpr-headers-switches):
12414 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12415
12416 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12417
0da7ad96
GM
12418 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12419
8582e4c4
GM
12420 * term.el (term-set-escape-char): Make it idempotent.
12421
f71c50d0
LL
124222013-05-10 Leo Liu <sdl.web@gmail.com>
12423
5ac2eb34
SM
12424 * progmodes/octave.el (inferior-octave-completion-table):
12425 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12426 completion due to bug#11906.
12427 (octave-beginning-of-defun): Re-write to be more general.
12428
d5837773
GM
124292013-05-10 Glenn Morris <rgm@gnu.org>
12430
12431 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12432
027c0f75
SM
124332013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 * comint.el (comint-redirect-send-command-to-process): Use :around
12436 rather than :override for comint-redirect-filter.
12437 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12438 Call it instead of comint-redirect-original-filter-function (which
12439 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12440
4465bfb4
JD
124412013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12442
12443 * frame.el (display-monitor-attributes-list): Add NS case.
12444 (ns-display-monitor-attributes-list): Declare.
12445
2d809ffa 124462013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12447
12448 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12449
e54eeb9b
GM
124502013-05-09 Glenn Morris <rgm@gnu.org>
12451
56cd351d
GM
12452 * international/fontset.el (vertical-centering-font-regexp):
12453 Set standard-value.
12454
d84b6108
GM
12455 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12456
a931698a
GM
12457 * bookmark.el (bookmark-search-delay):
12458 * cus-start.el (vertical-centering-font-regexp):
12459 * ps-mule.el (ps-mule-font-info-database-default):
12460 * ps-print.el (ps-default-fg, ps-default-bg):
12461 * type-break.el (type-break-good-break-interval):
12462 * whitespace.el (whitespace-indentation-regexp)
12463 (whitespace-space-after-tab-regexp):
12464 * emacs-lisp/testcover.el (testcover-1value-functions)
12465 (testcover-noreturn-functions, testcover-progn-functions)
12466 (testcover-prog1-functions):
12467 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12468 * eshell/em-glob.el (eshell-glob-translate-alist):
12469 * play/tetris.el (tetris-tty-colors):
12470 * progmodes/cpp.el (cpp-face-default-list):
12471 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12472 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12473 (idlwave-help-browser-generic-args):
12474 * progmodes/make-mode.el (makefile-special-targets-list):
12475 * progmodes/python.el (python-shell-virtualenv-path):
12476 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12477 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12478 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12479 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12480 * textmodes/reftex-vars.el (reftex-format-label-function):
12481 * textmodes/remember.el (remember-diary-file): Fix custom types.
12482
e54eeb9b
GM
12483 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12484 Add :version.
12485
455851dd
LL
124862013-05-09 Leo Liu <sdl.web@gmail.com>
12487
12488 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12489 Restore file completion. (Bug#14300)
455851dd
LL
12490 (inferior-octave-startup): Fix incorrect highlighting for the
12491 first prompt.
12492
a9e4425b
SM
124932013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 * progmodes/ruby-mode.el: First cut at SMIE support.
12496 (ruby-use-smie): New var.
12497 (ruby-smie-grammar): New constant.
12498 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12499 (ruby-smie--forward-token, ruby-smie--backward-token)
12500 (ruby-smie-rules): New functions.
12501 (ruby-mode-variables): Setup SMIE if applicable.
12502
060ca408
EZ
125032013-05-08 Eli Zaretskii <eliz@gnu.org>
12504
12505 * simple.el (line-move-visual): Signal beginning/end of buffer
12506 only if vertical-motion moved less than it was requested. Avoids
12507 silly incorrect error messages when there are display strings with
12508 multiple newlines at EOL.
12509
1d5963cc
SM
125102013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12513 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12514 (prolog-char-quote-workaround):
12515 * progmodes/cperl-mode.el (cperl-under-as-char):
12516 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12517 Mark as obsolete.
12518 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12519 their declaration.
12520 (vhdl-mode-syntax-table-init): Remove.
12521
c9990474
SM
12522 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12523 last change.
1d5963cc
SM
12524
12525 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12526 syntax for "_".
12527 (ld-script-font-lock-keywords):
12528 Change regexps to use things like \_< and \_>.
12529
12530 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12531 Change all regexps to use things like \_< and \_>.
12532
12533 * progmodes/autoconf.el (autoconf-definition-regexp)
12534 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12535 Handle a _ with symbol syntax.
12536 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12537
c9990474
SM
12538 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12539 Consolidate declaration.
1d5963cc
SM
12540 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12541 the declaration.
12542 (ada-create-syntax-table): Remove.
12543 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12544 already has the right syntax nowadays.
12545 (ada-goto-next-word): Don't change the syntax of "_".
12546
12547 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12548 with-wrapper-hook.
12549
72d3cfca
SS
125502013-05-08 Sam Steingold <sds@gnu.org>
12551
12552 * thingatpt.el (thing-at-point): Accept optional second argument
12553 NO-PROPERTIES to strip the text properties from the return value.
12554 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12555 to `thing-at-point' instead of stripping the properties ourselves.
12556 Also, when `thing-at-point' fails to find a url, prepend "http://"
12557 to the filename at point on the assumption that the user is
12558 pointing at something like gnu.org/gnu.
12559
5cb15713
JB
125602013-05-08 Juanma Barranquero <lekktu@gmail.com>
12561
12562 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12563 * faces.el (crm-separator):
12564 Silence byte-compiler.
12565
12566 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12567 (tool-bar-map): Remove unneeded defvars.
12568
ea78b95b
LL
125692013-05-08 Leo Liu <sdl.web@gmail.com>
12570
12571 Re-work a fix for bug#10994 based on Le Wang's patch.
12572 * ido.el (ido-remove-consecutive-dups): New helper.
12573 (ido-completing-read): Use it.
12574 (ido-chop): Revert fix for bug#10994.
12575
dc7466df
AS
125762013-05-08 Adam Spiers <emacs@adamspiers.org>
12577
12578 * cus-edit.el (custom-save-variables):
12579 Pretty-print long values. (Bug#14187)
12580
9ecf672a
GM
125812013-05-08 Glenn Morris <rgm@gnu.org>
12582
12583 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12584 (m4-mode-syntax-table): Init in the defvar.
12585 (m4-mode-abbrev-table): Let define-derived-mode define it.
12586
3f555be8
TT
125872013-05-08 Tom Tromey <tromey@redhat.com>
12588
12589 * progmodes/m4-mode.el (m4-mode-syntax-table):
12590 Do not treat "_" as word constituent. (Bug#14167)
12591
7cc8ae06
GM
125922013-05-07 Glenn Morris <rgm@gnu.org>
12593
4f58bc06
GM
12594 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12595 Remove explicit eshell-isearch-cancel-map.
12596
7cc8ae06
GM
12597 * progmodes/f90.el (f90-smart-end-names): New option.
12598 (f90-smart-end): Doc fix.
12599 (f90-end-block-optional-name): New constant.
12600 (f90-block-match): Respect f90-smart-end-names.
12601
ceb57e59
SM
126022013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12603
12604 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12605 about implicit semi-colons (bug#14218).
12606
4e3f9230
YM
126072013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12608
12609 * frame.el (display-monitor-attributes-list)
12610 (frame-monitor-attributes): New functions.
12611
203a5572
LL
126122013-05-06 Leo Liu <sdl.web@gmail.com>
12613
12614 * progmodes/octave.el (octave-syntax-propertize-function): Change
12615 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12616 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12617 (octave-completion-at-point): Rename from
203a5572
LL
12618 octave-completion-at-point-function.
12619 (inferior-octave-directory-tracker): Robustify.
12620 (octave-text-functions): Remove and fix its uses. No such things
12621 any more.
12622
ee6cff99
SM
126232013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * emacs-lisp/trace.el (trace--display-buffer): New function.
12626 (trace-make-advice): Use it.
12627
32985194
JL
126282013-05-06 Juri Linkov <juri@jurta.org>
12629
12630 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12631 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12632 Doc fix.
12633 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12634 in the help string. (Bug#12985)
12635
a1c700de
KD
126362013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12637
12638 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12639
c67c0839
SM
126402013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12641
323885fd
SM
12642 * progmodes/perl-mode.el: Add support for here documents.
12643 (perl-syntax-propertize-function): Match here-doc markers.
12644 (perl-syntax-propertize-special-constructs): Find their end.
12645 (perl-imenu-generic-expression): Use [:alnum:].
12646
c67c0839
SM
12647 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12648 (advice--add-function): Refresh the advice if already present
12649 (bug#14317).
12650
d491e7a8
IA
126512013-05-06 Ivan Andrus <darthandrus@gmail.com>
12652
12653 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12654
ddf9925e
GM
126552013-05-06 Glenn Morris <rgm@gnu.org>
12656
7cc3af27
GM
12657 * w32-fns.el (w32-charset-info-alist): Declare.
12658
16e343d6
GM
12659 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12660 of its defcustom properties.
12661 (eshell-cmpl-initialize): No need to load pcomplete.
12662
7d889a47
GM
12663 * generic-x.el: No need to require comint when compiling.
12664
ddf9925e
GM
12665 * net/eudc-export.el: Make it loadable without bbdb.
12666 (top-level): Use require rather than load-library.
12667 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12668 (eudc-batch-export-records-to-bbdb)
12669 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12670 Require bbdb.
12671
1e2c18df
SM
126722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12673
12674 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12675 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12676 some tweaks, instead.
12677
02502a5f
LL
126782013-05-05 Leo Liu <sdl.web@gmail.com>
12679
12680 * progmodes/octave.el (octave-font-lock-keywords)
12681 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12682 (inferior-octave-send-list-and-digest): Improve error message.
12683 (octave-mode, inferior-octave-mode): Use setq-local.
12684 (octave-help): Set info-lookup-mode.
12685
0dc04f42
RS
126862013-05-05 Richard Stallman <rms@gnu.org>
12687
6c54491c
RS
12688 * vc/compare-w.el (compare-windows-whitespace):
12689 Treat no-break space as whitespace.
12690
0dc04f42
RS
12691 * mail/rmailsum.el (rmail-summary-rmail-update):
12692 Detect empty summary and don't change selected message.
12693 (rmail-summary-goto-msg): Likewise.
12694
df8f35df
RS
12695 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12696 Doc fixes, rename args.
12697
5356e1a3
AM
126982013-05-05 Alan Mackenzie <acm@muc.de>
12699
12700 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12701
d44014cb
JL
127022013-05-05 Juri Linkov <juri@jurta.org>
12703
12704 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12705 to not add the length of the summary segment to the return value.
12706 (Bug#14125)
12707
c129b51f
LL
127082013-05-05 Leo Liu <sdl.web@gmail.com>
12709
12710 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12711 (inferior-octave-output-filter): Remove.
12712 (octave-send-region, inferior-octave-startup): Fix callers.
12713 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12714 (octave-binary-file-extensions): New user variable.
12715 (octave-find-definition): Confirm if opening binary files.
12716 (octave-help-file): Use octave-find-definition to get the binary
12717 confirmation.
12718 (octave-help): Adjust for octave-help-file change.
12719
aa7dab97
SM
127202013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12721
12722 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12723 Merge the two entries that handle function definitions.
12724 (pascal--syntax-propertize): New const.
12725 (pascal-mode): Use it. Use setq-local.
12726
fd3a9a6b
GM
127272013-05-04 Glenn Morris <rgm@gnu.org>
12728
12729 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12730 (diary-from-outlook): Respect diary-from-outlook-function.
12731
30c7e542
SM
127322013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12733
12734 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12735 Move the declaration from C.
12736 (read-minibuffer, eval-minibuffer): Move from C.
12737 (completion-setup-function): Avoid minibuffer-completion-contents.
12738
b54f978b
LL
127392013-05-03 Leo Liu <sdl.web@gmail.com>
12740
12741 * progmodes/octave.el (octave-font-lock-keywords): Do not
12742 dehighlight 'end' in comments or strings.
30c7e542
SM
12743 (octave-completing-read, octave-goto-function-definition):
12744 New helpers.
d4d0f9b3
LL
12745 (octave-help-buffer): New user variable.
12746 (octave-help-file, octave-help-function): New button types.
12747 (octave-help): New command and bind it to C-h ;.
12748 (octave-find-definition): New command and bind it to M-.
d74a1581 12749 (user-error): Alias to error if not defined.
b54f978b 12750
27135018
LL
127512013-05-02 Leo Liu <sdl.web@gmail.com>
12752
12753 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12754 for \. (bug#14332)
12755 (octave-font-lock-keywords): Include [ and {.
12756
0d634d3a
LL
127572013-05-02 Leo Liu <sdl.web@gmail.com>
12758
12759 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12760 (inferior-octave): Remove calling comint-mode and return the buffer.
12761 (inferior-octave-startup): Cosmetic changes.
12762
b4c8295e
LL
127632013-05-02 Leo Liu <sdl.web@gmail.com>
12764
30c7e542
SM
12765 * progmodes/octave.el (octave-syntax-propertize-function):
12766 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12767
f12ad6ec
GM
127682013-05-02 Glenn Morris <rgm@gnu.org>
12769
12770 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12771 * desktop.el (vc-dir-mode): Just autoload it here.
12772
30cac1e0
AM
127732013-05-02 Alan Mackenzie <acm@muc.de>
12774
12775 Eliminate variable c-standard-font-lock-fontify-region-function.
12776 * progmodes/cc-mode.el
12777 (c-standard-font-lock-fontify-region-function): Remove.
12778 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12779
d8ef28b1
LL
127802013-05-01 Leo Liu <sdl.web@gmail.com>
12781
2640d52e 12782 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12783 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12784 variables were removed from Octave in 2007.
d8ef28b1
LL
12785 (inferior-octave-startup): Fix uses.
12786 (comint-line-beginning-position): Remove compatibility code for
12787 emacs 21.
12788
ac63ec89
JL
127892013-05-01 Juri Linkov <juri@jurta.org>
12790
12791 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12792
9e9be37c
JL
127932013-05-01 Juri Linkov <juri@jurta.org>
12794
12795 * comint.el (comint-previous-matching-input): Don't print message
12796 "History item: %d" when `isearch-mode' is active.
12797 (comint-history-isearch-message): Print message "History item: %d"
12798 when `comint-input-ring-index' is not empty and this function is
12799 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12800
9b92c13b
LL
128012013-05-01 Leo Liu <sdl.web@gmail.com>
12802
12803 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12804 definitions. Use completion-at-point to insert keywords.
12805 (octave-abbrev-start): Remove.
12806 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12807
b12d33d7
LL
128082013-04-30 Leo Liu <sdl.web@gmail.com>
12809
12810 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12811 change.
12812
3d1c39fa
AM
128132013-04-30 Alan Mackenzie <acm@muc.de>
12814
12815 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12816 * progmodes/cc-engine.el (c-back-over-member-initializers):
12817 new function.
3d1c39fa
AM
12818 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12819 (most) member init lists.
12820
5147fc17
RS
128212013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12822
12823 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12824 variable.
12825
5b78d7fc
LL
128262013-04-30 Leo Liu <sdl.web@gmail.com>
12827
12828 * progmodes/octave.el (octave-variables): Remove. No builtin
12829 variables any more. All converted to functions.
12830 (octave-font-lock-keywords, octave-completion-at-point-function):
12831 Fix uses.
12832 (octave-font-lock-texinfo-comment): New user variable.
12833 (octave-texinfo-font-lock-keywords): New variable for texinfo
12834 comment block.
12835 (octave-function-comment-block): New face.
12836 (octave-font-lock-texinfo-comment): New function.
12837 (octave-mode): Font lock texinfo comment block.
12838
38d8527b
LL
128392013-04-29 Leo Liu <sdl.web@gmail.com>
12840
12841 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12842 indexing expression.
12843 (octave-continuation-string): Do not use \.
12844 (inferior-octave-complete-impossible): Remove.
12845 (inferior-octave-completion-table)
12846 (inferior-octave-completion-at-point): Remove its uses.
12847 (inferior-octave-startup): completion_matches was introduced to
12848 Octave in 1996 so safe to assume it.
12849 (octave-function-file-comment): Improve to follow how Octave does it.
12850 (octave-update-function-file-comment): Tweak.
12851
2ec12cb0
LL
128522013-04-29 Leo Liu <sdl.web@gmail.com>
12853
12854 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12855 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12856 (octave-function-file-comment): Fix typo.
12857 (octave-sync-function-file-names): Use read-char-choice.
12858
6eaed048
JB
128592013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12860
12861 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12862 to t for the less important warnings.
12863
3ffa2d4f
DH
128642013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12865
12866 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12867
685c9501
GM
128682013-04-27 Glenn Morris <rgm@gnu.org>
12869
12870 * vc/log-view.el (log-view-current-entry):
12871 Treat "---" separator lines as part of the following rev. (Bug#14169)
12872
0208ede7
JL
128732013-04-27 Juri Linkov <juri@jurta.org>
12874
12875 * subr.el (read-number): Doc fix about using it by interactive
12876 code letter `n'. (Bug#14254)
12877
5db9dace
JL
128782013-04-27 Juri Linkov <juri@jurta.org>
12879
12880 * desktop.el (desktop-auto-save-timeout): New option.
12881 (desktop-file-checksum): New variable.
12882 (desktop-save): Add optional arg `auto-save' and don't auto-save
12883 if nothing changed.
12884 (desktop-auto-save-timer): New variable.
12885 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12886 (after-init-hook): Call `desktop-auto-save-set-timer'.
12887 Suggested by Reuben Thomas <rrt@sc3d.org> in
12888 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12889
b7260dd4
LL
128902013-04-27 Leo Liu <sdl.web@gmail.com>
12891
12892 * progmodes/octave.el (octave-function-file-p)
12893 (octave-skip-comment-forward, octave-function-file-comment)
12894 (octave-update-function-file-comment): New functions.
12895 (octave-mode-map): Bind C-c ; to
12896 octave-update-function-file-comment.
12897 (octave-mode-menu): Add octave-update-function-file-comment.
12898 (octave-mode, inferior-octave-mode): Fix doc-string.
12899 (octave-insert-defun): Conform to Octave's coding convention.
12900 (Bug#14285)
12901
12902 * files.el (basic-save-buffer): Don't let errors in
12903 before-save-hook prevent saving buffer.
12904
c46da669
RW
129052013-04-20 Roland Winkler <winkler@gnu.org>
12906
12907 * faces.el (read-face-name): Use completing-read if arg multiple
12908 is nil.
12909
a81ee1eb
IL
129102013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12911
12912 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12913 displayed, move point to after the totals line.
12914 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12915 for the details.
12916
4fac34ce
SM
129172013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12918
12919 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12920 Add current dir to the load-path.
12921 (package-generate-autoloads): Don't rely on
12922 autoload-ensure-default-file.
12923
f6bfc063
RT
129242013-04-26 Reuben Thomas <rrt@sc3d.org>
12925
d40ab5cf
BG
12926 * textmodes/remember.el (remember-store-in-files): Document that
12927 the file name format is passed to `format-time-string'.
f6bfc063 12928
e55d3b04
LL
129292013-04-26 Leo Liu <sdl.web@gmail.com>
12930
12931 * progmodes/octave.el (octave-sync-function-file-names): New function.
12932 (octave-mode): Use it in before-save-hook.
12933
e53052d3
SM
129342013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12935
140ef50c
SM
12936 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12937 (bug#14274).
12938
e53052d3
SM
12939 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12940 \n and comment, even if it's not an implicit ; (bug#14218).
12941
af80458d 129422013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12943
12944 * subr.el (read-number): Once more use `read' rather than
12945 `string-to-number', to trap non-numeric input. (Bug#14254)
12946
af80458d 129472013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12948
12949 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12950 Use `syntax-multiline' text property consistently instead of
8a621d53 12951 `font-lock-multiline'. (Bug#14237)
70203c2e 12952
e6ea1f6c
GM
129532013-04-26 Glenn Morris <rgm@gnu.org>
12954
12955 * emacs-lisp/shadow.el (list-load-path-shadows):
12956 No longer necessary to check for duplicate simple.el, since
12957 2012-07-07 change to init_lread to not include installation lisp
12958 directories in load-path when running uninstalled. (Bug#14270)
12959
070ccca4
LL
129602013-04-26 Leo Liu <sdl.web@gmail.com>
12961
12962 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12963 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12964 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12965 octave-in-string-or-comment-p.
12966 (octave-in-comment-p, octave-in-string-p)
12967 (octave-in-string-or-comment-p): Replace defsubst with defun.
12968
9d1c5fb6
PE
129692013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12970
12971 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12972
c034abda
BG
129732013-04-25 Bastien Guerry <bzg@gnu.org>
12974
12975 * textmodes/remember.el (remember-data-directory)
12976 (remember-directory-file-name-format): Fix custom types.
12977
584ea277
LL
129782013-04-25 Leo Liu <sdl.web@gmail.com>
12979
e53052d3
SM
12980 * progmodes/octave.el (octave-completion-at-point-function):
12981 Make use of inferior octave process.
584ea277
LL
12982 (octave-initialize-completions): Remove.
12983 (inferior-octave-completion-table): New function.
12984 (inferior-octave-completion-at-point): Use it.
12985 (octave-completion-alist): Remove.
12986
1693b06a
SM
129872013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12988
12989 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12990 (opascal-mode-syntax-table): New var.
12991 (opascal-literal-kind, opascal-is-literal-end)
12992 (opascal-literal-token-at): Rewrite.
12993 (opascal--literal-start-re, opascal-font-lock-keywords)
12994 (opascal--syntax-propertize): New constants.
12995 (opascal-font-lock-defaults): Adjust.
12996 (opascal-mode): Use them. Set comment-<foo> variables as well.
12997 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12998 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12999 (delphi-other-face, opascal-other-face): Remove face variables.
13000 (opascal-save-state): Remove macro.
13001 (opascal-fontifying-progress-step): Remove constant.
13002 (opascal--ignore-changes): Remove var.
13003 (opascal-set-token-property, opascal-parse-next-literal)
13004 (opascal-is-stable-literal, opascal-complete-literal)
13005 (opascal-is-literal-start, opascal-face-of)
13006 (opascal-parse-region, opascal-parse-region-until-stable)
13007 (opascal-fontify-region, opascal-after-change)
13008 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13009 (opascal-debug-parse-region, opascal-debug-parse-window)
13010 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13011 (opascal-debug-fontify-buffer): Remove.
13012 (opascal-debug-mode-map): Adjust accordingly.
13013
be64c05d
LL
130142013-04-25 Leo Liu <sdl.web@gmail.com>
13015
13016 Merge octave-mod.el and octave-inf.el into octave.el with some
13017 cleanups.
13018 * progmodes/octave.el: New file renamed from octave-mod.el.
13019 * progmodes/octave-inf.el: Merged into octave.el.
13020 * progmodes/octave-mod.el: Renamed to octave.el.
13021
d79d37bd
TH
130222013-04-25 Tassilo Horn <tsdh@gnu.org>
13023
13024 * textmodes/reftex-vars.el
13025 (reftex-label-ignored-macros-and-environments): New defcustom.
13026
13027 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13028
ced3fc5d
SM
130292013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13030
13031 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13032 (smie-indent-keyword): Improve the check to ensure that the next
13033 comment is really on the same line.
13034 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13035
13036 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13037 semi-colons if the line is not otherwise empty (bug#14218).
13038
1c141dad
GM
130392013-04-25 Glenn Morris <rgm@gnu.org>
13040
13041 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13042
5058062a
SM
130432013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13044
13045 * progmodes/opascal.el (opascal-set-token-property): Rename from
13046 opascal-set-text-properties and only set `token' (bug#14134).
13047 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13048 (opascal-literal-text-properties): Remove.
13049 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13050 Adjust callers.
13051
5db9dace 130522013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13053
13054 * textmodes/remember.el (remember-handler-functions): Add an
13055 option for a new handler `remember-store-in-files'.
13056 (remember-data-directory, remember-directory-file-name-format):
13057 New options.
13058 (remember-store-in-files): New function to store remember notes
13059 as separate files within a directory.
13060
4391916c
MH
130612013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13062
13063 * progmodes/compile.el (compilation-next-error-function):
13064 Pass "formats" to compilation-find-file (bug#11777).
13065
bb7cdf58
GM
130662013-04-24 Glenn Morris <rgm@gnu.org>
13067
3b8fe752 13068 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13069 * vc/vc-hg.el (vc-hg-print-log):
13070 * vc/vc-svn.el (vc-svn-print-log):
13071 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13072
bb7cdf58
GM
13073 * vc/vc-bzr.el (vc-bzr-print-log):
13074 * vc/vc-cvs.el (vc-cvs-print-log):
13075 * vc/vc-git.el (vc-git-print-log):
13076 * vc/vc-hg.el (vc-hg-print-log):
13077 * vc/vc-mtn.el (vc-mtn-print-log):
13078 * vc/vc-rcs.el (vc-rcs-print-log):
13079 * vc/vc-sccs.el (vc-sccs-print-log):
13080 * vc/vc-svn.el (vc-svn-print-log):
13081 * vc/vc.el (vc-print-log-internal): Doc fixes.
13082
b46a056e
GM
130832013-04-23 Glenn Morris <rgm@gnu.org>
13084
13085 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13086 Remove venerable code attempting to avoid substitute-command-keys.
13087
0aecf718
TH
130882013-04-23 Tassilo Horn <tsdh@gnu.org>
13089
4391916c
MH
13090 * textmodes/reftex-vars.el (reftex-label-regexps):
13091 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13092
117f94cf
SM
130932013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13094
4391916c 13095 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13096 Use lexical-binding.
13097 (jit-lock-force-redisplay): Use markers, check buffer's continued
13098 existence and beware narrowed buffers.
13099 (jit-lock-fontify-now): Adjust call accordingly.
13100
1d829c64
SM
131012013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13102
13103 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13104 to avoid misleading the user.
13105
72d548a9
LL
131062013-04-22 Leo Liu <sdl.web@gmail.com>
13107
13108 * info-look.el: Prefer latex2e.info. (Bug#14240)
13109
d0853629
MA
131102013-04-22 Michael Albinus <michael.albinus@gmx.de>
13111
13112 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13113
13114 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13115 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13116 (tramp-set-completion-function, tramp-parse-putty):
13117 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13118 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13119 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13120 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13121 (tramp-call-local-coding-command): Use `tramp-call-process'
13122 instead of `tramp-compat-call-process'.
13123
13124 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13125 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13126 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13127 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13128 (tramp-maybe-send-script): Check for Perl binary.
13129 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13130
38cc0210
DU
131312013-04-22 Daiki Ueno <ueno@gnu.org>
13132
13133 * epg.el (epg-context-pinentry-mode): New function.
13134 (epg-context-set-pinentry-mode): New function.
13135 (epg--start): Pass --pinentry-mode option to gpg command.
13136
cc641ee1
XF
131372013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13138
02d844b5 13139 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13140 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13141 `completion-at-point'. (Bug#13774)
5d4e5c31 13142
cc641ee1
XF
13143 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13144 default key binding for `describe-distribution' has been moved to
13145 `C-h C-o'. (Bug#13970)
13146
1b42ee43
GM
131472013-04-21 Glenn Morris <rgm@gnu.org>
13148
13149 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13150 Add doc strings.
13151 (vc-print-log): Clarify interactive prompt.
13152
a6d63d97
GM
131532013-04-20 Glenn Morris <rgm@gnu.org>
13154
13155 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13156 No longer include timestamp etc information.
13157
d7f5c16f
RW
131582013-04-20 Roland Winkler <winkler@gnu.org>
13159
13160 * faces.el (read-face-name): Bug fix, return just one face if arg
13161 multiple is nil. (Bug#14209)
13162
bcd7a0a4
SM
131632013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13164
13165 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13166 (remove-function): Autoload.
13167
13168 * comint.el (comint-redirect-original-filter-function): Remove.
13169 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13170 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13171 (vc-cvs-annotate-command):
bcd7a0a4
SM
13172 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13173 * progmodes/prolog.el (prolog-consult-compile):
13174 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13175 Use add/remove-function instead.
13176 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13177 (gud-tooltip-process-output, gud-tooltip-tips):
13178 Use add/remove-function instead.
13179 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13180 (scheme-interaction-mode, exit-scheme-interaction-mode):
13181 Use add/remove-function instead.
13182
13183 * vc/vc-dispatcher.el: Use lexical-binding.
13184 (vc--process-sentinel): Rename from vc-process-sentinel.
13185 Change last arg to be the code to run. Don't use vc-previous-sentinel
13186 and vc-sentinel-commands any more.
13187 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13188 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13189
e36b2d20 131902013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13191
bcd7a0a4 13192 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13193 Handle function names with a single character. (Bug#14111)
4d3268ba 13194
27821a89 131952013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13196
13197 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13198 for subroutines defined in an eval (bug#14182).
13199
7d688336
TV
132002013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13201
13202 * bookmark.el (bookmark-completing-read): Improve handling of empty
13203 string (bug#14176).
13204
31dcede0
SM
132052013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13206
13207 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13208
adc31213
FEG
132092013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13210
13211 New faster Imenu implementation (bug#14058).
13212 * progmodes/python.el:
13213 (python-imenu-prev-index-position):
13214 (python-imenu-format-item-label-function)
13215 (python-imenu-format-parent-item-label-function)
13216 (python-imenu-format-parent-item-jump-label-function):
13217 New vars.
13218 (python-imenu-format-item-label)
13219 (python-imenu-format-parent-item-label)
13220 (python-imenu-format-parent-item-jump-label)
13221 (python-imenu--put-parent, python-imenu--build-tree)
13222 (python-imenu-create-index, python-imenu-create-flat-index)
13223 (python-util-popn): New functions.
13224 (python-mode): Set imenu-create-index-function to
13225 python-imenu-create-index.
13226
cdca8255
SM
132272013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * winner.el (winner-active-region): Use region-active-p, activate-mark
13230 and deactivate-mark (bug#14225).
13231
13232 * simple.el (deactivate-mark): Don't inline it.
13233
beb42340
MA
132342013-04-18 Michael Albinus <michael.albinus@gmx.de>
13235
13236 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13237
fc7f4d7e
TH
132382013-04-18 Tassilo Horn <tsdh@gnu.org>
13239
13240 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13241 file extensions from the archive-mode entry in order to prefer
13242 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13243
29f47822
LL
132442013-04-18 Leo Liu <sdl.web@gmail.com>
13245
13246 * bindings.el (help-event-list): Add ?\?.
13247
d36ed1c8
SM
132482013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13249
13250 * subr.el (with-wrapper-hook): Declare obsolete.
13251 * simple.el (filter-buffer-substring-function): New hook.
13252 (filter-buffer-substring): Use it.
13253 (filter-buffer-substring-functions): Mark obsolete.
13254 * minibuffer.el (completion-in-region-function): New hook.
13255 (completion-in-region): Use it.
13256 (completion-in-region-functions): Mark obsolete.
13257 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13258 * abbrev.el (abbrev-expand-function): New hook.
13259 (expand-abbrev): Use it.
13260 (abbrev-expand-functions): Mark obsolete.
13261 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13262 and :filter-return.
13263
04754d36
FEG
132642013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13265
13266 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13267 and do not care about match data.
13268
dd8791e9
SM
132692013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13272 completion tables when completing error conditions and
13273 `declare' arguments.
13274 (lisp-complete-symbol, field-complete): Mark as obsolete.
13275 (check-parens): Unmatched parens are user errors.
13276 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13277
ffe54a13
AM
132782013-04-17 Michal Nazarewicz <mina86@mina86.com>
13279
dd8791e9
SM
13280 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13281 command changed buffer (ie. `flyspell-pre-buffer' is not current
13282 buffer), which prevents making decisions based on invalid value of
13283 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13284 cause an error when `flyspell-pre-point' was nil after switching
13285 buffers.
13286 (flyspell-post-command-hook): No longer needs to change buffers when
13287 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13288
ec7e39f2
AM
132892013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13290
13291 * textmodes/ispell.el (ispell-add-per-file-word-list):
13292 Fix `flyspell-correct-word-before-point' error when accepting
13293 words and `coment-padding' is an integer by using
13294 `comment-normalize-vars' (Bug #14214).
13295
083850a6
FEG
132962013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13297
13298 New defun movement commands.
13299 * progmodes/python.el (python-nav--syntactically)
13300 (python-nav--forward-defun, python-nav-backward-defun)
13301 (python-nav-forward-defun): New functions.
13302
619ed6e1
FEG
133032013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13304
13305 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13306 (python-syntax-context): Use named compiler-macro for backwards
13307 compatibility with Emacs 24.x.
13308
7a1beb6c
LL
133092013-04-17 Leo Liu <sdl.web@gmail.com>
13310
13311 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13312 octave-hide-process-buffer.
13313
2d3fa3e5
SM
133142013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13315
13316 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13317 (bug#14216).
13318
7ce5be54
JPG
133192013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13320
13321 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13322 Fix adjustment of offset when receiving incomplete responses from GDB
13323 (bug#14129).
13324
351edece
SM
133252013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13326
13327 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13328 python-mode-abbrev-table.
13329 (python-skeleton-define): Adjust accordingly.
13330 (python-mode-abbrev-table): New table that inherits from it so that
13331 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13332
13333 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13334 (abbrev-symbol): Use it.
13335 (abbrev--before-point): Use it since we already handle inheritance.
13336
613f9481
LL
133372013-04-16 Leo Liu <sdl.web@gmail.com>
13338
13339 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13340 binding to info-lookup-symbol.
13341
51646b62
JB
133422013-04-16 Juanma Barranquero <lekktu@gmail.com>
13343
13344 * minibuffer.el (completion--twq-all):
13345 * term/ns-win.el (ns-initialize-window-system):
13346 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13347
efb3f01d
SM
133482013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13349
36c0a301
SM
13350 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13351 global bindings.
13352
efb3f01d
SM
13353 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13354
fb549d64
DG
133552013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13356
13357 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13358 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13359 to nil.
13360 (ruby-end-of-defun): Remove the unused arg, change the docstring
13361 to reflect that this function is only used as the value of
13362 `end-of-defun-function'.
13363 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13364 to reflect an earlier change that beginning/end-of-defun functions
13365 jump between methods in a class definition, as well as top-level
13366 functions.
13367
21e8fe2f
SM
133682013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13369
13370 * minibuffer.el (minibuffer-complete): Don't just scroll
13371 a *Completions* that's been iconified.
13372 (minibuffer-force-complete): Make sure repetitions do cycle when going
13373 through completion-in-region -> minibuffer-complete.
13374
20e527d0
AM
133752013-04-15 Alan Mackenzie <acm@muc.de>
13376
13377 Correct the placement of c-cpp-delimiters when there're #s not at
13378 col 0.
13379
13380 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13381 place a submatch around the #.
21e8fe2f
SM
13382 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13383 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13384 on the #, not BOL.
13385
dabefae5
SM
133862013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13387
13388 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13389 (advice--member-p): New arg `name'.
13390 (advice--add-function, advice-member-p): Use it (bug#14202).
13391
85c9ab64
AM
133922013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13393
13394 Reformulate java imenu-generic-expression.
13395 The old expression contained ill formed regexps.
13396
13397 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13398 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13399 (cc-imenu-java-method-arg-regexp): New defconsts.
13400 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13401 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13402 handling of spaces in the regexp.
13403
0f821d99
AM
134042013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13405
13406 * textmodes/ispell.el (ispell-command-loop): Remove
13407 flyspell highlight of a word when ispell accepts it (bug #14178).
13408
eb922adf
MA
134092013-04-15 Michael Albinus <michael.albinus@gmx.de>
13410
13411 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13412 uses code from the previous `ange-ftp-run-real-handler'.
13413 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13414 only in case that function exist. This is needed for proper
13415 unloading of Tramp.
13416
4d9a0979
TH
134172013-04-15 Tassilo Horn <tsdh@gnu.org>
13418
13419 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13420
13421 * textmodes/reftex.el (reftex-compile-variables): Use it.
13422
a829b0dc
SM
134232013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13424
91e8293c
SM
13425 * files.el (normal-mode): Only use default major-mode if no other mode
13426 was specified.
13427
830aed4d
SM
13428 * emacs-lisp/trace.el (trace-values): New function.
13429
a829b0dc
SM
13430 * files.el: Allow : in local variables (bug#14089).
13431 (hack-local-variable-regexp): New var.
13432 (hack-local-variables-prop-line, hack-local-variables): Use it.
13433
7ae9f0fb
RW
134342013-04-13 Roland Winkler <winkler@gnu.org>
13435
13436 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13437 data before it gets modified by bibtex-beginning-of-entry.
13438
6646e848
RW
134392013-04-13 Roland Winkler <winkler@gnu.org>
13440
13441 * textmodes/bibtex.el (bibtex-url): Doc fix.
13442
134432013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13444
13445 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13446 does not visit a BibTeX file, exclude it from the list of buffers
13447 returned by bibtex-initialize.
13448
0aa3616e
SB
134492013-04-13 Stephen Berman <stephen.berman@gmx.net>
13450
13451 * window.el (split-window): Remove interactive form, since as a
13452 command this function is a special case of split-window-below.
13453 Correct doc string.
13454
011cddd6
RW
134552013-04-12 Roland Winkler <winkler@gnu.org>
13456
13457 * faces.el (read-face-name): Do not override value of arg default.
13458 Allow single faces and strings as default values. Remove those
13459 elements from return value that are not faces.
13460 (describe-face): Simplify.
13461 (face-at-point): New optional args thing and multiple so that this
13462 function can provide the same functionality previously provided by
13463 read-face-name.
13464 (make-face-bold, make-face-unbold, make-face-italic)
13465 (make-face-unitalic, make-face-bold-italic, invert-face)
13466 (modify-face, read-face-and-attribute): Use face-at-point.
13467
13468 * cus-edit.el (customize-face, customize-face-other-window)
13469 * cus-theme.el (custom-theme-add-face)
13470 * face-remap.el (buffer-face-set)
13471 * facemenu.el (facemenu-set-face): Use face-at-point.
13472
f24e0036
MA
134732013-04-12 Michael Albinus <michael.albinus@gmx.de>
13474
13475 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13476
da3cda2d
TH
134772013-04-10 Tassilo Horn <tsdh@gnu.org>
13478
13479 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13480 off leading { and trailing } from field values.
13481
15e54145
SM
134822013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13483
78ce603d
SM
13484 * emacs-lisp/timer.el (timer--check): New function.
13485 (timer--time, timer-set-function, timer-event-handler): Use it.
13486 (timer-set-idle-time): Simplify.
13487 (timer--activate): CSE.
13488 (timer-event-handler): Give more info in error message.
13489 (internal-timer-start-idle): New function, moved from C.
13490
15e54145
SM
13491 * mpc.el (mpc-proc): Add `restart' argument.
13492 (mpc-proc-cmd): Use it.
13493 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13494 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13495 less often.
13496
7144c627
MY
134972013-04-10 Masatake YAMATO <yamato@redhat.com>
13498
13499 * progmodes/sh-script.el: Implement `sh-mode' own
13500 `add-log-current-defun-function' (bug#14112).
13501 (sh-current-defun-name): New function.
13502 (sh-mode): Use the function.
13503
b39792eb
BG
135042013-04-09 Bastien Guerry <bzg@gnu.org>
13505
13506 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13507
8acdeb71
SM
135082013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13509
6fcdab68
SM
13510 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13511
8acdeb71
SM
13512 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13513 timer (bug#14156).
13514
e3e7b504
NF
135152013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13516
13517 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13518 declaration.
13519
201bb296
LL
135202013-04-07 Leo Liu <sdl.web@gmail.com>
13521
13522 * pcmpl-x.el: New file.
13523
ebb19708
DA
135242013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13525
13526 Do not set x-display-name until X connection is established.
13527 This is needed to prevent from weird situation described at
13528 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13529 * frame.el (make-frame): Set x-display-name after call to
13530 window system initialization function, not before.
13531 * term/x-win.el (x-initialize-window-system): Add optional
13532 display argument and use it.
13533 * term/w32-win.el (w32-initialize-window-system):
13534 * term/ns-win.el (ns-initialize-window-system):
13535 * term/pc-win.el (msdos-initialize-window-system):
13536 Add compatible optional display argument.
13537
33bb237a
EZ
135382013-04-06 Eli Zaretskii <eliz@gnu.org>
13539
13540 * files.el (normal-backup-enable-predicate): On MS-Windows and
13541 MS-DOS compare truenames of temporary-file-directory and of the
13542 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13543 don't fail comparison by compare-strings. Also, compare file
13544 names case-insensitively on MS-Windows and MS-DOS.
13545
134abf1f
SM
135462013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13547
13548 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13549 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13550
d695cb94
DG
135512013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13552
e3e7b504
NF
13553 * whitespace.el (whitespace-color-on, whitespace-color-off):
13554 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13555
f4ad7ea1 135562013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13557
13558 * ispell.el (ispell-set-spellchecker-params):
13559 Really set `ispell-args' for all equivs.
13560
632556e4
SM
135612013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13562
13563 * ido.el (ido-completions): Use extra elements of ido-decorations
13564 (bug#14143).
13565 (ido-decorations): Update docstring.
13566
2a417372
MA
135672013-04-05 Michael Albinus <michael.albinus@gmx.de>
13568
13569 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13570 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13571 nil during initialization, in order not to miss changes since the
13572 file was opened. (Bug#14140)
13573
fc164b0c
LL
135742013-04-05 Leo Liu <sdl.web@gmail.com>
13575
13576 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13577
0ccecc08
JB
135782013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13579
13580 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13581
51af1aa2
GM
135822013-04-04 Glenn Morris <rgm@gnu.org>
13583
13584 * electric.el (electric-pair-inhibit-predicate): Add :version.
13585
b208ebc6
SM
135862013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13589 when a package is required several times (bug#14082).
13590
f3d3eaf0
RW
135912013-04-04 Roland Winkler <winkler@gnu.org>
13592
13593 * faces.el (read-face-name): Behave as promised by the docstring.
13594 Assume that arg default is a list of faces.
13595 (describe-face): Call read-face-name with list of default faces.
13596
2575da50
TV
135972013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13598
13599 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13600 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13601 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13602 the header.
13603 (bookmark-exit-hook-internal): Save even if list is empty.
13604
397703b4
YH
136052013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13606
13607 * emacs-lisp/package.el (package-pinned-packages): New var.
13608 (package--add-to-archive-contents): Obey it (bug#14118).
13609
691e26ae
AM
136102013-04-03 Alan Mackenzie <acm@muc.de>
13611
8a621d53
JB
13612 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13613 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13614
13615 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13616 parameter `not-in-delimiter'. Handle being inside comment opener.
13617 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13618 character in case we're typing a '*' after a '/'.
13619 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13620 instead by passing the parameter to c-state-pp-to-literal.
13621
13622 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13623 for elt. 7 of a parse state.
13624
4b725a70
PE
136252013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13626
13627 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13628 * international/latin1-disp.el, international/mule-util.el:
13629 * language/cyril-util.el, language/european.el, language/ind-util.el:
13630 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13631 * language/tibetan.el, language/viet-util.el:
13632 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13633
15c579f0
SM
136342013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13635
13636 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13637 (electric-pair-post-self-insert-function): Use it.
13638 (electric-pair-default-inhibit): New function, extracted from
13639 electric-pair-post-self-insert-function.
13640
a77e2924
RW
136412013-03-31 Roland Winkler <winkler@gnu.org>
13642
13643 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13644
2bd8a4a8
SM
136452013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13646
13647 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13648
8d3655be 136492013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13650
13651 Un-indent after "pass" and "return" statements (Bug#13888)
13652 * progmodes/python.el (python-indent-block-enders): New var.
13653 (python-indent-calculate-indentation): Use it.
13654
8d3655be 136552013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13656
13657 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13658 defun. Defining it as defalias could introduce too eager
13659 byte-compiler optimization. (Bug#14030)
13660
8d3655be 136612013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13662
13663 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13664
0b1619da
LL
136652013-03-30 Leo Liu <sdl.web@gmail.com>
13666
13667 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13668 (kmacro-execute-from-register): Pass the keyboard macro to
13669 kmacro-call-macro or repeating won't work correctly.
13670
0b938190
TZ
136712013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13672
13673 * progmodes/subword.el: Back to using `forward-symbol'.
13674
13675 * subr.el (forward-whitespace, forward-symbol)
13676 (forward-same-syntax): Move from thingatpt.el.
13677
35710234
LL
136782013-03-29 Leo Liu <sdl.web@gmail.com>
13679
13680 * kmacro.el (kmacro-to-register): New command.
13681 (kmacro-execute-from-register): New function.
13682 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13683
efc0bb73
SM
136842013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13685
13686 * mpc.el: Use defvar-local and setq-local.
13687 (mpc--proc-connect): Connection failures are not bugs.
13688 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13689 (mpc-volume-map): Bind to the up-events.
13690
75a2f981
TZ
136912013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13692
13693 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13694 instead of `forward-symbol'.
13695
17c781d1
SM
136962013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13697
13698 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13699 (edebug--recursive-edit): Use it.
13700 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13701 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13702
f67bfbcf
LL
137032013-03-28 Leo Liu <sdl.web@gmail.com>
13704
13705 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13706
b59f639d
EZ
137072013-03-27 Eli Zaretskii <eliz@gnu.org>
13708
13709 * facemenu.el (list-colors-callback): New defvar.
13710 (list-colors-redisplay): New function.
13711 (list-colors-display): Install list-colors-redisplay as the
13712 revert-buffer-function. (Bug#14063)
13713
f557c1b1
SM
137142013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13715
b1da2957
SM
13716 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13717 and suffixes don't overlap (bug#14061).
13718
f557c1b1
SM
13719 * case-table.el: Use lexical-binding.
13720 (case-table-get-table): New function.
13721 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13722
002668e1
TZ
137232013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13724
13725 * progmodes/subword.el: Add `superword-mode' to do word motion
13726 over symbol_words (parallels and leverages `subword-mode' which
13727 does word motion inside MixedCaseWords).
13728
73572c72
AG
137292013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13730
78b8f320 13731 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13732 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13733
69b2c07e
SM
137342013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13735
13736 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13737 Change return value to be a sexp. Delay `get-buffer' to after
13738 restoring the desktop (bug#13951).
13739
08bb5ee2
LL
137402013-03-26 Leo Liu <sdl.web@gmail.com>
13741
13742 * register.el: Move semantic tag handling back to
13743 cedet/semantic/senator.el. (Bug#14052)
13744
8d4c974e
SM
137452013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13746
13747 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13748 into the prompt either (bug#13963).
13749
b234d92c
SM
137502013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13751
13752 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13753 part of "(error-foo)".
13754
ddfa3cb4
JL
137552013-03-24 Juri Linkov <juri@jurta.org>
13756
13757 * replace.el (list-matching-lines-prefix-face): New defcustom.
13758 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13759 `occur-engine' if `face-differs-from-default-p' returns t.
13760 (occur-engine): Add `,' inside backquote construct to evaluate
13761 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13762 Pass `prefix-face' to the functions `occur-context-lines' and
13763 `occur-engine-add-prefix'.
13764 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13765 `prefix-face' and propertize the prefix with `prefix-face'.
13766 (Bug#14017)
13767
7b0e2f85
LL
137682013-03-24 Leo Liu <sdl.web@gmail.com>
13769
13770 * nxml/rng-valid.el (rng-validate-while-idle)
13771 (rng-validate-quick-while-idle): Guard against deleted buffer.
13772 (Bug#13999)
13773
13774 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13775 is the last entry in kill-buffer-hook.
13776
13777 * files.el (kill-buffer-hook): Doc fix.
13778
b3082f49
DG
137792013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13780
b234d92c
SM
13781 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13782 Make it safe-local.
bde73d27 13783
b3082f49
DG
13784 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13785
a320a2db
LL
137862013-03-23 Leo Liu <sdl.web@gmail.com>
13787
7e74b0fb
LL
13788 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13789 Remove.
13790
13791 * nxml/rng-valid.el (rng-validate-mode)
13792 (rng-after-change-function, rng-do-some-validation):
13793 * nxml/rng-maint.el (rng-validate-buffer):
13794 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13795 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13796 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13797 (nxml-extend-after-change-region): Use with-silent-modifications.
13798
a320a2db
LL
13799 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13800 timer-idle-list.
13801
13802 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13803 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13804 timer-idle-list. (Bug#13999)
13805
e38e6780
JL
138062013-03-23 Juri Linkov <juri@jurta.org>
13807
13808 * info.el (info-index-match): New face.
13809 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13810 main pattern and add text properties with the new face to matches
13811 in index entries relative to the beginning of the index entry.
13812 (Bug#14015)
13813
e8cc7880
DE
138142013-03-21 Eric Ludlam <zappo@gnu.org>
13815
39c87140 13816 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13817 Inhibit read only while inserting objects.
13818
9bb0d822
TZ
138192013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13820
13821 * progmodes/cfengine.el: Update docs to mention
13822 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13823 symbol motion. Remove "_" from the word syntax.
13824
aa703640
TZ
138252013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13826
13827 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13828 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13829
afff09d0
JL
138302013-03-20 Juri Linkov <juri@jurta.org>
13831
13832 * info.el (Info-next-reference-or-link)
13833 (Info-prev-reference-or-link): New functions.
13834 (Info-next-reference, Info-prev-reference): Use them.
13835 (Info-try-follow-nearest-node): Handle footnote navigation.
13836 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13837
9a1ff164
SM
138382013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13839
13840 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13841 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13842
2667d15d
PE
138432013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13844
13845 Suppress unnecessary non-ASCII chatter during build process.
13846 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13847 (batch-skkdic-convert): Suppress most of the chatter.
13848 It's not needed so much now that machines are faster,
13849 and its non-ASCII component was confusing; see Dmitry Gutov in
13850 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13851
438b0579
LL
138522013-03-20 Leo Liu <sdl.web@gmail.com>
13853
13854 * ido.el (ido-chop): Fix bug#10994.
13855
c128ab07
DG
138562013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13857
13858 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13859 Remove vars.
9a1ff164
SM
13860 (whitespace-color-on, whitespace-color-off):
13861 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13862
0e6008c5
SM
138632013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13864
13865 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13866 remapping in mode-line.
13867 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13868
627b52b0
DG
138692013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13870
13871 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13872 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13873 (whitespace-font-lock-keywords): Change description.
13874 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13875 the constructed keywords instead.
13876 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13877
50c3a20b
LL
138782013-03-19 Leo Liu <sdl.web@gmail.com>
13879
13880 * progmodes/compile.el (compilation-display-error): New command.
13881 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13882 C-o. (Bug#13992)
13883
2aa2157b
PE
138842013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13885
13886 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13887
e477dbfa
JD
138882013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13889
13890 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13891
64ab82d1
MA
138922013-03-18 Michael Albinus <michael.albinus@gmx.de>
13893
13894 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13895
13896 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13897 * net/tramp-gvfs.el (top):
13898 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13899 (tramp-handle-shell-command): Use it.
13900 (tramp-dissect-file-name): Raise an error when hostname is a
13901 method name, and neither method nor user is specified.
13902
13903 * net/trampver.el: Update release number.
13904
33cef733
LL
139052013-03-18 Leo Liu <sdl.web@gmail.com>
13906
13907 Make sure eldoc can be turned off properly.
13908 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13909 eldoc-mode.
13910 (eldoc-display-message-p): Revert last change.
13911 (eldoc-display-message-no-interference-p)
13912 (eldoc-print-current-symbol-info): Tweak.
13913
2167b7b2
TH
139142013-03-18 Tassilo Horn <tsdh@gnu.org>
13915
13916 * doc-view.el (doc-view-new-window-function): Check the new window
13917 overlay's display property instead the char property of the
13918 buffer's first char. Use `with-selected-window' instead of
13919 `save-window-excursion' with `select-window'.
13920 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13921 display property instead the char property of the buffer's first char.
2167b7b2 13922
982efbcd
PE
139232013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13924
13925 Automate the build of ja-dic.el (Bug#13984).
13926 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13927 from the input, rather than assume that it's been done for us by the
13928 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13929 the current date into a ja-dic.el comment, as that complicates
13930 regression testing.
13931
2fcc7665
SM
139322013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13933
13934 * whitespace.el: Fix double evaluation.
13935 (whitespace-space, whitespace-hspace, whitespace-tab)
13936 (whitespace-newline, whitespace-trailing, whitespace-line)
13937 (whitespace-space-before-tab, whitespace-indentation)
13938 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13939 obsolete defvars.
13940 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13941 (whitespace-color-on): Use a single font-lock-add-keywords call.
13942 Fix double-evaluation of face variables.
13943
67c0a6e6
MA
139442013-03-17 Michael Albinus <michael.albinus@gmx.de>
13945
2fcc7665
SM
13946 * net/tramp-adb.el (tramp-adb-parse-device-names):
13947 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13948 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13949
69489f1d
LL
139502013-03-17 Leo Liu <sdl.web@gmail.com>
13951
13952 Extend eldoc to display info in the mode-line. (Bug#13978)
13953 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13954 (eldoc-mode-line-string): New variable.
13955 (eldoc-minibuffer-message): New function.
13956 (eldoc-message-function): New variable.
13957 (eldoc-message): Use it.
13958 (eldoc-display-message-p)
2fcc7665
SM
13959 (eldoc-display-message-no-interference-p):
13960 Support eldoc-post-insert-mode.
69489f1d
LL
13961
13962 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13963 (eval-expression): Run it.
13964
9c44569e
RW
139652013-03-17 Roland Winkler <winkler@gnu.org>
13966
13967 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13968 strings in the list of return values.
13969
327f1f6f
JB
139702013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13971
13972 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13973 radix before checking for HMS forms.
13974
67ed8fcd
LL
139752013-03-16 Leo Liu <sdl.web@gmail.com>
13976
13977 * progmodes/scheme.el: Add indentation and font-locking for λ.
13978 (Bug#13975)
13979
78be8b64 139802013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13981
13982 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13983 token before point (bug#13942).
13984
78be8b64 139852013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13986
95b43468 13987 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13988
98e775e6
EZ
139892013-03-16 Eli Zaretskii <eliz@gnu.org>
13990
13991 * startup.el (command-line-normalize-file-name): Fix handling of
13992 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13993 <xfq.free@gmail.com> in
13994 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13995
2edd6029
MA
139962013-03-15 Michael Albinus <michael.albinus@gmx.de>
13997
13998 Sync with Tramp 2.2.7.
13999
14000 * net/trampver.el: Update release number.
14001
d35f5864
TH
140022013-03-14 Tassilo Horn <tsdh@gnu.org>
14003
e903c210 14004 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14005 (doc-view-insert-image): Don't modify overlay associated to
14006 non-live windows, and implement horizontal centering of image in
14007 case it's smaller than the window.
14008 (doc-view-new-window-function): Force redisplay of new windows on
14009 doc-view buffers.
d35f5864 14010
1c4a85ed
KF
140112013-03-13 Karl Fogel <kfogel@red-bean.com>
14012
14013 * saveplace.el (save-place-alist-to-file): Don't sort
14014 `save-place-alist', just pretty-print it (bug#13882).
14015
85b66a21
MA
140162013-03-13 Michael Albinus <michael.albinus@gmx.de>
14017
a020afb9
JB
14018 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14019 Check whether `default-file-name-coding-system' is bound.
14020 It isn't in XEmacs.
85b66a21 14021
175600da
SM
140222013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14023
e7f7cb1a
SM
14024 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14025 backquotes for `obsolete' (bug#13929).
14026
175600da
SM
14027 * international/mule.el (find-auto-coding): Include file name in
14028 obsolescence warning (bug#13922).
14029
ca68a22e
TZ
140302013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14031
14032 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14033 for CFEngine 3-specific indentation.
14034 (cfengine3-indent-line): Use it. Fix up category regex.
14035 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14036
940e5099
SM
140372013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14038
14039 * type-break.el (type-break-file-name):
14040 * textmodes/remember.el (remember-data-file):
14041 * strokes.el (strokes-file):
14042 * shadowfile.el (shadow-initialize):
14043 * saveplace.el (save-place-file):
14044 * ps-bdf.el (bdf-cache-file):
14045 * progmodes/idlwave.el (idlwave-config-directory):
14046 * net/quickurl.el (quickurl-url-file):
14047 * international/kkc.el (kkc-init-file-name):
14048 * ido.el (ido-save-directory-list-file):
14049 * emulation/viper.el (viper-custom-file-name):
14050 * emulation/vip.el (vip-startup-file):
14051 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14052 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14053
cc725808
PE
140542013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14055
14056 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14057 * language/thai-word.el: Switch to UTF-8.
14058
a020afb9 14059See ChangeLog.16 for earlier changes.
e3d51b27
MR
14060
14061;; Local Variables:
14062;; coding: utf-8
e3d51b27
MR
14063;; End:
14064
ba318903 14065 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14066
14067 This file is part of GNU Emacs.
14068
14069 GNU Emacs is free software: you can redistribute it and/or modify
14070 it under the terms of the GNU General Public License as published by
14071 the Free Software Foundation, either version 3 of the License, or
14072 (at your option) any later version.
14073
14074 GNU Emacs is distributed in the hope that it will be useful,
14075 but WITHOUT ANY WARRANTY; without even the implied warranty of
14076 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14077 GNU General Public License for more details.
14078
14079 You should have received a copy of the GNU General Public License
14080 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.