lisp/net/*.el, lisp/progmodes/*.el: Fix docstring typos.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7644aa97
JB
12014-03-14 Juanma Barranquero <lekktu@gmail.com>
2
3 * net/socks.el (socks, socks-override-functions)
4 (socks-find-services-entry): FT
5 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
6 (hif-find-ifdef-block):
7 * progmodes/modula2.el (m2-indent): Fix docstring typos.
8
9 * net/tls.el (tls-program): Reflow docstring.
10
11 * progmodes/pascal.el (pascal-mode-abbrev-table)
12 (pascal-imenu-generic-expression, pascal-auto-endcomments)
13 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
14 (pascal-outline-mode): Fix docstring typos.
15 (pascal-mode): Let define-derived-mode document mode hook.
16 (pascal-uncomment-area): Reflow.
17 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
18
19 * progmodes/opascal.el (opascal-compound-block-indent)
20 (opascal-case-label-indent): Fix docstring typos.
21 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
22
1f44df94
DG
232014-03-13 Dmitry Gutov <dgutov@yandex.ru>
24
25 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
26 multiple adjacent negation chars. (Bug#17004)
27
0d71dfb3
TW
282014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
29
30 * emacs-lisp/package.el (package--prepare-dependencies):
31 Accept requirements without explicit version (bug#14941).
32
d27a1a7b
JB
332014-03-12 Juanma Barranquero <lekktu@gmail.com>
34
a5765a3d
JB
35 * register.el (register-separator, copy-to-register): Doc fixes.
36 (register-preview-default): Remove unnecessary call to concat.
37
d27a1a7b
JB
38 * frameset.el (frameset-restore): When checking for a visible frame,
39 use the action map instead of calling visible-frame-list.
40
08dfa0b7
JB
412014-03-12 Jonas Bernoulli <jonas@bernoul.li>
42
43 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
44
8960529e
MR
452014-03-12 Martin Rudalics <rudalics@gmx.at>
46
47 * window.el (fit-frame-to-buffer): Get maximum width from
48 display's width instead of height.
49
8a51e8e4
GM
502014-03-12 Glenn Morris <rgm@gnu.org>
51
46456005
GM
52 * desktop.el (desktop-restore-frames)
53 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
54 (desktop-restore-reuses-frames): Doc tweaks.
55
8a51e8e4
GM
56 * electric.el (electric-indent-mode): Doc fix.
57
5983b317
JB
582014-03-12 Juanma Barranquero <lekktu@gmail.com>
59
60 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
61 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
62 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
63 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
64 (cvs-dired-use-hook): Fix docstring typos.
65 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
66 Doc fixes.
67
68 * vc/pcvs-defs.el (cvs-auto-remove-handled)
69 (cvs-auto-remove-directories, cvs-default-ignore-marks)
70 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
71 (cvs-execute-single-dir): Fix docstring typos.
72
73 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
74 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
75
76 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
77
78 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
79 Fix docstring typos.
80
13c00cf0
JB
812014-03-12 Juanma Barranquero <lekktu@gmail.com>
82
83 * frameset.el (frameset--jump-to-register): Add autoload; it could be
84 called from jump-to-register after unloading the frameset package.
85
536a17e3
SM
862014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
89 (bug#16975). Deactivate the mark before setting it to nil.
90 (activate-mark): Do nothing if region is already active.
91
baf8d0ac
JB
922014-03-11 Juanma Barranquero <lekktu@gmail.com>
93
94 * frameset.el (frameset--target-display): Remove definition; declare.
95 (frameset-save, frameset-restore): Let-bind frameset--target-display.
96
1ea22560
SM
972014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
100 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
101 when the advice is pending.
102 (advice-remove): Remove this marker when not needed any more.
103
4538c058
JB
1042014-03-11 Juanma Barranquero <lekktu@gmail.com>
105
106 * frameset.el: Separate options for reusing frames and cleaning up.
107 (frameset--reuse-list): Remove definition; declare.
108 (frameset--action-map): Declare.
109 (frameset--find-frame-if): Doc fix.
110 (frameset--restore-frame): Cache frame action.
111 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
112 how to clean up the frame list after restoring. Remove cleaning
113 options from REUSE-FRAMES. Change all keyword values to symbols.
114 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
115
116 * desktop.el (desktop-restore-forces-onscreen)
117 (desktop-restore-reuses-frames): Use non-keyword values.
118 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
119
ba1a5c78
GM
1202014-03-10 Glenn Morris <rgm@gnu.org>
121
776aa432
GM
122 * files.el (find-file): Doc fix: update info node name.
123
ba1a5c78
GM
124 * emacs-lisp/advice.el (ad-add-advice, defadvice):
125 Doc fix: remove references to deleted info nodes.
126
183d706e
MA
1272014-03-10 Michael Albinus <michael.albinus@gmx.de>
128
129 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
130 Do not add `nil' to the environment, when there's no remote `locale'.
131 (tramp-find-inline-encoding): Check, that the remote host has
132 installed perl, before sending scripts.
133
6f0f96e7
LL
1342014-03-10 Leo Liu <sdl.web@gmail.com>
135
536a17e3
SM
136 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
137 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 138
ca70fe78
SM
1392014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
142 (bug#14430).
143
eb67db41
JL
1442014-03-09 Juri Linkov <juri@jurta.org>
145
146 * ansi-color.el (ansi-color-names-vector): Copy default colors
147 from `xterm-standard-colors' that look well on the default white
148 background (and also on the black background) to avoid illegible
8cf07e5a 149 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
150 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
151
e7db5447
JB
1522014-03-08 Juanma Barranquero <lekktu@gmail.com>
153
154 * frameset.el (frameset-restore): When no frame is visible, do not
155 generate a list of frames, just make visible the selected one.
156
f0a4c8d7
DG
1572014-03-08 Dmitry Gutov <dgutov@yandex.ru>
158
159 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
160 it only contains the repository root. (Bug#16897)
161
e50772e3
MA
1622014-03-07 Michael Albinus <michael.albinus@gmx.de>
163
164 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
165 only when `remote-file-name-inhibit-cache' is nil.
166 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
167
cac0a1d6
MR
1682014-03-06 Martin Rudalics <rudalics@gmx.at>
169
170 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
171 Fix doc-strings.
172 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
173 fit-frame-to-buffer variable. Fix doc-string.
174 (fit-window-to-buffer): Set ONLY argument in call of
175 fit-frame-to-buffer. Fix doc-string.
176
fa965cbf
MA
1772014-03-06 Michael Albinus <michael.albinus@gmx.de>
178
179 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
180 (tramp-action-password): Clear password cache if needed.
181 (tramp-read-passwd): Do not clear password cache.
182
183 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
184 cache unless it is the first password request.
185
c94e6ee4
GM
1862014-03-06 Glenn Morris <rgm@gnu.org>
187
03bc753e
GM
188 * simple.el (newline): Doc tweak.
189
c94e6ee4
GM
190 * emacs-lisp/shadow.el (load-path-shadows-find):
191 Ignore dir-locals. (Bug#12357)
192
bd2d43dc
GM
1932014-03-05 Glenn Morris <rgm@gnu.org>
194
195 * files.el (interpreter-mode-alist):
196 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
197
9284000e
JB
1982014-03-05 Juanma Barranquero <lekktu@gmail.com>
199
200 * frameset.el (frameset--initial-params): Filter out null entries.
201
e1a2cb1c
MR
2022014-03-05 Martin Rudalics <rudalics@gmx.at>
203
27821a89
JB
204 * window.el (window-min-height, window-min-width):
205 Rewrite doc-strings.
e1a2cb1c
MR
206 (window-body-size): Add PIXELWISE argument to make it consistent
207 with its callees.
208
6bf67038
JB
2092014-03-05 Juanma Barranquero <lekktu@gmail.com>
210
211 * finder.el (finder-mode-map, finder-mode-syntax-table):
212 Revert part of 2014-02-28 change.
213
90f04e4c
LI
2142014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
215
216 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
217 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
218 (eww-textarea-map): [tab] doesn't work on tty.
219 Reported by Mario Lang.
6952100d
LI
220
221 * net/shr.el (shr-map): Ditto.
90f04e4c 222
3106d59b
GM
2232014-03-04 Glenn Morris <rgm@gnu.org>
224
225 * minibuffer.el (completion-hilit-commonality):
226 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
227
f604dfdc
JB
2282014-03-04 Juanma Barranquero <lekktu@gmail.com>
229
230 * hilit-chg.el (hilit-chg-unload-function): New function.
231 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
232 (hilit-chg-map-changes): Prefer cardinal number to digit.
233 (hilit-chg-display-changes): Reflow docstring.
234 (highlight-changes-rotate-faces): Remove superfluous backslash.
235
5dc65319
MA
2362014-03-04 Michael Albinus <michael.albinus@gmx.de>
237
238 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
239 `tramp-send-command-and-check'.
240
4242d21d
JB
2412014-03-04 Juanma Barranquero <lekktu@gmail.com>
242
b01fa838
JB
243 * hexl.el (hexl-address-region, hexl-ascii-region)
244 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
245 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
246 (hexl-forward-word, hexl-previous-line, hexl-next-line):
247 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
248 (hexl-mode): Doc fix.
249 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
250 (hexl-mode-ruler): Fix typos in docstrings.
251
4242d21d
JB
252 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
253 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
254 Remove superfluous backslashes.
255 (strokes-last-stroke, strokes-global-map, strokes-mode):
256 Reflow docstrings.
257 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
258 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
259 (strokes-distance-squared, strokes-global-set-stroke)
260 (strokes-global-set-stroke-string): Doc fixes.
261 (strokes-help): Fix typos; reflow docstring.
262
87132570
MR
2632014-03-04 Martin Rudalics <rudalics@gmx.at>
264
265 * window.el (window-in-direction): Fix doc-string.
266
d82e752c
GM
2672014-03-04 Glenn Morris <rgm@gnu.org>
268
269 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
270 Explicit error if no grammar.
271 (smie-config-save): Doc fix. Fix quote typo.
272
62528af0
SM
2732014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
274
8d4901dc
SM
275 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
276 electric-indent-mode-hook if we obey electric-indent-mode.
277 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
278 decide whether we obey electric-indent-mode.
279 (c-change-set-fl-decl-start, c-extend-after-change-region):
280 Silence warnings.
281 (c-electric-indent-mode-hook): Assume we do want to obey
282 electric-indent-mode.
283
284 * electric.el (electric-indent-mode-has-been-called): Remove.
285 (electric-indent-mode): Fix accordingly.
286
092c12b2
SM
287 * files.el (hack-local-variables): Mention file name in warning.
288
62528af0
SM
289 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
290
5b87d0d9
MN
2912014-03-04 Michal Nazarewicz <mina86@mina86.com>
292
293 * binding.el: Add comment describing why C-d binds to `delete-char'.
294 * simple.el (delete-forward-char): Mark as interactive-only.
295
542a3840
JB
2962014-03-03 Juanma Barranquero <lekktu@gmail.com>
297
f2d2402e
GM
298 * icomplete.el (icomplete-completions):
299 Follow-up to 2014-03-01 change.
d11320e5
JB
300
301 * icomplete.el: Miscellaneous doc fixes.
302 Use Icomplete everywhere instead of icomplete for consistency.
303 (icomplete-max-delay-chars): Fix typo.
304 (icomplete-mode): Use \[].
305 (icomplete-tidy, icomplete-exhibit): Reflow.
306 (icomplete-minibuffer-setup-hook, icomplete-completions):
307 Remove superfluous backlashes.
308
309 * ido.el: Miscellaneous doc fixes.
310 Use Ido everywhere instead of ido or `ido' for consistency.
311 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
312 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
313 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
314 (ido-separator): Extract obsolescence info from docstring and declare
315 with make-obsolete-variable.
316 (ido-minibuffer-setup-hook): Simplify example.
317 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
318 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
319 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
320 (ido-everywhere): Reflow docstring.
321 (ido-toggle-vc): Doc fix.
322 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
323 of long list of keybindings.
324
7ebd57e9
GM
3252014-03-03 Glenn Morris <rgm@gnu.org>
326
327 * frame.el (display-pixel-height, display-pixel-width)
328 (display-mm-dimensions-alist, display-mm-height)
329 (display-mm-width): Doc tweaks.
330
35e951cd 3312014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
332
333 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
334 case of undo in region.
335
b923819c
MR
3362014-03-02 Martin Rudalics <rudalics@gmx.at>
337
338 * window.el (fit-window-to-buffer): Fix argument in window-size
339 call when window is horizontally combined.
340
b6e443c5
JB
3412014-03-02 Juanma Barranquero <lekktu@gmail.com>
342
343 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 344 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 345
1850913d
DG
3462014-03-01 Dmitry Gutov <dgutov@yandex.ru>
347
35e951cd
JB
348 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
349 Highlight regexp options. (Bug#16914)
1850913d 350
04b577b6
MR
3512014-03-01 Martin Rudalics <rudalics@gmx.at>
352
353 * window.el (window--max-delta-1): Round down when calculating
354 how many lines/columns we can get from a window.
355
b829360f
GM
3562014-03-01 Glenn Morris <rgm@gnu.org>
357
2501c912
GM
358 * isearch.el (search-invisible): Doc fix.
359
b829360f
GM
360 * minibuffer.el (completion-hilit-commonality):
361 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
362 * comint.el (comint-dynamic-list-completions): Doc fix.
363 * comint.el (comint-dynamic-list-completions):
364 * filecache.el (file-cache-minibuffer-complete):
365 * tempo.el (tempo-display-completions):
366 * eshell/em-hist.el (eshell-list-history):
367 Replace use of obsolete argument of display-completion-list.
368
9a155058
JB
3692014-03-01 Juanma Barranquero <lekktu@gmail.com>
370
371 * icomplete.el (icomplete-completions):
372 Revert back to using "..." when ?… cannot be displayed.
373
53f6cda8
JB
3742014-02-28 Juanma Barranquero <lekktu@gmail.com>
375
376 * finder.el (finder-unload-function): New function.
377
43977c23
JB
3782014-02-28 Juanma Barranquero <lekktu@gmail.com>
379
380 * dframe.el (dframe-detach):
381 * find-dired.el (find-dired, find-name-dired):
382 * finder.el (finder-mode-map, finder-mode-syntax-table)
383 (finder-headmark, finder-select, finder-mouse-select):
384 Fix docstring typos.
385
9dda75ad
MR
3862014-02-28 Martin Rudalics <rudalics@gmx.at>
387
388 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
389 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
390 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
391 Fix doc-string based on a suggestion by Nicolas Richard
392 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
393 * help.el (with-help-window): Fix doc-string.
394
8a73034e
IK
3952014-02-28 Ivan Kanis <ivan@kanis.fr>
396
b70257b0
GM
397 * net/shr.el (shr-image-animate): New option.
398 (shr-put-image): Respect shr-image-animate.
8a73034e 399
245aa73e
MA
4002014-02-28 Michael Albinus <michael.albinus@gmx.de>
401
402 * net/tramp-adb.el (tramp-adb-parse-device-names):
403 Use `accept-process-output'.
404 (tramp-adb-handle-file-truename): Cache the localname only.
405 (tramp-adb-handle-make-directory)
406 (tramp-adb-handle-delete-directory): Flush file properties correctly.
407 (tramp-adb-handle-set-file-modes): Do not raise an error when file
408 modes cannot be changed.
409
410 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
411 file properties of symlinks.
412
48e15d64
PS
4132014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
414
415 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
416 required/optional fields to match development biblatex. (Bug#16781)
417
65b77347
AS
4182014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
419
420 * saveplace.el (toggle-save-place):
421 Fix argument handling. (Bug#16673)
422
5e618aba
GM
4232014-02-28 Glenn Morris <rgm@gnu.org>
424
425 * minibuffer.el (completions-first-difference)
426 (completions-common-part, completion-hilit-commonality): Doc fixes.
427
6deb314e
KB
4282014-02-28 Karl Berry <karl@gnu.org>
429
430 * info.el (Info-mode-map): Add H for describe-mode,
431 to synchronize with standalone Info.
432
289996f5
EL
4332014-02-28 Emilio C. Lopes <eclig@gmx.net>
434
435 * progmodes/sql.el (sql-interactive-mode):
436 Avoid setting global comint-input-ring-separator. (Bug#16814)
437
79fc1191
MA
4382014-02-27 Michael Albinus <michael.albinus@gmx.de>
439
440 * net/dbus.el (dbus--init-bus): Declare function.
441 (dbus-path-local, dbus-interface-local): New defconst.
442 (dbus-init-bus): Use them.
443 (dbus-return-values-table): Extend doc.
444 (dbus-handle-bus-disconnect): Extend error message.
445
298520df
JB
4462014-02-27 Juanma Barranquero <lekktu@gmail.com>
447
448 * subr.el (y-or-n-p): Fix double space issue in message.
449
c22c1614
MA
4502014-02-27 Michael Albinus <michael.albinus@gmx.de>
451
452 * net/tramp.el (tramp-call-process): Improve trace message.
453 (tramp-handle-insert-file-contents): Trace error case.
454
455 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
456 <insert-directory>: Use `tramp-handle-insert-directory'.
457 (tramp-adb-handle-insert-directory): Remove function.
458 (tramp-adb-send-command-and-check): New defun, replacing
459 `tramp-adb-command-exit-status'. Change all callees.
460 (tramp-adb-handle-file-attributes)
461 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
462 (tramp-adb-ls-output-name-less-p):
463 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
464 (tramp-adb-handle-delete-directory): Flush also file properties of
465 the truename of directory.
466 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
467 (tramp-adb-handle-file-local-copy): Make the local copy readable.
468 (tramp-adb-handle-write-region): Implement APPEND.
469 (tramp-adb-handle-rename-file): Make it more robust. Flush file
470 properties correctly.
471 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
472 variables. Check for connected devices only when needed.
473
d9263618
GM
4742014-02-27 Glenn Morris <rgm@gnu.org>
475
ea7826ba
GM
476 * minibuffer.el (completion-table-dynamic)
477 (completion-table-with-cache): Doc fixes.
478
d9263618
GM
479 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
480 (completing-read-multiple): Doc fixes.
481
eff3168a
DC
4822014-02-27 Daniel Colascione <dancol@dancol.org>
483
51f213c3
DC
484 * minibuffer.el (completion--nth-completion): Fix indentation.
485
eff3168a
DC
486 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
487 explicit tramp path is empty.
488
b77cfcd7
GM
4892014-02-27 Glenn Morris <rgm@gnu.org>
490
491 * emacs-lisp/crm.el (completing-read-multiple):
492 Empower help-enable-auto-load.
493
9577b569
GM
4942014-02-26 Glenn Morris <rgm@gnu.org>
495
259887e8
GM
496 * startup.el (command-line): Don't init the tty in daemon mode.
497
1d491ef2
GM
498 Avoid calling tty-setup-hook twice, eg if a term file
499 explicitly calls tty-run-terminal-initialization. (Bug#16859)
500 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
501 (tty-create-frame-with-faces): Use it.
502 * startup.el (command-line): Pass run-hook argument
503 to tty-run-terminal-initialization.
504
9577b569
GM
505 * dired.el (dired-restore-desktop-buffer): Demote errors;
506 eg in case a glob match fails. (Bug#16884)
507
40ff7f86
DG
5082014-02-26 Dmitry Gutov <dgutov@yandex.ru>
509
b2388336
DG
510 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
511 error from `read-from-string'. (Bug#16850)
512
40ff7f86
DG
513 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
514 result of `completing-read' in the interactive form. (Bug#16854)
515
98bd6b32
GM
5162014-02-25 Glenn Morris <rgm@gnu.org>
517
f086804c
GM
518 * image.el (image-animate, image-animate-timeout):
519 Stop animating images in dead buffers. (Bug#16878)
520
c107155e
GM
521 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
522
9577b569
GM
523 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
524 Doc fixes.
98bd6b32
GM
525 * startup.el (term-setup-hook): Doc fix. Make obsolete.
526 * term/sun.el (sun-raw-prefix-hooks):
527 Use tty-setup-hook instead of term-setup-hook.
528 (terminal-init-sun): Construct message from bytecomp plist.
529 * term/wyse50.el (enable-arrow-keys): Doc fix.
530
9c9e18e8
JB
5312014-02-24 Juanma Barranquero <lekktu@gmail.com>
532
533 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
534 Fix docstring typos.
535
c848881f
MA
5362014-02-24 Michael Albinus <michael.albinus@gmx.de>
537
538 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
539
0e38ae05
NR
5402014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
541
542 * minibuffer.el (completion--try-word-completion):
543 Fix error when completing M-x commands (bug#16808).
544
8ee4c296
LL
5452014-02-24 Leo Liu <sdl.web@gmail.com>
546
547 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
548
7d4bd627
JB
5492014-02-24 Juanma Barranquero <lekktu@gmail.com>
550
551 * apropos.el (apropos-print): Avoid formatting error when
552 apropos-do-all and apropos-compact-layout are both t.
553
e918e27f
JB
5542014-02-23 Juanma Barranquero <lekktu@gmail.com>
555
556 * apropos.el (apropos-property, apropos-all-words-regexp)
557 (apropos-true-hit, apropos-variable, apropos-print):
558 Fix docstring typos, and remove obsolete comment.
559
85c01f80
MA
5602014-02-23 Michael Albinus <michael.albinus@gmx.de>
561
562 * net/tramp-sh.el (tramp-sh-handle-file-truename):
563 Preserve trailing "/". (Bug#16851)
564
62f95022
DG
5652014-02-23 Dmitry Gutov <dgutov@yandex.ru>
566
567 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
568 after `=>' (bug#16811).
dfdb365c
DG
569 (ruby-smie-rules): Handle the inconsistent second element of the
570 list returned by `smie-indent--parent'.
571 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
572 method call.
62f95022 573
025f2c81
JB
5742014-02-23 Juanma Barranquero <lekktu@gmail.com>
575
576 * elec-pair.el (electric-pair-text-syntax-table)
577 (electric-pair-syntax-info, electric-pair--syntax-ppss)
578 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
579 (electric-pair--looking-at-unterminated-string-p): Doc fix.
580 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
581
123c84f9
GM
5822014-02-22 Glenn Morris <rgm@gnu.org>
583
612c3e46
GM
584 * imenu.el (imenu--generic-function): Doc fix.
585
123c84f9
GM
586 * register.el (frame-configuration-to-register): Make obsolete.
587
e59fa9ad
JB
5882014-02-22 Juanma Barranquero <lekktu@gmail.com>
589
590 * desktop.el (desktop-save-buffer-p): Do not fail when
591 desktop-files-not-to-save is nil. Return t for true result
592 as the doc says.
593
4e652634
DC
5942014-02-22 Daniel Colascione <dancol@dancol.org>
595
27821a89 596 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
597 Check that attribute values are strings, avoiding the construction
598 of invalid dbus messages.
4e652634 599
f35affb6
JB
6002014-02-21 Juanma Barranquero <lekktu@gmail.com>
601
602 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
603 defun-declarations-alist.
604
3d136b1b
SM
6052014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
606
607 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
608 (bug#16829).
609
612ddfc0
JB
6102014-02-21 Juanma Barranquero <lekktu@gmail.com>
611
612 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
613 (whitespace-newline, whitespace-trailing, whitespace-line)
614 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
615 (whitespace-space-after-tab): Fix typo in docstrings.
616
c8481b1b
DG
6172014-02-21 Dmitry Gutov <dgutov@yandex.ru>
618
cb8f50a7
DG
619 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
620
c8481b1b
DG
621 * electric.el (electric-indent-functions-without-reindent):
622 Add `yaml-indent-line'.
623
bed5126f
JB
6242014-02-21 Juanma Barranquero <lekktu@gmail.com>
625
34b71457
JB
626 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
627 It has done nothing for years; should be removed after the release.
628
bed5126f
JB
629 * simple.el (choose-completion): Fix docstring typo.
630 (read-quoted-char-radix): Remove unneeded * in docstring.
631 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
632 Don't escape parentheses unnecessarily in docstrings.
633
8dd3e94f
MR
6342014-02-21 Martin Rudalics <rudalics@gmx.at>
635
636 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
637 * window.el (window--dump-window, window--dump-frame):
638 New functions.
639 (window--min-size-1): Account for window dividers.
640 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
641 sum of the window components has been calculated.
642 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
643 nil make sure at least one text line and two text columns remain
644 fully visible.
645 (window-resize): Signal an error when window-resize-apply fails.
646 (window--resize-child-windows): Fix calculation of by how many
647 pixels a window can still be shrunk via window-new-normal.
648 (adjust-window-trailing-edge): Call window--resizable with
649 correct TRAIL argument.
650
2ed94e04
MR
651 (with-temp-buffer-window): Don't evaluate BODY within
652 with-current-buffer (Bug#16816).
653
0e5324c4
MA
6542014-02-21 Michael Albinus <michael.albinus@gmx.de>
655
656 * net/tramp.el (tramp-check-cached-permissions):
657 Call `file-attributes' with `suffix' being a symbol but a string.
658
48198420
DC
6592014-02-21 Daniel Colascione <dancol@dancol.org>
660
661 * net/dbus.el (dbus-init-bus-1): Declare new subr.
662 (dbus-init-bus): New function: call into dbus-init-bus-1
663 and installs a handler for the disconnect signal.
664 (dbus-call-method): Rewrite to look for result in cons.
665 (dbus-call-method-handler): Store result in cons.
666 (dbus-check-event): Recognize events with nil sender as valid.
667 (dbus-handle-bus-disconnect): New function. React to bus
668 disconnection signal by synthesizing dbus error for each
669 pending synchronous or asynchronous call.
670 (dbus-notice-synchronous-call-errors): New function.
671 (dbus-handle-event): Raise errors directly only when `dbus-debug'
672 is true, not all the time.
673
99e15133
JB
6742014-02-21 Juanma Barranquero <lekktu@gmail.com>
675
e48983a6
JB
676 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
677 Remove obsolescence declarations, these variables do not exist anymore.
678
fdcfd745
JB
679 * savehist.el (savehist-save-minibuffer-history)
680 (savehist-additional-variables, savehist-file, savehist-mode-hook)
681 (savehist-save-hook, savehist-coding-system, savehist-loaded)
682 (savehist-load, savehist-install, savehist-autosave): Fix typos;
683 mostly, refer to "Savehist mode" when talking about the mode,
684 and not the function.
685
99e15133
JB
686 * saveplace.el (save-place): Remove redundant info in docstring.
687 (save-place-forget-unreadable-files, toggle-save-place)
688 (save-place-forget-unreadable-files, save-place-dired-hook):
689 Fix typos and remove unneeded backslashes.
690
f5bee33b
MA
6912014-02-20 Michael Albinus <michael.albinus@gmx.de>
692
693 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
694 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
695
696 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 697 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
698 (tramp-gvfs-handle-insert-directory): Remove function.
699
700 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
701 Call `tramp-handle-insert-directory'.
702
ee0761ca
JB
7032014-02-20 Juanma Barranquero <lekktu@gmail.com>
704
705 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
706 before the start of buffer/region (bug#16799).
707
4d49cc65
GM
7082014-02-20 Glenn Morris <rgm@gnu.org>
709
710 * isearch.el (search-invisible): Doc fix.
711
eee0d650
TK
7122014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
713
714 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
715 (bug#16657).
716
94e5e202
JB
7172014-02-19 Juanma Barranquero <lekktu@gmail.com>
718
719 * frameset.el (frameset-restore): Delay removing an old frame's
720 duplicate id until the new frame has been correctly created.
721
50bfdd5d
MA
7222014-02-19 Michael Albinus <michael.albinus@gmx.de>
723
724 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
725 (tramp-check-cached-permissions): Call `file-attributes' if the
726 cache is empty.
727
728 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 729 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
730
731 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 732 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
733 (tramp-gvfs-maybe-open-connection): Set always connection
734 properties, even if target is mounted already.
735
736 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
737 Set tramp-autoload cookie.
738 (tramp-get-remote-touch): New defun.
739 (tramp-sh-handle-set-file-times): Use it.
740 (tramp-sh-handle-directory-files-and-attributes):
741 Use `tramp-handle-directory-files-and-attributes' if neither stat
742 nor perl are available on the remote host.
743
744 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
745 "/". Write long listing only when "l" belongs to the switches.
746
747 * net/trampver.el: Update release number.
748
f097a3d2
JB
7492014-02-19 Juanma Barranquero <lekktu@gmail.com>
750
751 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
752
8e009b78
MR
7532014-02-19 Martin Rudalics <rudalics@gmx.at>
754
755 * window.el (window-state-put): Allow WINDOW to refer to an
756 internal window (Bug#16793).
757
95160c90
GM
7582014-02-19 Glenn Morris <rgm@gnu.org>
759
760 * textmodes/remember.el: Move provide statement to end.
761 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
762 (remember-notes): Doc fixes.
763
b28df58c
SM
7642014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
765
766 * delsel.el (delete-char): Restore incorrectly erased property
767 (bug#16795).
768
7108e1c0
JB
7692014-02-18 Juanma Barranquero <lekktu@gmail.com>
770
771 * frameset.el (frameset--restore-frame): When a frame is being reused
772 and its root window is not alive, delete all the frame's windows before
773 restoring the window state. This works around the issue in bug#16793.
774
c863b6ad
GM
7752014-02-18 Glenn Morris <rgm@gnu.org>
776
a73fae1f
GM
777 * textmodes/remember.el (remember-data-directory)
778 (remember-directory-file-name-format, remember-store-in-files)
779 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
780 (remember-notes-save-and-bury-buffer)
781 (remember-notes--kill-buffer-query): Doc fixes.
782
c863b6ad
GM
783 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
784
29238d28
AM
7852014-02-17 Alan Mackenzie <acm@muc.de>
786
787 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 788 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 789 to electric-indent-{,local-}-mode.
b28df58c
SM
790 (c-basic-common-init): Set electric-indent-inhibit.
791 Initialise c-electric-flag from electric-indent-mode.
29238d28 792 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 793 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
794
795 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 796 hit, toggle electric-indent-local-mode.
29238d28 797
b28df58c
SM
798 * electric.el (electric-indent-mode-has-been-called):
799 New variable.
29238d28 800
c6463340
JB
8012014-02-17 Juanma Barranquero <lekktu@gmail.com>
802
803 * frameset.el (frameset-cfg-id): New function.
804 (frameset--reuse-frame, frameset-restore): Use it.
805 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
806
94912b88
SM
8072014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
808
809 * ido.el (ido-file-internal): Remove unused var `d'.
810 Use \` for to match BoS. Fit within 80n columns.
811
26ea164c
DC
8122014-02-17 Daniel Colascione <dancol@dancol.org>
813
814 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
815 dbus-call-method check for completion using a busy-wait loop with
816 gradual backoff.
817
dd7691b7
MA
8182013-10-02 Michael Albinus <michael.albinus@gmx.de>
819
820 Sync with Tramp 2.2.9.
821
822 * net/trampver.el: Update release number.
823
17d1b51b
DG
8242014-02-16 Dmitry Gutov <dgutov@yandex.ru>
825
826 * ido.el (ido-file-internal): Don't add the name of an existing
827 directory twice. (Bug#16747)
828
5bcad689
GM
8292014-02-16 Glenn Morris <rgm@gnu.org>
830
831 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
832 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
833
8342014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
835
836 * progmodes/sql.el: Version 3.4
837 (sql-oracle-options): New default value ("-L").
94912b88 838 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 839 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 840 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
841 (sql-login-delay): New variable.
842 (sql-product-interactive): Use it.
843
285f1858
JB
8442014-02-15 Juanma Barranquero <lekktu@gmail.com>
845
846 * frameset.el (frameset--jump-to-register): Check that buffer is live
847 (bug#16749).
848
5d645ea4
GM
8492014-02-15 Glenn Morris <rgm@gnu.org>
850
851 * info.el (info-initialize): Revert 2014-01-10 change.
852
48c4f9b1
GM
8532014-02-14 Glenn Morris <rgm@gnu.org>
854
b8630261
GM
855 * replace.el (map-query-replace-regexp)
856 (read-regexp-defaults-function, read-regexp): Doc fixes.
857
b2bf2a25
GM
858 * dired.el (dired-read-regexp):
859 * faces.el (list-faces-display):
860 * misearch.el (multi-isearch-read-matching-buffers)
861 (multi-isearch-read-matching-files):
862 * play/cookie1.el (cookie-apropos):
863 * progmodes/grep.el (grep-read-regexp): Doc fixes.
864
48c4f9b1
GM
865 * textmodes/remember.el (remember): Use frameset-to-register
866 rather than frame-configuration-to-register.
867
2804e0bd
JB
8682014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
869
870 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
871 incorrect keybinding.
872
0b87142f
DC
8732014-02-13 Daniel Colascione <dancol@dancol.org>
874
875 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
876 when adding overlays so that line numbers from compiler match line
877 numbers we use.
878
47a73eb0
GM
8792014-02-13 Glenn Morris <rgm@gnu.org>
880
8abcfd51
GM
881 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
882
47a73eb0
GM
883 * jit-lock.el (jit-lock-mode): Doc fix.
884
c9b6b262
JB
8852014-02-13 Juanma Barranquero <lekktu@gmail.com>
886
887 * apropos.el (apropos-read-pattern): When the user passes an empty
888 string, give a more helpful error message than "Wrong type
889 argument: stringp, nil".
890
eb4c6947
SM
8912014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
894
0dab5068
GM
8952014-02-13 Glenn Morris <rgm@gnu.org>
896
897 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
898
59075dcf
SM
8992014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
902 shift-select commands.
903
5af9fbad
DG
9042014-02-12 Dmitry Gutov <dgutov@yandex.ru>
905
906 * progmodes/js.el (js-indent-line): Don't widen.
907 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
908
a215930c
GM
9092014-02-12 Glenn Morris <rgm@gnu.org>
910
a8cb4247
GM
911 * icomplete.el (icomplete): Add info-link to defgroup.
912 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
913 (icomplete-minibuffer-map, icomplete-mode)
914 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
915
a215930c
GM
916 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
917 (package-menu-filter): Rename from package-menu-filter-interactive.
918 Doc fix.
919
26c5ecd9
JB
9202014-02-11 Juanma Barranquero <lekktu@gmail.com>
921
922 * frameset.el (frameset--jump-to-register): Select the required
923 window and buffer before restoring position (bug#16696).
924
fcd58a02
LI
9252014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
926
927 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
928
bacb3380
GM
9292014-02-10 Glenn Morris <rgm@gnu.org>
930
931 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
932
881329dc
EZ
9332014-02-10 Eli Zaretskii <eliz@gnu.org>
934
02328db9
EZ
935 * w32-common-fns.el (x-get-selection): Doc fix.
936 * select.el (x-get-selection): Doc fix. (Bug#15109)
937
881329dc
EZ
938 * face-remap.el (face-remap-add-relative)
939 (face-remap-remove-relative, face-remap-reset-base)
940 (face-remap-set-base): Call force-mode-line-update to redisplay
941 the current buffer due to potential change in faces. (Bug#16709)
942
c7db4c06
MA
9432014-02-10 Michael Albinus <michael.albinus@gmx.de>
944
945 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
946 script more robustly.
947
6abe4589
LI
9482014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
949
7602b5c3
LI
950 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
951
e3692ee0
LI
952 * simple.el (choose-completion): Doc fix (bug#14160).
953
41015524
LI
954 * subr.el (event-start): Say what a nil EVENT value means.
955
87c79dcb
LI
956 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
957 (bug#14197).
958
3ab49e2c
LI
959 * progmodes/grep.el (find-program): Doc fix (bug#14289).
960
f3c60241
LI
961 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
962
3bd1d8a8
LI
963 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
964
6abe4589
LI
965 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
966 predicate function (bug#15455).
967
a11463de
DG
9682014-02-10 Dmitry Gutov <dgutov@yandex.ru>
969
970 * ielm.el (inferior-emacs-lisp-mode): Instead of
971 `comment-use-global-state', set `comment-use-syntax'.
972
2ab0ad85
GM
9732014-02-10 Glenn Morris <rgm@gnu.org>
974
975 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
976
411141fb
AM
9772014-02-09 Alan Mackenzie <acm@muc.de>
978
979 Fix c-invalidate-state-cache on narrowed buffers.
980 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
981 Widen when setting and clearing the CPP delimiter properties.
982
d6d5fdf8
LI
9832014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
984
92c70367
LI
985 * help.el (describe-bindings): Doc fix (bug#9888).
986
468ef484
LI
987 * files.el (save-buffer): Use ARG as the parameter name for
988 consistency (bug#10346).
7e34193f 989 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 990
fc2b1ffa 991 * cus-edit.el (customize-apropos): Fix error string.
382fd368 992 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 993 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 994
790aceec
LI
995 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
996
a54a7552 997 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 998 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 999
dd163123
LI
1000 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1001 meaning of the parameter (bug#12282).
1002
9e108fe6
LI
1003 * files.el (find-file-noselect): Clarify prompt when changing
1004 readedness (bug#13261).
5a836f58
LI
1005 (locate-file): Suffixes aren't returned, so don't say that they
1006 are (bug#12674).
2356b316 1007 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1008
20dda930
LI
1009 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1010 before we actually start to delete things (bug#16331).
1011
d6d5fdf8
LI
1012 * subr.el (event-start): Doc fix (bug#14228).
1013 (event-end): Ditto.
1014
2abd71e5
GM
10152014-02-09 Glenn Morris <rgm@gnu.org>
1016
1017 * emacs-lisp/warnings.el (lwarn):
1018 Empower help-enable-auto-load. (Bug#15940)
1019
c1b5900b
AS
10202014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1021
1022 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1023 (Bug#16690)
1024
429b93bd
MA
10252014-02-08 Michael Albinus <michael.albinus@gmx.de>
1026
1027 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1028 Insert output at end of buffer. (Bug#16120)
1029
b772a699
LI
10302014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1031
18c6aa8c
LI
1032 * simple.el (choose-completion-string-functions): Document new
1033 calling convention (bug#14153).
54dd147a 1034 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1035
dce8463b
LI
1036 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1037
b772a699 1038 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1039 (find-grep-dired): Doc fix (bug#14288).
b772a699 1040
2423c8d5
JL
10412014-02-08 Juri Linkov <juri@jurta.org>
1042
1043 * isearch.el (isearch-quote-char): Check character validity
1044 like in `quoted-insert' (bug#16677).
1045
518f26c2
LI
10462014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1047
893cc908
LI
1048 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1049
9165ffc0
LI
1050 * isearch.el (isearch-hide-immediately): Doc clarification
1051 (bug#14723).
1052
6ef4f3ce
LI
1053 * simple.el (line-move): Document utility function used many
1054 places in the Emacs sources (bug#14843).
1055
be58a238 1056 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1057 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1058 (dired-up-directory): Doc fix (bug#14848).
be58a238 1059
dd7aafbb
LI
1060 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1061
15cb9968
LI
1062 * files.el (file-relative-name): Doc fix (bug#15159).
1063
9788effd
LI
1064 * fringe.el (fringe-styles): Doc fix (bug#15239).
1065
c96411bd
LI
1066 * isearch.el (isearch-filter-predicate): Documentation typo fix
1067 (bug#15474).
1068
ea838c36
LI
1069 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1070
0d8a4ae7
LI
1071 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1072
f7a17bb3
LI
1073 * replace.el (replace-match-maybe-edit): Doc clarification
1074 (bug#15632).
1075
1bde5c3b
LI
1076 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1077
518f26c2
LI
1078 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1079
dd8e49fd
GM
10802014-02-08 Glenn Morris <rgm@gnu.org>
1081
1082 * help-fns.el (describe-variable):
1083 Check {file,dir}-local-variables-alist, and buffer-file-name,
1084 in the correct buffer.
1085
7e088b29
IL
10862014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1087
1088 * help-fns.el (describe-variable): Fix the case where
1089 a value is directory-local with no dir-locals file. (Bug#16635)
1090
41a4a82f
GM
10912014-02-08 Glenn Morris <rgm@gnu.org>
1092
1093 * abbrev.el (edit-abbrevs-mode):
1094 Derive from fundamental-mode. (Bug#16682)
1095
e255a703
JB
10962014-02-07 Juanma Barranquero <lekktu@gmail.com>
1097
1098 * simple.el (quoted-insert): Check character validity (bug#16677).
1099
c99cf5ee
JL
11002014-02-07 Juri Linkov <juri@jurta.org>
1101
1102 * desktop.el (desktop-read): Claim the lock when the owner is not
1103 the current process. (Bug#16157)
1104
7d7a68d8
JL
11052014-02-07 Juri Linkov <juri@jurta.org>
1106
1107 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1108 to "\\` ". (Bug#16651)
1109
2b777cd9
JL
11102014-02-07 Juri Linkov <juri@jurta.org>
1111
1112 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1113 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1114 (desktop-auto-save-cancel-timer): New function with some code from
1115 `desktop-auto-save-set-timer'.
1116 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1117 Instead of setting `desktop-save-mode' to nil, call
1118 `desktop-save-mode' with arg 0. (Bug#16630)
1119
60eabbb9
GM
11202014-02-07 Glenn Morris <rgm@gnu.org>
1121
99cf3859
GM
1122 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1123 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1124 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1125
2b568bc9
GM
1126 * obsolete/iswitchb.el: Move to obsolete/.
1127 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1128 since obsolete/ is not scanned for autoloads.
1129 * emacs-lisp/authors.el (authors-valid-file-names):
1130 Add iswitchb.el.
1131
60eabbb9
GM
1132 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1133 Disable now non-functional find-file-hook.
1134
629de968
MA
11352014-02-06 Michael Albinus <michael.albinus@gmx.de>
1136
1137 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1138 instead of ";" in order to avoid additional prompts. Let heredoc
1139 scripts read from tty. (Bug#16582)
1140 (tramp-send-command): No special handling of heredocs, it isn't
1141 necessary anymore.
1142
29127376
SM
11432014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1146 with a space (bug#16664). Limit the symbols considered to the ones
1147 that are bound or fbound (bug#16646).
1148
79b6e0a9
GM
11492014-02-06 Glenn Morris <rgm@gnu.org>
1150
1151 * epa.el (epa-mail-aliases): Doc fix.
1152
a333e4d2
DG
11532014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1154
29127376
SM
1155 * emacs-lisp/lisp.el (lisp-completion-at-point):
1156 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1157 (bug#16604).
1158
1159 * minibuffer.el (completion-table-merge): New function.
1160
9a83b32b
MA
11612014-02-05 Michael Albinus <michael.albinus@gmx.de>
1162
1163 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1164 (tramp-sh-handle-set-file-acl)
1165 (tramp-sh-handle-start-file-process)
1166 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1167 (tramp-find-executable, tramp-send-command): Use it.
1168
451ea3e6
GM
11692014-02-05 Glenn Morris <rgm@gnu.org>
1170
9a83b32b 1171 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1172
dd27d13b
FEG
11732014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1174
35e951cd 1175 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1176 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1177
08e41897
AL
11782014-02-04 Anders Lindgren <andlind@gmail.com>
1179
1180 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1181 the names (bug#16620).
1182
764ec9e5
MR
11832014-02-03 Martin Rudalics <rudalics@gmx.at>
1184
08e41897
AL
1185 * faces.el (window-divider): New default value. Rewrite doc-string.
1186 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1187
6da8227c
DG
11882014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1189
1190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1191 `protected' and `public' can also be called without arguments.
1192
6a6b8e40
GM
11932014-02-03 Glenn Morris <rgm@gnu.org>
1194
7bcbca40
GM
1195 * register.el (window-configuration-to-register)
1196 (frame-configuration-to-register): Unadvertise unused argument.
1197 * frameset.el (frameset-to-register): Remove unused argument.
1198
719d965d 1199 * frameset.el (frameset-to-register):
6a6b8e40
GM
1200 * kmacro.el (kmacro-to-register):
1201 * register.el (increment-register):
1202 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1203 (calc-append-to-register, calc-prepend-to-register):
1204 * play/gametree.el (gametree-layout-to-register)
1205 (gametree-apply-register-layout):
1206 * textmodes/picture.el (picture-clear-rectangle-to-register)
1207 (picture-yank-rectangle-from-register):
1208 * vc/emerge.el (emerge-combine-versions-register):
1209 Use register-read-with-preview to read registers.
1210
5dca7759
JT
12112014-02-03 João Távora <joaotavora@gmail.com>
1212
1213 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1214 when at beginning of (possibly narrowed) buffer.
1215
709085b9
DC
12162014-02-02 Daniel Colascione <dancol@dancol.org>
1217
c295fc18 1218 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1219 Also try to display local help from just before point.
709085b9 1220
99f7b0a6
AM
12212014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1222
1223 c-parse-state. Don't "append-lower-brace-pair" in certain
1224 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1225 recognised as a comment.
1226
1227 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1228 as well as normal comment starter.
1229 (c-parse-state-get-strategy): Extra return possibility
1230 'back-and-forward.
1231 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1232 return value list to indicate replacement of a brace-pair cons
1233 with its car.
1234 (c-parse-state-1): With 'back-and-forward, only call
1235 c-append-lower-brace-pair-to state-cache when cons-separated.
1236
f0a10576
JD
12372014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1238
1239 * term/ns-win.el (ns-suspend-error): New function.
1240 (ns-initialize-window-system): Add ns-suspend-error to
1241 suspend-hook (Bug#16612).
1242
b8d552c2
DC
12432014-02-02 Daniel Colascione <dancol@dancol.org>
1244
35e951cd
JB
1245 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1246 Make loading cc-mode silent.
b8d552c2 1247
f2b7d123
DC
12482014-02-02 Daniel Colascione <dancol@dancol.org>
1249
35e951cd
JB
1250 * comint.el (comint-prompt-read-only): Change doc to suggest
1251 remap keybinding.
f2b7d123 1252
4472a196
GM
12532014-02-02 Glenn Morris <rgm@gnu.org>
1254
1255 * register.el (register-read-with-preview, point-to-register)
1256 (window-configuration-to-register, frame-configuration-to-register)
1257 (jump-to-register, number-to-register, view-register, insert-register)
1258 (copy-to-register, append-to-register, prepend-to-register)
1259 (copy-rectangle-to-register): Doc fixes.
1260
70e5a261
SM
12612014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1264 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1265 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1266 * help-fns.el (describe-function-1): Use it.
1267
7c324762
GM
12682014-02-02 Glenn Morris <rgm@gnu.org>
1269
1270 * register.el (register-preview-default): New function,
1271 split from register-preview.
1272 (register-preview-function): Rename from register-preview-functions,
1273 make it not a hook.
1274 (register-preview): Use register-preview-function.
1275 (register-read-with-preview): Error on non-character event. (Bug#16595)
1276
a09beb3d
DG
12772014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1278
1279 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1280 `:' before binary operators (bug#16609). Don't check for `:'
1281 before `[' and `(', or their syntax status. A percent literal
1282 can't end with either.
68e004e0
DG
1283 (ruby-font-lock-keywords): For built-ins that require arguments,
1284 check that they're followed by something that looks like argument
1285 (bug#16610).
a09beb3d 1286
ed4d2875
LI
12872014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1288
1289 * subr.el (butlast): Document what an omitted N means (bug#13437).
1290 (nbutlast): Ditto.
1291
dba6e3ec
LI
12922014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1293
1294 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1295 depth shallower (bug#16587).
cc477daa
LI
1296 (shr-tag-svg): Respect `shr-inhibit-images'.
1297 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1298
e2a67bd0
DG
12992014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1300
1301 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1302 (ruby-smie-grammar): Make "." right-associative. Make its priority
1303 lower than the ternary and all binary operators.
1304 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1305 parent, or the first "." parent at indentation.
1306 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1307 (Bug#16593)
1308
bd21bf41
JL
13092014-01-31 Juri Linkov <juri@jurta.org>
1310
1311 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1312 from `make-hash-table'.
1313
1314 * textmodes/ispell.el (ispell-init-process): Change message format
1315 to be consistent with other messages.
1316
b7e615b9
GM
13172014-01-31 Glenn Morris <rgm@gnu.org>
1318
a69ecd19
GM
1319 * delsel.el (delete-selection-mode): Doc fix.
1320
9997d7e3
GM
1321 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1322 (trace-function-background): Doc fixes.
1323
fbb764b8
GM
1324 * ido.el (ido-use-virtual-buffers): Doc fix.
1325 Reset :version, since the default value has not changed.
1326
da942af1
GM
1327 * register.el (register-preview-delay, register-read-with-preview):
1328 Doc fixes.
1329
b7e615b9
GM
1330 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1331 do not mess with mail-buffer position (fixes 2009-11-03 change).
1332 * progmodes/cc-mode.el (c-submit-bug-report):
1333 Check auto-fill-mode is bound. (Bug#16592)
1334
0a25002d
DH
13352014-01-31 Darren Hoo <darren.hoo@gmail.com>
1336
1337 * startup.el (fancy-splash-image-file): New function,
1338 split from fancy-splash-head.
1339 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1340 so that we are both using the same image. (Bug#16574)
1341
ad78f432
GM
13422014-01-30 Glenn Morris <rgm@gnu.org>
1343
6bbc0c84
GM
1344 * simple.el (eval-expression): Doc fix.
1345
ad78f432
GM
1346 * hexl.el (hexl-mode-hook):
1347 * ielm.el (ielm-mode-hook):
1348 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1349 (lisp-interaction-mode-hook):
1350 * progmodes/cfengine.e (cfengine3-documentation-function):
1351 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1352
7b2f049c
SM
13532014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1354
1355 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1356 is a symbol (bug#16584).
1357
0c633f13
GM
13582014-01-30 Glenn Morris <rgm@gnu.org>
1359
1360 * help.el (help-for-help-internal): Add "P" to text.
1361
5e61c1ef
GM
13622014-01-29 Glenn Morris <rgm@gnu.org>
1363
1364 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1365
1dcb169c
MR
13662014-01-28 Martin Rudalics <rudalics@gmx.at>
1367
1368 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1369 height constraints.
1370
a9128931
LL
13712014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1372
1373 * progmodes/hideif.el: Extend to full CPP expression syntax.
1374 (hif-token-alist): Add missing tokens.
1375 (hif-token-regexp): Add support for float/octal/hex immediates.
1376 (hif-string-literal-regexp): New const.
1377 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1378 (hif-exprlist): New function.
1379 (hif-parse-if-exp): Use it.
1380 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1381 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1382 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1383 (hif-logxor, hif-comma): New functions.
1384
a22359a7
GM
13852014-01-28 Glenn Morris <rgm@gnu.org>
1386
793ffe81
GM
1387 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1388
e3bd7eed
GM
1389 * indent.el (tab-stop-list): Doc fix. Add :version.
1390
a22359a7
GM
1391 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1392 (cvs-append-to-ignore): Add compatibility alias.
1393
52695556 13942014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1395
bac524e0
GM
1396 * dired.el (dired-hide-details-mode): Don't autoload it,
1397 since it cannot be used outside Dired buffers anyway.
1398
52695556 1399 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1400
52695556
GM
1401 * dired.el (dired-hide-details-hide-symlink-targets)
1402 (dired-hide-details-hide-information-lines)
1403 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1404
1405 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1406 * strokes.el (strokes-file): Doc fix. Bump :version.
1407 (strokes-help): Doc fix.
1408 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1409 * emulation/viper.el (viper): Doc fix for custom group.
1410 (top-level): Remove oh-so-no-longer-relevant text about vip.
1411 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1412
1413 * ido.el (ido-save-directory-list-file):
1414 * saveplace.el (save-place-file):
1415 * calendar/timeclock.el (timeclock-file):
1416 * net/quickurl.el (quickurl-url-file):
1417 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1418 * progmodes/idlwave.el (idlwave-config-directory):
1419 * textmodes/remember.el (remember-data-file):
1420 Bump :version.
1421
169d6004
GM
14222014-01-26 Glenn Morris <rgm@gnu.org>
1423
de6a923b
GM
1424 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1425 Doc fix. Make obsolete.
1426 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1427
169d6004
GM
1428 * sort.el (delete-duplicate-lines): Doc fix.
1429
ed85dee6
RS
14302014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1431
1432 * progmodes/ada-mode.el (ada):
1433 * woman.el (woman): Link to info manual and Commentary section.
1434
1435 * progmodes/flymake.el (flymake):
1436 * nxml/nxml-mode.el (nxml):
1437 * net/eww.el (eww):
1438 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1439 * htmlfontify.el (htmlfontify):
1440 * ses.el (ses):
1441 * epa.el (epa):
1442 * ido.el (ido): Link to info manual.
1443
e0c67e1d
LL
14442014-01-25 Leo Liu <sdl.web@gmail.com>
1445
1446 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1447
35408b1a
AS
14482014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1449
1450 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1451 (bug#16537).
1452
76c3fa95
JB
14532014-01-24 Juanma Barranquero <lekktu@gmail.com>
1454
f77c7a99
JB
1455 * net/eww.el (eww-download-callback):
1456 Fix reference to eww-download-directory.
1457
76c3fa95
JB
1458 * emacs-lisp/bytecomp.el (byte-compile-file):
1459 Remove unused local variable `file-name'.
1460
1e548e40
GM
14612014-01-24 Glenn Morris <rgm@gnu.org>
1462
03f3b318
GM
1463 * woman.el (woman-default-faces, woman-monochrome-faces):
1464 Fix obsolescence specification.
1465
1e548e40
GM
1466 * subr.el (with-demoted-errors): Doc fix.
1467
d4f0427b
SM
14682014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1471 (cl--macroexp-fboundp): New function.
1472 (cl--make-type-test): Use it.
1473
1670e27f
GM
14742014-01-23 Glenn Morris <rgm@gnu.org>
1475
1476 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1477 * simple.el (eval-expression): Doc fixes.
1478
80efa207
GM
14792014-01-22 Glenn Morris <rgm@gnu.org>
1480
1481 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1482
29afcbab
SM
14832014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * emacs-lisp/package.el: Write files silently.
1486 (package-autoload-ensure-default-file, package--write-file-no-coding)
1487 (package-generate-description-file, package--download-one-archive)
1488 (package-install-from-archive): Tell `write-region' to stay quiet.
1489 (package-menu-mode, package-menu--print-info): Omit the Archive column
1490 if there's only one archive.
1491 (package-all-keywords, package--has-keyword-p): Remove dead code.
1492
2a5bce4f
GM
14932014-01-22 Glenn Morris <rgm@gnu.org>
1494
edace89f
GM
1495 * version.el (emacs-bzr-version-bzr): Fix typo.
1496
2a5bce4f
GM
1497 * version.el (emacs-repository-get-version):
1498 Check either .bzr or .git, but not both.
1499 Make the git case actually use the DIR argument, and return nil
1500 rather than the empty string.
983664c0 1501 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1502
6cb4da45
MR
15032014-01-22 Martin Rudalics <rudalics@gmx.at>
1504
1505 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1506 * window.el (window-total-size, window-size): New argument ROUND.
1507 (window--min-delta-1, window-min-delta, window--max-delta-1):
1508 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1509 columns a window can shrink (Bug#16430).
1510 (fit-window-to-buffer): Simplify code.
1511 * term.el (term-window-width): Call window-body-width again.
1512
cc0f2ece
GM
15132014-01-22 Glenn Morris <rgm@gnu.org>
1514
7b997b14
GM
1515 * image.el (image-format-suffixes): Doc fix.
1516
44e76f9d
GM
1517 * international/quail.el (quail-define-package): Doc fix.
1518
35e951cd 1519 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1520 (authors-renamed-files-alist): Additions.
7bfc1caa 1521
85a5f61f
GM
1522 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1523 reverts 2014-01-09 change. (Bug#16422)
1524
cc0f2ece
GM
1525 * calc/calc-embed.el (thing-at-point-looking-at):
1526 * emacs-lisp/map-ynp.el (x-popup-dialog):
1527 * obsolete/lmenu.el (x-popup-dialog):
1528 * emacs-lisp/package.el (url-recreate-url):
1529 * mail/mailclient.el (clipboard-kill-ring-save):
1530 * subr.el (x-popup-dialog): Update declaration.
1531 * mail/rmail.el (rmail-mime-message-p):
1532 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1533
00d2a6bb
DC
15342014-01-21 Daniel Colascione <dancol@dancol.org>
1535
1536 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1537 Correctly detect when we're inside an arithmetic expansion form
1538 containing nested parenthesis.
c295fc18 1539 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1540 to detect cases where we shouldn't expand "<<" to a heredoc
1541 skeleton.
1542
dd9d2e9d
SM
15432014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1546 (eldoc--message-command-p): New function.
1547 (eldoc-display-message-p): Use it.
1548 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1549 message is not automatically erased for us.
1550 (eldoc-print-current-symbol-info): Erase previous message, if any.
1551
e7d807ca
TH
15522014-01-21 Tassilo Horn <tsdh@gnu.org>
1553
4ff0a0e5
TH
1554 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1555 specify it's an interactive function.
1556
dd9d2e9d
SM
1557 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1558 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1559 citations with optional arguments.
1560
87503791
LL
15612014-01-21 Leo Liu <sdl.web@gmail.com>
1562
1563 * simple.el (read--expression): Don't enable eldoc-mode.
1564
6cc750ee
SM
15652014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * simple.el (move-beginning-of-line): Make sure we don't move forward
1568 (bug#16497).
1569
71f16bda
JL
15702014-01-20 Juri Linkov <juri@jurta.org>
1571
1572 * saveplace.el (toggle-save-place, save-place-to-alist)
1573 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1574 'dired-mode) before checking for dired-directory. (Bug#16477)
1575
3c5a4839
JL
15762014-01-20 Juri Linkov <juri@jurta.org>
1577
1578 * indent.el (indent-line-to): Use backward-to-indentation
1579 instead of back-to-indentation. (Bug#16461)
1580
f952002e
PE
15812014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1582
1583 Revert some of the CANNOT_DUMP fix (Bug#16494).
1584 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1585 but fixing this can wait until after the next release.
1586 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1587
93675500
MA
15882014-01-19 Michael Albinus <michael.albinus@gmx.de>
1589
1590 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1591 Use `password-word-equivalents'.
1592 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1593 to t. (Bug#5664, Bug#13124)
1594
e3af763f
AM
15952014-01-19 Alan Mackenzie <acm@muc.de>
1596
1597 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1598 points.
1599 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1600 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1601 * progmodes/cc-mode.el (c-before-change, c-after-change)
1602 (c-font-lock-fontify-region): Bind it here.
1603
4ff6d92d
MR
16042014-01-19 Martin Rudalics <rudalics@gmx.at>
1605
1606 * term.el (term-window-width): Call window-text-width instead of
1607 window-width (Bug#16470).
1608
9a685cf6
PE
16092014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1610
1611 * simple.el (password-word-equivalents): Remove duplicates.
1612 Sort, to make this easier next time.
1613 Downcase. Omit ": " after "jelszó".
1614
5aa78c2d
JD
16152014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1616
1617 * term/common-win.el (saved-region-selection): Defvar it.
1618 (x-select-text): Set saved-region-selection (Bug#16382).
1619
cabb250c
GM
16202014-01-18 Glenn Morris <rgm@gnu.org>
1621
1622 * emacs-lisp/authors.el (authors-aliases)
1623 (authors-renamed-files-alist): Add some entries.
1624
a1340440
MA
16252014-01-17 Michael Albinus <michael.albinus@gmx.de>
1626
93675500
MA
1627 * net/tramp.el (tramp-password-prompt-regexp):
1628 Use `password-word-equivalents' if available.
a1340440
MA
1629 (tramp-action-password, tramp-process-one-action)
1630 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1631
681ce5d2
CY
16322014-01-17 Chong Yidong <cyd@gnu.org>
1633
1634 * simple.el (password-word-equivalents): New defcustom.
1635 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1636 to 24.4.
1637 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1638 to t. (Bug#13124)
1639
fb3d479c
DG
16402014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1641
1642 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1643 (ruby-align-to-stmt-keywords): Change the default value.
1644 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1645 choices.
1646 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1647 keywords, check against the value of `ruby-alignable-keywords'
1648 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1649
0d613483
GM
16502014-01-17 Glenn Morris <rgm@gnu.org>
1651
fc23fe2d
GM
1652 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1653
0d613483 1654 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 1655 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
1656 (authors-ignored-files): Add some entries, remove others.
1657 (authors-ambiguous-files, authors-valid-file-names):
1658 Add some entries.
1659 (authors-renamed-files-alist): Add, remove, and adjust entries.
1660 (authors-renamed-files-regexps): Add some entries.
1661 Remove some very broad ones. Make some entries `lax'.
1662 (authors-lax-changelogs): New constant.
1663 (authors-disambiguate-file-name): Treat top-level specially.
1664 (authors-lax-changelog-p): New function.
1665 (authors-canonical-file-name): Check file as written against
1666 authors-valid-file-names. Do not special-case etc/.
1667 Handle `lax' logs and authors-renamed-files-regexps elements.
1668
2dbf4ffd
DG
16692014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1670
1671 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1672 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1673 callers.
2dbf4ffd 1674
87b2a7f2
SM
16752014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1678 Assume we're already in the proper buffer.
1679 Inspired by Anders Lindgren <andlind@gmail.com>.
1680 (follow-post-command-hook): Call it from the right buffer.
1681 (follow-comint-scroll-to-bottom): Adjust call.
1682 (follow-all-followers): Use get-buffer-window-list.
1683
93acfb0e
DC
16842014-01-15 Daniel Colascione <dancol@dancol.org>
1685
1686 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1687 `buffer-file-name' in interactive-form so that we don't leave
1688 pathless file names in `file-name-history'.
1689
ccc6b208
JL
16902014-01-15 Juri Linkov <juri@jurta.org>
1691
1692 * indent.el (indent-rigidly): Set deactivate-mark to nil
1693 in transient indentation mode. (Bug#16438)
1694
5c92e00d
DG
16952014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1696
1697 * emacs-lisp/package.el (package-desc-keywords): New function
1698 (Bug#16222).
1699 (describe-package-1, package-all-keywords)
1700 (package--has-keyword-p): Use it.
1701
dac69660
NR
17022014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1703
1704 * simple.el (define-alternatives): When creating the
1705 COMMAND-alternatives variable, assign COMMAND as its definition
1706 name so that `describe-variable' can relocate it.
1707
8b63edf8
ML
17082014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1709
1710 * font-lock.el (font-lock-keywords): Fix typo in docstring
1711 (bug#16307).
1712
c6a0b8eb
AM
17132014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1714
1715 * ispell.el (ispell-region): Reset `in-comment' for new line
1716 instead of wrongly reset `add-coment' (bug#13577).
1717
02bf443d
DU
17182014-01-14 Daiki Ueno <ueno@gnu.org>
1719
1720 * epa-file.el (epa-file-write-region): Encode the region according
1721 to `buffer-file-format'. Problem reported at:
1722 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1723
fd7fde15
SM
17242014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1727 so it applies in the right buffer (bug#16410).
1728
c176054f
DC
17292014-01-13 Daniel Colascione <dancol@dancol.org>
1730
1731 * textmodes/rst.el (rst-define-key): Provide deprecated
1732 keybindings through named functions instead of anonymous ones so
1733 that "??" doesn't appear in describe-mode output.
1734
e3f33e5d
BG
17352014-01-13 Bastien Guerry <bzg@gnu.org>
1736
1737 * simple.el (define-alternatives): Call the selected command
1738 interactively. When setting `COMMAND--implementation' for the
1739 first time, tell the user how to chose another implementation.
1740 Enhance the docstring.
1741
c055d654
SM
17422014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1745 (log-edit--match-first-line): New function.
1746 (log-edit-font-lock-keywords): Use it.
1747 (log-edit-mode): Make jit-lock-defer-multiline work.
1748
d791cc3b
BG
17492014-01-13 Bastien Guerry <bzg@gnu.org>
1750
1751 * rect.el (rectangle-mark-mode): When the region is not active,
1752 display a message saying that the mark as been set and that
1753 rectangle mode is in use.
1754 (rectangle--highlight-for-redisplay): Only put an overlay with a
1755 visible vertical bar when (display-graphic-p) is non-nil.
1756 This partially fixes Bug#16403.
1757
3c0c4562
JL
17582014-01-13 Juri Linkov <juri@jurta.org>
1759
1760 * info.el (Info-find-file): Go to DIR before displaying the error
1761 about a nonexistent file if no previous Info file is visited.
1762 Use `user-error' instead of `error' for "Info file %s does not exist".
1763 (Info-find-node-2): In case of a nonexistent node in unwind forms
1764 go to the Top node if there is no previous node to revert to.
1765 (Bug#16405)
1766
25a700d0
MR
17672014-01-13 Martin Rudalics <rudalics@gmx.at>
1768
1769 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1770 * window.el (fit-frame-to-buffer): Fix doc-string.
1771 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1772 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1773 when avoiding that frame goes partially off-screen.
1774 (fit-window-to-buffer): Respect window-min-height/-width
1775 (Bug#14096).
1776
6ae948d8
SM
17772014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1778
1779 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1780 after an empty line.
1781
6137cb82
SM
17822014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1783
1784 * net/shr.el (shr-render-region): Autoload.
1785
e6344e17
XF
17862014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1787
1788 * net/eww.el (eww-download-directory): Rename from
1789 `eww-download-path' (Bug#16419).
1790
3b922c70
LL
17912014-01-12 Leo Liu <sdl.web@gmail.com>
1792
1793 * dired-x.el (dired-mode-map): Fix last change.
1794
1795 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1796
4fa51741
PE
17972014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1798
1799 Spelling fixes.
1800 * emacs-lisp/generic.el (generic--normalize-comments):
1801 Rename from generic--normalise-comments. All uses changed.
35e951cd 1802 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
1803 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1804 (bubbles--neighborhood-available)
1805 (bubbles--update-neighborhood-score):
1806 Rename from names with 'neighbourhood'. All uses changed.
1807
9b335362
LL
18082014-01-12 Leo Liu <sdl.web@gmail.com>
1809
1810 Re-implement the feature of showing eldoc info after editing.
1811 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1812 (eldoc-edit-message-commands): New function.
1813 (eldoc-print-after-edit): New variable.
1814 (eldoc-pre-command-refresh-echo-area): Emit message only by
1815 eldoc-message-commands.
1816 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1817 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1818 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1819 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1820
e2a095b1
GM
18212014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1822 Eric S. Raymond <esr@thyrsus.com>
9685190b 1823
841a6d0c 1824 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1825 function works correctly in either a Bazaar or Git repo.
0abf4134 1826
e2a095b1
GM
18272014-01-11 Eric S. Raymond <esr@thyrsus.com>
1828
6137cb82
SM
1829 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1830 Goes with removal of the joke manpages from /etc.
9685190b 1831
c295fc18 18322014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1833
6137cb82
SM
1834 * mail/rmail.el (rmail-get-coding-system):
1835 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1836
d2f16e93
GM
18372014-01-10 Glenn Morris <rgm@gnu.org>
1838
1839 * emacs-lisp/authors.el (authors-fixed-entries):
1840 Update for files that no longer exist.
1841
7e03bb32
ER
18422014-01-10 Eric S. Raymond <esr@thyrsus.com>
1843
1844 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1845 24.3 (Tested).
7e03bb32 1846
dd806710
BB
18472014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1848
1849 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1850 and Podfile.
1851
ed6ec139
EZ
18522014-01-10 Eli Zaretskii <eliz@gnu.org>
1853
1854 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1855
cc33cac9
CY
18562014-01-10 Chong Yidong <cyd@gnu.org>
1857
6137cb82 1858 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1859
d9d836b5
AL
18602014-01-10 Anders Lindgren <andlind@gmail.com>
1861
1862 * follow.el (follow-cache-command-list): Include right-char and
1863 left-char.
1864
06827ec8
PE
18652014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1866
1867 Spelling fixes.
1868 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1869 * woman.el (woman-mark-horizontal-position):
1870 Rename from woman-mark-horizonal-position. Use changed.
1871
458dbf5e
GM
18722014-01-10 Glenn Morris <rgm@gnu.org>
1873
dad6fae7
GM
1874 * info.el (info-initialize): If running uninstalled, ensure our
1875 own info files are always found first, even if INFOPATH is set.
1876
458dbf5e
GM
1877 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1878
05e0afce
DE
18792014-01-09 David Engster <deng@randomsample.de>
1880
1881 * emacs-lisp/eieio-custom.el:
1882 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1883 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1884 * emacs-lisp/eieio.el: Regenerate autoloads.
1885
f29778b3
ER
18862014-01-09 Eric S. Raymond <esr@thyrsus.com>
1887
1888 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1889 following renames. (Bug#8756)
f29778b3 1890
684d44ef
SM
18912014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1894 (bug#16382).
1895 (activate-mark): Add `no-tmm' argument.
1896 (set-mark, push-mark-command): Use it instead of running
1897 activate-mark-hook by hand.
1898
9475054f
ER
18992014-01-08 Eric S. Raymond <esr@thyrsus.com>
1900
1901 In preparation for the move to git, sanitize out some
1902 Bazaar-specific names.
1903
38942b9c
GM
1904 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1905
9475054f 1906 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1907 emacs-repository-version. Obsolete-variable alias made.
9475054f 1908 * loadup.el: Follow through on this name change.
a12bf61e 1909 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1910 assumption about the version control system in use.
1911
0f918d96 19122014-01-08 David Engster <deng@randomsample.de>
abb82152 1913
684d44ef
SM
1914 * help-fns.el (help-fns-describe-function-functions):
1915 New variable to call functions for augmenting help buffers.
abb82152
DE
1916 (describe-function-1): Remove explicit calls to
1917 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
1918 `help-fns--obsolete'. Put them in above new variable instead, and
1919 call them through `run-hook-with-args'.
1920 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1921 `eieio-describe-class'. Not meant for interactive use anymore,
1922 but to augment existing help buffers. Remove optional second
684d44ef
SM
1923 argument. Create proper button for file location.
1924 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
1925 possible.
1926 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1927 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
1928 (describe-method, describe-generic, eieio-describe-method):
1929 Remove aliases.
0f918d96
DE
1930 (eieio-help-constructor, eieio-help-generic): Rename from
1931 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1932 Rewrite to use `insert' in the current buffer and use proper help
1933 buttons.
1934 (eieio-help-find-method-definition)
1935 (eieio-help-find-class-definition): Also accept symbols as
1936 arguments.
1937 (eieio-help-mode-augmentation-maybee): Remove.
1938 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
1939 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1940 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 1941
136b74c5
PE
19422014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1943
1944 Spelling fixes.
1945 * language/china-util.el (hz-ascii-designation):
1946 Rename from hz-ascii-designnation.
1947 (hz-ascii-designation): Rename from hz-ascii-designnation.
1948 All uses changed.
1949
ec6c7de2
SM
19502014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1953 package-alist.
1954
d6262c7c
BG
19552014-01-08 Bastien Guerry <bzg@gnu.org>
1956
4b9e6087
GM
1957 * emacs-lisp/package.el (package-delete):
1958 Correctly delete the package from package-alist.
d6262c7c 1959
0a3eec32
DU
19602014-01-08 Daiki Ueno <ueno@gnu.org>
1961
1962 * emacs-lisp/package.el (url-recreate-url): Declare.
1963 (url-http-target-url): Declare.
4b9e6087 1964 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1965 (package--check-signature): Don't re-signal errors from
1966 package--with-work-buffer. Suggested by Stefan Monnier.
1967
68f0bb97
BG
19682014-01-07 Bastien Guerry <bzg@gnu.org>
1969
1970 * minibuffer.el (completion--try-word-completion): When both a
1971 hyphen and a space are possible candidates for the character
1972 following a word, display both candidates. (Bug#15980)
1973
7e1899d7
MR
19742014-01-07 Martin Rudalics <rudalics@gmx.at>
1975
1976 * window.el (balance-windows-2): While rounding don't give a
c295fc18 1977 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 1978
0030ec15
GM
19792014-01-07 Glenn Morris <rgm@gnu.org>
1980
1981 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1982 (menu-bar-help-menu): Use view-external-packages instead.
1983
2b6b4f20
BG
19842014-01-07 Bastien Guerry <bzg@gnu.org>
1985
1986 * emacs-lisp/package.el (package-delete): Also delete the package
1987 name from `package-alist', not its description only.
1988
e9be0a13
GM
19892014-01-07 Glenn Morris <rgm@gnu.org>
1990
1991 * help.el (view-external-packages):
1992 * menu-bar.el (menu-bar-help-extra-packages):
1993 Visit efaq.info rather than etc/MORE.STUFF.
1994
e4f74da9
JL
19952014-01-07 Juri Linkov <juri@jurta.org>
1996
1997 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1998 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1999
2000 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2001 that shadows RET. (Bug#16342)
2002
de7ce2d1
CY
20032014-01-07 Chong Yidong <cyd@gnu.org>
2004
2005 * isearch.el (isearch-yank-char, isearch-yank-word)
2006 (isearch-yank-line): Doc fix.
2007
6bdd9204
SM
20082014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2009
2010 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2011 * emacs-lisp/elint.el (elint-find-builtins):
2012 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2013 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2014 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2015 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2016 * apropos.el (apropos-safe-documentation):
2017 * subr.el (symbol-file): Remove redundant fboundp.
2018 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2019
daccca97
BG
20202014-01-06 Bastien Guerry <bzg@gnu.org>
2021
2022 * hl-line.el (global-hl-line-overlay): Make a local variable.
2023 (global-hl-line-overlays): New variable to store all overlays.
2024 (global-hl-line-mode): Don't delete overlays from the current
2025 buffer when `global-hl-line-sticky-flag' is non-nil.
2026 (global-hl-line-highlight): Add new overlays to
2027 `global-hl-line-overlays'.
2028 (global-hl-line-unhighlight-all): New function to delete all
2029 overlays when turning off `global-hl-line-mode'.
2030 This fixes Bug#16183.
2031
ec00f20f
SM
20322014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * subr.el (set-transient-map): Fix nested case and docstring.
2035
a0031f97
TH
20362014-01-06 Tassilo Horn <tsdh@gnu.org>
2037
2038 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2039 `Texinfo' entry.
2040
bf6a77f3
DC
20412014-01-06 Daniel Colascione <dancol@dancol.org>
2042
2043 Fix defun navigation in vc log view.
2044
2045 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2046 like `beginning-of-defun'.
c295fc18 2047 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2048 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2049 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2050 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2051 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2052
d5081c1e
PE
20532014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2054
2055 Spelling fixes.
2056 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2057 * emacs-lisp/debug.el (cancel-debug-on-entry):
2058 * epg.el (epg-error-to-string):
2059 * files.el (recover-file):
2060 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2061 * mail/emacsbug.el (report-emacs-bug-hook):
2062 * mail/sendmail.el (mail-recover):
2063 * ses.el (ses-yank-resize):
2064 * term/ns-win.el (ns-print-buffer):
2065 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2066 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2067 All uses changed.
2068 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2069
53f6b148
LL
20702014-01-06 Leo Liu <sdl.web@gmail.com>
2071
2072 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2073 to avoid shadowing global key. (Bug#16354)
53f6b148 2074
b82ace2f
DC
20752014-01-06 Daniel Colascione <dancol@dancol.org>
2076
2077 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2078 rst-mode.
2079
3669b636
MR
20802014-01-05 Martin Rudalics <rudalics@gmx.at>
2081
2082 * window.el (balance-windows): Add mising t to fix Bug#16351.
2083
1a29adc2
LMI
20842014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2085
2086 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2087 (bug#16285).
3d95a0f4
LMI
2088 (shr-insert): If we have a word that's longer than `shr-width',
2089 break after it anyway. Otherwise we'll do no breaking once we get
2090 such a long word.
1a29adc2 2091
f4018140
KN
20922014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2093
3fcfc4ee 2094 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2095 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2096 (eww-history-quit): Delete and use quit-window.
2097 (eww-history-kill): Delete, because it doesn't work well and
2098 not necessary.
2099 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2100
4e619754
PE
21012014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2102
73dbf960
PE
2103 Fix misspelling of 'chinese' in rx (Bug#16237).
2104 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2105 chinese-two-byte.
2106
4e619754
PE
2107 Change subword regexps back to vars (Bug#16296).
2108 * progmodes/subword.el (subword-forward-regexp)
2109 (subword-backward-regexp): Change these back to variables.
2110
e18b70fc
SM
21112014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2114 syntax-begin-function (bug#16247).
2115
0d53f628
CY
21162014-01-03 Chong Yidong <cyd@gnu.org>
2117
2118 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2119 (advice--docstring): Delete variable.
2120 (advice--make-1): Leave the docstring empty.
2121 (advice-add): Use function-documentation for advised docstring.
2122
2123 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2124 Ignore function-documentation property when getting documentation.
2125 (ad-activate-advised-definition): Use function-documentation
2126 generate the docstring.
2127 (ad-make-advised-definition): Don't call
2128 ad-make-advised-definition-docstring.
2129 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2130 Delete functions.
2131
2132 * progmodes/sql.el (sql-help): Use function-documentation instead
2133 of dynamic-docstring-function property. No need to autoload now.
2134 (sql--help-docstring): New variable.
2135 (sql--make-help-docstring): Use it.
2136
6f547583
SM
21372014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2138
6ef9aed8
SM
2139 * ielm.el (ielm-tab): Retarget.
2140 (ielm-map): Use ielm-tab for tab.
2141 (ielm-complete-filename): Use comint-filename-completion.
2142 (ielm-complete-symbol): Remove.
2143 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2144 remove ielm-tab from completion-at-point-functions (bug#16224).
2145
6f547583
SM
2146 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2147 Beware signals raised by predicates (bug#16201).
2148
a574edbe
RS
21492014-01-02 Richard Stallman <rms@gnu.org>
2150
e831604d
RS
2151 * dired-aux.el (dired-do-print): Handle printer-name.
2152
6f547583
SM
2153 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2154 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2155 (rmail-epa-decrypt): Turn off mime processing.
2156
3fcfc4ee 2157 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2158 Add parens in message-id.
2159
2160 * mail/rmail.el (rmail-get-coding-function): Variable.
2161 (rmail-get-coding-system): Use it.
2162
04311a16
KH
21632013-12-31 Eli Zaretskii <eliz@gnu.org>
2164
2165 * international/mule-conf.el: Unify the charset indian-is13194.
2166 (indian-is13194): Specify unify-map.
2167
c8d89778
LL
21682013-12-31 Leo Liu <sdl.web@gmail.com>
2169
2170 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2171
e63ace37
DC
21722013-12-30 Daniel Colascione <dancol@dancol.org>
2173
9e0bf19a
DC
2174 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2175 of printing a useless when we resume from sleep.
2176
e63ace37 2177 * progmodes/sh-script.el
c295fc18 2178 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2179 in indentation code. (Bug#16233)
2180
e9d6c46a
JT
21812013-12-28 João Távora <joaotavora@gmail.com>
2182
6f547583
SM
2183 * elec-pair.el (electric-pair-post-self-insert-function):
2184 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2185
bf7bea5d
EZ
21862013-12-28 Eli Zaretskii <eliz@gnu.org>
2187
2188 * frame.el (window-system-for-display): Don't allow to create a
2189 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2190
8449dd1f
GM
21912013-12-28 Glenn Morris <rgm@gnu.org>
2192
9c5a5c77
GM
2193 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2194 Update callers.
2195
2196 * apropos.el (apropos-match-face):
2197 * calculator.el (calculator-displayer):
2198 * dabbrev.el (dabbrev-search-these-buffers-only):
2199 * face-remap.el (buffer-face-mode-face):
2200 * simple.el (yank-handled-properties):
2201 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2202 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2203 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2204 (hashcash-double-spend-database):
2205 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2206 (ruby-deep-indent-paren-style):
2207 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2208 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2209 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2210 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2211 Specify custom types.
2212
bb098075
GM
2213 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2214 * bookmark.el (bookmark-bmenu-use-header-line):
2215 * doc-view.el (doc-view-scale-internally):
2216 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2217 * register.el (register-preview-delay):
2218 * net/shr.el (shr-bullet):
2219 * progmodes/cfengine.el (cfengine-cf-promises)
2220 (cfengine-parameters-indent):
2221 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2222 * textmodes/reftex-vars.el (reftex-label-regexps):
2223 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2224
9c61f806
GM
2225 * net/tls.el (tls-certtool-program): Fix default value.
2226
2227 * desktop.el (desktop-restore-in-current-display):
2228 * newcomment.el (comment-empty-lines):
2229 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2230 (idlwave-pad-keyword):
2231 * progmodes/tcl.el (tcl-tab-always-indent):
2232 * textmodes/reftex-vars.el (reftex-index-default-tag):
2233 * elec-pair.el (electric-pair-skip-whitespace):
2234 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2235
8449dd1f
GM
2236 * emacs-lisp/authors.el (authors-ignored-files)
2237 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2238
fdadeb49
JC
22392013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2240
72140a0f
GM
2241 * shell.el (shell-dynamic-complete-command): Doc fix.
2242 (shell--command-completion-data): Shell completion now matches
2243 executable filenames from the current buffer's directory, on
da5ecfa9 2244 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2245
e572a7d8
LI
22462013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2247
2248 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2249
7514d3f8
SM
22502013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2251
a4151f3b
SM
2252 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2253 (bug#16251).
2254
7514d3f8
SM
2255 * electric.el: Move all electric-pair-* to elec-pair.el.
2256 * elec-pair.el: New file, split from electric.el.
2257
ac5758d1
LI
22582013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2259
2260 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2261 indentation level is larger than the width, because that will
2262 infloop.
2263 (shr-insert): Fill repeatedly long texts, so that Japanese is
2264 formatted correctly (bug#16263).
24a6b65e
LI
2265 (shr-find-fill-point): Off by one error in comparison with the
2266 indentation.
ac5758d1 2267
7514d3f8 22682013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2269
2270 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2271 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2272 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2273 if that keeps or improves their balance in buffers.
2274 (electric-pair-delete-adjacent-pairs): Delete the pair when
2275 backspacing over adjacent matched delimiters.
2276 (electric-pair-open-extra-newline): Open extra newline when
2277 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2278 (electric--sort-post-self-insertion-hook):
2279 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2280 minor-modes are activated.
2281 * simple.el (newline-and-indent): Call newline with interactive
2282 set to t.
2283 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2284 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2285 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2286 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2287 electric-pair-open-newline-between-pairs to nil.
2288
fbcc63a3
FEG
22892013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2290
2291 * progmodes/python.el: Use lexical-binding.
2292 (python-nav-beginning-of-defun): Stop searching ASAP.
2293
ed78d16c
XF
22942013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2295
2296 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2297 Fix interactive spec. Doc fix. (Bug#15754)
2298
38b2c142
KY
22992013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2300
2301 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2302 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2303 Fix edebug spec (bug#16184).
2304
3c856c14
LI
23052013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2306
83fa295c 2307 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2308 (shr-insert): Don't infloop if we can't find a good place to break
2309 the line (bug#16256).
3c856c14 2310
01379221
FEG
23112013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2312
35e951cd 2313 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2314 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2315 python-nav-lisp-forward-sexp-safe.
2316 (python-nav--forward-sexp): New argument SAFE allows switching
2317 forward sexp movement behavior for parens.
2318 (python-nav-forward-sexp): Throw errors on unterminated parens
2319 (Bug#16191).
2320 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2321 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2322 (python-shell-buffer-substring):
2323 Use `python-nav-forward-sexp-safe'.
01379221 2324
99e4926f
LI
23252013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2326
2327 * net/shr.el (shr-find-fill-point): Don't break lines before a
2328 quotation mark.
c6c20584
LI
2329 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2330 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2331 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2332
fec0e828
KN
23332013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2334
2335 * net/eww.el (eww-form-textarea): Use a different face for
2336 textareas than text input since they have different keymaps
2337 (bug#16142).
2338
89c868ad
FEG
23392013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2340
7514d3f8
SM
2341 * progmodes/python.el (python-nav-beginning-of-statement):
2342 Speed up (Bug#15295).
89c868ad 2343
eeef121a
LI
23442013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2345
2346 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2347 the window configuration.
2348
121ea65f
EZ
23492013-12-24 Eli Zaretskii <eliz@gnu.org>
2350
2351 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2352 we run on MS-Windows or MS-DOS.
2353
18cee9ec
MR
23542013-12-24 Martin Rudalics <rudalics@gmx.at>
2355
2356 * window.el (balance-windows-area): Call window-size instead of
2357 window-height and window-width. Bug#16241.
2358
58f2b9a5
LI
23592013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2360
2361 * net/eww.el (eww-bookmark-quit): Remove.
2362 (eww-bookmark-browse): Restore the window configuration when you
2363 choose a bookmark (bug#16144).
2364
d64b6308
DC
23652013-12-24 Daniel Colascione <dancol@dancol.org>
2366
2367 * icomplete.el: Remove redundant :group arguments to `defcustom'
2368 throughout.
2369 (icomplete-show-matches-on-no-input): New customizable variable.
2370 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2371 we have something to show.
7514d3f8 2372 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2373
0da54898
DC
23742013-12-23 Daniel Colascione <dancol@dancol.org>
2375
2376 * icomplete.el: Move `provide' to end of file.
2377
b90aa4f4
TZ
23782013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2379
2380 * net/gnutls.el (gnutls-verify-error): Add version tag.
2381
8cd22a08
CY
23822013-12-23 Chong Yidong <cyd@gnu.org>
2383
2384 * subr.el (set-transient-map): Rename from
2385 set-temporary-overlay-map. Doc fix.
2386
2387 * face-remap.el (text-scale-adjust):
2388 * indent.el (indent-rigidly):
2389 * kmacro.el (kmacro-call-macro):
2390 * minibuffer.el (minibuffer-force-complete):
2391 * repeat.el (repeat):
2392 * simple.el (universal-argument--mode):
2393 * calendar/todo-mode.el (todo-insert-item--next-param):
2394 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2395
7510b021
CY
2396 * indent.el (indent-rigidly): Use substitute-command-keys.
2397
72140a0f 23982013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2399
2400 * net/eww.el (eww-tag-select): Add text-property to jump to next
2401 select field.
e9dc713d 2402 (eww): Add non-supported ftp error.
56890ecd 2403
1f87a56c
DG
24042013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2405
2406 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2407 comments. Handle electric indent after typing `?' and `!'.
2408
dca38cf9
CY
24092013-12-22 Chong Yidong <cyd@gnu.org>
2410
2411 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2412 applicable to a frame, fall back on the defface spec.
2413 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2414
f2351498
DG
24152013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2416
2417 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2418 after `{'. We need it after block openers, and it doesn't seem
2419 to hurt after hash openers.
2420
6cddebc1
DG
24212013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2422
2423 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2424 extracted from `ruby-smie-rules'.
2425 (ruby--electric-indent-chars): New variable.
2426 (ruby--electric-indent-p): New function.
2427 (ruby-mode): Use `electric-indent-functions' instead of
2428 `electric-indent-chars'.
2429
65a1da00
DG
24302013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2431
2432 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2433 docstring.
2434 (ruby-smie-rules): Indent plus one level after `=>'.
2435
b51ad4cf
RS
24362013-12-21 Richard Stallman <rms@gnu.org>
2437
2438 * simple.el (newline): Doc fix.
2439
72140a0f 24402013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2441
e9dc713d 2442 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2443 (eww-history-browse, eww-history-quit, eww-history-kill)
2444 (eww-history-mode-map, eww-history-mode): New command and
2445 functions to list browser histories.
e9dc713d
JB
2446 (eww-form-text): Support text form with disabled
2447 and readonly attributes.
2448 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2449
5e1901c1
RS
24502013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2451
2452 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2453 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2454 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2455 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2456 Use `user-error'.
2457 (eww-bookmark-mode-map): Add menu.
2458 (eww-render, eww-mode): Use `setq-local'.
2459 (eww-tool-bar-map): New variable.
2460 (eww-mode): Set `tool-bar-map'.
2461 (eww-view-source): Check for `html-mode' with `fboundp'.
2462
073d5cfd
LMI
24632013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2464
2465 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2466 elements with text inside. Also remove debugging.
2467
41cf3d11
JD
24682013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2469
2470 * cus-start.el (all): Add ns-use-srgb-colorspace.
2471
aac2b673
CY
24722013-12-21 Chong Yidong <cyd@gnu.org>
2473
2474 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2475 undefined. Thus, theme settings for undefined faces do not take
2476 effect until the faces are defined with defface, the same as with
2477 theme variables.
2478
2479 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2480 (face-spec-reset-face): Don't assign extra properties in temacs.
2481 (face-spec-recalc): Apply X resources too.
2482
bacb0e77
CY
24832013-12-21 Chong Yidong <cyd@gnu.org>
2484
2485 * faces.el (face-spec-set):
2486 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2487 * custom.el (defface): Doc fixes (Bug#16203).
2488
77221051
CY
2489 * indent.el (indent-rigidly-map): Add docstring, and move commands
2490 into named functions.
2491 (indent-rigidly-left, indent-rigidly-right)
2492 (indent-rigidly-left-to-tab-stop)
2493 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2494 indentation direction based on bidi direction, and accumulate
2495 sequential commands in a single undo boundary.
2496 (indent-rigidly--pop-undo): New utility function.
2497
e0eb0550
JB
24982013-12-20 Juanma Barranquero <lekktu@gmail.com>
2499
2500 * faces.el (read-face-name): Require crm.el when using crm-separator.
2501
3282bd2e
DC
25022013-12-20 Daniel Colascione <dancol@dancol.org>
2503
2504 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2505 so that we don't reflow comments into the shebang line.
2506
1d42e5b6
JL
25072013-12-20 Juri Linkov <juri@jurta.org>
2508
2509 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2510 a position when `dired-directory' is non-nil. Check integer
2511 positions with `integerp'.
2512 (toggle-save-place, save-places-to-alist): Add check for
2513 `dired-directory'.
2514 (save-place-find-file-hook): Check integer positions with
2515 `integerp'.
2516 (save-place-dired-hook): Use `dired-goto-file' when
2517 `dired-filename' is found in the assoc list. Check integer
2518 positions with `integerp'.
2519 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2520
2521 * dired.el (dired-initial-position-hook): Rename back from
2522 `dired-initial-point-hook'.
2523 (dired-initial-position): Rename `dired-initial-point-hook' to
2524 `dired-initial-position-hook'.
2525 (dired-file-name-at-point): Doc fix. (Bug#15329)
2526
24da7273
JL
25272013-12-20 Juri Linkov <juri@jurta.org>
2528
2529 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2530 (read-regexp-suggestions): New function.
2531 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2532 Use `read-regexp-suggestions'. Add non-empty default to history
2533 for empty input.
2534 (occur-read-regexp-defaults-function): Remove function.
2535 (occur-read-primary-args): Use `regexp-history-last' instead of
2536 `occur-read-regexp-defaults-function'.
2537
2538 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2539 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2540 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2541 `hi-lock-read-regexp-defaults-function'. Doc fix.
2542 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2543 with `find-tag-default-as-symbol-regexp'. Doc fix.
2544 (hi-lock-read-regexp-defaults): Remove function.
2545 (hi-lock-regexp-okay): Add check for null.
2546
2547 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2548 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2549
2550 * subr.el (find-tag-default-as-symbol-regexp): New function.
2551 (find-tag-default-as-regexp): Move symbol regexp formatting to
2552 `find-tag-default-as-symbol-regexp'.
2553
137f57c8
S
25542013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2555
2556 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2557 (Bug#14179)
2558
f3a66082
SB
25592013-12-20 Stephen Berman <stephen.berman@gmx.net>
2560
2561 * calendar/todo-mode.el: New implementation of item insertion
2562 commands and key bindings.
2563 (todo-key-prompt): New face.
2564 (todo-insert-item): New command.
2565 (todo-insert-item--parameters): New defconst, replacing defvar
2566 todo-insertion-commands-args-genlist.
2567 (todo-insert-item--param-key-alist): New defconst, replacing
2568 defvar todo-insertion-commands-arg-key-list.
2569 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2570 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2571 (todo-insert-item--next-param): New functions.
2572 (todo-insert-item--args, todo-insert-item--argleft)
2573 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2574 New variables.
2575 (todo-key-bindings-t): Change binding of "i" from
2576 todo-insertion-map to todo-insert-item.
2577 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2578 (todo-insertion-command-name, todo-insertion-commands-names)
2579 (todo-define-insertion-command, todo-insertion-commands)
2580 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2581
2f99433b
SB
25822013-12-20 Stephen Berman <stephen.berman@gmx.net>
2583
2584 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2585 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2586 eval-when-compile.
2587 (todo-move-category): Allow choosing a non-existing todo file to
2588 move the category to, and create that file.
2589 (todo-default-priority): New user option.
2590 (todo-set-item-priority): Use it.
2591 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2592 (desktop-restore-file-buffer): Declare.
2593 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2594 (todo-modes-set-2): Locally set desktop-save-buffer to
2595 todo-desktop-save-buffer.
2596 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2597 (auto-mode-alist): Add autoload cookie.
2598
131e4695
BB
25992013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2600
2601 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2602 helpers.el was a poor choice of name.
3cbfb935
BB
2603 (string-remove-prefix): New function.
2604 (string-remove-suffix): New function.
131e4695 2605
c44de18d
MR
26062013-12-20 Martin Rudalics <rudalics@gmx.at>
2607
2608 Fix assignment for new window total sizes.
2609 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2610 (window--pixel-to-total-1, window--pixel-to-total):
2611 Fix calculation of new total sizes.
c44de18d 2612
ca65efcc
VS
26132013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2614
2615 * comint.el (comint-output-filter): Fix rear-nonsticky property
2616 placement (Bug#16010).
2617
a9574eb7
CY
26182013-12-20 Chong Yidong <cyd@gnu.org>
2619
2620 * faces.el (read-color): Minor fix for completion function.
2621
b520f210
DG
26222013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2623
e0eb0550
JB
2624 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2625 New option. (Bug#16182)
b520f210
DG
2626 (ruby-smie--indent-to-stmt-p): Use it.
2627 (ruby-smie-rules): Revert the logic in the handling of `when'.
2628 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2629 (ruby-deep-arglist, ruby-deep-indent-paren)
2630 (ruby-deep-indent-paren-style): Update docstrings to note that the
2631 vars don't have any effect with SMIE.
2632
26b75b45
JB
26332013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2634
2635 * calc/calc.el (calc-enter, calc-pop): Use the variable
2636 `calc-context-sensitive-enter'.
2637
cf91cee7
LMI
26382013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2639
2640 * net/shr.el (shr-insert): Protect against infloops in degenerate
2641 tables.
2642
51d971b4
RS
26432013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2644
2645 * progmodes/octave.el (octave): Add link to manual and octave
2646 homepage.
2647 (octave-mode-menu): Link to octave-mode manual.
2648
8c2e462a
LL
26492013-12-20 Leo Liu <sdl.web@gmail.com>
2650
2651 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2652 insertion using skeleton-end-newline. (Bug#16138)
2653
501158bc
JL
26542013-12-20 Juri Linkov <juri@jurta.org>
2655
2656 * replace.el (occur-engine): Use `add-face-text-property'
2657 to add the face property to matches and titles. (Bug#14645)
2658
2659 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2660 the palette of other hi-lock colors.
2661 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2662
50ab1da6
JL
26632013-12-19 Juri Linkov <juri@jurta.org>
2664
2665 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2666 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2667 (minibuffer-history-symbol): Move variable declaration closer to
2668 its usage.
2669
2670 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2671 (Bug#14785)
2672
3d6e95e7
JL
26732013-12-19 Juri Linkov <juri@jurta.org>
2674
2675 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2676 New function.
2677 (log-edit-hook): Add it to :options. (Bug#16170)
2678
b41594fd
JL
26792013-12-19 Juri Linkov <juri@jurta.org>
2680
2681 * simple.el (eval-expression-print-format): Don't check for
2682 command names and the last command. Always display additional
2683 formats of the integer result in the echo area, and insert them
2684 to the current buffer only with a zero prefix arg.
2685 Display character when char-displayable-p is non-nil.
2686 (eval-expression): With a zero prefix arg, set `print-length' and
2687 `print-level' to nil, and insert the integer values from
2688 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2689
2690 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2691 `eval-last-sexp-arg-internal'. Doc fix.
2692 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2693 `eval-last-sexp-print-value'. Doc fix.
2694 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2695 Set `print-length' and `print-level' to nil when arg is zero.
2696 (eval-last-sexp): Doc fix.
2697 (eval-defun-2): Print the integer values from
2698 `eval-expression-print-format' at the end.
2699
2700 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2701 values from `eval-expression-print-format' at the end.
2702
2703 * ielm.el (ielm-eval-input): Print the integer
2704 values from `eval-expression-print-format' at the end.
2705
8f2be364
TZ
27062013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2707
2708 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2709 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2710
2230a6e3
SM
27112013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2714 (hl-line-highlight, global-hl-line-highlight): Use it.
2715 (hl-line-overlay): Use defvar-local.
2716
1269a680
JD
27172013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2718
2719 * term/ns-win.el: Require dnd.
2720 (global-map): Remove drag items.
2721 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2722 (ns-set-background-at-mouse):
2723 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2724 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2725 New functions.
1269a680 2726
049638ad
GM
27272013-12-19 Glenn Morris <rgm@gnu.org>
2728
2729 * emacs-lisp/ert.el (ert-select-tests):
2730 Fix string/symbol mixup. (Bug#16121)
2731
ce41edb4
DG
27322013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2733
2734 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2735 keywords to their parent.
2736
7e1549c9
DG
27372013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2738
2739 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2740 first arg to be a string (fixed dead code), or an operator symbol.
2741 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2742 operator symbols.
2743 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2744 did nothing. Don't respond to `(:after ".")', it will be called
2745 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2746 change anything. Only return indentation for binary operators
2747 when they are hanging. De-dent opening paren when its parent is
2748 `.', otherwise it looks bad when the dot is not at bol or eol
2749 (bug#16182).
2750
3ee4cd64
JL
27512013-12-19 Juri Linkov <juri@jurta.org>
2752
2753 * replace.el (query-replace-read-args): Split a non-negative arg
2754 and a negative arg into separate elements.
2755 (query-replace, query-replace-regexp, replace-string)
2756 (replace-regexp): Add arg `backward'. Doc fix.
2757 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2758 move point to the beginning of the match.
2759 (replace-search, replace-highlight): Use new arg `backward'
2760 to set the value of `isearch-forward'.
2761 (perform-replace): Add arg `backward' and use it to perform
2762 replacement backward. (Bug#14979)
2763
2764 * isearch.el (isearch-query-replace): Use a negative prefix arg
2765 to call `perform-replace' with a non-nil arg `backward'.
2766
0cda6b7b
JL
27672013-12-18 Juri Linkov <juri@jurta.org>
2768
2769 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2770 to the default list. Move `log-edit-show-files' to the end.
2771 Add more available functions to options.
2772 (log-edit): Move default specific settings to
2773 `log-edit-insert-message-template'. Don't move point.
2774 (log-edit-insert-message-template): New function.
2775 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2776 (Bug#16170)
2777
b216f0a6
JL
27782013-12-18 Juri Linkov <juri@jurta.org>
2779
2780 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2781 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2782
1d1c55dc
LL
27832013-12-18 Leo Liu <sdl.web@gmail.com>
2784
e9dc713d
JB
2785 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2786 (Bug#16186)
1d1c55dc 2787
64e4c76e
EZ
27882013-12-18 Eli Zaretskii <eliz@gnu.org>
2789
2790 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2791 formats for displaying file sizes when the -s switch is given.
2792 Instead, compute a separate format for displaying the size in
2793 blocks, which is displayed in addition to the "regular" size.
2794 When -h is given in addition to -s, produce size in blocks in
2795 human-readable form as well. (Bug#16179)
2796
b2984e39
TH
27972013-12-18 Tassilo Horn <tsdh@gnu.org>
2798
2230a6e3
SM
2799 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2800 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2801
50ff2e06
CY
28022013-12-18 Chong Yidong <cyd@gnu.org>
2803
0081bc84
CY
2804 * cus-edit.el (custom-magic-alist): Fix "themed" description
2805 (Bug#14348).
2806
a7ee9424
CY
2807 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2808 is non-nil, do not create a new entry in the symbol's theme-value
2809 or theme-face property; update theme-settings only (Bug#14664).
18874304 2810 (custom-available-themes): Doc fix.
a7ee9424 2811
8f942537
CY
2812 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2813 (Bug#15674).
2814
50ff2e06
CY
2815 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2816
83c60f60
KI
28172013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2818
2819 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2820 (Bug#13914).
2821
e0eb0550 28222013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2823
2824 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2825
1f41ee56
GM
28262013-12-18 Glenn Morris <rgm@gnu.org>
2827
2828 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2829 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2830
e82134b1
LW
28312013-12-18 Le Wang <l26wang@gmail.com>
2832
2230a6e3
SM
2833 * comint.el (comint-previous-matching-input-from-input):
2834 Retain point (Bug#13404).
e82134b1 2835
33f5d4c1
CY
28362013-12-18 Chong Yidong <cyd@gnu.org>
2837
2838 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2839
ccc9f6dc
GM
28402013-12-18 Glenn Morris <rgm@gnu.org>
2841
2842 * mail/emacsbug.el (report-emacs-bug):
2843 Only mention enable-multibyte-characters if non-standard.
2844
33dd8e95
JL
28452013-12-17 Juri Linkov <juri@jurta.org>
2846
2847 * arc-mode.el (archive-extract-by-file): Check if directory exists
2848 before deletion to not show irrelevant errors if it doesn't exist.
2849
7a409b30
JL
28502013-12-17 Juri Linkov <juri@jurta.org>
2851
2852 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2853 (Bug#14751)
2854
2855 * net/eww.el (browse-web): Add alias to `eww'.
2856 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2857 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2858
2859 * net/browse-url.el (browse-url-browser-function): Move `eww'
2860 closer to similar functions.
2861
2862 * startup.el (fancy-startup-screen, fancy-about-screen):
2863 Set browse-url-browser-function to eww-browse-url locally.
2864 (Bug#14751)
2865
2d6b6005
SM
28662013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * window.el (window--pixel-to-total): Remove unused `mini' var.
2869 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2870 (split-window): Remove unused `new' var.
2871 (window--display-buffer): Remove unused `frame' and `delta' vars.
2872 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2873 and display-width'.
2874
cf2b7efc
MR
28752013-12-17 Martin Rudalics <rudalics@gmx.at>
2876
2877 * dired.el (dired-mark-pop-up):
2878 * register.el (register-preview): Don't bind
2879 split-height-threshold here since it's now done in
2880 display-buffer-below-selected.
2881
ed3af8a7 28822013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2883
2884 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2885 xterm-rgb-convert-to-16bit.
2886 (rxvt-register-default-colors): Standardize with
2887 xterm-register-default-colors (Bug#14078).
2888
76da3455
DK
28892013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2890
2891 * simple.el (kill-region): Pass mark first, then point, so that
2892 kill-append works right (Bug#12819).
2893 (copy-region-as-kill, kill-ring-save): Likewise.
2894
2b84d763
LL
28952013-12-17 Leo Liu <sdl.web@gmail.com>
2896
2897 * net/rcirc.el (rcirc-add-face):
2898 * eshell/em-prompt.el (eshell-emit-prompt):
2899 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2900 (Bug#16167)
2901
e2f6a0bc
CY
29022013-12-17 Chong Yidong <cyd@gnu.org>
2903
2904 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2905 Suggested by Xue Fuqiao.
2906
35b249a6
DG
29072013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2908
2909 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2910
e9145444
SM
29112013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * net/shr.el (shr-insert-document): Remove unused var
2914 `shr-preliminary-table-render'.
2915 (shr-rescale-image): Remove unused arg `force'.
2916 (shr-put-image): Update calls accordingly.
2917 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2918
5556c0ce
DG
29192013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2920
2921 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2922 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2923 :close-all, to see which indentation method to use (Bug#16116).
2924 (smie-rules-function): Document the method :close-all.
2925
11bade0a
LMI
29262013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2927
1c4b1e61
LMI
2928 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2929
11bade0a
LMI
2930 * net/eww.el (eww-display-html): If we can't find the anchor we're
2931 looking for, then go to point-min.
2932
8fb8c4f3
PE
29332013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2934
2935 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2936 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2937 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2938 Expand dir too, in case it's relative.
2939
6c8e0ae6
JL
29402013-12-16 Juri Linkov <juri@jurta.org>
2941
2942 * desktop.el (desktop-auto-save-timeout): Change default to
2943 `auto-save-timeout'. Doc fix.
2944 (desktop-save): Skip the timestamp in desktop-saved-frameset
2945 when checking for auto-save changes.
2946 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2947 `desktop-auto-save' is called repeatedly by the idle timer.
2948 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2949 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2950 (Bug#15331)
2951
2178e858
JL
29522013-12-16 Juri Linkov <juri@jurta.org>
2953
2954 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2955 (Bug#16035)
2956 (isearch-pre-command-hook): Check `this-command' for symbolp.
2957
39cb42c6
SM
29582013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2959
2960 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2961
5b9b750a
TZ
29622013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2963
2964 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2965 (cfengine3--current-function): Bring in the current-function
2966 functionality from `cfengine3--current-word'.
2967 (cfengine3-completion-function): Bring in the
2968 bounds-of-current-word functionality from
2969 `cfengine3--current-word'.
2970
d144ef06
MR
29712013-12-16 Martin Rudalics <rudalics@gmx.at>
2972
39cb42c6
SM
2973 * window.el (display-buffer-below-selected):
2974 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2975
a8bbe298
LL
29762013-12-16 Leo Liu <sdl.web@gmail.com>
2977
2978 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2979 Remove NOMSG arg and all uses changed.
2980
2013a2f9
SM
29812013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2984 (cua--deactivate-rectangle): Don't deactivate the mark.
2985 (cua-set-rectangle-mark): Don't set mark-active since
2986 cua--activate-rectangle already does it for us.
2987 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2988 non-rectangular region.
2989
2990 * emulation/cua-base.el (cua-repeat-replace-region):
2991 Use with-current-buffer.
2992
2993 * net/gnutls.el: Use cl-lib.
2994 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2995
5ae811dd
TZ
29962013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2997
2998 * emacs-lisp/package.el (package-built-in-p): Support both
2999 built-in and the package.el converted package descriptions.
3000 (package-show-package-list): Allow keywords.
3001 (package-keyword-button-action): Use it instead of
3002 `finder-list-matches'.
3003 (package-menu-filter-interactive): Interactive filtering (by
3004 keyword) function.
3005 (package-menu--generate): Support keywords and change keymappings
3006 and headers when they are given.
3007 (package--has-keyword-p): Helper function.
3008 (package-menu--refresh): Use it.
3009 (package--mapc): Helper function.
3010 (package-all-keywords): Use it.
3011 (package-menu-mode-map): Set up menu items and keybindings to
3012 provide a filtering UI.
3013
31b4827e
TZ
30142013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3015
3016 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3017 the behavior when a certificate fails validation. Defaults to
3018 old behavior: never abort, just warn.
3019 (gnutls-negotiate): Use it.
3020
f93cc74f
MR
30212013-12-14 Martin Rudalics <rudalics@gmx.at>
3022
3023 * window.el (display-buffer-below-selected): Never split window
3024 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3025
f77d7d17
TW
30262013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3027
3028 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3029 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3030
7514d3f8
SM
30312013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3032
aa2bddd7 3033 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3034 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3035
276bc333
DG
30362013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3037
3038 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3039 open-paren tokens when preceded by a open-paren, too.
3040 (ruby-smie-rules): Handle virtual indentation after open-paren
3041 tokens specially. If there is code between it and eol, return the
3042 column where is starts (Bug#16118).
3043
d43957f3
TZ
30442013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3045
a5c1ac0c 3046 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3047 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3048 (cfengine3--current-word): Fix parameters.
3049 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3050 (cfengine3-completion-function, cfengine3--current-function):
3051 Use `assq' for symbols.
d43957f3
TZ
3052 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3053
06a4f110
GM
30542013-12-13 Glenn Morris <rgm@gnu.org>
3055
3056 * loadup.el (load-path): Warn if site-load or site-init changes it.
3057 No more need to reset it when bootstrapping.
3058
978a5fda
TZ
30592013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3060
3061 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3062 locations for cf-promises.
3063 (cfengine-mode-syntax-functions-regex): New caching variable.
3064 (cfengine3-fallback-syntax): Fallback syntax for cases where
3065 cf-promises doesn't run.
3066 (cfengine3--current-word): Reimplement using
3067 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3068 (cfengine3-completion-function, cfengine3--current-function):
3069 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3070 (cfengine3-clear-syntax-cache): New function.
3071 (cfengine3-make-syntax-cache): Simplify and create
3072 `cfengine-mode-syntax-functions-regex' on demand.
3073 (cfengine3-format-function-docstring): Don't call
3074 `cfengine3-make-syntax-cache' explicitly.
3075
71e6691e
MR
30762013-12-13 Martin Rudalics <rudalics@gmx.at>
3077
3078 Fix windmove-find-other-window broken after pixelwise resizing
3079 (Bug#16017).
3080 * windmove.el (windmove-other-window-loc): Revert change from
3081 2013-12-04.
3082 (windmove-find-other-window): Call window-in-direction.
3083 * window.el (window-in-direction): New arguments SIGN, WRAP and
3084 MINI to emulate original windmove-find-other-window behavior.
3085
84c73ba0
DG
30862013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3087
3088 * simple.el (blink-matching--overlay): New variable.
3089 (blink-matching-open): Instead of moving point, highlight the
3090 matching paren with an overlay
3091 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3092
3093 * faces.el (paren-showing-faces, show-paren-match)
3094 (show-paren-mismatch): Move from paren.el.
3095
b9e20952
LL
30962013-12-13 Leo Liu <sdl.web@gmail.com>
3097
3098 * indent.el (indent-region): Disable progress reporter in
3099 minibuffer. (Bug#16108)
3100
3101 * bindings.el (visual-order-cursor-movement): Fix version.
3102
ce030451
FEG
31032013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3104
3105 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3106 Also match after beginning of line.
3107 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3108 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3109
4a9c6865
JL
31102013-12-13 Juri Linkov <juri@jurta.org>
3111
3112 * simple.el <Keypad support>: Remove key bindings duplicated
3113 with bindings.el. (Bug#14397)
3114
2bc170c3
JL
31152013-12-13 Juri Linkov <juri@jurta.org>
3116
3117 * comint.el (comint-mode-map): Replace `delete-char' with
3118 `delete-forward-char'. (Bug#16109)
3119
bc9222c9
FEG
31202013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3121
aa2bddd7 3122 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3123 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3124
cb3a1380
SM
31252013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3128 (advice--make): Pay attention to `depth'.
3129 (advice--make-1): Don't autoload commands eagerly.
3130 * emacs-lisp/elp.el (elp-instrument-function):
3131 * emacs-lisp/trace.el (trace-function-internal):
3132 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3133
3134 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3135
01633a17
EZ
31362013-12-12 Eli Zaretskii <eliz@gnu.org>
3137
3138 * term/w32-win.el (w32-handle-dropped-file):
3139 * startup.el (normal-top-level):
3140 * net/browse-url.el (browse-url-file-url):
3141 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3142 decode file names using 'utf-8' rather than
3143 file-name-coding-system.
3144
09faee72
FEG
31452013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3146
3147 * progmodes/python.el (python-indent-context)
3148 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3149 behavior for comment blocks. (Bug#15916)
09faee72 3150
f4f84024 31512013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3152
cb3a1380
SM
3153 * progmodes/python.el (python-indent-calculate-indentation):
3154 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3155 operators when they are just string constituents. (Bug#15812)
3156
d5ccb7be
JL
31572013-12-12 Juri Linkov <juri@jurta.org>
3158
3159 * uniquify.el (uniquify-buffer-name-style): Change default to
3160 `post-forward-angle-brackets'.
3161
3162 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3163 `uniquify'. Change default to `post-forward-angle-brackets'.
3164
7b3f5679
GM
31652013-12-11 Glenn Morris <rgm@gnu.org>
3166
3167 * emacs-lisp/package.el (finder-list-matches):
3168 Autoload rather than falsely declaring.
3169
f4fe8fdd
TZ
31702013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3171
3172 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3173 (eww-mode-map): Use them.
3174
3c29190f
MR
31752013-12-11 Martin Rudalics <rudalics@gmx.at>
3176
3177 * window.el (display-buffer-in-side-window): Fix doc-string
3178 (Bug#16115).
3179
0cd616a2
JB
31802013-12-11 Juanma Barranquero <lekktu@gmail.com>
3181
3182 * vc/vc-git.el: Silence byte-compiler warnings.
3183 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3184 (log-edit-set-header): Declare.
3185
3ef8e0d1
EZ
31862013-12-11 Eli Zaretskii <eliz@gnu.org>
3187
3188 * Makefile.in (custom-deps, finder-data): Run output file names
3189 through unmsys--file-name. (Bug#16099)
3190
afdadaf7
SM
31912013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3192
7ae3ae39 3193 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3194 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3195
5b4f37ab
SM
3196 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3197 instead of deleting the selection "by hand" (bug#16098).
3198 Rely on insert-for-yank to yank rectangles.
3199 (cua-highlight-region-shift-only): Mark obsolete.
3200 (cua-mode): Don't enable/disable transient-mark-mode,
3201 shift-select-mode (cua-mode works both with and without them), and
3202 pc-selection-mode (obsolete).
3203 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3204 (cua--deactivate-rectangle): Deactivate it.
3205
4b72c12b
SM
3206 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3207 (delete-selection-helper): Make sure yank starts at the top of the
3208 deleted region.
3209 (minibuffer-keyboard-quit): Use region-active-p.
3210
e82af72d
SM
3211 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3212
afdadaf7
SM
3213 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3214 to `delete' (bug#16109).
3215
ed4bc201
RS
32162013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3217
3218 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3219 info manual and show keybindings and set `:group' keyword.
3220
bb8097b9
JL
32212013-12-11 Juri Linkov <juri@jurta.org>
3222
3223 * delsel.el (delete-active-region): Let-bind `this-command'
3224 to prevent `kill-region' from changing its original value.
3225 (delete-selection-helper): Handle `overwrite-mode' for the type
3226 `kill' exactly the same way as for the type `t'.
3227 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3228 Support more commands. (Bug#13312)
3229
c1916ff5
JL
32302013-12-11 Juri Linkov <juri@jurta.org>
3231
3232 * bindings.el: Map kp keys to non-kp keys systematically
3233 with basic modifiers control, meta and shift. (Bug#14397)
3234
7514d3f8 32352013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3236
3237 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3238 "Close browser" menu items. Fix wrong function of "List
3239 bookmarks".
3240
4cc51eaf
JL
32412013-12-11 Juri Linkov <juri@jurta.org>
3242
3243 * misearch.el (multi-isearch-buffers): Set the value of
3244 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3245 arg of isearch-forward to t.
3246 (multi-isearch-buffers-regexp): Set the value of
3247 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3248 arg of isearch-forward-regexp to t.
3249 (multi-isearch-files): Set the value of
3250 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3251 arg of isearch-forward to t.
3252 (multi-isearch-files-regexp): Set the value of
c295fc18 3253 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3254 arg of isearch-forward-regexp to t. (Bug#16035)
3255
3256 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3257 arg of isearch-forward to t.
3258 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3259 arg of isearch-forward-regexp to t.
3260 (dired-isearch-filter-filenames): Remove unnecessary check for
3261 `dired-isearch-filenames'.
3262
3263 * comint.el (comint-history-isearch-backward):
3264 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3265 (comint-history-isearch-backward-regexp):
3266 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3267
ceac12b7
EZ
32682013-12-10 Eli Zaretskii <eliz@gnu.org>
3269
3270 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3271 unmsys--file-name. (Bug#16099)
3272
5a565782
TZ
32732013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3274
cb3a1380
SM
3275 * emacs-lisp/package.el (package-keyword-button-action):
3276 Remove finder.el require dependency.
5a565782 3277
a81fc7ba
TZ
32782013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3279
3280 * emacs-lisp/package.el: Require finder.el.
3281 (describe-package-1): Add keyword buttons.
3282 (package-make-button): New convenience function.
3283 (package-keyword-button-action): Keyword button action using
e0eb0550 3284 `finder-list-matches'.
a81fc7ba 3285
6aaca951
EZ
32862013-12-09 Eli Zaretskii <eliz@gnu.org>
3287
3288 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3289 last commit.
3290
a1099a91
MA
32912013-12-09 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3294 symlinked files.
3295
8212d9c0
DG
32962013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3297
3298 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3299 after the end of a percent literal.
3300
8f48d131
CD
33012013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3302
cb3a1380
SM
3303 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3304 Handle caret-delimited strings (Bug#16079).
8f48d131 3305
ff8c9764
DG
33062013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3307
cb3a1380
SM
3308 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3309 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3310 `ruby-parse-partial' (Bug#16078).
3311
d64643b4
LL
33122013-12-09 Leo Liu <sdl.web@gmail.com>
3313
3314 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3315
47e59c66
DG
33162013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3317
3318 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3319 (js-switch-indent-offset): New option.
3320 (js--proper-indentation): Use it. And handle the case when
3321 "default" is actually a key in an object literal.
3322 (js--same-line): New function.
3323 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3324 (js--indent-in-array-comp, js--array-comp-indentation):
3325 New functions.
47e59c66
DG
3326 (js--proper-indentation): Use them, to handle array comprehension
3327 continuations.
3328
974ebc9c
LL
33292013-12-08 Leo Liu <sdl.web@gmail.com>
3330
3331 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3332 (flymake-make-overlay): Remove arg MOUSE-FACE.
3333 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3334
27262e39
SM
33352013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3336
3337 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3338 New function.
3339 (redisplay-highlight-region-function): Use it.
3340
3341 * emulation/cua-base.el (cua--explicit-region-start)
3342 (cua--last-region-shifted): Remove.
3343 (cua--deactivate): Use deactivate-mark.
3344 (cua--pre-command-handler-1): Don't handle shift-selection.
3345 (cua--post-command-handler-1): Don't change transient-mark-mode.
3346 (cua--select-keymaps): Use region-active-p rather than
3347 cua--explicit-region-start or cua--last-region-shifted.
3348 (cua-mode): Enable shift-select-mode.
3349
6407822c
LL
33502013-12-08 Leo Liu <sdl.web@gmail.com>
3351
27262e39
SM
3352 * progmodes/flymake.el (flymake-popup-current-error-menu):
3353 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3354 (flymake-posn-at-point-as-event, flymake-popup-menu)
3355 (flymake-make-emacs-menu): Remove. (Bug#16077)
3356
00a2b823
SM
33572013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3358
02033d49
SM
3359 * rect.el (rectangle-mark-mode): Activate mark even if
3360 transient-mark-mode is off (bug#16066).
3361 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3362 is > mark and at bolp.
3363
6f8dfccf
SM
3364 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3365 (region-extract-function): Use it.
3366 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3367 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3368 Delete functions.
3369 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3370 kill-ring-save, kill-region, delete-char, delete-forward-char.
3371 Ignore self-insert-iso.
3372
3373 * emulation/cua-gmrk.el (cua--init-global-mark):
3374 Ignore `self-insert-iso'.
3375
3376 * emulation/cua-base.el (cua--prefix-copy-handler)
3377 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3378 checking cua--rectangle.
3379 (cua-delete-region): Use region-extract-function.
3380 (cua-replace-region): Delete function.
3381 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3382 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3383 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3384 (cua--init-keymaps): Don't remap delete-selection commands.
3385 (cua-mode): Use delete-selection-mode instead of rolling our own
3386 (bug#16085).
3387
3388 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3389 Obey region-extract-function.
3390
00a2b823
SM
3391 Make registers and delete-selection-mode work on rectangles.
3392 * register.el (describe-register-1): Don't modify the register's value.
3393 (copy-to-register): Obey region-extract-function.
3394 * delsel.el (delete-active-region): Obey region-extract-function.
3395
a92fa5f1
LL
33962013-12-08 Leo Liu <sdl.web@gmail.com>
3397
3398 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3399 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3400 (flymake-compilation-prevents-syntax-check)
3401 (flymake-start-syntax-check-on-newline)
3402 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3403 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3404 (flymake-xml-program, flymake-master-file-dirs)
3405 (flymake-master-file-count-limit)
3406 (flymake-allowed-file-name-masks): Relocate.
3407 (flymake-makehash, flymake-float-time)
3408 (flymake-replace-regexp-in-string, flymake-split-string)
3409 (flymake-get-temp-dir): Remove.
3410 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3411 (flymake-current-row, flymake-selected-frame)
3412 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3413 related functions. (Bug#16077)
3414
73c8ceea
BB
34152013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3416
3417 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3418
faec28d9
TH
34192013-12-07 Tassilo Horn <tsdh@gnu.org>
3420
3421 * help-fns.el (describe-function-1): Use new advice-* functions
3422 rather than old ad-* functions. Fix function type description and
3423 source links for advised functions and subrs.
3424
e330b646
LMI
34252013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3426
00a2b823 3427 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3428
4803595d
MA
34292013-12-06 Michael Albinus <michael.albinus@gmx.de>
3430
3431 * progmodes/compile.el (compilation-start):
3432 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3433
3434 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3435 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3436
fa834a93
DG
34372013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3438
00a2b823
SM
3439 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3440 Touch up the last change.
fa834a93 3441
b2856a6f
LL
34422013-12-06 Leo Liu <sdl.web@gmail.com>
3443
3444 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3445 (inferior-octave-startup): Always use "octave> " for prompt.
3446 (octave-goto-function-definition)
3447 (octave-sync-function-file-names)
3448 (octave-find-definition-default-filename): Remove redundant backquotes.
3449
af67e79a
DG
34502013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3451
3452 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3453 syntax for `?'.
3454 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3455 where appropriate already.
3456 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3457 end of method names (Bug#15874).
3458
bf093209
JL
34592013-12-06 Juri Linkov <juri@jurta.org>
3460
3461 * isearch.el (isearch--saved-overriding-local-map):
3462 New internal variable.
3463 (isearch-mode): Set it to the initial value of
3464 `overriding-terminal-local-map'.
3465 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3466 with `isearch--saved-overriding-local-map'. (Bug#16035)
3467
16588fad
DG
34682013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3469
00a2b823
SM
3470 * progmodes/octave.el (inferior-octave-completion-table):
3471 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3472 (Bug#11906). Update all references.
3473
3474 * minibuffer.el (completion-table-with-cache): New function.
3475
bf4906d7
CD
34762013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3477
3478 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3479
ff69c18f
TZ
34802013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3481
3482 * net/eww.el (eww-current-source): New variable to store page
3483 source.
3484 (eww-display-html, eww-mode, eww-save-history)
3485 (eww-restore-history): Use it.
3486 (eww-view-source): New command to view page source.
3487 Opportunistically uses `html-mode' to highlight the buffer.
3488 (eww-mode-map): Install it.
3489
b85eff45
MA
34902013-12-05 Michael Albinus <michael.albinus@gmx.de>
3491
3492 * net/dbus.el (dbus-unregister-service)
3493 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3494 Fix docstring.
3495 (dbus-unregister-service): Skip :serial entries in
3496 `dbus-registered-objects-table'.
3497 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3498
39eb0899
TZ
34992013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3500
3501 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3502 around keywords with extra `split-string' argument.
3503
456760a5
MR
35042013-12-04 Martin Rudalics <rudalics@gmx.at>
3505
3506 * windmove.el (windmove-other-window-loc): Handle navigation
3507 between windows (excluding the minibuffer window - Bug#16017).
3508
81961e4c
MA
35092013-12-04 Michael Albinus <michael.albinus@gmx.de>
3510
3511 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3512 in D-Bus type syntax.
3513 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3514 preserve unibyte strings. (Bug#16048)
3515
8497f938
SM
35162013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3519 Call force-mode-line-update is the proper buffer (bug#16042).
3520
dda61916
DG
35212013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3522
3523 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3524 `log-edit-remember-comment', make argument optional. Adjust all
3525 callers.
3526 (log-edit-mode): Add `log-edit-remember-comment' to
3527 `kill-buffer-hook' locally.
3528 (log-edit-kill-buffer): Don't remember comment explicitly since
3529 the buffer is killed anyway.
3530
c085e5b9
JL
35312013-12-04 Juri Linkov <juri@jurta.org>
3532
3533 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3534 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3535
e0eb0550 35362013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3537
3538 * notifications.el (notifications-close-notification): Call the
81961e4c 3539 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3540
39fa32d6
KY
35412013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3542
3543 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3544
9139632a
JL
35452013-12-03 Juri Linkov <juri@jurta.org>
3546
3547 * progmodes/compile.el (compilation-start): Rename window alist
3548 entry `no-display-ok' to `allow-no-window'.
3549
3550 * simple.el (shell-command): Add window alist entry
3551 `allow-no-window' to `display-buffer'.
3552 (async-shell-command): Doc fix.
3553
3554 * window.el (display-buffer-no-window): New action function.
3555 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3556
0f457a37
DG
35572013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3558
3559 * vc/log-edit.el (log-edit-set-header): Extract from
3560 `log-edit-toggle-header'.
3561 (log-edit-extract-headers): Separate the summary, when extracted
3562 from header, from the rest of the message with an empty line.
3563
3564 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3565 line, if present, to the Summary header.
3566
0962f376
SM
35672013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3570 in current-buffer (bug#16029).
3571
f345395c
HE
35722013-12-02 Helmut Eller <eller.helmut@gmail.com>
3573
3574 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3575 (debugger-mode-map): Bind it.
3576 (debugger--backtrace-base): New function.
3577 (debugger-eval-expression): Use it.
3578 (debugger-frame-number): Skip local vars when present.
3579 (debugger--locals-visible-p, debugger--insert-locals)
3580 (debugger--show-locals, debugger--hide-locals): New functions.
3581
a8a15d9d
MA
35822013-12-02 Michael Albinus <michael.albinus@gmx.de>
3583
3584 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3585 "LC_ALL".
3586 (tramp-get-remote-locale): New defun.
3587 (tramp-open-connection-setup-interactive-shell): Use it.
3588
0518b057
LL
35892013-12-02 Leo Liu <sdl.web@gmail.com>
3590
3591 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3592
3593 * progmodes/sh-script.el (sh-shell-process):
3594 * progmodes/octave.el (inferior-octave-process-live-p):
3595 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3596 (gdb-inferior-io-sentinel):
3597 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3598
3adc9c6d
DG
35992013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3600
3601 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3602 `save-selected-window' to `log-edit-hide-buf'. This makes
3603 `log-edit-show-files' idempotent.
3604 (log-edit-show-files): Mark the new window as dedicated.
3605
47e8b74e
DG
36062013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3607
3608 * vc/log-edit.el (log-edit-mode-map): Add binding for
3609 `log-edit-kill-biffer'.
3610 (log-edit-hide-buf): Add a FIXME comment.
3611 (log-edit-add-new-comment): New function, extracted from
3612 `log-edit-done'.
3613 (log-edit-done, log-edit-add-to-changelog): Use it.
3614 (log-edit-kill-buffer): New command.
3615
1f6e1bb0
LMI
36162013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3617
3618 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3619 instead of killing the buffer.
3620
fb651d15
SM
36212013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3622
3623 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3624
8feacce0
RS
36252013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3626
fb651d15 3627 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3628 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3629 (eww-form-checkbox, eww-toggle-checkbox):
3630 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3631
e0eb0550 3632 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3633 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3634 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3635 no :src tag was specified.
3636
fb651d15 3637 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3638 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3639 Use \\` to match beginning of string instead of ^.
3640 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3641 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3642
177948a5
RS
3643 * net/shr.el (shr-tag-video): Display content for video if no
3644 poster is available.
eb2dd24d 3645 (shr-tag-audio): Add support for <audio> tag.
177948a5 3646
e0eb0550 3647 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3648 (eww-process-text-input): Treat input types in
3649 `eww-text-input-types' as text.
3650
8feacce0
RS
3651 * net/shr.el (shr-tag-table): Fix comment typo.
3652
513562a1
LMI
36532013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3654
3655 * net/eww.el (eww-follow-link): New command to avoid reloading
3656 pages when we follow #target links (bug#15243).
de8a5633 3657 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3658
9dd99753
KN
36592013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3660
3661 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3662 forms.
3663
3e9876de
LMI
36642013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3665
3666 * net/eww.el (eww-restore-history): Update the window title after
3667 moving in the history.
ab6dea82 3668 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3669
52789f7f
DG
36702013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3671
3672 * vc/log-edit.el (log-edit-mode-map): Add binding for
3673 `log-edit-beginning-of-line'.
3674 (log-edit-setup-add-author): New user option.
3675 (log-edit-beginning-of-line): New command.
3676 (log-edit): Move major mode call above the contents setup so that
3677 the local variable values are already applied.
3678 (log-edit): Only insert "Author: " when
3679 `log-edit-setup-add-author' is non-nil.
3680 (log-edit): When SETUP is non-nil, position point after ": "
3681 instead of point-min.
3682
2e6710c3
GM
36832013-12-01 Glenn Morris <rgm@gnu.org>
3684
3685 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3686
fadec31f
EZ
36872013-11-30 Eli Zaretskii <eliz@gnu.org>
3688
3689 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3690 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3691 visible. (Bug#16014)
3692
10634b40 36932013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3694
3695 Support resizing frames and windows pixelwise.
3696 * cus-start.el (frame-resize-pixelwise)
3697 (window-resize-pixelwise): New entries.
3698 * emacs-lisp/debug.el (debug): Use window-total-height instead
3699 of window-total-size.
3700 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
3701 * help.el (describe-bindings-internal): Use help-buffer as
3702 argument for with-help-window.
880e6158
MR
3703 (temp-buffer-max-width): New option.
3704 (resize-temp-buffer-window, help-window-setup)
3705 (with-help-window): Rewrite.
3706 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3707 dragging dividers.
3708 * window.el (frame-char-size, window-min-pixel-height)
3709 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3710 (window-min-pixel-width, window-safe-min-pixel-size)
3711 (window-combination-p, window-safe-min-size)
3712 (window-resizable-p, window--size-to-pixel)
3713 (window--pixel-to-size, window--resize-apply-p): New functions.
3714 (window-safe-min-height): Fix doc-string.
3715 (window-size, window-min-size, window--min-size-1)
3716 (window-sizable, window-sizable-p, window--min-delta-1)
3717 (window-min-delta, window--max-delta-1, window-max-delta)
3718 (window--resizable, window--resizable-p, window-resizable)
3719 (window-full-height-p, window-full-width-p, window-at-side-p)
3720 (window--in-direction-2, window-in-direction)
3721 (window--resize-reset-1, window--resize-mini-window)
3722 (window-resize, window-resize-no-error)
3723 (window--resize-child-windows-normal)
3724 (window--resize-child-windows, window--resize-siblings)
3725 (window--resize-this-window, window--resize-root-window)
3726 (window--resize-root-window-vertically)
3727 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3728 (maximize-window, minimize-window, delete-window)
3729 (quit-restore-window, window-split-min-size, split-window)
3730 (balance-windows-2, balance-windows)
3731 (balance-windows-area-adjust, balance-windows-area)
3732 (window--state-get-1, window-state-get, window--state-put-1)
3733 (window--state-put-2, window-state-put)
fb651d15
SM
3734 (display-buffer-record-window, window--display-buffer):
3735 Make functions handle pixelwise sizing of windows.
880e6158 3736 (display-buffer--action-function-custom-type)
fb651d15
SM
3737 (display-buffer-fallback-action):
3738 Add display-buffer-in-previous-window.
880e6158
MR
3739 (display-buffer-use-some-window): Resize window to height it had
3740 before.
3741 (fit-window-to-buffer-horizontally): New option.
3742 (fit-frame-to-buffer): Describe new values.
3743 (fit-frame-to-buffer-bottom-margin): Replace with
3744 fit-frame-to-buffer-margins.
3745 (window--sanitize-margin): New function.
3746 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3747 using window-text-pixel-size.
3748
f9b697dd
GM
37492013-11-30 Glenn Morris <rgm@gnu.org>
3750
3e2fb4db
GM
3751 * emacs-lisp/bytecomp.el (byte-compile-form):
3752 Make the `interactive-only' warning like the `obsolete' one.
3753 * comint.el (comint-run):
3754 * files.el (insert-file-literally, insert-file):
3755 * replace.el (replace-string, replace-regexp):
3756 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3757 (goto-line, insert-buffer, next-line, previous-line):
3758 Tweak `interactive-only' spec.
3759
f9b697dd
GM
3760 Stop keeping (most) generated cedet grammar files in the repository.
3761 * Makefile.in (semantic): New.
3762 (compile-main): Depend on semantic.
3763
da048127
SM
37642013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3765
7784b779
SM
3766 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3767 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3768
4e36a6a6
SM
3769 * uniquify.el (uniquify-buffer-name-style): Change default.
3770
3771 * loadup.el: Preload "uniquify".
3772
e0ba1308
SM
3773 * time.el (display-time-update): Update all mode lines (bug#15999).
3774
da048127
SM
3775 * electric.el (electric-indent-mode): Enable by default.
3776 * loadup.el: Preload "electric".
3777
015b3b3e
BB
37782013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3779
3780 * emacs-lisp/helpers.el (string-empty-p): New function.
3781 (string-blank-p): New function.
3782
7efb806d
AP
37832013-11-29 Andreas Politz <politza@hochschule-trier.de>
3784
3785 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3786 (Bug#14029).
3787
c8f0efc2
AP
37882013-11-29 Andreas Politz <politza@fh-trier.de>
3789 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3790 allow non-lambda lists as functions.
3791 (imenu--in-alist): Don't recurse into non-subalists.
3792 (imenu): Don't pass function itself as an argument (Bug#14029).
3793
bd15d9d1
SM
37942013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * progmodes/python.el (python-mode-map): Remove binding for ":".
3797 (python-indent-electric-colon): Remove command.
3798 (python-indent-post-self-insert-function): Integrate the previous code
3799 of python-indent-electric-colon. Make it conditional on
3800 electric-indent-mode.
3801 (python-mode): Add ?: to electric-indent-chars.
3802 Move python-indent-post-self-insert-function to the end of
3803 post-self-insert-hook.
3804
1b10adb6
SM
38052013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3806
655ab9a3
SM
3807 * doc-view.el (doc-view-goto-page): Update mode-line.
3808
1b10adb6
SM
3809 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3810
7e3bf78c
GM
38112013-11-27 Glenn Morris <rgm@gnu.org>
3812
3813 * international/charprop.el, international/uni-bidi.el:
3814 * international/uni-category.el, international/uni-combining.el:
3815 * international/uni-comment.el, international/uni-decimal.el:
3816 * international/uni-decomposition.el, international/uni-digit.el:
3817 * international/uni-lowercase.el, international/uni-mirrored.el:
3818 * international/uni-name.el, international/uni-numeric.el:
3819 * international/uni-old-name.el, international/uni-titlecase.el:
3820 * international/uni-uppercase.el:
3821 Remove generated files from VCS repository.
3822
fb6a5d68
EZ
38232013-11-27 Eli Zaretskii <eliz@gnu.org>
3824
3825 * filenotify.el (file-notify-add-watch): Don't special-case
3826 w32notify when computing the directory to watch.
3827
cb6c95a3
GM
38282013-11-27 Glenn Morris <rgm@gnu.org>
3829
20372d0c
GM
3830 Make bootstrap without generated uni-*.el files possible again.
3831 * loadup.el: Update command-line-args checking for unidata-gen.
3832 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3833 * composite.el, international/characters.el:
3834 Handle unicode tables being undefined.
3835
52d6635f 3836 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3837 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3838 (compile-main): Depend on leim rule.
3839 (leim): New rule.
3840 * loadup.el: Move leim-list.el to leim/ subdirectory.
3841 * startup.el (normal-top-level): No more leim directory.
3842 * international/ja-dic-cnv.el (skkdic-convert):
3843 Disable version-control and autoloads in output files.
3844 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3845 Disable version-control and autoloads in output files.
3846 * leim/quail: Move here from ../leim.
3847 * leim/quail/hangul.el (hangul-input-method-activate):
3848 Add autoload cookie.
3849 (generated-autoload-load-name): Set file-local value.
3850 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3851 (generated-autoload-load-name): Set file-local value.
3852
7514d3f8 38532013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3854
e0eb0550 3855 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3856 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3857 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3858
0e2c793f
EZ
38592013-11-26 Eli Zaretskii <eliz@gnu.org>
3860
3861 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3862 reading output from Diff on MS-Windows and MS-DOS.
3863
447bdcb8
BB
38642013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3865
3866 * emacs-lisp/helpers.el (string-reverse): New function.
3867
5fbf6856
MA
38682013-11-26 Michael Albinus <michael.albinus@gmx.de>
3869
3870 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3871 names on MS Windows, like "/[::1]:".
3872
3873 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3874 SWITCHES.
3875
624780f0
GM
38762013-11-26 Glenn Morris <rgm@gnu.org>
3877
0bf3f0fa
GM
3878 * progmodes/python.el (python-indent-guess-indent-offset):
3879 Avoid corner-case error. (Bug#15975)
3880
624780f0
GM
3881 Preload leim-list.el. (Bug#4789)
3882 * loadup.el: Load leim-list.el when found.
3883 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3884
4301875e 38852013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3886
3887 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3888
4301875e
BB
3889 * emacs-lisp/helpers.el (string-join): New function.
3890
1633a815 38912013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3892
3893 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3894 Mark as obsolete and replace it with a symbol property.
3895 (byte-compile-form): Use new 'interactive-only property.
3896 * comint.el, files.el, replace.el, simple.el:
3897 Apply new 'interactive-only properly.
3898
00139435
MR
38992013-11-25 Martin Rudalics <rudalics@gmx.at>
3900
3901 * window.el (display-buffer-at-bottom): Make sure that
3902 split-window-sensibly creates the new window on bottom
3903 (Bug#15961).
3904
5f5b128d
DK
39052013-11-23 David Kastrup <dak@gnu.org>
3906
3907 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3908 on the conflict markers when available.
3909 (smerge--get-marker): New function.
3910 (smerge-end-re, smerge-base-re): Add subgroup.
3911
623891e5
SM
39122013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * frame.el (handle-focus-in, handle-focus-out): Add missing
3915 interactive spec.
3916
05ca27d8
MA
39172013-11-25 Michael Albinus <michael.albinus@gmx.de>
3918
3919 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3920 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3921
511fa0d3
SM
39222013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3923
e82ad66c
SM
3924 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3925 (gomoku--last-pos): New var.
3926 (gomoku--intangible-chars): New const.
3927 (gomoku--intangible): New function.
3928 (gomoku-mode): Use it. Derive from special-mode.
3929 (gomoku-move-up): Adjust line count.
3930 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3931 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3932 Simplify accordingly.
3933
511fa0d3
SM
3934 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3935 Remove blink-cursor code.
3936 (blink-cursor-timer-function, blink-cursor-suspend):
3937 Don't special-case GUIs.
3938 (blink-cursor-mode): Use focus-in/out-hook.
3939
6f20dd03
DG
39402013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3941
3942 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3943 work when annotation is invisible (Bug#13886).
3944
431dec31 39452013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
3946
3947 * json.el (json-alist-p): Only return non-nil if the alist has
3948 simple keys (Bug#13518).
3949
431dec31 39502013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
3951
3952 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3953 when control-statement is the first statement in a buffer (Bug#15956).
3954
ee4f0261
DG
39552013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3956
3957 * imenu.el (imenu-generic-skip-comments-and-strings):
3958 New option (Bug#15560).
3959 (imenu--generic-function): Use it.
3960
c484f866
JS
39612013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3962
e9dc713d
JB
3963 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3964 (Bug#13898)
c484f866 3965
41ce6f70
BB
39662013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3967
b55aea38
BB
3968 * emacs-lisp/helpers.el: Add some string helpers.
3969 (string-trim-left): Removes leading whitespace.
3970 (string-trim-right): Removes trailing whitespace.
3971 (string-trim): Removes leading and trailing whitespace.
3972
41ce6f70
BB
3973 * subr.el (string-suffix-p): New function.
3974
3cfb6af3
GM
39752013-11-23 Glenn Morris <rgm@gnu.org>
3976
3977 * progmodes/python.el (python-shell-send-file):
3978 Add option to delete file when done. (Bug#15647)
3979 (python-shell-send-string, python-shell-send-region): Use it.
3980
c27924b7
IS
39812013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3982
e1b01c7f
IS
3983 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3984 to set buffer-read-only to t, never to nil. (Bug#15938)
3985
c27924b7
IS
3986 * textmodes/tex-mode.el (latex-noindent-environments):
3987 Add safe-local-variable property. (Bug#15936)
3988
17e0445b
GM
39892013-11-23 Glenn Morris <rgm@gnu.org>
3990
92f78ea3
GM
3991 * textmodes/enriched.el (enriched-mode): Doc fix.
3992 * emacs-lisp/authors.el (authors-renamed-files-alist):
3993 Add enriched.doc -> enriched.txt.
3994
17e0445b
GM
3995 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3996
965bb23a
LL
39972013-11-22 Leo Liu <sdl.web@gmail.com>
3998
3999 * progmodes/octave.el (inferior-octave-startup): Spit out error
4000 message.
4001
d19ffd64
BB
40022013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4003
4004 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4005 Improve docstring.
15ba2182
BB
4006 Add :version.
4007 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4008
7a7567d2
LL
40092013-11-22 Leo Liu <sdl.web@gmail.com>
4010
4011 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4012 (Bug#15076)
8c09f64b
LL
4013 (octave-help-mode): Adapt to change to help-mode-finish to use
4014 derived-mode-p on 2013-09-17.
4015 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4016 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4017
724bc265
LL
40182013-11-22 Leo Liu <sdl.web@gmail.com>
4019
4020 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4021 (inferior-octave-startup, inferior-octave-check-process)
4022 (inferior-octave-track-window-width-change)
4023 (octave-completion-at-point, octave-eldoc-function): Use it.
4024 (octave-kill-process): Provide confirmation. (Bug#10564)
4025
38637cca
LL
40262013-11-21 Leo Liu <sdl.web@gmail.com>
4027
511fa0d3
SM
4028 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4029 Fix obsolete variable comment-use-global-state.
38637cca 4030
06e752b4
RS
40312013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4032
511fa0d3
SM
4033 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4034 Add `octave-source-file'.
06e752b4
RS
4035 (octave-source-file): New function. (Bug#15935)
4036
7514d3f8 40372013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4038
4039 * net/eww.el (eww-local-regex): New variable.
4040 (eww): Use it to detect localhost and similar.
4041
b6ffa04a
LL
40422013-11-21 Leo Liu <sdl.web@gmail.com>
4043
4044 Add completion for command `ag'.
2021a200
LL
4045 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4046 (pcomplete/ag): New function.
e9dc713d 4047 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4048
d1a6bccc
SM
40492013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4052 (bug#14646).
4053 (make-obsolete): Remove interactive spec.
4054
2df10228
GM
40552013-11-21 Glenn Morris <rgm@gnu.org>
4056
4057 * startup.el (command-line-1): Use path-separator with -L.
4058
86fd16b6
TZ
40592013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4060
4061 * emacs-lisp/package.el (describe-package-1): Add package archive
4062 to shown fields.
4063
0449d6cd 40642013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4065
4066 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4067 Change default to "# encoding: %s" to differentiate it from the
4068 default Ruby encoding comment template.
4069
dc7e8c17 40702013-11-20 era eriksson <era+emacsbugs@iki.fi>
4071
4072 * ses.el (ses-mode): Doc fix. (Bug#14748)
4073
f0cfa5fe
LL
40742013-11-20 Leo Liu <sdl.web@gmail.com>
4075
4076 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4077
826dc7b6
DN
40782013-11-19 Dan Nicolaescu <dann@gnu.org>
4079
4080 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4081 when rebase or bisect are in progress.
4082
a6e3a5d5
XF
40832013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4084
4085 * filenotify.el (file-notify-add-watch): Doc fix.
4086
f130cb76
LL
40872013-11-19 Leo Liu <sdl.web@gmail.com>
4088
e0855d7d
LL
4089 * obsolete/rcompile.el: Mark obsolete.
4090
f130cb76 4091 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4092 (compilation-goto-locus, compilation-find-file):
4093 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4094 (Bug#13594)
4095
4096 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4097 new parameter no-display-ok. Return either a window or nil
4098 but never a non-window value.
f130cb76 4099
1f35d401
SM
41002013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4101
25158c76
SM
4102 * electric.el (electric-indent-mode-map): Remove.
4103 (electric-indent-mode): Change the global-map instead (bug#15915).
4104
4105 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4106 Use add-function.
1f35d401 4107
9bc67baa
SM
41082013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4109
986545b5
SM
4110 * emacs-lisp/nadvice.el (remove-function): Align with
4111 add-function's behavior.
4112
9bc67baa
SM
4113 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4114 (gdb--string-regexp): New constant.
4115 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4116 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4117 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4118 submatch 1.
4119 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4120 Adjust use accordingly.
4121 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4122
56cd894e
AS
41232013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4124
4125 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4126 interpolation curlies (Bug#15914).
4127
014690de
JB
41282013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4129
4130 * calc/calc.el (calc-context-sensitive-enter): New variable.
4131 (calc-enter): Use `calc-context-sensitive-enter'.
4132
7e26a6c3
TZ
41332013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4134
4135 * progmodes/cfengine.el: Version bump.
4136 (cfengine-cf-promises): New defcustom to locate cf-promises.
4137 (cfengine3-vartypes): Add new "data" type.
4138 (cfengine3--current-word): New function to get current name-like
4139 word or its bounds.
4140 (cfengine3--current-function): New function to look up a CFEngine
4141 function's definition.
4142 (cfengine3-format-function-docstring): New function.
4143 (cfengine3-make-syntax-cache): New function.
4144 (cfengine3-documentation-function): New function: ElDoc glue.
4145 (cfengine3-completion-function): New function: completion glue.
4146 (cfengine3-mode): Set `compile-command',
4147 `eldoc-documentation-function', and add to
4148 `completion-at-point-functions'.
4149
355204dd
MA
41502013-11-16 Michael Albinus <michael.albinus@gmx.de>
4151
4152 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4153 `tramp-current-connection'.
4154
43cebc23
DG
41552013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4156
4157 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4158 nil/self/true/false with "end of symbol".
4159
a3fed6ff
BB
41602013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4161
4162 * subr.el (version-regexp-alist): Fix a typo.
4163
e675b3e4
MA
41642013-11-15 Michael Albinus <michael.albinus@gmx.de>
4165
4166 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4167 "en_US.utf8" and "LC_CTYPE" to "".
4168 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4169 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4170
a1f03e89
LL
41712013-11-15 Leo Liu <sdl.web@gmail.com>
4172
4173 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4174
5d9d9451
SM
41752013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4176
58362662
CS
4177 * progmodes/gud.el (ctl-x-map):
4178 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4179 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4180
6c1bf086
BB
41812013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4182
0d5363c4
BB
4183 * subr.el (version-regexp-alist):
4184 Recognize hg, svn and darcs versions as snapshot versions.
4185
4e9fc48c
BB
4186 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4187 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4188 (ruby--encoding-comment-required-p): Extract from
4189 `ruby-mode-set-encoding'.
4190 (ruby-mode-set-encoding): Add the ability to always insert an
4191 utf-8 encoding comment. Fix and simplify coding comment update
4192 logic.
6c1bf086 4193
2f7e72f8
MA
41942013-11-14 Michael Albinus <michael.albinus@gmx.de>
4195
4196 * net/tramp-gvfs.el (top): Run init code only when
4197 `tramp-gvfs-enabled' is not nil.
4198 (tramp-gvfs-enabled): Check also :system bus.
4199
0f137a73
SM
42002013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 Sync with upstream verilog-mode revision 78e66ba.
4203 * progmodes/verilog-mode.el (verilog-end-of-defun)
4204 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4205 (verilog-get-end-of-defun): Remove unused argument.
4206 (verilog-comment-depth): Remove unused local `e'.
4207 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4208 Don't pass arg to verilog-get-end-of-defun.
4209
1c276bdd
GM
42102013-11-14 Glenn Morris <rgm@gnu.org>
4211
4212 * obsolete/assoc.el (aget): Prefix dynamic variable.
4213
4214 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4215
ff6ec81d
SM
42162013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * widget.el, hfy-cmap.el: Remove bogus package version number.
4219
75f777b6
GM
42202013-11-13 Glenn Morris <rgm@gnu.org>
4221
1d43dba1
GM
4222 * replace.el (replace-eval-replacement):
4223 Try to give more helpful error message. (Bug#15836)
4224
ff4b7bd5
GM
4225 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4226 (archive-7z-update): Avoid custom type mismatches.
4227
75f777b6
GM
4228 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4229
11151a06
MA
42302013-11-13 Michael Albinus <michael.albinus@gmx.de>
4231
e675b3e4 4232 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4233 address can be empty.
4234
4235 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4236 Accept nil SWITCHES.
4237 (tramp-gvfs-handle-write-region): Implement APPEND.
4238
7b08f97e
DG
42392013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4240
4241 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4242 binary "|" operator and closing block args delimiter.
4243 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4244 (ruby-smie--implicit-semi-p): Not after "|" operator.
4245 (ruby-smie--closing-pipe-p): New function.
4246 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4247 (ruby-smie-rules): Indent after "|".
4248
f201cf3a
GM
42492013-11-12 Glenn Morris <rgm@gnu.org>
4250
4251 * ps-print.el (ps-face-attribute-list):
4252 Handle anonymous faces. (Bug#15827)
4253
e6f759f9
MR
42542013-11-12 Martin Rudalics <rudalics@gmx.at>
4255
4256 * window.el (display-buffer-other-frame): Fix doc-string.
4257 (Bug#15868)
4258
ecda65d4
SM
42592013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4260
4261 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4262
7ce8fcc3
MA
42632013-11-11 Michael Albinus <michael.albinus@gmx.de>
4264
4265 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4266 (tramp-sh-handle-file-local-copy): Don't write a message when
4267 saving temporary files.
4268
4269 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4270 both directories are remote.
4271 (tramp-smb-handle-directory-files): Do not return double entries.
4272 Do not expand full file names.
4273 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4274 (tramp-smb-handle-write-region): Implement APPEND.
4275 (tramp-smb-get-stat-capability): Fix a stupid bug.
4276
7818df11
SM
42772013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4280
608c2085
NT
42812013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4282
4283 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4284 throwing error over malformed let/let* (bug#15814).
4285
122a7e46
SM
42862013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * iswitchb.el (iswitchb-mode): Mark obsolete.
4289
766284d9
GM
42902013-11-11 Glenn Morris <rgm@gnu.org>
4291
4292 * international/uni-bidi.el, international/uni-category.el:
4293 * international/uni-name.el, international/uni-numeric.el:
4294 Regenerate for Unicode 6.3.0.
4295
7072a4e9
MA
42962013-11-10 Michael Albinus <michael.albinus@gmx.de>
4297
4298 * net/tramp.el (tramp-methods):
4299 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4300 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4301
c9df215b
AS
43022013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4303
608c2085
NT
4304 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4305 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4306
fa47d796
DG
43072013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4308
4309 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4310 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4311 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4312 (ispell-complete-word): Call `ispell-lookup-words' with the value
4313 independent of `ispell-look-p'.
4314
1629a329
DG
43152013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4316
4317 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4318 Not after "||".
4319 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4320 their parent.
4321
ad16897c
SM
43222013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4323
4324 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4325 (ruby-font-lock-keywords): Use backquote.
4326
ffa2df72
DG
43272013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4328
4329 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4330 (ruby-smie--backward-token): Only consider full-string matches.
4331
5b97b4c0
JD
43322013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4333
4334 * faces.el (describe-face): Add distant-foreground.
4335
71731c03
BB
43362013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4337
4e9fc48c
BB
4338 * progmodes/ruby-mode.el: Improve encoding comment handling.
4339 (ruby-encoding-magic-comment-style): New option.
4340 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4341 (ruby--insert-coding-comment, ruby--detect-encoding):
4342 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4343 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4344 to control the style of the auto-inserted encoding comment.
71731c03 4345
da3b328d
DG
43462013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4347
ad16897c
SM
4348 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4349 Use `smie-backward-sexp' with token argument.
da3b328d 4350
1606c2d3
MA
43512013-11-08 Michael Albinus <michael.albinus@gmx.de>
4352
4353 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4354 Remove instrumentation code.
4355
b0f4c320
GM
43562013-11-08 Glenn Morris <rgm@gnu.org>
4357
4358 * progmodes/autoconf.el (autoconf-mode):
4359 Tweak comment-start-skip. (Bug#15822)
4360
43668fb1
SM
43612013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4362
4363 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4364 at bobp (bug#15826).
4365 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4366
daddb3fd
DH
43672013-11-08 Darren Hoo <darren.hoo@gmail.com>
4368
4369 * man.el (Man-start-calling): New macro, extracted from
4370 Man-getpage-in-background.
4371 (Man-getpage-in-background): Use it.
4372 (Man-update-manpage): New command.
4373 (Man-mode-map): Bind it.
4374
1f923923
DG
43752013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4376
4377 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4378 of "and", "or", "&&" and "||".
4379 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4380 argument. Prohibit opening curly brace because it could only be a
4381 block opener in that position.
daddb3fd
DH
4382 (ruby-smie--forward-token, ruby-smie--backward-token):
4383 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4384 arguments.
4385 (ruby-smie--indent-to-stmt): New function, seeks the end of
4386 previous statement or beginning of buffer.
4387 (ruby-smie-rules): Use it.
4388 (ruby-smie-rules): Check if there's a ":" before a curly block
4389 opener candidate; if there is, it's a hash.
4390
3220d527
SM
43912013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4394 (cl--block-wrapper): Fix last accidental change.
4395
1eb1f9e0
MA
43962013-11-07 Michael Albinus <michael.albinus@gmx.de>
4397
4398 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4399 Instrument, in order to hunt failure on hydra.
4400
e6e4db3c
NT
44012013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4402
4403 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4404 malformed bindings form (bug#15814).
4405
b420ccfc
DG
44062013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4407
4408 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4409 "." compared to " @ ". This incidentally fixes some indentation
4410 examples with "do".
e6e4db3c 4411 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4412 (ruby-smie-grammar): New tokens: "and" and "or".
4413 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4414 Exclude "and" and "or". Remove "do" in order to work around token
4415 priorities.
4416 (ruby-smie-rules): Add all infix tokens. Handle the case of
4417 beginning-of-buffer.
b420ccfc 4418
6b4ac03e
GM
44192013-11-06 Glenn Morris <rgm@gnu.org>
4420
4421 * Makefile.in (setwins_almost, setwins_for_subdirs):
4422 Avoid accidental matches.
4423
5ca114d1
SM
44242013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4425
4426 * menu-bar.el (popup-menu): Use key-binding.
4427
f72552bd
EZ
44282013-11-06 Eli Zaretskii <eliz@gnu.org>
4429
4430 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4431 menus, support also the menus produced by minor modes.
4432 (Bug#15817)
4433
5d5c701e
LL
44342013-11-06 Leo Liu <sdl.web@gmail.com>
4435
4436 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4437 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4438
0a8b75e2
GM
44392013-11-06 Glenn Morris <rgm@gnu.org>
4440
4441 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4442 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4443 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4444
a35287ea
SM
44452013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4446
feca4e2d
SM
4447 * electric.el (electric-indent-just-newline): New command.
4448 (electric-indent-mode-map): New keymap.
4449 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4450 Re-add :group which weren't redundant.
4451
a35287ea
SM
4452 * electric.el (electric-indent-local-mode): New minor mode.
4453 (electric-indent-functions-without-reindent): New var.
4454 (electric-indent-post-self-insert-function): Use it.
4455 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4456
375761b2
EZ
44572013-11-05 Eli Zaretskii <eliz@gnu.org>
4458
9a6ad735
EZ
4459 * international/quail.el (quail-help): Be more explicit about the
4460 meaning of the labels shown on the keys. (Bug#15800)
4461
375761b2
EZ
4462 * startup.el (normal-top-level): Load the subdirs.el files before
4463 setting the locale environment. (Bug#15805)
4464
520a6e4a
SM
44652013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4466
0acfafef
SM
4467 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4468 via arguments so as to get the right ones (bug#15418).
4469
520a6e4a
SM
4470 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4471
15826261
MA
44722013-11-05 Michael Albinus <michael.albinus@gmx.de>
4473
4474 Fix problems found while writing a test suite.
4475
4476 * net/tramp-compat.el (tramp-compat-load): New defun.
4477 * net/tramp.el (tramp-handle-load): Use it.
4478
4479 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4480 "(numberp ok-if-already-exists)" correctly.
4481
d35f31a4
XF
44822013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4483
4484 * international/characters.el (glyphless-char-display-control):
4485 Add usage note.
4486
ae93bc74
BB
44872013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4488
520a6e4a
SM
4489 * progmodes/python.el (python-mode):
4490 * progmodes/scheme.el (scheme-mode):
4491 * progmodes/prolog.el (prolog-mode):
4492 * progmodes/ruby-mode.el (ruby-mode):
4493 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4494 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4495
0ade65b5
SM
44962013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4497
a0d5f7a4
SM
4498 * rect.el (rectangle--highlight-for-redisplay):
4499 * emacs-lisp/smie.el (smie--next-indent-change):
4500 Use buffer-chars-modified-tick.
4501
c93f3f5c
SM
4502 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4503
0ade65b5
SM
4504 * electric.el (electric-indent-post-self-insert-function):
4505 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4506
ef9dd188
HE
45072013-11-04 Helmut Eller <eller.helmut@gmail.com>
4508
4509 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4510
306e7308
NT
45112013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4512
4513 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4514 (bug#15786).
4515
e5afbcac
SM
45162013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4517
1d01ad41
SM
4518 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4519
e5afbcac
SM
4520 * progmodes/python.el: Fix up last change.
4521 (python-shell--save-temp-file): New function.
4522 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4523 `string' comes from the current buffer.
4524 (python-shell-send-string-no-output): Remove `msg' arg.
4525 (python--use-fake-loc): New var.
4526 (python-shell-buffer-substring): Obey it. Try to compensate for the
4527 extra coding line added by python-shell--save-temp-file.
4528 (python-shell-send-region): Use python-shell--save-temp-file and
4529 python-shell-send-file directly. Add `nomain' argument.
4530 (python-shell-send-buffer): Use python-shell-send-region.
4531 (python-electric-pair-string-delimiter): New function.
4532 (python-mode): Use it.
4533
d0065ff1
EZ
45342013-11-04 Eli Zaretskii <eliz@gnu.org>
4535
4536 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4537 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4538 environment and decoding all of the default-directory's to here
4539 from command-line.
4540 (command-line): Decode also argv[0].
4541
4542 * loadup.el: Error out if default-directory is a multibyte string
4543 when we are dumping.
4544
4545 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4546
7397c587
TZ
45472013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4548
4549 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4550 (package-menu--print-info, package-menu--archive-predicate):
4551 Add Archive column to package list.
7397c587 4552
b27cc9fc
MA
45532013-11-04 Michael Albinus <michael.albinus@gmx.de>
4554
4555 Fix problems found while writing a test suite.
4556
4557 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4558 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4559 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4560 to nil when running original file name handler. Otherwise,
4561 there are problems with constructs like "$$FOO".
4562
4563 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4564 for `localname'.
4565
d8c4f18a
BB
45662013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4567
7b530552
BB
4568 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4569
4570 * subr.el (version<, version<=, version=):
4571 Update docstrings with information for snapshot versions.
4572
d8c4f18a
BB
4573 * helpers.el: New library for misc helper functions.
4574 (hash-table-keys): New function returning a list of hash keys.
4575 (hash-table-values): New function returning a list of hash values.
4576
dca01b09
DG
45772013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4578
4579 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4580 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4581
0a749fa0
MN
45822013-11-04 Michal Nazarewicz <mina86@mina86.com>
4583
4584 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4585 checking whether point is after a 1-letter word.
4586
45872013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4588
4589 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4590 Don't infloop when expanding region over `multiline' syntax-type that
4591 begins a line (bug#15778).
4592
4aca7145
SM
45932013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4596 Make it into a proper minor mode.
4597 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4598 (rectangle-mark-mode-map): New keymap.
4599 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4600
a0833f62
GM
46012013-11-04 Glenn Morris <rgm@gnu.org>
4602
4603 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4604
e61845c1
SM
46052013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4606
4607 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4608 (ruby-smie-rules): Use smie-rule-parent instead.
4609
4610 * emacs-lisp/smie.el (smie-rule-parent): Always call
4611 smie-indent-virtual rather than only for hanging tokens.
4612 (smie--next-indent-change): New helper command.
4613
62942f89
GM
46142013-11-03 Glenn Morris <rgm@gnu.org>
4615
4616 * Makefile.in (abs_srcdir): Remove.
4617 (emacs): Unset EMACSLOADPATH.
4618
b0b9e592
GM
46192013-11-02 Glenn Morris <rgm@gnu.org>
4620
18ba6a33 4621 * Makefile.in (EMACS): Use a relative filename.
8061810d 4622 (abs_top_builddir): Remove.
18ba6a33
GM
4623 (custom-deps, finder-data, autoloads): Use --chdir.
4624
6a8b929e
GM
4625 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4626
c617f3d0
GM
4627 Use relative filenames in TAGS files.
4628 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4629 (lisptagsfiles4, TAGS): Use relative file names.
4630 (TAGS-LISP): Remove.
4631 (maintainer-clean): No more TAGS-LISP file.
4632
b0b9e592
GM
4633 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4634 (lisptagsfiles4): Use absolute filenames again.
4635 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4636 Remove all *loaddefs files, not just the first. Remove esh-groups.
4637 (maintainer-clean): Delete TAGS, TAGS-LISP.
4638
d1c0ea6a
BB
46392013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4640
e61845c1
SM
4641 * emacs-lisp/package.el (package-version-join):
4642 Recognize snapshot versions.
d1c0ea6a 4643
684d71c6
BB
46442013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4645
4646 * subr.el (version-regexp-alist): Add support for snapshot versions.
4647
3d42b968
DG
46482013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4649
e61845c1
SM
4650 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4651 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4652 skip over our direct parent if it's an assignment token..
4653 (ruby-smie-rules): Use it.
4654
7ffd3721
DG
46552013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4656
8449dd1f 4657 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4658 unconditionally. Remove now unnecessary forward declarations.
4659 Remove XEmacs-specific setup.
4660 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4661 (ruby-font-lock-syntactic-keywords)
4662 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4663 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4664 (ruby-here-doc-end-syntax): Remove.
4665 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4666 defined as function.
4667
a3996a2e
BB
46682013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4669
4670 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4671
6f9260e8
BB
46722013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4673
4674 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4675 table and abbrev table, `define-derived-mode' does that for us
4676 anyway.
4677
6014de84
GM
46782013-11-01 Glenn Morris <rgm@gnu.org>
4679
4680 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4681 files is atomic for some time, so no parallel compilation issues).
4682
3c334c14
JD
46832013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4684
4685 * faces.el (face-x-resources): Add :distant-foreground.
4686 (region): Use :distant-foreground for gtk and ns.
4687
9bc236c8
TH
46882013-11-01 Tassilo Horn <tsdh@gnu.org>
4689
5246583b 4690 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4691 BibTeX.
4692 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4693 (reftex-locate-bibliography-files): Us it.
4694
d14c81ee
CB
46952013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4696
0e7690de
CB
4697 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4698 allow comments in pbm files.
4699
d14c81ee
CB
4700 * term/w32-win.el (dynamic-library-alist): Support newer versions
4701 of libjpeg starting with v7: look only for the DLL from the
4702 version against which Emacs was built.
ac1bf374 4703 Support versions of libpng beyond 1.4.x.
019c8218 4704 Support libtiff v4.x.
d14c81ee 4705
983d0df5
BB
47062013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4707
4708 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4709 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4710 Add property :safe.
4711 (ruby-deep-arglist): Add property :type.
4712
47f58d85
GM
47132013-10-31 Glenn Morris <rgm@gnu.org>
4714
4715 * Makefile.in (custom-deps, finder-data): No need to setq the target
4716 variables, we are in the right directory and the defaults work fine.
4717
4f85b479
GM
47182013-10-30 Glenn Morris <rgm@gnu.org>
4719
ca7dd4cd
GM
4720 * Makefile.in (autoloads): Do not use abs_lisp.
4721
4f85b479
GM
4722 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4723 `newline' does not respect `standard-output', so use `princ'.
4724
cf59e41c
AA
47252013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4726
4727 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4728 * buff-menu.el (Buffer-menu--unmark): New function.
4729 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4730
74cf04fb
GM
47312013-10-30 Glenn Morris <rgm@gnu.org>
4732
b040b60e
GM
4733 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4734
f53d3815
GM
4735 * emacs-lisp/package.el (lm-homepage): Declare.
4736
5413d873
GM
4737 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4738 Fix doc typos.
4739
cecedb36
GM
4740 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4741
74cf04fb
GM
4742 * Makefile.in (finder-data, autoloads, update-subdirs)
4743 (compile-main, compile-clean, compile-always, bootstrap-clean):
4744 Check return value of cd.
4745 (compile-calc): Remove.
4746
195ee2f0
SM
47472013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4748
ae4002ce
SM
4749 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4750
4751 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4752 (byte-compile-and-folded): New function.
4753 (=, <, >, <=, >=): Use it.
4754
4755 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4756 (path-separator, null-device, buffer-file-coding-system)
4757 (lpr-headers-switches): Check system-type before modifying them.
4758 (find-buffer-file-type-coding-system): Mark obsolete.
4759 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4760 find-file-not-found-set-buffer-file-coding-system.
35e951cd 4761 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 4762 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 4763 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
4764 (w32-direct-print-region-helper, w32-direct-print-region-function)
4765 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4766 * startup.el (normal-top-level-add-subdirs-to-load-path):
4767 * ps-print.el (ps-print-region-function):
4768 * lpr.el (print-region-function): Use new name.
4769
53b39e89
SM
4770 * subr.el (custom-declare-variable-early): Remove function.
4771 (custom-declare-variable-list): Remove var.
4772 (error, user-error): Remove `while' loop.
4773 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4774 (user-emacs-directory-warning, locate-user-emacs-file):
4775 Move to files.el.
4776 * simple.el (read-quoted-char-radix, read-quoted-char):
4777 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4778 Move from subr.el.
4779 * custom.el (custom-declare-variable-list): Don't process
4780 custom-declare-variable-list.
4781
195ee2f0
SM
4782 * progmodes/python.el (python-shell-get-buffer): New function.
4783 (python-shell-get-process): Use it.
4784 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4785 Python which encoding was used. Don't split-string since we only care
4786 about the first line. Return the temp-file, if applicable.
4787 (python-shell-send-region): Tell compile.el how to turn locations in
4788 the temp-file into locations in the source buffer.
4789
7e3561ee
SM
47902013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4c9797cb
SM
4792 * subr.el (undefined): Add missing behavior from the C code for
4793 unbound keys.
4794
3472b6c6
SM
4795 * rect.el: Use lexical-binding. Add new rectangular region support.
4796 (rectangle-mark): New command.
4797 (rectangle--region): New var.
4798 (deactivate-mark-hook): Reset rectangle--region.
4799 (rectangle--extract-region, rectangle--insert-for-yank)
4800 (rectangle--highlight-for-redisplay)
4801 (rectangle--unhighlight-for-redisplay): New functions.
4802 (region-extract-function, redisplay-unhighlight-region-function)
4803 (redisplay-highlight-region-function): Use them to handle
4804 rectangular region.
4805 * simple.el (region-extract-function): New var.
4806 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4807 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4808 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4809 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4810 (redisplay-unhighlight-region-function)
4811 (redisplay-highlight-region-function): New vars.
4812 (redisplay--update-region-highlight): New function.
4813 (pre-redisplay-function): Use it.
4814 (exchange-point-and-mark): Don't deactivate the mark before
4815 reactivate-it anyway.
4816 * comint.el (comint-kill-region): Remove yank-handler argument.
4817 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4818 (delete-char): Remove property, since it's now part of their
4819 default behavior.
4820 (self-insert-iso): Remove property since this command doesn't exist.
4821
7e3561ee
SM
4822 * emacs-lisp/package.el (package--download-one-archive)
4823 (describe-package-1): Don't query the user about final newline.
4824
b9bef71f
DC
48252013-10-29 Daniel Colascione <dancol@dancol.org>
4826
4827 * net/tramp.el (tramp-methods): Document new functionality.
4828 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4829 tramp-hostname-checker if method provides one instead of scanning
4830 argument list for "%h" to decide hostname acceptability.
4831
4efc33f0
MA
48322013-10-28 Michael Albinus <michael.albinus@gmx.de>
4833
4834 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4835 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4836 Handle COPY-CONTENTS. (Bug#15737)
4837
ed42a877
DU
48382013-10-28 Daiki Ueno <ueno@gnu.org>
4839
4840 * epa-file.el
7e3561ee
SM
4841 (epa-file-cache-passphrase-for-symmetric-encryption):
4842 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4843
18c9f8a2
XF
48442013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4845
35e951cd 4846 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 4847
b1e8e010
AM
48482013-10-27 Alan Mackenzie <acm@muc.de>
4849
4850 Indent statements in macros following "##" correctly.
7e3561ee
SM
4851 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4852 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4853
73d40d1e 48542013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4855
4856 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4857
c8c605ac
DG
48582013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4859
4860 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4861 after `=' is probably a new expression.
4862
ca7e59d4
RS
48632013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4864
4865 * man.el (man-imenu-title): New option.
4866 (Man-mode-map): Add menu. (Bug#15722)
4867 (Man-mode): Add imenu to menu.
4868
bae91342
DG
48692013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4870
4871 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4872 specific in what the first arg can be: a non-keyword word,
4873 string/regexp/percent literal opener, opening paren, or unary
4874 operator followed directly by word.
4875
eb89dc14
SM
48762013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4879 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4880 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4881 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4882 Remove vars, they do not apply any more.
4883 (prolog-mode-abbrev-table): Remove redundant declaration.
4884 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4885 (prolog-use-smie): Remove.
4886 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4887 supported by prolog-electric-if-then-else-flag.
4888 (prolog-mode-variables, prolog-menu): Use setq-local.
4889 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4890 Remove binding to `Backspace' since this key doesn't exist anyway.
4891 Remove bindings for electric self-inserting keys.
4892 (prog-mode): Assume it's defined.
4893 (prolog-post-self-insert): New function.
4894 (prolog-mode): Use it.
4895 (prolog-indent-line, prolog-indent-level)
4896 (prolog-find-indent-of-matching-paren)
4897 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4898 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4899 (prolog-goto-next-paren, prolog-in-string-or-comment)
4900 (prolog-tokenize, prolog-inside-mline-comment)
4901 (prolog-find-start-of-mline-comment): Remove functions.
4902 (prolog-find-unmatched-paren, prolog-clause-end)
4903 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4904 (prolog-electric--if-then-else): Rename from
4905 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4906 (prolog-tokenize-searchkey): Remove const.
4907 (prolog-clause-info): Use forward-sexp.
4908 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4909 (prolog-electric-if-then-else): Remove commands.
4910 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4911 for use in post-self-insert-hook.
4912 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4913 for use in post-self-insert-hook.
4914 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4915 for use in post-self-insert-hook.
4916 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4917 adapt it for use in post-self-insert-hook.
4918
3dab0a83
MA
49192013-10-25 Michael Albinus <michael.albinus@gmx.de>
4920
4921 * emacs-lisp/ert.el (ert-run-tests-interactively):
4922 Use `completing-read'. (Bug#9756)
4923
fbfd0e1d
EZ
49242013-10-25 Eli Zaretskii <eliz@gnu.org>
4925
4926 * simple.el (line-move): Call line-move-1 instead of
4927 line-move-visual when the current window hscroll is zero, but
4928 temporary-goal-column indicates we will need to hscroll as result
4929 of the movement. (Bug#15712)
4930
963ce636
DG
49312013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4932
4933 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
4934 capitalization. Use :visible instead of :active.
4935 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
4936 commands that are used with SMIE.
4937 (ruby-do-end-to-brace): Insert space after `{'.
4938
a0be396a
JA
49392013-10-25 John Anthony <john@jo.hnanthony.com>
4940
f73754c9
JA
4941 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4942
4943 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 4944
f5bf77df
GM
49452013-10-25 Glenn Morris <rgm@gnu.org>
4946
4947 * vc/vc.el (vc-print-log): Don't use a working revision unless
4948 one was explicitly specified. (Bug#15322)
4949
37241f62
SM
49502013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * subr.el (add-to-list): Preserve return value in compiler-macro
4953 (bug#15692).
4954
6408a65d
RS
49552013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4956
4957 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4958 result. Ask user to retry using '-all' flag. (Bug#15701)
4959
71e3276b
SM
49602013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * emacs-lisp/smie.el: New smie-config system.
4963 (smie-config): New defcustom.
4964 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4965 (smie-config-guess, smie-config-save): New commands.
4966 (smie-config--mode-local, smie-config--buffer-local)
4967 (smie-config--trace, smie-config--modefuns): New vars.
4968 (smie-config--advice, smie-config--mode-hook)
4969 (smie-config--setter, smie-config-local, smie-config--get-trace)
4970 (smie-config--guess-value, smie-config--guess): New functions.
4971 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4972 text properties. Treat "string fence" syntax like string syntax.
4973
4974 * progmodes/sh-script.el (sh-use-smie): Change default.
4975 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4976 (sh-var-value): Simplify by CSE.
4977 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4978 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4979 is used.
4980 (sh-guess-basic-offset): Use cl-incf.
4981 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4982
60db713e
HE
49832013-10-24 Helmut Eller <eller.helmut@gmail.com>
4984
4985 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4986 (bug#15699).
4987
8b251df6
GM
49882013-10-24 Glenn Morris <rgm@gnu.org>
4989
4990 * Makefile.in (abs_top_srcdir): Remove.
4991 (update-subdirs): Use relative path to update-subdirs.
4992
6be0e22b
EZ
49932013-10-24 Eli Zaretskii <eliz@gnu.org>
4994
4995 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4996 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4997 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4998 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4999
50b5b857
MA
50002013-10-24 Michael Albinus <michael.albinus@gmx.de>
5001
5002 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5003 (ert-test-skipped): New error.
5004 (ert-skip, ert-stats-skipped): New defuns.
5005 (ert--skip-unless): New macro.
5006 (ert-test-skipped): New struct.
5007 (ert--run-test-debugger, ert-test-result-type-p)
5008 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5009 (ert--stats-set-test-and-result, ert-char-for-test-result)
5010 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5011 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5012 Handle skipped tests. (Bug#9803)
50b5b857 5013
6f317c2f
GM
50142013-10-24 Glenn Morris <rgm@gnu.org>
5015
e43817c1
GM
5016 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5017
6f317c2f
GM
5018 * Makefile.in (abs_top_srcdir): New, set by configure.
5019 (update-subdirs): Correct build-aux location.
5020
369bbf71
DG
50212013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5022
8297b2cf
DG
5023 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5024 value, whether we could auto-deduce `backend', or not.
5025
369bbf71
DG
5026 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5027 with parameters" example. Simplify the "is it block or is it
5028 hash" check, but also make it more thorough.
5029
d5f1282f
MF
50302013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5031
5032 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5033
bc4aaa31
SM
50342013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5035
03d44565
SM
5036 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5037 { if it is hanging.
5038
bc4aaa31
SM
5039 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5040 :before ";".
5041
f493ff19
JB
50422013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5043
5044 * progmodes/compile.el (compilation-directory-matcher)
5045 (compilation-page-delimiter):
5046 Support GNU Make-4.0 directory quoting. (Bug#15678)
5047
c744a3b9
LL
50482013-10-23 Leo Liu <sdl.web@gmail.com>
5049
5050 * ido.el (ido-tidy): Handle read-only text.
5051
b8e3b0a9
GM
50522013-10-23 Glenn Morris <rgm@gnu.org>
5053
5054 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5055 (emacs, compile, compile-always):
5056 Quote entities that might contain whitespace.
5057 (custom-deps, finder-data, autoloads): Use abs_lisp.
5058 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5059 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5060 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5061
ee4282cd
DG
50622013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5063
bc4aaa31
SM
5064 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5065 Use `following-char'.
7790a270 5066
ee4282cd 50672013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5068
5069 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5070 * progmodes/ruby-mode.el (ruby-smie-rules):
5071 Remove corresponding workaround. Fix indentation rule of ";" so it
5072 also applies when ";" is the parent.
5073
d40a46d7
XF
50742013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5075
5076 * frame.el (display-screens, display-pixel-height)
5077 (display-pixel-width, display-mm-width, display-backing-store)
5078 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5079 (display-visual-class, display-monitor-attributes-list):
5080 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5081
a0f143c9
MG
50822013-10-22 Michael Gauland <mikelygee@amuri.net>
5083
5084 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5085 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5086
18cacc39
DG
50872013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5088
5089 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5090 TODO. Add "." after " @ ".
5091 (ruby-smie--at-dot-call): New function. Checks if point at method
5092 call with explicit target.
5093 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5094 to the method name tokens when it precedes them.
5095 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5096 (ruby-smie-rules): Add rule for indentation before and after "."
5097 token.
5098
df74c4be
SM
50992013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5100
c6dab55f
SM
5101 * textmodes/remember.el (remember-diary-extract-entries):
5102 Avoid add-to-list.
5103
df74c4be
SM
5104 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5105 an instruction.
5106
8c1ae481
DG
51072013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5108
e9dc713d
JB
5109 * progmodes/ruby-mode.el (ruby-smie-grammar):
5110 Add (almost) all infix operators.
cfef16c0
DG
5111 (ruby-smie--implicit-semi-p): Add new operator chars.
5112
8c1ae481
DG
5113 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5114 `smie-down-list'.
5115 (ruby-smie--args-separator-p): Check that there's no newline
5116 between method call and its arguments.
5117
87756ca9
AM
51182013-10-20 Alan Mackenzie <acm@muc.de>
5119
5120 Allow comma separated lists after Java "implements".
5121
df74c4be
SM
5122 * progmodes/cc-engine.el (c-backward-over-enum-header):
5123 Parse commas.
87756ca9
AM
5124 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5125 from a "disallowed" list in enum fontification.
5126
c25f8957
JB
51272013-10-20 Johan Bockgård <bojohan@gnu.org>
5128
df74c4be 5129 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5130
c25f8957
JB
5131 * progmodes/verilog-mode.el (verilog-mode): Don't set
5132 comment-indent-function globally.
5133
aca5fcdc
JD
51342013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5135
5f161884
JD
5136 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5137 Move Info menu item creation to ns-win.el.
5138
5139 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5140 in menu bar.
5141
a6c4680a 5142 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5143
5144 * term/ns-win.el (ns-initialize-window-system): ... to here.
5145
914b7f98
SM
51462013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5147
5148 * simple.el (newline): Only run post-self-insert-hook when
5149 called interactively.
5150
846ffe77
JB
51512013-10-19 Johan Bockgård <bojohan@gnu.org>
5152
5153 * icomplete.el (icomplete-with-completion-tables): Add :version.
5154
033f22dd
AM
51552013-10-19 Alan Mackenzie <acm@muc.de>
5156
5157 Fix fontification bugs with constructors and const.
5158
5159 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5160 CASE 2) Remove the check for the absence of a suffix construct
5161 after a function declaration with only types (no identifiers) in
5162 the parentheses. Also, accept a function declaration with just a
5163 type inside the parentheses, if this type can be positively
5164 recognised as such, or if a prefix keyword like "explicit" nails
5165 down the construct as a declaration.
5166
58ce0cfc
EZ
51672013-10-19 Eli Zaretskii <eliz@gnu.org>
5168
5169 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5170 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5171 the problem whereby selecting a menu item that leads to a
5172 minibuffer prompt moves the cursor out of the minibuffer window,
5173 making it hard to type at the prompt. Suggested by Stefan Monnier
5174 <monnier@iro.umontreal.ca>.
5175
50e28e7d
JD
51762013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5177
5178 * menu-bar.el: Don't make Services menu.
5179
7deed4bf
RS
51802013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5181
5182 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5183 (ffap-alist): Use ffap-c++-mode for c++-mode.
5184 (ffap-c++-path): New variable.
5185 (ffap-c++-mode): New function.
5186
7bcb455b
JVJ
51872013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5188
5189 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5190
f0ff1cd5
MA
51912013-10-18 Michael Albinus <michael.albinus@gmx.de>
5192
5193 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5194 introduced on 2013-09-08, which results in an infinite loop
5195 requesting a password.
5196
d64da4b7
GM
51972013-10-18 Glenn Morris <rgm@gnu.org>
5198
5199 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5200
ea89ff08
WS
52012013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5202
5203 Sync with upstream verilog-mode revision 1a6ecec7.
5204 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5205 (verilog-mode-release-date): Remove.
5206 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5207 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5208 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5209 (verilog-auto-tieoff-ignore-regexp)
5210 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5211 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5212 (verilog-signals-with, verilog-dir-cache-preserving)
5213 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5214 Doc fixes.
5215 (verilog-case-fold): New option, to control case folding in
5216 regexp searches, bug597.
5217 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5218 (verilog-string-match-fold, verilog-in-paren-count)
5219 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5220 (verilog-at-close-struct-p): New functions.
5221 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5222 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5223 (verilog-leap-to-case-head): Handle "unique0" case.
5224 (verilog-in-constraint-re): New constant.
5225 (verilog-keywords, verilog-type-font-keywords):
5226 Add some SystemVerilog 1800-2012 keywords.
5227 (verilog-label-be): Remove unimplemented argument, bug669.
5228 (verilog-batch-execute-func): When batch expanding clear
5229 create-lockfiles to prevent spurious user locks when a file ends
5230 up not changing.
5231 (verilog-calculate-indent, verilog-calc-1)
5232 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5233 (verilog-do-indent): Fix indentation of nested constraints
5234 and structures.
5235 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5236 (verilog-auto-inst-param): Use verilog-string-match-fold.
5237 (verilog-read-inst-module-matcher):
5238 Fix AUTOINST on gate primitives with #1.
5239 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5240 Reads all user-defined typed variables.
5241 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5242 (verilog-signals-matching-regexp)
5243 (verilog-signals-not-matching-regexp, verilog-auto):
5244 Respect verilog-case-fold.
5245 (verilog-diff-report): Fix line count.
5246 (verilog-auto-assign-modport): Remove unused local `modi'.
5247 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5248 better handle multidimensional arrays.
5249 Fix packed array ports misadding bit index in AUTOINST, bug637.
5250 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5251 to not double-declare existing outputs and inputs, respectively.
5252 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5253 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5254 (verilog-sk-uvm-component): New skeleton.
5255 (verilog-submit-bug-report): Add verilog-case-fold,
5256 remove verilog-mode-release-date.
5257
ef566920
BR
52582013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5259
a12bf61e 5260 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5261 as before.
5262
29df8a0b
RT
52632013-10-18 Reuben Thomas <rrt@sc3d.org>
5264
e0eb0550 5265 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5266 remember buffers (bug#13566).
5267
04a19a79
DC
52682013-10-18 Daniel Colascione <dancol@dancol.org>
5269
5270 When evaluating forms in ielm, direct standard output to ielm
5271 buffer. Add new ielm-return-for-effect command. Remove trailing
5272 whitespace throughout.
5273
5274 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5275 (ielm-return-for-effect): New command.
5276 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5277 (ielm-eval-input): Accept optional `for-effect' parameter.
5278 Bind `standard-output' to stream we create using
04a19a79
DC
5279 `ielm-standard-output-impl'. Suppress printing result when
5280 `for-effect'.
5281 (ielm-standard-output-impl): New function.
5282 (inferior-emacs-lisp-mode): Explain new features in documentation.
5283
4c1f03ef
MA
52842013-10-17 Michael Albinus <michael.albinus@gmx.de>
5285
5286 Code cleanup.
5287
5288 * net/tramp.el (tramp-debug-message): Do not check for connection
5289 buffer.
5290 (tramp-message): Use "vector" connection property.
5291
5292 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5293 (tramp-equal-remote, tramp-eshell-directory-change)
5294 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5295 (tramp-adb-handle-rename-file)
5296 * net/tramp-cmds.el (tramp-list-remote-buffers)
5297 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5298 * net/tramp-compat.el (tramp-compat-process-running-p)
5299 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5300 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5301 (tramp-gvfs-handle-rename-file)
5302 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5303 (tramp-set-file-uid-gid)
5304 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5305 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5306 of `file-remote-p'.
5307
5308 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5309 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5310 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5311 (tramp-gw-open-network-stream): Suppress unrelated traces.
5312
5313 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5314 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5315 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5316 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5317 connection property.
5318
5319 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5320 persistency file.
4c1f03ef
MA
5321
5322 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5323 Refactor common code. Improve debug message.
5324 (tramp-maybe-open-connection)
5325 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5326 connection buffer too early.
5327
5328 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5329 from `tramp-smb-actions-with-acl'.
5330 (tramp-smb-actions-set-acl): New defconst.
5331 (tramp-smb-handle-copy-directory)
5332 (tramp-smb-action-get-acl): New defun, renamed from
5333 `tramp-smb-action-with-acl'.
5334 (tramp-smb-action-set-acl): New defun.
5335 (tramp-smb-handle-set-file-acl): Rewrite.
5336
642eb8b6
GM
53372013-10-17 Glenn Morris <rgm@gnu.org>
5338
5339 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5340
85527ff3
SM
53412013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5342
921c1d62
SM
5343 * skeleton.el (skeleton-newline): Remove.
5344 (skeleton-internal-1): Use (insert "\n") instead.
5345
e333fb10
SM
5346 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5347 let-bindings.
5348
85527ff3
SM
5349 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5350 forward-sexp-function while we redo its job (bug#15613).
5351
c8722a97
JB
53522013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5353
5354 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5355 represented by lists.
5356
7a550bbb
GM
53572013-10-16 Glenn Morris <rgm@gnu.org>
5358
5359 * tmm.el (tmm--history): New dynamic variable.
5360 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5361
f19da8ad
MA
53622013-10-16 Michael Albinus <michael.albinus@gmx.de>
5363
5364 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5365 (tramp-smb-errors): Add error messages.
5366 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5367 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5368 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5369 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5370 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5371 (tramp-smb-get-stat-capability): Fix tests.
5372
a24b9961
DK
53732013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5374
5375 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5376 (bug#15580).
5377
62ad85e6
GM
53782013-10-16 Glenn Morris <rgm@gnu.org>
5379
0283d6b0
GM
5380 * ansi-color.el (ansi-color-drop-regexp):
5381 Add 1J, 1K, 2K. (Bug#15617)
5382
012e2f9f
GM
5383 * files.el (hack-local-variables--warned-lexical): New.
5384 (hack-local-variables):
5385 Warn about misplaced lexical-binding. (Bug#15616)
5386
62ad85e6
GM
5387 * net/eww.el (eww-render): Always set eww-current-url,
5388 and update header line. (Bug#15622)
5389 (eww-display-html): ... Rather than just doing it here.
5390
6456c0ea
EZ
53912013-10-15 Eli Zaretskii <eliz@gnu.org>
5392
5393 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5394 menu navigations commands.
5395
c2de5588
DK
53962013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5397
5398 * progmodes/subword.el (subword-capitalize): Be careful when
5399 the search for [[:alpha:]] fails (bug#15580).
5400
ccd4a783
EZ
54012013-10-14 Eli Zaretskii <eliz@gnu.org>
5402
5403 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5404 to commands that scroll the menu.
5405
1eda1d8d
DG
54062013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5407
c2de5588
DK
5408 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5409 Handle methods ending with `?' and `!'.
1eda1d8d 5410
e70181b8
AM
54112013-10-14 Akinori MUSHA <knu@iDaemons.org>
5412
5413 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5414 `japanese-cp932' to `cp932' to fix the problem where saving a
5415 source file written in Shift_JIS twice would end up having
5416 `coding: japanese-cp932' which Ruby could not recognize.
5417 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5418 in `ruby-encoding-map'.
5419 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5420 doesn't need to be explicitly declared in magic comment.
5421 (ruby-encoding-map): Add type declaration for better customize UI.
5422
9148ee92
GM
54232013-10-13 Glenn Morris <rgm@gnu.org>
5424
a5d38e34
GM
5425 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5426 Occur buffers are read-only. http://bugs.debian.org/720775
5427
9148ee92
GM
5428 * emacs-lisp/authors.el (authors-fixed-entries):
5429 Comment out old alpha stuff.
5430
a9ba094b
DG
54312013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5432
5433 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5434 to `after-save-hook' instead of `before-save-hook'.
5435 (ruby-mode-set-encoding): Use the value of coding system used to
5436 write the file. Call `basic-save-buffer-1' after modifying the
5437 buffer.
5438
7a068717
AM
54392013-10-13 Alan Mackenzie <acm@muc.de>
5440
5441 Fix indentation/fontification of Java enum with
5442 "implements"/generic.
5443
c2de5588
DK
5444 * progmodes/cc-engine.el (c-backward-over-enum-header):
5445 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5446 (c-inside-bracelist-p): Uses new function above.
5447 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5448 function above.
5449 (c-font-lock-enum-tail): Uses new function above.
5450
85b64f02
KH
54512013-10-13 Kenichi Handa <handa@gnu.org>
5452
5453 * international/mule-cmds.el (select-safe-coding-system): Remove a
5454 superfluous condition in chekcing whether a coding system is safe
5455 or not.
5456
fc7f501b
OK
54572013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5458
5459 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5460
fdcb2049
AP
54612013-10-13 Andreas Politz <politza@hochschule-trier.de>
5462
5463 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5464
8c106d17
GM
54652013-10-13 Glenn Morris <rgm@gnu.org>
5466
feab892d
GM
5467 * menu-bar.el (menu-bar-update-buffers):
5468 Unify Buffers menu prompt string. (Bug#15576)
5469
b22d0686
GM
5470 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5471
8c106d17
GM
5472 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5473 Add some entries.
5474 (authors-fixed-entries): Use accented form of name.
5475
1b12c797
SM
54762013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5477
650fa7bf 5478 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5479 method calls (bug#15594).
650fa7bf
SM
5480 (ruby-smie--args-separator-p): New function.
5481 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5482 recognize paren-free method calls.
5483
1b12c797
SM
5484 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5485 internals of universal-argument.
5486
029619c8
EZ
54872013-10-11 Eli Zaretskii <eliz@gnu.org>
5488
5489 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5490 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5491 dropped menu on second mouse click on the menu bar.
029619c8 5492
dd070019
SM
54932013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5496 (explicit-shell-file-name): Declare.
5497 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5498 (sh-completion-at-point-function): New function.
5499 (sh-mode): Use it.
5500 (sh-smie--keyword-p): Remove unused argument.
5501 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5502 vars.
5503 (sh-set-shell): Always setup SMIE, even if we use the
5504 old indentation code.
5505
0922b826
DG
55062013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5507
b68e2926
DG
5508 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5509 cases of ? and =.
5510 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5511 predicate would return nil are almost non-existent.
5512 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5513
0922b826
DG
5514 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5515 cache also after commands that modify the buffer but don't move
5516 point.
5517
ee041f2d
SM
55182013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5519
5520 * env.el (substitute-env-in-file-name): New function.
5521 (substitute-env-vars): Extend the meaning of the optional arg.
5522
a5dab159
EZ
55232013-10-10 Eli Zaretskii <eliz@gnu.org>
5524
5525 * term/w32-win.el (dynamic-library-alist): Define separate lists
5526 of GIF DLLs for versions before and after 5.0.0 of giflib.
5527 (Bug#15531)
5528
0449d6cd 55292013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5530
5531 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5532 not locked, use last revision and current source as
5533 defaults. (Bug#15569)
5534
2f6e161e
MY
55352013-10-10 Masatake YAMATO <yamato@redhat.com>
5536
5537 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5538 menu-bar is hidden.
5539
6c8413fc
MR
55402013-10-10 Martin Rudalics <rudalics@gmx.at>
5541
5542 * window.el (pop-to-buffer-same-window): Fix doc-string.
5543 (Bug#15492)
5544
20832de0
SM
55452013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5546
5547 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5548
c6e8ae77
AC
55492013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5550
5551 * calendar/icalendar.el (icalendar-import-file):
5552 Fix interactive spec. (Bug#15482)
5553
9db13baf
GM
55542013-10-10 Glenn Morris <rgm@gnu.org>
5555
9271e90e
GM
5556 * desktop.el (desktop-save): Default to saving in .emacs.d,
5557 since PWD is no longer in desktop-path by default. (Bug#15319)
5558
9db13baf
GM
5559 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5560 now that text mode has a menu with the same entry.
5561 (menu-bar-text-mode-auto-fill): Remove now unused func.
5562 * textmodes/text-mode.el (text-mode-map):
5563 Use auto-fill help text from menu-bar.el.
5564
a0be396a 55652013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5566
5567 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5568
2edcd3c7
JL
55692013-10-09 Juri Linkov <juri@jurta.org>
5570
5571 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5572 instead of this-command-keys. Add universal-argument-more and
5573 universal-argument-minus to the list of prefix commands. (Bug#15568)
5574
574411d0
GM
55752013-10-09 Glenn Morris <rgm@gnu.org>
5576
14afa541
GM
5577 * vc/vc-svn.el (vc-svn-create-repo):
5578 Expand paths in file://... url. (Bug#15446)
5579
574411d0
GM
5580 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5581 Add some entries.
5582 (authors): Remove unused local variables.
5583
79804536
SM
55842013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5585
5586 * profiler.el: Create a more coherent calltree from partial backtraces.
5587 (profiler-format): Hide the tail with `invisible' so that C-s can still
5588 find the hidden elements.
5589 (profiler-calltree-depth): Don't recurse so enthusiastically.
5590 (profiler-function-equal): New hash-table-test.
5591 (profiler-calltree-build-unified): New function.
5592 (profiler-calltree-build): Use it.
5593 (profiler-report-make-name-part): Indent the calltree less.
5594 (profiler-report-mode): Add visibility specs for profiler-format.
5595 (profiler-report-expand-entry, profiler-report-toggle-entry):
5596 Expand the whole subtree when provided with a prefix arg.
5597
238150c8
DG
55982013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5599
5600 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5601 iuwu-mod token.
5602 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5603 hanging iuwu-mod token.
5604 (ruby-smie--forward-token): Do not include a dot after a token in
5605 that token.
5606 (ruby-smie--backward-token): Likewise.
5607
b0949cc4
JL
56082013-10-08 Juri Linkov <juri@jurta.org>
5609
5610 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5611 to isearch-other-control-char.
5612 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5613 and isearch-post-command-hook to post-command-hook.
5614 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5615 and isearch-post-command-hook from post-command-hook.
5616 (isearch-unread-key-sequence)
5617 (isearch-reread-key-sequence-naturally)
5618 (isearch-lookup-scroll-key, isearch-other-control-char)
5619 (isearch-other-meta-char): Remove functions.
5620 (isearch-pre-command-hook, isearch-post-command-hook):
5621 New functions based on isearch-other-meta-char rewritten
5622 relying on the new behavior of overriding-terminal-local-map
5623 that does not replace the local keymaps any more. (Bug#15200)
5624
4ed77415
EZ
56252013-10-08 Eli Zaretskii <eliz@gnu.org>
5626
5627 Support menus on text-mode terminals.
5628 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5629 functionality.
5630
5631 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5632
c2de5588
DK
5633 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5634 Move here from mouse.el.
4ed77415
EZ
5635 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5636 and arrow keys.
5637 (tty-menu-navigation-map): New map for TTY menu navigation.
5638
5639 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5640
5641 * frame.el (display-mouse-p): Report text-mode mouse as available
5642 on w32.
5643 (display-popup-menus-p): Report availability if mouse is
5644 available; don't condition on window-system.
5645
5646 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5647 (tty-menu-selected-face): New faces.
5648
b7d5bd82
TL
56492013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5650
06286513
SM
5651 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5652 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5653 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5654 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5655 New constants.
5656 (lisp-mode-variables): New `elisp' argument.
5657 (emacs-lisp-mode): Use it.
5658 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5659 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5660
b7d5bd82
TL
5661 * indent.el: Use lexical-binding.
5662 (indent-region): Add progress reporter.
5663 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5664 last step.
5665 (indent--next-tab-stop): New function to implement this behavior.
5666 (tab-to-tab-stop, move-to-tab-stop): Use it.
5667
56682013-10-08 Teemu Likonen <tlikonen@iki.fi>
5669
5670 * indent.el (indent-rigidly--current-indentation): New function.
5671 (indent-rigidly-map): New var.
5672 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5673
5ea75d23
BG
56742013-10-08 Bastien Guerry <bzg@gnu.org>
5675
f2726fa2 5676 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5677
cc5da1ec
SM
56782013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5679
8ffa1a0b
SM
5680 * progmodes/perl-mode.el: Use lexical-binding.
5681 Remove redundant :group args.
5682 (perl-nochange): Change default to be closer to other major modes's
5683 standard behavior.
5684 (perl-indent-line): Don't consider text on current line as a
5685 valid beginning of function from which to indent.
5686
f2223371
SM
5687 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5688 with more than one argument (bug#15538).
5689
44256060
SM
5690 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5691
cc5da1ec
SM
5692 * vc/pcvs.el: Use lexical-binding.
5693 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5694 environment of `eval'.
5695 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5696 than a list of expressions. Adjust callers.
5697 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5698
0ea1599d
DG
56992013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5700
5701 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5702 case of the dot in a chained method call being on the following line.
0ea1599d 5703
da3e5ebb
SM
57042013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5705
2abb4e65
SM
5706 * electric.el (electric-indent-inhibit): New var.
5707 (electric-indent-post-self-insert-function): Use it.
5708 * progmodes/python.el (python-mode): Set it.
5709
d2e0e795
SM
5710 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5711 open braces.
5712
5713 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5714
bdc6b4c8
SM
5715 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5716 (css-mode): Use electric-indent-chars.
5717
da3e5ebb
SM
5718 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5719 (font-lock-beg, font-lock-end): Move before first use.
5720 (nxml-mode): Use syntax-propertize-function.
5721 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5722 (nxml-extend-after-change-region): Remove.
5723 * nxml/xmltok.el: Use lexical-binding.
5724 (xmltok-save): Use `declare'.
5725 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5726 * nxml/nxml-util.el: Use lexical-binding.
5727 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5728 Use `declare'.
5729 * nxml/nxml-ns.el: Use lexical-binding.
5730 (nxml-ns-save): Use `declare'.
5731 (nxml-ns-prefixes-for): Avoid add-to-list.
5732 * nxml/rng-match.el: Use lexical-binding.
5733 (rng--ipattern): Use cl-defstruct.
5734 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5735 (rng-cons-group-after, rng-subst-group-after)
5736 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5737 Use closures instead of `(lambda...).
5738
f8f91d5d
MA
57392013-10-07 Michael Albinus <michael.albinus@gmx.de>
5740
5741 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5742 of BEG and END.
5743
da3e5ebb
SM
5744 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5745 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5746 (tramp-gvfs-handle-insert-file-contents): Remove function.
5747
da3e5ebb
SM
5748 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5749 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5750
5751 * net/trampver.el: Update release number.
5752
7ccae3b1
SM
57532013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5754
55ca2c0d
SM
5755 * progmodes/compile.el (compilation-parse-errors):
5756 Use compilation--put-prop.
5757 (compilation--ensure-parse): Check compilation-multiline.
5758
731fc3ae
SM
5759 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5760
da3e5ebb
SM
5761 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5762 lexical-binding.
a5833280 5763
2e7ba2c2
SM
5764 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5765
7ccae3b1
SM
5766 * progmodes/ruby-mode.el: Fix recently added tests.
5767 (ruby-smie-grammar): Add - and +.
5768 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5769 (ruby-smie--backward-id): New functions.
5770 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5771 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5772 any more.
5773
85698d63
LL
57742013-10-07 Leo Liu <sdl.web@gmail.com>
5775
5776 * register.el (register-preview-delay)
5777 (register-preview-functions): New variables.
5778 (register-read-with-preview, register-preview)
5779 (register-describe-oneline): New functions.
5780 (point-to-register, window-configuration-to-register)
5781 (frame-configuration-to-register, jump-to-register)
5782 (number-to-register, view-register, insert-register)
5783 (copy-to-register, append-to-register, prepend-to-register)
5784 (copy-rectangle-to-register): Use register-read-with-preview to
5785 read register. (Bug#15525)
5786
3986af6c
DS
57872013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5788
5789 * net/network-stream.el (network-stream-open-starttls): Don't add
5790 --insecure if it's already present, because that gnutls-cli
5791 rejects getting that parameter twice.
5792
5cd9cda9
DG
57932013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5794
5795 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5796 keyword, too.
5797
da9ea6d9
DG
57982013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5799
5800 * newcomment.el (comment-use-global-state): Change default value
5801 to t, mark obsolete (Bug#15251).
5802 (comment-beginning): In addition to `comment-to-syntax', check the
5803 value of `comment-use-global-state'.
5804
34d1a133
SM
58052013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5808 (ruby-comment-column): Follow the global default, by default.
5809 (ruby-smie-grammar): Add assignment syntax.
5810 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5811 open-paren, a comma, or a \.
5812 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5813 and line continuations.
5814 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5815 followed by implicit semi-colons. Add rule for string concatenation
5816 and for indentation at BOB.
27821a89 5817 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
5818
5819 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5820 calling next-sexp, since next-token may have skipped chars which
5821 next-sexp doesn't know should be skipped!
5822
6f6ab820
LL
58232013-10-05 Leo Liu <sdl.web@gmail.com>
5824
34d1a133
SM
5825 * progmodes/octave.el (octave-send-region):
5826 Call compilation-forget-errors.
6f6ab820 5827
34ca0f4c
XF
58282013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5829
5830 * vc/vc-svn.el (vc-svn-find-admin-dir):
5831 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5832 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5833 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5834 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5835
a27c1b72
SM
58362013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5837
5838 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5839
258ab3bc
SM
58402013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * subr.el (read-passwd): Hide chars even when called within a context
5843 where after-change-functions is disabled (bug#15501).
5844 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5845 until we removed ourself from overriding-terminal-local-map.
5846
939fb29c
LL
58472013-10-04 Leo Liu <sdl.web@gmail.com>
5848
258ab3bc
SM
5849 * progmodes/octave.el (inferior-octave-mode):
5850 Call compilation-forget-errors.
939fb29c 5851
63bd7f35
XF
58522013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5853
5854 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5855
9e6229fa
MA
58562013-10-04 Michael Albinus <michael.albinus@gmx.de>
5857
5858 * net/secrets.el (secrets-create-collection): Add optional
5859 argument ALIAS. Use proper Label keyword. Append ALIAS as
5860 dbus-call-method argument. (Bug#15516)
5861
1dab32a3
LL
58622013-10-04 Leo Liu <sdl.web@gmail.com>
5863
5864 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5865 (inferior-octave-compilation-font-lock-keywords): New variables.
5866 (compilation-error-regexp-alist)
5867 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5868 (inferior-octave-mode): Use compilation-shell-minor-mode.
5869
6cad7ba3
JS
58702013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5871
5872 * minibuffer.el (completion--replace): Be careful that `end' might be
5873 a marker.
5874
acbadd00
DU
58752013-10-03 Daiki Ueno <ueno@gnu.org>
5876
5877 Add support for package signature checking.
5878 * emacs-lisp/package.el (url-http-file-exists-p)
5879 (epg-make-context, epg-context-set-home-directory)
5880 (epg-verify-string, epg-context-result-for)
5881 (epg-signature-status, epg-signature-to-string)
5882 (epg-check-configuration, epg-configuration)
5883 (epg-import-keys-from-file): Declare.
5884 (package-check-signature): New user option.
5885 (package-unsigned-archives): New user option.
5886 (package-desc): Add `signed' field.
5887 (package-load-descriptor): Set `signed' field if .signed file exists.
5888 (package--archive-file-exists-p): New function.
5889 (package--check-signature): New function.
5890 (package-install-from-archive): Check package signature.
5891 (package--download-one-archive): Check archive signature.
5892 (package-delete): Remove .signed file.
5893 (package-import-keyring): New command.
5894 (package-refresh-contents): Import default keyring.
5895 (package-desc-status): Add "unsigned" status.
5896 (describe-package-1, package-menu--print-info)
5897 (package-menu-mark-delete, package-menu--find-upgrades)
5898 (package-menu--status-predicate): Support "unsigned" status.
5899
adf2aa61
SM
59002013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5903 the new compilation scheme using the new byte-codes.
5904
5905 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5906 (byte-pophandler): New byte codes.
5907 (byte-goto-ops): Adjust accordingly.
5908 (byte-compile--use-old-handlers): New var.
5909 (byte-compile-catch): Use new byte codes depending on
5910 byte-compile--use-old-handlers.
5911 (byte-compile-condition-case--old): Rename from
5912 byte-compile-condition-case.
5913 (byte-compile-condition-case--new): New function.
5914 (byte-compile-condition-case): New function that dispatches depending
5915 on byte-compile--use-old-handlers.
5916 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5917 when we can.
5918
5919 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5920 Optimize under `condition-case' and `catch' if
5921 byte-compile--use-old-handlers is nil.
5922 (disassemble-offset): Handle new bytecodes.
5923
328a8179
SM
59242013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5925
5926 * subr.el (error): Use `declare'.
5927 (decode-char, encode-char): Use advertised-calling-convention instead
5928 of the docstring to discourage use of the `restriction' arg.
5929
15a1e936
DU
59302013-10-03 Daiki Ueno <ueno@gnu.org>
5931
5932 * epg.el (epg-verify-file): Add a comment saying that it does not
5933 notify verification error as a return value nor a signal.
5934 (epg-verify-string): Ditto.
5935
376f862a
KR
59362013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5937
5938 * progmodes/compile.el (compilation-start): Try globbing the arg to
5939 `cd' (bug#15417).
5940
a2f93a5f
MA
59412013-10-02 Michael Albinus <michael.albinus@gmx.de>
5942
5943 Sync with Tramp 2.2.8.
5944
5945 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5946 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5947 * net/trampver.el: Update release number.
5948
0daa0804
JD
59492013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5950
5951 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5952 and default-process-coding-system for darwin only.
5953
abd1ae34
SM
59542013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5955
5956 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5957
be4e325d
MH
59582013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5959
5960 * vc/vc-git.el (vc-git-grep): Disable pager.
5961
e9155c4a
DG
59622013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5963
494e898b
DG
5964 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5965 Use :url instead of :homepage, as per
5966 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5967
e9155c4a
DG
5968 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5969 non-nil, use `syntax-ppss' (Bug#15251).
5970
481a8e0f
RS
59712013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5972
be4e325d
MH
5973 * progmodes/octave.el (inferior-octave-startup-file):
5974 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5975
056453c6
DG
59762013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5977
be4e325d
MH
5978 * emacs-lisp/package.el (package-desc-from-define):
5979 Accept additional arguments as plist, convert them to an alist and store
5980 them in the `extras' slot.
056453c6
DG
5981 (package-generate-description-file): Convert extras alist back to
5982 plist and append to the `define-package' form arguments.
5983 (package--alist-to-plist): New function.
5984 (package--ac-desc): Add `extras' slot.
5985 (package--add-to-archive-contents): Check if the archive-contents
5986 vector is long enough, and if it is, pass its `extras' slot value
5987 to `package-desc-create'.
5988 (package-buffer-info): Call `lm-homepage', pass the returned value
5989 to `package-desc-from-define'.
5990 (describe-package-1): Render the homepage button (Bug#13291).
5991
be4e325d
MH
5992 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5993 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5994
832966e5
JD
59952013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5996
5997 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5998 and default-process-coding-system to utf-8-unix (Bug#15402).
5999
6cfe977d
XF
60002013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6001
6002 * subr.el (looking-back): Do not recommend using looking-back.
6003
38de11bd
AM
60042013-09-28 Alan Mackenzie <acm@muc.de>
6005
6006 Fix indentation/fontification of Java enum with "implements".
6007
6008 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6009 regexp which matches "implements", etc., in Java.
6010 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6011 specifier clauses coming after "enum".
6012 * progmodes/cc-fonts.el (c-font-lock-declarations)
6013 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6014 after "enum".
6015
1610938f
JD
60162013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6017
6018 * faces.el (region): Change ns_selection_color to
6019 ns_selection_fg_color, add ns_selection_bg_color.
6020
e090f499
LL
60212013-09-28 Leo Liu <sdl.web@gmail.com>
6022
4d2e94d1
LL
6023 * progmodes/octave.el (inferior-octave-completion-table)
6024 (inferior-octave-completion-at-point): Minor tweaks.
6025
e090f499
LL
6026 * textmodes/ispell.el (ispell-lookup-words): Rename from
6027 lookup-words. (Bug#15460)
6028 (lookup-words): Obsolete.
6029 (ispell-complete-word, ispell-command-loop): All uses changed.
6030
7e138a62
RS
60312013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6032
a12bf61e 6033 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6034 (octave-mode-menu): Add octave-send-buffer.
6035 (octave-send-buffer): New function.
6036
5af5ed08
RS
60372013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6038
a12bf61e 6039 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6040 octave-lookfor.
6041 (octave-mode-menu): Add octave-lookfor.
6042 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6043 octave-lookfor.
6044 (octave-lookfor): New function.
6045
3b7b2692
SM
60462013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6047
35e951cd 6048 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6049 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6050 its convention.
6051 (cl--loop-set-iterator-function): New function.
6052 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6053 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6054 Bind `it' with `let' instead of substituting it with `cl-subst'.
6055 (cl--unused-var-p): New function.
6056 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6057 Eliminate some unused variable warnings (bug#15326).
6058
529fb53f
TH
60592013-09-27 Tassilo Horn <tsdh@gnu.org>
6060
6061 * doc-view.el (doc-view-scale-reset): Rename from
6062 `doc-view-reset-zoom-level'.
6063 (doc-view-scale-adjust): New command.
6064 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6065 `doc-view-scale-adjust'.
6066
0550c95a
TH
60672013-09-26 Tassilo Horn <tsdh@gnu.org>
6068
6069 * doc-view.el (doc-view-reset-zoom-level): New command.
6070 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6071 zoom commands (bug#15466).
6072
6950f152
KH
60732013-09-26 Kenichi Handa <handa@gnu.org>
6074
6075 * international/quail.el (quail-help): Make it not a command.
6076
39587580
LL
60772013-09-26 Leo Liu <sdl.web@gmail.com>
6078
6079 * minibuffer.el (completion-all-sorted-completions): Make args
6080 optional as they are.
6081
00578659
DC
60822013-09-25 Daniel Colascione <dancol@dancol.org>
6083
6084 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6085 specs are and that they're not evaluated.
6086
0c173878
SS
60872013-09-24 Sam Steingold <sds@gnu.org>
6088
6089 * midnight.el (clean-buffer-list-kill-regexps)
6090 (clean-buffer-list-kill-buffer-names): Update for the new Man
6091 buffer naming which includes the object name.
6092
84998447
SM
60932013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6096 (eshell-parse-command, eshell-parse-pipeline): Use it since
6097 eshell-separate-commands requires a dynamic scoped var.
6098 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6099
33215353
LL
61002013-09-23 Leo Liu <sdl.web@gmail.com>
6101
6102 * autoinsert.el (auto-insert-alist): Make the value of
6103 lexical-binding match its file setting.
6104
57b16162
JB
61052013-09-23 Juanma Barranquero <lekktu@gmail.com>
6106
c8af4e67
JB
6107 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6108
57b16162
JB
6109 * autoarg.el (autoarg-kp-digit-argument):
6110 * electric.el (Electric-command-loop):
6111 * kmacro.el (kmacro-step-edit-insert):
6112 Do not set universal-argument-num-events.
6113
7186ba60
LL
61142013-09-22 Leo Liu <sdl.web@gmail.com>
6115
6116 * files.el (interpreter-mode-alist): Add octave.
6117
ece15004
AM
61182013-09-21 Alan Mackenzie <acm@muc.de>
6119
6120 C++: fontify identifier in declaration following "public:" correctly.
6121 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6122 to match "public", etc.
6123 (c-decl-prefix-re): Add ":" into the C++ value.
6124 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6125 bit. Add a check for a ":" preceded by "public", etc.
6126
75d83e22
EZ
61272013-09-21 Eli Zaretskii <eliz@gnu.org>
6128
6129 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6130 recognized by GDB 7.5 and later.
6131
d052d3bd
XF
61322013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6133
6134 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6135
31dca772
R
61362013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * subr.el (internal--call-interactively): New const.
6139 (called-interactively-p): Use it (bug#3984).
6140
98ccf24e
XF
61412013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6142
6143 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6144 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6145 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6146
c39cc7d1
SM
61472013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6150 (eshell-ls-orig-insert-directory): Remove.
6151 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6152 (eshell-ls-use-in-dired): Use advice-add/remove.
6153 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6154 Add `orig-fun' arg for use in :around advice.
6155 Make it check (redundantly) eshell-ls-use-in-dired.
6156
9a0289a2
GM
61572013-09-19 Glenn Morris <rgm@gnu.org>
6158
a2c501b8
GM
6159 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6160
c440407a
GM
6161 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6162
9a0289a2
GM
6163 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6164
85e05915
MA
61652013-09-19 Michael Albinus <michael.albinus@gmx.de>
6166
6167 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6168 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6169 (tramp-get-remote-python): New defuns.
6170 (tramp-get-remote-uid-with-perl)
6171 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6172 contributed by yary <not.com@gmail.com> (tiny change).
6173 (tramp-get-remote-uid-with-python)
6174 (tramp-get-remote-gid-with-python): New defuns. Python code
6175 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6176 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6177
ce503312
GM
61782013-09-19 Glenn Morris <rgm@gnu.org>
6179
f7544773
GM
6180 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6181
72fd2877
GM
6182 * eshell/em-unix.el (eshell-remove-entries):
6183 Rename argument to avoid name-clash with global `top-level'.
6184
336b5a56
GM
6185 * eshell/esh-proc.el (eshell-kill-process-function):
6186 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6187 (eshell-reset-after-proc): Remove unused arg `proc'.
6188
57a3a53d
GM
6189 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6190 (directory-files-and-attributes): Mark unused arg.
6191
3261d4af
GM
6192 * eshell/em-unix.el (eshell-remove-entries):
6193 Remove unused arg `path'. Update callers.
6194
8e51b5d0
GM
6195 * eshell/em-hist.el (eshell-hist-parse-arguments):
6196 Remove unused arg `silent'. Update callers.
6197
ce503312
GM
6198 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6199 Fix (f)boundp mix-up.
6200
6201 * eshell/em-smart.el (eshell-smart-scroll-window)
6202 (eshell-disable-after-change):
336b5a56 6203 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6204
ee3ce8a7
AM
62052013-09-18 Alan Mackenzie <acm@muc.de>
6206
6207 Fix fontification of type when followed by "const".
6208 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6209 "known" types from fontification.
6210
ec9177ba
GM
62112013-09-18 Glenn Morris <rgm@gnu.org>
6212
7bb3e768
GM
6213 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6214 (chart-face-list): Drop Emacsen without display-color-p.
6215
5148da15
GM
6216 * net/eww.el (libxml-parse-html-region): Declare.
6217 (eww-display-html): Explicit error if no libxml2 support.
6218
2f68e157
GM
6219 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6220
9019d095
GM
6221 * image.el (image-type-from-buffer, image-multi-frame-p):
6222 Remove --without-x warning/error.
67645389 6223
5f30349b 6224 * mouse.el (mouse-yank-primary):
45069b2e 6225 * term.el (term-mouse-paste):
5f30349b
GM
6226 Reorder to silence --without-x compilation.
6227
cd8edbbe
GM
6228 * mpc.el (doc-view-mode): Silence --without-x compilation.
6229
8a78544e
GM
6230 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6231 Silence --without-x compilation.
6232
12679bfd
GM
6233 * progmodes/gud.el (gud-find-file, gud-mode):
6234 Silence --without-x compilation.
6235 (tooltip-mode): Declare.
30810a05 6236
f0047cb9
GM
6237 * wdired.el (dired-backup-overwrite): Remove declaration.
6238 (wdired-mode-map): Add doc string.
6239
e740f9d2
GM
6240 * custom.el (x-get-resource): Declare.
6241
92d77c89
GM
6242 * eshell/em-glob.el (ange-cache):
6243 * eshell/em-unix.el (ange-cache): Declare.
6244
76e69577
GM
6245 * faces.el (x-display-list, x-open-connection, x-get-resource):
6246 Declare.
7e58af4b
GM
6247
6248 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6249 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6250 Declare.
76e69577 6251
4bd4c0af 6252 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6253
ffb82dbd
GM
6254 * net/gnutls.el (gnutls-log-level): Declare.
6255
986ed135
GM
6256 * net/shr.el (image-size, image-animate): Declare.
6257
e740f9d2
GM
6258 * simple.el (font-info): Declare.
6259
d2f3e9f8
GM
6260 * subr.el (x-popup-dialog): Declare.
6261
047a1a4c
GM
6262 * term/common-win.el (x-select-enable-primary)
6263 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6264 Declare.
6265
f4a1d572
GM
6266 * term/ns-win.el (x-handle-args): Declare.
6267
e843de77
GM
6268 * term/x-win.el (x-select-enable-clipboard): Declare.
6269
5fa89513
GM
6270 * term/w32-win.el (create-default-fontset): Declare.
6271
38702b5b
GM
6272 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6273 Declare.
6274
e740f9d2
GM
6275 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6276 (fit-frame-to-buffer): Explicit error if --without-x.
6277 (mouse-autoselect-window-select): Silence compiler.
6278
49a053fc
GM
6279 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6280
6281 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6282 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6283 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6284 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6285 Remove unused local variables.
6286
6287 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6288
ec9177ba
GM
6289 * textmodes/two-column.el: Make 2C-split work for --without-x.
6290 (scroll-bar-columns): Autoload.
6291 (top-level): Require fringe when compiling.
6292
9f25cb77
LL
62932013-09-18 Leo Liu <sdl.web@gmail.com>
6294
6295 * subr.el (add-hook): Robustify to handle closure as well.
6296
2b42da98
GM
62972013-09-17 Glenn Morris <rgm@gnu.org>
6298
6299 * simple.el (messages-buffer-mode-map): Unbind "g".
6300
e8b66a6a
SM
63012013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6302
9c0ad4f7
SM
6303 * help-mode.el (help-mode-finish): Use derived-mode-p.
6304 Remove obsolete highlighting.
6305
7a806dfb
SM
6306 * play/life.el (life-mode): Use define-derived-mode. Derive from
6307 special-mode.
6308 (life): Let-bind inhibit-read-only.
6309 (life-setup): Avoid `setq'. Use `life-mode'.
6310
96dbf5a8
SM
6311 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6312 which should not be needed any more.
6313 (package-menu-refresh, package-menu-describe-package): Use user-error.
6314
e8b66a6a
SM
6315 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6316 (eshell-post-rewrite-command-hook): Make obsolete.
6317 (eshell-parse-command): Simplify.
6318 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6319 (eshell--cmd): Declare.
6320 (eshell-parse-pipeline): Remove unused var `final-p'.
6321 Pass a dynvar to eshell-post-rewrite-command-hook.
6322 Implement the new eshell-post-rewrite-command-function.
6323 (eshell-invoke-directly): Remove unused arg `input'.
6324 * eshell/esh-io.el (eshell-io-initialize):
6325 Use eshell-post-rewrite-command-function (bug#15399).
6326 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6327 adjust to new calling convention.
6328 (eshell-create-handles): Rename args to avoid clashing with dynvar
6329 `standard-output'.
6330
90582f05
GM
63312013-09-17 Glenn Morris <rgm@gnu.org>
6332
6333 * simple.el (messages-buffer-mode): New major mode.
6334 (messages-buffer): New function.
6335 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6336 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6337 (ert-run-test): Use `messages-buffer' function.
90582f05 6338 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6339 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6340 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6341
39eb0cb5 63422013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6343
6344 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6345
1d42e5b6 6346 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6347
70568a90
SM
63482013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6349
504a0381
SM
6350 * icomplete.el (icomplete-in-buffer): New var.
6351 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6352 vars and replace them with functions.
6353 (icomplete-minibuffer-setup): Adjust accordingly.
6354 (icomplete--completion-table, icomplete--completion-predicate)
6355 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6356 New functions.
6357 (icomplete-forward-completions, icomplete-backward-completions)
6358 (icomplete-simple-completing-p, icomplete-exhibit)
6359 (icomplete-completions): Use them.
6360 (icomplete--in-region-buffer): New var.
6361 (icomplete--in-region-setup): New function.
6362 (icomplete-mode): Use it.
6363
70568a90
SM
6364 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6365 (bug#15379).
6366 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6367 return args and options.
6368 (eshell-eval-using-options): Use the new return value of
6369 eshell--do-opts to set the options's vars in their scope.
6370 (eshell--set-option): Rename from eshell-set-option.
6371 Add arg `opt-vals'.
6372 (eshell--process-option): Rename from eshell-process-option.
6373 Add arg `opt-vals'.
6374 (eshell--process-args): Use an `opt-vals' alist to store the options's
6375 values during their processing and return them additionally to the
6376 remaining args.
6377
578c21bc
DG
63782013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6379
6380 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6381 continuation character an operator, as far as indentation is
6382 concerned (Bug#15369).
6383
c089653d
MR
63842013-09-15 Martin Rudalics <rudalics@gmx.at>
6385
6386 * window.el (window--state-put-2): Don't process buffer state
6387 when buffer doesn't exist any more (Bug#15382).
6388
1e53bb4b
GM
63892013-09-15 Glenn Morris <rgm@gnu.org>
6390
30753242
GM
6391 * eshell/em-unix.el (eshell/rm):
6392 Make -f ignore missing files. (Bug#15373)
6393
1e53bb4b
GM
6394 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6395 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6396 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6397
0d8863b3
GM
63982013-09-14 Glenn Morris <rgm@gnu.org>
6399
6400 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6401
d3fc6549
GM
64022013-09-13 Glenn Morris <rgm@gnu.org>
6403
6404 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6405 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6406
fcd42c11
DA
64072013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6408
6409 * frame.el (x-focus-frame): Mark as declared in frame.c.
6410
7830899f
SM
64112013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * ls-lisp.el: Use advice-add.
6414 (original-insert-directory): Remove.
6415 (ls-lisp--insert-directory): Rename from insert-directory; add
6416 `orig-fun' argument.
6417 (insert-directory): Advise.
6418
84387cd2
EZ
64192013-09-13 Eli Zaretskii <eliz@gnu.org>
6420
6421 * term.el (term-emulate-terminal): Decode the command string
6422 before passing it to term-command-hook. (Bug#15337)
6423
35ffc6ba
GM
64242013-09-13 Glenn Morris <rgm@gnu.org>
6425
5c3f9bcc
GM
6426 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6427
2ada368a
GM
6428 * eshell/esh-ext.el (eshell-search-path): Declare.
6429
fcef2e13
GM
6430 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6431 Otherwise an error occurs if eshell-dirs module not loaded.
6432
35ffc6ba
GM
6433 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6434
35c3d36e
MA
64352013-09-13 Michael Albinus <michael.albinus@gmx.de>
6436
6437 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6438 `tramp-check-proper-host'. Check for a valid method name.
6439
6440 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6441 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6442 * net/tramp-sh.el (tramp-maybe-open-connection):
6443 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6444
6445 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6446 also for hash values.
6447
ae5e4c48
SM
64482013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6449
379add74
SM
6450 * term/ns-win.el (parameters): Don't declare as dynamic.
6451 (before-make-frame-hook): Don't add ineffective function.
6452
ae5e4c48
SM
6453 * eshell/*.el: Use lexical-binding (bug#15231).
6454
b5623270
KH
64552013-09-12 Kenichi Handa <handa@gnu.org>
6456
ae5e4c48 6457 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6458
30213927
GM
64592013-09-12 Glenn Morris <rgm@gnu.org>
6460
be94d713 6461 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6462 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6463
44915370
GM
6464 * subr.el (do-after-load-evaluation): Also give compiler warnings
6465 when obsolete files are used (except by obsolete files).
6466
a6ae021f
GM
6467 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6468 in the status output, assume `filename' is the first. (Bug#15322)
6469
40e64f0c
GM
6470 * vc/vc.el (vc-deduce-fileset): Doc fix.
6471
16d9f896
GM
6472 * calc/calc-help.el (Info-goto-node):
6473 * progmodes/cperl-mode.el (Info-find-node):
6474 * vc/ediff.el (Info-goto-node): Update declarations.
6475
dea01c6e
GM
6476 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6477
759880bf 6478 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6479 (vc-bzr-pull): Require vc-dispatcher.
6480 * vc/vc-git.el (vc-compilation-mode): Declare.
6481 (vc-git-pull): Require vc-dispatcher.
6482
08d66420
GM
6483 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6484
30b626e9
GM
6485 * progmodes/octave.el (help-button-action): Declare.
6486
8c05cb10
GM
6487 * shell.el (shell-directory-tracker): Output error as a message
6488 rather than just returning it as a string.
6489 (shell-process-pushd): Remove useless use of message.
6490
30213927
GM
6491 * dframe.el (dframe-timer-fn):
6492 * files.el (dir-locals-read-from-file):
6493 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6494 (mpc-format):
6495 * reveal.el (reveal-post-command):
6496 * saveplace.el (load-save-place-alist-from-file):
6497 * shell.el (shell-resync-dirs):
6498 * w32-common-fns.el (x-get-selection-value):
6499 * emacs-lisp/copyright.el (copyright-find-copyright):
6500 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6501 * emulation/tpu-edt.el (tpu-copy-keyfile):
6502 * play/bubbles.el (bubbles--mark-neighbourhood):
6503 * progmodes/executable.el
6504 (executable-make-buffer-file-executable-if-script-p):
6505 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6506
d3b049e6
SM
65072013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6508
170266d0
SM
6509 Cleanup Eshell to rely less on dynamic scoping.
6510 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6511 last-value, and ext-command here. Bind `args' closer to `body'.
6512 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6513 (eshell--args): Declare new dynamic var.
6514 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6515 last-value, and ext-command. Pass `args' to `body'.
6516 (eshell-process-args): Bind eshell--args.
6517 (eshell-set-option): Use eshell--args.
6518 * eshell/eshell.el (eshell): Use derived-mode-p.
6519 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6520 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6521 (eshell-glob-function): Declare.
6522 * eshell/esh-util.el: Require cl-lib.
6523 (eshell-read-hosts-file): Avoid add-to-list.
6524 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6525 `err'.
6526 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6527 Declare.
6528 (eshell/diff): Remove unused var `err'.
6529 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6530 `killflag'.
6531 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6532 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6533 first use.
6534 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6535 Move declaration before first use.
6536 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6537 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6538 rely on cl-return.
6539
56834f3b
GM
65402013-09-12 Glenn Morris <rgm@gnu.org>
6541
6542 * term/ns-win.el (global-map): Remove binding for ispell-next,
6543 deleted 1999-05-29. (Bug#15357)
6544
5c91a2b8
GM
65452013-09-11 Glenn Morris <rgm@gnu.org>
6546
da712f22
GM
6547 * echistory.el (electric-command-history): Remove call to deleted func.
6548
512e4cdc
GM
6549 * play/landmark.el (landmark-mode): Fix typos.
6550
d3506ca5
GM
6551 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6552 Check cvs-sort-ignore-file is bound.
6553
5c91a2b8
GM
6554 * savehist.el: No need for cl when compiling on Emacs.
6555
feeff482
SM
65562013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6557
656bd483
SM
6558 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6559 (bug#15338).
d3b049e6
SM
6560 (eshell-self-insert-command, eshell-send-invisible):
6561 Remove unused argument.
656bd483
SM
6562 (eshell-handle-control-codes): Remove unused var `orig'.
6563 Avoid delete-backward-char.
6564
feeff482
SM
6565 * files.el (set-auto-mode): Simplify a bit further.
6566
2a08047a
GM
65672013-09-11 Glenn Morris <rgm@gnu.org>
6568
6569 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6570 (set-auto-mode): Don't regexp-quote elements.
6571 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6572 * progmodes/cc-mode.el (interpreter-mode-alist):
6573 * progmodes/ruby-mode.el (interpreter-mode-alist):
6574 Revert previous change.
6575
34675540
SM
65762013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6577
1b3b87df
SM
6578 * play/snake.el (snake-mode):
6579 * play/mpuz.el (mpuz-mode):
6580 * play/landmark.el (lm-mode):
6581 * play/blackbox.el (blackbox-mode):
6582 * play/5x5.el (5x5-mode):
6583 * obsolete/options.el (Edit-options-mode):
6584 * net/quickurl.el (quickurl-list-mode):
6585 * net/newst-treeview.el (newsticker-treeview-mode):
6586 * mail/rmailsum.el (rmail-summary-mode):
6587 * mail/mspools.el (mspools-mode):
6588 * locate.el (locate-mode):
6589 * ibuffer.el (ibuffer-mode):
6590 * emulation/ws-mode.el (wordstar-mode):
6591 * emacs-lisp/debug.el (debugger-mode):
6592 * array.el (array-mode):
6593 * net/eudc.el (eudc-mode): Use define-derived-mode.
6594 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6595 Move initialization into declaration.
6596 (mairix-searches-mode): Use define-derived-mode.
6597 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6598 (eudc-edit-hotlist): Use dolist.
6599 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6600 (Man-mode): Use define-derived-mode.
6601 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6602 (Info-edit-mode): Use define-derived-mode.
6603 (Info-cease-edit): Use Info-mode.
6604 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6605 into declaration.
6606 (eshell-mode): Use define-derived-mode.
6607 * chistory.el (command-history-mode-map): Rename from
6608 command-history-map.
6609 (command-history-mode): Use define-derived-mode.
da712f22 6610 (Command-history-setup): Remove function.
1b3b87df
SM
6611 * calc/calc.el (calc-trail-mode-map): New var.
6612 (calc-trail-mode): Use define-derived-mode.
6613 (calc-trail-buffer): Set calc-main-buffer manually.
6614 * bookmark.el (bookmark-insert-annotation): New function.
6615 (bookmark-edit-annotation): Use it.
6616 (bookmark-edit-annotation-mode): Make it a proper major mode.
6617 (bookmark-send-edited-annotation): Use derived-mode-p.
6618 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6619 closer to its ideal place. Use \' to match EOS.
6620
34675540
SM
6621 * profiler.el (profiler-calltree-find): Use function-equal.
6622
6a5c15d9
GM
66232013-09-10 Glenn Morris <rgm@gnu.org>
6624
1af4c220
GM
6625 * files.el (interpreter-mode-alist): Convert to regexps.
6626 (set-auto-mode): Adapt for this. (Bug#15306)
6627 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6628 Comment out unused variable.
6629 * progmodes/cc-mode.el (interpreter-mode-alist):
6630 * progmodes/python.el (interpreter-mode-alist):
6631 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6632 * progmodes/sh-script.el (sh-set-shell):
6633 No longer use interpreter-mode-alist to get list of shells.
6634
6a5c15d9
GM
6635 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6636
8c27f5ff
SM
66372013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6638
02ef6c1a 6639 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6640 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6641 Bind switch-frame explicitly. Replace universal-argument-minus with
6642 a conditional binding.
6643 (universal-argument-num-events, saved-overriding-map): Remove.
6644 (restore-overriding-map): Remove.
6645 (universal-argument--mode): Rename from save&set-overriding-map,
6646 and rewrite.
6647 (universal-argument, universal-argument-more, negative-argument)
6648 (digit-argument): Adjust accordingly.
6649 (universal-argument-minus): Remove.
6650 (universal-argument-other-key): Remove.
6651
8c27f5ff
SM
6652 * subr.el (with-demoted-errors): Add `format' argument.
6653
6480194c
MA
66542013-09-10 Michael Albinus <michael.albinus@gmx.de>
6655
6656 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6657 `tramp-cleanup-connection'.
6658
6659 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6660 parameters KEEP-DEBUG and KEEP-PASSWORD.
6661
6662 * net/tramp.el (tramp-file-name-handler):
6663 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6664 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6665 (tramp-maybe-open-connection):
8c27f5ff
SM
6666 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6667 Use `tramp-cleanup-connection'.
6480194c 6668
8c27f5ff
SM
6669 * net/tramp-sh.el (tramp-maybe-open-connection):
6670 Catch 'uname-changed inside the progress reporter.
6480194c 6671
e5e916d8
GM
66722013-09-10 Glenn Morris <rgm@gnu.org>
6673
9a2c9b47
GM
6674 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6675
e5e916d8
GM
6676 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6677 returns "alternate access method" in mode (eg "-rw-r--r--.").
6678
144e38fe
GM
66792013-09-08 Glenn Morris <rgm@gnu.org>
6680
6681 * saveplace.el (load-save-place-alist-from-file):
6682 Demote errors. (Bug#15305)
6683
af9ff9e8
MA
66842013-09-08 Michael Albinus <michael.albinus@gmx.de>
6685
6686 Improve compatibility with older Emacsen, and XEmacs.
6687
6688 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6689 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6690 (with-tramp-progress-reporter): Do not let-bind `result'.
6691 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6692 (tramp-handle-make-auto-save-file-name): New function, moved from
6693 tramp-sh.el.
6694
6695 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6696 for `make-auto-save-file-name'.
8c27f5ff
SM
6697 (tramp-adb--gnu-switches-to-ash):
6698 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6699
6700 * net/tramp-cache.el (tramp-cache-print): Call
6701 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6702
6703 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6704 bound. It isn't for XEmacs.
6705
8c27f5ff
SM
6706 * net/tramp-compat.el (tramp-compat-copy-file):
6707 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6708 (tramp-compat-replace-regexp-in-string): New defun.
6709
6710 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6711 for `make-auto-save-file-name'.
6712 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6713 `copy-file'.
6714 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6715 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6716 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6717
8c27f5ff
SM
6718 * net/tramp-gw.el (tramp-gw-open-network-stream):
6719 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6720
8c27f5ff
SM
6721 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6722 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6723 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6724 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6725 (tramp-sh-file-inotifywait-process-filter):
6726 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6727 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6728
6729 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6730 for `make-auto-save-file-name'.
8c27f5ff
SM
6731 (tramp-smb-handle-copy-directory):
6732 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6733 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6734 (tramp-smb-handle-copy-file): Improve error message.
6735 (tramp-smb-handle-rename-file): Rename directly only in case
6736 `newname' does not exist yet. This is a restriction of smbclient.
6737 (tramp-smb-maybe-open-connection): Rerun the function only when
6738 `auth-sources' is non-nil.
6739
0ca754d0
KH
67402013-09-08 Kenichi Handa <handa@gnu.org>
6741
e0eb0550 6742 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6743 more characters.
6744
e8dd0787
AM
67452013-09-07 Alan Mackenzie <acm@muc.de>
6746
6747 Correctly fontify Java class constructors.
6748 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6749 in Java Mode.
6750 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6751 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6752 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6753 "typeless" declaration there.
6754
f2f248e7
RW
67552013-09-07 Roland Winkler <winkler@gnu.org>
6756
6757 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6758 field subtitle for entry type book.
6759
67982e2b
SM
67602013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 * minibuffer.el: Make minibuffer-complete call completion-in-region
6763 rather than other way around.
6764 (completion--some, completion-pcm--find-all-completions):
6765 Don't delay signals when debugging.
6766 (minibuffer-completion-contents): Beware fields within the
6767 minibuffer contents.
6768 (completion-all-sorted-completions): Use defvar-local.
6769 (completion--do-completion, completion--cache-all-sorted-completions)
6770 (completion-all-sorted-completions, minibuffer-force-complete):
6771 Add args `beg' and `end'.
6772 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6773 (minibuffer-complete): Use completion-in-region.
6774 (completion-complete-and-exit): New fun, extracted from
6775 minibuffer-complete-and-exit.
6776 (minibuffer-complete-and-exit): Use it.
6777 (completion--complete-and-exit): Rename from
6778 minibuffer--complete-and-exit.
6779 (completion-in-region--single-word): New function, extracted from
6780 minibuffer-complete-word.
6781 (minibuffer-complete-word): Use it.
6782 (display-completion-list): Make `common-substring' argument obsolete.
6783 (completion--in-region): Call completion--in-region-1 instead of
6784 minibuffer-complete.
6785 (completion-help-at-point): Pass boundaries to
6786 minibuffer-completion-help as args rather than via an overlay.
6787 (completion-pcm--string->pattern): Use `any-delim'.
6788 (completion-pcm--optimize-pattern): New function.
6789 (completion-pcm--pattern->regex): Handle `any-delim'.
6790 * icomplete.el (icomplete-forward-completions)
6791 (icomplete-backward-completions, icomplete-completions):
6792 Adjust calls to completion-all-sorted-completions and
6793 completion--cache-all-sorted-completions.
6794 (icomplete-with-completion-tables): Default to t.
6795 * emacs-lisp/crm.el (crm--current-element): Rename from
6796 crm--select-current-element. Don't put an overlay but return the
6797 boundaries instead.
6798 (crm--completion-command): Take two new args to bind to the boundaries.
6799 (crm-completion-help): Adjust accordingly.
6800 (crm-complete): Use completion-in-region.
6801 (crm-complete-word): Use completion-in-region--single-word.
6802 (crm-complete-and-exit): Use completion-complete-and-exit.
6803
e17d94a5
SM
68042013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6807 than dynamically.
6808
96727100
JL
68092013-09-06 Juri Linkov <juri@jurta.org>
6810
6811 * info.el (Info-display-images-node): When image file doesn't exist
6812 display text version of the image if it's provided in the Info file.
6813 Otherwise, display the location of missing image from SRC attribute.
6814 Add help-echo text property from ALT attribute. (Bug#15279)
6815
86cf7329
SM
68162013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6817
6818 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6819 (edit-abbrevs-mode): Use define-derived-mode.
6820
6821 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6822 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6823 that it's defined.
6824 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6825 Use define-derived-mode.
6826
6827 * epg.el (epg-start-encrypt): Minor CSE simplification.
6828
816244a2
WX
68292013-09-06 William Xu <william.xwl@gmail.com>
6830
6831 * arc-mode.el: Add support for 7za (bug#15264).
6832 (archive-7z-program): New var.
6833 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6834 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6835 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6836
1486fa31
MA
68372013-09-06 Michael Albinus <michael.albinus@gmx.de>
6838
6839 Remove URL syntax.
6840
6841 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6842 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6843 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6844 (tramp-postfix-host-format, tramp-file-name-regexp)
6845 (tramp-completion-file-name-regexp)
6846 (tramp-completion-dissect-file-name)
6847 (tramp-handle-substitute-in-file-name): Remove 'url case.
6848 (tramp-file-name-regexp-url)
6849 (tramp-completion-file-name-regexp-url): Remove constants.
6850
39785324
GM
68512013-09-06 Glenn Morris <rgm@gnu.org>
6852
6853 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6854
1f896cb7
DG
68552013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6856
6857 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6858 keywords" below "here-doc beginnings" (Bug#15270).
6859
c0458e0b
SM
68602013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6861
6862 * subr.el (pop): Use `car-safe'.
6863 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6864 to detect unused `pop' return value.
6865
6866 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6867 var `block-regexp'.
6868 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6869 (python-fill-string): Remove unused var `marker'.
6870 (python-skeleton-add-menu-items): Remove unused var `items'.
6871
6872 * international/mule-cmds.el: Require CL.
6873 (find-coding-systems-for-charsets): Avoid add-to-list.
6874 (sanitize-coding-system-list): New function, extracted from
6875 select-safe-coding-system-interactively.
6876 (select-safe-coding-system-interactively): Use it.
6877 (read-input-method-name): Accept symbols for `default'.
6878
6879 * emacs-lisp/advice.el (defadvice): Add indent rule.
6880
6c42fc3e
DH
68812013-09-05 Daniel Hackney <dan@haxney.org>
6882
6883 * dired-x.el:
6884 * net/ange-ftp.el:
6885 * net/browse-url.el:
6886 * net/dbus.el:
6887 * net/eudc.el:
6888 * net/eudcb-ldap.el:
6889 * net/eww.el:
6890 * net/imap.el:
6891 * printing.el:
6892 * vc/ediff-diff.el:
6893 * vc/ediff-init.el:
6894 * vc/ediff-merg.el:
6895 * vc/ediff-mult.el:
6896 * vc/ediff-util.el:
6897 * vc/ediff-wind.el:
6898 * vc/ediff.el:
6899 * vc/emerge.el:
6900 * vc/pcvs.el:
6901 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6902 byte compiler. Remove some unused let-bound variables.
6903
4c528aab
SM
69042013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6907 a "ref-cell", since it gets better optimized (bug#14883).
6908
bd15c390
GM
69092013-09-05 Glenn Morris <rgm@gnu.org>
6910
6911 * progmodes/cc-awk.el (c-forward-sws): Declare.
6912
1c3ac2e5
GM
69132013-09-04 Glenn Morris <rgm@gnu.org>
6914
6915 * generic-x.el [rul-generic-mode]: Require cc-mode.
6916 (c++-mode-syntax-table): Declare.
6917 (rul-generic-mode-syntax-table): Init in the defvar.
6918
52b1cc79
SM
69192013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6920
c828af56
SM
6921 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6922 (vc-do-command, vc-set-async-update):
6923 * vc/vc-mtn.el (vc-mtn-dir-status):
6924 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6925 (vc-hg-pull, vc-hg-merge-branch):
6926 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6927 (vc-git-merge-branch):
6928 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6929 (vc-cvs-dir-status-files):
6930 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6931 (vc-bzr-dir-status-files):
6932 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6933 * vc/vc-annotate.el: Use lexical-binding.
6934 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6935 (vc-sentinel-movepoint): Declare.
6936 (vc-annotate): Don't use `goto-line'.
6937 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6938 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6939 (vc-sentinel-movepoint): Declare.
6940 * vc/vc-svn.el: Use lexical-binding.
6941 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6942 * vc/vc-sccs.el:
6943 * vc/vc-rcs.el: Use lexical-binding.
6944
abae272c
SM
6945 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6946 `deleted'. Don't drop errors silently.
6947
52b1cc79
SM
6948 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6949
63191d9f
XF
69502013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6951
6952 * vc/vc.el (vc-ignore): Rewrite.
6953 (vc-default-ignore): New function.
6954 (vc-default-ignore-completion-table): Use find-ignore-file.
6955
6956 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6957 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6958 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6959 Remove. Most code moved to vc.el.
6960
9d3f707c
SM
69612013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6962
abae272c 6963 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6964 * net/tramp-smb.el (tramp-smb-get-file-entries):
6965 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6966 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6967
fde38d49
SM
6968 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6969 Update call to it.
6970 (eww-change-select): Remove unused var `properties'.
6971 (eww-make-unique-file-name): Remove unused var `base'.
6972
6973 * finder.el (finder-compile-keywords): Don't mess with windows.
6974
84032db7
SM
6975 * calculator.el (calculator-funcall): Fix typo in last change.
6976
724f5e41
SM
6977 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6978
14b511d4
SM
6979 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6980 <pkg>-autoloads.el file stop us.
6981
9d3f707c 6982 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6983 warnings, and factor out common code.
9d3f707c 6984
88527bc0
DG
69852013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6986
6987 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6988 two-character operators and whether the character preceding them
6989 changes their meaning (Bug#15208).
6990
96edb677
FEG
69912013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6992
6993 Format code sent to Python shell for robustness.
9d3f707c
SM
6994 * progmodes/python.el (python-shell-buffer-substring):
6995 New function.
96edb677
FEG
6996 (python-shell-send-region, python-shell-send-buffer): Use it.
6997
95beaef3
MA
69982013-09-02 Michael Albinus <michael.albinus@gmx.de>
6999
7000 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7001 * net/tramp.el (tramp-user-error): ... here.
7002 (tramp-find-method, tramp-check-proper-host)
7003 (tramp-dissect-file-name, tramp-debug-message)
7004 (tramp-handle-shell-command):
7005 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7006 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7007
7008 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7009
f167c27b
MR
70102013-09-02 Martin Rudalics <rudalics@gmx.at>
7011
7012 * avoid.el (mouse-avoidance-point-position)
7013 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7014 returns nil.
7015
cd16c5f1
FEG
70162013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7017
7018 * progmodes/python.el (python-shell-completion-get-completions):
7019 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7020 (python-nav-if-name-main): New command.
cd16c5f1 7021
e73c3a0d
GM
70222013-09-01 Glenn Morris <rgm@gnu.org>
7023
f8ccce03
GM
7024 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7025 Avoid leading space in $wins. Otherwise the sed command used by
7026 eg compile-main ends up containing "/*.el". (Bug#15170)
7027
e73c3a0d
GM
7028 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7029
415f808e
GM
70302013-08-30 Glenn Morris <rgm@gnu.org>
7031
7032 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7033 Fix is-this-a-directory logic. (Bug#15220)
7034
f069bba8
SM
70352013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7036
112798c1
SM
7037 * textmodes/css-mode.el: Use SMIE.
7038 (css-smie-grammar): New var.
7039 (css-smie--forward-token, css-smie--backward-token)
7040 (css-smie-rules): New functions.
7041 (css-mode): Use them.
7042 (css-navigation-syntax-table): Remove var.
7043 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7044 (css-indent-calculate, css-indent-line): Remove functions.
7045
7046 Misc changes to reduce use of `(lambda...); and other cleanups.
7047 * cus-edit.el: Use lexical-binding.
7048 (customize-push-and-save, customize-apropos)
7049 (custom-buffer-create-internal): Use closures.
7050 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7051 * progmodes/ada-xref.el: Use setq.
7052 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7053 * dframe.el: Use lexical-binding.
7054 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7055 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7056 * descr-text.el: Use lexical-binding.
7057 (describe-text-widget, describe-text-sexp, describe-property-list):
7058 Use closures.
7059 * comint.el (comint-history-isearch-push-state): Use a closure.
7060 * calculator.el: Use lexical-binding.
7061 (calculator-number-to-string): Make it work with lexical-binding.
7062 (calculator-funcall): Same and use cl-letf.
7063
2da4c3ab
SM
7064 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7065 (lisp--company-doc-string, lisp--company-location): New functions.
7066 (lisp-completion-at-point): Use them to improve Company support.
7067
f069bba8
SM
7068 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7069 params of lambda expressions.
7070 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7071 (ruby-smie--opening-pipe-p): New function.
7072 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7073 symbols and matched |...| for formal params.
7074 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7075 from being treated as hanging. Handle "rescue".
7076
6758b6a8
GM
70772013-08-29 Glenn Morris <rgm@gnu.org>
7078
7079 * progmodes/cc-engine.el (c-pull-open-brace):
7080 Move definition before use.
7081
e8dfd197
SM
70822013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7085 are immutable. Don't use `unsafe' any more.
7086 (cl--defsubst-expand): Don't substitute at the same time as keeping
7087 a residual unused let-binding. Don't use `unsafe' any more.
7088
cc585c96
GM
70892013-08-29 Glenn Morris <rgm@gnu.org>
7090
ba579ea6
GM
7091 * calendar/cal-china.el (calendar-chinese-year-cache):
7092 Recenter on 2015.
7093
8201a87e
GM
7094 * nxml/nxml-util.el (nxml-debug-clear-inside):
7095 Use cl-loop rather than loop.
7096
6ee877c7
GM
7097 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7098
cc585c96
GM
7099 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7100
27be8d39
GM
71012013-08-28 Glenn Morris <rgm@gnu.org>
7102
397440a1
GM
7103 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7104
2bb762d4
GM
7105 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7106
27be8d39
GM
7107 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7108
2d69b99e
SM
71092013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7110
f663baa7
SM
7111 * simple.el (repeat-complex-command--called-interactively-skip):
7112 New function.
7113 (repeat-complex-command): Use it (bug#14136).
7114
dd4f8b74
SM
7115 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7116 (c-define-abbrev-table): Add `doc' argument.
7117 (c-mode-abbrev-table, c++-mode-abbrev-table)
7118 (objc-mode-abbrev-table, java-mode-abbrev-table)
7119 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7120 (awk-mode-abbrev-table): Use it.
7121 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7122 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7123 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7124 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7125 Move initialization into the declaration; and remove any
7126 autoload cookie.
7127
b58969f7
SM
7128 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7129 and dynamic let binding.
7130
4021d6a6
SM
7131 * vc/smerge-mode.el: Remove redundant :group args.
7132
2d69b99e
SM
7133 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7134 to load-path.
7135
274919fd
JL
71362013-08-28 Juri Linkov <juri@jurta.org>
7137
7138 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7139 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7140 (isearch-other-meta-char): Handle an undefined shifted printing
7141 character by downshifting it. (Bug#15200)
7142
121f8c95
JL
71432013-08-28 Juri Linkov <juri@jurta.org>
7144
7145 * isearch.el (isearch-search): Change regexp error message for
7146 non-regexp searches. (Bug#15166)
7147
50b13cde
PE
71482013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7149
7150 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7151 for portability to hosts where /bin/sh has problems.
7152
95888bca
SM
71532013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7154
7155 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7156
bbe558f1
JL
71572013-08-27 Juri Linkov <juri@jurta.org>
7158
7159 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7160 in the keyboard macro. (Bug#15126)
7161
26f98a7d
JL
71622013-08-27 Juri Linkov <juri@jurta.org>
7163
7164 * isearch.el (isearch-quote-char): Comment out converting unibyte
7165 to multibyte, thus syncing with its `quoted-insert' counterpart.
7166 (Bug#15166)
7167
7c97d35e
MR
71682013-08-27 Martin Rudalics <rudalics@gmx.at>
7169
7170 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7171 argument in call of get-largest-window (Bug#15185).
7172 Reported by Stephen Leake.
7c97d35e 7173
a0b5606e 71742013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7175
7176 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7177
9e89d835
SM
71782013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7179
7180 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7181 from a matcher-function unless there's no more matches (bug#15161).
7182
78fc2530
MA
71832013-08-26 Michael Albinus <michael.albinus@gmx.de>
7184
7185 * minibuffer.el: Revert change from 2013-08-20.
7186
7187 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7188 with text property `tramp-default', if appropriate.
7189 (tramp-check-proper-host): New defun.
7190 (tramp-dissect-file-name): Do not check hostname. Revert change
7191 of 2013-03-18.
7192 (tramp-backtrace): Make VEC-OR-PROC optional.
7193
7194 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7195 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7196 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7197 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7198 Apply `tramp-check-proper-host'.
78fc2530 7199
edca97cd
TH
72002013-08-26 Tassilo Horn <tsdh@gnu.org>
7201
7202 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7203 lambda expression in order to have `describe-variable' display it.
7204
df54bcbd
MA
72052013-08-26 Michael Albinus <michael.albinus@gmx.de>
7206
7207 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7208 BUF can be optional. (Bug#15186)
7209
eed99101
XF
72102013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7211
7212 * progmodes/flymake.el (flymake-get-real-file-name-function):
7213 Fix broken customization. (Bug#15184)
7214
b5eb9035
AM
72152013-08-25 Alan Mackenzie <acm@muc.de>
7216
8a51e842
AM
7217 Improve indentation of bracelists defined by macros (without "=").
7218
7219 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7220 expansion begins with "{", regard it as bracelist when it doesn't
7221 contain a ";".
7222
869455d4
AM
7223 Parse C++ inher-intro when there's a template split over 2 lines.
7224
7225 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7226 rigorously the search for "class" etc. followed by ":".
7227
7228 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7229 random languages a regexp which never matches rather than nil.
7230
b5eb9035
AM
7231 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7232
7233 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7234 (c-awk-regexp-one-line-possibly-open-char-list-re)
7235 (c-awk-one-line-possibly-open-regexp-re)
7236 (c-awk-one-line-non-syn-ws*-re): Remove.
7237 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7238 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7239 (c-awk-space*-unclosed-regexp-/-re): New constants.
7240 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7241 aren't regexp delimiters.
7242
7243 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7244 handling for a rare situation in AWK Mode involving unterminated
7245 strings/regexps.
7246
61611d54
GM
72472013-08-23 Glenn Morris <rgm@gnu.org>
7248
2d85dc34
GM
7249 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7250
cb8d2612
GM
7251 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7252
bb35f42f
GM
7253 * files.el (create-file-buffer): If the result would begin with
7254 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7255
b9808e77
SM
72562013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7257
e3a66363
SM
7258 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7259 text-properties (bug#15155).
7260
b9808e77
SM
7261 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7262 exist any more.
7263 (calc-keypad-redraw): Remove unused var `pad'.
7264 (calc-keypad-press): Remove unused var `menu'.
7265
7fd5f65e
MR
72662013-08-23 Martin Rudalics <rudalics@gmx.at>
7267
b9808e77
SM
7268 * window.el (display-buffer-pop-up-frame):
7269 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7270 use it as the new frame's buffer (Bug#15133).
7271
8352b530
SM
72722013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7273
7274 * calendar/timeclock.el: Minor cleanups.
7275 (timeclock-ask-before-exiting, timeclock-use-display-time):
7276 Use `symbol'.
7277 (timeclock-modeline-display): Define as alias before the
7278 actual definition.
7279 (timeclock-mode-line-display): Use define-minor-mode.
7280 (timeclock-day-list-template): Make it a function, add an argument.
7281 (timeclock-day-list-required, timeclock-day-list-length)
7282 (timeclock-day-list-debt, timeclock-day-list-span)
7283 (timeclock-day-list-break): Adjust calls accordingly.
7284
9f7b1925
SM
72852013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7286
7287 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7288 Use read--expression so that completion works again.
7289
6e50e983
SS
72902013-08-21 Sam Steingold <sds@gnu.org>
7291
7292 Add rudimentary inferior shell interaction
7293 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7294 (sh-set-shell): Reset it.
9f7b1925
SM
7295 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7296 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7297
dbb0d350
SM
72982013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * align.el: Use lexical-binding.
7301 (align-region): Simplify accordingly.
7302
c88586a9
MA
73032013-08-20 Michael Albinus <michael.albinus@gmx.de>
7304
7305 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7306
7307 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7308 `non-essential' up.
7309
f95527c8
MA
73102013-08-17 Michael Albinus <michael.albinus@gmx.de>
7311
7312 * net/tramp.el:
7313 * net/tramp-adb.el:
7314 * net/tramp-cmds.el:
7315 * net/tramp-ftp.el:
7316 * net/tramp-gvfs.el:
7317 * net/tramp-gw.el:
7318 * net/tramp-sh.el: Don't wrap external variable declarations by
7319 `eval-when-compile'.
7320
4b5fe4ee
LMI
73212013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7322
7323 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7324 now that Emacs supports ImageMagick animations.
7325
13c366c9
MA
73262013-08-16 Michael Albinus <michael.albinus@gmx.de>
7327
7328 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7329 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7330
3dfc5cd6
MR
73312013-08-16 Martin Rudalics <rudalics@gmx.at>
7332
7333 * window.el (mouse-autoselect-window-select): Do autoselect when
7334 mouse pointer is on margin.
7335
4bbb4381
WP
73362013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7337
7338 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7339
3a2ddc2d
GM
73402013-08-16 Glenn Morris <rgm@gnu.org>
7341
e8bedf5a
GM
7342 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7343 Handle "Remote Directory" response of some clients. (Bug#15058)
7344
58c4682f
GM
7345 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7346 Tweak warning. (Bug#14926)
7347
57953f49
GM
7348 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7349 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7350
3a2ddc2d
GM
7351 * image-mode.el (image-mode-map): Add menu items to reverse,
7352 increase, decrease, reset animation speed.
7353 (image--set-speed, image-increase-speed, image-decrease-speed)
7354 (image-reverse-speed, image-reset-speed): New functions.
7355 (image-mode-map): Add bindings for speed commands.
7356
7357 * image.el (image-animate-get-speed, image-animate-set-speed):
7358 New functions.
7359 (image-animate-timeout): Respect image :speed property.
7360
10fa0ed3
SM
73612013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7362
7363 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7364 previous line (bug#15101).
7365 (debugger-eval-expression, debugger-record-expression):
7366 Use read--expression (bug#15102).
7367
5d89d9d2
MA
73682013-08-15 Michael Albinus <michael.albinus@gmx.de>
7369
7370 Remove byte compiler warnings, visible when compiling with
7371 `byte-compile-force-lexical-warnings' set to t.
7372
7373 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7374 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7375 (tramp-handle-unhandled-file-name-directory)
7376 (tramp-handle-file-notify-add-watch, tramp-action-login)
7377 (tramp-action-succeed, tramp-action-permission-denied)
7378 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7379 arguments with "_".
7380
7381 * net/tramp-adb.el (tramp-adb-parse-device-names)
7382 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7383 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7384 (tramp-adb-handle-file-truename): Remove unused arguments.
7385
7386 * net/tramp-cache.el (tramp-flush-directory-property)
7387 (tramp-flush-connection-property, tramp-list-connections)
7388 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7389
10fa0ed3
SM
7390 * net/tramp-compat.el (tramp-compat-make-temp-file):
7391 Rename FILENAME to F.
5d89d9d2
MA
7392
7393 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7394 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7395 (tramp-zeroconf-parse-workstation-device-names)
7396 (tramp-zeroconf-parse-webdav-device-names)
7397 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7398
7399 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7400 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7401
7402 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7403 arguments.
7404 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7405 (tramp-sh-handle-insert-file-contents-literally)
7406 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7407 with "_".
7408 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7409 Remove unused variables.
7410
7411 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7412 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7413 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7414
7415 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7416 Make them a defconst.
7417 (tramp-uuencode-region): Remove unused variable.
7418
62f33bae
JB
74192013-08-14 Juanma Barranquero <lekktu@gmail.com>
7420
7421 * frameset.el (frameset--prop-setter): New function.
7422 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7423 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7424 parameter was already set in FILTERED. Doc fix.
7425 (frameset--record-minibuffer-relationships): Allow saving a
7426 minibufferless frame without its corresponding minibuffer frame.
7427 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7428 frame, if the frame id matches.
7429 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7430 frames before orphaned ones.
7431 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7432
c660a885
MR
74332013-08-14 Martin Rudalics <rudalics@gmx.at>
7434
7435 * window.el (window-make-atom): Don't overwrite parameter
7436 already present.
7437 (display-buffer-in-atom-window): Handle special case where we
7438 split an already atomic window.
7439 (window--major-non-side-window, display-buffer-in-side-window)
7440 (window--side-check): Ignore minibuffer window when walking
7441 window tree.
7442 (window-deletable-p): Return 'frame only if no other frame uses
7443 our minibuffer window.
7444 (record-window-buffer): Run buffer-list-update-hook.
7445 (split-window): Make sure window--check-frame won't destroy an
7446 existing atomic window in case the new window gets nested
7447 inside.
7448 (display-buffer-at-bottom): Ignore minibuffer window when
7449 walking window tree. Don't split a side window.
7450 (pop-to-buffer): Don't set-buffer here, the select-window call
7451 should do that.
7452 (mouse-autoselect-window-select): Autoselect only if we are in the
7453 text portion of the window.
7454
8259030d
LMI
74552013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7456
21c58ae2
LMI
7457 * net/shr.el (shr-parse-image-data): New function to grab both the
7458 data itself and the Content-Type.
7459 (shr-put-image): Use it.
7460
7461 * net/eww.el (eww-display-image): Ditto.
7462
8259030d
LMI
7463 * image.el (image-content-type-suffixes): New variable.
7464
ad756449
FEG
74652013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7466
7467 * progmodes/python.el (python-imenu--build-tree)
7468 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7469
f73f4ce6
XF
74702013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7471
7472 * simple.el (backward-word): Mention the optional argument.
7473
1f585e65
SM
74742013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * frameset.el (frameset--make): Rename constructor from make-frameset.
7477 (frameset-p, frameset-valid-p): Don't autoload.
7478 (frameset-valid-p): Use normal accessors.
7479
af1c6c84
GM
74802013-08-13 Glenn Morris <rgm@gnu.org>
7481
55e47f95
GM
7482 * progmodes/compile.el (compile-command): Tweak example in doc.
7483 * obsolete/scribe.el (scribe-mode):
7484 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7485
f0024d8c
GM
7486 * mail/feedmail.el (feedmail-confirm-outgoing)
7487 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7488
7489 * cus-start.el (truncate-partial-width-windows): Fix type.
7490
7491 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7492
af1c6c84
GM
7493 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7494
5514cc4c
SM
74952013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * emacs-lisp/timer.el (timer--time-setter): New function.
7498 (timer--time): Use it as gv-setter.
7499
7500 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7501 setter is not a symbol.
7502
7997a2f1
GJ
75032013-08-12 Grégoire Jadi <daimrod@gmail.com>
7504
7505 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7506 if sending fails. This makes debugging easier.
7507
01f1a9ab
JB
75082013-08-12 Juanma Barranquero <lekktu@gmail.com>
7509
7510 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7511 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7512 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7513
594a4307
EZ
75142013-08-12 Eli Zaretskii <eliz@gnu.org>
7515
7516 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7517
7a22490f 75182013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7519
7520 * format.el (format-annotate-function):
7521 Handle read-only text properties in the source. (Bug#14887)
7522
3e41a054
LMI
75232013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7524
5514cc4c
SM
7525 * net/eww.el (eww-display-html): Ignore coding system errors.
7526 One web site uses "utf-8lias" as the coding system.
3e41a054 7527
7ec326db
JB
75282013-08-11 Juanma Barranquero <lekktu@gmail.com>
7529
7530 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7531
5660113b
JB
75322013-08-10 Juanma Barranquero <lekktu@gmail.com>
7533
9a4ebc74
JB
7534 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7535 (tutorial--detailed-help): Remove unused local variables.
7536 (tutorial--save-tutorial-to): Use ignore-errors.
7537 (help-with-tutorial): Use looking-at-p.
7538
7539 * view.el (view-buffer-other-window, view-buffer-other-frame):
7540 Mark unused arguments.
7541
7542 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7543 (woman-select-symbol-fonts, woman, woman-find-file)
7544 (woman-insert-file-contents, woman-non-underline-faces):
7545 Use string-match-p.
7546 (woman1-unquote): Move declaration.
7547
7548 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7549 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7550 argument. Remove unused local variable.
7551 (xml-parse-elem-type): Use string-match-p.
7552 (xml-substitute-numeric-entities): Use ignore-errors.
7553
45fdb482
JB
7554 * calculator.el (calculator): Mark unused argument.
7555 (calculator-paste, calculator-quit, calculator-integer-p):
7556 Use ignore-errors.
7557 (calculator-string-to-number, calculator-decimal, calculator-exp)
7558 (calculator-op-or-exp): Use string-match-p.
7559
7560 * dired.el (dired-buffer-more-recently-used-p): Declare.
7561 (dired-insert-set-properties, dired-insert-old-subdirs):
7562 Use ignore-errors.
7563
7564 * dired-aux.el (dired-compress): Use ignore-errors.
7565 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7566 (dired-do-async-shell-command, dired-do-shell-command)
7567 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7568 (dired-insert-subdir-validate): Use string-match-p.
7569 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7570 (dired-add-entry): Use string-match-p, looking-at-p.
7571 (dired-insert-subdir-newpos): Remove unused local variable.
7572
7573 * filenotify.el (file-notify-callback): Remove unused local variable.
7574
7575 * filesets.el (filesets-error): Mark unused argument.
7576 (filesets-which-command-p, filesets-filter-dir-names)
7577 (filesets-directory-files, filesets-get-external-viewer)
7578 (filesets-ingroup-get-data): Use string-match-p.
7579
7580 * find-file.el (ff-other-file-name, ff-other-file-name)
7581 (ff-find-the-other-file, ff-cc-hh-converter):
7582 Remove unused local variables.
7583 (ff-get-file-name): Use string-match-p.
7584 (ff-all-dirs-under): Use ignore-errors.
7585
7586 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7587 (follow-select-if-visible): Remove unused local variable.
7588
7589 * forms.el (read-file-filter): Move declaration.
7590 (forms--make-format, forms--make-parser, forms-insert-record):
7591 Quote function with #'.
7592 (forms--update): Use string-match-p. Quote function with #'.
7593
7594 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7595 (help-make-xrefs): Use looking-at-p.
7596 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7597
7598 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7599 (ibuffer-confirm-operation-on): Use string-match-p.
7600
7601 * msb.el (msb-item-handler, msb-dired-item-handler):
7602 Mark unused arguments.
7603
7604 * ses.el (ses-decode-cell-symbol)
7605 (ses-kill-override): Remove unused local variable.
7606 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7607 (ses-load): Use ignore-errors, looking-at-p.
7608 (ses-jump-safe): Use ignore-errors.
7609 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7610
7611 * tabify.el (untabify, tabify): Mark unused arguments.
7612
7613 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7614 Mark unused argument.
7615 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7616 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7617
c880af52
JB
7618 * emacs-lisp/timer.el (timer--time): Define setter with
7619 gv-define-setter to avoid deprecation warning.
7620
5660113b 7621 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7622 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7623 (cmpl-statistics-block): Remove (body was commented out).
7624 All callers changed.
7625 (add-completions-from-buffer, load-completions-from-file):
7626 Remove unused variables.
7627
156aab80
JB
76282013-08-09 Juanma Barranquero <lekktu@gmail.com>
7629
5c5dee78
JB
7630 * filecache.el (file-cache-delete-file-list):
7631 Print message only when told so.
7632 (file-cache-files-matching): Use #' in mapconcat argument.
7633
156aab80
JB
7634 * ffap.el (ffap-url-at-point): Fix reference to variable
7635 thing-at-point-default-mail-uri-scheme.
7636
ad9dcd70
SM
76372013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7638
54bd972f
SM
7639 * subr.el (define-error): New function.
7640 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7641 error-file-not-found and define with define-error.
7642 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7643 and define with define-error.
7644 * userlock.el (file-locked, file-supersession):
7645 * simple.el (mark-inactive):
7646 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7647 * progmodes/ada-mode.el (ada-mode-errors):
7648 * play/life.el (life-extinct):
7649 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7650 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7651 * nxml/rng-util.el (rng-error):
7652 * nxml/rng-uri.el (rng-uri-error):
7653 * nxml/rng-match.el (rng-compile-error):
7654 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7655 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7656 * nxml/nxml-rap.el (nxml-scan-error):
7657 * nxml/nxml-outln.el (nxml-outline-error):
7658 * net/soap-client.el (soap-error):
7659 * net/gnutls.el (gnutls-error):
7660 * net/ange-ftp.el (ftp-error):
7661 * mpc.el (mpc-proc-error):
7662 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7663 (json-number-format, json-string-escape, json-string-format)
7664 (json-key-format, json-object-format):
7665 * jka-compr.el (compression-error):
7666 * international/quail.el (quail-error):
7667 * international/kkc.el (kkc-error):
7668 * emacs-lisp/ert.el (ert-test-failed):
7669 * calc/calc.el (calc-error, inexact-result, math-overflow)
7670 (math-underflow):
7671 * bookmark.el (bookmark-error-no-filename):
7672 * epg.el (epg-error): Define with define-error.
7673
0ea9e53a
SM
7674 * time.el (display-time-event-handler)
7675 (display-time-next-load-average): Don't call sit-for since it seems
7676 unnecessary (bug#15045).
7677
b0429158
SM
7678 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7679 Use #' instead of ' to quote functions.
7680 (checkdoc-output-mode): Use setq-local.
7681 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7682 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7683 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7684 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7685 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7686 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7687 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7688 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7689
ad9dcd70
SM
7690 * ido.el (ido-completion-help): Fix up compiler warning.
7691
77187e6f
JB
76922013-08-09 Juanma Barranquero <lekktu@gmail.com>
7693
7694 * frameset.el (frameset-p): Add autoload cookie.
7695 (frameset--jump-to-register): New function, based on code moved from
7696 register.el.
7697 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7698
7699 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7700 (frameset-restore, frameset-save, frameset-session-filter-alist):
7701 Remove declarations.
7702 (register-alist): Doc fix.
7703 (frameset-to-register): Move to frameset.el.
7704 (jump-to-register, describe-register-1): Remove frameset-specific code.
7705
9d3aa82c
JB
77062013-08-08 Juanma Barranquero <lekktu@gmail.com>
7707
7708 * allout-widgets.el (allout-widgets-pre-command-business)
7709 (allout-widgets-post-command-business)
7710 (allout-widgets-after-change-handler)
7711 (allout-decorate-item-and-context, allout-set-boundary-marker)
7712 (allout-body-modification-handler)
7713 (allout-graphics-modification-handler): Mark ignored arguments.
7714 (allout-widgets-post-command-business)
7715 (allout-widgets-exposure-change-processor)
7716 (allout-widgets-exposure-undo-processor)
7717 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7718 (allout-parse-item-at-point, allout-decorate-item-guides)
7719 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7720 * allout.el (epa-passphrase-callback-function): Declare.
7721 (allout-overlay-insert-in-front-handler)
7722 (allout-overlay-interior-modification-handler)
7723 (allout-isearch-end-handler, allout-chart-siblings)
7724 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7725 (allout-yank-processing, allout-process-exposed)
7726 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7727 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7728 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7729 (lisp-indent-defform): Mark ignored arguments.
7730 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7731 (calculate-lisp-indent): Remove unused variables.
7732 * international/characters.el (indian-2-column, arabic-2-column)
7733 (tibetan): Mark ignored arguments.
7734 (use-cjk-char-width-table): Mark ignored arguments.
7735 Remove unused variables.
7736 * international/fontset.el (build-default-fontset-data)
7737 (x-compose-font-name, create-fontset-from-fontset-spec):
7738 Mark ignored arguments.
7739 (fontset-plain-name): Remove unused variables.
7740 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7741 (keyboard-coding-system): Mark ignored arguments.
7742 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7743 * help.el (resize-temp-buffer-window):
7744 * window.el (display-buffer-in-major-side-window)
7745 (display-buffer-in-side-window, display-buffer-in-previous-window):
7746 Remove unused variables.
7747 * isearch.el (isearch-forward-symbol):
7748 * version.el (emacs-bzr-version-bzr):
7749 * international/mule-cmds.el (current-language-environment):
7750 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7751 (x-handle-display):
7752 * term/pc-win.el (x-list-fonts, x-display-planes)
7753 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7754 (x-server-version, x-display-screens, x-display-mm-height)
7755 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7756 (x-selection-owner-p, x-own-selection-internal)
7757 (x-disown-selection-internal, x-get-selection-internal)
7758 (msdos-initialize-window-system):
7759 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7760 * term/x-win.el (x-handle-no-bitmap-icon):
7761 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7762 (vc-default-find-file-hook, vc-default-extra-menu):
7763 Mark ignored arguments.
7764
0ca3f70e
SM
77652013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7766
7767 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7768 break-condition in the context of the debugged code (bug#12685).
7769
74c5d24c
CS
77702013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7771
7772 * comint.el:
7773 Do not use an overlay to highlight the last prompt. (Bug#14744)
7774 (comint-mode): Make comint-last-prompt buffer local.
7775 (comint-last-prompt): New variable.
7776 (comint-last-prompt-overlay): Remove. Superseded by
7777 comint-last-prompt.
0ca3f70e
SM
7778 (comint-snapshot-last-prompt, comint-output-filter):
7779 Use comint-last-prompt.
74c5d24c 7780
c03c02ee
JB
77812013-08-08 Juanma Barranquero <lekktu@gmail.com>
7782
a3738d20 7783 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7784 (frameset-save): Check validity of the resulting frameset.
7785
04263d23
XF
77862013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7787
7788 * ido.el (ido-record-command): Add doc string.
7789
76c5e5ab
JB
77902013-08-08 Juanma Barranquero <lekktu@gmail.com>
7791
7792 * frameset.el (frameset): Do not disable creation of the default
7793 frameset-p predicate. Doc fix.
7794 (frameset-valid-p): New function, copied from the old predicate-p.
7795 Add additional checks.
7796 (frameset-restore): Check with frameset-valid-p.
7797 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7798 (frameset-name, frameset-description, frameset-properties)
7799 (frameset-states): Add docstring.
f9dbf1cb
JB
7800 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7801 (frameset-filter-alist): Doc fixes.
76c5e5ab 7802
bd0c3c0b
JB
78032013-08-08 Juanma Barranquero <lekktu@gmail.com>
7804
7805 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7806
c735544c
SM
78072013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7808
7809 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7810 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7811 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7812 (byte-compile-normal-call): Remove obsolescence check.
7813
2805a651
JB
78142013-08-08 Juanma Barranquero <lekktu@gmail.com>
7815
3677ffeb
JB
7816 * frameset.el (frameset-restore): Doc fix.
7817
2805a651
JB
7818 * register.el (frameset-frame-id, frameset-frame-with-id)
7819 (frameset-p, frameset-restore, frameset-save): Declare.
7820 (register-alist): Document framesets.
7821 (frameset-session-filter-alist): Declare.
7822 (frameset-to-register): New function.
7823 (jump-to-register): Implement jumping to framesets. Doc fix.
7824 (describe-register-1): Describe framesets.
7825
7826 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7827
a912c016
JB
78282013-08-07 Juanma Barranquero <lekktu@gmail.com>
7829
7830 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7831 Use lexical-binding.
7832
7833 * frameset.el (frameset): Use type vector, not list (incompatible
7834 change). Do not declare a new constructor, use the default one.
7835 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7836 `name' and `description', respectively, and add read-only slot
7837 `timestamp'. Doc fixes.
7838 (frameset-copy, frameset-persistent-filter-alist)
7839 (frameset-filter-alist, frameset-switch-to-gui-p)
7840 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7841 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7842 (frameset-filter-iconified, frameset-keep-original-display-p):
7843 Doc fixes.
7844 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7845 Rename from frameset-filter-(save|restore)-param. All callers changed.
7846 Doc fix.
7847 (frameset-p): Adapt to change to vector and be more thorough.
7848 Change arg name to OBJECT. Doc fix.
7849 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7850 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7851 All callers changed.
7852 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7853 All callers changed.
7854 (frameset--record-minibuffer-relationships): Rename from
7855 frameset--process-minibuffer-frames. All callers changed.
7856 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7857 Use new default constructor (again). Doc fix.
c295fc18 7858 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7859 All callers changed.
7860 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7861 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7862 Doc fix.
7863 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7864 PARAMETERS and WINDOW-STATE, respectively.
7865 (frameset-restore): Add new keyword argument PREDICATE.
7866 Reset frameset--target-display to nil. Doc fix.
7867
bb41480a
SM
78682013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7869
f001e98e
SM
7870 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7871 (bat-mode): Use it.
7872 (bat-mode-syntax-table): Mark \n as end-of-comment.
7873 (bat-font-lock-keywords): Remove comment rule.
7874
7679edb1
SM
7875 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7876 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7877
bb41480a
SM
7878 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7879 (byte-compile-callargs-warn): Use `push'.
7880 (byte-compile-arglist-warn): Ignore higher-order "calls".
7881 (byte-compile-file-form-autoload): Use `pcase'.
7882 (byte-compile-function-form): If quoting a symbol, check that it exists.
7883
cdc1ebb9
EZ
78842013-08-07 Eli Zaretskii <eliz@gnu.org>
7885
7886 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7887 and add a few popular commands found in batch files.
7888 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7889 (dos-mode): Doc fixes.
7890
312b1740
SM
78912013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7894 (dos-mode): Use setq-local. Add space after "rem".
7895 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7896 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7897
400a3178
AM
78982013-08-07 Arni Magnusson <arnima@hafro.is>
7899
7900 * progmodes/dos.el: New file.
7901 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7902 dos-mode.
7903
3b5c03d3
GM
79042013-08-06 Glenn Morris <rgm@gnu.org>
7905
7906 * calendar/calendar.el: Add new faces, and day-header-array.
7907 (calendar-weekday-header, calendar-weekend-header)
7908 (calendar-month-header): New faces.
7909 (calendar-day-header-construct): New function.
7910 (calendar-day-header-width): Also :set calendar-day-header-array.
7911 (calendar-american-month-header, calendar-european-month-header)
7912 (calendar-iso-month-header): Use calendar- faces.
7913 (calendar-generate-month):
7914 Use calendar-day-header-array for day headers; apply faces to them.
7915 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7916 (calendar-abbrev-construct): Add optional maxlen argument.
7917 (calendar-day-name-array): Doc fix.
7918 (calendar-day-name-array, calendar-abbrev-length)
7919 (calendar-day-abbrev-array):
7920 Also :set calendar-day-header-array, and maybe redraw.
7921 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 7922 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
7923 (calendar-day-name): Add option to use header array.
7924
ec6a2d7a
LMI
79252013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7926
7927 * net/shr.el (shr-render-td): Remove debugging.
7928 (shr-render-td): Make width computation consistent by defaulting
7929 all zero-width columns to 10 characters. This may not be optimal,
7930 but it's at least consistent.
2122cb6d
LMI
7931 (shr-make-table-1): Redo last change to fix the real problem in
7932 colspan handling.
ec6a2d7a 7933
ed4fd9c5
DA
79342013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7935
0ca3f70e
SM
7936 * files.el (cache-long-line-scans):
7937 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 7938
64e22afe
JB
79392013-08-06 Juanma Barranquero <lekktu@gmail.com>
7940
024b38fc
JB
7941 * frameset.el (frameset, frameset-filter-alist)
7942 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7943 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7944 (frameset-compute-pos): Rename from frameset--compute-pos,
7945 and add docstring.
7946 (frameset-move-onscreen): Use frameset-compute-pos.
7947 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7948
64e22afe
JB
7949 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7950 Fix typos in docstrings.
7951
c8c2aca8
DA
79522013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7953
7954 * frame.el (get-other-frame): Tiny cleanup.
7955
1d237bba
JB
79562013-08-06 Juanma Barranquero <lekktu@gmail.com>
7957
8951efef
JB
7958 * vc/vc.el (vc-default-ignore-completion-table):
7959 Silence byte-compiler warning.
7960
307764cc 7961 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7962 slot, which can indeed be nil.
307764cc
JB
7963 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7964 Move entry for `left' from persistent to live filter alist.
7965 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7966 Doc fixes.
7967 (frameset-filter-params): When restoring a frame, copy items added to
7968 `filtered', to avoid unwittingly modifying the original parameters.
7969 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7970 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7971
1d237bba
JB
7972 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7973 to use looking-at-p instead of looking-at. (Bug#15028)
7974
dc6c0eda
SM
79752013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7976
7977 Revert introduction of isearch-filter-predicates (bug#14714).
7978 Rely on add-function instead.
7979 * isearch.el (isearch-filter-predicates): Rename it back to
7980 isearch-filter-predicate.
7981 (isearch-message-prefix): Use advice-function-mapc and advice
7982 properties to get the isearch-message-prefix.
7983 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7984 instead of run-hook-with-args-until-failure.
7985 (isearch-filter-visible): Not obsolete any more.
7986 * loadup.el: Preload nadvice.
7987 * replace.el (perform-replace): Revert to funcall
7988 instead of run-hook-with-args-until-failure.
7989 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7990 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7991 dired-isearch-filenames-toggle; make it into a proper minor mode.
7992 Use add/remove-function.
7993 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7994 Call the minor-mode rather than add/remove-hook.
7995 (dired-isearch-filter-filenames):
7996 Remove isearch-message-prefix property.
7997 * info.el (Info--search-loop): New function, extracted from Info-search.
7998 Funcall isearch-filter-predicate instead of
7999 run-hook-with-args-until-failure isearch-filter-predicates.
8000 (Info-search): Use it.
8001 (Info-mode): Use isearch-filter-predicate instead of
8002 isearch-filter-predicates.
8003
290d5b58
DA
80042013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8005
8006 Do not call to `selected-window' where it is assumed by default.
8007 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8008 `window-hscroll', `window-width', `window-height', `window-buffer',
8009 `window-frame', `window-start', `window-point', `next-window'
8010 and `window-display-table'.
8011 * abbrev.el (abbrev--default-expand):
8012 * bs.el (bs--show-with-configuration):
8013 * buff-menu.el (Buffer-menu-mouse-select):
8014 * calc/calc.el (calc):
8015 * calendar/calendar.el (calendar-generate-window):
8016 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8017 (diary-make-entry):
8018 * comint.el (send-invisible, comint-dynamic-complete-filename)
8019 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8020 * completion.el (complete):
8021 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8022 * disp-table.el (describe-current-display-table):
8023 * doc-view.el (doc-view-insert-image):
8024 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8025 * ehelp.el (with-electric-help):
8026 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8027 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8028 * emacs-lisp/helper.el (Helper-help-scroller):
8029 * emulation/cua-base.el (cua--post-command-handler-1):
8030 * eshell/esh-mode.el (eshell-output-filter):
8031 * ffap.el (ffap-gnus-wrapper):
8032 * help-macro.el (make-help-screen):
8033 * hilit-chg.el (highlight-compare-buffers):
8034 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8035 * hl-line.el (global-hl-line-highlight):
8036 * icomplete.el (icomplete-simple-completing-p):
8037 * isearch.el (isearch-done):
8038 * jit-lock.el (jit-lock-stealth-fontify):
8039 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8040 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8041 * mpc.el (mpc-tagbrowser, mpc):
8042 * net/rcirc.el (rcirc-any-buffer):
8043 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8044 * play/landmark.el (landmark-max-width, landmark-max-height):
8045 * play/zone.el (zone):
8046 * progmodes/compile.el (compilation-goto-locus):
8047 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8048 * progmodes/etags.el (find-tag-other-window):
8049 * progmodes/fortran.el (fortran-column-ruler):
8050 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8051 * progmodes/verilog-mode.el (verilog-point-text):
8052 * reposition.el (reposition-window):
8053 * rot13.el (toggle-rot13-mode):
8054 * server.el (server-switch-buffer):
8055 * shell.el (shell-dynamic-complete-command)
8056 (shell-dynamic-complete-environment-variable):
8057 * simple.el (insert-buffer, set-selective-display)
8058 (delete-completion-window):
8059 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8060 (speedbar-recenter):
8061 * startup.el (fancy-splash-head):
8062 * textmodes/ispell.el (ispell-command-loop):
8063 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8064 * tutorial.el (help-with-tutorial):
8065 * vc/add-log.el (add-change-log-entry):
8066 * vc/compare-w.el (compare-windows):
8067 * vc/ediff-help.el (ediff-indent-help-message):
8068 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8069 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8070 (ediff-setup-control-frame):
8071 * vc/emerge.el (emerge-position-region):
8072 * vc/pcvs-util.el (cvs-bury-buffer):
8073 * window.el (walk-windows, mouse-autoselect-window-select):
8074 * winner.el (winner-set-conf, winner-undo): Related users changed.
8075
38276e01
JB
80762013-08-05 Juanma Barranquero <lekktu@gmail.com>
8077
8078 * frameset.el (frameset--set-id): Doc fix.
8079 (frameset-frame-id, frameset-frame-id-equal-p)
8080 (frameset-locate-frame-id): New functions.
8081 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8082 (frameset-restore): Use them.
8083
12b4c0ea
DA
80842013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8085
8086 Do not call to `selected-frame' where it is assumed by default.
8087 Affected functions are `raise-frame', `redraw-frame',
8088 `frame-first-window', `frame-terminal' and `delete-frame'.
8089 * calendar/appt.el (appt-disp-window):
8090 * epg.el (epg-wait-for-completion):
8091 * follow.el (follow-delete-other-windows-and-split)
8092 (follow-avoid-tail-recenter):
8093 * international/mule.el (set-terminal-coding-system):
8094 * mail/rmail.el (rmail-mail-return):
8095 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8096 * progmodes/f90.el (f90-add-imenu-menu):
8097 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8098 * server.el (server-switch-buffer):
8099 * simple.el (delete-completion-window):
8100 * talk.el (talk):
8101 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8102 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8103 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8104 * vc/ediff.el (ediff-documentation): Related users changed.
8105 * frame.el (selected-terminal): Remove the leftover.
8106
17f25e76
GM
81072013-08-05 Glenn Morris <rgm@gnu.org>
8108
8109 * calendar/calendar.el (calendar-generate-month):
8110 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8111 (calendar-generate-month, calendar-font-lock-keywords):
8112 Fix for calendar-day-header-width > length of any day name.
17f25e76 8113
063233c3
JB
81142013-08-05 Juanma Barranquero <lekktu@gmail.com>
8115
8116 * desktop.el (desktop-clear): Use new name of sort predicate.
8117
8118 * frameset.el (frameset): Add docstring. Move :version property to its
8119 own `version' slot.
8120 (frameset-copy): Rename from copy-frameset.
8121 (frameset-p): Check more thoroughly.
8122 (frameset-prop): Do not check for :version, which is no longer a prop.
8123 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8124 Use new :never value instead of t.
8125 (frameset-filter-alist): Expand and clarify docstring.
8126 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8127 (frameset-filter-minibuffer, frameset-filter-save-param)
8128 (frameset-filter-restore-param, frameset-filter-iconified):
8129 Add pointer to docstring of frameset-filter-alist.
8130 (frameset-filter-params): Rename filter values to be more meaningful:
8131 :never instead of t, and reverse the meanings of :save and :restore.
8132 (frameset--process-minibuffer-frames): Clarify error message.
8133 (frameset-save): Avoid unnecessary and confusing call to framep.
8134 Use new BOA constructor for framesets.
8135 (frameset--reuse-list): Doc fix.
8136 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8137 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8138 (frameset-minibufferless-first-p): Doc fix.
8139 Rename from frameset-sort-frames-for-deletion.
8140 (frameset-restore): Doc fixes. Use new function names.
8141 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8142
d5671a82
JB
81432013-08-04 Juanma Barranquero <lekktu@gmail.com>
8144
8145 * desktop.el (desktop-restore-forces-onscreen)
8146 (desktop-restore-reuses-frames): Document :keyword constant values.
8147 (desktop-filter-parameters-alist): Remove, now identical to
8148 frameset-filter-alist.
8149 (desktop--filter-tty*): Remove, moved to frameset.el.
8150 (desktop-save-frameset, desktop-restore-frameset):
8151 Do not pass :filters argument.
8152
8153 * frameset.el (frameset-live-filter-alist)
8154 (frameset-persistent-filter-alist): New variables.
8155 (frameset-filter-alist): Use them. Add autoload cookie.
8156 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8157 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8158 `frameset--id' (it's supposed to be internal to frameset.el).
8159 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8160 (frameset--initial-params): New function.
8161 (frameset--get-frame): Use it. Doc fix.
8162 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8163 Accept :all, not 'all.
8164 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8165 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8166 with fbound symbols. Fix frame id matching, and remove matching ids if
8167 the frame being restored is deleted. Obey :delete.
8168
671d5c16
SM
81692013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8170
8171 * subr.el (macrop): New function.
8172 (text-clone--maintaining): New var.
8173 (text-clone--maintain): Rename from text-clone-maintain. Use it
8174 instead of inhibit-modification-hooks.
8175
8176 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8177 a proxy, so as handle autoloads and redefinitions of the target.
8178 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8179
8180 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8181 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8182 (pcase--mutually-exclusive-p): New function.
8183 (pcase--split-consp): Use it.
8184 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8185 mutually exclusive with the current predicate.
8186
8187 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8188 (edebug-macrop): Remove. Use `macrop' instead.
8189 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8190 (ad-macro-p):
8191 * eshell/esh-cmd.el (eshell-macrop):
8192 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8193
1d44e9dc
SM
81942013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8197 (advice-mapc): New function, using it.
8198 (advice-function-member-p): New function.
8199 (advice--normalize): Store the cdr in advice--saved-rewrite since
8200 that's the part that will be changed.
8201 (advice--symbol-function): New function.
8202 (advice-remove): Handle removal before the function is defined.
8203 Adjust to new advice--saved-rewrite.
8204 (advice-member-p): Use advice-function-member-p and
8205 advice--symbol-function.
8206
5414a283
JB
82072013-08-04 Juanma Barranquero <lekktu@gmail.com>
8208
51d30f2c
JB
8209 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8210 (frameset-filter-minibuffer): Doc fix.
8211 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8212 (frameset--set-id, frameset--process-minibuffer-frames)
8213 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8214 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8215
5414a283
JB
8216 * desktop.el (desktop-clear): Only delete frames when called
8217 interactively and desktop-restore-frames is non-nil. Doc fix.
8218 (desktop-read): Set desktop-saved-frameset to nil.
8219
ab419665
XF
82202013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8221
8222 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8223 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8224 (vc--add-line, vc--remove-regexp): New functions.
8225
8226 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8227 (vc-svn-ignore-completion-table): New function.
8228
8229 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8230 (vc-hg-ignore-completion-table)
ab419665
XF
8231 (vc-hg-find-ignore-file): New functions.
8232
8233 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8234 (vc-git-ignore-completion-table)
ab419665
XF
8235 (vc-git-find-ignore-file): New functions.
8236
8237 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8238
8239 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8240 (vc-bzr-ignore-completion-table)
ab419665
XF
8241 (vc-bzr-find-ignore-file): New functions.
8242
2613dea2
JB
82432013-08-03 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * frameset.el (frameset-prop): New function and setter.
8246 (frameset-save): Do not modify frame list passed by the caller.
8247
9c959872
SM
82482013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8251
a104f656
SM
82522013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8253
70122acf
SM
8254 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8255 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8256
a104f656
SM
8257 * custom.el (custom-initialize-default, custom-initialize-set)
8258 (custom-initialize-reset, custom-initialize-changed): Affect the
8259 toplevel-default-value (bug#6275, bug#14586).
8260 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8261 for bug#6275.
8262
f078d570
JB
82632013-08-02 Juanma Barranquero <lekktu@gmail.com>
8264
185e3b5a
JB
8265 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8266 Add cl-def* expressions.
8267
f078d570
JB
8268 * frameset.el (frameset-filter-params): Fix order of arguments.
8269
9421876d
JB
82702013-08-02 Juanma Barranquero <lekktu@gmail.com>
8271
8272 Move code related to saving frames to frameset.el.
8273 * desktop.el: Require frameset.
8274 (desktop-restore-frames): Doc fix.
8275 (desktop-restore-reuses-frames): Rename from
8276 desktop-restoring-reuses-frames.
8277 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8278 (desktop-clear): Clear frames too.
8279 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8280 (desktop--filter-tty*, desktop-save, desktop-read):
8281 Use frameset functions.
8282 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8283 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8284 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8285 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8286 (desktop--process-minibuffer-frames, desktop-save-frames)
8287 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8288 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8289 (desktop--sort-states, desktop-restoring-frames-p)
8290 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8291 (desktop-restoring-frameset-p, desktop-restore-frameset)
8292 (desktop--check-dont-save, desktop-save-frameset): New functions.
8293 (desktop--app-id): New constant.
8294 (desktop-first-buffer, desktop-buffer-ok-count)
8295 (desktop-buffer-fail-count): Move before first use.
8296 * frameset.el: New file.
8297
76dc5996
SM
82982013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * files.el: Use lexical-binding.
8301 (dir-locals-read-from-file): Remove unused `err' variable.
8302 (hack-dir-local-variables--warned-coding): New var.
8303 (hack-dir-local-variables): Use it to avoid repeated warnings.
8304 (make-backup-file-name--default-function): New function.
8305 (make-backup-file-name-function): Use it as default.
8306 (buffer-stale--default-function): New function.
8307 (buffer-stale-function): Use it as default.
8308 (revert-buffer-insert-file-contents--default-function): New function.
8309 (revert-buffer-insert-file-contents-function): Use it as default.
8310 (insert-directory): Avoid add-to-list.
8311
8312 * autorevert.el (auto-revert-handler): Simplify.
8313 Use buffer-stale--default-function.
8314
06d36e2b
TH
83152013-08-01 Tassilo Horn <tsdh@gnu.org>
8316
5f648ab4
TH
8317 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8318
06d36e2b
TH
8319 * whitespace.el (whitespace-ensure-local-variables): New function.
8320 (whitespace-cleanup-region): Call it.
8321 (whitespace-turn-on): Call it.
8322
a43dc424
MA
83232013-08-01 Michael Albinus <michael.albinus@gmx.de>
8324
8325 Complete file name handlers.
8326
8327 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8328 (tramp-handle-verify-visited-file-modtime)
8329 (tramp-handle-file-notify-rm-watch): New functions.
8330 (tramp-call-process): Do not bind `default-directory'.
8331
44e18199
JB
8332 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8333 Order alphabetically.
afe1e4c8
GM
8334 <access-file, add-name-to-file, dired-call-process>:
8335 <dired-compress-file, file-acl, file-notify-rm-watch>:
8336 <file-ownership-preserved-p, file-selinux-context>:
8337 <make-directory-internal, make-symbolic-link, set-file-acl>:
8338 <set-file-selinux-context, set-visited-file-modtime>:
8339 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8340 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8341
8342 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8343 <file-notify-add-watch, file-notify-rm-watch>:
8344 <set-file-times, set-visited-file-modtime>:
8345 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8346 (with-tramp-gvfs-error-message)
8347 (tramp-gvfs-handle-set-visited-file-modtime)
8348 (tramp-gvfs-fuse-file-name): Remove.
8349 (tramp-gvfs-handle-file-notify-add-watch)
8350 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8351 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8352
44e18199
JB
8353 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8354 Order alphabetically.
afe1e4c8
GM
8355 <file-notify-rm-watch>: Use default Tramp handler.
8356 <executable-find>: Remove private handler.
a43dc424
MA
8357 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8358 `default-directory'.
8359 (tramp-sh-handle-executable-find)
8360 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8361 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8362 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8363 Do not use `format' in `tramp-message'.
8364
8365 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8366 <file-notify-rm-watch, set-visited-file-modtime>:
8367 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8368 (tramp-smb-call-winexe): Do not bind `default-directory'.
8369
7188b515
XF
83702013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8371
8372 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8373
2412ee1a
DG
83742013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8375
8376 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8377 use it.
8378 (log-view-diff-changeset): Same.
8379 (log-view-diff-common): Call backend command `previous-revision'
8380 to find out the previous revision, in both cases. Swap the
8381 variables `to' and `fr', so that `fr' usually refers to the
8382 earlier revision (Bug#14989).
8383
5002a754
KRC
83842013-07-31 Kan-Ru Chen <kanru@kanru.info>
8385
8386 * ibuf-ext.el (ibuffer-filter-by-filename):
8387 Make it work with dired buffers too.
8388
44e18199 83892013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8390
8391 * emacs-lisp/re-builder.el (reb-color-display-p):
8392 * files.el (save-buffers-kill-terminal):
8393 * net/browse-url.el (browse-url):
8394 * server.el (server-save-buffers-kill-terminal):
8395 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8396 Prefer nil to selected-frame for the first arg of frame-parameter.
8397
aeca3fbb
XF
83982013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8399
8400 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8401
158bc55c
SB
84022013-07-30 Stephen Berman <stephen.berman@gmx.net>
8403
8404 * minibuffer.el (completion--twq-all): Try and preserve each
8405 completion's case choice (bug#14907).
8406
d50fceab
LMI
84072013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8408
ac38e731
LMI
8409 * net/network-stream.el (open-network-stream): Mention the new
8410 :nogreeting parameter.
8411 (network-stream-open-starttls): Use the :nogreeting parameter
8412 (bug#14938).
8413
1211de50
LMI
8414 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8415
997798bf
LMI
8416 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8417 more natural than popping.
8418
d50fceab 8419 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8420 (shr-urlify): Highlight under mouse.
d50fceab 8421
5c09de04
XF
84222013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8423
207d1d04
XF
8424 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8425
8426 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8427
5c09de04
XF
8428 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8429 buffer for output.
8430
3cd51eaa
XF
8431 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8432 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8433
44e18199 8434 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8435 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8436
8437 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8438
8439 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8440 buffer for output.
8441
35a89bdd
EZ
84422013-07-29 Eli Zaretskii <eliz@gnu.org>
8443
8444 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8445 initial frame is minibuffer-less. (Bug#14841)
8446
78822e94
MA
84472013-07-29 Michael Albinus <michael.albinus@gmx.de>
8448
8449 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8450 option.
8451
8452 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8453 (tramp-maybe-open-connection): Use it.
8454
9503c190
JB
84552013-07-28 Juanma Barranquero <lekktu@gmail.com>
8456
8457 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8458 minimal set of parameters passed when creating a frame, because
8459 the minibuffer status of a frame cannot be changed later.
8460
d5a845b4
SB
84612013-07-28 Stephen Berman <stephen.berman@gmx.net>
8462
8463 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8464 replace-regexp-in-string and inadvertent omissions in previous change.
8465 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8466 name of filtered items buffer.
d5a845b4 8467
ddeffb17
JB
84682013-07-28 Juanma Barranquero <lekktu@gmail.com>
8469
8470 * desktop.el: Optionally force offscreen frames back onscreen.
8471 (desktop-restoring-reuses-frames): New option.
8472 (desktop--compute-pos, desktop--move-onscreen): New functions.
8473 (desktop--make-frame): Use desktop--move-onscreen.
8474
f5950f7a
AM
84752013-07-27 Alan Mackenzie <acm@muc.de>
8476
8477 Fontify a Java generic method as a function.
8478 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8479 value to t.
8480
ae43b66a
SB
84812013-07-27 Stephen Berman <stephen.berman@gmx.net>
8482
8483 * calendar/todo-mode.el: Add command to rename todo files.
8484 (todo-rename-file): New command.
8485 (todo-key-bindings-t): Add key binding for it. Change the
8486 bindings of todo-filter-regexp-items(-multifile) to use `x'
8487 instead of `r', since the latter is better suited to the new
8488 renaming command.
8489
5ab78d3d
AM
84902013-07-27 Alan Mackenzie <acm@muc.de>
8491
8492 Make Java try-with-resources statement parse properly.
8493 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8494 (c-block-stmt-1-2-key): New language constants/variables.
8495 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8496 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8497 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8498 with c-block-stmt-1-2-key.
5ab78d3d 8499
d85c4d50
JB
85002013-07-27 Juanma Barranquero <lekktu@gmail.com>
8501
8502 * desktop.el (desktop--make-frame): Apply most frame parameters after
8503 creating the frame to force (partially or totally) offscreen frames to
8504 be restored as such.
8505
e4c467f9
XF
85062013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8507
8508 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8509 (Bug#14948)
e4c467f9 8510
7ced0d04
SM
85112013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8514 `base' arg of backtrace-frame.
8515
fec92060
EZ
85162013-07-26 Eli Zaretskii <eliz@gnu.org>
8517
8518 * simple.el (list-processes): Doc fix.
8519
d58d31fb
JB
85202013-07-26 Juanma Barranquero <lekktu@gmail.com>
8521
8522 * desktop.el (desktop--select-frame):
d85c4d50 8523 Try harder to reuse existing frames.
d58d31fb 8524
53ff3e77
SM
85252013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8528 (edebug-eval): Use backtrace-eval.
8529 (edebug--display, edebug--recursive-edit): Don't let-bind the
8530 edebug-outer-* vars that keep track of variables we locally let-bind.
8531 (edebug-outside-excursion): Don't restore outside values of locally
8532 let-bound vars.
8533 (edebug--display): Use user-error.
8534 (cl-lexical-debug, cl-debug-env): Remove.
8535
045f7a53
JB
85362013-07-26 Juanma Barranquero <lekktu@gmail.com>
8537
8538 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8539 are restored to be sure that they are visible before deleting any
8540 remaining ones.
8541
59070b32
MM
85422013-07-26 Matthias Meulien <orontee@gmail.com>
8543
742a3501
XF
8544 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8545 vc-print-root-log. (Bug#14948)
59070b32 8546
b1fb3596
RS
85472013-07-26 Richard Stallman <rms@gnu.org>
8548
8549 Add aliases for encrypting mail.
8550 * epa.el (epa-mail-aliases): New option.
8551 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8552 Bind inhibit-read-only so read-only text doesn't ruin everything.
8553 (epa-mail-default-recipients): New subroutine broken out.
8554 Handle epa-mail-aliases.
8555
56ea7291
SM
85562013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 Add support for lexical variables to the debugger's `e' command.
8559 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8560 vars, except for debugger-outer-match-data.
8561 (debugger-frame-number): Move check for "on a function call" from
8562 callers into it. Add `skip-base' argument.
8563 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8564 (debugger-env-macro): Only reset the state stored in non-variables,
8565 i.e. current-buffer and match-data.
8566 (debugger-eval-expression): Rewrite using backtrace-eval.
8567 * subr.el (internal--called-interactively-p--get-frame): Remove.
8568 (called-interactively-p):
8569 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8570 `base' arg of backtrace-frame instead.
8571
15ac32d5
GM
85722013-07-26 Glenn Morris <rgm@gnu.org>
8573
8358a09d
GM
8574 * align.el (align-regexp): Doc fix. (Bug#14857)
8575 (align-region): Explicit error if subexpression missing/does not match.
8576
15ac32d5
GM
8577 * simple.el (global-visual-line-mode):
8578 Do not duplicate the mode lighter. (Bug#14858)
8579
f47ad11b
MR
85802013-07-25 Martin Rudalics <rudalics@gmx.at>
8581
8582 * window.el (display-buffer): In display-buffer bind
8583 split-window-keep-point to t, bug#14829.
8584
02530987
JB
85852013-07-25 Juanma Barranquero <lekktu@gmail.com>
8586
8587 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8588 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8589 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8590 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8591 Change accordingly.
f63ebeb5
JB
8592 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8593 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8594
6ccb9cab 85952013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8596
6ccb9cab 8597 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8598
cb3a56d2
JB
85992013-07-25 Juanma Barranquero <lekktu@gmail.com>
8600
8601 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8602 parameter to modify-frame-parameters if the value has not changed;
8603 this is a workaround for bug#14949.
8604 (desktop--make-frame): On cl-delete-if call, check parameter name,
8605 not full parameter.
8606
7aa7fff0
XF
86072013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8608
8609 * vc/vc.el (vc-ignore): New function.
8610
8611 * vc/vc-svn.el (vc-svn-ignore): New function.
8612
8613 * vc/vc-hg.el (vc-hg-ignore): New function.
8614
8615 * vc/vc-git.el (vc-git-ignore): New function.
8616
8617 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8618 (vc-dir-ignore): New function.
8619
8620 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8621 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8622
8623 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8624
8625 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8626
889acc5c
JB
86272013-07-24 Juanma Barranquero <lekktu@gmail.com>
8628
8629 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8630 (desktop-restore-frames): Warn when deleting an existing frame failed.
8631
86c40970
GM
86322013-07-24 Glenn Morris <rgm@gnu.org>
8633
8634 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8635
d5d3c58a
MA
86362013-07-24 Michael Albinus <michael.albinus@gmx.de>
8637
8638 * filenotify.el (file-notify-supported-p):
8639 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8640 Remove functions.
8641
35e951cd 8642 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
8643 (auto-revert-notify-add-watch):
8644 * net/tramp.el (tramp-file-name-for-operation):
8645 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8646 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8647 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8648 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8649 Remove `file-notify-supported-p' entry.
8650
d100084b
GM
86512013-07-24 Glenn Morris <rgm@gnu.org>
8652
8653 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8654 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8655
ac93e56b
SM
86562013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8657
249eea30
SM
8658 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8659 checked with memq (bug#14935).
8660
ac93e56b
SM
8661 * files.el (revert-buffer-function): Use a non-nil default.
8662 (revert-buffer-preserve-modes): Declare var to
8663 provide access to the `preserve-modes' argument.
8664 (revert-buffer): Let-bind it.
8665 (revert-buffer--default): New function, extracted from revert-buffer.
8666
2cdeb903
SM
86672013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * lpr.el: Signal print errors more prominently.
8670 (print-region-function): Don't default to nil.
8671 (lpr-print-region): New function, extracted from print-region-1.
8672 Check lpr's return value and signal an error in case of problem.
8673 (print-region-1): Use it.
8674 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8675 versions instead.
8676 (ps-printer-name): Default to nil.
8677 (ps-printer-name-option): Default to lpr-printer-switch.
8678 (ps-print-region-function): Don't default to nil.
8679 (ps-postscript-code-directory): Simplify default.
8680 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8681 (ps-string-list, ps-eval-switch, ps-flatten-list)
8682 (ps-flatten-list-1): Remove.
8683 (ps-multibyte-buffer): Avoid setq.
8684 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8685 (print-region-function, ps-print-region-function): Don't set them here.
8686
73600831
XF
86872013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8688
35e951cd
JB
8689 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8690 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8691 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
8692 (ido-decorations): Doc fix.
8693
73600831
XF
8694 * ansi-color.el: Fix old URL.
8695
3d012865
MM
86962013-07-23 Michael R. Mauger <michael@mauger.com>
8697
e903c210 8698 * progmodes/sql.el: Version 3.3
3d012865
MM
8699 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8700 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8701 (sql-interactive-remove-continuation-prompt): Rewrite, use
8702 functions above. Fix continuation prompt and complete output line
8703 handling.
8704 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8705 redirected output buffer.
8706 (sql-mode): Restore deleted code (Bug#13591).
8707
da77a2e2
JB
87082013-07-23 Juanma Barranquero <lekktu@gmail.com>
8709
8710 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8711
80ff0c71
MA
87122013-07-23 Michael Albinus <michael.albinus@gmx.de>
8713
8714 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8715
8716 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8717 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8718 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8719
b61d71e4
JB
87202013-07-23 Juanma Barranquero <lekktu@gmail.com>
8721
8722 * desktop.el (desktop-clear): Simplify; remove useless checks
8723 against invalid buffer names.
8724 (desktop-list*): Use cl-list*.
8725 (desktop-buffer-info, desktop-create-buffer): Simplify.
8726
c3512092
LL
87272013-07-23 Leo Liu <sdl.web@gmail.com>
8728
8729 * bookmark.el (bookmark-make-record): Restore NAME as a default
8730 value. (Bug#14933)
8731
0ac26976
SM
87322013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8733
7d22ce18
SM
8734 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8735 extracted from autoload--insert-text.
8736 (autoload--insert-text): Remove.
8737 (autoload--print-cookie-text): New function, extracted from
8738 autoload--insert-cookie-text.
8739 (autoload--insert-cookie-text): Remove.
8740 (autoload-generate-file-autoloads): Adjust calls accordingly.
8741
9b2607e8
SM
8742 * winner.el (winner-hook-installed-p): Remove.
8743 (winner-mode): Simplify accordingly.
8744
c43a8618
SM
8745 * subr.el (add-to-list): Fix compiler-macro when `append' is
8746 not constant. Don't use `cl-member' for the base case.
8747
0ac26976
SM
8748 * progmodes/subword.el: Fix boundary case (bug#13758).
8749 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8750 own group.
8751 (subword-backward-regexp): Make it a constant.
8752 (subword-forward-internal): Don't treat a trailing capital as the
8753 beginning of a word.
8754
6874724a
AR
87552013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8756
8757 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8758 global value of tabulated-list-revert-hook (bug#14930).
8759
70f1b5e8
JB
87602013-07-22 Juanma Barranquero <lekktu@gmail.com>
8761
a1c80d9d
JB
8762 * desktop.el: Require 'cl-lib.
8763 (desktop-before-saving-frames-functions): New hook.
8764 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8765 for frames being saved. Rename from desktop--save-minibuffer-frames.
8766 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8767 Do not save frames with non-nil `desktop-dont-save' parameter.
8768 Filter out deleted frames.
a1c80d9d
JB
8769 (desktop--find-frame): Use cl-find-if.
8770 (desktop--select-frame): Use cl-(first|second|third) to access values
8771 of desktop-mini.
8772 (desktop--make-frame): Use cl-delete-if.
8773 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8774 (desktop-restore-frames): Use cl-(first|second|third) to access values
8775 of desktop-mini. Look for visible frame at the end, not while
8776 restoring frames.
8777
70f1b5e8
JB
8778 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8779 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8780 Use string-match-p, looking-at-p (bug#14927).
8781
728dc3cc
JB
87822013-07-21 Juanma Barranquero <lekktu@gmail.com>
8783
56bc453c
JB
8784 * desktop.el (desktop-saved-frame-states):
8785 Rename from desktop--saved-states; all users changed.
8786 (desktop-save-frames): Rename from desktop--save-frames.
8787 Do not save state to desktop file.
8788 (desktop-save): Save desktop-saved-frame-states to desktop file
8789 and reset to nil.
8790 (desktop-restoring-frames-p): New function.
8791 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8792 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8793 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8794
728dc3cc
JB
8795 * desktop.el: Correctly restore iconified frames.
8796 (desktop--filter-iconified-position): New function.
8797 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8798
862f1c9c
GM
87992013-07-20 Glenn Morris <rgm@gnu.org>
8800
c4074c9f
GM
8801 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8802 Let `message' do the formatting.
8803 (def-gdb-preempt-display-buffer): Add explicit format.
8804
d828e5f9
GM
8805 * image-dired.el (image-dired-track-original-file):
8806 Use with-current-buffer.
8807 (image-dired-track-thumbnail): Use with-current-buffer.
8808 Avoid changing point of wrong window.
8809
862f1c9c
GM
8810 * image-dired.el (image-dired-track-original-file):
8811 Avoid changing point of wrong window. (Bug#14909)
8812
f0398ec1 88132013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8814
8815 * progmodes/gdb-mi.el (gdb-done-or-error):
8816 Guard against "%" in gdb output. (Bug#14127)
8817
1451928f
AS
88182013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8819
763a086d
JB
8820 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8821 (Bug#14826)
f7a03897 8822
1451928f
AS
8823 * international/mule.el (coding-system-iso-2022-flags): Fix last
8824 change.
8825
99107004
KH
88262013-07-20 Kenichi Handa <handa@gnu.org>
8827
763a086d
JB
8828 * international/mule.el (coding-system-iso-2022-flags):
8829 Add `8-bit-level-4'. (Bug#8522)
99107004 8830
48494e06
LMI
88312013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8832
8ba8eec5
LMI
8833 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8834 (bug#14815).
8835
dfbc66e3
LMI
8836 * net/eww.el (eww-process-text-input): Allow inputting when the
8837 point is at the start of the line, as the properties aren't
8838 front-sticky.
8839
48494e06
LMI
8840 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8841 degenerate widths.
8842
77c92cb9
RS
88432013-07-19 Richard Stallman <rms@gnu.org>
8844
aec7da77
RS
8845 * epa.el (epa-popup-info-window): Doc fix.
8846
77c92cb9
RS
8847 * subr.el (split-string): New arg TRIM.
8848
945c5bb1
JB
88492013-07-18 Juanma Barranquero <lekktu@gmail.com>
8850
8851 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8852 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8853
e06ec67f
MA
88542013-07-18 Michael Albinus <michael.albinus@gmx.de>
8855
c7064f05 8856 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8857 `file-notify-support'. Do not autoload. Adapt all uses.
8858 (file-notify-supported-p): New defun.
8859
c7064f05
JB
8860 * autorevert.el (auto-revert-use-notify):
8861 Use `file-notify-supported-p' instead of `file-notify-support'.
8862 Adapt docstring.
e06ec67f
MA
8863 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8864
8865 * net/tramp.el (tramp-file-name-for-operation):
8866 Add `file-notify-supported-p'.
8867
8868 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8869 New defun.
8870 (tramp-sh-file-name-handler-alist): Add it as handler for
8871 `file-notify-supported-p '.
8872
8873 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8874 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8875 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8876 Add `ignore' as handler for `file-notify-*' functions.
8877
5dc8a629
EZ
88782013-07-17 Eli Zaretskii <eliz@gnu.org>
8879
8880 * simple.el (line-move-partial, line-move): Don't start vscroll or
8881 scroll-up if the current line is not taller than the window.
8882 (Bug#14881)
8883
77aea2fb
DG
88842013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8885
8886 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8887 highlight question marks in the method names as strings.
ac72c08d
DG
8888 (ruby-block-beg-keywords): Inline.
8889 (ruby-font-lock-keyword-beg-re): Extract from
8890 `ruby-font-lock-keywords'.
77aea2fb 8891
18c26d81
JD
88922013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8893
8894 * frame.el (blink-cursor-blinks): New defcustom.
8895 (blink-cursor-blinks-done): New defvar.
8896 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8897 (blink-cursor-timer-function): Check if number of blinks has been
8898 done on X and NS.
8899 (blink-cursor-suspend, blink-cursor-check): New defuns.
8900
da48522e
GM
89012013-07-15 Glenn Morris <rgm@gnu.org>
8902
8903 * edmacro.el (edmacro-format-keys): Fix previous change.
8904
0463c1ef
PE
89052013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8906
8907 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8908 The hack didn't work outside English locales anyway.
8909
b43f6451
JB
89102013-07-15 Juanma Barranquero <lekktu@gmail.com>
8911
8912 * simple.el (define-alternatives): Rename from alternatives-define,
8913 per RMS' suggestion.
8914
b958c0ad
JB
89152013-07-14 Juanma Barranquero <lekktu@gmail.com>
8916
8917 * desktop.el (desktop-restore-frames): Change default to t.
8918 (desktop-restore-in-current-display): Now offer more options.
8919 (desktop-restoring-reuses-frames): New customization option.
8920 (desktop--saved-states): Doc fix.
8921 (desktop-filter-parameters-alist): New variable, renamed and expanded
8922 from desktop--excluded-frame-parameters.
8923 (desktop--target-display): New variable.
8924 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8925 (desktop--filter-tty*, desktop--filter-*-color)
8926 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8927 (desktop--filter-save-desktop-parm)
8928 (desktop-restore-in-original-display-p): New functions.
8929 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8930 (desktop--save-minibuffer-frames): New function, inspired by a similar
8931 function from Martin Rudalics.
8932 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8933 (desktop--restore-in-this-display-p): Remove.
8934 (desktop--find-frame): Rename from desktop--find-frame-in-display
8935 and add predicate argument.
8936 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8937 (desktop--reuse-list): New variable.
8938 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8939 New functions.
8940 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8941
f6dd8b36
MA
89422013-07-14 Michael Albinus <michael.albinus@gmx.de>
8943
8944 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8945
2ce3c565
DG
89462013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8947
763a086d
JB
8948 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8949 Highlight conversion methods on Kernel.
2ce3c565 8950
2cdb7698
AM
89512013-07-13 Alan Mackenzie <acm@muc.de>
8952
8953 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8954 and comment it out. This out-commenting enables certain C++
8955 declarations to be parsed correctly.
8956
1a67b811
EZ
89572013-07-13 Eli Zaretskii <eliz@gnu.org>
8958
1b796d6b
EZ
8959 * international/mule.el (define-coding-system): Doc fix.
8960
1a67b811
EZ
8961 * simple.el (default-font-height): Don't call font-info if the
8962 frame's default font didn't change since the frame was created.
8963 (Bug#14838)
8964
58fbe886
LL
89652013-07-13 Leo Liu <sdl.web@gmail.com>
8966
8967 * ido.el (ido-read-file-name): Guard against non-symbol value.
8968
1f0480d4
FEG
89692013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8970
8971 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8972 in nested defuns.
8973
97ead0e5
LL
89742013-07-13 Leo Liu <sdl.web@gmail.com>
8975
8976 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8977 ido-set-matches call. (Bug#6852)
8978
0880a952
DG
89792013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8980
35e951cd 8981 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
8982 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8983 Ruby 2.0.
8984 (ruby-font-lock-keywords): Distinguish calls to functions with
8985 module-like names from module references. Highlight character
8986 literals.
8987
a7d8babb
SDJ
89882013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8989
8990 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8991 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8992
acfcc8c5
JB
89932013-07-12 Juanma Barranquero <lekktu@gmail.com>
8994
8995 * desktop.el (desktop--v2s): Remove unused local variable.
8996 (desktop-save-buffer): Make defvar-local; adjust docstring.
8997 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8998 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8999
051f2775
AS
90002013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9001
9002 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9003
f24e7572
GM
90042013-07-12 Eli Zaretskii <eliz@gnu.org>
9005
9006 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9007 (Bug#14842)
9008
539a920c
GM
90092013-07-12 Glenn Morris <rgm@gnu.org>
9010
9011 * doc-view.el: Require cl-lib at runtime too.
9012 (doc-view-remove-if): Remove.
9013 (doc-view-search-next-match, doc-view-search-previous-match):
9014 Use cl-remove-if.
9015
9016 * edmacro.el: Require cl-lib at runtime too.
9017 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9018 (edmacro-mismatch, edmacro-subseq): Remove.
9019
9020 * shadowfile.el: Require cl-lib.
9021 (shadow-remove-if): Remove.
9022 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9023 Use cl-remove-if.
9024
9025 * wid-edit.el: Require cl-lib.
9026 (widget-choose): Use cl-remove-if.
9027 (widget-remove-if): Remove.
9028
9029 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9030 (ebrowse-delete-if-not): Remove.
9031 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9032 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9033 Use cl-delete-if-not.
9034
1048af7c
JB
90352013-07-12 Juanma Barranquero <lekktu@gmail.com>
9036
9037 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9038 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9039
6c0674ee
LL
90402013-07-12 Leo Liu <sdl.web@gmail.com>
9041
9042 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9043
a19b3c2d
GM
90442013-07-11 Glenn Morris <rgm@gnu.org>
9045
4582a01c
GM
9046 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9047 (edebug-gensym-index, edebug-gensym):
9048 Remove reimplementation of cl-gensym.
9049 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9050
9051 * thumbs.el: Require cl-lib at run-time too.
9052 (thumbs-gensym-counter, thumbs-gensym):
9053 Remove reimplementation of cl-gensym.
9054 (thumbs-temp-file): Use cl-gensym.
9055
a19b3c2d
GM
9056 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9057 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9058 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9059 (ert--union, ert--gensym-counter, ert--gensym-counter)
9060 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9061 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9062 (ert-make-test-unbound, ert--expand-should-1)
9063 (ert--expand-should, ert--should-error-handle-error)
9064 (should-error, ert--explain-equal-rec)
9065 (ert--plist-difference-explanation, ert-select-tests)
9066 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9067 Use cl-lib functions rather than reimplementations.
9068
88f6a933
MA
90692013-07-11 Michael Albinus <michael.albinus@gmx.de>
9070
9071 * net/tramp.el (tramp-methods): Extend docstring.
9072 (tramp-connection-timeout): New defcustom.
9073 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9074 (with-tramp-progress-reporter): Simplify.
9075 (tramp-process-actions): Improve messages.
9076
9077 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9078 * net/tramp-sh.el (tramp-maybe-open-connection):
9079 Use `tramp-connection-timeout'.
afe1e4c8 9080 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9081 (Bug#14808)
9082
a43d577e
LL
90832013-07-11 Leo Liu <sdl.web@gmail.com>
9084
9085 * ido.el (ido-read-file-name): Conform to the requirements of
9086 read-file-name. (Bug#11861)
9087 (ido-read-directory-name): Conform to the requirements of
9088 read-directory-name.
9089
d77974bf
JB
90902013-07-11 Juanma Barranquero <lekktu@gmail.com>
9091
9092 * subr.el (delay-warning): New function.
9093
35cb8a3e
EZ
90942013-07-10 Eli Zaretskii <eliz@gnu.org>
9095
9096 * simple.el (default-line-height): New function.
9097 (line-move-partial, line-move): Use it instead of computing the
9098 line height inline.
9099 (line-move-partial): Always compute ROWH. If the last line is
9100 partially-visible, but its text is completely visible, allow
9101 cursor to enter such a partially-visible line.
9102
525c5c77
MA
91032013-07-10 Michael Albinus <michael.albinus@gmx.de>
9104
9105 Improve error messages. (Bug#14808)
9106
9107 * net/tramp.el (tramp-current-connection): New defvar, moved from
9108 tramp-sh.el.
0ac26976 9109 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9110 needed anymore.
0ac26976
SM
9111 (tramp-error-with-buffer): Show message in minibuffer.
9112 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9113 (with-tramp-progress-reporter): Improve messages.
9114 (tramp-process-actions): Use progress reporter. Delete process in
9115 case of error. Improve messages.
9116
763a086d
JB
9117 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9118 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9119 (tramp-current-connection): Remove.
525c5c77
MA
9120 (tramp-maybe-open-connection): The car of
9121 `tramp-current-connection' are the first 3 slots of the vector.
9122
c7a4d368
TZ
91232013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9124
9125 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9126 inside continued strings.
9127
954b166e
PE
91282013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9129
9130 Timestamp fixes for undo (Bug#14824).
9131 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9132
56973319
LL
91332013-07-10 Leo Liu <sdl.web@gmail.com>
9134
9135 * files.el (require-final-newline): Allow safe local value.
9136 (Bug#14834)
9137
5550a72c
LL
91382013-07-09 Leo Liu <sdl.web@gmail.com>
9139
9140 * ido.el (ido-read-directory-name): Handle fallback.
9141 (ido-read-file-name): Update DIR to ido-current-directory.
9142 (Bug#1516)
c28b9050 9143 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9144
70c46b28
DG
91452013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9146
9147 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9148 "autoload". Remove "warn lower camel case" section, previously
9149 commented out. Highlight negation char. Do not highlight the
9150 target in singleton method definitions.
9151
0b64b838
SM
91522013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9153
7fd72e2c
SM
9154 * faces.el (tty-setup-hook): Declare the hook.
9155
0b64b838
SM
9156 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9157 and detect when a guard/pred depends on local vars (bug#14773).
9158 (pcase--u1): Adjust caller.
9159
ab49d60b
EZ
91602013-07-08 Eli Zaretskii <eliz@gnu.org>
9161
9162 * simple.el (line-move-partial, line-move): Account for
9163 line-spacing.
701d79aa
EZ
9164 (line-move-partial): Avoid setting vscroll when the last
9165 partially-visible line in window is of default height.
ab49d60b 9166
2d756ae0
LMI
91672013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9168
9169 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9170 been used a while.
9171
ed095bd7
JB
91722013-07-07 Juanma Barranquero <lekktu@gmail.com>
9173
9174 * subr.el (read-quoted-char): Remove unused local variable `char'.
9175
f1e6674b
MK
91762013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9177
584ee3fc
GM
9178 * ediff.el (ediff-version): Version update.
9179 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9180 (ediff-merge-with-ancestor-command, ediff-directories-command)
9181 (ediff-directories3-command, ediff-merge-directories-command)
9182 (ediff-merge-directories-with-ancestor-command): New functions.
9183 All are command-line interfaces to ediff: to facilitate calling
9184 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9185
9186 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9187 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9188
584ee3fc
GM
9189 * viper.el (viper-version): Version update.
9190 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9191
584ee3fc
GM
91922013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9195 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9196 (viper-intercept-ESC-key): Simplify.
9197 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9198 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9199 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9200 (viper-setup-ESC-to-escape): New functions.
9201 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9202 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9203
9aff9b38
EZ
92042013-07-07 Eli Zaretskii <eliz@gnu.org>
9205
5165d44a
JB
9206 * simple.el (default-font-height, window-screen-lines):
9207 New functions.
9aff9b38
EZ
9208 (line-move, line-move-partial): Use them instead of
9209 frame-char-height and window-text-height. This makes scrolling
9210 text smoother when the buffer's default face uses a font that is
9211 different from the frame's default font.
9212
1afb1d07
JD
92132013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9214
9215 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9216 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9217
23de972a
EZ
92182013-07-06 Eli Zaretskii <eliz@gnu.org>
9219
9220 * simple.el (line-move-partial): Adjust the row returned by
9221 posn-at-point for the current window-vscroll. (Bug#14567)
9222
54a42486
MA
92232013-07-06 Michael Albinus <michael.albinus@gmx.de>
9224
35e951cd 9225 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9226 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9227 spaces.
9228
34ada5f4
MR
92292013-07-06 Martin Rudalics <rudalics@gmx.at>
9230
9231 * window.el (window-state-put-stale-windows): New variable.
9232 (window--state-put-2): Save list of windows without matching buffer.
9233 (window-state-put): Remove "bufferless" windows if possible.
9234
11e03d89
JB
92352013-07-06 Juanma Barranquero <lekktu@gmail.com>
9236
9237 * simple.el (alternatives-define): Remove leftover :group keyword.
9238 Tweak docstring.
9239
3504a4be
LL
92402013-07-06 Leo Liu <sdl.web@gmail.com>
9241
9242 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9243 (ido-enable-virtual-buffers): New variable.
9244 (ido-buffer-internal, ido-toggle-virtual-buffers)
9245 (ido-make-buffer-list): Use it.
9246 (ido-exhibit): Support turning on and off virtual buffers
9247 automatically.
9248
61e56e2c
JB
92492013-07-06 Juanma Barranquero <lekktu@gmail.com>
9250
9251 * simple.el (alternatives-define): New macro.
9252
321e1a9c
SM
92532013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9255 * subr.el (read-quoted-char): Use read-key.
9256 (sit-for): Let read-event decode tty input (bug#14782).
9257
d610f6dd
SB
92582013-07-05 Stephen Berman <stephen.berman@gmx.net>
9259
9260 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9261 mode command and externally. Fix various related bugs.
9262 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9263 (todo-delete-file): New command.
9264 (todo-check-file): New function.
9265 (todo-show): Handle external deletion of the file we're trying to
9266 show (bug#14688). Replace called-interactively-p by an optional
9267 prefix argument to avoid problematic interaction with catch form
9268 when byte compiled (bug#14702).
9269 (todo-quit): Handle external deletion of the archive's todo file.
9270 Make sure the buffer that was visiting the archive file is still
9271 live before trying to bury it.
9272 (todo-category-completions): Handle external deletion of any
9273 category completion files.
9274 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9275 of todo files, in case of external deletion.
9276 (todo-add-file): Replace unnecessary setq by let-binding.
9277 (todo-find-archive): Check whether there are any archives.
9278 Replace unnecessary setq by let-binding.
9279 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9280 archive buffer whether or not the archive already exists.
9281 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9282 check if the archive is new; if it is, update list of archives.
9283 (todo-default-todo-file): Allow nil to be a valid value for when
9284 there are no todo files.
9285 (todo-reevaluate-default-file-defcustom): Use corrected definition
9286 of todo-default-todo-file.
9287 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9288 (todo-delete-category, todo-show-categories-table)
9289 (todo-category-number): Clarify comment.
9290 (todo-filter-items): Clarify documentation string.
9291 (todo-show-current-file, todo-display-as-todo-file)
9292 (todo-reset-and-enable-done-separator): Tweak documentation string.
9293 (todo-done-separator): Make separator length window-width, since
9294 bug#2749 is now fixed.
9295
ddbdfd6f
MA
92962013-07-05 Michael Albinus <michael.albinus@gmx.de>
9297
321e1a9c
SM
9298 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9299 Support both "gvfs-monitor-dir" and "inotifywait".
9300 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9301 `tramp-sh-file-notify-process-filter'.
9302 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9303 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9304
96eb829a
LL
93052013-07-05 Leo Liu <sdl.web@gmail.com>
9306
9307 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9308
cf13177e
YM
93092013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9310
9311 * frame.el (display-pixel-height, display-pixel-width)
9312 (display-mm-height, display-mm-width): Mention behavior on
9313 multi-monitor setups in docstrings.
9314 (w32-display-monitor-attributes-list): Declare function.
9315 (display-monitor-attributes-list): Use it.
9316
864c58ca
MA
93172013-07-04 Michael Albinus <michael.albinus@gmx.de>
9318
9319 * filenotify.el: New package.
9320
9321 * autorevert.el (top): Require filenotify.el.
9322 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9323 instead.
9324 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9325 (auto-revert-notify-handler): Use `file-notify-*' functions.
9326
9327 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9328
321e1a9c
SM
9329 * net/tramp.el (tramp-file-name-for-operation):
9330 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9331
9332 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9333 for `file-notify-add-watch' and `file-notify-rm-watch'.
9334 (tramp-process-sentinel): Improve trace.
9335 (tramp-sh-handle-file-notify-add-watch)
9336 (tramp-sh-file-notify-process-filter)
9337 (tramp-sh-handle-file-notify-rm-watch)
9338 (tramp-get-remote-inotifywait): New defuns.
9339
96673afe
JL
93402013-07-03 Juri Linkov <juri@jurta.org>
9341
9342 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9343 call of `occur-read-primary-args' to interactive spec.
9344
9345 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9346 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9347
924494f4
MM
93482013-07-03 Matthias Meulien <orontee@gmail.com>
9349
9350 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9351 `Buffer-menu-multi-occur'. Add it to the menu.
9352 (Buffer-menu-mode): Document it in docstring.
9353 (Buffer-menu-multi-occur): New command. (Bug#14673)
9354
56f75efc
DG
93552013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9356
9357 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9358 keywords and built-ins.
9359
9b057d61
GM
93602013-07-03 Glenn Morris <rgm@gnu.org>
9361
208dee4d
GM
9362 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9363
9b057d61
GM
9364 Make info-xref checks case-sensitive by default
9365 * info.el (Info-find-node, Info-find-in-tag-table)
9366 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9367 Add option for exact case matching of nodes.
9368 * info-xref.el (info-xref): New custom group.
9369 (info-xref-case-fold): New option.
9370 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9371
e01aa29c
LL
93722013-07-03 Leo Liu <sdl.web@gmail.com>
9373
9374 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9375
3086ca2e
DG
93762013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9377
9378 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9379 middle of block statement initially, lower the depth. Remove
9380 FIXME comment, not longer valid. Remove middle of block statement
9381 detection, no need to do that anymore since we've been using
9382 `ruby-parse-region' here.
9383
a3b49114
JD
93842013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9385
9386 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9387
08e5c823 93882013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9389
9390 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9391
2addf922
JB
93922013-07-01 Juanma Barranquero <lekktu@gmail.com>
9393
9394 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9395 (desktop-restore-in-current-display): New customization option.
9396 (desktop--excluded-frame-parameters): Add `font'.
9397 (desktop--save-frames): Rename from desktop--save-windows.
9398 (desktop--restore-in-this-display-p): New function.
9399 (desktop--make-full-frame): Remove unwanted width/height from
9400 full(width|height) frames.
9401 (desktop--restore-frames): Rename from desktop--restore-windows.
9402 Obey desktop-restore-current-display. Do not delete old frames or
9403 select a new frame unless we were able to restore at least one frame.
9404
ef099a94
MN
94052013-06-30 Michal Nazarewicz <mina86@mina86.com>
9406
9407 * files.el (find-file-noselect): Simplify conditional expression.
9408
a12bf61e 9409 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9410 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9411
9412 Add `remember-notes' function to store random notes across Emacs
9413 restarts.
3fcfc4ee
JB
9414 * textmodes/remember.el (remember-data-file): Add :set callback to
9415 affect notes buffer (if any).
ef099a94
MN
9416 (remember-notes): New command.
9417 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9418 New defcustoms for the `remember-notes' function.
9419 (remember-notes-save-and-bury-buffer): New command.
9420 (remember-notes-mode-map): New variable.
9421 (remember-mode): New minor mode.
9422 (remember-notes--kill-buffer-query): New function.
9423 * startup.el (initial-buffer-choice): Add notes to custom type.
9424
0865d506
EZ
94252013-06-30 Eli Zaretskii <eliz@gnu.org>
9426
0ba54312
EZ
9427 * bindings.el (right-char, left-char): Don't call sit-for, this is
9428 no longer needed. Use arithmetic comparison only for numerical
9429 arguments.
9430
ef099a94
MN
9431 * international/mule-cmds.el (select-safe-coding-system):
9432 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9433
2fae38e5
LMI
94342013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9435
9436 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9437 progression on degenerate tables.
ef099a94 9438 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9439
a47cbd64
JB
94402013-06-30 Juanma Barranquero <lekktu@gmail.com>
9441
9442 Some fixes and improvements for desktop frame restoration.
9443 It is still experimental and disabled by default.
9444 * desktop.el (desktop--save-windows): Put the selected frame at
9445 the head of the list.
9446 (desktop--make-full-frame): New function.
9447 (desktop--restore-windows): Try to re-select the frame that was
9448 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9449 just show an error message and continue. Set up maximized frames
9450 so they have default non-maximized dimensions.
a47cbd64 9451
6dbafa30
DG
94522013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9453
ef099a94
MN
9454 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9455 Don't start heredoc inside a string or comment.
6dbafa30 9456
4c672a0f
EZ
94572013-06-29 Eli Zaretskii <eliz@gnu.org>
9458
9459 * bindings.el (visual-order-cursor-movement): New defcustom.
9460 (right-char, left-char): Provide visual-order cursor motion by
9461 calling move-point-visually. Update the doc strings.
9462
50960f36
KH
94632013-06-28 Kenichi Handa <handa@gnu.org>
9464
9465 * international/mule.el (define-coding-system): New coding system
9466 properties :inhibit-null-byte-detection,
9467 :inhibit-iso-escape-detection, and :prefer-utf-8.
9468 (set-buffer-file-coding-system): If :charset-list property of
9469 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9470 appropriate for setting.
9471
c1ea3abf
JB
9472 * international/mule-cmds.el (select-safe-coding-system):
9473 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9474 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9475
9476 * international/mule-conf.el (prefer-utf-8): New coding system.
9477 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9478 files.
9479
75dbaf9d
IK
94802013-06-28 Ivan Kanis <ivan@kanis.fr>
9481
eadb6068
IK
9482 * net/shr.el (shr-render-region): New function.
9483
75dbaf9d
IK
9484 * net/eww.el: Autoload `eww-browse-url'.
9485
9ea5cf9f
DG
94862013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9487
c1ea3abf
JB
9488 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9489 Adapt to `package-desc-version' being a list.
9490 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9491 archive element.
9492
39c0e36f
JB
94932013-06-27 Juanma Barranquero <lekktu@gmail.com>
9494
9495 New experimental feature to save&restore window and frame setup.
9496 * desktop.el (desktop-save-windows): New defcustom.
9497 (desktop--saved-states): New var.
9498 (desktop--excluded-frame-parameters): New defconst.
9499 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9500 (desktop--restore-windows, desktop--save-windows): New functions.
9501 (desktop-save): Call `desktop--save-windows'.
9502 (desktop-read): Call `desktop--restore-windows'.
9503
7f13406b
LMI
95042013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9505
ef099a94 9506 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9507
1e072639
SB
95082013-06-27 Stephen Berman <stephen.berman@gmx.net>
9509
9510 * info.el (Info-try-follow-nearest-node): Move search for footnote
9511 above search for node name to prevent missing a footnote (bug#14717).
9512
f3e2cbde
SB
95132013-06-27 Stephen Berman <stephen.berman@gmx.net>
9514
9515 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9516
99906aa0
LL
95172013-06-27 Leo Liu <sdl.web@gmail.com>
9518
9519 * net/eww.el (eww-read-bookmarks): Check file size.
9520
539f75f4
SM
95212013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9524 advice--pending if newdef is nil or an autoload (bug#13820).
9525 (advice-mapc): New function.
9526
843571cb
LMI
95272013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9528
9529 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9530 probably.
23a75d7f 9531 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9532 (eww-add-bookmark): New command.
9533 (eww-bookmark-mode): New mode and commands.
a285ce99 9534 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9535 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9536
f2136e1e
GM
95372013-06-26 Glenn Morris <rgm@gnu.org>
9538
eab35f39
GM
9539 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9540 (hfy-size): Handle ttys. (Bug#14668)
9541
f2136e1e
GM
9542 * info-xref.el: Update for Texinfo 5 change in *note format.
9543 (info-xref-node-re, info-xref-note-re): New constants.
9544 (info-xref-check-buffer): Use info-xref-note-re.
9545
a49ff80c
SM
95462013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9547
a343d218
SM
9548 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9549
a49ff80c
SM
9550 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9551 nil terminate the loop (bug#14718).
9552
8308f184
LMI
95532013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9554
9555 * net/eww.el: Rework history traversal. When going forward/back,
9556 put these actions into the history, too, so that they can be
9557 replayed.
26bf2b82 9558 (eww-render): Move the history reset to the correct buffer.
8308f184 9559
ec64c273
JL
95602013-06-25 Juri Linkov <juri@jurta.org>
9561
9562 * files-x.el (modify-dir-local-variable): Change the header comment
9563 in the file with directory local variables. (Bug#14692)
9564
e080a9d7
JL
9565 * files-x.el (read-file-local-variable-value): Add `default'.
9566 (Bug#14710)
9567
bfbc93a1
IK
95682013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9569
9570 * net/eww.el (eww-make-unique-file-name): Create a unique file
9571 name before saving to entering `y' accidentally asynchronously.
9572
95732013-06-25 Ivan Kanis <ivan@kanis.fr>
9574
9575 * net/eww.el (eww-download): New command and keystroke.
9576
16f74f10
LMI
95772013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9578
a49ff80c 9579 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9580
9581 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9582 be more consistent with Info and dired.
9583
9584 * net/eww.el (eww-mode-map): Ditto.
9585
12059709
SM
95862013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9589 packages from archives.
9590 (package-archive-contents): Change format; include obsolete packages.
9591 (package-desc): Use `dir' to mark builtin packages.
9592 (package--from-builtin): Set the `dir' field to `builtin'.
9593 (generated-autoload-file, version-control): Declare.
9594 (package-compute-transaction): Change first arg and return value to be
9595 lists of package-descs. Adjust to new package-archive-contents format.
9596 (package--add-to-archive-contents): Adjust to new
9597 package-archive-contents format.
9598 (package-download-transaction): Arg is now a list of package-descs.
9599 (package-install): If `pkg' is a package name, pass it as
9600 a requirement, so it is subject to the usual (e.g. disabled) checks.
9601 (describe-package): Accept package-desc as well.
9602 (describe-package-1): Describe a specific package-desc. Add links to
9603 other package-descs for the same package name.
9604 (package-menu-describe-package): Pass the actual package-desc.
9605 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9606 works correctly.
9607 (package-desc-status): New function.
9608 (package-menu--refresh): New function, extracted
9609 from package-menu--generate.
9610 (package-menu--generate): Use it.
9611 (package-delete): Update package-alist.
9612 (package-menu-execute): Don't call package-initialize.
9613
9614 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9615 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9616 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9617 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9618 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9619 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9620
8bbdea0f
MR
96212013-06-25 Martin Rudalics <rudalics@gmx.at>
9622
9623 * window.el (window--state-get-1): Workaround for bug#14527.
9624 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9625
e82b0991
LMI
96262013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9627
9628 * net/eww.el (eww-back-url): Implement the history by stashing all
9629 the data into a list.
d3f0f918 9630 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9631
c763842b
SM
96322013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9635 for values and use read--expression for expressions (bug#14710).
9636 (read-file-local-variable): Avoid setq.
9637 (read-file-local-variable-mode): Use minor-mode-list.
9638
bceff189
RW
96392013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9640
864c58ca 9641 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9642 for DOI URLs.
9643
45f431c6
RW
96442013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9645
864c58ca 9646 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9647 Update imenu-support when dialect changes.
9648
f42d8237
LL
96492013-06-25 Leo Liu <sdl.web@gmail.com>
9650
9651 * ido.el (ido-read-internal): Allow forward slash on windows.
9652
be549ce6
LMI
96532013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9654
9655 * net/eww.el (eww): Start of strings is \\`, not ^.
9656
71d4c19d
IK
96572013-06-24 Ivan Kanis <ivan@kanis.fr>
9658
5196f88a
IK
9659 * net/shr.el (shr-browse-url): Fix interactive spec.
9660
71d4c19d
IK
9661 * net/eww.el (eww): Add a trailing slash to domain names.
9662
ae36ca55
JB
96632013-06-24 Juanma Barranquero <lekktu@gmail.com>
9664
9665 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9666
0ebd92a3
LMI
96672013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9668
bdaa086b
LMI
9669 * net/shr.el (shr-browse-url): Use an external browser if given a
9670 prefix.
9671
c763842b 9672 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9673
b89fc156
IK
96742013-06-24 Ivan Kanis <ivan@kanis.fr>
9675
9676 * net/eww.el (eww): Work more correctly for file: URLs.
9677 (eww-detect-charset): Allow quoted charsets.
9678 (eww-yank-page-url): New command and keystroke.
9679
18eb4bca
DU
96802013-06-24 Daiki Ueno <ueno@gnu.org>
9681
9682 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9683 file name of gpg executable.
9684 (epg-context-program): New function.
9685 (epg-context-home-directory): New function.
9686 (epg-context-set-program): New function.
9687 (epg-context-set-home-directory): New function.
9688 (epg--start): Use `epg-context-program' instead of
9689 'epg-gpg-program'.
9690 (epg--list-keys-1): Likewise.
9691
6c6268c8
LL
96922013-06-24 Leo Liu <sdl.web@gmail.com>
9693
9694 * ido.el (ido-read-internal): Fix bug#14620.
9695
5e400cb3
JB
96962013-06-23 Juanma Barranquero <lekktu@gmail.com>
9697
9698 * faces.el (face-documentation): Simplify.
9699 (read-face-attribute, tty-find-type, x-resolve-font-name):
9700 Use `string-match-p'.
9701 (list-faces-display): Use `string-match-p'. Simplify.
9702 (face-spec-recalc): Check face to avoid face alias loops.
9703 (read-color): Use `string-match-p' and non-capturing parenthesis.
9704
f3f9606c
LMI
97052013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9706
9707 * net/shr.el (shr-rescale-image): Use the new
9708 :max-width/:max-height functionality.
9709
a3ca09b9
IK
97102013-06-23 Ivan Kanis <ivan@kanis.fr>
9711
9712 * net/eww.el (eww-search-prefix): New variable.
9713 (eww): Use it.
f865b474
IK
9714 (eww-external-browser): New variable.
9715 (eww-mode-map): New keystroke.
9716 (eww-browse-with-external-browser): New command.
a3ca09b9 9717
e854cfc7
IK
9718 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9719
18bb9e21
JB
97202013-06-23 Juanma Barranquero <lekktu@gmail.com>
9721
9722 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9723 Don't skip aligning the next header field when padding is 0;
9724 otherwise, field width is not respected unless the title is as
9725 wide as the field.
9726
5b165ade
SM
97272013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * emacs-lisp/package.el (package-el-version): Remove.
9730 (package-process-define-package): Fix inf-loop.
9731 (package-install): Allow symbols as arguments again.
9732
12adebe9
DG
97332013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9734
9735 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9736 add some more keyword-like methods.
9737 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9738
388573ee
JB
97392013-06-22 Juanma Barranquero <lekktu@gmail.com>
9740
9741 * bs.el (bs-buffer-show-mark): Make defvar-local.
9742 (bs-mode): Use setq-local.
9743
9744 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9745 (emacs-lock--try-unlocking): Make defvar-local.
9746
4582a01c 97472013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9748
2663dd23
GM
9749 * play/cookie1.el (cookie-apropos): Minor simplification.
9750
3d94f3ad
GM
9751 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9752
f72e2fdb
DG
97532013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9754
9755 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9756 `regexp-opt', it breaks the build during dumping.
9757
73eab938
DG
97582013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9759
c763842b
SM
9760 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9761 Highlight keyword-like methods on Kernel and Module with
73eab938 9762 font-lock-builtin-face.
5cf8176d
DG
9763 (auto-mode-alist): Consolidate different entries into one regexp
9764 and add more *file-s.
73eab938 9765
d26255f6
SB
97662013-06-21 Stephen Berman <stephen.berman@gmx.net>
9767
9768 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9769
9770 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9771 (diary-entry): Use it in the action of this button type instead of
9772 diary-goto-entry.
9773
9774 * calendar/todo-mode.el: New version.
9775 (todo-add-category): Append new category to end of file and give
9776 it the highest number, instead of putting it at the beginning and
9777 giving it 0. Incorporate noninteractive functionality.
9778 (todo-forward-category): Adapt to 1-based category numbering.
9779 Allow skipping over archived categories.
9780 (todo-backward-category): Derive from todo-forward-category.
9781 (todo-backward-item, todo-forward-item): Make noninteractive and
9782 delegate interactive part to new commands. Make sensitive to done items.
9783 (todo-categories): Make value an alist of category names and
9784 vectors of item counts.
9785 (todo-category-beg): Make a defconst.
9786 (todo-category-number): Use 1 instead of 0 as initial value.
9787 (todo-category-select): Make sensitive to overlays, optional item
9788 highlighting and done items.
9789 (todo-delete-item): Make sensitive to overlays and marked and done items.
9790 (todo-edit-item): Make sensitive to overlays and editing of
9791 date/time header optional. Add format checks.
9792 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9793 no-op if point is not on an item. Advertise using todo-edit-quit.
9794 (todo-edit-mode): Make sensitive to new format, font-locking, and
9795 multiple todo files.
9796 (todo-insert-item, todo-insert-item-here): Derive from
9797 todo-basic-insert-item and extend functionality.
9798 (todo-item-end, todo-item-start): Make sensitive to done items.
9799 (todo-item-string): Don't return text properties. Restore point.
9800 (todo-jump-to-category): Make sensitive to multiple todo files and
9801 todo archives. Use extended category completion.
9802 (todo-lower-item, todo-raise-item): Rename to *-priority and
9803 derive from todo-set-item-priority.
9804 (todo-mode): Derive from special-mode. Make sensitive to new
9805 format, font-locking and multiple todo files. Make read-only.
9806 (todo-mode-map): Don't suppress digit keys, so they can supply
9807 prefix arguments. Add many new key bindings.
9808 (todo-prefix): Insert as an overlay instead of file text.
9809 Change semantics from diary date expression to purely visual mark.
9810 (todo-print): Rename to todo-print-buffer. Make buffer display
9811 features printable. Remove option to restrict number of items
9812 printed. Add option to print to file.
9813 (todo-print-function): Rename to todo-print-buffer-function.
9814 (todo-quit): Extend to handle exiting new todo modes.
9815 (todo-remove-item): Make sensitive to overlays.
9816 (todo-save): Extend to buffers of filtered items.
9817 (todo-show): Make sensitive to done items, multiple todo files and
9818 new todo modes. Offer to convert legacy todo file before creating
9819 first new todo file.
9820 (todo-show-priorities): Rename to todo-top-priorities.
9821 Change semantics of value 0.
9822 (todo-top-priorities): Rename to todo-filter-top-priorities,
9823 derive from todo-filter-items and extend functionality.
9824 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9825 and extend functionality to other types of filtered items.
9826 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9827 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9828 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9829 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9830 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9831 (todo-edit-mode-hook, todo-entry-prefix-function)
9832 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9833 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9834 (todo-initials, todo-insert-threshold, todo-item-string-start)
9835 (todo-line-string, todo-menu, todo-mode-hook)
9836 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9837 (todo-print-priorities, todo-remove-separator)
9838 (todo-save-top-priorities-too, todo-string-count-lines)
9839 (todo-string-multiline-p, todo-time-string-format)
9840 (todo-tmp-buffer-name): Remove.
9841 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9842 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9843 (todo-edit-category-diary-inclusion)
9844 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9845 (todo-edit-file, todo-edit-item-date-day)
9846 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9847 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9848 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9849 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9850 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9851 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9852 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9853 (todo-filter-top-priorities-multifile, todo-find-archive)
9854 (todo-find-filtered-items-file, todo-go-to-source-item)
9855 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9856 (todo-jump-to-archive-category, todo-lower-category)
9857 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9858 (todo-move-category, todo-move-item, todo-next-button)
9859 (todo-next-item, todo-padded-string, todo-powerset)
9860 (todo-previous-button, todo-previous-item)
9861 (todo-print-buffer-to-file, todo-raise-category)
9862 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9863 (todo-set-category-number, todo-set-item-priority)
9864 (todo-set-top-priorities-in-category)
9865 (todo-set-top-priorities-in-file, todo-show-categories-table)
9866 (todo-sort-categories-alphabetically-or-numerically)
9867 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9868 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9869 (todo-toggle-item-header, todo-toggle-item-highlighting)
9870 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9871 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9872 (todo-unarchive-items, todo-unmark-category): New commands.
9873 (todo-absolute-file-name, todo-add-to-buffer-list)
9874 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9875 (todo-basic-insert-item, todo-category-completions)
9876 (todo-category-number, todo-category-string-matcher-1)
9877 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9878 (todo-check-format, todo-clear-matches)
9879 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9880 (todo-current-category, todo-date-string-matcher)
9881 (todo-define-insertion-command, todo-diary-expired-matcher)
9882 (todo-diary-goto-entry, todo-diary-item-p)
9883 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9884 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9885 (todo-done-item-section-p, todo-done-separator)
9886 (todo-done-string-matcher, todo-files, todo-filter-items)
9887 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9888 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9889 (todo-insert-category-line, todo-insert-item-from-calendar)
9890 (todo-insert-sort-button, todo-insert-with-overlays)
9891 (todo-insertion-command-name, todo-insertion-key-bindings)
9892 (todo-label-to-key, todo-longest-category-name-length)
9893 (todo-make-categories-list, todo-mode-external-set)
9894 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9895 (todo-modes-set-3, todo-multiple-filter-files)
9896 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9897 (todo-read-category, todo-read-date, todo-read-dayname)
9898 (todo-read-file-name, todo-read-time)
9899 (todo-reevaluate-category-completions-files-defcustom)
9900 (todo-reevaluate-default-file-defcustom)
9901 (todo-reevaluate-filelist-defcustoms)
9902 (todo-reevaluate-filter-files-defcustom)
9903 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9904 (todo-reset-done-separator, todo-reset-done-separator-string)
9905 (todo-reset-done-string, todo-reset-global-current-todo-file)
9906 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9907 (todo-reset-prefix, todo-set-categories)
9908 (todo-set-date-from-calendar, todo-set-show-current-file)
9909 (todo-set-top-priorities, todo-short-file-name)
9910 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9911 (todo-total-item-counts, todo-update-buffer-list)
9912 (todo-update-categories-display, todo-update-categories-sexp)
9913 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9914 New functions.
9915 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9916 New major modes.
9917 (todo-categories, todo-display, todo-edit, todo-faces)
9918 (todo-filtered): New defgroups.
9919 (todo-archived-only, todo-button, todo-category-string, todo-date)
9920 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9921 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9922 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9923 (todo-add-item-if-new-category, todo-always-add-time-string)
9924 (todo-categories-align, todo-categories-archived-label)
9925 (todo-categories-category-label, todo-categories-diary-label)
9926 (todo-categories-done-label, todo-categories-number-separator)
9927 (todo-categories-todo-label, todo-categories-totals-label)
9928 (todo-category-completions-files, todo-completion-ignore-case)
9929 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9930 (todo-done-separator-string, todo-done-string)
9931 (todo-files-function, todo-filter-done-items, todo-filter-files)
9932 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9933 (todo-initial-category, todo-initial-file, todo-item-mark)
9934 (todo-legacy-date-time-regexp, todo-mode-line-function)
9935 (todo-nondiary-marker, todo-number-prefix)
9936 (todo-print-buffer-function, todo-show-current-file)
9937 (todo-show-done-only, todo-show-first, todo-show-with-done)
9938 (todo-skip-archived-categories, todo-top-priorities-overrides)
9939 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9940 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9941 New defcustoms.
9942 (todo-category-done, todo-date-pattern, todo-date-string-start)
9943 (todo-diary-items-buffer, todo-done-string-start)
9944 (todo-filtered-items-buffer, todo-item-start)
9945 (todo-month-abbrev-array, todo-month-name-array)
9946 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9947 (todo-top-priorities-buffer): New defconsts.
9948 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9949 (todo-categories-with-marks, todo-category-string-face)
9950 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9951 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9952 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9953 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9954 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9955 (todo-font-lock-keywords, todo-global-current-todo-file)
9956 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9957 (todo-insertion-commands-args)
9958 (todo-insertion-commands-args-genlist)
9959 (todo-insertion-commands-names, todo-insertion-map)
9960 (todo-key-bindings-t, todo-key-bindings-t+a)
9961 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9962 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9963 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9964 (todo-visited): New variables.
9965
cad5d1cb
GM
99662013-06-21 Glenn Morris <rgm@gnu.org>
9967
9968 * play/cookie1.el (cookie-apropos): Add optional display argument.
9969 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9970 (psychoanalyze-pinhead): Use cookie-doctor.
9971
9e277302
JB
99722013-06-21 Juanma Barranquero <lekktu@gmail.com>
9973
9974 * emacs-lisp/package.el (tar-get-file-descriptor)
9975 (tar--extract): Declare.
9976
c5b0993e
EW
99772013-06-21 Eduard Wiebe <usenet@pusto.de>
9978
9979 Extend flymake's warning predicate to be a function (bug#14217).
9980 * progmodes/flymake.el (flymake-warning-predicate): New.
9981 (flymake-parse-line): Use it.
9982 (flymake-warning-re): Make obsolete alias to
9983 `flymake-warning-predicate'.
9984
a7d2d465
SM
99852013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9988 (package-obsolete-list): Remove.
9989 (package-activate): Remove min-version argument. Add `force' argument.
9990 Adjust to new package-alist format.
9991 (package-mark-obsolete): Remove.
9992 (package-unpack): Force reload of the package's autoloads.
9993 (package-installed-p): Check builtins if the installed package is not
9994 recent enough.
9995 (package-initialize): Don't reset package-obsolete-list.
9996 Don't specify which package version to activate.
9997 (package-process-define-package, describe-package-1)
9998 (package-menu--generate): Adjust to new package-alist format.
9999
cedf5c9d
JB
100002013-06-21 Juanma Barranquero <lekktu@gmail.com>
10001
10002 * allout-widgets.el (allout-widgets-mode-off)
10003 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10004 (allout-widgets-post-command-business)
10005 (allout-widgets-after-copy-or-kill-function)
10006 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10007 (allout-decorate-item-and-context)
10008 (allout-graphics-modification-handler): Fix typos in docstrings.
10009 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10010
10011 * cmuscheme.el (scheme-start-file): Doc fix.
10012 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10013 (scheme-input-filter): Use `string-match-p'.
10014
10015 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10016
10017 * dired-x.el: Use Dired consistently in docstrings.
10018
10019 * dired.el: Use Dired consistently in docstrings.
10020 (dired-readin, dired-mode): Use `setq-local'.
10021 (dired-switches-alist): Make defvar-local.
10022 (dired-buffers-for-dir): Use `zerop'.
10023 (dired-safe-switches-p, dired-switches-escape-p)
10024 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10025 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10026 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10027 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10028 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10029 (dired-toggle-marks, dired-mark-files-containing-regexp)
10030 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10031 (dired-flag-auto-save-files, dired-flag-backup-files):
10032 Use `looking-at-p'.
10033 (dired-mark-files-regexp, dired-build-subdir-alist):
10034 Use `string-match-p', `looking-at-p'.
10035
10036 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10037 (direct-print-region-helper): Use `string-match-p'.
10038
aed838b5
LL
100392013-06-21 Leo Liu <sdl.web@gmail.com>
10040
cedf5c9d
JB
10041 * comint.el (comint-redirect-results-list-from-process):
10042 Fix infinite loop.
aed838b5 10043
d80a808f
LMI
100442013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10045
10046 * net/eww.el (eww-update-header-line-format): Quote % characters.
10047
e7a526e3
GM
100482013-06-21 Glenn Morris <rgm@gnu.org>
10049
10050 * play/cookie1.el (cookie): New custom group.
10051 (cookie-file): New option.
10052 (cookie-check-file): New function.
10053 (cookie): Make it interactive. Make start and end messages optional.
10054 Interactively, display the result. Default to cookie-file.
10055 (cookie-insert): Default to cookie-file.
10056 (cookie-snarf): Make start and end messages optional.
10057 Default to cookie-file. Use with-temp-buffer.
10058 (cookie-read): Rename from read-cookie.
10059 Make start and end messages optional. Default to cookie-file.
10060 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10061 Do not autoload it.
e7a526e3
GM
10062 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10063 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10064
62efb35e
LL
100652013-06-21 Leo Liu <sdl.web@gmail.com>
10066
10067 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10068
21e3f963
GM
100692013-06-21 Glenn Morris <rgm@gnu.org>
10070
10071 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10072
fd846ab4
SM
100732013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10074 Daniel Hackney <dan@haxney.org>
10075
10076 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10077 Consolidate the single-file vs tarball code.
10078 (package-desc-suffix): New function.
10079 (package-desc-full-name): Don't bother inlining it.
10080 (package-load-descriptor): Return the new package-desc.
10081 (package-mark-obsolete): Remove unused arg `package'.
10082 (package-unpack): Make it work for single files as well.
10083 Make it update package-alist.
10084 (package--make-autoloads-and-stuff): Rename from
10085 package--make-autoloads-and-compile. Don't compile any more.
10086 (package--compile): New function.
10087 (package-generate-description-file): New function, extracted from
10088 package-unpack-single.
10089 (package-unpack-single): Remove.
10090 (package--with-work-buffer): Add indentation and debugging info.
10091 (package-download-single): Remove.
10092 (package-install-from-archive): Rename from package-download-tar, make
10093 it take a pkg-desc, and make it work for single files as well.
10094 (package-download-transaction): Simplify.
10095 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10096 external tar program.
10097 (package-install-from-buffer): Remove `pkg-desc' argument.
10098 Use package-tar-file-info for tar-mode buffers.
10099 (package-install-file): Simplify accordingly.
10100 (package-archive-base): Change to take a pkg-desc.
10101 * tar-mode.el (tar--check-descriptor): New function, extracted from
10102 tar-get-descriptor.
10103 (tar-get-descriptor): Use it.
10104 (tar-get-file-descriptor): New function.
10105 (tar--extract): New function, extracted from tar-extract.
10106 (tar--extract): Use it.
10107 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10108 case the summary uses non-ascii. Adjust to new calling convention of
10109 package-tar-file-info.
10110
b7deae5e
LL
101112013-06-21 Leo Liu <sdl.web@gmail.com>
10112
fd846ab4
SM
10113 * comint.el (comint-redirect-results-list-from-process):
10114 Fix random delay. (Bug#14681)
b7deae5e 10115
7a65a0b2
JB
101162013-06-21 Juanma Barranquero <lekktu@gmail.com>
10117
10118 * profiler.el (profiler-format-number): Use log, not log10.
10119
1493c2af
JB
101202013-06-20 Juanma Barranquero <lekktu@gmail.com>
10121
10122 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10123
aff6371e
SM
101242013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10127 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10128 yet available.
10129 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10130 (AUTOGENEL): ... here.
10131 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10132 (cl--defsubst-expand): Use it.
10133
89561f72
PE
101342013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10135
10136 * subr.el (log10): Move here from C code, and declare as obsolete.
10137 All uses of (log10 X) replaced with (log X 10).
10138
47199123
JB
101392013-06-20 Juanma Barranquero <lekktu@gmail.com>
10140
10141 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10142 Declare with `defvar-local'.
10143 (tabulated-list-use-header-line, tabulated-list-entries)
10144 (tabulated-list-padding, tabulated-list-printer)
10145 (tabulated-list-sort-key): Declare with `defvar-local'.
10146 (tabulated-list-init-header, tabulated-list-print-fake-header):
10147 Use `setq-local'.
10148
4a172eab
MA
101492013-06-20 Michael Albinus <michael.albinus@gmx.de>
10150
47199123
JB
10151 * arc-mode.el (archive-mode): Add `archive-write-file' to
10152 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10153
5fc0acc0
JB
101542013-06-20 Juanma Barranquero <lekktu@gmail.com>
10155
d5b27848
JB
10156 * cus-edit.el (custom-commands): Fix typos.
10157 (custom-display): Fix tooltip text.
10158 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10159 Fix typos in docstrings.
10160 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10161 (custom-unlispify-menu-entry, custom-magic-value-create)
10162 (custom-add-see-also, custom-group-value-create): Use ?\s.
10163 (custom-guess-type, customize-apropos, editable-field)
10164 (custom-face-value-create): Use `string-match-p'.
10165 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10166
10167 * custom.el (custom-load-symbol): Use `string-match-p'.
10168
a5c581d8
JB
10169 * ansi-color.el: Convert to lexical binding.
10170 (ansi-colors): Fix URL.
10171 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10172 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10173 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10174
970ad972
G
101752013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10176
10177 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10178
10179 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10180
101812013-06-19 Tom Tromey <tromey@redhat.com>
10182
10183 * net/eww.el (eww-top-url): Remove.
10184 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10185 (eww-render): Set new variables. Don't set eww-top-url.
10186 (eww-handle-link): Handle "prev", "home", and "contents".
10187 Downcase the rel text.
10188 (eww-top-url): Choose best top URL.
10189
101902013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10191
10192 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10193 relying in widget.el. Using widget.el leads to too many
10194 user interface inconsistencies.
10195 (eww-self-insert): Implement entering commands in text fields.
10196 (eww-process-text-input): New function to make text input field editing
10197 work.
10198 (eww-submit): Rewrite to use the new-style form methods.
10199 (eww-select-display): Display the correct selected item.
10200 (eww-change-select): Implement changing the select value.
10201 (eww-toggle-checkbox): Implement radio/checkboxes.
10202 (eww-update-field): Fix compilation error.
10203 (eww-tag-textarea): Implement <textarea>.
10204
10205 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10206 we don't shadow mode-specific bindings.
10207
10208 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10209 nothing to push.
10210
10211 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10212
4582a01c 102132013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10214
10215 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10216
15b263dc
MA
102172013-06-19 Michael Albinus <michael.albinus@gmx.de>
10218
10219 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10220 not needed.
10221
10222 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10223
8f5297f7
LMI
102242013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10225
10226 * net/browse-url.el (browse-url-browser-function):
10227 `eww-browse-url' has the right calling signature, `eww' does not.
10228
011c4552
GM
102292013-06-19 Glenn Morris <rgm@gnu.org>
10230
2285bd27
GM
10231 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10232 Only eval autoloaded macros.
10233 (byte-compile-autoload): Only give the macro warning for macros.
10234
1d653303
GM
10235 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10236 (ps-underlined-faces): Declare.
10237
bdd779ec
GM
10238 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10239 (speedbar-add-supported-extension): Declare.
10240
011c4552
GM
10241 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10242 Don't include a date stamp in the header of the generated file;
10243 it leads to needless differences between output files.
10244
e59dfb0e
MA
102452013-06-19 Michael Albinus <michael.albinus@gmx.de>
10246
c763842b
SM
10247 * net/secrets.el (secrets-struct-secret-content-type):
10248 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10249 Some servers do not offer introspection.
e59dfb0e 10250
102626e2
SM
102512013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10252
10253 * electric.el (electric-pair-mode): Improve interaction with
10254 electric-layout-mode.
10255 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10256 (electric-pair-syntax): Use text-mode-syntax-table in comments
10257 and strings.
10258 (electric-pair--insert): New function.
10259 (electric-pair-post-self-insert-function): Use it and
10260 electric--after-char-pos.
10261
ad528125
LL
102622013-06-19 Leo Liu <sdl.web@gmail.com>
10263
10264 * progmodes/octave.el (octave-help): Fix regexp.
10265
924d6997
G
102662013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10267
10268 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10269 (shr-table-horizontal-line): Allow nil as a value, and change the
10270 default.
10271 (shr-insert-table-ruler): Respect the nil value.
10272
102732013-06-18 Tom Tromey <tromey@barimba>
10274
10275 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10276 New defvars.
10277 (eww-open-file): New defun.
10278 (eww-render): Initialize new variables.
10279 (eww-display-html): Handle "link" and "a".
10280 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10281 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10282 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10283 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10284 New defuns.
924d6997 10285
d1bbba4f
DG
102862013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10287
10288 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10289 Distinguish ternary operator tokens from slash symbol and slash
10290 char literal.
10291
14dd22d2
JB
102922013-06-18 Juanma Barranquero <lekktu@gmail.com>
10293
10294 Convert symbol prettification into minor mode and global minor mode.
10295
10296 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10297 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10298 (prettify-symbols--keywords): Rename from
10299 `prog-prettify-symbols-alist' and make a local defvar.
10300 (prettify-symbols--compose-symbol): Rename from
10301 `prog--prettify-font-lock-compose-symbol'.
10302 (prettify-symbols--make-keywords): Rename from
10303 `prog-prettify-font-lock-symbols-keywords' and simplify.
10304 (prog-prettify-install): Remove.
10305 (prettify-symbols-mode): New minor mode, based on
10306 `prog-prettify-install'.
10307 (turn-on-prettify-symbols-mode): New function.
10308 (global-prettify-symbols-mode): New globalized minor mode.
10309
10310 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10311 * progmodes/cfengine.el (cfengine3-mode):
10312 * progmodes/perl-mode.el (perl-mode): Don't call
10313 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10314
292c880c
JL
103152013-06-18 Juri Linkov <juri@jurta.org>
10316
10317 * files-x.el (modify-file-local-variable-message): New function.
10318 (modify-file-local-variable)
10319 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10320 and call `modify-file-local-variable-message' when it's non-nil.
10321 (add-file-local-variable, delete-file-local-variable)
10322 (add-file-local-variable-prop-line)
10323 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10324 and use it. (Bug#9820)
10325
0950aa27
JL
103262013-06-18 Juri Linkov <juri@jurta.org>
10327
10328 * emulation/vi.el (vi-shell-op):
10329 * emulation/vip.el (vip-execute-com, ex-command):
10330 * emulation/viper-cmd.el (viper-exec-bang):
10331 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10332 the call of `shell-command-on-region'. (Bug#14637)
10333
10334 * simple.el (shell-command-on-region): Doc fix.
10335
8fbcca16
SM
103362013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10339 (bug#14633).
10340
dd7426ea
GM
103412013-06-18 Glenn Morris <rgm@gnu.org>
10342
4ba54f7d
GM
10343 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10344
dd7426ea
GM
10345 * newcomment.el (comment-search-forward, comment-search-backward):
10346 Doc fix. (Bug#14376)
10347
58aa805b
JB
103482013-06-18 Juanma Barranquero <lekktu@gmail.com>
10349
10350 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10351 (buffer-face-mode-invoke): Doc fix.
10352
9a08a617
MM
103532013-06-18 Matthias Meulien <orontee@gmail.com>
10354
10355 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10356 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10357
f2f426ca
GM
103582013-06-18 Glenn Morris <rgm@gnu.org>
10359
9445f99b
GM
10360 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10361 Replace obsolete function generic-make-keywords with its expansion.
10362
e0df2d14
GM
10363 * progmodes/python.el (ffap-alist): Declare.
10364
f2f426ca
GM
10365 * textmodes/reftex.el (bibtex-mode-map): Declare.
10366
f7f9a720
SM
103672013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10368
10369 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10370 (package-unpack, package-unpack-single): Return the pkg-dir.
10371 (package-download-transaction): Use it to update package-alist.
10372
57ff04e0
LMI
103732013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10374
10375 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10376 possible choice.
10377
c048c022
JL
103782013-06-17 Juri Linkov <juri@jurta.org>
10379
10380 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10381
b5bcaee5
DG
103822013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10383
a020afb9
JB
10384 * emacs-lisp/package.el (package-load-descriptor):
10385 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10386 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10387
551e07e5
JB
103882013-06-17 Juanma Barranquero <lekktu@gmail.com>
10389
10390 * startup.el (command-line): Expand package name returned by
10391 `package--description-file' (bug#14639).
10392
d363bffb
DG
103932013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10394
10395 * emacs-lisp/package.el (package-load-descriptor): Do not call
10396 `emacs-lisp-mode', just use its syntax table.
10397
f612933b
JB
103982013-06-17 Juanma Barranquero <lekktu@gmail.com>
10399
10400 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10401 `font-lock-extra-managed-props' if any prettifying keyword is added.
10402 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10403 (prog-mode): Use `setq-local'.
10404
db3b7db5
SM
104052013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10406
10407 * international/characters.el (standard-case-table): Set syntax of ?»
10408 and ?« to punctuation.
10409
f3d674df
JB
104102013-06-16 Juanma Barranquero <lekktu@gmail.com>
10411
10412 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10413 Save relevant match data before calling `syntax-ppss' (bug#14595).
10414
31489a32
JL
104152013-06-15 Juri Linkov <juri@jurta.org>
10416
10417 * files-x.el (modify-file-local-variable-prop-line): Add local
10418 variables to the end of the existing comment on the first line.
10419 Use `file-auto-mode-skip' to skip interpreter magic line,
10420 and also skip XML declaration.
10421
66bd25ab
SM
104222013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10423
10424 * startup.el (package--builtin-versions): New var.
10425 (package-subdirectory-regexp): Remove.
10426 (package--description-file): Hard code its value instead.
10427
10428 * emacs-lisp/package.el: Don't activate packages older than builtin.
10429 (package-obsolete-list): Rename from package-obsolete-alist, and make
10430 it into a simple list of package-desc.
10431 (package-strip-version): Remove.
10432 (package-built-in-p): Use package--builtin-versions.
10433 (package-mark-obsolete): Simplify.
10434 (package-process-define-package): Mark it obsolete if older than the
10435 builtin version.
10436 (package-handle-response): Use line-end-position.
10437 (package-read-archive-contents, package--download-one-archive):
10438 Simplify.
10439 (package--add-to-archive-contents): Skip if older than the builtin or
10440 installed version.
10441 (package-menu-describe-package): Fix last change.
10442 (package-list-unversioned): New var.
10443 (package-menu--generate): Use it.
10444
10445 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10446 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10447 (autoload-builtin-package-versions): New variable.
10448 (autoload-generate-file-autoloads): Use them.
10449 Remove the list of autoloaded functions/macros from the
10450 (autoload...) comments.
10451
10452 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10453
9583ec36
EZ
104542013-06-15 Eli Zaretskii <eliz@gnu.org>
10455
10456 * simple.el (line-move-partial): Don't jump to the next screen
10457 line as soon as it becomes visible. Instead, continue enlarging
10458 the vscroll until the portion of a tall screen line that's left on
10459 display is about the height of the frame's default font.
10460 (Bug#14567)
10461
f0100d8a
GM
104622013-06-15 Glenn Morris <rgm@gnu.org>
10463
b86a85ca
GM
10464 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10465 compilation-error-regexp-alist void, or local while let-bound.
10466
f0100d8a
GM
10467 * progmodes/make-mode.el (makefile-mode-syntax-table):
10468 Treat "=" as punctuation. (Bug#14614)
10469
05e7ce90
JB
104702013-06-15 Juanma Barranquero <lekktu@gmail.com>
10471
10472 * help-fns.el (describe-variable):
10473 Add extra line for permanent-local variables.
10474
12e5e86e
SH
104752013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10476
10477 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10478 Add export, import, library. (Bug#9164)
10479 (library): Set indent function.
10480
230dcbaf
GM
104812013-06-14 Glenn Morris <rgm@gnu.org>
10482
10483 * term/xterm.el (xterm--query):
10484 Stop after first matching handler. (Bug#14615)
10485
e36b2d20 104862013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10487
10488 Add support for dired in saveplace.
10489 * dired.el (dired-initial-position-hook): New variable.
10490 (dired-initial-position): Call hook to place cursor position.
10491 * saveplace.el (save-place-to-alist): Add dired position.
10492 (save-place-dired-hook): New function.
10493
0b31660d
SM
104942013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10495
bf1e6ae8
SM
10496 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10497 through a symbol rather than letrec.
10498
1b8dff23
SM
10499 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10500 (package-desc): Add `dir' field.
10501 (package-desc-full-name): New function.
10502 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10503 (package-maybe-load-descriptor): Remove.
10504 (package-load-all-descriptors): Just call package-load-descriptor.
10505 (package--disabled-p): New function.
10506 (package-desc-vers, package-desc-doc): Remove aliases.
10507 (package--dir): Remove function.
10508 (package-activate): Check if a package is disabled.
10509 (package-process-define-package): New function, extracted from
10510 define-package.
10511 (define-package): Turn into a place holder.
10512 (package-unpack-single, package-tar-file-info):
10513 Use package--description-file.
10514 (package-compute-transaction): Use package--disabled-p.
10515 (package-download-transaction): Don't call
10516 package-maybe-load-descriptor since they're all loaded anyway.
10517 (package-install): Change argument to be a pkg-desc.
10518 (package-delete): Use a single pkg-desc argument.
10519 (describe-package-1): Use package-desc-dir instead of package--dir.
10520 Use package-desc property instead of package-symbol.
10521 (package-install-button-action): Adjust accordingly.
10522 (package--push): Rewrite.
10523 (package-menu--print-info): Adjust accordingly. Change the ID format
10524 to be a pkg-desc.
10525 (package-menu-describe-package, package-menu-get-status)
10526 (package-menu--find-upgrades, package-menu-mark-upgrades)
10527 (package-menu-execute, package-menu--name-predicate):
10528 Adjust accordingly.
10529 * startup.el (package--description-file): New function.
10530 (command-line): Use it.
10531 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10532 Use package-desc-version.
10533
0b31660d
SM
10534 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10535 (byte-compile-preprocess): Use it.
10536 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10537 can't quite recognize.
10538 (byte-compile-add-to-list): Remove.
10539 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10540 (cconv-closure-convert): Add assertion.
10541
10542 * emacs-lisp/map-ynp.el: Use lexical-binding.
10543 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10544 Factor out some repeated code.
10545
de0503df
SM
105462013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10547
10548 * subr.el (with-eval-after-load): New macro.
10549 (eval-after-load): Allow form to be a function.
10550 take advantage of lexical-binding.
10551 (do-after-load-evaluation): Use dolist and adjust to new format.
10552 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10553
bc5c8c5a
JL
105542013-06-13 Juri Linkov <juri@jurta.org>
10555
10556 * replace.el (perform-replace): Display "symbol " and other search
10557 modes from `isearch-message-prefix' in the *Help* buffer.
10558
10559 * isearch.el (isearch-query-replace): Add " symbol" and other
10560 possible search modes from `isearch-message-prefix' to the prompt.
10561 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10562 when reading a regexp to collect.
10563
a22289f7
JL
105642013-06-13 Juri Linkov <juri@jurta.org>
10565
10566 * isearch.el (word-search-regexp): Match whitespace if the search
10567 string begins or ends in whitespace. The LAX arg is applied to
10568 both ends of the search string. Use `regexp-quote' and explicit
10569 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10570 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10571 boundaries are replaced with symbol boundaries, and characters
10572 between symbols match non-word non-symbol syntax. (Bug#14602)
10573
cb89acab
JL
105742013-06-13 Juri Linkov <juri@jurta.org>
10575
10576 * isearch.el (isearch-del-char): Don't exceed the length of
10577 `isearch-string' by the prefix arg. (Bug#14563)
10578
6e8cfc81
JL
105792013-06-13 Juri Linkov <juri@jurta.org>
10580
10581 * isearch.el (isearch-yank-word, isearch-yank-line)
10582 (isearch-char-by-name, isearch-quote-char)
10583 (isearch-printing-char, isearch-process-search-char):
10584 Add optional count prefix arg. (Bug#14563)
10585
10586 * international/isearch-x.el
10587 (isearch-process-search-multibyte-characters):
10588 Add optional count prefix arg.
10589
c23d55f4
VS
105902013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10591
10592 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10593 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10594 lexical-binding.
10595
105962013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10597
10598 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10599
ba947bc4
GM
106002013-06-13 Glenn Morris <rgm@gnu.org>
10601
8baeb37a
GM
10602 * startup.el (tty-handle-args):
10603 Don't just discard "--" and anything after. (Bug#14608)
10604
ba947bc4
GM
10605 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10606
9abefce4
MA
106072013-06-13 Michael Albinus <michael.albinus@gmx.de>
10608
10609 Implement changes in Secret Service API. Make it backward compatible.
10610 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10611 (secrets-create-item): Use it. Prefix properties with interface.
10612
5755011f
MH
106132013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10614
10615 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10616 (term-emulate-terminal): Respect term-suppress-hard-newline.
10617
1261d2da
S
106182013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10619
10620 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10621 Only remove a `thumb-file' overlay. (Bug#14548)
10622
868490bb
GJ
106232013-06-12 Grégoire Jadi <daimrod@gmail.com>
10624
10625 * mail/reporter.el (reporter-submit-bug-report):
10626 Handle missing package-name. (Bug#14600)
10627
79d7167f
TH
106282013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10629
10630 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10631 (reftex-citation-prompt, reftex-default-bibliography)
10632 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10633 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10634 (reftex-bib-sort-author, reftex-bib-sort-year)
10635 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10636 (reftex-extract-bib-entries-from-thebibliography)
10637 (reftex-get-bibkey-default, reftex-get-bib-names)
10638 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10639 (reftex-format-bib-entry, reftex-parse-bibitem)
10640 (reftex-format-bibitem, reftex-do-citation)
10641 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10642 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10643 (reftex-insert-bib-matches, reftex-format-citation)
10644 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10645 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10646 existing comments into docstrings.
10647
5f9dbd7a
XF
106482013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10649
10650 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10651
94df41ab
AS
106522013-06-12 Andreas Schwab <schwab@suse.de>
10653
10654 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10655 for auto-save files.
10656
a7f3fecc
GM
106572013-06-12 Glenn Morris <rgm@gnu.org>
10658
001809f6
GM
10659 * ido.el (ido-delete-ignored-files): Remove.
10660 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10661 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10662
834b5ded
EL
106632013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10664
08c73ed2
EL
10665 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10666
834b5ded
EL
10667 * ido.el (ido-delete-ignored-files): New function,
10668 split from ido-make-file-list-1.
10669 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10670 (ido-make-file-list-1): Use ido-delete-ignored-files.
10671
daabf15a
LL
106722013-06-12 Leo Liu <sdl.web@gmail.com>
10673
10674 * progmodes/octave.el (inferior-octave-startup)
10675 (inferior-octave-completion-table)
10676 (inferior-octave-track-window-width-change)
10677 (octave-eldoc-function-signatures, octave-help)
10678 (octave-find-definition): Use single quoted strings.
10679 (inferior-octave-startup-args): Change default value.
10680 (inferior-octave-startup): Do not hard code "-i" and
10681 "--no-line-editing".
10682 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10683 (inferior-octave-directory-tracker): Use it.
10684 (octave-goto-function-definition): Robustify.
10685 (octave-help): Support highlighting operators in 'See also'.
10686 (octave-find-definition): Find subfunctions only in Octave mode.
10687
cf4e5178
SM
106882013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * help-fns.el (help-fns--compiler-macro): If the handler function is
10691 named, then put a link to it.
10692 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10693 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10694 (cl-typep): Use it.
10695 (cl-eval-when): Simplify debug spec.
10696 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10697 compiler-macro function instead of setting `compiler-macro-file'.
10698
99c81280 106992013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10700
10701 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10702 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10703
f56be016
SM
107042013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10705 Daniel Hackney <dan@haxney.org>
10706
10707 First part of Daniel Hackney's patch to package.el.
10708 * emacs-lisp/package.el: Use defstruct.
10709 (package-desc): New, main struct.
10710 (package--bi-desc, package--ac-desc): New structs, used to describe the
10711 format in external files.
10712 (package-desc-vers): Replace with package-desc-version accessor.
10713 (package-desc-doc): Replace with package-desc-summary accessor.
10714 (package-activate-1): Remove `package' arg since the pkg-vec now
10715 includes the name.
10716 (define-package): Use package-desc-from-define.
10717 (package-unpack-single): Change file-name arg to be a symbol.
10718 (package--add-to-archive-contents): Use package-desc-create and new
10719 accessor functions to package--ac-desc.
10720 (package-buffer-info, package-tar-file-info): Return a package-desc.
10721 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10722 arg to be a package-desc.
10723 (package-install-file): Adjust accordingly. Use \' to match EOS.
10724 (package--from-builtin): New function.
10725 (describe-package-1, package-menu--generate): Use it.
10726 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10727 (package-generate-autoloads): Idem and return the name of the file.
10728 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10729 Change pkg-info arg to be a package-desc.
10730 Use package-make-ac-desc.
10731 (package-upload-file): Use \' to match EOS.
10732 * finder.el (finder-compile-keywords): Use package-make-builtin.
10733
31119d63
SM
107342013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10735
931a2762
SM
10736 * vc/vc.el (vc-deduce-fileset): Change error message.
10737 (vc-read-backend): New function.
10738 (vc-next-action): Use it.
10739
5a3eb0c6
SM
10740 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10741
e3eb1bb7
SM
10742 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10743 (prolog-font-lock-keywords): Use regexp-opt instead.
10744 Don't manually highlight strings.
10745 (prolog-mode-variables): Simplify comment-start-skip.
10746 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10747
31119d63
SM
10748 * emacs-lisp/generic.el (generic--normalise-comments)
10749 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10750 (generic-mode-set-comments): Use them.
10751 (generic-bracket-support): Use setq-local.
10752 (generic-make-keywords-list): Declare obsolete.
10753
7de135d0
GM
107542013-06-11 Glenn Morris <rgm@gnu.org>
10755
10756 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10757 Prettify after setting font-lock-defaults. (Bug#14574)
10758
fa6bc6fd
JB
107592013-06-11 Juanma Barranquero <lekktu@gmail.com>
10760
10761 * replace.el (query-replace, occur-read-regexp-defaults-function)
10762 (replace-search):
10763 * subr.el (declare-function, number-sequence, local-set-key)
10764 (substitute-key-definition, locate-user-emacs-file)
10765 (with-silent-modifications, split-string, eval-after-load):
10766 Fix typos, remove unneeded backslashes and reflow some docstrings.
10767
cf1f9b9a
SM
107682013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10769
10770 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10771 default for Elisp files.
10772
56602a4b
GM
107732013-06-11 Glenn Morris <rgm@gnu.org>
10774
10775 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10776 although define-derived-mode was doing this anyway. (Bug#14583)
10777
30ae0b2c
JB
107782013-06-10 Juanma Barranquero <lekktu@gmail.com>
10779
10780 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10781 Fix make-variable-buffer-local call to refer to the correct variable.
10782
fa472906
AG
107832013-06-10 Aidan Gauland <aidalgol@amuri.net>
10784
10785 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10786 (eshell-visual-subcommands, eshell-visual-options):
10787 Add summary line to docstrings. Add cross-references.
fa472906 10788
ff4871b9
GM
107892013-06-10 Glenn Morris <rgm@gnu.org>
10790
10791 * epa.el (epa-read-file-name): New function. (Bug#14510)
10792 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10793
04fcf1b0
AG
107942013-06-09 Aidan Gauland <aidalgol@amuri.net>
10795
10796 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10797 output redirection to be ignored with visual commands.
10798
88b00caa
AG
107992013-06-09 Aidan Gauland <aidalgol@amuri.net>
10800
10801 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10802 (eshell-term-initialize): Move long lambda to separate function
10803 eshell-visual-command-p.
27821a89 10804 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
10805 * eshell/em-script.el (eshell-script-initialize):
10806 Add missing #' to lambda.
88b00caa 10807
fda74125
LL
108082013-06-08 Leo Liu <sdl.web@gmail.com>
10809
10810 * progmodes/octave.el (octave-add-log-current-defun): New function.
10811 (octave-mode): Set add-log-current-defun-function.
10812 (octave-goto-function-definition): Do not move point if not found.
10813 (octave-find-definition): Enhance to try subfunctions first.
10814
467f3b33
GM
108152013-06-08 Glenn Morris <rgm@gnu.org>
10816
10817 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10818 (byte-compile-backward-char, byte-compile-backward-word):
10819 Improve previous change, to handle non-explicit nil.
10820
544badc3
SM
108212013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10822
10823 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10824 (smie--opener/closer-at-point): New function.
10825 (smie--matching-block-data): Use it. Don't match from right after an
10826 opener or right before a closer. Obey smie-blink-matching-inners.
10827 Don't signal a mismatch for repeated inners like "switch..case..case".
10828
a175bf33
LL
108292013-06-07 Leo Liu <sdl.web@gmail.com>
10830
10831 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10832 to t. (Bug#14303)
ce8209d4
LL
10833 (octave-function-header-regexp): Fix. (Bug#14570)
10834 (octave-help-mode-finish-hook, octave-help-mode-finish):
10835 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10836
10837 * newcomment.el (comment-search-backward): Revert last change.
10838 (Bug#14434)
10839
10840 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10841
a822acff
EZ
108422013-06-07 Eli Zaretskii <eliz@gnu.org>
10843
10844 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10845 through xargs, to avoid failure due to MS-Windows limitations on
10846 command-line length.
10847
961166f5
GM
108482013-06-06 Glenn Morris <rgm@gnu.org>
10849
d0341459
GM
10850 * font-lock.el (lisp-font-lock-keywords-2):
10851 Treat user-error like error.
10852
961166f5
GM
10853 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10854 (byte-compile-backward-char, byte-compile-backward-word):
10855 Handle explicit nil arguments. (Bug#14565)
10856
80fa505f
AM
108572013-06-05 Alan Mackenzie <acm@muc.de>
10858
10859 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10860 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10861 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10862 (Bug#9706)
80fa505f 10863
fccdc796
SM
108642013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10865
10866 * autorevert.el (auto-revert-notify-handler): Use memq.
10867 Hide assertion failure.
10868
10869 * skeleton.el: Use cl-lib.
10870 (skeleton-further-elements): Use defvar-local.
10871 (skeleton-insert): Use cl-progv.
10872
9bfff84b
TZ
108732013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10874
10875 * progmodes/prog-mode.el (prog-prettify-symbols)
10876 (prog-prettify-install): Update docstrings.
10877
55577e7c
SM
108782013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10879
10880 * simple.el: Move all the prog-mode code to prog-mode.el.
10881 * progmodes/prog-mode.el: New file.
10882 * loadup.el: Add prog-mode.el.
10883
8fc57765
TZ
108842013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10885
10886 * simple.el (prog-prettify-symbols): Add version.
10887 (prog-prettify-install): Add convenience function to prettify symbols.
10888
10889 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10890 (perl--augmented-font-lock-keywords-1)
10891 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10892 variables and use it.
10893
10894 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10895 (cfengine3-mode): Remove unneeded variable and use it.
10896
10897 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10898 (lisp--augmented-font-lock-keywords-1)
10899 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10900 Remove unneeded variables and use it.
10901
650645d5 109022013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10903
10904 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10905 to point when opening the connection. (Bug#14380)
28f5da6d 10906
781b4af6
SM
109072013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * subr.el (load-history-regexp, load-history-filename-element)
10910 (eval-after-load, after-load-functions, do-after-load-evaluation)
10911 (eval-next-after-load, display-delayed-warnings)
10912 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10913 definition of save-match-data.
10914 (overriding-local-map): Remove accidental obsolescence declaration.
10915
10916 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10917
3ca0d0b4
TZ
109182013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10919
10920 Generalize symbol prettify support to prog-mode and implement it
10921 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10922 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10923 (prog--prettify-font-lock-compose-symbol)
10924 (prog-prettify-font-lock-symbols-keywords): New variables and
10925 functions to support symbol prettification.
10926 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10927 (lisp--augmented-font-lock-keywords-1)
10928 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10929 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10930 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
10931 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10932 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
10933 * progmodes/perl-mode.el (perl-prettify-symbols)
10934 (perl--font-lock-compose-symbol)
10935 (perl--font-lock-symbols-keywords): Move to prog-mode.
10936 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10937 (perl-font-lock-keywords-1)
10938 (perl-font-lock-keywords-2): Remove explicit prettify support.
10939 (perl--augmented-font-lock-keywords)
10940 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
10941 (perl--augmented-font-lock-keywords-2, perl-mode):
10942 Implement prettify support.
3ca0d0b4 10943
976cb066
LL
109442013-06-05 Leo Liu <sdl.web@gmail.com>
10945
27821a89 10946 Re-implement SMIE matching block highlight using
976cb066
LL
10947 show-paren-data-function. (Bug#14395)
10948 * emacs-lisp/smie.el (smie-matching-block-highlight)
10949 (smie--highlight-matching-block-overlay)
10950 (smie--highlight-matching-block-lastpos)
10951 (smie-highlight-matching-block)
10952 (smie-highlight-matching-block-mode): Remove.
10953 (smie--matching-block-data-cache): New variable.
10954 (smie--matching-block-data): New function.
10955 (smie-setup): Use smie--matching-block-data for
10956 show-paren-data-function.
10957
10958 * progmodes/octave.el (octave-mode-menu): Fix.
10959 (octave-find-definition): Skip garbage lines.
10960
208d0342
SM
109612013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10962
10963 Fix compilation error with simultaneous dynamic+lexical scoping.
10964 Add warning when a defvar appears after the first let-binding.
10965 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10966 (byte-compile-close-variables): Initialize it.
10967 (byte-compile--declare-var): New function.
10968 (byte-compile-file-form-defvar)
10969 (byte-compile-file-form-define-abbrev-table)
10970 (byte-compile-file-form-custom-declare-variable): Use it.
10971 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10972 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10973 (byte-compile-bind): Handle dynamic bindings that shadow
10974 lexical bindings.
10975 (byte-compile-unbind): Make arg non-optional.
10976 (byte-compile-let): Simplify.
10977 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10978 (cconv--analyse-function, cconv-analyse-form): Populate it.
10979 Protect byte-compile-bound-variables to limit the scope of defvars.
10980 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10981 Remove unneeded rule for `declare'.
10982
10983 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10984 so as to avoid depending on cl-adjoin at run-time.
10985 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10986
10987 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10988 (macroexp--warn-and-return): Use it.
10989
1ac2891e
GM
109902013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10991
a12bf61e 10992 * subr.el: Convert to lexical binding.
1ac2891e
GM
10993 (overriding-local-map): Make obsolete.
10994 (add-to-list): Doc fix. Add compiler macro.
10995 (read-key): Swap values of local maps.
10996
2587b005
LL
109972013-06-05 Leo Liu <sdl.web@gmail.com>
10998
10999 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11000
f1da3c88
LL
110012013-06-04 Leo Liu <sdl.web@gmail.com>
11002
11003 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11004 (compilation-auto-jump): Suppress the "Mark set" message to give
11005 way to exit message.
11006
3caa391f
AM
110072013-06-04 Alan Mackenzie <acm@muc.de>
11008
11009 Remove faulty optimisation from indentation calculation.
11010 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11011 search limit based on 2000 characters back from indent-point.
11012
068922a2
TH
110132013-06-03 Tassilo Horn <tsdh@gnu.org>
11014
11015 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11016
1f8fdd53
SM
110172013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11018
bbcc4d97
SM
11019 * emacs-lisp/lisp.el: Use lexical-binding.
11020 (lisp--local-variables-1, lisp--local-variables): New functions.
11021 (lisp--local-variables-completion-table): New var.
208d0342 11022 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11023
1f8fdd53
SM
11024 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11025 eagerly (bug#14422).
11026
c9628c79
MA
110272013-06-03 Michael Albinus <michael.albinus@gmx.de>
11028
11029 * autorevert.el (auto-revert-notify-enabled)
11030 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11031 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11032 (auto-revert-notify-handler): Handle also gfilenotify.
11033
e7b41c4c 11034 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11035 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11036 Remove.
c9628c79 11037
e5e4a942
JL
110382013-06-03 Juri Linkov <juri@jurta.org>
11039
11040 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11041 `M-s h .'. (Bug#14427)
11042
11043 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11044 command `hi-lock-face-symbol-at-point'.
11045 (hi-lock-face-symbol-at-point): New command.
11046 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11047 (hi-lock-menu): Add `highlight-symbol-at-point'.
11048 (hi-lock-mode): Doc fix.
11049
11050 * isearch.el (isearch-forward-symbol-at-point): New command.
11051 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11052 (isearch-highlight-regexp): Add a regexp which matches
11053 words/symbols for word/symbol mode.
11054
11055 * subr.el (find-tag-default-bounds): New function with the body
11056 mostly moved from `find-tag-default'.
11057 (find-tag-default): Move most code to `find-tag-default-bounds',
11058 call it and apply `buffer-substring-no-properties' afterwards.
11059
26b3353a
TH
110602013-06-03 Tassilo Horn <tsdh@gnu.org>
11061
781b4af6
SM
11062 * eshell/em-term.el (eshell-term-initialize):
11063 Use `cl-intersection' rather than `intersection'.
26b3353a 11064
51b60f53
XF
110652013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11066
fe054b63 11067 * vc/log-view.el: Doc fix.
d3ffe17c 11068 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11069
a0eb10b3 110702013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11071
11072 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11073 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11074 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11075 (eieio-unbound, eieio-default-superclass)
11076 (eieio--define-field-accessors, method-static, method-before)
11077 (method-primary, method-after, method-num-lists)
11078 (method-generic-before, method-generic-primary)
11079 (method-generic-after, method-num-slots)
11080 (eieio-specialized-key-to-generic-key)
11081 (eieio--check-type, class-v, class-p)
11082 (eieio-class-name, define-obsolete-function-alias)
11083 (eieio-class-parents-fast, eieio-class-children-fast)
11084 (same-class-fast-p, class-constructor, generic-p)
11085 (generic-primary-only-p, generic-primary-only-one-p)
11086 (class-option-assoc, class-option, eieio-object-p)
11087 (class-abstract-p, class-method-invocation-order)
11088 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11089 (eieio-class-un-autoload, eieio-defclass)
11090 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11091 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11092 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11093 (eieio-defgeneric-reset-generic-form)
11094 (eieio-defgeneric-form-primary-only)
11095 (eieio-defgeneric-reset-generic-form-primary-only)
11096 (eieio-defgeneric-form-primary-only-one)
11097 (eieio-defgeneric-reset-generic-form-primary-only-one)
11098 (eieio-unbind-method-implementations)
11099 (eieio--defmethod, eieio--typep)
11100 (eieio-perform-slot-validation, eieio-validate-slot-value)
11101 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11102 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11103 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11104 (eieio-slot-name-index, eieio-class-slot-name-index)
11105 (eieio-set-defaults, eieio-initarg-to-attribute)
11106 (eieio-attribute-to-initarg, eieio-c3-candidate)
11107 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11108 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11109 (eieio-class-precedence-list, eieio-generic-call-methodname)
11110 (eieio-generic-call-arglst, eieio-generic-call-key)
11111 (eieio-generic-call-next-method-list)
11112 (eieio-pre-method-execution-functions, eieio-generic-call)
11113 (eieio-generic-call-primary-only, eieiomt-method-list)
11114 (eieiomt-optimizing-obarray, eieiomt-install)
11115 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11116 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11117 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11118 (defclass): Remove `eval-and-compile' from macro.
11119 (call-next-method, shared-initialize): Instead of using
11120 `scoped-class' variable, use new eieio--scoped-class, and
11121 eieio--with-scoped-class.
11122 (initialize-instance): Rename local variable 'scoped-class' to
11123 'this-class' to remove ambiguitity from old global.
11124
11125 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11126 eieio.el.
4f405069
JB
11127 (eieio--scoped-class-stack): New variable.
11128 (eieio--scoped-class): New fcn.
890f7890
DE
11129 (eieio--with-scoped-class): New scoping macro.
11130 (eieio-defclass): Use pushnew instead of add-to-list.
11131 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11132 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11133 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11134 `scoped-class' variable, use new eieio--scoped-class, and
11135 eieio--with-scoped-class.
11136
11137 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11138
d105b0e2
TH
111392013-06-02 Tassilo Horn <tsdh@gnu.org>
11140
11141 * eshell/esh-ext.el (eshell-external-command): Pass args to
11142 `eshell-find-interpreter'.
11143 (eshell-find-interpreter): Add new second parameter ARGS.
11144
11145 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11146 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11147
11148 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11149 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11150
11151 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11152 (eshell-visual-options): New defcustom.
11153 (eshell-escape-control-x): Adapt docstring.
11154 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11155 `eshell-visual-options' in addition to `eshell-visual-commands'.
11156 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11157
f46305c8 111582013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11159
11160 * progmodes/python.el (python-indent-block-enders): Add break,
11161 continue and raise keywords.
11162
d870df21
GM
111632013-06-01 Glenn Morris <rgm@gnu.org>
11164
9133b82e
GM
11165 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11166
02c992ec 11167 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11168 * progmodes/cc-cmds.el (delete-forward-p):
11169 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11170 * progmodes/cc-engine.el (buffer-syntactic-context):
11171 * progmodes/cc-fonts.el (face-property-instance):
11172 * progmodes/cc-mode.el (set-keymap-parents):
11173 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11174 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11175 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11176 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11177 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11178
31e7b090
GM
11179 * progmodes/cc-vars.el (other): Emacs has this widget since
11180 at least 21.1, so don't (re)define it.
11181
d870df21
GM
11182 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11183 Replace the obsolete alias pcomplete-arg-quote-list.
11184
c75c93c7
LL
111852013-06-01 Leo Liu <sdl.web@gmail.com>
11186
11187 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11188 punctuation syntax.
11189 (inferior-octave-minimal-columns)
11190 (inferior-octave-last-column-width): New variables.
11191 (inferior-octave-track-window-width-change): New function.
11192 (inferior-octave-mode): Adjust column width so that Octave output,
11193 for example from 'ls', can fit into the window nicely.
11194
973d1e12
DG
111952013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11196
11197 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11198 Highlight expansions inside regexp literals.
11199
0888c286
GM
112002013-05-31 Glenn Morris <rgm@gnu.org>
11201
e26aac1f
GM
11202 * obsolete/sym-comp.el (symbol-complete):
11203 Replace obsolete completion-annotate-function.
11204
0888c286
GM
11205 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11206
19bb8e62
DG
112072013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11208
781b4af6
SM
11209 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11210 New function, checks if point is inside a literal that allows
19bb8e62
DG
11211 expression expansion.
11212 (ruby-syntax-propertize-expansion): Use it.
11213 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11214 around the body.
11215
01dea85f
JL
112162013-05-30 Juri Linkov <juri@jurta.org>
11217
11218 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11219 to "\M-si".
11220 (isearch-invisible): New variable.
11221 (isearch-forward): Doc fix.
11222 (isearch-mode): Set `isearch-invisible'
11223 to the value of `search-invisible'.
11224 (isearch-toggle-case-fold): Doc fix.
11225 (isearch-toggle-invisible): New command.
11226 (isearch-query-replace): Let-bind `search-invisible'
11227 to the value of `isearch-invisible'.
11228 (isearch-search): Use `isearch-invisible' instead of
11229 `search-invisible'. Let-bind `search-invisible'
11230 to the value of `isearch-invisible'. (Bug#11378)
11231
ab1bdce5
JL
112322013-05-30 Juri Linkov <juri@jurta.org>
11233
11234 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11235 call when `query-flag' is nil and `search-invisible' is non-nil.
11236 (Bug#11746)
11237
d6d236e2
GM
112382013-05-30 Glenn Morris <rgm@gnu.org>
11239
8accd027
GM
11240 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11241
2a8bed1c
GM
11242 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11243 (cc-require): Suppress spurious "noruntime" warnings.
11244 (cc-require-when-compile): Use fboundp, for sake of compiler.
11245
d6d236e2
GM
11246 * progmodes/cc-mode.el: Move load of cc-vars before that of
11247 cc-langs (which in turn loads cc-vars), to quieten compiler.
11248
9190b35b
SM
112492013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * paren.el: Simplify the code.
11252 (show-paren-mode): Always start the timer.
11253 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11254 (show-paren--overlay, show-paren--overlay-1): Rename from
11255 show-paren-overlay and show-paren-overlay-1, and initialize to an
11256 overlay rather than to nil.
11257 (show-paren-function): Misc cleanup and simplifications.
11258
4f8d1cf6
SM
112592013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11260
11261 * paren.el (show-paren-data-function): New hook.
11262 (show-paren--default): New function, extracted from show-paren-function.
11263 (show-paren-function): Use show-paren-data-function.
11264
02d844b5
GM
112652013-05-30 Glenn Morris <rgm@gnu.org>
11266
d209d4a9
GM
11267 * ielm.el (ielm-map, ielm-complete-symbol):
11268 Use completion-at-point rather than obsolete functions.
11269 (inferior-emacs-lisp-mode): Doc fix.
11270 Set completion-at-point-functions, rather than
11271 comint-dynamic-complete-functions.
11272
2082faa6
GM
11273 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11274 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11275 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11276
dd8620de
GM
11277 * image.el (image-animated-p): Tweak definition.
11278
ceca95b1
GM
11279 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11280 (rlogin-process-connection-type): Tweak default. Add set-after.
11281 (rlogin-host): Doc fix.
11282 (rlogin): Tweak prompt.
11283 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11284
ee9f1acc
GM
11285 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11286 * progmodes/tcl.el (inferior-tcl-mode-map):
11287 Use completion-at-point rather than obsolete alias.
11288
45ce222e
GM
11289 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11290
02d844b5
GM
11291 * minibuffer.el (read-file-name-completion-ignore-case):
11292 Move before completion--in-region, for eager macro expansion.
11293
ac44d6c1
JL
112942013-05-29 Juri Linkov <juri@jurta.org>
11295
11296 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11297 for total count of matching lines. Add `global-matches' for total
11298 count of matches. Rename `matches' to `lines' for count of
11299 matching lines. Add `matches' for count of matches.
11300 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11301 to `prev-line' for line number of prev match endpt.
11302 Increment `matches' for every match. Print the number of
11303 matching lines in the header.
11304 (occur-context-lines): Rename `lines' to `curr-line'.
11305 Rename `prev-lines' to `prev-line'. (Bug#14017)
11306
3c9c9d38
JL
113072013-05-29 Juri Linkov <juri@jurta.org>
11308
11309 * replace.el (perform-replace): Add `skip-read-only-count',
11310 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11311 Increment them for corresponding conditions and report the number
11312 of skipped occurrences in the final message. (Bug#11746)
11313 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11314 (replace-string, replace-regexp): Doc fix.
11315
33e249a2
SM
113162013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11317
8e399682
SM
11318 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11319
33e249a2 11320 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11321 prog-mode-map (bug#14504).
33e249a2 11322
f236dd84
LL
113232013-05-29 Leo Liu <sdl.web@gmail.com>
11324
11325 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11326 (octave-help): Small simplification.
11327
11328 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11329 off the highlight first.
11330
3694d13f
GM
113312013-05-29 Glenn Morris <rgm@gnu.org>
11332
03983bdc
GM
11333 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11334 Handle idlwave-last-system-routine-info-cons-cell being nil.
11335
bc74a74a
GM
11336 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11337 (idlwave-write-paths): Simplify via with-temp-buffer.
11338
8b394200
GM
11339 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11340 * emulation/cua-rect.el: Also load cua-base at run time.
11341
3694d13f
GM
11342 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11343 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11344 (cperl-imenu-on-info): Require imenu.
11345
336d7284
AM
113462013-05-28 Alan Mackenzie <acm@muc.de>
11347
11348 Handle "capitalised keywords" correctly.
33e249a2 11349 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11350
cb29c582
AG
113512013-05-28 Aidan Gauland <aidalgol@amuri.net>
11352
781b4af6 11353 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11354
690e44b2
GM
113552013-05-28 Glenn Morris <rgm@gnu.org>
11356
e658d75c
GM
11357 * vc/vc-arch.el (vc-exec-after): Declare.
11358 (vc-switches): Autoload.
11359 * vc/vc-bzr.el: No need to require vc when compiling.
11360 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11361 (vc-resynch-buffer, vc-dir-refresh): Declare.
11362 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11363 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11364 (vc-resynch-buffer): Declare.
11365 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11366 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11367 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11368 (grep-read-regexp, grep-read-files, grep-expand-template)
11369 (vc-dir-refresh): Declare.
11370 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11371 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11372 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11373 * vc/vc-mtn.el (vc-exec-after): Declare.
11374 (vc-switches): Autoload.
11375 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11376 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11377 (vc-file-tree-walk): Declare.
712b9732
GM
11378 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11379 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11380 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11381 * vc/vc-svn.el (vc-exec-after): Declare.
11382 (vc-switches, vc-setup-buffer): Autoload.
11383 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11384 Autoload.
11385 (vc-resynch-buffer): Declare.
11386
98e87fb3
GM
11387 * obsolete/fast-lock.el (byte-compile-warnings):
11388 Don't warn about obsolete features in this obsolete file.
11389
f5379553
GM
11390 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11391 Move definition before use.
11392
7a20ef83
GM
11393 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11394 (dun-unix-verbs): Remove dun-zippy.
11395 (dun-zippy): Remove function.
11396
690e44b2
GM
11397 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11398
3a52ccf7
JL
113992013-05-27 Juri Linkov <juri@jurta.org>
11400
11401 * replace.el (replace-search): New function with code moved out
11402 from `perform-replace'.
11403 (replace-highlight, replace-dehighlight): Move function definitions
11404 up closer to `replace-search'. (Bug#11746)
11405
d289938a
JL
114062013-05-27 Juri Linkov <juri@jurta.org>
11407
11408 * replace.el (perform-replace): Ignore invisible matches.
11409 In addition to checking `query-replace-skip-read-only', also
11410 filter out matches by calling `run-hook-with-args-until-failure'
11411 on `isearch-filter-predicates', and also check `search-invisible'
11412 for t or call `isearch-range-invisible'.
11413 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11414
66fc57e3
JL
114152013-05-27 Juri Linkov <juri@jurta.org>
11416
11417 * isearch.el (isearch-filter-predicates): Rename from
11418 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11419 (isearch-message-prefix): Display text from the property
11420 `isearch-message-prefix' of the currently active filters.
11421 (isearch-search): Don't compare `isearch-filter-predicate' with
11422 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11423 on `isearch-filter-predicates'. Also check `search-invisible' for t
11424 or call `isearch-range-invisible'.
11425 (isearch-filter-visible): Make obsolete.
11426 (isearch-lazy-highlight-search):
11427 Call `run-hook-with-args-until-failure' on
11428 `isearch-filter-predicates' and use `isearch-range-invisible'.
11429
11430 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11431 `isearch-filter-predicates' instead of `funcall'ing
11432 `isearch-filter-predicate'.
11433 (Info-mode): Set `Info-isearch-filter' to
11434 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11435
11436 * dired-aux.el (dired-isearch-filter-predicate-orig):
11437 Remove variable.
11438 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11439 (dired-isearch-filenames-end): Add and remove
11440 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11441 instead of changing the value of `isearch-filter-predicate'.
11442 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11443 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11444 Put property `isearch-message-prefix' to "filename " on
11445 `dired-isearch-filter-filenames'.
11446
11447 * wdired.el (wdired-change-to-wdired-mode):
11448 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11449 locally instead of changing `isearch-filter-predicate'.
11450 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11451
f1a60a0f
DG
114522013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11453
11454 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11455 return the commit hash (Bug#14459). Also set the
11456 `vc-git-detached' property.
11457 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11458 (vc-git-mode-line-string): Use the same help-echo format whether
11459 in detached mode or not, because we know the actual revision now.
11460 When in detached mode, shorten the revision to 7 chars.
11461
7f17cc40
SM
114622013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11463
11464 * emacs-lisp/easy-mmode.el (define-minor-mode):
11465 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11466 mode hook and provide a docstring.
11467
25c8401c
AM
114682013-05-27 Alan Mackenzie <acm@muc.de>
11469
11470 Remove spurious syntax-table text properties inserted by C-y.
11471 * progmodes/cc-mode.el (c-after-change): Also clear hard
11472 syntax-table property with value nil.
11473
dde84790
MA
114742013-05-27 Michael Albinus <michael.albinus@gmx.de>
11475
11476 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11477 when reading the events; the buffer layout shall not be changed.
11478
837fd9af
LL
114792013-05-27 Leo Liu <sdl.web@gmail.com>
11480
11481 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11482 New variable.
11483 (inferior-octave-directory-tracker): Automatically re-sync
11484 default-directory.
11485 (octave-help): Improve handling of 'See also'.
11486
4fd996b3
SM
114872013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11488
416f1802
SM
11489 * doc-view.el: Minor naming convention tweaks.
11490 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11491
4fd996b3
SM
11492 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11493 even if there's no `display' property yet (bug#14435).
11494
a052ef3b
EZ
114952013-05-25 Eli Zaretskii <eliz@gnu.org>
11496
4fd996b3 11497 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11498
11499 * Makefile.in (custom-deps, finder-data, autoloads)
11500 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11501 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11502 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11503
c9023370
SM
115042013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11505
11506 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11507 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11508 Don't burp at EOB.
c9023370 11509
24d699fa
LL
115102013-05-25 Leo Liu <sdl.web@gmail.com>
11511
11512 * comint.el (comint-previous-matching-input): Do not flood the
11513 *Messages* buffer with trivial messages.
11514
17e5c0cc
SM
115152013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11516
11517 * progmodes/flymake.el (flymake-nop): Don't return a string.
11518 (flymake-set-at): Fix typo.
11519
11520 * simple.el (read--expression): New function, extracted from
11521 eval-expression. Set completion-at-point-functions (bug#14465).
11522 (eval-expression, eval-minibuffer): Use it.
11523
5d028165
XF
115242013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11525
11526 * progmodes/flymake.el (flymake-save-buffer-in-file)
11527 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11528 (flymake-selected-frame, flymake-log, flymake-ins-after)
11529 (flymake-set-at, flymake-get-buildfile-from-cache)
11530 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11531 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11532 Refine the doc string.
11533 (flymake-get-file-name-mode-and-masks): Reformat.
11534 (flymake-get-real-file-name-function): Fix a minor bug.
11535
7a1d7ba7
JL
115362013-05-24 Juri Linkov <juri@jurta.org>
11537
11538 * progmodes/grep.el (grep-mode-font-lock-keywords):
11539 Support =linenumber= format used by git-grep for lines with
11540 function names. (Bug#13549)
11541
650cff3d
SM
115422013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11543
11544 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11545 0 after a semi-colon; it works better for smie-auto-fill.
11546 (octave--indent-new-comment-line): New function.
11547 (octave-indent-new-comment-line): Use it (indirectly).
11548 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11549 modify comment-line-break-function.
11550
11551 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11552 (smie-setup): Use add-function to set it.
11553
9631677d
SS
115542013-05-24 Sam Steingold <sds@gnu.org>
11555
11556 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11557 argument (before the `interactive' argument).
11558
50105835
SM
115592013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11560
11561 * image-mode.el (image-mode-winprops): Add winprops to
11562 image-mode-winprops-alist before running
11563 image-mode-new-window-functions.
11564 * doc-view.el (doc-view-new-window-function): Don't delay
11565 doc-view-goto-page via timers (bug#14435).
11566
57b9823e
TH
115672013-05-24 Tassilo Horn <tsdh@gnu.org>
11568
11569 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11570 (doc-view-desktop-save-buffer): New function.
11571 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11572 (desktop-buffer-mode-handlers):
11573 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11574 handler.
11575 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11576 `desktop-save-buffer' function.
11577
91aafa16
MA
115782013-05-24 Michael Albinus <michael.albinus@gmx.de>
11579
11580 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11581 (tramp-gvfs-file-name-handler): Raise a user error when
11582 `tramp-gvfs-enabled' is nil.
11583 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11584 Do not raise a user error when loading package. (Bug#14447)
11585
ec076379
MA
11586 * net/xesam.el: Move to obsolete/.
11587
db785726
GM
115882013-05-24 Glenn Morris <rgm@gnu.org>
11589
af5c7606
GM
11590 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11591
e5d1916a
GM
11592 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11593
ded62b08
GM
11594 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11595 (Info-find-node, Man-getpage-in-background): Declare.
11596
9e614a3f
GM
11597 * mail/unrmail.el (unrmail):
11598 Replace obsolete detect-coding-with-priority.
11599
892f8ca3
GM
11600 * net/socks.el (socks-split-string): Use this rather than split-string.
11601 (socks-nslookup-host): Update for above change.
11602 (dynamic-choice, s5-dynamic-choice-match)
11603 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11604 Comment out unused code.
11605
3c291973
GM
11606 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11607 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11608 (gud-tooltip-echo-area): Make obsolete.
11609 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11610
43cc956b
GM
11611 * progmodes/js.el (js--optimize-arglist): Declare.
11612
dab49a3b
GM
11613 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11614
36b9d085
GM
11615 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11616 (ediff-window-C): Declare.
11617
e354ae76
GM
11618 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11619 Tweak requires to silence compiler.
11620
b8e57bf4
GM
11621 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11622 (he-search-string, he-tried-table, he-expand-list)
11623 (he-init-string, he-string-member, he-substitute-string)
11624 (he-reset-string): Declare.
11625
db785726
GM
11626 * obsolete/options.el (list-options): Use custom-variable-p,
11627 rather than obsolete alias.
11628
b3531901
SS
116292013-05-23 Sam Steingold <sds@gnu.org>
11630
11631 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11632 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11633 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11634
bdda4c66
SM
116352013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11636
11637 * emacs-lisp/smie.el (smie-indent-forward-token)
11638 (smie-indent-backward-token): Handle string tokens (bug#14381).
11639
c43d45f9
TH
116402013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11641
fe1eb856
RS
11642 * ielm.el (ielm-menu): New menu.
11643 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11644
fe1eb856
RS
116452013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11646
a12bf61e 11647 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11648 Fix deactivate action.
11649
a12bf61e 11650 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11651 Add cleveref macros.
074dd971 11652
a12bf61e 11653 * textmodes/reftex-parse.el
c43d45f9
TH
11654 (reftex-locate-bibliography-files): Accept options for
11655 bibliography commands.
a12bf61e 11656 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11657 Add addbibresource. Basic Biblatex support.
11658
7764286e
MA
116592013-05-23 Michael Albinus <michael.albinus@gmx.de>
11660
11661 * net/tramp-gvfs.el (top):
11662 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11663 when loading package. (Bug#14447)
11664
d361bc10
GM
116652013-05-23 Glenn Morris <rgm@gnu.org>
11666
8fa23984
GM
11667 * progmodes/js.el: No need to load comint when compiling.
11668 (ring-insert, comint-send-string, comint-send-input)
11669 (comint-last-input-end, ido-chop): Declare.
11670
a5c7df1a
GM
11671 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11672 * vc/ediff-mult.el: Adjust requires.
11673 (ediff-directories-internal, ediff-directory-revisions-internal)
11674 (ediff-patch-file-internal): Declare.
11675 * vc/ediff-ptch.el: Adjust requires.
11676 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11677 (ediff-find-file): Autoload.
11678 * vc/ediff-util.el: No need to load ediff when compiling.
11679 (ediff-regions-internal): Declare.
11680 * vc/ediff-wind.el: Adjust requires.
11681 (ediff-compute-toolbar-width): Define when compiling.
11682 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11683 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11684 (dired-get-filename, dired-get-marked-files)
11685 (ediff-last-dir-patch, ediff-patch-default-directory)
11686 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11687 (ediff-patch-buffer-internal): Declare.
11688
e2aec513
GM
11689 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11690 (ispell-process, ispell-buffer-local-words, lm-summary)
11691 (lm-section-start, lm-section-end): Declare.
11692 (checkdoc-ispell-init): Simplify.
11693
e68bbd7c
GM
11694 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11695 (he-string-member, he-reset-string, he-substitute-string): Declare.
11696
7efe0991
GM
11697 * eshell/em-ls.el: Adjust requires.
11698 (eshell-glob-regexp): Declare.
f87b1284
GM
11699 * eshell/em-tramp.el: Adjust requires.
11700 (eshell-parse-command): Autoload.
11701 * eshell/em-xtra.el: Adjust requires.
11702 (eshell-parse-command): Autoload.
11703 * eshell/esh-ext.el: Adjust requires.
11704 (eshell-parse-command, eshell-close-handles): Autoload.
11705 * eshell/esh-io.el: Adjust requires.
11706 (eshell-output-filter): Autoload.
11707 * eshell/esh-util.el: No need to load tramp when compiling.
11708 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11709 Declare.
11710 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11711 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11712 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11713 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11714 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11715 * eshell/esh-opt.el, eshell/esh-proc.el:
11716 * eshell/esh-var.el: Adjust requires.
11717 * eshell/eshell.el: Do not require esh-util twice.
11718 (eshell-add-input-to-history): Declare.
11719 (eshell-command): Check history module is active before using it.
11720
d361bc10
GM
11721 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11722
85d090a9
LL
117232013-05-22 Leo Liu <sdl.web@gmail.com>
11724
11725 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11726
5d0acd9d
MA
117272013-05-22 Michael Albinus <michael.albinus@gmx.de>
11728
11729 * autorevert.el (auto-revert-notify-add-watch)
11730 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11731 it indicates changes in file modification time.
11732
0cdffd7d
GM
117332013-05-22 Glenn Morris <rgm@gnu.org>
11734
ca5995ec
GM
11735 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11736 Always delete the autoloaded function from the noruntime and
11737 unresolved functions lists.
11738
6450907e
GM
11739 * allout.el: No need to load epa, epg, overlay when compiling.
11740 (epg-context-set-passphrase-callback, epg-list-keys)
11741 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11742 (epg-key-user-id-list): Declare.
11743
9c6906f6
GM
11744 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11745 (viper-set-parsing-style-toggling-macro)
11746 (viper-set-emacs-state-searchstyle-macros):
11747 Use called-interactively-p on Emacs.
11748 (viper-looking-back): Make it an obsolete alias. Update callers.
11749 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11750 Use looking-back rather than viper-looking-back.
11751 (viper-tmp-insert-at-eob, viper-enlarge-region)
11752 (viper-read-string-with-history, viper-register-to-point)
11753 (viper-append-to-register, viper-change-state-to-vi)
11754 (viper-backward-char-carefully, viper-forward-char-carefully)
11755 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11756 (viper-change-state-to-emacs): Declare.
11757 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11758 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11759 * emulation/viper-mous.el: Do not load viper-cmd.
11760 (viper-backward-char-carefully, viper-forward-char-carefully)
11761 (viper-forward-word, viper-adjust-window): Declare.
11762
5f70c169
GM
11763 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11764
b1b7f300
GM
11765 * progmodes/idlw-help.el (idlwave-help-fontify):
11766 Use called-interactively-p.
11767
f6ebbb46
GM
11768 * term/w32console.el (w32-get-console-codepage)
11769 (w32-get-console-output-codepage): Declare.
11770
0cdffd7d
GM
11771 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11772 Remove unnecessary declarations.
11773 (dframe-message): Doc fix.
11774
11775 * info.el (dframe-select-attached-frame, dframe-current-frame):
11776 Declare.
11777
11778 * speedbar.el (speedbar-message): Make it an obsolete alias.
11779 Update all callers.
11780 (speedbar-with-attached-buffer)
11781 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11782 (speedbar-with-writable): Use backquote.
11783 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11784 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11785 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11786 rather than speedbar- aliases.
11787 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11788 (speedbar-make-specialized-keymap, speedbar-insert-button)
11789 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11790 (speedbar-do-function-pointer): Declare.
11791 (rmail-speedbar-button, rmail-speedbar-find-file)
11792 (rmail-speedbar-move-message):
11793 Use dframe-with-attached-buffer rather than speedbar- alias.
11794 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11795 (dframe-message, speedbar-make-specialized-keymap)
11796 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11797 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11798 (speedbar-insert-button, dframe-select-attached-frame)
11799 (dframe-maybee-jump-to-attached-frame)
11800 (speedbar-change-initial-expansion-list)
11801 (speedbar-previously-used-expansion-list-name): Declare.
11802 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11803 Use dframe-message, dframe-with-attached-buffer rather than
11804 speedbar- aliases.
11805 (gud-sentinel): Silence compiler.
11806 * progmodes/vhdl-mode.el (speedbar-refresh)
11807 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11808 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11809 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11810 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11811 (speedbar-file-lists, speedbar-make-tag-line)
11812 (speedbar-line-directory, speedbar-goto-this-file)
11813 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11814 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11815 (speedbar-make-button, speedbar-reset-scanners)
11816 (speedbar-files-item-info, speedbar-line-text)
11817 (speedbar-find-file-in-frame, speedbar-set-timer)
11818 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11819 (speedbar-with-writable): Do not (re)define it.
11820 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11821 rather than speedbar- alias.
11822
ee44b62a
LL
118232013-05-21 Leo Liu <sdl.web@gmail.com>
11824
11825 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11826 menu items.
11827 (octave-mode): Tweak fill-nobreak-predicate.
11828 (inferior-octave-startup): Check process to avoid infinite loop.
11829 (inferior-octave): Pop to buffer first to show abornmal process
11830 exit information.
11831
640f050f
GM
118322013-05-21 Glenn Morris <rgm@gnu.org>
11833
79458038
GM
11834 * printing.el (pr-menu-bar): Define when compiling.
11835
9cc3e83f
LL
118362013-05-21 Leo Liu <sdl.web@gmail.com>
11837
11838 * progmodes/octave.el (octave-auto-fill): Remove.
11839 (octave-indent-new-comment-line): Improve.
11840 (octave-mode): Use auto fill mode through
4f405069 11841 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11842 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11843 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11844 (octave-help): Show parent directory.
11845
f440830d
GM
118462013-05-21 Glenn Morris <rgm@gnu.org>
11847
11848 * files.el (dired-unmark):
11849 * progmodes/gud.el (gdb-input): Update declarations.
11850
11851 * calculator.el (electric, ehelp): No need to load when compiling.
11852 (Electric-command-loop, electric-describe-mode): Declare.
11853
11854 * doc-view.el (doc-view-current-converter-processes): Move before use.
11855
11856 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11857 Move MODE-set-explicitly definition before use.
11858
11859 * international/mule-diag.el (mule-diag):
11860 Don't use obsolete window-system-version.
11861
11862 * mail/feedmail.el (smtpmail): No need to load when compiling.
11863 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11864
11865 * mail/mail-utils.el (rfc822): No need to load when compiling.
11866 (rfc822-addresses): Autoload it.
11867 (mail-strip-quoted-names): Trivial simplification.
11868
11869 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11870 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11871
11872 * net/snmp-mode.el (tempo): Don't duplicate requires.
11873
11874 * progmodes/prolog.el (info): No need to load when compiling.
11875 (comint): Require before shell requires it.
11876 (Info-goto-node): Autoload it.
11877 (Info-follow-nearest-node): Declare.
11878 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11879
11880 * textmodes/artist.el (picture-mode-exit): Declare.
11881
11882 * textmodes/reftex-parse.el (reftex-parse-from-file):
11883 Trivial rewrite so the compiler can parse it better.
11884
b4da2cbb
LL
118852013-05-20 Leo Liu <sdl.web@gmail.com>
11886
11887 * progmodes/octave.el (octave-help-mode-map)
11888 (octave-help-mode-finish-hook): New variables.
11889 (octave-help-mode, octave-help-mode-finish): New functions.
11890 (octave-help): Use octave-help-mode.
11891
33c0f65b
GM
118922013-05-20 Glenn Morris <rgm@gnu.org>
11893
11894 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11895
1a0a0a8a
DG
118962013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11897
11898 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11899 start at point, so that expansion starting right after opening
11900 slash in a regexp is recognized.
11901 (ruby-syntax-before-regexp-re): New defvar, extracted from
11902 ruby-syntax-propertize-function. Since the value of this regexp
11903 is looked up at runtime now, we should be able to turn
11904 `ruby-syntax-methods-before-regexp' into a defcustom later.
11905 (ruby-syntax-propertize-function): Split regexp matching into two
11906 parts, for opening and closing slashes. That allows us to skip
11907 over string interpolations and support multiline regexps.
11908 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11909 for them, which calls `ruby-syntax-propertize-expansion'.
11910 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11911 call to `ruby-syntax-propertize-function'.
11912 (ruby-syntax-propertize-expansion): Extracted from
11913 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
11914 (ruby-syntax-propertize-percent-literal): Leave point right after
11915 the percent symbol, so that the expression expansion rule can
11916 propertize the contents.
462388b6
DG
11917 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11918 heredoc openers.
11919 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 11920
c1a6c0a4
JL
119212013-05-18 Juri Linkov <juri@jurta.org>
11922
11923 * man.el (Man-default-man-entry): Remove `-' from the end
11924 of the default value. (Bug#14400)
11925
8051fccd
GM
119262013-05-18 Glenn Morris <rgm@gnu.org>
11927
11928 * comint.el (comint-password-prompt-regexp):
11929 Allow "password for XXX" where XXX contains colons (eg https://...).
11930
5e80b74f
LL
119312013-05-18 Leo Liu <sdl.web@gmail.com>
11932
11933 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 11934 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
11935 (octave-source-directories): Don't check process.
11936 (octave-source-directories, octave-find-definition): Doc fix.
11937
521a54c5
GM
119382013-05-18 Glenn Morris <rgm@gnu.org>
11939
86a94b05
GM
11940 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11941 Remove backspace/delete bindings. (Bug#14392)
11942
521a54c5
GM
11943 * cus-dep.el (custom-make-dependencies): Sort the output.
11944 (custom-versions-load-alist): Convert comment to doc.
11945
42caeb89
LL
119462013-05-17 Leo Liu <sdl.web@gmail.com>
11947
11948 * newcomment.el (comment-search-backward): Stricter in finding
11949 comment start. (Bug#14303)
11950
11951 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11952 (octave-comment-start-skip): Properly anchored.
11953
e219dd97
LL
119542013-05-17 Leo Liu <sdl.web@gmail.com>
11955
fe1eb856
RS
11956 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11957 Clean up when turned off. (Bug#14395)
e219dd97
LL
11958 (smie--highlight-matching-block-overlay): No longer buffer-local.
11959 (smie-highlight-matching-block): Adjust.
11960
dc5dcb4b
PE
119612013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11962
11963 Doc string fix for "nanoseconds" (Bug#14406).
11964 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11965 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11966
1db165f0
JB
119672013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11968
11969 * calc/calc-units.el (math-extract-units): Preserve powers
11970 of units.
11971
c7a8fcac
LL
119722013-05-17 Leo Liu <sdl.web@gmail.com>
11973
11974 * subr.el (delete-consecutive-dups): New function.
11975 * ido.el (ido-set-matches-1): Use it.
11976 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11977 * ido.el (ido-remove-consecutive-dups): Remove.
11978
f678b18a
SM
119792013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11980
11981 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11982 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11983 regexp-opt's `words'.
11984
ebfe68e8
LL
119852013-05-16 Leo Liu <sdl.web@gmail.com>
11986
11987 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11988 (smie--highlight-matching-block-overlay)
11989 (smie--highlight-matching-block-lastpos)
11990 (smie--highlight-matching-block-timer): New variables.
11991 (smie-highlight-matching-block): New function.
11992 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11993 (smie-setup): Conditionally enable smie-blink-matching-open.
11994
bc8bc17d
WS
119952013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11996
11997 Sync with upstream verilog-mode r840.
11998 * progmodes/verilog-mode.el (verilog-mode-version)
11999 (verilog-mode-release-date): Update.
12000 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12001 (verilog-sig-tieoff): Fix string error on
12002 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12003 (verilog-read-decls): Fix parameters confusing
12004 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12005
df065a0b
EZ
120062013-05-16 Eli Zaretskii <eliz@gnu.org>
12007
12008 * subr.el (reveal-filename): New function.
12009
12010 * loadup.el: Compute Emacs executable versions on MS-Windows,
12011 where executables have the .exe extension. Add a hard link
12012 emacs-XX.YY.ZZ.exe on MS-Windows.
12013
12014 * Makefile.in (XARGS_LIMIT): New variable.
12015 (custom-deps, finder-data, autoloads)
12016 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12017 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12018 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12019 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12020
2d4bf34b
LL
120212013-05-16 Leo Liu <sdl.web@gmail.com>
12022
12023 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12024 (octave-mode-menu, octave-mode-map): Remove its uses.
12025
6b9c2d85
RZ
120262013-05-16 Reto Zimmermann <reto@gnu.org>
12027
12028 Sync with upstream vhdl mode v3.34.2.
12029 * progmodes/vhdl-mode.el: Use `push' throughout.
12030 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12031 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12032 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12033 (vhdl-actual-generic-name): New option to derive actual generic name.
12034 (vhdl-port-paste-signals): Replace formal by actual generics.
12035 (vhdl-beautify): New name for old group vhdl-align. Update users.
12036 (vhdl-beautify-options): New option.
12037 (vhdl-last-input-event): New compat alias. Use throughout.
12038 (vhdl-goto-line): Replace user level function `goto-line'.
12039 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12040 vhdl-fix-statement-buffer.
12041 (vhdl-create-mode-menu): Add some entries.
12042 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12043 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12044 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12045 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12046 to force statements on one line.
12047 (vhdl-remove-trailing-spaces-region):
12048 New, split from vhdl-remove-trailing-spaces.
12049 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12050 Respect vhdl-beautify-options.
12051 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12052 (vhdl-update-sensitivity-list): Not add with index if exists without.
12053 Not include array index with signal. Ignore keywords in comments.
12054 (vhdl-get-visible-signals): Regexp tweaks.
12055 (vhdl-template-component-inst): Handle empty library.
12056 (vhdl-template-type): Add template for 'enum' type.
12057 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12058 Use vhdl-replace-string.
12059 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12060 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12061 (vhdl-speedbar-initialize): Update for above name change.
12062 (vhdl-compose-wire-components): Fix in handling of constants.
12063 (vhdl-error-regexp-emacs-alist): New variable.
12064 (vhdl-error-regexp-add-emacs): New function;
12065 adds support for new compile.el (Emacs 22+)
12066 (vhdl-generate-makefile-1): Change target order for single lib. units.
12067 Allow use of absolute file names.
12068
9df4ec5e
LL
120692013-05-16 Leo Liu <sdl.web@gmail.com>
12070
12071 * simple.el (prog-indent-sexp): Indent enclosing defun.
12072
f5ba00a6
GM
120732013-05-15 Glenn Morris <rgm@gnu.org>
12074
ed8be7ff
GM
12075 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12076 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12077 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12078 (whitespace-highlight): Move to whitespace group.
12079
12080 * comint.el (comint-source):
12081 * pcmpl-linux.el (pcmpl-linux):
12082 * shell.el (shell-faces):
12083 * eshell/esh-opt.el (eshell-opt):
12084 * international/ccl.el (ccl): Remove empty custom groups.
12085
12086 * completion.el (dynamic-completion-mode):
12087 * jit-lock.el (jit-lock-debug-mode):
12088 * minibuffer.el (completion-in-region-mode):
12089 * type-break.el (type-break-mode-line-message-mode)
12090 (type-break-query-mode):
12091 * emulation/tpu-edt.el (tpu-edt-mode):
12092 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12093 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12094 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12095
12096 * term/xterm.el (xterm): Change parent group to terminals.
12097
12098 * master.el (master): Remove empty custom group.
12099 (master-mode): Remove unused :group argument.
12100 * textmodes/refill.el (refill): Remove empty custom group.
12101 (refill-mode): Remove unused :group argument.
12102
12103 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12104
82a7c41b
GM
12105 * cus-dep.el: Provide a feature.
12106 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12107 Don't mistakenly ignore files whose basenames match a basename
12108 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12109 Add a fallback method for getting :group.
f5ba00a6 12110
6d65486d
JL
121112013-05-15 Juri Linkov <juri@jurta.org>
12112
da547b32
JL
12113 * isearch.el (isearch-char-by-name): Rename from
12114 `isearch-insert-char-by-name'. Doc fix.
12115 (isearch-forward): Mention `isearch-char-by-name' in
12116 the docstring. (Bug#13348)
12117
6d65486d
JL
12118 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12119 `exit-minibuffer' instead of
12120 `isearch-nonincremental-exit-minibuffer'.
12121 (isearch-edit-string): Remove mention of
12122 `isearch-nonincremental-exit-minibuffer' from docstring.
12123 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12124 (isearch-forward-exit-minibuffer)
12125 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12126
c9990474
SM
121272013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12128
6e911150
SM
12129 * loadup.el: Just use unversioned DOC.
12130
c9990474
SM
12131 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12132 literals as extending to EOB.
12133 (nxml-last-fontify-end): Remove unused variable.
12134 (nxml-after-change1): Use with-silent-modifications.
12135 (nxml-extend-after-change-region): Simplify.
12136 (nxml-extend-after-change-region1): Remove function.
12137 (nxml-after-change1): Don't adjust for dependent regions.
12138 (nxml-fontify-matcher): Simplify.
12139 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12140 (xmltok-add-dependent): Remove function.
12141 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12142 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12143 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12144 unclosed <[[, <?, comment, and other literals as extending to EOB.
12145 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12146 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12147 Remove functions.
12148 (rng-do-some-validation-1): Don't mark dependent regions.
12149 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12150 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12151 (nxml-clear-dependent-regions): Remove functions.
12152 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12153 (nxml-ensure-scan-up-to-date):
12154 Don't clear&mark dependent regions.
12155
e3772e98
LL
121562013-05-15 Leo Liu <sdl.web@gmail.com>
12157
c9990474
SM
12158 * progmodes/octave.el (octave-goto-function-definition):
12159 Improve and fix callers.
e3772e98 12160
5ac2eb34
SM
121612013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12162
c46c57b0
SM
12163 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12164 the setter (bug#14387).
12165
5ac2eb34
SM
12166 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12167 surrounding group (bug#14402).
12168
180ed218
JL
121692013-05-14 Juri Linkov <juri@jurta.org>
12170
12171 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12172 (Bug#14390)
12173
0ac0fecb
GM
121742013-05-14 Glenn Morris <rgm@gnu.org>
12175
12176 * progmodes/f90.el (f90-imenu-generic-expression):
12177 Fix typo in 2013-05-08 change. (Bug#14402)
12178
2e78e6a7
JPG
121792013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12180
5ac2eb34
SM
12181 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12182 Remove signals for which replies are never received.
2e78e6a7 12183
53267cca
JPG
121842013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12185
12186 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12187 (gdb-handler-alist, gdb-handler-number): Remove variables.
12188 (gdb-handler-list): New variable.
12189 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12190 (gdb-pending-handler-p, gdb-handle-reply)
12191 (gdb-remove-all-pending-triggers): New functions.
12192 (gdb-discard-unordered-replies): New defcustom.
12193 (gdb-handler): New defstruct.
12194 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12195 instead of gdb-pending-triggers. Update docstring.
12196 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12197 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12198 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12199 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12200 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12201 (gdb-frame-handler): Pending triggers are now automatically managed.
12202 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12203 Remove argument.
12204 (gdb-input): Automatically handles pending triggers. Update docstring.
12205 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12206 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12207 Update comments.
12208 (gdb-done-or-error): Now use gdb-handle-reply.
12209
d04ce803
JPG
122102013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12211
12212 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12213 gdb-debug-log.
12214
0114073a
GM
122152013-05-14 Glenn Morris <rgm@gnu.org>
12216
12217 * subr.el (user-emacs-directory-warning): New option.
12218 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12219
4d25fd7e
LL
122202013-05-14 Leo Liu <sdl.web@gmail.com>
12221
12222 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12223 during redisplay.
12224 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12225 (octave-font-lock-texinfo-comment): Fix invalid search bound
12226 error: wrong side of point.
4d25fd7e 12227
27c8b6eb
GM
122282013-05-14 Glenn Morris <rgm@gnu.org>
12229
61aaeb01
GM
12230 * progmodes/flymake.el (flymake-xml-program): New option.
12231 (flymake-xml-init): Use it.
12232
5bf90bc5
GM
12233 * term/xterm.el: Provide a feature.
12234
12235 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12236
f4c7dfd2
GM
122372013-05-13 Glenn Morris <rgm@gnu.org>
12238
12239 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12240 Add compat aliases as a hack workaround. (Bug#14384)
12241
2aeb3a1d
LL
122422013-05-13 Leo Liu <sdl.web@gmail.com>
12243
b0e069c2
LL
12244 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12245 ###, and %!.
f5a9432f
LL
12246 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12247 C-M-q.
b0e069c2
LL
12248 (octave-comment-start-skip): Include %!.
12249 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12250
30ea8374
LL
122512013-05-12 Leo Liu <sdl.web@gmail.com>
12252
12253 * progmodes/octave.el (inferior-octave-startup): Store the value
12254 of __octave_srcdir__ for octave-source-directories.
12255 (inferior-octave-check-process): New function refactored out of
12256 inferior-octave-send-list-and-digest.
12257 (octave-source-directories)
12258 (octave-find-definition-filename-function): New variables.
12259 (octave-source-directories)
12260 (octave-find-definition-default-filename): New functions.
12261 (octave-find-definition): Improve to find functions implemented in C++.
12262
472a3834
GM
122632013-05-12 Glenn Morris <rgm@gnu.org>
12264
12265 * calendar/diary-lib.el (diary-outlook-format-1):
12266 Don't include dayname in the output. (Bug#14349)
12267
3191b52f
GM
122682013-05-11 Glenn Morris <rgm@gnu.org>
12269
0060ac73
GM
12270 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12271
3191b52f
GM
12272 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12273 Treat cc-provide like provide.
12274
e065ba74
KR
122752013-05-11 Kevin Ryde <user42@zip.com.au>
12276
12277 * cus-dep.el (custom-make-dependencies):
12278 Use generated-autoload-load-name for the sake of files such
12279 such cedet/semantic/bovine/c.el, where the base file name
12280 is not in load-path. (Bug#5277)
12281
36f84c37
GM
122822013-05-11 Glenn Morris <rgm@gnu.org>
12283
12284 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12285 Provide features.
12286
c8730c3a
LL
122872013-05-11 Leo Liu <sdl.web@gmail.com>
12288
12289 * progmodes/octave.el (octave-indent-comment): Improve.
12290 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12291 (octave-eldoc-function-signatures, octave-eldoc-function):
12292 New functions.
c8730c3a
LL
12293 (octave-mode, inferior-octave-mode): Add eldoc support.
12294
212e29f2
RS
122952013-05-11 Richard Stallman <rms@gnu.org>
12296
12297 * epa.el (epa-decrypt-file): Take output file name as argument
12298 and read it using `interactive'.
12299
083fe0d7
LL
123002013-05-11 Leo Liu <sdl.web@gmail.com>
12301
12302 * progmodes/octave.el (octave-beginning-of-line)
12303 (octave-end-of-line): Check before using up-list because it jumps
12304 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12305 (octave-indent-comment): New function.
12306 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12307 (octave-begin-keywords, octave-end-keywords)
12308 (octave-reserved-words, octave-smie-bnf-table)
12309 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12310
8582e4c4
GM
123112013-05-11 Glenn Morris <rgm@gnu.org>
12312
f20def1f
GM
12313 * faces.el (internal-face-x-get-resource):
12314 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12315 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12316 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12317 Fix declarations.
f20def1f 12318
445f95e2
GM
12319 * calc/calc-menu.el: Make it loadable in isolation.
12320
12321 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12322 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12323 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12324 (eudc-bbdb-query-internal): Require 'bbdb.
12325
99fb2756
GM
12326 * lpr.el (lpr-headers-switches):
12327 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12328
12329 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12330
0da7ad96
GM
12331 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12332
8582e4c4
GM
12333 * term.el (term-set-escape-char): Make it idempotent.
12334
f71c50d0
LL
123352013-05-10 Leo Liu <sdl.web@gmail.com>
12336
5ac2eb34
SM
12337 * progmodes/octave.el (inferior-octave-completion-table):
12338 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12339 completion due to bug#11906.
12340 (octave-beginning-of-defun): Re-write to be more general.
12341
d5837773
GM
123422013-05-10 Glenn Morris <rgm@gnu.org>
12343
12344 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12345
027c0f75
SM
123462013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * comint.el (comint-redirect-send-command-to-process): Use :around
12349 rather than :override for comint-redirect-filter.
12350 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12351 Call it instead of comint-redirect-original-filter-function (which
12352 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12353
4465bfb4
JD
123542013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12355
12356 * frame.el (display-monitor-attributes-list): Add NS case.
12357 (ns-display-monitor-attributes-list): Declare.
12358
2d809ffa 123592013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12360
12361 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12362
e54eeb9b
GM
123632013-05-09 Glenn Morris <rgm@gnu.org>
12364
56cd351d
GM
12365 * international/fontset.el (vertical-centering-font-regexp):
12366 Set standard-value.
12367
d84b6108
GM
12368 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12369
a931698a
GM
12370 * bookmark.el (bookmark-search-delay):
12371 * cus-start.el (vertical-centering-font-regexp):
12372 * ps-mule.el (ps-mule-font-info-database-default):
12373 * ps-print.el (ps-default-fg, ps-default-bg):
12374 * type-break.el (type-break-good-break-interval):
12375 * whitespace.el (whitespace-indentation-regexp)
12376 (whitespace-space-after-tab-regexp):
12377 * emacs-lisp/testcover.el (testcover-1value-functions)
12378 (testcover-noreturn-functions, testcover-progn-functions)
12379 (testcover-prog1-functions):
12380 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12381 * eshell/em-glob.el (eshell-glob-translate-alist):
12382 * play/tetris.el (tetris-tty-colors):
12383 * progmodes/cpp.el (cpp-face-default-list):
12384 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12385 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12386 (idlwave-help-browser-generic-args):
12387 * progmodes/make-mode.el (makefile-special-targets-list):
12388 * progmodes/python.el (python-shell-virtualenv-path):
12389 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12390 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12391 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12392 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12393 * textmodes/reftex-vars.el (reftex-format-label-function):
12394 * textmodes/remember.el (remember-diary-file): Fix custom types.
12395
e54eeb9b
GM
12396 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12397 Add :version.
12398
455851dd
LL
123992013-05-09 Leo Liu <sdl.web@gmail.com>
12400
12401 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12402 Restore file completion. (Bug#14300)
455851dd
LL
12403 (inferior-octave-startup): Fix incorrect highlighting for the
12404 first prompt.
12405
a9e4425b
SM
124062013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12407
12408 * progmodes/ruby-mode.el: First cut at SMIE support.
12409 (ruby-use-smie): New var.
12410 (ruby-smie-grammar): New constant.
12411 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12412 (ruby-smie--forward-token, ruby-smie--backward-token)
12413 (ruby-smie-rules): New functions.
12414 (ruby-mode-variables): Setup SMIE if applicable.
12415
060ca408
EZ
124162013-05-08 Eli Zaretskii <eliz@gnu.org>
12417
12418 * simple.el (line-move-visual): Signal beginning/end of buffer
12419 only if vertical-motion moved less than it was requested. Avoids
12420 silly incorrect error messages when there are display strings with
12421 multiple newlines at EOL.
12422
1d5963cc
SM
124232013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12426 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12427 (prolog-char-quote-workaround):
12428 * progmodes/cperl-mode.el (cperl-under-as-char):
12429 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12430 Mark as obsolete.
12431 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12432 their declaration.
12433 (vhdl-mode-syntax-table-init): Remove.
12434
c9990474
SM
12435 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12436 last change.
1d5963cc
SM
12437
12438 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12439 syntax for "_".
12440 (ld-script-font-lock-keywords):
12441 Change regexps to use things like \_< and \_>.
12442
12443 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12444 Change all regexps to use things like \_< and \_>.
12445
12446 * progmodes/autoconf.el (autoconf-definition-regexp)
12447 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12448 Handle a _ with symbol syntax.
12449 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12450
c9990474
SM
12451 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12452 Consolidate declaration.
1d5963cc
SM
12453 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12454 the declaration.
12455 (ada-create-syntax-table): Remove.
12456 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12457 already has the right syntax nowadays.
12458 (ada-goto-next-word): Don't change the syntax of "_".
12459
12460 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12461 with-wrapper-hook.
12462
72d3cfca
SS
124632013-05-08 Sam Steingold <sds@gnu.org>
12464
12465 * thingatpt.el (thing-at-point): Accept optional second argument
12466 NO-PROPERTIES to strip the text properties from the return value.
12467 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12468 to `thing-at-point' instead of stripping the properties ourselves.
12469 Also, when `thing-at-point' fails to find a url, prepend "http://"
12470 to the filename at point on the assumption that the user is
12471 pointing at something like gnu.org/gnu.
12472
5cb15713
JB
124732013-05-08 Juanma Barranquero <lekktu@gmail.com>
12474
12475 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12476 * faces.el (crm-separator):
12477 Silence byte-compiler.
12478
12479 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12480 (tool-bar-map): Remove unneeded defvars.
12481
ea78b95b
LL
124822013-05-08 Leo Liu <sdl.web@gmail.com>
12483
12484 Re-work a fix for bug#10994 based on Le Wang's patch.
12485 * ido.el (ido-remove-consecutive-dups): New helper.
12486 (ido-completing-read): Use it.
12487 (ido-chop): Revert fix for bug#10994.
12488
dc7466df
AS
124892013-05-08 Adam Spiers <emacs@adamspiers.org>
12490
12491 * cus-edit.el (custom-save-variables):
12492 Pretty-print long values. (Bug#14187)
12493
9ecf672a
GM
124942013-05-08 Glenn Morris <rgm@gnu.org>
12495
12496 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12497 (m4-mode-syntax-table): Init in the defvar.
12498 (m4-mode-abbrev-table): Let define-derived-mode define it.
12499
3f555be8
TT
125002013-05-08 Tom Tromey <tromey@redhat.com>
12501
12502 * progmodes/m4-mode.el (m4-mode-syntax-table):
12503 Do not treat "_" as word constituent. (Bug#14167)
12504
7cc8ae06
GM
125052013-05-07 Glenn Morris <rgm@gnu.org>
12506
4f58bc06
GM
12507 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12508 Remove explicit eshell-isearch-cancel-map.
12509
7cc8ae06
GM
12510 * progmodes/f90.el (f90-smart-end-names): New option.
12511 (f90-smart-end): Doc fix.
12512 (f90-end-block-optional-name): New constant.
12513 (f90-block-match): Respect f90-smart-end-names.
12514
ceb57e59
SM
125152013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12516
12517 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12518 about implicit semi-colons (bug#14218).
12519
4e3f9230
YM
125202013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12521
12522 * frame.el (display-monitor-attributes-list)
12523 (frame-monitor-attributes): New functions.
12524
203a5572
LL
125252013-05-06 Leo Liu <sdl.web@gmail.com>
12526
12527 * progmodes/octave.el (octave-syntax-propertize-function): Change
12528 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12529 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12530 (octave-completion-at-point): Rename from
203a5572
LL
12531 octave-completion-at-point-function.
12532 (inferior-octave-directory-tracker): Robustify.
12533 (octave-text-functions): Remove and fix its uses. No such things
12534 any more.
12535
ee6cff99
SM
125362013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12537
12538 * emacs-lisp/trace.el (trace--display-buffer): New function.
12539 (trace-make-advice): Use it.
12540
32985194
JL
125412013-05-06 Juri Linkov <juri@jurta.org>
12542
12543 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12544 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12545 Doc fix.
12546 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12547 in the help string. (Bug#12985)
12548
a1c700de
KD
125492013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12550
12551 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12552
c67c0839
SM
125532013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12554
323885fd
SM
12555 * progmodes/perl-mode.el: Add support for here documents.
12556 (perl-syntax-propertize-function): Match here-doc markers.
12557 (perl-syntax-propertize-special-constructs): Find their end.
12558 (perl-imenu-generic-expression): Use [:alnum:].
12559
c67c0839
SM
12560 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12561 (advice--add-function): Refresh the advice if already present
12562 (bug#14317).
12563
d491e7a8
IA
125642013-05-06 Ivan Andrus <darthandrus@gmail.com>
12565
12566 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12567
ddf9925e
GM
125682013-05-06 Glenn Morris <rgm@gnu.org>
12569
7cc3af27
GM
12570 * w32-fns.el (w32-charset-info-alist): Declare.
12571
16e343d6
GM
12572 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12573 of its defcustom properties.
12574 (eshell-cmpl-initialize): No need to load pcomplete.
12575
7d889a47
GM
12576 * generic-x.el: No need to require comint when compiling.
12577
ddf9925e
GM
12578 * net/eudc-export.el: Make it loadable without bbdb.
12579 (top-level): Use require rather than load-library.
12580 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12581 (eudc-batch-export-records-to-bbdb)
12582 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12583 Require bbdb.
12584
1e2c18df
SM
125852013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12586
12587 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12588 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12589 some tweaks, instead.
12590
02502a5f
LL
125912013-05-05 Leo Liu <sdl.web@gmail.com>
12592
12593 * progmodes/octave.el (octave-font-lock-keywords)
12594 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12595 (inferior-octave-send-list-and-digest): Improve error message.
12596 (octave-mode, inferior-octave-mode): Use setq-local.
12597 (octave-help): Set info-lookup-mode.
12598
0dc04f42
RS
125992013-05-05 Richard Stallman <rms@gnu.org>
12600
6c54491c
RS
12601 * vc/compare-w.el (compare-windows-whitespace):
12602 Treat no-break space as whitespace.
12603
0dc04f42
RS
12604 * mail/rmailsum.el (rmail-summary-rmail-update):
12605 Detect empty summary and don't change selected message.
12606 (rmail-summary-goto-msg): Likewise.
12607
df8f35df
RS
12608 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12609 Doc fixes, rename args.
12610
5356e1a3
AM
126112013-05-05 Alan Mackenzie <acm@muc.de>
12612
12613 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12614
d44014cb
JL
126152013-05-05 Juri Linkov <juri@jurta.org>
12616
12617 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12618 to not add the length of the summary segment to the return value.
12619 (Bug#14125)
12620
c129b51f
LL
126212013-05-05 Leo Liu <sdl.web@gmail.com>
12622
12623 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12624 (inferior-octave-output-filter): Remove.
12625 (octave-send-region, inferior-octave-startup): Fix callers.
12626 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12627 (octave-binary-file-extensions): New user variable.
12628 (octave-find-definition): Confirm if opening binary files.
12629 (octave-help-file): Use octave-find-definition to get the binary
12630 confirmation.
12631 (octave-help): Adjust for octave-help-file change.
12632
aa7dab97
SM
126332013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12636 Merge the two entries that handle function definitions.
12637 (pascal--syntax-propertize): New const.
12638 (pascal-mode): Use it. Use setq-local.
12639
fd3a9a6b
GM
126402013-05-04 Glenn Morris <rgm@gnu.org>
12641
12642 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12643 (diary-from-outlook): Respect diary-from-outlook-function.
12644
30c7e542
SM
126452013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12646
12647 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12648 Move the declaration from C.
12649 (read-minibuffer, eval-minibuffer): Move from C.
12650 (completion-setup-function): Avoid minibuffer-completion-contents.
12651
b54f978b
LL
126522013-05-03 Leo Liu <sdl.web@gmail.com>
12653
12654 * progmodes/octave.el (octave-font-lock-keywords): Do not
12655 dehighlight 'end' in comments or strings.
30c7e542
SM
12656 (octave-completing-read, octave-goto-function-definition):
12657 New helpers.
d4d0f9b3
LL
12658 (octave-help-buffer): New user variable.
12659 (octave-help-file, octave-help-function): New button types.
12660 (octave-help): New command and bind it to C-h ;.
12661 (octave-find-definition): New command and bind it to M-.
d74a1581 12662 (user-error): Alias to error if not defined.
b54f978b 12663
27135018
LL
126642013-05-02 Leo Liu <sdl.web@gmail.com>
12665
12666 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12667 for \. (bug#14332)
12668 (octave-font-lock-keywords): Include [ and {.
12669
0d634d3a
LL
126702013-05-02 Leo Liu <sdl.web@gmail.com>
12671
12672 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12673 (inferior-octave): Remove calling comint-mode and return the buffer.
12674 (inferior-octave-startup): Cosmetic changes.
12675
b4c8295e
LL
126762013-05-02 Leo Liu <sdl.web@gmail.com>
12677
30c7e542
SM
12678 * progmodes/octave.el (octave-syntax-propertize-function):
12679 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12680
f12ad6ec
GM
126812013-05-02 Glenn Morris <rgm@gnu.org>
12682
12683 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12684 * desktop.el (vc-dir-mode): Just autoload it here.
12685
30cac1e0
AM
126862013-05-02 Alan Mackenzie <acm@muc.de>
12687
12688 Eliminate variable c-standard-font-lock-fontify-region-function.
12689 * progmodes/cc-mode.el
12690 (c-standard-font-lock-fontify-region-function): Remove.
12691 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12692
d8ef28b1
LL
126932013-05-01 Leo Liu <sdl.web@gmail.com>
12694
2640d52e 12695 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12696 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12697 variables were removed from Octave in 2007.
d8ef28b1
LL
12698 (inferior-octave-startup): Fix uses.
12699 (comint-line-beginning-position): Remove compatibility code for
12700 emacs 21.
12701
ac63ec89
JL
127022013-05-01 Juri Linkov <juri@jurta.org>
12703
12704 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12705
9e9be37c
JL
127062013-05-01 Juri Linkov <juri@jurta.org>
12707
12708 * comint.el (comint-previous-matching-input): Don't print message
12709 "History item: %d" when `isearch-mode' is active.
12710 (comint-history-isearch-message): Print message "History item: %d"
12711 when `comint-input-ring-index' is not empty and this function is
12712 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12713
9b92c13b
LL
127142013-05-01 Leo Liu <sdl.web@gmail.com>
12715
12716 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12717 definitions. Use completion-at-point to insert keywords.
12718 (octave-abbrev-start): Remove.
12719 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12720
b12d33d7
LL
127212013-04-30 Leo Liu <sdl.web@gmail.com>
12722
12723 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12724 change.
12725
3d1c39fa
AM
127262013-04-30 Alan Mackenzie <acm@muc.de>
12727
12728 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12729 * progmodes/cc-engine.el (c-back-over-member-initializers):
12730 new function.
3d1c39fa
AM
12731 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12732 (most) member init lists.
12733
5147fc17
RS
127342013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12735
12736 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12737 variable.
12738
5b78d7fc
LL
127392013-04-30 Leo Liu <sdl.web@gmail.com>
12740
12741 * progmodes/octave.el (octave-variables): Remove. No builtin
12742 variables any more. All converted to functions.
12743 (octave-font-lock-keywords, octave-completion-at-point-function):
12744 Fix uses.
12745 (octave-font-lock-texinfo-comment): New user variable.
12746 (octave-texinfo-font-lock-keywords): New variable for texinfo
12747 comment block.
12748 (octave-function-comment-block): New face.
12749 (octave-font-lock-texinfo-comment): New function.
12750 (octave-mode): Font lock texinfo comment block.
12751
38d8527b
LL
127522013-04-29 Leo Liu <sdl.web@gmail.com>
12753
12754 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12755 indexing expression.
12756 (octave-continuation-string): Do not use \.
12757 (inferior-octave-complete-impossible): Remove.
12758 (inferior-octave-completion-table)
12759 (inferior-octave-completion-at-point): Remove its uses.
12760 (inferior-octave-startup): completion_matches was introduced to
12761 Octave in 1996 so safe to assume it.
12762 (octave-function-file-comment): Improve to follow how Octave does it.
12763 (octave-update-function-file-comment): Tweak.
12764
2ec12cb0
LL
127652013-04-29 Leo Liu <sdl.web@gmail.com>
12766
12767 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12768 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12769 (octave-function-file-comment): Fix typo.
12770 (octave-sync-function-file-names): Use read-char-choice.
12771
6eaed048
JB
127722013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12773
12774 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12775 to t for the less important warnings.
12776
3ffa2d4f
DH
127772013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12778
12779 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12780
685c9501
GM
127812013-04-27 Glenn Morris <rgm@gnu.org>
12782
12783 * vc/log-view.el (log-view-current-entry):
12784 Treat "---" separator lines as part of the following rev. (Bug#14169)
12785
0208ede7
JL
127862013-04-27 Juri Linkov <juri@jurta.org>
12787
12788 * subr.el (read-number): Doc fix about using it by interactive
12789 code letter `n'. (Bug#14254)
12790
5db9dace
JL
127912013-04-27 Juri Linkov <juri@jurta.org>
12792
12793 * desktop.el (desktop-auto-save-timeout): New option.
12794 (desktop-file-checksum): New variable.
12795 (desktop-save): Add optional arg `auto-save' and don't auto-save
12796 if nothing changed.
12797 (desktop-auto-save-timer): New variable.
12798 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12799 (after-init-hook): Call `desktop-auto-save-set-timer'.
12800 Suggested by Reuben Thomas <rrt@sc3d.org> in
12801 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12802
b7260dd4
LL
128032013-04-27 Leo Liu <sdl.web@gmail.com>
12804
12805 * progmodes/octave.el (octave-function-file-p)
12806 (octave-skip-comment-forward, octave-function-file-comment)
12807 (octave-update-function-file-comment): New functions.
12808 (octave-mode-map): Bind C-c ; to
12809 octave-update-function-file-comment.
12810 (octave-mode-menu): Add octave-update-function-file-comment.
12811 (octave-mode, inferior-octave-mode): Fix doc-string.
12812 (octave-insert-defun): Conform to Octave's coding convention.
12813 (Bug#14285)
12814
12815 * files.el (basic-save-buffer): Don't let errors in
12816 before-save-hook prevent saving buffer.
12817
c46da669
RW
128182013-04-20 Roland Winkler <winkler@gnu.org>
12819
12820 * faces.el (read-face-name): Use completing-read if arg multiple
12821 is nil.
12822
a81ee1eb
IL
128232013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12824
12825 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12826 displayed, move point to after the totals line.
12827 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12828 for the details.
12829
4fac34ce
SM
128302013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12831
12832 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12833 Add current dir to the load-path.
12834 (package-generate-autoloads): Don't rely on
12835 autoload-ensure-default-file.
12836
f6bfc063
RT
128372013-04-26 Reuben Thomas <rrt@sc3d.org>
12838
d40ab5cf
BG
12839 * textmodes/remember.el (remember-store-in-files): Document that
12840 the file name format is passed to `format-time-string'.
f6bfc063 12841
e55d3b04
LL
128422013-04-26 Leo Liu <sdl.web@gmail.com>
12843
12844 * progmodes/octave.el (octave-sync-function-file-names): New function.
12845 (octave-mode): Use it in before-save-hook.
12846
e53052d3
SM
128472013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12848
140ef50c
SM
12849 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12850 (bug#14274).
12851
e53052d3
SM
12852 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12853 \n and comment, even if it's not an implicit ; (bug#14218).
12854
af80458d 128552013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12856
12857 * subr.el (read-number): Once more use `read' rather than
12858 `string-to-number', to trap non-numeric input. (Bug#14254)
12859
af80458d 128602013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12861
12862 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12863 Use `syntax-multiline' text property consistently instead of
8a621d53 12864 `font-lock-multiline'. (Bug#14237)
70203c2e 12865
e6ea1f6c
GM
128662013-04-26 Glenn Morris <rgm@gnu.org>
12867
12868 * emacs-lisp/shadow.el (list-load-path-shadows):
12869 No longer necessary to check for duplicate simple.el, since
12870 2012-07-07 change to init_lread to not include installation lisp
12871 directories in load-path when running uninstalled. (Bug#14270)
12872
070ccca4
LL
128732013-04-26 Leo Liu <sdl.web@gmail.com>
12874
12875 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12876 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12877 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12878 octave-in-string-or-comment-p.
12879 (octave-in-comment-p, octave-in-string-p)
12880 (octave-in-string-or-comment-p): Replace defsubst with defun.
12881
9d1c5fb6
PE
128822013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12883
12884 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12885
c034abda
BG
128862013-04-25 Bastien Guerry <bzg@gnu.org>
12887
12888 * textmodes/remember.el (remember-data-directory)
12889 (remember-directory-file-name-format): Fix custom types.
12890
584ea277
LL
128912013-04-25 Leo Liu <sdl.web@gmail.com>
12892
e53052d3
SM
12893 * progmodes/octave.el (octave-completion-at-point-function):
12894 Make use of inferior octave process.
584ea277
LL
12895 (octave-initialize-completions): Remove.
12896 (inferior-octave-completion-table): New function.
12897 (inferior-octave-completion-at-point): Use it.
12898 (octave-completion-alist): Remove.
12899
1693b06a
SM
129002013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12901
12902 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12903 (opascal-mode-syntax-table): New var.
12904 (opascal-literal-kind, opascal-is-literal-end)
12905 (opascal-literal-token-at): Rewrite.
12906 (opascal--literal-start-re, opascal-font-lock-keywords)
12907 (opascal--syntax-propertize): New constants.
12908 (opascal-font-lock-defaults): Adjust.
12909 (opascal-mode): Use them. Set comment-<foo> variables as well.
12910 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12911 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12912 (delphi-other-face, opascal-other-face): Remove face variables.
12913 (opascal-save-state): Remove macro.
12914 (opascal-fontifying-progress-step): Remove constant.
12915 (opascal--ignore-changes): Remove var.
12916 (opascal-set-token-property, opascal-parse-next-literal)
12917 (opascal-is-stable-literal, opascal-complete-literal)
12918 (opascal-is-literal-start, opascal-face-of)
12919 (opascal-parse-region, opascal-parse-region-until-stable)
12920 (opascal-fontify-region, opascal-after-change)
12921 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12922 (opascal-debug-parse-region, opascal-debug-parse-window)
12923 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12924 (opascal-debug-fontify-buffer): Remove.
12925 (opascal-debug-mode-map): Adjust accordingly.
12926
be64c05d
LL
129272013-04-25 Leo Liu <sdl.web@gmail.com>
12928
12929 Merge octave-mod.el and octave-inf.el into octave.el with some
12930 cleanups.
12931 * progmodes/octave.el: New file renamed from octave-mod.el.
12932 * progmodes/octave-inf.el: Merged into octave.el.
12933 * progmodes/octave-mod.el: Renamed to octave.el.
12934
d79d37bd
TH
129352013-04-25 Tassilo Horn <tsdh@gnu.org>
12936
12937 * textmodes/reftex-vars.el
12938 (reftex-label-ignored-macros-and-environments): New defcustom.
12939
12940 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12941
ced3fc5d
SM
129422013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12943
12944 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12945 (smie-indent-keyword): Improve the check to ensure that the next
12946 comment is really on the same line.
12947 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12948
12949 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12950 semi-colons if the line is not otherwise empty (bug#14218).
12951
1c141dad
GM
129522013-04-25 Glenn Morris <rgm@gnu.org>
12953
12954 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12955
5058062a
SM
129562013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * progmodes/opascal.el (opascal-set-token-property): Rename from
12959 opascal-set-text-properties and only set `token' (bug#14134).
12960 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12961 (opascal-literal-text-properties): Remove.
12962 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12963 Adjust callers.
12964
5db9dace 129652013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12966
12967 * textmodes/remember.el (remember-handler-functions): Add an
12968 option for a new handler `remember-store-in-files'.
12969 (remember-data-directory, remember-directory-file-name-format):
12970 New options.
12971 (remember-store-in-files): New function to store remember notes
12972 as separate files within a directory.
12973
4391916c
MH
129742013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12975
12976 * progmodes/compile.el (compilation-next-error-function):
12977 Pass "formats" to compilation-find-file (bug#11777).
12978
bb7cdf58
GM
129792013-04-24 Glenn Morris <rgm@gnu.org>
12980
3b8fe752 12981 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12982 * vc/vc-hg.el (vc-hg-print-log):
12983 * vc/vc-svn.el (vc-svn-print-log):
12984 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12985
bb7cdf58
GM
12986 * vc/vc-bzr.el (vc-bzr-print-log):
12987 * vc/vc-cvs.el (vc-cvs-print-log):
12988 * vc/vc-git.el (vc-git-print-log):
12989 * vc/vc-hg.el (vc-hg-print-log):
12990 * vc/vc-mtn.el (vc-mtn-print-log):
12991 * vc/vc-rcs.el (vc-rcs-print-log):
12992 * vc/vc-sccs.el (vc-sccs-print-log):
12993 * vc/vc-svn.el (vc-svn-print-log):
12994 * vc/vc.el (vc-print-log-internal): Doc fixes.
12995
b46a056e
GM
129962013-04-23 Glenn Morris <rgm@gnu.org>
12997
12998 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12999 Remove venerable code attempting to avoid substitute-command-keys.
13000
0aecf718
TH
130012013-04-23 Tassilo Horn <tsdh@gnu.org>
13002
4391916c
MH
13003 * textmodes/reftex-vars.el (reftex-label-regexps):
13004 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13005
117f94cf
SM
130062013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13007
4391916c 13008 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13009 Use lexical-binding.
13010 (jit-lock-force-redisplay): Use markers, check buffer's continued
13011 existence and beware narrowed buffers.
13012 (jit-lock-fontify-now): Adjust call accordingly.
13013
1d829c64
SM
130142013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13017 to avoid misleading the user.
13018
72d548a9
LL
130192013-04-22 Leo Liu <sdl.web@gmail.com>
13020
13021 * info-look.el: Prefer latex2e.info. (Bug#14240)
13022
d0853629
MA
130232013-04-22 Michael Albinus <michael.albinus@gmx.de>
13024
13025 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13026
13027 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13028 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13029 (tramp-set-completion-function, tramp-parse-putty):
13030 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13031 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13032 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13033 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13034 (tramp-call-local-coding-command): Use `tramp-call-process'
13035 instead of `tramp-compat-call-process'.
13036
13037 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13038 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13039 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13040 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13041 (tramp-maybe-send-script): Check for Perl binary.
13042 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13043
38cc0210
DU
130442013-04-22 Daiki Ueno <ueno@gnu.org>
13045
13046 * epg.el (epg-context-pinentry-mode): New function.
13047 (epg-context-set-pinentry-mode): New function.
13048 (epg--start): Pass --pinentry-mode option to gpg command.
13049
cc641ee1
XF
130502013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13051
02d844b5 13052 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13053 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13054 `completion-at-point'. (Bug#13774)
5d4e5c31 13055
cc641ee1
XF
13056 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13057 default key binding for `describe-distribution' has been moved to
13058 `C-h C-o'. (Bug#13970)
13059
1b42ee43
GM
130602013-04-21 Glenn Morris <rgm@gnu.org>
13061
13062 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13063 Add doc strings.
13064 (vc-print-log): Clarify interactive prompt.
13065
a6d63d97
GM
130662013-04-20 Glenn Morris <rgm@gnu.org>
13067
13068 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13069 No longer include timestamp etc information.
13070
d7f5c16f
RW
130712013-04-20 Roland Winkler <winkler@gnu.org>
13072
13073 * faces.el (read-face-name): Bug fix, return just one face if arg
13074 multiple is nil. (Bug#14209)
13075
bcd7a0a4
SM
130762013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13077
13078 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13079 (remove-function): Autoload.
13080
13081 * comint.el (comint-redirect-original-filter-function): Remove.
13082 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13083 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13084 (vc-cvs-annotate-command):
bcd7a0a4
SM
13085 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13086 * progmodes/prolog.el (prolog-consult-compile):
13087 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13088 Use add/remove-function instead.
13089 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13090 (gud-tooltip-process-output, gud-tooltip-tips):
13091 Use add/remove-function instead.
13092 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13093 (scheme-interaction-mode, exit-scheme-interaction-mode):
13094 Use add/remove-function instead.
13095
13096 * vc/vc-dispatcher.el: Use lexical-binding.
13097 (vc--process-sentinel): Rename from vc-process-sentinel.
13098 Change last arg to be the code to run. Don't use vc-previous-sentinel
13099 and vc-sentinel-commands any more.
13100 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13101 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13102
e36b2d20 131032013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13104
bcd7a0a4 13105 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13106 Handle function names with a single character. (Bug#14111)
4d3268ba 13107
27821a89 131082013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13109
13110 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13111 for subroutines defined in an eval (bug#14182).
13112
7d688336
TV
131132013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13114
13115 * bookmark.el (bookmark-completing-read): Improve handling of empty
13116 string (bug#14176).
13117
31dcede0
SM
131182013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13121
adc31213
FEG
131222013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13123
13124 New faster Imenu implementation (bug#14058).
13125 * progmodes/python.el:
13126 (python-imenu-prev-index-position):
13127 (python-imenu-format-item-label-function)
13128 (python-imenu-format-parent-item-label-function)
13129 (python-imenu-format-parent-item-jump-label-function):
13130 New vars.
13131 (python-imenu-format-item-label)
13132 (python-imenu-format-parent-item-label)
13133 (python-imenu-format-parent-item-jump-label)
13134 (python-imenu--put-parent, python-imenu--build-tree)
13135 (python-imenu-create-index, python-imenu-create-flat-index)
13136 (python-util-popn): New functions.
13137 (python-mode): Set imenu-create-index-function to
13138 python-imenu-create-index.
13139
cdca8255
SM
131402013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13141
13142 * winner.el (winner-active-region): Use region-active-p, activate-mark
13143 and deactivate-mark (bug#14225).
13144
13145 * simple.el (deactivate-mark): Don't inline it.
13146
beb42340
MA
131472013-04-18 Michael Albinus <michael.albinus@gmx.de>
13148
13149 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13150
fc7f4d7e
TH
131512013-04-18 Tassilo Horn <tsdh@gnu.org>
13152
13153 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13154 file extensions from the archive-mode entry in order to prefer
13155 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13156
29f47822
LL
131572013-04-18 Leo Liu <sdl.web@gmail.com>
13158
13159 * bindings.el (help-event-list): Add ?\?.
13160
d36ed1c8
SM
131612013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * subr.el (with-wrapper-hook): Declare obsolete.
13164 * simple.el (filter-buffer-substring-function): New hook.
13165 (filter-buffer-substring): Use it.
13166 (filter-buffer-substring-functions): Mark obsolete.
13167 * minibuffer.el (completion-in-region-function): New hook.
13168 (completion-in-region): Use it.
13169 (completion-in-region-functions): Mark obsolete.
13170 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13171 * abbrev.el (abbrev-expand-function): New hook.
13172 (expand-abbrev): Use it.
13173 (abbrev-expand-functions): Mark obsolete.
13174 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13175 and :filter-return.
13176
04754d36
FEG
131772013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13178
13179 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13180 and do not care about match data.
13181
dd8791e9
SM
131822013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13183
13184 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13185 completion tables when completing error conditions and
13186 `declare' arguments.
13187 (lisp-complete-symbol, field-complete): Mark as obsolete.
13188 (check-parens): Unmatched parens are user errors.
13189 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13190
ffe54a13
AM
131912013-04-17 Michal Nazarewicz <mina86@mina86.com>
13192
dd8791e9
SM
13193 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13194 command changed buffer (ie. `flyspell-pre-buffer' is not current
13195 buffer), which prevents making decisions based on invalid value of
13196 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13197 cause an error when `flyspell-pre-point' was nil after switching
13198 buffers.
13199 (flyspell-post-command-hook): No longer needs to change buffers when
13200 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13201
ec7e39f2
AM
132022013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13203
13204 * textmodes/ispell.el (ispell-add-per-file-word-list):
13205 Fix `flyspell-correct-word-before-point' error when accepting
13206 words and `coment-padding' is an integer by using
13207 `comment-normalize-vars' (Bug #14214).
13208
083850a6
FEG
132092013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13210
13211 New defun movement commands.
13212 * progmodes/python.el (python-nav--syntactically)
13213 (python-nav--forward-defun, python-nav-backward-defun)
13214 (python-nav-forward-defun): New functions.
13215
619ed6e1
FEG
132162013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13217
13218 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13219 (python-syntax-context): Use named compiler-macro for backwards
13220 compatibility with Emacs 24.x.
13221
7a1beb6c
LL
132222013-04-17 Leo Liu <sdl.web@gmail.com>
13223
13224 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13225 octave-hide-process-buffer.
13226
2d3fa3e5
SM
132272013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13230 (bug#14216).
13231
7ce5be54
JPG
132322013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13233
13234 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13235 Fix adjustment of offset when receiving incomplete responses from GDB
13236 (bug#14129).
13237
351edece
SM
132382013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13239
13240 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13241 python-mode-abbrev-table.
13242 (python-skeleton-define): Adjust accordingly.
13243 (python-mode-abbrev-table): New table that inherits from it so that
13244 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13245
13246 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13247 (abbrev-symbol): Use it.
13248 (abbrev--before-point): Use it since we already handle inheritance.
13249
613f9481
LL
132502013-04-16 Leo Liu <sdl.web@gmail.com>
13251
13252 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13253 binding to info-lookup-symbol.
13254
51646b62
JB
132552013-04-16 Juanma Barranquero <lekktu@gmail.com>
13256
13257 * minibuffer.el (completion--twq-all):
13258 * term/ns-win.el (ns-initialize-window-system):
13259 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13260
efb3f01d
SM
132612013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13262
36c0a301
SM
13263 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13264 global bindings.
13265
efb3f01d
SM
13266 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13267
fb549d64
DG
132682013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13269
13270 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13271 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13272 to nil.
13273 (ruby-end-of-defun): Remove the unused arg, change the docstring
13274 to reflect that this function is only used as the value of
13275 `end-of-defun-function'.
13276 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13277 to reflect an earlier change that beginning/end-of-defun functions
13278 jump between methods in a class definition, as well as top-level
13279 functions.
13280
21e8fe2f
SM
132812013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13282
13283 * minibuffer.el (minibuffer-complete): Don't just scroll
13284 a *Completions* that's been iconified.
13285 (minibuffer-force-complete): Make sure repetitions do cycle when going
13286 through completion-in-region -> minibuffer-complete.
13287
20e527d0
AM
132882013-04-15 Alan Mackenzie <acm@muc.de>
13289
13290 Correct the placement of c-cpp-delimiters when there're #s not at
13291 col 0.
13292
13293 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13294 place a submatch around the #.
21e8fe2f
SM
13295 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13296 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13297 on the #, not BOL.
13298
dabefae5
SM
132992013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13302 (advice--member-p): New arg `name'.
13303 (advice--add-function, advice-member-p): Use it (bug#14202).
13304
85c9ab64
AM
133052013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13306
13307 Reformulate java imenu-generic-expression.
13308 The old expression contained ill formed regexps.
13309
13310 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13311 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13312 (cc-imenu-java-method-arg-regexp): New defconsts.
13313 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13314 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13315 handling of spaces in the regexp.
13316
0f821d99
AM
133172013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13318
13319 * textmodes/ispell.el (ispell-command-loop): Remove
13320 flyspell highlight of a word when ispell accepts it (bug #14178).
13321
eb922adf
MA
133222013-04-15 Michael Albinus <michael.albinus@gmx.de>
13323
13324 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13325 uses code from the previous `ange-ftp-run-real-handler'.
13326 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13327 only in case that function exist. This is needed for proper
13328 unloading of Tramp.
13329
4d9a0979
TH
133302013-04-15 Tassilo Horn <tsdh@gnu.org>
13331
13332 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13333
13334 * textmodes/reftex.el (reftex-compile-variables): Use it.
13335
a829b0dc
SM
133362013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13337
91e8293c
SM
13338 * files.el (normal-mode): Only use default major-mode if no other mode
13339 was specified.
13340
830aed4d
SM
13341 * emacs-lisp/trace.el (trace-values): New function.
13342
a829b0dc
SM
13343 * files.el: Allow : in local variables (bug#14089).
13344 (hack-local-variable-regexp): New var.
13345 (hack-local-variables-prop-line, hack-local-variables): Use it.
13346
7ae9f0fb
RW
133472013-04-13 Roland Winkler <winkler@gnu.org>
13348
13349 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13350 data before it gets modified by bibtex-beginning-of-entry.
13351
6646e848
RW
133522013-04-13 Roland Winkler <winkler@gnu.org>
13353
13354 * textmodes/bibtex.el (bibtex-url): Doc fix.
13355
133562013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13357
13358 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13359 does not visit a BibTeX file, exclude it from the list of buffers
13360 returned by bibtex-initialize.
13361
0aa3616e
SB
133622013-04-13 Stephen Berman <stephen.berman@gmx.net>
13363
13364 * window.el (split-window): Remove interactive form, since as a
13365 command this function is a special case of split-window-below.
13366 Correct doc string.
13367
011cddd6
RW
133682013-04-12 Roland Winkler <winkler@gnu.org>
13369
13370 * faces.el (read-face-name): Do not override value of arg default.
13371 Allow single faces and strings as default values. Remove those
13372 elements from return value that are not faces.
13373 (describe-face): Simplify.
13374 (face-at-point): New optional args thing and multiple so that this
13375 function can provide the same functionality previously provided by
13376 read-face-name.
13377 (make-face-bold, make-face-unbold, make-face-italic)
13378 (make-face-unitalic, make-face-bold-italic, invert-face)
13379 (modify-face, read-face-and-attribute): Use face-at-point.
13380
13381 * cus-edit.el (customize-face, customize-face-other-window)
13382 * cus-theme.el (custom-theme-add-face)
13383 * face-remap.el (buffer-face-set)
13384 * facemenu.el (facemenu-set-face): Use face-at-point.
13385
f24e0036
MA
133862013-04-12 Michael Albinus <michael.albinus@gmx.de>
13387
13388 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13389
da3cda2d
TH
133902013-04-10 Tassilo Horn <tsdh@gnu.org>
13391
13392 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13393 off leading { and trailing } from field values.
13394
15e54145
SM
133952013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13396
78ce603d
SM
13397 * emacs-lisp/timer.el (timer--check): New function.
13398 (timer--time, timer-set-function, timer-event-handler): Use it.
13399 (timer-set-idle-time): Simplify.
13400 (timer--activate): CSE.
13401 (timer-event-handler): Give more info in error message.
13402 (internal-timer-start-idle): New function, moved from C.
13403
15e54145
SM
13404 * mpc.el (mpc-proc): Add `restart' argument.
13405 (mpc-proc-cmd): Use it.
13406 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13407 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13408 less often.
13409
7144c627
MY
134102013-04-10 Masatake YAMATO <yamato@redhat.com>
13411
13412 * progmodes/sh-script.el: Implement `sh-mode' own
13413 `add-log-current-defun-function' (bug#14112).
13414 (sh-current-defun-name): New function.
13415 (sh-mode): Use the function.
13416
b39792eb
BG
134172013-04-09 Bastien Guerry <bzg@gnu.org>
13418
13419 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13420
8acdeb71
SM
134212013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13422
6fcdab68
SM
13423 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13424
8acdeb71
SM
13425 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13426 timer (bug#14156).
13427
e3e7b504
NF
134282013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13429
13430 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13431 declaration.
13432
201bb296
LL
134332013-04-07 Leo Liu <sdl.web@gmail.com>
13434
13435 * pcmpl-x.el: New file.
13436
ebb19708
DA
134372013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13438
13439 Do not set x-display-name until X connection is established.
13440 This is needed to prevent from weird situation described at
13441 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13442 * frame.el (make-frame): Set x-display-name after call to
13443 window system initialization function, not before.
13444 * term/x-win.el (x-initialize-window-system): Add optional
13445 display argument and use it.
13446 * term/w32-win.el (w32-initialize-window-system):
13447 * term/ns-win.el (ns-initialize-window-system):
13448 * term/pc-win.el (msdos-initialize-window-system):
13449 Add compatible optional display argument.
13450
33bb237a
EZ
134512013-04-06 Eli Zaretskii <eliz@gnu.org>
13452
13453 * files.el (normal-backup-enable-predicate): On MS-Windows and
13454 MS-DOS compare truenames of temporary-file-directory and of the
13455 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13456 don't fail comparison by compare-strings. Also, compare file
13457 names case-insensitively on MS-Windows and MS-DOS.
13458
134abf1f
SM
134592013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13460
13461 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13462 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13463
d695cb94
DG
134642013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13465
e3e7b504
NF
13466 * whitespace.el (whitespace-color-on, whitespace-color-off):
13467 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13468
f4ad7ea1 134692013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13470
13471 * ispell.el (ispell-set-spellchecker-params):
13472 Really set `ispell-args' for all equivs.
13473
632556e4
SM
134742013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13475
13476 * ido.el (ido-completions): Use extra elements of ido-decorations
13477 (bug#14143).
13478 (ido-decorations): Update docstring.
13479
2a417372
MA
134802013-04-05 Michael Albinus <michael.albinus@gmx.de>
13481
13482 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13483 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13484 nil during initialization, in order not to miss changes since the
13485 file was opened. (Bug#14140)
13486
fc164b0c
LL
134872013-04-05 Leo Liu <sdl.web@gmail.com>
13488
13489 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13490
0ccecc08
JB
134912013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13492
13493 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13494
51af1aa2
GM
134952013-04-04 Glenn Morris <rgm@gnu.org>
13496
13497 * electric.el (electric-pair-inhibit-predicate): Add :version.
13498
b208ebc6
SM
134992013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13500
13501 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13502 when a package is required several times (bug#14082).
13503
f3d3eaf0
RW
135042013-04-04 Roland Winkler <winkler@gnu.org>
13505
13506 * faces.el (read-face-name): Behave as promised by the docstring.
13507 Assume that arg default is a list of faces.
13508 (describe-face): Call read-face-name with list of default faces.
13509
2575da50
TV
135102013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13511
13512 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13513 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13514 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13515 the header.
13516 (bookmark-exit-hook-internal): Save even if list is empty.
13517
397703b4
YH
135182013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13519
13520 * emacs-lisp/package.el (package-pinned-packages): New var.
13521 (package--add-to-archive-contents): Obey it (bug#14118).
13522
691e26ae
AM
135232013-04-03 Alan Mackenzie <acm@muc.de>
13524
8a621d53
JB
13525 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13526 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13527
13528 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13529 parameter `not-in-delimiter'. Handle being inside comment opener.
13530 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13531 character in case we're typing a '*' after a '/'.
13532 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13533 instead by passing the parameter to c-state-pp-to-literal.
13534
13535 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13536 for elt. 7 of a parse state.
13537
4b725a70
PE
135382013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13539
13540 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13541 * international/latin1-disp.el, international/mule-util.el:
13542 * language/cyril-util.el, language/european.el, language/ind-util.el:
13543 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13544 * language/tibetan.el, language/viet-util.el:
13545 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13546
15c579f0
SM
135472013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13550 (electric-pair-post-self-insert-function): Use it.
13551 (electric-pair-default-inhibit): New function, extracted from
13552 electric-pair-post-self-insert-function.
13553
a77e2924
RW
135542013-03-31 Roland Winkler <winkler@gnu.org>
13555
13556 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13557
2bd8a4a8
SM
135582013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13559
13560 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13561
8d3655be 135622013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13563
13564 Un-indent after "pass" and "return" statements (Bug#13888)
13565 * progmodes/python.el (python-indent-block-enders): New var.
13566 (python-indent-calculate-indentation): Use it.
13567
8d3655be 135682013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13569
13570 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13571 defun. Defining it as defalias could introduce too eager
13572 byte-compiler optimization. (Bug#14030)
13573
8d3655be 135742013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13575
13576 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13577
0b1619da
LL
135782013-03-30 Leo Liu <sdl.web@gmail.com>
13579
13580 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13581 (kmacro-execute-from-register): Pass the keyboard macro to
13582 kmacro-call-macro or repeating won't work correctly.
13583
0b938190
TZ
135842013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13585
13586 * progmodes/subword.el: Back to using `forward-symbol'.
13587
13588 * subr.el (forward-whitespace, forward-symbol)
13589 (forward-same-syntax): Move from thingatpt.el.
13590
35710234
LL
135912013-03-29 Leo Liu <sdl.web@gmail.com>
13592
13593 * kmacro.el (kmacro-to-register): New command.
13594 (kmacro-execute-from-register): New function.
13595 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13596
efc0bb73
SM
135972013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13598
13599 * mpc.el: Use defvar-local and setq-local.
13600 (mpc--proc-connect): Connection failures are not bugs.
13601 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13602 (mpc-volume-map): Bind to the up-events.
13603
75a2f981
TZ
136042013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13605
13606 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13607 instead of `forward-symbol'.
13608
17c781d1
SM
136092013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13610
13611 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13612 (edebug--recursive-edit): Use it.
13613 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13614 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13615
f67bfbcf
LL
136162013-03-28 Leo Liu <sdl.web@gmail.com>
13617
13618 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13619
b59f639d
EZ
136202013-03-27 Eli Zaretskii <eliz@gnu.org>
13621
13622 * facemenu.el (list-colors-callback): New defvar.
13623 (list-colors-redisplay): New function.
13624 (list-colors-display): Install list-colors-redisplay as the
13625 revert-buffer-function. (Bug#14063)
13626
f557c1b1
SM
136272013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13628
b1da2957
SM
13629 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13630 and suffixes don't overlap (bug#14061).
13631
f557c1b1
SM
13632 * case-table.el: Use lexical-binding.
13633 (case-table-get-table): New function.
13634 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13635
002668e1
TZ
136362013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13637
13638 * progmodes/subword.el: Add `superword-mode' to do word motion
13639 over symbol_words (parallels and leverages `subword-mode' which
13640 does word motion inside MixedCaseWords).
13641
73572c72
AG
136422013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13643
78b8f320 13644 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13645 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13646
69b2c07e
SM
136472013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13648
13649 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13650 Change return value to be a sexp. Delay `get-buffer' to after
13651 restoring the desktop (bug#13951).
13652
08bb5ee2
LL
136532013-03-26 Leo Liu <sdl.web@gmail.com>
13654
13655 * register.el: Move semantic tag handling back to
13656 cedet/semantic/senator.el. (Bug#14052)
13657
8d4c974e
SM
136582013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13661 into the prompt either (bug#13963).
13662
b234d92c
SM
136632013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13664
13665 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13666 part of "(error-foo)".
13667
ddfa3cb4
JL
136682013-03-24 Juri Linkov <juri@jurta.org>
13669
13670 * replace.el (list-matching-lines-prefix-face): New defcustom.
13671 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13672 `occur-engine' if `face-differs-from-default-p' returns t.
13673 (occur-engine): Add `,' inside backquote construct to evaluate
13674 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13675 Pass `prefix-face' to the functions `occur-context-lines' and
13676 `occur-engine-add-prefix'.
13677 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13678 `prefix-face' and propertize the prefix with `prefix-face'.
13679 (Bug#14017)
13680
7b0e2f85
LL
136812013-03-24 Leo Liu <sdl.web@gmail.com>
13682
13683 * nxml/rng-valid.el (rng-validate-while-idle)
13684 (rng-validate-quick-while-idle): Guard against deleted buffer.
13685 (Bug#13999)
13686
13687 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13688 is the last entry in kill-buffer-hook.
13689
13690 * files.el (kill-buffer-hook): Doc fix.
13691
b3082f49
DG
136922013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13693
b234d92c
SM
13694 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13695 Make it safe-local.
bde73d27 13696
b3082f49
DG
13697 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13698
a320a2db
LL
136992013-03-23 Leo Liu <sdl.web@gmail.com>
13700
7e74b0fb
LL
13701 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13702 Remove.
13703
13704 * nxml/rng-valid.el (rng-validate-mode)
13705 (rng-after-change-function, rng-do-some-validation):
13706 * nxml/rng-maint.el (rng-validate-buffer):
13707 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13708 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13709 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13710 (nxml-extend-after-change-region): Use with-silent-modifications.
13711
a320a2db
LL
13712 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13713 timer-idle-list.
13714
13715 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13716 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13717 timer-idle-list. (Bug#13999)
13718
e38e6780
JL
137192013-03-23 Juri Linkov <juri@jurta.org>
13720
13721 * info.el (info-index-match): New face.
13722 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13723 main pattern and add text properties with the new face to matches
13724 in index entries relative to the beginning of the index entry.
13725 (Bug#14015)
13726
e8cc7880
DE
137272013-03-21 Eric Ludlam <zappo@gnu.org>
13728
39c87140 13729 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13730 Inhibit read only while inserting objects.
13731
9bb0d822
TZ
137322013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13733
13734 * progmodes/cfengine.el: Update docs to mention
13735 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13736 symbol motion. Remove "_" from the word syntax.
13737
aa703640
TZ
137382013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13739
13740 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13741 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13742
afff09d0
JL
137432013-03-20 Juri Linkov <juri@jurta.org>
13744
13745 * info.el (Info-next-reference-or-link)
13746 (Info-prev-reference-or-link): New functions.
13747 (Info-next-reference, Info-prev-reference): Use them.
13748 (Info-try-follow-nearest-node): Handle footnote navigation.
13749 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13750
9a1ff164
SM
137512013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13752
13753 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13754 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13755
2667d15d
PE
137562013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13757
13758 Suppress unnecessary non-ASCII chatter during build process.
13759 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13760 (batch-skkdic-convert): Suppress most of the chatter.
13761 It's not needed so much now that machines are faster,
13762 and its non-ASCII component was confusing; see Dmitry Gutov in
13763 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13764
438b0579
LL
137652013-03-20 Leo Liu <sdl.web@gmail.com>
13766
13767 * ido.el (ido-chop): Fix bug#10994.
13768
c128ab07
DG
137692013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13770
13771 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13772 Remove vars.
9a1ff164
SM
13773 (whitespace-color-on, whitespace-color-off):
13774 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13775
0e6008c5
SM
137762013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13777
13778 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13779 remapping in mode-line.
13780 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13781
627b52b0
DG
137822013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13783
13784 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13785 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13786 (whitespace-font-lock-keywords): Change description.
13787 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13788 the constructed keywords instead.
13789 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13790
50c3a20b
LL
137912013-03-19 Leo Liu <sdl.web@gmail.com>
13792
13793 * progmodes/compile.el (compilation-display-error): New command.
13794 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13795 C-o. (Bug#13992)
13796
2aa2157b
PE
137972013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13798
13799 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13800
e477dbfa
JD
138012013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13802
13803 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13804
64ab82d1
MA
138052013-03-18 Michael Albinus <michael.albinus@gmx.de>
13806
13807 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13808
13809 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13810 * net/tramp-gvfs.el (top):
13811 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13812 (tramp-handle-shell-command): Use it.
13813 (tramp-dissect-file-name): Raise an error when hostname is a
13814 method name, and neither method nor user is specified.
13815
13816 * net/trampver.el: Update release number.
13817
33cef733
LL
138182013-03-18 Leo Liu <sdl.web@gmail.com>
13819
13820 Make sure eldoc can be turned off properly.
13821 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13822 eldoc-mode.
13823 (eldoc-display-message-p): Revert last change.
13824 (eldoc-display-message-no-interference-p)
13825 (eldoc-print-current-symbol-info): Tweak.
13826
2167b7b2
TH
138272013-03-18 Tassilo Horn <tsdh@gnu.org>
13828
13829 * doc-view.el (doc-view-new-window-function): Check the new window
13830 overlay's display property instead the char property of the
13831 buffer's first char. Use `with-selected-window' instead of
13832 `save-window-excursion' with `select-window'.
13833 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13834 display property instead the char property of the buffer's first char.
2167b7b2 13835
982efbcd
PE
138362013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13837
13838 Automate the build of ja-dic.el (Bug#13984).
13839 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13840 from the input, rather than assume that it's been done for us by the
13841 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13842 the current date into a ja-dic.el comment, as that complicates
13843 regression testing.
13844
2fcc7665
SM
138452013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13846
13847 * whitespace.el: Fix double evaluation.
13848 (whitespace-space, whitespace-hspace, whitespace-tab)
13849 (whitespace-newline, whitespace-trailing, whitespace-line)
13850 (whitespace-space-before-tab, whitespace-indentation)
13851 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13852 obsolete defvars.
13853 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13854 (whitespace-color-on): Use a single font-lock-add-keywords call.
13855 Fix double-evaluation of face variables.
13856
67c0a6e6
MA
138572013-03-17 Michael Albinus <michael.albinus@gmx.de>
13858
2fcc7665
SM
13859 * net/tramp-adb.el (tramp-adb-parse-device-names):
13860 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13861 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13862
69489f1d
LL
138632013-03-17 Leo Liu <sdl.web@gmail.com>
13864
13865 Extend eldoc to display info in the mode-line. (Bug#13978)
13866 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13867 (eldoc-mode-line-string): New variable.
13868 (eldoc-minibuffer-message): New function.
13869 (eldoc-message-function): New variable.
13870 (eldoc-message): Use it.
13871 (eldoc-display-message-p)
2fcc7665
SM
13872 (eldoc-display-message-no-interference-p):
13873 Support eldoc-post-insert-mode.
69489f1d
LL
13874
13875 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13876 (eval-expression): Run it.
13877
9c44569e
RW
138782013-03-17 Roland Winkler <winkler@gnu.org>
13879
13880 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13881 strings in the list of return values.
13882
327f1f6f
JB
138832013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13884
13885 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13886 radix before checking for HMS forms.
13887
67ed8fcd
LL
138882013-03-16 Leo Liu <sdl.web@gmail.com>
13889
13890 * progmodes/scheme.el: Add indentation and font-locking for λ.
13891 (Bug#13975)
13892
78be8b64 138932013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13894
13895 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13896 token before point (bug#13942).
13897
78be8b64 138982013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13899
95b43468 13900 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13901
98e775e6
EZ
139022013-03-16 Eli Zaretskii <eliz@gnu.org>
13903
13904 * startup.el (command-line-normalize-file-name): Fix handling of
13905 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13906 <xfq.free@gmail.com> in
13907 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13908
2edd6029
MA
139092013-03-15 Michael Albinus <michael.albinus@gmx.de>
13910
13911 Sync with Tramp 2.2.7.
13912
13913 * net/trampver.el: Update release number.
13914
d35f5864
TH
139152013-03-14 Tassilo Horn <tsdh@gnu.org>
13916
e903c210 13917 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
13918 (doc-view-insert-image): Don't modify overlay associated to
13919 non-live windows, and implement horizontal centering of image in
13920 case it's smaller than the window.
13921 (doc-view-new-window-function): Force redisplay of new windows on
13922 doc-view buffers.
d35f5864 13923
1c4a85ed
KF
139242013-03-13 Karl Fogel <kfogel@red-bean.com>
13925
13926 * saveplace.el (save-place-alist-to-file): Don't sort
13927 `save-place-alist', just pretty-print it (bug#13882).
13928
85b66a21
MA
139292013-03-13 Michael Albinus <michael.albinus@gmx.de>
13930
a020afb9
JB
13931 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13932 Check whether `default-file-name-coding-system' is bound.
13933 It isn't in XEmacs.
85b66a21 13934
175600da
SM
139352013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13936
e7f7cb1a
SM
13937 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13938 backquotes for `obsolete' (bug#13929).
13939
175600da
SM
13940 * international/mule.el (find-auto-coding): Include file name in
13941 obsolescence warning (bug#13922).
13942
ca68a22e
TZ
139432013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13944
13945 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13946 for CFEngine 3-specific indentation.
13947 (cfengine3-indent-line): Use it. Fix up category regex.
13948 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13949
940e5099
SM
139502013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13951
13952 * type-break.el (type-break-file-name):
13953 * textmodes/remember.el (remember-data-file):
13954 * strokes.el (strokes-file):
13955 * shadowfile.el (shadow-initialize):
13956 * saveplace.el (save-place-file):
13957 * ps-bdf.el (bdf-cache-file):
13958 * progmodes/idlwave.el (idlwave-config-directory):
13959 * net/quickurl.el (quickurl-url-file):
13960 * international/kkc.el (kkc-init-file-name):
13961 * ido.el (ido-save-directory-list-file):
13962 * emulation/viper.el (viper-custom-file-name):
13963 * emulation/vip.el (vip-startup-file):
13964 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13965 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13966
cc725808
PE
139672013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13968
13969 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13970 * language/thai-word.el: Switch to UTF-8.
13971
a020afb9 13972See ChangeLog.16 for earlier changes.
e3d51b27
MR
13973
13974;; Local Variables:
13975;; coding: utf-8
e3d51b27
MR
13976;; End:
13977
ba318903 13978 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13979
13980 This file is part of GNU Emacs.
13981
13982 GNU Emacs is free software: you can redistribute it and/or modify
13983 it under the terms of the GNU General Public License as published by
13984 the Free Software Foundation, either version 3 of the License, or
13985 (at your option) any later version.
13986
13987 GNU Emacs is distributed in the hope that it will be useful,
13988 but WITHOUT ANY WARRANTY; without even the implied warranty of
13989 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13990 GNU General Public License for more details.
13991
13992 You should have received a copy of the GNU General Public License
13993 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.