lib-src/emacsclient.c (main): #ifdef out previous change on Windows.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
eb67db41
JL
12014-03-09 Juri Linkov <juri@jurta.org>
2
3 * ansi-color.el (ansi-color-names-vector): Copy default colors
4 from `xterm-standard-colors' that look well on the default white
5 background (and also on the black background) to avoid illegible
8cf07e5a 6 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
7 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
8
e7db5447
JB
92014-03-08 Juanma Barranquero <lekktu@gmail.com>
10
11 * frameset.el (frameset-restore): When no frame is visible, do not
12 generate a list of frames, just make visible the selected one.
13
f0a4c8d7
DG
142014-03-08 Dmitry Gutov <dgutov@yandex.ru>
15
16 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
17 it only contains the repository root. (Bug#16897)
18
e50772e3
MA
192014-03-07 Michael Albinus <michael.albinus@gmx.de>
20
21 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
22 only when `remote-file-name-inhibit-cache' is nil.
23 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
24
cac0a1d6
MR
252014-03-06 Martin Rudalics <rudalics@gmx.at>
26
27 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
28 Fix doc-strings.
29 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
30 fit-frame-to-buffer variable. Fix doc-string.
31 (fit-window-to-buffer): Set ONLY argument in call of
32 fit-frame-to-buffer. Fix doc-string.
33
fa965cbf
MA
342014-03-06 Michael Albinus <michael.albinus@gmx.de>
35
36 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
37 (tramp-action-password): Clear password cache if needed.
38 (tramp-read-passwd): Do not clear password cache.
39
40 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
41 cache unless it is the first password request.
42
c94e6ee4
GM
432014-03-06 Glenn Morris <rgm@gnu.org>
44
03bc753e
GM
45 * simple.el (newline): Doc tweak.
46
c94e6ee4
GM
47 * emacs-lisp/shadow.el (load-path-shadows-find):
48 Ignore dir-locals. (Bug#12357)
49
bd2d43dc
GM
502014-03-05 Glenn Morris <rgm@gnu.org>
51
52 * files.el (interpreter-mode-alist):
53 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
54
9284000e
JB
552014-03-05 Juanma Barranquero <lekktu@gmail.com>
56
57 * frameset.el (frameset--initial-params): Filter out null entries.
58
e1a2cb1c
MR
592014-03-05 Martin Rudalics <rudalics@gmx.at>
60
27821a89
JB
61 * window.el (window-min-height, window-min-width):
62 Rewrite doc-strings.
e1a2cb1c
MR
63 (window-body-size): Add PIXELWISE argument to make it consistent
64 with its callees.
65
6bf67038
JB
662014-03-05 Juanma Barranquero <lekktu@gmail.com>
67
68 * finder.el (finder-mode-map, finder-mode-syntax-table):
69 Revert part of 2014-02-28 change.
70
90f04e4c
LI
712014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
72
73 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
74 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
75 (eww-textarea-map): [tab] doesn't work on tty.
76 Reported by Mario Lang.
6952100d
LI
77
78 * net/shr.el (shr-map): Ditto.
90f04e4c 79
3106d59b
GM
802014-03-04 Glenn Morris <rgm@gnu.org>
81
82 * minibuffer.el (completion-hilit-commonality):
83 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
84
f604dfdc
JB
852014-03-04 Juanma Barranquero <lekktu@gmail.com>
86
87 * hilit-chg.el (hilit-chg-unload-function): New function.
88 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
89 (hilit-chg-map-changes): Prefer cardinal number to digit.
90 (hilit-chg-display-changes): Reflow docstring.
91 (highlight-changes-rotate-faces): Remove superfluous backslash.
92
5dc65319
MA
932014-03-04 Michael Albinus <michael.albinus@gmx.de>
94
95 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
96 `tramp-send-command-and-check'.
97
4242d21d
JB
982014-03-04 Juanma Barranquero <lekktu@gmail.com>
99
b01fa838
JB
100 * hexl.el (hexl-address-region, hexl-ascii-region)
101 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
102 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
103 (hexl-forward-word, hexl-previous-line, hexl-next-line):
104 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
105 (hexl-mode): Doc fix.
106 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
107 (hexl-mode-ruler): Fix typos in docstrings.
108
4242d21d
JB
109 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
110 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
111 Remove superfluous backslashes.
112 (strokes-last-stroke, strokes-global-map, strokes-mode):
113 Reflow docstrings.
114 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
115 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
116 (strokes-distance-squared, strokes-global-set-stroke)
117 (strokes-global-set-stroke-string): Doc fixes.
118 (strokes-help): Fix typos; reflow docstring.
119
87132570
MR
1202014-03-04 Martin Rudalics <rudalics@gmx.at>
121
122 * window.el (window-in-direction): Fix doc-string.
123
d82e752c
GM
1242014-03-04 Glenn Morris <rgm@gnu.org>
125
126 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
127 Explicit error if no grammar.
128 (smie-config-save): Doc fix. Fix quote typo.
129
62528af0
SM
1302014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
131
8d4901dc
SM
132 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
133 electric-indent-mode-hook if we obey electric-indent-mode.
134 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
135 decide whether we obey electric-indent-mode.
136 (c-change-set-fl-decl-start, c-extend-after-change-region):
137 Silence warnings.
138 (c-electric-indent-mode-hook): Assume we do want to obey
139 electric-indent-mode.
140
141 * electric.el (electric-indent-mode-has-been-called): Remove.
142 (electric-indent-mode): Fix accordingly.
143
092c12b2
SM
144 * files.el (hack-local-variables): Mention file name in warning.
145
62528af0
SM
146 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
147
5b87d0d9
MN
1482014-03-04 Michal Nazarewicz <mina86@mina86.com>
149
150 * binding.el: Add comment describing why C-d binds to `delete-char'.
151 * simple.el (delete-forward-char): Mark as interactive-only.
152
542a3840
JB
1532014-03-03 Juanma Barranquero <lekktu@gmail.com>
154
f2d2402e
GM
155 * icomplete.el (icomplete-completions):
156 Follow-up to 2014-03-01 change.
d11320e5
JB
157
158 * icomplete.el: Miscellaneous doc fixes.
159 Use Icomplete everywhere instead of icomplete for consistency.
160 (icomplete-max-delay-chars): Fix typo.
161 (icomplete-mode): Use \[].
162 (icomplete-tidy, icomplete-exhibit): Reflow.
163 (icomplete-minibuffer-setup-hook, icomplete-completions):
164 Remove superfluous backlashes.
165
166 * ido.el: Miscellaneous doc fixes.
167 Use Ido everywhere instead of ido or `ido' for consistency.
168 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
169 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
170 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
171 (ido-separator): Extract obsolescence info from docstring and declare
172 with make-obsolete-variable.
173 (ido-minibuffer-setup-hook): Simplify example.
174 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
175 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
176 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
177 (ido-everywhere): Reflow docstring.
178 (ido-toggle-vc): Doc fix.
179 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
180 of long list of keybindings.
181
7ebd57e9
GM
1822014-03-03 Glenn Morris <rgm@gnu.org>
183
184 * frame.el (display-pixel-height, display-pixel-width)
185 (display-mm-dimensions-alist, display-mm-height)
186 (display-mm-width): Doc tweaks.
187
35e951cd 1882014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
189
190 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
191 case of undo in region.
192
b923819c
MR
1932014-03-02 Martin Rudalics <rudalics@gmx.at>
194
195 * window.el (fit-window-to-buffer): Fix argument in window-size
196 call when window is horizontally combined.
197
b6e443c5
JB
1982014-03-02 Juanma Barranquero <lekktu@gmail.com>
199
200 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 201 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 202
1850913d
DG
2032014-03-01 Dmitry Gutov <dgutov@yandex.ru>
204
35e951cd
JB
205 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
206 Highlight regexp options. (Bug#16914)
1850913d 207
04b577b6
MR
2082014-03-01 Martin Rudalics <rudalics@gmx.at>
209
210 * window.el (window--max-delta-1): Round down when calculating
211 how many lines/columns we can get from a window.
212
b829360f
GM
2132014-03-01 Glenn Morris <rgm@gnu.org>
214
2501c912
GM
215 * isearch.el (search-invisible): Doc fix.
216
b829360f
GM
217 * minibuffer.el (completion-hilit-commonality):
218 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
219 * comint.el (comint-dynamic-list-completions): Doc fix.
220 * comint.el (comint-dynamic-list-completions):
221 * filecache.el (file-cache-minibuffer-complete):
222 * tempo.el (tempo-display-completions):
223 * eshell/em-hist.el (eshell-list-history):
224 Replace use of obsolete argument of display-completion-list.
225
9a155058
JB
2262014-03-01 Juanma Barranquero <lekktu@gmail.com>
227
228 * icomplete.el (icomplete-completions):
229 Revert back to using "..." when ?… cannot be displayed.
230
53f6cda8
JB
2312014-02-28 Juanma Barranquero <lekktu@gmail.com>
232
233 * finder.el (finder-unload-function): New function.
234
43977c23
JB
2352014-02-28 Juanma Barranquero <lekktu@gmail.com>
236
237 * dframe.el (dframe-detach):
238 * find-dired.el (find-dired, find-name-dired):
239 * finder.el (finder-mode-map, finder-mode-syntax-table)
240 (finder-headmark, finder-select, finder-mouse-select):
241 Fix docstring typos.
242
9dda75ad
MR
2432014-02-28 Martin Rudalics <rudalics@gmx.at>
244
245 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
246 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
247 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
248 Fix doc-string based on a suggestion by Nicolas Richard
249 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
250 * help.el (with-help-window): Fix doc-string.
251
8a73034e
IK
2522014-02-28 Ivan Kanis <ivan@kanis.fr>
253
b70257b0
GM
254 * net/shr.el (shr-image-animate): New option.
255 (shr-put-image): Respect shr-image-animate.
8a73034e 256
245aa73e
MA
2572014-02-28 Michael Albinus <michael.albinus@gmx.de>
258
259 * net/tramp-adb.el (tramp-adb-parse-device-names):
260 Use `accept-process-output'.
261 (tramp-adb-handle-file-truename): Cache the localname only.
262 (tramp-adb-handle-make-directory)
263 (tramp-adb-handle-delete-directory): Flush file properties correctly.
264 (tramp-adb-handle-set-file-modes): Do not raise an error when file
265 modes cannot be changed.
266
267 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
268 file properties of symlinks.
269
48e15d64
PS
2702014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
271
272 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
273 required/optional fields to match development biblatex. (Bug#16781)
274
65b77347
AS
2752014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
276
277 * saveplace.el (toggle-save-place):
278 Fix argument handling. (Bug#16673)
279
5e618aba
GM
2802014-02-28 Glenn Morris <rgm@gnu.org>
281
282 * minibuffer.el (completions-first-difference)
283 (completions-common-part, completion-hilit-commonality): Doc fixes.
284
6deb314e
KB
2852014-02-28 Karl Berry <karl@gnu.org>
286
287 * info.el (Info-mode-map): Add H for describe-mode,
288 to synchronize with standalone Info.
289
289996f5
EL
2902014-02-28 Emilio C. Lopes <eclig@gmx.net>
291
292 * progmodes/sql.el (sql-interactive-mode):
293 Avoid setting global comint-input-ring-separator. (Bug#16814)
294
79fc1191
MA
2952014-02-27 Michael Albinus <michael.albinus@gmx.de>
296
297 * net/dbus.el (dbus--init-bus): Declare function.
298 (dbus-path-local, dbus-interface-local): New defconst.
299 (dbus-init-bus): Use them.
300 (dbus-return-values-table): Extend doc.
301 (dbus-handle-bus-disconnect): Extend error message.
302
298520df
JB
3032014-02-27 Juanma Barranquero <lekktu@gmail.com>
304
305 * subr.el (y-or-n-p): Fix double space issue in message.
306
c22c1614
MA
3072014-02-27 Michael Albinus <michael.albinus@gmx.de>
308
309 * net/tramp.el (tramp-call-process): Improve trace message.
310 (tramp-handle-insert-file-contents): Trace error case.
311
312 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
313 <insert-directory>: Use `tramp-handle-insert-directory'.
314 (tramp-adb-handle-insert-directory): Remove function.
315 (tramp-adb-send-command-and-check): New defun, replacing
316 `tramp-adb-command-exit-status'. Change all callees.
317 (tramp-adb-handle-file-attributes)
318 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
319 (tramp-adb-ls-output-name-less-p):
320 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
321 (tramp-adb-handle-delete-directory): Flush also file properties of
322 the truename of directory.
323 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
324 (tramp-adb-handle-file-local-copy): Make the local copy readable.
325 (tramp-adb-handle-write-region): Implement APPEND.
326 (tramp-adb-handle-rename-file): Make it more robust. Flush file
327 properties correctly.
328 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
329 variables. Check for connected devices only when needed.
330
d9263618
GM
3312014-02-27 Glenn Morris <rgm@gnu.org>
332
ea7826ba
GM
333 * minibuffer.el (completion-table-dynamic)
334 (completion-table-with-cache): Doc fixes.
335
d9263618
GM
336 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
337 (completing-read-multiple): Doc fixes.
338
eff3168a
DC
3392014-02-27 Daniel Colascione <dancol@dancol.org>
340
51f213c3
DC
341 * minibuffer.el (completion--nth-completion): Fix indentation.
342
eff3168a
DC
343 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
344 explicit tramp path is empty.
345
b77cfcd7
GM
3462014-02-27 Glenn Morris <rgm@gnu.org>
347
348 * emacs-lisp/crm.el (completing-read-multiple):
349 Empower help-enable-auto-load.
350
9577b569
GM
3512014-02-26 Glenn Morris <rgm@gnu.org>
352
259887e8
GM
353 * startup.el (command-line): Don't init the tty in daemon mode.
354
1d491ef2
GM
355 Avoid calling tty-setup-hook twice, eg if a term file
356 explicitly calls tty-run-terminal-initialization. (Bug#16859)
357 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
358 (tty-create-frame-with-faces): Use it.
359 * startup.el (command-line): Pass run-hook argument
360 to tty-run-terminal-initialization.
361
9577b569
GM
362 * dired.el (dired-restore-desktop-buffer): Demote errors;
363 eg in case a glob match fails. (Bug#16884)
364
40ff7f86
DG
3652014-02-26 Dmitry Gutov <dgutov@yandex.ru>
366
b2388336
DG
367 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
368 error from `read-from-string'. (Bug#16850)
369
40ff7f86
DG
370 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
371 result of `completing-read' in the interactive form. (Bug#16854)
372
98bd6b32
GM
3732014-02-25 Glenn Morris <rgm@gnu.org>
374
f086804c
GM
375 * image.el (image-animate, image-animate-timeout):
376 Stop animating images in dead buffers. (Bug#16878)
377
c107155e
GM
378 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
379
9577b569
GM
380 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
381 Doc fixes.
98bd6b32
GM
382 * startup.el (term-setup-hook): Doc fix. Make obsolete.
383 * term/sun.el (sun-raw-prefix-hooks):
384 Use tty-setup-hook instead of term-setup-hook.
385 (terminal-init-sun): Construct message from bytecomp plist.
386 * term/wyse50.el (enable-arrow-keys): Doc fix.
387
9c9e18e8
JB
3882014-02-24 Juanma Barranquero <lekktu@gmail.com>
389
390 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
391 Fix docstring typos.
392
c848881f
MA
3932014-02-24 Michael Albinus <michael.albinus@gmx.de>
394
395 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
396
0e38ae05
NR
3972014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
398
399 * minibuffer.el (completion--try-word-completion):
400 Fix error when completing M-x commands (bug#16808).
401
8ee4c296
LL
4022014-02-24 Leo Liu <sdl.web@gmail.com>
403
404 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
405
7d4bd627
JB
4062014-02-24 Juanma Barranquero <lekktu@gmail.com>
407
408 * apropos.el (apropos-print): Avoid formatting error when
409 apropos-do-all and apropos-compact-layout are both t.
410
e918e27f
JB
4112014-02-23 Juanma Barranquero <lekktu@gmail.com>
412
413 * apropos.el (apropos-property, apropos-all-words-regexp)
414 (apropos-true-hit, apropos-variable, apropos-print):
415 Fix docstring typos, and remove obsolete comment.
416
85c01f80
MA
4172014-02-23 Michael Albinus <michael.albinus@gmx.de>
418
419 * net/tramp-sh.el (tramp-sh-handle-file-truename):
420 Preserve trailing "/". (Bug#16851)
421
62f95022
DG
4222014-02-23 Dmitry Gutov <dgutov@yandex.ru>
423
424 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
425 after `=>' (bug#16811).
dfdb365c
DG
426 (ruby-smie-rules): Handle the inconsistent second element of the
427 list returned by `smie-indent--parent'.
428 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
429 method call.
62f95022 430
025f2c81
JB
4312014-02-23 Juanma Barranquero <lekktu@gmail.com>
432
433 * elec-pair.el (electric-pair-text-syntax-table)
434 (electric-pair-syntax-info, electric-pair--syntax-ppss)
435 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
436 (electric-pair--looking-at-unterminated-string-p): Doc fix.
437 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
438
123c84f9
GM
4392014-02-22 Glenn Morris <rgm@gnu.org>
440
612c3e46
GM
441 * imenu.el (imenu--generic-function): Doc fix.
442
123c84f9
GM
443 * register.el (frame-configuration-to-register): Make obsolete.
444
e59fa9ad
JB
4452014-02-22 Juanma Barranquero <lekktu@gmail.com>
446
447 * desktop.el (desktop-save-buffer-p): Do not fail when
448 desktop-files-not-to-save is nil. Return t for true result
449 as the doc says.
450
4e652634
DC
4512014-02-22 Daniel Colascione <dancol@dancol.org>
452
27821a89 453 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
454 Check that attribute values are strings, avoiding the construction
455 of invalid dbus messages.
4e652634 456
f35affb6
JB
4572014-02-21 Juanma Barranquero <lekktu@gmail.com>
458
459 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
460 defun-declarations-alist.
461
3d136b1b
SM
4622014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
465 (bug#16829).
466
612ddfc0
JB
4672014-02-21 Juanma Barranquero <lekktu@gmail.com>
468
469 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
470 (whitespace-newline, whitespace-trailing, whitespace-line)
471 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
472 (whitespace-space-after-tab): Fix typo in docstrings.
473
c8481b1b
DG
4742014-02-21 Dmitry Gutov <dgutov@yandex.ru>
475
cb8f50a7
DG
476 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
477
c8481b1b
DG
478 * electric.el (electric-indent-functions-without-reindent):
479 Add `yaml-indent-line'.
480
bed5126f
JB
4812014-02-21 Juanma Barranquero <lekktu@gmail.com>
482
34b71457
JB
483 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
484 It has done nothing for years; should be removed after the release.
485
bed5126f
JB
486 * simple.el (choose-completion): Fix docstring typo.
487 (read-quoted-char-radix): Remove unneeded * in docstring.
488 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
489 Don't escape parentheses unnecessarily in docstrings.
490
8dd3e94f
MR
4912014-02-21 Martin Rudalics <rudalics@gmx.at>
492
493 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
494 * window.el (window--dump-window, window--dump-frame):
495 New functions.
496 (window--min-size-1): Account for window dividers.
497 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
498 sum of the window components has been calculated.
499 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
500 nil make sure at least one text line and two text columns remain
501 fully visible.
502 (window-resize): Signal an error when window-resize-apply fails.
503 (window--resize-child-windows): Fix calculation of by how many
504 pixels a window can still be shrunk via window-new-normal.
505 (adjust-window-trailing-edge): Call window--resizable with
506 correct TRAIL argument.
507
2ed94e04
MR
508 (with-temp-buffer-window): Don't evaluate BODY within
509 with-current-buffer (Bug#16816).
510
0e5324c4
MA
5112014-02-21 Michael Albinus <michael.albinus@gmx.de>
512
513 * net/tramp.el (tramp-check-cached-permissions):
514 Call `file-attributes' with `suffix' being a symbol but a string.
515
48198420
DC
5162014-02-21 Daniel Colascione <dancol@dancol.org>
517
518 * net/dbus.el (dbus-init-bus-1): Declare new subr.
519 (dbus-init-bus): New function: call into dbus-init-bus-1
520 and installs a handler for the disconnect signal.
521 (dbus-call-method): Rewrite to look for result in cons.
522 (dbus-call-method-handler): Store result in cons.
523 (dbus-check-event): Recognize events with nil sender as valid.
524 (dbus-handle-bus-disconnect): New function. React to bus
525 disconnection signal by synthesizing dbus error for each
526 pending synchronous or asynchronous call.
527 (dbus-notice-synchronous-call-errors): New function.
528 (dbus-handle-event): Raise errors directly only when `dbus-debug'
529 is true, not all the time.
530
99e15133
JB
5312014-02-21 Juanma Barranquero <lekktu@gmail.com>
532
e48983a6
JB
533 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
534 Remove obsolescence declarations, these variables do not exist anymore.
535
fdcfd745
JB
536 * savehist.el (savehist-save-minibuffer-history)
537 (savehist-additional-variables, savehist-file, savehist-mode-hook)
538 (savehist-save-hook, savehist-coding-system, savehist-loaded)
539 (savehist-load, savehist-install, savehist-autosave): Fix typos;
540 mostly, refer to "Savehist mode" when talking about the mode,
541 and not the function.
542
99e15133
JB
543 * saveplace.el (save-place): Remove redundant info in docstring.
544 (save-place-forget-unreadable-files, toggle-save-place)
545 (save-place-forget-unreadable-files, save-place-dired-hook):
546 Fix typos and remove unneeded backslashes.
547
f5bee33b
MA
5482014-02-20 Michael Albinus <michael.albinus@gmx.de>
549
550 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
551 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
552
553 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 554 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
555 (tramp-gvfs-handle-insert-directory): Remove function.
556
557 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
558 Call `tramp-handle-insert-directory'.
559
ee0761ca
JB
5602014-02-20 Juanma Barranquero <lekktu@gmail.com>
561
562 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
563 before the start of buffer/region (bug#16799).
564
4d49cc65
GM
5652014-02-20 Glenn Morris <rgm@gnu.org>
566
567 * isearch.el (search-invisible): Doc fix.
568
eee0d650
TK
5692014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
570
571 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
572 (bug#16657).
573
94e5e202
JB
5742014-02-19 Juanma Barranquero <lekktu@gmail.com>
575
576 * frameset.el (frameset-restore): Delay removing an old frame's
577 duplicate id until the new frame has been correctly created.
578
50bfdd5d
MA
5792014-02-19 Michael Albinus <michael.albinus@gmx.de>
580
581 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
582 (tramp-check-cached-permissions): Call `file-attributes' if the
583 cache is empty.
584
585 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 586 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
587
588 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 589 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
590 (tramp-gvfs-maybe-open-connection): Set always connection
591 properties, even if target is mounted already.
592
593 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
594 Set tramp-autoload cookie.
595 (tramp-get-remote-touch): New defun.
596 (tramp-sh-handle-set-file-times): Use it.
597 (tramp-sh-handle-directory-files-and-attributes):
598 Use `tramp-handle-directory-files-and-attributes' if neither stat
599 nor perl are available on the remote host.
600
601 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
602 "/". Write long listing only when "l" belongs to the switches.
603
604 * net/trampver.el: Update release number.
605
f097a3d2
JB
6062014-02-19 Juanma Barranquero <lekktu@gmail.com>
607
608 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
609
8e009b78
MR
6102014-02-19 Martin Rudalics <rudalics@gmx.at>
611
612 * window.el (window-state-put): Allow WINDOW to refer to an
613 internal window (Bug#16793).
614
95160c90
GM
6152014-02-19 Glenn Morris <rgm@gnu.org>
616
617 * textmodes/remember.el: Move provide statement to end.
618 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
619 (remember-notes): Doc fixes.
620
b28df58c
SM
6212014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * delsel.el (delete-char): Restore incorrectly erased property
624 (bug#16795).
625
7108e1c0
JB
6262014-02-18 Juanma Barranquero <lekktu@gmail.com>
627
628 * frameset.el (frameset--restore-frame): When a frame is being reused
629 and its root window is not alive, delete all the frame's windows before
630 restoring the window state. This works around the issue in bug#16793.
631
c863b6ad
GM
6322014-02-18 Glenn Morris <rgm@gnu.org>
633
a73fae1f
GM
634 * textmodes/remember.el (remember-data-directory)
635 (remember-directory-file-name-format, remember-store-in-files)
636 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
637 (remember-notes-save-and-bury-buffer)
638 (remember-notes--kill-buffer-query): Doc fixes.
639
c863b6ad
GM
640 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
641
29238d28
AM
6422014-02-17 Alan Mackenzie <acm@muc.de>
643
644 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 645 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 646 to electric-indent-{,local-}-mode.
b28df58c
SM
647 (c-basic-common-init): Set electric-indent-inhibit.
648 Initialise c-electric-flag from electric-indent-mode.
29238d28 649 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 650 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
651
652 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 653 hit, toggle electric-indent-local-mode.
29238d28 654
b28df58c
SM
655 * electric.el (electric-indent-mode-has-been-called):
656 New variable.
29238d28 657
c6463340
JB
6582014-02-17 Juanma Barranquero <lekktu@gmail.com>
659
660 * frameset.el (frameset-cfg-id): New function.
661 (frameset--reuse-frame, frameset-restore): Use it.
662 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
663
94912b88
SM
6642014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * ido.el (ido-file-internal): Remove unused var `d'.
667 Use \` for to match BoS. Fit within 80n columns.
668
26ea164c
DC
6692014-02-17 Daniel Colascione <dancol@dancol.org>
670
671 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
672 dbus-call-method check for completion using a busy-wait loop with
673 gradual backoff.
674
dd7691b7
MA
6752013-10-02 Michael Albinus <michael.albinus@gmx.de>
676
677 Sync with Tramp 2.2.9.
678
679 * net/trampver.el: Update release number.
680
17d1b51b
DG
6812014-02-16 Dmitry Gutov <dgutov@yandex.ru>
682
683 * ido.el (ido-file-internal): Don't add the name of an existing
684 directory twice. (Bug#16747)
685
5bcad689
GM
6862014-02-16 Glenn Morris <rgm@gnu.org>
687
688 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
689 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
690
6912014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
692
693 * progmodes/sql.el: Version 3.4
694 (sql-oracle-options): New default value ("-L").
94912b88 695 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 696 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 697 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
698 (sql-login-delay): New variable.
699 (sql-product-interactive): Use it.
700
285f1858
JB
7012014-02-15 Juanma Barranquero <lekktu@gmail.com>
702
703 * frameset.el (frameset--jump-to-register): Check that buffer is live
704 (bug#16749).
705
5d645ea4
GM
7062014-02-15 Glenn Morris <rgm@gnu.org>
707
708 * info.el (info-initialize): Revert 2014-01-10 change.
709
48c4f9b1
GM
7102014-02-14 Glenn Morris <rgm@gnu.org>
711
b8630261
GM
712 * replace.el (map-query-replace-regexp)
713 (read-regexp-defaults-function, read-regexp): Doc fixes.
714
b2bf2a25
GM
715 * dired.el (dired-read-regexp):
716 * faces.el (list-faces-display):
717 * misearch.el (multi-isearch-read-matching-buffers)
718 (multi-isearch-read-matching-files):
719 * play/cookie1.el (cookie-apropos):
720 * progmodes/grep.el (grep-read-regexp): Doc fixes.
721
48c4f9b1
GM
722 * textmodes/remember.el (remember): Use frameset-to-register
723 rather than frame-configuration-to-register.
724
2804e0bd
JB
7252014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
726
727 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
728 incorrect keybinding.
729
0b87142f
DC
7302014-02-13 Daniel Colascione <dancol@dancol.org>
731
732 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
733 when adding overlays so that line numbers from compiler match line
734 numbers we use.
735
47a73eb0
GM
7362014-02-13 Glenn Morris <rgm@gnu.org>
737
8abcfd51
GM
738 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
739
47a73eb0
GM
740 * jit-lock.el (jit-lock-mode): Doc fix.
741
c9b6b262
JB
7422014-02-13 Juanma Barranquero <lekktu@gmail.com>
743
744 * apropos.el (apropos-read-pattern): When the user passes an empty
745 string, give a more helpful error message than "Wrong type
746 argument: stringp, nil".
747
eb4c6947
SM
7482014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
751
0dab5068
GM
7522014-02-13 Glenn Morris <rgm@gnu.org>
753
754 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
755
59075dcf
SM
7562014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
759 shift-select commands.
760
5af9fbad
DG
7612014-02-12 Dmitry Gutov <dgutov@yandex.ru>
762
763 * progmodes/js.el (js-indent-line): Don't widen.
764 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
765
a215930c
GM
7662014-02-12 Glenn Morris <rgm@gnu.org>
767
a8cb4247
GM
768 * icomplete.el (icomplete): Add info-link to defgroup.
769 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
770 (icomplete-minibuffer-map, icomplete-mode)
771 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
772
a215930c
GM
773 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
774 (package-menu-filter): Rename from package-menu-filter-interactive.
775 Doc fix.
776
26c5ecd9
JB
7772014-02-11 Juanma Barranquero <lekktu@gmail.com>
778
779 * frameset.el (frameset--jump-to-register): Select the required
780 window and buffer before restoring position (bug#16696).
781
fcd58a02
LI
7822014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
783
784 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
785
bacb3380
GM
7862014-02-10 Glenn Morris <rgm@gnu.org>
787
788 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
789
881329dc
EZ
7902014-02-10 Eli Zaretskii <eliz@gnu.org>
791
02328db9
EZ
792 * w32-common-fns.el (x-get-selection): Doc fix.
793 * select.el (x-get-selection): Doc fix. (Bug#15109)
794
881329dc
EZ
795 * face-remap.el (face-remap-add-relative)
796 (face-remap-remove-relative, face-remap-reset-base)
797 (face-remap-set-base): Call force-mode-line-update to redisplay
798 the current buffer due to potential change in faces. (Bug#16709)
799
c7db4c06
MA
8002014-02-10 Michael Albinus <michael.albinus@gmx.de>
801
802 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
803 script more robustly.
804
6abe4589
LI
8052014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
806
7602b5c3
LI
807 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
808
e3692ee0
LI
809 * simple.el (choose-completion): Doc fix (bug#14160).
810
41015524
LI
811 * subr.el (event-start): Say what a nil EVENT value means.
812
87c79dcb
LI
813 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
814 (bug#14197).
815
3ab49e2c
LI
816 * progmodes/grep.el (find-program): Doc fix (bug#14289).
817
f3c60241
LI
818 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
819
3bd1d8a8
LI
820 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
821
6abe4589
LI
822 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
823 predicate function (bug#15455).
824
a11463de
DG
8252014-02-10 Dmitry Gutov <dgutov@yandex.ru>
826
827 * ielm.el (inferior-emacs-lisp-mode): Instead of
828 `comment-use-global-state', set `comment-use-syntax'.
829
2ab0ad85
GM
8302014-02-10 Glenn Morris <rgm@gnu.org>
831
832 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
833
411141fb
AM
8342014-02-09 Alan Mackenzie <acm@muc.de>
835
836 Fix c-invalidate-state-cache on narrowed buffers.
837 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
838 Widen when setting and clearing the CPP delimiter properties.
839
d6d5fdf8
LI
8402014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
841
92c70367
LI
842 * help.el (describe-bindings): Doc fix (bug#9888).
843
468ef484
LI
844 * files.el (save-buffer): Use ARG as the parameter name for
845 consistency (bug#10346).
7e34193f 846 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 847
fc2b1ffa 848 * cus-edit.el (customize-apropos): Fix error string.
382fd368 849 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 850 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 851
790aceec
LI
852 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
853
a54a7552 854 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 855 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 856
dd163123
LI
857 * font-lock.el (font-lock-value-in-major-mode): Clarify the
858 meaning of the parameter (bug#12282).
859
9e108fe6
LI
860 * files.el (find-file-noselect): Clarify prompt when changing
861 readedness (bug#13261).
5a836f58
LI
862 (locate-file): Suffixes aren't returned, so don't say that they
863 are (bug#12674).
2356b316 864 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 865
20dda930
LI
866 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
867 before we actually start to delete things (bug#16331).
868
d6d5fdf8
LI
869 * subr.el (event-start): Doc fix (bug#14228).
870 (event-end): Ditto.
871
2abd71e5
GM
8722014-02-09 Glenn Morris <rgm@gnu.org>
873
874 * emacs-lisp/warnings.el (lwarn):
875 Empower help-enable-auto-load. (Bug#15940)
876
c1b5900b
AS
8772014-02-08 Andreas Schwab <schwab@linux-m68k.org>
878
879 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
880 (Bug#16690)
881
429b93bd
MA
8822014-02-08 Michael Albinus <michael.albinus@gmx.de>
883
884 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
885 Insert output at end of buffer. (Bug#16120)
886
b772a699
LI
8872014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
888
18c6aa8c
LI
889 * simple.el (choose-completion-string-functions): Document new
890 calling convention (bug#14153).
54dd147a 891 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 892
dce8463b
LI
893 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
894
b772a699 895 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 896 (find-grep-dired): Doc fix (bug#14288).
b772a699 897
2423c8d5
JL
8982014-02-08 Juri Linkov <juri@jurta.org>
899
900 * isearch.el (isearch-quote-char): Check character validity
901 like in `quoted-insert' (bug#16677).
902
518f26c2
LI
9032014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
904
893cc908
LI
905 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
906
9165ffc0
LI
907 * isearch.el (isearch-hide-immediately): Doc clarification
908 (bug#14723).
909
6ef4f3ce
LI
910 * simple.el (line-move): Document utility function used many
911 places in the Emacs sources (bug#14843).
912
be58a238 913 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 914 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 915 (dired-up-directory): Doc fix (bug#14848).
be58a238 916
dd7aafbb
LI
917 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
918
15cb9968
LI
919 * files.el (file-relative-name): Doc fix (bug#15159).
920
9788effd
LI
921 * fringe.el (fringe-styles): Doc fix (bug#15239).
922
c96411bd
LI
923 * isearch.el (isearch-filter-predicate): Documentation typo fix
924 (bug#15474).
925
ea838c36
LI
926 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
927
0d8a4ae7
LI
928 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
929
f7a17bb3
LI
930 * replace.el (replace-match-maybe-edit): Doc clarification
931 (bug#15632).
932
1bde5c3b
LI
933 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
934
518f26c2
LI
935 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
936
dd8e49fd
GM
9372014-02-08 Glenn Morris <rgm@gnu.org>
938
939 * help-fns.el (describe-variable):
940 Check {file,dir}-local-variables-alist, and buffer-file-name,
941 in the correct buffer.
942
7e088b29
IL
9432014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
944
945 * help-fns.el (describe-variable): Fix the case where
946 a value is directory-local with no dir-locals file. (Bug#16635)
947
41a4a82f
GM
9482014-02-08 Glenn Morris <rgm@gnu.org>
949
950 * abbrev.el (edit-abbrevs-mode):
951 Derive from fundamental-mode. (Bug#16682)
952
e255a703
JB
9532014-02-07 Juanma Barranquero <lekktu@gmail.com>
954
955 * simple.el (quoted-insert): Check character validity (bug#16677).
956
c99cf5ee
JL
9572014-02-07 Juri Linkov <juri@jurta.org>
958
959 * desktop.el (desktop-read): Claim the lock when the owner is not
960 the current process. (Bug#16157)
961
7d7a68d8
JL
9622014-02-07 Juri Linkov <juri@jurta.org>
963
964 * desktop.el (desktop-buffers-not-to-save): Change default from nil
965 to "\\` ". (Bug#16651)
966
2b777cd9
JL
9672014-02-07 Juri Linkov <juri@jurta.org>
968
969 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
970 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
971 (desktop-auto-save-cancel-timer): New function with some code from
972 `desktop-auto-save-set-timer'.
973 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
974 Instead of setting `desktop-save-mode' to nil, call
975 `desktop-save-mode' with arg 0. (Bug#16630)
976
60eabbb9
GM
9772014-02-07 Glenn Morris <rgm@gnu.org>
978
99cf3859
GM
979 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
980 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
981 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
982
2b568bc9
GM
983 * obsolete/iswitchb.el: Move to obsolete/.
984 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
985 since obsolete/ is not scanned for autoloads.
986 * emacs-lisp/authors.el (authors-valid-file-names):
987 Add iswitchb.el.
988
60eabbb9
GM
989 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
990 Disable now non-functional find-file-hook.
991
629de968
MA
9922014-02-06 Michael Albinus <michael.albinus@gmx.de>
993
994 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
995 instead of ";" in order to avoid additional prompts. Let heredoc
996 scripts read from tty. (Bug#16582)
997 (tramp-send-command): No special handling of heredocs, it isn't
998 necessary anymore.
999
29127376
SM
10002014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1003 with a space (bug#16664). Limit the symbols considered to the ones
1004 that are bound or fbound (bug#16646).
1005
79b6e0a9
GM
10062014-02-06 Glenn Morris <rgm@gnu.org>
1007
1008 * epa.el (epa-mail-aliases): Doc fix.
1009
a333e4d2
DG
10102014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1011
29127376
SM
1012 * emacs-lisp/lisp.el (lisp-completion-at-point):
1013 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1014 (bug#16604).
1015
1016 * minibuffer.el (completion-table-merge): New function.
1017
9a83b32b
MA
10182014-02-05 Michael Albinus <michael.albinus@gmx.de>
1019
1020 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1021 (tramp-sh-handle-set-file-acl)
1022 (tramp-sh-handle-start-file-process)
1023 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1024 (tramp-find-executable, tramp-send-command): Use it.
1025
451ea3e6
GM
10262014-02-05 Glenn Morris <rgm@gnu.org>
1027
9a83b32b 1028 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1029
dd27d13b
FEG
10302014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1031
35e951cd 1032 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1033 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1034
08e41897
AL
10352014-02-04 Anders Lindgren <andlind@gmail.com>
1036
1037 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1038 the names (bug#16620).
1039
764ec9e5
MR
10402014-02-03 Martin Rudalics <rudalics@gmx.at>
1041
08e41897
AL
1042 * faces.el (window-divider): New default value. Rewrite doc-string.
1043 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1044
6da8227c
DG
10452014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1046
1047 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1048 `protected' and `public' can also be called without arguments.
1049
6a6b8e40
GM
10502014-02-03 Glenn Morris <rgm@gnu.org>
1051
7bcbca40
GM
1052 * register.el (window-configuration-to-register)
1053 (frame-configuration-to-register): Unadvertise unused argument.
1054 * frameset.el (frameset-to-register): Remove unused argument.
1055
719d965d 1056 * frameset.el (frameset-to-register):
6a6b8e40
GM
1057 * kmacro.el (kmacro-to-register):
1058 * register.el (increment-register):
1059 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1060 (calc-append-to-register, calc-prepend-to-register):
1061 * play/gametree.el (gametree-layout-to-register)
1062 (gametree-apply-register-layout):
1063 * textmodes/picture.el (picture-clear-rectangle-to-register)
1064 (picture-yank-rectangle-from-register):
1065 * vc/emerge.el (emerge-combine-versions-register):
1066 Use register-read-with-preview to read registers.
1067
5dca7759
JT
10682014-02-03 João Távora <joaotavora@gmail.com>
1069
1070 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1071 when at beginning of (possibly narrowed) buffer.
1072
709085b9
DC
10732014-02-02 Daniel Colascione <dancol@dancol.org>
1074
c295fc18 1075 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1076 Also try to display local help from just before point.
709085b9 1077
99f7b0a6
AM
10782014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1079
1080 c-parse-state. Don't "append-lower-brace-pair" in certain
1081 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1082 recognised as a comment.
1083
1084 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1085 as well as normal comment starter.
1086 (c-parse-state-get-strategy): Extra return possibility
1087 'back-and-forward.
1088 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1089 return value list to indicate replacement of a brace-pair cons
1090 with its car.
1091 (c-parse-state-1): With 'back-and-forward, only call
1092 c-append-lower-brace-pair-to state-cache when cons-separated.
1093
f0a10576
JD
10942014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1095
1096 * term/ns-win.el (ns-suspend-error): New function.
1097 (ns-initialize-window-system): Add ns-suspend-error to
1098 suspend-hook (Bug#16612).
1099
b8d552c2
DC
11002014-02-02 Daniel Colascione <dancol@dancol.org>
1101
35e951cd
JB
1102 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1103 Make loading cc-mode silent.
b8d552c2 1104
f2b7d123
DC
11052014-02-02 Daniel Colascione <dancol@dancol.org>
1106
35e951cd
JB
1107 * comint.el (comint-prompt-read-only): Change doc to suggest
1108 remap keybinding.
f2b7d123 1109
4472a196
GM
11102014-02-02 Glenn Morris <rgm@gnu.org>
1111
1112 * register.el (register-read-with-preview, point-to-register)
1113 (window-configuration-to-register, frame-configuration-to-register)
1114 (jump-to-register, number-to-register, view-register, insert-register)
1115 (copy-to-register, append-to-register, prepend-to-register)
1116 (copy-rectangle-to-register): Doc fixes.
1117
70e5a261
SM
11182014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1119
1120 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1121 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1122 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1123 * help-fns.el (describe-function-1): Use it.
1124
7c324762
GM
11252014-02-02 Glenn Morris <rgm@gnu.org>
1126
1127 * register.el (register-preview-default): New function,
1128 split from register-preview.
1129 (register-preview-function): Rename from register-preview-functions,
1130 make it not a hook.
1131 (register-preview): Use register-preview-function.
1132 (register-read-with-preview): Error on non-character event. (Bug#16595)
1133
a09beb3d
DG
11342014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1135
1136 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1137 `:' before binary operators (bug#16609). Don't check for `:'
1138 before `[' and `(', or their syntax status. A percent literal
1139 can't end with either.
68e004e0
DG
1140 (ruby-font-lock-keywords): For built-ins that require arguments,
1141 check that they're followed by something that looks like argument
1142 (bug#16610).
a09beb3d 1143
ed4d2875
LI
11442014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1145
1146 * subr.el (butlast): Document what an omitted N means (bug#13437).
1147 (nbutlast): Ditto.
1148
dba6e3ec
LI
11492014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1150
1151 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1152 depth shallower (bug#16587).
cc477daa
LI
1153 (shr-tag-svg): Respect `shr-inhibit-images'.
1154 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1155
e2a67bd0
DG
11562014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1157
1158 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1159 (ruby-smie-grammar): Make "." right-associative. Make its priority
1160 lower than the ternary and all binary operators.
1161 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1162 parent, or the first "." parent at indentation.
1163 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1164 (Bug#16593)
1165
bd21bf41
JL
11662014-01-31 Juri Linkov <juri@jurta.org>
1167
1168 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1169 from `make-hash-table'.
1170
1171 * textmodes/ispell.el (ispell-init-process): Change message format
1172 to be consistent with other messages.
1173
b7e615b9
GM
11742014-01-31 Glenn Morris <rgm@gnu.org>
1175
a69ecd19
GM
1176 * delsel.el (delete-selection-mode): Doc fix.
1177
9997d7e3
GM
1178 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1179 (trace-function-background): Doc fixes.
1180
fbb764b8
GM
1181 * ido.el (ido-use-virtual-buffers): Doc fix.
1182 Reset :version, since the default value has not changed.
1183
da942af1
GM
1184 * register.el (register-preview-delay, register-read-with-preview):
1185 Doc fixes.
1186
b7e615b9
GM
1187 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1188 do not mess with mail-buffer position (fixes 2009-11-03 change).
1189 * progmodes/cc-mode.el (c-submit-bug-report):
1190 Check auto-fill-mode is bound. (Bug#16592)
1191
0a25002d
DH
11922014-01-31 Darren Hoo <darren.hoo@gmail.com>
1193
1194 * startup.el (fancy-splash-image-file): New function,
1195 split from fancy-splash-head.
1196 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1197 so that we are both using the same image. (Bug#16574)
1198
ad78f432
GM
11992014-01-30 Glenn Morris <rgm@gnu.org>
1200
6bbc0c84
GM
1201 * simple.el (eval-expression): Doc fix.
1202
ad78f432
GM
1203 * hexl.el (hexl-mode-hook):
1204 * ielm.el (ielm-mode-hook):
1205 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1206 (lisp-interaction-mode-hook):
1207 * progmodes/cfengine.e (cfengine3-documentation-function):
1208 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1209
7b2f049c
SM
12102014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1213 is a symbol (bug#16584).
1214
0c633f13
GM
12152014-01-30 Glenn Morris <rgm@gnu.org>
1216
1217 * help.el (help-for-help-internal): Add "P" to text.
1218
5e61c1ef
GM
12192014-01-29 Glenn Morris <rgm@gnu.org>
1220
1221 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1222
1dcb169c
MR
12232014-01-28 Martin Rudalics <rudalics@gmx.at>
1224
1225 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1226 height constraints.
1227
a9128931
LL
12282014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1229
1230 * progmodes/hideif.el: Extend to full CPP expression syntax.
1231 (hif-token-alist): Add missing tokens.
1232 (hif-token-regexp): Add support for float/octal/hex immediates.
1233 (hif-string-literal-regexp): New const.
1234 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1235 (hif-exprlist): New function.
1236 (hif-parse-if-exp): Use it.
1237 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1238 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1239 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1240 (hif-logxor, hif-comma): New functions.
1241
a22359a7
GM
12422014-01-28 Glenn Morris <rgm@gnu.org>
1243
793ffe81
GM
1244 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1245
e3bd7eed
GM
1246 * indent.el (tab-stop-list): Doc fix. Add :version.
1247
a22359a7
GM
1248 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1249 (cvs-append-to-ignore): Add compatibility alias.
1250
52695556 12512014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1252
bac524e0
GM
1253 * dired.el (dired-hide-details-mode): Don't autoload it,
1254 since it cannot be used outside Dired buffers anyway.
1255
52695556 1256 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1257
52695556
GM
1258 * dired.el (dired-hide-details-hide-symlink-targets)
1259 (dired-hide-details-hide-information-lines)
1260 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1261
1262 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1263 * strokes.el (strokes-file): Doc fix. Bump :version.
1264 (strokes-help): Doc fix.
1265 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1266 * emulation/viper.el (viper): Doc fix for custom group.
1267 (top-level): Remove oh-so-no-longer-relevant text about vip.
1268 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1269
1270 * ido.el (ido-save-directory-list-file):
1271 * saveplace.el (save-place-file):
1272 * calendar/timeclock.el (timeclock-file):
1273 * net/quickurl.el (quickurl-url-file):
1274 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1275 * progmodes/idlwave.el (idlwave-config-directory):
1276 * textmodes/remember.el (remember-data-file):
1277 Bump :version.
1278
169d6004
GM
12792014-01-26 Glenn Morris <rgm@gnu.org>
1280
de6a923b
GM
1281 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1282 Doc fix. Make obsolete.
1283 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1284
169d6004
GM
1285 * sort.el (delete-duplicate-lines): Doc fix.
1286
ed85dee6
RS
12872014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1288
1289 * progmodes/ada-mode.el (ada):
1290 * woman.el (woman): Link to info manual and Commentary section.
1291
1292 * progmodes/flymake.el (flymake):
1293 * nxml/nxml-mode.el (nxml):
1294 * net/eww.el (eww):
1295 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1296 * htmlfontify.el (htmlfontify):
1297 * ses.el (ses):
1298 * epa.el (epa):
1299 * ido.el (ido): Link to info manual.
1300
e0c67e1d
LL
13012014-01-25 Leo Liu <sdl.web@gmail.com>
1302
1303 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1304
35408b1a
AS
13052014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1306
1307 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1308 (bug#16537).
1309
76c3fa95
JB
13102014-01-24 Juanma Barranquero <lekktu@gmail.com>
1311
f77c7a99
JB
1312 * net/eww.el (eww-download-callback):
1313 Fix reference to eww-download-directory.
1314
76c3fa95
JB
1315 * emacs-lisp/bytecomp.el (byte-compile-file):
1316 Remove unused local variable `file-name'.
1317
1e548e40
GM
13182014-01-24 Glenn Morris <rgm@gnu.org>
1319
03f3b318
GM
1320 * woman.el (woman-default-faces, woman-monochrome-faces):
1321 Fix obsolescence specification.
1322
1e548e40
GM
1323 * subr.el (with-demoted-errors): Doc fix.
1324
d4f0427b
SM
13252014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1326
1327 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1328 (cl--macroexp-fboundp): New function.
1329 (cl--make-type-test): Use it.
1330
1670e27f
GM
13312014-01-23 Glenn Morris <rgm@gnu.org>
1332
1333 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1334 * simple.el (eval-expression): Doc fixes.
1335
80efa207
GM
13362014-01-22 Glenn Morris <rgm@gnu.org>
1337
1338 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1339
29afcbab
SM
13402014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1341
1342 * emacs-lisp/package.el: Write files silently.
1343 (package-autoload-ensure-default-file, package--write-file-no-coding)
1344 (package-generate-description-file, package--download-one-archive)
1345 (package-install-from-archive): Tell `write-region' to stay quiet.
1346 (package-menu-mode, package-menu--print-info): Omit the Archive column
1347 if there's only one archive.
1348 (package-all-keywords, package--has-keyword-p): Remove dead code.
1349
2a5bce4f
GM
13502014-01-22 Glenn Morris <rgm@gnu.org>
1351
edace89f
GM
1352 * version.el (emacs-bzr-version-bzr): Fix typo.
1353
2a5bce4f
GM
1354 * version.el (emacs-repository-get-version):
1355 Check either .bzr or .git, but not both.
1356 Make the git case actually use the DIR argument, and return nil
1357 rather than the empty string.
983664c0 1358 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1359
6cb4da45
MR
13602014-01-22 Martin Rudalics <rudalics@gmx.at>
1361
1362 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1363 * window.el (window-total-size, window-size): New argument ROUND.
1364 (window--min-delta-1, window-min-delta, window--max-delta-1):
1365 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1366 columns a window can shrink (Bug#16430).
1367 (fit-window-to-buffer): Simplify code.
1368 * term.el (term-window-width): Call window-body-width again.
1369
cc0f2ece
GM
13702014-01-22 Glenn Morris <rgm@gnu.org>
1371
7b997b14
GM
1372 * image.el (image-format-suffixes): Doc fix.
1373
44e76f9d
GM
1374 * international/quail.el (quail-define-package): Doc fix.
1375
35e951cd 1376 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1377 (authors-renamed-files-alist): Additions.
7bfc1caa 1378
85a5f61f
GM
1379 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1380 reverts 2014-01-09 change. (Bug#16422)
1381
cc0f2ece
GM
1382 * calc/calc-embed.el (thing-at-point-looking-at):
1383 * emacs-lisp/map-ynp.el (x-popup-dialog):
1384 * obsolete/lmenu.el (x-popup-dialog):
1385 * emacs-lisp/package.el (url-recreate-url):
1386 * mail/mailclient.el (clipboard-kill-ring-save):
1387 * subr.el (x-popup-dialog): Update declaration.
1388 * mail/rmail.el (rmail-mime-message-p):
1389 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1390
00d2a6bb
DC
13912014-01-21 Daniel Colascione <dancol@dancol.org>
1392
1393 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1394 Correctly detect when we're inside an arithmetic expansion form
1395 containing nested parenthesis.
c295fc18 1396 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1397 to detect cases where we shouldn't expand "<<" to a heredoc
1398 skeleton.
1399
dd9d2e9d
SM
14002014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1401
1402 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1403 (eldoc--message-command-p): New function.
1404 (eldoc-display-message-p): Use it.
1405 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1406 message is not automatically erased for us.
1407 (eldoc-print-current-symbol-info): Erase previous message, if any.
1408
e7d807ca
TH
14092014-01-21 Tassilo Horn <tsdh@gnu.org>
1410
4ff0a0e5
TH
1411 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1412 specify it's an interactive function.
1413
dd9d2e9d
SM
1414 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1415 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1416 citations with optional arguments.
1417
87503791
LL
14182014-01-21 Leo Liu <sdl.web@gmail.com>
1419
1420 * simple.el (read--expression): Don't enable eldoc-mode.
1421
6cc750ee
SM
14222014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1423
1424 * simple.el (move-beginning-of-line): Make sure we don't move forward
1425 (bug#16497).
1426
71f16bda
JL
14272014-01-20 Juri Linkov <juri@jurta.org>
1428
1429 * saveplace.el (toggle-save-place, save-place-to-alist)
1430 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1431 'dired-mode) before checking for dired-directory. (Bug#16477)
1432
3c5a4839
JL
14332014-01-20 Juri Linkov <juri@jurta.org>
1434
1435 * indent.el (indent-line-to): Use backward-to-indentation
1436 instead of back-to-indentation. (Bug#16461)
1437
f952002e
PE
14382014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1439
1440 Revert some of the CANNOT_DUMP fix (Bug#16494).
1441 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1442 but fixing this can wait until after the next release.
1443 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1444
93675500
MA
14452014-01-19 Michael Albinus <michael.albinus@gmx.de>
1446
1447 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1448 Use `password-word-equivalents'.
1449 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1450 to t. (Bug#5664, Bug#13124)
1451
e3af763f
AM
14522014-01-19 Alan Mackenzie <acm@muc.de>
1453
1454 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1455 points.
1456 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1457 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1458 * progmodes/cc-mode.el (c-before-change, c-after-change)
1459 (c-font-lock-fontify-region): Bind it here.
1460
4ff6d92d
MR
14612014-01-19 Martin Rudalics <rudalics@gmx.at>
1462
1463 * term.el (term-window-width): Call window-text-width instead of
1464 window-width (Bug#16470).
1465
9a685cf6
PE
14662014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1467
1468 * simple.el (password-word-equivalents): Remove duplicates.
1469 Sort, to make this easier next time.
1470 Downcase. Omit ": " after "jelszó".
1471
5aa78c2d
JD
14722014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1473
1474 * term/common-win.el (saved-region-selection): Defvar it.
1475 (x-select-text): Set saved-region-selection (Bug#16382).
1476
cabb250c
GM
14772014-01-18 Glenn Morris <rgm@gnu.org>
1478
1479 * emacs-lisp/authors.el (authors-aliases)
1480 (authors-renamed-files-alist): Add some entries.
1481
a1340440
MA
14822014-01-17 Michael Albinus <michael.albinus@gmx.de>
1483
93675500
MA
1484 * net/tramp.el (tramp-password-prompt-regexp):
1485 Use `password-word-equivalents' if available.
a1340440
MA
1486 (tramp-action-password, tramp-process-one-action)
1487 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1488
681ce5d2
CY
14892014-01-17 Chong Yidong <cyd@gnu.org>
1490
1491 * simple.el (password-word-equivalents): New defcustom.
1492 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1493 to 24.4.
1494 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1495 to t. (Bug#13124)
1496
fb3d479c
DG
14972014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1498
1499 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1500 (ruby-align-to-stmt-keywords): Change the default value.
1501 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1502 choices.
1503 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1504 keywords, check against the value of `ruby-alignable-keywords'
1505 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1506
0d613483
GM
15072014-01-17 Glenn Morris <rgm@gnu.org>
1508
fc23fe2d
GM
1509 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1510
0d613483 1511 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 1512 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
1513 (authors-ignored-files): Add some entries, remove others.
1514 (authors-ambiguous-files, authors-valid-file-names):
1515 Add some entries.
1516 (authors-renamed-files-alist): Add, remove, and adjust entries.
1517 (authors-renamed-files-regexps): Add some entries.
1518 Remove some very broad ones. Make some entries `lax'.
1519 (authors-lax-changelogs): New constant.
1520 (authors-disambiguate-file-name): Treat top-level specially.
1521 (authors-lax-changelog-p): New function.
1522 (authors-canonical-file-name): Check file as written against
1523 authors-valid-file-names. Do not special-case etc/.
1524 Handle `lax' logs and authors-renamed-files-regexps elements.
1525
2dbf4ffd
DG
15262014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1527
1528 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1529 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1530 callers.
2dbf4ffd 1531
87b2a7f2
SM
15322014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1535 Assume we're already in the proper buffer.
1536 Inspired by Anders Lindgren <andlind@gmail.com>.
1537 (follow-post-command-hook): Call it from the right buffer.
1538 (follow-comint-scroll-to-bottom): Adjust call.
1539 (follow-all-followers): Use get-buffer-window-list.
1540
93acfb0e
DC
15412014-01-15 Daniel Colascione <dancol@dancol.org>
1542
1543 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1544 `buffer-file-name' in interactive-form so that we don't leave
1545 pathless file names in `file-name-history'.
1546
ccc6b208
JL
15472014-01-15 Juri Linkov <juri@jurta.org>
1548
1549 * indent.el (indent-rigidly): Set deactivate-mark to nil
1550 in transient indentation mode. (Bug#16438)
1551
5c92e00d
DG
15522014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1553
1554 * emacs-lisp/package.el (package-desc-keywords): New function
1555 (Bug#16222).
1556 (describe-package-1, package-all-keywords)
1557 (package--has-keyword-p): Use it.
1558
dac69660
NR
15592014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1560
1561 * simple.el (define-alternatives): When creating the
1562 COMMAND-alternatives variable, assign COMMAND as its definition
1563 name so that `describe-variable' can relocate it.
1564
8b63edf8
ML
15652014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1566
1567 * font-lock.el (font-lock-keywords): Fix typo in docstring
1568 (bug#16307).
1569
c6a0b8eb
AM
15702014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1571
1572 * ispell.el (ispell-region): Reset `in-comment' for new line
1573 instead of wrongly reset `add-coment' (bug#13577).
1574
02bf443d
DU
15752014-01-14 Daiki Ueno <ueno@gnu.org>
1576
1577 * epa-file.el (epa-file-write-region): Encode the region according
1578 to `buffer-file-format'. Problem reported at:
1579 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1580
fd7fde15
SM
15812014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1584 so it applies in the right buffer (bug#16410).
1585
c176054f
DC
15862014-01-13 Daniel Colascione <dancol@dancol.org>
1587
1588 * textmodes/rst.el (rst-define-key): Provide deprecated
1589 keybindings through named functions instead of anonymous ones so
1590 that "??" doesn't appear in describe-mode output.
1591
e3f33e5d
BG
15922014-01-13 Bastien Guerry <bzg@gnu.org>
1593
1594 * simple.el (define-alternatives): Call the selected command
1595 interactively. When setting `COMMAND--implementation' for the
1596 first time, tell the user how to chose another implementation.
1597 Enhance the docstring.
1598
c055d654
SM
15992014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1602 (log-edit--match-first-line): New function.
1603 (log-edit-font-lock-keywords): Use it.
1604 (log-edit-mode): Make jit-lock-defer-multiline work.
1605
d791cc3b
BG
16062014-01-13 Bastien Guerry <bzg@gnu.org>
1607
1608 * rect.el (rectangle-mark-mode): When the region is not active,
1609 display a message saying that the mark as been set and that
1610 rectangle mode is in use.
1611 (rectangle--highlight-for-redisplay): Only put an overlay with a
1612 visible vertical bar when (display-graphic-p) is non-nil.
1613 This partially fixes Bug#16403.
1614
3c0c4562
JL
16152014-01-13 Juri Linkov <juri@jurta.org>
1616
1617 * info.el (Info-find-file): Go to DIR before displaying the error
1618 about a nonexistent file if no previous Info file is visited.
1619 Use `user-error' instead of `error' for "Info file %s does not exist".
1620 (Info-find-node-2): In case of a nonexistent node in unwind forms
1621 go to the Top node if there is no previous node to revert to.
1622 (Bug#16405)
1623
25a700d0
MR
16242014-01-13 Martin Rudalics <rudalics@gmx.at>
1625
1626 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1627 * window.el (fit-frame-to-buffer): Fix doc-string.
1628 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1629 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1630 when avoiding that frame goes partially off-screen.
1631 (fit-window-to-buffer): Respect window-min-height/-width
1632 (Bug#14096).
1633
6ae948d8
SM
16342014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1637 after an empty line.
1638
6137cb82
SM
16392014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1640
1641 * net/shr.el (shr-render-region): Autoload.
1642
e6344e17
XF
16432014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1644
1645 * net/eww.el (eww-download-directory): Rename from
1646 `eww-download-path' (Bug#16419).
1647
3b922c70
LL
16482014-01-12 Leo Liu <sdl.web@gmail.com>
1649
1650 * dired-x.el (dired-mode-map): Fix last change.
1651
1652 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1653
4fa51741
PE
16542014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1655
1656 Spelling fixes.
1657 * emacs-lisp/generic.el (generic--normalize-comments):
1658 Rename from generic--normalise-comments. All uses changed.
35e951cd 1659 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
1660 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1661 (bubbles--neighborhood-available)
1662 (bubbles--update-neighborhood-score):
1663 Rename from names with 'neighbourhood'. All uses changed.
1664
9b335362
LL
16652014-01-12 Leo Liu <sdl.web@gmail.com>
1666
1667 Re-implement the feature of showing eldoc info after editing.
1668 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1669 (eldoc-edit-message-commands): New function.
1670 (eldoc-print-after-edit): New variable.
1671 (eldoc-pre-command-refresh-echo-area): Emit message only by
1672 eldoc-message-commands.
1673 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1674 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1675 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1676 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1677
e2a095b1
GM
16782014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1679 Eric S. Raymond <esr@thyrsus.com>
9685190b 1680
841a6d0c 1681 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1682 function works correctly in either a Bazaar or Git repo.
0abf4134 1683
e2a095b1
GM
16842014-01-11 Eric S. Raymond <esr@thyrsus.com>
1685
6137cb82
SM
1686 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1687 Goes with removal of the joke manpages from /etc.
9685190b 1688
c295fc18 16892014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1690
6137cb82
SM
1691 * mail/rmail.el (rmail-get-coding-system):
1692 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1693
d2f16e93
GM
16942014-01-10 Glenn Morris <rgm@gnu.org>
1695
1696 * emacs-lisp/authors.el (authors-fixed-entries):
1697 Update for files that no longer exist.
1698
7e03bb32
ER
16992014-01-10 Eric S. Raymond <esr@thyrsus.com>
1700
1701 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1702 24.3 (Tested).
7e03bb32 1703
dd806710
BB
17042014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1705
1706 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1707 and Podfile.
1708
ed6ec139
EZ
17092014-01-10 Eli Zaretskii <eliz@gnu.org>
1710
1711 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1712
cc33cac9
CY
17132014-01-10 Chong Yidong <cyd@gnu.org>
1714
6137cb82 1715 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1716
d9d836b5
AL
17172014-01-10 Anders Lindgren <andlind@gmail.com>
1718
1719 * follow.el (follow-cache-command-list): Include right-char and
1720 left-char.
1721
06827ec8
PE
17222014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1723
1724 Spelling fixes.
1725 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1726 * woman.el (woman-mark-horizontal-position):
1727 Rename from woman-mark-horizonal-position. Use changed.
1728
458dbf5e
GM
17292014-01-10 Glenn Morris <rgm@gnu.org>
1730
dad6fae7
GM
1731 * info.el (info-initialize): If running uninstalled, ensure our
1732 own info files are always found first, even if INFOPATH is set.
1733
458dbf5e
GM
1734 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1735
05e0afce
DE
17362014-01-09 David Engster <deng@randomsample.de>
1737
1738 * emacs-lisp/eieio-custom.el:
1739 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1740 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1741 * emacs-lisp/eieio.el: Regenerate autoloads.
1742
f29778b3
ER
17432014-01-09 Eric S. Raymond <esr@thyrsus.com>
1744
1745 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1746 following renames. (Bug#8756)
f29778b3 1747
684d44ef
SM
17482014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1751 (bug#16382).
1752 (activate-mark): Add `no-tmm' argument.
1753 (set-mark, push-mark-command): Use it instead of running
1754 activate-mark-hook by hand.
1755
9475054f
ER
17562014-01-08 Eric S. Raymond <esr@thyrsus.com>
1757
1758 In preparation for the move to git, sanitize out some
1759 Bazaar-specific names.
1760
38942b9c
GM
1761 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1762
9475054f 1763 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1764 emacs-repository-version. Obsolete-variable alias made.
9475054f 1765 * loadup.el: Follow through on this name change.
a12bf61e 1766 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1767 assumption about the version control system in use.
1768
0f918d96 17692014-01-08 David Engster <deng@randomsample.de>
abb82152 1770
684d44ef
SM
1771 * help-fns.el (help-fns-describe-function-functions):
1772 New variable to call functions for augmenting help buffers.
abb82152
DE
1773 (describe-function-1): Remove explicit calls to
1774 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
1775 `help-fns--obsolete'. Put them in above new variable instead, and
1776 call them through `run-hook-with-args'.
1777 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1778 `eieio-describe-class'. Not meant for interactive use anymore,
1779 but to augment existing help buffers. Remove optional second
684d44ef
SM
1780 argument. Create proper button for file location.
1781 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
1782 possible.
1783 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1784 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
1785 (describe-method, describe-generic, eieio-describe-method):
1786 Remove aliases.
0f918d96
DE
1787 (eieio-help-constructor, eieio-help-generic): Rename from
1788 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1789 Rewrite to use `insert' in the current buffer and use proper help
1790 buttons.
1791 (eieio-help-find-method-definition)
1792 (eieio-help-find-class-definition): Also accept symbols as
1793 arguments.
1794 (eieio-help-mode-augmentation-maybee): Remove.
1795 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
1796 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1797 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 1798
136b74c5
PE
17992014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1800
1801 Spelling fixes.
1802 * language/china-util.el (hz-ascii-designation):
1803 Rename from hz-ascii-designnation.
1804 (hz-ascii-designation): Rename from hz-ascii-designnation.
1805 All uses changed.
1806
ec6c7de2
SM
18072014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1808
1809 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1810 package-alist.
1811
d6262c7c
BG
18122014-01-08 Bastien Guerry <bzg@gnu.org>
1813
4b9e6087
GM
1814 * emacs-lisp/package.el (package-delete):
1815 Correctly delete the package from package-alist.
d6262c7c 1816
0a3eec32
DU
18172014-01-08 Daiki Ueno <ueno@gnu.org>
1818
1819 * emacs-lisp/package.el (url-recreate-url): Declare.
1820 (url-http-target-url): Declare.
4b9e6087 1821 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1822 (package--check-signature): Don't re-signal errors from
1823 package--with-work-buffer. Suggested by Stefan Monnier.
1824
68f0bb97
BG
18252014-01-07 Bastien Guerry <bzg@gnu.org>
1826
1827 * minibuffer.el (completion--try-word-completion): When both a
1828 hyphen and a space are possible candidates for the character
1829 following a word, display both candidates. (Bug#15980)
1830
7e1899d7
MR
18312014-01-07 Martin Rudalics <rudalics@gmx.at>
1832
1833 * window.el (balance-windows-2): While rounding don't give a
c295fc18 1834 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 1835
0030ec15
GM
18362014-01-07 Glenn Morris <rgm@gnu.org>
1837
1838 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1839 (menu-bar-help-menu): Use view-external-packages instead.
1840
2b6b4f20
BG
18412014-01-07 Bastien Guerry <bzg@gnu.org>
1842
1843 * emacs-lisp/package.el (package-delete): Also delete the package
1844 name from `package-alist', not its description only.
1845
e9be0a13
GM
18462014-01-07 Glenn Morris <rgm@gnu.org>
1847
1848 * help.el (view-external-packages):
1849 * menu-bar.el (menu-bar-help-extra-packages):
1850 Visit efaq.info rather than etc/MORE.STUFF.
1851
e4f74da9
JL
18522014-01-07 Juri Linkov <juri@jurta.org>
1853
1854 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1855 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1856
1857 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1858 that shadows RET. (Bug#16342)
1859
de7ce2d1
CY
18602014-01-07 Chong Yidong <cyd@gnu.org>
1861
1862 * isearch.el (isearch-yank-char, isearch-yank-word)
1863 (isearch-yank-line): Doc fix.
1864
6bdd9204
SM
18652014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1868 * emacs-lisp/elint.el (elint-find-builtins):
1869 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1870 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1871 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1872 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1873 * apropos.el (apropos-safe-documentation):
1874 * subr.el (symbol-file): Remove redundant fboundp.
1875 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1876
daccca97
BG
18772014-01-06 Bastien Guerry <bzg@gnu.org>
1878
1879 * hl-line.el (global-hl-line-overlay): Make a local variable.
1880 (global-hl-line-overlays): New variable to store all overlays.
1881 (global-hl-line-mode): Don't delete overlays from the current
1882 buffer when `global-hl-line-sticky-flag' is non-nil.
1883 (global-hl-line-highlight): Add new overlays to
1884 `global-hl-line-overlays'.
1885 (global-hl-line-unhighlight-all): New function to delete all
1886 overlays when turning off `global-hl-line-mode'.
1887 This fixes Bug#16183.
1888
ec00f20f
SM
18892014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1890
1891 * subr.el (set-transient-map): Fix nested case and docstring.
1892
a0031f97
TH
18932014-01-06 Tassilo Horn <tsdh@gnu.org>
1894
1895 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1896 `Texinfo' entry.
1897
bf6a77f3
DC
18982014-01-06 Daniel Colascione <dancol@dancol.org>
1899
1900 Fix defun navigation in vc log view.
1901
1902 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1903 like `beginning-of-defun'.
c295fc18 1904 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
1905 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1906 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1907 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1908 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1909
d5081c1e
PE
19102014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1911
1912 Spelling fixes.
1913 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1914 * emacs-lisp/debug.el (cancel-debug-on-entry):
1915 * epg.el (epg-error-to-string):
1916 * files.el (recover-file):
1917 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1918 * mail/emacsbug.el (report-emacs-bug-hook):
1919 * mail/sendmail.el (mail-recover):
1920 * ses.el (ses-yank-resize):
1921 * term/ns-win.el (ns-print-buffer):
1922 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1923 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1924 All uses changed.
1925 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1926
53f6b148
LL
19272014-01-06 Leo Liu <sdl.web@gmail.com>
1928
1929 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1930 to avoid shadowing global key. (Bug#16354)
53f6b148 1931
b82ace2f
DC
19322014-01-06 Daniel Colascione <dancol@dancol.org>
1933
1934 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1935 rst-mode.
1936
3669b636
MR
19372014-01-05 Martin Rudalics <rudalics@gmx.at>
1938
1939 * window.el (balance-windows): Add mising t to fix Bug#16351.
1940
1a29adc2
LMI
19412014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1942
1943 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1944 (bug#16285).
3d95a0f4
LMI
1945 (shr-insert): If we have a word that's longer than `shr-width',
1946 break after it anyway. Otherwise we'll do no breaking once we get
1947 such a long word.
1a29adc2 1948
f4018140
KN
19492014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1950
3fcfc4ee 1951 * net/eww.el (eww): Support single/double quote for search.
c295fc18 1952 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
1953 (eww-history-quit): Delete and use quit-window.
1954 (eww-history-kill): Delete, because it doesn't work well and
1955 not necessary.
1956 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1957
4e619754
PE
19582014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1959
73dbf960
PE
1960 Fix misspelling of 'chinese' in rx (Bug#16237).
1961 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1962 chinese-two-byte.
1963
4e619754
PE
1964 Change subword regexps back to vars (Bug#16296).
1965 * progmodes/subword.el (subword-forward-regexp)
1966 (subword-backward-regexp): Change these back to variables.
1967
e18b70fc
SM
19682014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1971 syntax-begin-function (bug#16247).
1972
0d53f628
CY
19732014-01-03 Chong Yidong <cyd@gnu.org>
1974
1975 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1976 (advice--docstring): Delete variable.
1977 (advice--make-1): Leave the docstring empty.
1978 (advice-add): Use function-documentation for advised docstring.
1979
1980 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1981 Ignore function-documentation property when getting documentation.
1982 (ad-activate-advised-definition): Use function-documentation
1983 generate the docstring.
1984 (ad-make-advised-definition): Don't call
1985 ad-make-advised-definition-docstring.
1986 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1987 Delete functions.
1988
1989 * progmodes/sql.el (sql-help): Use function-documentation instead
1990 of dynamic-docstring-function property. No need to autoload now.
1991 (sql--help-docstring): New variable.
1992 (sql--make-help-docstring): Use it.
1993
6f547583
SM
19942014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1995
6ef9aed8
SM
1996 * ielm.el (ielm-tab): Retarget.
1997 (ielm-map): Use ielm-tab for tab.
1998 (ielm-complete-filename): Use comint-filename-completion.
1999 (ielm-complete-symbol): Remove.
2000 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2001 remove ielm-tab from completion-at-point-functions (bug#16224).
2002
6f547583
SM
2003 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2004 Beware signals raised by predicates (bug#16201).
2005
a574edbe
RS
20062014-01-02 Richard Stallman <rms@gnu.org>
2007
e831604d
RS
2008 * dired-aux.el (dired-do-print): Handle printer-name.
2009
6f547583
SM
2010 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2011 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2012 (rmail-epa-decrypt): Turn off mime processing.
2013
3fcfc4ee 2014 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2015 Add parens in message-id.
2016
2017 * mail/rmail.el (rmail-get-coding-function): Variable.
2018 (rmail-get-coding-system): Use it.
2019
04311a16
KH
20202013-12-31 Eli Zaretskii <eliz@gnu.org>
2021
2022 * international/mule-conf.el: Unify the charset indian-is13194.
2023 (indian-is13194): Specify unify-map.
2024
c8d89778
LL
20252013-12-31 Leo Liu <sdl.web@gmail.com>
2026
2027 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2028
e63ace37
DC
20292013-12-30 Daniel Colascione <dancol@dancol.org>
2030
9e0bf19a
DC
2031 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2032 of printing a useless when we resume from sleep.
2033
e63ace37 2034 * progmodes/sh-script.el
c295fc18 2035 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2036 in indentation code. (Bug#16233)
2037
e9d6c46a
JT
20382013-12-28 João Távora <joaotavora@gmail.com>
2039
6f547583
SM
2040 * elec-pair.el (electric-pair-post-self-insert-function):
2041 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2042
bf7bea5d
EZ
20432013-12-28 Eli Zaretskii <eliz@gnu.org>
2044
2045 * frame.el (window-system-for-display): Don't allow to create a
2046 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2047
8449dd1f
GM
20482013-12-28 Glenn Morris <rgm@gnu.org>
2049
9c5a5c77
GM
2050 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2051 Update callers.
2052
2053 * apropos.el (apropos-match-face):
2054 * calculator.el (calculator-displayer):
2055 * dabbrev.el (dabbrev-search-these-buffers-only):
2056 * face-remap.el (buffer-face-mode-face):
2057 * simple.el (yank-handled-properties):
2058 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2059 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2060 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2061 (hashcash-double-spend-database):
2062 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2063 (ruby-deep-indent-paren-style):
2064 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2065 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2066 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2067 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2068 Specify custom types.
2069
bb098075
GM
2070 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2071 * bookmark.el (bookmark-bmenu-use-header-line):
2072 * doc-view.el (doc-view-scale-internally):
2073 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2074 * register.el (register-preview-delay):
2075 * net/shr.el (shr-bullet):
2076 * progmodes/cfengine.el (cfengine-cf-promises)
2077 (cfengine-parameters-indent):
2078 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2079 * textmodes/reftex-vars.el (reftex-label-regexps):
2080 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2081
9c61f806
GM
2082 * net/tls.el (tls-certtool-program): Fix default value.
2083
2084 * desktop.el (desktop-restore-in-current-display):
2085 * newcomment.el (comment-empty-lines):
2086 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2087 (idlwave-pad-keyword):
2088 * progmodes/tcl.el (tcl-tab-always-indent):
2089 * textmodes/reftex-vars.el (reftex-index-default-tag):
2090 * elec-pair.el (electric-pair-skip-whitespace):
2091 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2092
8449dd1f
GM
2093 * emacs-lisp/authors.el (authors-ignored-files)
2094 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2095
fdadeb49
JC
20962013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2097
72140a0f
GM
2098 * shell.el (shell-dynamic-complete-command): Doc fix.
2099 (shell--command-completion-data): Shell completion now matches
2100 executable filenames from the current buffer's directory, on
da5ecfa9 2101 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2102
e572a7d8
LI
21032013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2104
2105 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2106
7514d3f8
SM
21072013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2108
a4151f3b
SM
2109 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2110 (bug#16251).
2111
7514d3f8
SM
2112 * electric.el: Move all electric-pair-* to elec-pair.el.
2113 * elec-pair.el: New file, split from electric.el.
2114
ac5758d1
LI
21152013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2116
2117 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2118 indentation level is larger than the width, because that will
2119 infloop.
2120 (shr-insert): Fill repeatedly long texts, so that Japanese is
2121 formatted correctly (bug#16263).
24a6b65e
LI
2122 (shr-find-fill-point): Off by one error in comparison with the
2123 indentation.
ac5758d1 2124
7514d3f8 21252013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2126
2127 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2128 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2129 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2130 if that keeps or improves their balance in buffers.
2131 (electric-pair-delete-adjacent-pairs): Delete the pair when
2132 backspacing over adjacent matched delimiters.
2133 (electric-pair-open-extra-newline): Open extra newline when
2134 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2135 (electric--sort-post-self-insertion-hook):
2136 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2137 minor-modes are activated.
2138 * simple.el (newline-and-indent): Call newline with interactive
2139 set to t.
2140 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2141 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2142 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2143 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2144 electric-pair-open-newline-between-pairs to nil.
2145
fbcc63a3
FEG
21462013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2147
2148 * progmodes/python.el: Use lexical-binding.
2149 (python-nav-beginning-of-defun): Stop searching ASAP.
2150
ed78d16c
XF
21512013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2152
2153 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2154 Fix interactive spec. Doc fix. (Bug#15754)
2155
38b2c142
KY
21562013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2157
2158 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2159 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2160 Fix edebug spec (bug#16184).
2161
3c856c14
LI
21622013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2163
83fa295c 2164 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2165 (shr-insert): Don't infloop if we can't find a good place to break
2166 the line (bug#16256).
3c856c14 2167
01379221
FEG
21682013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2169
35e951cd 2170 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2171 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2172 python-nav-lisp-forward-sexp-safe.
2173 (python-nav--forward-sexp): New argument SAFE allows switching
2174 forward sexp movement behavior for parens.
2175 (python-nav-forward-sexp): Throw errors on unterminated parens
2176 (Bug#16191).
2177 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2178 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2179 (python-shell-buffer-substring):
2180 Use `python-nav-forward-sexp-safe'.
01379221 2181
99e4926f
LI
21822013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2183
2184 * net/shr.el (shr-find-fill-point): Don't break lines before a
2185 quotation mark.
c6c20584
LI
2186 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2187 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2188 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2189
fec0e828
KN
21902013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2191
2192 * net/eww.el (eww-form-textarea): Use a different face for
2193 textareas than text input since they have different keymaps
2194 (bug#16142).
2195
89c868ad
FEG
21962013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2197
7514d3f8
SM
2198 * progmodes/python.el (python-nav-beginning-of-statement):
2199 Speed up (Bug#15295).
89c868ad 2200
eeef121a
LI
22012013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2202
2203 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2204 the window configuration.
2205
121ea65f
EZ
22062013-12-24 Eli Zaretskii <eliz@gnu.org>
2207
2208 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2209 we run on MS-Windows or MS-DOS.
2210
18cee9ec
MR
22112013-12-24 Martin Rudalics <rudalics@gmx.at>
2212
2213 * window.el (balance-windows-area): Call window-size instead of
2214 window-height and window-width. Bug#16241.
2215
58f2b9a5
LI
22162013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2217
2218 * net/eww.el (eww-bookmark-quit): Remove.
2219 (eww-bookmark-browse): Restore the window configuration when you
2220 choose a bookmark (bug#16144).
2221
d64b6308
DC
22222013-12-24 Daniel Colascione <dancol@dancol.org>
2223
2224 * icomplete.el: Remove redundant :group arguments to `defcustom'
2225 throughout.
2226 (icomplete-show-matches-on-no-input): New customizable variable.
2227 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2228 we have something to show.
7514d3f8 2229 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2230
0da54898
DC
22312013-12-23 Daniel Colascione <dancol@dancol.org>
2232
2233 * icomplete.el: Move `provide' to end of file.
2234
b90aa4f4
TZ
22352013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2236
2237 * net/gnutls.el (gnutls-verify-error): Add version tag.
2238
8cd22a08
CY
22392013-12-23 Chong Yidong <cyd@gnu.org>
2240
2241 * subr.el (set-transient-map): Rename from
2242 set-temporary-overlay-map. Doc fix.
2243
2244 * face-remap.el (text-scale-adjust):
2245 * indent.el (indent-rigidly):
2246 * kmacro.el (kmacro-call-macro):
2247 * minibuffer.el (minibuffer-force-complete):
2248 * repeat.el (repeat):
2249 * simple.el (universal-argument--mode):
2250 * calendar/todo-mode.el (todo-insert-item--next-param):
2251 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2252
7510b021
CY
2253 * indent.el (indent-rigidly): Use substitute-command-keys.
2254
72140a0f 22552013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2256
2257 * net/eww.el (eww-tag-select): Add text-property to jump to next
2258 select field.
e9dc713d 2259 (eww): Add non-supported ftp error.
56890ecd 2260
1f87a56c
DG
22612013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2262
2263 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2264 comments. Handle electric indent after typing `?' and `!'.
2265
dca38cf9
CY
22662013-12-22 Chong Yidong <cyd@gnu.org>
2267
2268 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2269 applicable to a frame, fall back on the defface spec.
2270 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2271
f2351498
DG
22722013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2273
2274 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2275 after `{'. We need it after block openers, and it doesn't seem
2276 to hurt after hash openers.
2277
6cddebc1
DG
22782013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2279
2280 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2281 extracted from `ruby-smie-rules'.
2282 (ruby--electric-indent-chars): New variable.
2283 (ruby--electric-indent-p): New function.
2284 (ruby-mode): Use `electric-indent-functions' instead of
2285 `electric-indent-chars'.
2286
65a1da00
DG
22872013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2288
2289 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2290 docstring.
2291 (ruby-smie-rules): Indent plus one level after `=>'.
2292
b51ad4cf
RS
22932013-12-21 Richard Stallman <rms@gnu.org>
2294
2295 * simple.el (newline): Doc fix.
2296
72140a0f 22972013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2298
e9dc713d 2299 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2300 (eww-history-browse, eww-history-quit, eww-history-kill)
2301 (eww-history-mode-map, eww-history-mode): New command and
2302 functions to list browser histories.
e9dc713d
JB
2303 (eww-form-text): Support text form with disabled
2304 and readonly attributes.
2305 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2306
5e1901c1
RS
23072013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2308
2309 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2310 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2311 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2312 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2313 Use `user-error'.
2314 (eww-bookmark-mode-map): Add menu.
2315 (eww-render, eww-mode): Use `setq-local'.
2316 (eww-tool-bar-map): New variable.
2317 (eww-mode): Set `tool-bar-map'.
2318 (eww-view-source): Check for `html-mode' with `fboundp'.
2319
073d5cfd
LMI
23202013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2321
2322 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2323 elements with text inside. Also remove debugging.
2324
41cf3d11
JD
23252013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2326
2327 * cus-start.el (all): Add ns-use-srgb-colorspace.
2328
aac2b673
CY
23292013-12-21 Chong Yidong <cyd@gnu.org>
2330
2331 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2332 undefined. Thus, theme settings for undefined faces do not take
2333 effect until the faces are defined with defface, the same as with
2334 theme variables.
2335
2336 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2337 (face-spec-reset-face): Don't assign extra properties in temacs.
2338 (face-spec-recalc): Apply X resources too.
2339
bacb0e77
CY
23402013-12-21 Chong Yidong <cyd@gnu.org>
2341
2342 * faces.el (face-spec-set):
2343 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2344 * custom.el (defface): Doc fixes (Bug#16203).
2345
77221051
CY
2346 * indent.el (indent-rigidly-map): Add docstring, and move commands
2347 into named functions.
2348 (indent-rigidly-left, indent-rigidly-right)
2349 (indent-rigidly-left-to-tab-stop)
2350 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2351 indentation direction based on bidi direction, and accumulate
2352 sequential commands in a single undo boundary.
2353 (indent-rigidly--pop-undo): New utility function.
2354
e0eb0550
JB
23552013-12-20 Juanma Barranquero <lekktu@gmail.com>
2356
2357 * faces.el (read-face-name): Require crm.el when using crm-separator.
2358
3282bd2e
DC
23592013-12-20 Daniel Colascione <dancol@dancol.org>
2360
2361 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2362 so that we don't reflow comments into the shebang line.
2363
1d42e5b6
JL
23642013-12-20 Juri Linkov <juri@jurta.org>
2365
2366 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2367 a position when `dired-directory' is non-nil. Check integer
2368 positions with `integerp'.
2369 (toggle-save-place, save-places-to-alist): Add check for
2370 `dired-directory'.
2371 (save-place-find-file-hook): Check integer positions with
2372 `integerp'.
2373 (save-place-dired-hook): Use `dired-goto-file' when
2374 `dired-filename' is found in the assoc list. Check integer
2375 positions with `integerp'.
2376 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2377
2378 * dired.el (dired-initial-position-hook): Rename back from
2379 `dired-initial-point-hook'.
2380 (dired-initial-position): Rename `dired-initial-point-hook' to
2381 `dired-initial-position-hook'.
2382 (dired-file-name-at-point): Doc fix. (Bug#15329)
2383
24da7273
JL
23842013-12-20 Juri Linkov <juri@jurta.org>
2385
2386 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2387 (read-regexp-suggestions): New function.
2388 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2389 Use `read-regexp-suggestions'. Add non-empty default to history
2390 for empty input.
2391 (occur-read-regexp-defaults-function): Remove function.
2392 (occur-read-primary-args): Use `regexp-history-last' instead of
2393 `occur-read-regexp-defaults-function'.
2394
2395 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2396 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2397 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2398 `hi-lock-read-regexp-defaults-function'. Doc fix.
2399 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2400 with `find-tag-default-as-symbol-regexp'. Doc fix.
2401 (hi-lock-read-regexp-defaults): Remove function.
2402 (hi-lock-regexp-okay): Add check for null.
2403
2404 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2405 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2406
2407 * subr.el (find-tag-default-as-symbol-regexp): New function.
2408 (find-tag-default-as-regexp): Move symbol regexp formatting to
2409 `find-tag-default-as-symbol-regexp'.
2410
137f57c8
S
24112013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2412
2413 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2414 (Bug#14179)
2415
f3a66082
SB
24162013-12-20 Stephen Berman <stephen.berman@gmx.net>
2417
2418 * calendar/todo-mode.el: New implementation of item insertion
2419 commands and key bindings.
2420 (todo-key-prompt): New face.
2421 (todo-insert-item): New command.
2422 (todo-insert-item--parameters): New defconst, replacing defvar
2423 todo-insertion-commands-args-genlist.
2424 (todo-insert-item--param-key-alist): New defconst, replacing
2425 defvar todo-insertion-commands-arg-key-list.
2426 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2427 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2428 (todo-insert-item--next-param): New functions.
2429 (todo-insert-item--args, todo-insert-item--argleft)
2430 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2431 New variables.
2432 (todo-key-bindings-t): Change binding of "i" from
2433 todo-insertion-map to todo-insert-item.
2434 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2435 (todo-insertion-command-name, todo-insertion-commands-names)
2436 (todo-define-insertion-command, todo-insertion-commands)
2437 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2438
2f99433b
SB
24392013-12-20 Stephen Berman <stephen.berman@gmx.net>
2440
2441 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2442 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2443 eval-when-compile.
2444 (todo-move-category): Allow choosing a non-existing todo file to
2445 move the category to, and create that file.
2446 (todo-default-priority): New user option.
2447 (todo-set-item-priority): Use it.
2448 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2449 (desktop-restore-file-buffer): Declare.
2450 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2451 (todo-modes-set-2): Locally set desktop-save-buffer to
2452 todo-desktop-save-buffer.
2453 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2454 (auto-mode-alist): Add autoload cookie.
2455
131e4695
BB
24562013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2457
2458 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2459 helpers.el was a poor choice of name.
3cbfb935
BB
2460 (string-remove-prefix): New function.
2461 (string-remove-suffix): New function.
131e4695 2462
c44de18d
MR
24632013-12-20 Martin Rudalics <rudalics@gmx.at>
2464
2465 Fix assignment for new window total sizes.
2466 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2467 (window--pixel-to-total-1, window--pixel-to-total):
2468 Fix calculation of new total sizes.
c44de18d 2469
ca65efcc
VS
24702013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2471
2472 * comint.el (comint-output-filter): Fix rear-nonsticky property
2473 placement (Bug#16010).
2474
a9574eb7
CY
24752013-12-20 Chong Yidong <cyd@gnu.org>
2476
2477 * faces.el (read-color): Minor fix for completion function.
2478
b520f210
DG
24792013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2480
e0eb0550
JB
2481 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2482 New option. (Bug#16182)
b520f210
DG
2483 (ruby-smie--indent-to-stmt-p): Use it.
2484 (ruby-smie-rules): Revert the logic in the handling of `when'.
2485 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2486 (ruby-deep-arglist, ruby-deep-indent-paren)
2487 (ruby-deep-indent-paren-style): Update docstrings to note that the
2488 vars don't have any effect with SMIE.
2489
26b75b45
JB
24902013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2491
2492 * calc/calc.el (calc-enter, calc-pop): Use the variable
2493 `calc-context-sensitive-enter'.
2494
cf91cee7
LMI
24952013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2496
2497 * net/shr.el (shr-insert): Protect against infloops in degenerate
2498 tables.
2499
51d971b4
RS
25002013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2501
2502 * progmodes/octave.el (octave): Add link to manual and octave
2503 homepage.
2504 (octave-mode-menu): Link to octave-mode manual.
2505
8c2e462a
LL
25062013-12-20 Leo Liu <sdl.web@gmail.com>
2507
2508 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2509 insertion using skeleton-end-newline. (Bug#16138)
2510
501158bc
JL
25112013-12-20 Juri Linkov <juri@jurta.org>
2512
2513 * replace.el (occur-engine): Use `add-face-text-property'
2514 to add the face property to matches and titles. (Bug#14645)
2515
2516 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2517 the palette of other hi-lock colors.
2518 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2519
50ab1da6
JL
25202013-12-19 Juri Linkov <juri@jurta.org>
2521
2522 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2523 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2524 (minibuffer-history-symbol): Move variable declaration closer to
2525 its usage.
2526
2527 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2528 (Bug#14785)
2529
3d6e95e7
JL
25302013-12-19 Juri Linkov <juri@jurta.org>
2531
2532 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2533 New function.
2534 (log-edit-hook): Add it to :options. (Bug#16170)
2535
b41594fd
JL
25362013-12-19 Juri Linkov <juri@jurta.org>
2537
2538 * simple.el (eval-expression-print-format): Don't check for
2539 command names and the last command. Always display additional
2540 formats of the integer result in the echo area, and insert them
2541 to the current buffer only with a zero prefix arg.
2542 Display character when char-displayable-p is non-nil.
2543 (eval-expression): With a zero prefix arg, set `print-length' and
2544 `print-level' to nil, and insert the integer values from
2545 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2546
2547 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2548 `eval-last-sexp-arg-internal'. Doc fix.
2549 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2550 `eval-last-sexp-print-value'. Doc fix.
2551 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2552 Set `print-length' and `print-level' to nil when arg is zero.
2553 (eval-last-sexp): Doc fix.
2554 (eval-defun-2): Print the integer values from
2555 `eval-expression-print-format' at the end.
2556
2557 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2558 values from `eval-expression-print-format' at the end.
2559
2560 * ielm.el (ielm-eval-input): Print the integer
2561 values from `eval-expression-print-format' at the end.
2562
8f2be364
TZ
25632013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2564
2565 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2566 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2567
2230a6e3
SM
25682013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2571 (hl-line-highlight, global-hl-line-highlight): Use it.
2572 (hl-line-overlay): Use defvar-local.
2573
1269a680
JD
25742013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2575
2576 * term/ns-win.el: Require dnd.
2577 (global-map): Remove drag items.
2578 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2579 (ns-set-background-at-mouse):
2580 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2581 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2582 New functions.
1269a680 2583
049638ad
GM
25842013-12-19 Glenn Morris <rgm@gnu.org>
2585
2586 * emacs-lisp/ert.el (ert-select-tests):
2587 Fix string/symbol mixup. (Bug#16121)
2588
ce41edb4
DG
25892013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2590
2591 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2592 keywords to their parent.
2593
7e1549c9
DG
25942013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2595
2596 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2597 first arg to be a string (fixed dead code), or an operator symbol.
2598 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2599 operator symbols.
2600 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2601 did nothing. Don't respond to `(:after ".")', it will be called
2602 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2603 change anything. Only return indentation for binary operators
2604 when they are hanging. De-dent opening paren when its parent is
2605 `.', otherwise it looks bad when the dot is not at bol or eol
2606 (bug#16182).
2607
3ee4cd64
JL
26082013-12-19 Juri Linkov <juri@jurta.org>
2609
2610 * replace.el (query-replace-read-args): Split a non-negative arg
2611 and a negative arg into separate elements.
2612 (query-replace, query-replace-regexp, replace-string)
2613 (replace-regexp): Add arg `backward'. Doc fix.
2614 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2615 move point to the beginning of the match.
2616 (replace-search, replace-highlight): Use new arg `backward'
2617 to set the value of `isearch-forward'.
2618 (perform-replace): Add arg `backward' and use it to perform
2619 replacement backward. (Bug#14979)
2620
2621 * isearch.el (isearch-query-replace): Use a negative prefix arg
2622 to call `perform-replace' with a non-nil arg `backward'.
2623
0cda6b7b
JL
26242013-12-18 Juri Linkov <juri@jurta.org>
2625
2626 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2627 to the default list. Move `log-edit-show-files' to the end.
2628 Add more available functions to options.
2629 (log-edit): Move default specific settings to
2630 `log-edit-insert-message-template'. Don't move point.
2631 (log-edit-insert-message-template): New function.
2632 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2633 (Bug#16170)
2634
b216f0a6
JL
26352013-12-18 Juri Linkov <juri@jurta.org>
2636
2637 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2638 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2639
1d1c55dc
LL
26402013-12-18 Leo Liu <sdl.web@gmail.com>
2641
e9dc713d
JB
2642 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2643 (Bug#16186)
1d1c55dc 2644
64e4c76e
EZ
26452013-12-18 Eli Zaretskii <eliz@gnu.org>
2646
2647 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2648 formats for displaying file sizes when the -s switch is given.
2649 Instead, compute a separate format for displaying the size in
2650 blocks, which is displayed in addition to the "regular" size.
2651 When -h is given in addition to -s, produce size in blocks in
2652 human-readable form as well. (Bug#16179)
2653
b2984e39
TH
26542013-12-18 Tassilo Horn <tsdh@gnu.org>
2655
2230a6e3
SM
2656 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2657 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2658
50ff2e06
CY
26592013-12-18 Chong Yidong <cyd@gnu.org>
2660
0081bc84
CY
2661 * cus-edit.el (custom-magic-alist): Fix "themed" description
2662 (Bug#14348).
2663
a7ee9424
CY
2664 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2665 is non-nil, do not create a new entry in the symbol's theme-value
2666 or theme-face property; update theme-settings only (Bug#14664).
18874304 2667 (custom-available-themes): Doc fix.
a7ee9424 2668
8f942537
CY
2669 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2670 (Bug#15674).
2671
50ff2e06
CY
2672 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2673
83c60f60
KI
26742013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2675
2676 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2677 (Bug#13914).
2678
e0eb0550 26792013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2680
2681 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2682
1f41ee56
GM
26832013-12-18 Glenn Morris <rgm@gnu.org>
2684
2685 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2686 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2687
e82134b1
LW
26882013-12-18 Le Wang <l26wang@gmail.com>
2689
2230a6e3
SM
2690 * comint.el (comint-previous-matching-input-from-input):
2691 Retain point (Bug#13404).
e82134b1 2692
33f5d4c1
CY
26932013-12-18 Chong Yidong <cyd@gnu.org>
2694
2695 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2696
ccc9f6dc
GM
26972013-12-18 Glenn Morris <rgm@gnu.org>
2698
2699 * mail/emacsbug.el (report-emacs-bug):
2700 Only mention enable-multibyte-characters if non-standard.
2701
33dd8e95
JL
27022013-12-17 Juri Linkov <juri@jurta.org>
2703
2704 * arc-mode.el (archive-extract-by-file): Check if directory exists
2705 before deletion to not show irrelevant errors if it doesn't exist.
2706
7a409b30
JL
27072013-12-17 Juri Linkov <juri@jurta.org>
2708
2709 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2710 (Bug#14751)
2711
2712 * net/eww.el (browse-web): Add alias to `eww'.
2713 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2714 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2715
2716 * net/browse-url.el (browse-url-browser-function): Move `eww'
2717 closer to similar functions.
2718
2719 * startup.el (fancy-startup-screen, fancy-about-screen):
2720 Set browse-url-browser-function to eww-browse-url locally.
2721 (Bug#14751)
2722
2d6b6005
SM
27232013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * window.el (window--pixel-to-total): Remove unused `mini' var.
2726 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2727 (split-window): Remove unused `new' var.
2728 (window--display-buffer): Remove unused `frame' and `delta' vars.
2729 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2730 and display-width'.
2731
cf2b7efc
MR
27322013-12-17 Martin Rudalics <rudalics@gmx.at>
2733
2734 * dired.el (dired-mark-pop-up):
2735 * register.el (register-preview): Don't bind
2736 split-height-threshold here since it's now done in
2737 display-buffer-below-selected.
2738
ed3af8a7 27392013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2740
2741 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2742 xterm-rgb-convert-to-16bit.
2743 (rxvt-register-default-colors): Standardize with
2744 xterm-register-default-colors (Bug#14078).
2745
76da3455
DK
27462013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2747
2748 * simple.el (kill-region): Pass mark first, then point, so that
2749 kill-append works right (Bug#12819).
2750 (copy-region-as-kill, kill-ring-save): Likewise.
2751
2b84d763
LL
27522013-12-17 Leo Liu <sdl.web@gmail.com>
2753
2754 * net/rcirc.el (rcirc-add-face):
2755 * eshell/em-prompt.el (eshell-emit-prompt):
2756 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2757 (Bug#16167)
2758
e2f6a0bc
CY
27592013-12-17 Chong Yidong <cyd@gnu.org>
2760
2761 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2762 Suggested by Xue Fuqiao.
2763
35b249a6
DG
27642013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2765
2766 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2767
e9145444
SM
27682013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * net/shr.el (shr-insert-document): Remove unused var
2771 `shr-preliminary-table-render'.
2772 (shr-rescale-image): Remove unused arg `force'.
2773 (shr-put-image): Update calls accordingly.
2774 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2775
5556c0ce
DG
27762013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2777
2778 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2779 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2780 :close-all, to see which indentation method to use (Bug#16116).
2781 (smie-rules-function): Document the method :close-all.
2782
11bade0a
LMI
27832013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2784
1c4b1e61
LMI
2785 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2786
11bade0a
LMI
2787 * net/eww.el (eww-display-html): If we can't find the anchor we're
2788 looking for, then go to point-min.
2789
8fb8c4f3
PE
27902013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2791
2792 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2793 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2794 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2795 Expand dir too, in case it's relative.
2796
6c8e0ae6
JL
27972013-12-16 Juri Linkov <juri@jurta.org>
2798
2799 * desktop.el (desktop-auto-save-timeout): Change default to
2800 `auto-save-timeout'. Doc fix.
2801 (desktop-save): Skip the timestamp in desktop-saved-frameset
2802 when checking for auto-save changes.
2803 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2804 `desktop-auto-save' is called repeatedly by the idle timer.
2805 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2806 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2807 (Bug#15331)
2808
2178e858
JL
28092013-12-16 Juri Linkov <juri@jurta.org>
2810
2811 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2812 (Bug#16035)
2813 (isearch-pre-command-hook): Check `this-command' for symbolp.
2814
39cb42c6
SM
28152013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2818
5b9b750a
TZ
28192013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2820
2821 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2822 (cfengine3--current-function): Bring in the current-function
2823 functionality from `cfengine3--current-word'.
2824 (cfengine3-completion-function): Bring in the
2825 bounds-of-current-word functionality from
2826 `cfengine3--current-word'.
2827
d144ef06
MR
28282013-12-16 Martin Rudalics <rudalics@gmx.at>
2829
39cb42c6
SM
2830 * window.el (display-buffer-below-selected):
2831 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2832
a8bbe298
LL
28332013-12-16 Leo Liu <sdl.web@gmail.com>
2834
2835 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2836 Remove NOMSG arg and all uses changed.
2837
2013a2f9
SM
28382013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2841 (cua--deactivate-rectangle): Don't deactivate the mark.
2842 (cua-set-rectangle-mark): Don't set mark-active since
2843 cua--activate-rectangle already does it for us.
2844 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2845 non-rectangular region.
2846
2847 * emulation/cua-base.el (cua-repeat-replace-region):
2848 Use with-current-buffer.
2849
2850 * net/gnutls.el: Use cl-lib.
2851 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2852
5ae811dd
TZ
28532013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2854
2855 * emacs-lisp/package.el (package-built-in-p): Support both
2856 built-in and the package.el converted package descriptions.
2857 (package-show-package-list): Allow keywords.
2858 (package-keyword-button-action): Use it instead of
2859 `finder-list-matches'.
2860 (package-menu-filter-interactive): Interactive filtering (by
2861 keyword) function.
2862 (package-menu--generate): Support keywords and change keymappings
2863 and headers when they are given.
2864 (package--has-keyword-p): Helper function.
2865 (package-menu--refresh): Use it.
2866 (package--mapc): Helper function.
2867 (package-all-keywords): Use it.
2868 (package-menu-mode-map): Set up menu items and keybindings to
2869 provide a filtering UI.
2870
31b4827e
TZ
28712013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2872
2873 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2874 the behavior when a certificate fails validation. Defaults to
2875 old behavior: never abort, just warn.
2876 (gnutls-negotiate): Use it.
2877
f93cc74f
MR
28782013-12-14 Martin Rudalics <rudalics@gmx.at>
2879
2880 * window.el (display-buffer-below-selected): Never split window
2881 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2882
f77d7d17
TW
28832013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2884
2885 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2886 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2887
7514d3f8
SM
28882013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2889
aa2bddd7 2890 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2891 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2892
276bc333
DG
28932013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2894
2895 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2896 open-paren tokens when preceded by a open-paren, too.
2897 (ruby-smie-rules): Handle virtual indentation after open-paren
2898 tokens specially. If there is code between it and eol, return the
2899 column where is starts (Bug#16118).
2900
d43957f3
TZ
29012013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2902
a5c1ac0c 2903 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2904 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2905 (cfengine3--current-word): Fix parameters.
2906 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2907 (cfengine3-completion-function, cfengine3--current-function):
2908 Use `assq' for symbols.
d43957f3
TZ
2909 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2910
06a4f110
GM
29112013-12-13 Glenn Morris <rgm@gnu.org>
2912
2913 * loadup.el (load-path): Warn if site-load or site-init changes it.
2914 No more need to reset it when bootstrapping.
2915
978a5fda
TZ
29162013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2917
2918 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2919 locations for cf-promises.
2920 (cfengine-mode-syntax-functions-regex): New caching variable.
2921 (cfengine3-fallback-syntax): Fallback syntax for cases where
2922 cf-promises doesn't run.
2923 (cfengine3--current-word): Reimplement using
2924 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2925 (cfengine3-completion-function, cfengine3--current-function):
2926 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2927 (cfengine3-clear-syntax-cache): New function.
2928 (cfengine3-make-syntax-cache): Simplify and create
2929 `cfengine-mode-syntax-functions-regex' on demand.
2930 (cfengine3-format-function-docstring): Don't call
2931 `cfengine3-make-syntax-cache' explicitly.
2932
71e6691e
MR
29332013-12-13 Martin Rudalics <rudalics@gmx.at>
2934
2935 Fix windmove-find-other-window broken after pixelwise resizing
2936 (Bug#16017).
2937 * windmove.el (windmove-other-window-loc): Revert change from
2938 2013-12-04.
2939 (windmove-find-other-window): Call window-in-direction.
2940 * window.el (window-in-direction): New arguments SIGN, WRAP and
2941 MINI to emulate original windmove-find-other-window behavior.
2942
84c73ba0
DG
29432013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2944
2945 * simple.el (blink-matching--overlay): New variable.
2946 (blink-matching-open): Instead of moving point, highlight the
2947 matching paren with an overlay
2948 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2949
2950 * faces.el (paren-showing-faces, show-paren-match)
2951 (show-paren-mismatch): Move from paren.el.
2952
b9e20952
LL
29532013-12-13 Leo Liu <sdl.web@gmail.com>
2954
2955 * indent.el (indent-region): Disable progress reporter in
2956 minibuffer. (Bug#16108)
2957
2958 * bindings.el (visual-order-cursor-movement): Fix version.
2959
ce030451
FEG
29602013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2961
2962 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2963 Also match after beginning of line.
2964 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2965 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2966
4a9c6865
JL
29672013-12-13 Juri Linkov <juri@jurta.org>
2968
2969 * simple.el <Keypad support>: Remove key bindings duplicated
2970 with bindings.el. (Bug#14397)
2971
2bc170c3
JL
29722013-12-13 Juri Linkov <juri@jurta.org>
2973
2974 * comint.el (comint-mode-map): Replace `delete-char' with
2975 `delete-forward-char'. (Bug#16109)
2976
bc9222c9
FEG
29772013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2978
aa2bddd7 2979 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2980 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2981
cb3a1380
SM
29822013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2985 (advice--make): Pay attention to `depth'.
2986 (advice--make-1): Don't autoload commands eagerly.
2987 * emacs-lisp/elp.el (elp-instrument-function):
2988 * emacs-lisp/trace.el (trace-function-internal):
2989 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2990
2991 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2992
01633a17
EZ
29932013-12-12 Eli Zaretskii <eliz@gnu.org>
2994
2995 * term/w32-win.el (w32-handle-dropped-file):
2996 * startup.el (normal-top-level):
2997 * net/browse-url.el (browse-url-file-url):
2998 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2999 decode file names using 'utf-8' rather than
3000 file-name-coding-system.
3001
09faee72
FEG
30022013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3003
3004 * progmodes/python.el (python-indent-context)
3005 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3006 behavior for comment blocks. (Bug#15916)
09faee72 3007
f4f84024 30082013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3009
cb3a1380
SM
3010 * progmodes/python.el (python-indent-calculate-indentation):
3011 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3012 operators when they are just string constituents. (Bug#15812)
3013
d5ccb7be
JL
30142013-12-12 Juri Linkov <juri@jurta.org>
3015
3016 * uniquify.el (uniquify-buffer-name-style): Change default to
3017 `post-forward-angle-brackets'.
3018
3019 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3020 `uniquify'. Change default to `post-forward-angle-brackets'.
3021
7b3f5679
GM
30222013-12-11 Glenn Morris <rgm@gnu.org>
3023
3024 * emacs-lisp/package.el (finder-list-matches):
3025 Autoload rather than falsely declaring.
3026
f4fe8fdd
TZ
30272013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3028
3029 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3030 (eww-mode-map): Use them.
3031
3c29190f
MR
30322013-12-11 Martin Rudalics <rudalics@gmx.at>
3033
3034 * window.el (display-buffer-in-side-window): Fix doc-string
3035 (Bug#16115).
3036
0cd616a2
JB
30372013-12-11 Juanma Barranquero <lekktu@gmail.com>
3038
3039 * vc/vc-git.el: Silence byte-compiler warnings.
3040 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3041 (log-edit-set-header): Declare.
3042
3ef8e0d1
EZ
30432013-12-11 Eli Zaretskii <eliz@gnu.org>
3044
3045 * Makefile.in (custom-deps, finder-data): Run output file names
3046 through unmsys--file-name. (Bug#16099)
3047
afdadaf7
SM
30482013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3049
7ae3ae39 3050 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3051 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3052
5b4f37ab
SM
3053 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3054 instead of deleting the selection "by hand" (bug#16098).
3055 Rely on insert-for-yank to yank rectangles.
3056 (cua-highlight-region-shift-only): Mark obsolete.
3057 (cua-mode): Don't enable/disable transient-mark-mode,
3058 shift-select-mode (cua-mode works both with and without them), and
3059 pc-selection-mode (obsolete).
3060 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3061 (cua--deactivate-rectangle): Deactivate it.
3062
4b72c12b
SM
3063 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3064 (delete-selection-helper): Make sure yank starts at the top of the
3065 deleted region.
3066 (minibuffer-keyboard-quit): Use region-active-p.
3067
e82af72d
SM
3068 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3069
afdadaf7
SM
3070 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3071 to `delete' (bug#16109).
3072
ed4bc201
RS
30732013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3074
3075 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3076 info manual and show keybindings and set `:group' keyword.
3077
bb8097b9
JL
30782013-12-11 Juri Linkov <juri@jurta.org>
3079
3080 * delsel.el (delete-active-region): Let-bind `this-command'
3081 to prevent `kill-region' from changing its original value.
3082 (delete-selection-helper): Handle `overwrite-mode' for the type
3083 `kill' exactly the same way as for the type `t'.
3084 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3085 Support more commands. (Bug#13312)
3086
c1916ff5
JL
30872013-12-11 Juri Linkov <juri@jurta.org>
3088
3089 * bindings.el: Map kp keys to non-kp keys systematically
3090 with basic modifiers control, meta and shift. (Bug#14397)
3091
7514d3f8 30922013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3093
3094 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3095 "Close browser" menu items. Fix wrong function of "List
3096 bookmarks".
3097
4cc51eaf
JL
30982013-12-11 Juri Linkov <juri@jurta.org>
3099
3100 * misearch.el (multi-isearch-buffers): Set the value of
3101 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3102 arg of isearch-forward to t.
3103 (multi-isearch-buffers-regexp): Set the value of
3104 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3105 arg of isearch-forward-regexp to t.
3106 (multi-isearch-files): Set the value of
3107 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3108 arg of isearch-forward to t.
3109 (multi-isearch-files-regexp): Set the value of
c295fc18 3110 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3111 arg of isearch-forward-regexp to t. (Bug#16035)
3112
3113 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3114 arg of isearch-forward to t.
3115 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3116 arg of isearch-forward-regexp to t.
3117 (dired-isearch-filter-filenames): Remove unnecessary check for
3118 `dired-isearch-filenames'.
3119
3120 * comint.el (comint-history-isearch-backward):
3121 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3122 (comint-history-isearch-backward-regexp):
3123 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3124
ceac12b7
EZ
31252013-12-10 Eli Zaretskii <eliz@gnu.org>
3126
3127 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3128 unmsys--file-name. (Bug#16099)
3129
5a565782
TZ
31302013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3131
cb3a1380
SM
3132 * emacs-lisp/package.el (package-keyword-button-action):
3133 Remove finder.el require dependency.
5a565782 3134
a81fc7ba
TZ
31352013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3136
3137 * emacs-lisp/package.el: Require finder.el.
3138 (describe-package-1): Add keyword buttons.
3139 (package-make-button): New convenience function.
3140 (package-keyword-button-action): Keyword button action using
e0eb0550 3141 `finder-list-matches'.
a81fc7ba 3142
6aaca951
EZ
31432013-12-09 Eli Zaretskii <eliz@gnu.org>
3144
3145 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3146 last commit.
3147
a1099a91
MA
31482013-12-09 Michael Albinus <michael.albinus@gmx.de>
3149
3150 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3151 symlinked files.
3152
8212d9c0
DG
31532013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3154
3155 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3156 after the end of a percent literal.
3157
8f48d131
CD
31582013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3159
cb3a1380
SM
3160 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3161 Handle caret-delimited strings (Bug#16079).
8f48d131 3162
ff8c9764
DG
31632013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3164
cb3a1380
SM
3165 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3166 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3167 `ruby-parse-partial' (Bug#16078).
3168
d64643b4
LL
31692013-12-09 Leo Liu <sdl.web@gmail.com>
3170
3171 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3172
47e59c66
DG
31732013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3174
3175 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3176 (js-switch-indent-offset): New option.
3177 (js--proper-indentation): Use it. And handle the case when
3178 "default" is actually a key in an object literal.
3179 (js--same-line): New function.
3180 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3181 (js--indent-in-array-comp, js--array-comp-indentation):
3182 New functions.
47e59c66
DG
3183 (js--proper-indentation): Use them, to handle array comprehension
3184 continuations.
3185
974ebc9c
LL
31862013-12-08 Leo Liu <sdl.web@gmail.com>
3187
3188 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3189 (flymake-make-overlay): Remove arg MOUSE-FACE.
3190 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3191
27262e39
SM
31922013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3193
3194 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3195 New function.
3196 (redisplay-highlight-region-function): Use it.
3197
3198 * emulation/cua-base.el (cua--explicit-region-start)
3199 (cua--last-region-shifted): Remove.
3200 (cua--deactivate): Use deactivate-mark.
3201 (cua--pre-command-handler-1): Don't handle shift-selection.
3202 (cua--post-command-handler-1): Don't change transient-mark-mode.
3203 (cua--select-keymaps): Use region-active-p rather than
3204 cua--explicit-region-start or cua--last-region-shifted.
3205 (cua-mode): Enable shift-select-mode.
3206
6407822c
LL
32072013-12-08 Leo Liu <sdl.web@gmail.com>
3208
27262e39
SM
3209 * progmodes/flymake.el (flymake-popup-current-error-menu):
3210 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3211 (flymake-posn-at-point-as-event, flymake-popup-menu)
3212 (flymake-make-emacs-menu): Remove. (Bug#16077)
3213
00a2b823
SM
32142013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3215
02033d49
SM
3216 * rect.el (rectangle-mark-mode): Activate mark even if
3217 transient-mark-mode is off (bug#16066).
3218 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3219 is > mark and at bolp.
3220
6f8dfccf
SM
3221 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3222 (region-extract-function): Use it.
3223 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3224 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3225 Delete functions.
3226 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3227 kill-ring-save, kill-region, delete-char, delete-forward-char.
3228 Ignore self-insert-iso.
3229
3230 * emulation/cua-gmrk.el (cua--init-global-mark):
3231 Ignore `self-insert-iso'.
3232
3233 * emulation/cua-base.el (cua--prefix-copy-handler)
3234 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3235 checking cua--rectangle.
3236 (cua-delete-region): Use region-extract-function.
3237 (cua-replace-region): Delete function.
3238 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3239 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3240 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3241 (cua--init-keymaps): Don't remap delete-selection commands.
3242 (cua-mode): Use delete-selection-mode instead of rolling our own
3243 (bug#16085).
3244
3245 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3246 Obey region-extract-function.
3247
00a2b823
SM
3248 Make registers and delete-selection-mode work on rectangles.
3249 * register.el (describe-register-1): Don't modify the register's value.
3250 (copy-to-register): Obey region-extract-function.
3251 * delsel.el (delete-active-region): Obey region-extract-function.
3252
a92fa5f1
LL
32532013-12-08 Leo Liu <sdl.web@gmail.com>
3254
3255 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3256 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3257 (flymake-compilation-prevents-syntax-check)
3258 (flymake-start-syntax-check-on-newline)
3259 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3260 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3261 (flymake-xml-program, flymake-master-file-dirs)
3262 (flymake-master-file-count-limit)
3263 (flymake-allowed-file-name-masks): Relocate.
3264 (flymake-makehash, flymake-float-time)
3265 (flymake-replace-regexp-in-string, flymake-split-string)
3266 (flymake-get-temp-dir): Remove.
3267 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3268 (flymake-current-row, flymake-selected-frame)
3269 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3270 related functions. (Bug#16077)
3271
73c8ceea
BB
32722013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3273
3274 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3275
faec28d9
TH
32762013-12-07 Tassilo Horn <tsdh@gnu.org>
3277
3278 * help-fns.el (describe-function-1): Use new advice-* functions
3279 rather than old ad-* functions. Fix function type description and
3280 source links for advised functions and subrs.
3281
e330b646
LMI
32822013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3283
00a2b823 3284 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3285
4803595d
MA
32862013-12-06 Michael Albinus <michael.albinus@gmx.de>
3287
3288 * progmodes/compile.el (compilation-start):
3289 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3290
3291 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3292 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3293
fa834a93
DG
32942013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3295
00a2b823
SM
3296 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3297 Touch up the last change.
fa834a93 3298
b2856a6f
LL
32992013-12-06 Leo Liu <sdl.web@gmail.com>
3300
3301 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3302 (inferior-octave-startup): Always use "octave> " for prompt.
3303 (octave-goto-function-definition)
3304 (octave-sync-function-file-names)
3305 (octave-find-definition-default-filename): Remove redundant backquotes.
3306
af67e79a
DG
33072013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3308
3309 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3310 syntax for `?'.
3311 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3312 where appropriate already.
3313 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3314 end of method names (Bug#15874).
3315
bf093209
JL
33162013-12-06 Juri Linkov <juri@jurta.org>
3317
3318 * isearch.el (isearch--saved-overriding-local-map):
3319 New internal variable.
3320 (isearch-mode): Set it to the initial value of
3321 `overriding-terminal-local-map'.
3322 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3323 with `isearch--saved-overriding-local-map'. (Bug#16035)
3324
16588fad
DG
33252013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3326
00a2b823
SM
3327 * progmodes/octave.el (inferior-octave-completion-table):
3328 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3329 (Bug#11906). Update all references.
3330
3331 * minibuffer.el (completion-table-with-cache): New function.
3332
bf4906d7
CD
33332013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3334
3335 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3336
ff69c18f
TZ
33372013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3338
3339 * net/eww.el (eww-current-source): New variable to store page
3340 source.
3341 (eww-display-html, eww-mode, eww-save-history)
3342 (eww-restore-history): Use it.
3343 (eww-view-source): New command to view page source.
3344 Opportunistically uses `html-mode' to highlight the buffer.
3345 (eww-mode-map): Install it.
3346
b85eff45
MA
33472013-12-05 Michael Albinus <michael.albinus@gmx.de>
3348
3349 * net/dbus.el (dbus-unregister-service)
3350 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3351 Fix docstring.
3352 (dbus-unregister-service): Skip :serial entries in
3353 `dbus-registered-objects-table'.
3354 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3355
39eb0899
TZ
33562013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3357
3358 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3359 around keywords with extra `split-string' argument.
3360
456760a5
MR
33612013-12-04 Martin Rudalics <rudalics@gmx.at>
3362
3363 * windmove.el (windmove-other-window-loc): Handle navigation
3364 between windows (excluding the minibuffer window - Bug#16017).
3365
81961e4c
MA
33662013-12-04 Michael Albinus <michael.albinus@gmx.de>
3367
3368 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3369 in D-Bus type syntax.
3370 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3371 preserve unibyte strings. (Bug#16048)
3372
8497f938
SM
33732013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3376 Call force-mode-line-update is the proper buffer (bug#16042).
3377
dda61916
DG
33782013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3379
3380 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3381 `log-edit-remember-comment', make argument optional. Adjust all
3382 callers.
3383 (log-edit-mode): Add `log-edit-remember-comment' to
3384 `kill-buffer-hook' locally.
3385 (log-edit-kill-buffer): Don't remember comment explicitly since
3386 the buffer is killed anyway.
3387
c085e5b9
JL
33882013-12-04 Juri Linkov <juri@jurta.org>
3389
3390 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3391 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3392
e0eb0550 33932013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3394
3395 * notifications.el (notifications-close-notification): Call the
81961e4c 3396 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3397
39fa32d6
KY
33982013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3399
3400 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3401
9139632a
JL
34022013-12-03 Juri Linkov <juri@jurta.org>
3403
3404 * progmodes/compile.el (compilation-start): Rename window alist
3405 entry `no-display-ok' to `allow-no-window'.
3406
3407 * simple.el (shell-command): Add window alist entry
3408 `allow-no-window' to `display-buffer'.
3409 (async-shell-command): Doc fix.
3410
3411 * window.el (display-buffer-no-window): New action function.
3412 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3413
0f457a37
DG
34142013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3415
3416 * vc/log-edit.el (log-edit-set-header): Extract from
3417 `log-edit-toggle-header'.
3418 (log-edit-extract-headers): Separate the summary, when extracted
3419 from header, from the rest of the message with an empty line.
3420
3421 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3422 line, if present, to the Summary header.
3423
0962f376
SM
34242013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3427 in current-buffer (bug#16029).
3428
f345395c
HE
34292013-12-02 Helmut Eller <eller.helmut@gmail.com>
3430
3431 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3432 (debugger-mode-map): Bind it.
3433 (debugger--backtrace-base): New function.
3434 (debugger-eval-expression): Use it.
3435 (debugger-frame-number): Skip local vars when present.
3436 (debugger--locals-visible-p, debugger--insert-locals)
3437 (debugger--show-locals, debugger--hide-locals): New functions.
3438
a8a15d9d
MA
34392013-12-02 Michael Albinus <michael.albinus@gmx.de>
3440
3441 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3442 "LC_ALL".
3443 (tramp-get-remote-locale): New defun.
3444 (tramp-open-connection-setup-interactive-shell): Use it.
3445
0518b057
LL
34462013-12-02 Leo Liu <sdl.web@gmail.com>
3447
3448 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3449
3450 * progmodes/sh-script.el (sh-shell-process):
3451 * progmodes/octave.el (inferior-octave-process-live-p):
3452 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3453 (gdb-inferior-io-sentinel):
3454 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3455
3adc9c6d
DG
34562013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3457
3458 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3459 `save-selected-window' to `log-edit-hide-buf'. This makes
3460 `log-edit-show-files' idempotent.
3461 (log-edit-show-files): Mark the new window as dedicated.
3462
47e8b74e
DG
34632013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3464
3465 * vc/log-edit.el (log-edit-mode-map): Add binding for
3466 `log-edit-kill-biffer'.
3467 (log-edit-hide-buf): Add a FIXME comment.
3468 (log-edit-add-new-comment): New function, extracted from
3469 `log-edit-done'.
3470 (log-edit-done, log-edit-add-to-changelog): Use it.
3471 (log-edit-kill-buffer): New command.
3472
1f6e1bb0
LMI
34732013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3474
3475 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3476 instead of killing the buffer.
3477
fb651d15
SM
34782013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3481
8feacce0
RS
34822013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3483
fb651d15 3484 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3485 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3486 (eww-form-checkbox, eww-toggle-checkbox):
3487 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3488
e0eb0550 3489 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3490 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3491 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3492 no :src tag was specified.
3493
fb651d15 3494 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3495 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3496 Use \\` to match beginning of string instead of ^.
3497 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3498 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3499
177948a5
RS
3500 * net/shr.el (shr-tag-video): Display content for video if no
3501 poster is available.
eb2dd24d 3502 (shr-tag-audio): Add support for <audio> tag.
177948a5 3503
e0eb0550 3504 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3505 (eww-process-text-input): Treat input types in
3506 `eww-text-input-types' as text.
3507
8feacce0
RS
3508 * net/shr.el (shr-tag-table): Fix comment typo.
3509
513562a1
LMI
35102013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3511
3512 * net/eww.el (eww-follow-link): New command to avoid reloading
3513 pages when we follow #target links (bug#15243).
de8a5633 3514 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3515
9dd99753
KN
35162013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3517
3518 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3519 forms.
3520
3e9876de
LMI
35212013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3522
3523 * net/eww.el (eww-restore-history): Update the window title after
3524 moving in the history.
ab6dea82 3525 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3526
52789f7f
DG
35272013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3528
3529 * vc/log-edit.el (log-edit-mode-map): Add binding for
3530 `log-edit-beginning-of-line'.
3531 (log-edit-setup-add-author): New user option.
3532 (log-edit-beginning-of-line): New command.
3533 (log-edit): Move major mode call above the contents setup so that
3534 the local variable values are already applied.
3535 (log-edit): Only insert "Author: " when
3536 `log-edit-setup-add-author' is non-nil.
3537 (log-edit): When SETUP is non-nil, position point after ": "
3538 instead of point-min.
3539
2e6710c3
GM
35402013-12-01 Glenn Morris <rgm@gnu.org>
3541
3542 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3543
fadec31f
EZ
35442013-11-30 Eli Zaretskii <eliz@gnu.org>
3545
3546 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3547 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3548 visible. (Bug#16014)
3549
10634b40 35502013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3551
3552 Support resizing frames and windows pixelwise.
3553 * cus-start.el (frame-resize-pixelwise)
3554 (window-resize-pixelwise): New entries.
3555 * emacs-lisp/debug.el (debug): Use window-total-height instead
3556 of window-total-size.
3557 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
3558 * help.el (describe-bindings-internal): Use help-buffer as
3559 argument for with-help-window.
880e6158
MR
3560 (temp-buffer-max-width): New option.
3561 (resize-temp-buffer-window, help-window-setup)
3562 (with-help-window): Rewrite.
3563 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3564 dragging dividers.
3565 * window.el (frame-char-size, window-min-pixel-height)
3566 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3567 (window-min-pixel-width, window-safe-min-pixel-size)
3568 (window-combination-p, window-safe-min-size)
3569 (window-resizable-p, window--size-to-pixel)
3570 (window--pixel-to-size, window--resize-apply-p): New functions.
3571 (window-safe-min-height): Fix doc-string.
3572 (window-size, window-min-size, window--min-size-1)
3573 (window-sizable, window-sizable-p, window--min-delta-1)
3574 (window-min-delta, window--max-delta-1, window-max-delta)
3575 (window--resizable, window--resizable-p, window-resizable)
3576 (window-full-height-p, window-full-width-p, window-at-side-p)
3577 (window--in-direction-2, window-in-direction)
3578 (window--resize-reset-1, window--resize-mini-window)
3579 (window-resize, window-resize-no-error)
3580 (window--resize-child-windows-normal)
3581 (window--resize-child-windows, window--resize-siblings)
3582 (window--resize-this-window, window--resize-root-window)
3583 (window--resize-root-window-vertically)
3584 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3585 (maximize-window, minimize-window, delete-window)
3586 (quit-restore-window, window-split-min-size, split-window)
3587 (balance-windows-2, balance-windows)
3588 (balance-windows-area-adjust, balance-windows-area)
3589 (window--state-get-1, window-state-get, window--state-put-1)
3590 (window--state-put-2, window-state-put)
fb651d15
SM
3591 (display-buffer-record-window, window--display-buffer):
3592 Make functions handle pixelwise sizing of windows.
880e6158 3593 (display-buffer--action-function-custom-type)
fb651d15
SM
3594 (display-buffer-fallback-action):
3595 Add display-buffer-in-previous-window.
880e6158
MR
3596 (display-buffer-use-some-window): Resize window to height it had
3597 before.
3598 (fit-window-to-buffer-horizontally): New option.
3599 (fit-frame-to-buffer): Describe new values.
3600 (fit-frame-to-buffer-bottom-margin): Replace with
3601 fit-frame-to-buffer-margins.
3602 (window--sanitize-margin): New function.
3603 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3604 using window-text-pixel-size.
3605
f9b697dd
GM
36062013-11-30 Glenn Morris <rgm@gnu.org>
3607
3e2fb4db
GM
3608 * emacs-lisp/bytecomp.el (byte-compile-form):
3609 Make the `interactive-only' warning like the `obsolete' one.
3610 * comint.el (comint-run):
3611 * files.el (insert-file-literally, insert-file):
3612 * replace.el (replace-string, replace-regexp):
3613 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3614 (goto-line, insert-buffer, next-line, previous-line):
3615 Tweak `interactive-only' spec.
3616
f9b697dd
GM
3617 Stop keeping (most) generated cedet grammar files in the repository.
3618 * Makefile.in (semantic): New.
3619 (compile-main): Depend on semantic.
3620
da048127
SM
36212013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3622
7784b779
SM
3623 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3624 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3625
4e36a6a6
SM
3626 * uniquify.el (uniquify-buffer-name-style): Change default.
3627
3628 * loadup.el: Preload "uniquify".
3629
e0ba1308
SM
3630 * time.el (display-time-update): Update all mode lines (bug#15999).
3631
da048127
SM
3632 * electric.el (electric-indent-mode): Enable by default.
3633 * loadup.el: Preload "electric".
3634
015b3b3e
BB
36352013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3636
3637 * emacs-lisp/helpers.el (string-empty-p): New function.
3638 (string-blank-p): New function.
3639
7efb806d
AP
36402013-11-29 Andreas Politz <politza@hochschule-trier.de>
3641
3642 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3643 (Bug#14029).
3644
c8f0efc2
AP
36452013-11-29 Andreas Politz <politza@fh-trier.de>
3646 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3647 allow non-lambda lists as functions.
3648 (imenu--in-alist): Don't recurse into non-subalists.
3649 (imenu): Don't pass function itself as an argument (Bug#14029).
3650
bd15d9d1
SM
36512013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * progmodes/python.el (python-mode-map): Remove binding for ":".
3654 (python-indent-electric-colon): Remove command.
3655 (python-indent-post-self-insert-function): Integrate the previous code
3656 of python-indent-electric-colon. Make it conditional on
3657 electric-indent-mode.
3658 (python-mode): Add ?: to electric-indent-chars.
3659 Move python-indent-post-self-insert-function to the end of
3660 post-self-insert-hook.
3661
1b10adb6
SM
36622013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3663
655ab9a3
SM
3664 * doc-view.el (doc-view-goto-page): Update mode-line.
3665
1b10adb6
SM
3666 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3667
7e3bf78c
GM
36682013-11-27 Glenn Morris <rgm@gnu.org>
3669
3670 * international/charprop.el, international/uni-bidi.el:
3671 * international/uni-category.el, international/uni-combining.el:
3672 * international/uni-comment.el, international/uni-decimal.el:
3673 * international/uni-decomposition.el, international/uni-digit.el:
3674 * international/uni-lowercase.el, international/uni-mirrored.el:
3675 * international/uni-name.el, international/uni-numeric.el:
3676 * international/uni-old-name.el, international/uni-titlecase.el:
3677 * international/uni-uppercase.el:
3678 Remove generated files from VCS repository.
3679
fb6a5d68
EZ
36802013-11-27 Eli Zaretskii <eliz@gnu.org>
3681
3682 * filenotify.el (file-notify-add-watch): Don't special-case
3683 w32notify when computing the directory to watch.
3684
cb6c95a3
GM
36852013-11-27 Glenn Morris <rgm@gnu.org>
3686
20372d0c
GM
3687 Make bootstrap without generated uni-*.el files possible again.
3688 * loadup.el: Update command-line-args checking for unidata-gen.
3689 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3690 * composite.el, international/characters.el:
3691 Handle unicode tables being undefined.
3692
52d6635f 3693 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3694 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3695 (compile-main): Depend on leim rule.
3696 (leim): New rule.
3697 * loadup.el: Move leim-list.el to leim/ subdirectory.
3698 * startup.el (normal-top-level): No more leim directory.
3699 * international/ja-dic-cnv.el (skkdic-convert):
3700 Disable version-control and autoloads in output files.
3701 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3702 Disable version-control and autoloads in output files.
3703 * leim/quail: Move here from ../leim.
3704 * leim/quail/hangul.el (hangul-input-method-activate):
3705 Add autoload cookie.
3706 (generated-autoload-load-name): Set file-local value.
3707 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3708 (generated-autoload-load-name): Set file-local value.
3709
7514d3f8 37102013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3711
e0eb0550 3712 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3713 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3714 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3715
0e2c793f
EZ
37162013-11-26 Eli Zaretskii <eliz@gnu.org>
3717
3718 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3719 reading output from Diff on MS-Windows and MS-DOS.
3720
447bdcb8
BB
37212013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3722
3723 * emacs-lisp/helpers.el (string-reverse): New function.
3724
5fbf6856
MA
37252013-11-26 Michael Albinus <michael.albinus@gmx.de>
3726
3727 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3728 names on MS Windows, like "/[::1]:".
3729
3730 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3731 SWITCHES.
3732
624780f0
GM
37332013-11-26 Glenn Morris <rgm@gnu.org>
3734
0bf3f0fa
GM
3735 * progmodes/python.el (python-indent-guess-indent-offset):
3736 Avoid corner-case error. (Bug#15975)
3737
624780f0
GM
3738 Preload leim-list.el. (Bug#4789)
3739 * loadup.el: Load leim-list.el when found.
3740 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3741
4301875e 37422013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3743
3744 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3745
4301875e
BB
3746 * emacs-lisp/helpers.el (string-join): New function.
3747
1633a815 37482013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3749
3750 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3751 Mark as obsolete and replace it with a symbol property.
3752 (byte-compile-form): Use new 'interactive-only property.
3753 * comint.el, files.el, replace.el, simple.el:
3754 Apply new 'interactive-only properly.
3755
00139435
MR
37562013-11-25 Martin Rudalics <rudalics@gmx.at>
3757
3758 * window.el (display-buffer-at-bottom): Make sure that
3759 split-window-sensibly creates the new window on bottom
3760 (Bug#15961).
3761
5f5b128d
DK
37622013-11-23 David Kastrup <dak@gnu.org>
3763
3764 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3765 on the conflict markers when available.
3766 (smerge--get-marker): New function.
3767 (smerge-end-re, smerge-base-re): Add subgroup.
3768
623891e5
SM
37692013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * frame.el (handle-focus-in, handle-focus-out): Add missing
3772 interactive spec.
3773
05ca27d8
MA
37742013-11-25 Michael Albinus <michael.albinus@gmx.de>
3775
3776 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3777 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3778
511fa0d3
SM
37792013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3780
e82ad66c
SM
3781 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3782 (gomoku--last-pos): New var.
3783 (gomoku--intangible-chars): New const.
3784 (gomoku--intangible): New function.
3785 (gomoku-mode): Use it. Derive from special-mode.
3786 (gomoku-move-up): Adjust line count.
3787 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3788 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3789 Simplify accordingly.
3790
511fa0d3
SM
3791 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3792 Remove blink-cursor code.
3793 (blink-cursor-timer-function, blink-cursor-suspend):
3794 Don't special-case GUIs.
3795 (blink-cursor-mode): Use focus-in/out-hook.
3796
6f20dd03
DG
37972013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3798
3799 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3800 work when annotation is invisible (Bug#13886).
3801
431dec31 38022013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
3803
3804 * json.el (json-alist-p): Only return non-nil if the alist has
3805 simple keys (Bug#13518).
3806
431dec31 38072013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
3808
3809 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3810 when control-statement is the first statement in a buffer (Bug#15956).
3811
ee4f0261
DG
38122013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3813
3814 * imenu.el (imenu-generic-skip-comments-and-strings):
3815 New option (Bug#15560).
3816 (imenu--generic-function): Use it.
3817
c484f866
JS
38182013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3819
e9dc713d
JB
3820 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3821 (Bug#13898)
c484f866 3822
41ce6f70
BB
38232013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3824
b55aea38
BB
3825 * emacs-lisp/helpers.el: Add some string helpers.
3826 (string-trim-left): Removes leading whitespace.
3827 (string-trim-right): Removes trailing whitespace.
3828 (string-trim): Removes leading and trailing whitespace.
3829
41ce6f70
BB
3830 * subr.el (string-suffix-p): New function.
3831
3cfb6af3
GM
38322013-11-23 Glenn Morris <rgm@gnu.org>
3833
3834 * progmodes/python.el (python-shell-send-file):
3835 Add option to delete file when done. (Bug#15647)
3836 (python-shell-send-string, python-shell-send-region): Use it.
3837
c27924b7
IS
38382013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3839
e1b01c7f
IS
3840 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3841 to set buffer-read-only to t, never to nil. (Bug#15938)
3842
c27924b7
IS
3843 * textmodes/tex-mode.el (latex-noindent-environments):
3844 Add safe-local-variable property. (Bug#15936)
3845
17e0445b
GM
38462013-11-23 Glenn Morris <rgm@gnu.org>
3847
92f78ea3
GM
3848 * textmodes/enriched.el (enriched-mode): Doc fix.
3849 * emacs-lisp/authors.el (authors-renamed-files-alist):
3850 Add enriched.doc -> enriched.txt.
3851
17e0445b
GM
3852 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3853
965bb23a
LL
38542013-11-22 Leo Liu <sdl.web@gmail.com>
3855
3856 * progmodes/octave.el (inferior-octave-startup): Spit out error
3857 message.
3858
d19ffd64
BB
38592013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3860
3861 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3862 Improve docstring.
15ba2182
BB
3863 Add :version.
3864 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3865
7a7567d2
LL
38662013-11-22 Leo Liu <sdl.web@gmail.com>
3867
3868 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3869 (Bug#15076)
8c09f64b
LL
3870 (octave-help-mode): Adapt to change to help-mode-finish to use
3871 derived-mode-p on 2013-09-17.
3872 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3873 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3874
724bc265
LL
38752013-11-22 Leo Liu <sdl.web@gmail.com>
3876
3877 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3878 (inferior-octave-startup, inferior-octave-check-process)
3879 (inferior-octave-track-window-width-change)
3880 (octave-completion-at-point, octave-eldoc-function): Use it.
3881 (octave-kill-process): Provide confirmation. (Bug#10564)
3882
38637cca
LL
38832013-11-21 Leo Liu <sdl.web@gmail.com>
3884
511fa0d3
SM
3885 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3886 Fix obsolete variable comment-use-global-state.
38637cca 3887
06e752b4
RS
38882013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3889
511fa0d3
SM
3890 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3891 Add `octave-source-file'.
06e752b4
RS
3892 (octave-source-file): New function. (Bug#15935)
3893
7514d3f8 38942013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3895
3896 * net/eww.el (eww-local-regex): New variable.
3897 (eww): Use it to detect localhost and similar.
3898
b6ffa04a
LL
38992013-11-21 Leo Liu <sdl.web@gmail.com>
3900
3901 Add completion for command `ag'.
2021a200
LL
3902 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3903 (pcomplete/ag): New function.
e9dc713d 3904 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3905
d1a6bccc
SM
39062013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3909 (bug#14646).
3910 (make-obsolete): Remove interactive spec.
3911
2df10228
GM
39122013-11-21 Glenn Morris <rgm@gnu.org>
3913
3914 * startup.el (command-line-1): Use path-separator with -L.
3915
86fd16b6
TZ
39162013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3917
3918 * emacs-lisp/package.el (describe-package-1): Add package archive
3919 to shown fields.
3920
0449d6cd 39212013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3922
3923 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3924 Change default to "# encoding: %s" to differentiate it from the
3925 default Ruby encoding comment template.
3926
dc7e8c17 39272013-11-20 era eriksson <era+emacsbugs@iki.fi>
3928
3929 * ses.el (ses-mode): Doc fix. (Bug#14748)
3930
f0cfa5fe
LL
39312013-11-20 Leo Liu <sdl.web@gmail.com>
3932
3933 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3934
826dc7b6
DN
39352013-11-19 Dan Nicolaescu <dann@gnu.org>
3936
3937 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3938 when rebase or bisect are in progress.
3939
a6e3a5d5
XF
39402013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3941
3942 * filenotify.el (file-notify-add-watch): Doc fix.
3943
f130cb76
LL
39442013-11-19 Leo Liu <sdl.web@gmail.com>
3945
e0855d7d
LL
3946 * obsolete/rcompile.el: Mark obsolete.
3947
f130cb76 3948 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3949 (compilation-goto-locus, compilation-find-file):
3950 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3951 (Bug#13594)
3952
3953 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3954 new parameter no-display-ok. Return either a window or nil
3955 but never a non-window value.
f130cb76 3956
1f35d401
SM
39572013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3958
25158c76
SM
3959 * electric.el (electric-indent-mode-map): Remove.
3960 (electric-indent-mode): Change the global-map instead (bug#15915).
3961
3962 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3963 Use add-function.
1f35d401 3964
9bc67baa
SM
39652013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3966
986545b5
SM
3967 * emacs-lisp/nadvice.el (remove-function): Align with
3968 add-function's behavior.
3969
9bc67baa
SM
3970 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3971 (gdb--string-regexp): New constant.
3972 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3973 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3974 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3975 submatch 1.
3976 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3977 Adjust use accordingly.
3978 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3979
56cd894e
AS
39802013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3981
3982 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3983 interpolation curlies (Bug#15914).
3984
014690de
JB
39852013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3986
3987 * calc/calc.el (calc-context-sensitive-enter): New variable.
3988 (calc-enter): Use `calc-context-sensitive-enter'.
3989
7e26a6c3
TZ
39902013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3991
3992 * progmodes/cfengine.el: Version bump.
3993 (cfengine-cf-promises): New defcustom to locate cf-promises.
3994 (cfengine3-vartypes): Add new "data" type.
3995 (cfengine3--current-word): New function to get current name-like
3996 word or its bounds.
3997 (cfengine3--current-function): New function to look up a CFEngine
3998 function's definition.
3999 (cfengine3-format-function-docstring): New function.
4000 (cfengine3-make-syntax-cache): New function.
4001 (cfengine3-documentation-function): New function: ElDoc glue.
4002 (cfengine3-completion-function): New function: completion glue.
4003 (cfengine3-mode): Set `compile-command',
4004 `eldoc-documentation-function', and add to
4005 `completion-at-point-functions'.
4006
355204dd
MA
40072013-11-16 Michael Albinus <michael.albinus@gmx.de>
4008
4009 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4010 `tramp-current-connection'.
4011
43cebc23
DG
40122013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4013
4014 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4015 nil/self/true/false with "end of symbol".
4016
a3fed6ff
BB
40172013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4018
4019 * subr.el (version-regexp-alist): Fix a typo.
4020
e675b3e4
MA
40212013-11-15 Michael Albinus <michael.albinus@gmx.de>
4022
4023 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4024 "en_US.utf8" and "LC_CTYPE" to "".
4025 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4026 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4027
a1f03e89
LL
40282013-11-15 Leo Liu <sdl.web@gmail.com>
4029
4030 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4031
5d9d9451
SM
40322013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4033
58362662
CS
4034 * progmodes/gud.el (ctl-x-map):
4035 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4036 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4037
6c1bf086
BB
40382013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4039
0d5363c4
BB
4040 * subr.el (version-regexp-alist):
4041 Recognize hg, svn and darcs versions as snapshot versions.
4042
4e9fc48c
BB
4043 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4044 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4045 (ruby--encoding-comment-required-p): Extract from
4046 `ruby-mode-set-encoding'.
4047 (ruby-mode-set-encoding): Add the ability to always insert an
4048 utf-8 encoding comment. Fix and simplify coding comment update
4049 logic.
6c1bf086 4050
2f7e72f8
MA
40512013-11-14 Michael Albinus <michael.albinus@gmx.de>
4052
4053 * net/tramp-gvfs.el (top): Run init code only when
4054 `tramp-gvfs-enabled' is not nil.
4055 (tramp-gvfs-enabled): Check also :system bus.
4056
0f137a73
SM
40572013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 Sync with upstream verilog-mode revision 78e66ba.
4060 * progmodes/verilog-mode.el (verilog-end-of-defun)
4061 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4062 (verilog-get-end-of-defun): Remove unused argument.
4063 (verilog-comment-depth): Remove unused local `e'.
4064 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4065 Don't pass arg to verilog-get-end-of-defun.
4066
1c276bdd
GM
40672013-11-14 Glenn Morris <rgm@gnu.org>
4068
4069 * obsolete/assoc.el (aget): Prefix dynamic variable.
4070
4071 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4072
ff6ec81d
SM
40732013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4074
4075 * widget.el, hfy-cmap.el: Remove bogus package version number.
4076
75f777b6
GM
40772013-11-13 Glenn Morris <rgm@gnu.org>
4078
1d43dba1
GM
4079 * replace.el (replace-eval-replacement):
4080 Try to give more helpful error message. (Bug#15836)
4081
ff4b7bd5
GM
4082 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4083 (archive-7z-update): Avoid custom type mismatches.
4084
75f777b6
GM
4085 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4086
11151a06
MA
40872013-11-13 Michael Albinus <michael.albinus@gmx.de>
4088
e675b3e4 4089 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4090 address can be empty.
4091
4092 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4093 Accept nil SWITCHES.
4094 (tramp-gvfs-handle-write-region): Implement APPEND.
4095
7b08f97e
DG
40962013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4097
4098 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4099 binary "|" operator and closing block args delimiter.
4100 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4101 (ruby-smie--implicit-semi-p): Not after "|" operator.
4102 (ruby-smie--closing-pipe-p): New function.
4103 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4104 (ruby-smie-rules): Indent after "|".
4105
f201cf3a
GM
41062013-11-12 Glenn Morris <rgm@gnu.org>
4107
4108 * ps-print.el (ps-face-attribute-list):
4109 Handle anonymous faces. (Bug#15827)
4110
e6f759f9
MR
41112013-11-12 Martin Rudalics <rudalics@gmx.at>
4112
4113 * window.el (display-buffer-other-frame): Fix doc-string.
4114 (Bug#15868)
4115
ecda65d4
SM
41162013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4119
7ce8fcc3
MA
41202013-11-11 Michael Albinus <michael.albinus@gmx.de>
4121
4122 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4123 (tramp-sh-handle-file-local-copy): Don't write a message when
4124 saving temporary files.
4125
4126 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4127 both directories are remote.
4128 (tramp-smb-handle-directory-files): Do not return double entries.
4129 Do not expand full file names.
4130 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4131 (tramp-smb-handle-write-region): Implement APPEND.
4132 (tramp-smb-get-stat-capability): Fix a stupid bug.
4133
7818df11
SM
41342013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4137
608c2085
NT
41382013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4139
4140 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4141 throwing error over malformed let/let* (bug#15814).
4142
122a7e46
SM
41432013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 * iswitchb.el (iswitchb-mode): Mark obsolete.
4146
766284d9
GM
41472013-11-11 Glenn Morris <rgm@gnu.org>
4148
4149 * international/uni-bidi.el, international/uni-category.el:
4150 * international/uni-name.el, international/uni-numeric.el:
4151 Regenerate for Unicode 6.3.0.
4152
7072a4e9
MA
41532013-11-10 Michael Albinus <michael.albinus@gmx.de>
4154
4155 * net/tramp.el (tramp-methods):
4156 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4157 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4158
c9df215b
AS
41592013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4160
608c2085
NT
4161 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4162 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4163
fa47d796
DG
41642013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4165
4166 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4167 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4168 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4169 (ispell-complete-word): Call `ispell-lookup-words' with the value
4170 independent of `ispell-look-p'.
4171
1629a329
DG
41722013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4173
4174 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4175 Not after "||".
4176 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4177 their parent.
4178
ad16897c
SM
41792013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4182 (ruby-font-lock-keywords): Use backquote.
4183
ffa2df72
DG
41842013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4185
4186 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4187 (ruby-smie--backward-token): Only consider full-string matches.
4188
5b97b4c0
JD
41892013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4190
4191 * faces.el (describe-face): Add distant-foreground.
4192
71731c03
BB
41932013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4194
4e9fc48c
BB
4195 * progmodes/ruby-mode.el: Improve encoding comment handling.
4196 (ruby-encoding-magic-comment-style): New option.
4197 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4198 (ruby--insert-coding-comment, ruby--detect-encoding):
4199 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4200 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4201 to control the style of the auto-inserted encoding comment.
71731c03 4202
da3b328d
DG
42032013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4204
ad16897c
SM
4205 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4206 Use `smie-backward-sexp' with token argument.
da3b328d 4207
1606c2d3
MA
42082013-11-08 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4211 Remove instrumentation code.
4212
b0f4c320
GM
42132013-11-08 Glenn Morris <rgm@gnu.org>
4214
4215 * progmodes/autoconf.el (autoconf-mode):
4216 Tweak comment-start-skip. (Bug#15822)
4217
43668fb1
SM
42182013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4219
4220 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4221 at bobp (bug#15826).
4222 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4223
daddb3fd
DH
42242013-11-08 Darren Hoo <darren.hoo@gmail.com>
4225
4226 * man.el (Man-start-calling): New macro, extracted from
4227 Man-getpage-in-background.
4228 (Man-getpage-in-background): Use it.
4229 (Man-update-manpage): New command.
4230 (Man-mode-map): Bind it.
4231
1f923923
DG
42322013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4233
4234 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4235 of "and", "or", "&&" and "||".
4236 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4237 argument. Prohibit opening curly brace because it could only be a
4238 block opener in that position.
daddb3fd
DH
4239 (ruby-smie--forward-token, ruby-smie--backward-token):
4240 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4241 arguments.
4242 (ruby-smie--indent-to-stmt): New function, seeks the end of
4243 previous statement or beginning of buffer.
4244 (ruby-smie-rules): Use it.
4245 (ruby-smie-rules): Check if there's a ":" before a curly block
4246 opener candidate; if there is, it's a hash.
4247
3220d527
SM
42482013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4249
4250 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4251 (cl--block-wrapper): Fix last accidental change.
4252
1eb1f9e0
MA
42532013-11-07 Michael Albinus <michael.albinus@gmx.de>
4254
4255 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4256 Instrument, in order to hunt failure on hydra.
4257
e6e4db3c
NT
42582013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4259
4260 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4261 malformed bindings form (bug#15814).
4262
b420ccfc
DG
42632013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4264
4265 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4266 "." compared to " @ ". This incidentally fixes some indentation
4267 examples with "do".
e6e4db3c 4268 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4269 (ruby-smie-grammar): New tokens: "and" and "or".
4270 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4271 Exclude "and" and "or". Remove "do" in order to work around token
4272 priorities.
4273 (ruby-smie-rules): Add all infix tokens. Handle the case of
4274 beginning-of-buffer.
b420ccfc 4275
6b4ac03e
GM
42762013-11-06 Glenn Morris <rgm@gnu.org>
4277
4278 * Makefile.in (setwins_almost, setwins_for_subdirs):
4279 Avoid accidental matches.
4280
5ca114d1
SM
42812013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * menu-bar.el (popup-menu): Use key-binding.
4284
f72552bd
EZ
42852013-11-06 Eli Zaretskii <eliz@gnu.org>
4286
4287 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4288 menus, support also the menus produced by minor modes.
4289 (Bug#15817)
4290
5d5c701e
LL
42912013-11-06 Leo Liu <sdl.web@gmail.com>
4292
4293 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4294 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4295
0a8b75e2
GM
42962013-11-06 Glenn Morris <rgm@gnu.org>
4297
4298 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4299 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4300 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4301
a35287ea
SM
43022013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4303
feca4e2d
SM
4304 * electric.el (electric-indent-just-newline): New command.
4305 (electric-indent-mode-map): New keymap.
4306 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4307 Re-add :group which weren't redundant.
4308
a35287ea
SM
4309 * electric.el (electric-indent-local-mode): New minor mode.
4310 (electric-indent-functions-without-reindent): New var.
4311 (electric-indent-post-self-insert-function): Use it.
4312 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4313
375761b2
EZ
43142013-11-05 Eli Zaretskii <eliz@gnu.org>
4315
9a6ad735
EZ
4316 * international/quail.el (quail-help): Be more explicit about the
4317 meaning of the labels shown on the keys. (Bug#15800)
4318
375761b2
EZ
4319 * startup.el (normal-top-level): Load the subdirs.el files before
4320 setting the locale environment. (Bug#15805)
4321
520a6e4a
SM
43222013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4323
0acfafef
SM
4324 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4325 via arguments so as to get the right ones (bug#15418).
4326
520a6e4a
SM
4327 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4328
15826261
MA
43292013-11-05 Michael Albinus <michael.albinus@gmx.de>
4330
4331 Fix problems found while writing a test suite.
4332
4333 * net/tramp-compat.el (tramp-compat-load): New defun.
4334 * net/tramp.el (tramp-handle-load): Use it.
4335
4336 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4337 "(numberp ok-if-already-exists)" correctly.
4338
d35f31a4
XF
43392013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4340
4341 * international/characters.el (glyphless-char-display-control):
4342 Add usage note.
4343
ae93bc74
BB
43442013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4345
520a6e4a
SM
4346 * progmodes/python.el (python-mode):
4347 * progmodes/scheme.el (scheme-mode):
4348 * progmodes/prolog.el (prolog-mode):
4349 * progmodes/ruby-mode.el (ruby-mode):
4350 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4351 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4352
0ade65b5
SM
43532013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4354
a0d5f7a4
SM
4355 * rect.el (rectangle--highlight-for-redisplay):
4356 * emacs-lisp/smie.el (smie--next-indent-change):
4357 Use buffer-chars-modified-tick.
4358
c93f3f5c
SM
4359 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4360
0ade65b5
SM
4361 * electric.el (electric-indent-post-self-insert-function):
4362 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4363
ef9dd188
HE
43642013-11-04 Helmut Eller <eller.helmut@gmail.com>
4365
4366 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4367
306e7308
NT
43682013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4369
4370 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4371 (bug#15786).
4372
e5afbcac
SM
43732013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4374
1d01ad41
SM
4375 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4376
e5afbcac
SM
4377 * progmodes/python.el: Fix up last change.
4378 (python-shell--save-temp-file): New function.
4379 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4380 `string' comes from the current buffer.
4381 (python-shell-send-string-no-output): Remove `msg' arg.
4382 (python--use-fake-loc): New var.
4383 (python-shell-buffer-substring): Obey it. Try to compensate for the
4384 extra coding line added by python-shell--save-temp-file.
4385 (python-shell-send-region): Use python-shell--save-temp-file and
4386 python-shell-send-file directly. Add `nomain' argument.
4387 (python-shell-send-buffer): Use python-shell-send-region.
4388 (python-electric-pair-string-delimiter): New function.
4389 (python-mode): Use it.
4390
d0065ff1
EZ
43912013-11-04 Eli Zaretskii <eliz@gnu.org>
4392
4393 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4394 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4395 environment and decoding all of the default-directory's to here
4396 from command-line.
4397 (command-line): Decode also argv[0].
4398
4399 * loadup.el: Error out if default-directory is a multibyte string
4400 when we are dumping.
4401
4402 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4403
7397c587
TZ
44042013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4405
4406 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4407 (package-menu--print-info, package-menu--archive-predicate):
4408 Add Archive column to package list.
7397c587 4409
b27cc9fc
MA
44102013-11-04 Michael Albinus <michael.albinus@gmx.de>
4411
4412 Fix problems found while writing a test suite.
4413
4414 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4415 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4416 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4417 to nil when running original file name handler. Otherwise,
4418 there are problems with constructs like "$$FOO".
4419
4420 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4421 for `localname'.
4422
d8c4f18a
BB
44232013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4424
7b530552
BB
4425 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4426
4427 * subr.el (version<, version<=, version=):
4428 Update docstrings with information for snapshot versions.
4429
d8c4f18a
BB
4430 * helpers.el: New library for misc helper functions.
4431 (hash-table-keys): New function returning a list of hash keys.
4432 (hash-table-values): New function returning a list of hash values.
4433
dca01b09
DG
44342013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4435
4436 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4437 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4438
0a749fa0
MN
44392013-11-04 Michal Nazarewicz <mina86@mina86.com>
4440
4441 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4442 checking whether point is after a 1-letter word.
4443
44442013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4445
4446 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4447 Don't infloop when expanding region over `multiline' syntax-type that
4448 begins a line (bug#15778).
4449
4aca7145
SM
44502013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4453 Make it into a proper minor mode.
4454 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4455 (rectangle-mark-mode-map): New keymap.
4456 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4457
a0833f62
GM
44582013-11-04 Glenn Morris <rgm@gnu.org>
4459
4460 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4461
e61845c1
SM
44622013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4465 (ruby-smie-rules): Use smie-rule-parent instead.
4466
4467 * emacs-lisp/smie.el (smie-rule-parent): Always call
4468 smie-indent-virtual rather than only for hanging tokens.
4469 (smie--next-indent-change): New helper command.
4470
62942f89
GM
44712013-11-03 Glenn Morris <rgm@gnu.org>
4472
4473 * Makefile.in (abs_srcdir): Remove.
4474 (emacs): Unset EMACSLOADPATH.
4475
b0b9e592
GM
44762013-11-02 Glenn Morris <rgm@gnu.org>
4477
18ba6a33 4478 * Makefile.in (EMACS): Use a relative filename.
8061810d 4479 (abs_top_builddir): Remove.
18ba6a33
GM
4480 (custom-deps, finder-data, autoloads): Use --chdir.
4481
6a8b929e
GM
4482 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4483
c617f3d0
GM
4484 Use relative filenames in TAGS files.
4485 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4486 (lisptagsfiles4, TAGS): Use relative file names.
4487 (TAGS-LISP): Remove.
4488 (maintainer-clean): No more TAGS-LISP file.
4489
b0b9e592
GM
4490 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4491 (lisptagsfiles4): Use absolute filenames again.
4492 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4493 Remove all *loaddefs files, not just the first. Remove esh-groups.
4494 (maintainer-clean): Delete TAGS, TAGS-LISP.
4495
d1c0ea6a
BB
44962013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4497
e61845c1
SM
4498 * emacs-lisp/package.el (package-version-join):
4499 Recognize snapshot versions.
d1c0ea6a 4500
684d71c6
BB
45012013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4502
4503 * subr.el (version-regexp-alist): Add support for snapshot versions.
4504
3d42b968
DG
45052013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4506
e61845c1
SM
4507 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4508 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4509 skip over our direct parent if it's an assignment token..
4510 (ruby-smie-rules): Use it.
4511
7ffd3721
DG
45122013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4513
8449dd1f 4514 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4515 unconditionally. Remove now unnecessary forward declarations.
4516 Remove XEmacs-specific setup.
4517 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4518 (ruby-font-lock-syntactic-keywords)
4519 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4520 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4521 (ruby-here-doc-end-syntax): Remove.
4522 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4523 defined as function.
4524
a3996a2e
BB
45252013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4526
4527 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4528
6f9260e8
BB
45292013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4530
4531 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4532 table and abbrev table, `define-derived-mode' does that for us
4533 anyway.
4534
6014de84
GM
45352013-11-01 Glenn Morris <rgm@gnu.org>
4536
4537 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4538 files is atomic for some time, so no parallel compilation issues).
4539
3c334c14
JD
45402013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4541
4542 * faces.el (face-x-resources): Add :distant-foreground.
4543 (region): Use :distant-foreground for gtk and ns.
4544
9bc236c8
TH
45452013-11-01 Tassilo Horn <tsdh@gnu.org>
4546
5246583b 4547 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4548 BibTeX.
4549 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4550 (reftex-locate-bibliography-files): Us it.
4551
d14c81ee
CB
45522013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4553
0e7690de
CB
4554 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4555 allow comments in pbm files.
4556
d14c81ee
CB
4557 * term/w32-win.el (dynamic-library-alist): Support newer versions
4558 of libjpeg starting with v7: look only for the DLL from the
4559 version against which Emacs was built.
ac1bf374 4560 Support versions of libpng beyond 1.4.x.
019c8218 4561 Support libtiff v4.x.
d14c81ee 4562
983d0df5
BB
45632013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4564
4565 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4566 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4567 Add property :safe.
4568 (ruby-deep-arglist): Add property :type.
4569
47f58d85
GM
45702013-10-31 Glenn Morris <rgm@gnu.org>
4571
4572 * Makefile.in (custom-deps, finder-data): No need to setq the target
4573 variables, we are in the right directory and the defaults work fine.
4574
4f85b479
GM
45752013-10-30 Glenn Morris <rgm@gnu.org>
4576
ca7dd4cd
GM
4577 * Makefile.in (autoloads): Do not use abs_lisp.
4578
4f85b479
GM
4579 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4580 `newline' does not respect `standard-output', so use `princ'.
4581
cf59e41c
AA
45822013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4583
4584 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4585 * buff-menu.el (Buffer-menu--unmark): New function.
4586 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4587
74cf04fb
GM
45882013-10-30 Glenn Morris <rgm@gnu.org>
4589
b040b60e
GM
4590 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4591
f53d3815
GM
4592 * emacs-lisp/package.el (lm-homepage): Declare.
4593
5413d873
GM
4594 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4595 Fix doc typos.
4596
cecedb36
GM
4597 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4598
74cf04fb
GM
4599 * Makefile.in (finder-data, autoloads, update-subdirs)
4600 (compile-main, compile-clean, compile-always, bootstrap-clean):
4601 Check return value of cd.
4602 (compile-calc): Remove.
4603
195ee2f0
SM
46042013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4605
ae4002ce
SM
4606 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4607
4608 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4609 (byte-compile-and-folded): New function.
4610 (=, <, >, <=, >=): Use it.
4611
4612 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4613 (path-separator, null-device, buffer-file-coding-system)
4614 (lpr-headers-switches): Check system-type before modifying them.
4615 (find-buffer-file-type-coding-system): Mark obsolete.
4616 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4617 find-file-not-found-set-buffer-file-coding-system.
35e951cd 4618 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 4619 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 4620 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
4621 (w32-direct-print-region-helper, w32-direct-print-region-function)
4622 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4623 * startup.el (normal-top-level-add-subdirs-to-load-path):
4624 * ps-print.el (ps-print-region-function):
4625 * lpr.el (print-region-function): Use new name.
4626
53b39e89
SM
4627 * subr.el (custom-declare-variable-early): Remove function.
4628 (custom-declare-variable-list): Remove var.
4629 (error, user-error): Remove `while' loop.
4630 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4631 (user-emacs-directory-warning, locate-user-emacs-file):
4632 Move to files.el.
4633 * simple.el (read-quoted-char-radix, read-quoted-char):
4634 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4635 Move from subr.el.
4636 * custom.el (custom-declare-variable-list): Don't process
4637 custom-declare-variable-list.
4638
195ee2f0
SM
4639 * progmodes/python.el (python-shell-get-buffer): New function.
4640 (python-shell-get-process): Use it.
4641 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4642 Python which encoding was used. Don't split-string since we only care
4643 about the first line. Return the temp-file, if applicable.
4644 (python-shell-send-region): Tell compile.el how to turn locations in
4645 the temp-file into locations in the source buffer.
4646
7e3561ee
SM
46472013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4c9797cb
SM
4649 * subr.el (undefined): Add missing behavior from the C code for
4650 unbound keys.
4651
3472b6c6
SM
4652 * rect.el: Use lexical-binding. Add new rectangular region support.
4653 (rectangle-mark): New command.
4654 (rectangle--region): New var.
4655 (deactivate-mark-hook): Reset rectangle--region.
4656 (rectangle--extract-region, rectangle--insert-for-yank)
4657 (rectangle--highlight-for-redisplay)
4658 (rectangle--unhighlight-for-redisplay): New functions.
4659 (region-extract-function, redisplay-unhighlight-region-function)
4660 (redisplay-highlight-region-function): Use them to handle
4661 rectangular region.
4662 * simple.el (region-extract-function): New var.
4663 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4664 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4665 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4666 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4667 (redisplay-unhighlight-region-function)
4668 (redisplay-highlight-region-function): New vars.
4669 (redisplay--update-region-highlight): New function.
4670 (pre-redisplay-function): Use it.
4671 (exchange-point-and-mark): Don't deactivate the mark before
4672 reactivate-it anyway.
4673 * comint.el (comint-kill-region): Remove yank-handler argument.
4674 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4675 (delete-char): Remove property, since it's now part of their
4676 default behavior.
4677 (self-insert-iso): Remove property since this command doesn't exist.
4678
7e3561ee
SM
4679 * emacs-lisp/package.el (package--download-one-archive)
4680 (describe-package-1): Don't query the user about final newline.
4681
b9bef71f
DC
46822013-10-29 Daniel Colascione <dancol@dancol.org>
4683
4684 * net/tramp.el (tramp-methods): Document new functionality.
4685 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4686 tramp-hostname-checker if method provides one instead of scanning
4687 argument list for "%h" to decide hostname acceptability.
4688
4efc33f0
MA
46892013-10-28 Michael Albinus <michael.albinus@gmx.de>
4690
4691 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4692 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4693 Handle COPY-CONTENTS. (Bug#15737)
4694
ed42a877
DU
46952013-10-28 Daiki Ueno <ueno@gnu.org>
4696
4697 * epa-file.el
7e3561ee
SM
4698 (epa-file-cache-passphrase-for-symmetric-encryption):
4699 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4700
18c9f8a2
XF
47012013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4702
35e951cd 4703 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 4704
b1e8e010
AM
47052013-10-27 Alan Mackenzie <acm@muc.de>
4706
4707 Indent statements in macros following "##" correctly.
7e3561ee
SM
4708 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4709 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4710
73d40d1e 47112013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4712
4713 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4714
c8c605ac
DG
47152013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4716
4717 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4718 after `=' is probably a new expression.
4719
ca7e59d4
RS
47202013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4721
4722 * man.el (man-imenu-title): New option.
4723 (Man-mode-map): Add menu. (Bug#15722)
4724 (Man-mode): Add imenu to menu.
4725
bae91342
DG
47262013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4727
4728 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4729 specific in what the first arg can be: a non-keyword word,
4730 string/regexp/percent literal opener, opening paren, or unary
4731 operator followed directly by word.
4732
eb89dc14
SM
47332013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4736 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4737 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4738 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4739 Remove vars, they do not apply any more.
4740 (prolog-mode-abbrev-table): Remove redundant declaration.
4741 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4742 (prolog-use-smie): Remove.
4743 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4744 supported by prolog-electric-if-then-else-flag.
4745 (prolog-mode-variables, prolog-menu): Use setq-local.
4746 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4747 Remove binding to `Backspace' since this key doesn't exist anyway.
4748 Remove bindings for electric self-inserting keys.
4749 (prog-mode): Assume it's defined.
4750 (prolog-post-self-insert): New function.
4751 (prolog-mode): Use it.
4752 (prolog-indent-line, prolog-indent-level)
4753 (prolog-find-indent-of-matching-paren)
4754 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4755 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4756 (prolog-goto-next-paren, prolog-in-string-or-comment)
4757 (prolog-tokenize, prolog-inside-mline-comment)
4758 (prolog-find-start-of-mline-comment): Remove functions.
4759 (prolog-find-unmatched-paren, prolog-clause-end)
4760 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4761 (prolog-electric--if-then-else): Rename from
4762 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4763 (prolog-tokenize-searchkey): Remove const.
4764 (prolog-clause-info): Use forward-sexp.
4765 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4766 (prolog-electric-if-then-else): Remove commands.
4767 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4768 for use in post-self-insert-hook.
4769 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4770 for use in post-self-insert-hook.
4771 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4772 for use in post-self-insert-hook.
4773 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4774 adapt it for use in post-self-insert-hook.
4775
3dab0a83
MA
47762013-10-25 Michael Albinus <michael.albinus@gmx.de>
4777
4778 * emacs-lisp/ert.el (ert-run-tests-interactively):
4779 Use `completing-read'. (Bug#9756)
4780
fbfd0e1d
EZ
47812013-10-25 Eli Zaretskii <eliz@gnu.org>
4782
4783 * simple.el (line-move): Call line-move-1 instead of
4784 line-move-visual when the current window hscroll is zero, but
4785 temporary-goal-column indicates we will need to hscroll as result
4786 of the movement. (Bug#15712)
4787
963ce636
DG
47882013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4789
4790 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
4791 capitalization. Use :visible instead of :active.
4792 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
4793 commands that are used with SMIE.
4794 (ruby-do-end-to-brace): Insert space after `{'.
4795
a0be396a
JA
47962013-10-25 John Anthony <john@jo.hnanthony.com>
4797
f73754c9
JA
4798 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4799
4800 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 4801
f5bf77df
GM
48022013-10-25 Glenn Morris <rgm@gnu.org>
4803
4804 * vc/vc.el (vc-print-log): Don't use a working revision unless
4805 one was explicitly specified. (Bug#15322)
4806
37241f62
SM
48072013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4808
4809 * subr.el (add-to-list): Preserve return value in compiler-macro
4810 (bug#15692).
4811
6408a65d
RS
48122013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4813
4814 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4815 result. Ask user to retry using '-all' flag. (Bug#15701)
4816
71e3276b
SM
48172013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4818
4819 * emacs-lisp/smie.el: New smie-config system.
4820 (smie-config): New defcustom.
4821 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4822 (smie-config-guess, smie-config-save): New commands.
4823 (smie-config--mode-local, smie-config--buffer-local)
4824 (smie-config--trace, smie-config--modefuns): New vars.
4825 (smie-config--advice, smie-config--mode-hook)
4826 (smie-config--setter, smie-config-local, smie-config--get-trace)
4827 (smie-config--guess-value, smie-config--guess): New functions.
4828 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4829 text properties. Treat "string fence" syntax like string syntax.
4830
4831 * progmodes/sh-script.el (sh-use-smie): Change default.
4832 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4833 (sh-var-value): Simplify by CSE.
4834 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4835 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4836 is used.
4837 (sh-guess-basic-offset): Use cl-incf.
4838 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4839
60db713e
HE
48402013-10-24 Helmut Eller <eller.helmut@gmail.com>
4841
4842 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4843 (bug#15699).
4844
8b251df6
GM
48452013-10-24 Glenn Morris <rgm@gnu.org>
4846
4847 * Makefile.in (abs_top_srcdir): Remove.
4848 (update-subdirs): Use relative path to update-subdirs.
4849
6be0e22b
EZ
48502013-10-24 Eli Zaretskii <eliz@gnu.org>
4851
4852 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4853 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4854 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4855 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4856
50b5b857
MA
48572013-10-24 Michael Albinus <michael.albinus@gmx.de>
4858
4859 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4860 (ert-test-skipped): New error.
4861 (ert-skip, ert-stats-skipped): New defuns.
4862 (ert--skip-unless): New macro.
4863 (ert-test-skipped): New struct.
4864 (ert--run-test-debugger, ert-test-result-type-p)
4865 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4866 (ert--stats-set-test-and-result, ert-char-for-test-result)
4867 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4868 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4869 Handle skipped tests. (Bug#9803)
50b5b857 4870
6f317c2f
GM
48712013-10-24 Glenn Morris <rgm@gnu.org>
4872
e43817c1
GM
4873 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4874
6f317c2f
GM
4875 * Makefile.in (abs_top_srcdir): New, set by configure.
4876 (update-subdirs): Correct build-aux location.
4877
369bbf71
DG
48782013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4879
8297b2cf
DG
4880 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4881 value, whether we could auto-deduce `backend', or not.
4882
369bbf71
DG
4883 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4884 with parameters" example. Simplify the "is it block or is it
4885 hash" check, but also make it more thorough.
4886
d5f1282f
MF
48872013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4888
4889 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4890
bc4aaa31
SM
48912013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4892
03d44565
SM
4893 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4894 { if it is hanging.
4895
bc4aaa31
SM
4896 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4897 :before ";".
4898
f493ff19
JB
48992013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4900
4901 * progmodes/compile.el (compilation-directory-matcher)
4902 (compilation-page-delimiter):
4903 Support GNU Make-4.0 directory quoting. (Bug#15678)
4904
c744a3b9
LL
49052013-10-23 Leo Liu <sdl.web@gmail.com>
4906
4907 * ido.el (ido-tidy): Handle read-only text.
4908
b8e3b0a9
GM
49092013-10-23 Glenn Morris <rgm@gnu.org>
4910
4911 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4912 (emacs, compile, compile-always):
4913 Quote entities that might contain whitespace.
4914 (custom-deps, finder-data, autoloads): Use abs_lisp.
4915 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4916 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4917 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4918
ee4282cd
DG
49192013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4920
bc4aaa31
SM
4921 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4922 Use `following-char'.
7790a270 4923
ee4282cd 49242013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4925
4926 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4927 * progmodes/ruby-mode.el (ruby-smie-rules):
4928 Remove corresponding workaround. Fix indentation rule of ";" so it
4929 also applies when ";" is the parent.
4930
d40a46d7
XF
49312013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4932
4933 * frame.el (display-screens, display-pixel-height)
4934 (display-pixel-width, display-mm-width, display-backing-store)
4935 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4936 (display-visual-class, display-monitor-attributes-list):
4937 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4938
a0f143c9
MG
49392013-10-22 Michael Gauland <mikelygee@amuri.net>
4940
4941 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4942 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4943
18cacc39
DG
49442013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4945
4946 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4947 TODO. Add "." after " @ ".
4948 (ruby-smie--at-dot-call): New function. Checks if point at method
4949 call with explicit target.
4950 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4951 to the method name tokens when it precedes them.
4952 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4953 (ruby-smie-rules): Add rule for indentation before and after "."
4954 token.
4955
df74c4be
SM
49562013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4957
c6dab55f
SM
4958 * textmodes/remember.el (remember-diary-extract-entries):
4959 Avoid add-to-list.
4960
df74c4be
SM
4961 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4962 an instruction.
4963
8c1ae481
DG
49642013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4965
e9dc713d
JB
4966 * progmodes/ruby-mode.el (ruby-smie-grammar):
4967 Add (almost) all infix operators.
cfef16c0
DG
4968 (ruby-smie--implicit-semi-p): Add new operator chars.
4969
8c1ae481
DG
4970 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4971 `smie-down-list'.
4972 (ruby-smie--args-separator-p): Check that there's no newline
4973 between method call and its arguments.
4974
87756ca9
AM
49752013-10-20 Alan Mackenzie <acm@muc.de>
4976
4977 Allow comma separated lists after Java "implements".
4978
df74c4be
SM
4979 * progmodes/cc-engine.el (c-backward-over-enum-header):
4980 Parse commas.
87756ca9
AM
4981 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4982 from a "disallowed" list in enum fontification.
4983
c25f8957
JB
49842013-10-20 Johan Bockgård <bojohan@gnu.org>
4985
df74c4be 4986 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4987
c25f8957
JB
4988 * progmodes/verilog-mode.el (verilog-mode): Don't set
4989 comment-indent-function globally.
4990
aca5fcdc
JD
49912013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4992
5f161884
JD
4993 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4994 Move Info menu item creation to ns-win.el.
4995
4996 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4997 in menu bar.
4998
a6c4680a 4999 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5000
5001 * term/ns-win.el (ns-initialize-window-system): ... to here.
5002
914b7f98
SM
50032013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * simple.el (newline): Only run post-self-insert-hook when
5006 called interactively.
5007
846ffe77
JB
50082013-10-19 Johan Bockgård <bojohan@gnu.org>
5009
5010 * icomplete.el (icomplete-with-completion-tables): Add :version.
5011
033f22dd
AM
50122013-10-19 Alan Mackenzie <acm@muc.de>
5013
5014 Fix fontification bugs with constructors and const.
5015
5016 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5017 CASE 2) Remove the check for the absence of a suffix construct
5018 after a function declaration with only types (no identifiers) in
5019 the parentheses. Also, accept a function declaration with just a
5020 type inside the parentheses, if this type can be positively
5021 recognised as such, or if a prefix keyword like "explicit" nails
5022 down the construct as a declaration.
5023
58ce0cfc
EZ
50242013-10-19 Eli Zaretskii <eliz@gnu.org>
5025
5026 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5027 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5028 the problem whereby selecting a menu item that leads to a
5029 minibuffer prompt moves the cursor out of the minibuffer window,
5030 making it hard to type at the prompt. Suggested by Stefan Monnier
5031 <monnier@iro.umontreal.ca>.
5032
50e28e7d
JD
50332013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5034
5035 * menu-bar.el: Don't make Services menu.
5036
7deed4bf
RS
50372013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5038
5039 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5040 (ffap-alist): Use ffap-c++-mode for c++-mode.
5041 (ffap-c++-path): New variable.
5042 (ffap-c++-mode): New function.
5043
7bcb455b
JVJ
50442013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5045
5046 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5047
f0ff1cd5
MA
50482013-10-18 Michael Albinus <michael.albinus@gmx.de>
5049
5050 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5051 introduced on 2013-09-08, which results in an infinite loop
5052 requesting a password.
5053
d64da4b7
GM
50542013-10-18 Glenn Morris <rgm@gnu.org>
5055
5056 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5057
ea89ff08
WS
50582013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5059
5060 Sync with upstream verilog-mode revision 1a6ecec7.
5061 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5062 (verilog-mode-release-date): Remove.
5063 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5064 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5065 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5066 (verilog-auto-tieoff-ignore-regexp)
5067 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5068 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5069 (verilog-signals-with, verilog-dir-cache-preserving)
5070 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5071 Doc fixes.
5072 (verilog-case-fold): New option, to control case folding in
5073 regexp searches, bug597.
5074 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5075 (verilog-string-match-fold, verilog-in-paren-count)
5076 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5077 (verilog-at-close-struct-p): New functions.
5078 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5079 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5080 (verilog-leap-to-case-head): Handle "unique0" case.
5081 (verilog-in-constraint-re): New constant.
5082 (verilog-keywords, verilog-type-font-keywords):
5083 Add some SystemVerilog 1800-2012 keywords.
5084 (verilog-label-be): Remove unimplemented argument, bug669.
5085 (verilog-batch-execute-func): When batch expanding clear
5086 create-lockfiles to prevent spurious user locks when a file ends
5087 up not changing.
5088 (verilog-calculate-indent, verilog-calc-1)
5089 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5090 (verilog-do-indent): Fix indentation of nested constraints
5091 and structures.
5092 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5093 (verilog-auto-inst-param): Use verilog-string-match-fold.
5094 (verilog-read-inst-module-matcher):
5095 Fix AUTOINST on gate primitives with #1.
5096 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5097 Reads all user-defined typed variables.
5098 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5099 (verilog-signals-matching-regexp)
5100 (verilog-signals-not-matching-regexp, verilog-auto):
5101 Respect verilog-case-fold.
5102 (verilog-diff-report): Fix line count.
5103 (verilog-auto-assign-modport): Remove unused local `modi'.
5104 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5105 better handle multidimensional arrays.
5106 Fix packed array ports misadding bit index in AUTOINST, bug637.
5107 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5108 to not double-declare existing outputs and inputs, respectively.
5109 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5110 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5111 (verilog-sk-uvm-component): New skeleton.
5112 (verilog-submit-bug-report): Add verilog-case-fold,
5113 remove verilog-mode-release-date.
5114
ef566920
BR
51152013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5116
a12bf61e 5117 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5118 as before.
5119
29df8a0b
RT
51202013-10-18 Reuben Thomas <rrt@sc3d.org>
5121
e0eb0550 5122 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5123 remember buffers (bug#13566).
5124
04a19a79
DC
51252013-10-18 Daniel Colascione <dancol@dancol.org>
5126
5127 When evaluating forms in ielm, direct standard output to ielm
5128 buffer. Add new ielm-return-for-effect command. Remove trailing
5129 whitespace throughout.
5130
5131 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5132 (ielm-return-for-effect): New command.
5133 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5134 (ielm-eval-input): Accept optional `for-effect' parameter.
5135 Bind `standard-output' to stream we create using
04a19a79
DC
5136 `ielm-standard-output-impl'. Suppress printing result when
5137 `for-effect'.
5138 (ielm-standard-output-impl): New function.
5139 (inferior-emacs-lisp-mode): Explain new features in documentation.
5140
4c1f03ef
MA
51412013-10-17 Michael Albinus <michael.albinus@gmx.de>
5142
5143 Code cleanup.
5144
5145 * net/tramp.el (tramp-debug-message): Do not check for connection
5146 buffer.
5147 (tramp-message): Use "vector" connection property.
5148
5149 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5150 (tramp-equal-remote, tramp-eshell-directory-change)
5151 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5152 (tramp-adb-handle-rename-file)
5153 * net/tramp-cmds.el (tramp-list-remote-buffers)
5154 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5155 * net/tramp-compat.el (tramp-compat-process-running-p)
5156 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5157 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5158 (tramp-gvfs-handle-rename-file)
5159 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5160 (tramp-set-file-uid-gid)
5161 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5162 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5163 of `file-remote-p'.
5164
5165 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5166 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5167 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5168 (tramp-gw-open-network-stream): Suppress unrelated traces.
5169
5170 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5171 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5172 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5173 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5174 connection property.
5175
5176 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5177 persistency file.
4c1f03ef
MA
5178
5179 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5180 Refactor common code. Improve debug message.
5181 (tramp-maybe-open-connection)
5182 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5183 connection buffer too early.
5184
5185 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5186 from `tramp-smb-actions-with-acl'.
5187 (tramp-smb-actions-set-acl): New defconst.
5188 (tramp-smb-handle-copy-directory)
5189 (tramp-smb-action-get-acl): New defun, renamed from
5190 `tramp-smb-action-with-acl'.
5191 (tramp-smb-action-set-acl): New defun.
5192 (tramp-smb-handle-set-file-acl): Rewrite.
5193
642eb8b6
GM
51942013-10-17 Glenn Morris <rgm@gnu.org>
5195
5196 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5197
85527ff3
SM
51982013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5199
921c1d62
SM
5200 * skeleton.el (skeleton-newline): Remove.
5201 (skeleton-internal-1): Use (insert "\n") instead.
5202
e333fb10
SM
5203 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5204 let-bindings.
5205
85527ff3
SM
5206 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5207 forward-sexp-function while we redo its job (bug#15613).
5208
c8722a97
JB
52092013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5210
5211 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5212 represented by lists.
5213
7a550bbb
GM
52142013-10-16 Glenn Morris <rgm@gnu.org>
5215
5216 * tmm.el (tmm--history): New dynamic variable.
5217 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5218
f19da8ad
MA
52192013-10-16 Michael Albinus <michael.albinus@gmx.de>
5220
5221 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5222 (tramp-smb-errors): Add error messages.
5223 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5224 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5225 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5226 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5227 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5228 (tramp-smb-get-stat-capability): Fix tests.
5229
a24b9961
DK
52302013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5231
5232 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5233 (bug#15580).
5234
62ad85e6
GM
52352013-10-16 Glenn Morris <rgm@gnu.org>
5236
0283d6b0
GM
5237 * ansi-color.el (ansi-color-drop-regexp):
5238 Add 1J, 1K, 2K. (Bug#15617)
5239
012e2f9f
GM
5240 * files.el (hack-local-variables--warned-lexical): New.
5241 (hack-local-variables):
5242 Warn about misplaced lexical-binding. (Bug#15616)
5243
62ad85e6
GM
5244 * net/eww.el (eww-render): Always set eww-current-url,
5245 and update header line. (Bug#15622)
5246 (eww-display-html): ... Rather than just doing it here.
5247
6456c0ea
EZ
52482013-10-15 Eli Zaretskii <eliz@gnu.org>
5249
5250 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5251 menu navigations commands.
5252
c2de5588
DK
52532013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5254
5255 * progmodes/subword.el (subword-capitalize): Be careful when
5256 the search for [[:alpha:]] fails (bug#15580).
5257
ccd4a783
EZ
52582013-10-14 Eli Zaretskii <eliz@gnu.org>
5259
5260 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5261 to commands that scroll the menu.
5262
1eda1d8d
DG
52632013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5264
c2de5588
DK
5265 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5266 Handle methods ending with `?' and `!'.
1eda1d8d 5267
e70181b8
AM
52682013-10-14 Akinori MUSHA <knu@iDaemons.org>
5269
5270 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5271 `japanese-cp932' to `cp932' to fix the problem where saving a
5272 source file written in Shift_JIS twice would end up having
5273 `coding: japanese-cp932' which Ruby could not recognize.
5274 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5275 in `ruby-encoding-map'.
5276 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5277 doesn't need to be explicitly declared in magic comment.
5278 (ruby-encoding-map): Add type declaration for better customize UI.
5279
9148ee92
GM
52802013-10-13 Glenn Morris <rgm@gnu.org>
5281
a5d38e34
GM
5282 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5283 Occur buffers are read-only. http://bugs.debian.org/720775
5284
9148ee92
GM
5285 * emacs-lisp/authors.el (authors-fixed-entries):
5286 Comment out old alpha stuff.
5287
a9ba094b
DG
52882013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5289
5290 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5291 to `after-save-hook' instead of `before-save-hook'.
5292 (ruby-mode-set-encoding): Use the value of coding system used to
5293 write the file. Call `basic-save-buffer-1' after modifying the
5294 buffer.
5295
7a068717
AM
52962013-10-13 Alan Mackenzie <acm@muc.de>
5297
5298 Fix indentation/fontification of Java enum with
5299 "implements"/generic.
5300
c2de5588
DK
5301 * progmodes/cc-engine.el (c-backward-over-enum-header):
5302 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5303 (c-inside-bracelist-p): Uses new function above.
5304 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5305 function above.
5306 (c-font-lock-enum-tail): Uses new function above.
5307
85b64f02
KH
53082013-10-13 Kenichi Handa <handa@gnu.org>
5309
5310 * international/mule-cmds.el (select-safe-coding-system): Remove a
5311 superfluous condition in chekcing whether a coding system is safe
5312 or not.
5313
fc7f501b
OK
53142013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5315
5316 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5317
fdcb2049
AP
53182013-10-13 Andreas Politz <politza@hochschule-trier.de>
5319
5320 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5321
8c106d17
GM
53222013-10-13 Glenn Morris <rgm@gnu.org>
5323
feab892d
GM
5324 * menu-bar.el (menu-bar-update-buffers):
5325 Unify Buffers menu prompt string. (Bug#15576)
5326
b22d0686
GM
5327 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5328
8c106d17
GM
5329 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5330 Add some entries.
5331 (authors-fixed-entries): Use accented form of name.
5332
1b12c797
SM
53332013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5334
650fa7bf 5335 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5336 method calls (bug#15594).
650fa7bf
SM
5337 (ruby-smie--args-separator-p): New function.
5338 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5339 recognize paren-free method calls.
5340
1b12c797
SM
5341 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5342 internals of universal-argument.
5343
029619c8
EZ
53442013-10-11 Eli Zaretskii <eliz@gnu.org>
5345
5346 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5347 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5348 dropped menu on second mouse click on the menu bar.
029619c8 5349
dd070019
SM
53502013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5351
5352 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5353 (explicit-shell-file-name): Declare.
5354 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5355 (sh-completion-at-point-function): New function.
5356 (sh-mode): Use it.
5357 (sh-smie--keyword-p): Remove unused argument.
5358 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5359 vars.
5360 (sh-set-shell): Always setup SMIE, even if we use the
5361 old indentation code.
5362
0922b826
DG
53632013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5364
b68e2926
DG
5365 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5366 cases of ? and =.
5367 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5368 predicate would return nil are almost non-existent.
5369 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5370
0922b826
DG
5371 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5372 cache also after commands that modify the buffer but don't move
5373 point.
5374
ee041f2d
SM
53752013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 * env.el (substitute-env-in-file-name): New function.
5378 (substitute-env-vars): Extend the meaning of the optional arg.
5379
a5dab159
EZ
53802013-10-10 Eli Zaretskii <eliz@gnu.org>
5381
5382 * term/w32-win.el (dynamic-library-alist): Define separate lists
5383 of GIF DLLs for versions before and after 5.0.0 of giflib.
5384 (Bug#15531)
5385
0449d6cd 53862013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5387
5388 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5389 not locked, use last revision and current source as
5390 defaults. (Bug#15569)
5391
2f6e161e
MY
53922013-10-10 Masatake YAMATO <yamato@redhat.com>
5393
5394 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5395 menu-bar is hidden.
5396
6c8413fc
MR
53972013-10-10 Martin Rudalics <rudalics@gmx.at>
5398
5399 * window.el (pop-to-buffer-same-window): Fix doc-string.
5400 (Bug#15492)
5401
20832de0
SM
54022013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5405
c6e8ae77
AC
54062013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5407
5408 * calendar/icalendar.el (icalendar-import-file):
5409 Fix interactive spec. (Bug#15482)
5410
9db13baf
GM
54112013-10-10 Glenn Morris <rgm@gnu.org>
5412
9271e90e
GM
5413 * desktop.el (desktop-save): Default to saving in .emacs.d,
5414 since PWD is no longer in desktop-path by default. (Bug#15319)
5415
9db13baf
GM
5416 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5417 now that text mode has a menu with the same entry.
5418 (menu-bar-text-mode-auto-fill): Remove now unused func.
5419 * textmodes/text-mode.el (text-mode-map):
5420 Use auto-fill help text from menu-bar.el.
5421
a0be396a 54222013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5423
5424 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5425
2edcd3c7
JL
54262013-10-09 Juri Linkov <juri@jurta.org>
5427
5428 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5429 instead of this-command-keys. Add universal-argument-more and
5430 universal-argument-minus to the list of prefix commands. (Bug#15568)
5431
574411d0
GM
54322013-10-09 Glenn Morris <rgm@gnu.org>
5433
14afa541
GM
5434 * vc/vc-svn.el (vc-svn-create-repo):
5435 Expand paths in file://... url. (Bug#15446)
5436
574411d0
GM
5437 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5438 Add some entries.
5439 (authors): Remove unused local variables.
5440
79804536
SM
54412013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 * profiler.el: Create a more coherent calltree from partial backtraces.
5444 (profiler-format): Hide the tail with `invisible' so that C-s can still
5445 find the hidden elements.
5446 (profiler-calltree-depth): Don't recurse so enthusiastically.
5447 (profiler-function-equal): New hash-table-test.
5448 (profiler-calltree-build-unified): New function.
5449 (profiler-calltree-build): Use it.
5450 (profiler-report-make-name-part): Indent the calltree less.
5451 (profiler-report-mode): Add visibility specs for profiler-format.
5452 (profiler-report-expand-entry, profiler-report-toggle-entry):
5453 Expand the whole subtree when provided with a prefix arg.
5454
238150c8
DG
54552013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5456
5457 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5458 iuwu-mod token.
5459 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5460 hanging iuwu-mod token.
5461 (ruby-smie--forward-token): Do not include a dot after a token in
5462 that token.
5463 (ruby-smie--backward-token): Likewise.
5464
b0949cc4
JL
54652013-10-08 Juri Linkov <juri@jurta.org>
5466
5467 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5468 to isearch-other-control-char.
5469 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5470 and isearch-post-command-hook to post-command-hook.
5471 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5472 and isearch-post-command-hook from post-command-hook.
5473 (isearch-unread-key-sequence)
5474 (isearch-reread-key-sequence-naturally)
5475 (isearch-lookup-scroll-key, isearch-other-control-char)
5476 (isearch-other-meta-char): Remove functions.
5477 (isearch-pre-command-hook, isearch-post-command-hook):
5478 New functions based on isearch-other-meta-char rewritten
5479 relying on the new behavior of overriding-terminal-local-map
5480 that does not replace the local keymaps any more. (Bug#15200)
5481
4ed77415
EZ
54822013-10-08 Eli Zaretskii <eliz@gnu.org>
5483
5484 Support menus on text-mode terminals.
5485 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5486 functionality.
5487
5488 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5489
c2de5588
DK
5490 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5491 Move here from mouse.el.
4ed77415
EZ
5492 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5493 and arrow keys.
5494 (tty-menu-navigation-map): New map for TTY menu navigation.
5495
5496 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5497
5498 * frame.el (display-mouse-p): Report text-mode mouse as available
5499 on w32.
5500 (display-popup-menus-p): Report availability if mouse is
5501 available; don't condition on window-system.
5502
5503 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5504 (tty-menu-selected-face): New faces.
5505
b7d5bd82
TL
55062013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5507
06286513
SM
5508 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5509 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5510 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5511 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5512 New constants.
5513 (lisp-mode-variables): New `elisp' argument.
5514 (emacs-lisp-mode): Use it.
5515 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5516 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5517
b7d5bd82
TL
5518 * indent.el: Use lexical-binding.
5519 (indent-region): Add progress reporter.
5520 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5521 last step.
5522 (indent--next-tab-stop): New function to implement this behavior.
5523 (tab-to-tab-stop, move-to-tab-stop): Use it.
5524
55252013-10-08 Teemu Likonen <tlikonen@iki.fi>
5526
5527 * indent.el (indent-rigidly--current-indentation): New function.
5528 (indent-rigidly-map): New var.
5529 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5530
5ea75d23
BG
55312013-10-08 Bastien Guerry <bzg@gnu.org>
5532
f2726fa2 5533 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5534
cc5da1ec
SM
55352013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5536
8ffa1a0b
SM
5537 * progmodes/perl-mode.el: Use lexical-binding.
5538 Remove redundant :group args.
5539 (perl-nochange): Change default to be closer to other major modes's
5540 standard behavior.
5541 (perl-indent-line): Don't consider text on current line as a
5542 valid beginning of function from which to indent.
5543
f2223371
SM
5544 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5545 with more than one argument (bug#15538).
5546
44256060
SM
5547 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5548
cc5da1ec
SM
5549 * vc/pcvs.el: Use lexical-binding.
5550 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5551 environment of `eval'.
5552 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5553 than a list of expressions. Adjust callers.
5554 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5555
0ea1599d
DG
55562013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5557
5558 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5559 case of the dot in a chained method call being on the following line.
0ea1599d 5560
da3e5ebb
SM
55612013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5562
2abb4e65
SM
5563 * electric.el (electric-indent-inhibit): New var.
5564 (electric-indent-post-self-insert-function): Use it.
5565 * progmodes/python.el (python-mode): Set it.
5566
d2e0e795
SM
5567 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5568 open braces.
5569
5570 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5571
bdc6b4c8
SM
5572 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5573 (css-mode): Use electric-indent-chars.
5574
da3e5ebb
SM
5575 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5576 (font-lock-beg, font-lock-end): Move before first use.
5577 (nxml-mode): Use syntax-propertize-function.
5578 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5579 (nxml-extend-after-change-region): Remove.
5580 * nxml/xmltok.el: Use lexical-binding.
5581 (xmltok-save): Use `declare'.
5582 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5583 * nxml/nxml-util.el: Use lexical-binding.
5584 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5585 Use `declare'.
5586 * nxml/nxml-ns.el: Use lexical-binding.
5587 (nxml-ns-save): Use `declare'.
5588 (nxml-ns-prefixes-for): Avoid add-to-list.
5589 * nxml/rng-match.el: Use lexical-binding.
5590 (rng--ipattern): Use cl-defstruct.
5591 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5592 (rng-cons-group-after, rng-subst-group-after)
5593 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5594 Use closures instead of `(lambda...).
5595
f8f91d5d
MA
55962013-10-07 Michael Albinus <michael.albinus@gmx.de>
5597
5598 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5599 of BEG and END.
5600
da3e5ebb
SM
5601 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5602 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5603 (tramp-gvfs-handle-insert-file-contents): Remove function.
5604
da3e5ebb
SM
5605 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5606 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5607
5608 * net/trampver.el: Update release number.
5609
7ccae3b1
SM
56102013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5611
55ca2c0d
SM
5612 * progmodes/compile.el (compilation-parse-errors):
5613 Use compilation--put-prop.
5614 (compilation--ensure-parse): Check compilation-multiline.
5615
731fc3ae
SM
5616 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5617
da3e5ebb
SM
5618 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5619 lexical-binding.
a5833280 5620
2e7ba2c2
SM
5621 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5622
7ccae3b1
SM
5623 * progmodes/ruby-mode.el: Fix recently added tests.
5624 (ruby-smie-grammar): Add - and +.
5625 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5626 (ruby-smie--backward-id): New functions.
5627 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5628 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5629 any more.
5630
85698d63
LL
56312013-10-07 Leo Liu <sdl.web@gmail.com>
5632
5633 * register.el (register-preview-delay)
5634 (register-preview-functions): New variables.
5635 (register-read-with-preview, register-preview)
5636 (register-describe-oneline): New functions.
5637 (point-to-register, window-configuration-to-register)
5638 (frame-configuration-to-register, jump-to-register)
5639 (number-to-register, view-register, insert-register)
5640 (copy-to-register, append-to-register, prepend-to-register)
5641 (copy-rectangle-to-register): Use register-read-with-preview to
5642 read register. (Bug#15525)
5643
3986af6c
DS
56442013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5645
5646 * net/network-stream.el (network-stream-open-starttls): Don't add
5647 --insecure if it's already present, because that gnutls-cli
5648 rejects getting that parameter twice.
5649
5cd9cda9
DG
56502013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5651
5652 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5653 keyword, too.
5654
da9ea6d9
DG
56552013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5656
5657 * newcomment.el (comment-use-global-state): Change default value
5658 to t, mark obsolete (Bug#15251).
5659 (comment-beginning): In addition to `comment-to-syntax', check the
5660 value of `comment-use-global-state'.
5661
34d1a133
SM
56622013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5665 (ruby-comment-column): Follow the global default, by default.
5666 (ruby-smie-grammar): Add assignment syntax.
5667 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5668 open-paren, a comma, or a \.
5669 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5670 and line continuations.
5671 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5672 followed by implicit semi-colons. Add rule for string concatenation
5673 and for indentation at BOB.
27821a89 5674 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
5675
5676 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5677 calling next-sexp, since next-token may have skipped chars which
5678 next-sexp doesn't know should be skipped!
5679
6f6ab820
LL
56802013-10-05 Leo Liu <sdl.web@gmail.com>
5681
34d1a133
SM
5682 * progmodes/octave.el (octave-send-region):
5683 Call compilation-forget-errors.
6f6ab820 5684
34ca0f4c
XF
56852013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5686
5687 * vc/vc-svn.el (vc-svn-find-admin-dir):
5688 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5689 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5690 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5691 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5692
a27c1b72
SM
56932013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5694
5695 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5696
258ab3bc
SM
56972013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * subr.el (read-passwd): Hide chars even when called within a context
5700 where after-change-functions is disabled (bug#15501).
5701 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5702 until we removed ourself from overriding-terminal-local-map.
5703
939fb29c
LL
57042013-10-04 Leo Liu <sdl.web@gmail.com>
5705
258ab3bc
SM
5706 * progmodes/octave.el (inferior-octave-mode):
5707 Call compilation-forget-errors.
939fb29c 5708
63bd7f35
XF
57092013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5710
5711 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5712
9e6229fa
MA
57132013-10-04 Michael Albinus <michael.albinus@gmx.de>
5714
5715 * net/secrets.el (secrets-create-collection): Add optional
5716 argument ALIAS. Use proper Label keyword. Append ALIAS as
5717 dbus-call-method argument. (Bug#15516)
5718
1dab32a3
LL
57192013-10-04 Leo Liu <sdl.web@gmail.com>
5720
5721 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5722 (inferior-octave-compilation-font-lock-keywords): New variables.
5723 (compilation-error-regexp-alist)
5724 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5725 (inferior-octave-mode): Use compilation-shell-minor-mode.
5726
6cad7ba3
JS
57272013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5728
5729 * minibuffer.el (completion--replace): Be careful that `end' might be
5730 a marker.
5731
acbadd00
DU
57322013-10-03 Daiki Ueno <ueno@gnu.org>
5733
5734 Add support for package signature checking.
5735 * emacs-lisp/package.el (url-http-file-exists-p)
5736 (epg-make-context, epg-context-set-home-directory)
5737 (epg-verify-string, epg-context-result-for)
5738 (epg-signature-status, epg-signature-to-string)
5739 (epg-check-configuration, epg-configuration)
5740 (epg-import-keys-from-file): Declare.
5741 (package-check-signature): New user option.
5742 (package-unsigned-archives): New user option.
5743 (package-desc): Add `signed' field.
5744 (package-load-descriptor): Set `signed' field if .signed file exists.
5745 (package--archive-file-exists-p): New function.
5746 (package--check-signature): New function.
5747 (package-install-from-archive): Check package signature.
5748 (package--download-one-archive): Check archive signature.
5749 (package-delete): Remove .signed file.
5750 (package-import-keyring): New command.
5751 (package-refresh-contents): Import default keyring.
5752 (package-desc-status): Add "unsigned" status.
5753 (describe-package-1, package-menu--print-info)
5754 (package-menu-mark-delete, package-menu--find-upgrades)
5755 (package-menu--status-predicate): Support "unsigned" status.
5756
adf2aa61
SM
57572013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5760 the new compilation scheme using the new byte-codes.
5761
5762 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5763 (byte-pophandler): New byte codes.
5764 (byte-goto-ops): Adjust accordingly.
5765 (byte-compile--use-old-handlers): New var.
5766 (byte-compile-catch): Use new byte codes depending on
5767 byte-compile--use-old-handlers.
5768 (byte-compile-condition-case--old): Rename from
5769 byte-compile-condition-case.
5770 (byte-compile-condition-case--new): New function.
5771 (byte-compile-condition-case): New function that dispatches depending
5772 on byte-compile--use-old-handlers.
5773 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5774 when we can.
5775
5776 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5777 Optimize under `condition-case' and `catch' if
5778 byte-compile--use-old-handlers is nil.
5779 (disassemble-offset): Handle new bytecodes.
5780
328a8179
SM
57812013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * subr.el (error): Use `declare'.
5784 (decode-char, encode-char): Use advertised-calling-convention instead
5785 of the docstring to discourage use of the `restriction' arg.
5786
15a1e936
DU
57872013-10-03 Daiki Ueno <ueno@gnu.org>
5788
5789 * epg.el (epg-verify-file): Add a comment saying that it does not
5790 notify verification error as a return value nor a signal.
5791 (epg-verify-string): Ditto.
5792
376f862a
KR
57932013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5794
5795 * progmodes/compile.el (compilation-start): Try globbing the arg to
5796 `cd' (bug#15417).
5797
a2f93a5f
MA
57982013-10-02 Michael Albinus <michael.albinus@gmx.de>
5799
5800 Sync with Tramp 2.2.8.
5801
5802 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5803 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5804 * net/trampver.el: Update release number.
5805
0daa0804
JD
58062013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5807
5808 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5809 and default-process-coding-system for darwin only.
5810
abd1ae34
SM
58112013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5814
be4e325d
MH
58152013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5816
5817 * vc/vc-git.el (vc-git-grep): Disable pager.
5818
e9155c4a
DG
58192013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5820
494e898b
DG
5821 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5822 Use :url instead of :homepage, as per
5823 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5824
e9155c4a
DG
5825 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5826 non-nil, use `syntax-ppss' (Bug#15251).
5827
481a8e0f
RS
58282013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5829
be4e325d
MH
5830 * progmodes/octave.el (inferior-octave-startup-file):
5831 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5832
056453c6
DG
58332013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5834
be4e325d
MH
5835 * emacs-lisp/package.el (package-desc-from-define):
5836 Accept additional arguments as plist, convert them to an alist and store
5837 them in the `extras' slot.
056453c6
DG
5838 (package-generate-description-file): Convert extras alist back to
5839 plist and append to the `define-package' form arguments.
5840 (package--alist-to-plist): New function.
5841 (package--ac-desc): Add `extras' slot.
5842 (package--add-to-archive-contents): Check if the archive-contents
5843 vector is long enough, and if it is, pass its `extras' slot value
5844 to `package-desc-create'.
5845 (package-buffer-info): Call `lm-homepage', pass the returned value
5846 to `package-desc-from-define'.
5847 (describe-package-1): Render the homepage button (Bug#13291).
5848
be4e325d
MH
5849 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5850 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5851
832966e5
JD
58522013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5853
5854 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5855 and default-process-coding-system to utf-8-unix (Bug#15402).
5856
6cfe977d
XF
58572013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5858
5859 * subr.el (looking-back): Do not recommend using looking-back.
5860
38de11bd
AM
58612013-09-28 Alan Mackenzie <acm@muc.de>
5862
5863 Fix indentation/fontification of Java enum with "implements".
5864
5865 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5866 regexp which matches "implements", etc., in Java.
5867 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5868 specifier clauses coming after "enum".
5869 * progmodes/cc-fonts.el (c-font-lock-declarations)
5870 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5871 after "enum".
5872
1610938f
JD
58732013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5874
5875 * faces.el (region): Change ns_selection_color to
5876 ns_selection_fg_color, add ns_selection_bg_color.
5877
e090f499
LL
58782013-09-28 Leo Liu <sdl.web@gmail.com>
5879
4d2e94d1
LL
5880 * progmodes/octave.el (inferior-octave-completion-table)
5881 (inferior-octave-completion-at-point): Minor tweaks.
5882
e090f499
LL
5883 * textmodes/ispell.el (ispell-lookup-words): Rename from
5884 lookup-words. (Bug#15460)
5885 (lookup-words): Obsolete.
5886 (ispell-complete-word, ispell-command-loop): All uses changed.
5887
7e138a62
RS
58882013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5889
a12bf61e 5890 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5891 (octave-mode-menu): Add octave-send-buffer.
5892 (octave-send-buffer): New function.
5893
5af5ed08
RS
58942013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5895
a12bf61e 5896 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5897 octave-lookfor.
5898 (octave-mode-menu): Add octave-lookfor.
5899 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5900 octave-lookfor.
5901 (octave-lookfor): New function.
5902
3b7b2692
SM
59032013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5904
35e951cd 5905 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
5906 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5907 its convention.
5908 (cl--loop-set-iterator-function): New function.
5909 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5910 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5911 Bind `it' with `let' instead of substituting it with `cl-subst'.
5912 (cl--unused-var-p): New function.
5913 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5914 Eliminate some unused variable warnings (bug#15326).
5915
529fb53f
TH
59162013-09-27 Tassilo Horn <tsdh@gnu.org>
5917
5918 * doc-view.el (doc-view-scale-reset): Rename from
5919 `doc-view-reset-zoom-level'.
5920 (doc-view-scale-adjust): New command.
5921 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5922 `doc-view-scale-adjust'.
5923
0550c95a
TH
59242013-09-26 Tassilo Horn <tsdh@gnu.org>
5925
5926 * doc-view.el (doc-view-reset-zoom-level): New command.
5927 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5928 zoom commands (bug#15466).
5929
6950f152
KH
59302013-09-26 Kenichi Handa <handa@gnu.org>
5931
5932 * international/quail.el (quail-help): Make it not a command.
5933
39587580
LL
59342013-09-26 Leo Liu <sdl.web@gmail.com>
5935
5936 * minibuffer.el (completion-all-sorted-completions): Make args
5937 optional as they are.
5938
00578659
DC
59392013-09-25 Daniel Colascione <dancol@dancol.org>
5940
5941 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5942 specs are and that they're not evaluated.
5943
0c173878
SS
59442013-09-24 Sam Steingold <sds@gnu.org>
5945
5946 * midnight.el (clean-buffer-list-kill-regexps)
5947 (clean-buffer-list-kill-buffer-names): Update for the new Man
5948 buffer naming which includes the object name.
5949
84998447
SM
59502013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5953 (eshell-parse-command, eshell-parse-pipeline): Use it since
5954 eshell-separate-commands requires a dynamic scoped var.
5955 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5956
33215353
LL
59572013-09-23 Leo Liu <sdl.web@gmail.com>
5958
5959 * autoinsert.el (auto-insert-alist): Make the value of
5960 lexical-binding match its file setting.
5961
57b16162
JB
59622013-09-23 Juanma Barranquero <lekktu@gmail.com>
5963
c8af4e67
JB
5964 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5965
57b16162
JB
5966 * autoarg.el (autoarg-kp-digit-argument):
5967 * electric.el (Electric-command-loop):
5968 * kmacro.el (kmacro-step-edit-insert):
5969 Do not set universal-argument-num-events.
5970
7186ba60
LL
59712013-09-22 Leo Liu <sdl.web@gmail.com>
5972
5973 * files.el (interpreter-mode-alist): Add octave.
5974
ece15004
AM
59752013-09-21 Alan Mackenzie <acm@muc.de>
5976
5977 C++: fontify identifier in declaration following "public:" correctly.
5978 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5979 to match "public", etc.
5980 (c-decl-prefix-re): Add ":" into the C++ value.
5981 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5982 bit. Add a check for a ":" preceded by "public", etc.
5983
75d83e22
EZ
59842013-09-21 Eli Zaretskii <eliz@gnu.org>
5985
5986 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5987 recognized by GDB 7.5 and later.
5988
d052d3bd
XF
59892013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5990
5991 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5992
31dca772
R
59932013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 * subr.el (internal--call-interactively): New const.
5996 (called-interactively-p): Use it (bug#3984).
5997
98ccf24e
XF
59982013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5999
6000 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6001 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6002 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6003
c39cc7d1
SM
60042013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6007 (eshell-ls-orig-insert-directory): Remove.
6008 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6009 (eshell-ls-use-in-dired): Use advice-add/remove.
6010 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6011 Add `orig-fun' arg for use in :around advice.
6012 Make it check (redundantly) eshell-ls-use-in-dired.
6013
9a0289a2
GM
60142013-09-19 Glenn Morris <rgm@gnu.org>
6015
a2c501b8
GM
6016 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6017
c440407a
GM
6018 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6019
9a0289a2
GM
6020 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6021
85e05915
MA
60222013-09-19 Michael Albinus <michael.albinus@gmx.de>
6023
6024 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6025 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6026 (tramp-get-remote-python): New defuns.
6027 (tramp-get-remote-uid-with-perl)
6028 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6029 contributed by yary <not.com@gmail.com> (tiny change).
6030 (tramp-get-remote-uid-with-python)
6031 (tramp-get-remote-gid-with-python): New defuns. Python code
6032 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6033 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6034
ce503312
GM
60352013-09-19 Glenn Morris <rgm@gnu.org>
6036
f7544773
GM
6037 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6038
72fd2877
GM
6039 * eshell/em-unix.el (eshell-remove-entries):
6040 Rename argument to avoid name-clash with global `top-level'.
6041
336b5a56
GM
6042 * eshell/esh-proc.el (eshell-kill-process-function):
6043 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6044 (eshell-reset-after-proc): Remove unused arg `proc'.
6045
57a3a53d
GM
6046 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6047 (directory-files-and-attributes): Mark unused arg.
6048
3261d4af
GM
6049 * eshell/em-unix.el (eshell-remove-entries):
6050 Remove unused arg `path'. Update callers.
6051
8e51b5d0
GM
6052 * eshell/em-hist.el (eshell-hist-parse-arguments):
6053 Remove unused arg `silent'. Update callers.
6054
ce503312
GM
6055 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6056 Fix (f)boundp mix-up.
6057
6058 * eshell/em-smart.el (eshell-smart-scroll-window)
6059 (eshell-disable-after-change):
336b5a56 6060 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6061
ee3ce8a7
AM
60622013-09-18 Alan Mackenzie <acm@muc.de>
6063
6064 Fix fontification of type when followed by "const".
6065 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6066 "known" types from fontification.
6067
ec9177ba
GM
60682013-09-18 Glenn Morris <rgm@gnu.org>
6069
7bb3e768
GM
6070 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6071 (chart-face-list): Drop Emacsen without display-color-p.
6072
5148da15
GM
6073 * net/eww.el (libxml-parse-html-region): Declare.
6074 (eww-display-html): Explicit error if no libxml2 support.
6075
2f68e157
GM
6076 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6077
9019d095
GM
6078 * image.el (image-type-from-buffer, image-multi-frame-p):
6079 Remove --without-x warning/error.
67645389 6080
5f30349b 6081 * mouse.el (mouse-yank-primary):
45069b2e 6082 * term.el (term-mouse-paste):
5f30349b
GM
6083 Reorder to silence --without-x compilation.
6084
cd8edbbe
GM
6085 * mpc.el (doc-view-mode): Silence --without-x compilation.
6086
8a78544e
GM
6087 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6088 Silence --without-x compilation.
6089
12679bfd
GM
6090 * progmodes/gud.el (gud-find-file, gud-mode):
6091 Silence --without-x compilation.
6092 (tooltip-mode): Declare.
30810a05 6093
f0047cb9
GM
6094 * wdired.el (dired-backup-overwrite): Remove declaration.
6095 (wdired-mode-map): Add doc string.
6096
e740f9d2
GM
6097 * custom.el (x-get-resource): Declare.
6098
92d77c89
GM
6099 * eshell/em-glob.el (ange-cache):
6100 * eshell/em-unix.el (ange-cache): Declare.
6101
76e69577
GM
6102 * faces.el (x-display-list, x-open-connection, x-get-resource):
6103 Declare.
7e58af4b
GM
6104
6105 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6106 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6107 Declare.
76e69577 6108
4bd4c0af 6109 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6110
ffb82dbd
GM
6111 * net/gnutls.el (gnutls-log-level): Declare.
6112
986ed135
GM
6113 * net/shr.el (image-size, image-animate): Declare.
6114
e740f9d2
GM
6115 * simple.el (font-info): Declare.
6116
d2f3e9f8
GM
6117 * subr.el (x-popup-dialog): Declare.
6118
047a1a4c
GM
6119 * term/common-win.el (x-select-enable-primary)
6120 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6121 Declare.
6122
f4a1d572
GM
6123 * term/ns-win.el (x-handle-args): Declare.
6124
e843de77
GM
6125 * term/x-win.el (x-select-enable-clipboard): Declare.
6126
5fa89513
GM
6127 * term/w32-win.el (create-default-fontset): Declare.
6128
38702b5b
GM
6129 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6130 Declare.
6131
e740f9d2
GM
6132 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6133 (fit-frame-to-buffer): Explicit error if --without-x.
6134 (mouse-autoselect-window-select): Silence compiler.
6135
49a053fc
GM
6136 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6137
6138 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6139 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6140 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6141 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6142 Remove unused local variables.
6143
6144 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6145
ec9177ba
GM
6146 * textmodes/two-column.el: Make 2C-split work for --without-x.
6147 (scroll-bar-columns): Autoload.
6148 (top-level): Require fringe when compiling.
6149
9f25cb77
LL
61502013-09-18 Leo Liu <sdl.web@gmail.com>
6151
6152 * subr.el (add-hook): Robustify to handle closure as well.
6153
2b42da98
GM
61542013-09-17 Glenn Morris <rgm@gnu.org>
6155
6156 * simple.el (messages-buffer-mode-map): Unbind "g".
6157
e8b66a6a
SM
61582013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6159
9c0ad4f7
SM
6160 * help-mode.el (help-mode-finish): Use derived-mode-p.
6161 Remove obsolete highlighting.
6162
7a806dfb
SM
6163 * play/life.el (life-mode): Use define-derived-mode. Derive from
6164 special-mode.
6165 (life): Let-bind inhibit-read-only.
6166 (life-setup): Avoid `setq'. Use `life-mode'.
6167
96dbf5a8
SM
6168 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6169 which should not be needed any more.
6170 (package-menu-refresh, package-menu-describe-package): Use user-error.
6171
e8b66a6a
SM
6172 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6173 (eshell-post-rewrite-command-hook): Make obsolete.
6174 (eshell-parse-command): Simplify.
6175 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6176 (eshell--cmd): Declare.
6177 (eshell-parse-pipeline): Remove unused var `final-p'.
6178 Pass a dynvar to eshell-post-rewrite-command-hook.
6179 Implement the new eshell-post-rewrite-command-function.
6180 (eshell-invoke-directly): Remove unused arg `input'.
6181 * eshell/esh-io.el (eshell-io-initialize):
6182 Use eshell-post-rewrite-command-function (bug#15399).
6183 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6184 adjust to new calling convention.
6185 (eshell-create-handles): Rename args to avoid clashing with dynvar
6186 `standard-output'.
6187
90582f05
GM
61882013-09-17 Glenn Morris <rgm@gnu.org>
6189
6190 * simple.el (messages-buffer-mode): New major mode.
6191 (messages-buffer): New function.
6192 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6193 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6194 (ert-run-test): Use `messages-buffer' function.
90582f05 6195 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6196 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6197 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6198
39eb0cb5 61992013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6200
6201 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6202
1d42e5b6 6203 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6204
70568a90
SM
62052013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6206
504a0381
SM
6207 * icomplete.el (icomplete-in-buffer): New var.
6208 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6209 vars and replace them with functions.
6210 (icomplete-minibuffer-setup): Adjust accordingly.
6211 (icomplete--completion-table, icomplete--completion-predicate)
6212 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6213 New functions.
6214 (icomplete-forward-completions, icomplete-backward-completions)
6215 (icomplete-simple-completing-p, icomplete-exhibit)
6216 (icomplete-completions): Use them.
6217 (icomplete--in-region-buffer): New var.
6218 (icomplete--in-region-setup): New function.
6219 (icomplete-mode): Use it.
6220
70568a90
SM
6221 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6222 (bug#15379).
6223 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6224 return args and options.
6225 (eshell-eval-using-options): Use the new return value of
6226 eshell--do-opts to set the options's vars in their scope.
6227 (eshell--set-option): Rename from eshell-set-option.
6228 Add arg `opt-vals'.
6229 (eshell--process-option): Rename from eshell-process-option.
6230 Add arg `opt-vals'.
6231 (eshell--process-args): Use an `opt-vals' alist to store the options's
6232 values during their processing and return them additionally to the
6233 remaining args.
6234
578c21bc
DG
62352013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6236
6237 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6238 continuation character an operator, as far as indentation is
6239 concerned (Bug#15369).
6240
c089653d
MR
62412013-09-15 Martin Rudalics <rudalics@gmx.at>
6242
6243 * window.el (window--state-put-2): Don't process buffer state
6244 when buffer doesn't exist any more (Bug#15382).
6245
1e53bb4b
GM
62462013-09-15 Glenn Morris <rgm@gnu.org>
6247
30753242
GM
6248 * eshell/em-unix.el (eshell/rm):
6249 Make -f ignore missing files. (Bug#15373)
6250
1e53bb4b
GM
6251 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6252 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6253 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6254
0d8863b3
GM
62552013-09-14 Glenn Morris <rgm@gnu.org>
6256
6257 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6258
d3fc6549
GM
62592013-09-13 Glenn Morris <rgm@gnu.org>
6260
6261 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6262 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6263
fcd42c11
DA
62642013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6265
6266 * frame.el (x-focus-frame): Mark as declared in frame.c.
6267
7830899f
SM
62682013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6269
6270 * ls-lisp.el: Use advice-add.
6271 (original-insert-directory): Remove.
6272 (ls-lisp--insert-directory): Rename from insert-directory; add
6273 `orig-fun' argument.
6274 (insert-directory): Advise.
6275
84387cd2
EZ
62762013-09-13 Eli Zaretskii <eliz@gnu.org>
6277
6278 * term.el (term-emulate-terminal): Decode the command string
6279 before passing it to term-command-hook. (Bug#15337)
6280
35ffc6ba
GM
62812013-09-13 Glenn Morris <rgm@gnu.org>
6282
5c3f9bcc
GM
6283 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6284
2ada368a
GM
6285 * eshell/esh-ext.el (eshell-search-path): Declare.
6286
fcef2e13
GM
6287 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6288 Otherwise an error occurs if eshell-dirs module not loaded.
6289
35ffc6ba
GM
6290 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6291
35c3d36e
MA
62922013-09-13 Michael Albinus <michael.albinus@gmx.de>
6293
6294 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6295 `tramp-check-proper-host'. Check for a valid method name.
6296
6297 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6298 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6299 * net/tramp-sh.el (tramp-maybe-open-connection):
6300 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6301
6302 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6303 also for hash values.
6304
ae5e4c48
SM
63052013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6306
379add74
SM
6307 * term/ns-win.el (parameters): Don't declare as dynamic.
6308 (before-make-frame-hook): Don't add ineffective function.
6309
ae5e4c48
SM
6310 * eshell/*.el: Use lexical-binding (bug#15231).
6311
b5623270
KH
63122013-09-12 Kenichi Handa <handa@gnu.org>
6313
ae5e4c48 6314 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6315
30213927
GM
63162013-09-12 Glenn Morris <rgm@gnu.org>
6317
be94d713 6318 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6319 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6320
44915370
GM
6321 * subr.el (do-after-load-evaluation): Also give compiler warnings
6322 when obsolete files are used (except by obsolete files).
6323
a6ae021f
GM
6324 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6325 in the status output, assume `filename' is the first. (Bug#15322)
6326
40e64f0c
GM
6327 * vc/vc.el (vc-deduce-fileset): Doc fix.
6328
16d9f896
GM
6329 * calc/calc-help.el (Info-goto-node):
6330 * progmodes/cperl-mode.el (Info-find-node):
6331 * vc/ediff.el (Info-goto-node): Update declarations.
6332
dea01c6e
GM
6333 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6334
759880bf 6335 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6336 (vc-bzr-pull): Require vc-dispatcher.
6337 * vc/vc-git.el (vc-compilation-mode): Declare.
6338 (vc-git-pull): Require vc-dispatcher.
6339
08d66420
GM
6340 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6341
30b626e9
GM
6342 * progmodes/octave.el (help-button-action): Declare.
6343
8c05cb10
GM
6344 * shell.el (shell-directory-tracker): Output error as a message
6345 rather than just returning it as a string.
6346 (shell-process-pushd): Remove useless use of message.
6347
30213927
GM
6348 * dframe.el (dframe-timer-fn):
6349 * files.el (dir-locals-read-from-file):
6350 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6351 (mpc-format):
6352 * reveal.el (reveal-post-command):
6353 * saveplace.el (load-save-place-alist-from-file):
6354 * shell.el (shell-resync-dirs):
6355 * w32-common-fns.el (x-get-selection-value):
6356 * emacs-lisp/copyright.el (copyright-find-copyright):
6357 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6358 * emulation/tpu-edt.el (tpu-copy-keyfile):
6359 * play/bubbles.el (bubbles--mark-neighbourhood):
6360 * progmodes/executable.el
6361 (executable-make-buffer-file-executable-if-script-p):
6362 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6363
d3b049e6
SM
63642013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6365
170266d0
SM
6366 Cleanup Eshell to rely less on dynamic scoping.
6367 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6368 last-value, and ext-command here. Bind `args' closer to `body'.
6369 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6370 (eshell--args): Declare new dynamic var.
6371 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6372 last-value, and ext-command. Pass `args' to `body'.
6373 (eshell-process-args): Bind eshell--args.
6374 (eshell-set-option): Use eshell--args.
6375 * eshell/eshell.el (eshell): Use derived-mode-p.
6376 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6377 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6378 (eshell-glob-function): Declare.
6379 * eshell/esh-util.el: Require cl-lib.
6380 (eshell-read-hosts-file): Avoid add-to-list.
6381 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6382 `err'.
6383 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6384 Declare.
6385 (eshell/diff): Remove unused var `err'.
6386 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6387 `killflag'.
6388 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6389 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6390 first use.
6391 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6392 Move declaration before first use.
6393 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6394 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6395 rely on cl-return.
6396
56834f3b
GM
63972013-09-12 Glenn Morris <rgm@gnu.org>
6398
6399 * term/ns-win.el (global-map): Remove binding for ispell-next,
6400 deleted 1999-05-29. (Bug#15357)
6401
5c91a2b8
GM
64022013-09-11 Glenn Morris <rgm@gnu.org>
6403
da712f22
GM
6404 * echistory.el (electric-command-history): Remove call to deleted func.
6405
512e4cdc
GM
6406 * play/landmark.el (landmark-mode): Fix typos.
6407
d3506ca5
GM
6408 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6409 Check cvs-sort-ignore-file is bound.
6410
5c91a2b8
GM
6411 * savehist.el: No need for cl when compiling on Emacs.
6412
feeff482
SM
64132013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6414
656bd483
SM
6415 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6416 (bug#15338).
d3b049e6
SM
6417 (eshell-self-insert-command, eshell-send-invisible):
6418 Remove unused argument.
656bd483
SM
6419 (eshell-handle-control-codes): Remove unused var `orig'.
6420 Avoid delete-backward-char.
6421
feeff482
SM
6422 * files.el (set-auto-mode): Simplify a bit further.
6423
2a08047a
GM
64242013-09-11 Glenn Morris <rgm@gnu.org>
6425
6426 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6427 (set-auto-mode): Don't regexp-quote elements.
6428 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6429 * progmodes/cc-mode.el (interpreter-mode-alist):
6430 * progmodes/ruby-mode.el (interpreter-mode-alist):
6431 Revert previous change.
6432
34675540
SM
64332013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6434
1b3b87df
SM
6435 * play/snake.el (snake-mode):
6436 * play/mpuz.el (mpuz-mode):
6437 * play/landmark.el (lm-mode):
6438 * play/blackbox.el (blackbox-mode):
6439 * play/5x5.el (5x5-mode):
6440 * obsolete/options.el (Edit-options-mode):
6441 * net/quickurl.el (quickurl-list-mode):
6442 * net/newst-treeview.el (newsticker-treeview-mode):
6443 * mail/rmailsum.el (rmail-summary-mode):
6444 * mail/mspools.el (mspools-mode):
6445 * locate.el (locate-mode):
6446 * ibuffer.el (ibuffer-mode):
6447 * emulation/ws-mode.el (wordstar-mode):
6448 * emacs-lisp/debug.el (debugger-mode):
6449 * array.el (array-mode):
6450 * net/eudc.el (eudc-mode): Use define-derived-mode.
6451 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6452 Move initialization into declaration.
6453 (mairix-searches-mode): Use define-derived-mode.
6454 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6455 (eudc-edit-hotlist): Use dolist.
6456 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6457 (Man-mode): Use define-derived-mode.
6458 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6459 (Info-edit-mode): Use define-derived-mode.
6460 (Info-cease-edit): Use Info-mode.
6461 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6462 into declaration.
6463 (eshell-mode): Use define-derived-mode.
6464 * chistory.el (command-history-mode-map): Rename from
6465 command-history-map.
6466 (command-history-mode): Use define-derived-mode.
da712f22 6467 (Command-history-setup): Remove function.
1b3b87df
SM
6468 * calc/calc.el (calc-trail-mode-map): New var.
6469 (calc-trail-mode): Use define-derived-mode.
6470 (calc-trail-buffer): Set calc-main-buffer manually.
6471 * bookmark.el (bookmark-insert-annotation): New function.
6472 (bookmark-edit-annotation): Use it.
6473 (bookmark-edit-annotation-mode): Make it a proper major mode.
6474 (bookmark-send-edited-annotation): Use derived-mode-p.
6475 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6476 closer to its ideal place. Use \' to match EOS.
6477
34675540
SM
6478 * profiler.el (profiler-calltree-find): Use function-equal.
6479
6a5c15d9
GM
64802013-09-10 Glenn Morris <rgm@gnu.org>
6481
1af4c220
GM
6482 * files.el (interpreter-mode-alist): Convert to regexps.
6483 (set-auto-mode): Adapt for this. (Bug#15306)
6484 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6485 Comment out unused variable.
6486 * progmodes/cc-mode.el (interpreter-mode-alist):
6487 * progmodes/python.el (interpreter-mode-alist):
6488 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6489 * progmodes/sh-script.el (sh-set-shell):
6490 No longer use interpreter-mode-alist to get list of shells.
6491
6a5c15d9
GM
6492 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6493
8c27f5ff
SM
64942013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6495
02ef6c1a 6496 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6497 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6498 Bind switch-frame explicitly. Replace universal-argument-minus with
6499 a conditional binding.
6500 (universal-argument-num-events, saved-overriding-map): Remove.
6501 (restore-overriding-map): Remove.
6502 (universal-argument--mode): Rename from save&set-overriding-map,
6503 and rewrite.
6504 (universal-argument, universal-argument-more, negative-argument)
6505 (digit-argument): Adjust accordingly.
6506 (universal-argument-minus): Remove.
6507 (universal-argument-other-key): Remove.
6508
8c27f5ff
SM
6509 * subr.el (with-demoted-errors): Add `format' argument.
6510
6480194c
MA
65112013-09-10 Michael Albinus <michael.albinus@gmx.de>
6512
6513 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6514 `tramp-cleanup-connection'.
6515
6516 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6517 parameters KEEP-DEBUG and KEEP-PASSWORD.
6518
6519 * net/tramp.el (tramp-file-name-handler):
6520 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6521 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6522 (tramp-maybe-open-connection):
8c27f5ff
SM
6523 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6524 Use `tramp-cleanup-connection'.
6480194c 6525
8c27f5ff
SM
6526 * net/tramp-sh.el (tramp-maybe-open-connection):
6527 Catch 'uname-changed inside the progress reporter.
6480194c 6528
e5e916d8
GM
65292013-09-10 Glenn Morris <rgm@gnu.org>
6530
9a2c9b47
GM
6531 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6532
e5e916d8
GM
6533 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6534 returns "alternate access method" in mode (eg "-rw-r--r--.").
6535
144e38fe
GM
65362013-09-08 Glenn Morris <rgm@gnu.org>
6537
6538 * saveplace.el (load-save-place-alist-from-file):
6539 Demote errors. (Bug#15305)
6540
af9ff9e8
MA
65412013-09-08 Michael Albinus <michael.albinus@gmx.de>
6542
6543 Improve compatibility with older Emacsen, and XEmacs.
6544
6545 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6546 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6547 (with-tramp-progress-reporter): Do not let-bind `result'.
6548 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6549 (tramp-handle-make-auto-save-file-name): New function, moved from
6550 tramp-sh.el.
6551
6552 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6553 for `make-auto-save-file-name'.
8c27f5ff
SM
6554 (tramp-adb--gnu-switches-to-ash):
6555 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6556
6557 * net/tramp-cache.el (tramp-cache-print): Call
6558 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6559
6560 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6561 bound. It isn't for XEmacs.
6562
8c27f5ff
SM
6563 * net/tramp-compat.el (tramp-compat-copy-file):
6564 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6565 (tramp-compat-replace-regexp-in-string): New defun.
6566
6567 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6568 for `make-auto-save-file-name'.
6569 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6570 `copy-file'.
6571 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6572 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6573 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6574
8c27f5ff
SM
6575 * net/tramp-gw.el (tramp-gw-open-network-stream):
6576 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6577
8c27f5ff
SM
6578 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6579 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6580 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6581 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6582 (tramp-sh-file-inotifywait-process-filter):
6583 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6584 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6585
6586 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6587 for `make-auto-save-file-name'.
8c27f5ff
SM
6588 (tramp-smb-handle-copy-directory):
6589 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6590 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6591 (tramp-smb-handle-copy-file): Improve error message.
6592 (tramp-smb-handle-rename-file): Rename directly only in case
6593 `newname' does not exist yet. This is a restriction of smbclient.
6594 (tramp-smb-maybe-open-connection): Rerun the function only when
6595 `auth-sources' is non-nil.
6596
0ca754d0
KH
65972013-09-08 Kenichi Handa <handa@gnu.org>
6598
e0eb0550 6599 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6600 more characters.
6601
e8dd0787
AM
66022013-09-07 Alan Mackenzie <acm@muc.de>
6603
6604 Correctly fontify Java class constructors.
6605 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6606 in Java Mode.
6607 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6608 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6609 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6610 "typeless" declaration there.
6611
f2f248e7
RW
66122013-09-07 Roland Winkler <winkler@gnu.org>
6613
6614 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6615 field subtitle for entry type book.
6616
67982e2b
SM
66172013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * minibuffer.el: Make minibuffer-complete call completion-in-region
6620 rather than other way around.
6621 (completion--some, completion-pcm--find-all-completions):
6622 Don't delay signals when debugging.
6623 (minibuffer-completion-contents): Beware fields within the
6624 minibuffer contents.
6625 (completion-all-sorted-completions): Use defvar-local.
6626 (completion--do-completion, completion--cache-all-sorted-completions)
6627 (completion-all-sorted-completions, minibuffer-force-complete):
6628 Add args `beg' and `end'.
6629 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6630 (minibuffer-complete): Use completion-in-region.
6631 (completion-complete-and-exit): New fun, extracted from
6632 minibuffer-complete-and-exit.
6633 (minibuffer-complete-and-exit): Use it.
6634 (completion--complete-and-exit): Rename from
6635 minibuffer--complete-and-exit.
6636 (completion-in-region--single-word): New function, extracted from
6637 minibuffer-complete-word.
6638 (minibuffer-complete-word): Use it.
6639 (display-completion-list): Make `common-substring' argument obsolete.
6640 (completion--in-region): Call completion--in-region-1 instead of
6641 minibuffer-complete.
6642 (completion-help-at-point): Pass boundaries to
6643 minibuffer-completion-help as args rather than via an overlay.
6644 (completion-pcm--string->pattern): Use `any-delim'.
6645 (completion-pcm--optimize-pattern): New function.
6646 (completion-pcm--pattern->regex): Handle `any-delim'.
6647 * icomplete.el (icomplete-forward-completions)
6648 (icomplete-backward-completions, icomplete-completions):
6649 Adjust calls to completion-all-sorted-completions and
6650 completion--cache-all-sorted-completions.
6651 (icomplete-with-completion-tables): Default to t.
6652 * emacs-lisp/crm.el (crm--current-element): Rename from
6653 crm--select-current-element. Don't put an overlay but return the
6654 boundaries instead.
6655 (crm--completion-command): Take two new args to bind to the boundaries.
6656 (crm-completion-help): Adjust accordingly.
6657 (crm-complete): Use completion-in-region.
6658 (crm-complete-word): Use completion-in-region--single-word.
6659 (crm-complete-and-exit): Use completion-complete-and-exit.
6660
e17d94a5
SM
66612013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6664 than dynamically.
6665
96727100
JL
66662013-09-06 Juri Linkov <juri@jurta.org>
6667
6668 * info.el (Info-display-images-node): When image file doesn't exist
6669 display text version of the image if it's provided in the Info file.
6670 Otherwise, display the location of missing image from SRC attribute.
6671 Add help-echo text property from ALT attribute. (Bug#15279)
6672
86cf7329
SM
66732013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6674
6675 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6676 (edit-abbrevs-mode): Use define-derived-mode.
6677
6678 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6679 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6680 that it's defined.
6681 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6682 Use define-derived-mode.
6683
6684 * epg.el (epg-start-encrypt): Minor CSE simplification.
6685
816244a2
WX
66862013-09-06 William Xu <william.xwl@gmail.com>
6687
6688 * arc-mode.el: Add support for 7za (bug#15264).
6689 (archive-7z-program): New var.
6690 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6691 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6692 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6693
1486fa31
MA
66942013-09-06 Michael Albinus <michael.albinus@gmx.de>
6695
6696 Remove URL syntax.
6697
6698 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6699 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6700 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6701 (tramp-postfix-host-format, tramp-file-name-regexp)
6702 (tramp-completion-file-name-regexp)
6703 (tramp-completion-dissect-file-name)
6704 (tramp-handle-substitute-in-file-name): Remove 'url case.
6705 (tramp-file-name-regexp-url)
6706 (tramp-completion-file-name-regexp-url): Remove constants.
6707
39785324
GM
67082013-09-06 Glenn Morris <rgm@gnu.org>
6709
6710 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6711
1f896cb7
DG
67122013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6713
6714 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6715 keywords" below "here-doc beginnings" (Bug#15270).
6716
c0458e0b
SM
67172013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6718
6719 * subr.el (pop): Use `car-safe'.
6720 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6721 to detect unused `pop' return value.
6722
6723 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6724 var `block-regexp'.
6725 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6726 (python-fill-string): Remove unused var `marker'.
6727 (python-skeleton-add-menu-items): Remove unused var `items'.
6728
6729 * international/mule-cmds.el: Require CL.
6730 (find-coding-systems-for-charsets): Avoid add-to-list.
6731 (sanitize-coding-system-list): New function, extracted from
6732 select-safe-coding-system-interactively.
6733 (select-safe-coding-system-interactively): Use it.
6734 (read-input-method-name): Accept symbols for `default'.
6735
6736 * emacs-lisp/advice.el (defadvice): Add indent rule.
6737
6c42fc3e
DH
67382013-09-05 Daniel Hackney <dan@haxney.org>
6739
6740 * dired-x.el:
6741 * net/ange-ftp.el:
6742 * net/browse-url.el:
6743 * net/dbus.el:
6744 * net/eudc.el:
6745 * net/eudcb-ldap.el:
6746 * net/eww.el:
6747 * net/imap.el:
6748 * printing.el:
6749 * vc/ediff-diff.el:
6750 * vc/ediff-init.el:
6751 * vc/ediff-merg.el:
6752 * vc/ediff-mult.el:
6753 * vc/ediff-util.el:
6754 * vc/ediff-wind.el:
6755 * vc/ediff.el:
6756 * vc/emerge.el:
6757 * vc/pcvs.el:
6758 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6759 byte compiler. Remove some unused let-bound variables.
6760
4c528aab
SM
67612013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6764 a "ref-cell", since it gets better optimized (bug#14883).
6765
bd15c390
GM
67662013-09-05 Glenn Morris <rgm@gnu.org>
6767
6768 * progmodes/cc-awk.el (c-forward-sws): Declare.
6769
1c3ac2e5
GM
67702013-09-04 Glenn Morris <rgm@gnu.org>
6771
6772 * generic-x.el [rul-generic-mode]: Require cc-mode.
6773 (c++-mode-syntax-table): Declare.
6774 (rul-generic-mode-syntax-table): Init in the defvar.
6775
52b1cc79
SM
67762013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6777
c828af56
SM
6778 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6779 (vc-do-command, vc-set-async-update):
6780 * vc/vc-mtn.el (vc-mtn-dir-status):
6781 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6782 (vc-hg-pull, vc-hg-merge-branch):
6783 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6784 (vc-git-merge-branch):
6785 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6786 (vc-cvs-dir-status-files):
6787 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6788 (vc-bzr-dir-status-files):
6789 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6790 * vc/vc-annotate.el: Use lexical-binding.
6791 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6792 (vc-sentinel-movepoint): Declare.
6793 (vc-annotate): Don't use `goto-line'.
6794 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6795 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6796 (vc-sentinel-movepoint): Declare.
6797 * vc/vc-svn.el: Use lexical-binding.
6798 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6799 * vc/vc-sccs.el:
6800 * vc/vc-rcs.el: Use lexical-binding.
6801
abae272c
SM
6802 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6803 `deleted'. Don't drop errors silently.
6804
52b1cc79
SM
6805 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6806
63191d9f
XF
68072013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6808
6809 * vc/vc.el (vc-ignore): Rewrite.
6810 (vc-default-ignore): New function.
6811 (vc-default-ignore-completion-table): Use find-ignore-file.
6812
6813 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6814 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6815 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6816 Remove. Most code moved to vc.el.
6817
9d3f707c
SM
68182013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6819
abae272c 6820 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6821 * net/tramp-smb.el (tramp-smb-get-file-entries):
6822 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6823 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6824
fde38d49
SM
6825 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6826 Update call to it.
6827 (eww-change-select): Remove unused var `properties'.
6828 (eww-make-unique-file-name): Remove unused var `base'.
6829
6830 * finder.el (finder-compile-keywords): Don't mess with windows.
6831
84032db7
SM
6832 * calculator.el (calculator-funcall): Fix typo in last change.
6833
724f5e41
SM
6834 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6835
14b511d4
SM
6836 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6837 <pkg>-autoloads.el file stop us.
6838
9d3f707c 6839 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6840 warnings, and factor out common code.
9d3f707c 6841
88527bc0
DG
68422013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6843
6844 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6845 two-character operators and whether the character preceding them
6846 changes their meaning (Bug#15208).
6847
96edb677
FEG
68482013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6849
6850 Format code sent to Python shell for robustness.
9d3f707c
SM
6851 * progmodes/python.el (python-shell-buffer-substring):
6852 New function.
96edb677
FEG
6853 (python-shell-send-region, python-shell-send-buffer): Use it.
6854
95beaef3
MA
68552013-09-02 Michael Albinus <michael.albinus@gmx.de>
6856
6857 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6858 * net/tramp.el (tramp-user-error): ... here.
6859 (tramp-find-method, tramp-check-proper-host)
6860 (tramp-dissect-file-name, tramp-debug-message)
6861 (tramp-handle-shell-command):
6862 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6863 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6864
6865 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6866
f167c27b
MR
68672013-09-02 Martin Rudalics <rudalics@gmx.at>
6868
6869 * avoid.el (mouse-avoidance-point-position)
6870 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6871 returns nil.
6872
cd16c5f1
FEG
68732013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6874
6875 * progmodes/python.el (python-shell-completion-get-completions):
6876 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6877 (python-nav-if-name-main): New command.
cd16c5f1 6878
e73c3a0d
GM
68792013-09-01 Glenn Morris <rgm@gnu.org>
6880
f8ccce03
GM
6881 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6882 Avoid leading space in $wins. Otherwise the sed command used by
6883 eg compile-main ends up containing "/*.el". (Bug#15170)
6884
e73c3a0d
GM
6885 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6886
415f808e
GM
68872013-08-30 Glenn Morris <rgm@gnu.org>
6888
6889 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6890 Fix is-this-a-directory logic. (Bug#15220)
6891
f069bba8
SM
68922013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6893
112798c1
SM
6894 * textmodes/css-mode.el: Use SMIE.
6895 (css-smie-grammar): New var.
6896 (css-smie--forward-token, css-smie--backward-token)
6897 (css-smie-rules): New functions.
6898 (css-mode): Use them.
6899 (css-navigation-syntax-table): Remove var.
6900 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6901 (css-indent-calculate, css-indent-line): Remove functions.
6902
6903 Misc changes to reduce use of `(lambda...); and other cleanups.
6904 * cus-edit.el: Use lexical-binding.
6905 (customize-push-and-save, customize-apropos)
6906 (custom-buffer-create-internal): Use closures.
6907 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6908 * progmodes/ada-xref.el: Use setq.
6909 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6910 * dframe.el: Use lexical-binding.
6911 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6912 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6913 * descr-text.el: Use lexical-binding.
6914 (describe-text-widget, describe-text-sexp, describe-property-list):
6915 Use closures.
6916 * comint.el (comint-history-isearch-push-state): Use a closure.
6917 * calculator.el: Use lexical-binding.
6918 (calculator-number-to-string): Make it work with lexical-binding.
6919 (calculator-funcall): Same and use cl-letf.
6920
2da4c3ab
SM
6921 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6922 (lisp--company-doc-string, lisp--company-location): New functions.
6923 (lisp-completion-at-point): Use them to improve Company support.
6924
f069bba8
SM
6925 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6926 params of lambda expressions.
6927 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6928 (ruby-smie--opening-pipe-p): New function.
6929 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6930 symbols and matched |...| for formal params.
6931 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6932 from being treated as hanging. Handle "rescue".
6933
6758b6a8
GM
69342013-08-29 Glenn Morris <rgm@gnu.org>
6935
6936 * progmodes/cc-engine.el (c-pull-open-brace):
6937 Move definition before use.
6938
e8dfd197
SM
69392013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6942 are immutable. Don't use `unsafe' any more.
6943 (cl--defsubst-expand): Don't substitute at the same time as keeping
6944 a residual unused let-binding. Don't use `unsafe' any more.
6945
cc585c96
GM
69462013-08-29 Glenn Morris <rgm@gnu.org>
6947
ba579ea6
GM
6948 * calendar/cal-china.el (calendar-chinese-year-cache):
6949 Recenter on 2015.
6950
8201a87e
GM
6951 * nxml/nxml-util.el (nxml-debug-clear-inside):
6952 Use cl-loop rather than loop.
6953
6ee877c7
GM
6954 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6955
cc585c96
GM
6956 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6957
27be8d39
GM
69582013-08-28 Glenn Morris <rgm@gnu.org>
6959
397440a1
GM
6960 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6961
2bb762d4
GM
6962 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6963
27be8d39
GM
6964 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6965
2d69b99e
SM
69662013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6967
f663baa7
SM
6968 * simple.el (repeat-complex-command--called-interactively-skip):
6969 New function.
6970 (repeat-complex-command): Use it (bug#14136).
6971
dd4f8b74
SM
6972 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6973 (c-define-abbrev-table): Add `doc' argument.
6974 (c-mode-abbrev-table, c++-mode-abbrev-table)
6975 (objc-mode-abbrev-table, java-mode-abbrev-table)
6976 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6977 (awk-mode-abbrev-table): Use it.
6978 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6979 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6980 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6981 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6982 Move initialization into the declaration; and remove any
6983 autoload cookie.
6984
b58969f7
SM
6985 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6986 and dynamic let binding.
6987
4021d6a6
SM
6988 * vc/smerge-mode.el: Remove redundant :group args.
6989
2d69b99e
SM
6990 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6991 to load-path.
6992
274919fd
JL
69932013-08-28 Juri Linkov <juri@jurta.org>
6994
6995 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6996 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6997 (isearch-other-meta-char): Handle an undefined shifted printing
6998 character by downshifting it. (Bug#15200)
6999
121f8c95
JL
70002013-08-28 Juri Linkov <juri@jurta.org>
7001
7002 * isearch.el (isearch-search): Change regexp error message for
7003 non-regexp searches. (Bug#15166)
7004
50b13cde
PE
70052013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7006
7007 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7008 for portability to hosts where /bin/sh has problems.
7009
95888bca
SM
70102013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7011
7012 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7013
bbe558f1
JL
70142013-08-27 Juri Linkov <juri@jurta.org>
7015
7016 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7017 in the keyboard macro. (Bug#15126)
7018
26f98a7d
JL
70192013-08-27 Juri Linkov <juri@jurta.org>
7020
7021 * isearch.el (isearch-quote-char): Comment out converting unibyte
7022 to multibyte, thus syncing with its `quoted-insert' counterpart.
7023 (Bug#15166)
7024
7c97d35e
MR
70252013-08-27 Martin Rudalics <rudalics@gmx.at>
7026
7027 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7028 argument in call of get-largest-window (Bug#15185).
7029 Reported by Stephen Leake.
7c97d35e 7030
a0b5606e 70312013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7032
7033 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7034
9e89d835
SM
70352013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7036
7037 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7038 from a matcher-function unless there's no more matches (bug#15161).
7039
78fc2530
MA
70402013-08-26 Michael Albinus <michael.albinus@gmx.de>
7041
7042 * minibuffer.el: Revert change from 2013-08-20.
7043
7044 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7045 with text property `tramp-default', if appropriate.
7046 (tramp-check-proper-host): New defun.
7047 (tramp-dissect-file-name): Do not check hostname. Revert change
7048 of 2013-03-18.
7049 (tramp-backtrace): Make VEC-OR-PROC optional.
7050
7051 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7052 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7053 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7054 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7055 Apply `tramp-check-proper-host'.
78fc2530 7056
edca97cd
TH
70572013-08-26 Tassilo Horn <tsdh@gnu.org>
7058
7059 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7060 lambda expression in order to have `describe-variable' display it.
7061
df54bcbd
MA
70622013-08-26 Michael Albinus <michael.albinus@gmx.de>
7063
7064 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7065 BUF can be optional. (Bug#15186)
7066
eed99101
XF
70672013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7068
7069 * progmodes/flymake.el (flymake-get-real-file-name-function):
7070 Fix broken customization. (Bug#15184)
7071
b5eb9035
AM
70722013-08-25 Alan Mackenzie <acm@muc.de>
7073
8a51e842
AM
7074 Improve indentation of bracelists defined by macros (without "=").
7075
7076 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7077 expansion begins with "{", regard it as bracelist when it doesn't
7078 contain a ";".
7079
869455d4
AM
7080 Parse C++ inher-intro when there's a template split over 2 lines.
7081
7082 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7083 rigorously the search for "class" etc. followed by ":".
7084
7085 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7086 random languages a regexp which never matches rather than nil.
7087
b5eb9035
AM
7088 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7089
7090 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7091 (c-awk-regexp-one-line-possibly-open-char-list-re)
7092 (c-awk-one-line-possibly-open-regexp-re)
7093 (c-awk-one-line-non-syn-ws*-re): Remove.
7094 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7095 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7096 (c-awk-space*-unclosed-regexp-/-re): New constants.
7097 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7098 aren't regexp delimiters.
7099
7100 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7101 handling for a rare situation in AWK Mode involving unterminated
7102 strings/regexps.
7103
61611d54
GM
71042013-08-23 Glenn Morris <rgm@gnu.org>
7105
2d85dc34
GM
7106 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7107
cb8d2612
GM
7108 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7109
bb35f42f
GM
7110 * files.el (create-file-buffer): If the result would begin with
7111 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7112
b9808e77
SM
71132013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7114
e3a66363
SM
7115 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7116 text-properties (bug#15155).
7117
b9808e77
SM
7118 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7119 exist any more.
7120 (calc-keypad-redraw): Remove unused var `pad'.
7121 (calc-keypad-press): Remove unused var `menu'.
7122
7fd5f65e
MR
71232013-08-23 Martin Rudalics <rudalics@gmx.at>
7124
b9808e77
SM
7125 * window.el (display-buffer-pop-up-frame):
7126 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7127 use it as the new frame's buffer (Bug#15133).
7128
8352b530
SM
71292013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * calendar/timeclock.el: Minor cleanups.
7132 (timeclock-ask-before-exiting, timeclock-use-display-time):
7133 Use `symbol'.
7134 (timeclock-modeline-display): Define as alias before the
7135 actual definition.
7136 (timeclock-mode-line-display): Use define-minor-mode.
7137 (timeclock-day-list-template): Make it a function, add an argument.
7138 (timeclock-day-list-required, timeclock-day-list-length)
7139 (timeclock-day-list-debt, timeclock-day-list-span)
7140 (timeclock-day-list-break): Adjust calls accordingly.
7141
9f7b1925
SM
71422013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7145 Use read--expression so that completion works again.
7146
6e50e983
SS
71472013-08-21 Sam Steingold <sds@gnu.org>
7148
7149 Add rudimentary inferior shell interaction
7150 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7151 (sh-set-shell): Reset it.
9f7b1925
SM
7152 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7153 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7154
dbb0d350
SM
71552013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * align.el: Use lexical-binding.
7158 (align-region): Simplify accordingly.
7159
c88586a9
MA
71602013-08-20 Michael Albinus <michael.albinus@gmx.de>
7161
7162 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7163
7164 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7165 `non-essential' up.
7166
f95527c8
MA
71672013-08-17 Michael Albinus <michael.albinus@gmx.de>
7168
7169 * net/tramp.el:
7170 * net/tramp-adb.el:
7171 * net/tramp-cmds.el:
7172 * net/tramp-ftp.el:
7173 * net/tramp-gvfs.el:
7174 * net/tramp-gw.el:
7175 * net/tramp-sh.el: Don't wrap external variable declarations by
7176 `eval-when-compile'.
7177
4b5fe4ee
LMI
71782013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7179
7180 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7181 now that Emacs supports ImageMagick animations.
7182
13c366c9
MA
71832013-08-16 Michael Albinus <michael.albinus@gmx.de>
7184
7185 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7186 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7187
3dfc5cd6
MR
71882013-08-16 Martin Rudalics <rudalics@gmx.at>
7189
7190 * window.el (mouse-autoselect-window-select): Do autoselect when
7191 mouse pointer is on margin.
7192
4bbb4381
WP
71932013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7194
7195 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7196
3a2ddc2d
GM
71972013-08-16 Glenn Morris <rgm@gnu.org>
7198
e8bedf5a
GM
7199 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7200 Handle "Remote Directory" response of some clients. (Bug#15058)
7201
58c4682f
GM
7202 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7203 Tweak warning. (Bug#14926)
7204
57953f49
GM
7205 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7206 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7207
3a2ddc2d
GM
7208 * image-mode.el (image-mode-map): Add menu items to reverse,
7209 increase, decrease, reset animation speed.
7210 (image--set-speed, image-increase-speed, image-decrease-speed)
7211 (image-reverse-speed, image-reset-speed): New functions.
7212 (image-mode-map): Add bindings for speed commands.
7213
7214 * image.el (image-animate-get-speed, image-animate-set-speed):
7215 New functions.
7216 (image-animate-timeout): Respect image :speed property.
7217
10fa0ed3
SM
72182013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7221 previous line (bug#15101).
7222 (debugger-eval-expression, debugger-record-expression):
7223 Use read--expression (bug#15102).
7224
5d89d9d2
MA
72252013-08-15 Michael Albinus <michael.albinus@gmx.de>
7226
7227 Remove byte compiler warnings, visible when compiling with
7228 `byte-compile-force-lexical-warnings' set to t.
7229
7230 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7231 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7232 (tramp-handle-unhandled-file-name-directory)
7233 (tramp-handle-file-notify-add-watch, tramp-action-login)
7234 (tramp-action-succeed, tramp-action-permission-denied)
7235 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7236 arguments with "_".
7237
7238 * net/tramp-adb.el (tramp-adb-parse-device-names)
7239 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7240 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7241 (tramp-adb-handle-file-truename): Remove unused arguments.
7242
7243 * net/tramp-cache.el (tramp-flush-directory-property)
7244 (tramp-flush-connection-property, tramp-list-connections)
7245 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7246
10fa0ed3
SM
7247 * net/tramp-compat.el (tramp-compat-make-temp-file):
7248 Rename FILENAME to F.
5d89d9d2
MA
7249
7250 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7251 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7252 (tramp-zeroconf-parse-workstation-device-names)
7253 (tramp-zeroconf-parse-webdav-device-names)
7254 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7255
7256 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7257 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7258
7259 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7260 arguments.
7261 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7262 (tramp-sh-handle-insert-file-contents-literally)
7263 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7264 with "_".
7265 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7266 Remove unused variables.
7267
7268 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7269 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7270 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7271
7272 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7273 Make them a defconst.
7274 (tramp-uuencode-region): Remove unused variable.
7275
62f33bae
JB
72762013-08-14 Juanma Barranquero <lekktu@gmail.com>
7277
7278 * frameset.el (frameset--prop-setter): New function.
7279 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7280 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7281 parameter was already set in FILTERED. Doc fix.
7282 (frameset--record-minibuffer-relationships): Allow saving a
7283 minibufferless frame without its corresponding minibuffer frame.
7284 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7285 frame, if the frame id matches.
7286 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7287 frames before orphaned ones.
7288 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7289
c660a885
MR
72902013-08-14 Martin Rudalics <rudalics@gmx.at>
7291
7292 * window.el (window-make-atom): Don't overwrite parameter
7293 already present.
7294 (display-buffer-in-atom-window): Handle special case where we
7295 split an already atomic window.
7296 (window--major-non-side-window, display-buffer-in-side-window)
7297 (window--side-check): Ignore minibuffer window when walking
7298 window tree.
7299 (window-deletable-p): Return 'frame only if no other frame uses
7300 our minibuffer window.
7301 (record-window-buffer): Run buffer-list-update-hook.
7302 (split-window): Make sure window--check-frame won't destroy an
7303 existing atomic window in case the new window gets nested
7304 inside.
7305 (display-buffer-at-bottom): Ignore minibuffer window when
7306 walking window tree. Don't split a side window.
7307 (pop-to-buffer): Don't set-buffer here, the select-window call
7308 should do that.
7309 (mouse-autoselect-window-select): Autoselect only if we are in the
7310 text portion of the window.
7311
8259030d
LMI
73122013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7313
21c58ae2
LMI
7314 * net/shr.el (shr-parse-image-data): New function to grab both the
7315 data itself and the Content-Type.
7316 (shr-put-image): Use it.
7317
7318 * net/eww.el (eww-display-image): Ditto.
7319
8259030d
LMI
7320 * image.el (image-content-type-suffixes): New variable.
7321
ad756449
FEG
73222013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7323
7324 * progmodes/python.el (python-imenu--build-tree)
7325 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7326
f73f4ce6
XF
73272013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7328
7329 * simple.el (backward-word): Mention the optional argument.
7330
1f585e65
SM
73312013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * frameset.el (frameset--make): Rename constructor from make-frameset.
7334 (frameset-p, frameset-valid-p): Don't autoload.
7335 (frameset-valid-p): Use normal accessors.
7336
af1c6c84
GM
73372013-08-13 Glenn Morris <rgm@gnu.org>
7338
55e47f95
GM
7339 * progmodes/compile.el (compile-command): Tweak example in doc.
7340 * obsolete/scribe.el (scribe-mode):
7341 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7342
f0024d8c
GM
7343 * mail/feedmail.el (feedmail-confirm-outgoing)
7344 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7345
7346 * cus-start.el (truncate-partial-width-windows): Fix type.
7347
7348 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7349
af1c6c84
GM
7350 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7351
5514cc4c
SM
73522013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 * emacs-lisp/timer.el (timer--time-setter): New function.
7355 (timer--time): Use it as gv-setter.
7356
7357 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7358 setter is not a symbol.
7359
7997a2f1
GJ
73602013-08-12 Grégoire Jadi <daimrod@gmail.com>
7361
7362 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7363 if sending fails. This makes debugging easier.
7364
01f1a9ab
JB
73652013-08-12 Juanma Barranquero <lekktu@gmail.com>
7366
7367 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7368 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7369 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7370
594a4307
EZ
73712013-08-12 Eli Zaretskii <eliz@gnu.org>
7372
7373 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7374
7a22490f 73752013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7376
7377 * format.el (format-annotate-function):
7378 Handle read-only text properties in the source. (Bug#14887)
7379
3e41a054
LMI
73802013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7381
5514cc4c
SM
7382 * net/eww.el (eww-display-html): Ignore coding system errors.
7383 One web site uses "utf-8lias" as the coding system.
3e41a054 7384
7ec326db
JB
73852013-08-11 Juanma Barranquero <lekktu@gmail.com>
7386
7387 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7388
5660113b
JB
73892013-08-10 Juanma Barranquero <lekktu@gmail.com>
7390
9a4ebc74
JB
7391 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7392 (tutorial--detailed-help): Remove unused local variables.
7393 (tutorial--save-tutorial-to): Use ignore-errors.
7394 (help-with-tutorial): Use looking-at-p.
7395
7396 * view.el (view-buffer-other-window, view-buffer-other-frame):
7397 Mark unused arguments.
7398
7399 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7400 (woman-select-symbol-fonts, woman, woman-find-file)
7401 (woman-insert-file-contents, woman-non-underline-faces):
7402 Use string-match-p.
7403 (woman1-unquote): Move declaration.
7404
7405 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7406 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7407 argument. Remove unused local variable.
7408 (xml-parse-elem-type): Use string-match-p.
7409 (xml-substitute-numeric-entities): Use ignore-errors.
7410
45fdb482
JB
7411 * calculator.el (calculator): Mark unused argument.
7412 (calculator-paste, calculator-quit, calculator-integer-p):
7413 Use ignore-errors.
7414 (calculator-string-to-number, calculator-decimal, calculator-exp)
7415 (calculator-op-or-exp): Use string-match-p.
7416
7417 * dired.el (dired-buffer-more-recently-used-p): Declare.
7418 (dired-insert-set-properties, dired-insert-old-subdirs):
7419 Use ignore-errors.
7420
7421 * dired-aux.el (dired-compress): Use ignore-errors.
7422 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7423 (dired-do-async-shell-command, dired-do-shell-command)
7424 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7425 (dired-insert-subdir-validate): Use string-match-p.
7426 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7427 (dired-add-entry): Use string-match-p, looking-at-p.
7428 (dired-insert-subdir-newpos): Remove unused local variable.
7429
7430 * filenotify.el (file-notify-callback): Remove unused local variable.
7431
7432 * filesets.el (filesets-error): Mark unused argument.
7433 (filesets-which-command-p, filesets-filter-dir-names)
7434 (filesets-directory-files, filesets-get-external-viewer)
7435 (filesets-ingroup-get-data): Use string-match-p.
7436
7437 * find-file.el (ff-other-file-name, ff-other-file-name)
7438 (ff-find-the-other-file, ff-cc-hh-converter):
7439 Remove unused local variables.
7440 (ff-get-file-name): Use string-match-p.
7441 (ff-all-dirs-under): Use ignore-errors.
7442
7443 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7444 (follow-select-if-visible): Remove unused local variable.
7445
7446 * forms.el (read-file-filter): Move declaration.
7447 (forms--make-format, forms--make-parser, forms-insert-record):
7448 Quote function with #'.
7449 (forms--update): Use string-match-p. Quote function with #'.
7450
7451 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7452 (help-make-xrefs): Use looking-at-p.
7453 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7454
7455 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7456 (ibuffer-confirm-operation-on): Use string-match-p.
7457
7458 * msb.el (msb-item-handler, msb-dired-item-handler):
7459 Mark unused arguments.
7460
7461 * ses.el (ses-decode-cell-symbol)
7462 (ses-kill-override): Remove unused local variable.
7463 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7464 (ses-load): Use ignore-errors, looking-at-p.
7465 (ses-jump-safe): Use ignore-errors.
7466 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7467
7468 * tabify.el (untabify, tabify): Mark unused arguments.
7469
7470 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7471 Mark unused argument.
7472 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7473 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7474
c880af52
JB
7475 * emacs-lisp/timer.el (timer--time): Define setter with
7476 gv-define-setter to avoid deprecation warning.
7477
5660113b 7478 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7479 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7480 (cmpl-statistics-block): Remove (body was commented out).
7481 All callers changed.
7482 (add-completions-from-buffer, load-completions-from-file):
7483 Remove unused variables.
7484
156aab80
JB
74852013-08-09 Juanma Barranquero <lekktu@gmail.com>
7486
5c5dee78
JB
7487 * filecache.el (file-cache-delete-file-list):
7488 Print message only when told so.
7489 (file-cache-files-matching): Use #' in mapconcat argument.
7490
156aab80
JB
7491 * ffap.el (ffap-url-at-point): Fix reference to variable
7492 thing-at-point-default-mail-uri-scheme.
7493
ad9dcd70
SM
74942013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7495
54bd972f
SM
7496 * subr.el (define-error): New function.
7497 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7498 error-file-not-found and define with define-error.
7499 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7500 and define with define-error.
7501 * userlock.el (file-locked, file-supersession):
7502 * simple.el (mark-inactive):
7503 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7504 * progmodes/ada-mode.el (ada-mode-errors):
7505 * play/life.el (life-extinct):
7506 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7507 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7508 * nxml/rng-util.el (rng-error):
7509 * nxml/rng-uri.el (rng-uri-error):
7510 * nxml/rng-match.el (rng-compile-error):
7511 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7512 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7513 * nxml/nxml-rap.el (nxml-scan-error):
7514 * nxml/nxml-outln.el (nxml-outline-error):
7515 * net/soap-client.el (soap-error):
7516 * net/gnutls.el (gnutls-error):
7517 * net/ange-ftp.el (ftp-error):
7518 * mpc.el (mpc-proc-error):
7519 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7520 (json-number-format, json-string-escape, json-string-format)
7521 (json-key-format, json-object-format):
7522 * jka-compr.el (compression-error):
7523 * international/quail.el (quail-error):
7524 * international/kkc.el (kkc-error):
7525 * emacs-lisp/ert.el (ert-test-failed):
7526 * calc/calc.el (calc-error, inexact-result, math-overflow)
7527 (math-underflow):
7528 * bookmark.el (bookmark-error-no-filename):
7529 * epg.el (epg-error): Define with define-error.
7530
0ea9e53a
SM
7531 * time.el (display-time-event-handler)
7532 (display-time-next-load-average): Don't call sit-for since it seems
7533 unnecessary (bug#15045).
7534
b0429158
SM
7535 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7536 Use #' instead of ' to quote functions.
7537 (checkdoc-output-mode): Use setq-local.
7538 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7539 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7540 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7541 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7542 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7543 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7544 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7545 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7546
ad9dcd70
SM
7547 * ido.el (ido-completion-help): Fix up compiler warning.
7548
77187e6f
JB
75492013-08-09 Juanma Barranquero <lekktu@gmail.com>
7550
7551 * frameset.el (frameset-p): Add autoload cookie.
7552 (frameset--jump-to-register): New function, based on code moved from
7553 register.el.
7554 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7555
7556 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7557 (frameset-restore, frameset-save, frameset-session-filter-alist):
7558 Remove declarations.
7559 (register-alist): Doc fix.
7560 (frameset-to-register): Move to frameset.el.
7561 (jump-to-register, describe-register-1): Remove frameset-specific code.
7562
9d3aa82c
JB
75632013-08-08 Juanma Barranquero <lekktu@gmail.com>
7564
7565 * allout-widgets.el (allout-widgets-pre-command-business)
7566 (allout-widgets-post-command-business)
7567 (allout-widgets-after-change-handler)
7568 (allout-decorate-item-and-context, allout-set-boundary-marker)
7569 (allout-body-modification-handler)
7570 (allout-graphics-modification-handler): Mark ignored arguments.
7571 (allout-widgets-post-command-business)
7572 (allout-widgets-exposure-change-processor)
7573 (allout-widgets-exposure-undo-processor)
7574 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7575 (allout-parse-item-at-point, allout-decorate-item-guides)
7576 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7577 * allout.el (epa-passphrase-callback-function): Declare.
7578 (allout-overlay-insert-in-front-handler)
7579 (allout-overlay-interior-modification-handler)
7580 (allout-isearch-end-handler, allout-chart-siblings)
7581 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7582 (allout-yank-processing, allout-process-exposed)
7583 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7584 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7585 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7586 (lisp-indent-defform): Mark ignored arguments.
7587 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7588 (calculate-lisp-indent): Remove unused variables.
7589 * international/characters.el (indian-2-column, arabic-2-column)
7590 (tibetan): Mark ignored arguments.
7591 (use-cjk-char-width-table): Mark ignored arguments.
7592 Remove unused variables.
7593 * international/fontset.el (build-default-fontset-data)
7594 (x-compose-font-name, create-fontset-from-fontset-spec):
7595 Mark ignored arguments.
7596 (fontset-plain-name): Remove unused variables.
7597 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7598 (keyboard-coding-system): Mark ignored arguments.
7599 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7600 * help.el (resize-temp-buffer-window):
7601 * window.el (display-buffer-in-major-side-window)
7602 (display-buffer-in-side-window, display-buffer-in-previous-window):
7603 Remove unused variables.
7604 * isearch.el (isearch-forward-symbol):
7605 * version.el (emacs-bzr-version-bzr):
7606 * international/mule-cmds.el (current-language-environment):
7607 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7608 (x-handle-display):
7609 * term/pc-win.el (x-list-fonts, x-display-planes)
7610 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7611 (x-server-version, x-display-screens, x-display-mm-height)
7612 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7613 (x-selection-owner-p, x-own-selection-internal)
7614 (x-disown-selection-internal, x-get-selection-internal)
7615 (msdos-initialize-window-system):
7616 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7617 * term/x-win.el (x-handle-no-bitmap-icon):
7618 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7619 (vc-default-find-file-hook, vc-default-extra-menu):
7620 Mark ignored arguments.
7621
0ca3f70e
SM
76222013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7623
7624 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7625 break-condition in the context of the debugged code (bug#12685).
7626
74c5d24c
CS
76272013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7628
7629 * comint.el:
7630 Do not use an overlay to highlight the last prompt. (Bug#14744)
7631 (comint-mode): Make comint-last-prompt buffer local.
7632 (comint-last-prompt): New variable.
7633 (comint-last-prompt-overlay): Remove. Superseded by
7634 comint-last-prompt.
0ca3f70e
SM
7635 (comint-snapshot-last-prompt, comint-output-filter):
7636 Use comint-last-prompt.
74c5d24c 7637
c03c02ee
JB
76382013-08-08 Juanma Barranquero <lekktu@gmail.com>
7639
a3738d20 7640 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7641 (frameset-save): Check validity of the resulting frameset.
7642
04263d23
XF
76432013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7644
7645 * ido.el (ido-record-command): Add doc string.
7646
76c5e5ab
JB
76472013-08-08 Juanma Barranquero <lekktu@gmail.com>
7648
7649 * frameset.el (frameset): Do not disable creation of the default
7650 frameset-p predicate. Doc fix.
7651 (frameset-valid-p): New function, copied from the old predicate-p.
7652 Add additional checks.
7653 (frameset-restore): Check with frameset-valid-p.
7654 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7655 (frameset-name, frameset-description, frameset-properties)
7656 (frameset-states): Add docstring.
f9dbf1cb
JB
7657 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7658 (frameset-filter-alist): Doc fixes.
76c5e5ab 7659
bd0c3c0b
JB
76602013-08-08 Juanma Barranquero <lekktu@gmail.com>
7661
7662 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7663
c735544c
SM
76642013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7667 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7668 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7669 (byte-compile-normal-call): Remove obsolescence check.
7670
2805a651
JB
76712013-08-08 Juanma Barranquero <lekktu@gmail.com>
7672
3677ffeb
JB
7673 * frameset.el (frameset-restore): Doc fix.
7674
2805a651
JB
7675 * register.el (frameset-frame-id, frameset-frame-with-id)
7676 (frameset-p, frameset-restore, frameset-save): Declare.
7677 (register-alist): Document framesets.
7678 (frameset-session-filter-alist): Declare.
7679 (frameset-to-register): New function.
7680 (jump-to-register): Implement jumping to framesets. Doc fix.
7681 (describe-register-1): Describe framesets.
7682
7683 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7684
a912c016
JB
76852013-08-07 Juanma Barranquero <lekktu@gmail.com>
7686
7687 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7688 Use lexical-binding.
7689
7690 * frameset.el (frameset): Use type vector, not list (incompatible
7691 change). Do not declare a new constructor, use the default one.
7692 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7693 `name' and `description', respectively, and add read-only slot
7694 `timestamp'. Doc fixes.
7695 (frameset-copy, frameset-persistent-filter-alist)
7696 (frameset-filter-alist, frameset-switch-to-gui-p)
7697 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7698 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7699 (frameset-filter-iconified, frameset-keep-original-display-p):
7700 Doc fixes.
7701 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7702 Rename from frameset-filter-(save|restore)-param. All callers changed.
7703 Doc fix.
7704 (frameset-p): Adapt to change to vector and be more thorough.
7705 Change arg name to OBJECT. Doc fix.
7706 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7707 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7708 All callers changed.
7709 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7710 All callers changed.
7711 (frameset--record-minibuffer-relationships): Rename from
7712 frameset--process-minibuffer-frames. All callers changed.
7713 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7714 Use new default constructor (again). Doc fix.
c295fc18 7715 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7716 All callers changed.
7717 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7718 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7719 Doc fix.
7720 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7721 PARAMETERS and WINDOW-STATE, respectively.
7722 (frameset-restore): Add new keyword argument PREDICATE.
7723 Reset frameset--target-display to nil. Doc fix.
7724
bb41480a
SM
77252013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7726
f001e98e
SM
7727 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7728 (bat-mode): Use it.
7729 (bat-mode-syntax-table): Mark \n as end-of-comment.
7730 (bat-font-lock-keywords): Remove comment rule.
7731
7679edb1
SM
7732 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7733 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7734
bb41480a
SM
7735 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7736 (byte-compile-callargs-warn): Use `push'.
7737 (byte-compile-arglist-warn): Ignore higher-order "calls".
7738 (byte-compile-file-form-autoload): Use `pcase'.
7739 (byte-compile-function-form): If quoting a symbol, check that it exists.
7740
cdc1ebb9
EZ
77412013-08-07 Eli Zaretskii <eliz@gnu.org>
7742
7743 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7744 and add a few popular commands found in batch files.
7745 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7746 (dos-mode): Doc fixes.
7747
312b1740
SM
77482013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7751 (dos-mode): Use setq-local. Add space after "rem".
7752 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7753 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7754
400a3178
AM
77552013-08-07 Arni Magnusson <arnima@hafro.is>
7756
7757 * progmodes/dos.el: New file.
7758 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7759 dos-mode.
7760
3b5c03d3
GM
77612013-08-06 Glenn Morris <rgm@gnu.org>
7762
7763 * calendar/calendar.el: Add new faces, and day-header-array.
7764 (calendar-weekday-header, calendar-weekend-header)
7765 (calendar-month-header): New faces.
7766 (calendar-day-header-construct): New function.
7767 (calendar-day-header-width): Also :set calendar-day-header-array.
7768 (calendar-american-month-header, calendar-european-month-header)
7769 (calendar-iso-month-header): Use calendar- faces.
7770 (calendar-generate-month):
7771 Use calendar-day-header-array for day headers; apply faces to them.
7772 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7773 (calendar-abbrev-construct): Add optional maxlen argument.
7774 (calendar-day-name-array): Doc fix.
7775 (calendar-day-name-array, calendar-abbrev-length)
7776 (calendar-day-abbrev-array):
7777 Also :set calendar-day-header-array, and maybe redraw.
7778 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 7779 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
7780 (calendar-day-name): Add option to use header array.
7781
ec6a2d7a
LMI
77822013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7783
7784 * net/shr.el (shr-render-td): Remove debugging.
7785 (shr-render-td): Make width computation consistent by defaulting
7786 all zero-width columns to 10 characters. This may not be optimal,
7787 but it's at least consistent.
2122cb6d
LMI
7788 (shr-make-table-1): Redo last change to fix the real problem in
7789 colspan handling.
ec6a2d7a 7790
ed4fd9c5
DA
77912013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7792
0ca3f70e
SM
7793 * files.el (cache-long-line-scans):
7794 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 7795
64e22afe
JB
77962013-08-06 Juanma Barranquero <lekktu@gmail.com>
7797
024b38fc
JB
7798 * frameset.el (frameset, frameset-filter-alist)
7799 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7800 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7801 (frameset-compute-pos): Rename from frameset--compute-pos,
7802 and add docstring.
7803 (frameset-move-onscreen): Use frameset-compute-pos.
7804 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7805
64e22afe
JB
7806 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7807 Fix typos in docstrings.
7808
c8c2aca8
DA
78092013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7810
7811 * frame.el (get-other-frame): Tiny cleanup.
7812
1d237bba
JB
78132013-08-06 Juanma Barranquero <lekktu@gmail.com>
7814
8951efef
JB
7815 * vc/vc.el (vc-default-ignore-completion-table):
7816 Silence byte-compiler warning.
7817
307764cc 7818 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7819 slot, which can indeed be nil.
307764cc
JB
7820 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7821 Move entry for `left' from persistent to live filter alist.
7822 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7823 Doc fixes.
7824 (frameset-filter-params): When restoring a frame, copy items added to
7825 `filtered', to avoid unwittingly modifying the original parameters.
7826 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7827 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7828
1d237bba
JB
7829 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7830 to use looking-at-p instead of looking-at. (Bug#15028)
7831
dc6c0eda
SM
78322013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 Revert introduction of isearch-filter-predicates (bug#14714).
7835 Rely on add-function instead.
7836 * isearch.el (isearch-filter-predicates): Rename it back to
7837 isearch-filter-predicate.
7838 (isearch-message-prefix): Use advice-function-mapc and advice
7839 properties to get the isearch-message-prefix.
7840 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7841 instead of run-hook-with-args-until-failure.
7842 (isearch-filter-visible): Not obsolete any more.
7843 * loadup.el: Preload nadvice.
7844 * replace.el (perform-replace): Revert to funcall
7845 instead of run-hook-with-args-until-failure.
7846 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7847 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7848 dired-isearch-filenames-toggle; make it into a proper minor mode.
7849 Use add/remove-function.
7850 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7851 Call the minor-mode rather than add/remove-hook.
7852 (dired-isearch-filter-filenames):
7853 Remove isearch-message-prefix property.
7854 * info.el (Info--search-loop): New function, extracted from Info-search.
7855 Funcall isearch-filter-predicate instead of
7856 run-hook-with-args-until-failure isearch-filter-predicates.
7857 (Info-search): Use it.
7858 (Info-mode): Use isearch-filter-predicate instead of
7859 isearch-filter-predicates.
7860
290d5b58
DA
78612013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7862
7863 Do not call to `selected-window' where it is assumed by default.
7864 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7865 `window-hscroll', `window-width', `window-height', `window-buffer',
7866 `window-frame', `window-start', `window-point', `next-window'
7867 and `window-display-table'.
7868 * abbrev.el (abbrev--default-expand):
7869 * bs.el (bs--show-with-configuration):
7870 * buff-menu.el (Buffer-menu-mouse-select):
7871 * calc/calc.el (calc):
7872 * calendar/calendar.el (calendar-generate-window):
7873 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7874 (diary-make-entry):
7875 * comint.el (send-invisible, comint-dynamic-complete-filename)
7876 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7877 * completion.el (complete):
7878 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7879 * disp-table.el (describe-current-display-table):
7880 * doc-view.el (doc-view-insert-image):
7881 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7882 * ehelp.el (with-electric-help):
7883 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7884 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7885 * emacs-lisp/helper.el (Helper-help-scroller):
7886 * emulation/cua-base.el (cua--post-command-handler-1):
7887 * eshell/esh-mode.el (eshell-output-filter):
7888 * ffap.el (ffap-gnus-wrapper):
7889 * help-macro.el (make-help-screen):
7890 * hilit-chg.el (highlight-compare-buffers):
7891 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7892 * hl-line.el (global-hl-line-highlight):
7893 * icomplete.el (icomplete-simple-completing-p):
7894 * isearch.el (isearch-done):
7895 * jit-lock.el (jit-lock-stealth-fontify):
7896 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7897 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7898 * mpc.el (mpc-tagbrowser, mpc):
7899 * net/rcirc.el (rcirc-any-buffer):
7900 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7901 * play/landmark.el (landmark-max-width, landmark-max-height):
7902 * play/zone.el (zone):
7903 * progmodes/compile.el (compilation-goto-locus):
7904 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7905 * progmodes/etags.el (find-tag-other-window):
7906 * progmodes/fortran.el (fortran-column-ruler):
7907 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7908 * progmodes/verilog-mode.el (verilog-point-text):
7909 * reposition.el (reposition-window):
7910 * rot13.el (toggle-rot13-mode):
7911 * server.el (server-switch-buffer):
7912 * shell.el (shell-dynamic-complete-command)
7913 (shell-dynamic-complete-environment-variable):
7914 * simple.el (insert-buffer, set-selective-display)
7915 (delete-completion-window):
7916 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7917 (speedbar-recenter):
7918 * startup.el (fancy-splash-head):
7919 * textmodes/ispell.el (ispell-command-loop):
7920 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7921 * tutorial.el (help-with-tutorial):
7922 * vc/add-log.el (add-change-log-entry):
7923 * vc/compare-w.el (compare-windows):
7924 * vc/ediff-help.el (ediff-indent-help-message):
7925 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7926 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7927 (ediff-setup-control-frame):
7928 * vc/emerge.el (emerge-position-region):
7929 * vc/pcvs-util.el (cvs-bury-buffer):
7930 * window.el (walk-windows, mouse-autoselect-window-select):
7931 * winner.el (winner-set-conf, winner-undo): Related users changed.
7932
38276e01
JB
79332013-08-05 Juanma Barranquero <lekktu@gmail.com>
7934
7935 * frameset.el (frameset--set-id): Doc fix.
7936 (frameset-frame-id, frameset-frame-id-equal-p)
7937 (frameset-locate-frame-id): New functions.
7938 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7939 (frameset-restore): Use them.
7940
12b4c0ea
DA
79412013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7942
7943 Do not call to `selected-frame' where it is assumed by default.
7944 Affected functions are `raise-frame', `redraw-frame',
7945 `frame-first-window', `frame-terminal' and `delete-frame'.
7946 * calendar/appt.el (appt-disp-window):
7947 * epg.el (epg-wait-for-completion):
7948 * follow.el (follow-delete-other-windows-and-split)
7949 (follow-avoid-tail-recenter):
7950 * international/mule.el (set-terminal-coding-system):
7951 * mail/rmail.el (rmail-mail-return):
7952 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7953 * progmodes/f90.el (f90-add-imenu-menu):
7954 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7955 * server.el (server-switch-buffer):
7956 * simple.el (delete-completion-window):
7957 * talk.el (talk):
7958 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7959 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7960 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7961 * vc/ediff.el (ediff-documentation): Related users changed.
7962 * frame.el (selected-terminal): Remove the leftover.
7963
17f25e76
GM
79642013-08-05 Glenn Morris <rgm@gnu.org>
7965
7966 * calendar/calendar.el (calendar-generate-month):
7967 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7968 (calendar-generate-month, calendar-font-lock-keywords):
7969 Fix for calendar-day-header-width > length of any day name.
17f25e76 7970
063233c3
JB
79712013-08-05 Juanma Barranquero <lekktu@gmail.com>
7972
7973 * desktop.el (desktop-clear): Use new name of sort predicate.
7974
7975 * frameset.el (frameset): Add docstring. Move :version property to its
7976 own `version' slot.
7977 (frameset-copy): Rename from copy-frameset.
7978 (frameset-p): Check more thoroughly.
7979 (frameset-prop): Do not check for :version, which is no longer a prop.
7980 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7981 Use new :never value instead of t.
7982 (frameset-filter-alist): Expand and clarify docstring.
7983 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7984 (frameset-filter-minibuffer, frameset-filter-save-param)
7985 (frameset-filter-restore-param, frameset-filter-iconified):
7986 Add pointer to docstring of frameset-filter-alist.
7987 (frameset-filter-params): Rename filter values to be more meaningful:
7988 :never instead of t, and reverse the meanings of :save and :restore.
7989 (frameset--process-minibuffer-frames): Clarify error message.
7990 (frameset-save): Avoid unnecessary and confusing call to framep.
7991 Use new BOA constructor for framesets.
7992 (frameset--reuse-list): Doc fix.
7993 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7994 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7995 (frameset-minibufferless-first-p): Doc fix.
7996 Rename from frameset-sort-frames-for-deletion.
7997 (frameset-restore): Doc fixes. Use new function names.
7998 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7999
d5671a82
JB
80002013-08-04 Juanma Barranquero <lekktu@gmail.com>
8001
8002 * desktop.el (desktop-restore-forces-onscreen)
8003 (desktop-restore-reuses-frames): Document :keyword constant values.
8004 (desktop-filter-parameters-alist): Remove, now identical to
8005 frameset-filter-alist.
8006 (desktop--filter-tty*): Remove, moved to frameset.el.
8007 (desktop-save-frameset, desktop-restore-frameset):
8008 Do not pass :filters argument.
8009
8010 * frameset.el (frameset-live-filter-alist)
8011 (frameset-persistent-filter-alist): New variables.
8012 (frameset-filter-alist): Use them. Add autoload cookie.
8013 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8014 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8015 `frameset--id' (it's supposed to be internal to frameset.el).
8016 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8017 (frameset--initial-params): New function.
8018 (frameset--get-frame): Use it. Doc fix.
8019 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8020 Accept :all, not 'all.
8021 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8022 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8023 with fbound symbols. Fix frame id matching, and remove matching ids if
8024 the frame being restored is deleted. Obey :delete.
8025
671d5c16
SM
80262013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * subr.el (macrop): New function.
8029 (text-clone--maintaining): New var.
8030 (text-clone--maintain): Rename from text-clone-maintain. Use it
8031 instead of inhibit-modification-hooks.
8032
8033 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8034 a proxy, so as handle autoloads and redefinitions of the target.
8035 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8036
8037 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8038 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8039 (pcase--mutually-exclusive-p): New function.
8040 (pcase--split-consp): Use it.
8041 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8042 mutually exclusive with the current predicate.
8043
8044 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8045 (edebug-macrop): Remove. Use `macrop' instead.
8046 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8047 (ad-macro-p):
8048 * eshell/esh-cmd.el (eshell-macrop):
8049 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8050
1d44e9dc
SM
80512013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8054 (advice-mapc): New function, using it.
8055 (advice-function-member-p): New function.
8056 (advice--normalize): Store the cdr in advice--saved-rewrite since
8057 that's the part that will be changed.
8058 (advice--symbol-function): New function.
8059 (advice-remove): Handle removal before the function is defined.
8060 Adjust to new advice--saved-rewrite.
8061 (advice-member-p): Use advice-function-member-p and
8062 advice--symbol-function.
8063
5414a283
JB
80642013-08-04 Juanma Barranquero <lekktu@gmail.com>
8065
51d30f2c
JB
8066 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8067 (frameset-filter-minibuffer): Doc fix.
8068 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8069 (frameset--set-id, frameset--process-minibuffer-frames)
8070 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8071 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8072
5414a283
JB
8073 * desktop.el (desktop-clear): Only delete frames when called
8074 interactively and desktop-restore-frames is non-nil. Doc fix.
8075 (desktop-read): Set desktop-saved-frameset to nil.
8076
ab419665
XF
80772013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8078
8079 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8080 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8081 (vc--add-line, vc--remove-regexp): New functions.
8082
8083 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8084 (vc-svn-ignore-completion-table): New function.
8085
8086 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8087 (vc-hg-ignore-completion-table)
ab419665
XF
8088 (vc-hg-find-ignore-file): New functions.
8089
8090 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8091 (vc-git-ignore-completion-table)
ab419665
XF
8092 (vc-git-find-ignore-file): New functions.
8093
8094 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8095
8096 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8097 (vc-bzr-ignore-completion-table)
ab419665
XF
8098 (vc-bzr-find-ignore-file): New functions.
8099
2613dea2
JB
81002013-08-03 Juanma Barranquero <lekktu@gmail.com>
8101
8102 * frameset.el (frameset-prop): New function and setter.
8103 (frameset-save): Do not modify frame list passed by the caller.
8104
9c959872
SM
81052013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8108
a104f656
SM
81092013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8110
70122acf
SM
8111 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8112 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8113
a104f656
SM
8114 * custom.el (custom-initialize-default, custom-initialize-set)
8115 (custom-initialize-reset, custom-initialize-changed): Affect the
8116 toplevel-default-value (bug#6275, bug#14586).
8117 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8118 for bug#6275.
8119
f078d570
JB
81202013-08-02 Juanma Barranquero <lekktu@gmail.com>
8121
185e3b5a
JB
8122 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8123 Add cl-def* expressions.
8124
f078d570
JB
8125 * frameset.el (frameset-filter-params): Fix order of arguments.
8126
9421876d
JB
81272013-08-02 Juanma Barranquero <lekktu@gmail.com>
8128
8129 Move code related to saving frames to frameset.el.
8130 * desktop.el: Require frameset.
8131 (desktop-restore-frames): Doc fix.
8132 (desktop-restore-reuses-frames): Rename from
8133 desktop-restoring-reuses-frames.
8134 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8135 (desktop-clear): Clear frames too.
8136 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8137 (desktop--filter-tty*, desktop-save, desktop-read):
8138 Use frameset functions.
8139 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8140 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8141 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8142 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8143 (desktop--process-minibuffer-frames, desktop-save-frames)
8144 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8145 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8146 (desktop--sort-states, desktop-restoring-frames-p)
8147 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8148 (desktop-restoring-frameset-p, desktop-restore-frameset)
8149 (desktop--check-dont-save, desktop-save-frameset): New functions.
8150 (desktop--app-id): New constant.
8151 (desktop-first-buffer, desktop-buffer-ok-count)
8152 (desktop-buffer-fail-count): Move before first use.
8153 * frameset.el: New file.
8154
76dc5996
SM
81552013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * files.el: Use lexical-binding.
8158 (dir-locals-read-from-file): Remove unused `err' variable.
8159 (hack-dir-local-variables--warned-coding): New var.
8160 (hack-dir-local-variables): Use it to avoid repeated warnings.
8161 (make-backup-file-name--default-function): New function.
8162 (make-backup-file-name-function): Use it as default.
8163 (buffer-stale--default-function): New function.
8164 (buffer-stale-function): Use it as default.
8165 (revert-buffer-insert-file-contents--default-function): New function.
8166 (revert-buffer-insert-file-contents-function): Use it as default.
8167 (insert-directory): Avoid add-to-list.
8168
8169 * autorevert.el (auto-revert-handler): Simplify.
8170 Use buffer-stale--default-function.
8171
06d36e2b
TH
81722013-08-01 Tassilo Horn <tsdh@gnu.org>
8173
5f648ab4
TH
8174 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8175
06d36e2b
TH
8176 * whitespace.el (whitespace-ensure-local-variables): New function.
8177 (whitespace-cleanup-region): Call it.
8178 (whitespace-turn-on): Call it.
8179
a43dc424
MA
81802013-08-01 Michael Albinus <michael.albinus@gmx.de>
8181
8182 Complete file name handlers.
8183
8184 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8185 (tramp-handle-verify-visited-file-modtime)
8186 (tramp-handle-file-notify-rm-watch): New functions.
8187 (tramp-call-process): Do not bind `default-directory'.
8188
44e18199
JB
8189 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8190 Order alphabetically.
afe1e4c8
GM
8191 <access-file, add-name-to-file, dired-call-process>:
8192 <dired-compress-file, file-acl, file-notify-rm-watch>:
8193 <file-ownership-preserved-p, file-selinux-context>:
8194 <make-directory-internal, make-symbolic-link, set-file-acl>:
8195 <set-file-selinux-context, set-visited-file-modtime>:
8196 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8197 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8198
8199 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8200 <file-notify-add-watch, file-notify-rm-watch>:
8201 <set-file-times, set-visited-file-modtime>:
8202 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8203 (with-tramp-gvfs-error-message)
8204 (tramp-gvfs-handle-set-visited-file-modtime)
8205 (tramp-gvfs-fuse-file-name): Remove.
8206 (tramp-gvfs-handle-file-notify-add-watch)
8207 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8208 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8209
44e18199
JB
8210 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8211 Order alphabetically.
afe1e4c8
GM
8212 <file-notify-rm-watch>: Use default Tramp handler.
8213 <executable-find>: Remove private handler.
a43dc424
MA
8214 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8215 `default-directory'.
8216 (tramp-sh-handle-executable-find)
8217 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8218 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8219 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8220 Do not use `format' in `tramp-message'.
8221
8222 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8223 <file-notify-rm-watch, set-visited-file-modtime>:
8224 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8225 (tramp-smb-call-winexe): Do not bind `default-directory'.
8226
7188b515
XF
82272013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8228
8229 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8230
2412ee1a
DG
82312013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8232
8233 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8234 use it.
8235 (log-view-diff-changeset): Same.
8236 (log-view-diff-common): Call backend command `previous-revision'
8237 to find out the previous revision, in both cases. Swap the
8238 variables `to' and `fr', so that `fr' usually refers to the
8239 earlier revision (Bug#14989).
8240
5002a754
KRC
82412013-07-31 Kan-Ru Chen <kanru@kanru.info>
8242
8243 * ibuf-ext.el (ibuffer-filter-by-filename):
8244 Make it work with dired buffers too.
8245
44e18199 82462013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8247
8248 * emacs-lisp/re-builder.el (reb-color-display-p):
8249 * files.el (save-buffers-kill-terminal):
8250 * net/browse-url.el (browse-url):
8251 * server.el (server-save-buffers-kill-terminal):
8252 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8253 Prefer nil to selected-frame for the first arg of frame-parameter.
8254
aeca3fbb
XF
82552013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8256
8257 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8258
158bc55c
SB
82592013-07-30 Stephen Berman <stephen.berman@gmx.net>
8260
8261 * minibuffer.el (completion--twq-all): Try and preserve each
8262 completion's case choice (bug#14907).
8263
d50fceab
LMI
82642013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8265
ac38e731
LMI
8266 * net/network-stream.el (open-network-stream): Mention the new
8267 :nogreeting parameter.
8268 (network-stream-open-starttls): Use the :nogreeting parameter
8269 (bug#14938).
8270
1211de50
LMI
8271 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8272
997798bf
LMI
8273 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8274 more natural than popping.
8275
d50fceab 8276 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8277 (shr-urlify): Highlight under mouse.
d50fceab 8278
5c09de04
XF
82792013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8280
207d1d04
XF
8281 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8282
8283 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8284
5c09de04
XF
8285 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8286 buffer for output.
8287
3cd51eaa
XF
8288 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8289 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8290
44e18199 8291 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8292 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8293
8294 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8295
8296 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8297 buffer for output.
8298
35a89bdd
EZ
82992013-07-29 Eli Zaretskii <eliz@gnu.org>
8300
8301 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8302 initial frame is minibuffer-less. (Bug#14841)
8303
78822e94
MA
83042013-07-29 Michael Albinus <michael.albinus@gmx.de>
8305
8306 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8307 option.
8308
8309 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8310 (tramp-maybe-open-connection): Use it.
8311
9503c190
JB
83122013-07-28 Juanma Barranquero <lekktu@gmail.com>
8313
8314 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8315 minimal set of parameters passed when creating a frame, because
8316 the minibuffer status of a frame cannot be changed later.
8317
d5a845b4
SB
83182013-07-28 Stephen Berman <stephen.berman@gmx.net>
8319
8320 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8321 replace-regexp-in-string and inadvertent omissions in previous change.
8322 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8323 name of filtered items buffer.
d5a845b4 8324
ddeffb17
JB
83252013-07-28 Juanma Barranquero <lekktu@gmail.com>
8326
8327 * desktop.el: Optionally force offscreen frames back onscreen.
8328 (desktop-restoring-reuses-frames): New option.
8329 (desktop--compute-pos, desktop--move-onscreen): New functions.
8330 (desktop--make-frame): Use desktop--move-onscreen.
8331
f5950f7a
AM
83322013-07-27 Alan Mackenzie <acm@muc.de>
8333
8334 Fontify a Java generic method as a function.
8335 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8336 value to t.
8337
ae43b66a
SB
83382013-07-27 Stephen Berman <stephen.berman@gmx.net>
8339
8340 * calendar/todo-mode.el: Add command to rename todo files.
8341 (todo-rename-file): New command.
8342 (todo-key-bindings-t): Add key binding for it. Change the
8343 bindings of todo-filter-regexp-items(-multifile) to use `x'
8344 instead of `r', since the latter is better suited to the new
8345 renaming command.
8346
5ab78d3d
AM
83472013-07-27 Alan Mackenzie <acm@muc.de>
8348
8349 Make Java try-with-resources statement parse properly.
8350 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8351 (c-block-stmt-1-2-key): New language constants/variables.
8352 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8353 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8354 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8355 with c-block-stmt-1-2-key.
5ab78d3d 8356
d85c4d50
JB
83572013-07-27 Juanma Barranquero <lekktu@gmail.com>
8358
8359 * desktop.el (desktop--make-frame): Apply most frame parameters after
8360 creating the frame to force (partially or totally) offscreen frames to
8361 be restored as such.
8362
e4c467f9
XF
83632013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8364
8365 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8366 (Bug#14948)
e4c467f9 8367
7ced0d04
SM
83682013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8369
8370 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8371 `base' arg of backtrace-frame.
8372
fec92060
EZ
83732013-07-26 Eli Zaretskii <eliz@gnu.org>
8374
8375 * simple.el (list-processes): Doc fix.
8376
d58d31fb
JB
83772013-07-26 Juanma Barranquero <lekktu@gmail.com>
8378
8379 * desktop.el (desktop--select-frame):
d85c4d50 8380 Try harder to reuse existing frames.
d58d31fb 8381
53ff3e77
SM
83822013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8385 (edebug-eval): Use backtrace-eval.
8386 (edebug--display, edebug--recursive-edit): Don't let-bind the
8387 edebug-outer-* vars that keep track of variables we locally let-bind.
8388 (edebug-outside-excursion): Don't restore outside values of locally
8389 let-bound vars.
8390 (edebug--display): Use user-error.
8391 (cl-lexical-debug, cl-debug-env): Remove.
8392
045f7a53
JB
83932013-07-26 Juanma Barranquero <lekktu@gmail.com>
8394
8395 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8396 are restored to be sure that they are visible before deleting any
8397 remaining ones.
8398
59070b32
MM
83992013-07-26 Matthias Meulien <orontee@gmail.com>
8400
742a3501
XF
8401 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8402 vc-print-root-log. (Bug#14948)
59070b32 8403
b1fb3596
RS
84042013-07-26 Richard Stallman <rms@gnu.org>
8405
8406 Add aliases for encrypting mail.
8407 * epa.el (epa-mail-aliases): New option.
8408 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8409 Bind inhibit-read-only so read-only text doesn't ruin everything.
8410 (epa-mail-default-recipients): New subroutine broken out.
8411 Handle epa-mail-aliases.
8412
56ea7291
SM
84132013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 Add support for lexical variables to the debugger's `e' command.
8416 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8417 vars, except for debugger-outer-match-data.
8418 (debugger-frame-number): Move check for "on a function call" from
8419 callers into it. Add `skip-base' argument.
8420 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8421 (debugger-env-macro): Only reset the state stored in non-variables,
8422 i.e. current-buffer and match-data.
8423 (debugger-eval-expression): Rewrite using backtrace-eval.
8424 * subr.el (internal--called-interactively-p--get-frame): Remove.
8425 (called-interactively-p):
8426 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8427 `base' arg of backtrace-frame instead.
8428
15ac32d5
GM
84292013-07-26 Glenn Morris <rgm@gnu.org>
8430
8358a09d
GM
8431 * align.el (align-regexp): Doc fix. (Bug#14857)
8432 (align-region): Explicit error if subexpression missing/does not match.
8433
15ac32d5
GM
8434 * simple.el (global-visual-line-mode):
8435 Do not duplicate the mode lighter. (Bug#14858)
8436
f47ad11b
MR
84372013-07-25 Martin Rudalics <rudalics@gmx.at>
8438
8439 * window.el (display-buffer): In display-buffer bind
8440 split-window-keep-point to t, bug#14829.
8441
02530987
JB
84422013-07-25 Juanma Barranquero <lekktu@gmail.com>
8443
8444 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8445 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8446 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8447 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8448 Change accordingly.
f63ebeb5
JB
8449 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8450 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8451
6ccb9cab 84522013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8453
6ccb9cab 8454 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8455
cb3a56d2
JB
84562013-07-25 Juanma Barranquero <lekktu@gmail.com>
8457
8458 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8459 parameter to modify-frame-parameters if the value has not changed;
8460 this is a workaround for bug#14949.
8461 (desktop--make-frame): On cl-delete-if call, check parameter name,
8462 not full parameter.
8463
7aa7fff0
XF
84642013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8465
8466 * vc/vc.el (vc-ignore): New function.
8467
8468 * vc/vc-svn.el (vc-svn-ignore): New function.
8469
8470 * vc/vc-hg.el (vc-hg-ignore): New function.
8471
8472 * vc/vc-git.el (vc-git-ignore): New function.
8473
8474 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8475 (vc-dir-ignore): New function.
8476
8477 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8478 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8479
8480 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8481
8482 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8483
889acc5c
JB
84842013-07-24 Juanma Barranquero <lekktu@gmail.com>
8485
8486 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8487 (desktop-restore-frames): Warn when deleting an existing frame failed.
8488
86c40970
GM
84892013-07-24 Glenn Morris <rgm@gnu.org>
8490
8491 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8492
d5d3c58a
MA
84932013-07-24 Michael Albinus <michael.albinus@gmx.de>
8494
8495 * filenotify.el (file-notify-supported-p):
8496 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8497 Remove functions.
8498
35e951cd 8499 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
8500 (auto-revert-notify-add-watch):
8501 * net/tramp.el (tramp-file-name-for-operation):
8502 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8503 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8504 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8505 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8506 Remove `file-notify-supported-p' entry.
8507
d100084b
GM
85082013-07-24 Glenn Morris <rgm@gnu.org>
8509
8510 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8511 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8512
ac93e56b
SM
85132013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8514
249eea30
SM
8515 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8516 checked with memq (bug#14935).
8517
ac93e56b
SM
8518 * files.el (revert-buffer-function): Use a non-nil default.
8519 (revert-buffer-preserve-modes): Declare var to
8520 provide access to the `preserve-modes' argument.
8521 (revert-buffer): Let-bind it.
8522 (revert-buffer--default): New function, extracted from revert-buffer.
8523
2cdeb903
SM
85242013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8525
8526 * lpr.el: Signal print errors more prominently.
8527 (print-region-function): Don't default to nil.
8528 (lpr-print-region): New function, extracted from print-region-1.
8529 Check lpr's return value and signal an error in case of problem.
8530 (print-region-1): Use it.
8531 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8532 versions instead.
8533 (ps-printer-name): Default to nil.
8534 (ps-printer-name-option): Default to lpr-printer-switch.
8535 (ps-print-region-function): Don't default to nil.
8536 (ps-postscript-code-directory): Simplify default.
8537 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8538 (ps-string-list, ps-eval-switch, ps-flatten-list)
8539 (ps-flatten-list-1): Remove.
8540 (ps-multibyte-buffer): Avoid setq.
8541 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8542 (print-region-function, ps-print-region-function): Don't set them here.
8543
73600831
XF
85442013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8545
35e951cd
JB
8546 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8547 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8548 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
8549 (ido-decorations): Doc fix.
8550
73600831
XF
8551 * ansi-color.el: Fix old URL.
8552
3d012865
MM
85532013-07-23 Michael R. Mauger <michael@mauger.com>
8554
e903c210 8555 * progmodes/sql.el: Version 3.3
3d012865
MM
8556 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8557 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8558 (sql-interactive-remove-continuation-prompt): Rewrite, use
8559 functions above. Fix continuation prompt and complete output line
8560 handling.
8561 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8562 redirected output buffer.
8563 (sql-mode): Restore deleted code (Bug#13591).
8564
da77a2e2
JB
85652013-07-23 Juanma Barranquero <lekktu@gmail.com>
8566
8567 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8568
80ff0c71
MA
85692013-07-23 Michael Albinus <michael.albinus@gmx.de>
8570
8571 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8572
8573 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8575 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8576
b61d71e4
JB
85772013-07-23 Juanma Barranquero <lekktu@gmail.com>
8578
8579 * desktop.el (desktop-clear): Simplify; remove useless checks
8580 against invalid buffer names.
8581 (desktop-list*): Use cl-list*.
8582 (desktop-buffer-info, desktop-create-buffer): Simplify.
8583
c3512092
LL
85842013-07-23 Leo Liu <sdl.web@gmail.com>
8585
8586 * bookmark.el (bookmark-make-record): Restore NAME as a default
8587 value. (Bug#14933)
8588
0ac26976
SM
85892013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8590
7d22ce18
SM
8591 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8592 extracted from autoload--insert-text.
8593 (autoload--insert-text): Remove.
8594 (autoload--print-cookie-text): New function, extracted from
8595 autoload--insert-cookie-text.
8596 (autoload--insert-cookie-text): Remove.
8597 (autoload-generate-file-autoloads): Adjust calls accordingly.
8598
9b2607e8
SM
8599 * winner.el (winner-hook-installed-p): Remove.
8600 (winner-mode): Simplify accordingly.
8601
c43a8618
SM
8602 * subr.el (add-to-list): Fix compiler-macro when `append' is
8603 not constant. Don't use `cl-member' for the base case.
8604
0ac26976
SM
8605 * progmodes/subword.el: Fix boundary case (bug#13758).
8606 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8607 own group.
8608 (subword-backward-regexp): Make it a constant.
8609 (subword-forward-internal): Don't treat a trailing capital as the
8610 beginning of a word.
8611
6874724a
AR
86122013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8613
8614 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8615 global value of tabulated-list-revert-hook (bug#14930).
8616
70f1b5e8
JB
86172013-07-22 Juanma Barranquero <lekktu@gmail.com>
8618
a1c80d9d
JB
8619 * desktop.el: Require 'cl-lib.
8620 (desktop-before-saving-frames-functions): New hook.
8621 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8622 for frames being saved. Rename from desktop--save-minibuffer-frames.
8623 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8624 Do not save frames with non-nil `desktop-dont-save' parameter.
8625 Filter out deleted frames.
a1c80d9d
JB
8626 (desktop--find-frame): Use cl-find-if.
8627 (desktop--select-frame): Use cl-(first|second|third) to access values
8628 of desktop-mini.
8629 (desktop--make-frame): Use cl-delete-if.
8630 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8631 (desktop-restore-frames): Use cl-(first|second|third) to access values
8632 of desktop-mini. Look for visible frame at the end, not while
8633 restoring frames.
8634
70f1b5e8
JB
8635 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8636 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8637 Use string-match-p, looking-at-p (bug#14927).
8638
728dc3cc
JB
86392013-07-21 Juanma Barranquero <lekktu@gmail.com>
8640
56bc453c
JB
8641 * desktop.el (desktop-saved-frame-states):
8642 Rename from desktop--saved-states; all users changed.
8643 (desktop-save-frames): Rename from desktop--save-frames.
8644 Do not save state to desktop file.
8645 (desktop-save): Save desktop-saved-frame-states to desktop file
8646 and reset to nil.
8647 (desktop-restoring-frames-p): New function.
8648 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8649 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8650 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8651
728dc3cc
JB
8652 * desktop.el: Correctly restore iconified frames.
8653 (desktop--filter-iconified-position): New function.
8654 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8655
862f1c9c
GM
86562013-07-20 Glenn Morris <rgm@gnu.org>
8657
c4074c9f
GM
8658 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8659 Let `message' do the formatting.
8660 (def-gdb-preempt-display-buffer): Add explicit format.
8661
d828e5f9
GM
8662 * image-dired.el (image-dired-track-original-file):
8663 Use with-current-buffer.
8664 (image-dired-track-thumbnail): Use with-current-buffer.
8665 Avoid changing point of wrong window.
8666
862f1c9c
GM
8667 * image-dired.el (image-dired-track-original-file):
8668 Avoid changing point of wrong window. (Bug#14909)
8669
f0398ec1 86702013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8671
8672 * progmodes/gdb-mi.el (gdb-done-or-error):
8673 Guard against "%" in gdb output. (Bug#14127)
8674
1451928f
AS
86752013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8676
763a086d
JB
8677 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8678 (Bug#14826)
f7a03897 8679
1451928f
AS
8680 * international/mule.el (coding-system-iso-2022-flags): Fix last
8681 change.
8682
99107004
KH
86832013-07-20 Kenichi Handa <handa@gnu.org>
8684
763a086d
JB
8685 * international/mule.el (coding-system-iso-2022-flags):
8686 Add `8-bit-level-4'. (Bug#8522)
99107004 8687
48494e06
LMI
86882013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8689
8ba8eec5
LMI
8690 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8691 (bug#14815).
8692
dfbc66e3
LMI
8693 * net/eww.el (eww-process-text-input): Allow inputting when the
8694 point is at the start of the line, as the properties aren't
8695 front-sticky.
8696
48494e06
LMI
8697 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8698 degenerate widths.
8699
77c92cb9
RS
87002013-07-19 Richard Stallman <rms@gnu.org>
8701
aec7da77
RS
8702 * epa.el (epa-popup-info-window): Doc fix.
8703
77c92cb9
RS
8704 * subr.el (split-string): New arg TRIM.
8705
945c5bb1
JB
87062013-07-18 Juanma Barranquero <lekktu@gmail.com>
8707
8708 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8709 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8710
e06ec67f
MA
87112013-07-18 Michael Albinus <michael.albinus@gmx.de>
8712
c7064f05 8713 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8714 `file-notify-support'. Do not autoload. Adapt all uses.
8715 (file-notify-supported-p): New defun.
8716
c7064f05
JB
8717 * autorevert.el (auto-revert-use-notify):
8718 Use `file-notify-supported-p' instead of `file-notify-support'.
8719 Adapt docstring.
e06ec67f
MA
8720 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8721
8722 * net/tramp.el (tramp-file-name-for-operation):
8723 Add `file-notify-supported-p'.
8724
8725 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8726 New defun.
8727 (tramp-sh-file-name-handler-alist): Add it as handler for
8728 `file-notify-supported-p '.
8729
8730 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8731 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8732 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8733 Add `ignore' as handler for `file-notify-*' functions.
8734
5dc8a629
EZ
87352013-07-17 Eli Zaretskii <eliz@gnu.org>
8736
8737 * simple.el (line-move-partial, line-move): Don't start vscroll or
8738 scroll-up if the current line is not taller than the window.
8739 (Bug#14881)
8740
77aea2fb
DG
87412013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8742
8743 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8744 highlight question marks in the method names as strings.
ac72c08d
DG
8745 (ruby-block-beg-keywords): Inline.
8746 (ruby-font-lock-keyword-beg-re): Extract from
8747 `ruby-font-lock-keywords'.
77aea2fb 8748
18c26d81
JD
87492013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8750
8751 * frame.el (blink-cursor-blinks): New defcustom.
8752 (blink-cursor-blinks-done): New defvar.
8753 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8754 (blink-cursor-timer-function): Check if number of blinks has been
8755 done on X and NS.
8756 (blink-cursor-suspend, blink-cursor-check): New defuns.
8757
da48522e
GM
87582013-07-15 Glenn Morris <rgm@gnu.org>
8759
8760 * edmacro.el (edmacro-format-keys): Fix previous change.
8761
0463c1ef
PE
87622013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8763
8764 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8765 The hack didn't work outside English locales anyway.
8766
b43f6451
JB
87672013-07-15 Juanma Barranquero <lekktu@gmail.com>
8768
8769 * simple.el (define-alternatives): Rename from alternatives-define,
8770 per RMS' suggestion.
8771
b958c0ad
JB
87722013-07-14 Juanma Barranquero <lekktu@gmail.com>
8773
8774 * desktop.el (desktop-restore-frames): Change default to t.
8775 (desktop-restore-in-current-display): Now offer more options.
8776 (desktop-restoring-reuses-frames): New customization option.
8777 (desktop--saved-states): Doc fix.
8778 (desktop-filter-parameters-alist): New variable, renamed and expanded
8779 from desktop--excluded-frame-parameters.
8780 (desktop--target-display): New variable.
8781 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8782 (desktop--filter-tty*, desktop--filter-*-color)
8783 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8784 (desktop--filter-save-desktop-parm)
8785 (desktop-restore-in-original-display-p): New functions.
8786 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8787 (desktop--save-minibuffer-frames): New function, inspired by a similar
8788 function from Martin Rudalics.
8789 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8790 (desktop--restore-in-this-display-p): Remove.
8791 (desktop--find-frame): Rename from desktop--find-frame-in-display
8792 and add predicate argument.
8793 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8794 (desktop--reuse-list): New variable.
8795 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8796 New functions.
8797 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8798
f6dd8b36
MA
87992013-07-14 Michael Albinus <michael.albinus@gmx.de>
8800
8801 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8802
2ce3c565
DG
88032013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8804
763a086d
JB
8805 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8806 Highlight conversion methods on Kernel.
2ce3c565 8807
2cdb7698
AM
88082013-07-13 Alan Mackenzie <acm@muc.de>
8809
8810 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8811 and comment it out. This out-commenting enables certain C++
8812 declarations to be parsed correctly.
8813
1a67b811
EZ
88142013-07-13 Eli Zaretskii <eliz@gnu.org>
8815
1b796d6b
EZ
8816 * international/mule.el (define-coding-system): Doc fix.
8817
1a67b811
EZ
8818 * simple.el (default-font-height): Don't call font-info if the
8819 frame's default font didn't change since the frame was created.
8820 (Bug#14838)
8821
58fbe886
LL
88222013-07-13 Leo Liu <sdl.web@gmail.com>
8823
8824 * ido.el (ido-read-file-name): Guard against non-symbol value.
8825
1f0480d4
FEG
88262013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8827
8828 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8829 in nested defuns.
8830
97ead0e5
LL
88312013-07-13 Leo Liu <sdl.web@gmail.com>
8832
8833 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8834 ido-set-matches call. (Bug#6852)
8835
0880a952
DG
88362013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8837
35e951cd 8838 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
8839 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8840 Ruby 2.0.
8841 (ruby-font-lock-keywords): Distinguish calls to functions with
8842 module-like names from module references. Highlight character
8843 literals.
8844
a7d8babb
SDJ
88452013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8846
8847 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8848 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8849
acfcc8c5
JB
88502013-07-12 Juanma Barranquero <lekktu@gmail.com>
8851
8852 * desktop.el (desktop--v2s): Remove unused local variable.
8853 (desktop-save-buffer): Make defvar-local; adjust docstring.
8854 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8855 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8856
051f2775
AS
88572013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8858
8859 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8860
f24e7572
GM
88612013-07-12 Eli Zaretskii <eliz@gnu.org>
8862
8863 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8864 (Bug#14842)
8865
539a920c
GM
88662013-07-12 Glenn Morris <rgm@gnu.org>
8867
8868 * doc-view.el: Require cl-lib at runtime too.
8869 (doc-view-remove-if): Remove.
8870 (doc-view-search-next-match, doc-view-search-previous-match):
8871 Use cl-remove-if.
8872
8873 * edmacro.el: Require cl-lib at runtime too.
8874 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8875 (edmacro-mismatch, edmacro-subseq): Remove.
8876
8877 * shadowfile.el: Require cl-lib.
8878 (shadow-remove-if): Remove.
8879 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8880 Use cl-remove-if.
8881
8882 * wid-edit.el: Require cl-lib.
8883 (widget-choose): Use cl-remove-if.
8884 (widget-remove-if): Remove.
8885
8886 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8887 (ebrowse-delete-if-not): Remove.
8888 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8889 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8890 Use cl-delete-if-not.
8891
1048af7c
JB
88922013-07-12 Juanma Barranquero <lekktu@gmail.com>
8893
8894 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8895 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8896
6c0674ee
LL
88972013-07-12 Leo Liu <sdl.web@gmail.com>
8898
8899 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8900
a19b3c2d
GM
89012013-07-11 Glenn Morris <rgm@gnu.org>
8902
4582a01c
GM
8903 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8904 (edebug-gensym-index, edebug-gensym):
8905 Remove reimplementation of cl-gensym.
8906 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8907
8908 * thumbs.el: Require cl-lib at run-time too.
8909 (thumbs-gensym-counter, thumbs-gensym):
8910 Remove reimplementation of cl-gensym.
8911 (thumbs-temp-file): Use cl-gensym.
8912
a19b3c2d
GM
8913 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8914 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8915 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8916 (ert--union, ert--gensym-counter, ert--gensym-counter)
8917 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8918 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8919 (ert-make-test-unbound, ert--expand-should-1)
8920 (ert--expand-should, ert--should-error-handle-error)
8921 (should-error, ert--explain-equal-rec)
8922 (ert--plist-difference-explanation, ert-select-tests)
8923 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8924 Use cl-lib functions rather than reimplementations.
8925
88f6a933
MA
89262013-07-11 Michael Albinus <michael.albinus@gmx.de>
8927
8928 * net/tramp.el (tramp-methods): Extend docstring.
8929 (tramp-connection-timeout): New defcustom.
8930 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8931 (with-tramp-progress-reporter): Simplify.
8932 (tramp-process-actions): Improve messages.
8933
8934 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8935 * net/tramp-sh.el (tramp-maybe-open-connection):
8936 Use `tramp-connection-timeout'.
afe1e4c8 8937 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
8938 (Bug#14808)
8939
a43d577e
LL
89402013-07-11 Leo Liu <sdl.web@gmail.com>
8941
8942 * ido.el (ido-read-file-name): Conform to the requirements of
8943 read-file-name. (Bug#11861)
8944 (ido-read-directory-name): Conform to the requirements of
8945 read-directory-name.
8946
d77974bf
JB
89472013-07-11 Juanma Barranquero <lekktu@gmail.com>
8948
8949 * subr.el (delay-warning): New function.
8950
35cb8a3e
EZ
89512013-07-10 Eli Zaretskii <eliz@gnu.org>
8952
8953 * simple.el (default-line-height): New function.
8954 (line-move-partial, line-move): Use it instead of computing the
8955 line height inline.
8956 (line-move-partial): Always compute ROWH. If the last line is
8957 partially-visible, but its text is completely visible, allow
8958 cursor to enter such a partially-visible line.
8959
525c5c77
MA
89602013-07-10 Michael Albinus <michael.albinus@gmx.de>
8961
8962 Improve error messages. (Bug#14808)
8963
8964 * net/tramp.el (tramp-current-connection): New defvar, moved from
8965 tramp-sh.el.
0ac26976 8966 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8967 needed anymore.
0ac26976
SM
8968 (tramp-error-with-buffer): Show message in minibuffer.
8969 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8970 (with-tramp-progress-reporter): Improve messages.
8971 (tramp-process-actions): Use progress reporter. Delete process in
8972 case of error. Improve messages.
8973
763a086d
JB
8974 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8975 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8976 (tramp-current-connection): Remove.
525c5c77
MA
8977 (tramp-maybe-open-connection): The car of
8978 `tramp-current-connection' are the first 3 slots of the vector.
8979
c7a4d368
TZ
89802013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8981
8982 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8983 inside continued strings.
8984
954b166e
PE
89852013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8986
8987 Timestamp fixes for undo (Bug#14824).
8988 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8989
56973319
LL
89902013-07-10 Leo Liu <sdl.web@gmail.com>
8991
8992 * files.el (require-final-newline): Allow safe local value.
8993 (Bug#14834)
8994
5550a72c
LL
89952013-07-09 Leo Liu <sdl.web@gmail.com>
8996
8997 * ido.el (ido-read-directory-name): Handle fallback.
8998 (ido-read-file-name): Update DIR to ido-current-directory.
8999 (Bug#1516)
c28b9050 9000 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9001
70c46b28
DG
90022013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9003
9004 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9005 "autoload". Remove "warn lower camel case" section, previously
9006 commented out. Highlight negation char. Do not highlight the
9007 target in singleton method definitions.
9008
0b64b838
SM
90092013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9010
7fd72e2c
SM
9011 * faces.el (tty-setup-hook): Declare the hook.
9012
0b64b838
SM
9013 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9014 and detect when a guard/pred depends on local vars (bug#14773).
9015 (pcase--u1): Adjust caller.
9016
ab49d60b
EZ
90172013-07-08 Eli Zaretskii <eliz@gnu.org>
9018
9019 * simple.el (line-move-partial, line-move): Account for
9020 line-spacing.
701d79aa
EZ
9021 (line-move-partial): Avoid setting vscroll when the last
9022 partially-visible line in window is of default height.
ab49d60b 9023
2d756ae0
LMI
90242013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9025
9026 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9027 been used a while.
9028
ed095bd7
JB
90292013-07-07 Juanma Barranquero <lekktu@gmail.com>
9030
9031 * subr.el (read-quoted-char): Remove unused local variable `char'.
9032
f1e6674b
MK
90332013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9034
584ee3fc
GM
9035 * ediff.el (ediff-version): Version update.
9036 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9037 (ediff-merge-with-ancestor-command, ediff-directories-command)
9038 (ediff-directories3-command, ediff-merge-directories-command)
9039 (ediff-merge-directories-with-ancestor-command): New functions.
9040 All are command-line interfaces to ediff: to facilitate calling
9041 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9042
9043 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9044 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9045
584ee3fc
GM
9046 * viper.el (viper-version): Version update.
9047 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9048
584ee3fc
GM
90492013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9050
9051 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9052 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9053 (viper-intercept-ESC-key): Simplify.
9054 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9055 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9056 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9057 (viper-setup-ESC-to-escape): New functions.
9058 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9059 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9060
9aff9b38
EZ
90612013-07-07 Eli Zaretskii <eliz@gnu.org>
9062
5165d44a
JB
9063 * simple.el (default-font-height, window-screen-lines):
9064 New functions.
9aff9b38
EZ
9065 (line-move, line-move-partial): Use them instead of
9066 frame-char-height and window-text-height. This makes scrolling
9067 text smoother when the buffer's default face uses a font that is
9068 different from the frame's default font.
9069
1afb1d07
JD
90702013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9071
9072 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9073 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9074
23de972a
EZ
90752013-07-06 Eli Zaretskii <eliz@gnu.org>
9076
9077 * simple.el (line-move-partial): Adjust the row returned by
9078 posn-at-point for the current window-vscroll. (Bug#14567)
9079
54a42486
MA
90802013-07-06 Michael Albinus <michael.albinus@gmx.de>
9081
35e951cd 9082 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9083 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9084 spaces.
9085
34ada5f4
MR
90862013-07-06 Martin Rudalics <rudalics@gmx.at>
9087
9088 * window.el (window-state-put-stale-windows): New variable.
9089 (window--state-put-2): Save list of windows without matching buffer.
9090 (window-state-put): Remove "bufferless" windows if possible.
9091
11e03d89
JB
90922013-07-06 Juanma Barranquero <lekktu@gmail.com>
9093
9094 * simple.el (alternatives-define): Remove leftover :group keyword.
9095 Tweak docstring.
9096
3504a4be
LL
90972013-07-06 Leo Liu <sdl.web@gmail.com>
9098
9099 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9100 (ido-enable-virtual-buffers): New variable.
9101 (ido-buffer-internal, ido-toggle-virtual-buffers)
9102 (ido-make-buffer-list): Use it.
9103 (ido-exhibit): Support turning on and off virtual buffers
9104 automatically.
9105
61e56e2c
JB
91062013-07-06 Juanma Barranquero <lekktu@gmail.com>
9107
9108 * simple.el (alternatives-define): New macro.
9109
321e1a9c
SM
91102013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * subr.el (read-quoted-char): Use read-key.
9113 (sit-for): Let read-event decode tty input (bug#14782).
9114
d610f6dd
SB
91152013-07-05 Stephen Berman <stephen.berman@gmx.net>
9116
9117 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9118 mode command and externally. Fix various related bugs.
9119 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9120 (todo-delete-file): New command.
9121 (todo-check-file): New function.
9122 (todo-show): Handle external deletion of the file we're trying to
9123 show (bug#14688). Replace called-interactively-p by an optional
9124 prefix argument to avoid problematic interaction with catch form
9125 when byte compiled (bug#14702).
9126 (todo-quit): Handle external deletion of the archive's todo file.
9127 Make sure the buffer that was visiting the archive file is still
9128 live before trying to bury it.
9129 (todo-category-completions): Handle external deletion of any
9130 category completion files.
9131 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9132 of todo files, in case of external deletion.
9133 (todo-add-file): Replace unnecessary setq by let-binding.
9134 (todo-find-archive): Check whether there are any archives.
9135 Replace unnecessary setq by let-binding.
9136 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9137 archive buffer whether or not the archive already exists.
9138 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9139 check if the archive is new; if it is, update list of archives.
9140 (todo-default-todo-file): Allow nil to be a valid value for when
9141 there are no todo files.
9142 (todo-reevaluate-default-file-defcustom): Use corrected definition
9143 of todo-default-todo-file.
9144 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9145 (todo-delete-category, todo-show-categories-table)
9146 (todo-category-number): Clarify comment.
9147 (todo-filter-items): Clarify documentation string.
9148 (todo-show-current-file, todo-display-as-todo-file)
9149 (todo-reset-and-enable-done-separator): Tweak documentation string.
9150 (todo-done-separator): Make separator length window-width, since
9151 bug#2749 is now fixed.
9152
ddbdfd6f
MA
91532013-07-05 Michael Albinus <michael.albinus@gmx.de>
9154
321e1a9c
SM
9155 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9156 Support both "gvfs-monitor-dir" and "inotifywait".
9157 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9158 `tramp-sh-file-notify-process-filter'.
9159 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9160 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9161
96eb829a
LL
91622013-07-05 Leo Liu <sdl.web@gmail.com>
9163
9164 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9165
cf13177e
YM
91662013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9167
9168 * frame.el (display-pixel-height, display-pixel-width)
9169 (display-mm-height, display-mm-width): Mention behavior on
9170 multi-monitor setups in docstrings.
9171 (w32-display-monitor-attributes-list): Declare function.
9172 (display-monitor-attributes-list): Use it.
9173
864c58ca
MA
91742013-07-04 Michael Albinus <michael.albinus@gmx.de>
9175
9176 * filenotify.el: New package.
9177
9178 * autorevert.el (top): Require filenotify.el.
9179 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9180 instead.
9181 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9182 (auto-revert-notify-handler): Use `file-notify-*' functions.
9183
9184 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9185
321e1a9c
SM
9186 * net/tramp.el (tramp-file-name-for-operation):
9187 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9188
9189 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9190 for `file-notify-add-watch' and `file-notify-rm-watch'.
9191 (tramp-process-sentinel): Improve trace.
9192 (tramp-sh-handle-file-notify-add-watch)
9193 (tramp-sh-file-notify-process-filter)
9194 (tramp-sh-handle-file-notify-rm-watch)
9195 (tramp-get-remote-inotifywait): New defuns.
9196
96673afe
JL
91972013-07-03 Juri Linkov <juri@jurta.org>
9198
9199 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9200 call of `occur-read-primary-args' to interactive spec.
9201
9202 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9203 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9204
924494f4
MM
92052013-07-03 Matthias Meulien <orontee@gmail.com>
9206
9207 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9208 `Buffer-menu-multi-occur'. Add it to the menu.
9209 (Buffer-menu-mode): Document it in docstring.
9210 (Buffer-menu-multi-occur): New command. (Bug#14673)
9211
56f75efc
DG
92122013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9213
9214 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9215 keywords and built-ins.
9216
9b057d61
GM
92172013-07-03 Glenn Morris <rgm@gnu.org>
9218
208dee4d
GM
9219 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9220
9b057d61
GM
9221 Make info-xref checks case-sensitive by default
9222 * info.el (Info-find-node, Info-find-in-tag-table)
9223 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9224 Add option for exact case matching of nodes.
9225 * info-xref.el (info-xref): New custom group.
9226 (info-xref-case-fold): New option.
9227 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9228
e01aa29c
LL
92292013-07-03 Leo Liu <sdl.web@gmail.com>
9230
9231 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9232
3086ca2e
DG
92332013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9234
9235 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9236 middle of block statement initially, lower the depth. Remove
9237 FIXME comment, not longer valid. Remove middle of block statement
9238 detection, no need to do that anymore since we've been using
9239 `ruby-parse-region' here.
9240
a3b49114
JD
92412013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9242
9243 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9244
08e5c823 92452013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9246
9247 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9248
2addf922
JB
92492013-07-01 Juanma Barranquero <lekktu@gmail.com>
9250
9251 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9252 (desktop-restore-in-current-display): New customization option.
9253 (desktop--excluded-frame-parameters): Add `font'.
9254 (desktop--save-frames): Rename from desktop--save-windows.
9255 (desktop--restore-in-this-display-p): New function.
9256 (desktop--make-full-frame): Remove unwanted width/height from
9257 full(width|height) frames.
9258 (desktop--restore-frames): Rename from desktop--restore-windows.
9259 Obey desktop-restore-current-display. Do not delete old frames or
9260 select a new frame unless we were able to restore at least one frame.
9261
ef099a94
MN
92622013-06-30 Michal Nazarewicz <mina86@mina86.com>
9263
9264 * files.el (find-file-noselect): Simplify conditional expression.
9265
a12bf61e 9266 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9267 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9268
9269 Add `remember-notes' function to store random notes across Emacs
9270 restarts.
3fcfc4ee
JB
9271 * textmodes/remember.el (remember-data-file): Add :set callback to
9272 affect notes buffer (if any).
ef099a94
MN
9273 (remember-notes): New command.
9274 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9275 New defcustoms for the `remember-notes' function.
9276 (remember-notes-save-and-bury-buffer): New command.
9277 (remember-notes-mode-map): New variable.
9278 (remember-mode): New minor mode.
9279 (remember-notes--kill-buffer-query): New function.
9280 * startup.el (initial-buffer-choice): Add notes to custom type.
9281
0865d506
EZ
92822013-06-30 Eli Zaretskii <eliz@gnu.org>
9283
0ba54312
EZ
9284 * bindings.el (right-char, left-char): Don't call sit-for, this is
9285 no longer needed. Use arithmetic comparison only for numerical
9286 arguments.
9287
ef099a94
MN
9288 * international/mule-cmds.el (select-safe-coding-system):
9289 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9290
2fae38e5
LMI
92912013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9292
9293 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9294 progression on degenerate tables.
ef099a94 9295 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9296
a47cbd64
JB
92972013-06-30 Juanma Barranquero <lekktu@gmail.com>
9298
9299 Some fixes and improvements for desktop frame restoration.
9300 It is still experimental and disabled by default.
9301 * desktop.el (desktop--save-windows): Put the selected frame at
9302 the head of the list.
9303 (desktop--make-full-frame): New function.
9304 (desktop--restore-windows): Try to re-select the frame that was
9305 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9306 just show an error message and continue. Set up maximized frames
9307 so they have default non-maximized dimensions.
a47cbd64 9308
6dbafa30
DG
93092013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9310
ef099a94
MN
9311 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9312 Don't start heredoc inside a string or comment.
6dbafa30 9313
4c672a0f
EZ
93142013-06-29 Eli Zaretskii <eliz@gnu.org>
9315
9316 * bindings.el (visual-order-cursor-movement): New defcustom.
9317 (right-char, left-char): Provide visual-order cursor motion by
9318 calling move-point-visually. Update the doc strings.
9319
50960f36
KH
93202013-06-28 Kenichi Handa <handa@gnu.org>
9321
9322 * international/mule.el (define-coding-system): New coding system
9323 properties :inhibit-null-byte-detection,
9324 :inhibit-iso-escape-detection, and :prefer-utf-8.
9325 (set-buffer-file-coding-system): If :charset-list property of
9326 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9327 appropriate for setting.
9328
c1ea3abf
JB
9329 * international/mule-cmds.el (select-safe-coding-system):
9330 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9331 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9332
9333 * international/mule-conf.el (prefer-utf-8): New coding system.
9334 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9335 files.
9336
75dbaf9d
IK
93372013-06-28 Ivan Kanis <ivan@kanis.fr>
9338
eadb6068
IK
9339 * net/shr.el (shr-render-region): New function.
9340
75dbaf9d
IK
9341 * net/eww.el: Autoload `eww-browse-url'.
9342
9ea5cf9f
DG
93432013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9344
c1ea3abf
JB
9345 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9346 Adapt to `package-desc-version' being a list.
9347 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9348 archive element.
9349
39c0e36f
JB
93502013-06-27 Juanma Barranquero <lekktu@gmail.com>
9351
9352 New experimental feature to save&restore window and frame setup.
9353 * desktop.el (desktop-save-windows): New defcustom.
9354 (desktop--saved-states): New var.
9355 (desktop--excluded-frame-parameters): New defconst.
9356 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9357 (desktop--restore-windows, desktop--save-windows): New functions.
9358 (desktop-save): Call `desktop--save-windows'.
9359 (desktop-read): Call `desktop--restore-windows'.
9360
7f13406b
LMI
93612013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9362
ef099a94 9363 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9364
1e072639
SB
93652013-06-27 Stephen Berman <stephen.berman@gmx.net>
9366
9367 * info.el (Info-try-follow-nearest-node): Move search for footnote
9368 above search for node name to prevent missing a footnote (bug#14717).
9369
f3e2cbde
SB
93702013-06-27 Stephen Berman <stephen.berman@gmx.net>
9371
9372 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9373
99906aa0
LL
93742013-06-27 Leo Liu <sdl.web@gmail.com>
9375
9376 * net/eww.el (eww-read-bookmarks): Check file size.
9377
539f75f4
SM
93782013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9379
9380 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9381 advice--pending if newdef is nil or an autoload (bug#13820).
9382 (advice-mapc): New function.
9383
843571cb
LMI
93842013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9385
9386 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9387 probably.
23a75d7f 9388 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9389 (eww-add-bookmark): New command.
9390 (eww-bookmark-mode): New mode and commands.
a285ce99 9391 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9392 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9393
f2136e1e
GM
93942013-06-26 Glenn Morris <rgm@gnu.org>
9395
eab35f39
GM
9396 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9397 (hfy-size): Handle ttys. (Bug#14668)
9398
f2136e1e
GM
9399 * info-xref.el: Update for Texinfo 5 change in *note format.
9400 (info-xref-node-re, info-xref-note-re): New constants.
9401 (info-xref-check-buffer): Use info-xref-note-re.
9402
a49ff80c
SM
94032013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9404
a343d218
SM
9405 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9406
a49ff80c
SM
9407 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9408 nil terminate the loop (bug#14718).
9409
8308f184
LMI
94102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9411
9412 * net/eww.el: Rework history traversal. When going forward/back,
9413 put these actions into the history, too, so that they can be
9414 replayed.
26bf2b82 9415 (eww-render): Move the history reset to the correct buffer.
8308f184 9416
ec64c273
JL
94172013-06-25 Juri Linkov <juri@jurta.org>
9418
9419 * files-x.el (modify-dir-local-variable): Change the header comment
9420 in the file with directory local variables. (Bug#14692)
9421
e080a9d7
JL
9422 * files-x.el (read-file-local-variable-value): Add `default'.
9423 (Bug#14710)
9424
bfbc93a1
IK
94252013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9426
9427 * net/eww.el (eww-make-unique-file-name): Create a unique file
9428 name before saving to entering `y' accidentally asynchronously.
9429
94302013-06-25 Ivan Kanis <ivan@kanis.fr>
9431
9432 * net/eww.el (eww-download): New command and keystroke.
9433
16f74f10
LMI
94342013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9435
a49ff80c 9436 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9437
9438 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9439 be more consistent with Info and dired.
9440
9441 * net/eww.el (eww-mode-map): Ditto.
9442
12059709
SM
94432013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9446 packages from archives.
9447 (package-archive-contents): Change format; include obsolete packages.
9448 (package-desc): Use `dir' to mark builtin packages.
9449 (package--from-builtin): Set the `dir' field to `builtin'.
9450 (generated-autoload-file, version-control): Declare.
9451 (package-compute-transaction): Change first arg and return value to be
9452 lists of package-descs. Adjust to new package-archive-contents format.
9453 (package--add-to-archive-contents): Adjust to new
9454 package-archive-contents format.
9455 (package-download-transaction): Arg is now a list of package-descs.
9456 (package-install): If `pkg' is a package name, pass it as
9457 a requirement, so it is subject to the usual (e.g. disabled) checks.
9458 (describe-package): Accept package-desc as well.
9459 (describe-package-1): Describe a specific package-desc. Add links to
9460 other package-descs for the same package name.
9461 (package-menu-describe-package): Pass the actual package-desc.
9462 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9463 works correctly.
9464 (package-desc-status): New function.
9465 (package-menu--refresh): New function, extracted
9466 from package-menu--generate.
9467 (package-menu--generate): Use it.
9468 (package-delete): Update package-alist.
9469 (package-menu-execute): Don't call package-initialize.
9470
9471 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9472 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9473 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9474 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9475 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9476 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9477
8bbdea0f
MR
94782013-06-25 Martin Rudalics <rudalics@gmx.at>
9479
9480 * window.el (window--state-get-1): Workaround for bug#14527.
9481 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9482
e82b0991
LMI
94832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9484
9485 * net/eww.el (eww-back-url): Implement the history by stashing all
9486 the data into a list.
d3f0f918 9487 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9488
c763842b
SM
94892013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9492 for values and use read--expression for expressions (bug#14710).
9493 (read-file-local-variable): Avoid setq.
9494 (read-file-local-variable-mode): Use minor-mode-list.
9495
bceff189
RW
94962013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9497
864c58ca 9498 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9499 for DOI URLs.
9500
45f431c6
RW
95012013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9502
864c58ca 9503 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9504 Update imenu-support when dialect changes.
9505
f42d8237
LL
95062013-06-25 Leo Liu <sdl.web@gmail.com>
9507
9508 * ido.el (ido-read-internal): Allow forward slash on windows.
9509
be549ce6
LMI
95102013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9511
9512 * net/eww.el (eww): Start of strings is \\`, not ^.
9513
71d4c19d
IK
95142013-06-24 Ivan Kanis <ivan@kanis.fr>
9515
5196f88a
IK
9516 * net/shr.el (shr-browse-url): Fix interactive spec.
9517
71d4c19d
IK
9518 * net/eww.el (eww): Add a trailing slash to domain names.
9519
ae36ca55
JB
95202013-06-24 Juanma Barranquero <lekktu@gmail.com>
9521
9522 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9523
0ebd92a3
LMI
95242013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9525
bdaa086b
LMI
9526 * net/shr.el (shr-browse-url): Use an external browser if given a
9527 prefix.
9528
c763842b 9529 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9530
b89fc156
IK
95312013-06-24 Ivan Kanis <ivan@kanis.fr>
9532
9533 * net/eww.el (eww): Work more correctly for file: URLs.
9534 (eww-detect-charset): Allow quoted charsets.
9535 (eww-yank-page-url): New command and keystroke.
9536
18eb4bca
DU
95372013-06-24 Daiki Ueno <ueno@gnu.org>
9538
9539 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9540 file name of gpg executable.
9541 (epg-context-program): New function.
9542 (epg-context-home-directory): New function.
9543 (epg-context-set-program): New function.
9544 (epg-context-set-home-directory): New function.
9545 (epg--start): Use `epg-context-program' instead of
9546 'epg-gpg-program'.
9547 (epg--list-keys-1): Likewise.
9548
6c6268c8
LL
95492013-06-24 Leo Liu <sdl.web@gmail.com>
9550
9551 * ido.el (ido-read-internal): Fix bug#14620.
9552
5e400cb3
JB
95532013-06-23 Juanma Barranquero <lekktu@gmail.com>
9554
9555 * faces.el (face-documentation): Simplify.
9556 (read-face-attribute, tty-find-type, x-resolve-font-name):
9557 Use `string-match-p'.
9558 (list-faces-display): Use `string-match-p'. Simplify.
9559 (face-spec-recalc): Check face to avoid face alias loops.
9560 (read-color): Use `string-match-p' and non-capturing parenthesis.
9561
f3f9606c
LMI
95622013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9563
9564 * net/shr.el (shr-rescale-image): Use the new
9565 :max-width/:max-height functionality.
9566
a3ca09b9
IK
95672013-06-23 Ivan Kanis <ivan@kanis.fr>
9568
9569 * net/eww.el (eww-search-prefix): New variable.
9570 (eww): Use it.
f865b474
IK
9571 (eww-external-browser): New variable.
9572 (eww-mode-map): New keystroke.
9573 (eww-browse-with-external-browser): New command.
a3ca09b9 9574
e854cfc7
IK
9575 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9576
18bb9e21
JB
95772013-06-23 Juanma Barranquero <lekktu@gmail.com>
9578
9579 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9580 Don't skip aligning the next header field when padding is 0;
9581 otherwise, field width is not respected unless the title is as
9582 wide as the field.
9583
5b165ade
SM
95842013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9585
9586 * emacs-lisp/package.el (package-el-version): Remove.
9587 (package-process-define-package): Fix inf-loop.
9588 (package-install): Allow symbols as arguments again.
9589
12adebe9
DG
95902013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9591
9592 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9593 add some more keyword-like methods.
9594 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9595
388573ee
JB
95962013-06-22 Juanma Barranquero <lekktu@gmail.com>
9597
9598 * bs.el (bs-buffer-show-mark): Make defvar-local.
9599 (bs-mode): Use setq-local.
9600
9601 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9602 (emacs-lock--try-unlocking): Make defvar-local.
9603
4582a01c 96042013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9605
2663dd23
GM
9606 * play/cookie1.el (cookie-apropos): Minor simplification.
9607
3d94f3ad
GM
9608 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9609
f72e2fdb
DG
96102013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9611
9612 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9613 `regexp-opt', it breaks the build during dumping.
9614
73eab938
DG
96152013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9616
c763842b
SM
9617 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9618 Highlight keyword-like methods on Kernel and Module with
73eab938 9619 font-lock-builtin-face.
5cf8176d
DG
9620 (auto-mode-alist): Consolidate different entries into one regexp
9621 and add more *file-s.
73eab938 9622
d26255f6
SB
96232013-06-21 Stephen Berman <stephen.berman@gmx.net>
9624
9625 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9626
9627 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9628 (diary-entry): Use it in the action of this button type instead of
9629 diary-goto-entry.
9630
9631 * calendar/todo-mode.el: New version.
9632 (todo-add-category): Append new category to end of file and give
9633 it the highest number, instead of putting it at the beginning and
9634 giving it 0. Incorporate noninteractive functionality.
9635 (todo-forward-category): Adapt to 1-based category numbering.
9636 Allow skipping over archived categories.
9637 (todo-backward-category): Derive from todo-forward-category.
9638 (todo-backward-item, todo-forward-item): Make noninteractive and
9639 delegate interactive part to new commands. Make sensitive to done items.
9640 (todo-categories): Make value an alist of category names and
9641 vectors of item counts.
9642 (todo-category-beg): Make a defconst.
9643 (todo-category-number): Use 1 instead of 0 as initial value.
9644 (todo-category-select): Make sensitive to overlays, optional item
9645 highlighting and done items.
9646 (todo-delete-item): Make sensitive to overlays and marked and done items.
9647 (todo-edit-item): Make sensitive to overlays and editing of
9648 date/time header optional. Add format checks.
9649 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9650 no-op if point is not on an item. Advertise using todo-edit-quit.
9651 (todo-edit-mode): Make sensitive to new format, font-locking, and
9652 multiple todo files.
9653 (todo-insert-item, todo-insert-item-here): Derive from
9654 todo-basic-insert-item and extend functionality.
9655 (todo-item-end, todo-item-start): Make sensitive to done items.
9656 (todo-item-string): Don't return text properties. Restore point.
9657 (todo-jump-to-category): Make sensitive to multiple todo files and
9658 todo archives. Use extended category completion.
9659 (todo-lower-item, todo-raise-item): Rename to *-priority and
9660 derive from todo-set-item-priority.
9661 (todo-mode): Derive from special-mode. Make sensitive to new
9662 format, font-locking and multiple todo files. Make read-only.
9663 (todo-mode-map): Don't suppress digit keys, so they can supply
9664 prefix arguments. Add many new key bindings.
9665 (todo-prefix): Insert as an overlay instead of file text.
9666 Change semantics from diary date expression to purely visual mark.
9667 (todo-print): Rename to todo-print-buffer. Make buffer display
9668 features printable. Remove option to restrict number of items
9669 printed. Add option to print to file.
9670 (todo-print-function): Rename to todo-print-buffer-function.
9671 (todo-quit): Extend to handle exiting new todo modes.
9672 (todo-remove-item): Make sensitive to overlays.
9673 (todo-save): Extend to buffers of filtered items.
9674 (todo-show): Make sensitive to done items, multiple todo files and
9675 new todo modes. Offer to convert legacy todo file before creating
9676 first new todo file.
9677 (todo-show-priorities): Rename to todo-top-priorities.
9678 Change semantics of value 0.
9679 (todo-top-priorities): Rename to todo-filter-top-priorities,
9680 derive from todo-filter-items and extend functionality.
9681 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9682 and extend functionality to other types of filtered items.
9683 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9684 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9685 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9686 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9687 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9688 (todo-edit-mode-hook, todo-entry-prefix-function)
9689 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9690 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9691 (todo-initials, todo-insert-threshold, todo-item-string-start)
9692 (todo-line-string, todo-menu, todo-mode-hook)
9693 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9694 (todo-print-priorities, todo-remove-separator)
9695 (todo-save-top-priorities-too, todo-string-count-lines)
9696 (todo-string-multiline-p, todo-time-string-format)
9697 (todo-tmp-buffer-name): Remove.
9698 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9699 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9700 (todo-edit-category-diary-inclusion)
9701 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9702 (todo-edit-file, todo-edit-item-date-day)
9703 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9704 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9705 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9706 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9707 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9708 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9709 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9710 (todo-filter-top-priorities-multifile, todo-find-archive)
9711 (todo-find-filtered-items-file, todo-go-to-source-item)
9712 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9713 (todo-jump-to-archive-category, todo-lower-category)
9714 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9715 (todo-move-category, todo-move-item, todo-next-button)
9716 (todo-next-item, todo-padded-string, todo-powerset)
9717 (todo-previous-button, todo-previous-item)
9718 (todo-print-buffer-to-file, todo-raise-category)
9719 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9720 (todo-set-category-number, todo-set-item-priority)
9721 (todo-set-top-priorities-in-category)
9722 (todo-set-top-priorities-in-file, todo-show-categories-table)
9723 (todo-sort-categories-alphabetically-or-numerically)
9724 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9725 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9726 (todo-toggle-item-header, todo-toggle-item-highlighting)
9727 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9728 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9729 (todo-unarchive-items, todo-unmark-category): New commands.
9730 (todo-absolute-file-name, todo-add-to-buffer-list)
9731 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9732 (todo-basic-insert-item, todo-category-completions)
9733 (todo-category-number, todo-category-string-matcher-1)
9734 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9735 (todo-check-format, todo-clear-matches)
9736 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9737 (todo-current-category, todo-date-string-matcher)
9738 (todo-define-insertion-command, todo-diary-expired-matcher)
9739 (todo-diary-goto-entry, todo-diary-item-p)
9740 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9741 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9742 (todo-done-item-section-p, todo-done-separator)
9743 (todo-done-string-matcher, todo-files, todo-filter-items)
9744 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9745 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9746 (todo-insert-category-line, todo-insert-item-from-calendar)
9747 (todo-insert-sort-button, todo-insert-with-overlays)
9748 (todo-insertion-command-name, todo-insertion-key-bindings)
9749 (todo-label-to-key, todo-longest-category-name-length)
9750 (todo-make-categories-list, todo-mode-external-set)
9751 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9752 (todo-modes-set-3, todo-multiple-filter-files)
9753 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9754 (todo-read-category, todo-read-date, todo-read-dayname)
9755 (todo-read-file-name, todo-read-time)
9756 (todo-reevaluate-category-completions-files-defcustom)
9757 (todo-reevaluate-default-file-defcustom)
9758 (todo-reevaluate-filelist-defcustoms)
9759 (todo-reevaluate-filter-files-defcustom)
9760 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9761 (todo-reset-done-separator, todo-reset-done-separator-string)
9762 (todo-reset-done-string, todo-reset-global-current-todo-file)
9763 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9764 (todo-reset-prefix, todo-set-categories)
9765 (todo-set-date-from-calendar, todo-set-show-current-file)
9766 (todo-set-top-priorities, todo-short-file-name)
9767 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9768 (todo-total-item-counts, todo-update-buffer-list)
9769 (todo-update-categories-display, todo-update-categories-sexp)
9770 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9771 New functions.
9772 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9773 New major modes.
9774 (todo-categories, todo-display, todo-edit, todo-faces)
9775 (todo-filtered): New defgroups.
9776 (todo-archived-only, todo-button, todo-category-string, todo-date)
9777 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9778 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9779 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9780 (todo-add-item-if-new-category, todo-always-add-time-string)
9781 (todo-categories-align, todo-categories-archived-label)
9782 (todo-categories-category-label, todo-categories-diary-label)
9783 (todo-categories-done-label, todo-categories-number-separator)
9784 (todo-categories-todo-label, todo-categories-totals-label)
9785 (todo-category-completions-files, todo-completion-ignore-case)
9786 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9787 (todo-done-separator-string, todo-done-string)
9788 (todo-files-function, todo-filter-done-items, todo-filter-files)
9789 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9790 (todo-initial-category, todo-initial-file, todo-item-mark)
9791 (todo-legacy-date-time-regexp, todo-mode-line-function)
9792 (todo-nondiary-marker, todo-number-prefix)
9793 (todo-print-buffer-function, todo-show-current-file)
9794 (todo-show-done-only, todo-show-first, todo-show-with-done)
9795 (todo-skip-archived-categories, todo-top-priorities-overrides)
9796 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9797 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9798 New defcustoms.
9799 (todo-category-done, todo-date-pattern, todo-date-string-start)
9800 (todo-diary-items-buffer, todo-done-string-start)
9801 (todo-filtered-items-buffer, todo-item-start)
9802 (todo-month-abbrev-array, todo-month-name-array)
9803 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9804 (todo-top-priorities-buffer): New defconsts.
9805 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9806 (todo-categories-with-marks, todo-category-string-face)
9807 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9808 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9809 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9810 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9811 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9812 (todo-font-lock-keywords, todo-global-current-todo-file)
9813 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9814 (todo-insertion-commands-args)
9815 (todo-insertion-commands-args-genlist)
9816 (todo-insertion-commands-names, todo-insertion-map)
9817 (todo-key-bindings-t, todo-key-bindings-t+a)
9818 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9819 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9820 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9821 (todo-visited): New variables.
9822
cad5d1cb
GM
98232013-06-21 Glenn Morris <rgm@gnu.org>
9824
9825 * play/cookie1.el (cookie-apropos): Add optional display argument.
9826 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9827 (psychoanalyze-pinhead): Use cookie-doctor.
9828
9e277302
JB
98292013-06-21 Juanma Barranquero <lekktu@gmail.com>
9830
9831 * emacs-lisp/package.el (tar-get-file-descriptor)
9832 (tar--extract): Declare.
9833
c5b0993e
EW
98342013-06-21 Eduard Wiebe <usenet@pusto.de>
9835
9836 Extend flymake's warning predicate to be a function (bug#14217).
9837 * progmodes/flymake.el (flymake-warning-predicate): New.
9838 (flymake-parse-line): Use it.
9839 (flymake-warning-re): Make obsolete alias to
9840 `flymake-warning-predicate'.
9841
a7d2d465
SM
98422013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9845 (package-obsolete-list): Remove.
9846 (package-activate): Remove min-version argument. Add `force' argument.
9847 Adjust to new package-alist format.
9848 (package-mark-obsolete): Remove.
9849 (package-unpack): Force reload of the package's autoloads.
9850 (package-installed-p): Check builtins if the installed package is not
9851 recent enough.
9852 (package-initialize): Don't reset package-obsolete-list.
9853 Don't specify which package version to activate.
9854 (package-process-define-package, describe-package-1)
9855 (package-menu--generate): Adjust to new package-alist format.
9856
cedf5c9d
JB
98572013-06-21 Juanma Barranquero <lekktu@gmail.com>
9858
9859 * allout-widgets.el (allout-widgets-mode-off)
9860 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9861 (allout-widgets-post-command-business)
9862 (allout-widgets-after-copy-or-kill-function)
9863 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9864 (allout-decorate-item-and-context)
9865 (allout-graphics-modification-handler): Fix typos in docstrings.
9866 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9867
9868 * cmuscheme.el (scheme-start-file): Doc fix.
9869 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9870 (scheme-input-filter): Use `string-match-p'.
9871
9872 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9873
9874 * dired-x.el: Use Dired consistently in docstrings.
9875
9876 * dired.el: Use Dired consistently in docstrings.
9877 (dired-readin, dired-mode): Use `setq-local'.
9878 (dired-switches-alist): Make defvar-local.
9879 (dired-buffers-for-dir): Use `zerop'.
9880 (dired-safe-switches-p, dired-switches-escape-p)
9881 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9882 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 9883 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
9884 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9885 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9886 (dired-toggle-marks, dired-mark-files-containing-regexp)
9887 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9888 (dired-flag-auto-save-files, dired-flag-backup-files):
9889 Use `looking-at-p'.
9890 (dired-mark-files-regexp, dired-build-subdir-alist):
9891 Use `string-match-p', `looking-at-p'.
9892
9893 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9894 (direct-print-region-helper): Use `string-match-p'.
9895
aed838b5
LL
98962013-06-21 Leo Liu <sdl.web@gmail.com>
9897
cedf5c9d
JB
9898 * comint.el (comint-redirect-results-list-from-process):
9899 Fix infinite loop.
aed838b5 9900
d80a808f
LMI
99012013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9902
9903 * net/eww.el (eww-update-header-line-format): Quote % characters.
9904
e7a526e3
GM
99052013-06-21 Glenn Morris <rgm@gnu.org>
9906
9907 * play/cookie1.el (cookie): New custom group.
9908 (cookie-file): New option.
9909 (cookie-check-file): New function.
9910 (cookie): Make it interactive. Make start and end messages optional.
9911 Interactively, display the result. Default to cookie-file.
9912 (cookie-insert): Default to cookie-file.
9913 (cookie-snarf): Make start and end messages optional.
9914 Default to cookie-file. Use with-temp-buffer.
9915 (cookie-read): Rename from read-cookie.
9916 Make start and end messages optional. Default to cookie-file.
9917 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9918 Do not autoload it.
e7a526e3
GM
9919 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9920 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9921
62efb35e
LL
99222013-06-21 Leo Liu <sdl.web@gmail.com>
9923
9924 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9925
21e3f963
GM
99262013-06-21 Glenn Morris <rgm@gnu.org>
9927
9928 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9929
fd846ab4
SM
99302013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9931 Daniel Hackney <dan@haxney.org>
9932
9933 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9934 Consolidate the single-file vs tarball code.
9935 (package-desc-suffix): New function.
9936 (package-desc-full-name): Don't bother inlining it.
9937 (package-load-descriptor): Return the new package-desc.
9938 (package-mark-obsolete): Remove unused arg `package'.
9939 (package-unpack): Make it work for single files as well.
9940 Make it update package-alist.
9941 (package--make-autoloads-and-stuff): Rename from
9942 package--make-autoloads-and-compile. Don't compile any more.
9943 (package--compile): New function.
9944 (package-generate-description-file): New function, extracted from
9945 package-unpack-single.
9946 (package-unpack-single): Remove.
9947 (package--with-work-buffer): Add indentation and debugging info.
9948 (package-download-single): Remove.
9949 (package-install-from-archive): Rename from package-download-tar, make
9950 it take a pkg-desc, and make it work for single files as well.
9951 (package-download-transaction): Simplify.
9952 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9953 external tar program.
9954 (package-install-from-buffer): Remove `pkg-desc' argument.
9955 Use package-tar-file-info for tar-mode buffers.
9956 (package-install-file): Simplify accordingly.
9957 (package-archive-base): Change to take a pkg-desc.
9958 * tar-mode.el (tar--check-descriptor): New function, extracted from
9959 tar-get-descriptor.
9960 (tar-get-descriptor): Use it.
9961 (tar-get-file-descriptor): New function.
9962 (tar--extract): New function, extracted from tar-extract.
9963 (tar--extract): Use it.
9964 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9965 case the summary uses non-ascii. Adjust to new calling convention of
9966 package-tar-file-info.
9967
b7deae5e
LL
99682013-06-21 Leo Liu <sdl.web@gmail.com>
9969
fd846ab4
SM
9970 * comint.el (comint-redirect-results-list-from-process):
9971 Fix random delay. (Bug#14681)
b7deae5e 9972
7a65a0b2
JB
99732013-06-21 Juanma Barranquero <lekktu@gmail.com>
9974
9975 * profiler.el (profiler-format-number): Use log, not log10.
9976
1493c2af
JB
99772013-06-20 Juanma Barranquero <lekktu@gmail.com>
9978
9979 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9980
aff6371e
SM
99812013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9984 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9985 yet available.
9986 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9987 (AUTOGENEL): ... here.
9988 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9989 (cl--defsubst-expand): Use it.
9990
89561f72
PE
99912013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9992
9993 * subr.el (log10): Move here from C code, and declare as obsolete.
9994 All uses of (log10 X) replaced with (log X 10).
9995
47199123
JB
99962013-06-20 Juanma Barranquero <lekktu@gmail.com>
9997
9998 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9999 Declare with `defvar-local'.
10000 (tabulated-list-use-header-line, tabulated-list-entries)
10001 (tabulated-list-padding, tabulated-list-printer)
10002 (tabulated-list-sort-key): Declare with `defvar-local'.
10003 (tabulated-list-init-header, tabulated-list-print-fake-header):
10004 Use `setq-local'.
10005
4a172eab
MA
100062013-06-20 Michael Albinus <michael.albinus@gmx.de>
10007
47199123
JB
10008 * arc-mode.el (archive-mode): Add `archive-write-file' to
10009 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10010
5fc0acc0
JB
100112013-06-20 Juanma Barranquero <lekktu@gmail.com>
10012
d5b27848
JB
10013 * cus-edit.el (custom-commands): Fix typos.
10014 (custom-display): Fix tooltip text.
10015 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10016 Fix typos in docstrings.
10017 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10018 (custom-unlispify-menu-entry, custom-magic-value-create)
10019 (custom-add-see-also, custom-group-value-create): Use ?\s.
10020 (custom-guess-type, customize-apropos, editable-field)
10021 (custom-face-value-create): Use `string-match-p'.
10022 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10023
10024 * custom.el (custom-load-symbol): Use `string-match-p'.
10025
a5c581d8
JB
10026 * ansi-color.el: Convert to lexical binding.
10027 (ansi-colors): Fix URL.
10028 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10029 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10030 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10031
970ad972
G
100322013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10033
10034 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10035
10036 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10037
100382013-06-19 Tom Tromey <tromey@redhat.com>
10039
10040 * net/eww.el (eww-top-url): Remove.
10041 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10042 (eww-render): Set new variables. Don't set eww-top-url.
10043 (eww-handle-link): Handle "prev", "home", and "contents".
10044 Downcase the rel text.
10045 (eww-top-url): Choose best top URL.
10046
100472013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10048
10049 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10050 relying in widget.el. Using widget.el leads to too many
10051 user interface inconsistencies.
10052 (eww-self-insert): Implement entering commands in text fields.
10053 (eww-process-text-input): New function to make text input field editing
10054 work.
10055 (eww-submit): Rewrite to use the new-style form methods.
10056 (eww-select-display): Display the correct selected item.
10057 (eww-change-select): Implement changing the select value.
10058 (eww-toggle-checkbox): Implement radio/checkboxes.
10059 (eww-update-field): Fix compilation error.
10060 (eww-tag-textarea): Implement <textarea>.
10061
10062 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10063 we don't shadow mode-specific bindings.
10064
10065 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10066 nothing to push.
10067
10068 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10069
4582a01c 100702013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10071
10072 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10073
15b263dc
MA
100742013-06-19 Michael Albinus <michael.albinus@gmx.de>
10075
10076 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10077 not needed.
10078
10079 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10080
8f5297f7
LMI
100812013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10082
10083 * net/browse-url.el (browse-url-browser-function):
10084 `eww-browse-url' has the right calling signature, `eww' does not.
10085
011c4552
GM
100862013-06-19 Glenn Morris <rgm@gnu.org>
10087
2285bd27
GM
10088 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10089 Only eval autoloaded macros.
10090 (byte-compile-autoload): Only give the macro warning for macros.
10091
1d653303
GM
10092 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10093 (ps-underlined-faces): Declare.
10094
bdd779ec
GM
10095 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10096 (speedbar-add-supported-extension): Declare.
10097
011c4552
GM
10098 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10099 Don't include a date stamp in the header of the generated file;
10100 it leads to needless differences between output files.
10101
e59dfb0e
MA
101022013-06-19 Michael Albinus <michael.albinus@gmx.de>
10103
c763842b
SM
10104 * net/secrets.el (secrets-struct-secret-content-type):
10105 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10106 Some servers do not offer introspection.
e59dfb0e 10107
102626e2
SM
101082013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * electric.el (electric-pair-mode): Improve interaction with
10111 electric-layout-mode.
10112 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10113 (electric-pair-syntax): Use text-mode-syntax-table in comments
10114 and strings.
10115 (electric-pair--insert): New function.
10116 (electric-pair-post-self-insert-function): Use it and
10117 electric--after-char-pos.
10118
ad528125
LL
101192013-06-19 Leo Liu <sdl.web@gmail.com>
10120
10121 * progmodes/octave.el (octave-help): Fix regexp.
10122
924d6997
G
101232013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10124
10125 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10126 (shr-table-horizontal-line): Allow nil as a value, and change the
10127 default.
10128 (shr-insert-table-ruler): Respect the nil value.
10129
101302013-06-18 Tom Tromey <tromey@barimba>
10131
10132 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10133 New defvars.
10134 (eww-open-file): New defun.
10135 (eww-render): Initialize new variables.
10136 (eww-display-html): Handle "link" and "a".
10137 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10138 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10139 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10140 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10141 New defuns.
924d6997 10142
d1bbba4f
DG
101432013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10144
10145 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10146 Distinguish ternary operator tokens from slash symbol and slash
10147 char literal.
10148
14dd22d2
JB
101492013-06-18 Juanma Barranquero <lekktu@gmail.com>
10150
10151 Convert symbol prettification into minor mode and global minor mode.
10152
10153 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10154 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10155 (prettify-symbols--keywords): Rename from
10156 `prog-prettify-symbols-alist' and make a local defvar.
10157 (prettify-symbols--compose-symbol): Rename from
10158 `prog--prettify-font-lock-compose-symbol'.
10159 (prettify-symbols--make-keywords): Rename from
10160 `prog-prettify-font-lock-symbols-keywords' and simplify.
10161 (prog-prettify-install): Remove.
10162 (prettify-symbols-mode): New minor mode, based on
10163 `prog-prettify-install'.
10164 (turn-on-prettify-symbols-mode): New function.
10165 (global-prettify-symbols-mode): New globalized minor mode.
10166
10167 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10168 * progmodes/cfengine.el (cfengine3-mode):
10169 * progmodes/perl-mode.el (perl-mode): Don't call
10170 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10171
292c880c
JL
101722013-06-18 Juri Linkov <juri@jurta.org>
10173
10174 * files-x.el (modify-file-local-variable-message): New function.
10175 (modify-file-local-variable)
10176 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10177 and call `modify-file-local-variable-message' when it's non-nil.
10178 (add-file-local-variable, delete-file-local-variable)
10179 (add-file-local-variable-prop-line)
10180 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10181 and use it. (Bug#9820)
10182
0950aa27
JL
101832013-06-18 Juri Linkov <juri@jurta.org>
10184
10185 * emulation/vi.el (vi-shell-op):
10186 * emulation/vip.el (vip-execute-com, ex-command):
10187 * emulation/viper-cmd.el (viper-exec-bang):
10188 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10189 the call of `shell-command-on-region'. (Bug#14637)
10190
10191 * simple.el (shell-command-on-region): Doc fix.
10192
8fbcca16
SM
101932013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10196 (bug#14633).
10197
dd7426ea
GM
101982013-06-18 Glenn Morris <rgm@gnu.org>
10199
4ba54f7d
GM
10200 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10201
dd7426ea
GM
10202 * newcomment.el (comment-search-forward, comment-search-backward):
10203 Doc fix. (Bug#14376)
10204
58aa805b
JB
102052013-06-18 Juanma Barranquero <lekktu@gmail.com>
10206
10207 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10208 (buffer-face-mode-invoke): Doc fix.
10209
9a08a617
MM
102102013-06-18 Matthias Meulien <orontee@gmail.com>
10211
10212 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10213 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10214
f2f426ca
GM
102152013-06-18 Glenn Morris <rgm@gnu.org>
10216
9445f99b
GM
10217 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10218 Replace obsolete function generic-make-keywords with its expansion.
10219
e0df2d14
GM
10220 * progmodes/python.el (ffap-alist): Declare.
10221
f2f426ca
GM
10222 * textmodes/reftex.el (bibtex-mode-map): Declare.
10223
f7f9a720
SM
102242013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10227 (package-unpack, package-unpack-single): Return the pkg-dir.
10228 (package-download-transaction): Use it to update package-alist.
10229
57ff04e0
LMI
102302013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10231
10232 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10233 possible choice.
10234
c048c022
JL
102352013-06-17 Juri Linkov <juri@jurta.org>
10236
10237 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10238
b5bcaee5
DG
102392013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10240
a020afb9
JB
10241 * emacs-lisp/package.el (package-load-descriptor):
10242 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10243 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10244
551e07e5
JB
102452013-06-17 Juanma Barranquero <lekktu@gmail.com>
10246
10247 * startup.el (command-line): Expand package name returned by
10248 `package--description-file' (bug#14639).
10249
d363bffb
DG
102502013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10251
10252 * emacs-lisp/package.el (package-load-descriptor): Do not call
10253 `emacs-lisp-mode', just use its syntax table.
10254
f612933b
JB
102552013-06-17 Juanma Barranquero <lekktu@gmail.com>
10256
10257 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10258 `font-lock-extra-managed-props' if any prettifying keyword is added.
10259 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10260 (prog-mode): Use `setq-local'.
10261
db3b7db5
SM
102622013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10263
10264 * international/characters.el (standard-case-table): Set syntax of ?»
10265 and ?« to punctuation.
10266
f3d674df
JB
102672013-06-16 Juanma Barranquero <lekktu@gmail.com>
10268
10269 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10270 Save relevant match data before calling `syntax-ppss' (bug#14595).
10271
31489a32
JL
102722013-06-15 Juri Linkov <juri@jurta.org>
10273
10274 * files-x.el (modify-file-local-variable-prop-line): Add local
10275 variables to the end of the existing comment on the first line.
10276 Use `file-auto-mode-skip' to skip interpreter magic line,
10277 and also skip XML declaration.
10278
66bd25ab
SM
102792013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * startup.el (package--builtin-versions): New var.
10282 (package-subdirectory-regexp): Remove.
10283 (package--description-file): Hard code its value instead.
10284
10285 * emacs-lisp/package.el: Don't activate packages older than builtin.
10286 (package-obsolete-list): Rename from package-obsolete-alist, and make
10287 it into a simple list of package-desc.
10288 (package-strip-version): Remove.
10289 (package-built-in-p): Use package--builtin-versions.
10290 (package-mark-obsolete): Simplify.
10291 (package-process-define-package): Mark it obsolete if older than the
10292 builtin version.
10293 (package-handle-response): Use line-end-position.
10294 (package-read-archive-contents, package--download-one-archive):
10295 Simplify.
10296 (package--add-to-archive-contents): Skip if older than the builtin or
10297 installed version.
10298 (package-menu-describe-package): Fix last change.
10299 (package-list-unversioned): New var.
10300 (package-menu--generate): Use it.
10301
10302 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10303 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10304 (autoload-builtin-package-versions): New variable.
10305 (autoload-generate-file-autoloads): Use them.
10306 Remove the list of autoloaded functions/macros from the
10307 (autoload...) comments.
10308
10309 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10310
9583ec36
EZ
103112013-06-15 Eli Zaretskii <eliz@gnu.org>
10312
10313 * simple.el (line-move-partial): Don't jump to the next screen
10314 line as soon as it becomes visible. Instead, continue enlarging
10315 the vscroll until the portion of a tall screen line that's left on
10316 display is about the height of the frame's default font.
10317 (Bug#14567)
10318
f0100d8a
GM
103192013-06-15 Glenn Morris <rgm@gnu.org>
10320
b86a85ca
GM
10321 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10322 compilation-error-regexp-alist void, or local while let-bound.
10323
f0100d8a
GM
10324 * progmodes/make-mode.el (makefile-mode-syntax-table):
10325 Treat "=" as punctuation. (Bug#14614)
10326
05e7ce90
JB
103272013-06-15 Juanma Barranquero <lekktu@gmail.com>
10328
10329 * help-fns.el (describe-variable):
10330 Add extra line for permanent-local variables.
10331
12e5e86e
SH
103322013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10333
10334 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10335 Add export, import, library. (Bug#9164)
10336 (library): Set indent function.
10337
230dcbaf
GM
103382013-06-14 Glenn Morris <rgm@gnu.org>
10339
10340 * term/xterm.el (xterm--query):
10341 Stop after first matching handler. (Bug#14615)
10342
e36b2d20 103432013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10344
10345 Add support for dired in saveplace.
10346 * dired.el (dired-initial-position-hook): New variable.
10347 (dired-initial-position): Call hook to place cursor position.
10348 * saveplace.el (save-place-to-alist): Add dired position.
10349 (save-place-dired-hook): New function.
10350
0b31660d
SM
103512013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10352
bf1e6ae8
SM
10353 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10354 through a symbol rather than letrec.
10355
1b8dff23
SM
10356 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10357 (package-desc): Add `dir' field.
10358 (package-desc-full-name): New function.
10359 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10360 (package-maybe-load-descriptor): Remove.
10361 (package-load-all-descriptors): Just call package-load-descriptor.
10362 (package--disabled-p): New function.
10363 (package-desc-vers, package-desc-doc): Remove aliases.
10364 (package--dir): Remove function.
10365 (package-activate): Check if a package is disabled.
10366 (package-process-define-package): New function, extracted from
10367 define-package.
10368 (define-package): Turn into a place holder.
10369 (package-unpack-single, package-tar-file-info):
10370 Use package--description-file.
10371 (package-compute-transaction): Use package--disabled-p.
10372 (package-download-transaction): Don't call
10373 package-maybe-load-descriptor since they're all loaded anyway.
10374 (package-install): Change argument to be a pkg-desc.
10375 (package-delete): Use a single pkg-desc argument.
10376 (describe-package-1): Use package-desc-dir instead of package--dir.
10377 Use package-desc property instead of package-symbol.
10378 (package-install-button-action): Adjust accordingly.
10379 (package--push): Rewrite.
10380 (package-menu--print-info): Adjust accordingly. Change the ID format
10381 to be a pkg-desc.
10382 (package-menu-describe-package, package-menu-get-status)
10383 (package-menu--find-upgrades, package-menu-mark-upgrades)
10384 (package-menu-execute, package-menu--name-predicate):
10385 Adjust accordingly.
10386 * startup.el (package--description-file): New function.
10387 (command-line): Use it.
10388 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10389 Use package-desc-version.
10390
0b31660d
SM
10391 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10392 (byte-compile-preprocess): Use it.
10393 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10394 can't quite recognize.
10395 (byte-compile-add-to-list): Remove.
10396 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10397 (cconv-closure-convert): Add assertion.
10398
10399 * emacs-lisp/map-ynp.el: Use lexical-binding.
10400 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10401 Factor out some repeated code.
10402
de0503df
SM
104032013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * subr.el (with-eval-after-load): New macro.
10406 (eval-after-load): Allow form to be a function.
10407 take advantage of lexical-binding.
10408 (do-after-load-evaluation): Use dolist and adjust to new format.
10409 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10410
bc5c8c5a
JL
104112013-06-13 Juri Linkov <juri@jurta.org>
10412
10413 * replace.el (perform-replace): Display "symbol " and other search
10414 modes from `isearch-message-prefix' in the *Help* buffer.
10415
10416 * isearch.el (isearch-query-replace): Add " symbol" and other
10417 possible search modes from `isearch-message-prefix' to the prompt.
10418 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10419 when reading a regexp to collect.
10420
a22289f7
JL
104212013-06-13 Juri Linkov <juri@jurta.org>
10422
10423 * isearch.el (word-search-regexp): Match whitespace if the search
10424 string begins or ends in whitespace. The LAX arg is applied to
10425 both ends of the search string. Use `regexp-quote' and explicit
10426 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10427 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10428 boundaries are replaced with symbol boundaries, and characters
10429 between symbols match non-word non-symbol syntax. (Bug#14602)
10430
cb89acab
JL
104312013-06-13 Juri Linkov <juri@jurta.org>
10432
10433 * isearch.el (isearch-del-char): Don't exceed the length of
10434 `isearch-string' by the prefix arg. (Bug#14563)
10435
6e8cfc81
JL
104362013-06-13 Juri Linkov <juri@jurta.org>
10437
10438 * isearch.el (isearch-yank-word, isearch-yank-line)
10439 (isearch-char-by-name, isearch-quote-char)
10440 (isearch-printing-char, isearch-process-search-char):
10441 Add optional count prefix arg. (Bug#14563)
10442
10443 * international/isearch-x.el
10444 (isearch-process-search-multibyte-characters):
10445 Add optional count prefix arg.
10446
c23d55f4
VS
104472013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10448
10449 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10450 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10451 lexical-binding.
10452
104532013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10454
10455 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10456
ba947bc4
GM
104572013-06-13 Glenn Morris <rgm@gnu.org>
10458
8baeb37a
GM
10459 * startup.el (tty-handle-args):
10460 Don't just discard "--" and anything after. (Bug#14608)
10461
ba947bc4
GM
10462 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10463
9abefce4
MA
104642013-06-13 Michael Albinus <michael.albinus@gmx.de>
10465
10466 Implement changes in Secret Service API. Make it backward compatible.
10467 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10468 (secrets-create-item): Use it. Prefix properties with interface.
10469
5755011f
MH
104702013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10471
10472 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10473 (term-emulate-terminal): Respect term-suppress-hard-newline.
10474
1261d2da
S
104752013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10476
10477 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10478 Only remove a `thumb-file' overlay. (Bug#14548)
10479
868490bb
GJ
104802013-06-12 Grégoire Jadi <daimrod@gmail.com>
10481
10482 * mail/reporter.el (reporter-submit-bug-report):
10483 Handle missing package-name. (Bug#14600)
10484
79d7167f
TH
104852013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10486
10487 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10488 (reftex-citation-prompt, reftex-default-bibliography)
10489 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10490 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10491 (reftex-bib-sort-author, reftex-bib-sort-year)
10492 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10493 (reftex-extract-bib-entries-from-thebibliography)
10494 (reftex-get-bibkey-default, reftex-get-bib-names)
10495 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10496 (reftex-format-bib-entry, reftex-parse-bibitem)
10497 (reftex-format-bibitem, reftex-do-citation)
10498 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10499 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10500 (reftex-insert-bib-matches, reftex-format-citation)
10501 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10502 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10503 existing comments into docstrings.
10504
5f9dbd7a
XF
105052013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10506
10507 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10508
94df41ab
AS
105092013-06-12 Andreas Schwab <schwab@suse.de>
10510
10511 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10512 for auto-save files.
10513
a7f3fecc
GM
105142013-06-12 Glenn Morris <rgm@gnu.org>
10515
001809f6
GM
10516 * ido.el (ido-delete-ignored-files): Remove.
10517 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10518 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10519
834b5ded
EL
105202013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10521
08c73ed2
EL
10522 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10523
834b5ded
EL
10524 * ido.el (ido-delete-ignored-files): New function,
10525 split from ido-make-file-list-1.
10526 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10527 (ido-make-file-list-1): Use ido-delete-ignored-files.
10528
daabf15a
LL
105292013-06-12 Leo Liu <sdl.web@gmail.com>
10530
10531 * progmodes/octave.el (inferior-octave-startup)
10532 (inferior-octave-completion-table)
10533 (inferior-octave-track-window-width-change)
10534 (octave-eldoc-function-signatures, octave-help)
10535 (octave-find-definition): Use single quoted strings.
10536 (inferior-octave-startup-args): Change default value.
10537 (inferior-octave-startup): Do not hard code "-i" and
10538 "--no-line-editing".
10539 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10540 (inferior-octave-directory-tracker): Use it.
10541 (octave-goto-function-definition): Robustify.
10542 (octave-help): Support highlighting operators in 'See also'.
10543 (octave-find-definition): Find subfunctions only in Octave mode.
10544
cf4e5178
SM
105452013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10546
10547 * help-fns.el (help-fns--compiler-macro): If the handler function is
10548 named, then put a link to it.
10549 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10550 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10551 (cl-typep): Use it.
10552 (cl-eval-when): Simplify debug spec.
10553 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10554 compiler-macro function instead of setting `compiler-macro-file'.
10555
99c81280 105562013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10557
10558 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10559 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10560
f56be016
SM
105612013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10562 Daniel Hackney <dan@haxney.org>
10563
10564 First part of Daniel Hackney's patch to package.el.
10565 * emacs-lisp/package.el: Use defstruct.
10566 (package-desc): New, main struct.
10567 (package--bi-desc, package--ac-desc): New structs, used to describe the
10568 format in external files.
10569 (package-desc-vers): Replace with package-desc-version accessor.
10570 (package-desc-doc): Replace with package-desc-summary accessor.
10571 (package-activate-1): Remove `package' arg since the pkg-vec now
10572 includes the name.
10573 (define-package): Use package-desc-from-define.
10574 (package-unpack-single): Change file-name arg to be a symbol.
10575 (package--add-to-archive-contents): Use package-desc-create and new
10576 accessor functions to package--ac-desc.
10577 (package-buffer-info, package-tar-file-info): Return a package-desc.
10578 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10579 arg to be a package-desc.
10580 (package-install-file): Adjust accordingly. Use \' to match EOS.
10581 (package--from-builtin): New function.
10582 (describe-package-1, package-menu--generate): Use it.
10583 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10584 (package-generate-autoloads): Idem and return the name of the file.
10585 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10586 Change pkg-info arg to be a package-desc.
10587 Use package-make-ac-desc.
10588 (package-upload-file): Use \' to match EOS.
10589 * finder.el (finder-compile-keywords): Use package-make-builtin.
10590
31119d63
SM
105912013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10592
931a2762
SM
10593 * vc/vc.el (vc-deduce-fileset): Change error message.
10594 (vc-read-backend): New function.
10595 (vc-next-action): Use it.
10596
5a3eb0c6
SM
10597 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10598
e3eb1bb7
SM
10599 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10600 (prolog-font-lock-keywords): Use regexp-opt instead.
10601 Don't manually highlight strings.
10602 (prolog-mode-variables): Simplify comment-start-skip.
10603 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10604
31119d63
SM
10605 * emacs-lisp/generic.el (generic--normalise-comments)
10606 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10607 (generic-mode-set-comments): Use them.
10608 (generic-bracket-support): Use setq-local.
10609 (generic-make-keywords-list): Declare obsolete.
10610
7de135d0
GM
106112013-06-11 Glenn Morris <rgm@gnu.org>
10612
10613 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10614 Prettify after setting font-lock-defaults. (Bug#14574)
10615
fa6bc6fd
JB
106162013-06-11 Juanma Barranquero <lekktu@gmail.com>
10617
10618 * replace.el (query-replace, occur-read-regexp-defaults-function)
10619 (replace-search):
10620 * subr.el (declare-function, number-sequence, local-set-key)
10621 (substitute-key-definition, locate-user-emacs-file)
10622 (with-silent-modifications, split-string, eval-after-load):
10623 Fix typos, remove unneeded backslashes and reflow some docstrings.
10624
cf1f9b9a
SM
106252013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10626
10627 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10628 default for Elisp files.
10629
56602a4b
GM
106302013-06-11 Glenn Morris <rgm@gnu.org>
10631
10632 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10633 although define-derived-mode was doing this anyway. (Bug#14583)
10634
30ae0b2c
JB
106352013-06-10 Juanma Barranquero <lekktu@gmail.com>
10636
10637 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10638 Fix make-variable-buffer-local call to refer to the correct variable.
10639
fa472906
AG
106402013-06-10 Aidan Gauland <aidalgol@amuri.net>
10641
10642 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10643 (eshell-visual-subcommands, eshell-visual-options):
10644 Add summary line to docstrings. Add cross-references.
fa472906 10645
ff4871b9
GM
106462013-06-10 Glenn Morris <rgm@gnu.org>
10647
10648 * epa.el (epa-read-file-name): New function. (Bug#14510)
10649 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10650
04fcf1b0
AG
106512013-06-09 Aidan Gauland <aidalgol@amuri.net>
10652
10653 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10654 output redirection to be ignored with visual commands.
10655
88b00caa
AG
106562013-06-09 Aidan Gauland <aidalgol@amuri.net>
10657
10658 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10659 (eshell-term-initialize): Move long lambda to separate function
10660 eshell-visual-command-p.
27821a89 10661 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
10662 * eshell/em-script.el (eshell-script-initialize):
10663 Add missing #' to lambda.
88b00caa 10664
fda74125
LL
106652013-06-08 Leo Liu <sdl.web@gmail.com>
10666
10667 * progmodes/octave.el (octave-add-log-current-defun): New function.
10668 (octave-mode): Set add-log-current-defun-function.
10669 (octave-goto-function-definition): Do not move point if not found.
10670 (octave-find-definition): Enhance to try subfunctions first.
10671
467f3b33
GM
106722013-06-08 Glenn Morris <rgm@gnu.org>
10673
10674 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10675 (byte-compile-backward-char, byte-compile-backward-word):
10676 Improve previous change, to handle non-explicit nil.
10677
544badc3
SM
106782013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10681 (smie--opener/closer-at-point): New function.
10682 (smie--matching-block-data): Use it. Don't match from right after an
10683 opener or right before a closer. Obey smie-blink-matching-inners.
10684 Don't signal a mismatch for repeated inners like "switch..case..case".
10685
a175bf33
LL
106862013-06-07 Leo Liu <sdl.web@gmail.com>
10687
10688 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10689 to t. (Bug#14303)
ce8209d4
LL
10690 (octave-function-header-regexp): Fix. (Bug#14570)
10691 (octave-help-mode-finish-hook, octave-help-mode-finish):
10692 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10693
10694 * newcomment.el (comment-search-backward): Revert last change.
10695 (Bug#14434)
10696
10697 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10698
a822acff
EZ
106992013-06-07 Eli Zaretskii <eliz@gnu.org>
10700
10701 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10702 through xargs, to avoid failure due to MS-Windows limitations on
10703 command-line length.
10704
961166f5
GM
107052013-06-06 Glenn Morris <rgm@gnu.org>
10706
d0341459
GM
10707 * font-lock.el (lisp-font-lock-keywords-2):
10708 Treat user-error like error.
10709
961166f5
GM
10710 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10711 (byte-compile-backward-char, byte-compile-backward-word):
10712 Handle explicit nil arguments. (Bug#14565)
10713
80fa505f
AM
107142013-06-05 Alan Mackenzie <acm@muc.de>
10715
10716 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10717 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10718 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10719 (Bug#9706)
80fa505f 10720
fccdc796
SM
107212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * autorevert.el (auto-revert-notify-handler): Use memq.
10724 Hide assertion failure.
10725
10726 * skeleton.el: Use cl-lib.
10727 (skeleton-further-elements): Use defvar-local.
10728 (skeleton-insert): Use cl-progv.
10729
9bfff84b
TZ
107302013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10731
10732 * progmodes/prog-mode.el (prog-prettify-symbols)
10733 (prog-prettify-install): Update docstrings.
10734
55577e7c
SM
107352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10736
10737 * simple.el: Move all the prog-mode code to prog-mode.el.
10738 * progmodes/prog-mode.el: New file.
10739 * loadup.el: Add prog-mode.el.
10740
8fc57765
TZ
107412013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10742
10743 * simple.el (prog-prettify-symbols): Add version.
10744 (prog-prettify-install): Add convenience function to prettify symbols.
10745
10746 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10747 (perl--augmented-font-lock-keywords-1)
10748 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10749 variables and use it.
10750
10751 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10752 (cfengine3-mode): Remove unneeded variable and use it.
10753
10754 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10755 (lisp--augmented-font-lock-keywords-1)
10756 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10757 Remove unneeded variables and use it.
10758
650645d5 107592013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10760
10761 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10762 to point when opening the connection. (Bug#14380)
28f5da6d 10763
781b4af6
SM
107642013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10765
10766 * subr.el (load-history-regexp, load-history-filename-element)
10767 (eval-after-load, after-load-functions, do-after-load-evaluation)
10768 (eval-next-after-load, display-delayed-warnings)
10769 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10770 definition of save-match-data.
10771 (overriding-local-map): Remove accidental obsolescence declaration.
10772
10773 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10774
3ca0d0b4
TZ
107752013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10776
10777 Generalize symbol prettify support to prog-mode and implement it
10778 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10779 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10780 (prog--prettify-font-lock-compose-symbol)
10781 (prog-prettify-font-lock-symbols-keywords): New variables and
10782 functions to support symbol prettification.
10783 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10784 (lisp--augmented-font-lock-keywords-1)
10785 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10786 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10787 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
10788 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10789 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
10790 * progmodes/perl-mode.el (perl-prettify-symbols)
10791 (perl--font-lock-compose-symbol)
10792 (perl--font-lock-symbols-keywords): Move to prog-mode.
10793 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10794 (perl-font-lock-keywords-1)
10795 (perl-font-lock-keywords-2): Remove explicit prettify support.
10796 (perl--augmented-font-lock-keywords)
10797 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
10798 (perl--augmented-font-lock-keywords-2, perl-mode):
10799 Implement prettify support.
3ca0d0b4 10800
976cb066
LL
108012013-06-05 Leo Liu <sdl.web@gmail.com>
10802
27821a89 10803 Re-implement SMIE matching block highlight using
976cb066
LL
10804 show-paren-data-function. (Bug#14395)
10805 * emacs-lisp/smie.el (smie-matching-block-highlight)
10806 (smie--highlight-matching-block-overlay)
10807 (smie--highlight-matching-block-lastpos)
10808 (smie-highlight-matching-block)
10809 (smie-highlight-matching-block-mode): Remove.
10810 (smie--matching-block-data-cache): New variable.
10811 (smie--matching-block-data): New function.
10812 (smie-setup): Use smie--matching-block-data for
10813 show-paren-data-function.
10814
10815 * progmodes/octave.el (octave-mode-menu): Fix.
10816 (octave-find-definition): Skip garbage lines.
10817
208d0342
SM
108182013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10819
10820 Fix compilation error with simultaneous dynamic+lexical scoping.
10821 Add warning when a defvar appears after the first let-binding.
10822 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10823 (byte-compile-close-variables): Initialize it.
10824 (byte-compile--declare-var): New function.
10825 (byte-compile-file-form-defvar)
10826 (byte-compile-file-form-define-abbrev-table)
10827 (byte-compile-file-form-custom-declare-variable): Use it.
10828 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10829 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10830 (byte-compile-bind): Handle dynamic bindings that shadow
10831 lexical bindings.
10832 (byte-compile-unbind): Make arg non-optional.
10833 (byte-compile-let): Simplify.
10834 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10835 (cconv--analyse-function, cconv-analyse-form): Populate it.
10836 Protect byte-compile-bound-variables to limit the scope of defvars.
10837 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10838 Remove unneeded rule for `declare'.
10839
10840 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10841 so as to avoid depending on cl-adjoin at run-time.
10842 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10843
10844 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10845 (macroexp--warn-and-return): Use it.
10846
1ac2891e
GM
108472013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10848
a12bf61e 10849 * subr.el: Convert to lexical binding.
1ac2891e
GM
10850 (overriding-local-map): Make obsolete.
10851 (add-to-list): Doc fix. Add compiler macro.
10852 (read-key): Swap values of local maps.
10853
2587b005
LL
108542013-06-05 Leo Liu <sdl.web@gmail.com>
10855
10856 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10857
f1da3c88
LL
108582013-06-04 Leo Liu <sdl.web@gmail.com>
10859
10860 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10861 (compilation-auto-jump): Suppress the "Mark set" message to give
10862 way to exit message.
10863
3caa391f
AM
108642013-06-04 Alan Mackenzie <acm@muc.de>
10865
10866 Remove faulty optimisation from indentation calculation.
10867 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10868 search limit based on 2000 characters back from indent-point.
10869
068922a2
TH
108702013-06-03 Tassilo Horn <tsdh@gnu.org>
10871
10872 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10873
1f8fdd53
SM
108742013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10875
bbcc4d97
SM
10876 * emacs-lisp/lisp.el: Use lexical-binding.
10877 (lisp--local-variables-1, lisp--local-variables): New functions.
10878 (lisp--local-variables-completion-table): New var.
208d0342 10879 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10880
1f8fdd53
SM
10881 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10882 eagerly (bug#14422).
10883
c9628c79
MA
108842013-06-03 Michael Albinus <michael.albinus@gmx.de>
10885
10886 * autorevert.el (auto-revert-notify-enabled)
10887 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10888 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10889 (auto-revert-notify-handler): Handle also gfilenotify.
10890
e7b41c4c 10891 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10892 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10893 Remove.
c9628c79 10894
e5e4a942
JL
108952013-06-03 Juri Linkov <juri@jurta.org>
10896
10897 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10898 `M-s h .'. (Bug#14427)
10899
10900 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10901 command `hi-lock-face-symbol-at-point'.
10902 (hi-lock-face-symbol-at-point): New command.
10903 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10904 (hi-lock-menu): Add `highlight-symbol-at-point'.
10905 (hi-lock-mode): Doc fix.
10906
10907 * isearch.el (isearch-forward-symbol-at-point): New command.
10908 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10909 (isearch-highlight-regexp): Add a regexp which matches
10910 words/symbols for word/symbol mode.
10911
10912 * subr.el (find-tag-default-bounds): New function with the body
10913 mostly moved from `find-tag-default'.
10914 (find-tag-default): Move most code to `find-tag-default-bounds',
10915 call it and apply `buffer-substring-no-properties' afterwards.
10916
26b3353a
TH
109172013-06-03 Tassilo Horn <tsdh@gnu.org>
10918
781b4af6
SM
10919 * eshell/em-term.el (eshell-term-initialize):
10920 Use `cl-intersection' rather than `intersection'.
26b3353a 10921
51b60f53
XF
109222013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10923
fe054b63 10924 * vc/log-view.el: Doc fix.
d3ffe17c 10925 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10926
a0eb10b3 109272013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10928
10929 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10930 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10931 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10932 (eieio-unbound, eieio-default-superclass)
10933 (eieio--define-field-accessors, method-static, method-before)
10934 (method-primary, method-after, method-num-lists)
10935 (method-generic-before, method-generic-primary)
10936 (method-generic-after, method-num-slots)
10937 (eieio-specialized-key-to-generic-key)
10938 (eieio--check-type, class-v, class-p)
10939 (eieio-class-name, define-obsolete-function-alias)
10940 (eieio-class-parents-fast, eieio-class-children-fast)
10941 (same-class-fast-p, class-constructor, generic-p)
10942 (generic-primary-only-p, generic-primary-only-one-p)
10943 (class-option-assoc, class-option, eieio-object-p)
10944 (class-abstract-p, class-method-invocation-order)
10945 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10946 (eieio-class-un-autoload, eieio-defclass)
10947 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10948 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10949 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10950 (eieio-defgeneric-reset-generic-form)
10951 (eieio-defgeneric-form-primary-only)
10952 (eieio-defgeneric-reset-generic-form-primary-only)
10953 (eieio-defgeneric-form-primary-only-one)
10954 (eieio-defgeneric-reset-generic-form-primary-only-one)
10955 (eieio-unbind-method-implementations)
10956 (eieio--defmethod, eieio--typep)
10957 (eieio-perform-slot-validation, eieio-validate-slot-value)
10958 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10959 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10960 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10961 (eieio-slot-name-index, eieio-class-slot-name-index)
10962 (eieio-set-defaults, eieio-initarg-to-attribute)
10963 (eieio-attribute-to-initarg, eieio-c3-candidate)
10964 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10965 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10966 (eieio-class-precedence-list, eieio-generic-call-methodname)
10967 (eieio-generic-call-arglst, eieio-generic-call-key)
10968 (eieio-generic-call-next-method-list)
10969 (eieio-pre-method-execution-functions, eieio-generic-call)
10970 (eieio-generic-call-primary-only, eieiomt-method-list)
10971 (eieiomt-optimizing-obarray, eieiomt-install)
10972 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10973 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10974 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10975 (defclass): Remove `eval-and-compile' from macro.
10976 (call-next-method, shared-initialize): Instead of using
10977 `scoped-class' variable, use new eieio--scoped-class, and
10978 eieio--with-scoped-class.
10979 (initialize-instance): Rename local variable 'scoped-class' to
10980 'this-class' to remove ambiguitity from old global.
10981
10982 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10983 eieio.el.
4f405069
JB
10984 (eieio--scoped-class-stack): New variable.
10985 (eieio--scoped-class): New fcn.
890f7890
DE
10986 (eieio--with-scoped-class): New scoping macro.
10987 (eieio-defclass): Use pushnew instead of add-to-list.
10988 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10989 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10990 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10991 `scoped-class' variable, use new eieio--scoped-class, and
10992 eieio--with-scoped-class.
10993
10994 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10995
d105b0e2
TH
109962013-06-02 Tassilo Horn <tsdh@gnu.org>
10997
10998 * eshell/esh-ext.el (eshell-external-command): Pass args to
10999 `eshell-find-interpreter'.
11000 (eshell-find-interpreter): Add new second parameter ARGS.
11001
11002 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11003 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11004
11005 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11006 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11007
11008 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11009 (eshell-visual-options): New defcustom.
11010 (eshell-escape-control-x): Adapt docstring.
11011 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11012 `eshell-visual-options' in addition to `eshell-visual-commands'.
11013 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11014
f46305c8 110152013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11016
11017 * progmodes/python.el (python-indent-block-enders): Add break,
11018 continue and raise keywords.
11019
d870df21
GM
110202013-06-01 Glenn Morris <rgm@gnu.org>
11021
9133b82e
GM
11022 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11023
02c992ec 11024 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11025 * progmodes/cc-cmds.el (delete-forward-p):
11026 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11027 * progmodes/cc-engine.el (buffer-syntactic-context):
11028 * progmodes/cc-fonts.el (face-property-instance):
11029 * progmodes/cc-mode.el (set-keymap-parents):
11030 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11031 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11032 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11033 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11034 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11035
31e7b090
GM
11036 * progmodes/cc-vars.el (other): Emacs has this widget since
11037 at least 21.1, so don't (re)define it.
11038
d870df21
GM
11039 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11040 Replace the obsolete alias pcomplete-arg-quote-list.
11041
c75c93c7
LL
110422013-06-01 Leo Liu <sdl.web@gmail.com>
11043
11044 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11045 punctuation syntax.
11046 (inferior-octave-minimal-columns)
11047 (inferior-octave-last-column-width): New variables.
11048 (inferior-octave-track-window-width-change): New function.
11049 (inferior-octave-mode): Adjust column width so that Octave output,
11050 for example from 'ls', can fit into the window nicely.
11051
973d1e12
DG
110522013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11053
11054 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11055 Highlight expansions inside regexp literals.
11056
0888c286
GM
110572013-05-31 Glenn Morris <rgm@gnu.org>
11058
e26aac1f
GM
11059 * obsolete/sym-comp.el (symbol-complete):
11060 Replace obsolete completion-annotate-function.
11061
0888c286
GM
11062 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11063
19bb8e62
DG
110642013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11065
781b4af6
SM
11066 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11067 New function, checks if point is inside a literal that allows
19bb8e62
DG
11068 expression expansion.
11069 (ruby-syntax-propertize-expansion): Use it.
11070 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11071 around the body.
11072
01dea85f
JL
110732013-05-30 Juri Linkov <juri@jurta.org>
11074
11075 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11076 to "\M-si".
11077 (isearch-invisible): New variable.
11078 (isearch-forward): Doc fix.
11079 (isearch-mode): Set `isearch-invisible'
11080 to the value of `search-invisible'.
11081 (isearch-toggle-case-fold): Doc fix.
11082 (isearch-toggle-invisible): New command.
11083 (isearch-query-replace): Let-bind `search-invisible'
11084 to the value of `isearch-invisible'.
11085 (isearch-search): Use `isearch-invisible' instead of
11086 `search-invisible'. Let-bind `search-invisible'
11087 to the value of `isearch-invisible'. (Bug#11378)
11088
ab1bdce5
JL
110892013-05-30 Juri Linkov <juri@jurta.org>
11090
11091 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11092 call when `query-flag' is nil and `search-invisible' is non-nil.
11093 (Bug#11746)
11094
d6d236e2
GM
110952013-05-30 Glenn Morris <rgm@gnu.org>
11096
8accd027
GM
11097 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11098
2a8bed1c
GM
11099 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11100 (cc-require): Suppress spurious "noruntime" warnings.
11101 (cc-require-when-compile): Use fboundp, for sake of compiler.
11102
d6d236e2
GM
11103 * progmodes/cc-mode.el: Move load of cc-vars before that of
11104 cc-langs (which in turn loads cc-vars), to quieten compiler.
11105
9190b35b
SM
111062013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11107
11108 * paren.el: Simplify the code.
11109 (show-paren-mode): Always start the timer.
11110 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11111 (show-paren--overlay, show-paren--overlay-1): Rename from
11112 show-paren-overlay and show-paren-overlay-1, and initialize to an
11113 overlay rather than to nil.
11114 (show-paren-function): Misc cleanup and simplifications.
11115
4f8d1cf6
SM
111162013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11117
11118 * paren.el (show-paren-data-function): New hook.
11119 (show-paren--default): New function, extracted from show-paren-function.
11120 (show-paren-function): Use show-paren-data-function.
11121
02d844b5
GM
111222013-05-30 Glenn Morris <rgm@gnu.org>
11123
d209d4a9
GM
11124 * ielm.el (ielm-map, ielm-complete-symbol):
11125 Use completion-at-point rather than obsolete functions.
11126 (inferior-emacs-lisp-mode): Doc fix.
11127 Set completion-at-point-functions, rather than
11128 comint-dynamic-complete-functions.
11129
2082faa6
GM
11130 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11131 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11132 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11133
dd8620de
GM
11134 * image.el (image-animated-p): Tweak definition.
11135
ceca95b1
GM
11136 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11137 (rlogin-process-connection-type): Tweak default. Add set-after.
11138 (rlogin-host): Doc fix.
11139 (rlogin): Tweak prompt.
11140 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11141
ee9f1acc
GM
11142 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11143 * progmodes/tcl.el (inferior-tcl-mode-map):
11144 Use completion-at-point rather than obsolete alias.
11145
45ce222e
GM
11146 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11147
02d844b5
GM
11148 * minibuffer.el (read-file-name-completion-ignore-case):
11149 Move before completion--in-region, for eager macro expansion.
11150
ac44d6c1
JL
111512013-05-29 Juri Linkov <juri@jurta.org>
11152
11153 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11154 for total count of matching lines. Add `global-matches' for total
11155 count of matches. Rename `matches' to `lines' for count of
11156 matching lines. Add `matches' for count of matches.
11157 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11158 to `prev-line' for line number of prev match endpt.
11159 Increment `matches' for every match. Print the number of
11160 matching lines in the header.
11161 (occur-context-lines): Rename `lines' to `curr-line'.
11162 Rename `prev-lines' to `prev-line'. (Bug#14017)
11163
3c9c9d38
JL
111642013-05-29 Juri Linkov <juri@jurta.org>
11165
11166 * replace.el (perform-replace): Add `skip-read-only-count',
11167 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11168 Increment them for corresponding conditions and report the number
11169 of skipped occurrences in the final message. (Bug#11746)
11170 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11171 (replace-string, replace-regexp): Doc fix.
11172
33e249a2
SM
111732013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11174
8e399682
SM
11175 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11176
33e249a2 11177 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11178 prog-mode-map (bug#14504).
33e249a2 11179
f236dd84
LL
111802013-05-29 Leo Liu <sdl.web@gmail.com>
11181
11182 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11183 (octave-help): Small simplification.
11184
11185 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11186 off the highlight first.
11187
3694d13f
GM
111882013-05-29 Glenn Morris <rgm@gnu.org>
11189
03983bdc
GM
11190 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11191 Handle idlwave-last-system-routine-info-cons-cell being nil.
11192
bc74a74a
GM
11193 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11194 (idlwave-write-paths): Simplify via with-temp-buffer.
11195
8b394200
GM
11196 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11197 * emulation/cua-rect.el: Also load cua-base at run time.
11198
3694d13f
GM
11199 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11200 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11201 (cperl-imenu-on-info): Require imenu.
11202
336d7284
AM
112032013-05-28 Alan Mackenzie <acm@muc.de>
11204
11205 Handle "capitalised keywords" correctly.
33e249a2 11206 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11207
cb29c582
AG
112082013-05-28 Aidan Gauland <aidalgol@amuri.net>
11209
781b4af6 11210 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11211
690e44b2
GM
112122013-05-28 Glenn Morris <rgm@gnu.org>
11213
e658d75c
GM
11214 * vc/vc-arch.el (vc-exec-after): Declare.
11215 (vc-switches): Autoload.
11216 * vc/vc-bzr.el: No need to require vc when compiling.
11217 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11218 (vc-resynch-buffer, vc-dir-refresh): Declare.
11219 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11220 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11221 (vc-resynch-buffer): Declare.
11222 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11223 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11224 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11225 (grep-read-regexp, grep-read-files, grep-expand-template)
11226 (vc-dir-refresh): Declare.
11227 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11228 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11229 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11230 * vc/vc-mtn.el (vc-exec-after): Declare.
11231 (vc-switches): Autoload.
11232 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11233 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11234 (vc-file-tree-walk): Declare.
712b9732
GM
11235 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11236 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11237 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11238 * vc/vc-svn.el (vc-exec-after): Declare.
11239 (vc-switches, vc-setup-buffer): Autoload.
11240 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11241 Autoload.
11242 (vc-resynch-buffer): Declare.
11243
98e87fb3
GM
11244 * obsolete/fast-lock.el (byte-compile-warnings):
11245 Don't warn about obsolete features in this obsolete file.
11246
f5379553
GM
11247 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11248 Move definition before use.
11249
7a20ef83
GM
11250 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11251 (dun-unix-verbs): Remove dun-zippy.
11252 (dun-zippy): Remove function.
11253
690e44b2
GM
11254 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11255
3a52ccf7
JL
112562013-05-27 Juri Linkov <juri@jurta.org>
11257
11258 * replace.el (replace-search): New function with code moved out
11259 from `perform-replace'.
11260 (replace-highlight, replace-dehighlight): Move function definitions
11261 up closer to `replace-search'. (Bug#11746)
11262
d289938a
JL
112632013-05-27 Juri Linkov <juri@jurta.org>
11264
11265 * replace.el (perform-replace): Ignore invisible matches.
11266 In addition to checking `query-replace-skip-read-only', also
11267 filter out matches by calling `run-hook-with-args-until-failure'
11268 on `isearch-filter-predicates', and also check `search-invisible'
11269 for t or call `isearch-range-invisible'.
11270 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11271
66fc57e3
JL
112722013-05-27 Juri Linkov <juri@jurta.org>
11273
11274 * isearch.el (isearch-filter-predicates): Rename from
11275 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11276 (isearch-message-prefix): Display text from the property
11277 `isearch-message-prefix' of the currently active filters.
11278 (isearch-search): Don't compare `isearch-filter-predicate' with
11279 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11280 on `isearch-filter-predicates'. Also check `search-invisible' for t
11281 or call `isearch-range-invisible'.
11282 (isearch-filter-visible): Make obsolete.
11283 (isearch-lazy-highlight-search):
11284 Call `run-hook-with-args-until-failure' on
11285 `isearch-filter-predicates' and use `isearch-range-invisible'.
11286
11287 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11288 `isearch-filter-predicates' instead of `funcall'ing
11289 `isearch-filter-predicate'.
11290 (Info-mode): Set `Info-isearch-filter' to
11291 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11292
11293 * dired-aux.el (dired-isearch-filter-predicate-orig):
11294 Remove variable.
11295 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11296 (dired-isearch-filenames-end): Add and remove
11297 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11298 instead of changing the value of `isearch-filter-predicate'.
11299 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11300 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11301 Put property `isearch-message-prefix' to "filename " on
11302 `dired-isearch-filter-filenames'.
11303
11304 * wdired.el (wdired-change-to-wdired-mode):
11305 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11306 locally instead of changing `isearch-filter-predicate'.
11307 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11308
f1a60a0f
DG
113092013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11310
11311 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11312 return the commit hash (Bug#14459). Also set the
11313 `vc-git-detached' property.
11314 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11315 (vc-git-mode-line-string): Use the same help-echo format whether
11316 in detached mode or not, because we know the actual revision now.
11317 When in detached mode, shorten the revision to 7 chars.
11318
7f17cc40
SM
113192013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11320
11321 * emacs-lisp/easy-mmode.el (define-minor-mode):
11322 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11323 mode hook and provide a docstring.
11324
25c8401c
AM
113252013-05-27 Alan Mackenzie <acm@muc.de>
11326
11327 Remove spurious syntax-table text properties inserted by C-y.
11328 * progmodes/cc-mode.el (c-after-change): Also clear hard
11329 syntax-table property with value nil.
11330
dde84790
MA
113312013-05-27 Michael Albinus <michael.albinus@gmx.de>
11332
11333 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11334 when reading the events; the buffer layout shall not be changed.
11335
837fd9af
LL
113362013-05-27 Leo Liu <sdl.web@gmail.com>
11337
11338 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11339 New variable.
11340 (inferior-octave-directory-tracker): Automatically re-sync
11341 default-directory.
11342 (octave-help): Improve handling of 'See also'.
11343
4fd996b3
SM
113442013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11345
416f1802
SM
11346 * doc-view.el: Minor naming convention tweaks.
11347 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11348
4fd996b3
SM
11349 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11350 even if there's no `display' property yet (bug#14435).
11351
a052ef3b
EZ
113522013-05-25 Eli Zaretskii <eliz@gnu.org>
11353
4fd996b3 11354 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11355
11356 * Makefile.in (custom-deps, finder-data, autoloads)
11357 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11358 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11359 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11360
c9023370
SM
113612013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11362
11363 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11364 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11365 Don't burp at EOB.
c9023370 11366
24d699fa
LL
113672013-05-25 Leo Liu <sdl.web@gmail.com>
11368
11369 * comint.el (comint-previous-matching-input): Do not flood the
11370 *Messages* buffer with trivial messages.
11371
17e5c0cc
SM
113722013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11373
11374 * progmodes/flymake.el (flymake-nop): Don't return a string.
11375 (flymake-set-at): Fix typo.
11376
11377 * simple.el (read--expression): New function, extracted from
11378 eval-expression. Set completion-at-point-functions (bug#14465).
11379 (eval-expression, eval-minibuffer): Use it.
11380
5d028165
XF
113812013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11382
11383 * progmodes/flymake.el (flymake-save-buffer-in-file)
11384 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11385 (flymake-selected-frame, flymake-log, flymake-ins-after)
11386 (flymake-set-at, flymake-get-buildfile-from-cache)
11387 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11388 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11389 Refine the doc string.
11390 (flymake-get-file-name-mode-and-masks): Reformat.
11391 (flymake-get-real-file-name-function): Fix a minor bug.
11392
7a1d7ba7
JL
113932013-05-24 Juri Linkov <juri@jurta.org>
11394
11395 * progmodes/grep.el (grep-mode-font-lock-keywords):
11396 Support =linenumber= format used by git-grep for lines with
11397 function names. (Bug#13549)
11398
650cff3d
SM
113992013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11402 0 after a semi-colon; it works better for smie-auto-fill.
11403 (octave--indent-new-comment-line): New function.
11404 (octave-indent-new-comment-line): Use it (indirectly).
11405 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11406 modify comment-line-break-function.
11407
11408 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11409 (smie-setup): Use add-function to set it.
11410
9631677d
SS
114112013-05-24 Sam Steingold <sds@gnu.org>
11412
11413 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11414 argument (before the `interactive' argument).
11415
50105835
SM
114162013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * image-mode.el (image-mode-winprops): Add winprops to
11419 image-mode-winprops-alist before running
11420 image-mode-new-window-functions.
11421 * doc-view.el (doc-view-new-window-function): Don't delay
11422 doc-view-goto-page via timers (bug#14435).
11423
57b9823e
TH
114242013-05-24 Tassilo Horn <tsdh@gnu.org>
11425
11426 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11427 (doc-view-desktop-save-buffer): New function.
11428 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11429 (desktop-buffer-mode-handlers):
11430 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11431 handler.
11432 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11433 `desktop-save-buffer' function.
11434
91aafa16
MA
114352013-05-24 Michael Albinus <michael.albinus@gmx.de>
11436
11437 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11438 (tramp-gvfs-file-name-handler): Raise a user error when
11439 `tramp-gvfs-enabled' is nil.
11440 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11441 Do not raise a user error when loading package. (Bug#14447)
11442
ec076379
MA
11443 * net/xesam.el: Move to obsolete/.
11444
db785726
GM
114452013-05-24 Glenn Morris <rgm@gnu.org>
11446
af5c7606
GM
11447 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11448
e5d1916a
GM
11449 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11450
ded62b08
GM
11451 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11452 (Info-find-node, Man-getpage-in-background): Declare.
11453
9e614a3f
GM
11454 * mail/unrmail.el (unrmail):
11455 Replace obsolete detect-coding-with-priority.
11456
892f8ca3
GM
11457 * net/socks.el (socks-split-string): Use this rather than split-string.
11458 (socks-nslookup-host): Update for above change.
11459 (dynamic-choice, s5-dynamic-choice-match)
11460 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11461 Comment out unused code.
11462
3c291973
GM
11463 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11464 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11465 (gud-tooltip-echo-area): Make obsolete.
11466 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11467
43cc956b
GM
11468 * progmodes/js.el (js--optimize-arglist): Declare.
11469
dab49a3b
GM
11470 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11471
36b9d085
GM
11472 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11473 (ediff-window-C): Declare.
11474
e354ae76
GM
11475 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11476 Tweak requires to silence compiler.
11477
b8e57bf4
GM
11478 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11479 (he-search-string, he-tried-table, he-expand-list)
11480 (he-init-string, he-string-member, he-substitute-string)
11481 (he-reset-string): Declare.
11482
db785726
GM
11483 * obsolete/options.el (list-options): Use custom-variable-p,
11484 rather than obsolete alias.
11485
b3531901
SS
114862013-05-23 Sam Steingold <sds@gnu.org>
11487
11488 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11489 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11490 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11491
bdda4c66
SM
114922013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11493
11494 * emacs-lisp/smie.el (smie-indent-forward-token)
11495 (smie-indent-backward-token): Handle string tokens (bug#14381).
11496
c43d45f9
TH
114972013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11498
fe1eb856
RS
11499 * ielm.el (ielm-menu): New menu.
11500 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11501
fe1eb856
RS
115022013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11503
a12bf61e 11504 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11505 Fix deactivate action.
11506
a12bf61e 11507 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11508 Add cleveref macros.
074dd971 11509
a12bf61e 11510 * textmodes/reftex-parse.el
c43d45f9
TH
11511 (reftex-locate-bibliography-files): Accept options for
11512 bibliography commands.
a12bf61e 11513 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11514 Add addbibresource. Basic Biblatex support.
11515
7764286e
MA
115162013-05-23 Michael Albinus <michael.albinus@gmx.de>
11517
11518 * net/tramp-gvfs.el (top):
11519 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11520 when loading package. (Bug#14447)
11521
d361bc10
GM
115222013-05-23 Glenn Morris <rgm@gnu.org>
11523
8fa23984
GM
11524 * progmodes/js.el: No need to load comint when compiling.
11525 (ring-insert, comint-send-string, comint-send-input)
11526 (comint-last-input-end, ido-chop): Declare.
11527
a5c7df1a
GM
11528 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11529 * vc/ediff-mult.el: Adjust requires.
11530 (ediff-directories-internal, ediff-directory-revisions-internal)
11531 (ediff-patch-file-internal): Declare.
11532 * vc/ediff-ptch.el: Adjust requires.
11533 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11534 (ediff-find-file): Autoload.
11535 * vc/ediff-util.el: No need to load ediff when compiling.
11536 (ediff-regions-internal): Declare.
11537 * vc/ediff-wind.el: Adjust requires.
11538 (ediff-compute-toolbar-width): Define when compiling.
11539 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11540 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11541 (dired-get-filename, dired-get-marked-files)
11542 (ediff-last-dir-patch, ediff-patch-default-directory)
11543 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11544 (ediff-patch-buffer-internal): Declare.
11545
e2aec513
GM
11546 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11547 (ispell-process, ispell-buffer-local-words, lm-summary)
11548 (lm-section-start, lm-section-end): Declare.
11549 (checkdoc-ispell-init): Simplify.
11550
e68bbd7c
GM
11551 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11552 (he-string-member, he-reset-string, he-substitute-string): Declare.
11553
7efe0991
GM
11554 * eshell/em-ls.el: Adjust requires.
11555 (eshell-glob-regexp): Declare.
f87b1284
GM
11556 * eshell/em-tramp.el: Adjust requires.
11557 (eshell-parse-command): Autoload.
11558 * eshell/em-xtra.el: Adjust requires.
11559 (eshell-parse-command): Autoload.
11560 * eshell/esh-ext.el: Adjust requires.
11561 (eshell-parse-command, eshell-close-handles): Autoload.
11562 * eshell/esh-io.el: Adjust requires.
11563 (eshell-output-filter): Autoload.
11564 * eshell/esh-util.el: No need to load tramp when compiling.
11565 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11566 Declare.
11567 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11568 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11569 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11570 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11571 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11572 * eshell/esh-opt.el, eshell/esh-proc.el:
11573 * eshell/esh-var.el: Adjust requires.
11574 * eshell/eshell.el: Do not require esh-util twice.
11575 (eshell-add-input-to-history): Declare.
11576 (eshell-command): Check history module is active before using it.
11577
d361bc10
GM
11578 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11579
85d090a9
LL
115802013-05-22 Leo Liu <sdl.web@gmail.com>
11581
11582 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11583
5d0acd9d
MA
115842013-05-22 Michael Albinus <michael.albinus@gmx.de>
11585
11586 * autorevert.el (auto-revert-notify-add-watch)
11587 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11588 it indicates changes in file modification time.
11589
0cdffd7d
GM
115902013-05-22 Glenn Morris <rgm@gnu.org>
11591
ca5995ec
GM
11592 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11593 Always delete the autoloaded function from the noruntime and
11594 unresolved functions lists.
11595
6450907e
GM
11596 * allout.el: No need to load epa, epg, overlay when compiling.
11597 (epg-context-set-passphrase-callback, epg-list-keys)
11598 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11599 (epg-key-user-id-list): Declare.
11600
9c6906f6
GM
11601 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11602 (viper-set-parsing-style-toggling-macro)
11603 (viper-set-emacs-state-searchstyle-macros):
11604 Use called-interactively-p on Emacs.
11605 (viper-looking-back): Make it an obsolete alias. Update callers.
11606 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11607 Use looking-back rather than viper-looking-back.
11608 (viper-tmp-insert-at-eob, viper-enlarge-region)
11609 (viper-read-string-with-history, viper-register-to-point)
11610 (viper-append-to-register, viper-change-state-to-vi)
11611 (viper-backward-char-carefully, viper-forward-char-carefully)
11612 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11613 (viper-change-state-to-emacs): Declare.
11614 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11615 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11616 * emulation/viper-mous.el: Do not load viper-cmd.
11617 (viper-backward-char-carefully, viper-forward-char-carefully)
11618 (viper-forward-word, viper-adjust-window): Declare.
11619
5f70c169
GM
11620 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11621
b1b7f300
GM
11622 * progmodes/idlw-help.el (idlwave-help-fontify):
11623 Use called-interactively-p.
11624
f6ebbb46
GM
11625 * term/w32console.el (w32-get-console-codepage)
11626 (w32-get-console-output-codepage): Declare.
11627
0cdffd7d
GM
11628 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11629 Remove unnecessary declarations.
11630 (dframe-message): Doc fix.
11631
11632 * info.el (dframe-select-attached-frame, dframe-current-frame):
11633 Declare.
11634
11635 * speedbar.el (speedbar-message): Make it an obsolete alias.
11636 Update all callers.
11637 (speedbar-with-attached-buffer)
11638 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11639 (speedbar-with-writable): Use backquote.
11640 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11641 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11642 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11643 rather than speedbar- aliases.
11644 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11645 (speedbar-make-specialized-keymap, speedbar-insert-button)
11646 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11647 (speedbar-do-function-pointer): Declare.
11648 (rmail-speedbar-button, rmail-speedbar-find-file)
11649 (rmail-speedbar-move-message):
11650 Use dframe-with-attached-buffer rather than speedbar- alias.
11651 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11652 (dframe-message, speedbar-make-specialized-keymap)
11653 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11654 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11655 (speedbar-insert-button, dframe-select-attached-frame)
11656 (dframe-maybee-jump-to-attached-frame)
11657 (speedbar-change-initial-expansion-list)
11658 (speedbar-previously-used-expansion-list-name): Declare.
11659 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11660 Use dframe-message, dframe-with-attached-buffer rather than
11661 speedbar- aliases.
11662 (gud-sentinel): Silence compiler.
11663 * progmodes/vhdl-mode.el (speedbar-refresh)
11664 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11665 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11666 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11667 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11668 (speedbar-file-lists, speedbar-make-tag-line)
11669 (speedbar-line-directory, speedbar-goto-this-file)
11670 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11671 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11672 (speedbar-make-button, speedbar-reset-scanners)
11673 (speedbar-files-item-info, speedbar-line-text)
11674 (speedbar-find-file-in-frame, speedbar-set-timer)
11675 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11676 (speedbar-with-writable): Do not (re)define it.
11677 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11678 rather than speedbar- alias.
11679
ee44b62a
LL
116802013-05-21 Leo Liu <sdl.web@gmail.com>
11681
11682 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11683 menu items.
11684 (octave-mode): Tweak fill-nobreak-predicate.
11685 (inferior-octave-startup): Check process to avoid infinite loop.
11686 (inferior-octave): Pop to buffer first to show abornmal process
11687 exit information.
11688
640f050f
GM
116892013-05-21 Glenn Morris <rgm@gnu.org>
11690
79458038
GM
11691 * printing.el (pr-menu-bar): Define when compiling.
11692
9cc3e83f
LL
116932013-05-21 Leo Liu <sdl.web@gmail.com>
11694
11695 * progmodes/octave.el (octave-auto-fill): Remove.
11696 (octave-indent-new-comment-line): Improve.
11697 (octave-mode): Use auto fill mode through
4f405069 11698 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11699 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11700 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11701 (octave-help): Show parent directory.
11702
f440830d
GM
117032013-05-21 Glenn Morris <rgm@gnu.org>
11704
11705 * files.el (dired-unmark):
11706 * progmodes/gud.el (gdb-input): Update declarations.
11707
11708 * calculator.el (electric, ehelp): No need to load when compiling.
11709 (Electric-command-loop, electric-describe-mode): Declare.
11710
11711 * doc-view.el (doc-view-current-converter-processes): Move before use.
11712
11713 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11714 Move MODE-set-explicitly definition before use.
11715
11716 * international/mule-diag.el (mule-diag):
11717 Don't use obsolete window-system-version.
11718
11719 * mail/feedmail.el (smtpmail): No need to load when compiling.
11720 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11721
11722 * mail/mail-utils.el (rfc822): No need to load when compiling.
11723 (rfc822-addresses): Autoload it.
11724 (mail-strip-quoted-names): Trivial simplification.
11725
11726 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11727 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11728
11729 * net/snmp-mode.el (tempo): Don't duplicate requires.
11730
11731 * progmodes/prolog.el (info): No need to load when compiling.
11732 (comint): Require before shell requires it.
11733 (Info-goto-node): Autoload it.
11734 (Info-follow-nearest-node): Declare.
11735 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11736
11737 * textmodes/artist.el (picture-mode-exit): Declare.
11738
11739 * textmodes/reftex-parse.el (reftex-parse-from-file):
11740 Trivial rewrite so the compiler can parse it better.
11741
b4da2cbb
LL
117422013-05-20 Leo Liu <sdl.web@gmail.com>
11743
11744 * progmodes/octave.el (octave-help-mode-map)
11745 (octave-help-mode-finish-hook): New variables.
11746 (octave-help-mode, octave-help-mode-finish): New functions.
11747 (octave-help): Use octave-help-mode.
11748
33c0f65b
GM
117492013-05-20 Glenn Morris <rgm@gnu.org>
11750
11751 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11752
1a0a0a8a
DG
117532013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11754
11755 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11756 start at point, so that expansion starting right after opening
11757 slash in a regexp is recognized.
11758 (ruby-syntax-before-regexp-re): New defvar, extracted from
11759 ruby-syntax-propertize-function. Since the value of this regexp
11760 is looked up at runtime now, we should be able to turn
11761 `ruby-syntax-methods-before-regexp' into a defcustom later.
11762 (ruby-syntax-propertize-function): Split regexp matching into two
11763 parts, for opening and closing slashes. That allows us to skip
11764 over string interpolations and support multiline regexps.
11765 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11766 for them, which calls `ruby-syntax-propertize-expansion'.
11767 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11768 call to `ruby-syntax-propertize-function'.
11769 (ruby-syntax-propertize-expansion): Extracted from
11770 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
11771 (ruby-syntax-propertize-percent-literal): Leave point right after
11772 the percent symbol, so that the expression expansion rule can
11773 propertize the contents.
462388b6
DG
11774 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11775 heredoc openers.
11776 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 11777
c1a6c0a4
JL
117782013-05-18 Juri Linkov <juri@jurta.org>
11779
11780 * man.el (Man-default-man-entry): Remove `-' from the end
11781 of the default value. (Bug#14400)
11782
8051fccd
GM
117832013-05-18 Glenn Morris <rgm@gnu.org>
11784
11785 * comint.el (comint-password-prompt-regexp):
11786 Allow "password for XXX" where XXX contains colons (eg https://...).
11787
5e80b74f
LL
117882013-05-18 Leo Liu <sdl.web@gmail.com>
11789
11790 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 11791 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
11792 (octave-source-directories): Don't check process.
11793 (octave-source-directories, octave-find-definition): Doc fix.
11794
521a54c5
GM
117952013-05-18 Glenn Morris <rgm@gnu.org>
11796
86a94b05
GM
11797 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11798 Remove backspace/delete bindings. (Bug#14392)
11799
521a54c5
GM
11800 * cus-dep.el (custom-make-dependencies): Sort the output.
11801 (custom-versions-load-alist): Convert comment to doc.
11802
42caeb89
LL
118032013-05-17 Leo Liu <sdl.web@gmail.com>
11804
11805 * newcomment.el (comment-search-backward): Stricter in finding
11806 comment start. (Bug#14303)
11807
11808 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11809 (octave-comment-start-skip): Properly anchored.
11810
e219dd97
LL
118112013-05-17 Leo Liu <sdl.web@gmail.com>
11812
fe1eb856
RS
11813 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11814 Clean up when turned off. (Bug#14395)
e219dd97
LL
11815 (smie--highlight-matching-block-overlay): No longer buffer-local.
11816 (smie-highlight-matching-block): Adjust.
11817
dc5dcb4b
PE
118182013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11819
11820 Doc string fix for "nanoseconds" (Bug#14406).
11821 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11822 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11823
1db165f0
JB
118242013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11825
11826 * calc/calc-units.el (math-extract-units): Preserve powers
11827 of units.
11828
c7a8fcac
LL
118292013-05-17 Leo Liu <sdl.web@gmail.com>
11830
11831 * subr.el (delete-consecutive-dups): New function.
11832 * ido.el (ido-set-matches-1): Use it.
11833 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11834 * ido.el (ido-remove-consecutive-dups): Remove.
11835
f678b18a
SM
118362013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11839 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11840 regexp-opt's `words'.
11841
ebfe68e8
LL
118422013-05-16 Leo Liu <sdl.web@gmail.com>
11843
11844 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11845 (smie--highlight-matching-block-overlay)
11846 (smie--highlight-matching-block-lastpos)
11847 (smie--highlight-matching-block-timer): New variables.
11848 (smie-highlight-matching-block): New function.
11849 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11850 (smie-setup): Conditionally enable smie-blink-matching-open.
11851
bc8bc17d
WS
118522013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11853
11854 Sync with upstream verilog-mode r840.
11855 * progmodes/verilog-mode.el (verilog-mode-version)
11856 (verilog-mode-release-date): Update.
11857 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11858 (verilog-sig-tieoff): Fix string error on
11859 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11860 (verilog-read-decls): Fix parameters confusing
11861 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11862
df065a0b
EZ
118632013-05-16 Eli Zaretskii <eliz@gnu.org>
11864
11865 * subr.el (reveal-filename): New function.
11866
11867 * loadup.el: Compute Emacs executable versions on MS-Windows,
11868 where executables have the .exe extension. Add a hard link
11869 emacs-XX.YY.ZZ.exe on MS-Windows.
11870
11871 * Makefile.in (XARGS_LIMIT): New variable.
11872 (custom-deps, finder-data, autoloads)
11873 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11874 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11875 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11876 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11877
2d4bf34b
LL
118782013-05-16 Leo Liu <sdl.web@gmail.com>
11879
11880 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11881 (octave-mode-menu, octave-mode-map): Remove its uses.
11882
6b9c2d85
RZ
118832013-05-16 Reto Zimmermann <reto@gnu.org>
11884
11885 Sync with upstream vhdl mode v3.34.2.
11886 * progmodes/vhdl-mode.el: Use `push' throughout.
11887 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11888 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11889 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11890 (vhdl-actual-generic-name): New option to derive actual generic name.
11891 (vhdl-port-paste-signals): Replace formal by actual generics.
11892 (vhdl-beautify): New name for old group vhdl-align. Update users.
11893 (vhdl-beautify-options): New option.
11894 (vhdl-last-input-event): New compat alias. Use throughout.
11895 (vhdl-goto-line): Replace user level function `goto-line'.
11896 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11897 vhdl-fix-statement-buffer.
11898 (vhdl-create-mode-menu): Add some entries.
11899 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11900 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11901 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11902 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11903 to force statements on one line.
11904 (vhdl-remove-trailing-spaces-region):
11905 New, split from vhdl-remove-trailing-spaces.
11906 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11907 Respect vhdl-beautify-options.
11908 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11909 (vhdl-update-sensitivity-list): Not add with index if exists without.
11910 Not include array index with signal. Ignore keywords in comments.
11911 (vhdl-get-visible-signals): Regexp tweaks.
11912 (vhdl-template-component-inst): Handle empty library.
11913 (vhdl-template-type): Add template for 'enum' type.
11914 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11915 Use vhdl-replace-string.
11916 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11917 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11918 (vhdl-speedbar-initialize): Update for above name change.
11919 (vhdl-compose-wire-components): Fix in handling of constants.
11920 (vhdl-error-regexp-emacs-alist): New variable.
11921 (vhdl-error-regexp-add-emacs): New function;
11922 adds support for new compile.el (Emacs 22+)
11923 (vhdl-generate-makefile-1): Change target order for single lib. units.
11924 Allow use of absolute file names.
11925
9df4ec5e
LL
119262013-05-16 Leo Liu <sdl.web@gmail.com>
11927
11928 * simple.el (prog-indent-sexp): Indent enclosing defun.
11929
f5ba00a6
GM
119302013-05-15 Glenn Morris <rgm@gnu.org>
11931
ed8be7ff
GM
11932 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11933 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11934 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11935 (whitespace-highlight): Move to whitespace group.
11936
11937 * comint.el (comint-source):
11938 * pcmpl-linux.el (pcmpl-linux):
11939 * shell.el (shell-faces):
11940 * eshell/esh-opt.el (eshell-opt):
11941 * international/ccl.el (ccl): Remove empty custom groups.
11942
11943 * completion.el (dynamic-completion-mode):
11944 * jit-lock.el (jit-lock-debug-mode):
11945 * minibuffer.el (completion-in-region-mode):
11946 * type-break.el (type-break-mode-line-message-mode)
11947 (type-break-query-mode):
11948 * emulation/tpu-edt.el (tpu-edt-mode):
11949 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11950 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11951 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11952
11953 * term/xterm.el (xterm): Change parent group to terminals.
11954
11955 * master.el (master): Remove empty custom group.
11956 (master-mode): Remove unused :group argument.
11957 * textmodes/refill.el (refill): Remove empty custom group.
11958 (refill-mode): Remove unused :group argument.
11959
11960 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11961
82a7c41b
GM
11962 * cus-dep.el: Provide a feature.
11963 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11964 Don't mistakenly ignore files whose basenames match a basename
11965 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11966 Add a fallback method for getting :group.
f5ba00a6 11967
6d65486d
JL
119682013-05-15 Juri Linkov <juri@jurta.org>
11969
da547b32
JL
11970 * isearch.el (isearch-char-by-name): Rename from
11971 `isearch-insert-char-by-name'. Doc fix.
11972 (isearch-forward): Mention `isearch-char-by-name' in
11973 the docstring. (Bug#13348)
11974
6d65486d
JL
11975 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11976 `exit-minibuffer' instead of
11977 `isearch-nonincremental-exit-minibuffer'.
11978 (isearch-edit-string): Remove mention of
11979 `isearch-nonincremental-exit-minibuffer' from docstring.
11980 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11981 (isearch-forward-exit-minibuffer)
11982 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11983
c9990474
SM
119842013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11985
6e911150
SM
11986 * loadup.el: Just use unversioned DOC.
11987
c9990474
SM
11988 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11989 literals as extending to EOB.
11990 (nxml-last-fontify-end): Remove unused variable.
11991 (nxml-after-change1): Use with-silent-modifications.
11992 (nxml-extend-after-change-region): Simplify.
11993 (nxml-extend-after-change-region1): Remove function.
11994 (nxml-after-change1): Don't adjust for dependent regions.
11995 (nxml-fontify-matcher): Simplify.
11996 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11997 (xmltok-add-dependent): Remove function.
11998 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11999 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12000 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12001 unclosed <[[, <?, comment, and other literals as extending to EOB.
12002 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12003 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12004 Remove functions.
12005 (rng-do-some-validation-1): Don't mark dependent regions.
12006 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12007 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12008 (nxml-clear-dependent-regions): Remove functions.
12009 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12010 (nxml-ensure-scan-up-to-date):
12011 Don't clear&mark dependent regions.
12012
e3772e98
LL
120132013-05-15 Leo Liu <sdl.web@gmail.com>
12014
c9990474
SM
12015 * progmodes/octave.el (octave-goto-function-definition):
12016 Improve and fix callers.
e3772e98 12017
5ac2eb34
SM
120182013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12019
c46c57b0
SM
12020 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12021 the setter (bug#14387).
12022
5ac2eb34
SM
12023 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12024 surrounding group (bug#14402).
12025
180ed218
JL
120262013-05-14 Juri Linkov <juri@jurta.org>
12027
12028 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12029 (Bug#14390)
12030
0ac0fecb
GM
120312013-05-14 Glenn Morris <rgm@gnu.org>
12032
12033 * progmodes/f90.el (f90-imenu-generic-expression):
12034 Fix typo in 2013-05-08 change. (Bug#14402)
12035
2e78e6a7
JPG
120362013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12037
5ac2eb34
SM
12038 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12039 Remove signals for which replies are never received.
2e78e6a7 12040
53267cca
JPG
120412013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12042
12043 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12044 (gdb-handler-alist, gdb-handler-number): Remove variables.
12045 (gdb-handler-list): New variable.
12046 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12047 (gdb-pending-handler-p, gdb-handle-reply)
12048 (gdb-remove-all-pending-triggers): New functions.
12049 (gdb-discard-unordered-replies): New defcustom.
12050 (gdb-handler): New defstruct.
12051 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12052 instead of gdb-pending-triggers. Update docstring.
12053 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12054 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12055 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12056 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12057 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12058 (gdb-frame-handler): Pending triggers are now automatically managed.
12059 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12060 Remove argument.
12061 (gdb-input): Automatically handles pending triggers. Update docstring.
12062 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12063 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12064 Update comments.
12065 (gdb-done-or-error): Now use gdb-handle-reply.
12066
d04ce803
JPG
120672013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12068
12069 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12070 gdb-debug-log.
12071
0114073a
GM
120722013-05-14 Glenn Morris <rgm@gnu.org>
12073
12074 * subr.el (user-emacs-directory-warning): New option.
12075 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12076
4d25fd7e
LL
120772013-05-14 Leo Liu <sdl.web@gmail.com>
12078
12079 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12080 during redisplay.
12081 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12082 (octave-font-lock-texinfo-comment): Fix invalid search bound
12083 error: wrong side of point.
4d25fd7e 12084
27c8b6eb
GM
120852013-05-14 Glenn Morris <rgm@gnu.org>
12086
61aaeb01
GM
12087 * progmodes/flymake.el (flymake-xml-program): New option.
12088 (flymake-xml-init): Use it.
12089
5bf90bc5
GM
12090 * term/xterm.el: Provide a feature.
12091
12092 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12093
f4c7dfd2
GM
120942013-05-13 Glenn Morris <rgm@gnu.org>
12095
12096 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12097 Add compat aliases as a hack workaround. (Bug#14384)
12098
2aeb3a1d
LL
120992013-05-13 Leo Liu <sdl.web@gmail.com>
12100
b0e069c2
LL
12101 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12102 ###, and %!.
f5a9432f
LL
12103 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12104 C-M-q.
b0e069c2
LL
12105 (octave-comment-start-skip): Include %!.
12106 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12107
30ea8374
LL
121082013-05-12 Leo Liu <sdl.web@gmail.com>
12109
12110 * progmodes/octave.el (inferior-octave-startup): Store the value
12111 of __octave_srcdir__ for octave-source-directories.
12112 (inferior-octave-check-process): New function refactored out of
12113 inferior-octave-send-list-and-digest.
12114 (octave-source-directories)
12115 (octave-find-definition-filename-function): New variables.
12116 (octave-source-directories)
12117 (octave-find-definition-default-filename): New functions.
12118 (octave-find-definition): Improve to find functions implemented in C++.
12119
472a3834
GM
121202013-05-12 Glenn Morris <rgm@gnu.org>
12121
12122 * calendar/diary-lib.el (diary-outlook-format-1):
12123 Don't include dayname in the output. (Bug#14349)
12124
3191b52f
GM
121252013-05-11 Glenn Morris <rgm@gnu.org>
12126
0060ac73
GM
12127 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12128
3191b52f
GM
12129 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12130 Treat cc-provide like provide.
12131
e065ba74
KR
121322013-05-11 Kevin Ryde <user42@zip.com.au>
12133
12134 * cus-dep.el (custom-make-dependencies):
12135 Use generated-autoload-load-name for the sake of files such
12136 such cedet/semantic/bovine/c.el, where the base file name
12137 is not in load-path. (Bug#5277)
12138
36f84c37
GM
121392013-05-11 Glenn Morris <rgm@gnu.org>
12140
12141 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12142 Provide features.
12143
c8730c3a
LL
121442013-05-11 Leo Liu <sdl.web@gmail.com>
12145
12146 * progmodes/octave.el (octave-indent-comment): Improve.
12147 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12148 (octave-eldoc-function-signatures, octave-eldoc-function):
12149 New functions.
c8730c3a
LL
12150 (octave-mode, inferior-octave-mode): Add eldoc support.
12151
212e29f2
RS
121522013-05-11 Richard Stallman <rms@gnu.org>
12153
12154 * epa.el (epa-decrypt-file): Take output file name as argument
12155 and read it using `interactive'.
12156
083fe0d7
LL
121572013-05-11 Leo Liu <sdl.web@gmail.com>
12158
12159 * progmodes/octave.el (octave-beginning-of-line)
12160 (octave-end-of-line): Check before using up-list because it jumps
12161 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12162 (octave-indent-comment): New function.
12163 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12164 (octave-begin-keywords, octave-end-keywords)
12165 (octave-reserved-words, octave-smie-bnf-table)
12166 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12167
8582e4c4
GM
121682013-05-11 Glenn Morris <rgm@gnu.org>
12169
f20def1f
GM
12170 * faces.el (internal-face-x-get-resource):
12171 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12172 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12173 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12174 Fix declarations.
f20def1f 12175
445f95e2
GM
12176 * calc/calc-menu.el: Make it loadable in isolation.
12177
12178 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12179 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12180 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12181 (eudc-bbdb-query-internal): Require 'bbdb.
12182
99fb2756
GM
12183 * lpr.el (lpr-headers-switches):
12184 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12185
12186 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12187
0da7ad96
GM
12188 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12189
8582e4c4
GM
12190 * term.el (term-set-escape-char): Make it idempotent.
12191
f71c50d0
LL
121922013-05-10 Leo Liu <sdl.web@gmail.com>
12193
5ac2eb34
SM
12194 * progmodes/octave.el (inferior-octave-completion-table):
12195 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12196 completion due to bug#11906.
12197 (octave-beginning-of-defun): Re-write to be more general.
12198
d5837773
GM
121992013-05-10 Glenn Morris <rgm@gnu.org>
12200
12201 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12202
027c0f75
SM
122032013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12204
12205 * comint.el (comint-redirect-send-command-to-process): Use :around
12206 rather than :override for comint-redirect-filter.
12207 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12208 Call it instead of comint-redirect-original-filter-function (which
12209 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12210
4465bfb4
JD
122112013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12212
12213 * frame.el (display-monitor-attributes-list): Add NS case.
12214 (ns-display-monitor-attributes-list): Declare.
12215
2d809ffa 122162013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12217
12218 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12219
e54eeb9b
GM
122202013-05-09 Glenn Morris <rgm@gnu.org>
12221
56cd351d
GM
12222 * international/fontset.el (vertical-centering-font-regexp):
12223 Set standard-value.
12224
d84b6108
GM
12225 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12226
a931698a
GM
12227 * bookmark.el (bookmark-search-delay):
12228 * cus-start.el (vertical-centering-font-regexp):
12229 * ps-mule.el (ps-mule-font-info-database-default):
12230 * ps-print.el (ps-default-fg, ps-default-bg):
12231 * type-break.el (type-break-good-break-interval):
12232 * whitespace.el (whitespace-indentation-regexp)
12233 (whitespace-space-after-tab-regexp):
12234 * emacs-lisp/testcover.el (testcover-1value-functions)
12235 (testcover-noreturn-functions, testcover-progn-functions)
12236 (testcover-prog1-functions):
12237 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12238 * eshell/em-glob.el (eshell-glob-translate-alist):
12239 * play/tetris.el (tetris-tty-colors):
12240 * progmodes/cpp.el (cpp-face-default-list):
12241 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12242 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12243 (idlwave-help-browser-generic-args):
12244 * progmodes/make-mode.el (makefile-special-targets-list):
12245 * progmodes/python.el (python-shell-virtualenv-path):
12246 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12247 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12248 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12249 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12250 * textmodes/reftex-vars.el (reftex-format-label-function):
12251 * textmodes/remember.el (remember-diary-file): Fix custom types.
12252
e54eeb9b
GM
12253 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12254 Add :version.
12255
455851dd
LL
122562013-05-09 Leo Liu <sdl.web@gmail.com>
12257
12258 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12259 Restore file completion. (Bug#14300)
455851dd
LL
12260 (inferior-octave-startup): Fix incorrect highlighting for the
12261 first prompt.
12262
a9e4425b
SM
122632013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12264
12265 * progmodes/ruby-mode.el: First cut at SMIE support.
12266 (ruby-use-smie): New var.
12267 (ruby-smie-grammar): New constant.
12268 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12269 (ruby-smie--forward-token, ruby-smie--backward-token)
12270 (ruby-smie-rules): New functions.
12271 (ruby-mode-variables): Setup SMIE if applicable.
12272
060ca408
EZ
122732013-05-08 Eli Zaretskii <eliz@gnu.org>
12274
12275 * simple.el (line-move-visual): Signal beginning/end of buffer
12276 only if vertical-motion moved less than it was requested. Avoids
12277 silly incorrect error messages when there are display strings with
12278 multiple newlines at EOL.
12279
1d5963cc
SM
122802013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12281
12282 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12283 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12284 (prolog-char-quote-workaround):
12285 * progmodes/cperl-mode.el (cperl-under-as-char):
12286 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12287 Mark as obsolete.
12288 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12289 their declaration.
12290 (vhdl-mode-syntax-table-init): Remove.
12291
c9990474
SM
12292 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12293 last change.
1d5963cc
SM
12294
12295 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12296 syntax for "_".
12297 (ld-script-font-lock-keywords):
12298 Change regexps to use things like \_< and \_>.
12299
12300 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12301 Change all regexps to use things like \_< and \_>.
12302
12303 * progmodes/autoconf.el (autoconf-definition-regexp)
12304 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12305 Handle a _ with symbol syntax.
12306 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12307
c9990474
SM
12308 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12309 Consolidate declaration.
1d5963cc
SM
12310 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12311 the declaration.
12312 (ada-create-syntax-table): Remove.
12313 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12314 already has the right syntax nowadays.
12315 (ada-goto-next-word): Don't change the syntax of "_".
12316
12317 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12318 with-wrapper-hook.
12319
72d3cfca
SS
123202013-05-08 Sam Steingold <sds@gnu.org>
12321
12322 * thingatpt.el (thing-at-point): Accept optional second argument
12323 NO-PROPERTIES to strip the text properties from the return value.
12324 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12325 to `thing-at-point' instead of stripping the properties ourselves.
12326 Also, when `thing-at-point' fails to find a url, prepend "http://"
12327 to the filename at point on the assumption that the user is
12328 pointing at something like gnu.org/gnu.
12329
5cb15713
JB
123302013-05-08 Juanma Barranquero <lekktu@gmail.com>
12331
12332 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12333 * faces.el (crm-separator):
12334 Silence byte-compiler.
12335
12336 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12337 (tool-bar-map): Remove unneeded defvars.
12338
ea78b95b
LL
123392013-05-08 Leo Liu <sdl.web@gmail.com>
12340
12341 Re-work a fix for bug#10994 based on Le Wang's patch.
12342 * ido.el (ido-remove-consecutive-dups): New helper.
12343 (ido-completing-read): Use it.
12344 (ido-chop): Revert fix for bug#10994.
12345
dc7466df
AS
123462013-05-08 Adam Spiers <emacs@adamspiers.org>
12347
12348 * cus-edit.el (custom-save-variables):
12349 Pretty-print long values. (Bug#14187)
12350
9ecf672a
GM
123512013-05-08 Glenn Morris <rgm@gnu.org>
12352
12353 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12354 (m4-mode-syntax-table): Init in the defvar.
12355 (m4-mode-abbrev-table): Let define-derived-mode define it.
12356
3f555be8
TT
123572013-05-08 Tom Tromey <tromey@redhat.com>
12358
12359 * progmodes/m4-mode.el (m4-mode-syntax-table):
12360 Do not treat "_" as word constituent. (Bug#14167)
12361
7cc8ae06
GM
123622013-05-07 Glenn Morris <rgm@gnu.org>
12363
4f58bc06
GM
12364 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12365 Remove explicit eshell-isearch-cancel-map.
12366
7cc8ae06
GM
12367 * progmodes/f90.el (f90-smart-end-names): New option.
12368 (f90-smart-end): Doc fix.
12369 (f90-end-block-optional-name): New constant.
12370 (f90-block-match): Respect f90-smart-end-names.
12371
ceb57e59
SM
123722013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12375 about implicit semi-colons (bug#14218).
12376
4e3f9230
YM
123772013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12378
12379 * frame.el (display-monitor-attributes-list)
12380 (frame-monitor-attributes): New functions.
12381
203a5572
LL
123822013-05-06 Leo Liu <sdl.web@gmail.com>
12383
12384 * progmodes/octave.el (octave-syntax-propertize-function): Change
12385 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12386 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12387 (octave-completion-at-point): Rename from
203a5572
LL
12388 octave-completion-at-point-function.
12389 (inferior-octave-directory-tracker): Robustify.
12390 (octave-text-functions): Remove and fix its uses. No such things
12391 any more.
12392
ee6cff99
SM
123932013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12394
12395 * emacs-lisp/trace.el (trace--display-buffer): New function.
12396 (trace-make-advice): Use it.
12397
32985194
JL
123982013-05-06 Juri Linkov <juri@jurta.org>
12399
12400 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12401 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12402 Doc fix.
12403 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12404 in the help string. (Bug#12985)
12405
a1c700de
KD
124062013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12407
12408 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12409
c67c0839
SM
124102013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12411
323885fd
SM
12412 * progmodes/perl-mode.el: Add support for here documents.
12413 (perl-syntax-propertize-function): Match here-doc markers.
12414 (perl-syntax-propertize-special-constructs): Find their end.
12415 (perl-imenu-generic-expression): Use [:alnum:].
12416
c67c0839
SM
12417 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12418 (advice--add-function): Refresh the advice if already present
12419 (bug#14317).
12420
d491e7a8
IA
124212013-05-06 Ivan Andrus <darthandrus@gmail.com>
12422
12423 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12424
ddf9925e
GM
124252013-05-06 Glenn Morris <rgm@gnu.org>
12426
7cc3af27
GM
12427 * w32-fns.el (w32-charset-info-alist): Declare.
12428
16e343d6
GM
12429 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12430 of its defcustom properties.
12431 (eshell-cmpl-initialize): No need to load pcomplete.
12432
7d889a47
GM
12433 * generic-x.el: No need to require comint when compiling.
12434
ddf9925e
GM
12435 * net/eudc-export.el: Make it loadable without bbdb.
12436 (top-level): Use require rather than load-library.
12437 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12438 (eudc-batch-export-records-to-bbdb)
12439 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12440 Require bbdb.
12441
1e2c18df
SM
124422013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12445 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12446 some tweaks, instead.
12447
02502a5f
LL
124482013-05-05 Leo Liu <sdl.web@gmail.com>
12449
12450 * progmodes/octave.el (octave-font-lock-keywords)
12451 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12452 (inferior-octave-send-list-and-digest): Improve error message.
12453 (octave-mode, inferior-octave-mode): Use setq-local.
12454 (octave-help): Set info-lookup-mode.
12455
0dc04f42
RS
124562013-05-05 Richard Stallman <rms@gnu.org>
12457
6c54491c
RS
12458 * vc/compare-w.el (compare-windows-whitespace):
12459 Treat no-break space as whitespace.
12460
0dc04f42
RS
12461 * mail/rmailsum.el (rmail-summary-rmail-update):
12462 Detect empty summary and don't change selected message.
12463 (rmail-summary-goto-msg): Likewise.
12464
df8f35df
RS
12465 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12466 Doc fixes, rename args.
12467
5356e1a3
AM
124682013-05-05 Alan Mackenzie <acm@muc.de>
12469
12470 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12471
d44014cb
JL
124722013-05-05 Juri Linkov <juri@jurta.org>
12473
12474 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12475 to not add the length of the summary segment to the return value.
12476 (Bug#14125)
12477
c129b51f
LL
124782013-05-05 Leo Liu <sdl.web@gmail.com>
12479
12480 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12481 (inferior-octave-output-filter): Remove.
12482 (octave-send-region, inferior-octave-startup): Fix callers.
12483 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12484 (octave-binary-file-extensions): New user variable.
12485 (octave-find-definition): Confirm if opening binary files.
12486 (octave-help-file): Use octave-find-definition to get the binary
12487 confirmation.
12488 (octave-help): Adjust for octave-help-file change.
12489
aa7dab97
SM
124902013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12491
12492 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12493 Merge the two entries that handle function definitions.
12494 (pascal--syntax-propertize): New const.
12495 (pascal-mode): Use it. Use setq-local.
12496
fd3a9a6b
GM
124972013-05-04 Glenn Morris <rgm@gnu.org>
12498
12499 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12500 (diary-from-outlook): Respect diary-from-outlook-function.
12501
30c7e542
SM
125022013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12503
12504 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12505 Move the declaration from C.
12506 (read-minibuffer, eval-minibuffer): Move from C.
12507 (completion-setup-function): Avoid minibuffer-completion-contents.
12508
b54f978b
LL
125092013-05-03 Leo Liu <sdl.web@gmail.com>
12510
12511 * progmodes/octave.el (octave-font-lock-keywords): Do not
12512 dehighlight 'end' in comments or strings.
30c7e542
SM
12513 (octave-completing-read, octave-goto-function-definition):
12514 New helpers.
d4d0f9b3
LL
12515 (octave-help-buffer): New user variable.
12516 (octave-help-file, octave-help-function): New button types.
12517 (octave-help): New command and bind it to C-h ;.
12518 (octave-find-definition): New command and bind it to M-.
d74a1581 12519 (user-error): Alias to error if not defined.
b54f978b 12520
27135018
LL
125212013-05-02 Leo Liu <sdl.web@gmail.com>
12522
12523 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12524 for \. (bug#14332)
12525 (octave-font-lock-keywords): Include [ and {.
12526
0d634d3a
LL
125272013-05-02 Leo Liu <sdl.web@gmail.com>
12528
12529 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12530 (inferior-octave): Remove calling comint-mode and return the buffer.
12531 (inferior-octave-startup): Cosmetic changes.
12532
b4c8295e
LL
125332013-05-02 Leo Liu <sdl.web@gmail.com>
12534
30c7e542
SM
12535 * progmodes/octave.el (octave-syntax-propertize-function):
12536 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12537
f12ad6ec
GM
125382013-05-02 Glenn Morris <rgm@gnu.org>
12539
12540 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12541 * desktop.el (vc-dir-mode): Just autoload it here.
12542
30cac1e0
AM
125432013-05-02 Alan Mackenzie <acm@muc.de>
12544
12545 Eliminate variable c-standard-font-lock-fontify-region-function.
12546 * progmodes/cc-mode.el
12547 (c-standard-font-lock-fontify-region-function): Remove.
12548 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12549
d8ef28b1
LL
125502013-05-01 Leo Liu <sdl.web@gmail.com>
12551
2640d52e 12552 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12553 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12554 variables were removed from Octave in 2007.
d8ef28b1
LL
12555 (inferior-octave-startup): Fix uses.
12556 (comint-line-beginning-position): Remove compatibility code for
12557 emacs 21.
12558
ac63ec89
JL
125592013-05-01 Juri Linkov <juri@jurta.org>
12560
12561 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12562
9e9be37c
JL
125632013-05-01 Juri Linkov <juri@jurta.org>
12564
12565 * comint.el (comint-previous-matching-input): Don't print message
12566 "History item: %d" when `isearch-mode' is active.
12567 (comint-history-isearch-message): Print message "History item: %d"
12568 when `comint-input-ring-index' is not empty and this function is
12569 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12570
9b92c13b
LL
125712013-05-01 Leo Liu <sdl.web@gmail.com>
12572
12573 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12574 definitions. Use completion-at-point to insert keywords.
12575 (octave-abbrev-start): Remove.
12576 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12577
b12d33d7
LL
125782013-04-30 Leo Liu <sdl.web@gmail.com>
12579
12580 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12581 change.
12582
3d1c39fa
AM
125832013-04-30 Alan Mackenzie <acm@muc.de>
12584
12585 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12586 * progmodes/cc-engine.el (c-back-over-member-initializers):
12587 new function.
3d1c39fa
AM
12588 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12589 (most) member init lists.
12590
5147fc17
RS
125912013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12592
12593 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12594 variable.
12595
5b78d7fc
LL
125962013-04-30 Leo Liu <sdl.web@gmail.com>
12597
12598 * progmodes/octave.el (octave-variables): Remove. No builtin
12599 variables any more. All converted to functions.
12600 (octave-font-lock-keywords, octave-completion-at-point-function):
12601 Fix uses.
12602 (octave-font-lock-texinfo-comment): New user variable.
12603 (octave-texinfo-font-lock-keywords): New variable for texinfo
12604 comment block.
12605 (octave-function-comment-block): New face.
12606 (octave-font-lock-texinfo-comment): New function.
12607 (octave-mode): Font lock texinfo comment block.
12608
38d8527b
LL
126092013-04-29 Leo Liu <sdl.web@gmail.com>
12610
12611 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12612 indexing expression.
12613 (octave-continuation-string): Do not use \.
12614 (inferior-octave-complete-impossible): Remove.
12615 (inferior-octave-completion-table)
12616 (inferior-octave-completion-at-point): Remove its uses.
12617 (inferior-octave-startup): completion_matches was introduced to
12618 Octave in 1996 so safe to assume it.
12619 (octave-function-file-comment): Improve to follow how Octave does it.
12620 (octave-update-function-file-comment): Tweak.
12621
2ec12cb0
LL
126222013-04-29 Leo Liu <sdl.web@gmail.com>
12623
12624 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12625 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12626 (octave-function-file-comment): Fix typo.
12627 (octave-sync-function-file-names): Use read-char-choice.
12628
6eaed048
JB
126292013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12630
12631 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12632 to t for the less important warnings.
12633
3ffa2d4f
DH
126342013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12635
12636 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12637
685c9501
GM
126382013-04-27 Glenn Morris <rgm@gnu.org>
12639
12640 * vc/log-view.el (log-view-current-entry):
12641 Treat "---" separator lines as part of the following rev. (Bug#14169)
12642
0208ede7
JL
126432013-04-27 Juri Linkov <juri@jurta.org>
12644
12645 * subr.el (read-number): Doc fix about using it by interactive
12646 code letter `n'. (Bug#14254)
12647
5db9dace
JL
126482013-04-27 Juri Linkov <juri@jurta.org>
12649
12650 * desktop.el (desktop-auto-save-timeout): New option.
12651 (desktop-file-checksum): New variable.
12652 (desktop-save): Add optional arg `auto-save' and don't auto-save
12653 if nothing changed.
12654 (desktop-auto-save-timer): New variable.
12655 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12656 (after-init-hook): Call `desktop-auto-save-set-timer'.
12657 Suggested by Reuben Thomas <rrt@sc3d.org> in
12658 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12659
b7260dd4
LL
126602013-04-27 Leo Liu <sdl.web@gmail.com>
12661
12662 * progmodes/octave.el (octave-function-file-p)
12663 (octave-skip-comment-forward, octave-function-file-comment)
12664 (octave-update-function-file-comment): New functions.
12665 (octave-mode-map): Bind C-c ; to
12666 octave-update-function-file-comment.
12667 (octave-mode-menu): Add octave-update-function-file-comment.
12668 (octave-mode, inferior-octave-mode): Fix doc-string.
12669 (octave-insert-defun): Conform to Octave's coding convention.
12670 (Bug#14285)
12671
12672 * files.el (basic-save-buffer): Don't let errors in
12673 before-save-hook prevent saving buffer.
12674
c46da669
RW
126752013-04-20 Roland Winkler <winkler@gnu.org>
12676
12677 * faces.el (read-face-name): Use completing-read if arg multiple
12678 is nil.
12679
a81ee1eb
IL
126802013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12681
12682 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12683 displayed, move point to after the totals line.
12684 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12685 for the details.
12686
4fac34ce
SM
126872013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12690 Add current dir to the load-path.
12691 (package-generate-autoloads): Don't rely on
12692 autoload-ensure-default-file.
12693
f6bfc063
RT
126942013-04-26 Reuben Thomas <rrt@sc3d.org>
12695
d40ab5cf
BG
12696 * textmodes/remember.el (remember-store-in-files): Document that
12697 the file name format is passed to `format-time-string'.
f6bfc063 12698
e55d3b04
LL
126992013-04-26 Leo Liu <sdl.web@gmail.com>
12700
12701 * progmodes/octave.el (octave-sync-function-file-names): New function.
12702 (octave-mode): Use it in before-save-hook.
12703
e53052d3
SM
127042013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12705
140ef50c
SM
12706 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12707 (bug#14274).
12708
e53052d3
SM
12709 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12710 \n and comment, even if it's not an implicit ; (bug#14218).
12711
af80458d 127122013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12713
12714 * subr.el (read-number): Once more use `read' rather than
12715 `string-to-number', to trap non-numeric input. (Bug#14254)
12716
af80458d 127172013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12718
12719 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12720 Use `syntax-multiline' text property consistently instead of
8a621d53 12721 `font-lock-multiline'. (Bug#14237)
70203c2e 12722
e6ea1f6c
GM
127232013-04-26 Glenn Morris <rgm@gnu.org>
12724
12725 * emacs-lisp/shadow.el (list-load-path-shadows):
12726 No longer necessary to check for duplicate simple.el, since
12727 2012-07-07 change to init_lread to not include installation lisp
12728 directories in load-path when running uninstalled. (Bug#14270)
12729
070ccca4
LL
127302013-04-26 Leo Liu <sdl.web@gmail.com>
12731
12732 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12733 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12734 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12735 octave-in-string-or-comment-p.
12736 (octave-in-comment-p, octave-in-string-p)
12737 (octave-in-string-or-comment-p): Replace defsubst with defun.
12738
9d1c5fb6
PE
127392013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12740
12741 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12742
c034abda
BG
127432013-04-25 Bastien Guerry <bzg@gnu.org>
12744
12745 * textmodes/remember.el (remember-data-directory)
12746 (remember-directory-file-name-format): Fix custom types.
12747
584ea277
LL
127482013-04-25 Leo Liu <sdl.web@gmail.com>
12749
e53052d3
SM
12750 * progmodes/octave.el (octave-completion-at-point-function):
12751 Make use of inferior octave process.
584ea277
LL
12752 (octave-initialize-completions): Remove.
12753 (inferior-octave-completion-table): New function.
12754 (inferior-octave-completion-at-point): Use it.
12755 (octave-completion-alist): Remove.
12756
1693b06a
SM
127572013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12758
12759 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12760 (opascal-mode-syntax-table): New var.
12761 (opascal-literal-kind, opascal-is-literal-end)
12762 (opascal-literal-token-at): Rewrite.
12763 (opascal--literal-start-re, opascal-font-lock-keywords)
12764 (opascal--syntax-propertize): New constants.
12765 (opascal-font-lock-defaults): Adjust.
12766 (opascal-mode): Use them. Set comment-<foo> variables as well.
12767 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12768 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12769 (delphi-other-face, opascal-other-face): Remove face variables.
12770 (opascal-save-state): Remove macro.
12771 (opascal-fontifying-progress-step): Remove constant.
12772 (opascal--ignore-changes): Remove var.
12773 (opascal-set-token-property, opascal-parse-next-literal)
12774 (opascal-is-stable-literal, opascal-complete-literal)
12775 (opascal-is-literal-start, opascal-face-of)
12776 (opascal-parse-region, opascal-parse-region-until-stable)
12777 (opascal-fontify-region, opascal-after-change)
12778 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12779 (opascal-debug-parse-region, opascal-debug-parse-window)
12780 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12781 (opascal-debug-fontify-buffer): Remove.
12782 (opascal-debug-mode-map): Adjust accordingly.
12783
be64c05d
LL
127842013-04-25 Leo Liu <sdl.web@gmail.com>
12785
12786 Merge octave-mod.el and octave-inf.el into octave.el with some
12787 cleanups.
12788 * progmodes/octave.el: New file renamed from octave-mod.el.
12789 * progmodes/octave-inf.el: Merged into octave.el.
12790 * progmodes/octave-mod.el: Renamed to octave.el.
12791
d79d37bd
TH
127922013-04-25 Tassilo Horn <tsdh@gnu.org>
12793
12794 * textmodes/reftex-vars.el
12795 (reftex-label-ignored-macros-and-environments): New defcustom.
12796
12797 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12798
ced3fc5d
SM
127992013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12802 (smie-indent-keyword): Improve the check to ensure that the next
12803 comment is really on the same line.
12804 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12805
12806 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12807 semi-colons if the line is not otherwise empty (bug#14218).
12808
1c141dad
GM
128092013-04-25 Glenn Morris <rgm@gnu.org>
12810
12811 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12812
5058062a
SM
128132013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12814
12815 * progmodes/opascal.el (opascal-set-token-property): Rename from
12816 opascal-set-text-properties and only set `token' (bug#14134).
12817 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12818 (opascal-literal-text-properties): Remove.
12819 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12820 Adjust callers.
12821
5db9dace 128222013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12823
12824 * textmodes/remember.el (remember-handler-functions): Add an
12825 option for a new handler `remember-store-in-files'.
12826 (remember-data-directory, remember-directory-file-name-format):
12827 New options.
12828 (remember-store-in-files): New function to store remember notes
12829 as separate files within a directory.
12830
4391916c
MH
128312013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12832
12833 * progmodes/compile.el (compilation-next-error-function):
12834 Pass "formats" to compilation-find-file (bug#11777).
12835
bb7cdf58
GM
128362013-04-24 Glenn Morris <rgm@gnu.org>
12837
3b8fe752 12838 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12839 * vc/vc-hg.el (vc-hg-print-log):
12840 * vc/vc-svn.el (vc-svn-print-log):
12841 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12842
bb7cdf58
GM
12843 * vc/vc-bzr.el (vc-bzr-print-log):
12844 * vc/vc-cvs.el (vc-cvs-print-log):
12845 * vc/vc-git.el (vc-git-print-log):
12846 * vc/vc-hg.el (vc-hg-print-log):
12847 * vc/vc-mtn.el (vc-mtn-print-log):
12848 * vc/vc-rcs.el (vc-rcs-print-log):
12849 * vc/vc-sccs.el (vc-sccs-print-log):
12850 * vc/vc-svn.el (vc-svn-print-log):
12851 * vc/vc.el (vc-print-log-internal): Doc fixes.
12852
b46a056e
GM
128532013-04-23 Glenn Morris <rgm@gnu.org>
12854
12855 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12856 Remove venerable code attempting to avoid substitute-command-keys.
12857
0aecf718
TH
128582013-04-23 Tassilo Horn <tsdh@gnu.org>
12859
4391916c
MH
12860 * textmodes/reftex-vars.el (reftex-label-regexps):
12861 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12862
117f94cf
SM
128632013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12864
4391916c 12865 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12866 Use lexical-binding.
12867 (jit-lock-force-redisplay): Use markers, check buffer's continued
12868 existence and beware narrowed buffers.
12869 (jit-lock-fontify-now): Adjust call accordingly.
12870
1d829c64
SM
128712013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12874 to avoid misleading the user.
12875
72d548a9
LL
128762013-04-22 Leo Liu <sdl.web@gmail.com>
12877
12878 * info-look.el: Prefer latex2e.info. (Bug#14240)
12879
d0853629
MA
128802013-04-22 Michael Albinus <michael.albinus@gmx.de>
12881
12882 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12883
12884 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12885 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12886 (tramp-set-completion-function, tramp-parse-putty):
12887 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12888 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12889 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12890 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12891 (tramp-call-local-coding-command): Use `tramp-call-process'
12892 instead of `tramp-compat-call-process'.
12893
12894 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12895 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 12896 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 12897 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12898 (tramp-maybe-send-script): Check for Perl binary.
12899 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12900
38cc0210
DU
129012013-04-22 Daiki Ueno <ueno@gnu.org>
12902
12903 * epg.el (epg-context-pinentry-mode): New function.
12904 (epg-context-set-pinentry-mode): New function.
12905 (epg--start): Pass --pinentry-mode option to gpg command.
12906
cc641ee1
XF
129072013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12908
02d844b5 12909 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12910 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12911 `completion-at-point'. (Bug#13774)
5d4e5c31 12912
cc641ee1
XF
12913 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12914 default key binding for `describe-distribution' has been moved to
12915 `C-h C-o'. (Bug#13970)
12916
1b42ee43
GM
129172013-04-21 Glenn Morris <rgm@gnu.org>
12918
12919 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12920 Add doc strings.
12921 (vc-print-log): Clarify interactive prompt.
12922
a6d63d97
GM
129232013-04-20 Glenn Morris <rgm@gnu.org>
12924
12925 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12926 No longer include timestamp etc information.
12927
d7f5c16f
RW
129282013-04-20 Roland Winkler <winkler@gnu.org>
12929
12930 * faces.el (read-face-name): Bug fix, return just one face if arg
12931 multiple is nil. (Bug#14209)
12932
bcd7a0a4
SM
129332013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12934
12935 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12936 (remove-function): Autoload.
12937
12938 * comint.el (comint-redirect-original-filter-function): Remove.
12939 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12940 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12941 (vc-cvs-annotate-command):
bcd7a0a4
SM
12942 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12943 * progmodes/prolog.el (prolog-consult-compile):
12944 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12945 Use add/remove-function instead.
12946 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12947 (gud-tooltip-process-output, gud-tooltip-tips):
12948 Use add/remove-function instead.
12949 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12950 (scheme-interaction-mode, exit-scheme-interaction-mode):
12951 Use add/remove-function instead.
12952
12953 * vc/vc-dispatcher.el: Use lexical-binding.
12954 (vc--process-sentinel): Rename from vc-process-sentinel.
12955 Change last arg to be the code to run. Don't use vc-previous-sentinel
12956 and vc-sentinel-commands any more.
12957 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12958 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12959
e36b2d20 129602013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12961
bcd7a0a4 12962 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 12963 Handle function names with a single character. (Bug#14111)
4d3268ba 12964
27821a89 129652013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12966
12967 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12968 for subroutines defined in an eval (bug#14182).
12969
7d688336
TV
129702013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12971
12972 * bookmark.el (bookmark-completing-read): Improve handling of empty
12973 string (bug#14176).
12974
31dcede0
SM
129752013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12978
adc31213
FEG
129792013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12980
12981 New faster Imenu implementation (bug#14058).
12982 * progmodes/python.el:
12983 (python-imenu-prev-index-position):
12984 (python-imenu-format-item-label-function)
12985 (python-imenu-format-parent-item-label-function)
12986 (python-imenu-format-parent-item-jump-label-function):
12987 New vars.
12988 (python-imenu-format-item-label)
12989 (python-imenu-format-parent-item-label)
12990 (python-imenu-format-parent-item-jump-label)
12991 (python-imenu--put-parent, python-imenu--build-tree)
12992 (python-imenu-create-index, python-imenu-create-flat-index)
12993 (python-util-popn): New functions.
12994 (python-mode): Set imenu-create-index-function to
12995 python-imenu-create-index.
12996
cdca8255
SM
129972013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * winner.el (winner-active-region): Use region-active-p, activate-mark
13000 and deactivate-mark (bug#14225).
13001
13002 * simple.el (deactivate-mark): Don't inline it.
13003
beb42340
MA
130042013-04-18 Michael Albinus <michael.albinus@gmx.de>
13005
13006 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13007
fc7f4d7e
TH
130082013-04-18 Tassilo Horn <tsdh@gnu.org>
13009
13010 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13011 file extensions from the archive-mode entry in order to prefer
13012 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13013
29f47822
LL
130142013-04-18 Leo Liu <sdl.web@gmail.com>
13015
13016 * bindings.el (help-event-list): Add ?\?.
13017
d36ed1c8
SM
130182013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13019
13020 * subr.el (with-wrapper-hook): Declare obsolete.
13021 * simple.el (filter-buffer-substring-function): New hook.
13022 (filter-buffer-substring): Use it.
13023 (filter-buffer-substring-functions): Mark obsolete.
13024 * minibuffer.el (completion-in-region-function): New hook.
13025 (completion-in-region): Use it.
13026 (completion-in-region-functions): Mark obsolete.
13027 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13028 * abbrev.el (abbrev-expand-function): New hook.
13029 (expand-abbrev): Use it.
13030 (abbrev-expand-functions): Mark obsolete.
13031 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13032 and :filter-return.
13033
04754d36
FEG
130342013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13035
13036 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13037 and do not care about match data.
13038
dd8791e9
SM
130392013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13042 completion tables when completing error conditions and
13043 `declare' arguments.
13044 (lisp-complete-symbol, field-complete): Mark as obsolete.
13045 (check-parens): Unmatched parens are user errors.
13046 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13047
ffe54a13
AM
130482013-04-17 Michal Nazarewicz <mina86@mina86.com>
13049
dd8791e9
SM
13050 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13051 command changed buffer (ie. `flyspell-pre-buffer' is not current
13052 buffer), which prevents making decisions based on invalid value of
13053 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13054 cause an error when `flyspell-pre-point' was nil after switching
13055 buffers.
13056 (flyspell-post-command-hook): No longer needs to change buffers when
13057 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13058
ec7e39f2
AM
130592013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13060
13061 * textmodes/ispell.el (ispell-add-per-file-word-list):
13062 Fix `flyspell-correct-word-before-point' error when accepting
13063 words and `coment-padding' is an integer by using
13064 `comment-normalize-vars' (Bug #14214).
13065
083850a6
FEG
130662013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13067
13068 New defun movement commands.
13069 * progmodes/python.el (python-nav--syntactically)
13070 (python-nav--forward-defun, python-nav-backward-defun)
13071 (python-nav-forward-defun): New functions.
13072
619ed6e1
FEG
130732013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13074
13075 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13076 (python-syntax-context): Use named compiler-macro for backwards
13077 compatibility with Emacs 24.x.
13078
7a1beb6c
LL
130792013-04-17 Leo Liu <sdl.web@gmail.com>
13080
13081 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13082 octave-hide-process-buffer.
13083
2d3fa3e5
SM
130842013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13085
13086 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13087 (bug#14216).
13088
7ce5be54
JPG
130892013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13090
13091 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13092 Fix adjustment of offset when receiving incomplete responses from GDB
13093 (bug#14129).
13094
351edece
SM
130952013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13096
13097 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13098 python-mode-abbrev-table.
13099 (python-skeleton-define): Adjust accordingly.
13100 (python-mode-abbrev-table): New table that inherits from it so that
13101 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13102
13103 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13104 (abbrev-symbol): Use it.
13105 (abbrev--before-point): Use it since we already handle inheritance.
13106
613f9481
LL
131072013-04-16 Leo Liu <sdl.web@gmail.com>
13108
13109 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13110 binding to info-lookup-symbol.
13111
51646b62
JB
131122013-04-16 Juanma Barranquero <lekktu@gmail.com>
13113
13114 * minibuffer.el (completion--twq-all):
13115 * term/ns-win.el (ns-initialize-window-system):
13116 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13117
efb3f01d
SM
131182013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13119
36c0a301
SM
13120 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13121 global bindings.
13122
efb3f01d
SM
13123 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13124
fb549d64
DG
131252013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13126
13127 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13128 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13129 to nil.
13130 (ruby-end-of-defun): Remove the unused arg, change the docstring
13131 to reflect that this function is only used as the value of
13132 `end-of-defun-function'.
13133 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13134 to reflect an earlier change that beginning/end-of-defun functions
13135 jump between methods in a class definition, as well as top-level
13136 functions.
13137
21e8fe2f
SM
131382013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13139
13140 * minibuffer.el (minibuffer-complete): Don't just scroll
13141 a *Completions* that's been iconified.
13142 (minibuffer-force-complete): Make sure repetitions do cycle when going
13143 through completion-in-region -> minibuffer-complete.
13144
20e527d0
AM
131452013-04-15 Alan Mackenzie <acm@muc.de>
13146
13147 Correct the placement of c-cpp-delimiters when there're #s not at
13148 col 0.
13149
13150 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13151 place a submatch around the #.
21e8fe2f
SM
13152 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13153 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13154 on the #, not BOL.
13155
dabefae5
SM
131562013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13157
13158 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13159 (advice--member-p): New arg `name'.
13160 (advice--add-function, advice-member-p): Use it (bug#14202).
13161
85c9ab64
AM
131622013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13163
13164 Reformulate java imenu-generic-expression.
13165 The old expression contained ill formed regexps.
13166
13167 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13168 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13169 (cc-imenu-java-method-arg-regexp): New defconsts.
13170 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13171 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13172 handling of spaces in the regexp.
13173
0f821d99
AM
131742013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13175
13176 * textmodes/ispell.el (ispell-command-loop): Remove
13177 flyspell highlight of a word when ispell accepts it (bug #14178).
13178
eb922adf
MA
131792013-04-15 Michael Albinus <michael.albinus@gmx.de>
13180
13181 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13182 uses code from the previous `ange-ftp-run-real-handler'.
13183 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13184 only in case that function exist. This is needed for proper
13185 unloading of Tramp.
13186
4d9a0979
TH
131872013-04-15 Tassilo Horn <tsdh@gnu.org>
13188
13189 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13190
13191 * textmodes/reftex.el (reftex-compile-variables): Use it.
13192
a829b0dc
SM
131932013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13194
91e8293c
SM
13195 * files.el (normal-mode): Only use default major-mode if no other mode
13196 was specified.
13197
830aed4d
SM
13198 * emacs-lisp/trace.el (trace-values): New function.
13199
a829b0dc
SM
13200 * files.el: Allow : in local variables (bug#14089).
13201 (hack-local-variable-regexp): New var.
13202 (hack-local-variables-prop-line, hack-local-variables): Use it.
13203
7ae9f0fb
RW
132042013-04-13 Roland Winkler <winkler@gnu.org>
13205
13206 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13207 data before it gets modified by bibtex-beginning-of-entry.
13208
6646e848
RW
132092013-04-13 Roland Winkler <winkler@gnu.org>
13210
13211 * textmodes/bibtex.el (bibtex-url): Doc fix.
13212
132132013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13214
13215 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13216 does not visit a BibTeX file, exclude it from the list of buffers
13217 returned by bibtex-initialize.
13218
0aa3616e
SB
132192013-04-13 Stephen Berman <stephen.berman@gmx.net>
13220
13221 * window.el (split-window): Remove interactive form, since as a
13222 command this function is a special case of split-window-below.
13223 Correct doc string.
13224
011cddd6
RW
132252013-04-12 Roland Winkler <winkler@gnu.org>
13226
13227 * faces.el (read-face-name): Do not override value of arg default.
13228 Allow single faces and strings as default values. Remove those
13229 elements from return value that are not faces.
13230 (describe-face): Simplify.
13231 (face-at-point): New optional args thing and multiple so that this
13232 function can provide the same functionality previously provided by
13233 read-face-name.
13234 (make-face-bold, make-face-unbold, make-face-italic)
13235 (make-face-unitalic, make-face-bold-italic, invert-face)
13236 (modify-face, read-face-and-attribute): Use face-at-point.
13237
13238 * cus-edit.el (customize-face, customize-face-other-window)
13239 * cus-theme.el (custom-theme-add-face)
13240 * face-remap.el (buffer-face-set)
13241 * facemenu.el (facemenu-set-face): Use face-at-point.
13242
f24e0036
MA
132432013-04-12 Michael Albinus <michael.albinus@gmx.de>
13244
13245 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13246
da3cda2d
TH
132472013-04-10 Tassilo Horn <tsdh@gnu.org>
13248
13249 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13250 off leading { and trailing } from field values.
13251
15e54145
SM
132522013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13253
78ce603d
SM
13254 * emacs-lisp/timer.el (timer--check): New function.
13255 (timer--time, timer-set-function, timer-event-handler): Use it.
13256 (timer-set-idle-time): Simplify.
13257 (timer--activate): CSE.
13258 (timer-event-handler): Give more info in error message.
13259 (internal-timer-start-idle): New function, moved from C.
13260
15e54145
SM
13261 * mpc.el (mpc-proc): Add `restart' argument.
13262 (mpc-proc-cmd): Use it.
13263 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13264 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13265 less often.
13266
7144c627
MY
132672013-04-10 Masatake YAMATO <yamato@redhat.com>
13268
13269 * progmodes/sh-script.el: Implement `sh-mode' own
13270 `add-log-current-defun-function' (bug#14112).
13271 (sh-current-defun-name): New function.
13272 (sh-mode): Use the function.
13273
b39792eb
BG
132742013-04-09 Bastien Guerry <bzg@gnu.org>
13275
13276 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13277
8acdeb71
SM
132782013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13279
6fcdab68
SM
13280 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13281
8acdeb71
SM
13282 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13283 timer (bug#14156).
13284
e3e7b504
NF
132852013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13286
13287 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13288 declaration.
13289
201bb296
LL
132902013-04-07 Leo Liu <sdl.web@gmail.com>
13291
13292 * pcmpl-x.el: New file.
13293
ebb19708
DA
132942013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13295
13296 Do not set x-display-name until X connection is established.
13297 This is needed to prevent from weird situation described at
13298 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13299 * frame.el (make-frame): Set x-display-name after call to
13300 window system initialization function, not before.
13301 * term/x-win.el (x-initialize-window-system): Add optional
13302 display argument and use it.
13303 * term/w32-win.el (w32-initialize-window-system):
13304 * term/ns-win.el (ns-initialize-window-system):
13305 * term/pc-win.el (msdos-initialize-window-system):
13306 Add compatible optional display argument.
13307
33bb237a
EZ
133082013-04-06 Eli Zaretskii <eliz@gnu.org>
13309
13310 * files.el (normal-backup-enable-predicate): On MS-Windows and
13311 MS-DOS compare truenames of temporary-file-directory and of the
13312 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13313 don't fail comparison by compare-strings. Also, compare file
13314 names case-insensitively on MS-Windows and MS-DOS.
13315
134abf1f
SM
133162013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13317
13318 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13319 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13320
d695cb94
DG
133212013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13322
e3e7b504
NF
13323 * whitespace.el (whitespace-color-on, whitespace-color-off):
13324 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13325
f4ad7ea1 133262013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13327
13328 * ispell.el (ispell-set-spellchecker-params):
13329 Really set `ispell-args' for all equivs.
13330
632556e4
SM
133312013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13332
13333 * ido.el (ido-completions): Use extra elements of ido-decorations
13334 (bug#14143).
13335 (ido-decorations): Update docstring.
13336
2a417372
MA
133372013-04-05 Michael Albinus <michael.albinus@gmx.de>
13338
13339 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13340 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13341 nil during initialization, in order not to miss changes since the
13342 file was opened. (Bug#14140)
13343
fc164b0c
LL
133442013-04-05 Leo Liu <sdl.web@gmail.com>
13345
13346 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13347
0ccecc08
JB
133482013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13349
13350 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13351
51af1aa2
GM
133522013-04-04 Glenn Morris <rgm@gnu.org>
13353
13354 * electric.el (electric-pair-inhibit-predicate): Add :version.
13355
b208ebc6
SM
133562013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13357
13358 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13359 when a package is required several times (bug#14082).
13360
f3d3eaf0
RW
133612013-04-04 Roland Winkler <winkler@gnu.org>
13362
13363 * faces.el (read-face-name): Behave as promised by the docstring.
13364 Assume that arg default is a list of faces.
13365 (describe-face): Call read-face-name with list of default faces.
13366
2575da50
TV
133672013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13368
13369 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13370 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13371 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13372 the header.
13373 (bookmark-exit-hook-internal): Save even if list is empty.
13374
397703b4
YH
133752013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13376
13377 * emacs-lisp/package.el (package-pinned-packages): New var.
13378 (package--add-to-archive-contents): Obey it (bug#14118).
13379
691e26ae
AM
133802013-04-03 Alan Mackenzie <acm@muc.de>
13381
8a621d53
JB
13382 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13383 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13384
13385 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13386 parameter `not-in-delimiter'. Handle being inside comment opener.
13387 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13388 character in case we're typing a '*' after a '/'.
13389 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13390 instead by passing the parameter to c-state-pp-to-literal.
13391
13392 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13393 for elt. 7 of a parse state.
13394
4b725a70
PE
133952013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13396
13397 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13398 * international/latin1-disp.el, international/mule-util.el:
13399 * language/cyril-util.el, language/european.el, language/ind-util.el:
13400 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13401 * language/tibetan.el, language/viet-util.el:
13402 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13403
15c579f0
SM
134042013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13405
13406 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13407 (electric-pair-post-self-insert-function): Use it.
13408 (electric-pair-default-inhibit): New function, extracted from
13409 electric-pair-post-self-insert-function.
13410
a77e2924
RW
134112013-03-31 Roland Winkler <winkler@gnu.org>
13412
13413 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13414
2bd8a4a8
SM
134152013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13416
13417 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13418
8d3655be 134192013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13420
13421 Un-indent after "pass" and "return" statements (Bug#13888)
13422 * progmodes/python.el (python-indent-block-enders): New var.
13423 (python-indent-calculate-indentation): Use it.
13424
8d3655be 134252013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13426
13427 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13428 defun. Defining it as defalias could introduce too eager
13429 byte-compiler optimization. (Bug#14030)
13430
8d3655be 134312013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13432
13433 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13434
0b1619da
LL
134352013-03-30 Leo Liu <sdl.web@gmail.com>
13436
13437 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13438 (kmacro-execute-from-register): Pass the keyboard macro to
13439 kmacro-call-macro or repeating won't work correctly.
13440
0b938190
TZ
134412013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13442
13443 * progmodes/subword.el: Back to using `forward-symbol'.
13444
13445 * subr.el (forward-whitespace, forward-symbol)
13446 (forward-same-syntax): Move from thingatpt.el.
13447
35710234
LL
134482013-03-29 Leo Liu <sdl.web@gmail.com>
13449
13450 * kmacro.el (kmacro-to-register): New command.
13451 (kmacro-execute-from-register): New function.
13452 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13453
efc0bb73
SM
134542013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13455
13456 * mpc.el: Use defvar-local and setq-local.
13457 (mpc--proc-connect): Connection failures are not bugs.
13458 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13459 (mpc-volume-map): Bind to the up-events.
13460
75a2f981
TZ
134612013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13462
13463 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13464 instead of `forward-symbol'.
13465
17c781d1
SM
134662013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13469 (edebug--recursive-edit): Use it.
13470 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13471 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13472
f67bfbcf
LL
134732013-03-28 Leo Liu <sdl.web@gmail.com>
13474
13475 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13476
b59f639d
EZ
134772013-03-27 Eli Zaretskii <eliz@gnu.org>
13478
13479 * facemenu.el (list-colors-callback): New defvar.
13480 (list-colors-redisplay): New function.
13481 (list-colors-display): Install list-colors-redisplay as the
13482 revert-buffer-function. (Bug#14063)
13483
f557c1b1
SM
134842013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13485
b1da2957
SM
13486 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13487 and suffixes don't overlap (bug#14061).
13488
f557c1b1
SM
13489 * case-table.el: Use lexical-binding.
13490 (case-table-get-table): New function.
13491 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13492
002668e1
TZ
134932013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13494
13495 * progmodes/subword.el: Add `superword-mode' to do word motion
13496 over symbol_words (parallels and leverages `subword-mode' which
13497 does word motion inside MixedCaseWords).
13498
73572c72
AG
134992013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13500
78b8f320 13501 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13502 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13503
69b2c07e
SM
135042013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13505
13506 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13507 Change return value to be a sexp. Delay `get-buffer' to after
13508 restoring the desktop (bug#13951).
13509
08bb5ee2
LL
135102013-03-26 Leo Liu <sdl.web@gmail.com>
13511
13512 * register.el: Move semantic tag handling back to
13513 cedet/semantic/senator.el. (Bug#14052)
13514
8d4c974e
SM
135152013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13516
13517 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13518 into the prompt either (bug#13963).
13519
b234d92c
SM
135202013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13521
13522 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13523 part of "(error-foo)".
13524
ddfa3cb4
JL
135252013-03-24 Juri Linkov <juri@jurta.org>
13526
13527 * replace.el (list-matching-lines-prefix-face): New defcustom.
13528 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13529 `occur-engine' if `face-differs-from-default-p' returns t.
13530 (occur-engine): Add `,' inside backquote construct to evaluate
13531 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13532 Pass `prefix-face' to the functions `occur-context-lines' and
13533 `occur-engine-add-prefix'.
13534 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13535 `prefix-face' and propertize the prefix with `prefix-face'.
13536 (Bug#14017)
13537
7b0e2f85
LL
135382013-03-24 Leo Liu <sdl.web@gmail.com>
13539
13540 * nxml/rng-valid.el (rng-validate-while-idle)
13541 (rng-validate-quick-while-idle): Guard against deleted buffer.
13542 (Bug#13999)
13543
13544 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13545 is the last entry in kill-buffer-hook.
13546
13547 * files.el (kill-buffer-hook): Doc fix.
13548
b3082f49
DG
135492013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13550
b234d92c
SM
13551 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13552 Make it safe-local.
bde73d27 13553
b3082f49
DG
13554 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13555
a320a2db
LL
135562013-03-23 Leo Liu <sdl.web@gmail.com>
13557
7e74b0fb
LL
13558 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13559 Remove.
13560
13561 * nxml/rng-valid.el (rng-validate-mode)
13562 (rng-after-change-function, rng-do-some-validation):
13563 * nxml/rng-maint.el (rng-validate-buffer):
13564 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13565 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13566 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13567 (nxml-extend-after-change-region): Use with-silent-modifications.
13568
a320a2db
LL
13569 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13570 timer-idle-list.
13571
13572 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13573 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13574 timer-idle-list. (Bug#13999)
13575
e38e6780
JL
135762013-03-23 Juri Linkov <juri@jurta.org>
13577
13578 * info.el (info-index-match): New face.
13579 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13580 main pattern and add text properties with the new face to matches
13581 in index entries relative to the beginning of the index entry.
13582 (Bug#14015)
13583
e8cc7880
DE
135842013-03-21 Eric Ludlam <zappo@gnu.org>
13585
39c87140 13586 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13587 Inhibit read only while inserting objects.
13588
9bb0d822
TZ
135892013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13590
13591 * progmodes/cfengine.el: Update docs to mention
13592 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13593 symbol motion. Remove "_" from the word syntax.
13594
aa703640
TZ
135952013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13596
13597 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13598 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13599
afff09d0
JL
136002013-03-20 Juri Linkov <juri@jurta.org>
13601
13602 * info.el (Info-next-reference-or-link)
13603 (Info-prev-reference-or-link): New functions.
13604 (Info-next-reference, Info-prev-reference): Use them.
13605 (Info-try-follow-nearest-node): Handle footnote navigation.
13606 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13607
9a1ff164
SM
136082013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13609
13610 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13611 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13612
2667d15d
PE
136132013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13614
13615 Suppress unnecessary non-ASCII chatter during build process.
13616 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13617 (batch-skkdic-convert): Suppress most of the chatter.
13618 It's not needed so much now that machines are faster,
13619 and its non-ASCII component was confusing; see Dmitry Gutov in
13620 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13621
438b0579
LL
136222013-03-20 Leo Liu <sdl.web@gmail.com>
13623
13624 * ido.el (ido-chop): Fix bug#10994.
13625
c128ab07
DG
136262013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13627
13628 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13629 Remove vars.
9a1ff164
SM
13630 (whitespace-color-on, whitespace-color-off):
13631 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13632
0e6008c5
SM
136332013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13634
13635 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13636 remapping in mode-line.
13637 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13638
627b52b0
DG
136392013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13640
13641 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13642 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13643 (whitespace-font-lock-keywords): Change description.
13644 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13645 the constructed keywords instead.
13646 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13647
50c3a20b
LL
136482013-03-19 Leo Liu <sdl.web@gmail.com>
13649
13650 * progmodes/compile.el (compilation-display-error): New command.
13651 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13652 C-o. (Bug#13992)
13653
2aa2157b
PE
136542013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13655
13656 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13657
e477dbfa
JD
136582013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13659
13660 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13661
64ab82d1
MA
136622013-03-18 Michael Albinus <michael.albinus@gmx.de>
13663
13664 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13665
13666 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13667 * net/tramp-gvfs.el (top):
13668 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13669 (tramp-handle-shell-command): Use it.
13670 (tramp-dissect-file-name): Raise an error when hostname is a
13671 method name, and neither method nor user is specified.
13672
13673 * net/trampver.el: Update release number.
13674
33cef733
LL
136752013-03-18 Leo Liu <sdl.web@gmail.com>
13676
13677 Make sure eldoc can be turned off properly.
13678 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13679 eldoc-mode.
13680 (eldoc-display-message-p): Revert last change.
13681 (eldoc-display-message-no-interference-p)
13682 (eldoc-print-current-symbol-info): Tweak.
13683
2167b7b2
TH
136842013-03-18 Tassilo Horn <tsdh@gnu.org>
13685
13686 * doc-view.el (doc-view-new-window-function): Check the new window
13687 overlay's display property instead the char property of the
13688 buffer's first char. Use `with-selected-window' instead of
13689 `save-window-excursion' with `select-window'.
13690 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13691 display property instead the char property of the buffer's first char.
2167b7b2 13692
982efbcd
PE
136932013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13694
13695 Automate the build of ja-dic.el (Bug#13984).
13696 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13697 from the input, rather than assume that it's been done for us by the
13698 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13699 the current date into a ja-dic.el comment, as that complicates
13700 regression testing.
13701
2fcc7665
SM
137022013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13703
13704 * whitespace.el: Fix double evaluation.
13705 (whitespace-space, whitespace-hspace, whitespace-tab)
13706 (whitespace-newline, whitespace-trailing, whitespace-line)
13707 (whitespace-space-before-tab, whitespace-indentation)
13708 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13709 obsolete defvars.
13710 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13711 (whitespace-color-on): Use a single font-lock-add-keywords call.
13712 Fix double-evaluation of face variables.
13713
67c0a6e6
MA
137142013-03-17 Michael Albinus <michael.albinus@gmx.de>
13715
2fcc7665
SM
13716 * net/tramp-adb.el (tramp-adb-parse-device-names):
13717 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13718 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13719
69489f1d
LL
137202013-03-17 Leo Liu <sdl.web@gmail.com>
13721
13722 Extend eldoc to display info in the mode-line. (Bug#13978)
13723 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13724 (eldoc-mode-line-string): New variable.
13725 (eldoc-minibuffer-message): New function.
13726 (eldoc-message-function): New variable.
13727 (eldoc-message): Use it.
13728 (eldoc-display-message-p)
2fcc7665
SM
13729 (eldoc-display-message-no-interference-p):
13730 Support eldoc-post-insert-mode.
69489f1d
LL
13731
13732 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13733 (eval-expression): Run it.
13734
9c44569e
RW
137352013-03-17 Roland Winkler <winkler@gnu.org>
13736
13737 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13738 strings in the list of return values.
13739
327f1f6f
JB
137402013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13741
13742 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13743 radix before checking for HMS forms.
13744
67ed8fcd
LL
137452013-03-16 Leo Liu <sdl.web@gmail.com>
13746
13747 * progmodes/scheme.el: Add indentation and font-locking for λ.
13748 (Bug#13975)
13749
78be8b64 137502013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13751
13752 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13753 token before point (bug#13942).
13754
78be8b64 137552013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13756
95b43468 13757 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13758
98e775e6
EZ
137592013-03-16 Eli Zaretskii <eliz@gnu.org>
13760
13761 * startup.el (command-line-normalize-file-name): Fix handling of
13762 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13763 <xfq.free@gmail.com> in
13764 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13765
2edd6029
MA
137662013-03-15 Michael Albinus <michael.albinus@gmx.de>
13767
13768 Sync with Tramp 2.2.7.
13769
13770 * net/trampver.el: Update release number.
13771
d35f5864
TH
137722013-03-14 Tassilo Horn <tsdh@gnu.org>
13773
e903c210 13774 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
13775 (doc-view-insert-image): Don't modify overlay associated to
13776 non-live windows, and implement horizontal centering of image in
13777 case it's smaller than the window.
13778 (doc-view-new-window-function): Force redisplay of new windows on
13779 doc-view buffers.
d35f5864 13780
1c4a85ed
KF
137812013-03-13 Karl Fogel <kfogel@red-bean.com>
13782
13783 * saveplace.el (save-place-alist-to-file): Don't sort
13784 `save-place-alist', just pretty-print it (bug#13882).
13785
85b66a21
MA
137862013-03-13 Michael Albinus <michael.albinus@gmx.de>
13787
a020afb9
JB
13788 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13789 Check whether `default-file-name-coding-system' is bound.
13790 It isn't in XEmacs.
85b66a21 13791
175600da
SM
137922013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13793
e7f7cb1a
SM
13794 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13795 backquotes for `obsolete' (bug#13929).
13796
175600da
SM
13797 * international/mule.el (find-auto-coding): Include file name in
13798 obsolescence warning (bug#13922).
13799
ca68a22e
TZ
138002013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13801
13802 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13803 for CFEngine 3-specific indentation.
13804 (cfengine3-indent-line): Use it. Fix up category regex.
13805 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13806
940e5099
SM
138072013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * type-break.el (type-break-file-name):
13810 * textmodes/remember.el (remember-data-file):
13811 * strokes.el (strokes-file):
13812 * shadowfile.el (shadow-initialize):
13813 * saveplace.el (save-place-file):
13814 * ps-bdf.el (bdf-cache-file):
13815 * progmodes/idlwave.el (idlwave-config-directory):
13816 * net/quickurl.el (quickurl-url-file):
13817 * international/kkc.el (kkc-init-file-name):
13818 * ido.el (ido-save-directory-list-file):
13819 * emulation/viper.el (viper-custom-file-name):
13820 * emulation/vip.el (vip-startup-file):
13821 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13822 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13823
cc725808
PE
138242013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13825
13826 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13827 * language/thai-word.el: Switch to UTF-8.
13828
a020afb9 13829See ChangeLog.16 for earlier changes.
e3d51b27
MR
13830
13831;; Local Variables:
13832;; coding: utf-8
e3d51b27
MR
13833;; End:
13834
ba318903 13835 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13836
13837 This file is part of GNU Emacs.
13838
13839 GNU Emacs is free software: you can redistribute it and/or modify
13840 it under the terms of the GNU General Public License as published by
13841 the Free Software Foundation, either version 3 of the License, or
13842 (at your option) any later version.
13843
13844 GNU Emacs is distributed in the hope that it will be useful,
13845 but WITHOUT ANY WARRANTY; without even the implied warranty of
13846 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13847 GNU General Public License for more details.
13848
13849 You should have received a copy of the GNU General Public License
13850 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.