lisp/emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
08dfa0b7
JB
12014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2
3 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4
8960529e
MR
52014-03-12 Martin Rudalics <rudalics@gmx.at>
6
7 * window.el (fit-frame-to-buffer): Get maximum width from
8 display's width instead of height.
9
8a51e8e4
GM
102014-03-12 Glenn Morris <rgm@gnu.org>
11
46456005
GM
12 * desktop.el (desktop-restore-frames)
13 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
14 (desktop-restore-reuses-frames): Doc tweaks.
15
8a51e8e4
GM
16 * electric.el (electric-indent-mode): Doc fix.
17
5983b317
JB
182014-03-12 Juanma Barranquero <lekktu@gmail.com>
19
20 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
21 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
22 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
23 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
24 (cvs-dired-use-hook): Fix docstring typos.
25 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
26 Doc fixes.
27
28 * vc/pcvs-defs.el (cvs-auto-remove-handled)
29 (cvs-auto-remove-directories, cvs-default-ignore-marks)
30 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
31 (cvs-execute-single-dir): Fix docstring typos.
32
33 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
34 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
35
36 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
37
38 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
39 Fix docstring typos.
40
13c00cf0
JB
412014-03-12 Juanma Barranquero <lekktu@gmail.com>
42
43 * frameset.el (frameset--jump-to-register): Add autoload; it could be
44 called from jump-to-register after unloading the frameset package.
45
536a17e3
SM
462014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
49 (bug#16975). Deactivate the mark before setting it to nil.
50 (activate-mark): Do nothing if region is already active.
51
baf8d0ac
JB
522014-03-11 Juanma Barranquero <lekktu@gmail.com>
53
54 * frameset.el (frameset--target-display): Remove definition; declare.
55 (frameset-save, frameset-restore): Let-bind frameset--target-display.
56
1ea22560
SM
572014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
60 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
61 when the advice is pending.
62 (advice-remove): Remove this marker when not needed any more.
63
4538c058
JB
642014-03-11 Juanma Barranquero <lekktu@gmail.com>
65
66 * frameset.el: Separate options for reusing frames and cleaning up.
67 (frameset--reuse-list): Remove definition; declare.
68 (frameset--action-map): Declare.
69 (frameset--find-frame-if): Doc fix.
70 (frameset--restore-frame): Cache frame action.
71 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
72 how to clean up the frame list after restoring. Remove cleaning
73 options from REUSE-FRAMES. Change all keyword values to symbols.
74 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
75
76 * desktop.el (desktop-restore-forces-onscreen)
77 (desktop-restore-reuses-frames): Use non-keyword values.
78 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
79
ba1a5c78
GM
802014-03-10 Glenn Morris <rgm@gnu.org>
81
776aa432
GM
82 * files.el (find-file): Doc fix: update info node name.
83
ba1a5c78
GM
84 * emacs-lisp/advice.el (ad-add-advice, defadvice):
85 Doc fix: remove references to deleted info nodes.
86
183d706e
MA
872014-03-10 Michael Albinus <michael.albinus@gmx.de>
88
89 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
90 Do not add `nil' to the environment, when there's no remote `locale'.
91 (tramp-find-inline-encoding): Check, that the remote host has
92 installed perl, before sending scripts.
93
6f0f96e7
LL
942014-03-10 Leo Liu <sdl.web@gmail.com>
95
536a17e3
SM
96 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
97 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 98
ca70fe78
SM
992014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
102 (bug#14430).
103
eb67db41
JL
1042014-03-09 Juri Linkov <juri@jurta.org>
105
106 * ansi-color.el (ansi-color-names-vector): Copy default colors
107 from `xterm-standard-colors' that look well on the default white
108 background (and also on the black background) to avoid illegible
8cf07e5a 109 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
110 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
111
e7db5447
JB
1122014-03-08 Juanma Barranquero <lekktu@gmail.com>
113
114 * frameset.el (frameset-restore): When no frame is visible, do not
115 generate a list of frames, just make visible the selected one.
116
f0a4c8d7
DG
1172014-03-08 Dmitry Gutov <dgutov@yandex.ru>
118
119 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
120 it only contains the repository root. (Bug#16897)
121
e50772e3
MA
1222014-03-07 Michael Albinus <michael.albinus@gmx.de>
123
124 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
125 only when `remote-file-name-inhibit-cache' is nil.
126 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
127
cac0a1d6
MR
1282014-03-06 Martin Rudalics <rudalics@gmx.at>
129
130 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
131 Fix doc-strings.
132 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
133 fit-frame-to-buffer variable. Fix doc-string.
134 (fit-window-to-buffer): Set ONLY argument in call of
135 fit-frame-to-buffer. Fix doc-string.
136
fa965cbf
MA
1372014-03-06 Michael Albinus <michael.albinus@gmx.de>
138
139 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
140 (tramp-action-password): Clear password cache if needed.
141 (tramp-read-passwd): Do not clear password cache.
142
143 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
144 cache unless it is the first password request.
145
c94e6ee4
GM
1462014-03-06 Glenn Morris <rgm@gnu.org>
147
03bc753e
GM
148 * simple.el (newline): Doc tweak.
149
c94e6ee4
GM
150 * emacs-lisp/shadow.el (load-path-shadows-find):
151 Ignore dir-locals. (Bug#12357)
152
bd2d43dc
GM
1532014-03-05 Glenn Morris <rgm@gnu.org>
154
155 * files.el (interpreter-mode-alist):
156 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
157
9284000e
JB
1582014-03-05 Juanma Barranquero <lekktu@gmail.com>
159
160 * frameset.el (frameset--initial-params): Filter out null entries.
161
e1a2cb1c
MR
1622014-03-05 Martin Rudalics <rudalics@gmx.at>
163
27821a89
JB
164 * window.el (window-min-height, window-min-width):
165 Rewrite doc-strings.
e1a2cb1c
MR
166 (window-body-size): Add PIXELWISE argument to make it consistent
167 with its callees.
168
6bf67038
JB
1692014-03-05 Juanma Barranquero <lekktu@gmail.com>
170
171 * finder.el (finder-mode-map, finder-mode-syntax-table):
172 Revert part of 2014-02-28 change.
173
90f04e4c
LI
1742014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
175
176 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
177 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
178 (eww-textarea-map): [tab] doesn't work on tty.
179 Reported by Mario Lang.
6952100d
LI
180
181 * net/shr.el (shr-map): Ditto.
90f04e4c 182
3106d59b
GM
1832014-03-04 Glenn Morris <rgm@gnu.org>
184
185 * minibuffer.el (completion-hilit-commonality):
186 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
187
f604dfdc
JB
1882014-03-04 Juanma Barranquero <lekktu@gmail.com>
189
190 * hilit-chg.el (hilit-chg-unload-function): New function.
191 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
192 (hilit-chg-map-changes): Prefer cardinal number to digit.
193 (hilit-chg-display-changes): Reflow docstring.
194 (highlight-changes-rotate-faces): Remove superfluous backslash.
195
5dc65319
MA
1962014-03-04 Michael Albinus <michael.albinus@gmx.de>
197
198 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
199 `tramp-send-command-and-check'.
200
4242d21d
JB
2012014-03-04 Juanma Barranquero <lekktu@gmail.com>
202
b01fa838
JB
203 * hexl.el (hexl-address-region, hexl-ascii-region)
204 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
205 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
206 (hexl-forward-word, hexl-previous-line, hexl-next-line):
207 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
208 (hexl-mode): Doc fix.
209 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
210 (hexl-mode-ruler): Fix typos in docstrings.
211
4242d21d
JB
212 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
213 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
214 Remove superfluous backslashes.
215 (strokes-last-stroke, strokes-global-map, strokes-mode):
216 Reflow docstrings.
217 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
218 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
219 (strokes-distance-squared, strokes-global-set-stroke)
220 (strokes-global-set-stroke-string): Doc fixes.
221 (strokes-help): Fix typos; reflow docstring.
222
87132570
MR
2232014-03-04 Martin Rudalics <rudalics@gmx.at>
224
225 * window.el (window-in-direction): Fix doc-string.
226
d82e752c
GM
2272014-03-04 Glenn Morris <rgm@gnu.org>
228
229 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
230 Explicit error if no grammar.
231 (smie-config-save): Doc fix. Fix quote typo.
232
62528af0
SM
2332014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
234
8d4901dc
SM
235 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
236 electric-indent-mode-hook if we obey electric-indent-mode.
237 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
238 decide whether we obey electric-indent-mode.
239 (c-change-set-fl-decl-start, c-extend-after-change-region):
240 Silence warnings.
241 (c-electric-indent-mode-hook): Assume we do want to obey
242 electric-indent-mode.
243
244 * electric.el (electric-indent-mode-has-been-called): Remove.
245 (electric-indent-mode): Fix accordingly.
246
092c12b2
SM
247 * files.el (hack-local-variables): Mention file name in warning.
248
62528af0
SM
249 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
250
5b87d0d9
MN
2512014-03-04 Michal Nazarewicz <mina86@mina86.com>
252
253 * binding.el: Add comment describing why C-d binds to `delete-char'.
254 * simple.el (delete-forward-char): Mark as interactive-only.
255
542a3840
JB
2562014-03-03 Juanma Barranquero <lekktu@gmail.com>
257
f2d2402e
GM
258 * icomplete.el (icomplete-completions):
259 Follow-up to 2014-03-01 change.
d11320e5
JB
260
261 * icomplete.el: Miscellaneous doc fixes.
262 Use Icomplete everywhere instead of icomplete for consistency.
263 (icomplete-max-delay-chars): Fix typo.
264 (icomplete-mode): Use \[].
265 (icomplete-tidy, icomplete-exhibit): Reflow.
266 (icomplete-minibuffer-setup-hook, icomplete-completions):
267 Remove superfluous backlashes.
268
269 * ido.el: Miscellaneous doc fixes.
270 Use Ido everywhere instead of ido or `ido' for consistency.
271 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
272 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
273 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
274 (ido-separator): Extract obsolescence info from docstring and declare
275 with make-obsolete-variable.
276 (ido-minibuffer-setup-hook): Simplify example.
277 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
278 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
279 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
280 (ido-everywhere): Reflow docstring.
281 (ido-toggle-vc): Doc fix.
282 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
283 of long list of keybindings.
284
7ebd57e9
GM
2852014-03-03 Glenn Morris <rgm@gnu.org>
286
287 * frame.el (display-pixel-height, display-pixel-width)
288 (display-mm-dimensions-alist, display-mm-height)
289 (display-mm-width): Doc tweaks.
290
35e951cd 2912014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
292
293 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
294 case of undo in region.
295
b923819c
MR
2962014-03-02 Martin Rudalics <rudalics@gmx.at>
297
298 * window.el (fit-window-to-buffer): Fix argument in window-size
299 call when window is horizontally combined.
300
b6e443c5
JB
3012014-03-02 Juanma Barranquero <lekktu@gmail.com>
302
303 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 304 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 305
1850913d
DG
3062014-03-01 Dmitry Gutov <dgutov@yandex.ru>
307
35e951cd
JB
308 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
309 Highlight regexp options. (Bug#16914)
1850913d 310
04b577b6
MR
3112014-03-01 Martin Rudalics <rudalics@gmx.at>
312
313 * window.el (window--max-delta-1): Round down when calculating
314 how many lines/columns we can get from a window.
315
b829360f
GM
3162014-03-01 Glenn Morris <rgm@gnu.org>
317
2501c912
GM
318 * isearch.el (search-invisible): Doc fix.
319
b829360f
GM
320 * minibuffer.el (completion-hilit-commonality):
321 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
322 * comint.el (comint-dynamic-list-completions): Doc fix.
323 * comint.el (comint-dynamic-list-completions):
324 * filecache.el (file-cache-minibuffer-complete):
325 * tempo.el (tempo-display-completions):
326 * eshell/em-hist.el (eshell-list-history):
327 Replace use of obsolete argument of display-completion-list.
328
9a155058
JB
3292014-03-01 Juanma Barranquero <lekktu@gmail.com>
330
331 * icomplete.el (icomplete-completions):
332 Revert back to using "..." when ?… cannot be displayed.
333
53f6cda8
JB
3342014-02-28 Juanma Barranquero <lekktu@gmail.com>
335
336 * finder.el (finder-unload-function): New function.
337
43977c23
JB
3382014-02-28 Juanma Barranquero <lekktu@gmail.com>
339
340 * dframe.el (dframe-detach):
341 * find-dired.el (find-dired, find-name-dired):
342 * finder.el (finder-mode-map, finder-mode-syntax-table)
343 (finder-headmark, finder-select, finder-mouse-select):
344 Fix docstring typos.
345
9dda75ad
MR
3462014-02-28 Martin Rudalics <rudalics@gmx.at>
347
348 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
349 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
350 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
351 Fix doc-string based on a suggestion by Nicolas Richard
352 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
353 * help.el (with-help-window): Fix doc-string.
354
8a73034e
IK
3552014-02-28 Ivan Kanis <ivan@kanis.fr>
356
b70257b0
GM
357 * net/shr.el (shr-image-animate): New option.
358 (shr-put-image): Respect shr-image-animate.
8a73034e 359
245aa73e
MA
3602014-02-28 Michael Albinus <michael.albinus@gmx.de>
361
362 * net/tramp-adb.el (tramp-adb-parse-device-names):
363 Use `accept-process-output'.
364 (tramp-adb-handle-file-truename): Cache the localname only.
365 (tramp-adb-handle-make-directory)
366 (tramp-adb-handle-delete-directory): Flush file properties correctly.
367 (tramp-adb-handle-set-file-modes): Do not raise an error when file
368 modes cannot be changed.
369
370 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
371 file properties of symlinks.
372
48e15d64
PS
3732014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
374
375 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
376 required/optional fields to match development biblatex. (Bug#16781)
377
65b77347
AS
3782014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
379
380 * saveplace.el (toggle-save-place):
381 Fix argument handling. (Bug#16673)
382
5e618aba
GM
3832014-02-28 Glenn Morris <rgm@gnu.org>
384
385 * minibuffer.el (completions-first-difference)
386 (completions-common-part, completion-hilit-commonality): Doc fixes.
387
6deb314e
KB
3882014-02-28 Karl Berry <karl@gnu.org>
389
390 * info.el (Info-mode-map): Add H for describe-mode,
391 to synchronize with standalone Info.
392
289996f5
EL
3932014-02-28 Emilio C. Lopes <eclig@gmx.net>
394
395 * progmodes/sql.el (sql-interactive-mode):
396 Avoid setting global comint-input-ring-separator. (Bug#16814)
397
79fc1191
MA
3982014-02-27 Michael Albinus <michael.albinus@gmx.de>
399
400 * net/dbus.el (dbus--init-bus): Declare function.
401 (dbus-path-local, dbus-interface-local): New defconst.
402 (dbus-init-bus): Use them.
403 (dbus-return-values-table): Extend doc.
404 (dbus-handle-bus-disconnect): Extend error message.
405
298520df
JB
4062014-02-27 Juanma Barranquero <lekktu@gmail.com>
407
408 * subr.el (y-or-n-p): Fix double space issue in message.
409
c22c1614
MA
4102014-02-27 Michael Albinus <michael.albinus@gmx.de>
411
412 * net/tramp.el (tramp-call-process): Improve trace message.
413 (tramp-handle-insert-file-contents): Trace error case.
414
415 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
416 <insert-directory>: Use `tramp-handle-insert-directory'.
417 (tramp-adb-handle-insert-directory): Remove function.
418 (tramp-adb-send-command-and-check): New defun, replacing
419 `tramp-adb-command-exit-status'. Change all callees.
420 (tramp-adb-handle-file-attributes)
421 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
422 (tramp-adb-ls-output-name-less-p):
423 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
424 (tramp-adb-handle-delete-directory): Flush also file properties of
425 the truename of directory.
426 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
427 (tramp-adb-handle-file-local-copy): Make the local copy readable.
428 (tramp-adb-handle-write-region): Implement APPEND.
429 (tramp-adb-handle-rename-file): Make it more robust. Flush file
430 properties correctly.
431 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
432 variables. Check for connected devices only when needed.
433
d9263618
GM
4342014-02-27 Glenn Morris <rgm@gnu.org>
435
ea7826ba
GM
436 * minibuffer.el (completion-table-dynamic)
437 (completion-table-with-cache): Doc fixes.
438
d9263618
GM
439 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
440 (completing-read-multiple): Doc fixes.
441
eff3168a
DC
4422014-02-27 Daniel Colascione <dancol@dancol.org>
443
51f213c3
DC
444 * minibuffer.el (completion--nth-completion): Fix indentation.
445
eff3168a
DC
446 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
447 explicit tramp path is empty.
448
b77cfcd7
GM
4492014-02-27 Glenn Morris <rgm@gnu.org>
450
451 * emacs-lisp/crm.el (completing-read-multiple):
452 Empower help-enable-auto-load.
453
9577b569
GM
4542014-02-26 Glenn Morris <rgm@gnu.org>
455
259887e8
GM
456 * startup.el (command-line): Don't init the tty in daemon mode.
457
1d491ef2
GM
458 Avoid calling tty-setup-hook twice, eg if a term file
459 explicitly calls tty-run-terminal-initialization. (Bug#16859)
460 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
461 (tty-create-frame-with-faces): Use it.
462 * startup.el (command-line): Pass run-hook argument
463 to tty-run-terminal-initialization.
464
9577b569
GM
465 * dired.el (dired-restore-desktop-buffer): Demote errors;
466 eg in case a glob match fails. (Bug#16884)
467
40ff7f86
DG
4682014-02-26 Dmitry Gutov <dgutov@yandex.ru>
469
b2388336
DG
470 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
471 error from `read-from-string'. (Bug#16850)
472
40ff7f86
DG
473 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
474 result of `completing-read' in the interactive form. (Bug#16854)
475
98bd6b32
GM
4762014-02-25 Glenn Morris <rgm@gnu.org>
477
f086804c
GM
478 * image.el (image-animate, image-animate-timeout):
479 Stop animating images in dead buffers. (Bug#16878)
480
c107155e
GM
481 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
482
9577b569
GM
483 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
484 Doc fixes.
98bd6b32
GM
485 * startup.el (term-setup-hook): Doc fix. Make obsolete.
486 * term/sun.el (sun-raw-prefix-hooks):
487 Use tty-setup-hook instead of term-setup-hook.
488 (terminal-init-sun): Construct message from bytecomp plist.
489 * term/wyse50.el (enable-arrow-keys): Doc fix.
490
9c9e18e8
JB
4912014-02-24 Juanma Barranquero <lekktu@gmail.com>
492
493 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
494 Fix docstring typos.
495
c848881f
MA
4962014-02-24 Michael Albinus <michael.albinus@gmx.de>
497
498 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
499
0e38ae05
NR
5002014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
501
502 * minibuffer.el (completion--try-word-completion):
503 Fix error when completing M-x commands (bug#16808).
504
8ee4c296
LL
5052014-02-24 Leo Liu <sdl.web@gmail.com>
506
507 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
508
7d4bd627
JB
5092014-02-24 Juanma Barranquero <lekktu@gmail.com>
510
511 * apropos.el (apropos-print): Avoid formatting error when
512 apropos-do-all and apropos-compact-layout are both t.
513
e918e27f
JB
5142014-02-23 Juanma Barranquero <lekktu@gmail.com>
515
516 * apropos.el (apropos-property, apropos-all-words-regexp)
517 (apropos-true-hit, apropos-variable, apropos-print):
518 Fix docstring typos, and remove obsolete comment.
519
85c01f80
MA
5202014-02-23 Michael Albinus <michael.albinus@gmx.de>
521
522 * net/tramp-sh.el (tramp-sh-handle-file-truename):
523 Preserve trailing "/". (Bug#16851)
524
62f95022
DG
5252014-02-23 Dmitry Gutov <dgutov@yandex.ru>
526
527 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
528 after `=>' (bug#16811).
dfdb365c
DG
529 (ruby-smie-rules): Handle the inconsistent second element of the
530 list returned by `smie-indent--parent'.
531 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
532 method call.
62f95022 533
025f2c81
JB
5342014-02-23 Juanma Barranquero <lekktu@gmail.com>
535
536 * elec-pair.el (electric-pair-text-syntax-table)
537 (electric-pair-syntax-info, electric-pair--syntax-ppss)
538 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
539 (electric-pair--looking-at-unterminated-string-p): Doc fix.
540 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
541
123c84f9
GM
5422014-02-22 Glenn Morris <rgm@gnu.org>
543
612c3e46
GM
544 * imenu.el (imenu--generic-function): Doc fix.
545
123c84f9
GM
546 * register.el (frame-configuration-to-register): Make obsolete.
547
e59fa9ad
JB
5482014-02-22 Juanma Barranquero <lekktu@gmail.com>
549
550 * desktop.el (desktop-save-buffer-p): Do not fail when
551 desktop-files-not-to-save is nil. Return t for true result
552 as the doc says.
553
4e652634
DC
5542014-02-22 Daniel Colascione <dancol@dancol.org>
555
27821a89 556 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
557 Check that attribute values are strings, avoiding the construction
558 of invalid dbus messages.
4e652634 559
f35affb6
JB
5602014-02-21 Juanma Barranquero <lekktu@gmail.com>
561
562 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
563 defun-declarations-alist.
564
3d136b1b
SM
5652014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
566
567 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
568 (bug#16829).
569
612ddfc0
JB
5702014-02-21 Juanma Barranquero <lekktu@gmail.com>
571
572 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
573 (whitespace-newline, whitespace-trailing, whitespace-line)
574 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
575 (whitespace-space-after-tab): Fix typo in docstrings.
576
c8481b1b
DG
5772014-02-21 Dmitry Gutov <dgutov@yandex.ru>
578
cb8f50a7
DG
579 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
580
c8481b1b
DG
581 * electric.el (electric-indent-functions-without-reindent):
582 Add `yaml-indent-line'.
583
bed5126f
JB
5842014-02-21 Juanma Barranquero <lekktu@gmail.com>
585
34b71457
JB
586 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
587 It has done nothing for years; should be removed after the release.
588
bed5126f
JB
589 * simple.el (choose-completion): Fix docstring typo.
590 (read-quoted-char-radix): Remove unneeded * in docstring.
591 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
592 Don't escape parentheses unnecessarily in docstrings.
593
8dd3e94f
MR
5942014-02-21 Martin Rudalics <rudalics@gmx.at>
595
596 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
597 * window.el (window--dump-window, window--dump-frame):
598 New functions.
599 (window--min-size-1): Account for window dividers.
600 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
601 sum of the window components has been calculated.
602 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
603 nil make sure at least one text line and two text columns remain
604 fully visible.
605 (window-resize): Signal an error when window-resize-apply fails.
606 (window--resize-child-windows): Fix calculation of by how many
607 pixels a window can still be shrunk via window-new-normal.
608 (adjust-window-trailing-edge): Call window--resizable with
609 correct TRAIL argument.
610
2ed94e04
MR
611 (with-temp-buffer-window): Don't evaluate BODY within
612 with-current-buffer (Bug#16816).
613
0e5324c4
MA
6142014-02-21 Michael Albinus <michael.albinus@gmx.de>
615
616 * net/tramp.el (tramp-check-cached-permissions):
617 Call `file-attributes' with `suffix' being a symbol but a string.
618
48198420
DC
6192014-02-21 Daniel Colascione <dancol@dancol.org>
620
621 * net/dbus.el (dbus-init-bus-1): Declare new subr.
622 (dbus-init-bus): New function: call into dbus-init-bus-1
623 and installs a handler for the disconnect signal.
624 (dbus-call-method): Rewrite to look for result in cons.
625 (dbus-call-method-handler): Store result in cons.
626 (dbus-check-event): Recognize events with nil sender as valid.
627 (dbus-handle-bus-disconnect): New function. React to bus
628 disconnection signal by synthesizing dbus error for each
629 pending synchronous or asynchronous call.
630 (dbus-notice-synchronous-call-errors): New function.
631 (dbus-handle-event): Raise errors directly only when `dbus-debug'
632 is true, not all the time.
633
99e15133
JB
6342014-02-21 Juanma Barranquero <lekktu@gmail.com>
635
e48983a6
JB
636 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
637 Remove obsolescence declarations, these variables do not exist anymore.
638
fdcfd745
JB
639 * savehist.el (savehist-save-minibuffer-history)
640 (savehist-additional-variables, savehist-file, savehist-mode-hook)
641 (savehist-save-hook, savehist-coding-system, savehist-loaded)
642 (savehist-load, savehist-install, savehist-autosave): Fix typos;
643 mostly, refer to "Savehist mode" when talking about the mode,
644 and not the function.
645
99e15133
JB
646 * saveplace.el (save-place): Remove redundant info in docstring.
647 (save-place-forget-unreadable-files, toggle-save-place)
648 (save-place-forget-unreadable-files, save-place-dired-hook):
649 Fix typos and remove unneeded backslashes.
650
f5bee33b
MA
6512014-02-20 Michael Albinus <michael.albinus@gmx.de>
652
653 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
654 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
655
656 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 657 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
658 (tramp-gvfs-handle-insert-directory): Remove function.
659
660 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
661 Call `tramp-handle-insert-directory'.
662
ee0761ca
JB
6632014-02-20 Juanma Barranquero <lekktu@gmail.com>
664
665 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
666 before the start of buffer/region (bug#16799).
667
4d49cc65
GM
6682014-02-20 Glenn Morris <rgm@gnu.org>
669
670 * isearch.el (search-invisible): Doc fix.
671
eee0d650
TK
6722014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
673
674 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
675 (bug#16657).
676
94e5e202
JB
6772014-02-19 Juanma Barranquero <lekktu@gmail.com>
678
679 * frameset.el (frameset-restore): Delay removing an old frame's
680 duplicate id until the new frame has been correctly created.
681
50bfdd5d
MA
6822014-02-19 Michael Albinus <michael.albinus@gmx.de>
683
684 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
685 (tramp-check-cached-permissions): Call `file-attributes' if the
686 cache is empty.
687
688 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 689 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
690
691 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 692 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
693 (tramp-gvfs-maybe-open-connection): Set always connection
694 properties, even if target is mounted already.
695
696 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
697 Set tramp-autoload cookie.
698 (tramp-get-remote-touch): New defun.
699 (tramp-sh-handle-set-file-times): Use it.
700 (tramp-sh-handle-directory-files-and-attributes):
701 Use `tramp-handle-directory-files-and-attributes' if neither stat
702 nor perl are available on the remote host.
703
704 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
705 "/". Write long listing only when "l" belongs to the switches.
706
707 * net/trampver.el: Update release number.
708
f097a3d2
JB
7092014-02-19 Juanma Barranquero <lekktu@gmail.com>
710
711 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
712
8e009b78
MR
7132014-02-19 Martin Rudalics <rudalics@gmx.at>
714
715 * window.el (window-state-put): Allow WINDOW to refer to an
716 internal window (Bug#16793).
717
95160c90
GM
7182014-02-19 Glenn Morris <rgm@gnu.org>
719
720 * textmodes/remember.el: Move provide statement to end.
721 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
722 (remember-notes): Doc fixes.
723
b28df58c
SM
7242014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
725
726 * delsel.el (delete-char): Restore incorrectly erased property
727 (bug#16795).
728
7108e1c0
JB
7292014-02-18 Juanma Barranquero <lekktu@gmail.com>
730
731 * frameset.el (frameset--restore-frame): When a frame is being reused
732 and its root window is not alive, delete all the frame's windows before
733 restoring the window state. This works around the issue in bug#16793.
734
c863b6ad
GM
7352014-02-18 Glenn Morris <rgm@gnu.org>
736
a73fae1f
GM
737 * textmodes/remember.el (remember-data-directory)
738 (remember-directory-file-name-format, remember-store-in-files)
739 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
740 (remember-notes-save-and-bury-buffer)
741 (remember-notes--kill-buffer-query): Doc fixes.
742
c863b6ad
GM
743 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
744
29238d28
AM
7452014-02-17 Alan Mackenzie <acm@muc.de>
746
747 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 748 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 749 to electric-indent-{,local-}-mode.
b28df58c
SM
750 (c-basic-common-init): Set electric-indent-inhibit.
751 Initialise c-electric-flag from electric-indent-mode.
29238d28 752 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 753 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
754
755 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 756 hit, toggle electric-indent-local-mode.
29238d28 757
b28df58c
SM
758 * electric.el (electric-indent-mode-has-been-called):
759 New variable.
29238d28 760
c6463340
JB
7612014-02-17 Juanma Barranquero <lekktu@gmail.com>
762
763 * frameset.el (frameset-cfg-id): New function.
764 (frameset--reuse-frame, frameset-restore): Use it.
765 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
766
94912b88
SM
7672014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * ido.el (ido-file-internal): Remove unused var `d'.
770 Use \` for to match BoS. Fit within 80n columns.
771
26ea164c
DC
7722014-02-17 Daniel Colascione <dancol@dancol.org>
773
774 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
775 dbus-call-method check for completion using a busy-wait loop with
776 gradual backoff.
777
dd7691b7
MA
7782013-10-02 Michael Albinus <michael.albinus@gmx.de>
779
780 Sync with Tramp 2.2.9.
781
782 * net/trampver.el: Update release number.
783
17d1b51b
DG
7842014-02-16 Dmitry Gutov <dgutov@yandex.ru>
785
786 * ido.el (ido-file-internal): Don't add the name of an existing
787 directory twice. (Bug#16747)
788
5bcad689
GM
7892014-02-16 Glenn Morris <rgm@gnu.org>
790
791 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
792 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
793
7942014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
795
796 * progmodes/sql.el: Version 3.4
797 (sql-oracle-options): New default value ("-L").
94912b88 798 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 799 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 800 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
801 (sql-login-delay): New variable.
802 (sql-product-interactive): Use it.
803
285f1858
JB
8042014-02-15 Juanma Barranquero <lekktu@gmail.com>
805
806 * frameset.el (frameset--jump-to-register): Check that buffer is live
807 (bug#16749).
808
5d645ea4
GM
8092014-02-15 Glenn Morris <rgm@gnu.org>
810
811 * info.el (info-initialize): Revert 2014-01-10 change.
812
48c4f9b1
GM
8132014-02-14 Glenn Morris <rgm@gnu.org>
814
b8630261
GM
815 * replace.el (map-query-replace-regexp)
816 (read-regexp-defaults-function, read-regexp): Doc fixes.
817
b2bf2a25
GM
818 * dired.el (dired-read-regexp):
819 * faces.el (list-faces-display):
820 * misearch.el (multi-isearch-read-matching-buffers)
821 (multi-isearch-read-matching-files):
822 * play/cookie1.el (cookie-apropos):
823 * progmodes/grep.el (grep-read-regexp): Doc fixes.
824
48c4f9b1
GM
825 * textmodes/remember.el (remember): Use frameset-to-register
826 rather than frame-configuration-to-register.
827
2804e0bd
JB
8282014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
829
830 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
831 incorrect keybinding.
832
0b87142f
DC
8332014-02-13 Daniel Colascione <dancol@dancol.org>
834
835 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
836 when adding overlays so that line numbers from compiler match line
837 numbers we use.
838
47a73eb0
GM
8392014-02-13 Glenn Morris <rgm@gnu.org>
840
8abcfd51
GM
841 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
842
47a73eb0
GM
843 * jit-lock.el (jit-lock-mode): Doc fix.
844
c9b6b262
JB
8452014-02-13 Juanma Barranquero <lekktu@gmail.com>
846
847 * apropos.el (apropos-read-pattern): When the user passes an empty
848 string, give a more helpful error message than "Wrong type
849 argument: stringp, nil".
850
eb4c6947
SM
8512014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
854
0dab5068
GM
8552014-02-13 Glenn Morris <rgm@gnu.org>
856
857 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
858
59075dcf
SM
8592014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
862 shift-select commands.
863
5af9fbad
DG
8642014-02-12 Dmitry Gutov <dgutov@yandex.ru>
865
866 * progmodes/js.el (js-indent-line): Don't widen.
867 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
868
a215930c
GM
8692014-02-12 Glenn Morris <rgm@gnu.org>
870
a8cb4247
GM
871 * icomplete.el (icomplete): Add info-link to defgroup.
872 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
873 (icomplete-minibuffer-map, icomplete-mode)
874 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
875
a215930c
GM
876 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
877 (package-menu-filter): Rename from package-menu-filter-interactive.
878 Doc fix.
879
26c5ecd9
JB
8802014-02-11 Juanma Barranquero <lekktu@gmail.com>
881
882 * frameset.el (frameset--jump-to-register): Select the required
883 window and buffer before restoring position (bug#16696).
884
fcd58a02
LI
8852014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
886
887 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
888
bacb3380
GM
8892014-02-10 Glenn Morris <rgm@gnu.org>
890
891 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
892
881329dc
EZ
8932014-02-10 Eli Zaretskii <eliz@gnu.org>
894
02328db9
EZ
895 * w32-common-fns.el (x-get-selection): Doc fix.
896 * select.el (x-get-selection): Doc fix. (Bug#15109)
897
881329dc
EZ
898 * face-remap.el (face-remap-add-relative)
899 (face-remap-remove-relative, face-remap-reset-base)
900 (face-remap-set-base): Call force-mode-line-update to redisplay
901 the current buffer due to potential change in faces. (Bug#16709)
902
c7db4c06
MA
9032014-02-10 Michael Albinus <michael.albinus@gmx.de>
904
905 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
906 script more robustly.
907
6abe4589
LI
9082014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
909
7602b5c3
LI
910 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
911
e3692ee0
LI
912 * simple.el (choose-completion): Doc fix (bug#14160).
913
41015524
LI
914 * subr.el (event-start): Say what a nil EVENT value means.
915
87c79dcb
LI
916 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
917 (bug#14197).
918
3ab49e2c
LI
919 * progmodes/grep.el (find-program): Doc fix (bug#14289).
920
f3c60241
LI
921 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
922
3bd1d8a8
LI
923 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
924
6abe4589
LI
925 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
926 predicate function (bug#15455).
927
a11463de
DG
9282014-02-10 Dmitry Gutov <dgutov@yandex.ru>
929
930 * ielm.el (inferior-emacs-lisp-mode): Instead of
931 `comment-use-global-state', set `comment-use-syntax'.
932
2ab0ad85
GM
9332014-02-10 Glenn Morris <rgm@gnu.org>
934
935 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
936
411141fb
AM
9372014-02-09 Alan Mackenzie <acm@muc.de>
938
939 Fix c-invalidate-state-cache on narrowed buffers.
940 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
941 Widen when setting and clearing the CPP delimiter properties.
942
d6d5fdf8
LI
9432014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
944
92c70367
LI
945 * help.el (describe-bindings): Doc fix (bug#9888).
946
468ef484
LI
947 * files.el (save-buffer): Use ARG as the parameter name for
948 consistency (bug#10346).
7e34193f 949 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 950
fc2b1ffa 951 * cus-edit.el (customize-apropos): Fix error string.
382fd368 952 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 953 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 954
790aceec
LI
955 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
956
a54a7552 957 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 958 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 959
dd163123
LI
960 * font-lock.el (font-lock-value-in-major-mode): Clarify the
961 meaning of the parameter (bug#12282).
962
9e108fe6
LI
963 * files.el (find-file-noselect): Clarify prompt when changing
964 readedness (bug#13261).
5a836f58
LI
965 (locate-file): Suffixes aren't returned, so don't say that they
966 are (bug#12674).
2356b316 967 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 968
20dda930
LI
969 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
970 before we actually start to delete things (bug#16331).
971
d6d5fdf8
LI
972 * subr.el (event-start): Doc fix (bug#14228).
973 (event-end): Ditto.
974
2abd71e5
GM
9752014-02-09 Glenn Morris <rgm@gnu.org>
976
977 * emacs-lisp/warnings.el (lwarn):
978 Empower help-enable-auto-load. (Bug#15940)
979
c1b5900b
AS
9802014-02-08 Andreas Schwab <schwab@linux-m68k.org>
981
982 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
983 (Bug#16690)
984
429b93bd
MA
9852014-02-08 Michael Albinus <michael.albinus@gmx.de>
986
987 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
988 Insert output at end of buffer. (Bug#16120)
989
b772a699
LI
9902014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
991
18c6aa8c
LI
992 * simple.el (choose-completion-string-functions): Document new
993 calling convention (bug#14153).
54dd147a 994 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 995
dce8463b
LI
996 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
997
b772a699 998 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 999 (find-grep-dired): Doc fix (bug#14288).
b772a699 1000
2423c8d5
JL
10012014-02-08 Juri Linkov <juri@jurta.org>
1002
1003 * isearch.el (isearch-quote-char): Check character validity
1004 like in `quoted-insert' (bug#16677).
1005
518f26c2
LI
10062014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1007
893cc908
LI
1008 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1009
9165ffc0
LI
1010 * isearch.el (isearch-hide-immediately): Doc clarification
1011 (bug#14723).
1012
6ef4f3ce
LI
1013 * simple.el (line-move): Document utility function used many
1014 places in the Emacs sources (bug#14843).
1015
be58a238 1016 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1017 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1018 (dired-up-directory): Doc fix (bug#14848).
be58a238 1019
dd7aafbb
LI
1020 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1021
15cb9968
LI
1022 * files.el (file-relative-name): Doc fix (bug#15159).
1023
9788effd
LI
1024 * fringe.el (fringe-styles): Doc fix (bug#15239).
1025
c96411bd
LI
1026 * isearch.el (isearch-filter-predicate): Documentation typo fix
1027 (bug#15474).
1028
ea838c36
LI
1029 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1030
0d8a4ae7
LI
1031 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1032
f7a17bb3
LI
1033 * replace.el (replace-match-maybe-edit): Doc clarification
1034 (bug#15632).
1035
1bde5c3b
LI
1036 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1037
518f26c2
LI
1038 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1039
dd8e49fd
GM
10402014-02-08 Glenn Morris <rgm@gnu.org>
1041
1042 * help-fns.el (describe-variable):
1043 Check {file,dir}-local-variables-alist, and buffer-file-name,
1044 in the correct buffer.
1045
7e088b29
IL
10462014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1047
1048 * help-fns.el (describe-variable): Fix the case where
1049 a value is directory-local with no dir-locals file. (Bug#16635)
1050
41a4a82f
GM
10512014-02-08 Glenn Morris <rgm@gnu.org>
1052
1053 * abbrev.el (edit-abbrevs-mode):
1054 Derive from fundamental-mode. (Bug#16682)
1055
e255a703
JB
10562014-02-07 Juanma Barranquero <lekktu@gmail.com>
1057
1058 * simple.el (quoted-insert): Check character validity (bug#16677).
1059
c99cf5ee
JL
10602014-02-07 Juri Linkov <juri@jurta.org>
1061
1062 * desktop.el (desktop-read): Claim the lock when the owner is not
1063 the current process. (Bug#16157)
1064
7d7a68d8
JL
10652014-02-07 Juri Linkov <juri@jurta.org>
1066
1067 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1068 to "\\` ". (Bug#16651)
1069
2b777cd9
JL
10702014-02-07 Juri Linkov <juri@jurta.org>
1071
1072 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1073 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1074 (desktop-auto-save-cancel-timer): New function with some code from
1075 `desktop-auto-save-set-timer'.
1076 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1077 Instead of setting `desktop-save-mode' to nil, call
1078 `desktop-save-mode' with arg 0. (Bug#16630)
1079
60eabbb9
GM
10802014-02-07 Glenn Morris <rgm@gnu.org>
1081
99cf3859
GM
1082 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1083 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1084 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1085
2b568bc9
GM
1086 * obsolete/iswitchb.el: Move to obsolete/.
1087 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1088 since obsolete/ is not scanned for autoloads.
1089 * emacs-lisp/authors.el (authors-valid-file-names):
1090 Add iswitchb.el.
1091
60eabbb9
GM
1092 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1093 Disable now non-functional find-file-hook.
1094
629de968
MA
10952014-02-06 Michael Albinus <michael.albinus@gmx.de>
1096
1097 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1098 instead of ";" in order to avoid additional prompts. Let heredoc
1099 scripts read from tty. (Bug#16582)
1100 (tramp-send-command): No special handling of heredocs, it isn't
1101 necessary anymore.
1102
29127376
SM
11032014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1106 with a space (bug#16664). Limit the symbols considered to the ones
1107 that are bound or fbound (bug#16646).
1108
79b6e0a9
GM
11092014-02-06 Glenn Morris <rgm@gnu.org>
1110
1111 * epa.el (epa-mail-aliases): Doc fix.
1112
a333e4d2
DG
11132014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1114
29127376
SM
1115 * emacs-lisp/lisp.el (lisp-completion-at-point):
1116 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1117 (bug#16604).
1118
1119 * minibuffer.el (completion-table-merge): New function.
1120
9a83b32b
MA
11212014-02-05 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1124 (tramp-sh-handle-set-file-acl)
1125 (tramp-sh-handle-start-file-process)
1126 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1127 (tramp-find-executable, tramp-send-command): Use it.
1128
451ea3e6
GM
11292014-02-05 Glenn Morris <rgm@gnu.org>
1130
9a83b32b 1131 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1132
dd27d13b
FEG
11332014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1134
35e951cd 1135 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1136 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1137
08e41897
AL
11382014-02-04 Anders Lindgren <andlind@gmail.com>
1139
1140 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1141 the names (bug#16620).
1142
764ec9e5
MR
11432014-02-03 Martin Rudalics <rudalics@gmx.at>
1144
08e41897
AL
1145 * faces.el (window-divider): New default value. Rewrite doc-string.
1146 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1147
6da8227c
DG
11482014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1149
1150 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1151 `protected' and `public' can also be called without arguments.
1152
6a6b8e40
GM
11532014-02-03 Glenn Morris <rgm@gnu.org>
1154
7bcbca40
GM
1155 * register.el (window-configuration-to-register)
1156 (frame-configuration-to-register): Unadvertise unused argument.
1157 * frameset.el (frameset-to-register): Remove unused argument.
1158
719d965d 1159 * frameset.el (frameset-to-register):
6a6b8e40
GM
1160 * kmacro.el (kmacro-to-register):
1161 * register.el (increment-register):
1162 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1163 (calc-append-to-register, calc-prepend-to-register):
1164 * play/gametree.el (gametree-layout-to-register)
1165 (gametree-apply-register-layout):
1166 * textmodes/picture.el (picture-clear-rectangle-to-register)
1167 (picture-yank-rectangle-from-register):
1168 * vc/emerge.el (emerge-combine-versions-register):
1169 Use register-read-with-preview to read registers.
1170
5dca7759
JT
11712014-02-03 João Távora <joaotavora@gmail.com>
1172
1173 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1174 when at beginning of (possibly narrowed) buffer.
1175
709085b9
DC
11762014-02-02 Daniel Colascione <dancol@dancol.org>
1177
c295fc18 1178 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1179 Also try to display local help from just before point.
709085b9 1180
99f7b0a6
AM
11812014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1182
1183 c-parse-state. Don't "append-lower-brace-pair" in certain
1184 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1185 recognised as a comment.
1186
1187 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1188 as well as normal comment starter.
1189 (c-parse-state-get-strategy): Extra return possibility
1190 'back-and-forward.
1191 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1192 return value list to indicate replacement of a brace-pair cons
1193 with its car.
1194 (c-parse-state-1): With 'back-and-forward, only call
1195 c-append-lower-brace-pair-to state-cache when cons-separated.
1196
f0a10576
JD
11972014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1198
1199 * term/ns-win.el (ns-suspend-error): New function.
1200 (ns-initialize-window-system): Add ns-suspend-error to
1201 suspend-hook (Bug#16612).
1202
b8d552c2
DC
12032014-02-02 Daniel Colascione <dancol@dancol.org>
1204
35e951cd
JB
1205 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1206 Make loading cc-mode silent.
b8d552c2 1207
f2b7d123
DC
12082014-02-02 Daniel Colascione <dancol@dancol.org>
1209
35e951cd
JB
1210 * comint.el (comint-prompt-read-only): Change doc to suggest
1211 remap keybinding.
f2b7d123 1212
4472a196
GM
12132014-02-02 Glenn Morris <rgm@gnu.org>
1214
1215 * register.el (register-read-with-preview, point-to-register)
1216 (window-configuration-to-register, frame-configuration-to-register)
1217 (jump-to-register, number-to-register, view-register, insert-register)
1218 (copy-to-register, append-to-register, prepend-to-register)
1219 (copy-rectangle-to-register): Doc fixes.
1220
70e5a261
SM
12212014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1224 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1225 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1226 * help-fns.el (describe-function-1): Use it.
1227
7c324762
GM
12282014-02-02 Glenn Morris <rgm@gnu.org>
1229
1230 * register.el (register-preview-default): New function,
1231 split from register-preview.
1232 (register-preview-function): Rename from register-preview-functions,
1233 make it not a hook.
1234 (register-preview): Use register-preview-function.
1235 (register-read-with-preview): Error on non-character event. (Bug#16595)
1236
a09beb3d
DG
12372014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1238
1239 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1240 `:' before binary operators (bug#16609). Don't check for `:'
1241 before `[' and `(', or their syntax status. A percent literal
1242 can't end with either.
68e004e0
DG
1243 (ruby-font-lock-keywords): For built-ins that require arguments,
1244 check that they're followed by something that looks like argument
1245 (bug#16610).
a09beb3d 1246
ed4d2875
LI
12472014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1248
1249 * subr.el (butlast): Document what an omitted N means (bug#13437).
1250 (nbutlast): Ditto.
1251
dba6e3ec
LI
12522014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1253
1254 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1255 depth shallower (bug#16587).
cc477daa
LI
1256 (shr-tag-svg): Respect `shr-inhibit-images'.
1257 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1258
e2a67bd0
DG
12592014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1260
1261 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1262 (ruby-smie-grammar): Make "." right-associative. Make its priority
1263 lower than the ternary and all binary operators.
1264 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1265 parent, or the first "." parent at indentation.
1266 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1267 (Bug#16593)
1268
bd21bf41
JL
12692014-01-31 Juri Linkov <juri@jurta.org>
1270
1271 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1272 from `make-hash-table'.
1273
1274 * textmodes/ispell.el (ispell-init-process): Change message format
1275 to be consistent with other messages.
1276
b7e615b9
GM
12772014-01-31 Glenn Morris <rgm@gnu.org>
1278
a69ecd19
GM
1279 * delsel.el (delete-selection-mode): Doc fix.
1280
9997d7e3
GM
1281 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1282 (trace-function-background): Doc fixes.
1283
fbb764b8
GM
1284 * ido.el (ido-use-virtual-buffers): Doc fix.
1285 Reset :version, since the default value has not changed.
1286
da942af1
GM
1287 * register.el (register-preview-delay, register-read-with-preview):
1288 Doc fixes.
1289
b7e615b9
GM
1290 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1291 do not mess with mail-buffer position (fixes 2009-11-03 change).
1292 * progmodes/cc-mode.el (c-submit-bug-report):
1293 Check auto-fill-mode is bound. (Bug#16592)
1294
0a25002d
DH
12952014-01-31 Darren Hoo <darren.hoo@gmail.com>
1296
1297 * startup.el (fancy-splash-image-file): New function,
1298 split from fancy-splash-head.
1299 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1300 so that we are both using the same image. (Bug#16574)
1301
ad78f432
GM
13022014-01-30 Glenn Morris <rgm@gnu.org>
1303
6bbc0c84
GM
1304 * simple.el (eval-expression): Doc fix.
1305
ad78f432
GM
1306 * hexl.el (hexl-mode-hook):
1307 * ielm.el (ielm-mode-hook):
1308 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1309 (lisp-interaction-mode-hook):
1310 * progmodes/cfengine.e (cfengine3-documentation-function):
1311 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1312
7b2f049c
SM
13132014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1316 is a symbol (bug#16584).
1317
0c633f13
GM
13182014-01-30 Glenn Morris <rgm@gnu.org>
1319
1320 * help.el (help-for-help-internal): Add "P" to text.
1321
5e61c1ef
GM
13222014-01-29 Glenn Morris <rgm@gnu.org>
1323
1324 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1325
1dcb169c
MR
13262014-01-28 Martin Rudalics <rudalics@gmx.at>
1327
1328 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1329 height constraints.
1330
a9128931
LL
13312014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1332
1333 * progmodes/hideif.el: Extend to full CPP expression syntax.
1334 (hif-token-alist): Add missing tokens.
1335 (hif-token-regexp): Add support for float/octal/hex immediates.
1336 (hif-string-literal-regexp): New const.
1337 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1338 (hif-exprlist): New function.
1339 (hif-parse-if-exp): Use it.
1340 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1341 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1342 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1343 (hif-logxor, hif-comma): New functions.
1344
a22359a7
GM
13452014-01-28 Glenn Morris <rgm@gnu.org>
1346
793ffe81
GM
1347 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1348
e3bd7eed
GM
1349 * indent.el (tab-stop-list): Doc fix. Add :version.
1350
a22359a7
GM
1351 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1352 (cvs-append-to-ignore): Add compatibility alias.
1353
52695556 13542014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1355
bac524e0
GM
1356 * dired.el (dired-hide-details-mode): Don't autoload it,
1357 since it cannot be used outside Dired buffers anyway.
1358
52695556 1359 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1360
52695556
GM
1361 * dired.el (dired-hide-details-hide-symlink-targets)
1362 (dired-hide-details-hide-information-lines)
1363 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1364
1365 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1366 * strokes.el (strokes-file): Doc fix. Bump :version.
1367 (strokes-help): Doc fix.
1368 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1369 * emulation/viper.el (viper): Doc fix for custom group.
1370 (top-level): Remove oh-so-no-longer-relevant text about vip.
1371 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1372
1373 * ido.el (ido-save-directory-list-file):
1374 * saveplace.el (save-place-file):
1375 * calendar/timeclock.el (timeclock-file):
1376 * net/quickurl.el (quickurl-url-file):
1377 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1378 * progmodes/idlwave.el (idlwave-config-directory):
1379 * textmodes/remember.el (remember-data-file):
1380 Bump :version.
1381
169d6004
GM
13822014-01-26 Glenn Morris <rgm@gnu.org>
1383
de6a923b
GM
1384 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1385 Doc fix. Make obsolete.
1386 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1387
169d6004
GM
1388 * sort.el (delete-duplicate-lines): Doc fix.
1389
ed85dee6
RS
13902014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1391
1392 * progmodes/ada-mode.el (ada):
1393 * woman.el (woman): Link to info manual and Commentary section.
1394
1395 * progmodes/flymake.el (flymake):
1396 * nxml/nxml-mode.el (nxml):
1397 * net/eww.el (eww):
1398 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1399 * htmlfontify.el (htmlfontify):
1400 * ses.el (ses):
1401 * epa.el (epa):
1402 * ido.el (ido): Link to info manual.
1403
e0c67e1d
LL
14042014-01-25 Leo Liu <sdl.web@gmail.com>
1405
1406 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1407
35408b1a
AS
14082014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1409
1410 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1411 (bug#16537).
1412
76c3fa95
JB
14132014-01-24 Juanma Barranquero <lekktu@gmail.com>
1414
f77c7a99
JB
1415 * net/eww.el (eww-download-callback):
1416 Fix reference to eww-download-directory.
1417
76c3fa95
JB
1418 * emacs-lisp/bytecomp.el (byte-compile-file):
1419 Remove unused local variable `file-name'.
1420
1e548e40
GM
14212014-01-24 Glenn Morris <rgm@gnu.org>
1422
03f3b318
GM
1423 * woman.el (woman-default-faces, woman-monochrome-faces):
1424 Fix obsolescence specification.
1425
1e548e40
GM
1426 * subr.el (with-demoted-errors): Doc fix.
1427
d4f0427b
SM
14282014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1431 (cl--macroexp-fboundp): New function.
1432 (cl--make-type-test): Use it.
1433
1670e27f
GM
14342014-01-23 Glenn Morris <rgm@gnu.org>
1435
1436 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1437 * simple.el (eval-expression): Doc fixes.
1438
80efa207
GM
14392014-01-22 Glenn Morris <rgm@gnu.org>
1440
1441 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1442
29afcbab
SM
14432014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * emacs-lisp/package.el: Write files silently.
1446 (package-autoload-ensure-default-file, package--write-file-no-coding)
1447 (package-generate-description-file, package--download-one-archive)
1448 (package-install-from-archive): Tell `write-region' to stay quiet.
1449 (package-menu-mode, package-menu--print-info): Omit the Archive column
1450 if there's only one archive.
1451 (package-all-keywords, package--has-keyword-p): Remove dead code.
1452
2a5bce4f
GM
14532014-01-22 Glenn Morris <rgm@gnu.org>
1454
edace89f
GM
1455 * version.el (emacs-bzr-version-bzr): Fix typo.
1456
2a5bce4f
GM
1457 * version.el (emacs-repository-get-version):
1458 Check either .bzr or .git, but not both.
1459 Make the git case actually use the DIR argument, and return nil
1460 rather than the empty string.
983664c0 1461 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1462
6cb4da45
MR
14632014-01-22 Martin Rudalics <rudalics@gmx.at>
1464
1465 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1466 * window.el (window-total-size, window-size): New argument ROUND.
1467 (window--min-delta-1, window-min-delta, window--max-delta-1):
1468 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1469 columns a window can shrink (Bug#16430).
1470 (fit-window-to-buffer): Simplify code.
1471 * term.el (term-window-width): Call window-body-width again.
1472
cc0f2ece
GM
14732014-01-22 Glenn Morris <rgm@gnu.org>
1474
7b997b14
GM
1475 * image.el (image-format-suffixes): Doc fix.
1476
44e76f9d
GM
1477 * international/quail.el (quail-define-package): Doc fix.
1478
35e951cd 1479 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1480 (authors-renamed-files-alist): Additions.
7bfc1caa 1481
85a5f61f
GM
1482 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1483 reverts 2014-01-09 change. (Bug#16422)
1484
cc0f2ece
GM
1485 * calc/calc-embed.el (thing-at-point-looking-at):
1486 * emacs-lisp/map-ynp.el (x-popup-dialog):
1487 * obsolete/lmenu.el (x-popup-dialog):
1488 * emacs-lisp/package.el (url-recreate-url):
1489 * mail/mailclient.el (clipboard-kill-ring-save):
1490 * subr.el (x-popup-dialog): Update declaration.
1491 * mail/rmail.el (rmail-mime-message-p):
1492 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1493
00d2a6bb
DC
14942014-01-21 Daniel Colascione <dancol@dancol.org>
1495
1496 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1497 Correctly detect when we're inside an arithmetic expansion form
1498 containing nested parenthesis.
c295fc18 1499 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1500 to detect cases where we shouldn't expand "<<" to a heredoc
1501 skeleton.
1502
dd9d2e9d
SM
15032014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1504
1505 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1506 (eldoc--message-command-p): New function.
1507 (eldoc-display-message-p): Use it.
1508 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1509 message is not automatically erased for us.
1510 (eldoc-print-current-symbol-info): Erase previous message, if any.
1511
e7d807ca
TH
15122014-01-21 Tassilo Horn <tsdh@gnu.org>
1513
4ff0a0e5
TH
1514 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1515 specify it's an interactive function.
1516
dd9d2e9d
SM
1517 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1518 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1519 citations with optional arguments.
1520
87503791
LL
15212014-01-21 Leo Liu <sdl.web@gmail.com>
1522
1523 * simple.el (read--expression): Don't enable eldoc-mode.
1524
6cc750ee
SM
15252014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1526
1527 * simple.el (move-beginning-of-line): Make sure we don't move forward
1528 (bug#16497).
1529
71f16bda
JL
15302014-01-20 Juri Linkov <juri@jurta.org>
1531
1532 * saveplace.el (toggle-save-place, save-place-to-alist)
1533 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1534 'dired-mode) before checking for dired-directory. (Bug#16477)
1535
3c5a4839
JL
15362014-01-20 Juri Linkov <juri@jurta.org>
1537
1538 * indent.el (indent-line-to): Use backward-to-indentation
1539 instead of back-to-indentation. (Bug#16461)
1540
f952002e
PE
15412014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1542
1543 Revert some of the CANNOT_DUMP fix (Bug#16494).
1544 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1545 but fixing this can wait until after the next release.
1546 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1547
93675500
MA
15482014-01-19 Michael Albinus <michael.albinus@gmx.de>
1549
1550 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1551 Use `password-word-equivalents'.
1552 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1553 to t. (Bug#5664, Bug#13124)
1554
e3af763f
AM
15552014-01-19 Alan Mackenzie <acm@muc.de>
1556
1557 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1558 points.
1559 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1560 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1561 * progmodes/cc-mode.el (c-before-change, c-after-change)
1562 (c-font-lock-fontify-region): Bind it here.
1563
4ff6d92d
MR
15642014-01-19 Martin Rudalics <rudalics@gmx.at>
1565
1566 * term.el (term-window-width): Call window-text-width instead of
1567 window-width (Bug#16470).
1568
9a685cf6
PE
15692014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1570
1571 * simple.el (password-word-equivalents): Remove duplicates.
1572 Sort, to make this easier next time.
1573 Downcase. Omit ": " after "jelszó".
1574
5aa78c2d
JD
15752014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1576
1577 * term/common-win.el (saved-region-selection): Defvar it.
1578 (x-select-text): Set saved-region-selection (Bug#16382).
1579
cabb250c
GM
15802014-01-18 Glenn Morris <rgm@gnu.org>
1581
1582 * emacs-lisp/authors.el (authors-aliases)
1583 (authors-renamed-files-alist): Add some entries.
1584
a1340440
MA
15852014-01-17 Michael Albinus <michael.albinus@gmx.de>
1586
93675500
MA
1587 * net/tramp.el (tramp-password-prompt-regexp):
1588 Use `password-word-equivalents' if available.
a1340440
MA
1589 (tramp-action-password, tramp-process-one-action)
1590 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1591
681ce5d2
CY
15922014-01-17 Chong Yidong <cyd@gnu.org>
1593
1594 * simple.el (password-word-equivalents): New defcustom.
1595 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1596 to 24.4.
1597 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1598 to t. (Bug#13124)
1599
fb3d479c
DG
16002014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1601
1602 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1603 (ruby-align-to-stmt-keywords): Change the default value.
1604 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1605 choices.
1606 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1607 keywords, check against the value of `ruby-alignable-keywords'
1608 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1609
0d613483
GM
16102014-01-17 Glenn Morris <rgm@gnu.org>
1611
fc23fe2d
GM
1612 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1613
0d613483 1614 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 1615 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
1616 (authors-ignored-files): Add some entries, remove others.
1617 (authors-ambiguous-files, authors-valid-file-names):
1618 Add some entries.
1619 (authors-renamed-files-alist): Add, remove, and adjust entries.
1620 (authors-renamed-files-regexps): Add some entries.
1621 Remove some very broad ones. Make some entries `lax'.
1622 (authors-lax-changelogs): New constant.
1623 (authors-disambiguate-file-name): Treat top-level specially.
1624 (authors-lax-changelog-p): New function.
1625 (authors-canonical-file-name): Check file as written against
1626 authors-valid-file-names. Do not special-case etc/.
1627 Handle `lax' logs and authors-renamed-files-regexps elements.
1628
2dbf4ffd
DG
16292014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1630
1631 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1632 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1633 callers.
2dbf4ffd 1634
87b2a7f2
SM
16352014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1636
1637 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1638 Assume we're already in the proper buffer.
1639 Inspired by Anders Lindgren <andlind@gmail.com>.
1640 (follow-post-command-hook): Call it from the right buffer.
1641 (follow-comint-scroll-to-bottom): Adjust call.
1642 (follow-all-followers): Use get-buffer-window-list.
1643
93acfb0e
DC
16442014-01-15 Daniel Colascione <dancol@dancol.org>
1645
1646 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1647 `buffer-file-name' in interactive-form so that we don't leave
1648 pathless file names in `file-name-history'.
1649
ccc6b208
JL
16502014-01-15 Juri Linkov <juri@jurta.org>
1651
1652 * indent.el (indent-rigidly): Set deactivate-mark to nil
1653 in transient indentation mode. (Bug#16438)
1654
5c92e00d
DG
16552014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1656
1657 * emacs-lisp/package.el (package-desc-keywords): New function
1658 (Bug#16222).
1659 (describe-package-1, package-all-keywords)
1660 (package--has-keyword-p): Use it.
1661
dac69660
NR
16622014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1663
1664 * simple.el (define-alternatives): When creating the
1665 COMMAND-alternatives variable, assign COMMAND as its definition
1666 name so that `describe-variable' can relocate it.
1667
8b63edf8
ML
16682014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1669
1670 * font-lock.el (font-lock-keywords): Fix typo in docstring
1671 (bug#16307).
1672
c6a0b8eb
AM
16732014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1674
1675 * ispell.el (ispell-region): Reset `in-comment' for new line
1676 instead of wrongly reset `add-coment' (bug#13577).
1677
02bf443d
DU
16782014-01-14 Daiki Ueno <ueno@gnu.org>
1679
1680 * epa-file.el (epa-file-write-region): Encode the region according
1681 to `buffer-file-format'. Problem reported at:
1682 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1683
fd7fde15
SM
16842014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1685
1686 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1687 so it applies in the right buffer (bug#16410).
1688
c176054f
DC
16892014-01-13 Daniel Colascione <dancol@dancol.org>
1690
1691 * textmodes/rst.el (rst-define-key): Provide deprecated
1692 keybindings through named functions instead of anonymous ones so
1693 that "??" doesn't appear in describe-mode output.
1694
e3f33e5d
BG
16952014-01-13 Bastien Guerry <bzg@gnu.org>
1696
1697 * simple.el (define-alternatives): Call the selected command
1698 interactively. When setting `COMMAND--implementation' for the
1699 first time, tell the user how to chose another implementation.
1700 Enhance the docstring.
1701
c055d654
SM
17022014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1703
1704 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1705 (log-edit--match-first-line): New function.
1706 (log-edit-font-lock-keywords): Use it.
1707 (log-edit-mode): Make jit-lock-defer-multiline work.
1708
d791cc3b
BG
17092014-01-13 Bastien Guerry <bzg@gnu.org>
1710
1711 * rect.el (rectangle-mark-mode): When the region is not active,
1712 display a message saying that the mark as been set and that
1713 rectangle mode is in use.
1714 (rectangle--highlight-for-redisplay): Only put an overlay with a
1715 visible vertical bar when (display-graphic-p) is non-nil.
1716 This partially fixes Bug#16403.
1717
3c0c4562
JL
17182014-01-13 Juri Linkov <juri@jurta.org>
1719
1720 * info.el (Info-find-file): Go to DIR before displaying the error
1721 about a nonexistent file if no previous Info file is visited.
1722 Use `user-error' instead of `error' for "Info file %s does not exist".
1723 (Info-find-node-2): In case of a nonexistent node in unwind forms
1724 go to the Top node if there is no previous node to revert to.
1725 (Bug#16405)
1726
25a700d0
MR
17272014-01-13 Martin Rudalics <rudalics@gmx.at>
1728
1729 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1730 * window.el (fit-frame-to-buffer): Fix doc-string.
1731 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1732 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1733 when avoiding that frame goes partially off-screen.
1734 (fit-window-to-buffer): Respect window-min-height/-width
1735 (Bug#14096).
1736
6ae948d8
SM
17372014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1738
1739 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1740 after an empty line.
1741
6137cb82
SM
17422014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * net/shr.el (shr-render-region): Autoload.
1745
e6344e17
XF
17462014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1747
1748 * net/eww.el (eww-download-directory): Rename from
1749 `eww-download-path' (Bug#16419).
1750
3b922c70
LL
17512014-01-12 Leo Liu <sdl.web@gmail.com>
1752
1753 * dired-x.el (dired-mode-map): Fix last change.
1754
1755 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1756
4fa51741
PE
17572014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1758
1759 Spelling fixes.
1760 * emacs-lisp/generic.el (generic--normalize-comments):
1761 Rename from generic--normalise-comments. All uses changed.
35e951cd 1762 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
1763 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1764 (bubbles--neighborhood-available)
1765 (bubbles--update-neighborhood-score):
1766 Rename from names with 'neighbourhood'. All uses changed.
1767
9b335362
LL
17682014-01-12 Leo Liu <sdl.web@gmail.com>
1769
1770 Re-implement the feature of showing eldoc info after editing.
1771 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1772 (eldoc-edit-message-commands): New function.
1773 (eldoc-print-after-edit): New variable.
1774 (eldoc-pre-command-refresh-echo-area): Emit message only by
1775 eldoc-message-commands.
1776 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1777 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1778 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1779 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1780
e2a095b1
GM
17812014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1782 Eric S. Raymond <esr@thyrsus.com>
9685190b 1783
841a6d0c 1784 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1785 function works correctly in either a Bazaar or Git repo.
0abf4134 1786
e2a095b1
GM
17872014-01-11 Eric S. Raymond <esr@thyrsus.com>
1788
6137cb82
SM
1789 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1790 Goes with removal of the joke manpages from /etc.
9685190b 1791
c295fc18 17922014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1793
6137cb82
SM
1794 * mail/rmail.el (rmail-get-coding-system):
1795 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1796
d2f16e93
GM
17972014-01-10 Glenn Morris <rgm@gnu.org>
1798
1799 * emacs-lisp/authors.el (authors-fixed-entries):
1800 Update for files that no longer exist.
1801
7e03bb32
ER
18022014-01-10 Eric S. Raymond <esr@thyrsus.com>
1803
1804 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1805 24.3 (Tested).
7e03bb32 1806
dd806710
BB
18072014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1808
1809 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1810 and Podfile.
1811
ed6ec139
EZ
18122014-01-10 Eli Zaretskii <eliz@gnu.org>
1813
1814 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1815
cc33cac9
CY
18162014-01-10 Chong Yidong <cyd@gnu.org>
1817
6137cb82 1818 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1819
d9d836b5
AL
18202014-01-10 Anders Lindgren <andlind@gmail.com>
1821
1822 * follow.el (follow-cache-command-list): Include right-char and
1823 left-char.
1824
06827ec8
PE
18252014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1826
1827 Spelling fixes.
1828 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1829 * woman.el (woman-mark-horizontal-position):
1830 Rename from woman-mark-horizonal-position. Use changed.
1831
458dbf5e
GM
18322014-01-10 Glenn Morris <rgm@gnu.org>
1833
dad6fae7
GM
1834 * info.el (info-initialize): If running uninstalled, ensure our
1835 own info files are always found first, even if INFOPATH is set.
1836
458dbf5e
GM
1837 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1838
05e0afce
DE
18392014-01-09 David Engster <deng@randomsample.de>
1840
1841 * emacs-lisp/eieio-custom.el:
1842 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1843 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1844 * emacs-lisp/eieio.el: Regenerate autoloads.
1845
f29778b3
ER
18462014-01-09 Eric S. Raymond <esr@thyrsus.com>
1847
1848 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1849 following renames. (Bug#8756)
f29778b3 1850
684d44ef
SM
18512014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1854 (bug#16382).
1855 (activate-mark): Add `no-tmm' argument.
1856 (set-mark, push-mark-command): Use it instead of running
1857 activate-mark-hook by hand.
1858
9475054f
ER
18592014-01-08 Eric S. Raymond <esr@thyrsus.com>
1860
1861 In preparation for the move to git, sanitize out some
1862 Bazaar-specific names.
1863
38942b9c
GM
1864 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1865
9475054f 1866 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1867 emacs-repository-version. Obsolete-variable alias made.
9475054f 1868 * loadup.el: Follow through on this name change.
a12bf61e 1869 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1870 assumption about the version control system in use.
1871
0f918d96 18722014-01-08 David Engster <deng@randomsample.de>
abb82152 1873
684d44ef
SM
1874 * help-fns.el (help-fns-describe-function-functions):
1875 New variable to call functions for augmenting help buffers.
abb82152
DE
1876 (describe-function-1): Remove explicit calls to
1877 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
1878 `help-fns--obsolete'. Put them in above new variable instead, and
1879 call them through `run-hook-with-args'.
1880 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1881 `eieio-describe-class'. Not meant for interactive use anymore,
1882 but to augment existing help buffers. Remove optional second
684d44ef
SM
1883 argument. Create proper button for file location.
1884 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
1885 possible.
1886 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1887 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
1888 (describe-method, describe-generic, eieio-describe-method):
1889 Remove aliases.
0f918d96
DE
1890 (eieio-help-constructor, eieio-help-generic): Rename from
1891 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1892 Rewrite to use `insert' in the current buffer and use proper help
1893 buttons.
1894 (eieio-help-find-method-definition)
1895 (eieio-help-find-class-definition): Also accept symbols as
1896 arguments.
1897 (eieio-help-mode-augmentation-maybee): Remove.
1898 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
1899 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1900 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 1901
136b74c5
PE
19022014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1903
1904 Spelling fixes.
1905 * language/china-util.el (hz-ascii-designation):
1906 Rename from hz-ascii-designnation.
1907 (hz-ascii-designation): Rename from hz-ascii-designnation.
1908 All uses changed.
1909
ec6c7de2
SM
19102014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1913 package-alist.
1914
d6262c7c
BG
19152014-01-08 Bastien Guerry <bzg@gnu.org>
1916
4b9e6087
GM
1917 * emacs-lisp/package.el (package-delete):
1918 Correctly delete the package from package-alist.
d6262c7c 1919
0a3eec32
DU
19202014-01-08 Daiki Ueno <ueno@gnu.org>
1921
1922 * emacs-lisp/package.el (url-recreate-url): Declare.
1923 (url-http-target-url): Declare.
4b9e6087 1924 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1925 (package--check-signature): Don't re-signal errors from
1926 package--with-work-buffer. Suggested by Stefan Monnier.
1927
68f0bb97
BG
19282014-01-07 Bastien Guerry <bzg@gnu.org>
1929
1930 * minibuffer.el (completion--try-word-completion): When both a
1931 hyphen and a space are possible candidates for the character
1932 following a word, display both candidates. (Bug#15980)
1933
7e1899d7
MR
19342014-01-07 Martin Rudalics <rudalics@gmx.at>
1935
1936 * window.el (balance-windows-2): While rounding don't give a
c295fc18 1937 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 1938
0030ec15
GM
19392014-01-07 Glenn Morris <rgm@gnu.org>
1940
1941 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1942 (menu-bar-help-menu): Use view-external-packages instead.
1943
2b6b4f20
BG
19442014-01-07 Bastien Guerry <bzg@gnu.org>
1945
1946 * emacs-lisp/package.el (package-delete): Also delete the package
1947 name from `package-alist', not its description only.
1948
e9be0a13
GM
19492014-01-07 Glenn Morris <rgm@gnu.org>
1950
1951 * help.el (view-external-packages):
1952 * menu-bar.el (menu-bar-help-extra-packages):
1953 Visit efaq.info rather than etc/MORE.STUFF.
1954
e4f74da9
JL
19552014-01-07 Juri Linkov <juri@jurta.org>
1956
1957 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1958 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1959
1960 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1961 that shadows RET. (Bug#16342)
1962
de7ce2d1
CY
19632014-01-07 Chong Yidong <cyd@gnu.org>
1964
1965 * isearch.el (isearch-yank-char, isearch-yank-word)
1966 (isearch-yank-line): Doc fix.
1967
6bdd9204
SM
19682014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1971 * emacs-lisp/elint.el (elint-find-builtins):
1972 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1973 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1974 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1975 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1976 * apropos.el (apropos-safe-documentation):
1977 * subr.el (symbol-file): Remove redundant fboundp.
1978 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1979
daccca97
BG
19802014-01-06 Bastien Guerry <bzg@gnu.org>
1981
1982 * hl-line.el (global-hl-line-overlay): Make a local variable.
1983 (global-hl-line-overlays): New variable to store all overlays.
1984 (global-hl-line-mode): Don't delete overlays from the current
1985 buffer when `global-hl-line-sticky-flag' is non-nil.
1986 (global-hl-line-highlight): Add new overlays to
1987 `global-hl-line-overlays'.
1988 (global-hl-line-unhighlight-all): New function to delete all
1989 overlays when turning off `global-hl-line-mode'.
1990 This fixes Bug#16183.
1991
ec00f20f
SM
19922014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * subr.el (set-transient-map): Fix nested case and docstring.
1995
a0031f97
TH
19962014-01-06 Tassilo Horn <tsdh@gnu.org>
1997
1998 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1999 `Texinfo' entry.
2000
bf6a77f3
DC
20012014-01-06 Daniel Colascione <dancol@dancol.org>
2002
2003 Fix defun navigation in vc log view.
2004
2005 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2006 like `beginning-of-defun'.
c295fc18 2007 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2008 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2009 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2010 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2011 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2012
d5081c1e
PE
20132014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2014
2015 Spelling fixes.
2016 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2017 * emacs-lisp/debug.el (cancel-debug-on-entry):
2018 * epg.el (epg-error-to-string):
2019 * files.el (recover-file):
2020 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2021 * mail/emacsbug.el (report-emacs-bug-hook):
2022 * mail/sendmail.el (mail-recover):
2023 * ses.el (ses-yank-resize):
2024 * term/ns-win.el (ns-print-buffer):
2025 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2026 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2027 All uses changed.
2028 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2029
53f6b148
LL
20302014-01-06 Leo Liu <sdl.web@gmail.com>
2031
2032 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2033 to avoid shadowing global key. (Bug#16354)
53f6b148 2034
b82ace2f
DC
20352014-01-06 Daniel Colascione <dancol@dancol.org>
2036
2037 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2038 rst-mode.
2039
3669b636
MR
20402014-01-05 Martin Rudalics <rudalics@gmx.at>
2041
2042 * window.el (balance-windows): Add mising t to fix Bug#16351.
2043
1a29adc2
LMI
20442014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2045
2046 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2047 (bug#16285).
3d95a0f4
LMI
2048 (shr-insert): If we have a word that's longer than `shr-width',
2049 break after it anyway. Otherwise we'll do no breaking once we get
2050 such a long word.
1a29adc2 2051
f4018140
KN
20522014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2053
3fcfc4ee 2054 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2055 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2056 (eww-history-quit): Delete and use quit-window.
2057 (eww-history-kill): Delete, because it doesn't work well and
2058 not necessary.
2059 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2060
4e619754
PE
20612014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2062
73dbf960
PE
2063 Fix misspelling of 'chinese' in rx (Bug#16237).
2064 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2065 chinese-two-byte.
2066
4e619754
PE
2067 Change subword regexps back to vars (Bug#16296).
2068 * progmodes/subword.el (subword-forward-regexp)
2069 (subword-backward-regexp): Change these back to variables.
2070
e18b70fc
SM
20712014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2074 syntax-begin-function (bug#16247).
2075
0d53f628
CY
20762014-01-03 Chong Yidong <cyd@gnu.org>
2077
2078 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2079 (advice--docstring): Delete variable.
2080 (advice--make-1): Leave the docstring empty.
2081 (advice-add): Use function-documentation for advised docstring.
2082
2083 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2084 Ignore function-documentation property when getting documentation.
2085 (ad-activate-advised-definition): Use function-documentation
2086 generate the docstring.
2087 (ad-make-advised-definition): Don't call
2088 ad-make-advised-definition-docstring.
2089 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2090 Delete functions.
2091
2092 * progmodes/sql.el (sql-help): Use function-documentation instead
2093 of dynamic-docstring-function property. No need to autoload now.
2094 (sql--help-docstring): New variable.
2095 (sql--make-help-docstring): Use it.
2096
6f547583
SM
20972014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2098
6ef9aed8
SM
2099 * ielm.el (ielm-tab): Retarget.
2100 (ielm-map): Use ielm-tab for tab.
2101 (ielm-complete-filename): Use comint-filename-completion.
2102 (ielm-complete-symbol): Remove.
2103 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2104 remove ielm-tab from completion-at-point-functions (bug#16224).
2105
6f547583
SM
2106 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2107 Beware signals raised by predicates (bug#16201).
2108
a574edbe
RS
21092014-01-02 Richard Stallman <rms@gnu.org>
2110
e831604d
RS
2111 * dired-aux.el (dired-do-print): Handle printer-name.
2112
6f547583
SM
2113 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2114 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2115 (rmail-epa-decrypt): Turn off mime processing.
2116
3fcfc4ee 2117 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2118 Add parens in message-id.
2119
2120 * mail/rmail.el (rmail-get-coding-function): Variable.
2121 (rmail-get-coding-system): Use it.
2122
04311a16
KH
21232013-12-31 Eli Zaretskii <eliz@gnu.org>
2124
2125 * international/mule-conf.el: Unify the charset indian-is13194.
2126 (indian-is13194): Specify unify-map.
2127
c8d89778
LL
21282013-12-31 Leo Liu <sdl.web@gmail.com>
2129
2130 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2131
e63ace37
DC
21322013-12-30 Daniel Colascione <dancol@dancol.org>
2133
9e0bf19a
DC
2134 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2135 of printing a useless when we resume from sleep.
2136
e63ace37 2137 * progmodes/sh-script.el
c295fc18 2138 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2139 in indentation code. (Bug#16233)
2140
e9d6c46a
JT
21412013-12-28 João Távora <joaotavora@gmail.com>
2142
6f547583
SM
2143 * elec-pair.el (electric-pair-post-self-insert-function):
2144 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2145
bf7bea5d
EZ
21462013-12-28 Eli Zaretskii <eliz@gnu.org>
2147
2148 * frame.el (window-system-for-display): Don't allow to create a
2149 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2150
8449dd1f
GM
21512013-12-28 Glenn Morris <rgm@gnu.org>
2152
9c5a5c77
GM
2153 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2154 Update callers.
2155
2156 * apropos.el (apropos-match-face):
2157 * calculator.el (calculator-displayer):
2158 * dabbrev.el (dabbrev-search-these-buffers-only):
2159 * face-remap.el (buffer-face-mode-face):
2160 * simple.el (yank-handled-properties):
2161 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2162 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2163 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2164 (hashcash-double-spend-database):
2165 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2166 (ruby-deep-indent-paren-style):
2167 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2168 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2169 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2170 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2171 Specify custom types.
2172
bb098075
GM
2173 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2174 * bookmark.el (bookmark-bmenu-use-header-line):
2175 * doc-view.el (doc-view-scale-internally):
2176 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2177 * register.el (register-preview-delay):
2178 * net/shr.el (shr-bullet):
2179 * progmodes/cfengine.el (cfengine-cf-promises)
2180 (cfengine-parameters-indent):
2181 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2182 * textmodes/reftex-vars.el (reftex-label-regexps):
2183 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2184
9c61f806
GM
2185 * net/tls.el (tls-certtool-program): Fix default value.
2186
2187 * desktop.el (desktop-restore-in-current-display):
2188 * newcomment.el (comment-empty-lines):
2189 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2190 (idlwave-pad-keyword):
2191 * progmodes/tcl.el (tcl-tab-always-indent):
2192 * textmodes/reftex-vars.el (reftex-index-default-tag):
2193 * elec-pair.el (electric-pair-skip-whitespace):
2194 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2195
8449dd1f
GM
2196 * emacs-lisp/authors.el (authors-ignored-files)
2197 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2198
fdadeb49
JC
21992013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2200
72140a0f
GM
2201 * shell.el (shell-dynamic-complete-command): Doc fix.
2202 (shell--command-completion-data): Shell completion now matches
2203 executable filenames from the current buffer's directory, on
da5ecfa9 2204 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2205
e572a7d8
LI
22062013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2207
2208 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2209
7514d3f8
SM
22102013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2211
a4151f3b
SM
2212 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2213 (bug#16251).
2214
7514d3f8
SM
2215 * electric.el: Move all electric-pair-* to elec-pair.el.
2216 * elec-pair.el: New file, split from electric.el.
2217
ac5758d1
LI
22182013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2219
2220 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2221 indentation level is larger than the width, because that will
2222 infloop.
2223 (shr-insert): Fill repeatedly long texts, so that Japanese is
2224 formatted correctly (bug#16263).
24a6b65e
LI
2225 (shr-find-fill-point): Off by one error in comparison with the
2226 indentation.
ac5758d1 2227
7514d3f8 22282013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2229
2230 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2231 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2232 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2233 if that keeps or improves their balance in buffers.
2234 (electric-pair-delete-adjacent-pairs): Delete the pair when
2235 backspacing over adjacent matched delimiters.
2236 (electric-pair-open-extra-newline): Open extra newline when
2237 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2238 (electric--sort-post-self-insertion-hook):
2239 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2240 minor-modes are activated.
2241 * simple.el (newline-and-indent): Call newline with interactive
2242 set to t.
2243 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2244 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2245 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2246 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2247 electric-pair-open-newline-between-pairs to nil.
2248
fbcc63a3
FEG
22492013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2250
2251 * progmodes/python.el: Use lexical-binding.
2252 (python-nav-beginning-of-defun): Stop searching ASAP.
2253
ed78d16c
XF
22542013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2255
2256 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2257 Fix interactive spec. Doc fix. (Bug#15754)
2258
38b2c142
KY
22592013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2260
2261 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2262 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2263 Fix edebug spec (bug#16184).
2264
3c856c14
LI
22652013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2266
83fa295c 2267 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2268 (shr-insert): Don't infloop if we can't find a good place to break
2269 the line (bug#16256).
3c856c14 2270
01379221
FEG
22712013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2272
35e951cd 2273 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2274 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2275 python-nav-lisp-forward-sexp-safe.
2276 (python-nav--forward-sexp): New argument SAFE allows switching
2277 forward sexp movement behavior for parens.
2278 (python-nav-forward-sexp): Throw errors on unterminated parens
2279 (Bug#16191).
2280 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2281 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2282 (python-shell-buffer-substring):
2283 Use `python-nav-forward-sexp-safe'.
01379221 2284
99e4926f
LI
22852013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2286
2287 * net/shr.el (shr-find-fill-point): Don't break lines before a
2288 quotation mark.
c6c20584
LI
2289 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2290 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2291 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2292
fec0e828
KN
22932013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2294
2295 * net/eww.el (eww-form-textarea): Use a different face for
2296 textareas than text input since they have different keymaps
2297 (bug#16142).
2298
89c868ad
FEG
22992013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2300
7514d3f8
SM
2301 * progmodes/python.el (python-nav-beginning-of-statement):
2302 Speed up (Bug#15295).
89c868ad 2303
eeef121a
LI
23042013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2305
2306 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2307 the window configuration.
2308
121ea65f
EZ
23092013-12-24 Eli Zaretskii <eliz@gnu.org>
2310
2311 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2312 we run on MS-Windows or MS-DOS.
2313
18cee9ec
MR
23142013-12-24 Martin Rudalics <rudalics@gmx.at>
2315
2316 * window.el (balance-windows-area): Call window-size instead of
2317 window-height and window-width. Bug#16241.
2318
58f2b9a5
LI
23192013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2320
2321 * net/eww.el (eww-bookmark-quit): Remove.
2322 (eww-bookmark-browse): Restore the window configuration when you
2323 choose a bookmark (bug#16144).
2324
d64b6308
DC
23252013-12-24 Daniel Colascione <dancol@dancol.org>
2326
2327 * icomplete.el: Remove redundant :group arguments to `defcustom'
2328 throughout.
2329 (icomplete-show-matches-on-no-input): New customizable variable.
2330 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2331 we have something to show.
7514d3f8 2332 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2333
0da54898
DC
23342013-12-23 Daniel Colascione <dancol@dancol.org>
2335
2336 * icomplete.el: Move `provide' to end of file.
2337
b90aa4f4
TZ
23382013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2339
2340 * net/gnutls.el (gnutls-verify-error): Add version tag.
2341
8cd22a08
CY
23422013-12-23 Chong Yidong <cyd@gnu.org>
2343
2344 * subr.el (set-transient-map): Rename from
2345 set-temporary-overlay-map. Doc fix.
2346
2347 * face-remap.el (text-scale-adjust):
2348 * indent.el (indent-rigidly):
2349 * kmacro.el (kmacro-call-macro):
2350 * minibuffer.el (minibuffer-force-complete):
2351 * repeat.el (repeat):
2352 * simple.el (universal-argument--mode):
2353 * calendar/todo-mode.el (todo-insert-item--next-param):
2354 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2355
7510b021
CY
2356 * indent.el (indent-rigidly): Use substitute-command-keys.
2357
72140a0f 23582013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2359
2360 * net/eww.el (eww-tag-select): Add text-property to jump to next
2361 select field.
e9dc713d 2362 (eww): Add non-supported ftp error.
56890ecd 2363
1f87a56c
DG
23642013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2365
2366 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2367 comments. Handle electric indent after typing `?' and `!'.
2368
dca38cf9
CY
23692013-12-22 Chong Yidong <cyd@gnu.org>
2370
2371 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2372 applicable to a frame, fall back on the defface spec.
2373 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2374
f2351498
DG
23752013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2376
2377 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2378 after `{'. We need it after block openers, and it doesn't seem
2379 to hurt after hash openers.
2380
6cddebc1
DG
23812013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2382
2383 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2384 extracted from `ruby-smie-rules'.
2385 (ruby--electric-indent-chars): New variable.
2386 (ruby--electric-indent-p): New function.
2387 (ruby-mode): Use `electric-indent-functions' instead of
2388 `electric-indent-chars'.
2389
65a1da00
DG
23902013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2391
2392 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2393 docstring.
2394 (ruby-smie-rules): Indent plus one level after `=>'.
2395
b51ad4cf
RS
23962013-12-21 Richard Stallman <rms@gnu.org>
2397
2398 * simple.el (newline): Doc fix.
2399
72140a0f 24002013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2401
e9dc713d 2402 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2403 (eww-history-browse, eww-history-quit, eww-history-kill)
2404 (eww-history-mode-map, eww-history-mode): New command and
2405 functions to list browser histories.
e9dc713d
JB
2406 (eww-form-text): Support text form with disabled
2407 and readonly attributes.
2408 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2409
5e1901c1
RS
24102013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2411
2412 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2413 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2414 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2415 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2416 Use `user-error'.
2417 (eww-bookmark-mode-map): Add menu.
2418 (eww-render, eww-mode): Use `setq-local'.
2419 (eww-tool-bar-map): New variable.
2420 (eww-mode): Set `tool-bar-map'.
2421 (eww-view-source): Check for `html-mode' with `fboundp'.
2422
073d5cfd
LMI
24232013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2424
2425 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2426 elements with text inside. Also remove debugging.
2427
41cf3d11
JD
24282013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2429
2430 * cus-start.el (all): Add ns-use-srgb-colorspace.
2431
aac2b673
CY
24322013-12-21 Chong Yidong <cyd@gnu.org>
2433
2434 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2435 undefined. Thus, theme settings for undefined faces do not take
2436 effect until the faces are defined with defface, the same as with
2437 theme variables.
2438
2439 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2440 (face-spec-reset-face): Don't assign extra properties in temacs.
2441 (face-spec-recalc): Apply X resources too.
2442
bacb0e77
CY
24432013-12-21 Chong Yidong <cyd@gnu.org>
2444
2445 * faces.el (face-spec-set):
2446 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2447 * custom.el (defface): Doc fixes (Bug#16203).
2448
77221051
CY
2449 * indent.el (indent-rigidly-map): Add docstring, and move commands
2450 into named functions.
2451 (indent-rigidly-left, indent-rigidly-right)
2452 (indent-rigidly-left-to-tab-stop)
2453 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2454 indentation direction based on bidi direction, and accumulate
2455 sequential commands in a single undo boundary.
2456 (indent-rigidly--pop-undo): New utility function.
2457
e0eb0550
JB
24582013-12-20 Juanma Barranquero <lekktu@gmail.com>
2459
2460 * faces.el (read-face-name): Require crm.el when using crm-separator.
2461
3282bd2e
DC
24622013-12-20 Daniel Colascione <dancol@dancol.org>
2463
2464 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2465 so that we don't reflow comments into the shebang line.
2466
1d42e5b6
JL
24672013-12-20 Juri Linkov <juri@jurta.org>
2468
2469 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2470 a position when `dired-directory' is non-nil. Check integer
2471 positions with `integerp'.
2472 (toggle-save-place, save-places-to-alist): Add check for
2473 `dired-directory'.
2474 (save-place-find-file-hook): Check integer positions with
2475 `integerp'.
2476 (save-place-dired-hook): Use `dired-goto-file' when
2477 `dired-filename' is found in the assoc list. Check integer
2478 positions with `integerp'.
2479 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2480
2481 * dired.el (dired-initial-position-hook): Rename back from
2482 `dired-initial-point-hook'.
2483 (dired-initial-position): Rename `dired-initial-point-hook' to
2484 `dired-initial-position-hook'.
2485 (dired-file-name-at-point): Doc fix. (Bug#15329)
2486
24da7273
JL
24872013-12-20 Juri Linkov <juri@jurta.org>
2488
2489 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2490 (read-regexp-suggestions): New function.
2491 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2492 Use `read-regexp-suggestions'. Add non-empty default to history
2493 for empty input.
2494 (occur-read-regexp-defaults-function): Remove function.
2495 (occur-read-primary-args): Use `regexp-history-last' instead of
2496 `occur-read-regexp-defaults-function'.
2497
2498 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2499 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2500 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2501 `hi-lock-read-regexp-defaults-function'. Doc fix.
2502 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2503 with `find-tag-default-as-symbol-regexp'. Doc fix.
2504 (hi-lock-read-regexp-defaults): Remove function.
2505 (hi-lock-regexp-okay): Add check for null.
2506
2507 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2508 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2509
2510 * subr.el (find-tag-default-as-symbol-regexp): New function.
2511 (find-tag-default-as-regexp): Move symbol regexp formatting to
2512 `find-tag-default-as-symbol-regexp'.
2513
137f57c8
S
25142013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2515
2516 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2517 (Bug#14179)
2518
f3a66082
SB
25192013-12-20 Stephen Berman <stephen.berman@gmx.net>
2520
2521 * calendar/todo-mode.el: New implementation of item insertion
2522 commands and key bindings.
2523 (todo-key-prompt): New face.
2524 (todo-insert-item): New command.
2525 (todo-insert-item--parameters): New defconst, replacing defvar
2526 todo-insertion-commands-args-genlist.
2527 (todo-insert-item--param-key-alist): New defconst, replacing
2528 defvar todo-insertion-commands-arg-key-list.
2529 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2530 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2531 (todo-insert-item--next-param): New functions.
2532 (todo-insert-item--args, todo-insert-item--argleft)
2533 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2534 New variables.
2535 (todo-key-bindings-t): Change binding of "i" from
2536 todo-insertion-map to todo-insert-item.
2537 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2538 (todo-insertion-command-name, todo-insertion-commands-names)
2539 (todo-define-insertion-command, todo-insertion-commands)
2540 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2541
2f99433b
SB
25422013-12-20 Stephen Berman <stephen.berman@gmx.net>
2543
2544 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2545 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2546 eval-when-compile.
2547 (todo-move-category): Allow choosing a non-existing todo file to
2548 move the category to, and create that file.
2549 (todo-default-priority): New user option.
2550 (todo-set-item-priority): Use it.
2551 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2552 (desktop-restore-file-buffer): Declare.
2553 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2554 (todo-modes-set-2): Locally set desktop-save-buffer to
2555 todo-desktop-save-buffer.
2556 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2557 (auto-mode-alist): Add autoload cookie.
2558
131e4695
BB
25592013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2560
2561 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2562 helpers.el was a poor choice of name.
3cbfb935
BB
2563 (string-remove-prefix): New function.
2564 (string-remove-suffix): New function.
131e4695 2565
c44de18d
MR
25662013-12-20 Martin Rudalics <rudalics@gmx.at>
2567
2568 Fix assignment for new window total sizes.
2569 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2570 (window--pixel-to-total-1, window--pixel-to-total):
2571 Fix calculation of new total sizes.
c44de18d 2572
ca65efcc
VS
25732013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2574
2575 * comint.el (comint-output-filter): Fix rear-nonsticky property
2576 placement (Bug#16010).
2577
a9574eb7
CY
25782013-12-20 Chong Yidong <cyd@gnu.org>
2579
2580 * faces.el (read-color): Minor fix for completion function.
2581
b520f210
DG
25822013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2583
e0eb0550
JB
2584 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2585 New option. (Bug#16182)
b520f210
DG
2586 (ruby-smie--indent-to-stmt-p): Use it.
2587 (ruby-smie-rules): Revert the logic in the handling of `when'.
2588 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2589 (ruby-deep-arglist, ruby-deep-indent-paren)
2590 (ruby-deep-indent-paren-style): Update docstrings to note that the
2591 vars don't have any effect with SMIE.
2592
26b75b45
JB
25932013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2594
2595 * calc/calc.el (calc-enter, calc-pop): Use the variable
2596 `calc-context-sensitive-enter'.
2597
cf91cee7
LMI
25982013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2599
2600 * net/shr.el (shr-insert): Protect against infloops in degenerate
2601 tables.
2602
51d971b4
RS
26032013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2604
2605 * progmodes/octave.el (octave): Add link to manual and octave
2606 homepage.
2607 (octave-mode-menu): Link to octave-mode manual.
2608
8c2e462a
LL
26092013-12-20 Leo Liu <sdl.web@gmail.com>
2610
2611 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2612 insertion using skeleton-end-newline. (Bug#16138)
2613
501158bc
JL
26142013-12-20 Juri Linkov <juri@jurta.org>
2615
2616 * replace.el (occur-engine): Use `add-face-text-property'
2617 to add the face property to matches and titles. (Bug#14645)
2618
2619 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2620 the palette of other hi-lock colors.
2621 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2622
50ab1da6
JL
26232013-12-19 Juri Linkov <juri@jurta.org>
2624
2625 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2626 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2627 (minibuffer-history-symbol): Move variable declaration closer to
2628 its usage.
2629
2630 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2631 (Bug#14785)
2632
3d6e95e7
JL
26332013-12-19 Juri Linkov <juri@jurta.org>
2634
2635 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2636 New function.
2637 (log-edit-hook): Add it to :options. (Bug#16170)
2638
b41594fd
JL
26392013-12-19 Juri Linkov <juri@jurta.org>
2640
2641 * simple.el (eval-expression-print-format): Don't check for
2642 command names and the last command. Always display additional
2643 formats of the integer result in the echo area, and insert them
2644 to the current buffer only with a zero prefix arg.
2645 Display character when char-displayable-p is non-nil.
2646 (eval-expression): With a zero prefix arg, set `print-length' and
2647 `print-level' to nil, and insert the integer values from
2648 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2649
2650 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2651 `eval-last-sexp-arg-internal'. Doc fix.
2652 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2653 `eval-last-sexp-print-value'. Doc fix.
2654 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2655 Set `print-length' and `print-level' to nil when arg is zero.
2656 (eval-last-sexp): Doc fix.
2657 (eval-defun-2): Print the integer values from
2658 `eval-expression-print-format' at the end.
2659
2660 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2661 values from `eval-expression-print-format' at the end.
2662
2663 * ielm.el (ielm-eval-input): Print the integer
2664 values from `eval-expression-print-format' at the end.
2665
8f2be364
TZ
26662013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2667
2668 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2669 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2670
2230a6e3
SM
26712013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2672
2673 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2674 (hl-line-highlight, global-hl-line-highlight): Use it.
2675 (hl-line-overlay): Use defvar-local.
2676
1269a680
JD
26772013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2678
2679 * term/ns-win.el: Require dnd.
2680 (global-map): Remove drag items.
2681 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2682 (ns-set-background-at-mouse):
2683 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2684 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2685 New functions.
1269a680 2686
049638ad
GM
26872013-12-19 Glenn Morris <rgm@gnu.org>
2688
2689 * emacs-lisp/ert.el (ert-select-tests):
2690 Fix string/symbol mixup. (Bug#16121)
2691
ce41edb4
DG
26922013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2693
2694 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2695 keywords to their parent.
2696
7e1549c9
DG
26972013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2698
2699 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2700 first arg to be a string (fixed dead code), or an operator symbol.
2701 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2702 operator symbols.
2703 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2704 did nothing. Don't respond to `(:after ".")', it will be called
2705 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2706 change anything. Only return indentation for binary operators
2707 when they are hanging. De-dent opening paren when its parent is
2708 `.', otherwise it looks bad when the dot is not at bol or eol
2709 (bug#16182).
2710
3ee4cd64
JL
27112013-12-19 Juri Linkov <juri@jurta.org>
2712
2713 * replace.el (query-replace-read-args): Split a non-negative arg
2714 and a negative arg into separate elements.
2715 (query-replace, query-replace-regexp, replace-string)
2716 (replace-regexp): Add arg `backward'. Doc fix.
2717 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2718 move point to the beginning of the match.
2719 (replace-search, replace-highlight): Use new arg `backward'
2720 to set the value of `isearch-forward'.
2721 (perform-replace): Add arg `backward' and use it to perform
2722 replacement backward. (Bug#14979)
2723
2724 * isearch.el (isearch-query-replace): Use a negative prefix arg
2725 to call `perform-replace' with a non-nil arg `backward'.
2726
0cda6b7b
JL
27272013-12-18 Juri Linkov <juri@jurta.org>
2728
2729 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2730 to the default list. Move `log-edit-show-files' to the end.
2731 Add more available functions to options.
2732 (log-edit): Move default specific settings to
2733 `log-edit-insert-message-template'. Don't move point.
2734 (log-edit-insert-message-template): New function.
2735 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2736 (Bug#16170)
2737
b216f0a6
JL
27382013-12-18 Juri Linkov <juri@jurta.org>
2739
2740 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2741 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2742
1d1c55dc
LL
27432013-12-18 Leo Liu <sdl.web@gmail.com>
2744
e9dc713d
JB
2745 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2746 (Bug#16186)
1d1c55dc 2747
64e4c76e
EZ
27482013-12-18 Eli Zaretskii <eliz@gnu.org>
2749
2750 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2751 formats for displaying file sizes when the -s switch is given.
2752 Instead, compute a separate format for displaying the size in
2753 blocks, which is displayed in addition to the "regular" size.
2754 When -h is given in addition to -s, produce size in blocks in
2755 human-readable form as well. (Bug#16179)
2756
b2984e39
TH
27572013-12-18 Tassilo Horn <tsdh@gnu.org>
2758
2230a6e3
SM
2759 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2760 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2761
50ff2e06
CY
27622013-12-18 Chong Yidong <cyd@gnu.org>
2763
0081bc84
CY
2764 * cus-edit.el (custom-magic-alist): Fix "themed" description
2765 (Bug#14348).
2766
a7ee9424
CY
2767 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2768 is non-nil, do not create a new entry in the symbol's theme-value
2769 or theme-face property; update theme-settings only (Bug#14664).
18874304 2770 (custom-available-themes): Doc fix.
a7ee9424 2771
8f942537
CY
2772 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2773 (Bug#15674).
2774
50ff2e06
CY
2775 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2776
83c60f60
KI
27772013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2778
2779 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2780 (Bug#13914).
2781
e0eb0550 27822013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2783
2784 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2785
1f41ee56
GM
27862013-12-18 Glenn Morris <rgm@gnu.org>
2787
2788 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2789 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2790
e82134b1
LW
27912013-12-18 Le Wang <l26wang@gmail.com>
2792
2230a6e3
SM
2793 * comint.el (comint-previous-matching-input-from-input):
2794 Retain point (Bug#13404).
e82134b1 2795
33f5d4c1
CY
27962013-12-18 Chong Yidong <cyd@gnu.org>
2797
2798 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2799
ccc9f6dc
GM
28002013-12-18 Glenn Morris <rgm@gnu.org>
2801
2802 * mail/emacsbug.el (report-emacs-bug):
2803 Only mention enable-multibyte-characters if non-standard.
2804
33dd8e95
JL
28052013-12-17 Juri Linkov <juri@jurta.org>
2806
2807 * arc-mode.el (archive-extract-by-file): Check if directory exists
2808 before deletion to not show irrelevant errors if it doesn't exist.
2809
7a409b30
JL
28102013-12-17 Juri Linkov <juri@jurta.org>
2811
2812 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2813 (Bug#14751)
2814
2815 * net/eww.el (browse-web): Add alias to `eww'.
2816 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2817 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2818
2819 * net/browse-url.el (browse-url-browser-function): Move `eww'
2820 closer to similar functions.
2821
2822 * startup.el (fancy-startup-screen, fancy-about-screen):
2823 Set browse-url-browser-function to eww-browse-url locally.
2824 (Bug#14751)
2825
2d6b6005
SM
28262013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * window.el (window--pixel-to-total): Remove unused `mini' var.
2829 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2830 (split-window): Remove unused `new' var.
2831 (window--display-buffer): Remove unused `frame' and `delta' vars.
2832 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2833 and display-width'.
2834
cf2b7efc
MR
28352013-12-17 Martin Rudalics <rudalics@gmx.at>
2836
2837 * dired.el (dired-mark-pop-up):
2838 * register.el (register-preview): Don't bind
2839 split-height-threshold here since it's now done in
2840 display-buffer-below-selected.
2841
ed3af8a7 28422013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2843
2844 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2845 xterm-rgb-convert-to-16bit.
2846 (rxvt-register-default-colors): Standardize with
2847 xterm-register-default-colors (Bug#14078).
2848
76da3455
DK
28492013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2850
2851 * simple.el (kill-region): Pass mark first, then point, so that
2852 kill-append works right (Bug#12819).
2853 (copy-region-as-kill, kill-ring-save): Likewise.
2854
2b84d763
LL
28552013-12-17 Leo Liu <sdl.web@gmail.com>
2856
2857 * net/rcirc.el (rcirc-add-face):
2858 * eshell/em-prompt.el (eshell-emit-prompt):
2859 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2860 (Bug#16167)
2861
e2f6a0bc
CY
28622013-12-17 Chong Yidong <cyd@gnu.org>
2863
2864 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2865 Suggested by Xue Fuqiao.
2866
35b249a6
DG
28672013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2868
2869 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2870
e9145444
SM
28712013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * net/shr.el (shr-insert-document): Remove unused var
2874 `shr-preliminary-table-render'.
2875 (shr-rescale-image): Remove unused arg `force'.
2876 (shr-put-image): Update calls accordingly.
2877 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2878
5556c0ce
DG
28792013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2880
2881 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2882 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2883 :close-all, to see which indentation method to use (Bug#16116).
2884 (smie-rules-function): Document the method :close-all.
2885
11bade0a
LMI
28862013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2887
1c4b1e61
LMI
2888 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2889
11bade0a
LMI
2890 * net/eww.el (eww-display-html): If we can't find the anchor we're
2891 looking for, then go to point-min.
2892
8fb8c4f3
PE
28932013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2894
2895 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2896 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2897 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2898 Expand dir too, in case it's relative.
2899
6c8e0ae6
JL
29002013-12-16 Juri Linkov <juri@jurta.org>
2901
2902 * desktop.el (desktop-auto-save-timeout): Change default to
2903 `auto-save-timeout'. Doc fix.
2904 (desktop-save): Skip the timestamp in desktop-saved-frameset
2905 when checking for auto-save changes.
2906 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2907 `desktop-auto-save' is called repeatedly by the idle timer.
2908 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2909 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2910 (Bug#15331)
2911
2178e858
JL
29122013-12-16 Juri Linkov <juri@jurta.org>
2913
2914 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2915 (Bug#16035)
2916 (isearch-pre-command-hook): Check `this-command' for symbolp.
2917
39cb42c6
SM
29182013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2921
5b9b750a
TZ
29222013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2923
2924 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2925 (cfengine3--current-function): Bring in the current-function
2926 functionality from `cfengine3--current-word'.
2927 (cfengine3-completion-function): Bring in the
2928 bounds-of-current-word functionality from
2929 `cfengine3--current-word'.
2930
d144ef06
MR
29312013-12-16 Martin Rudalics <rudalics@gmx.at>
2932
39cb42c6
SM
2933 * window.el (display-buffer-below-selected):
2934 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2935
a8bbe298
LL
29362013-12-16 Leo Liu <sdl.web@gmail.com>
2937
2938 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2939 Remove NOMSG arg and all uses changed.
2940
2013a2f9
SM
29412013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2944 (cua--deactivate-rectangle): Don't deactivate the mark.
2945 (cua-set-rectangle-mark): Don't set mark-active since
2946 cua--activate-rectangle already does it for us.
2947 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2948 non-rectangular region.
2949
2950 * emulation/cua-base.el (cua-repeat-replace-region):
2951 Use with-current-buffer.
2952
2953 * net/gnutls.el: Use cl-lib.
2954 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2955
5ae811dd
TZ
29562013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2957
2958 * emacs-lisp/package.el (package-built-in-p): Support both
2959 built-in and the package.el converted package descriptions.
2960 (package-show-package-list): Allow keywords.
2961 (package-keyword-button-action): Use it instead of
2962 `finder-list-matches'.
2963 (package-menu-filter-interactive): Interactive filtering (by
2964 keyword) function.
2965 (package-menu--generate): Support keywords and change keymappings
2966 and headers when they are given.
2967 (package--has-keyword-p): Helper function.
2968 (package-menu--refresh): Use it.
2969 (package--mapc): Helper function.
2970 (package-all-keywords): Use it.
2971 (package-menu-mode-map): Set up menu items and keybindings to
2972 provide a filtering UI.
2973
31b4827e
TZ
29742013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2975
2976 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2977 the behavior when a certificate fails validation. Defaults to
2978 old behavior: never abort, just warn.
2979 (gnutls-negotiate): Use it.
2980
f93cc74f
MR
29812013-12-14 Martin Rudalics <rudalics@gmx.at>
2982
2983 * window.el (display-buffer-below-selected): Never split window
2984 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2985
f77d7d17
TW
29862013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2987
2988 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2989 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2990
7514d3f8
SM
29912013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2992
aa2bddd7 2993 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2994 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2995
276bc333
DG
29962013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2997
2998 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2999 open-paren tokens when preceded by a open-paren, too.
3000 (ruby-smie-rules): Handle virtual indentation after open-paren
3001 tokens specially. If there is code between it and eol, return the
3002 column where is starts (Bug#16118).
3003
d43957f3
TZ
30042013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3005
a5c1ac0c 3006 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3007 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3008 (cfengine3--current-word): Fix parameters.
3009 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3010 (cfengine3-completion-function, cfengine3--current-function):
3011 Use `assq' for symbols.
d43957f3
TZ
3012 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3013
06a4f110
GM
30142013-12-13 Glenn Morris <rgm@gnu.org>
3015
3016 * loadup.el (load-path): Warn if site-load or site-init changes it.
3017 No more need to reset it when bootstrapping.
3018
978a5fda
TZ
30192013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3020
3021 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3022 locations for cf-promises.
3023 (cfengine-mode-syntax-functions-regex): New caching variable.
3024 (cfengine3-fallback-syntax): Fallback syntax for cases where
3025 cf-promises doesn't run.
3026 (cfengine3--current-word): Reimplement using
3027 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3028 (cfengine3-completion-function, cfengine3--current-function):
3029 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3030 (cfengine3-clear-syntax-cache): New function.
3031 (cfengine3-make-syntax-cache): Simplify and create
3032 `cfengine-mode-syntax-functions-regex' on demand.
3033 (cfengine3-format-function-docstring): Don't call
3034 `cfengine3-make-syntax-cache' explicitly.
3035
71e6691e
MR
30362013-12-13 Martin Rudalics <rudalics@gmx.at>
3037
3038 Fix windmove-find-other-window broken after pixelwise resizing
3039 (Bug#16017).
3040 * windmove.el (windmove-other-window-loc): Revert change from
3041 2013-12-04.
3042 (windmove-find-other-window): Call window-in-direction.
3043 * window.el (window-in-direction): New arguments SIGN, WRAP and
3044 MINI to emulate original windmove-find-other-window behavior.
3045
84c73ba0
DG
30462013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3047
3048 * simple.el (blink-matching--overlay): New variable.
3049 (blink-matching-open): Instead of moving point, highlight the
3050 matching paren with an overlay
3051 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3052
3053 * faces.el (paren-showing-faces, show-paren-match)
3054 (show-paren-mismatch): Move from paren.el.
3055
b9e20952
LL
30562013-12-13 Leo Liu <sdl.web@gmail.com>
3057
3058 * indent.el (indent-region): Disable progress reporter in
3059 minibuffer. (Bug#16108)
3060
3061 * bindings.el (visual-order-cursor-movement): Fix version.
3062
ce030451
FEG
30632013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3064
3065 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3066 Also match after beginning of line.
3067 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3068 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3069
4a9c6865
JL
30702013-12-13 Juri Linkov <juri@jurta.org>
3071
3072 * simple.el <Keypad support>: Remove key bindings duplicated
3073 with bindings.el. (Bug#14397)
3074
2bc170c3
JL
30752013-12-13 Juri Linkov <juri@jurta.org>
3076
3077 * comint.el (comint-mode-map): Replace `delete-char' with
3078 `delete-forward-char'. (Bug#16109)
3079
bc9222c9
FEG
30802013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3081
aa2bddd7 3082 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3083 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3084
cb3a1380
SM
30852013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3088 (advice--make): Pay attention to `depth'.
3089 (advice--make-1): Don't autoload commands eagerly.
3090 * emacs-lisp/elp.el (elp-instrument-function):
3091 * emacs-lisp/trace.el (trace-function-internal):
3092 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3093
3094 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3095
01633a17
EZ
30962013-12-12 Eli Zaretskii <eliz@gnu.org>
3097
3098 * term/w32-win.el (w32-handle-dropped-file):
3099 * startup.el (normal-top-level):
3100 * net/browse-url.el (browse-url-file-url):
3101 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3102 decode file names using 'utf-8' rather than
3103 file-name-coding-system.
3104
09faee72
FEG
31052013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3106
3107 * progmodes/python.el (python-indent-context)
3108 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3109 behavior for comment blocks. (Bug#15916)
09faee72 3110
f4f84024 31112013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3112
cb3a1380
SM
3113 * progmodes/python.el (python-indent-calculate-indentation):
3114 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3115 operators when they are just string constituents. (Bug#15812)
3116
d5ccb7be
JL
31172013-12-12 Juri Linkov <juri@jurta.org>
3118
3119 * uniquify.el (uniquify-buffer-name-style): Change default to
3120 `post-forward-angle-brackets'.
3121
3122 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3123 `uniquify'. Change default to `post-forward-angle-brackets'.
3124
7b3f5679
GM
31252013-12-11 Glenn Morris <rgm@gnu.org>
3126
3127 * emacs-lisp/package.el (finder-list-matches):
3128 Autoload rather than falsely declaring.
3129
f4fe8fdd
TZ
31302013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3131
3132 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3133 (eww-mode-map): Use them.
3134
3c29190f
MR
31352013-12-11 Martin Rudalics <rudalics@gmx.at>
3136
3137 * window.el (display-buffer-in-side-window): Fix doc-string
3138 (Bug#16115).
3139
0cd616a2
JB
31402013-12-11 Juanma Barranquero <lekktu@gmail.com>
3141
3142 * vc/vc-git.el: Silence byte-compiler warnings.
3143 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3144 (log-edit-set-header): Declare.
3145
3ef8e0d1
EZ
31462013-12-11 Eli Zaretskii <eliz@gnu.org>
3147
3148 * Makefile.in (custom-deps, finder-data): Run output file names
3149 through unmsys--file-name. (Bug#16099)
3150
afdadaf7
SM
31512013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3152
7ae3ae39 3153 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3154 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3155
5b4f37ab
SM
3156 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3157 instead of deleting the selection "by hand" (bug#16098).
3158 Rely on insert-for-yank to yank rectangles.
3159 (cua-highlight-region-shift-only): Mark obsolete.
3160 (cua-mode): Don't enable/disable transient-mark-mode,
3161 shift-select-mode (cua-mode works both with and without them), and
3162 pc-selection-mode (obsolete).
3163 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3164 (cua--deactivate-rectangle): Deactivate it.
3165
4b72c12b
SM
3166 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3167 (delete-selection-helper): Make sure yank starts at the top of the
3168 deleted region.
3169 (minibuffer-keyboard-quit): Use region-active-p.
3170
e82af72d
SM
3171 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3172
afdadaf7
SM
3173 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3174 to `delete' (bug#16109).
3175
ed4bc201
RS
31762013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3177
3178 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3179 info manual and show keybindings and set `:group' keyword.
3180
bb8097b9
JL
31812013-12-11 Juri Linkov <juri@jurta.org>
3182
3183 * delsel.el (delete-active-region): Let-bind `this-command'
3184 to prevent `kill-region' from changing its original value.
3185 (delete-selection-helper): Handle `overwrite-mode' for the type
3186 `kill' exactly the same way as for the type `t'.
3187 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3188 Support more commands. (Bug#13312)
3189
c1916ff5
JL
31902013-12-11 Juri Linkov <juri@jurta.org>
3191
3192 * bindings.el: Map kp keys to non-kp keys systematically
3193 with basic modifiers control, meta and shift. (Bug#14397)
3194
7514d3f8 31952013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3196
3197 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3198 "Close browser" menu items. Fix wrong function of "List
3199 bookmarks".
3200
4cc51eaf
JL
32012013-12-11 Juri Linkov <juri@jurta.org>
3202
3203 * misearch.el (multi-isearch-buffers): Set the value of
3204 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3205 arg of isearch-forward to t.
3206 (multi-isearch-buffers-regexp): Set the value of
3207 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3208 arg of isearch-forward-regexp to t.
3209 (multi-isearch-files): Set the value of
3210 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3211 arg of isearch-forward to t.
3212 (multi-isearch-files-regexp): Set the value of
c295fc18 3213 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3214 arg of isearch-forward-regexp to t. (Bug#16035)
3215
3216 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3217 arg of isearch-forward to t.
3218 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3219 arg of isearch-forward-regexp to t.
3220 (dired-isearch-filter-filenames): Remove unnecessary check for
3221 `dired-isearch-filenames'.
3222
3223 * comint.el (comint-history-isearch-backward):
3224 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3225 (comint-history-isearch-backward-regexp):
3226 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3227
ceac12b7
EZ
32282013-12-10 Eli Zaretskii <eliz@gnu.org>
3229
3230 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3231 unmsys--file-name. (Bug#16099)
3232
5a565782
TZ
32332013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3234
cb3a1380
SM
3235 * emacs-lisp/package.el (package-keyword-button-action):
3236 Remove finder.el require dependency.
5a565782 3237
a81fc7ba
TZ
32382013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3239
3240 * emacs-lisp/package.el: Require finder.el.
3241 (describe-package-1): Add keyword buttons.
3242 (package-make-button): New convenience function.
3243 (package-keyword-button-action): Keyword button action using
e0eb0550 3244 `finder-list-matches'.
a81fc7ba 3245
6aaca951
EZ
32462013-12-09 Eli Zaretskii <eliz@gnu.org>
3247
3248 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3249 last commit.
3250
a1099a91
MA
32512013-12-09 Michael Albinus <michael.albinus@gmx.de>
3252
3253 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3254 symlinked files.
3255
8212d9c0
DG
32562013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3257
3258 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3259 after the end of a percent literal.
3260
8f48d131
CD
32612013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3262
cb3a1380
SM
3263 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3264 Handle caret-delimited strings (Bug#16079).
8f48d131 3265
ff8c9764
DG
32662013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3267
cb3a1380
SM
3268 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3269 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3270 `ruby-parse-partial' (Bug#16078).
3271
d64643b4
LL
32722013-12-09 Leo Liu <sdl.web@gmail.com>
3273
3274 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3275
47e59c66
DG
32762013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3277
3278 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3279 (js-switch-indent-offset): New option.
3280 (js--proper-indentation): Use it. And handle the case when
3281 "default" is actually a key in an object literal.
3282 (js--same-line): New function.
3283 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3284 (js--indent-in-array-comp, js--array-comp-indentation):
3285 New functions.
47e59c66
DG
3286 (js--proper-indentation): Use them, to handle array comprehension
3287 continuations.
3288
974ebc9c
LL
32892013-12-08 Leo Liu <sdl.web@gmail.com>
3290
3291 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3292 (flymake-make-overlay): Remove arg MOUSE-FACE.
3293 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3294
27262e39
SM
32952013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3298 New function.
3299 (redisplay-highlight-region-function): Use it.
3300
3301 * emulation/cua-base.el (cua--explicit-region-start)
3302 (cua--last-region-shifted): Remove.
3303 (cua--deactivate): Use deactivate-mark.
3304 (cua--pre-command-handler-1): Don't handle shift-selection.
3305 (cua--post-command-handler-1): Don't change transient-mark-mode.
3306 (cua--select-keymaps): Use region-active-p rather than
3307 cua--explicit-region-start or cua--last-region-shifted.
3308 (cua-mode): Enable shift-select-mode.
3309
6407822c
LL
33102013-12-08 Leo Liu <sdl.web@gmail.com>
3311
27262e39
SM
3312 * progmodes/flymake.el (flymake-popup-current-error-menu):
3313 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3314 (flymake-posn-at-point-as-event, flymake-popup-menu)
3315 (flymake-make-emacs-menu): Remove. (Bug#16077)
3316
00a2b823
SM
33172013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3318
02033d49
SM
3319 * rect.el (rectangle-mark-mode): Activate mark even if
3320 transient-mark-mode is off (bug#16066).
3321 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3322 is > mark and at bolp.
3323
6f8dfccf
SM
3324 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3325 (region-extract-function): Use it.
3326 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3327 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3328 Delete functions.
3329 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3330 kill-ring-save, kill-region, delete-char, delete-forward-char.
3331 Ignore self-insert-iso.
3332
3333 * emulation/cua-gmrk.el (cua--init-global-mark):
3334 Ignore `self-insert-iso'.
3335
3336 * emulation/cua-base.el (cua--prefix-copy-handler)
3337 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3338 checking cua--rectangle.
3339 (cua-delete-region): Use region-extract-function.
3340 (cua-replace-region): Delete function.
3341 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3342 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3343 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3344 (cua--init-keymaps): Don't remap delete-selection commands.
3345 (cua-mode): Use delete-selection-mode instead of rolling our own
3346 (bug#16085).
3347
3348 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3349 Obey region-extract-function.
3350
00a2b823
SM
3351 Make registers and delete-selection-mode work on rectangles.
3352 * register.el (describe-register-1): Don't modify the register's value.
3353 (copy-to-register): Obey region-extract-function.
3354 * delsel.el (delete-active-region): Obey region-extract-function.
3355
a92fa5f1
LL
33562013-12-08 Leo Liu <sdl.web@gmail.com>
3357
3358 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3359 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3360 (flymake-compilation-prevents-syntax-check)
3361 (flymake-start-syntax-check-on-newline)
3362 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3363 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3364 (flymake-xml-program, flymake-master-file-dirs)
3365 (flymake-master-file-count-limit)
3366 (flymake-allowed-file-name-masks): Relocate.
3367 (flymake-makehash, flymake-float-time)
3368 (flymake-replace-regexp-in-string, flymake-split-string)
3369 (flymake-get-temp-dir): Remove.
3370 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3371 (flymake-current-row, flymake-selected-frame)
3372 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3373 related functions. (Bug#16077)
3374
73c8ceea
BB
33752013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3376
3377 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3378
faec28d9
TH
33792013-12-07 Tassilo Horn <tsdh@gnu.org>
3380
3381 * help-fns.el (describe-function-1): Use new advice-* functions
3382 rather than old ad-* functions. Fix function type description and
3383 source links for advised functions and subrs.
3384
e330b646
LMI
33852013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3386
00a2b823 3387 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3388
4803595d
MA
33892013-12-06 Michael Albinus <michael.albinus@gmx.de>
3390
3391 * progmodes/compile.el (compilation-start):
3392 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3393
3394 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3395 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3396
fa834a93
DG
33972013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3398
00a2b823
SM
3399 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3400 Touch up the last change.
fa834a93 3401
b2856a6f
LL
34022013-12-06 Leo Liu <sdl.web@gmail.com>
3403
3404 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3405 (inferior-octave-startup): Always use "octave> " for prompt.
3406 (octave-goto-function-definition)
3407 (octave-sync-function-file-names)
3408 (octave-find-definition-default-filename): Remove redundant backquotes.
3409
af67e79a
DG
34102013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3411
3412 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3413 syntax for `?'.
3414 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3415 where appropriate already.
3416 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3417 end of method names (Bug#15874).
3418
bf093209
JL
34192013-12-06 Juri Linkov <juri@jurta.org>
3420
3421 * isearch.el (isearch--saved-overriding-local-map):
3422 New internal variable.
3423 (isearch-mode): Set it to the initial value of
3424 `overriding-terminal-local-map'.
3425 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3426 with `isearch--saved-overriding-local-map'. (Bug#16035)
3427
16588fad
DG
34282013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3429
00a2b823
SM
3430 * progmodes/octave.el (inferior-octave-completion-table):
3431 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3432 (Bug#11906). Update all references.
3433
3434 * minibuffer.el (completion-table-with-cache): New function.
3435
bf4906d7
CD
34362013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3437
3438 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3439
ff69c18f
TZ
34402013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3441
3442 * net/eww.el (eww-current-source): New variable to store page
3443 source.
3444 (eww-display-html, eww-mode, eww-save-history)
3445 (eww-restore-history): Use it.
3446 (eww-view-source): New command to view page source.
3447 Opportunistically uses `html-mode' to highlight the buffer.
3448 (eww-mode-map): Install it.
3449
b85eff45
MA
34502013-12-05 Michael Albinus <michael.albinus@gmx.de>
3451
3452 * net/dbus.el (dbus-unregister-service)
3453 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3454 Fix docstring.
3455 (dbus-unregister-service): Skip :serial entries in
3456 `dbus-registered-objects-table'.
3457 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3458
39eb0899
TZ
34592013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3460
3461 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3462 around keywords with extra `split-string' argument.
3463
456760a5
MR
34642013-12-04 Martin Rudalics <rudalics@gmx.at>
3465
3466 * windmove.el (windmove-other-window-loc): Handle navigation
3467 between windows (excluding the minibuffer window - Bug#16017).
3468
81961e4c
MA
34692013-12-04 Michael Albinus <michael.albinus@gmx.de>
3470
3471 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3472 in D-Bus type syntax.
3473 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3474 preserve unibyte strings. (Bug#16048)
3475
8497f938
SM
34762013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3479 Call force-mode-line-update is the proper buffer (bug#16042).
3480
dda61916
DG
34812013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3482
3483 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3484 `log-edit-remember-comment', make argument optional. Adjust all
3485 callers.
3486 (log-edit-mode): Add `log-edit-remember-comment' to
3487 `kill-buffer-hook' locally.
3488 (log-edit-kill-buffer): Don't remember comment explicitly since
3489 the buffer is killed anyway.
3490
c085e5b9
JL
34912013-12-04 Juri Linkov <juri@jurta.org>
3492
3493 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3494 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3495
e0eb0550 34962013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3497
3498 * notifications.el (notifications-close-notification): Call the
81961e4c 3499 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3500
39fa32d6
KY
35012013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3502
3503 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3504
9139632a
JL
35052013-12-03 Juri Linkov <juri@jurta.org>
3506
3507 * progmodes/compile.el (compilation-start): Rename window alist
3508 entry `no-display-ok' to `allow-no-window'.
3509
3510 * simple.el (shell-command): Add window alist entry
3511 `allow-no-window' to `display-buffer'.
3512 (async-shell-command): Doc fix.
3513
3514 * window.el (display-buffer-no-window): New action function.
3515 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3516
0f457a37
DG
35172013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3518
3519 * vc/log-edit.el (log-edit-set-header): Extract from
3520 `log-edit-toggle-header'.
3521 (log-edit-extract-headers): Separate the summary, when extracted
3522 from header, from the rest of the message with an empty line.
3523
3524 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3525 line, if present, to the Summary header.
3526
0962f376
SM
35272013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3530 in current-buffer (bug#16029).
3531
f345395c
HE
35322013-12-02 Helmut Eller <eller.helmut@gmail.com>
3533
3534 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3535 (debugger-mode-map): Bind it.
3536 (debugger--backtrace-base): New function.
3537 (debugger-eval-expression): Use it.
3538 (debugger-frame-number): Skip local vars when present.
3539 (debugger--locals-visible-p, debugger--insert-locals)
3540 (debugger--show-locals, debugger--hide-locals): New functions.
3541
a8a15d9d
MA
35422013-12-02 Michael Albinus <michael.albinus@gmx.de>
3543
3544 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3545 "LC_ALL".
3546 (tramp-get-remote-locale): New defun.
3547 (tramp-open-connection-setup-interactive-shell): Use it.
3548
0518b057
LL
35492013-12-02 Leo Liu <sdl.web@gmail.com>
3550
3551 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3552
3553 * progmodes/sh-script.el (sh-shell-process):
3554 * progmodes/octave.el (inferior-octave-process-live-p):
3555 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3556 (gdb-inferior-io-sentinel):
3557 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3558
3adc9c6d
DG
35592013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3560
3561 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3562 `save-selected-window' to `log-edit-hide-buf'. This makes
3563 `log-edit-show-files' idempotent.
3564 (log-edit-show-files): Mark the new window as dedicated.
3565
47e8b74e
DG
35662013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3567
3568 * vc/log-edit.el (log-edit-mode-map): Add binding for
3569 `log-edit-kill-biffer'.
3570 (log-edit-hide-buf): Add a FIXME comment.
3571 (log-edit-add-new-comment): New function, extracted from
3572 `log-edit-done'.
3573 (log-edit-done, log-edit-add-to-changelog): Use it.
3574 (log-edit-kill-buffer): New command.
3575
1f6e1bb0
LMI
35762013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3577
3578 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3579 instead of killing the buffer.
3580
fb651d15
SM
35812013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3582
3583 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3584
8feacce0
RS
35852013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3586
fb651d15 3587 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3588 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3589 (eww-form-checkbox, eww-toggle-checkbox):
3590 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3591
e0eb0550 3592 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3593 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3594 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3595 no :src tag was specified.
3596
fb651d15 3597 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3598 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3599 Use \\` to match beginning of string instead of ^.
3600 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3601 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3602
177948a5
RS
3603 * net/shr.el (shr-tag-video): Display content for video if no
3604 poster is available.
eb2dd24d 3605 (shr-tag-audio): Add support for <audio> tag.
177948a5 3606
e0eb0550 3607 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3608 (eww-process-text-input): Treat input types in
3609 `eww-text-input-types' as text.
3610
8feacce0
RS
3611 * net/shr.el (shr-tag-table): Fix comment typo.
3612
513562a1
LMI
36132013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3614
3615 * net/eww.el (eww-follow-link): New command to avoid reloading
3616 pages when we follow #target links (bug#15243).
de8a5633 3617 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3618
9dd99753
KN
36192013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3620
3621 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3622 forms.
3623
3e9876de
LMI
36242013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3625
3626 * net/eww.el (eww-restore-history): Update the window title after
3627 moving in the history.
ab6dea82 3628 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3629
52789f7f
DG
36302013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3631
3632 * vc/log-edit.el (log-edit-mode-map): Add binding for
3633 `log-edit-beginning-of-line'.
3634 (log-edit-setup-add-author): New user option.
3635 (log-edit-beginning-of-line): New command.
3636 (log-edit): Move major mode call above the contents setup so that
3637 the local variable values are already applied.
3638 (log-edit): Only insert "Author: " when
3639 `log-edit-setup-add-author' is non-nil.
3640 (log-edit): When SETUP is non-nil, position point after ": "
3641 instead of point-min.
3642
2e6710c3
GM
36432013-12-01 Glenn Morris <rgm@gnu.org>
3644
3645 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3646
fadec31f
EZ
36472013-11-30 Eli Zaretskii <eliz@gnu.org>
3648
3649 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3650 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3651 visible. (Bug#16014)
3652
10634b40 36532013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3654
3655 Support resizing frames and windows pixelwise.
3656 * cus-start.el (frame-resize-pixelwise)
3657 (window-resize-pixelwise): New entries.
3658 * emacs-lisp/debug.el (debug): Use window-total-height instead
3659 of window-total-size.
3660 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
3661 * help.el (describe-bindings-internal): Use help-buffer as
3662 argument for with-help-window.
880e6158
MR
3663 (temp-buffer-max-width): New option.
3664 (resize-temp-buffer-window, help-window-setup)
3665 (with-help-window): Rewrite.
3666 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3667 dragging dividers.
3668 * window.el (frame-char-size, window-min-pixel-height)
3669 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3670 (window-min-pixel-width, window-safe-min-pixel-size)
3671 (window-combination-p, window-safe-min-size)
3672 (window-resizable-p, window--size-to-pixel)
3673 (window--pixel-to-size, window--resize-apply-p): New functions.
3674 (window-safe-min-height): Fix doc-string.
3675 (window-size, window-min-size, window--min-size-1)
3676 (window-sizable, window-sizable-p, window--min-delta-1)
3677 (window-min-delta, window--max-delta-1, window-max-delta)
3678 (window--resizable, window--resizable-p, window-resizable)
3679 (window-full-height-p, window-full-width-p, window-at-side-p)
3680 (window--in-direction-2, window-in-direction)
3681 (window--resize-reset-1, window--resize-mini-window)
3682 (window-resize, window-resize-no-error)
3683 (window--resize-child-windows-normal)
3684 (window--resize-child-windows, window--resize-siblings)
3685 (window--resize-this-window, window--resize-root-window)
3686 (window--resize-root-window-vertically)
3687 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3688 (maximize-window, minimize-window, delete-window)
3689 (quit-restore-window, window-split-min-size, split-window)
3690 (balance-windows-2, balance-windows)
3691 (balance-windows-area-adjust, balance-windows-area)
3692 (window--state-get-1, window-state-get, window--state-put-1)
3693 (window--state-put-2, window-state-put)
fb651d15
SM
3694 (display-buffer-record-window, window--display-buffer):
3695 Make functions handle pixelwise sizing of windows.
880e6158 3696 (display-buffer--action-function-custom-type)
fb651d15
SM
3697 (display-buffer-fallback-action):
3698 Add display-buffer-in-previous-window.
880e6158
MR
3699 (display-buffer-use-some-window): Resize window to height it had
3700 before.
3701 (fit-window-to-buffer-horizontally): New option.
3702 (fit-frame-to-buffer): Describe new values.
3703 (fit-frame-to-buffer-bottom-margin): Replace with
3704 fit-frame-to-buffer-margins.
3705 (window--sanitize-margin): New function.
3706 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3707 using window-text-pixel-size.
3708
f9b697dd
GM
37092013-11-30 Glenn Morris <rgm@gnu.org>
3710
3e2fb4db
GM
3711 * emacs-lisp/bytecomp.el (byte-compile-form):
3712 Make the `interactive-only' warning like the `obsolete' one.
3713 * comint.el (comint-run):
3714 * files.el (insert-file-literally, insert-file):
3715 * replace.el (replace-string, replace-regexp):
3716 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3717 (goto-line, insert-buffer, next-line, previous-line):
3718 Tweak `interactive-only' spec.
3719
f9b697dd
GM
3720 Stop keeping (most) generated cedet grammar files in the repository.
3721 * Makefile.in (semantic): New.
3722 (compile-main): Depend on semantic.
3723
da048127
SM
37242013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3725
7784b779
SM
3726 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3727 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3728
4e36a6a6
SM
3729 * uniquify.el (uniquify-buffer-name-style): Change default.
3730
3731 * loadup.el: Preload "uniquify".
3732
e0ba1308
SM
3733 * time.el (display-time-update): Update all mode lines (bug#15999).
3734
da048127
SM
3735 * electric.el (electric-indent-mode): Enable by default.
3736 * loadup.el: Preload "electric".
3737
015b3b3e
BB
37382013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3739
3740 * emacs-lisp/helpers.el (string-empty-p): New function.
3741 (string-blank-p): New function.
3742
7efb806d
AP
37432013-11-29 Andreas Politz <politza@hochschule-trier.de>
3744
3745 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3746 (Bug#14029).
3747
c8f0efc2
AP
37482013-11-29 Andreas Politz <politza@fh-trier.de>
3749 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3750 allow non-lambda lists as functions.
3751 (imenu--in-alist): Don't recurse into non-subalists.
3752 (imenu): Don't pass function itself as an argument (Bug#14029).
3753
bd15d9d1
SM
37542013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * progmodes/python.el (python-mode-map): Remove binding for ":".
3757 (python-indent-electric-colon): Remove command.
3758 (python-indent-post-self-insert-function): Integrate the previous code
3759 of python-indent-electric-colon. Make it conditional on
3760 electric-indent-mode.
3761 (python-mode): Add ?: to electric-indent-chars.
3762 Move python-indent-post-self-insert-function to the end of
3763 post-self-insert-hook.
3764
1b10adb6
SM
37652013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3766
655ab9a3
SM
3767 * doc-view.el (doc-view-goto-page): Update mode-line.
3768
1b10adb6
SM
3769 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3770
7e3bf78c
GM
37712013-11-27 Glenn Morris <rgm@gnu.org>
3772
3773 * international/charprop.el, international/uni-bidi.el:
3774 * international/uni-category.el, international/uni-combining.el:
3775 * international/uni-comment.el, international/uni-decimal.el:
3776 * international/uni-decomposition.el, international/uni-digit.el:
3777 * international/uni-lowercase.el, international/uni-mirrored.el:
3778 * international/uni-name.el, international/uni-numeric.el:
3779 * international/uni-old-name.el, international/uni-titlecase.el:
3780 * international/uni-uppercase.el:
3781 Remove generated files from VCS repository.
3782
fb6a5d68
EZ
37832013-11-27 Eli Zaretskii <eliz@gnu.org>
3784
3785 * filenotify.el (file-notify-add-watch): Don't special-case
3786 w32notify when computing the directory to watch.
3787
cb6c95a3
GM
37882013-11-27 Glenn Morris <rgm@gnu.org>
3789
20372d0c
GM
3790 Make bootstrap without generated uni-*.el files possible again.
3791 * loadup.el: Update command-line-args checking for unidata-gen.
3792 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3793 * composite.el, international/characters.el:
3794 Handle unicode tables being undefined.
3795
52d6635f 3796 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3797 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3798 (compile-main): Depend on leim rule.
3799 (leim): New rule.
3800 * loadup.el: Move leim-list.el to leim/ subdirectory.
3801 * startup.el (normal-top-level): No more leim directory.
3802 * international/ja-dic-cnv.el (skkdic-convert):
3803 Disable version-control and autoloads in output files.
3804 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3805 Disable version-control and autoloads in output files.
3806 * leim/quail: Move here from ../leim.
3807 * leim/quail/hangul.el (hangul-input-method-activate):
3808 Add autoload cookie.
3809 (generated-autoload-load-name): Set file-local value.
3810 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3811 (generated-autoload-load-name): Set file-local value.
3812
7514d3f8 38132013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3814
e0eb0550 3815 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3816 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3817 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3818
0e2c793f
EZ
38192013-11-26 Eli Zaretskii <eliz@gnu.org>
3820
3821 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3822 reading output from Diff on MS-Windows and MS-DOS.
3823
447bdcb8
BB
38242013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3825
3826 * emacs-lisp/helpers.el (string-reverse): New function.
3827
5fbf6856
MA
38282013-11-26 Michael Albinus <michael.albinus@gmx.de>
3829
3830 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3831 names on MS Windows, like "/[::1]:".
3832
3833 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3834 SWITCHES.
3835
624780f0
GM
38362013-11-26 Glenn Morris <rgm@gnu.org>
3837
0bf3f0fa
GM
3838 * progmodes/python.el (python-indent-guess-indent-offset):
3839 Avoid corner-case error. (Bug#15975)
3840
624780f0
GM
3841 Preload leim-list.el. (Bug#4789)
3842 * loadup.el: Load leim-list.el when found.
3843 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3844
4301875e 38452013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3846
3847 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3848
4301875e
BB
3849 * emacs-lisp/helpers.el (string-join): New function.
3850
1633a815 38512013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3852
3853 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3854 Mark as obsolete and replace it with a symbol property.
3855 (byte-compile-form): Use new 'interactive-only property.
3856 * comint.el, files.el, replace.el, simple.el:
3857 Apply new 'interactive-only properly.
3858
00139435
MR
38592013-11-25 Martin Rudalics <rudalics@gmx.at>
3860
3861 * window.el (display-buffer-at-bottom): Make sure that
3862 split-window-sensibly creates the new window on bottom
3863 (Bug#15961).
3864
5f5b128d
DK
38652013-11-23 David Kastrup <dak@gnu.org>
3866
3867 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3868 on the conflict markers when available.
3869 (smerge--get-marker): New function.
3870 (smerge-end-re, smerge-base-re): Add subgroup.
3871
623891e5
SM
38722013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * frame.el (handle-focus-in, handle-focus-out): Add missing
3875 interactive spec.
3876
05ca27d8
MA
38772013-11-25 Michael Albinus <michael.albinus@gmx.de>
3878
3879 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3880 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3881
511fa0d3
SM
38822013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3883
e82ad66c
SM
3884 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3885 (gomoku--last-pos): New var.
3886 (gomoku--intangible-chars): New const.
3887 (gomoku--intangible): New function.
3888 (gomoku-mode): Use it. Derive from special-mode.
3889 (gomoku-move-up): Adjust line count.
3890 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3891 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3892 Simplify accordingly.
3893
511fa0d3
SM
3894 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3895 Remove blink-cursor code.
3896 (blink-cursor-timer-function, blink-cursor-suspend):
3897 Don't special-case GUIs.
3898 (blink-cursor-mode): Use focus-in/out-hook.
3899
6f20dd03
DG
39002013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3901
3902 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3903 work when annotation is invisible (Bug#13886).
3904
431dec31 39052013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
3906
3907 * json.el (json-alist-p): Only return non-nil if the alist has
3908 simple keys (Bug#13518).
3909
431dec31 39102013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
3911
3912 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3913 when control-statement is the first statement in a buffer (Bug#15956).
3914
ee4f0261
DG
39152013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3916
3917 * imenu.el (imenu-generic-skip-comments-and-strings):
3918 New option (Bug#15560).
3919 (imenu--generic-function): Use it.
3920
c484f866
JS
39212013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3922
e9dc713d
JB
3923 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3924 (Bug#13898)
c484f866 3925
41ce6f70
BB
39262013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3927
b55aea38
BB
3928 * emacs-lisp/helpers.el: Add some string helpers.
3929 (string-trim-left): Removes leading whitespace.
3930 (string-trim-right): Removes trailing whitespace.
3931 (string-trim): Removes leading and trailing whitespace.
3932
41ce6f70
BB
3933 * subr.el (string-suffix-p): New function.
3934
3cfb6af3
GM
39352013-11-23 Glenn Morris <rgm@gnu.org>
3936
3937 * progmodes/python.el (python-shell-send-file):
3938 Add option to delete file when done. (Bug#15647)
3939 (python-shell-send-string, python-shell-send-region): Use it.
3940
c27924b7
IS
39412013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3942
e1b01c7f
IS
3943 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3944 to set buffer-read-only to t, never to nil. (Bug#15938)
3945
c27924b7
IS
3946 * textmodes/tex-mode.el (latex-noindent-environments):
3947 Add safe-local-variable property. (Bug#15936)
3948
17e0445b
GM
39492013-11-23 Glenn Morris <rgm@gnu.org>
3950
92f78ea3
GM
3951 * textmodes/enriched.el (enriched-mode): Doc fix.
3952 * emacs-lisp/authors.el (authors-renamed-files-alist):
3953 Add enriched.doc -> enriched.txt.
3954
17e0445b
GM
3955 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3956
965bb23a
LL
39572013-11-22 Leo Liu <sdl.web@gmail.com>
3958
3959 * progmodes/octave.el (inferior-octave-startup): Spit out error
3960 message.
3961
d19ffd64
BB
39622013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3963
3964 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3965 Improve docstring.
15ba2182
BB
3966 Add :version.
3967 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3968
7a7567d2
LL
39692013-11-22 Leo Liu <sdl.web@gmail.com>
3970
3971 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3972 (Bug#15076)
8c09f64b
LL
3973 (octave-help-mode): Adapt to change to help-mode-finish to use
3974 derived-mode-p on 2013-09-17.
3975 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3976 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3977
724bc265
LL
39782013-11-22 Leo Liu <sdl.web@gmail.com>
3979
3980 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3981 (inferior-octave-startup, inferior-octave-check-process)
3982 (inferior-octave-track-window-width-change)
3983 (octave-completion-at-point, octave-eldoc-function): Use it.
3984 (octave-kill-process): Provide confirmation. (Bug#10564)
3985
38637cca
LL
39862013-11-21 Leo Liu <sdl.web@gmail.com>
3987
511fa0d3
SM
3988 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3989 Fix obsolete variable comment-use-global-state.
38637cca 3990
06e752b4
RS
39912013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3992
511fa0d3
SM
3993 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3994 Add `octave-source-file'.
06e752b4
RS
3995 (octave-source-file): New function. (Bug#15935)
3996
7514d3f8 39972013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3998
3999 * net/eww.el (eww-local-regex): New variable.
4000 (eww): Use it to detect localhost and similar.
4001
b6ffa04a
LL
40022013-11-21 Leo Liu <sdl.web@gmail.com>
4003
4004 Add completion for command `ag'.
2021a200
LL
4005 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4006 (pcomplete/ag): New function.
e9dc713d 4007 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4008
d1a6bccc
SM
40092013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4010
4011 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4012 (bug#14646).
4013 (make-obsolete): Remove interactive spec.
4014
2df10228
GM
40152013-11-21 Glenn Morris <rgm@gnu.org>
4016
4017 * startup.el (command-line-1): Use path-separator with -L.
4018
86fd16b6
TZ
40192013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4020
4021 * emacs-lisp/package.el (describe-package-1): Add package archive
4022 to shown fields.
4023
0449d6cd 40242013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4025
4026 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4027 Change default to "# encoding: %s" to differentiate it from the
4028 default Ruby encoding comment template.
4029
dc7e8c17 40302013-11-20 era eriksson <era+emacsbugs@iki.fi>
4031
4032 * ses.el (ses-mode): Doc fix. (Bug#14748)
4033
f0cfa5fe
LL
40342013-11-20 Leo Liu <sdl.web@gmail.com>
4035
4036 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4037
826dc7b6
DN
40382013-11-19 Dan Nicolaescu <dann@gnu.org>
4039
4040 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4041 when rebase or bisect are in progress.
4042
a6e3a5d5
XF
40432013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4044
4045 * filenotify.el (file-notify-add-watch): Doc fix.
4046
f130cb76
LL
40472013-11-19 Leo Liu <sdl.web@gmail.com>
4048
e0855d7d
LL
4049 * obsolete/rcompile.el: Mark obsolete.
4050
f130cb76 4051 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4052 (compilation-goto-locus, compilation-find-file):
4053 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4054 (Bug#13594)
4055
4056 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4057 new parameter no-display-ok. Return either a window or nil
4058 but never a non-window value.
f130cb76 4059
1f35d401
SM
40602013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4061
25158c76
SM
4062 * electric.el (electric-indent-mode-map): Remove.
4063 (electric-indent-mode): Change the global-map instead (bug#15915).
4064
4065 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4066 Use add-function.
1f35d401 4067
9bc67baa
SM
40682013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4069
986545b5
SM
4070 * emacs-lisp/nadvice.el (remove-function): Align with
4071 add-function's behavior.
4072
9bc67baa
SM
4073 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4074 (gdb--string-regexp): New constant.
4075 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4076 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4077 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4078 submatch 1.
4079 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4080 Adjust use accordingly.
4081 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4082
56cd894e
AS
40832013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4084
4085 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4086 interpolation curlies (Bug#15914).
4087
014690de
JB
40882013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4089
4090 * calc/calc.el (calc-context-sensitive-enter): New variable.
4091 (calc-enter): Use `calc-context-sensitive-enter'.
4092
7e26a6c3
TZ
40932013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4094
4095 * progmodes/cfengine.el: Version bump.
4096 (cfengine-cf-promises): New defcustom to locate cf-promises.
4097 (cfengine3-vartypes): Add new "data" type.
4098 (cfengine3--current-word): New function to get current name-like
4099 word or its bounds.
4100 (cfengine3--current-function): New function to look up a CFEngine
4101 function's definition.
4102 (cfengine3-format-function-docstring): New function.
4103 (cfengine3-make-syntax-cache): New function.
4104 (cfengine3-documentation-function): New function: ElDoc glue.
4105 (cfengine3-completion-function): New function: completion glue.
4106 (cfengine3-mode): Set `compile-command',
4107 `eldoc-documentation-function', and add to
4108 `completion-at-point-functions'.
4109
355204dd
MA
41102013-11-16 Michael Albinus <michael.albinus@gmx.de>
4111
4112 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4113 `tramp-current-connection'.
4114
43cebc23
DG
41152013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4116
4117 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4118 nil/self/true/false with "end of symbol".
4119
a3fed6ff
BB
41202013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4121
4122 * subr.el (version-regexp-alist): Fix a typo.
4123
e675b3e4
MA
41242013-11-15 Michael Albinus <michael.albinus@gmx.de>
4125
4126 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4127 "en_US.utf8" and "LC_CTYPE" to "".
4128 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4129 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4130
a1f03e89
LL
41312013-11-15 Leo Liu <sdl.web@gmail.com>
4132
4133 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4134
5d9d9451
SM
41352013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4136
58362662
CS
4137 * progmodes/gud.el (ctl-x-map):
4138 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4139 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4140
6c1bf086
BB
41412013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4142
0d5363c4
BB
4143 * subr.el (version-regexp-alist):
4144 Recognize hg, svn and darcs versions as snapshot versions.
4145
4e9fc48c
BB
4146 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4147 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4148 (ruby--encoding-comment-required-p): Extract from
4149 `ruby-mode-set-encoding'.
4150 (ruby-mode-set-encoding): Add the ability to always insert an
4151 utf-8 encoding comment. Fix and simplify coding comment update
4152 logic.
6c1bf086 4153
2f7e72f8
MA
41542013-11-14 Michael Albinus <michael.albinus@gmx.de>
4155
4156 * net/tramp-gvfs.el (top): Run init code only when
4157 `tramp-gvfs-enabled' is not nil.
4158 (tramp-gvfs-enabled): Check also :system bus.
4159
0f137a73
SM
41602013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 Sync with upstream verilog-mode revision 78e66ba.
4163 * progmodes/verilog-mode.el (verilog-end-of-defun)
4164 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4165 (verilog-get-end-of-defun): Remove unused argument.
4166 (verilog-comment-depth): Remove unused local `e'.
4167 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4168 Don't pass arg to verilog-get-end-of-defun.
4169
1c276bdd
GM
41702013-11-14 Glenn Morris <rgm@gnu.org>
4171
4172 * obsolete/assoc.el (aget): Prefix dynamic variable.
4173
4174 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4175
ff6ec81d
SM
41762013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4177
4178 * widget.el, hfy-cmap.el: Remove bogus package version number.
4179
75f777b6
GM
41802013-11-13 Glenn Morris <rgm@gnu.org>
4181
1d43dba1
GM
4182 * replace.el (replace-eval-replacement):
4183 Try to give more helpful error message. (Bug#15836)
4184
ff4b7bd5
GM
4185 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4186 (archive-7z-update): Avoid custom type mismatches.
4187
75f777b6
GM
4188 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4189
11151a06
MA
41902013-11-13 Michael Albinus <michael.albinus@gmx.de>
4191
e675b3e4 4192 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4193 address can be empty.
4194
4195 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4196 Accept nil SWITCHES.
4197 (tramp-gvfs-handle-write-region): Implement APPEND.
4198
7b08f97e
DG
41992013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4200
4201 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4202 binary "|" operator and closing block args delimiter.
4203 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4204 (ruby-smie--implicit-semi-p): Not after "|" operator.
4205 (ruby-smie--closing-pipe-p): New function.
4206 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4207 (ruby-smie-rules): Indent after "|".
4208
f201cf3a
GM
42092013-11-12 Glenn Morris <rgm@gnu.org>
4210
4211 * ps-print.el (ps-face-attribute-list):
4212 Handle anonymous faces. (Bug#15827)
4213
e6f759f9
MR
42142013-11-12 Martin Rudalics <rudalics@gmx.at>
4215
4216 * window.el (display-buffer-other-frame): Fix doc-string.
4217 (Bug#15868)
4218
ecda65d4
SM
42192013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4220
4221 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4222
7ce8fcc3
MA
42232013-11-11 Michael Albinus <michael.albinus@gmx.de>
4224
4225 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4226 (tramp-sh-handle-file-local-copy): Don't write a message when
4227 saving temporary files.
4228
4229 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4230 both directories are remote.
4231 (tramp-smb-handle-directory-files): Do not return double entries.
4232 Do not expand full file names.
4233 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4234 (tramp-smb-handle-write-region): Implement APPEND.
4235 (tramp-smb-get-stat-capability): Fix a stupid bug.
4236
7818df11
SM
42372013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4240
608c2085
NT
42412013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4242
4243 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4244 throwing error over malformed let/let* (bug#15814).
4245
122a7e46
SM
42462013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * iswitchb.el (iswitchb-mode): Mark obsolete.
4249
766284d9
GM
42502013-11-11 Glenn Morris <rgm@gnu.org>
4251
4252 * international/uni-bidi.el, international/uni-category.el:
4253 * international/uni-name.el, international/uni-numeric.el:
4254 Regenerate for Unicode 6.3.0.
4255
7072a4e9
MA
42562013-11-10 Michael Albinus <michael.albinus@gmx.de>
4257
4258 * net/tramp.el (tramp-methods):
4259 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4260 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4261
c9df215b
AS
42622013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4263
608c2085
NT
4264 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4265 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4266
fa47d796
DG
42672013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4268
4269 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4270 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4271 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4272 (ispell-complete-word): Call `ispell-lookup-words' with the value
4273 independent of `ispell-look-p'.
4274
1629a329
DG
42752013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4276
4277 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4278 Not after "||".
4279 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4280 their parent.
4281
ad16897c
SM
42822013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4285 (ruby-font-lock-keywords): Use backquote.
4286
ffa2df72
DG
42872013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4288
4289 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4290 (ruby-smie--backward-token): Only consider full-string matches.
4291
5b97b4c0
JD
42922013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4293
4294 * faces.el (describe-face): Add distant-foreground.
4295
71731c03
BB
42962013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4297
4e9fc48c
BB
4298 * progmodes/ruby-mode.el: Improve encoding comment handling.
4299 (ruby-encoding-magic-comment-style): New option.
4300 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4301 (ruby--insert-coding-comment, ruby--detect-encoding):
4302 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4303 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4304 to control the style of the auto-inserted encoding comment.
71731c03 4305
da3b328d
DG
43062013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4307
ad16897c
SM
4308 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4309 Use `smie-backward-sexp' with token argument.
da3b328d 4310
1606c2d3
MA
43112013-11-08 Michael Albinus <michael.albinus@gmx.de>
4312
4313 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4314 Remove instrumentation code.
4315
b0f4c320
GM
43162013-11-08 Glenn Morris <rgm@gnu.org>
4317
4318 * progmodes/autoconf.el (autoconf-mode):
4319 Tweak comment-start-skip. (Bug#15822)
4320
43668fb1
SM
43212013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4322
4323 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4324 at bobp (bug#15826).
4325 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4326
daddb3fd
DH
43272013-11-08 Darren Hoo <darren.hoo@gmail.com>
4328
4329 * man.el (Man-start-calling): New macro, extracted from
4330 Man-getpage-in-background.
4331 (Man-getpage-in-background): Use it.
4332 (Man-update-manpage): New command.
4333 (Man-mode-map): Bind it.
4334
1f923923
DG
43352013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4336
4337 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4338 of "and", "or", "&&" and "||".
4339 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4340 argument. Prohibit opening curly brace because it could only be a
4341 block opener in that position.
daddb3fd
DH
4342 (ruby-smie--forward-token, ruby-smie--backward-token):
4343 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4344 arguments.
4345 (ruby-smie--indent-to-stmt): New function, seeks the end of
4346 previous statement or beginning of buffer.
4347 (ruby-smie-rules): Use it.
4348 (ruby-smie-rules): Check if there's a ":" before a curly block
4349 opener candidate; if there is, it's a hash.
4350
3220d527
SM
43512013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4354 (cl--block-wrapper): Fix last accidental change.
4355
1eb1f9e0
MA
43562013-11-07 Michael Albinus <michael.albinus@gmx.de>
4357
4358 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4359 Instrument, in order to hunt failure on hydra.
4360
e6e4db3c
NT
43612013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4362
4363 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4364 malformed bindings form (bug#15814).
4365
b420ccfc
DG
43662013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4367
4368 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4369 "." compared to " @ ". This incidentally fixes some indentation
4370 examples with "do".
e6e4db3c 4371 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4372 (ruby-smie-grammar): New tokens: "and" and "or".
4373 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4374 Exclude "and" and "or". Remove "do" in order to work around token
4375 priorities.
4376 (ruby-smie-rules): Add all infix tokens. Handle the case of
4377 beginning-of-buffer.
b420ccfc 4378
6b4ac03e
GM
43792013-11-06 Glenn Morris <rgm@gnu.org>
4380
4381 * Makefile.in (setwins_almost, setwins_for_subdirs):
4382 Avoid accidental matches.
4383
5ca114d1
SM
43842013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * menu-bar.el (popup-menu): Use key-binding.
4387
f72552bd
EZ
43882013-11-06 Eli Zaretskii <eliz@gnu.org>
4389
4390 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4391 menus, support also the menus produced by minor modes.
4392 (Bug#15817)
4393
5d5c701e
LL
43942013-11-06 Leo Liu <sdl.web@gmail.com>
4395
4396 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4397 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4398
0a8b75e2
GM
43992013-11-06 Glenn Morris <rgm@gnu.org>
4400
4401 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4402 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4403 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4404
a35287ea
SM
44052013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4406
feca4e2d
SM
4407 * electric.el (electric-indent-just-newline): New command.
4408 (electric-indent-mode-map): New keymap.
4409 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4410 Re-add :group which weren't redundant.
4411
a35287ea
SM
4412 * electric.el (electric-indent-local-mode): New minor mode.
4413 (electric-indent-functions-without-reindent): New var.
4414 (electric-indent-post-self-insert-function): Use it.
4415 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4416
375761b2
EZ
44172013-11-05 Eli Zaretskii <eliz@gnu.org>
4418
9a6ad735
EZ
4419 * international/quail.el (quail-help): Be more explicit about the
4420 meaning of the labels shown on the keys. (Bug#15800)
4421
375761b2
EZ
4422 * startup.el (normal-top-level): Load the subdirs.el files before
4423 setting the locale environment. (Bug#15805)
4424
520a6e4a
SM
44252013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4426
0acfafef
SM
4427 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4428 via arguments so as to get the right ones (bug#15418).
4429
520a6e4a
SM
4430 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4431
15826261
MA
44322013-11-05 Michael Albinus <michael.albinus@gmx.de>
4433
4434 Fix problems found while writing a test suite.
4435
4436 * net/tramp-compat.el (tramp-compat-load): New defun.
4437 * net/tramp.el (tramp-handle-load): Use it.
4438
4439 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4440 "(numberp ok-if-already-exists)" correctly.
4441
d35f31a4
XF
44422013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4443
4444 * international/characters.el (glyphless-char-display-control):
4445 Add usage note.
4446
ae93bc74
BB
44472013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4448
520a6e4a
SM
4449 * progmodes/python.el (python-mode):
4450 * progmodes/scheme.el (scheme-mode):
4451 * progmodes/prolog.el (prolog-mode):
4452 * progmodes/ruby-mode.el (ruby-mode):
4453 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4454 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4455
0ade65b5
SM
44562013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4457
a0d5f7a4
SM
4458 * rect.el (rectangle--highlight-for-redisplay):
4459 * emacs-lisp/smie.el (smie--next-indent-change):
4460 Use buffer-chars-modified-tick.
4461
c93f3f5c
SM
4462 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4463
0ade65b5
SM
4464 * electric.el (electric-indent-post-self-insert-function):
4465 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4466
ef9dd188
HE
44672013-11-04 Helmut Eller <eller.helmut@gmail.com>
4468
4469 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4470
306e7308
NT
44712013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4472
4473 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4474 (bug#15786).
4475
e5afbcac
SM
44762013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4477
1d01ad41
SM
4478 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4479
e5afbcac
SM
4480 * progmodes/python.el: Fix up last change.
4481 (python-shell--save-temp-file): New function.
4482 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4483 `string' comes from the current buffer.
4484 (python-shell-send-string-no-output): Remove `msg' arg.
4485 (python--use-fake-loc): New var.
4486 (python-shell-buffer-substring): Obey it. Try to compensate for the
4487 extra coding line added by python-shell--save-temp-file.
4488 (python-shell-send-region): Use python-shell--save-temp-file and
4489 python-shell-send-file directly. Add `nomain' argument.
4490 (python-shell-send-buffer): Use python-shell-send-region.
4491 (python-electric-pair-string-delimiter): New function.
4492 (python-mode): Use it.
4493
d0065ff1
EZ
44942013-11-04 Eli Zaretskii <eliz@gnu.org>
4495
4496 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4497 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4498 environment and decoding all of the default-directory's to here
4499 from command-line.
4500 (command-line): Decode also argv[0].
4501
4502 * loadup.el: Error out if default-directory is a multibyte string
4503 when we are dumping.
4504
4505 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4506
7397c587
TZ
45072013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4508
4509 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4510 (package-menu--print-info, package-menu--archive-predicate):
4511 Add Archive column to package list.
7397c587 4512
b27cc9fc
MA
45132013-11-04 Michael Albinus <michael.albinus@gmx.de>
4514
4515 Fix problems found while writing a test suite.
4516
4517 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4518 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4519 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4520 to nil when running original file name handler. Otherwise,
4521 there are problems with constructs like "$$FOO".
4522
4523 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4524 for `localname'.
4525
d8c4f18a
BB
45262013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4527
7b530552
BB
4528 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4529
4530 * subr.el (version<, version<=, version=):
4531 Update docstrings with information for snapshot versions.
4532
d8c4f18a
BB
4533 * helpers.el: New library for misc helper functions.
4534 (hash-table-keys): New function returning a list of hash keys.
4535 (hash-table-values): New function returning a list of hash values.
4536
dca01b09
DG
45372013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4538
4539 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4540 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4541
0a749fa0
MN
45422013-11-04 Michal Nazarewicz <mina86@mina86.com>
4543
4544 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4545 checking whether point is after a 1-letter word.
4546
45472013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4548
4549 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4550 Don't infloop when expanding region over `multiline' syntax-type that
4551 begins a line (bug#15778).
4552
4aca7145
SM
45532013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4556 Make it into a proper minor mode.
4557 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4558 (rectangle-mark-mode-map): New keymap.
4559 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4560
a0833f62
GM
45612013-11-04 Glenn Morris <rgm@gnu.org>
4562
4563 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4564
e61845c1
SM
45652013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4568 (ruby-smie-rules): Use smie-rule-parent instead.
4569
4570 * emacs-lisp/smie.el (smie-rule-parent): Always call
4571 smie-indent-virtual rather than only for hanging tokens.
4572 (smie--next-indent-change): New helper command.
4573
62942f89
GM
45742013-11-03 Glenn Morris <rgm@gnu.org>
4575
4576 * Makefile.in (abs_srcdir): Remove.
4577 (emacs): Unset EMACSLOADPATH.
4578
b0b9e592
GM
45792013-11-02 Glenn Morris <rgm@gnu.org>
4580
18ba6a33 4581 * Makefile.in (EMACS): Use a relative filename.
8061810d 4582 (abs_top_builddir): Remove.
18ba6a33
GM
4583 (custom-deps, finder-data, autoloads): Use --chdir.
4584
6a8b929e
GM
4585 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4586
c617f3d0
GM
4587 Use relative filenames in TAGS files.
4588 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4589 (lisptagsfiles4, TAGS): Use relative file names.
4590 (TAGS-LISP): Remove.
4591 (maintainer-clean): No more TAGS-LISP file.
4592
b0b9e592
GM
4593 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4594 (lisptagsfiles4): Use absolute filenames again.
4595 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4596 Remove all *loaddefs files, not just the first. Remove esh-groups.
4597 (maintainer-clean): Delete TAGS, TAGS-LISP.
4598
d1c0ea6a
BB
45992013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4600
e61845c1
SM
4601 * emacs-lisp/package.el (package-version-join):
4602 Recognize snapshot versions.
d1c0ea6a 4603
684d71c6
BB
46042013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4605
4606 * subr.el (version-regexp-alist): Add support for snapshot versions.
4607
3d42b968
DG
46082013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4609
e61845c1
SM
4610 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4611 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4612 skip over our direct parent if it's an assignment token..
4613 (ruby-smie-rules): Use it.
4614
7ffd3721
DG
46152013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4616
8449dd1f 4617 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4618 unconditionally. Remove now unnecessary forward declarations.
4619 Remove XEmacs-specific setup.
4620 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4621 (ruby-font-lock-syntactic-keywords)
4622 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4623 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4624 (ruby-here-doc-end-syntax): Remove.
4625 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4626 defined as function.
4627
a3996a2e
BB
46282013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4629
4630 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4631
6f9260e8
BB
46322013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4633
4634 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4635 table and abbrev table, `define-derived-mode' does that for us
4636 anyway.
4637
6014de84
GM
46382013-11-01 Glenn Morris <rgm@gnu.org>
4639
4640 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4641 files is atomic for some time, so no parallel compilation issues).
4642
3c334c14
JD
46432013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4644
4645 * faces.el (face-x-resources): Add :distant-foreground.
4646 (region): Use :distant-foreground for gtk and ns.
4647
9bc236c8
TH
46482013-11-01 Tassilo Horn <tsdh@gnu.org>
4649
5246583b 4650 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4651 BibTeX.
4652 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4653 (reftex-locate-bibliography-files): Us it.
4654
d14c81ee
CB
46552013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4656
0e7690de
CB
4657 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4658 allow comments in pbm files.
4659
d14c81ee
CB
4660 * term/w32-win.el (dynamic-library-alist): Support newer versions
4661 of libjpeg starting with v7: look only for the DLL from the
4662 version against which Emacs was built.
ac1bf374 4663 Support versions of libpng beyond 1.4.x.
019c8218 4664 Support libtiff v4.x.
d14c81ee 4665
983d0df5
BB
46662013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4667
4668 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4669 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4670 Add property :safe.
4671 (ruby-deep-arglist): Add property :type.
4672
47f58d85
GM
46732013-10-31 Glenn Morris <rgm@gnu.org>
4674
4675 * Makefile.in (custom-deps, finder-data): No need to setq the target
4676 variables, we are in the right directory and the defaults work fine.
4677
4f85b479
GM
46782013-10-30 Glenn Morris <rgm@gnu.org>
4679
ca7dd4cd
GM
4680 * Makefile.in (autoloads): Do not use abs_lisp.
4681
4f85b479
GM
4682 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4683 `newline' does not respect `standard-output', so use `princ'.
4684
cf59e41c
AA
46852013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4686
4687 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4688 * buff-menu.el (Buffer-menu--unmark): New function.
4689 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4690
74cf04fb
GM
46912013-10-30 Glenn Morris <rgm@gnu.org>
4692
b040b60e
GM
4693 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4694
f53d3815
GM
4695 * emacs-lisp/package.el (lm-homepage): Declare.
4696
5413d873
GM
4697 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4698 Fix doc typos.
4699
cecedb36
GM
4700 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4701
74cf04fb
GM
4702 * Makefile.in (finder-data, autoloads, update-subdirs)
4703 (compile-main, compile-clean, compile-always, bootstrap-clean):
4704 Check return value of cd.
4705 (compile-calc): Remove.
4706
195ee2f0
SM
47072013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4708
ae4002ce
SM
4709 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4710
4711 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4712 (byte-compile-and-folded): New function.
4713 (=, <, >, <=, >=): Use it.
4714
4715 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4716 (path-separator, null-device, buffer-file-coding-system)
4717 (lpr-headers-switches): Check system-type before modifying them.
4718 (find-buffer-file-type-coding-system): Mark obsolete.
4719 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4720 find-file-not-found-set-buffer-file-coding-system.
35e951cd 4721 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 4722 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 4723 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
4724 (w32-direct-print-region-helper, w32-direct-print-region-function)
4725 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4726 * startup.el (normal-top-level-add-subdirs-to-load-path):
4727 * ps-print.el (ps-print-region-function):
4728 * lpr.el (print-region-function): Use new name.
4729
53b39e89
SM
4730 * subr.el (custom-declare-variable-early): Remove function.
4731 (custom-declare-variable-list): Remove var.
4732 (error, user-error): Remove `while' loop.
4733 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4734 (user-emacs-directory-warning, locate-user-emacs-file):
4735 Move to files.el.
4736 * simple.el (read-quoted-char-radix, read-quoted-char):
4737 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4738 Move from subr.el.
4739 * custom.el (custom-declare-variable-list): Don't process
4740 custom-declare-variable-list.
4741
195ee2f0
SM
4742 * progmodes/python.el (python-shell-get-buffer): New function.
4743 (python-shell-get-process): Use it.
4744 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4745 Python which encoding was used. Don't split-string since we only care
4746 about the first line. Return the temp-file, if applicable.
4747 (python-shell-send-region): Tell compile.el how to turn locations in
4748 the temp-file into locations in the source buffer.
4749
7e3561ee
SM
47502013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4751
4c9797cb
SM
4752 * subr.el (undefined): Add missing behavior from the C code for
4753 unbound keys.
4754
3472b6c6
SM
4755 * rect.el: Use lexical-binding. Add new rectangular region support.
4756 (rectangle-mark): New command.
4757 (rectangle--region): New var.
4758 (deactivate-mark-hook): Reset rectangle--region.
4759 (rectangle--extract-region, rectangle--insert-for-yank)
4760 (rectangle--highlight-for-redisplay)
4761 (rectangle--unhighlight-for-redisplay): New functions.
4762 (region-extract-function, redisplay-unhighlight-region-function)
4763 (redisplay-highlight-region-function): Use them to handle
4764 rectangular region.
4765 * simple.el (region-extract-function): New var.
4766 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4767 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4768 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4769 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4770 (redisplay-unhighlight-region-function)
4771 (redisplay-highlight-region-function): New vars.
4772 (redisplay--update-region-highlight): New function.
4773 (pre-redisplay-function): Use it.
4774 (exchange-point-and-mark): Don't deactivate the mark before
4775 reactivate-it anyway.
4776 * comint.el (comint-kill-region): Remove yank-handler argument.
4777 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4778 (delete-char): Remove property, since it's now part of their
4779 default behavior.
4780 (self-insert-iso): Remove property since this command doesn't exist.
4781
7e3561ee
SM
4782 * emacs-lisp/package.el (package--download-one-archive)
4783 (describe-package-1): Don't query the user about final newline.
4784
b9bef71f
DC
47852013-10-29 Daniel Colascione <dancol@dancol.org>
4786
4787 * net/tramp.el (tramp-methods): Document new functionality.
4788 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4789 tramp-hostname-checker if method provides one instead of scanning
4790 argument list for "%h" to decide hostname acceptability.
4791
4efc33f0
MA
47922013-10-28 Michael Albinus <michael.albinus@gmx.de>
4793
4794 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4795 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4796 Handle COPY-CONTENTS. (Bug#15737)
4797
ed42a877
DU
47982013-10-28 Daiki Ueno <ueno@gnu.org>
4799
4800 * epa-file.el
7e3561ee
SM
4801 (epa-file-cache-passphrase-for-symmetric-encryption):
4802 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4803
18c9f8a2
XF
48042013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4805
35e951cd 4806 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 4807
b1e8e010
AM
48082013-10-27 Alan Mackenzie <acm@muc.de>
4809
4810 Indent statements in macros following "##" correctly.
7e3561ee
SM
4811 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4812 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4813
73d40d1e 48142013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4815
4816 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4817
c8c605ac
DG
48182013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4819
4820 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4821 after `=' is probably a new expression.
4822
ca7e59d4
RS
48232013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4824
4825 * man.el (man-imenu-title): New option.
4826 (Man-mode-map): Add menu. (Bug#15722)
4827 (Man-mode): Add imenu to menu.
4828
bae91342
DG
48292013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4830
4831 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4832 specific in what the first arg can be: a non-keyword word,
4833 string/regexp/percent literal opener, opening paren, or unary
4834 operator followed directly by word.
4835
eb89dc14
SM
48362013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4839 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4840 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4841 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4842 Remove vars, they do not apply any more.
4843 (prolog-mode-abbrev-table): Remove redundant declaration.
4844 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4845 (prolog-use-smie): Remove.
4846 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4847 supported by prolog-electric-if-then-else-flag.
4848 (prolog-mode-variables, prolog-menu): Use setq-local.
4849 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4850 Remove binding to `Backspace' since this key doesn't exist anyway.
4851 Remove bindings for electric self-inserting keys.
4852 (prog-mode): Assume it's defined.
4853 (prolog-post-self-insert): New function.
4854 (prolog-mode): Use it.
4855 (prolog-indent-line, prolog-indent-level)
4856 (prolog-find-indent-of-matching-paren)
4857 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4858 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4859 (prolog-goto-next-paren, prolog-in-string-or-comment)
4860 (prolog-tokenize, prolog-inside-mline-comment)
4861 (prolog-find-start-of-mline-comment): Remove functions.
4862 (prolog-find-unmatched-paren, prolog-clause-end)
4863 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4864 (prolog-electric--if-then-else): Rename from
4865 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4866 (prolog-tokenize-searchkey): Remove const.
4867 (prolog-clause-info): Use forward-sexp.
4868 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4869 (prolog-electric-if-then-else): Remove commands.
4870 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4871 for use in post-self-insert-hook.
4872 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4873 for use in post-self-insert-hook.
4874 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4875 for use in post-self-insert-hook.
4876 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4877 adapt it for use in post-self-insert-hook.
4878
3dab0a83
MA
48792013-10-25 Michael Albinus <michael.albinus@gmx.de>
4880
4881 * emacs-lisp/ert.el (ert-run-tests-interactively):
4882 Use `completing-read'. (Bug#9756)
4883
fbfd0e1d
EZ
48842013-10-25 Eli Zaretskii <eliz@gnu.org>
4885
4886 * simple.el (line-move): Call line-move-1 instead of
4887 line-move-visual when the current window hscroll is zero, but
4888 temporary-goal-column indicates we will need to hscroll as result
4889 of the movement. (Bug#15712)
4890
963ce636
DG
48912013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4892
4893 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
4894 capitalization. Use :visible instead of :active.
4895 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
4896 commands that are used with SMIE.
4897 (ruby-do-end-to-brace): Insert space after `{'.
4898
a0be396a
JA
48992013-10-25 John Anthony <john@jo.hnanthony.com>
4900
f73754c9
JA
4901 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4902
4903 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 4904
f5bf77df
GM
49052013-10-25 Glenn Morris <rgm@gnu.org>
4906
4907 * vc/vc.el (vc-print-log): Don't use a working revision unless
4908 one was explicitly specified. (Bug#15322)
4909
37241f62
SM
49102013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * subr.el (add-to-list): Preserve return value in compiler-macro
4913 (bug#15692).
4914
6408a65d
RS
49152013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4916
4917 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4918 result. Ask user to retry using '-all' flag. (Bug#15701)
4919
71e3276b
SM
49202013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4921
4922 * emacs-lisp/smie.el: New smie-config system.
4923 (smie-config): New defcustom.
4924 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4925 (smie-config-guess, smie-config-save): New commands.
4926 (smie-config--mode-local, smie-config--buffer-local)
4927 (smie-config--trace, smie-config--modefuns): New vars.
4928 (smie-config--advice, smie-config--mode-hook)
4929 (smie-config--setter, smie-config-local, smie-config--get-trace)
4930 (smie-config--guess-value, smie-config--guess): New functions.
4931 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4932 text properties. Treat "string fence" syntax like string syntax.
4933
4934 * progmodes/sh-script.el (sh-use-smie): Change default.
4935 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4936 (sh-var-value): Simplify by CSE.
4937 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4938 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4939 is used.
4940 (sh-guess-basic-offset): Use cl-incf.
4941 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4942
60db713e
HE
49432013-10-24 Helmut Eller <eller.helmut@gmail.com>
4944
4945 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4946 (bug#15699).
4947
8b251df6
GM
49482013-10-24 Glenn Morris <rgm@gnu.org>
4949
4950 * Makefile.in (abs_top_srcdir): Remove.
4951 (update-subdirs): Use relative path to update-subdirs.
4952
6be0e22b
EZ
49532013-10-24 Eli Zaretskii <eliz@gnu.org>
4954
4955 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4956 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4957 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4958 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4959
50b5b857
MA
49602013-10-24 Michael Albinus <michael.albinus@gmx.de>
4961
4962 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4963 (ert-test-skipped): New error.
4964 (ert-skip, ert-stats-skipped): New defuns.
4965 (ert--skip-unless): New macro.
4966 (ert-test-skipped): New struct.
4967 (ert--run-test-debugger, ert-test-result-type-p)
4968 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4969 (ert--stats-set-test-and-result, ert-char-for-test-result)
4970 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4971 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4972 Handle skipped tests. (Bug#9803)
50b5b857 4973
6f317c2f
GM
49742013-10-24 Glenn Morris <rgm@gnu.org>
4975
e43817c1
GM
4976 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4977
6f317c2f
GM
4978 * Makefile.in (abs_top_srcdir): New, set by configure.
4979 (update-subdirs): Correct build-aux location.
4980
369bbf71
DG
49812013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4982
8297b2cf
DG
4983 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4984 value, whether we could auto-deduce `backend', or not.
4985
369bbf71
DG
4986 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4987 with parameters" example. Simplify the "is it block or is it
4988 hash" check, but also make it more thorough.
4989
d5f1282f
MF
49902013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4991
4992 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4993
bc4aaa31
SM
49942013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4995
03d44565
SM
4996 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4997 { if it is hanging.
4998
bc4aaa31
SM
4999 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5000 :before ";".
5001
f493ff19
JB
50022013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5003
5004 * progmodes/compile.el (compilation-directory-matcher)
5005 (compilation-page-delimiter):
5006 Support GNU Make-4.0 directory quoting. (Bug#15678)
5007
c744a3b9
LL
50082013-10-23 Leo Liu <sdl.web@gmail.com>
5009
5010 * ido.el (ido-tidy): Handle read-only text.
5011
b8e3b0a9
GM
50122013-10-23 Glenn Morris <rgm@gnu.org>
5013
5014 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5015 (emacs, compile, compile-always):
5016 Quote entities that might contain whitespace.
5017 (custom-deps, finder-data, autoloads): Use abs_lisp.
5018 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5019 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5020 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5021
ee4282cd
DG
50222013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5023
bc4aaa31
SM
5024 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5025 Use `following-char'.
7790a270 5026
ee4282cd 50272013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5028
5029 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5030 * progmodes/ruby-mode.el (ruby-smie-rules):
5031 Remove corresponding workaround. Fix indentation rule of ";" so it
5032 also applies when ";" is the parent.
5033
d40a46d7
XF
50342013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5035
5036 * frame.el (display-screens, display-pixel-height)
5037 (display-pixel-width, display-mm-width, display-backing-store)
5038 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5039 (display-visual-class, display-monitor-attributes-list):
5040 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5041
a0f143c9
MG
50422013-10-22 Michael Gauland <mikelygee@amuri.net>
5043
5044 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5045 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5046
18cacc39
DG
50472013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5048
5049 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5050 TODO. Add "." after " @ ".
5051 (ruby-smie--at-dot-call): New function. Checks if point at method
5052 call with explicit target.
5053 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5054 to the method name tokens when it precedes them.
5055 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5056 (ruby-smie-rules): Add rule for indentation before and after "."
5057 token.
5058
df74c4be
SM
50592013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5060
c6dab55f
SM
5061 * textmodes/remember.el (remember-diary-extract-entries):
5062 Avoid add-to-list.
5063
df74c4be
SM
5064 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5065 an instruction.
5066
8c1ae481
DG
50672013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5068
e9dc713d
JB
5069 * progmodes/ruby-mode.el (ruby-smie-grammar):
5070 Add (almost) all infix operators.
cfef16c0
DG
5071 (ruby-smie--implicit-semi-p): Add new operator chars.
5072
8c1ae481
DG
5073 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5074 `smie-down-list'.
5075 (ruby-smie--args-separator-p): Check that there's no newline
5076 between method call and its arguments.
5077
87756ca9
AM
50782013-10-20 Alan Mackenzie <acm@muc.de>
5079
5080 Allow comma separated lists after Java "implements".
5081
df74c4be
SM
5082 * progmodes/cc-engine.el (c-backward-over-enum-header):
5083 Parse commas.
87756ca9
AM
5084 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5085 from a "disallowed" list in enum fontification.
5086
c25f8957
JB
50872013-10-20 Johan Bockgård <bojohan@gnu.org>
5088
df74c4be 5089 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5090
c25f8957
JB
5091 * progmodes/verilog-mode.el (verilog-mode): Don't set
5092 comment-indent-function globally.
5093
aca5fcdc
JD
50942013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5095
5f161884
JD
5096 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5097 Move Info menu item creation to ns-win.el.
5098
5099 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5100 in menu bar.
5101
a6c4680a 5102 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5103
5104 * term/ns-win.el (ns-initialize-window-system): ... to here.
5105
914b7f98
SM
51062013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * simple.el (newline): Only run post-self-insert-hook when
5109 called interactively.
5110
846ffe77
JB
51112013-10-19 Johan Bockgård <bojohan@gnu.org>
5112
5113 * icomplete.el (icomplete-with-completion-tables): Add :version.
5114
033f22dd
AM
51152013-10-19 Alan Mackenzie <acm@muc.de>
5116
5117 Fix fontification bugs with constructors and const.
5118
5119 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5120 CASE 2) Remove the check for the absence of a suffix construct
5121 after a function declaration with only types (no identifiers) in
5122 the parentheses. Also, accept a function declaration with just a
5123 type inside the parentheses, if this type can be positively
5124 recognised as such, or if a prefix keyword like "explicit" nails
5125 down the construct as a declaration.
5126
58ce0cfc
EZ
51272013-10-19 Eli Zaretskii <eliz@gnu.org>
5128
5129 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5130 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5131 the problem whereby selecting a menu item that leads to a
5132 minibuffer prompt moves the cursor out of the minibuffer window,
5133 making it hard to type at the prompt. Suggested by Stefan Monnier
5134 <monnier@iro.umontreal.ca>.
5135
50e28e7d
JD
51362013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5137
5138 * menu-bar.el: Don't make Services menu.
5139
7deed4bf
RS
51402013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5141
5142 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5143 (ffap-alist): Use ffap-c++-mode for c++-mode.
5144 (ffap-c++-path): New variable.
5145 (ffap-c++-mode): New function.
5146
7bcb455b
JVJ
51472013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5148
5149 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5150
f0ff1cd5
MA
51512013-10-18 Michael Albinus <michael.albinus@gmx.de>
5152
5153 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5154 introduced on 2013-09-08, which results in an infinite loop
5155 requesting a password.
5156
d64da4b7
GM
51572013-10-18 Glenn Morris <rgm@gnu.org>
5158
5159 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5160
ea89ff08
WS
51612013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5162
5163 Sync with upstream verilog-mode revision 1a6ecec7.
5164 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5165 (verilog-mode-release-date): Remove.
5166 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5167 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5168 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5169 (verilog-auto-tieoff-ignore-regexp)
5170 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5171 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5172 (verilog-signals-with, verilog-dir-cache-preserving)
5173 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5174 Doc fixes.
5175 (verilog-case-fold): New option, to control case folding in
5176 regexp searches, bug597.
5177 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5178 (verilog-string-match-fold, verilog-in-paren-count)
5179 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5180 (verilog-at-close-struct-p): New functions.
5181 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5182 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5183 (verilog-leap-to-case-head): Handle "unique0" case.
5184 (verilog-in-constraint-re): New constant.
5185 (verilog-keywords, verilog-type-font-keywords):
5186 Add some SystemVerilog 1800-2012 keywords.
5187 (verilog-label-be): Remove unimplemented argument, bug669.
5188 (verilog-batch-execute-func): When batch expanding clear
5189 create-lockfiles to prevent spurious user locks when a file ends
5190 up not changing.
5191 (verilog-calculate-indent, verilog-calc-1)
5192 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5193 (verilog-do-indent): Fix indentation of nested constraints
5194 and structures.
5195 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5196 (verilog-auto-inst-param): Use verilog-string-match-fold.
5197 (verilog-read-inst-module-matcher):
5198 Fix AUTOINST on gate primitives with #1.
5199 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5200 Reads all user-defined typed variables.
5201 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5202 (verilog-signals-matching-regexp)
5203 (verilog-signals-not-matching-regexp, verilog-auto):
5204 Respect verilog-case-fold.
5205 (verilog-diff-report): Fix line count.
5206 (verilog-auto-assign-modport): Remove unused local `modi'.
5207 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5208 better handle multidimensional arrays.
5209 Fix packed array ports misadding bit index in AUTOINST, bug637.
5210 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5211 to not double-declare existing outputs and inputs, respectively.
5212 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5213 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5214 (verilog-sk-uvm-component): New skeleton.
5215 (verilog-submit-bug-report): Add verilog-case-fold,
5216 remove verilog-mode-release-date.
5217
ef566920
BR
52182013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5219
a12bf61e 5220 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5221 as before.
5222
29df8a0b
RT
52232013-10-18 Reuben Thomas <rrt@sc3d.org>
5224
e0eb0550 5225 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5226 remember buffers (bug#13566).
5227
04a19a79
DC
52282013-10-18 Daniel Colascione <dancol@dancol.org>
5229
5230 When evaluating forms in ielm, direct standard output to ielm
5231 buffer. Add new ielm-return-for-effect command. Remove trailing
5232 whitespace throughout.
5233
5234 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5235 (ielm-return-for-effect): New command.
5236 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5237 (ielm-eval-input): Accept optional `for-effect' parameter.
5238 Bind `standard-output' to stream we create using
04a19a79
DC
5239 `ielm-standard-output-impl'. Suppress printing result when
5240 `for-effect'.
5241 (ielm-standard-output-impl): New function.
5242 (inferior-emacs-lisp-mode): Explain new features in documentation.
5243
4c1f03ef
MA
52442013-10-17 Michael Albinus <michael.albinus@gmx.de>
5245
5246 Code cleanup.
5247
5248 * net/tramp.el (tramp-debug-message): Do not check for connection
5249 buffer.
5250 (tramp-message): Use "vector" connection property.
5251
5252 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5253 (tramp-equal-remote, tramp-eshell-directory-change)
5254 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5255 (tramp-adb-handle-rename-file)
5256 * net/tramp-cmds.el (tramp-list-remote-buffers)
5257 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5258 * net/tramp-compat.el (tramp-compat-process-running-p)
5259 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5260 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5261 (tramp-gvfs-handle-rename-file)
5262 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5263 (tramp-set-file-uid-gid)
5264 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5265 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5266 of `file-remote-p'.
5267
5268 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5269 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5270 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5271 (tramp-gw-open-network-stream): Suppress unrelated traces.
5272
5273 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5274 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5275 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5276 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5277 connection property.
5278
5279 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5280 persistency file.
4c1f03ef
MA
5281
5282 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5283 Refactor common code. Improve debug message.
5284 (tramp-maybe-open-connection)
5285 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5286 connection buffer too early.
5287
5288 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5289 from `tramp-smb-actions-with-acl'.
5290 (tramp-smb-actions-set-acl): New defconst.
5291 (tramp-smb-handle-copy-directory)
5292 (tramp-smb-action-get-acl): New defun, renamed from
5293 `tramp-smb-action-with-acl'.
5294 (tramp-smb-action-set-acl): New defun.
5295 (tramp-smb-handle-set-file-acl): Rewrite.
5296
642eb8b6
GM
52972013-10-17 Glenn Morris <rgm@gnu.org>
5298
5299 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5300
85527ff3
SM
53012013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5302
921c1d62
SM
5303 * skeleton.el (skeleton-newline): Remove.
5304 (skeleton-internal-1): Use (insert "\n") instead.
5305
e333fb10
SM
5306 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5307 let-bindings.
5308
85527ff3
SM
5309 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5310 forward-sexp-function while we redo its job (bug#15613).
5311
c8722a97
JB
53122013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5313
5314 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5315 represented by lists.
5316
7a550bbb
GM
53172013-10-16 Glenn Morris <rgm@gnu.org>
5318
5319 * tmm.el (tmm--history): New dynamic variable.
5320 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5321
f19da8ad
MA
53222013-10-16 Michael Albinus <michael.albinus@gmx.de>
5323
5324 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5325 (tramp-smb-errors): Add error messages.
5326 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5327 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5328 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5329 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5330 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5331 (tramp-smb-get-stat-capability): Fix tests.
5332
a24b9961
DK
53332013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5334
5335 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5336 (bug#15580).
5337
62ad85e6
GM
53382013-10-16 Glenn Morris <rgm@gnu.org>
5339
0283d6b0
GM
5340 * ansi-color.el (ansi-color-drop-regexp):
5341 Add 1J, 1K, 2K. (Bug#15617)
5342
012e2f9f
GM
5343 * files.el (hack-local-variables--warned-lexical): New.
5344 (hack-local-variables):
5345 Warn about misplaced lexical-binding. (Bug#15616)
5346
62ad85e6
GM
5347 * net/eww.el (eww-render): Always set eww-current-url,
5348 and update header line. (Bug#15622)
5349 (eww-display-html): ... Rather than just doing it here.
5350
6456c0ea
EZ
53512013-10-15 Eli Zaretskii <eliz@gnu.org>
5352
5353 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5354 menu navigations commands.
5355
c2de5588
DK
53562013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5357
5358 * progmodes/subword.el (subword-capitalize): Be careful when
5359 the search for [[:alpha:]] fails (bug#15580).
5360
ccd4a783
EZ
53612013-10-14 Eli Zaretskii <eliz@gnu.org>
5362
5363 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5364 to commands that scroll the menu.
5365
1eda1d8d
DG
53662013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5367
c2de5588
DK
5368 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5369 Handle methods ending with `?' and `!'.
1eda1d8d 5370
e70181b8
AM
53712013-10-14 Akinori MUSHA <knu@iDaemons.org>
5372
5373 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5374 `japanese-cp932' to `cp932' to fix the problem where saving a
5375 source file written in Shift_JIS twice would end up having
5376 `coding: japanese-cp932' which Ruby could not recognize.
5377 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5378 in `ruby-encoding-map'.
5379 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5380 doesn't need to be explicitly declared in magic comment.
5381 (ruby-encoding-map): Add type declaration for better customize UI.
5382
9148ee92
GM
53832013-10-13 Glenn Morris <rgm@gnu.org>
5384
a5d38e34
GM
5385 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5386 Occur buffers are read-only. http://bugs.debian.org/720775
5387
9148ee92
GM
5388 * emacs-lisp/authors.el (authors-fixed-entries):
5389 Comment out old alpha stuff.
5390
a9ba094b
DG
53912013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5392
5393 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5394 to `after-save-hook' instead of `before-save-hook'.
5395 (ruby-mode-set-encoding): Use the value of coding system used to
5396 write the file. Call `basic-save-buffer-1' after modifying the
5397 buffer.
5398
7a068717
AM
53992013-10-13 Alan Mackenzie <acm@muc.de>
5400
5401 Fix indentation/fontification of Java enum with
5402 "implements"/generic.
5403
c2de5588
DK
5404 * progmodes/cc-engine.el (c-backward-over-enum-header):
5405 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5406 (c-inside-bracelist-p): Uses new function above.
5407 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5408 function above.
5409 (c-font-lock-enum-tail): Uses new function above.
5410
85b64f02
KH
54112013-10-13 Kenichi Handa <handa@gnu.org>
5412
5413 * international/mule-cmds.el (select-safe-coding-system): Remove a
5414 superfluous condition in chekcing whether a coding system is safe
5415 or not.
5416
fc7f501b
OK
54172013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5418
5419 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5420
fdcb2049
AP
54212013-10-13 Andreas Politz <politza@hochschule-trier.de>
5422
5423 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5424
8c106d17
GM
54252013-10-13 Glenn Morris <rgm@gnu.org>
5426
feab892d
GM
5427 * menu-bar.el (menu-bar-update-buffers):
5428 Unify Buffers menu prompt string. (Bug#15576)
5429
b22d0686
GM
5430 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5431
8c106d17
GM
5432 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5433 Add some entries.
5434 (authors-fixed-entries): Use accented form of name.
5435
1b12c797
SM
54362013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5437
650fa7bf 5438 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5439 method calls (bug#15594).
650fa7bf
SM
5440 (ruby-smie--args-separator-p): New function.
5441 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5442 recognize paren-free method calls.
5443
1b12c797
SM
5444 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5445 internals of universal-argument.
5446
029619c8
EZ
54472013-10-11 Eli Zaretskii <eliz@gnu.org>
5448
5449 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5450 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5451 dropped menu on second mouse click on the menu bar.
029619c8 5452
dd070019
SM
54532013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5454
5455 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5456 (explicit-shell-file-name): Declare.
5457 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5458 (sh-completion-at-point-function): New function.
5459 (sh-mode): Use it.
5460 (sh-smie--keyword-p): Remove unused argument.
5461 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5462 vars.
5463 (sh-set-shell): Always setup SMIE, even if we use the
5464 old indentation code.
5465
0922b826
DG
54662013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5467
b68e2926
DG
5468 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5469 cases of ? and =.
5470 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5471 predicate would return nil are almost non-existent.
5472 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5473
0922b826
DG
5474 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5475 cache also after commands that modify the buffer but don't move
5476 point.
5477
ee041f2d
SM
54782013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5479
5480 * env.el (substitute-env-in-file-name): New function.
5481 (substitute-env-vars): Extend the meaning of the optional arg.
5482
a5dab159
EZ
54832013-10-10 Eli Zaretskii <eliz@gnu.org>
5484
5485 * term/w32-win.el (dynamic-library-alist): Define separate lists
5486 of GIF DLLs for versions before and after 5.0.0 of giflib.
5487 (Bug#15531)
5488
0449d6cd 54892013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5490
5491 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5492 not locked, use last revision and current source as
5493 defaults. (Bug#15569)
5494
2f6e161e
MY
54952013-10-10 Masatake YAMATO <yamato@redhat.com>
5496
5497 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5498 menu-bar is hidden.
5499
6c8413fc
MR
55002013-10-10 Martin Rudalics <rudalics@gmx.at>
5501
5502 * window.el (pop-to-buffer-same-window): Fix doc-string.
5503 (Bug#15492)
5504
20832de0
SM
55052013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5508
c6e8ae77
AC
55092013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5510
5511 * calendar/icalendar.el (icalendar-import-file):
5512 Fix interactive spec. (Bug#15482)
5513
9db13baf
GM
55142013-10-10 Glenn Morris <rgm@gnu.org>
5515
9271e90e
GM
5516 * desktop.el (desktop-save): Default to saving in .emacs.d,
5517 since PWD is no longer in desktop-path by default. (Bug#15319)
5518
9db13baf
GM
5519 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5520 now that text mode has a menu with the same entry.
5521 (menu-bar-text-mode-auto-fill): Remove now unused func.
5522 * textmodes/text-mode.el (text-mode-map):
5523 Use auto-fill help text from menu-bar.el.
5524
a0be396a 55252013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5526
5527 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5528
2edcd3c7
JL
55292013-10-09 Juri Linkov <juri@jurta.org>
5530
5531 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5532 instead of this-command-keys. Add universal-argument-more and
5533 universal-argument-minus to the list of prefix commands. (Bug#15568)
5534
574411d0
GM
55352013-10-09 Glenn Morris <rgm@gnu.org>
5536
14afa541
GM
5537 * vc/vc-svn.el (vc-svn-create-repo):
5538 Expand paths in file://... url. (Bug#15446)
5539
574411d0
GM
5540 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5541 Add some entries.
5542 (authors): Remove unused local variables.
5543
79804536
SM
55442013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5545
5546 * profiler.el: Create a more coherent calltree from partial backtraces.
5547 (profiler-format): Hide the tail with `invisible' so that C-s can still
5548 find the hidden elements.
5549 (profiler-calltree-depth): Don't recurse so enthusiastically.
5550 (profiler-function-equal): New hash-table-test.
5551 (profiler-calltree-build-unified): New function.
5552 (profiler-calltree-build): Use it.
5553 (profiler-report-make-name-part): Indent the calltree less.
5554 (profiler-report-mode): Add visibility specs for profiler-format.
5555 (profiler-report-expand-entry, profiler-report-toggle-entry):
5556 Expand the whole subtree when provided with a prefix arg.
5557
238150c8
DG
55582013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5559
5560 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5561 iuwu-mod token.
5562 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5563 hanging iuwu-mod token.
5564 (ruby-smie--forward-token): Do not include a dot after a token in
5565 that token.
5566 (ruby-smie--backward-token): Likewise.
5567
b0949cc4
JL
55682013-10-08 Juri Linkov <juri@jurta.org>
5569
5570 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5571 to isearch-other-control-char.
5572 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5573 and isearch-post-command-hook to post-command-hook.
5574 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5575 and isearch-post-command-hook from post-command-hook.
5576 (isearch-unread-key-sequence)
5577 (isearch-reread-key-sequence-naturally)
5578 (isearch-lookup-scroll-key, isearch-other-control-char)
5579 (isearch-other-meta-char): Remove functions.
5580 (isearch-pre-command-hook, isearch-post-command-hook):
5581 New functions based on isearch-other-meta-char rewritten
5582 relying on the new behavior of overriding-terminal-local-map
5583 that does not replace the local keymaps any more. (Bug#15200)
5584
4ed77415
EZ
55852013-10-08 Eli Zaretskii <eliz@gnu.org>
5586
5587 Support menus on text-mode terminals.
5588 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5589 functionality.
5590
5591 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5592
c2de5588
DK
5593 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5594 Move here from mouse.el.
4ed77415
EZ
5595 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5596 and arrow keys.
5597 (tty-menu-navigation-map): New map for TTY menu navigation.
5598
5599 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5600
5601 * frame.el (display-mouse-p): Report text-mode mouse as available
5602 on w32.
5603 (display-popup-menus-p): Report availability if mouse is
5604 available; don't condition on window-system.
5605
5606 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5607 (tty-menu-selected-face): New faces.
5608
b7d5bd82
TL
56092013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5610
06286513
SM
5611 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5612 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5613 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5614 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5615 New constants.
5616 (lisp-mode-variables): New `elisp' argument.
5617 (emacs-lisp-mode): Use it.
5618 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5619 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5620
b7d5bd82
TL
5621 * indent.el: Use lexical-binding.
5622 (indent-region): Add progress reporter.
5623 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5624 last step.
5625 (indent--next-tab-stop): New function to implement this behavior.
5626 (tab-to-tab-stop, move-to-tab-stop): Use it.
5627
56282013-10-08 Teemu Likonen <tlikonen@iki.fi>
5629
5630 * indent.el (indent-rigidly--current-indentation): New function.
5631 (indent-rigidly-map): New var.
5632 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5633
5ea75d23
BG
56342013-10-08 Bastien Guerry <bzg@gnu.org>
5635
f2726fa2 5636 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5637
cc5da1ec
SM
56382013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5639
8ffa1a0b
SM
5640 * progmodes/perl-mode.el: Use lexical-binding.
5641 Remove redundant :group args.
5642 (perl-nochange): Change default to be closer to other major modes's
5643 standard behavior.
5644 (perl-indent-line): Don't consider text on current line as a
5645 valid beginning of function from which to indent.
5646
f2223371
SM
5647 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5648 with more than one argument (bug#15538).
5649
44256060
SM
5650 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5651
cc5da1ec
SM
5652 * vc/pcvs.el: Use lexical-binding.
5653 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5654 environment of `eval'.
5655 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5656 than a list of expressions. Adjust callers.
5657 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5658
0ea1599d
DG
56592013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5660
5661 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5662 case of the dot in a chained method call being on the following line.
0ea1599d 5663
da3e5ebb
SM
56642013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5665
2abb4e65
SM
5666 * electric.el (electric-indent-inhibit): New var.
5667 (electric-indent-post-self-insert-function): Use it.
5668 * progmodes/python.el (python-mode): Set it.
5669
d2e0e795
SM
5670 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5671 open braces.
5672
5673 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5674
bdc6b4c8
SM
5675 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5676 (css-mode): Use electric-indent-chars.
5677
da3e5ebb
SM
5678 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5679 (font-lock-beg, font-lock-end): Move before first use.
5680 (nxml-mode): Use syntax-propertize-function.
5681 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5682 (nxml-extend-after-change-region): Remove.
5683 * nxml/xmltok.el: Use lexical-binding.
5684 (xmltok-save): Use `declare'.
5685 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5686 * nxml/nxml-util.el: Use lexical-binding.
5687 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5688 Use `declare'.
5689 * nxml/nxml-ns.el: Use lexical-binding.
5690 (nxml-ns-save): Use `declare'.
5691 (nxml-ns-prefixes-for): Avoid add-to-list.
5692 * nxml/rng-match.el: Use lexical-binding.
5693 (rng--ipattern): Use cl-defstruct.
5694 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5695 (rng-cons-group-after, rng-subst-group-after)
5696 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5697 Use closures instead of `(lambda...).
5698
f8f91d5d
MA
56992013-10-07 Michael Albinus <michael.albinus@gmx.de>
5700
5701 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5702 of BEG and END.
5703
da3e5ebb
SM
5704 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5705 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5706 (tramp-gvfs-handle-insert-file-contents): Remove function.
5707
da3e5ebb
SM
5708 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5709 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5710
5711 * net/trampver.el: Update release number.
5712
7ccae3b1
SM
57132013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5714
55ca2c0d
SM
5715 * progmodes/compile.el (compilation-parse-errors):
5716 Use compilation--put-prop.
5717 (compilation--ensure-parse): Check compilation-multiline.
5718
731fc3ae
SM
5719 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5720
da3e5ebb
SM
5721 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5722 lexical-binding.
a5833280 5723
2e7ba2c2
SM
5724 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5725
7ccae3b1
SM
5726 * progmodes/ruby-mode.el: Fix recently added tests.
5727 (ruby-smie-grammar): Add - and +.
5728 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5729 (ruby-smie--backward-id): New functions.
5730 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5731 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5732 any more.
5733
85698d63
LL
57342013-10-07 Leo Liu <sdl.web@gmail.com>
5735
5736 * register.el (register-preview-delay)
5737 (register-preview-functions): New variables.
5738 (register-read-with-preview, register-preview)
5739 (register-describe-oneline): New functions.
5740 (point-to-register, window-configuration-to-register)
5741 (frame-configuration-to-register, jump-to-register)
5742 (number-to-register, view-register, insert-register)
5743 (copy-to-register, append-to-register, prepend-to-register)
5744 (copy-rectangle-to-register): Use register-read-with-preview to
5745 read register. (Bug#15525)
5746
3986af6c
DS
57472013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5748
5749 * net/network-stream.el (network-stream-open-starttls): Don't add
5750 --insecure if it's already present, because that gnutls-cli
5751 rejects getting that parameter twice.
5752
5cd9cda9
DG
57532013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5754
5755 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5756 keyword, too.
5757
da9ea6d9
DG
57582013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5759
5760 * newcomment.el (comment-use-global-state): Change default value
5761 to t, mark obsolete (Bug#15251).
5762 (comment-beginning): In addition to `comment-to-syntax', check the
5763 value of `comment-use-global-state'.
5764
34d1a133
SM
57652013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5766
5767 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5768 (ruby-comment-column): Follow the global default, by default.
5769 (ruby-smie-grammar): Add assignment syntax.
5770 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5771 open-paren, a comma, or a \.
5772 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5773 and line continuations.
5774 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5775 followed by implicit semi-colons. Add rule for string concatenation
5776 and for indentation at BOB.
27821a89 5777 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
5778
5779 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5780 calling next-sexp, since next-token may have skipped chars which
5781 next-sexp doesn't know should be skipped!
5782
6f6ab820
LL
57832013-10-05 Leo Liu <sdl.web@gmail.com>
5784
34d1a133
SM
5785 * progmodes/octave.el (octave-send-region):
5786 Call compilation-forget-errors.
6f6ab820 5787
34ca0f4c
XF
57882013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5789
5790 * vc/vc-svn.el (vc-svn-find-admin-dir):
5791 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5792 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5793 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5794 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5795
a27c1b72
SM
57962013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5799
258ab3bc
SM
58002013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * subr.el (read-passwd): Hide chars even when called within a context
5803 where after-change-functions is disabled (bug#15501).
5804 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5805 until we removed ourself from overriding-terminal-local-map.
5806
939fb29c
LL
58072013-10-04 Leo Liu <sdl.web@gmail.com>
5808
258ab3bc
SM
5809 * progmodes/octave.el (inferior-octave-mode):
5810 Call compilation-forget-errors.
939fb29c 5811
63bd7f35
XF
58122013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5813
5814 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5815
9e6229fa
MA
58162013-10-04 Michael Albinus <michael.albinus@gmx.de>
5817
5818 * net/secrets.el (secrets-create-collection): Add optional
5819 argument ALIAS. Use proper Label keyword. Append ALIAS as
5820 dbus-call-method argument. (Bug#15516)
5821
1dab32a3
LL
58222013-10-04 Leo Liu <sdl.web@gmail.com>
5823
5824 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5825 (inferior-octave-compilation-font-lock-keywords): New variables.
5826 (compilation-error-regexp-alist)
5827 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5828 (inferior-octave-mode): Use compilation-shell-minor-mode.
5829
6cad7ba3
JS
58302013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5831
5832 * minibuffer.el (completion--replace): Be careful that `end' might be
5833 a marker.
5834
acbadd00
DU
58352013-10-03 Daiki Ueno <ueno@gnu.org>
5836
5837 Add support for package signature checking.
5838 * emacs-lisp/package.el (url-http-file-exists-p)
5839 (epg-make-context, epg-context-set-home-directory)
5840 (epg-verify-string, epg-context-result-for)
5841 (epg-signature-status, epg-signature-to-string)
5842 (epg-check-configuration, epg-configuration)
5843 (epg-import-keys-from-file): Declare.
5844 (package-check-signature): New user option.
5845 (package-unsigned-archives): New user option.
5846 (package-desc): Add `signed' field.
5847 (package-load-descriptor): Set `signed' field if .signed file exists.
5848 (package--archive-file-exists-p): New function.
5849 (package--check-signature): New function.
5850 (package-install-from-archive): Check package signature.
5851 (package--download-one-archive): Check archive signature.
5852 (package-delete): Remove .signed file.
5853 (package-import-keyring): New command.
5854 (package-refresh-contents): Import default keyring.
5855 (package-desc-status): Add "unsigned" status.
5856 (describe-package-1, package-menu--print-info)
5857 (package-menu-mark-delete, package-menu--find-upgrades)
5858 (package-menu--status-predicate): Support "unsigned" status.
5859
adf2aa61
SM
58602013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5863 the new compilation scheme using the new byte-codes.
5864
5865 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5866 (byte-pophandler): New byte codes.
5867 (byte-goto-ops): Adjust accordingly.
5868 (byte-compile--use-old-handlers): New var.
5869 (byte-compile-catch): Use new byte codes depending on
5870 byte-compile--use-old-handlers.
5871 (byte-compile-condition-case--old): Rename from
5872 byte-compile-condition-case.
5873 (byte-compile-condition-case--new): New function.
5874 (byte-compile-condition-case): New function that dispatches depending
5875 on byte-compile--use-old-handlers.
5876 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5877 when we can.
5878
5879 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5880 Optimize under `condition-case' and `catch' if
5881 byte-compile--use-old-handlers is nil.
5882 (disassemble-offset): Handle new bytecodes.
5883
328a8179
SM
58842013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5885
5886 * subr.el (error): Use `declare'.
5887 (decode-char, encode-char): Use advertised-calling-convention instead
5888 of the docstring to discourage use of the `restriction' arg.
5889
15a1e936
DU
58902013-10-03 Daiki Ueno <ueno@gnu.org>
5891
5892 * epg.el (epg-verify-file): Add a comment saying that it does not
5893 notify verification error as a return value nor a signal.
5894 (epg-verify-string): Ditto.
5895
376f862a
KR
58962013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5897
5898 * progmodes/compile.el (compilation-start): Try globbing the arg to
5899 `cd' (bug#15417).
5900
a2f93a5f
MA
59012013-10-02 Michael Albinus <michael.albinus@gmx.de>
5902
5903 Sync with Tramp 2.2.8.
5904
5905 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5906 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5907 * net/trampver.el: Update release number.
5908
0daa0804
JD
59092013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5910
5911 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5912 and default-process-coding-system for darwin only.
5913
abd1ae34
SM
59142013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5915
5916 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5917
be4e325d
MH
59182013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5919
5920 * vc/vc-git.el (vc-git-grep): Disable pager.
5921
e9155c4a
DG
59222013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5923
494e898b
DG
5924 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5925 Use :url instead of :homepage, as per
5926 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5927
e9155c4a
DG
5928 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5929 non-nil, use `syntax-ppss' (Bug#15251).
5930
481a8e0f
RS
59312013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5932
be4e325d
MH
5933 * progmodes/octave.el (inferior-octave-startup-file):
5934 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5935
056453c6
DG
59362013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5937
be4e325d
MH
5938 * emacs-lisp/package.el (package-desc-from-define):
5939 Accept additional arguments as plist, convert them to an alist and store
5940 them in the `extras' slot.
056453c6
DG
5941 (package-generate-description-file): Convert extras alist back to
5942 plist and append to the `define-package' form arguments.
5943 (package--alist-to-plist): New function.
5944 (package--ac-desc): Add `extras' slot.
5945 (package--add-to-archive-contents): Check if the archive-contents
5946 vector is long enough, and if it is, pass its `extras' slot value
5947 to `package-desc-create'.
5948 (package-buffer-info): Call `lm-homepage', pass the returned value
5949 to `package-desc-from-define'.
5950 (describe-package-1): Render the homepage button (Bug#13291).
5951
be4e325d
MH
5952 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5953 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5954
832966e5
JD
59552013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5956
5957 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5958 and default-process-coding-system to utf-8-unix (Bug#15402).
5959
6cfe977d
XF
59602013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5961
5962 * subr.el (looking-back): Do not recommend using looking-back.
5963
38de11bd
AM
59642013-09-28 Alan Mackenzie <acm@muc.de>
5965
5966 Fix indentation/fontification of Java enum with "implements".
5967
5968 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5969 regexp which matches "implements", etc., in Java.
5970 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5971 specifier clauses coming after "enum".
5972 * progmodes/cc-fonts.el (c-font-lock-declarations)
5973 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5974 after "enum".
5975
1610938f
JD
59762013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5977
5978 * faces.el (region): Change ns_selection_color to
5979 ns_selection_fg_color, add ns_selection_bg_color.
5980
e090f499
LL
59812013-09-28 Leo Liu <sdl.web@gmail.com>
5982
4d2e94d1
LL
5983 * progmodes/octave.el (inferior-octave-completion-table)
5984 (inferior-octave-completion-at-point): Minor tweaks.
5985
e090f499
LL
5986 * textmodes/ispell.el (ispell-lookup-words): Rename from
5987 lookup-words. (Bug#15460)
5988 (lookup-words): Obsolete.
5989 (ispell-complete-word, ispell-command-loop): All uses changed.
5990
7e138a62
RS
59912013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5992
a12bf61e 5993 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5994 (octave-mode-menu): Add octave-send-buffer.
5995 (octave-send-buffer): New function.
5996
5af5ed08
RS
59972013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5998
a12bf61e 5999 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6000 octave-lookfor.
6001 (octave-mode-menu): Add octave-lookfor.
6002 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6003 octave-lookfor.
6004 (octave-lookfor): New function.
6005
3b7b2692
SM
60062013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6007
35e951cd 6008 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6009 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6010 its convention.
6011 (cl--loop-set-iterator-function): New function.
6012 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6013 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6014 Bind `it' with `let' instead of substituting it with `cl-subst'.
6015 (cl--unused-var-p): New function.
6016 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6017 Eliminate some unused variable warnings (bug#15326).
6018
529fb53f
TH
60192013-09-27 Tassilo Horn <tsdh@gnu.org>
6020
6021 * doc-view.el (doc-view-scale-reset): Rename from
6022 `doc-view-reset-zoom-level'.
6023 (doc-view-scale-adjust): New command.
6024 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6025 `doc-view-scale-adjust'.
6026
0550c95a
TH
60272013-09-26 Tassilo Horn <tsdh@gnu.org>
6028
6029 * doc-view.el (doc-view-reset-zoom-level): New command.
6030 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6031 zoom commands (bug#15466).
6032
6950f152
KH
60332013-09-26 Kenichi Handa <handa@gnu.org>
6034
6035 * international/quail.el (quail-help): Make it not a command.
6036
39587580
LL
60372013-09-26 Leo Liu <sdl.web@gmail.com>
6038
6039 * minibuffer.el (completion-all-sorted-completions): Make args
6040 optional as they are.
6041
00578659
DC
60422013-09-25 Daniel Colascione <dancol@dancol.org>
6043
6044 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6045 specs are and that they're not evaluated.
6046
0c173878
SS
60472013-09-24 Sam Steingold <sds@gnu.org>
6048
6049 * midnight.el (clean-buffer-list-kill-regexps)
6050 (clean-buffer-list-kill-buffer-names): Update for the new Man
6051 buffer naming which includes the object name.
6052
84998447
SM
60532013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6056 (eshell-parse-command, eshell-parse-pipeline): Use it since
6057 eshell-separate-commands requires a dynamic scoped var.
6058 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6059
33215353
LL
60602013-09-23 Leo Liu <sdl.web@gmail.com>
6061
6062 * autoinsert.el (auto-insert-alist): Make the value of
6063 lexical-binding match its file setting.
6064
57b16162
JB
60652013-09-23 Juanma Barranquero <lekktu@gmail.com>
6066
c8af4e67
JB
6067 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6068
57b16162
JB
6069 * autoarg.el (autoarg-kp-digit-argument):
6070 * electric.el (Electric-command-loop):
6071 * kmacro.el (kmacro-step-edit-insert):
6072 Do not set universal-argument-num-events.
6073
7186ba60
LL
60742013-09-22 Leo Liu <sdl.web@gmail.com>
6075
6076 * files.el (interpreter-mode-alist): Add octave.
6077
ece15004
AM
60782013-09-21 Alan Mackenzie <acm@muc.de>
6079
6080 C++: fontify identifier in declaration following "public:" correctly.
6081 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6082 to match "public", etc.
6083 (c-decl-prefix-re): Add ":" into the C++ value.
6084 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6085 bit. Add a check for a ":" preceded by "public", etc.
6086
75d83e22
EZ
60872013-09-21 Eli Zaretskii <eliz@gnu.org>
6088
6089 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6090 recognized by GDB 7.5 and later.
6091
d052d3bd
XF
60922013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6093
6094 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6095
31dca772
R
60962013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6097
6098 * subr.el (internal--call-interactively): New const.
6099 (called-interactively-p): Use it (bug#3984).
6100
98ccf24e
XF
61012013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6102
6103 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6104 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6105 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6106
c39cc7d1
SM
61072013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6110 (eshell-ls-orig-insert-directory): Remove.
6111 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6112 (eshell-ls-use-in-dired): Use advice-add/remove.
6113 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6114 Add `orig-fun' arg for use in :around advice.
6115 Make it check (redundantly) eshell-ls-use-in-dired.
6116
9a0289a2
GM
61172013-09-19 Glenn Morris <rgm@gnu.org>
6118
a2c501b8
GM
6119 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6120
c440407a
GM
6121 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6122
9a0289a2
GM
6123 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6124
85e05915
MA
61252013-09-19 Michael Albinus <michael.albinus@gmx.de>
6126
6127 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6128 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6129 (tramp-get-remote-python): New defuns.
6130 (tramp-get-remote-uid-with-perl)
6131 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6132 contributed by yary <not.com@gmail.com> (tiny change).
6133 (tramp-get-remote-uid-with-python)
6134 (tramp-get-remote-gid-with-python): New defuns. Python code
6135 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6136 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6137
ce503312
GM
61382013-09-19 Glenn Morris <rgm@gnu.org>
6139
f7544773
GM
6140 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6141
72fd2877
GM
6142 * eshell/em-unix.el (eshell-remove-entries):
6143 Rename argument to avoid name-clash with global `top-level'.
6144
336b5a56
GM
6145 * eshell/esh-proc.el (eshell-kill-process-function):
6146 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6147 (eshell-reset-after-proc): Remove unused arg `proc'.
6148
57a3a53d
GM
6149 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6150 (directory-files-and-attributes): Mark unused arg.
6151
3261d4af
GM
6152 * eshell/em-unix.el (eshell-remove-entries):
6153 Remove unused arg `path'. Update callers.
6154
8e51b5d0
GM
6155 * eshell/em-hist.el (eshell-hist-parse-arguments):
6156 Remove unused arg `silent'. Update callers.
6157
ce503312
GM
6158 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6159 Fix (f)boundp mix-up.
6160
6161 * eshell/em-smart.el (eshell-smart-scroll-window)
6162 (eshell-disable-after-change):
336b5a56 6163 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6164
ee3ce8a7
AM
61652013-09-18 Alan Mackenzie <acm@muc.de>
6166
6167 Fix fontification of type when followed by "const".
6168 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6169 "known" types from fontification.
6170
ec9177ba
GM
61712013-09-18 Glenn Morris <rgm@gnu.org>
6172
7bb3e768
GM
6173 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6174 (chart-face-list): Drop Emacsen without display-color-p.
6175
5148da15
GM
6176 * net/eww.el (libxml-parse-html-region): Declare.
6177 (eww-display-html): Explicit error if no libxml2 support.
6178
2f68e157
GM
6179 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6180
9019d095
GM
6181 * image.el (image-type-from-buffer, image-multi-frame-p):
6182 Remove --without-x warning/error.
67645389 6183
5f30349b 6184 * mouse.el (mouse-yank-primary):
45069b2e 6185 * term.el (term-mouse-paste):
5f30349b
GM
6186 Reorder to silence --without-x compilation.
6187
cd8edbbe
GM
6188 * mpc.el (doc-view-mode): Silence --without-x compilation.
6189
8a78544e
GM
6190 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6191 Silence --without-x compilation.
6192
12679bfd
GM
6193 * progmodes/gud.el (gud-find-file, gud-mode):
6194 Silence --without-x compilation.
6195 (tooltip-mode): Declare.
30810a05 6196
f0047cb9
GM
6197 * wdired.el (dired-backup-overwrite): Remove declaration.
6198 (wdired-mode-map): Add doc string.
6199
e740f9d2
GM
6200 * custom.el (x-get-resource): Declare.
6201
92d77c89
GM
6202 * eshell/em-glob.el (ange-cache):
6203 * eshell/em-unix.el (ange-cache): Declare.
6204
76e69577
GM
6205 * faces.el (x-display-list, x-open-connection, x-get-resource):
6206 Declare.
7e58af4b
GM
6207
6208 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6209 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6210 Declare.
76e69577 6211
4bd4c0af 6212 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6213
ffb82dbd
GM
6214 * net/gnutls.el (gnutls-log-level): Declare.
6215
986ed135
GM
6216 * net/shr.el (image-size, image-animate): Declare.
6217
e740f9d2
GM
6218 * simple.el (font-info): Declare.
6219
d2f3e9f8
GM
6220 * subr.el (x-popup-dialog): Declare.
6221
047a1a4c
GM
6222 * term/common-win.el (x-select-enable-primary)
6223 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6224 Declare.
6225
f4a1d572
GM
6226 * term/ns-win.el (x-handle-args): Declare.
6227
e843de77
GM
6228 * term/x-win.el (x-select-enable-clipboard): Declare.
6229
5fa89513
GM
6230 * term/w32-win.el (create-default-fontset): Declare.
6231
38702b5b
GM
6232 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6233 Declare.
6234
e740f9d2
GM
6235 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6236 (fit-frame-to-buffer): Explicit error if --without-x.
6237 (mouse-autoselect-window-select): Silence compiler.
6238
49a053fc
GM
6239 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6240
6241 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6242 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6243 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6244 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6245 Remove unused local variables.
6246
6247 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6248
ec9177ba
GM
6249 * textmodes/two-column.el: Make 2C-split work for --without-x.
6250 (scroll-bar-columns): Autoload.
6251 (top-level): Require fringe when compiling.
6252
9f25cb77
LL
62532013-09-18 Leo Liu <sdl.web@gmail.com>
6254
6255 * subr.el (add-hook): Robustify to handle closure as well.
6256
2b42da98
GM
62572013-09-17 Glenn Morris <rgm@gnu.org>
6258
6259 * simple.el (messages-buffer-mode-map): Unbind "g".
6260
e8b66a6a
SM
62612013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6262
9c0ad4f7
SM
6263 * help-mode.el (help-mode-finish): Use derived-mode-p.
6264 Remove obsolete highlighting.
6265
7a806dfb
SM
6266 * play/life.el (life-mode): Use define-derived-mode. Derive from
6267 special-mode.
6268 (life): Let-bind inhibit-read-only.
6269 (life-setup): Avoid `setq'. Use `life-mode'.
6270
96dbf5a8
SM
6271 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6272 which should not be needed any more.
6273 (package-menu-refresh, package-menu-describe-package): Use user-error.
6274
e8b66a6a
SM
6275 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6276 (eshell-post-rewrite-command-hook): Make obsolete.
6277 (eshell-parse-command): Simplify.
6278 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6279 (eshell--cmd): Declare.
6280 (eshell-parse-pipeline): Remove unused var `final-p'.
6281 Pass a dynvar to eshell-post-rewrite-command-hook.
6282 Implement the new eshell-post-rewrite-command-function.
6283 (eshell-invoke-directly): Remove unused arg `input'.
6284 * eshell/esh-io.el (eshell-io-initialize):
6285 Use eshell-post-rewrite-command-function (bug#15399).
6286 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6287 adjust to new calling convention.
6288 (eshell-create-handles): Rename args to avoid clashing with dynvar
6289 `standard-output'.
6290
90582f05
GM
62912013-09-17 Glenn Morris <rgm@gnu.org>
6292
6293 * simple.el (messages-buffer-mode): New major mode.
6294 (messages-buffer): New function.
6295 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6296 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6297 (ert-run-test): Use `messages-buffer' function.
90582f05 6298 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6299 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6300 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6301
39eb0cb5 63022013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6303
6304 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6305
1d42e5b6 6306 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6307
70568a90
SM
63082013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6309
504a0381
SM
6310 * icomplete.el (icomplete-in-buffer): New var.
6311 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6312 vars and replace them with functions.
6313 (icomplete-minibuffer-setup): Adjust accordingly.
6314 (icomplete--completion-table, icomplete--completion-predicate)
6315 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6316 New functions.
6317 (icomplete-forward-completions, icomplete-backward-completions)
6318 (icomplete-simple-completing-p, icomplete-exhibit)
6319 (icomplete-completions): Use them.
6320 (icomplete--in-region-buffer): New var.
6321 (icomplete--in-region-setup): New function.
6322 (icomplete-mode): Use it.
6323
70568a90
SM
6324 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6325 (bug#15379).
6326 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6327 return args and options.
6328 (eshell-eval-using-options): Use the new return value of
6329 eshell--do-opts to set the options's vars in their scope.
6330 (eshell--set-option): Rename from eshell-set-option.
6331 Add arg `opt-vals'.
6332 (eshell--process-option): Rename from eshell-process-option.
6333 Add arg `opt-vals'.
6334 (eshell--process-args): Use an `opt-vals' alist to store the options's
6335 values during their processing and return them additionally to the
6336 remaining args.
6337
578c21bc
DG
63382013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6339
6340 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6341 continuation character an operator, as far as indentation is
6342 concerned (Bug#15369).
6343
c089653d
MR
63442013-09-15 Martin Rudalics <rudalics@gmx.at>
6345
6346 * window.el (window--state-put-2): Don't process buffer state
6347 when buffer doesn't exist any more (Bug#15382).
6348
1e53bb4b
GM
63492013-09-15 Glenn Morris <rgm@gnu.org>
6350
30753242
GM
6351 * eshell/em-unix.el (eshell/rm):
6352 Make -f ignore missing files. (Bug#15373)
6353
1e53bb4b
GM
6354 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6355 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6356 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6357
0d8863b3
GM
63582013-09-14 Glenn Morris <rgm@gnu.org>
6359
6360 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6361
d3fc6549
GM
63622013-09-13 Glenn Morris <rgm@gnu.org>
6363
6364 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6365 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6366
fcd42c11
DA
63672013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6368
6369 * frame.el (x-focus-frame): Mark as declared in frame.c.
6370
7830899f
SM
63712013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6372
6373 * ls-lisp.el: Use advice-add.
6374 (original-insert-directory): Remove.
6375 (ls-lisp--insert-directory): Rename from insert-directory; add
6376 `orig-fun' argument.
6377 (insert-directory): Advise.
6378
84387cd2
EZ
63792013-09-13 Eli Zaretskii <eliz@gnu.org>
6380
6381 * term.el (term-emulate-terminal): Decode the command string
6382 before passing it to term-command-hook. (Bug#15337)
6383
35ffc6ba
GM
63842013-09-13 Glenn Morris <rgm@gnu.org>
6385
5c3f9bcc
GM
6386 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6387
2ada368a
GM
6388 * eshell/esh-ext.el (eshell-search-path): Declare.
6389
fcef2e13
GM
6390 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6391 Otherwise an error occurs if eshell-dirs module not loaded.
6392
35ffc6ba
GM
6393 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6394
35c3d36e
MA
63952013-09-13 Michael Albinus <michael.albinus@gmx.de>
6396
6397 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6398 `tramp-check-proper-host'. Check for a valid method name.
6399
6400 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6401 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6402 * net/tramp-sh.el (tramp-maybe-open-connection):
6403 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6404
6405 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6406 also for hash values.
6407
ae5e4c48
SM
64082013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6409
379add74
SM
6410 * term/ns-win.el (parameters): Don't declare as dynamic.
6411 (before-make-frame-hook): Don't add ineffective function.
6412
ae5e4c48
SM
6413 * eshell/*.el: Use lexical-binding (bug#15231).
6414
b5623270
KH
64152013-09-12 Kenichi Handa <handa@gnu.org>
6416
ae5e4c48 6417 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6418
30213927
GM
64192013-09-12 Glenn Morris <rgm@gnu.org>
6420
be94d713 6421 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6422 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6423
44915370
GM
6424 * subr.el (do-after-load-evaluation): Also give compiler warnings
6425 when obsolete files are used (except by obsolete files).
6426
a6ae021f
GM
6427 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6428 in the status output, assume `filename' is the first. (Bug#15322)
6429
40e64f0c
GM
6430 * vc/vc.el (vc-deduce-fileset): Doc fix.
6431
16d9f896
GM
6432 * calc/calc-help.el (Info-goto-node):
6433 * progmodes/cperl-mode.el (Info-find-node):
6434 * vc/ediff.el (Info-goto-node): Update declarations.
6435
dea01c6e
GM
6436 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6437
759880bf 6438 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6439 (vc-bzr-pull): Require vc-dispatcher.
6440 * vc/vc-git.el (vc-compilation-mode): Declare.
6441 (vc-git-pull): Require vc-dispatcher.
6442
08d66420
GM
6443 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6444
30b626e9
GM
6445 * progmodes/octave.el (help-button-action): Declare.
6446
8c05cb10
GM
6447 * shell.el (shell-directory-tracker): Output error as a message
6448 rather than just returning it as a string.
6449 (shell-process-pushd): Remove useless use of message.
6450
30213927
GM
6451 * dframe.el (dframe-timer-fn):
6452 * files.el (dir-locals-read-from-file):
6453 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6454 (mpc-format):
6455 * reveal.el (reveal-post-command):
6456 * saveplace.el (load-save-place-alist-from-file):
6457 * shell.el (shell-resync-dirs):
6458 * w32-common-fns.el (x-get-selection-value):
6459 * emacs-lisp/copyright.el (copyright-find-copyright):
6460 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6461 * emulation/tpu-edt.el (tpu-copy-keyfile):
6462 * play/bubbles.el (bubbles--mark-neighbourhood):
6463 * progmodes/executable.el
6464 (executable-make-buffer-file-executable-if-script-p):
6465 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6466
d3b049e6
SM
64672013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6468
170266d0
SM
6469 Cleanup Eshell to rely less on dynamic scoping.
6470 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6471 last-value, and ext-command here. Bind `args' closer to `body'.
6472 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6473 (eshell--args): Declare new dynamic var.
6474 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6475 last-value, and ext-command. Pass `args' to `body'.
6476 (eshell-process-args): Bind eshell--args.
6477 (eshell-set-option): Use eshell--args.
6478 * eshell/eshell.el (eshell): Use derived-mode-p.
6479 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6480 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6481 (eshell-glob-function): Declare.
6482 * eshell/esh-util.el: Require cl-lib.
6483 (eshell-read-hosts-file): Avoid add-to-list.
6484 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6485 `err'.
6486 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6487 Declare.
6488 (eshell/diff): Remove unused var `err'.
6489 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6490 `killflag'.
6491 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6492 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6493 first use.
6494 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6495 Move declaration before first use.
6496 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6497 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6498 rely on cl-return.
6499
56834f3b
GM
65002013-09-12 Glenn Morris <rgm@gnu.org>
6501
6502 * term/ns-win.el (global-map): Remove binding for ispell-next,
6503 deleted 1999-05-29. (Bug#15357)
6504
5c91a2b8
GM
65052013-09-11 Glenn Morris <rgm@gnu.org>
6506
da712f22
GM
6507 * echistory.el (electric-command-history): Remove call to deleted func.
6508
512e4cdc
GM
6509 * play/landmark.el (landmark-mode): Fix typos.
6510
d3506ca5
GM
6511 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6512 Check cvs-sort-ignore-file is bound.
6513
5c91a2b8
GM
6514 * savehist.el: No need for cl when compiling on Emacs.
6515
feeff482
SM
65162013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6517
656bd483
SM
6518 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6519 (bug#15338).
d3b049e6
SM
6520 (eshell-self-insert-command, eshell-send-invisible):
6521 Remove unused argument.
656bd483
SM
6522 (eshell-handle-control-codes): Remove unused var `orig'.
6523 Avoid delete-backward-char.
6524
feeff482
SM
6525 * files.el (set-auto-mode): Simplify a bit further.
6526
2a08047a
GM
65272013-09-11 Glenn Morris <rgm@gnu.org>
6528
6529 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6530 (set-auto-mode): Don't regexp-quote elements.
6531 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6532 * progmodes/cc-mode.el (interpreter-mode-alist):
6533 * progmodes/ruby-mode.el (interpreter-mode-alist):
6534 Revert previous change.
6535
34675540
SM
65362013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6537
1b3b87df
SM
6538 * play/snake.el (snake-mode):
6539 * play/mpuz.el (mpuz-mode):
6540 * play/landmark.el (lm-mode):
6541 * play/blackbox.el (blackbox-mode):
6542 * play/5x5.el (5x5-mode):
6543 * obsolete/options.el (Edit-options-mode):
6544 * net/quickurl.el (quickurl-list-mode):
6545 * net/newst-treeview.el (newsticker-treeview-mode):
6546 * mail/rmailsum.el (rmail-summary-mode):
6547 * mail/mspools.el (mspools-mode):
6548 * locate.el (locate-mode):
6549 * ibuffer.el (ibuffer-mode):
6550 * emulation/ws-mode.el (wordstar-mode):
6551 * emacs-lisp/debug.el (debugger-mode):
6552 * array.el (array-mode):
6553 * net/eudc.el (eudc-mode): Use define-derived-mode.
6554 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6555 Move initialization into declaration.
6556 (mairix-searches-mode): Use define-derived-mode.
6557 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6558 (eudc-edit-hotlist): Use dolist.
6559 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6560 (Man-mode): Use define-derived-mode.
6561 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6562 (Info-edit-mode): Use define-derived-mode.
6563 (Info-cease-edit): Use Info-mode.
6564 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6565 into declaration.
6566 (eshell-mode): Use define-derived-mode.
6567 * chistory.el (command-history-mode-map): Rename from
6568 command-history-map.
6569 (command-history-mode): Use define-derived-mode.
da712f22 6570 (Command-history-setup): Remove function.
1b3b87df
SM
6571 * calc/calc.el (calc-trail-mode-map): New var.
6572 (calc-trail-mode): Use define-derived-mode.
6573 (calc-trail-buffer): Set calc-main-buffer manually.
6574 * bookmark.el (bookmark-insert-annotation): New function.
6575 (bookmark-edit-annotation): Use it.
6576 (bookmark-edit-annotation-mode): Make it a proper major mode.
6577 (bookmark-send-edited-annotation): Use derived-mode-p.
6578 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6579 closer to its ideal place. Use \' to match EOS.
6580
34675540
SM
6581 * profiler.el (profiler-calltree-find): Use function-equal.
6582
6a5c15d9
GM
65832013-09-10 Glenn Morris <rgm@gnu.org>
6584
1af4c220
GM
6585 * files.el (interpreter-mode-alist): Convert to regexps.
6586 (set-auto-mode): Adapt for this. (Bug#15306)
6587 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6588 Comment out unused variable.
6589 * progmodes/cc-mode.el (interpreter-mode-alist):
6590 * progmodes/python.el (interpreter-mode-alist):
6591 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6592 * progmodes/sh-script.el (sh-set-shell):
6593 No longer use interpreter-mode-alist to get list of shells.
6594
6a5c15d9
GM
6595 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6596
8c27f5ff
SM
65972013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6598
02ef6c1a 6599 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6600 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6601 Bind switch-frame explicitly. Replace universal-argument-minus with
6602 a conditional binding.
6603 (universal-argument-num-events, saved-overriding-map): Remove.
6604 (restore-overriding-map): Remove.
6605 (universal-argument--mode): Rename from save&set-overriding-map,
6606 and rewrite.
6607 (universal-argument, universal-argument-more, negative-argument)
6608 (digit-argument): Adjust accordingly.
6609 (universal-argument-minus): Remove.
6610 (universal-argument-other-key): Remove.
6611
8c27f5ff
SM
6612 * subr.el (with-demoted-errors): Add `format' argument.
6613
6480194c
MA
66142013-09-10 Michael Albinus <michael.albinus@gmx.de>
6615
6616 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6617 `tramp-cleanup-connection'.
6618
6619 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6620 parameters KEEP-DEBUG and KEEP-PASSWORD.
6621
6622 * net/tramp.el (tramp-file-name-handler):
6623 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6624 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6625 (tramp-maybe-open-connection):
8c27f5ff
SM
6626 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6627 Use `tramp-cleanup-connection'.
6480194c 6628
8c27f5ff
SM
6629 * net/tramp-sh.el (tramp-maybe-open-connection):
6630 Catch 'uname-changed inside the progress reporter.
6480194c 6631
e5e916d8
GM
66322013-09-10 Glenn Morris <rgm@gnu.org>
6633
9a2c9b47
GM
6634 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6635
e5e916d8
GM
6636 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6637 returns "alternate access method" in mode (eg "-rw-r--r--.").
6638
144e38fe
GM
66392013-09-08 Glenn Morris <rgm@gnu.org>
6640
6641 * saveplace.el (load-save-place-alist-from-file):
6642 Demote errors. (Bug#15305)
6643
af9ff9e8
MA
66442013-09-08 Michael Albinus <michael.albinus@gmx.de>
6645
6646 Improve compatibility with older Emacsen, and XEmacs.
6647
6648 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6649 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6650 (with-tramp-progress-reporter): Do not let-bind `result'.
6651 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6652 (tramp-handle-make-auto-save-file-name): New function, moved from
6653 tramp-sh.el.
6654
6655 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6656 for `make-auto-save-file-name'.
8c27f5ff
SM
6657 (tramp-adb--gnu-switches-to-ash):
6658 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6659
6660 * net/tramp-cache.el (tramp-cache-print): Call
6661 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6662
6663 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6664 bound. It isn't for XEmacs.
6665
8c27f5ff
SM
6666 * net/tramp-compat.el (tramp-compat-copy-file):
6667 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6668 (tramp-compat-replace-regexp-in-string): New defun.
6669
6670 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6671 for `make-auto-save-file-name'.
6672 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6673 `copy-file'.
6674 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6675 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6676 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6677
8c27f5ff
SM
6678 * net/tramp-gw.el (tramp-gw-open-network-stream):
6679 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6680
8c27f5ff
SM
6681 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6682 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6683 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6684 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6685 (tramp-sh-file-inotifywait-process-filter):
6686 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6687 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6688
6689 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6690 for `make-auto-save-file-name'.
8c27f5ff
SM
6691 (tramp-smb-handle-copy-directory):
6692 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6693 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6694 (tramp-smb-handle-copy-file): Improve error message.
6695 (tramp-smb-handle-rename-file): Rename directly only in case
6696 `newname' does not exist yet. This is a restriction of smbclient.
6697 (tramp-smb-maybe-open-connection): Rerun the function only when
6698 `auth-sources' is non-nil.
6699
0ca754d0
KH
67002013-09-08 Kenichi Handa <handa@gnu.org>
6701
e0eb0550 6702 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6703 more characters.
6704
e8dd0787
AM
67052013-09-07 Alan Mackenzie <acm@muc.de>
6706
6707 Correctly fontify Java class constructors.
6708 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6709 in Java Mode.
6710 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6711 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6712 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6713 "typeless" declaration there.
6714
f2f248e7
RW
67152013-09-07 Roland Winkler <winkler@gnu.org>
6716
6717 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6718 field subtitle for entry type book.
6719
67982e2b
SM
67202013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * minibuffer.el: Make minibuffer-complete call completion-in-region
6723 rather than other way around.
6724 (completion--some, completion-pcm--find-all-completions):
6725 Don't delay signals when debugging.
6726 (minibuffer-completion-contents): Beware fields within the
6727 minibuffer contents.
6728 (completion-all-sorted-completions): Use defvar-local.
6729 (completion--do-completion, completion--cache-all-sorted-completions)
6730 (completion-all-sorted-completions, minibuffer-force-complete):
6731 Add args `beg' and `end'.
6732 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6733 (minibuffer-complete): Use completion-in-region.
6734 (completion-complete-and-exit): New fun, extracted from
6735 minibuffer-complete-and-exit.
6736 (minibuffer-complete-and-exit): Use it.
6737 (completion--complete-and-exit): Rename from
6738 minibuffer--complete-and-exit.
6739 (completion-in-region--single-word): New function, extracted from
6740 minibuffer-complete-word.
6741 (minibuffer-complete-word): Use it.
6742 (display-completion-list): Make `common-substring' argument obsolete.
6743 (completion--in-region): Call completion--in-region-1 instead of
6744 minibuffer-complete.
6745 (completion-help-at-point): Pass boundaries to
6746 minibuffer-completion-help as args rather than via an overlay.
6747 (completion-pcm--string->pattern): Use `any-delim'.
6748 (completion-pcm--optimize-pattern): New function.
6749 (completion-pcm--pattern->regex): Handle `any-delim'.
6750 * icomplete.el (icomplete-forward-completions)
6751 (icomplete-backward-completions, icomplete-completions):
6752 Adjust calls to completion-all-sorted-completions and
6753 completion--cache-all-sorted-completions.
6754 (icomplete-with-completion-tables): Default to t.
6755 * emacs-lisp/crm.el (crm--current-element): Rename from
6756 crm--select-current-element. Don't put an overlay but return the
6757 boundaries instead.
6758 (crm--completion-command): Take two new args to bind to the boundaries.
6759 (crm-completion-help): Adjust accordingly.
6760 (crm-complete): Use completion-in-region.
6761 (crm-complete-word): Use completion-in-region--single-word.
6762 (crm-complete-and-exit): Use completion-complete-and-exit.
6763
e17d94a5
SM
67642013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6767 than dynamically.
6768
96727100
JL
67692013-09-06 Juri Linkov <juri@jurta.org>
6770
6771 * info.el (Info-display-images-node): When image file doesn't exist
6772 display text version of the image if it's provided in the Info file.
6773 Otherwise, display the location of missing image from SRC attribute.
6774 Add help-echo text property from ALT attribute. (Bug#15279)
6775
86cf7329
SM
67762013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6779 (edit-abbrevs-mode): Use define-derived-mode.
6780
6781 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6782 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6783 that it's defined.
6784 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6785 Use define-derived-mode.
6786
6787 * epg.el (epg-start-encrypt): Minor CSE simplification.
6788
816244a2
WX
67892013-09-06 William Xu <william.xwl@gmail.com>
6790
6791 * arc-mode.el: Add support for 7za (bug#15264).
6792 (archive-7z-program): New var.
6793 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6794 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6795 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6796
1486fa31
MA
67972013-09-06 Michael Albinus <michael.albinus@gmx.de>
6798
6799 Remove URL syntax.
6800
6801 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6802 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6803 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6804 (tramp-postfix-host-format, tramp-file-name-regexp)
6805 (tramp-completion-file-name-regexp)
6806 (tramp-completion-dissect-file-name)
6807 (tramp-handle-substitute-in-file-name): Remove 'url case.
6808 (tramp-file-name-regexp-url)
6809 (tramp-completion-file-name-regexp-url): Remove constants.
6810
39785324
GM
68112013-09-06 Glenn Morris <rgm@gnu.org>
6812
6813 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6814
1f896cb7
DG
68152013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6816
6817 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6818 keywords" below "here-doc beginnings" (Bug#15270).
6819
c0458e0b
SM
68202013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6821
6822 * subr.el (pop): Use `car-safe'.
6823 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6824 to detect unused `pop' return value.
6825
6826 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6827 var `block-regexp'.
6828 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6829 (python-fill-string): Remove unused var `marker'.
6830 (python-skeleton-add-menu-items): Remove unused var `items'.
6831
6832 * international/mule-cmds.el: Require CL.
6833 (find-coding-systems-for-charsets): Avoid add-to-list.
6834 (sanitize-coding-system-list): New function, extracted from
6835 select-safe-coding-system-interactively.
6836 (select-safe-coding-system-interactively): Use it.
6837 (read-input-method-name): Accept symbols for `default'.
6838
6839 * emacs-lisp/advice.el (defadvice): Add indent rule.
6840
6c42fc3e
DH
68412013-09-05 Daniel Hackney <dan@haxney.org>
6842
6843 * dired-x.el:
6844 * net/ange-ftp.el:
6845 * net/browse-url.el:
6846 * net/dbus.el:
6847 * net/eudc.el:
6848 * net/eudcb-ldap.el:
6849 * net/eww.el:
6850 * net/imap.el:
6851 * printing.el:
6852 * vc/ediff-diff.el:
6853 * vc/ediff-init.el:
6854 * vc/ediff-merg.el:
6855 * vc/ediff-mult.el:
6856 * vc/ediff-util.el:
6857 * vc/ediff-wind.el:
6858 * vc/ediff.el:
6859 * vc/emerge.el:
6860 * vc/pcvs.el:
6861 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6862 byte compiler. Remove some unused let-bound variables.
6863
4c528aab
SM
68642013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6867 a "ref-cell", since it gets better optimized (bug#14883).
6868
bd15c390
GM
68692013-09-05 Glenn Morris <rgm@gnu.org>
6870
6871 * progmodes/cc-awk.el (c-forward-sws): Declare.
6872
1c3ac2e5
GM
68732013-09-04 Glenn Morris <rgm@gnu.org>
6874
6875 * generic-x.el [rul-generic-mode]: Require cc-mode.
6876 (c++-mode-syntax-table): Declare.
6877 (rul-generic-mode-syntax-table): Init in the defvar.
6878
52b1cc79
SM
68792013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6880
c828af56
SM
6881 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6882 (vc-do-command, vc-set-async-update):
6883 * vc/vc-mtn.el (vc-mtn-dir-status):
6884 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6885 (vc-hg-pull, vc-hg-merge-branch):
6886 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6887 (vc-git-merge-branch):
6888 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6889 (vc-cvs-dir-status-files):
6890 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6891 (vc-bzr-dir-status-files):
6892 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6893 * vc/vc-annotate.el: Use lexical-binding.
6894 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6895 (vc-sentinel-movepoint): Declare.
6896 (vc-annotate): Don't use `goto-line'.
6897 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6898 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6899 (vc-sentinel-movepoint): Declare.
6900 * vc/vc-svn.el: Use lexical-binding.
6901 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6902 * vc/vc-sccs.el:
6903 * vc/vc-rcs.el: Use lexical-binding.
6904
abae272c
SM
6905 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6906 `deleted'. Don't drop errors silently.
6907
52b1cc79
SM
6908 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6909
63191d9f
XF
69102013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6911
6912 * vc/vc.el (vc-ignore): Rewrite.
6913 (vc-default-ignore): New function.
6914 (vc-default-ignore-completion-table): Use find-ignore-file.
6915
6916 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6917 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6918 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6919 Remove. Most code moved to vc.el.
6920
9d3f707c
SM
69212013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6922
abae272c 6923 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6924 * net/tramp-smb.el (tramp-smb-get-file-entries):
6925 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6926 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6927
fde38d49
SM
6928 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6929 Update call to it.
6930 (eww-change-select): Remove unused var `properties'.
6931 (eww-make-unique-file-name): Remove unused var `base'.
6932
6933 * finder.el (finder-compile-keywords): Don't mess with windows.
6934
84032db7
SM
6935 * calculator.el (calculator-funcall): Fix typo in last change.
6936
724f5e41
SM
6937 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6938
14b511d4
SM
6939 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6940 <pkg>-autoloads.el file stop us.
6941
9d3f707c 6942 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6943 warnings, and factor out common code.
9d3f707c 6944
88527bc0
DG
69452013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6946
6947 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6948 two-character operators and whether the character preceding them
6949 changes their meaning (Bug#15208).
6950
96edb677
FEG
69512013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6952
6953 Format code sent to Python shell for robustness.
9d3f707c
SM
6954 * progmodes/python.el (python-shell-buffer-substring):
6955 New function.
96edb677
FEG
6956 (python-shell-send-region, python-shell-send-buffer): Use it.
6957
95beaef3
MA
69582013-09-02 Michael Albinus <michael.albinus@gmx.de>
6959
6960 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6961 * net/tramp.el (tramp-user-error): ... here.
6962 (tramp-find-method, tramp-check-proper-host)
6963 (tramp-dissect-file-name, tramp-debug-message)
6964 (tramp-handle-shell-command):
6965 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6967
6968 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6969
f167c27b
MR
69702013-09-02 Martin Rudalics <rudalics@gmx.at>
6971
6972 * avoid.el (mouse-avoidance-point-position)
6973 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6974 returns nil.
6975
cd16c5f1
FEG
69762013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6977
6978 * progmodes/python.el (python-shell-completion-get-completions):
6979 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6980 (python-nav-if-name-main): New command.
cd16c5f1 6981
e73c3a0d
GM
69822013-09-01 Glenn Morris <rgm@gnu.org>
6983
f8ccce03
GM
6984 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6985 Avoid leading space in $wins. Otherwise the sed command used by
6986 eg compile-main ends up containing "/*.el". (Bug#15170)
6987
e73c3a0d
GM
6988 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6989
415f808e
GM
69902013-08-30 Glenn Morris <rgm@gnu.org>
6991
6992 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6993 Fix is-this-a-directory logic. (Bug#15220)
6994
f069bba8
SM
69952013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6996
112798c1
SM
6997 * textmodes/css-mode.el: Use SMIE.
6998 (css-smie-grammar): New var.
6999 (css-smie--forward-token, css-smie--backward-token)
7000 (css-smie-rules): New functions.
7001 (css-mode): Use them.
7002 (css-navigation-syntax-table): Remove var.
7003 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7004 (css-indent-calculate, css-indent-line): Remove functions.
7005
7006 Misc changes to reduce use of `(lambda...); and other cleanups.
7007 * cus-edit.el: Use lexical-binding.
7008 (customize-push-and-save, customize-apropos)
7009 (custom-buffer-create-internal): Use closures.
7010 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7011 * progmodes/ada-xref.el: Use setq.
7012 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7013 * dframe.el: Use lexical-binding.
7014 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7015 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7016 * descr-text.el: Use lexical-binding.
7017 (describe-text-widget, describe-text-sexp, describe-property-list):
7018 Use closures.
7019 * comint.el (comint-history-isearch-push-state): Use a closure.
7020 * calculator.el: Use lexical-binding.
7021 (calculator-number-to-string): Make it work with lexical-binding.
7022 (calculator-funcall): Same and use cl-letf.
7023
2da4c3ab
SM
7024 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7025 (lisp--company-doc-string, lisp--company-location): New functions.
7026 (lisp-completion-at-point): Use them to improve Company support.
7027
f069bba8
SM
7028 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7029 params of lambda expressions.
7030 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7031 (ruby-smie--opening-pipe-p): New function.
7032 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7033 symbols and matched |...| for formal params.
7034 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7035 from being treated as hanging. Handle "rescue".
7036
6758b6a8
GM
70372013-08-29 Glenn Morris <rgm@gnu.org>
7038
7039 * progmodes/cc-engine.el (c-pull-open-brace):
7040 Move definition before use.
7041
e8dfd197
SM
70422013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7045 are immutable. Don't use `unsafe' any more.
7046 (cl--defsubst-expand): Don't substitute at the same time as keeping
7047 a residual unused let-binding. Don't use `unsafe' any more.
7048
cc585c96
GM
70492013-08-29 Glenn Morris <rgm@gnu.org>
7050
ba579ea6
GM
7051 * calendar/cal-china.el (calendar-chinese-year-cache):
7052 Recenter on 2015.
7053
8201a87e
GM
7054 * nxml/nxml-util.el (nxml-debug-clear-inside):
7055 Use cl-loop rather than loop.
7056
6ee877c7
GM
7057 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7058
cc585c96
GM
7059 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7060
27be8d39
GM
70612013-08-28 Glenn Morris <rgm@gnu.org>
7062
397440a1
GM
7063 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7064
2bb762d4
GM
7065 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7066
27be8d39
GM
7067 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7068
2d69b99e
SM
70692013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7070
f663baa7
SM
7071 * simple.el (repeat-complex-command--called-interactively-skip):
7072 New function.
7073 (repeat-complex-command): Use it (bug#14136).
7074
dd4f8b74
SM
7075 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7076 (c-define-abbrev-table): Add `doc' argument.
7077 (c-mode-abbrev-table, c++-mode-abbrev-table)
7078 (objc-mode-abbrev-table, java-mode-abbrev-table)
7079 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7080 (awk-mode-abbrev-table): Use it.
7081 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7082 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7083 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7084 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7085 Move initialization into the declaration; and remove any
7086 autoload cookie.
7087
b58969f7
SM
7088 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7089 and dynamic let binding.
7090
4021d6a6
SM
7091 * vc/smerge-mode.el: Remove redundant :group args.
7092
2d69b99e
SM
7093 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7094 to load-path.
7095
274919fd
JL
70962013-08-28 Juri Linkov <juri@jurta.org>
7097
7098 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7099 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7100 (isearch-other-meta-char): Handle an undefined shifted printing
7101 character by downshifting it. (Bug#15200)
7102
121f8c95
JL
71032013-08-28 Juri Linkov <juri@jurta.org>
7104
7105 * isearch.el (isearch-search): Change regexp error message for
7106 non-regexp searches. (Bug#15166)
7107
50b13cde
PE
71082013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7109
7110 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7111 for portability to hosts where /bin/sh has problems.
7112
95888bca
SM
71132013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7114
7115 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7116
bbe558f1
JL
71172013-08-27 Juri Linkov <juri@jurta.org>
7118
7119 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7120 in the keyboard macro. (Bug#15126)
7121
26f98a7d
JL
71222013-08-27 Juri Linkov <juri@jurta.org>
7123
7124 * isearch.el (isearch-quote-char): Comment out converting unibyte
7125 to multibyte, thus syncing with its `quoted-insert' counterpart.
7126 (Bug#15166)
7127
7c97d35e
MR
71282013-08-27 Martin Rudalics <rudalics@gmx.at>
7129
7130 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7131 argument in call of get-largest-window (Bug#15185).
7132 Reported by Stephen Leake.
7c97d35e 7133
a0b5606e 71342013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7135
7136 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7137
9e89d835
SM
71382013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7141 from a matcher-function unless there's no more matches (bug#15161).
7142
78fc2530
MA
71432013-08-26 Michael Albinus <michael.albinus@gmx.de>
7144
7145 * minibuffer.el: Revert change from 2013-08-20.
7146
7147 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7148 with text property `tramp-default', if appropriate.
7149 (tramp-check-proper-host): New defun.
7150 (tramp-dissect-file-name): Do not check hostname. Revert change
7151 of 2013-03-18.
7152 (tramp-backtrace): Make VEC-OR-PROC optional.
7153
7154 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7155 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7156 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7157 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7158 Apply `tramp-check-proper-host'.
78fc2530 7159
edca97cd
TH
71602013-08-26 Tassilo Horn <tsdh@gnu.org>
7161
7162 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7163 lambda expression in order to have `describe-variable' display it.
7164
df54bcbd
MA
71652013-08-26 Michael Albinus <michael.albinus@gmx.de>
7166
7167 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7168 BUF can be optional. (Bug#15186)
7169
eed99101
XF
71702013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7171
7172 * progmodes/flymake.el (flymake-get-real-file-name-function):
7173 Fix broken customization. (Bug#15184)
7174
b5eb9035
AM
71752013-08-25 Alan Mackenzie <acm@muc.de>
7176
8a51e842
AM
7177 Improve indentation of bracelists defined by macros (without "=").
7178
7179 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7180 expansion begins with "{", regard it as bracelist when it doesn't
7181 contain a ";".
7182
869455d4
AM
7183 Parse C++ inher-intro when there's a template split over 2 lines.
7184
7185 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7186 rigorously the search for "class" etc. followed by ":".
7187
7188 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7189 random languages a regexp which never matches rather than nil.
7190
b5eb9035
AM
7191 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7192
7193 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7194 (c-awk-regexp-one-line-possibly-open-char-list-re)
7195 (c-awk-one-line-possibly-open-regexp-re)
7196 (c-awk-one-line-non-syn-ws*-re): Remove.
7197 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7198 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7199 (c-awk-space*-unclosed-regexp-/-re): New constants.
7200 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7201 aren't regexp delimiters.
7202
7203 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7204 handling for a rare situation in AWK Mode involving unterminated
7205 strings/regexps.
7206
61611d54
GM
72072013-08-23 Glenn Morris <rgm@gnu.org>
7208
2d85dc34
GM
7209 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7210
cb8d2612
GM
7211 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7212
bb35f42f
GM
7213 * files.el (create-file-buffer): If the result would begin with
7214 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7215
b9808e77
SM
72162013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7217
e3a66363
SM
7218 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7219 text-properties (bug#15155).
7220
b9808e77
SM
7221 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7222 exist any more.
7223 (calc-keypad-redraw): Remove unused var `pad'.
7224 (calc-keypad-press): Remove unused var `menu'.
7225
7fd5f65e
MR
72262013-08-23 Martin Rudalics <rudalics@gmx.at>
7227
b9808e77
SM
7228 * window.el (display-buffer-pop-up-frame):
7229 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7230 use it as the new frame's buffer (Bug#15133).
7231
8352b530
SM
72322013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7233
7234 * calendar/timeclock.el: Minor cleanups.
7235 (timeclock-ask-before-exiting, timeclock-use-display-time):
7236 Use `symbol'.
7237 (timeclock-modeline-display): Define as alias before the
7238 actual definition.
7239 (timeclock-mode-line-display): Use define-minor-mode.
7240 (timeclock-day-list-template): Make it a function, add an argument.
7241 (timeclock-day-list-required, timeclock-day-list-length)
7242 (timeclock-day-list-debt, timeclock-day-list-span)
7243 (timeclock-day-list-break): Adjust calls accordingly.
7244
9f7b1925
SM
72452013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7248 Use read--expression so that completion works again.
7249
6e50e983
SS
72502013-08-21 Sam Steingold <sds@gnu.org>
7251
7252 Add rudimentary inferior shell interaction
7253 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7254 (sh-set-shell): Reset it.
9f7b1925
SM
7255 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7256 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7257
dbb0d350
SM
72582013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * align.el: Use lexical-binding.
7261 (align-region): Simplify accordingly.
7262
c88586a9
MA
72632013-08-20 Michael Albinus <michael.albinus@gmx.de>
7264
7265 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7266
7267 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7268 `non-essential' up.
7269
f95527c8
MA
72702013-08-17 Michael Albinus <michael.albinus@gmx.de>
7271
7272 * net/tramp.el:
7273 * net/tramp-adb.el:
7274 * net/tramp-cmds.el:
7275 * net/tramp-ftp.el:
7276 * net/tramp-gvfs.el:
7277 * net/tramp-gw.el:
7278 * net/tramp-sh.el: Don't wrap external variable declarations by
7279 `eval-when-compile'.
7280
4b5fe4ee
LMI
72812013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7282
7283 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7284 now that Emacs supports ImageMagick animations.
7285
13c366c9
MA
72862013-08-16 Michael Albinus <michael.albinus@gmx.de>
7287
7288 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7289 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7290
3dfc5cd6
MR
72912013-08-16 Martin Rudalics <rudalics@gmx.at>
7292
7293 * window.el (mouse-autoselect-window-select): Do autoselect when
7294 mouse pointer is on margin.
7295
4bbb4381
WP
72962013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7297
7298 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7299
3a2ddc2d
GM
73002013-08-16 Glenn Morris <rgm@gnu.org>
7301
e8bedf5a
GM
7302 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7303 Handle "Remote Directory" response of some clients. (Bug#15058)
7304
58c4682f
GM
7305 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7306 Tweak warning. (Bug#14926)
7307
57953f49
GM
7308 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7309 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7310
3a2ddc2d
GM
7311 * image-mode.el (image-mode-map): Add menu items to reverse,
7312 increase, decrease, reset animation speed.
7313 (image--set-speed, image-increase-speed, image-decrease-speed)
7314 (image-reverse-speed, image-reset-speed): New functions.
7315 (image-mode-map): Add bindings for speed commands.
7316
7317 * image.el (image-animate-get-speed, image-animate-set-speed):
7318 New functions.
7319 (image-animate-timeout): Respect image :speed property.
7320
10fa0ed3
SM
73212013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7324 previous line (bug#15101).
7325 (debugger-eval-expression, debugger-record-expression):
7326 Use read--expression (bug#15102).
7327
5d89d9d2
MA
73282013-08-15 Michael Albinus <michael.albinus@gmx.de>
7329
7330 Remove byte compiler warnings, visible when compiling with
7331 `byte-compile-force-lexical-warnings' set to t.
7332
7333 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7334 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7335 (tramp-handle-unhandled-file-name-directory)
7336 (tramp-handle-file-notify-add-watch, tramp-action-login)
7337 (tramp-action-succeed, tramp-action-permission-denied)
7338 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7339 arguments with "_".
7340
7341 * net/tramp-adb.el (tramp-adb-parse-device-names)
7342 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7343 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7344 (tramp-adb-handle-file-truename): Remove unused arguments.
7345
7346 * net/tramp-cache.el (tramp-flush-directory-property)
7347 (tramp-flush-connection-property, tramp-list-connections)
7348 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7349
10fa0ed3
SM
7350 * net/tramp-compat.el (tramp-compat-make-temp-file):
7351 Rename FILENAME to F.
5d89d9d2
MA
7352
7353 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7354 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7355 (tramp-zeroconf-parse-workstation-device-names)
7356 (tramp-zeroconf-parse-webdav-device-names)
7357 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7358
7359 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7360 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7361
7362 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7363 arguments.
7364 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7365 (tramp-sh-handle-insert-file-contents-literally)
7366 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7367 with "_".
7368 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7369 Remove unused variables.
7370
7371 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7372 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7373 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7374
7375 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7376 Make them a defconst.
7377 (tramp-uuencode-region): Remove unused variable.
7378
62f33bae
JB
73792013-08-14 Juanma Barranquero <lekktu@gmail.com>
7380
7381 * frameset.el (frameset--prop-setter): New function.
7382 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7383 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7384 parameter was already set in FILTERED. Doc fix.
7385 (frameset--record-minibuffer-relationships): Allow saving a
7386 minibufferless frame without its corresponding minibuffer frame.
7387 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7388 frame, if the frame id matches.
7389 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7390 frames before orphaned ones.
7391 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7392
c660a885
MR
73932013-08-14 Martin Rudalics <rudalics@gmx.at>
7394
7395 * window.el (window-make-atom): Don't overwrite parameter
7396 already present.
7397 (display-buffer-in-atom-window): Handle special case where we
7398 split an already atomic window.
7399 (window--major-non-side-window, display-buffer-in-side-window)
7400 (window--side-check): Ignore minibuffer window when walking
7401 window tree.
7402 (window-deletable-p): Return 'frame only if no other frame uses
7403 our minibuffer window.
7404 (record-window-buffer): Run buffer-list-update-hook.
7405 (split-window): Make sure window--check-frame won't destroy an
7406 existing atomic window in case the new window gets nested
7407 inside.
7408 (display-buffer-at-bottom): Ignore minibuffer window when
7409 walking window tree. Don't split a side window.
7410 (pop-to-buffer): Don't set-buffer here, the select-window call
7411 should do that.
7412 (mouse-autoselect-window-select): Autoselect only if we are in the
7413 text portion of the window.
7414
8259030d
LMI
74152013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7416
21c58ae2
LMI
7417 * net/shr.el (shr-parse-image-data): New function to grab both the
7418 data itself and the Content-Type.
7419 (shr-put-image): Use it.
7420
7421 * net/eww.el (eww-display-image): Ditto.
7422
8259030d
LMI
7423 * image.el (image-content-type-suffixes): New variable.
7424
ad756449
FEG
74252013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7426
7427 * progmodes/python.el (python-imenu--build-tree)
7428 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7429
f73f4ce6
XF
74302013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7431
7432 * simple.el (backward-word): Mention the optional argument.
7433
1f585e65
SM
74342013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 * frameset.el (frameset--make): Rename constructor from make-frameset.
7437 (frameset-p, frameset-valid-p): Don't autoload.
7438 (frameset-valid-p): Use normal accessors.
7439
af1c6c84
GM
74402013-08-13 Glenn Morris <rgm@gnu.org>
7441
55e47f95
GM
7442 * progmodes/compile.el (compile-command): Tweak example in doc.
7443 * obsolete/scribe.el (scribe-mode):
7444 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7445
f0024d8c
GM
7446 * mail/feedmail.el (feedmail-confirm-outgoing)
7447 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7448
7449 * cus-start.el (truncate-partial-width-windows): Fix type.
7450
7451 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7452
af1c6c84
GM
7453 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7454
5514cc4c
SM
74552013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7456
7457 * emacs-lisp/timer.el (timer--time-setter): New function.
7458 (timer--time): Use it as gv-setter.
7459
7460 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7461 setter is not a symbol.
7462
7997a2f1
GJ
74632013-08-12 Grégoire Jadi <daimrod@gmail.com>
7464
7465 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7466 if sending fails. This makes debugging easier.
7467
01f1a9ab
JB
74682013-08-12 Juanma Barranquero <lekktu@gmail.com>
7469
7470 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7471 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7472 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7473
594a4307
EZ
74742013-08-12 Eli Zaretskii <eliz@gnu.org>
7475
7476 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7477
7a22490f 74782013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7479
7480 * format.el (format-annotate-function):
7481 Handle read-only text properties in the source. (Bug#14887)
7482
3e41a054
LMI
74832013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7484
5514cc4c
SM
7485 * net/eww.el (eww-display-html): Ignore coding system errors.
7486 One web site uses "utf-8lias" as the coding system.
3e41a054 7487
7ec326db
JB
74882013-08-11 Juanma Barranquero <lekktu@gmail.com>
7489
7490 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7491
5660113b
JB
74922013-08-10 Juanma Barranquero <lekktu@gmail.com>
7493
9a4ebc74
JB
7494 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7495 (tutorial--detailed-help): Remove unused local variables.
7496 (tutorial--save-tutorial-to): Use ignore-errors.
7497 (help-with-tutorial): Use looking-at-p.
7498
7499 * view.el (view-buffer-other-window, view-buffer-other-frame):
7500 Mark unused arguments.
7501
7502 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7503 (woman-select-symbol-fonts, woman, woman-find-file)
7504 (woman-insert-file-contents, woman-non-underline-faces):
7505 Use string-match-p.
7506 (woman1-unquote): Move declaration.
7507
7508 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7509 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7510 argument. Remove unused local variable.
7511 (xml-parse-elem-type): Use string-match-p.
7512 (xml-substitute-numeric-entities): Use ignore-errors.
7513
45fdb482
JB
7514 * calculator.el (calculator): Mark unused argument.
7515 (calculator-paste, calculator-quit, calculator-integer-p):
7516 Use ignore-errors.
7517 (calculator-string-to-number, calculator-decimal, calculator-exp)
7518 (calculator-op-or-exp): Use string-match-p.
7519
7520 * dired.el (dired-buffer-more-recently-used-p): Declare.
7521 (dired-insert-set-properties, dired-insert-old-subdirs):
7522 Use ignore-errors.
7523
7524 * dired-aux.el (dired-compress): Use ignore-errors.
7525 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7526 (dired-do-async-shell-command, dired-do-shell-command)
7527 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7528 (dired-insert-subdir-validate): Use string-match-p.
7529 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7530 (dired-add-entry): Use string-match-p, looking-at-p.
7531 (dired-insert-subdir-newpos): Remove unused local variable.
7532
7533 * filenotify.el (file-notify-callback): Remove unused local variable.
7534
7535 * filesets.el (filesets-error): Mark unused argument.
7536 (filesets-which-command-p, filesets-filter-dir-names)
7537 (filesets-directory-files, filesets-get-external-viewer)
7538 (filesets-ingroup-get-data): Use string-match-p.
7539
7540 * find-file.el (ff-other-file-name, ff-other-file-name)
7541 (ff-find-the-other-file, ff-cc-hh-converter):
7542 Remove unused local variables.
7543 (ff-get-file-name): Use string-match-p.
7544 (ff-all-dirs-under): Use ignore-errors.
7545
7546 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7547 (follow-select-if-visible): Remove unused local variable.
7548
7549 * forms.el (read-file-filter): Move declaration.
7550 (forms--make-format, forms--make-parser, forms-insert-record):
7551 Quote function with #'.
7552 (forms--update): Use string-match-p. Quote function with #'.
7553
7554 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7555 (help-make-xrefs): Use looking-at-p.
7556 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7557
7558 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7559 (ibuffer-confirm-operation-on): Use string-match-p.
7560
7561 * msb.el (msb-item-handler, msb-dired-item-handler):
7562 Mark unused arguments.
7563
7564 * ses.el (ses-decode-cell-symbol)
7565 (ses-kill-override): Remove unused local variable.
7566 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7567 (ses-load): Use ignore-errors, looking-at-p.
7568 (ses-jump-safe): Use ignore-errors.
7569 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7570
7571 * tabify.el (untabify, tabify): Mark unused arguments.
7572
7573 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7574 Mark unused argument.
7575 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7576 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7577
c880af52
JB
7578 * emacs-lisp/timer.el (timer--time): Define setter with
7579 gv-define-setter to avoid deprecation warning.
7580
5660113b 7581 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7582 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7583 (cmpl-statistics-block): Remove (body was commented out).
7584 All callers changed.
7585 (add-completions-from-buffer, load-completions-from-file):
7586 Remove unused variables.
7587
156aab80
JB
75882013-08-09 Juanma Barranquero <lekktu@gmail.com>
7589
5c5dee78
JB
7590 * filecache.el (file-cache-delete-file-list):
7591 Print message only when told so.
7592 (file-cache-files-matching): Use #' in mapconcat argument.
7593
156aab80
JB
7594 * ffap.el (ffap-url-at-point): Fix reference to variable
7595 thing-at-point-default-mail-uri-scheme.
7596
ad9dcd70
SM
75972013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7598
54bd972f
SM
7599 * subr.el (define-error): New function.
7600 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7601 error-file-not-found and define with define-error.
7602 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7603 and define with define-error.
7604 * userlock.el (file-locked, file-supersession):
7605 * simple.el (mark-inactive):
7606 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7607 * progmodes/ada-mode.el (ada-mode-errors):
7608 * play/life.el (life-extinct):
7609 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7610 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7611 * nxml/rng-util.el (rng-error):
7612 * nxml/rng-uri.el (rng-uri-error):
7613 * nxml/rng-match.el (rng-compile-error):
7614 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7615 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7616 * nxml/nxml-rap.el (nxml-scan-error):
7617 * nxml/nxml-outln.el (nxml-outline-error):
7618 * net/soap-client.el (soap-error):
7619 * net/gnutls.el (gnutls-error):
7620 * net/ange-ftp.el (ftp-error):
7621 * mpc.el (mpc-proc-error):
7622 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7623 (json-number-format, json-string-escape, json-string-format)
7624 (json-key-format, json-object-format):
7625 * jka-compr.el (compression-error):
7626 * international/quail.el (quail-error):
7627 * international/kkc.el (kkc-error):
7628 * emacs-lisp/ert.el (ert-test-failed):
7629 * calc/calc.el (calc-error, inexact-result, math-overflow)
7630 (math-underflow):
7631 * bookmark.el (bookmark-error-no-filename):
7632 * epg.el (epg-error): Define with define-error.
7633
0ea9e53a
SM
7634 * time.el (display-time-event-handler)
7635 (display-time-next-load-average): Don't call sit-for since it seems
7636 unnecessary (bug#15045).
7637
b0429158
SM
7638 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7639 Use #' instead of ' to quote functions.
7640 (checkdoc-output-mode): Use setq-local.
7641 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7642 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7643 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7644 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7645 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7646 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7647 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7648 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7649
ad9dcd70
SM
7650 * ido.el (ido-completion-help): Fix up compiler warning.
7651
77187e6f
JB
76522013-08-09 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * frameset.el (frameset-p): Add autoload cookie.
7655 (frameset--jump-to-register): New function, based on code moved from
7656 register.el.
7657 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7658
7659 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7660 (frameset-restore, frameset-save, frameset-session-filter-alist):
7661 Remove declarations.
7662 (register-alist): Doc fix.
7663 (frameset-to-register): Move to frameset.el.
7664 (jump-to-register, describe-register-1): Remove frameset-specific code.
7665
9d3aa82c
JB
76662013-08-08 Juanma Barranquero <lekktu@gmail.com>
7667
7668 * allout-widgets.el (allout-widgets-pre-command-business)
7669 (allout-widgets-post-command-business)
7670 (allout-widgets-after-change-handler)
7671 (allout-decorate-item-and-context, allout-set-boundary-marker)
7672 (allout-body-modification-handler)
7673 (allout-graphics-modification-handler): Mark ignored arguments.
7674 (allout-widgets-post-command-business)
7675 (allout-widgets-exposure-change-processor)
7676 (allout-widgets-exposure-undo-processor)
7677 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7678 (allout-parse-item-at-point, allout-decorate-item-guides)
7679 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7680 * allout.el (epa-passphrase-callback-function): Declare.
7681 (allout-overlay-insert-in-front-handler)
7682 (allout-overlay-interior-modification-handler)
7683 (allout-isearch-end-handler, allout-chart-siblings)
7684 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7685 (allout-yank-processing, allout-process-exposed)
7686 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7687 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7688 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7689 (lisp-indent-defform): Mark ignored arguments.
7690 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7691 (calculate-lisp-indent): Remove unused variables.
7692 * international/characters.el (indian-2-column, arabic-2-column)
7693 (tibetan): Mark ignored arguments.
7694 (use-cjk-char-width-table): Mark ignored arguments.
7695 Remove unused variables.
7696 * international/fontset.el (build-default-fontset-data)
7697 (x-compose-font-name, create-fontset-from-fontset-spec):
7698 Mark ignored arguments.
7699 (fontset-plain-name): Remove unused variables.
7700 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7701 (keyboard-coding-system): Mark ignored arguments.
7702 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7703 * help.el (resize-temp-buffer-window):
7704 * window.el (display-buffer-in-major-side-window)
7705 (display-buffer-in-side-window, display-buffer-in-previous-window):
7706 Remove unused variables.
7707 * isearch.el (isearch-forward-symbol):
7708 * version.el (emacs-bzr-version-bzr):
7709 * international/mule-cmds.el (current-language-environment):
7710 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7711 (x-handle-display):
7712 * term/pc-win.el (x-list-fonts, x-display-planes)
7713 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7714 (x-server-version, x-display-screens, x-display-mm-height)
7715 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7716 (x-selection-owner-p, x-own-selection-internal)
7717 (x-disown-selection-internal, x-get-selection-internal)
7718 (msdos-initialize-window-system):
7719 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7720 * term/x-win.el (x-handle-no-bitmap-icon):
7721 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7722 (vc-default-find-file-hook, vc-default-extra-menu):
7723 Mark ignored arguments.
7724
0ca3f70e
SM
77252013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7728 break-condition in the context of the debugged code (bug#12685).
7729
74c5d24c
CS
77302013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7731
7732 * comint.el:
7733 Do not use an overlay to highlight the last prompt. (Bug#14744)
7734 (comint-mode): Make comint-last-prompt buffer local.
7735 (comint-last-prompt): New variable.
7736 (comint-last-prompt-overlay): Remove. Superseded by
7737 comint-last-prompt.
0ca3f70e
SM
7738 (comint-snapshot-last-prompt, comint-output-filter):
7739 Use comint-last-prompt.
74c5d24c 7740
c03c02ee
JB
77412013-08-08 Juanma Barranquero <lekktu@gmail.com>
7742
a3738d20 7743 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7744 (frameset-save): Check validity of the resulting frameset.
7745
04263d23
XF
77462013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7747
7748 * ido.el (ido-record-command): Add doc string.
7749
76c5e5ab
JB
77502013-08-08 Juanma Barranquero <lekktu@gmail.com>
7751
7752 * frameset.el (frameset): Do not disable creation of the default
7753 frameset-p predicate. Doc fix.
7754 (frameset-valid-p): New function, copied from the old predicate-p.
7755 Add additional checks.
7756 (frameset-restore): Check with frameset-valid-p.
7757 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7758 (frameset-name, frameset-description, frameset-properties)
7759 (frameset-states): Add docstring.
f9dbf1cb
JB
7760 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7761 (frameset-filter-alist): Doc fixes.
76c5e5ab 7762
bd0c3c0b
JB
77632013-08-08 Juanma Barranquero <lekktu@gmail.com>
7764
7765 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7766
c735544c
SM
77672013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7770 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7771 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7772 (byte-compile-normal-call): Remove obsolescence check.
7773
2805a651
JB
77742013-08-08 Juanma Barranquero <lekktu@gmail.com>
7775
3677ffeb
JB
7776 * frameset.el (frameset-restore): Doc fix.
7777
2805a651
JB
7778 * register.el (frameset-frame-id, frameset-frame-with-id)
7779 (frameset-p, frameset-restore, frameset-save): Declare.
7780 (register-alist): Document framesets.
7781 (frameset-session-filter-alist): Declare.
7782 (frameset-to-register): New function.
7783 (jump-to-register): Implement jumping to framesets. Doc fix.
7784 (describe-register-1): Describe framesets.
7785
7786 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7787
a912c016
JB
77882013-08-07 Juanma Barranquero <lekktu@gmail.com>
7789
7790 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7791 Use lexical-binding.
7792
7793 * frameset.el (frameset): Use type vector, not list (incompatible
7794 change). Do not declare a new constructor, use the default one.
7795 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7796 `name' and `description', respectively, and add read-only slot
7797 `timestamp'. Doc fixes.
7798 (frameset-copy, frameset-persistent-filter-alist)
7799 (frameset-filter-alist, frameset-switch-to-gui-p)
7800 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7801 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7802 (frameset-filter-iconified, frameset-keep-original-display-p):
7803 Doc fixes.
7804 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7805 Rename from frameset-filter-(save|restore)-param. All callers changed.
7806 Doc fix.
7807 (frameset-p): Adapt to change to vector and be more thorough.
7808 Change arg name to OBJECT. Doc fix.
7809 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7810 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7811 All callers changed.
7812 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7813 All callers changed.
7814 (frameset--record-minibuffer-relationships): Rename from
7815 frameset--process-minibuffer-frames. All callers changed.
7816 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7817 Use new default constructor (again). Doc fix.
c295fc18 7818 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7819 All callers changed.
7820 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7821 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7822 Doc fix.
7823 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7824 PARAMETERS and WINDOW-STATE, respectively.
7825 (frameset-restore): Add new keyword argument PREDICATE.
7826 Reset frameset--target-display to nil. Doc fix.
7827
bb41480a
SM
78282013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7829
f001e98e
SM
7830 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7831 (bat-mode): Use it.
7832 (bat-mode-syntax-table): Mark \n as end-of-comment.
7833 (bat-font-lock-keywords): Remove comment rule.
7834
7679edb1
SM
7835 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7836 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7837
bb41480a
SM
7838 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7839 (byte-compile-callargs-warn): Use `push'.
7840 (byte-compile-arglist-warn): Ignore higher-order "calls".
7841 (byte-compile-file-form-autoload): Use `pcase'.
7842 (byte-compile-function-form): If quoting a symbol, check that it exists.
7843
cdc1ebb9
EZ
78442013-08-07 Eli Zaretskii <eliz@gnu.org>
7845
7846 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7847 and add a few popular commands found in batch files.
7848 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7849 (dos-mode): Doc fixes.
7850
312b1740
SM
78512013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7852
7853 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7854 (dos-mode): Use setq-local. Add space after "rem".
7855 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7856 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7857
400a3178
AM
78582013-08-07 Arni Magnusson <arnima@hafro.is>
7859
7860 * progmodes/dos.el: New file.
7861 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7862 dos-mode.
7863
3b5c03d3
GM
78642013-08-06 Glenn Morris <rgm@gnu.org>
7865
7866 * calendar/calendar.el: Add new faces, and day-header-array.
7867 (calendar-weekday-header, calendar-weekend-header)
7868 (calendar-month-header): New faces.
7869 (calendar-day-header-construct): New function.
7870 (calendar-day-header-width): Also :set calendar-day-header-array.
7871 (calendar-american-month-header, calendar-european-month-header)
7872 (calendar-iso-month-header): Use calendar- faces.
7873 (calendar-generate-month):
7874 Use calendar-day-header-array for day headers; apply faces to them.
7875 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7876 (calendar-abbrev-construct): Add optional maxlen argument.
7877 (calendar-day-name-array): Doc fix.
7878 (calendar-day-name-array, calendar-abbrev-length)
7879 (calendar-day-abbrev-array):
7880 Also :set calendar-day-header-array, and maybe redraw.
7881 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 7882 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
7883 (calendar-day-name): Add option to use header array.
7884
ec6a2d7a
LMI
78852013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7886
7887 * net/shr.el (shr-render-td): Remove debugging.
7888 (shr-render-td): Make width computation consistent by defaulting
7889 all zero-width columns to 10 characters. This may not be optimal,
7890 but it's at least consistent.
2122cb6d
LMI
7891 (shr-make-table-1): Redo last change to fix the real problem in
7892 colspan handling.
ec6a2d7a 7893
ed4fd9c5
DA
78942013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7895
0ca3f70e
SM
7896 * files.el (cache-long-line-scans):
7897 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 7898
64e22afe
JB
78992013-08-06 Juanma Barranquero <lekktu@gmail.com>
7900
024b38fc
JB
7901 * frameset.el (frameset, frameset-filter-alist)
7902 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7903 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7904 (frameset-compute-pos): Rename from frameset--compute-pos,
7905 and add docstring.
7906 (frameset-move-onscreen): Use frameset-compute-pos.
7907 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7908
64e22afe
JB
7909 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7910 Fix typos in docstrings.
7911
c8c2aca8
DA
79122013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7913
7914 * frame.el (get-other-frame): Tiny cleanup.
7915
1d237bba
JB
79162013-08-06 Juanma Barranquero <lekktu@gmail.com>
7917
8951efef
JB
7918 * vc/vc.el (vc-default-ignore-completion-table):
7919 Silence byte-compiler warning.
7920
307764cc 7921 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7922 slot, which can indeed be nil.
307764cc
JB
7923 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7924 Move entry for `left' from persistent to live filter alist.
7925 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7926 Doc fixes.
7927 (frameset-filter-params): When restoring a frame, copy items added to
7928 `filtered', to avoid unwittingly modifying the original parameters.
7929 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7930 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7931
1d237bba
JB
7932 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7933 to use looking-at-p instead of looking-at. (Bug#15028)
7934
dc6c0eda
SM
79352013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7936
7937 Revert introduction of isearch-filter-predicates (bug#14714).
7938 Rely on add-function instead.
7939 * isearch.el (isearch-filter-predicates): Rename it back to
7940 isearch-filter-predicate.
7941 (isearch-message-prefix): Use advice-function-mapc and advice
7942 properties to get the isearch-message-prefix.
7943 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7944 instead of run-hook-with-args-until-failure.
7945 (isearch-filter-visible): Not obsolete any more.
7946 * loadup.el: Preload nadvice.
7947 * replace.el (perform-replace): Revert to funcall
7948 instead of run-hook-with-args-until-failure.
7949 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7950 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7951 dired-isearch-filenames-toggle; make it into a proper minor mode.
7952 Use add/remove-function.
7953 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7954 Call the minor-mode rather than add/remove-hook.
7955 (dired-isearch-filter-filenames):
7956 Remove isearch-message-prefix property.
7957 * info.el (Info--search-loop): New function, extracted from Info-search.
7958 Funcall isearch-filter-predicate instead of
7959 run-hook-with-args-until-failure isearch-filter-predicates.
7960 (Info-search): Use it.
7961 (Info-mode): Use isearch-filter-predicate instead of
7962 isearch-filter-predicates.
7963
290d5b58
DA
79642013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7965
7966 Do not call to `selected-window' where it is assumed by default.
7967 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7968 `window-hscroll', `window-width', `window-height', `window-buffer',
7969 `window-frame', `window-start', `window-point', `next-window'
7970 and `window-display-table'.
7971 * abbrev.el (abbrev--default-expand):
7972 * bs.el (bs--show-with-configuration):
7973 * buff-menu.el (Buffer-menu-mouse-select):
7974 * calc/calc.el (calc):
7975 * calendar/calendar.el (calendar-generate-window):
7976 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7977 (diary-make-entry):
7978 * comint.el (send-invisible, comint-dynamic-complete-filename)
7979 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7980 * completion.el (complete):
7981 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7982 * disp-table.el (describe-current-display-table):
7983 * doc-view.el (doc-view-insert-image):
7984 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7985 * ehelp.el (with-electric-help):
7986 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7987 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7988 * emacs-lisp/helper.el (Helper-help-scroller):
7989 * emulation/cua-base.el (cua--post-command-handler-1):
7990 * eshell/esh-mode.el (eshell-output-filter):
7991 * ffap.el (ffap-gnus-wrapper):
7992 * help-macro.el (make-help-screen):
7993 * hilit-chg.el (highlight-compare-buffers):
7994 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7995 * hl-line.el (global-hl-line-highlight):
7996 * icomplete.el (icomplete-simple-completing-p):
7997 * isearch.el (isearch-done):
7998 * jit-lock.el (jit-lock-stealth-fontify):
7999 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8000 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8001 * mpc.el (mpc-tagbrowser, mpc):
8002 * net/rcirc.el (rcirc-any-buffer):
8003 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8004 * play/landmark.el (landmark-max-width, landmark-max-height):
8005 * play/zone.el (zone):
8006 * progmodes/compile.el (compilation-goto-locus):
8007 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8008 * progmodes/etags.el (find-tag-other-window):
8009 * progmodes/fortran.el (fortran-column-ruler):
8010 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8011 * progmodes/verilog-mode.el (verilog-point-text):
8012 * reposition.el (reposition-window):
8013 * rot13.el (toggle-rot13-mode):
8014 * server.el (server-switch-buffer):
8015 * shell.el (shell-dynamic-complete-command)
8016 (shell-dynamic-complete-environment-variable):
8017 * simple.el (insert-buffer, set-selective-display)
8018 (delete-completion-window):
8019 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8020 (speedbar-recenter):
8021 * startup.el (fancy-splash-head):
8022 * textmodes/ispell.el (ispell-command-loop):
8023 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8024 * tutorial.el (help-with-tutorial):
8025 * vc/add-log.el (add-change-log-entry):
8026 * vc/compare-w.el (compare-windows):
8027 * vc/ediff-help.el (ediff-indent-help-message):
8028 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8029 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8030 (ediff-setup-control-frame):
8031 * vc/emerge.el (emerge-position-region):
8032 * vc/pcvs-util.el (cvs-bury-buffer):
8033 * window.el (walk-windows, mouse-autoselect-window-select):
8034 * winner.el (winner-set-conf, winner-undo): Related users changed.
8035
38276e01
JB
80362013-08-05 Juanma Barranquero <lekktu@gmail.com>
8037
8038 * frameset.el (frameset--set-id): Doc fix.
8039 (frameset-frame-id, frameset-frame-id-equal-p)
8040 (frameset-locate-frame-id): New functions.
8041 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8042 (frameset-restore): Use them.
8043
12b4c0ea
DA
80442013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8045
8046 Do not call to `selected-frame' where it is assumed by default.
8047 Affected functions are `raise-frame', `redraw-frame',
8048 `frame-first-window', `frame-terminal' and `delete-frame'.
8049 * calendar/appt.el (appt-disp-window):
8050 * epg.el (epg-wait-for-completion):
8051 * follow.el (follow-delete-other-windows-and-split)
8052 (follow-avoid-tail-recenter):
8053 * international/mule.el (set-terminal-coding-system):
8054 * mail/rmail.el (rmail-mail-return):
8055 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8056 * progmodes/f90.el (f90-add-imenu-menu):
8057 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8058 * server.el (server-switch-buffer):
8059 * simple.el (delete-completion-window):
8060 * talk.el (talk):
8061 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8062 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8063 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8064 * vc/ediff.el (ediff-documentation): Related users changed.
8065 * frame.el (selected-terminal): Remove the leftover.
8066
17f25e76
GM
80672013-08-05 Glenn Morris <rgm@gnu.org>
8068
8069 * calendar/calendar.el (calendar-generate-month):
8070 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8071 (calendar-generate-month, calendar-font-lock-keywords):
8072 Fix for calendar-day-header-width > length of any day name.
17f25e76 8073
063233c3
JB
80742013-08-05 Juanma Barranquero <lekktu@gmail.com>
8075
8076 * desktop.el (desktop-clear): Use new name of sort predicate.
8077
8078 * frameset.el (frameset): Add docstring. Move :version property to its
8079 own `version' slot.
8080 (frameset-copy): Rename from copy-frameset.
8081 (frameset-p): Check more thoroughly.
8082 (frameset-prop): Do not check for :version, which is no longer a prop.
8083 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8084 Use new :never value instead of t.
8085 (frameset-filter-alist): Expand and clarify docstring.
8086 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8087 (frameset-filter-minibuffer, frameset-filter-save-param)
8088 (frameset-filter-restore-param, frameset-filter-iconified):
8089 Add pointer to docstring of frameset-filter-alist.
8090 (frameset-filter-params): Rename filter values to be more meaningful:
8091 :never instead of t, and reverse the meanings of :save and :restore.
8092 (frameset--process-minibuffer-frames): Clarify error message.
8093 (frameset-save): Avoid unnecessary and confusing call to framep.
8094 Use new BOA constructor for framesets.
8095 (frameset--reuse-list): Doc fix.
8096 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8097 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8098 (frameset-minibufferless-first-p): Doc fix.
8099 Rename from frameset-sort-frames-for-deletion.
8100 (frameset-restore): Doc fixes. Use new function names.
8101 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8102
d5671a82
JB
81032013-08-04 Juanma Barranquero <lekktu@gmail.com>
8104
8105 * desktop.el (desktop-restore-forces-onscreen)
8106 (desktop-restore-reuses-frames): Document :keyword constant values.
8107 (desktop-filter-parameters-alist): Remove, now identical to
8108 frameset-filter-alist.
8109 (desktop--filter-tty*): Remove, moved to frameset.el.
8110 (desktop-save-frameset, desktop-restore-frameset):
8111 Do not pass :filters argument.
8112
8113 * frameset.el (frameset-live-filter-alist)
8114 (frameset-persistent-filter-alist): New variables.
8115 (frameset-filter-alist): Use them. Add autoload cookie.
8116 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8117 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8118 `frameset--id' (it's supposed to be internal to frameset.el).
8119 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8120 (frameset--initial-params): New function.
8121 (frameset--get-frame): Use it. Doc fix.
8122 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8123 Accept :all, not 'all.
8124 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8125 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8126 with fbound symbols. Fix frame id matching, and remove matching ids if
8127 the frame being restored is deleted. Obey :delete.
8128
671d5c16
SM
81292013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * subr.el (macrop): New function.
8132 (text-clone--maintaining): New var.
8133 (text-clone--maintain): Rename from text-clone-maintain. Use it
8134 instead of inhibit-modification-hooks.
8135
8136 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8137 a proxy, so as handle autoloads and redefinitions of the target.
8138 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8139
8140 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8141 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8142 (pcase--mutually-exclusive-p): New function.
8143 (pcase--split-consp): Use it.
8144 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8145 mutually exclusive with the current predicate.
8146
8147 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8148 (edebug-macrop): Remove. Use `macrop' instead.
8149 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8150 (ad-macro-p):
8151 * eshell/esh-cmd.el (eshell-macrop):
8152 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8153
1d44e9dc
SM
81542013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8157 (advice-mapc): New function, using it.
8158 (advice-function-member-p): New function.
8159 (advice--normalize): Store the cdr in advice--saved-rewrite since
8160 that's the part that will be changed.
8161 (advice--symbol-function): New function.
8162 (advice-remove): Handle removal before the function is defined.
8163 Adjust to new advice--saved-rewrite.
8164 (advice-member-p): Use advice-function-member-p and
8165 advice--symbol-function.
8166
5414a283
JB
81672013-08-04 Juanma Barranquero <lekktu@gmail.com>
8168
51d30f2c
JB
8169 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8170 (frameset-filter-minibuffer): Doc fix.
8171 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8172 (frameset--set-id, frameset--process-minibuffer-frames)
8173 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8174 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8175
5414a283
JB
8176 * desktop.el (desktop-clear): Only delete frames when called
8177 interactively and desktop-restore-frames is non-nil. Doc fix.
8178 (desktop-read): Set desktop-saved-frameset to nil.
8179
ab419665
XF
81802013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8181
8182 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8183 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8184 (vc--add-line, vc--remove-regexp): New functions.
8185
8186 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8187 (vc-svn-ignore-completion-table): New function.
8188
8189 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8190 (vc-hg-ignore-completion-table)
ab419665
XF
8191 (vc-hg-find-ignore-file): New functions.
8192
8193 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8194 (vc-git-ignore-completion-table)
ab419665
XF
8195 (vc-git-find-ignore-file): New functions.
8196
8197 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8198
8199 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8200 (vc-bzr-ignore-completion-table)
ab419665
XF
8201 (vc-bzr-find-ignore-file): New functions.
8202
2613dea2
JB
82032013-08-03 Juanma Barranquero <lekktu@gmail.com>
8204
8205 * frameset.el (frameset-prop): New function and setter.
8206 (frameset-save): Do not modify frame list passed by the caller.
8207
9c959872
SM
82082013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8211
a104f656
SM
82122013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8213
70122acf
SM
8214 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8215 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8216
a104f656
SM
8217 * custom.el (custom-initialize-default, custom-initialize-set)
8218 (custom-initialize-reset, custom-initialize-changed): Affect the
8219 toplevel-default-value (bug#6275, bug#14586).
8220 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8221 for bug#6275.
8222
f078d570
JB
82232013-08-02 Juanma Barranquero <lekktu@gmail.com>
8224
185e3b5a
JB
8225 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8226 Add cl-def* expressions.
8227
f078d570
JB
8228 * frameset.el (frameset-filter-params): Fix order of arguments.
8229
9421876d
JB
82302013-08-02 Juanma Barranquero <lekktu@gmail.com>
8231
8232 Move code related to saving frames to frameset.el.
8233 * desktop.el: Require frameset.
8234 (desktop-restore-frames): Doc fix.
8235 (desktop-restore-reuses-frames): Rename from
8236 desktop-restoring-reuses-frames.
8237 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8238 (desktop-clear): Clear frames too.
8239 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8240 (desktop--filter-tty*, desktop-save, desktop-read):
8241 Use frameset functions.
8242 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8243 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8244 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8245 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8246 (desktop--process-minibuffer-frames, desktop-save-frames)
8247 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8248 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8249 (desktop--sort-states, desktop-restoring-frames-p)
8250 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8251 (desktop-restoring-frameset-p, desktop-restore-frameset)
8252 (desktop--check-dont-save, desktop-save-frameset): New functions.
8253 (desktop--app-id): New constant.
8254 (desktop-first-buffer, desktop-buffer-ok-count)
8255 (desktop-buffer-fail-count): Move before first use.
8256 * frameset.el: New file.
8257
76dc5996
SM
82582013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8259
8260 * files.el: Use lexical-binding.
8261 (dir-locals-read-from-file): Remove unused `err' variable.
8262 (hack-dir-local-variables--warned-coding): New var.
8263 (hack-dir-local-variables): Use it to avoid repeated warnings.
8264 (make-backup-file-name--default-function): New function.
8265 (make-backup-file-name-function): Use it as default.
8266 (buffer-stale--default-function): New function.
8267 (buffer-stale-function): Use it as default.
8268 (revert-buffer-insert-file-contents--default-function): New function.
8269 (revert-buffer-insert-file-contents-function): Use it as default.
8270 (insert-directory): Avoid add-to-list.
8271
8272 * autorevert.el (auto-revert-handler): Simplify.
8273 Use buffer-stale--default-function.
8274
06d36e2b
TH
82752013-08-01 Tassilo Horn <tsdh@gnu.org>
8276
5f648ab4
TH
8277 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8278
06d36e2b
TH
8279 * whitespace.el (whitespace-ensure-local-variables): New function.
8280 (whitespace-cleanup-region): Call it.
8281 (whitespace-turn-on): Call it.
8282
a43dc424
MA
82832013-08-01 Michael Albinus <michael.albinus@gmx.de>
8284
8285 Complete file name handlers.
8286
8287 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8288 (tramp-handle-verify-visited-file-modtime)
8289 (tramp-handle-file-notify-rm-watch): New functions.
8290 (tramp-call-process): Do not bind `default-directory'.
8291
44e18199
JB
8292 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8293 Order alphabetically.
afe1e4c8
GM
8294 <access-file, add-name-to-file, dired-call-process>:
8295 <dired-compress-file, file-acl, file-notify-rm-watch>:
8296 <file-ownership-preserved-p, file-selinux-context>:
8297 <make-directory-internal, make-symbolic-link, set-file-acl>:
8298 <set-file-selinux-context, set-visited-file-modtime>:
8299 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8300 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8301
8302 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8303 <file-notify-add-watch, file-notify-rm-watch>:
8304 <set-file-times, set-visited-file-modtime>:
8305 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8306 (with-tramp-gvfs-error-message)
8307 (tramp-gvfs-handle-set-visited-file-modtime)
8308 (tramp-gvfs-fuse-file-name): Remove.
8309 (tramp-gvfs-handle-file-notify-add-watch)
8310 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8311 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8312
44e18199
JB
8313 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8314 Order alphabetically.
afe1e4c8
GM
8315 <file-notify-rm-watch>: Use default Tramp handler.
8316 <executable-find>: Remove private handler.
a43dc424
MA
8317 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8318 `default-directory'.
8319 (tramp-sh-handle-executable-find)
8320 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8321 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8322 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8323 Do not use `format' in `tramp-message'.
8324
8325 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8326 <file-notify-rm-watch, set-visited-file-modtime>:
8327 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8328 (tramp-smb-call-winexe): Do not bind `default-directory'.
8329
7188b515
XF
83302013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8331
8332 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8333
2412ee1a
DG
83342013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8335
8336 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8337 use it.
8338 (log-view-diff-changeset): Same.
8339 (log-view-diff-common): Call backend command `previous-revision'
8340 to find out the previous revision, in both cases. Swap the
8341 variables `to' and `fr', so that `fr' usually refers to the
8342 earlier revision (Bug#14989).
8343
5002a754
KRC
83442013-07-31 Kan-Ru Chen <kanru@kanru.info>
8345
8346 * ibuf-ext.el (ibuffer-filter-by-filename):
8347 Make it work with dired buffers too.
8348
44e18199 83492013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8350
8351 * emacs-lisp/re-builder.el (reb-color-display-p):
8352 * files.el (save-buffers-kill-terminal):
8353 * net/browse-url.el (browse-url):
8354 * server.el (server-save-buffers-kill-terminal):
8355 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8356 Prefer nil to selected-frame for the first arg of frame-parameter.
8357
aeca3fbb
XF
83582013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8359
8360 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8361
158bc55c
SB
83622013-07-30 Stephen Berman <stephen.berman@gmx.net>
8363
8364 * minibuffer.el (completion--twq-all): Try and preserve each
8365 completion's case choice (bug#14907).
8366
d50fceab
LMI
83672013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8368
ac38e731
LMI
8369 * net/network-stream.el (open-network-stream): Mention the new
8370 :nogreeting parameter.
8371 (network-stream-open-starttls): Use the :nogreeting parameter
8372 (bug#14938).
8373
1211de50
LMI
8374 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8375
997798bf
LMI
8376 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8377 more natural than popping.
8378
d50fceab 8379 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8380 (shr-urlify): Highlight under mouse.
d50fceab 8381
5c09de04
XF
83822013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8383
207d1d04
XF
8384 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8385
8386 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8387
5c09de04
XF
8388 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8389 buffer for output.
8390
3cd51eaa
XF
8391 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8392 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8393
44e18199 8394 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8395 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8396
8397 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8398
8399 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8400 buffer for output.
8401
35a89bdd
EZ
84022013-07-29 Eli Zaretskii <eliz@gnu.org>
8403
8404 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8405 initial frame is minibuffer-less. (Bug#14841)
8406
78822e94
MA
84072013-07-29 Michael Albinus <michael.albinus@gmx.de>
8408
8409 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8410 option.
8411
8412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8413 (tramp-maybe-open-connection): Use it.
8414
9503c190
JB
84152013-07-28 Juanma Barranquero <lekktu@gmail.com>
8416
8417 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8418 minimal set of parameters passed when creating a frame, because
8419 the minibuffer status of a frame cannot be changed later.
8420
d5a845b4
SB
84212013-07-28 Stephen Berman <stephen.berman@gmx.net>
8422
8423 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8424 replace-regexp-in-string and inadvertent omissions in previous change.
8425 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8426 name of filtered items buffer.
d5a845b4 8427
ddeffb17
JB
84282013-07-28 Juanma Barranquero <lekktu@gmail.com>
8429
8430 * desktop.el: Optionally force offscreen frames back onscreen.
8431 (desktop-restoring-reuses-frames): New option.
8432 (desktop--compute-pos, desktop--move-onscreen): New functions.
8433 (desktop--make-frame): Use desktop--move-onscreen.
8434
f5950f7a
AM
84352013-07-27 Alan Mackenzie <acm@muc.de>
8436
8437 Fontify a Java generic method as a function.
8438 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8439 value to t.
8440
ae43b66a
SB
84412013-07-27 Stephen Berman <stephen.berman@gmx.net>
8442
8443 * calendar/todo-mode.el: Add command to rename todo files.
8444 (todo-rename-file): New command.
8445 (todo-key-bindings-t): Add key binding for it. Change the
8446 bindings of todo-filter-regexp-items(-multifile) to use `x'
8447 instead of `r', since the latter is better suited to the new
8448 renaming command.
8449
5ab78d3d
AM
84502013-07-27 Alan Mackenzie <acm@muc.de>
8451
8452 Make Java try-with-resources statement parse properly.
8453 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8454 (c-block-stmt-1-2-key): New language constants/variables.
8455 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8456 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8457 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8458 with c-block-stmt-1-2-key.
5ab78d3d 8459
d85c4d50
JB
84602013-07-27 Juanma Barranquero <lekktu@gmail.com>
8461
8462 * desktop.el (desktop--make-frame): Apply most frame parameters after
8463 creating the frame to force (partially or totally) offscreen frames to
8464 be restored as such.
8465
e4c467f9
XF
84662013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8467
8468 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8469 (Bug#14948)
e4c467f9 8470
7ced0d04
SM
84712013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8474 `base' arg of backtrace-frame.
8475
fec92060
EZ
84762013-07-26 Eli Zaretskii <eliz@gnu.org>
8477
8478 * simple.el (list-processes): Doc fix.
8479
d58d31fb
JB
84802013-07-26 Juanma Barranquero <lekktu@gmail.com>
8481
8482 * desktop.el (desktop--select-frame):
d85c4d50 8483 Try harder to reuse existing frames.
d58d31fb 8484
53ff3e77
SM
84852013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8486
8487 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8488 (edebug-eval): Use backtrace-eval.
8489 (edebug--display, edebug--recursive-edit): Don't let-bind the
8490 edebug-outer-* vars that keep track of variables we locally let-bind.
8491 (edebug-outside-excursion): Don't restore outside values of locally
8492 let-bound vars.
8493 (edebug--display): Use user-error.
8494 (cl-lexical-debug, cl-debug-env): Remove.
8495
045f7a53
JB
84962013-07-26 Juanma Barranquero <lekktu@gmail.com>
8497
8498 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8499 are restored to be sure that they are visible before deleting any
8500 remaining ones.
8501
59070b32
MM
85022013-07-26 Matthias Meulien <orontee@gmail.com>
8503
742a3501
XF
8504 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8505 vc-print-root-log. (Bug#14948)
59070b32 8506
b1fb3596
RS
85072013-07-26 Richard Stallman <rms@gnu.org>
8508
8509 Add aliases for encrypting mail.
8510 * epa.el (epa-mail-aliases): New option.
8511 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8512 Bind inhibit-read-only so read-only text doesn't ruin everything.
8513 (epa-mail-default-recipients): New subroutine broken out.
8514 Handle epa-mail-aliases.
8515
56ea7291
SM
85162013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8517
8518 Add support for lexical variables to the debugger's `e' command.
8519 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8520 vars, except for debugger-outer-match-data.
8521 (debugger-frame-number): Move check for "on a function call" from
8522 callers into it. Add `skip-base' argument.
8523 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8524 (debugger-env-macro): Only reset the state stored in non-variables,
8525 i.e. current-buffer and match-data.
8526 (debugger-eval-expression): Rewrite using backtrace-eval.
8527 * subr.el (internal--called-interactively-p--get-frame): Remove.
8528 (called-interactively-p):
8529 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8530 `base' arg of backtrace-frame instead.
8531
15ac32d5
GM
85322013-07-26 Glenn Morris <rgm@gnu.org>
8533
8358a09d
GM
8534 * align.el (align-regexp): Doc fix. (Bug#14857)
8535 (align-region): Explicit error if subexpression missing/does not match.
8536
15ac32d5
GM
8537 * simple.el (global-visual-line-mode):
8538 Do not duplicate the mode lighter. (Bug#14858)
8539
f47ad11b
MR
85402013-07-25 Martin Rudalics <rudalics@gmx.at>
8541
8542 * window.el (display-buffer): In display-buffer bind
8543 split-window-keep-point to t, bug#14829.
8544
02530987
JB
85452013-07-25 Juanma Barranquero <lekktu@gmail.com>
8546
8547 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8548 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8549 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8550 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8551 Change accordingly.
f63ebeb5
JB
8552 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8553 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8554
6ccb9cab 85552013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8556
6ccb9cab 8557 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8558
cb3a56d2
JB
85592013-07-25 Juanma Barranquero <lekktu@gmail.com>
8560
8561 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8562 parameter to modify-frame-parameters if the value has not changed;
8563 this is a workaround for bug#14949.
8564 (desktop--make-frame): On cl-delete-if call, check parameter name,
8565 not full parameter.
8566
7aa7fff0
XF
85672013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8568
8569 * vc/vc.el (vc-ignore): New function.
8570
8571 * vc/vc-svn.el (vc-svn-ignore): New function.
8572
8573 * vc/vc-hg.el (vc-hg-ignore): New function.
8574
8575 * vc/vc-git.el (vc-git-ignore): New function.
8576
8577 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8578 (vc-dir-ignore): New function.
8579
8580 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8581 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8582
8583 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8584
8585 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8586
889acc5c
JB
85872013-07-24 Juanma Barranquero <lekktu@gmail.com>
8588
8589 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8590 (desktop-restore-frames): Warn when deleting an existing frame failed.
8591
86c40970
GM
85922013-07-24 Glenn Morris <rgm@gnu.org>
8593
8594 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8595
d5d3c58a
MA
85962013-07-24 Michael Albinus <michael.albinus@gmx.de>
8597
8598 * filenotify.el (file-notify-supported-p):
8599 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8600 Remove functions.
8601
35e951cd 8602 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
8603 (auto-revert-notify-add-watch):
8604 * net/tramp.el (tramp-file-name-for-operation):
8605 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8606 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8607 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8608 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8609 Remove `file-notify-supported-p' entry.
8610
d100084b
GM
86112013-07-24 Glenn Morris <rgm@gnu.org>
8612
8613 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8614 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8615
ac93e56b
SM
86162013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8617
249eea30
SM
8618 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8619 checked with memq (bug#14935).
8620
ac93e56b
SM
8621 * files.el (revert-buffer-function): Use a non-nil default.
8622 (revert-buffer-preserve-modes): Declare var to
8623 provide access to the `preserve-modes' argument.
8624 (revert-buffer): Let-bind it.
8625 (revert-buffer--default): New function, extracted from revert-buffer.
8626
2cdeb903
SM
86272013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * lpr.el: Signal print errors more prominently.
8630 (print-region-function): Don't default to nil.
8631 (lpr-print-region): New function, extracted from print-region-1.
8632 Check lpr's return value and signal an error in case of problem.
8633 (print-region-1): Use it.
8634 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8635 versions instead.
8636 (ps-printer-name): Default to nil.
8637 (ps-printer-name-option): Default to lpr-printer-switch.
8638 (ps-print-region-function): Don't default to nil.
8639 (ps-postscript-code-directory): Simplify default.
8640 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8641 (ps-string-list, ps-eval-switch, ps-flatten-list)
8642 (ps-flatten-list-1): Remove.
8643 (ps-multibyte-buffer): Avoid setq.
8644 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8645 (print-region-function, ps-print-region-function): Don't set them here.
8646
73600831
XF
86472013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8648
35e951cd
JB
8649 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8650 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8651 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
8652 (ido-decorations): Doc fix.
8653
73600831
XF
8654 * ansi-color.el: Fix old URL.
8655
3d012865
MM
86562013-07-23 Michael R. Mauger <michael@mauger.com>
8657
e903c210 8658 * progmodes/sql.el: Version 3.3
3d012865
MM
8659 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8660 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8661 (sql-interactive-remove-continuation-prompt): Rewrite, use
8662 functions above. Fix continuation prompt and complete output line
8663 handling.
8664 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8665 redirected output buffer.
8666 (sql-mode): Restore deleted code (Bug#13591).
8667
da77a2e2
JB
86682013-07-23 Juanma Barranquero <lekktu@gmail.com>
8669
8670 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8671
80ff0c71
MA
86722013-07-23 Michael Albinus <michael.albinus@gmx.de>
8673
8674 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8675
8676 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8678 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8679
b61d71e4
JB
86802013-07-23 Juanma Barranquero <lekktu@gmail.com>
8681
8682 * desktop.el (desktop-clear): Simplify; remove useless checks
8683 against invalid buffer names.
8684 (desktop-list*): Use cl-list*.
8685 (desktop-buffer-info, desktop-create-buffer): Simplify.
8686
c3512092
LL
86872013-07-23 Leo Liu <sdl.web@gmail.com>
8688
8689 * bookmark.el (bookmark-make-record): Restore NAME as a default
8690 value. (Bug#14933)
8691
0ac26976
SM
86922013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8693
7d22ce18
SM
8694 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8695 extracted from autoload--insert-text.
8696 (autoload--insert-text): Remove.
8697 (autoload--print-cookie-text): New function, extracted from
8698 autoload--insert-cookie-text.
8699 (autoload--insert-cookie-text): Remove.
8700 (autoload-generate-file-autoloads): Adjust calls accordingly.
8701
9b2607e8
SM
8702 * winner.el (winner-hook-installed-p): Remove.
8703 (winner-mode): Simplify accordingly.
8704
c43a8618
SM
8705 * subr.el (add-to-list): Fix compiler-macro when `append' is
8706 not constant. Don't use `cl-member' for the base case.
8707
0ac26976
SM
8708 * progmodes/subword.el: Fix boundary case (bug#13758).
8709 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8710 own group.
8711 (subword-backward-regexp): Make it a constant.
8712 (subword-forward-internal): Don't treat a trailing capital as the
8713 beginning of a word.
8714
6874724a
AR
87152013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8716
8717 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8718 global value of tabulated-list-revert-hook (bug#14930).
8719
70f1b5e8
JB
87202013-07-22 Juanma Barranquero <lekktu@gmail.com>
8721
a1c80d9d
JB
8722 * desktop.el: Require 'cl-lib.
8723 (desktop-before-saving-frames-functions): New hook.
8724 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8725 for frames being saved. Rename from desktop--save-minibuffer-frames.
8726 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8727 Do not save frames with non-nil `desktop-dont-save' parameter.
8728 Filter out deleted frames.
a1c80d9d
JB
8729 (desktop--find-frame): Use cl-find-if.
8730 (desktop--select-frame): Use cl-(first|second|third) to access values
8731 of desktop-mini.
8732 (desktop--make-frame): Use cl-delete-if.
8733 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8734 (desktop-restore-frames): Use cl-(first|second|third) to access values
8735 of desktop-mini. Look for visible frame at the end, not while
8736 restoring frames.
8737
70f1b5e8
JB
8738 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8739 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8740 Use string-match-p, looking-at-p (bug#14927).
8741
728dc3cc
JB
87422013-07-21 Juanma Barranquero <lekktu@gmail.com>
8743
56bc453c
JB
8744 * desktop.el (desktop-saved-frame-states):
8745 Rename from desktop--saved-states; all users changed.
8746 (desktop-save-frames): Rename from desktop--save-frames.
8747 Do not save state to desktop file.
8748 (desktop-save): Save desktop-saved-frame-states to desktop file
8749 and reset to nil.
8750 (desktop-restoring-frames-p): New function.
8751 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8752 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8753 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8754
728dc3cc
JB
8755 * desktop.el: Correctly restore iconified frames.
8756 (desktop--filter-iconified-position): New function.
8757 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8758
862f1c9c
GM
87592013-07-20 Glenn Morris <rgm@gnu.org>
8760
c4074c9f
GM
8761 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8762 Let `message' do the formatting.
8763 (def-gdb-preempt-display-buffer): Add explicit format.
8764
d828e5f9
GM
8765 * image-dired.el (image-dired-track-original-file):
8766 Use with-current-buffer.
8767 (image-dired-track-thumbnail): Use with-current-buffer.
8768 Avoid changing point of wrong window.
8769
862f1c9c
GM
8770 * image-dired.el (image-dired-track-original-file):
8771 Avoid changing point of wrong window. (Bug#14909)
8772
f0398ec1 87732013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8774
8775 * progmodes/gdb-mi.el (gdb-done-or-error):
8776 Guard against "%" in gdb output. (Bug#14127)
8777
1451928f
AS
87782013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8779
763a086d
JB
8780 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8781 (Bug#14826)
f7a03897 8782
1451928f
AS
8783 * international/mule.el (coding-system-iso-2022-flags): Fix last
8784 change.
8785
99107004
KH
87862013-07-20 Kenichi Handa <handa@gnu.org>
8787
763a086d
JB
8788 * international/mule.el (coding-system-iso-2022-flags):
8789 Add `8-bit-level-4'. (Bug#8522)
99107004 8790
48494e06
LMI
87912013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8792
8ba8eec5
LMI
8793 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8794 (bug#14815).
8795
dfbc66e3
LMI
8796 * net/eww.el (eww-process-text-input): Allow inputting when the
8797 point is at the start of the line, as the properties aren't
8798 front-sticky.
8799
48494e06
LMI
8800 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8801 degenerate widths.
8802
77c92cb9
RS
88032013-07-19 Richard Stallman <rms@gnu.org>
8804
aec7da77
RS
8805 * epa.el (epa-popup-info-window): Doc fix.
8806
77c92cb9
RS
8807 * subr.el (split-string): New arg TRIM.
8808
945c5bb1
JB
88092013-07-18 Juanma Barranquero <lekktu@gmail.com>
8810
8811 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8812 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8813
e06ec67f
MA
88142013-07-18 Michael Albinus <michael.albinus@gmx.de>
8815
c7064f05 8816 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8817 `file-notify-support'. Do not autoload. Adapt all uses.
8818 (file-notify-supported-p): New defun.
8819
c7064f05
JB
8820 * autorevert.el (auto-revert-use-notify):
8821 Use `file-notify-supported-p' instead of `file-notify-support'.
8822 Adapt docstring.
e06ec67f
MA
8823 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8824
8825 * net/tramp.el (tramp-file-name-for-operation):
8826 Add `file-notify-supported-p'.
8827
8828 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8829 New defun.
8830 (tramp-sh-file-name-handler-alist): Add it as handler for
8831 `file-notify-supported-p '.
8832
8833 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8834 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8835 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8836 Add `ignore' as handler for `file-notify-*' functions.
8837
5dc8a629
EZ
88382013-07-17 Eli Zaretskii <eliz@gnu.org>
8839
8840 * simple.el (line-move-partial, line-move): Don't start vscroll or
8841 scroll-up if the current line is not taller than the window.
8842 (Bug#14881)
8843
77aea2fb
DG
88442013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8845
8846 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8847 highlight question marks in the method names as strings.
ac72c08d
DG
8848 (ruby-block-beg-keywords): Inline.
8849 (ruby-font-lock-keyword-beg-re): Extract from
8850 `ruby-font-lock-keywords'.
77aea2fb 8851
18c26d81
JD
88522013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8853
8854 * frame.el (blink-cursor-blinks): New defcustom.
8855 (blink-cursor-blinks-done): New defvar.
8856 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8857 (blink-cursor-timer-function): Check if number of blinks has been
8858 done on X and NS.
8859 (blink-cursor-suspend, blink-cursor-check): New defuns.
8860
da48522e
GM
88612013-07-15 Glenn Morris <rgm@gnu.org>
8862
8863 * edmacro.el (edmacro-format-keys): Fix previous change.
8864
0463c1ef
PE
88652013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8866
8867 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8868 The hack didn't work outside English locales anyway.
8869
b43f6451
JB
88702013-07-15 Juanma Barranquero <lekktu@gmail.com>
8871
8872 * simple.el (define-alternatives): Rename from alternatives-define,
8873 per RMS' suggestion.
8874
b958c0ad
JB
88752013-07-14 Juanma Barranquero <lekktu@gmail.com>
8876
8877 * desktop.el (desktop-restore-frames): Change default to t.
8878 (desktop-restore-in-current-display): Now offer more options.
8879 (desktop-restoring-reuses-frames): New customization option.
8880 (desktop--saved-states): Doc fix.
8881 (desktop-filter-parameters-alist): New variable, renamed and expanded
8882 from desktop--excluded-frame-parameters.
8883 (desktop--target-display): New variable.
8884 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8885 (desktop--filter-tty*, desktop--filter-*-color)
8886 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8887 (desktop--filter-save-desktop-parm)
8888 (desktop-restore-in-original-display-p): New functions.
8889 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8890 (desktop--save-minibuffer-frames): New function, inspired by a similar
8891 function from Martin Rudalics.
8892 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8893 (desktop--restore-in-this-display-p): Remove.
8894 (desktop--find-frame): Rename from desktop--find-frame-in-display
8895 and add predicate argument.
8896 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8897 (desktop--reuse-list): New variable.
8898 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8899 New functions.
8900 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8901
f6dd8b36
MA
89022013-07-14 Michael Albinus <michael.albinus@gmx.de>
8903
8904 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8905
2ce3c565
DG
89062013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8907
763a086d
JB
8908 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8909 Highlight conversion methods on Kernel.
2ce3c565 8910
2cdb7698
AM
89112013-07-13 Alan Mackenzie <acm@muc.de>
8912
8913 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8914 and comment it out. This out-commenting enables certain C++
8915 declarations to be parsed correctly.
8916
1a67b811
EZ
89172013-07-13 Eli Zaretskii <eliz@gnu.org>
8918
1b796d6b
EZ
8919 * international/mule.el (define-coding-system): Doc fix.
8920
1a67b811
EZ
8921 * simple.el (default-font-height): Don't call font-info if the
8922 frame's default font didn't change since the frame was created.
8923 (Bug#14838)
8924
58fbe886
LL
89252013-07-13 Leo Liu <sdl.web@gmail.com>
8926
8927 * ido.el (ido-read-file-name): Guard against non-symbol value.
8928
1f0480d4
FEG
89292013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8930
8931 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8932 in nested defuns.
8933
97ead0e5
LL
89342013-07-13 Leo Liu <sdl.web@gmail.com>
8935
8936 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8937 ido-set-matches call. (Bug#6852)
8938
0880a952
DG
89392013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8940
35e951cd 8941 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
8942 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8943 Ruby 2.0.
8944 (ruby-font-lock-keywords): Distinguish calls to functions with
8945 module-like names from module references. Highlight character
8946 literals.
8947
a7d8babb
SDJ
89482013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8949
8950 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8951 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8952
acfcc8c5
JB
89532013-07-12 Juanma Barranquero <lekktu@gmail.com>
8954
8955 * desktop.el (desktop--v2s): Remove unused local variable.
8956 (desktop-save-buffer): Make defvar-local; adjust docstring.
8957 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8958 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8959
051f2775
AS
89602013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8961
8962 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8963
f24e7572
GM
89642013-07-12 Eli Zaretskii <eliz@gnu.org>
8965
8966 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8967 (Bug#14842)
8968
539a920c
GM
89692013-07-12 Glenn Morris <rgm@gnu.org>
8970
8971 * doc-view.el: Require cl-lib at runtime too.
8972 (doc-view-remove-if): Remove.
8973 (doc-view-search-next-match, doc-view-search-previous-match):
8974 Use cl-remove-if.
8975
8976 * edmacro.el: Require cl-lib at runtime too.
8977 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8978 (edmacro-mismatch, edmacro-subseq): Remove.
8979
8980 * shadowfile.el: Require cl-lib.
8981 (shadow-remove-if): Remove.
8982 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8983 Use cl-remove-if.
8984
8985 * wid-edit.el: Require cl-lib.
8986 (widget-choose): Use cl-remove-if.
8987 (widget-remove-if): Remove.
8988
8989 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8990 (ebrowse-delete-if-not): Remove.
8991 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8992 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8993 Use cl-delete-if-not.
8994
1048af7c
JB
89952013-07-12 Juanma Barranquero <lekktu@gmail.com>
8996
8997 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8998 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8999
6c0674ee
LL
90002013-07-12 Leo Liu <sdl.web@gmail.com>
9001
9002 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9003
a19b3c2d
GM
90042013-07-11 Glenn Morris <rgm@gnu.org>
9005
4582a01c
GM
9006 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9007 (edebug-gensym-index, edebug-gensym):
9008 Remove reimplementation of cl-gensym.
9009 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9010
9011 * thumbs.el: Require cl-lib at run-time too.
9012 (thumbs-gensym-counter, thumbs-gensym):
9013 Remove reimplementation of cl-gensym.
9014 (thumbs-temp-file): Use cl-gensym.
9015
a19b3c2d
GM
9016 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9017 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9018 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9019 (ert--union, ert--gensym-counter, ert--gensym-counter)
9020 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9021 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9022 (ert-make-test-unbound, ert--expand-should-1)
9023 (ert--expand-should, ert--should-error-handle-error)
9024 (should-error, ert--explain-equal-rec)
9025 (ert--plist-difference-explanation, ert-select-tests)
9026 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9027 Use cl-lib functions rather than reimplementations.
9028
88f6a933
MA
90292013-07-11 Michael Albinus <michael.albinus@gmx.de>
9030
9031 * net/tramp.el (tramp-methods): Extend docstring.
9032 (tramp-connection-timeout): New defcustom.
9033 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9034 (with-tramp-progress-reporter): Simplify.
9035 (tramp-process-actions): Improve messages.
9036
9037 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9038 * net/tramp-sh.el (tramp-maybe-open-connection):
9039 Use `tramp-connection-timeout'.
afe1e4c8 9040 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9041 (Bug#14808)
9042
a43d577e
LL
90432013-07-11 Leo Liu <sdl.web@gmail.com>
9044
9045 * ido.el (ido-read-file-name): Conform to the requirements of
9046 read-file-name. (Bug#11861)
9047 (ido-read-directory-name): Conform to the requirements of
9048 read-directory-name.
9049
d77974bf
JB
90502013-07-11 Juanma Barranquero <lekktu@gmail.com>
9051
9052 * subr.el (delay-warning): New function.
9053
35cb8a3e
EZ
90542013-07-10 Eli Zaretskii <eliz@gnu.org>
9055
9056 * simple.el (default-line-height): New function.
9057 (line-move-partial, line-move): Use it instead of computing the
9058 line height inline.
9059 (line-move-partial): Always compute ROWH. If the last line is
9060 partially-visible, but its text is completely visible, allow
9061 cursor to enter such a partially-visible line.
9062
525c5c77
MA
90632013-07-10 Michael Albinus <michael.albinus@gmx.de>
9064
9065 Improve error messages. (Bug#14808)
9066
9067 * net/tramp.el (tramp-current-connection): New defvar, moved from
9068 tramp-sh.el.
0ac26976 9069 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9070 needed anymore.
0ac26976
SM
9071 (tramp-error-with-buffer): Show message in minibuffer.
9072 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9073 (with-tramp-progress-reporter): Improve messages.
9074 (tramp-process-actions): Use progress reporter. Delete process in
9075 case of error. Improve messages.
9076
763a086d
JB
9077 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9078 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9079 (tramp-current-connection): Remove.
525c5c77
MA
9080 (tramp-maybe-open-connection): The car of
9081 `tramp-current-connection' are the first 3 slots of the vector.
9082
c7a4d368
TZ
90832013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9084
9085 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9086 inside continued strings.
9087
954b166e
PE
90882013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9089
9090 Timestamp fixes for undo (Bug#14824).
9091 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9092
56973319
LL
90932013-07-10 Leo Liu <sdl.web@gmail.com>
9094
9095 * files.el (require-final-newline): Allow safe local value.
9096 (Bug#14834)
9097
5550a72c
LL
90982013-07-09 Leo Liu <sdl.web@gmail.com>
9099
9100 * ido.el (ido-read-directory-name): Handle fallback.
9101 (ido-read-file-name): Update DIR to ido-current-directory.
9102 (Bug#1516)
c28b9050 9103 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9104
70c46b28
DG
91052013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9106
9107 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9108 "autoload". Remove "warn lower camel case" section, previously
9109 commented out. Highlight negation char. Do not highlight the
9110 target in singleton method definitions.
9111
0b64b838
SM
91122013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9113
7fd72e2c
SM
9114 * faces.el (tty-setup-hook): Declare the hook.
9115
0b64b838
SM
9116 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9117 and detect when a guard/pred depends on local vars (bug#14773).
9118 (pcase--u1): Adjust caller.
9119
ab49d60b
EZ
91202013-07-08 Eli Zaretskii <eliz@gnu.org>
9121
9122 * simple.el (line-move-partial, line-move): Account for
9123 line-spacing.
701d79aa
EZ
9124 (line-move-partial): Avoid setting vscroll when the last
9125 partially-visible line in window is of default height.
ab49d60b 9126
2d756ae0
LMI
91272013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9128
9129 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9130 been used a while.
9131
ed095bd7
JB
91322013-07-07 Juanma Barranquero <lekktu@gmail.com>
9133
9134 * subr.el (read-quoted-char): Remove unused local variable `char'.
9135
f1e6674b
MK
91362013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9137
584ee3fc
GM
9138 * ediff.el (ediff-version): Version update.
9139 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9140 (ediff-merge-with-ancestor-command, ediff-directories-command)
9141 (ediff-directories3-command, ediff-merge-directories-command)
9142 (ediff-merge-directories-with-ancestor-command): New functions.
9143 All are command-line interfaces to ediff: to facilitate calling
9144 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9145
9146 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9147 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9148
584ee3fc
GM
9149 * viper.el (viper-version): Version update.
9150 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9151
584ee3fc
GM
91522013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9155 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9156 (viper-intercept-ESC-key): Simplify.
9157 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9158 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9159 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9160 (viper-setup-ESC-to-escape): New functions.
9161 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9162 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9163
9aff9b38
EZ
91642013-07-07 Eli Zaretskii <eliz@gnu.org>
9165
5165d44a
JB
9166 * simple.el (default-font-height, window-screen-lines):
9167 New functions.
9aff9b38
EZ
9168 (line-move, line-move-partial): Use them instead of
9169 frame-char-height and window-text-height. This makes scrolling
9170 text smoother when the buffer's default face uses a font that is
9171 different from the frame's default font.
9172
1afb1d07
JD
91732013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9174
9175 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9176 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9177
23de972a
EZ
91782013-07-06 Eli Zaretskii <eliz@gnu.org>
9179
9180 * simple.el (line-move-partial): Adjust the row returned by
9181 posn-at-point for the current window-vscroll. (Bug#14567)
9182
54a42486
MA
91832013-07-06 Michael Albinus <michael.albinus@gmx.de>
9184
35e951cd 9185 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9186 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9187 spaces.
9188
34ada5f4
MR
91892013-07-06 Martin Rudalics <rudalics@gmx.at>
9190
9191 * window.el (window-state-put-stale-windows): New variable.
9192 (window--state-put-2): Save list of windows without matching buffer.
9193 (window-state-put): Remove "bufferless" windows if possible.
9194
11e03d89
JB
91952013-07-06 Juanma Barranquero <lekktu@gmail.com>
9196
9197 * simple.el (alternatives-define): Remove leftover :group keyword.
9198 Tweak docstring.
9199
3504a4be
LL
92002013-07-06 Leo Liu <sdl.web@gmail.com>
9201
9202 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9203 (ido-enable-virtual-buffers): New variable.
9204 (ido-buffer-internal, ido-toggle-virtual-buffers)
9205 (ido-make-buffer-list): Use it.
9206 (ido-exhibit): Support turning on and off virtual buffers
9207 automatically.
9208
61e56e2c
JB
92092013-07-06 Juanma Barranquero <lekktu@gmail.com>
9210
9211 * simple.el (alternatives-define): New macro.
9212
321e1a9c
SM
92132013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * subr.el (read-quoted-char): Use read-key.
9216 (sit-for): Let read-event decode tty input (bug#14782).
9217
d610f6dd
SB
92182013-07-05 Stephen Berman <stephen.berman@gmx.net>
9219
9220 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9221 mode command and externally. Fix various related bugs.
9222 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9223 (todo-delete-file): New command.
9224 (todo-check-file): New function.
9225 (todo-show): Handle external deletion of the file we're trying to
9226 show (bug#14688). Replace called-interactively-p by an optional
9227 prefix argument to avoid problematic interaction with catch form
9228 when byte compiled (bug#14702).
9229 (todo-quit): Handle external deletion of the archive's todo file.
9230 Make sure the buffer that was visiting the archive file is still
9231 live before trying to bury it.
9232 (todo-category-completions): Handle external deletion of any
9233 category completion files.
9234 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9235 of todo files, in case of external deletion.
9236 (todo-add-file): Replace unnecessary setq by let-binding.
9237 (todo-find-archive): Check whether there are any archives.
9238 Replace unnecessary setq by let-binding.
9239 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9240 archive buffer whether or not the archive already exists.
9241 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9242 check if the archive is new; if it is, update list of archives.
9243 (todo-default-todo-file): Allow nil to be a valid value for when
9244 there are no todo files.
9245 (todo-reevaluate-default-file-defcustom): Use corrected definition
9246 of todo-default-todo-file.
9247 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9248 (todo-delete-category, todo-show-categories-table)
9249 (todo-category-number): Clarify comment.
9250 (todo-filter-items): Clarify documentation string.
9251 (todo-show-current-file, todo-display-as-todo-file)
9252 (todo-reset-and-enable-done-separator): Tweak documentation string.
9253 (todo-done-separator): Make separator length window-width, since
9254 bug#2749 is now fixed.
9255
ddbdfd6f
MA
92562013-07-05 Michael Albinus <michael.albinus@gmx.de>
9257
321e1a9c
SM
9258 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9259 Support both "gvfs-monitor-dir" and "inotifywait".
9260 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9261 `tramp-sh-file-notify-process-filter'.
9262 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9263 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9264
96eb829a
LL
92652013-07-05 Leo Liu <sdl.web@gmail.com>
9266
9267 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9268
cf13177e
YM
92692013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9270
9271 * frame.el (display-pixel-height, display-pixel-width)
9272 (display-mm-height, display-mm-width): Mention behavior on
9273 multi-monitor setups in docstrings.
9274 (w32-display-monitor-attributes-list): Declare function.
9275 (display-monitor-attributes-list): Use it.
9276
864c58ca
MA
92772013-07-04 Michael Albinus <michael.albinus@gmx.de>
9278
9279 * filenotify.el: New package.
9280
9281 * autorevert.el (top): Require filenotify.el.
9282 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9283 instead.
9284 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9285 (auto-revert-notify-handler): Use `file-notify-*' functions.
9286
9287 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9288
321e1a9c
SM
9289 * net/tramp.el (tramp-file-name-for-operation):
9290 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9291
9292 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9293 for `file-notify-add-watch' and `file-notify-rm-watch'.
9294 (tramp-process-sentinel): Improve trace.
9295 (tramp-sh-handle-file-notify-add-watch)
9296 (tramp-sh-file-notify-process-filter)
9297 (tramp-sh-handle-file-notify-rm-watch)
9298 (tramp-get-remote-inotifywait): New defuns.
9299
96673afe
JL
93002013-07-03 Juri Linkov <juri@jurta.org>
9301
9302 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9303 call of `occur-read-primary-args' to interactive spec.
9304
9305 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9306 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9307
924494f4
MM
93082013-07-03 Matthias Meulien <orontee@gmail.com>
9309
9310 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9311 `Buffer-menu-multi-occur'. Add it to the menu.
9312 (Buffer-menu-mode): Document it in docstring.
9313 (Buffer-menu-multi-occur): New command. (Bug#14673)
9314
56f75efc
DG
93152013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9316
9317 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9318 keywords and built-ins.
9319
9b057d61
GM
93202013-07-03 Glenn Morris <rgm@gnu.org>
9321
208dee4d
GM
9322 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9323
9b057d61
GM
9324 Make info-xref checks case-sensitive by default
9325 * info.el (Info-find-node, Info-find-in-tag-table)
9326 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9327 Add option for exact case matching of nodes.
9328 * info-xref.el (info-xref): New custom group.
9329 (info-xref-case-fold): New option.
9330 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9331
e01aa29c
LL
93322013-07-03 Leo Liu <sdl.web@gmail.com>
9333
9334 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9335
3086ca2e
DG
93362013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9337
9338 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9339 middle of block statement initially, lower the depth. Remove
9340 FIXME comment, not longer valid. Remove middle of block statement
9341 detection, no need to do that anymore since we've been using
9342 `ruby-parse-region' here.
9343
a3b49114
JD
93442013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9345
9346 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9347
08e5c823 93482013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9349
9350 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9351
2addf922
JB
93522013-07-01 Juanma Barranquero <lekktu@gmail.com>
9353
9354 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9355 (desktop-restore-in-current-display): New customization option.
9356 (desktop--excluded-frame-parameters): Add `font'.
9357 (desktop--save-frames): Rename from desktop--save-windows.
9358 (desktop--restore-in-this-display-p): New function.
9359 (desktop--make-full-frame): Remove unwanted width/height from
9360 full(width|height) frames.
9361 (desktop--restore-frames): Rename from desktop--restore-windows.
9362 Obey desktop-restore-current-display. Do not delete old frames or
9363 select a new frame unless we were able to restore at least one frame.
9364
ef099a94
MN
93652013-06-30 Michal Nazarewicz <mina86@mina86.com>
9366
9367 * files.el (find-file-noselect): Simplify conditional expression.
9368
a12bf61e 9369 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9370 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9371
9372 Add `remember-notes' function to store random notes across Emacs
9373 restarts.
3fcfc4ee
JB
9374 * textmodes/remember.el (remember-data-file): Add :set callback to
9375 affect notes buffer (if any).
ef099a94
MN
9376 (remember-notes): New command.
9377 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9378 New defcustoms for the `remember-notes' function.
9379 (remember-notes-save-and-bury-buffer): New command.
9380 (remember-notes-mode-map): New variable.
9381 (remember-mode): New minor mode.
9382 (remember-notes--kill-buffer-query): New function.
9383 * startup.el (initial-buffer-choice): Add notes to custom type.
9384
0865d506
EZ
93852013-06-30 Eli Zaretskii <eliz@gnu.org>
9386
0ba54312
EZ
9387 * bindings.el (right-char, left-char): Don't call sit-for, this is
9388 no longer needed. Use arithmetic comparison only for numerical
9389 arguments.
9390
ef099a94
MN
9391 * international/mule-cmds.el (select-safe-coding-system):
9392 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9393
2fae38e5
LMI
93942013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9395
9396 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9397 progression on degenerate tables.
ef099a94 9398 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9399
a47cbd64
JB
94002013-06-30 Juanma Barranquero <lekktu@gmail.com>
9401
9402 Some fixes and improvements for desktop frame restoration.
9403 It is still experimental and disabled by default.
9404 * desktop.el (desktop--save-windows): Put the selected frame at
9405 the head of the list.
9406 (desktop--make-full-frame): New function.
9407 (desktop--restore-windows): Try to re-select the frame that was
9408 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9409 just show an error message and continue. Set up maximized frames
9410 so they have default non-maximized dimensions.
a47cbd64 9411
6dbafa30
DG
94122013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9413
ef099a94
MN
9414 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9415 Don't start heredoc inside a string or comment.
6dbafa30 9416
4c672a0f
EZ
94172013-06-29 Eli Zaretskii <eliz@gnu.org>
9418
9419 * bindings.el (visual-order-cursor-movement): New defcustom.
9420 (right-char, left-char): Provide visual-order cursor motion by
9421 calling move-point-visually. Update the doc strings.
9422
50960f36
KH
94232013-06-28 Kenichi Handa <handa@gnu.org>
9424
9425 * international/mule.el (define-coding-system): New coding system
9426 properties :inhibit-null-byte-detection,
9427 :inhibit-iso-escape-detection, and :prefer-utf-8.
9428 (set-buffer-file-coding-system): If :charset-list property of
9429 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9430 appropriate for setting.
9431
c1ea3abf
JB
9432 * international/mule-cmds.el (select-safe-coding-system):
9433 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9434 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9435
9436 * international/mule-conf.el (prefer-utf-8): New coding system.
9437 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9438 files.
9439
75dbaf9d
IK
94402013-06-28 Ivan Kanis <ivan@kanis.fr>
9441
eadb6068
IK
9442 * net/shr.el (shr-render-region): New function.
9443
75dbaf9d
IK
9444 * net/eww.el: Autoload `eww-browse-url'.
9445
9ea5cf9f
DG
94462013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9447
c1ea3abf
JB
9448 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9449 Adapt to `package-desc-version' being a list.
9450 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9451 archive element.
9452
39c0e36f
JB
94532013-06-27 Juanma Barranquero <lekktu@gmail.com>
9454
9455 New experimental feature to save&restore window and frame setup.
9456 * desktop.el (desktop-save-windows): New defcustom.
9457 (desktop--saved-states): New var.
9458 (desktop--excluded-frame-parameters): New defconst.
9459 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9460 (desktop--restore-windows, desktop--save-windows): New functions.
9461 (desktop-save): Call `desktop--save-windows'.
9462 (desktop-read): Call `desktop--restore-windows'.
9463
7f13406b
LMI
94642013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9465
ef099a94 9466 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9467
1e072639
SB
94682013-06-27 Stephen Berman <stephen.berman@gmx.net>
9469
9470 * info.el (Info-try-follow-nearest-node): Move search for footnote
9471 above search for node name to prevent missing a footnote (bug#14717).
9472
f3e2cbde
SB
94732013-06-27 Stephen Berman <stephen.berman@gmx.net>
9474
9475 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9476
99906aa0
LL
94772013-06-27 Leo Liu <sdl.web@gmail.com>
9478
9479 * net/eww.el (eww-read-bookmarks): Check file size.
9480
539f75f4
SM
94812013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9484 advice--pending if newdef is nil or an autoload (bug#13820).
9485 (advice-mapc): New function.
9486
843571cb
LMI
94872013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9488
9489 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9490 probably.
23a75d7f 9491 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9492 (eww-add-bookmark): New command.
9493 (eww-bookmark-mode): New mode and commands.
a285ce99 9494 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9495 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9496
f2136e1e
GM
94972013-06-26 Glenn Morris <rgm@gnu.org>
9498
eab35f39
GM
9499 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9500 (hfy-size): Handle ttys. (Bug#14668)
9501
f2136e1e
GM
9502 * info-xref.el: Update for Texinfo 5 change in *note format.
9503 (info-xref-node-re, info-xref-note-re): New constants.
9504 (info-xref-check-buffer): Use info-xref-note-re.
9505
a49ff80c
SM
95062013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9507
a343d218
SM
9508 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9509
a49ff80c
SM
9510 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9511 nil terminate the loop (bug#14718).
9512
8308f184
LMI
95132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9514
9515 * net/eww.el: Rework history traversal. When going forward/back,
9516 put these actions into the history, too, so that they can be
9517 replayed.
26bf2b82 9518 (eww-render): Move the history reset to the correct buffer.
8308f184 9519
ec64c273
JL
95202013-06-25 Juri Linkov <juri@jurta.org>
9521
9522 * files-x.el (modify-dir-local-variable): Change the header comment
9523 in the file with directory local variables. (Bug#14692)
9524
e080a9d7
JL
9525 * files-x.el (read-file-local-variable-value): Add `default'.
9526 (Bug#14710)
9527
bfbc93a1
IK
95282013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9529
9530 * net/eww.el (eww-make-unique-file-name): Create a unique file
9531 name before saving to entering `y' accidentally asynchronously.
9532
95332013-06-25 Ivan Kanis <ivan@kanis.fr>
9534
9535 * net/eww.el (eww-download): New command and keystroke.
9536
16f74f10
LMI
95372013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9538
a49ff80c 9539 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9540
9541 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9542 be more consistent with Info and dired.
9543
9544 * net/eww.el (eww-mode-map): Ditto.
9545
12059709
SM
95462013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9549 packages from archives.
9550 (package-archive-contents): Change format; include obsolete packages.
9551 (package-desc): Use `dir' to mark builtin packages.
9552 (package--from-builtin): Set the `dir' field to `builtin'.
9553 (generated-autoload-file, version-control): Declare.
9554 (package-compute-transaction): Change first arg and return value to be
9555 lists of package-descs. Adjust to new package-archive-contents format.
9556 (package--add-to-archive-contents): Adjust to new
9557 package-archive-contents format.
9558 (package-download-transaction): Arg is now a list of package-descs.
9559 (package-install): If `pkg' is a package name, pass it as
9560 a requirement, so it is subject to the usual (e.g. disabled) checks.
9561 (describe-package): Accept package-desc as well.
9562 (describe-package-1): Describe a specific package-desc. Add links to
9563 other package-descs for the same package name.
9564 (package-menu-describe-package): Pass the actual package-desc.
9565 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9566 works correctly.
9567 (package-desc-status): New function.
9568 (package-menu--refresh): New function, extracted
9569 from package-menu--generate.
9570 (package-menu--generate): Use it.
9571 (package-delete): Update package-alist.
9572 (package-menu-execute): Don't call package-initialize.
9573
9574 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9575 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9576 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9577 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9578 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9579 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9580
8bbdea0f
MR
95812013-06-25 Martin Rudalics <rudalics@gmx.at>
9582
9583 * window.el (window--state-get-1): Workaround for bug#14527.
9584 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9585
e82b0991
LMI
95862013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9587
9588 * net/eww.el (eww-back-url): Implement the history by stashing all
9589 the data into a list.
d3f0f918 9590 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9591
c763842b
SM
95922013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9595 for values and use read--expression for expressions (bug#14710).
9596 (read-file-local-variable): Avoid setq.
9597 (read-file-local-variable-mode): Use minor-mode-list.
9598
bceff189
RW
95992013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9600
864c58ca 9601 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9602 for DOI URLs.
9603
45f431c6
RW
96042013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9605
864c58ca 9606 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9607 Update imenu-support when dialect changes.
9608
f42d8237
LL
96092013-06-25 Leo Liu <sdl.web@gmail.com>
9610
9611 * ido.el (ido-read-internal): Allow forward slash on windows.
9612
be549ce6
LMI
96132013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9614
9615 * net/eww.el (eww): Start of strings is \\`, not ^.
9616
71d4c19d
IK
96172013-06-24 Ivan Kanis <ivan@kanis.fr>
9618
5196f88a
IK
9619 * net/shr.el (shr-browse-url): Fix interactive spec.
9620
71d4c19d
IK
9621 * net/eww.el (eww): Add a trailing slash to domain names.
9622
ae36ca55
JB
96232013-06-24 Juanma Barranquero <lekktu@gmail.com>
9624
9625 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9626
0ebd92a3
LMI
96272013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9628
bdaa086b
LMI
9629 * net/shr.el (shr-browse-url): Use an external browser if given a
9630 prefix.
9631
c763842b 9632 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9633
b89fc156
IK
96342013-06-24 Ivan Kanis <ivan@kanis.fr>
9635
9636 * net/eww.el (eww): Work more correctly for file: URLs.
9637 (eww-detect-charset): Allow quoted charsets.
9638 (eww-yank-page-url): New command and keystroke.
9639
18eb4bca
DU
96402013-06-24 Daiki Ueno <ueno@gnu.org>
9641
9642 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9643 file name of gpg executable.
9644 (epg-context-program): New function.
9645 (epg-context-home-directory): New function.
9646 (epg-context-set-program): New function.
9647 (epg-context-set-home-directory): New function.
9648 (epg--start): Use `epg-context-program' instead of
9649 'epg-gpg-program'.
9650 (epg--list-keys-1): Likewise.
9651
6c6268c8
LL
96522013-06-24 Leo Liu <sdl.web@gmail.com>
9653
9654 * ido.el (ido-read-internal): Fix bug#14620.
9655
5e400cb3
JB
96562013-06-23 Juanma Barranquero <lekktu@gmail.com>
9657
9658 * faces.el (face-documentation): Simplify.
9659 (read-face-attribute, tty-find-type, x-resolve-font-name):
9660 Use `string-match-p'.
9661 (list-faces-display): Use `string-match-p'. Simplify.
9662 (face-spec-recalc): Check face to avoid face alias loops.
9663 (read-color): Use `string-match-p' and non-capturing parenthesis.
9664
f3f9606c
LMI
96652013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9666
9667 * net/shr.el (shr-rescale-image): Use the new
9668 :max-width/:max-height functionality.
9669
a3ca09b9
IK
96702013-06-23 Ivan Kanis <ivan@kanis.fr>
9671
9672 * net/eww.el (eww-search-prefix): New variable.
9673 (eww): Use it.
f865b474
IK
9674 (eww-external-browser): New variable.
9675 (eww-mode-map): New keystroke.
9676 (eww-browse-with-external-browser): New command.
a3ca09b9 9677
e854cfc7
IK
9678 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9679
18bb9e21
JB
96802013-06-23 Juanma Barranquero <lekktu@gmail.com>
9681
9682 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9683 Don't skip aligning the next header field when padding is 0;
9684 otherwise, field width is not respected unless the title is as
9685 wide as the field.
9686
5b165ade
SM
96872013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * emacs-lisp/package.el (package-el-version): Remove.
9690 (package-process-define-package): Fix inf-loop.
9691 (package-install): Allow symbols as arguments again.
9692
12adebe9
DG
96932013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9694
9695 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9696 add some more keyword-like methods.
9697 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9698
388573ee
JB
96992013-06-22 Juanma Barranquero <lekktu@gmail.com>
9700
9701 * bs.el (bs-buffer-show-mark): Make defvar-local.
9702 (bs-mode): Use setq-local.
9703
9704 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9705 (emacs-lock--try-unlocking): Make defvar-local.
9706
4582a01c 97072013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9708
2663dd23
GM
9709 * play/cookie1.el (cookie-apropos): Minor simplification.
9710
3d94f3ad
GM
9711 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9712
f72e2fdb
DG
97132013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9714
9715 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9716 `regexp-opt', it breaks the build during dumping.
9717
73eab938
DG
97182013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9719
c763842b
SM
9720 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9721 Highlight keyword-like methods on Kernel and Module with
73eab938 9722 font-lock-builtin-face.
5cf8176d
DG
9723 (auto-mode-alist): Consolidate different entries into one regexp
9724 and add more *file-s.
73eab938 9725
d26255f6
SB
97262013-06-21 Stephen Berman <stephen.berman@gmx.net>
9727
9728 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9729
9730 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9731 (diary-entry): Use it in the action of this button type instead of
9732 diary-goto-entry.
9733
9734 * calendar/todo-mode.el: New version.
9735 (todo-add-category): Append new category to end of file and give
9736 it the highest number, instead of putting it at the beginning and
9737 giving it 0. Incorporate noninteractive functionality.
9738 (todo-forward-category): Adapt to 1-based category numbering.
9739 Allow skipping over archived categories.
9740 (todo-backward-category): Derive from todo-forward-category.
9741 (todo-backward-item, todo-forward-item): Make noninteractive and
9742 delegate interactive part to new commands. Make sensitive to done items.
9743 (todo-categories): Make value an alist of category names and
9744 vectors of item counts.
9745 (todo-category-beg): Make a defconst.
9746 (todo-category-number): Use 1 instead of 0 as initial value.
9747 (todo-category-select): Make sensitive to overlays, optional item
9748 highlighting and done items.
9749 (todo-delete-item): Make sensitive to overlays and marked and done items.
9750 (todo-edit-item): Make sensitive to overlays and editing of
9751 date/time header optional. Add format checks.
9752 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9753 no-op if point is not on an item. Advertise using todo-edit-quit.
9754 (todo-edit-mode): Make sensitive to new format, font-locking, and
9755 multiple todo files.
9756 (todo-insert-item, todo-insert-item-here): Derive from
9757 todo-basic-insert-item and extend functionality.
9758 (todo-item-end, todo-item-start): Make sensitive to done items.
9759 (todo-item-string): Don't return text properties. Restore point.
9760 (todo-jump-to-category): Make sensitive to multiple todo files and
9761 todo archives. Use extended category completion.
9762 (todo-lower-item, todo-raise-item): Rename to *-priority and
9763 derive from todo-set-item-priority.
9764 (todo-mode): Derive from special-mode. Make sensitive to new
9765 format, font-locking and multiple todo files. Make read-only.
9766 (todo-mode-map): Don't suppress digit keys, so they can supply
9767 prefix arguments. Add many new key bindings.
9768 (todo-prefix): Insert as an overlay instead of file text.
9769 Change semantics from diary date expression to purely visual mark.
9770 (todo-print): Rename to todo-print-buffer. Make buffer display
9771 features printable. Remove option to restrict number of items
9772 printed. Add option to print to file.
9773 (todo-print-function): Rename to todo-print-buffer-function.
9774 (todo-quit): Extend to handle exiting new todo modes.
9775 (todo-remove-item): Make sensitive to overlays.
9776 (todo-save): Extend to buffers of filtered items.
9777 (todo-show): Make sensitive to done items, multiple todo files and
9778 new todo modes. Offer to convert legacy todo file before creating
9779 first new todo file.
9780 (todo-show-priorities): Rename to todo-top-priorities.
9781 Change semantics of value 0.
9782 (todo-top-priorities): Rename to todo-filter-top-priorities,
9783 derive from todo-filter-items and extend functionality.
9784 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9785 and extend functionality to other types of filtered items.
9786 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9787 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9788 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9789 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9790 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9791 (todo-edit-mode-hook, todo-entry-prefix-function)
9792 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9793 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9794 (todo-initials, todo-insert-threshold, todo-item-string-start)
9795 (todo-line-string, todo-menu, todo-mode-hook)
9796 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9797 (todo-print-priorities, todo-remove-separator)
9798 (todo-save-top-priorities-too, todo-string-count-lines)
9799 (todo-string-multiline-p, todo-time-string-format)
9800 (todo-tmp-buffer-name): Remove.
9801 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9802 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9803 (todo-edit-category-diary-inclusion)
9804 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9805 (todo-edit-file, todo-edit-item-date-day)
9806 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9807 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9808 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9809 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9810 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9811 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9812 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9813 (todo-filter-top-priorities-multifile, todo-find-archive)
9814 (todo-find-filtered-items-file, todo-go-to-source-item)
9815 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9816 (todo-jump-to-archive-category, todo-lower-category)
9817 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9818 (todo-move-category, todo-move-item, todo-next-button)
9819 (todo-next-item, todo-padded-string, todo-powerset)
9820 (todo-previous-button, todo-previous-item)
9821 (todo-print-buffer-to-file, todo-raise-category)
9822 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9823 (todo-set-category-number, todo-set-item-priority)
9824 (todo-set-top-priorities-in-category)
9825 (todo-set-top-priorities-in-file, todo-show-categories-table)
9826 (todo-sort-categories-alphabetically-or-numerically)
9827 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9828 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9829 (todo-toggle-item-header, todo-toggle-item-highlighting)
9830 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9831 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9832 (todo-unarchive-items, todo-unmark-category): New commands.
9833 (todo-absolute-file-name, todo-add-to-buffer-list)
9834 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9835 (todo-basic-insert-item, todo-category-completions)
9836 (todo-category-number, todo-category-string-matcher-1)
9837 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9838 (todo-check-format, todo-clear-matches)
9839 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9840 (todo-current-category, todo-date-string-matcher)
9841 (todo-define-insertion-command, todo-diary-expired-matcher)
9842 (todo-diary-goto-entry, todo-diary-item-p)
9843 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9844 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9845 (todo-done-item-section-p, todo-done-separator)
9846 (todo-done-string-matcher, todo-files, todo-filter-items)
9847 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9848 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9849 (todo-insert-category-line, todo-insert-item-from-calendar)
9850 (todo-insert-sort-button, todo-insert-with-overlays)
9851 (todo-insertion-command-name, todo-insertion-key-bindings)
9852 (todo-label-to-key, todo-longest-category-name-length)
9853 (todo-make-categories-list, todo-mode-external-set)
9854 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9855 (todo-modes-set-3, todo-multiple-filter-files)
9856 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9857 (todo-read-category, todo-read-date, todo-read-dayname)
9858 (todo-read-file-name, todo-read-time)
9859 (todo-reevaluate-category-completions-files-defcustom)
9860 (todo-reevaluate-default-file-defcustom)
9861 (todo-reevaluate-filelist-defcustoms)
9862 (todo-reevaluate-filter-files-defcustom)
9863 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9864 (todo-reset-done-separator, todo-reset-done-separator-string)
9865 (todo-reset-done-string, todo-reset-global-current-todo-file)
9866 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9867 (todo-reset-prefix, todo-set-categories)
9868 (todo-set-date-from-calendar, todo-set-show-current-file)
9869 (todo-set-top-priorities, todo-short-file-name)
9870 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9871 (todo-total-item-counts, todo-update-buffer-list)
9872 (todo-update-categories-display, todo-update-categories-sexp)
9873 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9874 New functions.
9875 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9876 New major modes.
9877 (todo-categories, todo-display, todo-edit, todo-faces)
9878 (todo-filtered): New defgroups.
9879 (todo-archived-only, todo-button, todo-category-string, todo-date)
9880 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9881 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9882 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9883 (todo-add-item-if-new-category, todo-always-add-time-string)
9884 (todo-categories-align, todo-categories-archived-label)
9885 (todo-categories-category-label, todo-categories-diary-label)
9886 (todo-categories-done-label, todo-categories-number-separator)
9887 (todo-categories-todo-label, todo-categories-totals-label)
9888 (todo-category-completions-files, todo-completion-ignore-case)
9889 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9890 (todo-done-separator-string, todo-done-string)
9891 (todo-files-function, todo-filter-done-items, todo-filter-files)
9892 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9893 (todo-initial-category, todo-initial-file, todo-item-mark)
9894 (todo-legacy-date-time-regexp, todo-mode-line-function)
9895 (todo-nondiary-marker, todo-number-prefix)
9896 (todo-print-buffer-function, todo-show-current-file)
9897 (todo-show-done-only, todo-show-first, todo-show-with-done)
9898 (todo-skip-archived-categories, todo-top-priorities-overrides)
9899 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9900 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9901 New defcustoms.
9902 (todo-category-done, todo-date-pattern, todo-date-string-start)
9903 (todo-diary-items-buffer, todo-done-string-start)
9904 (todo-filtered-items-buffer, todo-item-start)
9905 (todo-month-abbrev-array, todo-month-name-array)
9906 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9907 (todo-top-priorities-buffer): New defconsts.
9908 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9909 (todo-categories-with-marks, todo-category-string-face)
9910 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9911 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9912 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9913 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9914 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9915 (todo-font-lock-keywords, todo-global-current-todo-file)
9916 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9917 (todo-insertion-commands-args)
9918 (todo-insertion-commands-args-genlist)
9919 (todo-insertion-commands-names, todo-insertion-map)
9920 (todo-key-bindings-t, todo-key-bindings-t+a)
9921 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9922 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9923 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9924 (todo-visited): New variables.
9925
cad5d1cb
GM
99262013-06-21 Glenn Morris <rgm@gnu.org>
9927
9928 * play/cookie1.el (cookie-apropos): Add optional display argument.
9929 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9930 (psychoanalyze-pinhead): Use cookie-doctor.
9931
9e277302
JB
99322013-06-21 Juanma Barranquero <lekktu@gmail.com>
9933
9934 * emacs-lisp/package.el (tar-get-file-descriptor)
9935 (tar--extract): Declare.
9936
c5b0993e
EW
99372013-06-21 Eduard Wiebe <usenet@pusto.de>
9938
9939 Extend flymake's warning predicate to be a function (bug#14217).
9940 * progmodes/flymake.el (flymake-warning-predicate): New.
9941 (flymake-parse-line): Use it.
9942 (flymake-warning-re): Make obsolete alias to
9943 `flymake-warning-predicate'.
9944
a7d2d465
SM
99452013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9948 (package-obsolete-list): Remove.
9949 (package-activate): Remove min-version argument. Add `force' argument.
9950 Adjust to new package-alist format.
9951 (package-mark-obsolete): Remove.
9952 (package-unpack): Force reload of the package's autoloads.
9953 (package-installed-p): Check builtins if the installed package is not
9954 recent enough.
9955 (package-initialize): Don't reset package-obsolete-list.
9956 Don't specify which package version to activate.
9957 (package-process-define-package, describe-package-1)
9958 (package-menu--generate): Adjust to new package-alist format.
9959
cedf5c9d
JB
99602013-06-21 Juanma Barranquero <lekktu@gmail.com>
9961
9962 * allout-widgets.el (allout-widgets-mode-off)
9963 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9964 (allout-widgets-post-command-business)
9965 (allout-widgets-after-copy-or-kill-function)
9966 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9967 (allout-decorate-item-and-context)
9968 (allout-graphics-modification-handler): Fix typos in docstrings.
9969 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9970
9971 * cmuscheme.el (scheme-start-file): Doc fix.
9972 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9973 (scheme-input-filter): Use `string-match-p'.
9974
9975 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9976
9977 * dired-x.el: Use Dired consistently in docstrings.
9978
9979 * dired.el: Use Dired consistently in docstrings.
9980 (dired-readin, dired-mode): Use `setq-local'.
9981 (dired-switches-alist): Make defvar-local.
9982 (dired-buffers-for-dir): Use `zerop'.
9983 (dired-safe-switches-p, dired-switches-escape-p)
9984 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9985 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 9986 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
9987 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9988 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9989 (dired-toggle-marks, dired-mark-files-containing-regexp)
9990 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9991 (dired-flag-auto-save-files, dired-flag-backup-files):
9992 Use `looking-at-p'.
9993 (dired-mark-files-regexp, dired-build-subdir-alist):
9994 Use `string-match-p', `looking-at-p'.
9995
9996 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9997 (direct-print-region-helper): Use `string-match-p'.
9998
aed838b5
LL
99992013-06-21 Leo Liu <sdl.web@gmail.com>
10000
cedf5c9d
JB
10001 * comint.el (comint-redirect-results-list-from-process):
10002 Fix infinite loop.
aed838b5 10003
d80a808f
LMI
100042013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10005
10006 * net/eww.el (eww-update-header-line-format): Quote % characters.
10007
e7a526e3
GM
100082013-06-21 Glenn Morris <rgm@gnu.org>
10009
10010 * play/cookie1.el (cookie): New custom group.
10011 (cookie-file): New option.
10012 (cookie-check-file): New function.
10013 (cookie): Make it interactive. Make start and end messages optional.
10014 Interactively, display the result. Default to cookie-file.
10015 (cookie-insert): Default to cookie-file.
10016 (cookie-snarf): Make start and end messages optional.
10017 Default to cookie-file. Use with-temp-buffer.
10018 (cookie-read): Rename from read-cookie.
10019 Make start and end messages optional. Default to cookie-file.
10020 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10021 Do not autoload it.
e7a526e3
GM
10022 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10023 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10024
62efb35e
LL
100252013-06-21 Leo Liu <sdl.web@gmail.com>
10026
10027 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10028
21e3f963
GM
100292013-06-21 Glenn Morris <rgm@gnu.org>
10030
10031 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10032
fd846ab4
SM
100332013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10034 Daniel Hackney <dan@haxney.org>
10035
10036 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10037 Consolidate the single-file vs tarball code.
10038 (package-desc-suffix): New function.
10039 (package-desc-full-name): Don't bother inlining it.
10040 (package-load-descriptor): Return the new package-desc.
10041 (package-mark-obsolete): Remove unused arg `package'.
10042 (package-unpack): Make it work for single files as well.
10043 Make it update package-alist.
10044 (package--make-autoloads-and-stuff): Rename from
10045 package--make-autoloads-and-compile. Don't compile any more.
10046 (package--compile): New function.
10047 (package-generate-description-file): New function, extracted from
10048 package-unpack-single.
10049 (package-unpack-single): Remove.
10050 (package--with-work-buffer): Add indentation and debugging info.
10051 (package-download-single): Remove.
10052 (package-install-from-archive): Rename from package-download-tar, make
10053 it take a pkg-desc, and make it work for single files as well.
10054 (package-download-transaction): Simplify.
10055 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10056 external tar program.
10057 (package-install-from-buffer): Remove `pkg-desc' argument.
10058 Use package-tar-file-info for tar-mode buffers.
10059 (package-install-file): Simplify accordingly.
10060 (package-archive-base): Change to take a pkg-desc.
10061 * tar-mode.el (tar--check-descriptor): New function, extracted from
10062 tar-get-descriptor.
10063 (tar-get-descriptor): Use it.
10064 (tar-get-file-descriptor): New function.
10065 (tar--extract): New function, extracted from tar-extract.
10066 (tar--extract): Use it.
10067 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10068 case the summary uses non-ascii. Adjust to new calling convention of
10069 package-tar-file-info.
10070
b7deae5e
LL
100712013-06-21 Leo Liu <sdl.web@gmail.com>
10072
fd846ab4
SM
10073 * comint.el (comint-redirect-results-list-from-process):
10074 Fix random delay. (Bug#14681)
b7deae5e 10075
7a65a0b2
JB
100762013-06-21 Juanma Barranquero <lekktu@gmail.com>
10077
10078 * profiler.el (profiler-format-number): Use log, not log10.
10079
1493c2af
JB
100802013-06-20 Juanma Barranquero <lekktu@gmail.com>
10081
10082 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10083
aff6371e
SM
100842013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10087 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10088 yet available.
10089 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10090 (AUTOGENEL): ... here.
10091 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10092 (cl--defsubst-expand): Use it.
10093
89561f72
PE
100942013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10095
10096 * subr.el (log10): Move here from C code, and declare as obsolete.
10097 All uses of (log10 X) replaced with (log X 10).
10098
47199123
JB
100992013-06-20 Juanma Barranquero <lekktu@gmail.com>
10100
10101 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10102 Declare with `defvar-local'.
10103 (tabulated-list-use-header-line, tabulated-list-entries)
10104 (tabulated-list-padding, tabulated-list-printer)
10105 (tabulated-list-sort-key): Declare with `defvar-local'.
10106 (tabulated-list-init-header, tabulated-list-print-fake-header):
10107 Use `setq-local'.
10108
4a172eab
MA
101092013-06-20 Michael Albinus <michael.albinus@gmx.de>
10110
47199123
JB
10111 * arc-mode.el (archive-mode): Add `archive-write-file' to
10112 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10113
5fc0acc0
JB
101142013-06-20 Juanma Barranquero <lekktu@gmail.com>
10115
d5b27848
JB
10116 * cus-edit.el (custom-commands): Fix typos.
10117 (custom-display): Fix tooltip text.
10118 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10119 Fix typos in docstrings.
10120 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10121 (custom-unlispify-menu-entry, custom-magic-value-create)
10122 (custom-add-see-also, custom-group-value-create): Use ?\s.
10123 (custom-guess-type, customize-apropos, editable-field)
10124 (custom-face-value-create): Use `string-match-p'.
10125 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10126
10127 * custom.el (custom-load-symbol): Use `string-match-p'.
10128
a5c581d8
JB
10129 * ansi-color.el: Convert to lexical binding.
10130 (ansi-colors): Fix URL.
10131 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10132 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10133 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10134
970ad972
G
101352013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10136
10137 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10138
10139 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10140
101412013-06-19 Tom Tromey <tromey@redhat.com>
10142
10143 * net/eww.el (eww-top-url): Remove.
10144 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10145 (eww-render): Set new variables. Don't set eww-top-url.
10146 (eww-handle-link): Handle "prev", "home", and "contents".
10147 Downcase the rel text.
10148 (eww-top-url): Choose best top URL.
10149
101502013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10151
10152 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10153 relying in widget.el. Using widget.el leads to too many
10154 user interface inconsistencies.
10155 (eww-self-insert): Implement entering commands in text fields.
10156 (eww-process-text-input): New function to make text input field editing
10157 work.
10158 (eww-submit): Rewrite to use the new-style form methods.
10159 (eww-select-display): Display the correct selected item.
10160 (eww-change-select): Implement changing the select value.
10161 (eww-toggle-checkbox): Implement radio/checkboxes.
10162 (eww-update-field): Fix compilation error.
10163 (eww-tag-textarea): Implement <textarea>.
10164
10165 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10166 we don't shadow mode-specific bindings.
10167
10168 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10169 nothing to push.
10170
10171 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10172
4582a01c 101732013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10174
10175 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10176
15b263dc
MA
101772013-06-19 Michael Albinus <michael.albinus@gmx.de>
10178
10179 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10180 not needed.
10181
10182 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10183
8f5297f7
LMI
101842013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10185
10186 * net/browse-url.el (browse-url-browser-function):
10187 `eww-browse-url' has the right calling signature, `eww' does not.
10188
011c4552
GM
101892013-06-19 Glenn Morris <rgm@gnu.org>
10190
2285bd27
GM
10191 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10192 Only eval autoloaded macros.
10193 (byte-compile-autoload): Only give the macro warning for macros.
10194
1d653303
GM
10195 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10196 (ps-underlined-faces): Declare.
10197
bdd779ec
GM
10198 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10199 (speedbar-add-supported-extension): Declare.
10200
011c4552
GM
10201 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10202 Don't include a date stamp in the header of the generated file;
10203 it leads to needless differences between output files.
10204
e59dfb0e
MA
102052013-06-19 Michael Albinus <michael.albinus@gmx.de>
10206
c763842b
SM
10207 * net/secrets.el (secrets-struct-secret-content-type):
10208 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10209 Some servers do not offer introspection.
e59dfb0e 10210
102626e2
SM
102112013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * electric.el (electric-pair-mode): Improve interaction with
10214 electric-layout-mode.
10215 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10216 (electric-pair-syntax): Use text-mode-syntax-table in comments
10217 and strings.
10218 (electric-pair--insert): New function.
10219 (electric-pair-post-self-insert-function): Use it and
10220 electric--after-char-pos.
10221
ad528125
LL
102222013-06-19 Leo Liu <sdl.web@gmail.com>
10223
10224 * progmodes/octave.el (octave-help): Fix regexp.
10225
924d6997
G
102262013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10227
10228 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10229 (shr-table-horizontal-line): Allow nil as a value, and change the
10230 default.
10231 (shr-insert-table-ruler): Respect the nil value.
10232
102332013-06-18 Tom Tromey <tromey@barimba>
10234
10235 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10236 New defvars.
10237 (eww-open-file): New defun.
10238 (eww-render): Initialize new variables.
10239 (eww-display-html): Handle "link" and "a".
10240 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10241 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10242 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10243 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10244 New defuns.
924d6997 10245
d1bbba4f
DG
102462013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10247
10248 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10249 Distinguish ternary operator tokens from slash symbol and slash
10250 char literal.
10251
14dd22d2
JB
102522013-06-18 Juanma Barranquero <lekktu@gmail.com>
10253
10254 Convert symbol prettification into minor mode and global minor mode.
10255
10256 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10257 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10258 (prettify-symbols--keywords): Rename from
10259 `prog-prettify-symbols-alist' and make a local defvar.
10260 (prettify-symbols--compose-symbol): Rename from
10261 `prog--prettify-font-lock-compose-symbol'.
10262 (prettify-symbols--make-keywords): Rename from
10263 `prog-prettify-font-lock-symbols-keywords' and simplify.
10264 (prog-prettify-install): Remove.
10265 (prettify-symbols-mode): New minor mode, based on
10266 `prog-prettify-install'.
10267 (turn-on-prettify-symbols-mode): New function.
10268 (global-prettify-symbols-mode): New globalized minor mode.
10269
10270 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10271 * progmodes/cfengine.el (cfengine3-mode):
10272 * progmodes/perl-mode.el (perl-mode): Don't call
10273 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10274
292c880c
JL
102752013-06-18 Juri Linkov <juri@jurta.org>
10276
10277 * files-x.el (modify-file-local-variable-message): New function.
10278 (modify-file-local-variable)
10279 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10280 and call `modify-file-local-variable-message' when it's non-nil.
10281 (add-file-local-variable, delete-file-local-variable)
10282 (add-file-local-variable-prop-line)
10283 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10284 and use it. (Bug#9820)
10285
0950aa27
JL
102862013-06-18 Juri Linkov <juri@jurta.org>
10287
10288 * emulation/vi.el (vi-shell-op):
10289 * emulation/vip.el (vip-execute-com, ex-command):
10290 * emulation/viper-cmd.el (viper-exec-bang):
10291 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10292 the call of `shell-command-on-region'. (Bug#14637)
10293
10294 * simple.el (shell-command-on-region): Doc fix.
10295
8fbcca16
SM
102962013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10299 (bug#14633).
10300
dd7426ea
GM
103012013-06-18 Glenn Morris <rgm@gnu.org>
10302
4ba54f7d
GM
10303 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10304
dd7426ea
GM
10305 * newcomment.el (comment-search-forward, comment-search-backward):
10306 Doc fix. (Bug#14376)
10307
58aa805b
JB
103082013-06-18 Juanma Barranquero <lekktu@gmail.com>
10309
10310 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10311 (buffer-face-mode-invoke): Doc fix.
10312
9a08a617
MM
103132013-06-18 Matthias Meulien <orontee@gmail.com>
10314
10315 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10316 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10317
f2f426ca
GM
103182013-06-18 Glenn Morris <rgm@gnu.org>
10319
9445f99b
GM
10320 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10321 Replace obsolete function generic-make-keywords with its expansion.
10322
e0df2d14
GM
10323 * progmodes/python.el (ffap-alist): Declare.
10324
f2f426ca
GM
10325 * textmodes/reftex.el (bibtex-mode-map): Declare.
10326
f7f9a720
SM
103272013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10330 (package-unpack, package-unpack-single): Return the pkg-dir.
10331 (package-download-transaction): Use it to update package-alist.
10332
57ff04e0
LMI
103332013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10334
10335 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10336 possible choice.
10337
c048c022
JL
103382013-06-17 Juri Linkov <juri@jurta.org>
10339
10340 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10341
b5bcaee5
DG
103422013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10343
a020afb9
JB
10344 * emacs-lisp/package.el (package-load-descriptor):
10345 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10346 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10347
551e07e5
JB
103482013-06-17 Juanma Barranquero <lekktu@gmail.com>
10349
10350 * startup.el (command-line): Expand package name returned by
10351 `package--description-file' (bug#14639).
10352
d363bffb
DG
103532013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10354
10355 * emacs-lisp/package.el (package-load-descriptor): Do not call
10356 `emacs-lisp-mode', just use its syntax table.
10357
f612933b
JB
103582013-06-17 Juanma Barranquero <lekktu@gmail.com>
10359
10360 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10361 `font-lock-extra-managed-props' if any prettifying keyword is added.
10362 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10363 (prog-mode): Use `setq-local'.
10364
db3b7db5
SM
103652013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * international/characters.el (standard-case-table): Set syntax of ?»
10368 and ?« to punctuation.
10369
f3d674df
JB
103702013-06-16 Juanma Barranquero <lekktu@gmail.com>
10371
10372 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10373 Save relevant match data before calling `syntax-ppss' (bug#14595).
10374
31489a32
JL
103752013-06-15 Juri Linkov <juri@jurta.org>
10376
10377 * files-x.el (modify-file-local-variable-prop-line): Add local
10378 variables to the end of the existing comment on the first line.
10379 Use `file-auto-mode-skip' to skip interpreter magic line,
10380 and also skip XML declaration.
10381
66bd25ab
SM
103822013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * startup.el (package--builtin-versions): New var.
10385 (package-subdirectory-regexp): Remove.
10386 (package--description-file): Hard code its value instead.
10387
10388 * emacs-lisp/package.el: Don't activate packages older than builtin.
10389 (package-obsolete-list): Rename from package-obsolete-alist, and make
10390 it into a simple list of package-desc.
10391 (package-strip-version): Remove.
10392 (package-built-in-p): Use package--builtin-versions.
10393 (package-mark-obsolete): Simplify.
10394 (package-process-define-package): Mark it obsolete if older than the
10395 builtin version.
10396 (package-handle-response): Use line-end-position.
10397 (package-read-archive-contents, package--download-one-archive):
10398 Simplify.
10399 (package--add-to-archive-contents): Skip if older than the builtin or
10400 installed version.
10401 (package-menu-describe-package): Fix last change.
10402 (package-list-unversioned): New var.
10403 (package-menu--generate): Use it.
10404
10405 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10406 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10407 (autoload-builtin-package-versions): New variable.
10408 (autoload-generate-file-autoloads): Use them.
10409 Remove the list of autoloaded functions/macros from the
10410 (autoload...) comments.
10411
10412 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10413
9583ec36
EZ
104142013-06-15 Eli Zaretskii <eliz@gnu.org>
10415
10416 * simple.el (line-move-partial): Don't jump to the next screen
10417 line as soon as it becomes visible. Instead, continue enlarging
10418 the vscroll until the portion of a tall screen line that's left on
10419 display is about the height of the frame's default font.
10420 (Bug#14567)
10421
f0100d8a
GM
104222013-06-15 Glenn Morris <rgm@gnu.org>
10423
b86a85ca
GM
10424 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10425 compilation-error-regexp-alist void, or local while let-bound.
10426
f0100d8a
GM
10427 * progmodes/make-mode.el (makefile-mode-syntax-table):
10428 Treat "=" as punctuation. (Bug#14614)
10429
05e7ce90
JB
104302013-06-15 Juanma Barranquero <lekktu@gmail.com>
10431
10432 * help-fns.el (describe-variable):
10433 Add extra line for permanent-local variables.
10434
12e5e86e
SH
104352013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10436
10437 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10438 Add export, import, library. (Bug#9164)
10439 (library): Set indent function.
10440
230dcbaf
GM
104412013-06-14 Glenn Morris <rgm@gnu.org>
10442
10443 * term/xterm.el (xterm--query):
10444 Stop after first matching handler. (Bug#14615)
10445
e36b2d20 104462013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10447
10448 Add support for dired in saveplace.
10449 * dired.el (dired-initial-position-hook): New variable.
10450 (dired-initial-position): Call hook to place cursor position.
10451 * saveplace.el (save-place-to-alist): Add dired position.
10452 (save-place-dired-hook): New function.
10453
0b31660d
SM
104542013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10455
bf1e6ae8
SM
10456 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10457 through a symbol rather than letrec.
10458
1b8dff23
SM
10459 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10460 (package-desc): Add `dir' field.
10461 (package-desc-full-name): New function.
10462 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10463 (package-maybe-load-descriptor): Remove.
10464 (package-load-all-descriptors): Just call package-load-descriptor.
10465 (package--disabled-p): New function.
10466 (package-desc-vers, package-desc-doc): Remove aliases.
10467 (package--dir): Remove function.
10468 (package-activate): Check if a package is disabled.
10469 (package-process-define-package): New function, extracted from
10470 define-package.
10471 (define-package): Turn into a place holder.
10472 (package-unpack-single, package-tar-file-info):
10473 Use package--description-file.
10474 (package-compute-transaction): Use package--disabled-p.
10475 (package-download-transaction): Don't call
10476 package-maybe-load-descriptor since they're all loaded anyway.
10477 (package-install): Change argument to be a pkg-desc.
10478 (package-delete): Use a single pkg-desc argument.
10479 (describe-package-1): Use package-desc-dir instead of package--dir.
10480 Use package-desc property instead of package-symbol.
10481 (package-install-button-action): Adjust accordingly.
10482 (package--push): Rewrite.
10483 (package-menu--print-info): Adjust accordingly. Change the ID format
10484 to be a pkg-desc.
10485 (package-menu-describe-package, package-menu-get-status)
10486 (package-menu--find-upgrades, package-menu-mark-upgrades)
10487 (package-menu-execute, package-menu--name-predicate):
10488 Adjust accordingly.
10489 * startup.el (package--description-file): New function.
10490 (command-line): Use it.
10491 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10492 Use package-desc-version.
10493
0b31660d
SM
10494 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10495 (byte-compile-preprocess): Use it.
10496 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10497 can't quite recognize.
10498 (byte-compile-add-to-list): Remove.
10499 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10500 (cconv-closure-convert): Add assertion.
10501
10502 * emacs-lisp/map-ynp.el: Use lexical-binding.
10503 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10504 Factor out some repeated code.
10505
de0503df
SM
105062013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10507
10508 * subr.el (with-eval-after-load): New macro.
10509 (eval-after-load): Allow form to be a function.
10510 take advantage of lexical-binding.
10511 (do-after-load-evaluation): Use dolist and adjust to new format.
10512 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10513
bc5c8c5a
JL
105142013-06-13 Juri Linkov <juri@jurta.org>
10515
10516 * replace.el (perform-replace): Display "symbol " and other search
10517 modes from `isearch-message-prefix' in the *Help* buffer.
10518
10519 * isearch.el (isearch-query-replace): Add " symbol" and other
10520 possible search modes from `isearch-message-prefix' to the prompt.
10521 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10522 when reading a regexp to collect.
10523
a22289f7
JL
105242013-06-13 Juri Linkov <juri@jurta.org>
10525
10526 * isearch.el (word-search-regexp): Match whitespace if the search
10527 string begins or ends in whitespace. The LAX arg is applied to
10528 both ends of the search string. Use `regexp-quote' and explicit
10529 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10530 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10531 boundaries are replaced with symbol boundaries, and characters
10532 between symbols match non-word non-symbol syntax. (Bug#14602)
10533
cb89acab
JL
105342013-06-13 Juri Linkov <juri@jurta.org>
10535
10536 * isearch.el (isearch-del-char): Don't exceed the length of
10537 `isearch-string' by the prefix arg. (Bug#14563)
10538
6e8cfc81
JL
105392013-06-13 Juri Linkov <juri@jurta.org>
10540
10541 * isearch.el (isearch-yank-word, isearch-yank-line)
10542 (isearch-char-by-name, isearch-quote-char)
10543 (isearch-printing-char, isearch-process-search-char):
10544 Add optional count prefix arg. (Bug#14563)
10545
10546 * international/isearch-x.el
10547 (isearch-process-search-multibyte-characters):
10548 Add optional count prefix arg.
10549
c23d55f4
VS
105502013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10551
10552 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10553 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10554 lexical-binding.
10555
105562013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10557
10558 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10559
ba947bc4
GM
105602013-06-13 Glenn Morris <rgm@gnu.org>
10561
8baeb37a
GM
10562 * startup.el (tty-handle-args):
10563 Don't just discard "--" and anything after. (Bug#14608)
10564
ba947bc4
GM
10565 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10566
9abefce4
MA
105672013-06-13 Michael Albinus <michael.albinus@gmx.de>
10568
10569 Implement changes in Secret Service API. Make it backward compatible.
10570 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10571 (secrets-create-item): Use it. Prefix properties with interface.
10572
5755011f
MH
105732013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10574
10575 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10576 (term-emulate-terminal): Respect term-suppress-hard-newline.
10577
1261d2da
S
105782013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10579
10580 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10581 Only remove a `thumb-file' overlay. (Bug#14548)
10582
868490bb
GJ
105832013-06-12 Grégoire Jadi <daimrod@gmail.com>
10584
10585 * mail/reporter.el (reporter-submit-bug-report):
10586 Handle missing package-name. (Bug#14600)
10587
79d7167f
TH
105882013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10589
10590 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10591 (reftex-citation-prompt, reftex-default-bibliography)
10592 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10593 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10594 (reftex-bib-sort-author, reftex-bib-sort-year)
10595 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10596 (reftex-extract-bib-entries-from-thebibliography)
10597 (reftex-get-bibkey-default, reftex-get-bib-names)
10598 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10599 (reftex-format-bib-entry, reftex-parse-bibitem)
10600 (reftex-format-bibitem, reftex-do-citation)
10601 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10602 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10603 (reftex-insert-bib-matches, reftex-format-citation)
10604 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10605 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10606 existing comments into docstrings.
10607
5f9dbd7a
XF
106082013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10609
10610 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10611
94df41ab
AS
106122013-06-12 Andreas Schwab <schwab@suse.de>
10613
10614 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10615 for auto-save files.
10616
a7f3fecc
GM
106172013-06-12 Glenn Morris <rgm@gnu.org>
10618
001809f6
GM
10619 * ido.el (ido-delete-ignored-files): Remove.
10620 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10621 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10622
834b5ded
EL
106232013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10624
08c73ed2
EL
10625 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10626
834b5ded
EL
10627 * ido.el (ido-delete-ignored-files): New function,
10628 split from ido-make-file-list-1.
10629 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10630 (ido-make-file-list-1): Use ido-delete-ignored-files.
10631
daabf15a
LL
106322013-06-12 Leo Liu <sdl.web@gmail.com>
10633
10634 * progmodes/octave.el (inferior-octave-startup)
10635 (inferior-octave-completion-table)
10636 (inferior-octave-track-window-width-change)
10637 (octave-eldoc-function-signatures, octave-help)
10638 (octave-find-definition): Use single quoted strings.
10639 (inferior-octave-startup-args): Change default value.
10640 (inferior-octave-startup): Do not hard code "-i" and
10641 "--no-line-editing".
10642 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10643 (inferior-octave-directory-tracker): Use it.
10644 (octave-goto-function-definition): Robustify.
10645 (octave-help): Support highlighting operators in 'See also'.
10646 (octave-find-definition): Find subfunctions only in Octave mode.
10647
cf4e5178
SM
106482013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * help-fns.el (help-fns--compiler-macro): If the handler function is
10651 named, then put a link to it.
10652 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10653 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10654 (cl-typep): Use it.
10655 (cl-eval-when): Simplify debug spec.
10656 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10657 compiler-macro function instead of setting `compiler-macro-file'.
10658
99c81280 106592013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10660
10661 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10662 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10663
f56be016
SM
106642013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10665 Daniel Hackney <dan@haxney.org>
10666
10667 First part of Daniel Hackney's patch to package.el.
10668 * emacs-lisp/package.el: Use defstruct.
10669 (package-desc): New, main struct.
10670 (package--bi-desc, package--ac-desc): New structs, used to describe the
10671 format in external files.
10672 (package-desc-vers): Replace with package-desc-version accessor.
10673 (package-desc-doc): Replace with package-desc-summary accessor.
10674 (package-activate-1): Remove `package' arg since the pkg-vec now
10675 includes the name.
10676 (define-package): Use package-desc-from-define.
10677 (package-unpack-single): Change file-name arg to be a symbol.
10678 (package--add-to-archive-contents): Use package-desc-create and new
10679 accessor functions to package--ac-desc.
10680 (package-buffer-info, package-tar-file-info): Return a package-desc.
10681 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10682 arg to be a package-desc.
10683 (package-install-file): Adjust accordingly. Use \' to match EOS.
10684 (package--from-builtin): New function.
10685 (describe-package-1, package-menu--generate): Use it.
10686 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10687 (package-generate-autoloads): Idem and return the name of the file.
10688 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10689 Change pkg-info arg to be a package-desc.
10690 Use package-make-ac-desc.
10691 (package-upload-file): Use \' to match EOS.
10692 * finder.el (finder-compile-keywords): Use package-make-builtin.
10693
31119d63
SM
106942013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10695
931a2762
SM
10696 * vc/vc.el (vc-deduce-fileset): Change error message.
10697 (vc-read-backend): New function.
10698 (vc-next-action): Use it.
10699
5a3eb0c6
SM
10700 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10701
e3eb1bb7
SM
10702 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10703 (prolog-font-lock-keywords): Use regexp-opt instead.
10704 Don't manually highlight strings.
10705 (prolog-mode-variables): Simplify comment-start-skip.
10706 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10707
31119d63
SM
10708 * emacs-lisp/generic.el (generic--normalise-comments)
10709 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10710 (generic-mode-set-comments): Use them.
10711 (generic-bracket-support): Use setq-local.
10712 (generic-make-keywords-list): Declare obsolete.
10713
7de135d0
GM
107142013-06-11 Glenn Morris <rgm@gnu.org>
10715
10716 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10717 Prettify after setting font-lock-defaults. (Bug#14574)
10718
fa6bc6fd
JB
107192013-06-11 Juanma Barranquero <lekktu@gmail.com>
10720
10721 * replace.el (query-replace, occur-read-regexp-defaults-function)
10722 (replace-search):
10723 * subr.el (declare-function, number-sequence, local-set-key)
10724 (substitute-key-definition, locate-user-emacs-file)
10725 (with-silent-modifications, split-string, eval-after-load):
10726 Fix typos, remove unneeded backslashes and reflow some docstrings.
10727
cf1f9b9a
SM
107282013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10731 default for Elisp files.
10732
56602a4b
GM
107332013-06-11 Glenn Morris <rgm@gnu.org>
10734
10735 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10736 although define-derived-mode was doing this anyway. (Bug#14583)
10737
30ae0b2c
JB
107382013-06-10 Juanma Barranquero <lekktu@gmail.com>
10739
10740 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10741 Fix make-variable-buffer-local call to refer to the correct variable.
10742
fa472906
AG
107432013-06-10 Aidan Gauland <aidalgol@amuri.net>
10744
10745 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10746 (eshell-visual-subcommands, eshell-visual-options):
10747 Add summary line to docstrings. Add cross-references.
fa472906 10748
ff4871b9
GM
107492013-06-10 Glenn Morris <rgm@gnu.org>
10750
10751 * epa.el (epa-read-file-name): New function. (Bug#14510)
10752 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10753
04fcf1b0
AG
107542013-06-09 Aidan Gauland <aidalgol@amuri.net>
10755
10756 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10757 output redirection to be ignored with visual commands.
10758
88b00caa
AG
107592013-06-09 Aidan Gauland <aidalgol@amuri.net>
10760
10761 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10762 (eshell-term-initialize): Move long lambda to separate function
10763 eshell-visual-command-p.
27821a89 10764 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
10765 * eshell/em-script.el (eshell-script-initialize):
10766 Add missing #' to lambda.
88b00caa 10767
fda74125
LL
107682013-06-08 Leo Liu <sdl.web@gmail.com>
10769
10770 * progmodes/octave.el (octave-add-log-current-defun): New function.
10771 (octave-mode): Set add-log-current-defun-function.
10772 (octave-goto-function-definition): Do not move point if not found.
10773 (octave-find-definition): Enhance to try subfunctions first.
10774
467f3b33
GM
107752013-06-08 Glenn Morris <rgm@gnu.org>
10776
10777 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10778 (byte-compile-backward-char, byte-compile-backward-word):
10779 Improve previous change, to handle non-explicit nil.
10780
544badc3
SM
107812013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10784 (smie--opener/closer-at-point): New function.
10785 (smie--matching-block-data): Use it. Don't match from right after an
10786 opener or right before a closer. Obey smie-blink-matching-inners.
10787 Don't signal a mismatch for repeated inners like "switch..case..case".
10788
a175bf33
LL
107892013-06-07 Leo Liu <sdl.web@gmail.com>
10790
10791 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10792 to t. (Bug#14303)
ce8209d4
LL
10793 (octave-function-header-regexp): Fix. (Bug#14570)
10794 (octave-help-mode-finish-hook, octave-help-mode-finish):
10795 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10796
10797 * newcomment.el (comment-search-backward): Revert last change.
10798 (Bug#14434)
10799
10800 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10801
a822acff
EZ
108022013-06-07 Eli Zaretskii <eliz@gnu.org>
10803
10804 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10805 through xargs, to avoid failure due to MS-Windows limitations on
10806 command-line length.
10807
961166f5
GM
108082013-06-06 Glenn Morris <rgm@gnu.org>
10809
d0341459
GM
10810 * font-lock.el (lisp-font-lock-keywords-2):
10811 Treat user-error like error.
10812
961166f5
GM
10813 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10814 (byte-compile-backward-char, byte-compile-backward-word):
10815 Handle explicit nil arguments. (Bug#14565)
10816
80fa505f
AM
108172013-06-05 Alan Mackenzie <acm@muc.de>
10818
10819 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10820 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10821 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10822 (Bug#9706)
80fa505f 10823
fccdc796
SM
108242013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * autorevert.el (auto-revert-notify-handler): Use memq.
10827 Hide assertion failure.
10828
10829 * skeleton.el: Use cl-lib.
10830 (skeleton-further-elements): Use defvar-local.
10831 (skeleton-insert): Use cl-progv.
10832
9bfff84b
TZ
108332013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10834
10835 * progmodes/prog-mode.el (prog-prettify-symbols)
10836 (prog-prettify-install): Update docstrings.
10837
55577e7c
SM
108382013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * simple.el: Move all the prog-mode code to prog-mode.el.
10841 * progmodes/prog-mode.el: New file.
10842 * loadup.el: Add prog-mode.el.
10843
8fc57765
TZ
108442013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10845
10846 * simple.el (prog-prettify-symbols): Add version.
10847 (prog-prettify-install): Add convenience function to prettify symbols.
10848
10849 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10850 (perl--augmented-font-lock-keywords-1)
10851 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10852 variables and use it.
10853
10854 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10855 (cfengine3-mode): Remove unneeded variable and use it.
10856
10857 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10858 (lisp--augmented-font-lock-keywords-1)
10859 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10860 Remove unneeded variables and use it.
10861
650645d5 108622013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10863
10864 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10865 to point when opening the connection. (Bug#14380)
28f5da6d 10866
781b4af6
SM
108672013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10868
10869 * subr.el (load-history-regexp, load-history-filename-element)
10870 (eval-after-load, after-load-functions, do-after-load-evaluation)
10871 (eval-next-after-load, display-delayed-warnings)
10872 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10873 definition of save-match-data.
10874 (overriding-local-map): Remove accidental obsolescence declaration.
10875
10876 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10877
3ca0d0b4
TZ
108782013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10879
10880 Generalize symbol prettify support to prog-mode and implement it
10881 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10882 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10883 (prog--prettify-font-lock-compose-symbol)
10884 (prog-prettify-font-lock-symbols-keywords): New variables and
10885 functions to support symbol prettification.
10886 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10887 (lisp--augmented-font-lock-keywords-1)
10888 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10889 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10890 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
10891 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10892 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
10893 * progmodes/perl-mode.el (perl-prettify-symbols)
10894 (perl--font-lock-compose-symbol)
10895 (perl--font-lock-symbols-keywords): Move to prog-mode.
10896 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10897 (perl-font-lock-keywords-1)
10898 (perl-font-lock-keywords-2): Remove explicit prettify support.
10899 (perl--augmented-font-lock-keywords)
10900 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
10901 (perl--augmented-font-lock-keywords-2, perl-mode):
10902 Implement prettify support.
3ca0d0b4 10903
976cb066
LL
109042013-06-05 Leo Liu <sdl.web@gmail.com>
10905
27821a89 10906 Re-implement SMIE matching block highlight using
976cb066
LL
10907 show-paren-data-function. (Bug#14395)
10908 * emacs-lisp/smie.el (smie-matching-block-highlight)
10909 (smie--highlight-matching-block-overlay)
10910 (smie--highlight-matching-block-lastpos)
10911 (smie-highlight-matching-block)
10912 (smie-highlight-matching-block-mode): Remove.
10913 (smie--matching-block-data-cache): New variable.
10914 (smie--matching-block-data): New function.
10915 (smie-setup): Use smie--matching-block-data for
10916 show-paren-data-function.
10917
10918 * progmodes/octave.el (octave-mode-menu): Fix.
10919 (octave-find-definition): Skip garbage lines.
10920
208d0342
SM
109212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10922
10923 Fix compilation error with simultaneous dynamic+lexical scoping.
10924 Add warning when a defvar appears after the first let-binding.
10925 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10926 (byte-compile-close-variables): Initialize it.
10927 (byte-compile--declare-var): New function.
10928 (byte-compile-file-form-defvar)
10929 (byte-compile-file-form-define-abbrev-table)
10930 (byte-compile-file-form-custom-declare-variable): Use it.
10931 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10932 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10933 (byte-compile-bind): Handle dynamic bindings that shadow
10934 lexical bindings.
10935 (byte-compile-unbind): Make arg non-optional.
10936 (byte-compile-let): Simplify.
10937 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10938 (cconv--analyse-function, cconv-analyse-form): Populate it.
10939 Protect byte-compile-bound-variables to limit the scope of defvars.
10940 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10941 Remove unneeded rule for `declare'.
10942
10943 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10944 so as to avoid depending on cl-adjoin at run-time.
10945 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10946
10947 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10948 (macroexp--warn-and-return): Use it.
10949
1ac2891e
GM
109502013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10951
a12bf61e 10952 * subr.el: Convert to lexical binding.
1ac2891e
GM
10953 (overriding-local-map): Make obsolete.
10954 (add-to-list): Doc fix. Add compiler macro.
10955 (read-key): Swap values of local maps.
10956
2587b005
LL
109572013-06-05 Leo Liu <sdl.web@gmail.com>
10958
10959 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10960
f1da3c88
LL
109612013-06-04 Leo Liu <sdl.web@gmail.com>
10962
10963 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10964 (compilation-auto-jump): Suppress the "Mark set" message to give
10965 way to exit message.
10966
3caa391f
AM
109672013-06-04 Alan Mackenzie <acm@muc.de>
10968
10969 Remove faulty optimisation from indentation calculation.
10970 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10971 search limit based on 2000 characters back from indent-point.
10972
068922a2
TH
109732013-06-03 Tassilo Horn <tsdh@gnu.org>
10974
10975 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10976
1f8fdd53
SM
109772013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10978
bbcc4d97
SM
10979 * emacs-lisp/lisp.el: Use lexical-binding.
10980 (lisp--local-variables-1, lisp--local-variables): New functions.
10981 (lisp--local-variables-completion-table): New var.
208d0342 10982 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10983
1f8fdd53
SM
10984 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10985 eagerly (bug#14422).
10986
c9628c79
MA
109872013-06-03 Michael Albinus <michael.albinus@gmx.de>
10988
10989 * autorevert.el (auto-revert-notify-enabled)
10990 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10991 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10992 (auto-revert-notify-handler): Handle also gfilenotify.
10993
e7b41c4c 10994 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10995 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10996 Remove.
c9628c79 10997
e5e4a942
JL
109982013-06-03 Juri Linkov <juri@jurta.org>
10999
11000 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11001 `M-s h .'. (Bug#14427)
11002
11003 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11004 command `hi-lock-face-symbol-at-point'.
11005 (hi-lock-face-symbol-at-point): New command.
11006 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11007 (hi-lock-menu): Add `highlight-symbol-at-point'.
11008 (hi-lock-mode): Doc fix.
11009
11010 * isearch.el (isearch-forward-symbol-at-point): New command.
11011 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11012 (isearch-highlight-regexp): Add a regexp which matches
11013 words/symbols for word/symbol mode.
11014
11015 * subr.el (find-tag-default-bounds): New function with the body
11016 mostly moved from `find-tag-default'.
11017 (find-tag-default): Move most code to `find-tag-default-bounds',
11018 call it and apply `buffer-substring-no-properties' afterwards.
11019
26b3353a
TH
110202013-06-03 Tassilo Horn <tsdh@gnu.org>
11021
781b4af6
SM
11022 * eshell/em-term.el (eshell-term-initialize):
11023 Use `cl-intersection' rather than `intersection'.
26b3353a 11024
51b60f53
XF
110252013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11026
fe054b63 11027 * vc/log-view.el: Doc fix.
d3ffe17c 11028 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11029
a0eb10b3 110302013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11031
11032 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11033 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11034 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11035 (eieio-unbound, eieio-default-superclass)
11036 (eieio--define-field-accessors, method-static, method-before)
11037 (method-primary, method-after, method-num-lists)
11038 (method-generic-before, method-generic-primary)
11039 (method-generic-after, method-num-slots)
11040 (eieio-specialized-key-to-generic-key)
11041 (eieio--check-type, class-v, class-p)
11042 (eieio-class-name, define-obsolete-function-alias)
11043 (eieio-class-parents-fast, eieio-class-children-fast)
11044 (same-class-fast-p, class-constructor, generic-p)
11045 (generic-primary-only-p, generic-primary-only-one-p)
11046 (class-option-assoc, class-option, eieio-object-p)
11047 (class-abstract-p, class-method-invocation-order)
11048 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11049 (eieio-class-un-autoload, eieio-defclass)
11050 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11051 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11052 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11053 (eieio-defgeneric-reset-generic-form)
11054 (eieio-defgeneric-form-primary-only)
11055 (eieio-defgeneric-reset-generic-form-primary-only)
11056 (eieio-defgeneric-form-primary-only-one)
11057 (eieio-defgeneric-reset-generic-form-primary-only-one)
11058 (eieio-unbind-method-implementations)
11059 (eieio--defmethod, eieio--typep)
11060 (eieio-perform-slot-validation, eieio-validate-slot-value)
11061 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11062 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11063 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11064 (eieio-slot-name-index, eieio-class-slot-name-index)
11065 (eieio-set-defaults, eieio-initarg-to-attribute)
11066 (eieio-attribute-to-initarg, eieio-c3-candidate)
11067 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11068 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11069 (eieio-class-precedence-list, eieio-generic-call-methodname)
11070 (eieio-generic-call-arglst, eieio-generic-call-key)
11071 (eieio-generic-call-next-method-list)
11072 (eieio-pre-method-execution-functions, eieio-generic-call)
11073 (eieio-generic-call-primary-only, eieiomt-method-list)
11074 (eieiomt-optimizing-obarray, eieiomt-install)
11075 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11076 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11077 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11078 (defclass): Remove `eval-and-compile' from macro.
11079 (call-next-method, shared-initialize): Instead of using
11080 `scoped-class' variable, use new eieio--scoped-class, and
11081 eieio--with-scoped-class.
11082 (initialize-instance): Rename local variable 'scoped-class' to
11083 'this-class' to remove ambiguitity from old global.
11084
11085 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11086 eieio.el.
4f405069
JB
11087 (eieio--scoped-class-stack): New variable.
11088 (eieio--scoped-class): New fcn.
890f7890
DE
11089 (eieio--with-scoped-class): New scoping macro.
11090 (eieio-defclass): Use pushnew instead of add-to-list.
11091 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11092 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11093 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11094 `scoped-class' variable, use new eieio--scoped-class, and
11095 eieio--with-scoped-class.
11096
11097 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11098
d105b0e2
TH
110992013-06-02 Tassilo Horn <tsdh@gnu.org>
11100
11101 * eshell/esh-ext.el (eshell-external-command): Pass args to
11102 `eshell-find-interpreter'.
11103 (eshell-find-interpreter): Add new second parameter ARGS.
11104
11105 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11106 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11107
11108 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11109 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11110
11111 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11112 (eshell-visual-options): New defcustom.
11113 (eshell-escape-control-x): Adapt docstring.
11114 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11115 `eshell-visual-options' in addition to `eshell-visual-commands'.
11116 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11117
f46305c8 111182013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11119
11120 * progmodes/python.el (python-indent-block-enders): Add break,
11121 continue and raise keywords.
11122
d870df21
GM
111232013-06-01 Glenn Morris <rgm@gnu.org>
11124
9133b82e
GM
11125 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11126
02c992ec 11127 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11128 * progmodes/cc-cmds.el (delete-forward-p):
11129 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11130 * progmodes/cc-engine.el (buffer-syntactic-context):
11131 * progmodes/cc-fonts.el (face-property-instance):
11132 * progmodes/cc-mode.el (set-keymap-parents):
11133 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11134 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11135 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11136 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11137 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11138
31e7b090
GM
11139 * progmodes/cc-vars.el (other): Emacs has this widget since
11140 at least 21.1, so don't (re)define it.
11141
d870df21
GM
11142 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11143 Replace the obsolete alias pcomplete-arg-quote-list.
11144
c75c93c7
LL
111452013-06-01 Leo Liu <sdl.web@gmail.com>
11146
11147 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11148 punctuation syntax.
11149 (inferior-octave-minimal-columns)
11150 (inferior-octave-last-column-width): New variables.
11151 (inferior-octave-track-window-width-change): New function.
11152 (inferior-octave-mode): Adjust column width so that Octave output,
11153 for example from 'ls', can fit into the window nicely.
11154
973d1e12
DG
111552013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11156
11157 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11158 Highlight expansions inside regexp literals.
11159
0888c286
GM
111602013-05-31 Glenn Morris <rgm@gnu.org>
11161
e26aac1f
GM
11162 * obsolete/sym-comp.el (symbol-complete):
11163 Replace obsolete completion-annotate-function.
11164
0888c286
GM
11165 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11166
19bb8e62
DG
111672013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11168
781b4af6
SM
11169 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11170 New function, checks if point is inside a literal that allows
19bb8e62
DG
11171 expression expansion.
11172 (ruby-syntax-propertize-expansion): Use it.
11173 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11174 around the body.
11175
01dea85f
JL
111762013-05-30 Juri Linkov <juri@jurta.org>
11177
11178 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11179 to "\M-si".
11180 (isearch-invisible): New variable.
11181 (isearch-forward): Doc fix.
11182 (isearch-mode): Set `isearch-invisible'
11183 to the value of `search-invisible'.
11184 (isearch-toggle-case-fold): Doc fix.
11185 (isearch-toggle-invisible): New command.
11186 (isearch-query-replace): Let-bind `search-invisible'
11187 to the value of `isearch-invisible'.
11188 (isearch-search): Use `isearch-invisible' instead of
11189 `search-invisible'. Let-bind `search-invisible'
11190 to the value of `isearch-invisible'. (Bug#11378)
11191
ab1bdce5
JL
111922013-05-30 Juri Linkov <juri@jurta.org>
11193
11194 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11195 call when `query-flag' is nil and `search-invisible' is non-nil.
11196 (Bug#11746)
11197
d6d236e2
GM
111982013-05-30 Glenn Morris <rgm@gnu.org>
11199
8accd027
GM
11200 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11201
2a8bed1c
GM
11202 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11203 (cc-require): Suppress spurious "noruntime" warnings.
11204 (cc-require-when-compile): Use fboundp, for sake of compiler.
11205
d6d236e2
GM
11206 * progmodes/cc-mode.el: Move load of cc-vars before that of
11207 cc-langs (which in turn loads cc-vars), to quieten compiler.
11208
9190b35b
SM
112092013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11210
11211 * paren.el: Simplify the code.
11212 (show-paren-mode): Always start the timer.
11213 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11214 (show-paren--overlay, show-paren--overlay-1): Rename from
11215 show-paren-overlay and show-paren-overlay-1, and initialize to an
11216 overlay rather than to nil.
11217 (show-paren-function): Misc cleanup and simplifications.
11218
4f8d1cf6
SM
112192013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11220
11221 * paren.el (show-paren-data-function): New hook.
11222 (show-paren--default): New function, extracted from show-paren-function.
11223 (show-paren-function): Use show-paren-data-function.
11224
02d844b5
GM
112252013-05-30 Glenn Morris <rgm@gnu.org>
11226
d209d4a9
GM
11227 * ielm.el (ielm-map, ielm-complete-symbol):
11228 Use completion-at-point rather than obsolete functions.
11229 (inferior-emacs-lisp-mode): Doc fix.
11230 Set completion-at-point-functions, rather than
11231 comint-dynamic-complete-functions.
11232
2082faa6
GM
11233 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11234 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11235 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11236
dd8620de
GM
11237 * image.el (image-animated-p): Tweak definition.
11238
ceca95b1
GM
11239 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11240 (rlogin-process-connection-type): Tweak default. Add set-after.
11241 (rlogin-host): Doc fix.
11242 (rlogin): Tweak prompt.
11243 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11244
ee9f1acc
GM
11245 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11246 * progmodes/tcl.el (inferior-tcl-mode-map):
11247 Use completion-at-point rather than obsolete alias.
11248
45ce222e
GM
11249 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11250
02d844b5
GM
11251 * minibuffer.el (read-file-name-completion-ignore-case):
11252 Move before completion--in-region, for eager macro expansion.
11253
ac44d6c1
JL
112542013-05-29 Juri Linkov <juri@jurta.org>
11255
11256 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11257 for total count of matching lines. Add `global-matches' for total
11258 count of matches. Rename `matches' to `lines' for count of
11259 matching lines. Add `matches' for count of matches.
11260 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11261 to `prev-line' for line number of prev match endpt.
11262 Increment `matches' for every match. Print the number of
11263 matching lines in the header.
11264 (occur-context-lines): Rename `lines' to `curr-line'.
11265 Rename `prev-lines' to `prev-line'. (Bug#14017)
11266
3c9c9d38
JL
112672013-05-29 Juri Linkov <juri@jurta.org>
11268
11269 * replace.el (perform-replace): Add `skip-read-only-count',
11270 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11271 Increment them for corresponding conditions and report the number
11272 of skipped occurrences in the final message. (Bug#11746)
11273 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11274 (replace-string, replace-regexp): Doc fix.
11275
33e249a2
SM
112762013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11277
8e399682
SM
11278 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11279
33e249a2 11280 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11281 prog-mode-map (bug#14504).
33e249a2 11282
f236dd84
LL
112832013-05-29 Leo Liu <sdl.web@gmail.com>
11284
11285 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11286 (octave-help): Small simplification.
11287
11288 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11289 off the highlight first.
11290
3694d13f
GM
112912013-05-29 Glenn Morris <rgm@gnu.org>
11292
03983bdc
GM
11293 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11294 Handle idlwave-last-system-routine-info-cons-cell being nil.
11295
bc74a74a
GM
11296 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11297 (idlwave-write-paths): Simplify via with-temp-buffer.
11298
8b394200
GM
11299 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11300 * emulation/cua-rect.el: Also load cua-base at run time.
11301
3694d13f
GM
11302 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11303 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11304 (cperl-imenu-on-info): Require imenu.
11305
336d7284
AM
113062013-05-28 Alan Mackenzie <acm@muc.de>
11307
11308 Handle "capitalised keywords" correctly.
33e249a2 11309 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11310
cb29c582
AG
113112013-05-28 Aidan Gauland <aidalgol@amuri.net>
11312
781b4af6 11313 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11314
690e44b2
GM
113152013-05-28 Glenn Morris <rgm@gnu.org>
11316
e658d75c
GM
11317 * vc/vc-arch.el (vc-exec-after): Declare.
11318 (vc-switches): Autoload.
11319 * vc/vc-bzr.el: No need to require vc when compiling.
11320 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11321 (vc-resynch-buffer, vc-dir-refresh): Declare.
11322 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11323 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11324 (vc-resynch-buffer): Declare.
11325 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11326 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11327 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11328 (grep-read-regexp, grep-read-files, grep-expand-template)
11329 (vc-dir-refresh): Declare.
11330 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11331 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11332 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11333 * vc/vc-mtn.el (vc-exec-after): Declare.
11334 (vc-switches): Autoload.
11335 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11336 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11337 (vc-file-tree-walk): Declare.
712b9732
GM
11338 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11339 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11340 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11341 * vc/vc-svn.el (vc-exec-after): Declare.
11342 (vc-switches, vc-setup-buffer): Autoload.
11343 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11344 Autoload.
11345 (vc-resynch-buffer): Declare.
11346
98e87fb3
GM
11347 * obsolete/fast-lock.el (byte-compile-warnings):
11348 Don't warn about obsolete features in this obsolete file.
11349
f5379553
GM
11350 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11351 Move definition before use.
11352
7a20ef83
GM
11353 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11354 (dun-unix-verbs): Remove dun-zippy.
11355 (dun-zippy): Remove function.
11356
690e44b2
GM
11357 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11358
3a52ccf7
JL
113592013-05-27 Juri Linkov <juri@jurta.org>
11360
11361 * replace.el (replace-search): New function with code moved out
11362 from `perform-replace'.
11363 (replace-highlight, replace-dehighlight): Move function definitions
11364 up closer to `replace-search'. (Bug#11746)
11365
d289938a
JL
113662013-05-27 Juri Linkov <juri@jurta.org>
11367
11368 * replace.el (perform-replace): Ignore invisible matches.
11369 In addition to checking `query-replace-skip-read-only', also
11370 filter out matches by calling `run-hook-with-args-until-failure'
11371 on `isearch-filter-predicates', and also check `search-invisible'
11372 for t or call `isearch-range-invisible'.
11373 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11374
66fc57e3
JL
113752013-05-27 Juri Linkov <juri@jurta.org>
11376
11377 * isearch.el (isearch-filter-predicates): Rename from
11378 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11379 (isearch-message-prefix): Display text from the property
11380 `isearch-message-prefix' of the currently active filters.
11381 (isearch-search): Don't compare `isearch-filter-predicate' with
11382 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11383 on `isearch-filter-predicates'. Also check `search-invisible' for t
11384 or call `isearch-range-invisible'.
11385 (isearch-filter-visible): Make obsolete.
11386 (isearch-lazy-highlight-search):
11387 Call `run-hook-with-args-until-failure' on
11388 `isearch-filter-predicates' and use `isearch-range-invisible'.
11389
11390 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11391 `isearch-filter-predicates' instead of `funcall'ing
11392 `isearch-filter-predicate'.
11393 (Info-mode): Set `Info-isearch-filter' to
11394 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11395
11396 * dired-aux.el (dired-isearch-filter-predicate-orig):
11397 Remove variable.
11398 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11399 (dired-isearch-filenames-end): Add and remove
11400 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11401 instead of changing the value of `isearch-filter-predicate'.
11402 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11403 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11404 Put property `isearch-message-prefix' to "filename " on
11405 `dired-isearch-filter-filenames'.
11406
11407 * wdired.el (wdired-change-to-wdired-mode):
11408 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11409 locally instead of changing `isearch-filter-predicate'.
11410 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11411
f1a60a0f
DG
114122013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11413
11414 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11415 return the commit hash (Bug#14459). Also set the
11416 `vc-git-detached' property.
11417 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11418 (vc-git-mode-line-string): Use the same help-echo format whether
11419 in detached mode or not, because we know the actual revision now.
11420 When in detached mode, shorten the revision to 7 chars.
11421
7f17cc40
SM
114222013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11423
11424 * emacs-lisp/easy-mmode.el (define-minor-mode):
11425 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11426 mode hook and provide a docstring.
11427
25c8401c
AM
114282013-05-27 Alan Mackenzie <acm@muc.de>
11429
11430 Remove spurious syntax-table text properties inserted by C-y.
11431 * progmodes/cc-mode.el (c-after-change): Also clear hard
11432 syntax-table property with value nil.
11433
dde84790
MA
114342013-05-27 Michael Albinus <michael.albinus@gmx.de>
11435
11436 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11437 when reading the events; the buffer layout shall not be changed.
11438
837fd9af
LL
114392013-05-27 Leo Liu <sdl.web@gmail.com>
11440
11441 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11442 New variable.
11443 (inferior-octave-directory-tracker): Automatically re-sync
11444 default-directory.
11445 (octave-help): Improve handling of 'See also'.
11446
4fd996b3
SM
114472013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11448
416f1802
SM
11449 * doc-view.el: Minor naming convention tweaks.
11450 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11451
4fd996b3
SM
11452 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11453 even if there's no `display' property yet (bug#14435).
11454
a052ef3b
EZ
114552013-05-25 Eli Zaretskii <eliz@gnu.org>
11456
4fd996b3 11457 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11458
11459 * Makefile.in (custom-deps, finder-data, autoloads)
11460 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11461 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11462 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11463
c9023370
SM
114642013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11465
11466 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11467 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11468 Don't burp at EOB.
c9023370 11469
24d699fa
LL
114702013-05-25 Leo Liu <sdl.web@gmail.com>
11471
11472 * comint.el (comint-previous-matching-input): Do not flood the
11473 *Messages* buffer with trivial messages.
11474
17e5c0cc
SM
114752013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11476
11477 * progmodes/flymake.el (flymake-nop): Don't return a string.
11478 (flymake-set-at): Fix typo.
11479
11480 * simple.el (read--expression): New function, extracted from
11481 eval-expression. Set completion-at-point-functions (bug#14465).
11482 (eval-expression, eval-minibuffer): Use it.
11483
5d028165
XF
114842013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11485
11486 * progmodes/flymake.el (flymake-save-buffer-in-file)
11487 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11488 (flymake-selected-frame, flymake-log, flymake-ins-after)
11489 (flymake-set-at, flymake-get-buildfile-from-cache)
11490 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11491 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11492 Refine the doc string.
11493 (flymake-get-file-name-mode-and-masks): Reformat.
11494 (flymake-get-real-file-name-function): Fix a minor bug.
11495
7a1d7ba7
JL
114962013-05-24 Juri Linkov <juri@jurta.org>
11497
11498 * progmodes/grep.el (grep-mode-font-lock-keywords):
11499 Support =linenumber= format used by git-grep for lines with
11500 function names. (Bug#13549)
11501
650cff3d
SM
115022013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11503
11504 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11505 0 after a semi-colon; it works better for smie-auto-fill.
11506 (octave--indent-new-comment-line): New function.
11507 (octave-indent-new-comment-line): Use it (indirectly).
11508 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11509 modify comment-line-break-function.
11510
11511 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11512 (smie-setup): Use add-function to set it.
11513
9631677d
SS
115142013-05-24 Sam Steingold <sds@gnu.org>
11515
11516 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11517 argument (before the `interactive' argument).
11518
50105835
SM
115192013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11520
11521 * image-mode.el (image-mode-winprops): Add winprops to
11522 image-mode-winprops-alist before running
11523 image-mode-new-window-functions.
11524 * doc-view.el (doc-view-new-window-function): Don't delay
11525 doc-view-goto-page via timers (bug#14435).
11526
57b9823e
TH
115272013-05-24 Tassilo Horn <tsdh@gnu.org>
11528
11529 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11530 (doc-view-desktop-save-buffer): New function.
11531 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11532 (desktop-buffer-mode-handlers):
11533 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11534 handler.
11535 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11536 `desktop-save-buffer' function.
11537
91aafa16
MA
115382013-05-24 Michael Albinus <michael.albinus@gmx.de>
11539
11540 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11541 (tramp-gvfs-file-name-handler): Raise a user error when
11542 `tramp-gvfs-enabled' is nil.
11543 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11544 Do not raise a user error when loading package. (Bug#14447)
11545
ec076379
MA
11546 * net/xesam.el: Move to obsolete/.
11547
db785726
GM
115482013-05-24 Glenn Morris <rgm@gnu.org>
11549
af5c7606
GM
11550 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11551
e5d1916a
GM
11552 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11553
ded62b08
GM
11554 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11555 (Info-find-node, Man-getpage-in-background): Declare.
11556
9e614a3f
GM
11557 * mail/unrmail.el (unrmail):
11558 Replace obsolete detect-coding-with-priority.
11559
892f8ca3
GM
11560 * net/socks.el (socks-split-string): Use this rather than split-string.
11561 (socks-nslookup-host): Update for above change.
11562 (dynamic-choice, s5-dynamic-choice-match)
11563 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11564 Comment out unused code.
11565
3c291973
GM
11566 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11567 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11568 (gud-tooltip-echo-area): Make obsolete.
11569 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11570
43cc956b
GM
11571 * progmodes/js.el (js--optimize-arglist): Declare.
11572
dab49a3b
GM
11573 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11574
36b9d085
GM
11575 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11576 (ediff-window-C): Declare.
11577
e354ae76
GM
11578 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11579 Tweak requires to silence compiler.
11580
b8e57bf4
GM
11581 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11582 (he-search-string, he-tried-table, he-expand-list)
11583 (he-init-string, he-string-member, he-substitute-string)
11584 (he-reset-string): Declare.
11585
db785726
GM
11586 * obsolete/options.el (list-options): Use custom-variable-p,
11587 rather than obsolete alias.
11588
b3531901
SS
115892013-05-23 Sam Steingold <sds@gnu.org>
11590
11591 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11592 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11593 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11594
bdda4c66
SM
115952013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * emacs-lisp/smie.el (smie-indent-forward-token)
11598 (smie-indent-backward-token): Handle string tokens (bug#14381).
11599
c43d45f9
TH
116002013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11601
fe1eb856
RS
11602 * ielm.el (ielm-menu): New menu.
11603 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11604
fe1eb856
RS
116052013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11606
a12bf61e 11607 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11608 Fix deactivate action.
11609
a12bf61e 11610 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11611 Add cleveref macros.
074dd971 11612
a12bf61e 11613 * textmodes/reftex-parse.el
c43d45f9
TH
11614 (reftex-locate-bibliography-files): Accept options for
11615 bibliography commands.
a12bf61e 11616 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11617 Add addbibresource. Basic Biblatex support.
11618
7764286e
MA
116192013-05-23 Michael Albinus <michael.albinus@gmx.de>
11620
11621 * net/tramp-gvfs.el (top):
11622 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11623 when loading package. (Bug#14447)
11624
d361bc10
GM
116252013-05-23 Glenn Morris <rgm@gnu.org>
11626
8fa23984
GM
11627 * progmodes/js.el: No need to load comint when compiling.
11628 (ring-insert, comint-send-string, comint-send-input)
11629 (comint-last-input-end, ido-chop): Declare.
11630
a5c7df1a
GM
11631 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11632 * vc/ediff-mult.el: Adjust requires.
11633 (ediff-directories-internal, ediff-directory-revisions-internal)
11634 (ediff-patch-file-internal): Declare.
11635 * vc/ediff-ptch.el: Adjust requires.
11636 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11637 (ediff-find-file): Autoload.
11638 * vc/ediff-util.el: No need to load ediff when compiling.
11639 (ediff-regions-internal): Declare.
11640 * vc/ediff-wind.el: Adjust requires.
11641 (ediff-compute-toolbar-width): Define when compiling.
11642 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11643 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11644 (dired-get-filename, dired-get-marked-files)
11645 (ediff-last-dir-patch, ediff-patch-default-directory)
11646 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11647 (ediff-patch-buffer-internal): Declare.
11648
e2aec513
GM
11649 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11650 (ispell-process, ispell-buffer-local-words, lm-summary)
11651 (lm-section-start, lm-section-end): Declare.
11652 (checkdoc-ispell-init): Simplify.
11653
e68bbd7c
GM
11654 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11655 (he-string-member, he-reset-string, he-substitute-string): Declare.
11656
7efe0991
GM
11657 * eshell/em-ls.el: Adjust requires.
11658 (eshell-glob-regexp): Declare.
f87b1284
GM
11659 * eshell/em-tramp.el: Adjust requires.
11660 (eshell-parse-command): Autoload.
11661 * eshell/em-xtra.el: Adjust requires.
11662 (eshell-parse-command): Autoload.
11663 * eshell/esh-ext.el: Adjust requires.
11664 (eshell-parse-command, eshell-close-handles): Autoload.
11665 * eshell/esh-io.el: Adjust requires.
11666 (eshell-output-filter): Autoload.
11667 * eshell/esh-util.el: No need to load tramp when compiling.
11668 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11669 Declare.
11670 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11671 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11672 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11673 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11674 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11675 * eshell/esh-opt.el, eshell/esh-proc.el:
11676 * eshell/esh-var.el: Adjust requires.
11677 * eshell/eshell.el: Do not require esh-util twice.
11678 (eshell-add-input-to-history): Declare.
11679 (eshell-command): Check history module is active before using it.
11680
d361bc10
GM
11681 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11682
85d090a9
LL
116832013-05-22 Leo Liu <sdl.web@gmail.com>
11684
11685 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11686
5d0acd9d
MA
116872013-05-22 Michael Albinus <michael.albinus@gmx.de>
11688
11689 * autorevert.el (auto-revert-notify-add-watch)
11690 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11691 it indicates changes in file modification time.
11692
0cdffd7d
GM
116932013-05-22 Glenn Morris <rgm@gnu.org>
11694
ca5995ec
GM
11695 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11696 Always delete the autoloaded function from the noruntime and
11697 unresolved functions lists.
11698
6450907e
GM
11699 * allout.el: No need to load epa, epg, overlay when compiling.
11700 (epg-context-set-passphrase-callback, epg-list-keys)
11701 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11702 (epg-key-user-id-list): Declare.
11703
9c6906f6
GM
11704 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11705 (viper-set-parsing-style-toggling-macro)
11706 (viper-set-emacs-state-searchstyle-macros):
11707 Use called-interactively-p on Emacs.
11708 (viper-looking-back): Make it an obsolete alias. Update callers.
11709 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11710 Use looking-back rather than viper-looking-back.
11711 (viper-tmp-insert-at-eob, viper-enlarge-region)
11712 (viper-read-string-with-history, viper-register-to-point)
11713 (viper-append-to-register, viper-change-state-to-vi)
11714 (viper-backward-char-carefully, viper-forward-char-carefully)
11715 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11716 (viper-change-state-to-emacs): Declare.
11717 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11718 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11719 * emulation/viper-mous.el: Do not load viper-cmd.
11720 (viper-backward-char-carefully, viper-forward-char-carefully)
11721 (viper-forward-word, viper-adjust-window): Declare.
11722
5f70c169
GM
11723 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11724
b1b7f300
GM
11725 * progmodes/idlw-help.el (idlwave-help-fontify):
11726 Use called-interactively-p.
11727
f6ebbb46
GM
11728 * term/w32console.el (w32-get-console-codepage)
11729 (w32-get-console-output-codepage): Declare.
11730
0cdffd7d
GM
11731 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11732 Remove unnecessary declarations.
11733 (dframe-message): Doc fix.
11734
11735 * info.el (dframe-select-attached-frame, dframe-current-frame):
11736 Declare.
11737
11738 * speedbar.el (speedbar-message): Make it an obsolete alias.
11739 Update all callers.
11740 (speedbar-with-attached-buffer)
11741 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11742 (speedbar-with-writable): Use backquote.
11743 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11744 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11745 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11746 rather than speedbar- aliases.
11747 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11748 (speedbar-make-specialized-keymap, speedbar-insert-button)
11749 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11750 (speedbar-do-function-pointer): Declare.
11751 (rmail-speedbar-button, rmail-speedbar-find-file)
11752 (rmail-speedbar-move-message):
11753 Use dframe-with-attached-buffer rather than speedbar- alias.
11754 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11755 (dframe-message, speedbar-make-specialized-keymap)
11756 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11757 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11758 (speedbar-insert-button, dframe-select-attached-frame)
11759 (dframe-maybee-jump-to-attached-frame)
11760 (speedbar-change-initial-expansion-list)
11761 (speedbar-previously-used-expansion-list-name): Declare.
11762 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11763 Use dframe-message, dframe-with-attached-buffer rather than
11764 speedbar- aliases.
11765 (gud-sentinel): Silence compiler.
11766 * progmodes/vhdl-mode.el (speedbar-refresh)
11767 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11768 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11769 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11770 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11771 (speedbar-file-lists, speedbar-make-tag-line)
11772 (speedbar-line-directory, speedbar-goto-this-file)
11773 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11774 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11775 (speedbar-make-button, speedbar-reset-scanners)
11776 (speedbar-files-item-info, speedbar-line-text)
11777 (speedbar-find-file-in-frame, speedbar-set-timer)
11778 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11779 (speedbar-with-writable): Do not (re)define it.
11780 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11781 rather than speedbar- alias.
11782
ee44b62a
LL
117832013-05-21 Leo Liu <sdl.web@gmail.com>
11784
11785 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11786 menu items.
11787 (octave-mode): Tweak fill-nobreak-predicate.
11788 (inferior-octave-startup): Check process to avoid infinite loop.
11789 (inferior-octave): Pop to buffer first to show abornmal process
11790 exit information.
11791
640f050f
GM
117922013-05-21 Glenn Morris <rgm@gnu.org>
11793
79458038
GM
11794 * printing.el (pr-menu-bar): Define when compiling.
11795
9cc3e83f
LL
117962013-05-21 Leo Liu <sdl.web@gmail.com>
11797
11798 * progmodes/octave.el (octave-auto-fill): Remove.
11799 (octave-indent-new-comment-line): Improve.
11800 (octave-mode): Use auto fill mode through
4f405069 11801 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11802 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11803 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11804 (octave-help): Show parent directory.
11805
f440830d
GM
118062013-05-21 Glenn Morris <rgm@gnu.org>
11807
11808 * files.el (dired-unmark):
11809 * progmodes/gud.el (gdb-input): Update declarations.
11810
11811 * calculator.el (electric, ehelp): No need to load when compiling.
11812 (Electric-command-loop, electric-describe-mode): Declare.
11813
11814 * doc-view.el (doc-view-current-converter-processes): Move before use.
11815
11816 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11817 Move MODE-set-explicitly definition before use.
11818
11819 * international/mule-diag.el (mule-diag):
11820 Don't use obsolete window-system-version.
11821
11822 * mail/feedmail.el (smtpmail): No need to load when compiling.
11823 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11824
11825 * mail/mail-utils.el (rfc822): No need to load when compiling.
11826 (rfc822-addresses): Autoload it.
11827 (mail-strip-quoted-names): Trivial simplification.
11828
11829 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11830 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11831
11832 * net/snmp-mode.el (tempo): Don't duplicate requires.
11833
11834 * progmodes/prolog.el (info): No need to load when compiling.
11835 (comint): Require before shell requires it.
11836 (Info-goto-node): Autoload it.
11837 (Info-follow-nearest-node): Declare.
11838 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11839
11840 * textmodes/artist.el (picture-mode-exit): Declare.
11841
11842 * textmodes/reftex-parse.el (reftex-parse-from-file):
11843 Trivial rewrite so the compiler can parse it better.
11844
b4da2cbb
LL
118452013-05-20 Leo Liu <sdl.web@gmail.com>
11846
11847 * progmodes/octave.el (octave-help-mode-map)
11848 (octave-help-mode-finish-hook): New variables.
11849 (octave-help-mode, octave-help-mode-finish): New functions.
11850 (octave-help): Use octave-help-mode.
11851
33c0f65b
GM
118522013-05-20 Glenn Morris <rgm@gnu.org>
11853
11854 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11855
1a0a0a8a
DG
118562013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11857
11858 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11859 start at point, so that expansion starting right after opening
11860 slash in a regexp is recognized.
11861 (ruby-syntax-before-regexp-re): New defvar, extracted from
11862 ruby-syntax-propertize-function. Since the value of this regexp
11863 is looked up at runtime now, we should be able to turn
11864 `ruby-syntax-methods-before-regexp' into a defcustom later.
11865 (ruby-syntax-propertize-function): Split regexp matching into two
11866 parts, for opening and closing slashes. That allows us to skip
11867 over string interpolations and support multiline regexps.
11868 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11869 for them, which calls `ruby-syntax-propertize-expansion'.
11870 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11871 call to `ruby-syntax-propertize-function'.
11872 (ruby-syntax-propertize-expansion): Extracted from
11873 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
11874 (ruby-syntax-propertize-percent-literal): Leave point right after
11875 the percent symbol, so that the expression expansion rule can
11876 propertize the contents.
462388b6
DG
11877 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11878 heredoc openers.
11879 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 11880
c1a6c0a4
JL
118812013-05-18 Juri Linkov <juri@jurta.org>
11882
11883 * man.el (Man-default-man-entry): Remove `-' from the end
11884 of the default value. (Bug#14400)
11885
8051fccd
GM
118862013-05-18 Glenn Morris <rgm@gnu.org>
11887
11888 * comint.el (comint-password-prompt-regexp):
11889 Allow "password for XXX" where XXX contains colons (eg https://...).
11890
5e80b74f
LL
118912013-05-18 Leo Liu <sdl.web@gmail.com>
11892
11893 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 11894 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
11895 (octave-source-directories): Don't check process.
11896 (octave-source-directories, octave-find-definition): Doc fix.
11897
521a54c5
GM
118982013-05-18 Glenn Morris <rgm@gnu.org>
11899
86a94b05
GM
11900 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11901 Remove backspace/delete bindings. (Bug#14392)
11902
521a54c5
GM
11903 * cus-dep.el (custom-make-dependencies): Sort the output.
11904 (custom-versions-load-alist): Convert comment to doc.
11905
42caeb89
LL
119062013-05-17 Leo Liu <sdl.web@gmail.com>
11907
11908 * newcomment.el (comment-search-backward): Stricter in finding
11909 comment start. (Bug#14303)
11910
11911 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11912 (octave-comment-start-skip): Properly anchored.
11913
e219dd97
LL
119142013-05-17 Leo Liu <sdl.web@gmail.com>
11915
fe1eb856
RS
11916 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11917 Clean up when turned off. (Bug#14395)
e219dd97
LL
11918 (smie--highlight-matching-block-overlay): No longer buffer-local.
11919 (smie-highlight-matching-block): Adjust.
11920
dc5dcb4b
PE
119212013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11922
11923 Doc string fix for "nanoseconds" (Bug#14406).
11924 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11925 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11926
1db165f0
JB
119272013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11928
11929 * calc/calc-units.el (math-extract-units): Preserve powers
11930 of units.
11931
c7a8fcac
LL
119322013-05-17 Leo Liu <sdl.web@gmail.com>
11933
11934 * subr.el (delete-consecutive-dups): New function.
11935 * ido.el (ido-set-matches-1): Use it.
11936 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11937 * ido.el (ido-remove-consecutive-dups): Remove.
11938
f678b18a
SM
119392013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11942 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11943 regexp-opt's `words'.
11944
ebfe68e8
LL
119452013-05-16 Leo Liu <sdl.web@gmail.com>
11946
11947 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11948 (smie--highlight-matching-block-overlay)
11949 (smie--highlight-matching-block-lastpos)
11950 (smie--highlight-matching-block-timer): New variables.
11951 (smie-highlight-matching-block): New function.
11952 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11953 (smie-setup): Conditionally enable smie-blink-matching-open.
11954
bc8bc17d
WS
119552013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11956
11957 Sync with upstream verilog-mode r840.
11958 * progmodes/verilog-mode.el (verilog-mode-version)
11959 (verilog-mode-release-date): Update.
11960 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11961 (verilog-sig-tieoff): Fix string error on
11962 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11963 (verilog-read-decls): Fix parameters confusing
11964 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11965
df065a0b
EZ
119662013-05-16 Eli Zaretskii <eliz@gnu.org>
11967
11968 * subr.el (reveal-filename): New function.
11969
11970 * loadup.el: Compute Emacs executable versions on MS-Windows,
11971 where executables have the .exe extension. Add a hard link
11972 emacs-XX.YY.ZZ.exe on MS-Windows.
11973
11974 * Makefile.in (XARGS_LIMIT): New variable.
11975 (custom-deps, finder-data, autoloads)
11976 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11977 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11978 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11979 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11980
2d4bf34b
LL
119812013-05-16 Leo Liu <sdl.web@gmail.com>
11982
11983 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11984 (octave-mode-menu, octave-mode-map): Remove its uses.
11985
6b9c2d85
RZ
119862013-05-16 Reto Zimmermann <reto@gnu.org>
11987
11988 Sync with upstream vhdl mode v3.34.2.
11989 * progmodes/vhdl-mode.el: Use `push' throughout.
11990 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11991 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11992 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11993 (vhdl-actual-generic-name): New option to derive actual generic name.
11994 (vhdl-port-paste-signals): Replace formal by actual generics.
11995 (vhdl-beautify): New name for old group vhdl-align. Update users.
11996 (vhdl-beautify-options): New option.
11997 (vhdl-last-input-event): New compat alias. Use throughout.
11998 (vhdl-goto-line): Replace user level function `goto-line'.
11999 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12000 vhdl-fix-statement-buffer.
12001 (vhdl-create-mode-menu): Add some entries.
12002 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12003 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12004 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12005 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12006 to force statements on one line.
12007 (vhdl-remove-trailing-spaces-region):
12008 New, split from vhdl-remove-trailing-spaces.
12009 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12010 Respect vhdl-beautify-options.
12011 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12012 (vhdl-update-sensitivity-list): Not add with index if exists without.
12013 Not include array index with signal. Ignore keywords in comments.
12014 (vhdl-get-visible-signals): Regexp tweaks.
12015 (vhdl-template-component-inst): Handle empty library.
12016 (vhdl-template-type): Add template for 'enum' type.
12017 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12018 Use vhdl-replace-string.
12019 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12020 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12021 (vhdl-speedbar-initialize): Update for above name change.
12022 (vhdl-compose-wire-components): Fix in handling of constants.
12023 (vhdl-error-regexp-emacs-alist): New variable.
12024 (vhdl-error-regexp-add-emacs): New function;
12025 adds support for new compile.el (Emacs 22+)
12026 (vhdl-generate-makefile-1): Change target order for single lib. units.
12027 Allow use of absolute file names.
12028
9df4ec5e
LL
120292013-05-16 Leo Liu <sdl.web@gmail.com>
12030
12031 * simple.el (prog-indent-sexp): Indent enclosing defun.
12032
f5ba00a6
GM
120332013-05-15 Glenn Morris <rgm@gnu.org>
12034
ed8be7ff
GM
12035 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12036 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12037 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12038 (whitespace-highlight): Move to whitespace group.
12039
12040 * comint.el (comint-source):
12041 * pcmpl-linux.el (pcmpl-linux):
12042 * shell.el (shell-faces):
12043 * eshell/esh-opt.el (eshell-opt):
12044 * international/ccl.el (ccl): Remove empty custom groups.
12045
12046 * completion.el (dynamic-completion-mode):
12047 * jit-lock.el (jit-lock-debug-mode):
12048 * minibuffer.el (completion-in-region-mode):
12049 * type-break.el (type-break-mode-line-message-mode)
12050 (type-break-query-mode):
12051 * emulation/tpu-edt.el (tpu-edt-mode):
12052 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12053 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12054 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12055
12056 * term/xterm.el (xterm): Change parent group to terminals.
12057
12058 * master.el (master): Remove empty custom group.
12059 (master-mode): Remove unused :group argument.
12060 * textmodes/refill.el (refill): Remove empty custom group.
12061 (refill-mode): Remove unused :group argument.
12062
12063 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12064
82a7c41b
GM
12065 * cus-dep.el: Provide a feature.
12066 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12067 Don't mistakenly ignore files whose basenames match a basename
12068 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12069 Add a fallback method for getting :group.
f5ba00a6 12070
6d65486d
JL
120712013-05-15 Juri Linkov <juri@jurta.org>
12072
da547b32
JL
12073 * isearch.el (isearch-char-by-name): Rename from
12074 `isearch-insert-char-by-name'. Doc fix.
12075 (isearch-forward): Mention `isearch-char-by-name' in
12076 the docstring. (Bug#13348)
12077
6d65486d
JL
12078 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12079 `exit-minibuffer' instead of
12080 `isearch-nonincremental-exit-minibuffer'.
12081 (isearch-edit-string): Remove mention of
12082 `isearch-nonincremental-exit-minibuffer' from docstring.
12083 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12084 (isearch-forward-exit-minibuffer)
12085 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12086
c9990474
SM
120872013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12088
6e911150
SM
12089 * loadup.el: Just use unversioned DOC.
12090
c9990474
SM
12091 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12092 literals as extending to EOB.
12093 (nxml-last-fontify-end): Remove unused variable.
12094 (nxml-after-change1): Use with-silent-modifications.
12095 (nxml-extend-after-change-region): Simplify.
12096 (nxml-extend-after-change-region1): Remove function.
12097 (nxml-after-change1): Don't adjust for dependent regions.
12098 (nxml-fontify-matcher): Simplify.
12099 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12100 (xmltok-add-dependent): Remove function.
12101 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12102 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12103 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12104 unclosed <[[, <?, comment, and other literals as extending to EOB.
12105 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12106 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12107 Remove functions.
12108 (rng-do-some-validation-1): Don't mark dependent regions.
12109 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12110 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12111 (nxml-clear-dependent-regions): Remove functions.
12112 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12113 (nxml-ensure-scan-up-to-date):
12114 Don't clear&mark dependent regions.
12115
e3772e98
LL
121162013-05-15 Leo Liu <sdl.web@gmail.com>
12117
c9990474
SM
12118 * progmodes/octave.el (octave-goto-function-definition):
12119 Improve and fix callers.
e3772e98 12120
5ac2eb34
SM
121212013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12122
c46c57b0
SM
12123 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12124 the setter (bug#14387).
12125
5ac2eb34
SM
12126 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12127 surrounding group (bug#14402).
12128
180ed218
JL
121292013-05-14 Juri Linkov <juri@jurta.org>
12130
12131 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12132 (Bug#14390)
12133
0ac0fecb
GM
121342013-05-14 Glenn Morris <rgm@gnu.org>
12135
12136 * progmodes/f90.el (f90-imenu-generic-expression):
12137 Fix typo in 2013-05-08 change. (Bug#14402)
12138
2e78e6a7
JPG
121392013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12140
5ac2eb34
SM
12141 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12142 Remove signals for which replies are never received.
2e78e6a7 12143
53267cca
JPG
121442013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12145
12146 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12147 (gdb-handler-alist, gdb-handler-number): Remove variables.
12148 (gdb-handler-list): New variable.
12149 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12150 (gdb-pending-handler-p, gdb-handle-reply)
12151 (gdb-remove-all-pending-triggers): New functions.
12152 (gdb-discard-unordered-replies): New defcustom.
12153 (gdb-handler): New defstruct.
12154 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12155 instead of gdb-pending-triggers. Update docstring.
12156 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12157 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12158 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12159 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12160 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12161 (gdb-frame-handler): Pending triggers are now automatically managed.
12162 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12163 Remove argument.
12164 (gdb-input): Automatically handles pending triggers. Update docstring.
12165 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12166 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12167 Update comments.
12168 (gdb-done-or-error): Now use gdb-handle-reply.
12169
d04ce803
JPG
121702013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12171
12172 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12173 gdb-debug-log.
12174
0114073a
GM
121752013-05-14 Glenn Morris <rgm@gnu.org>
12176
12177 * subr.el (user-emacs-directory-warning): New option.
12178 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12179
4d25fd7e
LL
121802013-05-14 Leo Liu <sdl.web@gmail.com>
12181
12182 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12183 during redisplay.
12184 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12185 (octave-font-lock-texinfo-comment): Fix invalid search bound
12186 error: wrong side of point.
4d25fd7e 12187
27c8b6eb
GM
121882013-05-14 Glenn Morris <rgm@gnu.org>
12189
61aaeb01
GM
12190 * progmodes/flymake.el (flymake-xml-program): New option.
12191 (flymake-xml-init): Use it.
12192
5bf90bc5
GM
12193 * term/xterm.el: Provide a feature.
12194
12195 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12196
f4c7dfd2
GM
121972013-05-13 Glenn Morris <rgm@gnu.org>
12198
12199 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12200 Add compat aliases as a hack workaround. (Bug#14384)
12201
2aeb3a1d
LL
122022013-05-13 Leo Liu <sdl.web@gmail.com>
12203
b0e069c2
LL
12204 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12205 ###, and %!.
f5a9432f
LL
12206 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12207 C-M-q.
b0e069c2
LL
12208 (octave-comment-start-skip): Include %!.
12209 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12210
30ea8374
LL
122112013-05-12 Leo Liu <sdl.web@gmail.com>
12212
12213 * progmodes/octave.el (inferior-octave-startup): Store the value
12214 of __octave_srcdir__ for octave-source-directories.
12215 (inferior-octave-check-process): New function refactored out of
12216 inferior-octave-send-list-and-digest.
12217 (octave-source-directories)
12218 (octave-find-definition-filename-function): New variables.
12219 (octave-source-directories)
12220 (octave-find-definition-default-filename): New functions.
12221 (octave-find-definition): Improve to find functions implemented in C++.
12222
472a3834
GM
122232013-05-12 Glenn Morris <rgm@gnu.org>
12224
12225 * calendar/diary-lib.el (diary-outlook-format-1):
12226 Don't include dayname in the output. (Bug#14349)
12227
3191b52f
GM
122282013-05-11 Glenn Morris <rgm@gnu.org>
12229
0060ac73
GM
12230 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12231
3191b52f
GM
12232 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12233 Treat cc-provide like provide.
12234
e065ba74
KR
122352013-05-11 Kevin Ryde <user42@zip.com.au>
12236
12237 * cus-dep.el (custom-make-dependencies):
12238 Use generated-autoload-load-name for the sake of files such
12239 such cedet/semantic/bovine/c.el, where the base file name
12240 is not in load-path. (Bug#5277)
12241
36f84c37
GM
122422013-05-11 Glenn Morris <rgm@gnu.org>
12243
12244 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12245 Provide features.
12246
c8730c3a
LL
122472013-05-11 Leo Liu <sdl.web@gmail.com>
12248
12249 * progmodes/octave.el (octave-indent-comment): Improve.
12250 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12251 (octave-eldoc-function-signatures, octave-eldoc-function):
12252 New functions.
c8730c3a
LL
12253 (octave-mode, inferior-octave-mode): Add eldoc support.
12254
212e29f2
RS
122552013-05-11 Richard Stallman <rms@gnu.org>
12256
12257 * epa.el (epa-decrypt-file): Take output file name as argument
12258 and read it using `interactive'.
12259
083fe0d7
LL
122602013-05-11 Leo Liu <sdl.web@gmail.com>
12261
12262 * progmodes/octave.el (octave-beginning-of-line)
12263 (octave-end-of-line): Check before using up-list because it jumps
12264 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12265 (octave-indent-comment): New function.
12266 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12267 (octave-begin-keywords, octave-end-keywords)
12268 (octave-reserved-words, octave-smie-bnf-table)
12269 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12270
8582e4c4
GM
122712013-05-11 Glenn Morris <rgm@gnu.org>
12272
f20def1f
GM
12273 * faces.el (internal-face-x-get-resource):
12274 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12275 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12276 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12277 Fix declarations.
f20def1f 12278
445f95e2
GM
12279 * calc/calc-menu.el: Make it loadable in isolation.
12280
12281 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12282 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12283 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12284 (eudc-bbdb-query-internal): Require 'bbdb.
12285
99fb2756
GM
12286 * lpr.el (lpr-headers-switches):
12287 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12288
12289 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12290
0da7ad96
GM
12291 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12292
8582e4c4
GM
12293 * term.el (term-set-escape-char): Make it idempotent.
12294
f71c50d0
LL
122952013-05-10 Leo Liu <sdl.web@gmail.com>
12296
5ac2eb34
SM
12297 * progmodes/octave.el (inferior-octave-completion-table):
12298 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12299 completion due to bug#11906.
12300 (octave-beginning-of-defun): Re-write to be more general.
12301
d5837773
GM
123022013-05-10 Glenn Morris <rgm@gnu.org>
12303
12304 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12305
027c0f75
SM
123062013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12307
12308 * comint.el (comint-redirect-send-command-to-process): Use :around
12309 rather than :override for comint-redirect-filter.
12310 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12311 Call it instead of comint-redirect-original-filter-function (which
12312 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12313
4465bfb4
JD
123142013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12315
12316 * frame.el (display-monitor-attributes-list): Add NS case.
12317 (ns-display-monitor-attributes-list): Declare.
12318
2d809ffa 123192013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12320
12321 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12322
e54eeb9b
GM
123232013-05-09 Glenn Morris <rgm@gnu.org>
12324
56cd351d
GM
12325 * international/fontset.el (vertical-centering-font-regexp):
12326 Set standard-value.
12327
d84b6108
GM
12328 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12329
a931698a
GM
12330 * bookmark.el (bookmark-search-delay):
12331 * cus-start.el (vertical-centering-font-regexp):
12332 * ps-mule.el (ps-mule-font-info-database-default):
12333 * ps-print.el (ps-default-fg, ps-default-bg):
12334 * type-break.el (type-break-good-break-interval):
12335 * whitespace.el (whitespace-indentation-regexp)
12336 (whitespace-space-after-tab-regexp):
12337 * emacs-lisp/testcover.el (testcover-1value-functions)
12338 (testcover-noreturn-functions, testcover-progn-functions)
12339 (testcover-prog1-functions):
12340 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12341 * eshell/em-glob.el (eshell-glob-translate-alist):
12342 * play/tetris.el (tetris-tty-colors):
12343 * progmodes/cpp.el (cpp-face-default-list):
12344 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12345 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12346 (idlwave-help-browser-generic-args):
12347 * progmodes/make-mode.el (makefile-special-targets-list):
12348 * progmodes/python.el (python-shell-virtualenv-path):
12349 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12350 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12351 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12352 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12353 * textmodes/reftex-vars.el (reftex-format-label-function):
12354 * textmodes/remember.el (remember-diary-file): Fix custom types.
12355
e54eeb9b
GM
12356 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12357 Add :version.
12358
455851dd
LL
123592013-05-09 Leo Liu <sdl.web@gmail.com>
12360
12361 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12362 Restore file completion. (Bug#14300)
455851dd
LL
12363 (inferior-octave-startup): Fix incorrect highlighting for the
12364 first prompt.
12365
a9e4425b
SM
123662013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * progmodes/ruby-mode.el: First cut at SMIE support.
12369 (ruby-use-smie): New var.
12370 (ruby-smie-grammar): New constant.
12371 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12372 (ruby-smie--forward-token, ruby-smie--backward-token)
12373 (ruby-smie-rules): New functions.
12374 (ruby-mode-variables): Setup SMIE if applicable.
12375
060ca408
EZ
123762013-05-08 Eli Zaretskii <eliz@gnu.org>
12377
12378 * simple.el (line-move-visual): Signal beginning/end of buffer
12379 only if vertical-motion moved less than it was requested. Avoids
12380 silly incorrect error messages when there are display strings with
12381 multiple newlines at EOL.
12382
1d5963cc
SM
123832013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12384
12385 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12386 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12387 (prolog-char-quote-workaround):
12388 * progmodes/cperl-mode.el (cperl-under-as-char):
12389 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12390 Mark as obsolete.
12391 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12392 their declaration.
12393 (vhdl-mode-syntax-table-init): Remove.
12394
c9990474
SM
12395 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12396 last change.
1d5963cc
SM
12397
12398 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12399 syntax for "_".
12400 (ld-script-font-lock-keywords):
12401 Change regexps to use things like \_< and \_>.
12402
12403 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12404 Change all regexps to use things like \_< and \_>.
12405
12406 * progmodes/autoconf.el (autoconf-definition-regexp)
12407 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12408 Handle a _ with symbol syntax.
12409 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12410
c9990474
SM
12411 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12412 Consolidate declaration.
1d5963cc
SM
12413 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12414 the declaration.
12415 (ada-create-syntax-table): Remove.
12416 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12417 already has the right syntax nowadays.
12418 (ada-goto-next-word): Don't change the syntax of "_".
12419
12420 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12421 with-wrapper-hook.
12422
72d3cfca
SS
124232013-05-08 Sam Steingold <sds@gnu.org>
12424
12425 * thingatpt.el (thing-at-point): Accept optional second argument
12426 NO-PROPERTIES to strip the text properties from the return value.
12427 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12428 to `thing-at-point' instead of stripping the properties ourselves.
12429 Also, when `thing-at-point' fails to find a url, prepend "http://"
12430 to the filename at point on the assumption that the user is
12431 pointing at something like gnu.org/gnu.
12432
5cb15713
JB
124332013-05-08 Juanma Barranquero <lekktu@gmail.com>
12434
12435 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12436 * faces.el (crm-separator):
12437 Silence byte-compiler.
12438
12439 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12440 (tool-bar-map): Remove unneeded defvars.
12441
ea78b95b
LL
124422013-05-08 Leo Liu <sdl.web@gmail.com>
12443
12444 Re-work a fix for bug#10994 based on Le Wang's patch.
12445 * ido.el (ido-remove-consecutive-dups): New helper.
12446 (ido-completing-read): Use it.
12447 (ido-chop): Revert fix for bug#10994.
12448
dc7466df
AS
124492013-05-08 Adam Spiers <emacs@adamspiers.org>
12450
12451 * cus-edit.el (custom-save-variables):
12452 Pretty-print long values. (Bug#14187)
12453
9ecf672a
GM
124542013-05-08 Glenn Morris <rgm@gnu.org>
12455
12456 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12457 (m4-mode-syntax-table): Init in the defvar.
12458 (m4-mode-abbrev-table): Let define-derived-mode define it.
12459
3f555be8
TT
124602013-05-08 Tom Tromey <tromey@redhat.com>
12461
12462 * progmodes/m4-mode.el (m4-mode-syntax-table):
12463 Do not treat "_" as word constituent. (Bug#14167)
12464
7cc8ae06
GM
124652013-05-07 Glenn Morris <rgm@gnu.org>
12466
4f58bc06
GM
12467 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12468 Remove explicit eshell-isearch-cancel-map.
12469
7cc8ae06
GM
12470 * progmodes/f90.el (f90-smart-end-names): New option.
12471 (f90-smart-end): Doc fix.
12472 (f90-end-block-optional-name): New constant.
12473 (f90-block-match): Respect f90-smart-end-names.
12474
ceb57e59
SM
124752013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12476
12477 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12478 about implicit semi-colons (bug#14218).
12479
4e3f9230
YM
124802013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12481
12482 * frame.el (display-monitor-attributes-list)
12483 (frame-monitor-attributes): New functions.
12484
203a5572
LL
124852013-05-06 Leo Liu <sdl.web@gmail.com>
12486
12487 * progmodes/octave.el (octave-syntax-propertize-function): Change
12488 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12489 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12490 (octave-completion-at-point): Rename from
203a5572
LL
12491 octave-completion-at-point-function.
12492 (inferior-octave-directory-tracker): Robustify.
12493 (octave-text-functions): Remove and fix its uses. No such things
12494 any more.
12495
ee6cff99
SM
124962013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * emacs-lisp/trace.el (trace--display-buffer): New function.
12499 (trace-make-advice): Use it.
12500
32985194
JL
125012013-05-06 Juri Linkov <juri@jurta.org>
12502
12503 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12504 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12505 Doc fix.
12506 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12507 in the help string. (Bug#12985)
12508
a1c700de
KD
125092013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12510
12511 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12512
c67c0839
SM
125132013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12514
323885fd
SM
12515 * progmodes/perl-mode.el: Add support for here documents.
12516 (perl-syntax-propertize-function): Match here-doc markers.
12517 (perl-syntax-propertize-special-constructs): Find their end.
12518 (perl-imenu-generic-expression): Use [:alnum:].
12519
c67c0839
SM
12520 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12521 (advice--add-function): Refresh the advice if already present
12522 (bug#14317).
12523
d491e7a8
IA
125242013-05-06 Ivan Andrus <darthandrus@gmail.com>
12525
12526 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12527
ddf9925e
GM
125282013-05-06 Glenn Morris <rgm@gnu.org>
12529
7cc3af27
GM
12530 * w32-fns.el (w32-charset-info-alist): Declare.
12531
16e343d6
GM
12532 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12533 of its defcustom properties.
12534 (eshell-cmpl-initialize): No need to load pcomplete.
12535
7d889a47
GM
12536 * generic-x.el: No need to require comint when compiling.
12537
ddf9925e
GM
12538 * net/eudc-export.el: Make it loadable without bbdb.
12539 (top-level): Use require rather than load-library.
12540 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12541 (eudc-batch-export-records-to-bbdb)
12542 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12543 Require bbdb.
12544
1e2c18df
SM
125452013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12548 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12549 some tweaks, instead.
12550
02502a5f
LL
125512013-05-05 Leo Liu <sdl.web@gmail.com>
12552
12553 * progmodes/octave.el (octave-font-lock-keywords)
12554 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12555 (inferior-octave-send-list-and-digest): Improve error message.
12556 (octave-mode, inferior-octave-mode): Use setq-local.
12557 (octave-help): Set info-lookup-mode.
12558
0dc04f42
RS
125592013-05-05 Richard Stallman <rms@gnu.org>
12560
6c54491c
RS
12561 * vc/compare-w.el (compare-windows-whitespace):
12562 Treat no-break space as whitespace.
12563
0dc04f42
RS
12564 * mail/rmailsum.el (rmail-summary-rmail-update):
12565 Detect empty summary and don't change selected message.
12566 (rmail-summary-goto-msg): Likewise.
12567
df8f35df
RS
12568 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12569 Doc fixes, rename args.
12570
5356e1a3
AM
125712013-05-05 Alan Mackenzie <acm@muc.de>
12572
12573 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12574
d44014cb
JL
125752013-05-05 Juri Linkov <juri@jurta.org>
12576
12577 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12578 to not add the length of the summary segment to the return value.
12579 (Bug#14125)
12580
c129b51f
LL
125812013-05-05 Leo Liu <sdl.web@gmail.com>
12582
12583 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12584 (inferior-octave-output-filter): Remove.
12585 (octave-send-region, inferior-octave-startup): Fix callers.
12586 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12587 (octave-binary-file-extensions): New user variable.
12588 (octave-find-definition): Confirm if opening binary files.
12589 (octave-help-file): Use octave-find-definition to get the binary
12590 confirmation.
12591 (octave-help): Adjust for octave-help-file change.
12592
aa7dab97
SM
125932013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12594
12595 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12596 Merge the two entries that handle function definitions.
12597 (pascal--syntax-propertize): New const.
12598 (pascal-mode): Use it. Use setq-local.
12599
fd3a9a6b
GM
126002013-05-04 Glenn Morris <rgm@gnu.org>
12601
12602 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12603 (diary-from-outlook): Respect diary-from-outlook-function.
12604
30c7e542
SM
126052013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12606
12607 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12608 Move the declaration from C.
12609 (read-minibuffer, eval-minibuffer): Move from C.
12610 (completion-setup-function): Avoid minibuffer-completion-contents.
12611
b54f978b
LL
126122013-05-03 Leo Liu <sdl.web@gmail.com>
12613
12614 * progmodes/octave.el (octave-font-lock-keywords): Do not
12615 dehighlight 'end' in comments or strings.
30c7e542
SM
12616 (octave-completing-read, octave-goto-function-definition):
12617 New helpers.
d4d0f9b3
LL
12618 (octave-help-buffer): New user variable.
12619 (octave-help-file, octave-help-function): New button types.
12620 (octave-help): New command and bind it to C-h ;.
12621 (octave-find-definition): New command and bind it to M-.
d74a1581 12622 (user-error): Alias to error if not defined.
b54f978b 12623
27135018
LL
126242013-05-02 Leo Liu <sdl.web@gmail.com>
12625
12626 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12627 for \. (bug#14332)
12628 (octave-font-lock-keywords): Include [ and {.
12629
0d634d3a
LL
126302013-05-02 Leo Liu <sdl.web@gmail.com>
12631
12632 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12633 (inferior-octave): Remove calling comint-mode and return the buffer.
12634 (inferior-octave-startup): Cosmetic changes.
12635
b4c8295e
LL
126362013-05-02 Leo Liu <sdl.web@gmail.com>
12637
30c7e542
SM
12638 * progmodes/octave.el (octave-syntax-propertize-function):
12639 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12640
f12ad6ec
GM
126412013-05-02 Glenn Morris <rgm@gnu.org>
12642
12643 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12644 * desktop.el (vc-dir-mode): Just autoload it here.
12645
30cac1e0
AM
126462013-05-02 Alan Mackenzie <acm@muc.de>
12647
12648 Eliminate variable c-standard-font-lock-fontify-region-function.
12649 * progmodes/cc-mode.el
12650 (c-standard-font-lock-fontify-region-function): Remove.
12651 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12652
d8ef28b1
LL
126532013-05-01 Leo Liu <sdl.web@gmail.com>
12654
2640d52e 12655 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12656 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12657 variables were removed from Octave in 2007.
d8ef28b1
LL
12658 (inferior-octave-startup): Fix uses.
12659 (comint-line-beginning-position): Remove compatibility code for
12660 emacs 21.
12661
ac63ec89
JL
126622013-05-01 Juri Linkov <juri@jurta.org>
12663
12664 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12665
9e9be37c
JL
126662013-05-01 Juri Linkov <juri@jurta.org>
12667
12668 * comint.el (comint-previous-matching-input): Don't print message
12669 "History item: %d" when `isearch-mode' is active.
12670 (comint-history-isearch-message): Print message "History item: %d"
12671 when `comint-input-ring-index' is not empty and this function is
12672 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12673
9b92c13b
LL
126742013-05-01 Leo Liu <sdl.web@gmail.com>
12675
12676 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12677 definitions. Use completion-at-point to insert keywords.
12678 (octave-abbrev-start): Remove.
12679 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12680
b12d33d7
LL
126812013-04-30 Leo Liu <sdl.web@gmail.com>
12682
12683 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12684 change.
12685
3d1c39fa
AM
126862013-04-30 Alan Mackenzie <acm@muc.de>
12687
12688 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12689 * progmodes/cc-engine.el (c-back-over-member-initializers):
12690 new function.
3d1c39fa
AM
12691 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12692 (most) member init lists.
12693
5147fc17
RS
126942013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12695
12696 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12697 variable.
12698
5b78d7fc
LL
126992013-04-30 Leo Liu <sdl.web@gmail.com>
12700
12701 * progmodes/octave.el (octave-variables): Remove. No builtin
12702 variables any more. All converted to functions.
12703 (octave-font-lock-keywords, octave-completion-at-point-function):
12704 Fix uses.
12705 (octave-font-lock-texinfo-comment): New user variable.
12706 (octave-texinfo-font-lock-keywords): New variable for texinfo
12707 comment block.
12708 (octave-function-comment-block): New face.
12709 (octave-font-lock-texinfo-comment): New function.
12710 (octave-mode): Font lock texinfo comment block.
12711
38d8527b
LL
127122013-04-29 Leo Liu <sdl.web@gmail.com>
12713
12714 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12715 indexing expression.
12716 (octave-continuation-string): Do not use \.
12717 (inferior-octave-complete-impossible): Remove.
12718 (inferior-octave-completion-table)
12719 (inferior-octave-completion-at-point): Remove its uses.
12720 (inferior-octave-startup): completion_matches was introduced to
12721 Octave in 1996 so safe to assume it.
12722 (octave-function-file-comment): Improve to follow how Octave does it.
12723 (octave-update-function-file-comment): Tweak.
12724
2ec12cb0
LL
127252013-04-29 Leo Liu <sdl.web@gmail.com>
12726
12727 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12728 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12729 (octave-function-file-comment): Fix typo.
12730 (octave-sync-function-file-names): Use read-char-choice.
12731
6eaed048
JB
127322013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12733
12734 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12735 to t for the less important warnings.
12736
3ffa2d4f
DH
127372013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12738
12739 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12740
685c9501
GM
127412013-04-27 Glenn Morris <rgm@gnu.org>
12742
12743 * vc/log-view.el (log-view-current-entry):
12744 Treat "---" separator lines as part of the following rev. (Bug#14169)
12745
0208ede7
JL
127462013-04-27 Juri Linkov <juri@jurta.org>
12747
12748 * subr.el (read-number): Doc fix about using it by interactive
12749 code letter `n'. (Bug#14254)
12750
5db9dace
JL
127512013-04-27 Juri Linkov <juri@jurta.org>
12752
12753 * desktop.el (desktop-auto-save-timeout): New option.
12754 (desktop-file-checksum): New variable.
12755 (desktop-save): Add optional arg `auto-save' and don't auto-save
12756 if nothing changed.
12757 (desktop-auto-save-timer): New variable.
12758 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12759 (after-init-hook): Call `desktop-auto-save-set-timer'.
12760 Suggested by Reuben Thomas <rrt@sc3d.org> in
12761 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12762
b7260dd4
LL
127632013-04-27 Leo Liu <sdl.web@gmail.com>
12764
12765 * progmodes/octave.el (octave-function-file-p)
12766 (octave-skip-comment-forward, octave-function-file-comment)
12767 (octave-update-function-file-comment): New functions.
12768 (octave-mode-map): Bind C-c ; to
12769 octave-update-function-file-comment.
12770 (octave-mode-menu): Add octave-update-function-file-comment.
12771 (octave-mode, inferior-octave-mode): Fix doc-string.
12772 (octave-insert-defun): Conform to Octave's coding convention.
12773 (Bug#14285)
12774
12775 * files.el (basic-save-buffer): Don't let errors in
12776 before-save-hook prevent saving buffer.
12777
c46da669
RW
127782013-04-20 Roland Winkler <winkler@gnu.org>
12779
12780 * faces.el (read-face-name): Use completing-read if arg multiple
12781 is nil.
12782
a81ee1eb
IL
127832013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12784
12785 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12786 displayed, move point to after the totals line.
12787 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12788 for the details.
12789
4fac34ce
SM
127902013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12791
12792 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12793 Add current dir to the load-path.
12794 (package-generate-autoloads): Don't rely on
12795 autoload-ensure-default-file.
12796
f6bfc063
RT
127972013-04-26 Reuben Thomas <rrt@sc3d.org>
12798
d40ab5cf
BG
12799 * textmodes/remember.el (remember-store-in-files): Document that
12800 the file name format is passed to `format-time-string'.
f6bfc063 12801
e55d3b04
LL
128022013-04-26 Leo Liu <sdl.web@gmail.com>
12803
12804 * progmodes/octave.el (octave-sync-function-file-names): New function.
12805 (octave-mode): Use it in before-save-hook.
12806
e53052d3
SM
128072013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12808
140ef50c
SM
12809 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12810 (bug#14274).
12811
e53052d3
SM
12812 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12813 \n and comment, even if it's not an implicit ; (bug#14218).
12814
af80458d 128152013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12816
12817 * subr.el (read-number): Once more use `read' rather than
12818 `string-to-number', to trap non-numeric input. (Bug#14254)
12819
af80458d 128202013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12821
12822 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12823 Use `syntax-multiline' text property consistently instead of
8a621d53 12824 `font-lock-multiline'. (Bug#14237)
70203c2e 12825
e6ea1f6c
GM
128262013-04-26 Glenn Morris <rgm@gnu.org>
12827
12828 * emacs-lisp/shadow.el (list-load-path-shadows):
12829 No longer necessary to check for duplicate simple.el, since
12830 2012-07-07 change to init_lread to not include installation lisp
12831 directories in load-path when running uninstalled. (Bug#14270)
12832
070ccca4
LL
128332013-04-26 Leo Liu <sdl.web@gmail.com>
12834
12835 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12836 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12837 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12838 octave-in-string-or-comment-p.
12839 (octave-in-comment-p, octave-in-string-p)
12840 (octave-in-string-or-comment-p): Replace defsubst with defun.
12841
9d1c5fb6
PE
128422013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12843
12844 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12845
c034abda
BG
128462013-04-25 Bastien Guerry <bzg@gnu.org>
12847
12848 * textmodes/remember.el (remember-data-directory)
12849 (remember-directory-file-name-format): Fix custom types.
12850
584ea277
LL
128512013-04-25 Leo Liu <sdl.web@gmail.com>
12852
e53052d3
SM
12853 * progmodes/octave.el (octave-completion-at-point-function):
12854 Make use of inferior octave process.
584ea277
LL
12855 (octave-initialize-completions): Remove.
12856 (inferior-octave-completion-table): New function.
12857 (inferior-octave-completion-at-point): Use it.
12858 (octave-completion-alist): Remove.
12859
1693b06a
SM
128602013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12861
12862 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12863 (opascal-mode-syntax-table): New var.
12864 (opascal-literal-kind, opascal-is-literal-end)
12865 (opascal-literal-token-at): Rewrite.
12866 (opascal--literal-start-re, opascal-font-lock-keywords)
12867 (opascal--syntax-propertize): New constants.
12868 (opascal-font-lock-defaults): Adjust.
12869 (opascal-mode): Use them. Set comment-<foo> variables as well.
12870 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12871 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12872 (delphi-other-face, opascal-other-face): Remove face variables.
12873 (opascal-save-state): Remove macro.
12874 (opascal-fontifying-progress-step): Remove constant.
12875 (opascal--ignore-changes): Remove var.
12876 (opascal-set-token-property, opascal-parse-next-literal)
12877 (opascal-is-stable-literal, opascal-complete-literal)
12878 (opascal-is-literal-start, opascal-face-of)
12879 (opascal-parse-region, opascal-parse-region-until-stable)
12880 (opascal-fontify-region, opascal-after-change)
12881 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12882 (opascal-debug-parse-region, opascal-debug-parse-window)
12883 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12884 (opascal-debug-fontify-buffer): Remove.
12885 (opascal-debug-mode-map): Adjust accordingly.
12886
be64c05d
LL
128872013-04-25 Leo Liu <sdl.web@gmail.com>
12888
12889 Merge octave-mod.el and octave-inf.el into octave.el with some
12890 cleanups.
12891 * progmodes/octave.el: New file renamed from octave-mod.el.
12892 * progmodes/octave-inf.el: Merged into octave.el.
12893 * progmodes/octave-mod.el: Renamed to octave.el.
12894
d79d37bd
TH
128952013-04-25 Tassilo Horn <tsdh@gnu.org>
12896
12897 * textmodes/reftex-vars.el
12898 (reftex-label-ignored-macros-and-environments): New defcustom.
12899
12900 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12901
ced3fc5d
SM
129022013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12903
12904 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12905 (smie-indent-keyword): Improve the check to ensure that the next
12906 comment is really on the same line.
12907 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12908
12909 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12910 semi-colons if the line is not otherwise empty (bug#14218).
12911
1c141dad
GM
129122013-04-25 Glenn Morris <rgm@gnu.org>
12913
12914 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12915
5058062a
SM
129162013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12917
12918 * progmodes/opascal.el (opascal-set-token-property): Rename from
12919 opascal-set-text-properties and only set `token' (bug#14134).
12920 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12921 (opascal-literal-text-properties): Remove.
12922 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12923 Adjust callers.
12924
5db9dace 129252013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12926
12927 * textmodes/remember.el (remember-handler-functions): Add an
12928 option for a new handler `remember-store-in-files'.
12929 (remember-data-directory, remember-directory-file-name-format):
12930 New options.
12931 (remember-store-in-files): New function to store remember notes
12932 as separate files within a directory.
12933
4391916c
MH
129342013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12935
12936 * progmodes/compile.el (compilation-next-error-function):
12937 Pass "formats" to compilation-find-file (bug#11777).
12938
bb7cdf58
GM
129392013-04-24 Glenn Morris <rgm@gnu.org>
12940
3b8fe752 12941 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12942 * vc/vc-hg.el (vc-hg-print-log):
12943 * vc/vc-svn.el (vc-svn-print-log):
12944 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12945
bb7cdf58
GM
12946 * vc/vc-bzr.el (vc-bzr-print-log):
12947 * vc/vc-cvs.el (vc-cvs-print-log):
12948 * vc/vc-git.el (vc-git-print-log):
12949 * vc/vc-hg.el (vc-hg-print-log):
12950 * vc/vc-mtn.el (vc-mtn-print-log):
12951 * vc/vc-rcs.el (vc-rcs-print-log):
12952 * vc/vc-sccs.el (vc-sccs-print-log):
12953 * vc/vc-svn.el (vc-svn-print-log):
12954 * vc/vc.el (vc-print-log-internal): Doc fixes.
12955
b46a056e
GM
129562013-04-23 Glenn Morris <rgm@gnu.org>
12957
12958 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12959 Remove venerable code attempting to avoid substitute-command-keys.
12960
0aecf718
TH
129612013-04-23 Tassilo Horn <tsdh@gnu.org>
12962
4391916c
MH
12963 * textmodes/reftex-vars.el (reftex-label-regexps):
12964 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12965
117f94cf
SM
129662013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12967
4391916c 12968 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12969 Use lexical-binding.
12970 (jit-lock-force-redisplay): Use markers, check buffer's continued
12971 existence and beware narrowed buffers.
12972 (jit-lock-fontify-now): Adjust call accordingly.
12973
1d829c64
SM
129742013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12975
12976 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12977 to avoid misleading the user.
12978
72d548a9
LL
129792013-04-22 Leo Liu <sdl.web@gmail.com>
12980
12981 * info-look.el: Prefer latex2e.info. (Bug#14240)
12982
d0853629
MA
129832013-04-22 Michael Albinus <michael.albinus@gmx.de>
12984
12985 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12986
12987 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12988 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12989 (tramp-set-completion-function, tramp-parse-putty):
12990 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12991 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12992 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12993 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12994 (tramp-call-local-coding-command): Use `tramp-call-process'
12995 instead of `tramp-compat-call-process'.
12996
12997 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12998 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 12999 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13000 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13001 (tramp-maybe-send-script): Check for Perl binary.
13002 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13003
38cc0210
DU
130042013-04-22 Daiki Ueno <ueno@gnu.org>
13005
13006 * epg.el (epg-context-pinentry-mode): New function.
13007 (epg-context-set-pinentry-mode): New function.
13008 (epg--start): Pass --pinentry-mode option to gpg command.
13009
cc641ee1
XF
130102013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13011
02d844b5 13012 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13013 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13014 `completion-at-point'. (Bug#13774)
5d4e5c31 13015
cc641ee1
XF
13016 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13017 default key binding for `describe-distribution' has been moved to
13018 `C-h C-o'. (Bug#13970)
13019
1b42ee43
GM
130202013-04-21 Glenn Morris <rgm@gnu.org>
13021
13022 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13023 Add doc strings.
13024 (vc-print-log): Clarify interactive prompt.
13025
a6d63d97
GM
130262013-04-20 Glenn Morris <rgm@gnu.org>
13027
13028 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13029 No longer include timestamp etc information.
13030
d7f5c16f
RW
130312013-04-20 Roland Winkler <winkler@gnu.org>
13032
13033 * faces.el (read-face-name): Bug fix, return just one face if arg
13034 multiple is nil. (Bug#14209)
13035
bcd7a0a4
SM
130362013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13037
13038 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13039 (remove-function): Autoload.
13040
13041 * comint.el (comint-redirect-original-filter-function): Remove.
13042 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13043 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13044 (vc-cvs-annotate-command):
bcd7a0a4
SM
13045 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13046 * progmodes/prolog.el (prolog-consult-compile):
13047 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13048 Use add/remove-function instead.
13049 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13050 (gud-tooltip-process-output, gud-tooltip-tips):
13051 Use add/remove-function instead.
13052 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13053 (scheme-interaction-mode, exit-scheme-interaction-mode):
13054 Use add/remove-function instead.
13055
13056 * vc/vc-dispatcher.el: Use lexical-binding.
13057 (vc--process-sentinel): Rename from vc-process-sentinel.
13058 Change last arg to be the code to run. Don't use vc-previous-sentinel
13059 and vc-sentinel-commands any more.
13060 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13061 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13062
e36b2d20 130632013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13064
bcd7a0a4 13065 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13066 Handle function names with a single character. (Bug#14111)
4d3268ba 13067
27821a89 130682013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13069
13070 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13071 for subroutines defined in an eval (bug#14182).
13072
7d688336
TV
130732013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13074
13075 * bookmark.el (bookmark-completing-read): Improve handling of empty
13076 string (bug#14176).
13077
31dcede0
SM
130782013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13079
13080 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13081
adc31213
FEG
130822013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13083
13084 New faster Imenu implementation (bug#14058).
13085 * progmodes/python.el:
13086 (python-imenu-prev-index-position):
13087 (python-imenu-format-item-label-function)
13088 (python-imenu-format-parent-item-label-function)
13089 (python-imenu-format-parent-item-jump-label-function):
13090 New vars.
13091 (python-imenu-format-item-label)
13092 (python-imenu-format-parent-item-label)
13093 (python-imenu-format-parent-item-jump-label)
13094 (python-imenu--put-parent, python-imenu--build-tree)
13095 (python-imenu-create-index, python-imenu-create-flat-index)
13096 (python-util-popn): New functions.
13097 (python-mode): Set imenu-create-index-function to
13098 python-imenu-create-index.
13099
cdca8255
SM
131002013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13101
13102 * winner.el (winner-active-region): Use region-active-p, activate-mark
13103 and deactivate-mark (bug#14225).
13104
13105 * simple.el (deactivate-mark): Don't inline it.
13106
beb42340
MA
131072013-04-18 Michael Albinus <michael.albinus@gmx.de>
13108
13109 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13110
fc7f4d7e
TH
131112013-04-18 Tassilo Horn <tsdh@gnu.org>
13112
13113 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13114 file extensions from the archive-mode entry in order to prefer
13115 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13116
29f47822
LL
131172013-04-18 Leo Liu <sdl.web@gmail.com>
13118
13119 * bindings.el (help-event-list): Add ?\?.
13120
d36ed1c8
SM
131212013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13122
13123 * subr.el (with-wrapper-hook): Declare obsolete.
13124 * simple.el (filter-buffer-substring-function): New hook.
13125 (filter-buffer-substring): Use it.
13126 (filter-buffer-substring-functions): Mark obsolete.
13127 * minibuffer.el (completion-in-region-function): New hook.
13128 (completion-in-region): Use it.
13129 (completion-in-region-functions): Mark obsolete.
13130 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13131 * abbrev.el (abbrev-expand-function): New hook.
13132 (expand-abbrev): Use it.
13133 (abbrev-expand-functions): Mark obsolete.
13134 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13135 and :filter-return.
13136
04754d36
FEG
131372013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13138
13139 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13140 and do not care about match data.
13141
dd8791e9
SM
131422013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13145 completion tables when completing error conditions and
13146 `declare' arguments.
13147 (lisp-complete-symbol, field-complete): Mark as obsolete.
13148 (check-parens): Unmatched parens are user errors.
13149 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13150
ffe54a13
AM
131512013-04-17 Michal Nazarewicz <mina86@mina86.com>
13152
dd8791e9
SM
13153 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13154 command changed buffer (ie. `flyspell-pre-buffer' is not current
13155 buffer), which prevents making decisions based on invalid value of
13156 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13157 cause an error when `flyspell-pre-point' was nil after switching
13158 buffers.
13159 (flyspell-post-command-hook): No longer needs to change buffers when
13160 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13161
ec7e39f2
AM
131622013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13163
13164 * textmodes/ispell.el (ispell-add-per-file-word-list):
13165 Fix `flyspell-correct-word-before-point' error when accepting
13166 words and `coment-padding' is an integer by using
13167 `comment-normalize-vars' (Bug #14214).
13168
083850a6
FEG
131692013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13170
13171 New defun movement commands.
13172 * progmodes/python.el (python-nav--syntactically)
13173 (python-nav--forward-defun, python-nav-backward-defun)
13174 (python-nav-forward-defun): New functions.
13175
619ed6e1
FEG
131762013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13177
13178 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13179 (python-syntax-context): Use named compiler-macro for backwards
13180 compatibility with Emacs 24.x.
13181
7a1beb6c
LL
131822013-04-17 Leo Liu <sdl.web@gmail.com>
13183
13184 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13185 octave-hide-process-buffer.
13186
2d3fa3e5
SM
131872013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13188
13189 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13190 (bug#14216).
13191
7ce5be54
JPG
131922013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13193
13194 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13195 Fix adjustment of offset when receiving incomplete responses from GDB
13196 (bug#14129).
13197
351edece
SM
131982013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13199
13200 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13201 python-mode-abbrev-table.
13202 (python-skeleton-define): Adjust accordingly.
13203 (python-mode-abbrev-table): New table that inherits from it so that
13204 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13205
13206 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13207 (abbrev-symbol): Use it.
13208 (abbrev--before-point): Use it since we already handle inheritance.
13209
613f9481
LL
132102013-04-16 Leo Liu <sdl.web@gmail.com>
13211
13212 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13213 binding to info-lookup-symbol.
13214
51646b62
JB
132152013-04-16 Juanma Barranquero <lekktu@gmail.com>
13216
13217 * minibuffer.el (completion--twq-all):
13218 * term/ns-win.el (ns-initialize-window-system):
13219 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13220
efb3f01d
SM
132212013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13222
36c0a301
SM
13223 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13224 global bindings.
13225
efb3f01d
SM
13226 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13227
fb549d64
DG
132282013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13229
13230 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13231 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13232 to nil.
13233 (ruby-end-of-defun): Remove the unused arg, change the docstring
13234 to reflect that this function is only used as the value of
13235 `end-of-defun-function'.
13236 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13237 to reflect an earlier change that beginning/end-of-defun functions
13238 jump between methods in a class definition, as well as top-level
13239 functions.
13240
21e8fe2f
SM
132412013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13242
13243 * minibuffer.el (minibuffer-complete): Don't just scroll
13244 a *Completions* that's been iconified.
13245 (minibuffer-force-complete): Make sure repetitions do cycle when going
13246 through completion-in-region -> minibuffer-complete.
13247
20e527d0
AM
132482013-04-15 Alan Mackenzie <acm@muc.de>
13249
13250 Correct the placement of c-cpp-delimiters when there're #s not at
13251 col 0.
13252
13253 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13254 place a submatch around the #.
21e8fe2f
SM
13255 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13256 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13257 on the #, not BOL.
13258
dabefae5
SM
132592013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13262 (advice--member-p): New arg `name'.
13263 (advice--add-function, advice-member-p): Use it (bug#14202).
13264
85c9ab64
AM
132652013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13266
13267 Reformulate java imenu-generic-expression.
13268 The old expression contained ill formed regexps.
13269
13270 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13271 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13272 (cc-imenu-java-method-arg-regexp): New defconsts.
13273 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13274 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13275 handling of spaces in the regexp.
13276
0f821d99
AM
132772013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13278
13279 * textmodes/ispell.el (ispell-command-loop): Remove
13280 flyspell highlight of a word when ispell accepts it (bug #14178).
13281
eb922adf
MA
132822013-04-15 Michael Albinus <michael.albinus@gmx.de>
13283
13284 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13285 uses code from the previous `ange-ftp-run-real-handler'.
13286 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13287 only in case that function exist. This is needed for proper
13288 unloading of Tramp.
13289
4d9a0979
TH
132902013-04-15 Tassilo Horn <tsdh@gnu.org>
13291
13292 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13293
13294 * textmodes/reftex.el (reftex-compile-variables): Use it.
13295
a829b0dc
SM
132962013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13297
91e8293c
SM
13298 * files.el (normal-mode): Only use default major-mode if no other mode
13299 was specified.
13300
830aed4d
SM
13301 * emacs-lisp/trace.el (trace-values): New function.
13302
a829b0dc
SM
13303 * files.el: Allow : in local variables (bug#14089).
13304 (hack-local-variable-regexp): New var.
13305 (hack-local-variables-prop-line, hack-local-variables): Use it.
13306
7ae9f0fb
RW
133072013-04-13 Roland Winkler <winkler@gnu.org>
13308
13309 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13310 data before it gets modified by bibtex-beginning-of-entry.
13311
6646e848
RW
133122013-04-13 Roland Winkler <winkler@gnu.org>
13313
13314 * textmodes/bibtex.el (bibtex-url): Doc fix.
13315
133162013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13317
13318 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13319 does not visit a BibTeX file, exclude it from the list of buffers
13320 returned by bibtex-initialize.
13321
0aa3616e
SB
133222013-04-13 Stephen Berman <stephen.berman@gmx.net>
13323
13324 * window.el (split-window): Remove interactive form, since as a
13325 command this function is a special case of split-window-below.
13326 Correct doc string.
13327
011cddd6
RW
133282013-04-12 Roland Winkler <winkler@gnu.org>
13329
13330 * faces.el (read-face-name): Do not override value of arg default.
13331 Allow single faces and strings as default values. Remove those
13332 elements from return value that are not faces.
13333 (describe-face): Simplify.
13334 (face-at-point): New optional args thing and multiple so that this
13335 function can provide the same functionality previously provided by
13336 read-face-name.
13337 (make-face-bold, make-face-unbold, make-face-italic)
13338 (make-face-unitalic, make-face-bold-italic, invert-face)
13339 (modify-face, read-face-and-attribute): Use face-at-point.
13340
13341 * cus-edit.el (customize-face, customize-face-other-window)
13342 * cus-theme.el (custom-theme-add-face)
13343 * face-remap.el (buffer-face-set)
13344 * facemenu.el (facemenu-set-face): Use face-at-point.
13345
f24e0036
MA
133462013-04-12 Michael Albinus <michael.albinus@gmx.de>
13347
13348 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13349
da3cda2d
TH
133502013-04-10 Tassilo Horn <tsdh@gnu.org>
13351
13352 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13353 off leading { and trailing } from field values.
13354
15e54145
SM
133552013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13356
78ce603d
SM
13357 * emacs-lisp/timer.el (timer--check): New function.
13358 (timer--time, timer-set-function, timer-event-handler): Use it.
13359 (timer-set-idle-time): Simplify.
13360 (timer--activate): CSE.
13361 (timer-event-handler): Give more info in error message.
13362 (internal-timer-start-idle): New function, moved from C.
13363
15e54145
SM
13364 * mpc.el (mpc-proc): Add `restart' argument.
13365 (mpc-proc-cmd): Use it.
13366 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13367 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13368 less often.
13369
7144c627
MY
133702013-04-10 Masatake YAMATO <yamato@redhat.com>
13371
13372 * progmodes/sh-script.el: Implement `sh-mode' own
13373 `add-log-current-defun-function' (bug#14112).
13374 (sh-current-defun-name): New function.
13375 (sh-mode): Use the function.
13376
b39792eb
BG
133772013-04-09 Bastien Guerry <bzg@gnu.org>
13378
13379 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13380
8acdeb71
SM
133812013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13382
6fcdab68
SM
13383 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13384
8acdeb71
SM
13385 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13386 timer (bug#14156).
13387
e3e7b504
NF
133882013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13389
13390 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13391 declaration.
13392
201bb296
LL
133932013-04-07 Leo Liu <sdl.web@gmail.com>
13394
13395 * pcmpl-x.el: New file.
13396
ebb19708
DA
133972013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13398
13399 Do not set x-display-name until X connection is established.
13400 This is needed to prevent from weird situation described at
13401 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13402 * frame.el (make-frame): Set x-display-name after call to
13403 window system initialization function, not before.
13404 * term/x-win.el (x-initialize-window-system): Add optional
13405 display argument and use it.
13406 * term/w32-win.el (w32-initialize-window-system):
13407 * term/ns-win.el (ns-initialize-window-system):
13408 * term/pc-win.el (msdos-initialize-window-system):
13409 Add compatible optional display argument.
13410
33bb237a
EZ
134112013-04-06 Eli Zaretskii <eliz@gnu.org>
13412
13413 * files.el (normal-backup-enable-predicate): On MS-Windows and
13414 MS-DOS compare truenames of temporary-file-directory and of the
13415 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13416 don't fail comparison by compare-strings. Also, compare file
13417 names case-insensitively on MS-Windows and MS-DOS.
13418
134abf1f
SM
134192013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13420
13421 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13422 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13423
d695cb94
DG
134242013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13425
e3e7b504
NF
13426 * whitespace.el (whitespace-color-on, whitespace-color-off):
13427 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13428
f4ad7ea1 134292013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13430
13431 * ispell.el (ispell-set-spellchecker-params):
13432 Really set `ispell-args' for all equivs.
13433
632556e4
SM
134342013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13435
13436 * ido.el (ido-completions): Use extra elements of ido-decorations
13437 (bug#14143).
13438 (ido-decorations): Update docstring.
13439
2a417372
MA
134402013-04-05 Michael Albinus <michael.albinus@gmx.de>
13441
13442 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13443 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13444 nil during initialization, in order not to miss changes since the
13445 file was opened. (Bug#14140)
13446
fc164b0c
LL
134472013-04-05 Leo Liu <sdl.web@gmail.com>
13448
13449 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13450
0ccecc08
JB
134512013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13452
13453 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13454
51af1aa2
GM
134552013-04-04 Glenn Morris <rgm@gnu.org>
13456
13457 * electric.el (electric-pair-inhibit-predicate): Add :version.
13458
b208ebc6
SM
134592013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13460
13461 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13462 when a package is required several times (bug#14082).
13463
f3d3eaf0
RW
134642013-04-04 Roland Winkler <winkler@gnu.org>
13465
13466 * faces.el (read-face-name): Behave as promised by the docstring.
13467 Assume that arg default is a list of faces.
13468 (describe-face): Call read-face-name with list of default faces.
13469
2575da50
TV
134702013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13471
13472 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13473 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13474 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13475 the header.
13476 (bookmark-exit-hook-internal): Save even if list is empty.
13477
397703b4
YH
134782013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13479
13480 * emacs-lisp/package.el (package-pinned-packages): New var.
13481 (package--add-to-archive-contents): Obey it (bug#14118).
13482
691e26ae
AM
134832013-04-03 Alan Mackenzie <acm@muc.de>
13484
8a621d53
JB
13485 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13486 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13487
13488 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13489 parameter `not-in-delimiter'. Handle being inside comment opener.
13490 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13491 character in case we're typing a '*' after a '/'.
13492 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13493 instead by passing the parameter to c-state-pp-to-literal.
13494
13495 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13496 for elt. 7 of a parse state.
13497
4b725a70
PE
134982013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13499
13500 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13501 * international/latin1-disp.el, international/mule-util.el:
13502 * language/cyril-util.el, language/european.el, language/ind-util.el:
13503 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13504 * language/tibetan.el, language/viet-util.el:
13505 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13506
15c579f0
SM
135072013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13508
13509 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13510 (electric-pair-post-self-insert-function): Use it.
13511 (electric-pair-default-inhibit): New function, extracted from
13512 electric-pair-post-self-insert-function.
13513
a77e2924
RW
135142013-03-31 Roland Winkler <winkler@gnu.org>
13515
13516 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13517
2bd8a4a8
SM
135182013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13519
13520 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13521
8d3655be 135222013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13523
13524 Un-indent after "pass" and "return" statements (Bug#13888)
13525 * progmodes/python.el (python-indent-block-enders): New var.
13526 (python-indent-calculate-indentation): Use it.
13527
8d3655be 135282013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13529
13530 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13531 defun. Defining it as defalias could introduce too eager
13532 byte-compiler optimization. (Bug#14030)
13533
8d3655be 135342013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13535
13536 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13537
0b1619da
LL
135382013-03-30 Leo Liu <sdl.web@gmail.com>
13539
13540 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13541 (kmacro-execute-from-register): Pass the keyboard macro to
13542 kmacro-call-macro or repeating won't work correctly.
13543
0b938190
TZ
135442013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13545
13546 * progmodes/subword.el: Back to using `forward-symbol'.
13547
13548 * subr.el (forward-whitespace, forward-symbol)
13549 (forward-same-syntax): Move from thingatpt.el.
13550
35710234
LL
135512013-03-29 Leo Liu <sdl.web@gmail.com>
13552
13553 * kmacro.el (kmacro-to-register): New command.
13554 (kmacro-execute-from-register): New function.
13555 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13556
efc0bb73
SM
135572013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13558
13559 * mpc.el: Use defvar-local and setq-local.
13560 (mpc--proc-connect): Connection failures are not bugs.
13561 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13562 (mpc-volume-map): Bind to the up-events.
13563
75a2f981
TZ
135642013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13565
13566 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13567 instead of `forward-symbol'.
13568
17c781d1
SM
135692013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13572 (edebug--recursive-edit): Use it.
13573 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13574 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13575
f67bfbcf
LL
135762013-03-28 Leo Liu <sdl.web@gmail.com>
13577
13578 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13579
b59f639d
EZ
135802013-03-27 Eli Zaretskii <eliz@gnu.org>
13581
13582 * facemenu.el (list-colors-callback): New defvar.
13583 (list-colors-redisplay): New function.
13584 (list-colors-display): Install list-colors-redisplay as the
13585 revert-buffer-function. (Bug#14063)
13586
f557c1b1
SM
135872013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13588
b1da2957
SM
13589 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13590 and suffixes don't overlap (bug#14061).
13591
f557c1b1
SM
13592 * case-table.el: Use lexical-binding.
13593 (case-table-get-table): New function.
13594 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13595
002668e1
TZ
135962013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13597
13598 * progmodes/subword.el: Add `superword-mode' to do word motion
13599 over symbol_words (parallels and leverages `subword-mode' which
13600 does word motion inside MixedCaseWords).
13601
73572c72
AG
136022013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13603
78b8f320 13604 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13605 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13606
69b2c07e
SM
136072013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13608
13609 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13610 Change return value to be a sexp. Delay `get-buffer' to after
13611 restoring the desktop (bug#13951).
13612
08bb5ee2
LL
136132013-03-26 Leo Liu <sdl.web@gmail.com>
13614
13615 * register.el: Move semantic tag handling back to
13616 cedet/semantic/senator.el. (Bug#14052)
13617
8d4c974e
SM
136182013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13619
13620 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13621 into the prompt either (bug#13963).
13622
b234d92c
SM
136232013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13624
13625 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13626 part of "(error-foo)".
13627
ddfa3cb4
JL
136282013-03-24 Juri Linkov <juri@jurta.org>
13629
13630 * replace.el (list-matching-lines-prefix-face): New defcustom.
13631 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13632 `occur-engine' if `face-differs-from-default-p' returns t.
13633 (occur-engine): Add `,' inside backquote construct to evaluate
13634 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13635 Pass `prefix-face' to the functions `occur-context-lines' and
13636 `occur-engine-add-prefix'.
13637 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13638 `prefix-face' and propertize the prefix with `prefix-face'.
13639 (Bug#14017)
13640
7b0e2f85
LL
136412013-03-24 Leo Liu <sdl.web@gmail.com>
13642
13643 * nxml/rng-valid.el (rng-validate-while-idle)
13644 (rng-validate-quick-while-idle): Guard against deleted buffer.
13645 (Bug#13999)
13646
13647 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13648 is the last entry in kill-buffer-hook.
13649
13650 * files.el (kill-buffer-hook): Doc fix.
13651
b3082f49
DG
136522013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13653
b234d92c
SM
13654 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13655 Make it safe-local.
bde73d27 13656
b3082f49
DG
13657 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13658
a320a2db
LL
136592013-03-23 Leo Liu <sdl.web@gmail.com>
13660
7e74b0fb
LL
13661 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13662 Remove.
13663
13664 * nxml/rng-valid.el (rng-validate-mode)
13665 (rng-after-change-function, rng-do-some-validation):
13666 * nxml/rng-maint.el (rng-validate-buffer):
13667 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13668 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13669 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13670 (nxml-extend-after-change-region): Use with-silent-modifications.
13671
a320a2db
LL
13672 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13673 timer-idle-list.
13674
13675 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13676 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13677 timer-idle-list. (Bug#13999)
13678
e38e6780
JL
136792013-03-23 Juri Linkov <juri@jurta.org>
13680
13681 * info.el (info-index-match): New face.
13682 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13683 main pattern and add text properties with the new face to matches
13684 in index entries relative to the beginning of the index entry.
13685 (Bug#14015)
13686
e8cc7880
DE
136872013-03-21 Eric Ludlam <zappo@gnu.org>
13688
39c87140 13689 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13690 Inhibit read only while inserting objects.
13691
9bb0d822
TZ
136922013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13693
13694 * progmodes/cfengine.el: Update docs to mention
13695 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13696 symbol motion. Remove "_" from the word syntax.
13697
aa703640
TZ
136982013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13699
13700 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13701 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13702
afff09d0
JL
137032013-03-20 Juri Linkov <juri@jurta.org>
13704
13705 * info.el (Info-next-reference-or-link)
13706 (Info-prev-reference-or-link): New functions.
13707 (Info-next-reference, Info-prev-reference): Use them.
13708 (Info-try-follow-nearest-node): Handle footnote navigation.
13709 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13710
9a1ff164
SM
137112013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13712
13713 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13714 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13715
2667d15d
PE
137162013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13717
13718 Suppress unnecessary non-ASCII chatter during build process.
13719 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13720 (batch-skkdic-convert): Suppress most of the chatter.
13721 It's not needed so much now that machines are faster,
13722 and its non-ASCII component was confusing; see Dmitry Gutov in
13723 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13724
438b0579
LL
137252013-03-20 Leo Liu <sdl.web@gmail.com>
13726
13727 * ido.el (ido-chop): Fix bug#10994.
13728
c128ab07
DG
137292013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13730
13731 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13732 Remove vars.
9a1ff164
SM
13733 (whitespace-color-on, whitespace-color-off):
13734 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13735
0e6008c5
SM
137362013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13737
13738 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13739 remapping in mode-line.
13740 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13741
627b52b0
DG
137422013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13743
13744 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13745 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13746 (whitespace-font-lock-keywords): Change description.
13747 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13748 the constructed keywords instead.
13749 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13750
50c3a20b
LL
137512013-03-19 Leo Liu <sdl.web@gmail.com>
13752
13753 * progmodes/compile.el (compilation-display-error): New command.
13754 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13755 C-o. (Bug#13992)
13756
2aa2157b
PE
137572013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13758
13759 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13760
e477dbfa
JD
137612013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13762
13763 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13764
64ab82d1
MA
137652013-03-18 Michael Albinus <michael.albinus@gmx.de>
13766
13767 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13768
13769 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13770 * net/tramp-gvfs.el (top):
13771 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13772 (tramp-handle-shell-command): Use it.
13773 (tramp-dissect-file-name): Raise an error when hostname is a
13774 method name, and neither method nor user is specified.
13775
13776 * net/trampver.el: Update release number.
13777
33cef733
LL
137782013-03-18 Leo Liu <sdl.web@gmail.com>
13779
13780 Make sure eldoc can be turned off properly.
13781 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13782 eldoc-mode.
13783 (eldoc-display-message-p): Revert last change.
13784 (eldoc-display-message-no-interference-p)
13785 (eldoc-print-current-symbol-info): Tweak.
13786
2167b7b2
TH
137872013-03-18 Tassilo Horn <tsdh@gnu.org>
13788
13789 * doc-view.el (doc-view-new-window-function): Check the new window
13790 overlay's display property instead the char property of the
13791 buffer's first char. Use `with-selected-window' instead of
13792 `save-window-excursion' with `select-window'.
13793 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13794 display property instead the char property of the buffer's first char.
2167b7b2 13795
982efbcd
PE
137962013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13797
13798 Automate the build of ja-dic.el (Bug#13984).
13799 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13800 from the input, rather than assume that it's been done for us by the
13801 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13802 the current date into a ja-dic.el comment, as that complicates
13803 regression testing.
13804
2fcc7665
SM
138052013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13806
13807 * whitespace.el: Fix double evaluation.
13808 (whitespace-space, whitespace-hspace, whitespace-tab)
13809 (whitespace-newline, whitespace-trailing, whitespace-line)
13810 (whitespace-space-before-tab, whitespace-indentation)
13811 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13812 obsolete defvars.
13813 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13814 (whitespace-color-on): Use a single font-lock-add-keywords call.
13815 Fix double-evaluation of face variables.
13816
67c0a6e6
MA
138172013-03-17 Michael Albinus <michael.albinus@gmx.de>
13818
2fcc7665
SM
13819 * net/tramp-adb.el (tramp-adb-parse-device-names):
13820 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13821 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13822
69489f1d
LL
138232013-03-17 Leo Liu <sdl.web@gmail.com>
13824
13825 Extend eldoc to display info in the mode-line. (Bug#13978)
13826 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13827 (eldoc-mode-line-string): New variable.
13828 (eldoc-minibuffer-message): New function.
13829 (eldoc-message-function): New variable.
13830 (eldoc-message): Use it.
13831 (eldoc-display-message-p)
2fcc7665
SM
13832 (eldoc-display-message-no-interference-p):
13833 Support eldoc-post-insert-mode.
69489f1d
LL
13834
13835 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13836 (eval-expression): Run it.
13837
9c44569e
RW
138382013-03-17 Roland Winkler <winkler@gnu.org>
13839
13840 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13841 strings in the list of return values.
13842
327f1f6f
JB
138432013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13844
13845 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13846 radix before checking for HMS forms.
13847
67ed8fcd
LL
138482013-03-16 Leo Liu <sdl.web@gmail.com>
13849
13850 * progmodes/scheme.el: Add indentation and font-locking for λ.
13851 (Bug#13975)
13852
78be8b64 138532013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13854
13855 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13856 token before point (bug#13942).
13857
78be8b64 138582013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13859
95b43468 13860 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13861
98e775e6
EZ
138622013-03-16 Eli Zaretskii <eliz@gnu.org>
13863
13864 * startup.el (command-line-normalize-file-name): Fix handling of
13865 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13866 <xfq.free@gmail.com> in
13867 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13868
2edd6029
MA
138692013-03-15 Michael Albinus <michael.albinus@gmx.de>
13870
13871 Sync with Tramp 2.2.7.
13872
13873 * net/trampver.el: Update release number.
13874
d35f5864
TH
138752013-03-14 Tassilo Horn <tsdh@gnu.org>
13876
e903c210 13877 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
13878 (doc-view-insert-image): Don't modify overlay associated to
13879 non-live windows, and implement horizontal centering of image in
13880 case it's smaller than the window.
13881 (doc-view-new-window-function): Force redisplay of new windows on
13882 doc-view buffers.
d35f5864 13883
1c4a85ed
KF
138842013-03-13 Karl Fogel <kfogel@red-bean.com>
13885
13886 * saveplace.el (save-place-alist-to-file): Don't sort
13887 `save-place-alist', just pretty-print it (bug#13882).
13888
85b66a21
MA
138892013-03-13 Michael Albinus <michael.albinus@gmx.de>
13890
a020afb9
JB
13891 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13892 Check whether `default-file-name-coding-system' is bound.
13893 It isn't in XEmacs.
85b66a21 13894
175600da
SM
138952013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13896
e7f7cb1a
SM
13897 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13898 backquotes for `obsolete' (bug#13929).
13899
175600da
SM
13900 * international/mule.el (find-auto-coding): Include file name in
13901 obsolescence warning (bug#13922).
13902
ca68a22e
TZ
139032013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13904
13905 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13906 for CFEngine 3-specific indentation.
13907 (cfengine3-indent-line): Use it. Fix up category regex.
13908 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13909
940e5099
SM
139102013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * type-break.el (type-break-file-name):
13913 * textmodes/remember.el (remember-data-file):
13914 * strokes.el (strokes-file):
13915 * shadowfile.el (shadow-initialize):
13916 * saveplace.el (save-place-file):
13917 * ps-bdf.el (bdf-cache-file):
13918 * progmodes/idlwave.el (idlwave-config-directory):
13919 * net/quickurl.el (quickurl-url-file):
13920 * international/kkc.el (kkc-init-file-name):
13921 * ido.el (ido-save-directory-list-file):
13922 * emulation/viper.el (viper-custom-file-name):
13923 * emulation/vip.el (vip-startup-file):
13924 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13925 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13926
cc725808
PE
139272013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13928
13929 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13930 * language/thai-word.el: Switch to UTF-8.
13931
a020afb9 13932See ChangeLog.16 for earlier changes.
e3d51b27
MR
13933
13934;; Local Variables:
13935;; coding: utf-8
e3d51b27
MR
13936;; End:
13937
ba318903 13938 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13939
13940 This file is part of GNU Emacs.
13941
13942 GNU Emacs is free software: you can redistribute it and/or modify
13943 it under the terms of the GNU General Public License as published by
13944 the Free Software Foundation, either version 3 of the License, or
13945 (at your option) any later version.
13946
13947 GNU Emacs is distributed in the hope that it will be useful,
13948 but WITHOUT ANY WARRANTY; without even the implied warranty of
13949 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13950 GNU General Public License for more details.
13951
13952 You should have received a copy of the GNU General Public License
13953 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.