* net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
fa965cbf
MA
12014-03-06 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
4 (tramp-action-password): Clear password cache if needed.
5 (tramp-read-passwd): Do not clear password cache.
6
7 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
8 cache unless it is the first password request.
9
c94e6ee4
GM
102014-03-06 Glenn Morris <rgm@gnu.org>
11
03bc753e
GM
12 * simple.el (newline): Doc tweak.
13
c94e6ee4
GM
14 * emacs-lisp/shadow.el (load-path-shadows-find):
15 Ignore dir-locals. (Bug#12357)
16
bd2d43dc
GM
172014-03-05 Glenn Morris <rgm@gnu.org>
18
19 * files.el (interpreter-mode-alist):
20 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
21
9284000e
JB
222014-03-05 Juanma Barranquero <lekktu@gmail.com>
23
24 * frameset.el (frameset--initial-params): Filter out null entries.
25
e1a2cb1c
MR
262014-03-05 Martin Rudalics <rudalics@gmx.at>
27
28 * window.el (window-min-height, window-min-width): Rewrite
29 doc-strings.
30 (window-body-size): Add PIXELWISE argument to make it consistent
31 with its callees.
32
6bf67038
JB
332014-03-05 Juanma Barranquero <lekktu@gmail.com>
34
35 * finder.el (finder-mode-map, finder-mode-syntax-table):
36 Revert part of 2014-02-28 change.
37
90f04e4c
LI
382014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
39
40 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
41 (eww-setup-buffer): Clear next/prev/etc more reliably.
6952100d
LI
42 (eww-textarea-map): [tab] doesn't work on tty. Reported by Mario
43 Lang.
44
45 * net/shr.el (shr-map): Ditto.
90f04e4c 46
3106d59b
GM
472014-03-04 Glenn Morris <rgm@gnu.org>
48
49 * minibuffer.el (completion-hilit-commonality):
50 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
51
f604dfdc
JB
522014-03-04 Juanma Barranquero <lekktu@gmail.com>
53
54 * hilit-chg.el (hilit-chg-unload-function): New function.
55 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
56 (hilit-chg-map-changes): Prefer cardinal number to digit.
57 (hilit-chg-display-changes): Reflow docstring.
58 (highlight-changes-rotate-faces): Remove superfluous backslash.
59
5dc65319
MA
602014-03-04 Michael Albinus <michael.albinus@gmx.de>
61
62 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
63 `tramp-send-command-and-check'.
64
4242d21d
JB
652014-03-04 Juanma Barranquero <lekktu@gmail.com>
66
b01fa838
JB
67 * hexl.el (hexl-address-region, hexl-ascii-region)
68 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
69 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
70 (hexl-forward-word, hexl-previous-line, hexl-next-line):
71 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
72 (hexl-mode): Doc fix.
73 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
74 (hexl-mode-ruler): Fix typos in docstrings.
75
4242d21d
JB
76 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
77 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
78 Remove superfluous backslashes.
79 (strokes-last-stroke, strokes-global-map, strokes-mode):
80 Reflow docstrings.
81 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
82 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
83 (strokes-distance-squared, strokes-global-set-stroke)
84 (strokes-global-set-stroke-string): Doc fixes.
85 (strokes-help): Fix typos; reflow docstring.
86
87132570
MR
872014-03-04 Martin Rudalics <rudalics@gmx.at>
88
89 * window.el (window-in-direction): Fix doc-string.
90
d82e752c
GM
912014-03-04 Glenn Morris <rgm@gnu.org>
92
93 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
94 Explicit error if no grammar.
95 (smie-config-save): Doc fix. Fix quote typo.
96
62528af0
SM
972014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
98
8d4901dc
SM
99 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
100 electric-indent-mode-hook if we obey electric-indent-mode.
101 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
102 decide whether we obey electric-indent-mode.
103 (c-change-set-fl-decl-start, c-extend-after-change-region):
104 Silence warnings.
105 (c-electric-indent-mode-hook): Assume we do want to obey
106 electric-indent-mode.
107
108 * electric.el (electric-indent-mode-has-been-called): Remove.
109 (electric-indent-mode): Fix accordingly.
110
092c12b2
SM
111 * files.el (hack-local-variables): Mention file name in warning.
112
62528af0
SM
113 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
114
5b87d0d9
MN
1152014-03-04 Michal Nazarewicz <mina86@mina86.com>
116
117 * binding.el: Add comment describing why C-d binds to `delete-char'.
118 * simple.el (delete-forward-char): Mark as interactive-only.
119
542a3840
JB
1202014-03-03 Juanma Barranquero <lekktu@gmail.com>
121
f2d2402e
GM
122 * icomplete.el (icomplete-completions):
123 Follow-up to 2014-03-01 change.
d11320e5
JB
124
125 * icomplete.el: Miscellaneous doc fixes.
126 Use Icomplete everywhere instead of icomplete for consistency.
127 (icomplete-max-delay-chars): Fix typo.
128 (icomplete-mode): Use \[].
129 (icomplete-tidy, icomplete-exhibit): Reflow.
130 (icomplete-minibuffer-setup-hook, icomplete-completions):
131 Remove superfluous backlashes.
132
133 * ido.el: Miscellaneous doc fixes.
134 Use Ido everywhere instead of ido or `ido' for consistency.
135 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
136 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
137 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
138 (ido-separator): Extract obsolescence info from docstring and declare
139 with make-obsolete-variable.
140 (ido-minibuffer-setup-hook): Simplify example.
141 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
142 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
143 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
144 (ido-everywhere): Reflow docstring.
145 (ido-toggle-vc): Doc fix.
146 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
147 of long list of keybindings.
148
7ebd57e9
GM
1492014-03-03 Glenn Morris <rgm@gnu.org>
150
151 * frame.el (display-pixel-height, display-pixel-width)
152 (display-mm-dimensions-alist, display-mm-height)
153 (display-mm-width): Doc tweaks.
154
35e951cd 1552014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
156
157 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
158 case of undo in region.
159
b923819c
MR
1602014-03-02 Martin Rudalics <rudalics@gmx.at>
161
162 * window.el (fit-window-to-buffer): Fix argument in window-size
163 call when window is horizontally combined.
164
b6e443c5
JB
1652014-03-02 Juanma Barranquero <lekktu@gmail.com>
166
167 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 168 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 169
1850913d
DG
1702014-03-01 Dmitry Gutov <dgutov@yandex.ru>
171
35e951cd
JB
172 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
173 Highlight regexp options. (Bug#16914)
1850913d 174
04b577b6
MR
1752014-03-01 Martin Rudalics <rudalics@gmx.at>
176
177 * window.el (window--max-delta-1): Round down when calculating
178 how many lines/columns we can get from a window.
179
b829360f
GM
1802014-03-01 Glenn Morris <rgm@gnu.org>
181
2501c912
GM
182 * isearch.el (search-invisible): Doc fix.
183
b829360f
GM
184 * minibuffer.el (completion-hilit-commonality):
185 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
186 * comint.el (comint-dynamic-list-completions): Doc fix.
187 * comint.el (comint-dynamic-list-completions):
188 * filecache.el (file-cache-minibuffer-complete):
189 * tempo.el (tempo-display-completions):
190 * eshell/em-hist.el (eshell-list-history):
191 Replace use of obsolete argument of display-completion-list.
192
9a155058
JB
1932014-03-01 Juanma Barranquero <lekktu@gmail.com>
194
195 * icomplete.el (icomplete-completions):
196 Revert back to using "..." when ?… cannot be displayed.
197
53f6cda8
JB
1982014-02-28 Juanma Barranquero <lekktu@gmail.com>
199
200 * finder.el (finder-unload-function): New function.
201
43977c23
JB
2022014-02-28 Juanma Barranquero <lekktu@gmail.com>
203
204 * dframe.el (dframe-detach):
205 * find-dired.el (find-dired, find-name-dired):
206 * finder.el (finder-mode-map, finder-mode-syntax-table)
207 (finder-headmark, finder-select, finder-mouse-select):
208 Fix docstring typos.
209
9dda75ad
MR
2102014-02-28 Martin Rudalics <rudalics@gmx.at>
211
212 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
213 * window.el (with-temp-buffer-window): Revert change from
43977c23 214 2014-02-21. Suggested by Thierry Volpiatto.
9dda75ad
MR
215 <thierry.volpiatto@gmail.com>. Fix doc-string based on a
216 suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
217 * help.el (with-help-window): Fix doc-string.
218
8a73034e
IK
2192014-02-28 Ivan Kanis <ivan@kanis.fr>
220
b70257b0
GM
221 * net/shr.el (shr-image-animate): New option.
222 (shr-put-image): Respect shr-image-animate.
8a73034e 223
245aa73e
MA
2242014-02-28 Michael Albinus <michael.albinus@gmx.de>
225
226 * net/tramp-adb.el (tramp-adb-parse-device-names):
227 Use `accept-process-output'.
228 (tramp-adb-handle-file-truename): Cache the localname only.
229 (tramp-adb-handle-make-directory)
230 (tramp-adb-handle-delete-directory): Flush file properties correctly.
231 (tramp-adb-handle-set-file-modes): Do not raise an error when file
232 modes cannot be changed.
233
234 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
235 file properties of symlinks.
236
48e15d64
PS
2372014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
238
239 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
240 required/optional fields to match development biblatex. (Bug#16781)
241
65b77347
AS
2422014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
243
244 * saveplace.el (toggle-save-place):
245 Fix argument handling. (Bug#16673)
246
5e618aba
GM
2472014-02-28 Glenn Morris <rgm@gnu.org>
248
249 * minibuffer.el (completions-first-difference)
250 (completions-common-part, completion-hilit-commonality): Doc fixes.
251
6deb314e
KB
2522014-02-28 Karl Berry <karl@gnu.org>
253
254 * info.el (Info-mode-map): Add H for describe-mode,
255 to synchronize with standalone Info.
256
289996f5
EL
2572014-02-28 Emilio C. Lopes <eclig@gmx.net>
258
259 * progmodes/sql.el (sql-interactive-mode):
260 Avoid setting global comint-input-ring-separator. (Bug#16814)
261
79fc1191
MA
2622014-02-27 Michael Albinus <michael.albinus@gmx.de>
263
264 * net/dbus.el (dbus--init-bus): Declare function.
265 (dbus-path-local, dbus-interface-local): New defconst.
266 (dbus-init-bus): Use them.
267 (dbus-return-values-table): Extend doc.
268 (dbus-handle-bus-disconnect): Extend error message.
269
298520df
JB
2702014-02-27 Juanma Barranquero <lekktu@gmail.com>
271
272 * subr.el (y-or-n-p): Fix double space issue in message.
273
c22c1614
MA
2742014-02-27 Michael Albinus <michael.albinus@gmx.de>
275
276 * net/tramp.el (tramp-call-process): Improve trace message.
277 (tramp-handle-insert-file-contents): Trace error case.
278
279 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
280 <insert-directory>: Use `tramp-handle-insert-directory'.
281 (tramp-adb-handle-insert-directory): Remove function.
282 (tramp-adb-send-command-and-check): New defun, replacing
283 `tramp-adb-command-exit-status'. Change all callees.
284 (tramp-adb-handle-file-attributes)
285 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
286 (tramp-adb-ls-output-name-less-p):
287 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
288 (tramp-adb-handle-delete-directory): Flush also file properties of
289 the truename of directory.
290 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
291 (tramp-adb-handle-file-local-copy): Make the local copy readable.
292 (tramp-adb-handle-write-region): Implement APPEND.
293 (tramp-adb-handle-rename-file): Make it more robust. Flush file
294 properties correctly.
295 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
296 variables. Check for connected devices only when needed.
297
d9263618
GM
2982014-02-27 Glenn Morris <rgm@gnu.org>
299
ea7826ba
GM
300 * minibuffer.el (completion-table-dynamic)
301 (completion-table-with-cache): Doc fixes.
302
d9263618
GM
303 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
304 (completing-read-multiple): Doc fixes.
305
eff3168a
DC
3062014-02-27 Daniel Colascione <dancol@dancol.org>
307
51f213c3
DC
308 * minibuffer.el (completion--nth-completion): Fix indentation.
309
eff3168a
DC
310 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
311 explicit tramp path is empty.
312
b77cfcd7
GM
3132014-02-27 Glenn Morris <rgm@gnu.org>
314
315 * emacs-lisp/crm.el (completing-read-multiple):
316 Empower help-enable-auto-load.
317
9577b569
GM
3182014-02-26 Glenn Morris <rgm@gnu.org>
319
259887e8
GM
320 * startup.el (command-line): Don't init the tty in daemon mode.
321
1d491ef2
GM
322 Avoid calling tty-setup-hook twice, eg if a term file
323 explicitly calls tty-run-terminal-initialization. (Bug#16859)
324 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
325 (tty-create-frame-with-faces): Use it.
326 * startup.el (command-line): Pass run-hook argument
327 to tty-run-terminal-initialization.
328
9577b569
GM
329 * dired.el (dired-restore-desktop-buffer): Demote errors;
330 eg in case a glob match fails. (Bug#16884)
331
40ff7f86
DG
3322014-02-26 Dmitry Gutov <dgutov@yandex.ru>
333
b2388336
DG
334 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
335 error from `read-from-string'. (Bug#16850)
336
40ff7f86
DG
337 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
338 result of `completing-read' in the interactive form. (Bug#16854)
339
98bd6b32
GM
3402014-02-25 Glenn Morris <rgm@gnu.org>
341
f086804c
GM
342 * image.el (image-animate, image-animate-timeout):
343 Stop animating images in dead buffers. (Bug#16878)
344
c107155e
GM
345 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
346
9577b569
GM
347 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
348 Doc fixes.
98bd6b32
GM
349 * startup.el (term-setup-hook): Doc fix. Make obsolete.
350 * term/sun.el (sun-raw-prefix-hooks):
351 Use tty-setup-hook instead of term-setup-hook.
352 (terminal-init-sun): Construct message from bytecomp plist.
353 * term/wyse50.el (enable-arrow-keys): Doc fix.
354
9c9e18e8
JB
3552014-02-24 Juanma Barranquero <lekktu@gmail.com>
356
357 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
358 Fix docstring typos.
359
c848881f
MA
3602014-02-24 Michael Albinus <michael.albinus@gmx.de>
361
362 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
363
0e38ae05
NR
3642014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
365
366 * minibuffer.el (completion--try-word-completion):
367 Fix error when completing M-x commands (bug#16808).
368
8ee4c296
LL
3692014-02-24 Leo Liu <sdl.web@gmail.com>
370
371 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
372
7d4bd627
JB
3732014-02-24 Juanma Barranquero <lekktu@gmail.com>
374
375 * apropos.el (apropos-print): Avoid formatting error when
376 apropos-do-all and apropos-compact-layout are both t.
377
e918e27f
JB
3782014-02-23 Juanma Barranquero <lekktu@gmail.com>
379
380 * apropos.el (apropos-property, apropos-all-words-regexp)
381 (apropos-true-hit, apropos-variable, apropos-print):
382 Fix docstring typos, and remove obsolete comment.
383
85c01f80
MA
3842014-02-23 Michael Albinus <michael.albinus@gmx.de>
385
386 * net/tramp-sh.el (tramp-sh-handle-file-truename):
387 Preserve trailing "/". (Bug#16851)
388
62f95022
DG
3892014-02-23 Dmitry Gutov <dgutov@yandex.ru>
390
391 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
392 after `=>' (bug#16811).
dfdb365c
DG
393 (ruby-smie-rules): Handle the inconsistent second element of the
394 list returned by `smie-indent--parent'.
395 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
396 method call.
62f95022 397
025f2c81
JB
3982014-02-23 Juanma Barranquero <lekktu@gmail.com>
399
400 * elec-pair.el (electric-pair-text-syntax-table)
401 (electric-pair-syntax-info, electric-pair--syntax-ppss)
402 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
403 (electric-pair--looking-at-unterminated-string-p): Doc fix.
404 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
405
123c84f9
GM
4062014-02-22 Glenn Morris <rgm@gnu.org>
407
612c3e46
GM
408 * imenu.el (imenu--generic-function): Doc fix.
409
123c84f9
GM
410 * register.el (frame-configuration-to-register): Make obsolete.
411
e59fa9ad
JB
4122014-02-22 Juanma Barranquero <lekktu@gmail.com>
413
414 * desktop.el (desktop-save-buffer-p): Do not fail when
415 desktop-files-not-to-save is nil. Return t for true result
416 as the doc says.
417
4e652634
DC
4182014-02-22 Daniel Colascione <dancol@dancol.org>
419
35e951cd
JB
420 * net/secrets.el (secrets-create-item,secrets-search-items):
421 Check that attribute values are strings, avoiding the construction
422 of invalid dbus messages.
4e652634 423
f35affb6
JB
4242014-02-21 Juanma Barranquero <lekktu@gmail.com>
425
426 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
427 defun-declarations-alist.
428
3d136b1b
SM
4292014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
432 (bug#16829).
433
612ddfc0
JB
4342014-02-21 Juanma Barranquero <lekktu@gmail.com>
435
436 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
437 (whitespace-newline, whitespace-trailing, whitespace-line)
438 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
439 (whitespace-space-after-tab): Fix typo in docstrings.
440
c8481b1b
DG
4412014-02-21 Dmitry Gutov <dgutov@yandex.ru>
442
cb8f50a7
DG
443 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
444
c8481b1b
DG
445 * electric.el (electric-indent-functions-without-reindent):
446 Add `yaml-indent-line'.
447
bed5126f
JB
4482014-02-21 Juanma Barranquero <lekktu@gmail.com>
449
34b71457
JB
450 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
451 It has done nothing for years; should be removed after the release.
452
bed5126f
JB
453 * simple.el (choose-completion): Fix docstring typo.
454 (read-quoted-char-radix): Remove unneeded * in docstring.
455 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
456 Don't escape parentheses unnecessarily in docstrings.
457
8dd3e94f
MR
4582014-02-21 Martin Rudalics <rudalics@gmx.at>
459
460 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
461 * window.el (window--dump-window, window--dump-frame):
462 New functions.
463 (window--min-size-1): Account for window dividers.
464 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
465 sum of the window components has been calculated.
466 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
467 nil make sure at least one text line and two text columns remain
468 fully visible.
469 (window-resize): Signal an error when window-resize-apply fails.
470 (window--resize-child-windows): Fix calculation of by how many
471 pixels a window can still be shrunk via window-new-normal.
472 (adjust-window-trailing-edge): Call window--resizable with
473 correct TRAIL argument.
474
2ed94e04
MR
475 (with-temp-buffer-window): Don't evaluate BODY within
476 with-current-buffer (Bug#16816).
477
0e5324c4
MA
4782014-02-21 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/tramp.el (tramp-check-cached-permissions):
481 Call `file-attributes' with `suffix' being a symbol but a string.
482
48198420
DC
4832014-02-21 Daniel Colascione <dancol@dancol.org>
484
485 * net/dbus.el (dbus-init-bus-1): Declare new subr.
486 (dbus-init-bus): New function: call into dbus-init-bus-1
487 and installs a handler for the disconnect signal.
488 (dbus-call-method): Rewrite to look for result in cons.
489 (dbus-call-method-handler): Store result in cons.
490 (dbus-check-event): Recognize events with nil sender as valid.
491 (dbus-handle-bus-disconnect): New function. React to bus
492 disconnection signal by synthesizing dbus error for each
493 pending synchronous or asynchronous call.
494 (dbus-notice-synchronous-call-errors): New function.
495 (dbus-handle-event): Raise errors directly only when `dbus-debug'
496 is true, not all the time.
497
99e15133
JB
4982014-02-21 Juanma Barranquero <lekktu@gmail.com>
499
e48983a6
JB
500 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
501 Remove obsolescence declarations, these variables do not exist anymore.
502
fdcfd745
JB
503 * savehist.el (savehist-save-minibuffer-history)
504 (savehist-additional-variables, savehist-file, savehist-mode-hook)
505 (savehist-save-hook, savehist-coding-system, savehist-loaded)
506 (savehist-load, savehist-install, savehist-autosave): Fix typos;
507 mostly, refer to "Savehist mode" when talking about the mode,
508 and not the function.
509
99e15133
JB
510 * saveplace.el (save-place): Remove redundant info in docstring.
511 (save-place-forget-unreadable-files, toggle-save-place)
512 (save-place-forget-unreadable-files, save-place-dired-hook):
513 Fix typos and remove unneeded backslashes.
514
f5bee33b
MA
5152014-02-20 Michael Albinus <michael.albinus@gmx.de>
516
517 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
518 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
519
520 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 521 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
522 (tramp-gvfs-handle-insert-directory): Remove function.
523
524 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
525 Call `tramp-handle-insert-directory'.
526
ee0761ca
JB
5272014-02-20 Juanma Barranquero <lekktu@gmail.com>
528
529 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
530 before the start of buffer/region (bug#16799).
531
4d49cc65
GM
5322014-02-20 Glenn Morris <rgm@gnu.org>
533
534 * isearch.el (search-invisible): Doc fix.
535
eee0d650
TK
5362014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
537
538 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
539 (bug#16657).
540
94e5e202
JB
5412014-02-19 Juanma Barranquero <lekktu@gmail.com>
542
543 * frameset.el (frameset-restore): Delay removing an old frame's
544 duplicate id until the new frame has been correctly created.
545
50bfdd5d
MA
5462014-02-19 Michael Albinus <michael.albinus@gmx.de>
547
548 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
549 (tramp-check-cached-permissions): Call `file-attributes' if the
550 cache is empty.
551
552 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 553 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
554
555 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 556 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
557 (tramp-gvfs-maybe-open-connection): Set always connection
558 properties, even if target is mounted already.
559
560 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
561 Set tramp-autoload cookie.
562 (tramp-get-remote-touch): New defun.
563 (tramp-sh-handle-set-file-times): Use it.
564 (tramp-sh-handle-directory-files-and-attributes):
565 Use `tramp-handle-directory-files-and-attributes' if neither stat
566 nor perl are available on the remote host.
567
568 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
569 "/". Write long listing only when "l" belongs to the switches.
570
571 * net/trampver.el: Update release number.
572
f097a3d2
JB
5732014-02-19 Juanma Barranquero <lekktu@gmail.com>
574
575 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
576
8e009b78
MR
5772014-02-19 Martin Rudalics <rudalics@gmx.at>
578
579 * window.el (window-state-put): Allow WINDOW to refer to an
580 internal window (Bug#16793).
581
95160c90
GM
5822014-02-19 Glenn Morris <rgm@gnu.org>
583
584 * textmodes/remember.el: Move provide statement to end.
585 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
586 (remember-notes): Doc fixes.
587
b28df58c
SM
5882014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * delsel.el (delete-char): Restore incorrectly erased property
591 (bug#16795).
592
7108e1c0
JB
5932014-02-18 Juanma Barranquero <lekktu@gmail.com>
594
595 * frameset.el (frameset--restore-frame): When a frame is being reused
596 and its root window is not alive, delete all the frame's windows before
597 restoring the window state. This works around the issue in bug#16793.
598
c863b6ad
GM
5992014-02-18 Glenn Morris <rgm@gnu.org>
600
a73fae1f
GM
601 * textmodes/remember.el (remember-data-directory)
602 (remember-directory-file-name-format, remember-store-in-files)
603 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
604 (remember-notes-save-and-bury-buffer)
605 (remember-notes--kill-buffer-query): Doc fixes.
606
c863b6ad
GM
607 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
608
29238d28
AM
6092014-02-17 Alan Mackenzie <acm@muc.de>
610
611 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 612 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 613 to electric-indent-{,local-}-mode.
b28df58c
SM
614 (c-basic-common-init): Set electric-indent-inhibit.
615 Initialise c-electric-flag from electric-indent-mode.
29238d28 616 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 617 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
618
619 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 620 hit, toggle electric-indent-local-mode.
29238d28 621
b28df58c
SM
622 * electric.el (electric-indent-mode-has-been-called):
623 New variable.
29238d28 624
c6463340
JB
6252014-02-17 Juanma Barranquero <lekktu@gmail.com>
626
627 * frameset.el (frameset-cfg-id): New function.
628 (frameset--reuse-frame, frameset-restore): Use it.
629 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
630
94912b88
SM
6312014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * ido.el (ido-file-internal): Remove unused var `d'.
634 Use \` for to match BoS. Fit within 80n columns.
635
26ea164c
DC
6362014-02-17 Daniel Colascione <dancol@dancol.org>
637
638 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
639 dbus-call-method check for completion using a busy-wait loop with
640 gradual backoff.
641
dd7691b7
MA
6422013-10-02 Michael Albinus <michael.albinus@gmx.de>
643
644 Sync with Tramp 2.2.9.
645
646 * net/trampver.el: Update release number.
647
17d1b51b
DG
6482014-02-16 Dmitry Gutov <dgutov@yandex.ru>
649
650 * ido.el (ido-file-internal): Don't add the name of an existing
651 directory twice. (Bug#16747)
652
5bcad689
GM
6532014-02-16 Glenn Morris <rgm@gnu.org>
654
655 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
656 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
657
6582014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
659
660 * progmodes/sql.el: Version 3.4
661 (sql-oracle-options): New default value ("-L").
94912b88 662 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 663 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 664 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
665 (sql-login-delay): New variable.
666 (sql-product-interactive): Use it.
667
285f1858
JB
6682014-02-15 Juanma Barranquero <lekktu@gmail.com>
669
670 * frameset.el (frameset--jump-to-register): Check that buffer is live
671 (bug#16749).
672
5d645ea4
GM
6732014-02-15 Glenn Morris <rgm@gnu.org>
674
675 * info.el (info-initialize): Revert 2014-01-10 change.
676
48c4f9b1
GM
6772014-02-14 Glenn Morris <rgm@gnu.org>
678
b8630261
GM
679 * replace.el (map-query-replace-regexp)
680 (read-regexp-defaults-function, read-regexp): Doc fixes.
681
b2bf2a25
GM
682 * dired.el (dired-read-regexp):
683 * faces.el (list-faces-display):
684 * misearch.el (multi-isearch-read-matching-buffers)
685 (multi-isearch-read-matching-files):
686 * play/cookie1.el (cookie-apropos):
687 * progmodes/grep.el (grep-read-regexp): Doc fixes.
688
48c4f9b1
GM
689 * textmodes/remember.el (remember): Use frameset-to-register
690 rather than frame-configuration-to-register.
691
2804e0bd
JB
6922014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
693
694 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
695 incorrect keybinding.
696
0b87142f
DC
6972014-02-13 Daniel Colascione <dancol@dancol.org>
698
699 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
700 when adding overlays so that line numbers from compiler match line
701 numbers we use.
702
47a73eb0
GM
7032014-02-13 Glenn Morris <rgm@gnu.org>
704
8abcfd51
GM
705 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
706
47a73eb0
GM
707 * jit-lock.el (jit-lock-mode): Doc fix.
708
c9b6b262
JB
7092014-02-13 Juanma Barranquero <lekktu@gmail.com>
710
711 * apropos.el (apropos-read-pattern): When the user passes an empty
712 string, give a more helpful error message than "Wrong type
713 argument: stringp, nil".
714
eb4c6947
SM
7152014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
718
0dab5068
GM
7192014-02-13 Glenn Morris <rgm@gnu.org>
720
721 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
722
59075dcf
SM
7232014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
724
725 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
726 shift-select commands.
727
5af9fbad
DG
7282014-02-12 Dmitry Gutov <dgutov@yandex.ru>
729
730 * progmodes/js.el (js-indent-line): Don't widen.
731 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
732
a215930c
GM
7332014-02-12 Glenn Morris <rgm@gnu.org>
734
a8cb4247
GM
735 * icomplete.el (icomplete): Add info-link to defgroup.
736 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
737 (icomplete-minibuffer-map, icomplete-mode)
738 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
739
a215930c
GM
740 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
741 (package-menu-filter): Rename from package-menu-filter-interactive.
742 Doc fix.
743
26c5ecd9
JB
7442014-02-11 Juanma Barranquero <lekktu@gmail.com>
745
746 * frameset.el (frameset--jump-to-register): Select the required
747 window and buffer before restoring position (bug#16696).
748
fcd58a02
LI
7492014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
750
751 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
752
bacb3380
GM
7532014-02-10 Glenn Morris <rgm@gnu.org>
754
755 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
756
881329dc
EZ
7572014-02-10 Eli Zaretskii <eliz@gnu.org>
758
02328db9
EZ
759 * w32-common-fns.el (x-get-selection): Doc fix.
760 * select.el (x-get-selection): Doc fix. (Bug#15109)
761
881329dc
EZ
762 * face-remap.el (face-remap-add-relative)
763 (face-remap-remove-relative, face-remap-reset-base)
764 (face-remap-set-base): Call force-mode-line-update to redisplay
765 the current buffer due to potential change in faces. (Bug#16709)
766
c7db4c06
MA
7672014-02-10 Michael Albinus <michael.albinus@gmx.de>
768
769 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
770 script more robustly.
771
6abe4589
LI
7722014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
773
7602b5c3
LI
774 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
775
e3692ee0
LI
776 * simple.el (choose-completion): Doc fix (bug#14160).
777
41015524
LI
778 * subr.el (event-start): Say what a nil EVENT value means.
779
87c79dcb
LI
780 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
781 (bug#14197).
782
3ab49e2c
LI
783 * progmodes/grep.el (find-program): Doc fix (bug#14289).
784
f3c60241
LI
785 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
786
3bd1d8a8
LI
787 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
788
6abe4589
LI
789 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
790 predicate function (bug#15455).
791
a11463de
DG
7922014-02-10 Dmitry Gutov <dgutov@yandex.ru>
793
794 * ielm.el (inferior-emacs-lisp-mode): Instead of
795 `comment-use-global-state', set `comment-use-syntax'.
796
2ab0ad85
GM
7972014-02-10 Glenn Morris <rgm@gnu.org>
798
799 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
800
411141fb
AM
8012014-02-09 Alan Mackenzie <acm@muc.de>
802
803 Fix c-invalidate-state-cache on narrowed buffers.
804 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
805 Widen when setting and clearing the CPP delimiter properties.
806
d6d5fdf8
LI
8072014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
808
92c70367
LI
809 * help.el (describe-bindings): Doc fix (bug#9888).
810
468ef484
LI
811 * files.el (save-buffer): Use ARG as the parameter name for
812 consistency (bug#10346).
7e34193f 813 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 814
fc2b1ffa 815 * cus-edit.el (customize-apropos): Fix error string.
382fd368 816 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 817 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 818
790aceec
LI
819 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
820
a54a7552 821 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 822 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 823
dd163123
LI
824 * font-lock.el (font-lock-value-in-major-mode): Clarify the
825 meaning of the parameter (bug#12282).
826
9e108fe6
LI
827 * files.el (find-file-noselect): Clarify prompt when changing
828 readedness (bug#13261).
5a836f58
LI
829 (locate-file): Suffixes aren't returned, so don't say that they
830 are (bug#12674).
2356b316 831 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 832
20dda930
LI
833 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
834 before we actually start to delete things (bug#16331).
835
d6d5fdf8
LI
836 * subr.el (event-start): Doc fix (bug#14228).
837 (event-end): Ditto.
838
2abd71e5
GM
8392014-02-09 Glenn Morris <rgm@gnu.org>
840
841 * emacs-lisp/warnings.el (lwarn):
842 Empower help-enable-auto-load. (Bug#15940)
843
c1b5900b
AS
8442014-02-08 Andreas Schwab <schwab@linux-m68k.org>
845
846 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
847 (Bug#16690)
848
429b93bd
MA
8492014-02-08 Michael Albinus <michael.albinus@gmx.de>
850
851 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
852 Insert output at end of buffer. (Bug#16120)
853
b772a699
LI
8542014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
855
18c6aa8c
LI
856 * simple.el (choose-completion-string-functions): Document new
857 calling convention (bug#14153).
54dd147a 858 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 859
dce8463b
LI
860 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
861
b772a699 862 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 863 (find-grep-dired): Doc fix (bug#14288).
b772a699 864
2423c8d5
JL
8652014-02-08 Juri Linkov <juri@jurta.org>
866
867 * isearch.el (isearch-quote-char): Check character validity
868 like in `quoted-insert' (bug#16677).
869
518f26c2
LI
8702014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
871
893cc908
LI
872 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
873
9165ffc0
LI
874 * isearch.el (isearch-hide-immediately): Doc clarification
875 (bug#14723).
876
6ef4f3ce
LI
877 * simple.el (line-move): Document utility function used many
878 places in the Emacs sources (bug#14843).
879
be58a238 880 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 881 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 882 (dired-up-directory): Doc fix (bug#14848).
be58a238 883
dd7aafbb
LI
884 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
885
15cb9968
LI
886 * files.el (file-relative-name): Doc fix (bug#15159).
887
9788effd
LI
888 * fringe.el (fringe-styles): Doc fix (bug#15239).
889
c96411bd
LI
890 * isearch.el (isearch-filter-predicate): Documentation typo fix
891 (bug#15474).
892
ea838c36
LI
893 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
894
0d8a4ae7
LI
895 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
896
f7a17bb3
LI
897 * replace.el (replace-match-maybe-edit): Doc clarification
898 (bug#15632).
899
1bde5c3b
LI
900 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
901
518f26c2
LI
902 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
903
dd8e49fd
GM
9042014-02-08 Glenn Morris <rgm@gnu.org>
905
906 * help-fns.el (describe-variable):
907 Check {file,dir}-local-variables-alist, and buffer-file-name,
908 in the correct buffer.
909
7e088b29
IL
9102014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
911
912 * help-fns.el (describe-variable): Fix the case where
913 a value is directory-local with no dir-locals file. (Bug#16635)
914
41a4a82f
GM
9152014-02-08 Glenn Morris <rgm@gnu.org>
916
917 * abbrev.el (edit-abbrevs-mode):
918 Derive from fundamental-mode. (Bug#16682)
919
e255a703
JB
9202014-02-07 Juanma Barranquero <lekktu@gmail.com>
921
922 * simple.el (quoted-insert): Check character validity (bug#16677).
923
c99cf5ee
JL
9242014-02-07 Juri Linkov <juri@jurta.org>
925
926 * desktop.el (desktop-read): Claim the lock when the owner is not
927 the current process. (Bug#16157)
928
7d7a68d8
JL
9292014-02-07 Juri Linkov <juri@jurta.org>
930
931 * desktop.el (desktop-buffers-not-to-save): Change default from nil
932 to "\\` ". (Bug#16651)
933
2b777cd9
JL
9342014-02-07 Juri Linkov <juri@jurta.org>
935
936 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
937 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
938 (desktop-auto-save-cancel-timer): New function with some code from
939 `desktop-auto-save-set-timer'.
940 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
941 Instead of setting `desktop-save-mode' to nil, call
942 `desktop-save-mode' with arg 0. (Bug#16630)
943
60eabbb9
GM
9442014-02-07 Glenn Morris <rgm@gnu.org>
945
99cf3859
GM
946 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
947 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
948 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
949
2b568bc9
GM
950 * obsolete/iswitchb.el: Move to obsolete/.
951 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
952 since obsolete/ is not scanned for autoloads.
953 * emacs-lisp/authors.el (authors-valid-file-names):
954 Add iswitchb.el.
955
60eabbb9
GM
956 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
957 Disable now non-functional find-file-hook.
958
629de968
MA
9592014-02-06 Michael Albinus <michael.albinus@gmx.de>
960
961 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
962 instead of ";" in order to avoid additional prompts. Let heredoc
963 scripts read from tty. (Bug#16582)
964 (tramp-send-command): No special handling of heredocs, it isn't
965 necessary anymore.
966
29127376
SM
9672014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
970 with a space (bug#16664). Limit the symbols considered to the ones
971 that are bound or fbound (bug#16646).
972
79b6e0a9
GM
9732014-02-06 Glenn Morris <rgm@gnu.org>
974
975 * epa.el (epa-mail-aliases): Doc fix.
976
a333e4d2
DG
9772014-02-06 Dmitry Gutov <dgutov@yandex.ru>
978
29127376
SM
979 * emacs-lisp/lisp.el (lisp-completion-at-point):
980 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
981 (bug#16604).
982
983 * minibuffer.el (completion-table-merge): New function.
984
9a83b32b
MA
9852014-02-05 Michael Albinus <michael.albinus@gmx.de>
986
987 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
988 (tramp-sh-handle-set-file-acl)
989 (tramp-sh-handle-start-file-process)
990 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
991 (tramp-find-executable, tramp-send-command): Use it.
992
451ea3e6
GM
9932014-02-05 Glenn Morris <rgm@gnu.org>
994
9a83b32b 995 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 996
dd27d13b
FEG
9972014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
998
35e951cd 999 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1000 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1001
08e41897
AL
10022014-02-04 Anders Lindgren <andlind@gmail.com>
1003
1004 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1005 the names (bug#16620).
1006
764ec9e5
MR
10072014-02-03 Martin Rudalics <rudalics@gmx.at>
1008
08e41897
AL
1009 * faces.el (window-divider): New default value. Rewrite doc-string.
1010 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1011
6da8227c
DG
10122014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1013
1014 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1015 `protected' and `public' can also be called without arguments.
1016
6a6b8e40
GM
10172014-02-03 Glenn Morris <rgm@gnu.org>
1018
7bcbca40
GM
1019 * register.el (window-configuration-to-register)
1020 (frame-configuration-to-register): Unadvertise unused argument.
1021 * frameset.el (frameset-to-register): Remove unused argument.
1022
719d965d 1023 * frameset.el (frameset-to-register):
6a6b8e40
GM
1024 * kmacro.el (kmacro-to-register):
1025 * register.el (increment-register):
1026 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1027 (calc-append-to-register, calc-prepend-to-register):
1028 * play/gametree.el (gametree-layout-to-register)
1029 (gametree-apply-register-layout):
1030 * textmodes/picture.el (picture-clear-rectangle-to-register)
1031 (picture-yank-rectangle-from-register):
1032 * vc/emerge.el (emerge-combine-versions-register):
1033 Use register-read-with-preview to read registers.
1034
5dca7759
JT
10352014-02-03 João Távora <joaotavora@gmail.com>
1036
1037 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1038 when at beginning of (possibly narrowed) buffer.
1039
709085b9
DC
10402014-02-02 Daniel Colascione <dancol@dancol.org>
1041
c295fc18 1042 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1043 Also try to display local help from just before point.
709085b9 1044
99f7b0a6
AM
10452014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1046
1047 c-parse-state. Don't "append-lower-brace-pair" in certain
1048 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1049 recognised as a comment.
1050
1051 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1052 as well as normal comment starter.
1053 (c-parse-state-get-strategy): Extra return possibility
1054 'back-and-forward.
1055 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1056 return value list to indicate replacement of a brace-pair cons
1057 with its car.
1058 (c-parse-state-1): With 'back-and-forward, only call
1059 c-append-lower-brace-pair-to state-cache when cons-separated.
1060
f0a10576
JD
10612014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1062
1063 * term/ns-win.el (ns-suspend-error): New function.
1064 (ns-initialize-window-system): Add ns-suspend-error to
1065 suspend-hook (Bug#16612).
1066
b8d552c2
DC
10672014-02-02 Daniel Colascione <dancol@dancol.org>
1068
35e951cd
JB
1069 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1070 Make loading cc-mode silent.
b8d552c2 1071
f2b7d123
DC
10722014-02-02 Daniel Colascione <dancol@dancol.org>
1073
35e951cd
JB
1074 * comint.el (comint-prompt-read-only): Change doc to suggest
1075 remap keybinding.
f2b7d123 1076
4472a196
GM
10772014-02-02 Glenn Morris <rgm@gnu.org>
1078
1079 * register.el (register-read-with-preview, point-to-register)
1080 (window-configuration-to-register, frame-configuration-to-register)
1081 (jump-to-register, number-to-register, view-register, insert-register)
1082 (copy-to-register, append-to-register, prepend-to-register)
1083 (copy-rectangle-to-register): Doc fixes.
1084
70e5a261
SM
10852014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1088 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1089 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1090 * help-fns.el (describe-function-1): Use it.
1091
7c324762
GM
10922014-02-02 Glenn Morris <rgm@gnu.org>
1093
1094 * register.el (register-preview-default): New function,
1095 split from register-preview.
1096 (register-preview-function): Rename from register-preview-functions,
1097 make it not a hook.
1098 (register-preview): Use register-preview-function.
1099 (register-read-with-preview): Error on non-character event. (Bug#16595)
1100
a09beb3d
DG
11012014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1102
1103 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1104 `:' before binary operators (bug#16609). Don't check for `:'
1105 before `[' and `(', or their syntax status. A percent literal
1106 can't end with either.
68e004e0
DG
1107 (ruby-font-lock-keywords): For built-ins that require arguments,
1108 check that they're followed by something that looks like argument
1109 (bug#16610).
a09beb3d 1110
ed4d2875
LI
11112014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1112
1113 * subr.el (butlast): Document what an omitted N means (bug#13437).
1114 (nbutlast): Ditto.
1115
dba6e3ec
LI
11162014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1117
1118 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1119 depth shallower (bug#16587).
cc477daa
LI
1120 (shr-tag-svg): Respect `shr-inhibit-images'.
1121 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1122
e2a67bd0
DG
11232014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1124
1125 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1126 (ruby-smie-grammar): Make "." right-associative. Make its priority
1127 lower than the ternary and all binary operators.
1128 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1129 parent, or the first "." parent at indentation.
1130 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1131 (Bug#16593)
1132
bd21bf41
JL
11332014-01-31 Juri Linkov <juri@jurta.org>
1134
1135 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1136 from `make-hash-table'.
1137
1138 * textmodes/ispell.el (ispell-init-process): Change message format
1139 to be consistent with other messages.
1140
b7e615b9
GM
11412014-01-31 Glenn Morris <rgm@gnu.org>
1142
a69ecd19
GM
1143 * delsel.el (delete-selection-mode): Doc fix.
1144
9997d7e3
GM
1145 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1146 (trace-function-background): Doc fixes.
1147
fbb764b8
GM
1148 * ido.el (ido-use-virtual-buffers): Doc fix.
1149 Reset :version, since the default value has not changed.
1150
da942af1
GM
1151 * register.el (register-preview-delay, register-read-with-preview):
1152 Doc fixes.
1153
b7e615b9
GM
1154 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1155 do not mess with mail-buffer position (fixes 2009-11-03 change).
1156 * progmodes/cc-mode.el (c-submit-bug-report):
1157 Check auto-fill-mode is bound. (Bug#16592)
1158
0a25002d
DH
11592014-01-31 Darren Hoo <darren.hoo@gmail.com>
1160
1161 * startup.el (fancy-splash-image-file): New function,
1162 split from fancy-splash-head.
1163 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1164 so that we are both using the same image. (Bug#16574)
1165
ad78f432
GM
11662014-01-30 Glenn Morris <rgm@gnu.org>
1167
6bbc0c84
GM
1168 * simple.el (eval-expression): Doc fix.
1169
ad78f432
GM
1170 * hexl.el (hexl-mode-hook):
1171 * ielm.el (ielm-mode-hook):
1172 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1173 (lisp-interaction-mode-hook):
1174 * progmodes/cfengine.e (cfengine3-documentation-function):
1175 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1176
7b2f049c
SM
11772014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1180 is a symbol (bug#16584).
1181
0c633f13
GM
11822014-01-30 Glenn Morris <rgm@gnu.org>
1183
1184 * help.el (help-for-help-internal): Add "P" to text.
1185
5e61c1ef
GM
11862014-01-29 Glenn Morris <rgm@gnu.org>
1187
1188 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1189
1dcb169c
MR
11902014-01-28 Martin Rudalics <rudalics@gmx.at>
1191
1192 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1193 height constraints.
1194
a9128931
LL
11952014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1196
1197 * progmodes/hideif.el: Extend to full CPP expression syntax.
1198 (hif-token-alist): Add missing tokens.
1199 (hif-token-regexp): Add support for float/octal/hex immediates.
1200 (hif-string-literal-regexp): New const.
1201 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1202 (hif-exprlist): New function.
1203 (hif-parse-if-exp): Use it.
1204 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1205 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1206 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1207 (hif-logxor, hif-comma): New functions.
1208
a22359a7
GM
12092014-01-28 Glenn Morris <rgm@gnu.org>
1210
793ffe81
GM
1211 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1212
e3bd7eed
GM
1213 * indent.el (tab-stop-list): Doc fix. Add :version.
1214
a22359a7
GM
1215 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1216 (cvs-append-to-ignore): Add compatibility alias.
1217
52695556 12182014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1219
bac524e0
GM
1220 * dired.el (dired-hide-details-mode): Don't autoload it,
1221 since it cannot be used outside Dired buffers anyway.
1222
52695556 1223 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1224
52695556
GM
1225 * dired.el (dired-hide-details-hide-symlink-targets)
1226 (dired-hide-details-hide-information-lines)
1227 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1228
1229 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1230 * strokes.el (strokes-file): Doc fix. Bump :version.
1231 (strokes-help): Doc fix.
1232 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1233 * emulation/viper.el (viper): Doc fix for custom group.
1234 (top-level): Remove oh-so-no-longer-relevant text about vip.
1235 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1236
1237 * ido.el (ido-save-directory-list-file):
1238 * saveplace.el (save-place-file):
1239 * calendar/timeclock.el (timeclock-file):
1240 * net/quickurl.el (quickurl-url-file):
1241 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1242 * progmodes/idlwave.el (idlwave-config-directory):
1243 * textmodes/remember.el (remember-data-file):
1244 Bump :version.
1245
169d6004
GM
12462014-01-26 Glenn Morris <rgm@gnu.org>
1247
de6a923b
GM
1248 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1249 Doc fix. Make obsolete.
1250 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1251
169d6004
GM
1252 * sort.el (delete-duplicate-lines): Doc fix.
1253
ed85dee6
RS
12542014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1255
1256 * progmodes/ada-mode.el (ada):
1257 * woman.el (woman): Link to info manual and Commentary section.
1258
1259 * progmodes/flymake.el (flymake):
1260 * nxml/nxml-mode.el (nxml):
1261 * net/eww.el (eww):
1262 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1263 * htmlfontify.el (htmlfontify):
1264 * ses.el (ses):
1265 * epa.el (epa):
1266 * ido.el (ido): Link to info manual.
1267
e0c67e1d
LL
12682014-01-25 Leo Liu <sdl.web@gmail.com>
1269
1270 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1271
35408b1a
AS
12722014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1273
1274 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1275 (bug#16537).
1276
76c3fa95
JB
12772014-01-24 Juanma Barranquero <lekktu@gmail.com>
1278
f77c7a99
JB
1279 * net/eww.el (eww-download-callback):
1280 Fix reference to eww-download-directory.
1281
76c3fa95
JB
1282 * emacs-lisp/bytecomp.el (byte-compile-file):
1283 Remove unused local variable `file-name'.
1284
1e548e40
GM
12852014-01-24 Glenn Morris <rgm@gnu.org>
1286
03f3b318
GM
1287 * woman.el (woman-default-faces, woman-monochrome-faces):
1288 Fix obsolescence specification.
1289
1e548e40
GM
1290 * subr.el (with-demoted-errors): Doc fix.
1291
d4f0427b
SM
12922014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1295 (cl--macroexp-fboundp): New function.
1296 (cl--make-type-test): Use it.
1297
1670e27f
GM
12982014-01-23 Glenn Morris <rgm@gnu.org>
1299
1300 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1301 * simple.el (eval-expression): Doc fixes.
1302
80efa207
GM
13032014-01-22 Glenn Morris <rgm@gnu.org>
1304
1305 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1306
29afcbab
SM
13072014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1308
1309 * emacs-lisp/package.el: Write files silently.
1310 (package-autoload-ensure-default-file, package--write-file-no-coding)
1311 (package-generate-description-file, package--download-one-archive)
1312 (package-install-from-archive): Tell `write-region' to stay quiet.
1313 (package-menu-mode, package-menu--print-info): Omit the Archive column
1314 if there's only one archive.
1315 (package-all-keywords, package--has-keyword-p): Remove dead code.
1316
2a5bce4f
GM
13172014-01-22 Glenn Morris <rgm@gnu.org>
1318
edace89f
GM
1319 * version.el (emacs-bzr-version-bzr): Fix typo.
1320
2a5bce4f
GM
1321 * version.el (emacs-repository-get-version):
1322 Check either .bzr or .git, but not both.
1323 Make the git case actually use the DIR argument, and return nil
1324 rather than the empty string.
983664c0 1325 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1326
6cb4da45
MR
13272014-01-22 Martin Rudalics <rudalics@gmx.at>
1328
1329 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1330 * window.el (window-total-size, window-size): New argument ROUND.
1331 (window--min-delta-1, window-min-delta, window--max-delta-1):
1332 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1333 columns a window can shrink (Bug#16430).
1334 (fit-window-to-buffer): Simplify code.
1335 * term.el (term-window-width): Call window-body-width again.
1336
cc0f2ece
GM
13372014-01-22 Glenn Morris <rgm@gnu.org>
1338
7b997b14
GM
1339 * image.el (image-format-suffixes): Doc fix.
1340
44e76f9d
GM
1341 * international/quail.el (quail-define-package): Doc fix.
1342
35e951cd 1343 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1344 (authors-renamed-files-alist): Additions.
7bfc1caa 1345
85a5f61f
GM
1346 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1347 reverts 2014-01-09 change. (Bug#16422)
1348
cc0f2ece
GM
1349 * calc/calc-embed.el (thing-at-point-looking-at):
1350 * emacs-lisp/map-ynp.el (x-popup-dialog):
1351 * obsolete/lmenu.el (x-popup-dialog):
1352 * emacs-lisp/package.el (url-recreate-url):
1353 * mail/mailclient.el (clipboard-kill-ring-save):
1354 * subr.el (x-popup-dialog): Update declaration.
1355 * mail/rmail.el (rmail-mime-message-p):
1356 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1357
00d2a6bb
DC
13582014-01-21 Daniel Colascione <dancol@dancol.org>
1359
1360 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1361 Correctly detect when we're inside an arithmetic expansion form
1362 containing nested parenthesis.
c295fc18 1363 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1364 to detect cases where we shouldn't expand "<<" to a heredoc
1365 skeleton.
1366
dd9d2e9d
SM
13672014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1370 (eldoc--message-command-p): New function.
1371 (eldoc-display-message-p): Use it.
1372 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1373 message is not automatically erased for us.
1374 (eldoc-print-current-symbol-info): Erase previous message, if any.
1375
e7d807ca
TH
13762014-01-21 Tassilo Horn <tsdh@gnu.org>
1377
4ff0a0e5
TH
1378 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1379 specify it's an interactive function.
1380
dd9d2e9d
SM
1381 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1382 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1383 citations with optional arguments.
1384
87503791
LL
13852014-01-21 Leo Liu <sdl.web@gmail.com>
1386
1387 * simple.el (read--expression): Don't enable eldoc-mode.
1388
6cc750ee
SM
13892014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * simple.el (move-beginning-of-line): Make sure we don't move forward
1392 (bug#16497).
1393
71f16bda
JL
13942014-01-20 Juri Linkov <juri@jurta.org>
1395
1396 * saveplace.el (toggle-save-place, save-place-to-alist)
1397 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1398 'dired-mode) before checking for dired-directory. (Bug#16477)
1399
3c5a4839
JL
14002014-01-20 Juri Linkov <juri@jurta.org>
1401
1402 * indent.el (indent-line-to): Use backward-to-indentation
1403 instead of back-to-indentation. (Bug#16461)
1404
f952002e
PE
14052014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1406
1407 Revert some of the CANNOT_DUMP fix (Bug#16494).
1408 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1409 but fixing this can wait until after the next release.
1410 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1411
93675500
MA
14122014-01-19 Michael Albinus <michael.albinus@gmx.de>
1413
1414 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1415 Use `password-word-equivalents'.
1416 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1417 to t. (Bug#5664, Bug#13124)
1418
e3af763f
AM
14192014-01-19 Alan Mackenzie <acm@muc.de>
1420
1421 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1422 points.
1423 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1424 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1425 * progmodes/cc-mode.el (c-before-change, c-after-change)
1426 (c-font-lock-fontify-region): Bind it here.
1427
4ff6d92d
MR
14282014-01-19 Martin Rudalics <rudalics@gmx.at>
1429
1430 * term.el (term-window-width): Call window-text-width instead of
1431 window-width (Bug#16470).
1432
9a685cf6
PE
14332014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1434
1435 * simple.el (password-word-equivalents): Remove duplicates.
1436 Sort, to make this easier next time.
1437 Downcase. Omit ": " after "jelszó".
1438
5aa78c2d
JD
14392014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1440
1441 * term/common-win.el (saved-region-selection): Defvar it.
1442 (x-select-text): Set saved-region-selection (Bug#16382).
1443
cabb250c
GM
14442014-01-18 Glenn Morris <rgm@gnu.org>
1445
1446 * emacs-lisp/authors.el (authors-aliases)
1447 (authors-renamed-files-alist): Add some entries.
1448
a1340440
MA
14492014-01-17 Michael Albinus <michael.albinus@gmx.de>
1450
93675500
MA
1451 * net/tramp.el (tramp-password-prompt-regexp):
1452 Use `password-word-equivalents' if available.
a1340440
MA
1453 (tramp-action-password, tramp-process-one-action)
1454 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1455
681ce5d2
CY
14562014-01-17 Chong Yidong <cyd@gnu.org>
1457
1458 * simple.el (password-word-equivalents): New defcustom.
1459 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1460 to 24.4.
1461 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1462 to t. (Bug#13124)
1463
fb3d479c
DG
14642014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1465
1466 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1467 (ruby-align-to-stmt-keywords): Change the default value.
1468 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1469 choices.
1470 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1471 keywords, check against the value of `ruby-alignable-keywords'
1472 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1473
0d613483
GM
14742014-01-17 Glenn Morris <rgm@gnu.org>
1475
fc23fe2d
GM
1476 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1477
0d613483 1478 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 1479 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
1480 (authors-ignored-files): Add some entries, remove others.
1481 (authors-ambiguous-files, authors-valid-file-names):
1482 Add some entries.
1483 (authors-renamed-files-alist): Add, remove, and adjust entries.
1484 (authors-renamed-files-regexps): Add some entries.
1485 Remove some very broad ones. Make some entries `lax'.
1486 (authors-lax-changelogs): New constant.
1487 (authors-disambiguate-file-name): Treat top-level specially.
1488 (authors-lax-changelog-p): New function.
1489 (authors-canonical-file-name): Check file as written against
1490 authors-valid-file-names. Do not special-case etc/.
1491 Handle `lax' logs and authors-renamed-files-regexps elements.
1492
2dbf4ffd
DG
14932014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1494
1495 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1496 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1497 callers.
2dbf4ffd 1498
87b2a7f2
SM
14992014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1502 Assume we're already in the proper buffer.
1503 Inspired by Anders Lindgren <andlind@gmail.com>.
1504 (follow-post-command-hook): Call it from the right buffer.
1505 (follow-comint-scroll-to-bottom): Adjust call.
1506 (follow-all-followers): Use get-buffer-window-list.
1507
93acfb0e
DC
15082014-01-15 Daniel Colascione <dancol@dancol.org>
1509
1510 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1511 `buffer-file-name' in interactive-form so that we don't leave
1512 pathless file names in `file-name-history'.
1513
ccc6b208
JL
15142014-01-15 Juri Linkov <juri@jurta.org>
1515
1516 * indent.el (indent-rigidly): Set deactivate-mark to nil
1517 in transient indentation mode. (Bug#16438)
1518
5c92e00d
DG
15192014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1520
1521 * emacs-lisp/package.el (package-desc-keywords): New function
1522 (Bug#16222).
1523 (describe-package-1, package-all-keywords)
1524 (package--has-keyword-p): Use it.
1525
dac69660
NR
15262014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1527
1528 * simple.el (define-alternatives): When creating the
1529 COMMAND-alternatives variable, assign COMMAND as its definition
1530 name so that `describe-variable' can relocate it.
1531
8b63edf8
ML
15322014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1533
1534 * font-lock.el (font-lock-keywords): Fix typo in docstring
1535 (bug#16307).
1536
c6a0b8eb
AM
15372014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1538
1539 * ispell.el (ispell-region): Reset `in-comment' for new line
1540 instead of wrongly reset `add-coment' (bug#13577).
1541
02bf443d
DU
15422014-01-14 Daiki Ueno <ueno@gnu.org>
1543
1544 * epa-file.el (epa-file-write-region): Encode the region according
1545 to `buffer-file-format'. Problem reported at:
1546 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1547
fd7fde15
SM
15482014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1551 so it applies in the right buffer (bug#16410).
1552
c176054f
DC
15532014-01-13 Daniel Colascione <dancol@dancol.org>
1554
1555 * textmodes/rst.el (rst-define-key): Provide deprecated
1556 keybindings through named functions instead of anonymous ones so
1557 that "??" doesn't appear in describe-mode output.
1558
e3f33e5d
BG
15592014-01-13 Bastien Guerry <bzg@gnu.org>
1560
1561 * simple.el (define-alternatives): Call the selected command
1562 interactively. When setting `COMMAND--implementation' for the
1563 first time, tell the user how to chose another implementation.
1564 Enhance the docstring.
1565
c055d654
SM
15662014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1567
1568 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1569 (log-edit--match-first-line): New function.
1570 (log-edit-font-lock-keywords): Use it.
1571 (log-edit-mode): Make jit-lock-defer-multiline work.
1572
d791cc3b
BG
15732014-01-13 Bastien Guerry <bzg@gnu.org>
1574
1575 * rect.el (rectangle-mark-mode): When the region is not active,
1576 display a message saying that the mark as been set and that
1577 rectangle mode is in use.
1578 (rectangle--highlight-for-redisplay): Only put an overlay with a
1579 visible vertical bar when (display-graphic-p) is non-nil.
1580 This partially fixes Bug#16403.
1581
3c0c4562
JL
15822014-01-13 Juri Linkov <juri@jurta.org>
1583
1584 * info.el (Info-find-file): Go to DIR before displaying the error
1585 about a nonexistent file if no previous Info file is visited.
1586 Use `user-error' instead of `error' for "Info file %s does not exist".
1587 (Info-find-node-2): In case of a nonexistent node in unwind forms
1588 go to the Top node if there is no previous node to revert to.
1589 (Bug#16405)
1590
25a700d0
MR
15912014-01-13 Martin Rudalics <rudalics@gmx.at>
1592
1593 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1594 * window.el (fit-frame-to-buffer): Fix doc-string.
1595 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1596 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1597 when avoiding that frame goes partially off-screen.
1598 (fit-window-to-buffer): Respect window-min-height/-width
1599 (Bug#14096).
1600
6ae948d8
SM
16012014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1604 after an empty line.
1605
6137cb82
SM
16062014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * net/shr.el (shr-render-region): Autoload.
1609
e6344e17
XF
16102014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1611
1612 * net/eww.el (eww-download-directory): Rename from
1613 `eww-download-path' (Bug#16419).
1614
3b922c70
LL
16152014-01-12 Leo Liu <sdl.web@gmail.com>
1616
1617 * dired-x.el (dired-mode-map): Fix last change.
1618
1619 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1620
4fa51741
PE
16212014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1622
1623 Spelling fixes.
1624 * emacs-lisp/generic.el (generic--normalize-comments):
1625 Rename from generic--normalise-comments. All uses changed.
35e951cd 1626 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
1627 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1628 (bubbles--neighborhood-available)
1629 (bubbles--update-neighborhood-score):
1630 Rename from names with 'neighbourhood'. All uses changed.
1631
9b335362
LL
16322014-01-12 Leo Liu <sdl.web@gmail.com>
1633
1634 Re-implement the feature of showing eldoc info after editing.
1635 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1636 (eldoc-edit-message-commands): New function.
1637 (eldoc-print-after-edit): New variable.
1638 (eldoc-pre-command-refresh-echo-area): Emit message only by
1639 eldoc-message-commands.
1640 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1641 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1642 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1643 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1644
e2a095b1
GM
16452014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1646 Eric S. Raymond <esr@thyrsus.com>
9685190b 1647
841a6d0c 1648 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1649 function works correctly in either a Bazaar or Git repo.
0abf4134 1650
e2a095b1
GM
16512014-01-11 Eric S. Raymond <esr@thyrsus.com>
1652
6137cb82
SM
1653 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1654 Goes with removal of the joke manpages from /etc.
9685190b 1655
c295fc18 16562014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1657
6137cb82
SM
1658 * mail/rmail.el (rmail-get-coding-system):
1659 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1660
d2f16e93
GM
16612014-01-10 Glenn Morris <rgm@gnu.org>
1662
1663 * emacs-lisp/authors.el (authors-fixed-entries):
1664 Update for files that no longer exist.
1665
7e03bb32
ER
16662014-01-10 Eric S. Raymond <esr@thyrsus.com>
1667
1668 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1669 24.3 (Tested).
7e03bb32 1670
dd806710
BB
16712014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1672
1673 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1674 and Podfile.
1675
ed6ec139
EZ
16762014-01-10 Eli Zaretskii <eliz@gnu.org>
1677
1678 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1679
cc33cac9
CY
16802014-01-10 Chong Yidong <cyd@gnu.org>
1681
6137cb82 1682 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1683
d9d836b5
AL
16842014-01-10 Anders Lindgren <andlind@gmail.com>
1685
1686 * follow.el (follow-cache-command-list): Include right-char and
1687 left-char.
1688
06827ec8
PE
16892014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1690
1691 Spelling fixes.
1692 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1693 * woman.el (woman-mark-horizontal-position):
1694 Rename from woman-mark-horizonal-position. Use changed.
1695
458dbf5e
GM
16962014-01-10 Glenn Morris <rgm@gnu.org>
1697
dad6fae7
GM
1698 * info.el (info-initialize): If running uninstalled, ensure our
1699 own info files are always found first, even if INFOPATH is set.
1700
458dbf5e
GM
1701 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1702
05e0afce
DE
17032014-01-09 David Engster <deng@randomsample.de>
1704
1705 * emacs-lisp/eieio-custom.el:
1706 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1707 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1708 * emacs-lisp/eieio.el: Regenerate autoloads.
1709
f29778b3
ER
17102014-01-09 Eric S. Raymond <esr@thyrsus.com>
1711
1712 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1713 following renames. (Bug#8756)
f29778b3 1714
684d44ef
SM
17152014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1718 (bug#16382).
1719 (activate-mark): Add `no-tmm' argument.
1720 (set-mark, push-mark-command): Use it instead of running
1721 activate-mark-hook by hand.
1722
9475054f
ER
17232014-01-08 Eric S. Raymond <esr@thyrsus.com>
1724
1725 In preparation for the move to git, sanitize out some
1726 Bazaar-specific names.
1727
38942b9c
GM
1728 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1729
9475054f 1730 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1731 emacs-repository-version. Obsolete-variable alias made.
9475054f 1732 * loadup.el: Follow through on this name change.
a12bf61e 1733 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1734 assumption about the version control system in use.
1735
0f918d96 17362014-01-08 David Engster <deng@randomsample.de>
abb82152 1737
684d44ef
SM
1738 * help-fns.el (help-fns-describe-function-functions):
1739 New variable to call functions for augmenting help buffers.
abb82152
DE
1740 (describe-function-1): Remove explicit calls to
1741 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
1742 `help-fns--obsolete'. Put them in above new variable instead, and
1743 call them through `run-hook-with-args'.
1744 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1745 `eieio-describe-class'. Not meant for interactive use anymore,
1746 but to augment existing help buffers. Remove optional second
684d44ef
SM
1747 argument. Create proper button for file location.
1748 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
1749 possible.
1750 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1751 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
1752 (describe-method, describe-generic, eieio-describe-method):
1753 Remove aliases.
0f918d96
DE
1754 (eieio-help-constructor, eieio-help-generic): Rename from
1755 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1756 Rewrite to use `insert' in the current buffer and use proper help
1757 buttons.
1758 (eieio-help-find-method-definition)
1759 (eieio-help-find-class-definition): Also accept symbols as
1760 arguments.
1761 (eieio-help-mode-augmentation-maybee): Remove.
1762 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
1763 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1764 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 1765
136b74c5
PE
17662014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1767
1768 Spelling fixes.
1769 * language/china-util.el (hz-ascii-designation):
1770 Rename from hz-ascii-designnation.
1771 (hz-ascii-designation): Rename from hz-ascii-designnation.
1772 All uses changed.
1773
ec6c7de2
SM
17742014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1777 package-alist.
1778
d6262c7c
BG
17792014-01-08 Bastien Guerry <bzg@gnu.org>
1780
4b9e6087
GM
1781 * emacs-lisp/package.el (package-delete):
1782 Correctly delete the package from package-alist.
d6262c7c 1783
0a3eec32
DU
17842014-01-08 Daiki Ueno <ueno@gnu.org>
1785
1786 * emacs-lisp/package.el (url-recreate-url): Declare.
1787 (url-http-target-url): Declare.
4b9e6087 1788 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1789 (package--check-signature): Don't re-signal errors from
1790 package--with-work-buffer. Suggested by Stefan Monnier.
1791
68f0bb97
BG
17922014-01-07 Bastien Guerry <bzg@gnu.org>
1793
1794 * minibuffer.el (completion--try-word-completion): When both a
1795 hyphen and a space are possible candidates for the character
1796 following a word, display both candidates. (Bug#15980)
1797
7e1899d7
MR
17982014-01-07 Martin Rudalics <rudalics@gmx.at>
1799
1800 * window.el (balance-windows-2): While rounding don't give a
c295fc18 1801 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 1802
0030ec15
GM
18032014-01-07 Glenn Morris <rgm@gnu.org>
1804
1805 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1806 (menu-bar-help-menu): Use view-external-packages instead.
1807
2b6b4f20
BG
18082014-01-07 Bastien Guerry <bzg@gnu.org>
1809
1810 * emacs-lisp/package.el (package-delete): Also delete the package
1811 name from `package-alist', not its description only.
1812
e9be0a13
GM
18132014-01-07 Glenn Morris <rgm@gnu.org>
1814
1815 * help.el (view-external-packages):
1816 * menu-bar.el (menu-bar-help-extra-packages):
1817 Visit efaq.info rather than etc/MORE.STUFF.
1818
e4f74da9
JL
18192014-01-07 Juri Linkov <juri@jurta.org>
1820
1821 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1822 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1823
1824 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1825 that shadows RET. (Bug#16342)
1826
de7ce2d1
CY
18272014-01-07 Chong Yidong <cyd@gnu.org>
1828
1829 * isearch.el (isearch-yank-char, isearch-yank-word)
1830 (isearch-yank-line): Doc fix.
1831
6bdd9204
SM
18322014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1835 * emacs-lisp/elint.el (elint-find-builtins):
1836 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1837 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1838 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1839 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1840 * apropos.el (apropos-safe-documentation):
1841 * subr.el (symbol-file): Remove redundant fboundp.
1842 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1843
daccca97
BG
18442014-01-06 Bastien Guerry <bzg@gnu.org>
1845
1846 * hl-line.el (global-hl-line-overlay): Make a local variable.
1847 (global-hl-line-overlays): New variable to store all overlays.
1848 (global-hl-line-mode): Don't delete overlays from the current
1849 buffer when `global-hl-line-sticky-flag' is non-nil.
1850 (global-hl-line-highlight): Add new overlays to
1851 `global-hl-line-overlays'.
1852 (global-hl-line-unhighlight-all): New function to delete all
1853 overlays when turning off `global-hl-line-mode'.
1854 This fixes Bug#16183.
1855
ec00f20f
SM
18562014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1857
1858 * subr.el (set-transient-map): Fix nested case and docstring.
1859
a0031f97
TH
18602014-01-06 Tassilo Horn <tsdh@gnu.org>
1861
1862 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1863 `Texinfo' entry.
1864
bf6a77f3
DC
18652014-01-06 Daniel Colascione <dancol@dancol.org>
1866
1867 Fix defun navigation in vc log view.
1868
1869 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1870 like `beginning-of-defun'.
c295fc18 1871 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
1872 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1873 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1874 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1875 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1876
d5081c1e
PE
18772014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1878
1879 Spelling fixes.
1880 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1881 * emacs-lisp/debug.el (cancel-debug-on-entry):
1882 * epg.el (epg-error-to-string):
1883 * files.el (recover-file):
1884 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1885 * mail/emacsbug.el (report-emacs-bug-hook):
1886 * mail/sendmail.el (mail-recover):
1887 * ses.el (ses-yank-resize):
1888 * term/ns-win.el (ns-print-buffer):
1889 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1890 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1891 All uses changed.
1892 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1893
53f6b148
LL
18942014-01-06 Leo Liu <sdl.web@gmail.com>
1895
1896 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1897 to avoid shadowing global key. (Bug#16354)
53f6b148 1898
b82ace2f
DC
18992014-01-06 Daniel Colascione <dancol@dancol.org>
1900
1901 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1902 rst-mode.
1903
3669b636
MR
19042014-01-05 Martin Rudalics <rudalics@gmx.at>
1905
1906 * window.el (balance-windows): Add mising t to fix Bug#16351.
1907
1a29adc2
LMI
19082014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1909
1910 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1911 (bug#16285).
3d95a0f4
LMI
1912 (shr-insert): If we have a word that's longer than `shr-width',
1913 break after it anyway. Otherwise we'll do no breaking once we get
1914 such a long word.
1a29adc2 1915
f4018140
KN
19162014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1917
3fcfc4ee 1918 * net/eww.el (eww): Support single/double quote for search.
c295fc18 1919 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
1920 (eww-history-quit): Delete and use quit-window.
1921 (eww-history-kill): Delete, because it doesn't work well and
1922 not necessary.
1923 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1924
4e619754
PE
19252014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1926
73dbf960
PE
1927 Fix misspelling of 'chinese' in rx (Bug#16237).
1928 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1929 chinese-two-byte.
1930
4e619754
PE
1931 Change subword regexps back to vars (Bug#16296).
1932 * progmodes/subword.el (subword-forward-regexp)
1933 (subword-backward-regexp): Change these back to variables.
1934
e18b70fc
SM
19352014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1938 syntax-begin-function (bug#16247).
1939
0d53f628
CY
19402014-01-03 Chong Yidong <cyd@gnu.org>
1941
1942 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1943 (advice--docstring): Delete variable.
1944 (advice--make-1): Leave the docstring empty.
1945 (advice-add): Use function-documentation for advised docstring.
1946
1947 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1948 Ignore function-documentation property when getting documentation.
1949 (ad-activate-advised-definition): Use function-documentation
1950 generate the docstring.
1951 (ad-make-advised-definition): Don't call
1952 ad-make-advised-definition-docstring.
1953 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1954 Delete functions.
1955
1956 * progmodes/sql.el (sql-help): Use function-documentation instead
1957 of dynamic-docstring-function property. No need to autoload now.
1958 (sql--help-docstring): New variable.
1959 (sql--make-help-docstring): Use it.
1960
6f547583
SM
19612014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1962
6ef9aed8
SM
1963 * ielm.el (ielm-tab): Retarget.
1964 (ielm-map): Use ielm-tab for tab.
1965 (ielm-complete-filename): Use comint-filename-completion.
1966 (ielm-complete-symbol): Remove.
1967 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1968 remove ielm-tab from completion-at-point-functions (bug#16224).
1969
6f547583
SM
1970 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1971 Beware signals raised by predicates (bug#16201).
1972
a574edbe
RS
19732014-01-02 Richard Stallman <rms@gnu.org>
1974
e831604d
RS
1975 * dired-aux.el (dired-do-print): Handle printer-name.
1976
6f547583
SM
1977 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1978 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1979 (rmail-epa-decrypt): Turn off mime processing.
1980
3fcfc4ee 1981 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1982 Add parens in message-id.
1983
1984 * mail/rmail.el (rmail-get-coding-function): Variable.
1985 (rmail-get-coding-system): Use it.
1986
04311a16
KH
19872013-12-31 Eli Zaretskii <eliz@gnu.org>
1988
1989 * international/mule-conf.el: Unify the charset indian-is13194.
1990 (indian-is13194): Specify unify-map.
1991
c8d89778
LL
19922013-12-31 Leo Liu <sdl.web@gmail.com>
1993
1994 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1995
e63ace37
DC
19962013-12-30 Daniel Colascione <dancol@dancol.org>
1997
9e0bf19a
DC
1998 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1999 of printing a useless when we resume from sleep.
2000
e63ace37 2001 * progmodes/sh-script.el
c295fc18 2002 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2003 in indentation code. (Bug#16233)
2004
e9d6c46a
JT
20052013-12-28 João Távora <joaotavora@gmail.com>
2006
6f547583
SM
2007 * elec-pair.el (electric-pair-post-self-insert-function):
2008 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2009
bf7bea5d
EZ
20102013-12-28 Eli Zaretskii <eliz@gnu.org>
2011
2012 * frame.el (window-system-for-display): Don't allow to create a
2013 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2014
8449dd1f
GM
20152013-12-28 Glenn Morris <rgm@gnu.org>
2016
9c5a5c77
GM
2017 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2018 Update callers.
2019
2020 * apropos.el (apropos-match-face):
2021 * calculator.el (calculator-displayer):
2022 * dabbrev.el (dabbrev-search-these-buffers-only):
2023 * face-remap.el (buffer-face-mode-face):
2024 * simple.el (yank-handled-properties):
2025 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2026 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2027 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2028 (hashcash-double-spend-database):
2029 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2030 (ruby-deep-indent-paren-style):
2031 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2032 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2033 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2034 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2035 Specify custom types.
2036
bb098075
GM
2037 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2038 * bookmark.el (bookmark-bmenu-use-header-line):
2039 * doc-view.el (doc-view-scale-internally):
2040 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2041 * register.el (register-preview-delay):
2042 * net/shr.el (shr-bullet):
2043 * progmodes/cfengine.el (cfengine-cf-promises)
2044 (cfengine-parameters-indent):
2045 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2046 * textmodes/reftex-vars.el (reftex-label-regexps):
2047 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2048
9c61f806
GM
2049 * net/tls.el (tls-certtool-program): Fix default value.
2050
2051 * desktop.el (desktop-restore-in-current-display):
2052 * newcomment.el (comment-empty-lines):
2053 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2054 (idlwave-pad-keyword):
2055 * progmodes/tcl.el (tcl-tab-always-indent):
2056 * textmodes/reftex-vars.el (reftex-index-default-tag):
2057 * elec-pair.el (electric-pair-skip-whitespace):
2058 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2059
8449dd1f
GM
2060 * emacs-lisp/authors.el (authors-ignored-files)
2061 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2062
fdadeb49
JC
20632013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2064
72140a0f
GM
2065 * shell.el (shell-dynamic-complete-command): Doc fix.
2066 (shell--command-completion-data): Shell completion now matches
2067 executable filenames from the current buffer's directory, on
da5ecfa9 2068 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2069
e572a7d8
LI
20702013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2071
2072 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2073
7514d3f8
SM
20742013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2075
a4151f3b
SM
2076 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2077 (bug#16251).
2078
7514d3f8
SM
2079 * electric.el: Move all electric-pair-* to elec-pair.el.
2080 * elec-pair.el: New file, split from electric.el.
2081
ac5758d1
LI
20822013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2083
2084 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2085 indentation level is larger than the width, because that will
2086 infloop.
2087 (shr-insert): Fill repeatedly long texts, so that Japanese is
2088 formatted correctly (bug#16263).
24a6b65e
LI
2089 (shr-find-fill-point): Off by one error in comparison with the
2090 indentation.
ac5758d1 2091
7514d3f8 20922013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2093
2094 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2095 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2096 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2097 if that keeps or improves their balance in buffers.
2098 (electric-pair-delete-adjacent-pairs): Delete the pair when
2099 backspacing over adjacent matched delimiters.
2100 (electric-pair-open-extra-newline): Open extra newline when
2101 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2102 (electric--sort-post-self-insertion-hook):
2103 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2104 minor-modes are activated.
2105 * simple.el (newline-and-indent): Call newline with interactive
2106 set to t.
2107 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2108 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2109 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2110 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2111 electric-pair-open-newline-between-pairs to nil.
2112
fbcc63a3
FEG
21132013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2114
2115 * progmodes/python.el: Use lexical-binding.
2116 (python-nav-beginning-of-defun): Stop searching ASAP.
2117
ed78d16c
XF
21182013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2119
2120 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2121 Fix interactive spec. Doc fix. (Bug#15754)
2122
38b2c142
KY
21232013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2124
2125 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2126 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2127 Fix edebug spec (bug#16184).
2128
3c856c14
LI
21292013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2130
83fa295c 2131 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2132 (shr-insert): Don't infloop if we can't find a good place to break
2133 the line (bug#16256).
3c856c14 2134
01379221
FEG
21352013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2136
35e951cd 2137 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2138 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2139 python-nav-lisp-forward-sexp-safe.
2140 (python-nav--forward-sexp): New argument SAFE allows switching
2141 forward sexp movement behavior for parens.
2142 (python-nav-forward-sexp): Throw errors on unterminated parens
2143 (Bug#16191).
2144 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2145 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2146 (python-shell-buffer-substring):
2147 Use `python-nav-forward-sexp-safe'.
01379221 2148
99e4926f
LI
21492013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2150
2151 * net/shr.el (shr-find-fill-point): Don't break lines before a
2152 quotation mark.
c6c20584
LI
2153 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2154 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2155 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2156
fec0e828
KN
21572013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2158
2159 * net/eww.el (eww-form-textarea): Use a different face for
2160 textareas than text input since they have different keymaps
2161 (bug#16142).
2162
89c868ad
FEG
21632013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2164
7514d3f8
SM
2165 * progmodes/python.el (python-nav-beginning-of-statement):
2166 Speed up (Bug#15295).
89c868ad 2167
eeef121a
LI
21682013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2169
2170 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2171 the window configuration.
2172
121ea65f
EZ
21732013-12-24 Eli Zaretskii <eliz@gnu.org>
2174
2175 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2176 we run on MS-Windows or MS-DOS.
2177
18cee9ec
MR
21782013-12-24 Martin Rudalics <rudalics@gmx.at>
2179
2180 * window.el (balance-windows-area): Call window-size instead of
2181 window-height and window-width. Bug#16241.
2182
58f2b9a5
LI
21832013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2184
2185 * net/eww.el (eww-bookmark-quit): Remove.
2186 (eww-bookmark-browse): Restore the window configuration when you
2187 choose a bookmark (bug#16144).
2188
d64b6308
DC
21892013-12-24 Daniel Colascione <dancol@dancol.org>
2190
2191 * icomplete.el: Remove redundant :group arguments to `defcustom'
2192 throughout.
2193 (icomplete-show-matches-on-no-input): New customizable variable.
2194 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2195 we have something to show.
7514d3f8 2196 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2197
0da54898
DC
21982013-12-23 Daniel Colascione <dancol@dancol.org>
2199
2200 * icomplete.el: Move `provide' to end of file.
2201
b90aa4f4
TZ
22022013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2203
2204 * net/gnutls.el (gnutls-verify-error): Add version tag.
2205
8cd22a08
CY
22062013-12-23 Chong Yidong <cyd@gnu.org>
2207
2208 * subr.el (set-transient-map): Rename from
2209 set-temporary-overlay-map. Doc fix.
2210
2211 * face-remap.el (text-scale-adjust):
2212 * indent.el (indent-rigidly):
2213 * kmacro.el (kmacro-call-macro):
2214 * minibuffer.el (minibuffer-force-complete):
2215 * repeat.el (repeat):
2216 * simple.el (universal-argument--mode):
2217 * calendar/todo-mode.el (todo-insert-item--next-param):
2218 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2219
7510b021
CY
2220 * indent.el (indent-rigidly): Use substitute-command-keys.
2221
72140a0f 22222013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2223
2224 * net/eww.el (eww-tag-select): Add text-property to jump to next
2225 select field.
e9dc713d 2226 (eww): Add non-supported ftp error.
56890ecd 2227
1f87a56c
DG
22282013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2229
2230 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2231 comments. Handle electric indent after typing `?' and `!'.
2232
dca38cf9
CY
22332013-12-22 Chong Yidong <cyd@gnu.org>
2234
2235 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2236 applicable to a frame, fall back on the defface spec.
2237 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2238
f2351498
DG
22392013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2240
2241 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2242 after `{'. We need it after block openers, and it doesn't seem
2243 to hurt after hash openers.
2244
6cddebc1
DG
22452013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2246
2247 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2248 extracted from `ruby-smie-rules'.
2249 (ruby--electric-indent-chars): New variable.
2250 (ruby--electric-indent-p): New function.
2251 (ruby-mode): Use `electric-indent-functions' instead of
2252 `electric-indent-chars'.
2253
65a1da00
DG
22542013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2255
2256 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2257 docstring.
2258 (ruby-smie-rules): Indent plus one level after `=>'.
2259
b51ad4cf
RS
22602013-12-21 Richard Stallman <rms@gnu.org>
2261
2262 * simple.el (newline): Doc fix.
2263
72140a0f 22642013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2265
e9dc713d 2266 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2267 (eww-history-browse, eww-history-quit, eww-history-kill)
2268 (eww-history-mode-map, eww-history-mode): New command and
2269 functions to list browser histories.
e9dc713d
JB
2270 (eww-form-text): Support text form with disabled
2271 and readonly attributes.
2272 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2273
5e1901c1
RS
22742013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2275
2276 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2277 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2278 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2279 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2280 Use `user-error'.
2281 (eww-bookmark-mode-map): Add menu.
2282 (eww-render, eww-mode): Use `setq-local'.
2283 (eww-tool-bar-map): New variable.
2284 (eww-mode): Set `tool-bar-map'.
2285 (eww-view-source): Check for `html-mode' with `fboundp'.
2286
073d5cfd
LMI
22872013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2288
2289 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2290 elements with text inside. Also remove debugging.
2291
41cf3d11
JD
22922013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2293
2294 * cus-start.el (all): Add ns-use-srgb-colorspace.
2295
aac2b673
CY
22962013-12-21 Chong Yidong <cyd@gnu.org>
2297
2298 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2299 undefined. Thus, theme settings for undefined faces do not take
2300 effect until the faces are defined with defface, the same as with
2301 theme variables.
2302
2303 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2304 (face-spec-reset-face): Don't assign extra properties in temacs.
2305 (face-spec-recalc): Apply X resources too.
2306
bacb0e77
CY
23072013-12-21 Chong Yidong <cyd@gnu.org>
2308
2309 * faces.el (face-spec-set):
2310 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2311 * custom.el (defface): Doc fixes (Bug#16203).
2312
77221051
CY
2313 * indent.el (indent-rigidly-map): Add docstring, and move commands
2314 into named functions.
2315 (indent-rigidly-left, indent-rigidly-right)
2316 (indent-rigidly-left-to-tab-stop)
2317 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2318 indentation direction based on bidi direction, and accumulate
2319 sequential commands in a single undo boundary.
2320 (indent-rigidly--pop-undo): New utility function.
2321
e0eb0550
JB
23222013-12-20 Juanma Barranquero <lekktu@gmail.com>
2323
2324 * faces.el (read-face-name): Require crm.el when using crm-separator.
2325
3282bd2e
DC
23262013-12-20 Daniel Colascione <dancol@dancol.org>
2327
2328 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2329 so that we don't reflow comments into the shebang line.
2330
1d42e5b6
JL
23312013-12-20 Juri Linkov <juri@jurta.org>
2332
2333 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2334 a position when `dired-directory' is non-nil. Check integer
2335 positions with `integerp'.
2336 (toggle-save-place, save-places-to-alist): Add check for
2337 `dired-directory'.
2338 (save-place-find-file-hook): Check integer positions with
2339 `integerp'.
2340 (save-place-dired-hook): Use `dired-goto-file' when
2341 `dired-filename' is found in the assoc list. Check integer
2342 positions with `integerp'.
2343 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2344
2345 * dired.el (dired-initial-position-hook): Rename back from
2346 `dired-initial-point-hook'.
2347 (dired-initial-position): Rename `dired-initial-point-hook' to
2348 `dired-initial-position-hook'.
2349 (dired-file-name-at-point): Doc fix. (Bug#15329)
2350
24da7273
JL
23512013-12-20 Juri Linkov <juri@jurta.org>
2352
2353 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2354 (read-regexp-suggestions): New function.
2355 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2356 Use `read-regexp-suggestions'. Add non-empty default to history
2357 for empty input.
2358 (occur-read-regexp-defaults-function): Remove function.
2359 (occur-read-primary-args): Use `regexp-history-last' instead of
2360 `occur-read-regexp-defaults-function'.
2361
2362 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2363 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2364 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2365 `hi-lock-read-regexp-defaults-function'. Doc fix.
2366 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2367 with `find-tag-default-as-symbol-regexp'. Doc fix.
2368 (hi-lock-read-regexp-defaults): Remove function.
2369 (hi-lock-regexp-okay): Add check for null.
2370
2371 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2372 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2373
2374 * subr.el (find-tag-default-as-symbol-regexp): New function.
2375 (find-tag-default-as-regexp): Move symbol regexp formatting to
2376 `find-tag-default-as-symbol-regexp'.
2377
137f57c8
S
23782013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2379
2380 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2381 (Bug#14179)
2382
f3a66082
SB
23832013-12-20 Stephen Berman <stephen.berman@gmx.net>
2384
2385 * calendar/todo-mode.el: New implementation of item insertion
2386 commands and key bindings.
2387 (todo-key-prompt): New face.
2388 (todo-insert-item): New command.
2389 (todo-insert-item--parameters): New defconst, replacing defvar
2390 todo-insertion-commands-args-genlist.
2391 (todo-insert-item--param-key-alist): New defconst, replacing
2392 defvar todo-insertion-commands-arg-key-list.
2393 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2394 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2395 (todo-insert-item--next-param): New functions.
2396 (todo-insert-item--args, todo-insert-item--argleft)
2397 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2398 New variables.
2399 (todo-key-bindings-t): Change binding of "i" from
2400 todo-insertion-map to todo-insert-item.
2401 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2402 (todo-insertion-command-name, todo-insertion-commands-names)
2403 (todo-define-insertion-command, todo-insertion-commands)
2404 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2405
2f99433b
SB
24062013-12-20 Stephen Berman <stephen.berman@gmx.net>
2407
2408 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2409 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2410 eval-when-compile.
2411 (todo-move-category): Allow choosing a non-existing todo file to
2412 move the category to, and create that file.
2413 (todo-default-priority): New user option.
2414 (todo-set-item-priority): Use it.
2415 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2416 (desktop-restore-file-buffer): Declare.
2417 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2418 (todo-modes-set-2): Locally set desktop-save-buffer to
2419 todo-desktop-save-buffer.
2420 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2421 (auto-mode-alist): Add autoload cookie.
2422
131e4695
BB
24232013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2424
2425 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2426 helpers.el was a poor choice of name.
3cbfb935
BB
2427 (string-remove-prefix): New function.
2428 (string-remove-suffix): New function.
131e4695 2429
c44de18d
MR
24302013-12-20 Martin Rudalics <rudalics@gmx.at>
2431
2432 Fix assignment for new window total sizes.
2433 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2434 (window--pixel-to-total-1, window--pixel-to-total):
2435 Fix calculation of new total sizes.
c44de18d 2436
ca65efcc
VS
24372013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2438
2439 * comint.el (comint-output-filter): Fix rear-nonsticky property
2440 placement (Bug#16010).
2441
a9574eb7
CY
24422013-12-20 Chong Yidong <cyd@gnu.org>
2443
2444 * faces.el (read-color): Minor fix for completion function.
2445
b520f210
DG
24462013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2447
e0eb0550
JB
2448 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2449 New option. (Bug#16182)
b520f210
DG
2450 (ruby-smie--indent-to-stmt-p): Use it.
2451 (ruby-smie-rules): Revert the logic in the handling of `when'.
2452 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2453 (ruby-deep-arglist, ruby-deep-indent-paren)
2454 (ruby-deep-indent-paren-style): Update docstrings to note that the
2455 vars don't have any effect with SMIE.
2456
26b75b45
JB
24572013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2458
2459 * calc/calc.el (calc-enter, calc-pop): Use the variable
2460 `calc-context-sensitive-enter'.
2461
cf91cee7
LMI
24622013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2463
2464 * net/shr.el (shr-insert): Protect against infloops in degenerate
2465 tables.
2466
51d971b4
RS
24672013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2468
2469 * progmodes/octave.el (octave): Add link to manual and octave
2470 homepage.
2471 (octave-mode-menu): Link to octave-mode manual.
2472
8c2e462a
LL
24732013-12-20 Leo Liu <sdl.web@gmail.com>
2474
2475 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2476 insertion using skeleton-end-newline. (Bug#16138)
2477
501158bc
JL
24782013-12-20 Juri Linkov <juri@jurta.org>
2479
2480 * replace.el (occur-engine): Use `add-face-text-property'
2481 to add the face property to matches and titles. (Bug#14645)
2482
2483 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2484 the palette of other hi-lock colors.
2485 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2486
50ab1da6
JL
24872013-12-19 Juri Linkov <juri@jurta.org>
2488
2489 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2490 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2491 (minibuffer-history-symbol): Move variable declaration closer to
2492 its usage.
2493
2494 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2495 (Bug#14785)
2496
3d6e95e7
JL
24972013-12-19 Juri Linkov <juri@jurta.org>
2498
2499 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2500 New function.
2501 (log-edit-hook): Add it to :options. (Bug#16170)
2502
b41594fd
JL
25032013-12-19 Juri Linkov <juri@jurta.org>
2504
2505 * simple.el (eval-expression-print-format): Don't check for
2506 command names and the last command. Always display additional
2507 formats of the integer result in the echo area, and insert them
2508 to the current buffer only with a zero prefix arg.
2509 Display character when char-displayable-p is non-nil.
2510 (eval-expression): With a zero prefix arg, set `print-length' and
2511 `print-level' to nil, and insert the integer values from
2512 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2513
2514 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2515 `eval-last-sexp-arg-internal'. Doc fix.
2516 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2517 `eval-last-sexp-print-value'. Doc fix.
2518 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2519 Set `print-length' and `print-level' to nil when arg is zero.
2520 (eval-last-sexp): Doc fix.
2521 (eval-defun-2): Print the integer values from
2522 `eval-expression-print-format' at the end.
2523
2524 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2525 values from `eval-expression-print-format' at the end.
2526
2527 * ielm.el (ielm-eval-input): Print the integer
2528 values from `eval-expression-print-format' at the end.
2529
8f2be364
TZ
25302013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2531
2532 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2533 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2534
2230a6e3
SM
25352013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2538 (hl-line-highlight, global-hl-line-highlight): Use it.
2539 (hl-line-overlay): Use defvar-local.
2540
1269a680
JD
25412013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2542
2543 * term/ns-win.el: Require dnd.
2544 (global-map): Remove drag items.
2545 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2546 (ns-set-background-at-mouse):
2547 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2548 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2549 New functions.
1269a680 2550
049638ad
GM
25512013-12-19 Glenn Morris <rgm@gnu.org>
2552
2553 * emacs-lisp/ert.el (ert-select-tests):
2554 Fix string/symbol mixup. (Bug#16121)
2555
ce41edb4
DG
25562013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2557
2558 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2559 keywords to their parent.
2560
7e1549c9
DG
25612013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2562
2563 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2564 first arg to be a string (fixed dead code), or an operator symbol.
2565 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2566 operator symbols.
2567 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2568 did nothing. Don't respond to `(:after ".")', it will be called
2569 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2570 change anything. Only return indentation for binary operators
2571 when they are hanging. De-dent opening paren when its parent is
2572 `.', otherwise it looks bad when the dot is not at bol or eol
2573 (bug#16182).
2574
3ee4cd64
JL
25752013-12-19 Juri Linkov <juri@jurta.org>
2576
2577 * replace.el (query-replace-read-args): Split a non-negative arg
2578 and a negative arg into separate elements.
2579 (query-replace, query-replace-regexp, replace-string)
2580 (replace-regexp): Add arg `backward'. Doc fix.
2581 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2582 move point to the beginning of the match.
2583 (replace-search, replace-highlight): Use new arg `backward'
2584 to set the value of `isearch-forward'.
2585 (perform-replace): Add arg `backward' and use it to perform
2586 replacement backward. (Bug#14979)
2587
2588 * isearch.el (isearch-query-replace): Use a negative prefix arg
2589 to call `perform-replace' with a non-nil arg `backward'.
2590
0cda6b7b
JL
25912013-12-18 Juri Linkov <juri@jurta.org>
2592
2593 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2594 to the default list. Move `log-edit-show-files' to the end.
2595 Add more available functions to options.
2596 (log-edit): Move default specific settings to
2597 `log-edit-insert-message-template'. Don't move point.
2598 (log-edit-insert-message-template): New function.
2599 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2600 (Bug#16170)
2601
b216f0a6
JL
26022013-12-18 Juri Linkov <juri@jurta.org>
2603
2604 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2605 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2606
1d1c55dc
LL
26072013-12-18 Leo Liu <sdl.web@gmail.com>
2608
e9dc713d
JB
2609 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2610 (Bug#16186)
1d1c55dc 2611
64e4c76e
EZ
26122013-12-18 Eli Zaretskii <eliz@gnu.org>
2613
2614 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2615 formats for displaying file sizes when the -s switch is given.
2616 Instead, compute a separate format for displaying the size in
2617 blocks, which is displayed in addition to the "regular" size.
2618 When -h is given in addition to -s, produce size in blocks in
2619 human-readable form as well. (Bug#16179)
2620
b2984e39
TH
26212013-12-18 Tassilo Horn <tsdh@gnu.org>
2622
2230a6e3
SM
2623 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2624 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2625
50ff2e06
CY
26262013-12-18 Chong Yidong <cyd@gnu.org>
2627
0081bc84
CY
2628 * cus-edit.el (custom-magic-alist): Fix "themed" description
2629 (Bug#14348).
2630
a7ee9424
CY
2631 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2632 is non-nil, do not create a new entry in the symbol's theme-value
2633 or theme-face property; update theme-settings only (Bug#14664).
18874304 2634 (custom-available-themes): Doc fix.
a7ee9424 2635
8f942537
CY
2636 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2637 (Bug#15674).
2638
50ff2e06
CY
2639 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2640
83c60f60
KI
26412013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2642
2643 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2644 (Bug#13914).
2645
e0eb0550 26462013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2647
2648 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2649
1f41ee56
GM
26502013-12-18 Glenn Morris <rgm@gnu.org>
2651
2652 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2653 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2654
e82134b1
LW
26552013-12-18 Le Wang <l26wang@gmail.com>
2656
2230a6e3
SM
2657 * comint.el (comint-previous-matching-input-from-input):
2658 Retain point (Bug#13404).
e82134b1 2659
33f5d4c1
CY
26602013-12-18 Chong Yidong <cyd@gnu.org>
2661
2662 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2663
ccc9f6dc
GM
26642013-12-18 Glenn Morris <rgm@gnu.org>
2665
2666 * mail/emacsbug.el (report-emacs-bug):
2667 Only mention enable-multibyte-characters if non-standard.
2668
33dd8e95
JL
26692013-12-17 Juri Linkov <juri@jurta.org>
2670
2671 * arc-mode.el (archive-extract-by-file): Check if directory exists
2672 before deletion to not show irrelevant errors if it doesn't exist.
2673
7a409b30
JL
26742013-12-17 Juri Linkov <juri@jurta.org>
2675
2676 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2677 (Bug#14751)
2678
2679 * net/eww.el (browse-web): Add alias to `eww'.
2680 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2681 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2682
2683 * net/browse-url.el (browse-url-browser-function): Move `eww'
2684 closer to similar functions.
2685
2686 * startup.el (fancy-startup-screen, fancy-about-screen):
2687 Set browse-url-browser-function to eww-browse-url locally.
2688 (Bug#14751)
2689
2d6b6005
SM
26902013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2691
2692 * window.el (window--pixel-to-total): Remove unused `mini' var.
2693 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2694 (split-window): Remove unused `new' var.
2695 (window--display-buffer): Remove unused `frame' and `delta' vars.
2696 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2697 and display-width'.
2698
cf2b7efc
MR
26992013-12-17 Martin Rudalics <rudalics@gmx.at>
2700
2701 * dired.el (dired-mark-pop-up):
2702 * register.el (register-preview): Don't bind
2703 split-height-threshold here since it's now done in
2704 display-buffer-below-selected.
2705
ed3af8a7 27062013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2707
2708 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2709 xterm-rgb-convert-to-16bit.
2710 (rxvt-register-default-colors): Standardize with
2711 xterm-register-default-colors (Bug#14078).
2712
76da3455
DK
27132013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2714
2715 * simple.el (kill-region): Pass mark first, then point, so that
2716 kill-append works right (Bug#12819).
2717 (copy-region-as-kill, kill-ring-save): Likewise.
2718
2b84d763
LL
27192013-12-17 Leo Liu <sdl.web@gmail.com>
2720
2721 * net/rcirc.el (rcirc-add-face):
2722 * eshell/em-prompt.el (eshell-emit-prompt):
2723 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2724 (Bug#16167)
2725
e2f6a0bc
CY
27262013-12-17 Chong Yidong <cyd@gnu.org>
2727
2728 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2729 Suggested by Xue Fuqiao.
2730
35b249a6
DG
27312013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2732
2733 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2734
e9145444
SM
27352013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * net/shr.el (shr-insert-document): Remove unused var
2738 `shr-preliminary-table-render'.
2739 (shr-rescale-image): Remove unused arg `force'.
2740 (shr-put-image): Update calls accordingly.
2741 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2742
5556c0ce
DG
27432013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2744
2745 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2746 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2747 :close-all, to see which indentation method to use (Bug#16116).
2748 (smie-rules-function): Document the method :close-all.
2749
11bade0a
LMI
27502013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2751
1c4b1e61
LMI
2752 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2753
11bade0a
LMI
2754 * net/eww.el (eww-display-html): If we can't find the anchor we're
2755 looking for, then go to point-min.
2756
8fb8c4f3
PE
27572013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2758
2759 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2760 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2761 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2762 Expand dir too, in case it's relative.
2763
6c8e0ae6
JL
27642013-12-16 Juri Linkov <juri@jurta.org>
2765
2766 * desktop.el (desktop-auto-save-timeout): Change default to
2767 `auto-save-timeout'. Doc fix.
2768 (desktop-save): Skip the timestamp in desktop-saved-frameset
2769 when checking for auto-save changes.
2770 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2771 `desktop-auto-save' is called repeatedly by the idle timer.
2772 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2773 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2774 (Bug#15331)
2775
2178e858
JL
27762013-12-16 Juri Linkov <juri@jurta.org>
2777
2778 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2779 (Bug#16035)
2780 (isearch-pre-command-hook): Check `this-command' for symbolp.
2781
39cb42c6
SM
27822013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2785
5b9b750a
TZ
27862013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2787
2788 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2789 (cfengine3--current-function): Bring in the current-function
2790 functionality from `cfengine3--current-word'.
2791 (cfengine3-completion-function): Bring in the
2792 bounds-of-current-word functionality from
2793 `cfengine3--current-word'.
2794
d144ef06
MR
27952013-12-16 Martin Rudalics <rudalics@gmx.at>
2796
39cb42c6
SM
2797 * window.el (display-buffer-below-selected):
2798 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2799
a8bbe298
LL
28002013-12-16 Leo Liu <sdl.web@gmail.com>
2801
2802 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2803 Remove NOMSG arg and all uses changed.
2804
2013a2f9
SM
28052013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2808 (cua--deactivate-rectangle): Don't deactivate the mark.
2809 (cua-set-rectangle-mark): Don't set mark-active since
2810 cua--activate-rectangle already does it for us.
2811 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2812 non-rectangular region.
2813
2814 * emulation/cua-base.el (cua-repeat-replace-region):
2815 Use with-current-buffer.
2816
2817 * net/gnutls.el: Use cl-lib.
2818 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2819
5ae811dd
TZ
28202013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2821
2822 * emacs-lisp/package.el (package-built-in-p): Support both
2823 built-in and the package.el converted package descriptions.
2824 (package-show-package-list): Allow keywords.
2825 (package-keyword-button-action): Use it instead of
2826 `finder-list-matches'.
2827 (package-menu-filter-interactive): Interactive filtering (by
2828 keyword) function.
2829 (package-menu--generate): Support keywords and change keymappings
2830 and headers when they are given.
2831 (package--has-keyword-p): Helper function.
2832 (package-menu--refresh): Use it.
2833 (package--mapc): Helper function.
2834 (package-all-keywords): Use it.
2835 (package-menu-mode-map): Set up menu items and keybindings to
2836 provide a filtering UI.
2837
31b4827e
TZ
28382013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2839
2840 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2841 the behavior when a certificate fails validation. Defaults to
2842 old behavior: never abort, just warn.
2843 (gnutls-negotiate): Use it.
2844
f93cc74f
MR
28452013-12-14 Martin Rudalics <rudalics@gmx.at>
2846
2847 * window.el (display-buffer-below-selected): Never split window
2848 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2849
f77d7d17
TW
28502013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2851
2852 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2853 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2854
7514d3f8
SM
28552013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2856
aa2bddd7 2857 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2858 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2859
276bc333
DG
28602013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2861
2862 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2863 open-paren tokens when preceded by a open-paren, too.
2864 (ruby-smie-rules): Handle virtual indentation after open-paren
2865 tokens specially. If there is code between it and eol, return the
2866 column where is starts (Bug#16118).
2867
d43957f3
TZ
28682013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2869
a5c1ac0c 2870 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2871 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2872 (cfengine3--current-word): Fix parameters.
2873 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2874 (cfengine3-completion-function, cfengine3--current-function):
2875 Use `assq' for symbols.
d43957f3
TZ
2876 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2877
06a4f110
GM
28782013-12-13 Glenn Morris <rgm@gnu.org>
2879
2880 * loadup.el (load-path): Warn if site-load or site-init changes it.
2881 No more need to reset it when bootstrapping.
2882
978a5fda
TZ
28832013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2884
2885 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2886 locations for cf-promises.
2887 (cfengine-mode-syntax-functions-regex): New caching variable.
2888 (cfengine3-fallback-syntax): Fallback syntax for cases where
2889 cf-promises doesn't run.
2890 (cfengine3--current-word): Reimplement using
2891 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2892 (cfengine3-completion-function, cfengine3--current-function):
2893 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2894 (cfengine3-clear-syntax-cache): New function.
2895 (cfengine3-make-syntax-cache): Simplify and create
2896 `cfengine-mode-syntax-functions-regex' on demand.
2897 (cfengine3-format-function-docstring): Don't call
2898 `cfengine3-make-syntax-cache' explicitly.
2899
71e6691e
MR
29002013-12-13 Martin Rudalics <rudalics@gmx.at>
2901
2902 Fix windmove-find-other-window broken after pixelwise resizing
2903 (Bug#16017).
2904 * windmove.el (windmove-other-window-loc): Revert change from
2905 2013-12-04.
2906 (windmove-find-other-window): Call window-in-direction.
2907 * window.el (window-in-direction): New arguments SIGN, WRAP and
2908 MINI to emulate original windmove-find-other-window behavior.
2909
84c73ba0
DG
29102013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2911
2912 * simple.el (blink-matching--overlay): New variable.
2913 (blink-matching-open): Instead of moving point, highlight the
2914 matching paren with an overlay
2915 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2916
2917 * faces.el (paren-showing-faces, show-paren-match)
2918 (show-paren-mismatch): Move from paren.el.
2919
b9e20952
LL
29202013-12-13 Leo Liu <sdl.web@gmail.com>
2921
2922 * indent.el (indent-region): Disable progress reporter in
2923 minibuffer. (Bug#16108)
2924
2925 * bindings.el (visual-order-cursor-movement): Fix version.
2926
ce030451
FEG
29272013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2928
2929 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2930 Also match after beginning of line.
2931 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2932 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2933
4a9c6865
JL
29342013-12-13 Juri Linkov <juri@jurta.org>
2935
2936 * simple.el <Keypad support>: Remove key bindings duplicated
2937 with bindings.el. (Bug#14397)
2938
2bc170c3
JL
29392013-12-13 Juri Linkov <juri@jurta.org>
2940
2941 * comint.el (comint-mode-map): Replace `delete-char' with
2942 `delete-forward-char'. (Bug#16109)
2943
bc9222c9
FEG
29442013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2945
aa2bddd7 2946 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2947 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2948
cb3a1380
SM
29492013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2952 (advice--make): Pay attention to `depth'.
2953 (advice--make-1): Don't autoload commands eagerly.
2954 * emacs-lisp/elp.el (elp-instrument-function):
2955 * emacs-lisp/trace.el (trace-function-internal):
2956 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2957
2958 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2959
01633a17
EZ
29602013-12-12 Eli Zaretskii <eliz@gnu.org>
2961
2962 * term/w32-win.el (w32-handle-dropped-file):
2963 * startup.el (normal-top-level):
2964 * net/browse-url.el (browse-url-file-url):
2965 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2966 decode file names using 'utf-8' rather than
2967 file-name-coding-system.
2968
09faee72
FEG
29692013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2970
2971 * progmodes/python.el (python-indent-context)
2972 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2973 behavior for comment blocks. (Bug#15916)
09faee72 2974
f4f84024 29752013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2976
cb3a1380
SM
2977 * progmodes/python.el (python-indent-calculate-indentation):
2978 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2979 operators when they are just string constituents. (Bug#15812)
2980
d5ccb7be
JL
29812013-12-12 Juri Linkov <juri@jurta.org>
2982
2983 * uniquify.el (uniquify-buffer-name-style): Change default to
2984 `post-forward-angle-brackets'.
2985
2986 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2987 `uniquify'. Change default to `post-forward-angle-brackets'.
2988
7b3f5679
GM
29892013-12-11 Glenn Morris <rgm@gnu.org>
2990
2991 * emacs-lisp/package.el (finder-list-matches):
2992 Autoload rather than falsely declaring.
2993
f4fe8fdd
TZ
29942013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2995
2996 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2997 (eww-mode-map): Use them.
2998
3c29190f
MR
29992013-12-11 Martin Rudalics <rudalics@gmx.at>
3000
3001 * window.el (display-buffer-in-side-window): Fix doc-string
3002 (Bug#16115).
3003
0cd616a2
JB
30042013-12-11 Juanma Barranquero <lekktu@gmail.com>
3005
3006 * vc/vc-git.el: Silence byte-compiler warnings.
3007 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3008 (log-edit-set-header): Declare.
3009
3ef8e0d1
EZ
30102013-12-11 Eli Zaretskii <eliz@gnu.org>
3011
3012 * Makefile.in (custom-deps, finder-data): Run output file names
3013 through unmsys--file-name. (Bug#16099)
3014
afdadaf7
SM
30152013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3016
7ae3ae39 3017 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3018 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3019
5b4f37ab
SM
3020 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3021 instead of deleting the selection "by hand" (bug#16098).
3022 Rely on insert-for-yank to yank rectangles.
3023 (cua-highlight-region-shift-only): Mark obsolete.
3024 (cua-mode): Don't enable/disable transient-mark-mode,
3025 shift-select-mode (cua-mode works both with and without them), and
3026 pc-selection-mode (obsolete).
3027 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3028 (cua--deactivate-rectangle): Deactivate it.
3029
4b72c12b
SM
3030 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3031 (delete-selection-helper): Make sure yank starts at the top of the
3032 deleted region.
3033 (minibuffer-keyboard-quit): Use region-active-p.
3034
e82af72d
SM
3035 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3036
afdadaf7
SM
3037 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3038 to `delete' (bug#16109).
3039
ed4bc201
RS
30402013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3041
3042 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3043 info manual and show keybindings and set `:group' keyword.
3044
bb8097b9
JL
30452013-12-11 Juri Linkov <juri@jurta.org>
3046
3047 * delsel.el (delete-active-region): Let-bind `this-command'
3048 to prevent `kill-region' from changing its original value.
3049 (delete-selection-helper): Handle `overwrite-mode' for the type
3050 `kill' exactly the same way as for the type `t'.
3051 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3052 Support more commands. (Bug#13312)
3053
c1916ff5
JL
30542013-12-11 Juri Linkov <juri@jurta.org>
3055
3056 * bindings.el: Map kp keys to non-kp keys systematically
3057 with basic modifiers control, meta and shift. (Bug#14397)
3058
7514d3f8 30592013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3060
3061 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3062 "Close browser" menu items. Fix wrong function of "List
3063 bookmarks".
3064
4cc51eaf
JL
30652013-12-11 Juri Linkov <juri@jurta.org>
3066
3067 * misearch.el (multi-isearch-buffers): Set the value of
3068 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3069 arg of isearch-forward to t.
3070 (multi-isearch-buffers-regexp): Set the value of
3071 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3072 arg of isearch-forward-regexp to t.
3073 (multi-isearch-files): Set the value of
3074 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3075 arg of isearch-forward to t.
3076 (multi-isearch-files-regexp): Set the value of
c295fc18 3077 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3078 arg of isearch-forward-regexp to t. (Bug#16035)
3079
3080 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3081 arg of isearch-forward to t.
3082 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3083 arg of isearch-forward-regexp to t.
3084 (dired-isearch-filter-filenames): Remove unnecessary check for
3085 `dired-isearch-filenames'.
3086
3087 * comint.el (comint-history-isearch-backward):
3088 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3089 (comint-history-isearch-backward-regexp):
3090 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3091
ceac12b7
EZ
30922013-12-10 Eli Zaretskii <eliz@gnu.org>
3093
3094 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3095 unmsys--file-name. (Bug#16099)
3096
5a565782
TZ
30972013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3098
cb3a1380
SM
3099 * emacs-lisp/package.el (package-keyword-button-action):
3100 Remove finder.el require dependency.
5a565782 3101
a81fc7ba
TZ
31022013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3103
3104 * emacs-lisp/package.el: Require finder.el.
3105 (describe-package-1): Add keyword buttons.
3106 (package-make-button): New convenience function.
3107 (package-keyword-button-action): Keyword button action using
e0eb0550 3108 `finder-list-matches'.
a81fc7ba 3109
6aaca951
EZ
31102013-12-09 Eli Zaretskii <eliz@gnu.org>
3111
3112 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3113 last commit.
3114
a1099a91
MA
31152013-12-09 Michael Albinus <michael.albinus@gmx.de>
3116
3117 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3118 symlinked files.
3119
8212d9c0
DG
31202013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3121
3122 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3123 after the end of a percent literal.
3124
8f48d131
CD
31252013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3126
cb3a1380
SM
3127 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3128 Handle caret-delimited strings (Bug#16079).
8f48d131 3129
ff8c9764
DG
31302013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3131
cb3a1380
SM
3132 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3133 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3134 `ruby-parse-partial' (Bug#16078).
3135
d64643b4
LL
31362013-12-09 Leo Liu <sdl.web@gmail.com>
3137
3138 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3139
47e59c66
DG
31402013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3141
3142 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3143 (js-switch-indent-offset): New option.
3144 (js--proper-indentation): Use it. And handle the case when
3145 "default" is actually a key in an object literal.
3146 (js--same-line): New function.
3147 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3148 (js--indent-in-array-comp, js--array-comp-indentation):
3149 New functions.
47e59c66
DG
3150 (js--proper-indentation): Use them, to handle array comprehension
3151 continuations.
3152
974ebc9c
LL
31532013-12-08 Leo Liu <sdl.web@gmail.com>
3154
3155 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3156 (flymake-make-overlay): Remove arg MOUSE-FACE.
3157 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3158
27262e39
SM
31592013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3162 New function.
3163 (redisplay-highlight-region-function): Use it.
3164
3165 * emulation/cua-base.el (cua--explicit-region-start)
3166 (cua--last-region-shifted): Remove.
3167 (cua--deactivate): Use deactivate-mark.
3168 (cua--pre-command-handler-1): Don't handle shift-selection.
3169 (cua--post-command-handler-1): Don't change transient-mark-mode.
3170 (cua--select-keymaps): Use region-active-p rather than
3171 cua--explicit-region-start or cua--last-region-shifted.
3172 (cua-mode): Enable shift-select-mode.
3173
6407822c
LL
31742013-12-08 Leo Liu <sdl.web@gmail.com>
3175
27262e39
SM
3176 * progmodes/flymake.el (flymake-popup-current-error-menu):
3177 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3178 (flymake-posn-at-point-as-event, flymake-popup-menu)
3179 (flymake-make-emacs-menu): Remove. (Bug#16077)
3180
00a2b823
SM
31812013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3182
02033d49
SM
3183 * rect.el (rectangle-mark-mode): Activate mark even if
3184 transient-mark-mode is off (bug#16066).
3185 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3186 is > mark and at bolp.
3187
6f8dfccf
SM
3188 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3189 (region-extract-function): Use it.
3190 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3191 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3192 Delete functions.
3193 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3194 kill-ring-save, kill-region, delete-char, delete-forward-char.
3195 Ignore self-insert-iso.
3196
3197 * emulation/cua-gmrk.el (cua--init-global-mark):
3198 Ignore `self-insert-iso'.
3199
3200 * emulation/cua-base.el (cua--prefix-copy-handler)
3201 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3202 checking cua--rectangle.
3203 (cua-delete-region): Use region-extract-function.
3204 (cua-replace-region): Delete function.
3205 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3206 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3207 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3208 (cua--init-keymaps): Don't remap delete-selection commands.
3209 (cua-mode): Use delete-selection-mode instead of rolling our own
3210 (bug#16085).
3211
3212 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3213 Obey region-extract-function.
3214
00a2b823
SM
3215 Make registers and delete-selection-mode work on rectangles.
3216 * register.el (describe-register-1): Don't modify the register's value.
3217 (copy-to-register): Obey region-extract-function.
3218 * delsel.el (delete-active-region): Obey region-extract-function.
3219
a92fa5f1
LL
32202013-12-08 Leo Liu <sdl.web@gmail.com>
3221
3222 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3223 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3224 (flymake-compilation-prevents-syntax-check)
3225 (flymake-start-syntax-check-on-newline)
3226 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3227 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3228 (flymake-xml-program, flymake-master-file-dirs)
3229 (flymake-master-file-count-limit)
3230 (flymake-allowed-file-name-masks): Relocate.
3231 (flymake-makehash, flymake-float-time)
3232 (flymake-replace-regexp-in-string, flymake-split-string)
3233 (flymake-get-temp-dir): Remove.
3234 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3235 (flymake-current-row, flymake-selected-frame)
3236 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3237 related functions. (Bug#16077)
3238
73c8ceea
BB
32392013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3240
3241 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3242
faec28d9
TH
32432013-12-07 Tassilo Horn <tsdh@gnu.org>
3244
3245 * help-fns.el (describe-function-1): Use new advice-* functions
3246 rather than old ad-* functions. Fix function type description and
3247 source links for advised functions and subrs.
3248
e330b646
LMI
32492013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3250
00a2b823 3251 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3252
4803595d
MA
32532013-12-06 Michael Albinus <michael.albinus@gmx.de>
3254
3255 * progmodes/compile.el (compilation-start):
3256 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3257
3258 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3259 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3260
fa834a93
DG
32612013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3262
00a2b823
SM
3263 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3264 Touch up the last change.
fa834a93 3265
b2856a6f
LL
32662013-12-06 Leo Liu <sdl.web@gmail.com>
3267
3268 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3269 (inferior-octave-startup): Always use "octave> " for prompt.
3270 (octave-goto-function-definition)
3271 (octave-sync-function-file-names)
3272 (octave-find-definition-default-filename): Remove redundant backquotes.
3273
af67e79a
DG
32742013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3275
3276 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3277 syntax for `?'.
3278 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3279 where appropriate already.
3280 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3281 end of method names (Bug#15874).
3282
bf093209
JL
32832013-12-06 Juri Linkov <juri@jurta.org>
3284
3285 * isearch.el (isearch--saved-overriding-local-map):
3286 New internal variable.
3287 (isearch-mode): Set it to the initial value of
3288 `overriding-terminal-local-map'.
3289 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3290 with `isearch--saved-overriding-local-map'. (Bug#16035)
3291
16588fad
DG
32922013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3293
00a2b823
SM
3294 * progmodes/octave.el (inferior-octave-completion-table):
3295 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3296 (Bug#11906). Update all references.
3297
3298 * minibuffer.el (completion-table-with-cache): New function.
3299
bf4906d7
CD
33002013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3301
3302 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3303
ff69c18f
TZ
33042013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3305
3306 * net/eww.el (eww-current-source): New variable to store page
3307 source.
3308 (eww-display-html, eww-mode, eww-save-history)
3309 (eww-restore-history): Use it.
3310 (eww-view-source): New command to view page source.
3311 Opportunistically uses `html-mode' to highlight the buffer.
3312 (eww-mode-map): Install it.
3313
b85eff45
MA
33142013-12-05 Michael Albinus <michael.albinus@gmx.de>
3315
3316 * net/dbus.el (dbus-unregister-service)
3317 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3318 Fix docstring.
3319 (dbus-unregister-service): Skip :serial entries in
3320 `dbus-registered-objects-table'.
3321 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3322
39eb0899
TZ
33232013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3324
3325 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3326 around keywords with extra `split-string' argument.
3327
456760a5
MR
33282013-12-04 Martin Rudalics <rudalics@gmx.at>
3329
3330 * windmove.el (windmove-other-window-loc): Handle navigation
3331 between windows (excluding the minibuffer window - Bug#16017).
3332
81961e4c
MA
33332013-12-04 Michael Albinus <michael.albinus@gmx.de>
3334
3335 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3336 in D-Bus type syntax.
3337 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3338 preserve unibyte strings. (Bug#16048)
3339
8497f938
SM
33402013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3343 Call force-mode-line-update is the proper buffer (bug#16042).
3344
dda61916
DG
33452013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3346
3347 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3348 `log-edit-remember-comment', make argument optional. Adjust all
3349 callers.
3350 (log-edit-mode): Add `log-edit-remember-comment' to
3351 `kill-buffer-hook' locally.
3352 (log-edit-kill-buffer): Don't remember comment explicitly since
3353 the buffer is killed anyway.
3354
c085e5b9
JL
33552013-12-04 Juri Linkov <juri@jurta.org>
3356
3357 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3358 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3359
e0eb0550 33602013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3361
3362 * notifications.el (notifications-close-notification): Call the
81961e4c 3363 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3364
39fa32d6
KY
33652013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3366
3367 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3368
9139632a
JL
33692013-12-03 Juri Linkov <juri@jurta.org>
3370
3371 * progmodes/compile.el (compilation-start): Rename window alist
3372 entry `no-display-ok' to `allow-no-window'.
3373
3374 * simple.el (shell-command): Add window alist entry
3375 `allow-no-window' to `display-buffer'.
3376 (async-shell-command): Doc fix.
3377
3378 * window.el (display-buffer-no-window): New action function.
3379 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3380
0f457a37
DG
33812013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3382
3383 * vc/log-edit.el (log-edit-set-header): Extract from
3384 `log-edit-toggle-header'.
3385 (log-edit-extract-headers): Separate the summary, when extracted
3386 from header, from the rest of the message with an empty line.
3387
3388 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3389 line, if present, to the Summary header.
3390
0962f376
SM
33912013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3394 in current-buffer (bug#16029).
3395
f345395c
HE
33962013-12-02 Helmut Eller <eller.helmut@gmail.com>
3397
3398 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3399 (debugger-mode-map): Bind it.
3400 (debugger--backtrace-base): New function.
3401 (debugger-eval-expression): Use it.
3402 (debugger-frame-number): Skip local vars when present.
3403 (debugger--locals-visible-p, debugger--insert-locals)
3404 (debugger--show-locals, debugger--hide-locals): New functions.
3405
a8a15d9d
MA
34062013-12-02 Michael Albinus <michael.albinus@gmx.de>
3407
3408 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3409 "LC_ALL".
3410 (tramp-get-remote-locale): New defun.
3411 (tramp-open-connection-setup-interactive-shell): Use it.
3412
0518b057
LL
34132013-12-02 Leo Liu <sdl.web@gmail.com>
3414
3415 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3416
3417 * progmodes/sh-script.el (sh-shell-process):
3418 * progmodes/octave.el (inferior-octave-process-live-p):
3419 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3420 (gdb-inferior-io-sentinel):
3421 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3422
3adc9c6d
DG
34232013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3424
3425 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3426 `save-selected-window' to `log-edit-hide-buf'. This makes
3427 `log-edit-show-files' idempotent.
3428 (log-edit-show-files): Mark the new window as dedicated.
3429
47e8b74e
DG
34302013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3431
3432 * vc/log-edit.el (log-edit-mode-map): Add binding for
3433 `log-edit-kill-biffer'.
3434 (log-edit-hide-buf): Add a FIXME comment.
3435 (log-edit-add-new-comment): New function, extracted from
3436 `log-edit-done'.
3437 (log-edit-done, log-edit-add-to-changelog): Use it.
3438 (log-edit-kill-buffer): New command.
3439
1f6e1bb0
LMI
34402013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3441
3442 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3443 instead of killing the buffer.
3444
fb651d15
SM
34452013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3446
3447 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3448
8feacce0
RS
34492013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3450
fb651d15 3451 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3452 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3453 (eww-form-checkbox, eww-toggle-checkbox):
3454 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3455
e0eb0550 3456 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3457 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3458 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3459 no :src tag was specified.
3460
fb651d15 3461 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3462 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3463 Use \\` to match beginning of string instead of ^.
3464 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3465 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3466
177948a5
RS
3467 * net/shr.el (shr-tag-video): Display content for video if no
3468 poster is available.
eb2dd24d 3469 (shr-tag-audio): Add support for <audio> tag.
177948a5 3470
e0eb0550 3471 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3472 (eww-process-text-input): Treat input types in
3473 `eww-text-input-types' as text.
3474
8feacce0
RS
3475 * net/shr.el (shr-tag-table): Fix comment typo.
3476
513562a1
LMI
34772013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3478
3479 * net/eww.el (eww-follow-link): New command to avoid reloading
3480 pages when we follow #target links (bug#15243).
de8a5633 3481 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3482
9dd99753
KN
34832013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3484
3485 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3486 forms.
3487
3e9876de
LMI
34882013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3489
3490 * net/eww.el (eww-restore-history): Update the window title after
3491 moving in the history.
ab6dea82 3492 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3493
52789f7f
DG
34942013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3495
3496 * vc/log-edit.el (log-edit-mode-map): Add binding for
3497 `log-edit-beginning-of-line'.
3498 (log-edit-setup-add-author): New user option.
3499 (log-edit-beginning-of-line): New command.
3500 (log-edit): Move major mode call above the contents setup so that
3501 the local variable values are already applied.
3502 (log-edit): Only insert "Author: " when
3503 `log-edit-setup-add-author' is non-nil.
3504 (log-edit): When SETUP is non-nil, position point after ": "
3505 instead of point-min.
3506
2e6710c3
GM
35072013-12-01 Glenn Morris <rgm@gnu.org>
3508
3509 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3510
fadec31f
EZ
35112013-11-30 Eli Zaretskii <eliz@gnu.org>
3512
3513 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3514 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3515 visible. (Bug#16014)
3516
10634b40 35172013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3518
3519 Support resizing frames and windows pixelwise.
3520 * cus-start.el (frame-resize-pixelwise)
3521 (window-resize-pixelwise): New entries.
3522 * emacs-lisp/debug.el (debug): Use window-total-height instead
3523 of window-total-size.
3524 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
3525 * help.el (describe-bindings-internal): Use help-buffer as
3526 argument for with-help-window.
880e6158
MR
3527 (temp-buffer-max-width): New option.
3528 (resize-temp-buffer-window, help-window-setup)
3529 (with-help-window): Rewrite.
3530 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3531 dragging dividers.
3532 * window.el (frame-char-size, window-min-pixel-height)
3533 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3534 (window-min-pixel-width, window-safe-min-pixel-size)
3535 (window-combination-p, window-safe-min-size)
3536 (window-resizable-p, window--size-to-pixel)
3537 (window--pixel-to-size, window--resize-apply-p): New functions.
3538 (window-safe-min-height): Fix doc-string.
3539 (window-size, window-min-size, window--min-size-1)
3540 (window-sizable, window-sizable-p, window--min-delta-1)
3541 (window-min-delta, window--max-delta-1, window-max-delta)
3542 (window--resizable, window--resizable-p, window-resizable)
3543 (window-full-height-p, window-full-width-p, window-at-side-p)
3544 (window--in-direction-2, window-in-direction)
3545 (window--resize-reset-1, window--resize-mini-window)
3546 (window-resize, window-resize-no-error)
3547 (window--resize-child-windows-normal)
3548 (window--resize-child-windows, window--resize-siblings)
3549 (window--resize-this-window, window--resize-root-window)
3550 (window--resize-root-window-vertically)
3551 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3552 (maximize-window, minimize-window, delete-window)
3553 (quit-restore-window, window-split-min-size, split-window)
3554 (balance-windows-2, balance-windows)
3555 (balance-windows-area-adjust, balance-windows-area)
3556 (window--state-get-1, window-state-get, window--state-put-1)
3557 (window--state-put-2, window-state-put)
fb651d15
SM
3558 (display-buffer-record-window, window--display-buffer):
3559 Make functions handle pixelwise sizing of windows.
880e6158 3560 (display-buffer--action-function-custom-type)
fb651d15
SM
3561 (display-buffer-fallback-action):
3562 Add display-buffer-in-previous-window.
880e6158
MR
3563 (display-buffer-use-some-window): Resize window to height it had
3564 before.
3565 (fit-window-to-buffer-horizontally): New option.
3566 (fit-frame-to-buffer): Describe new values.
3567 (fit-frame-to-buffer-bottom-margin): Replace with
3568 fit-frame-to-buffer-margins.
3569 (window--sanitize-margin): New function.
3570 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3571 using window-text-pixel-size.
3572
f9b697dd
GM
35732013-11-30 Glenn Morris <rgm@gnu.org>
3574
3e2fb4db
GM
3575 * emacs-lisp/bytecomp.el (byte-compile-form):
3576 Make the `interactive-only' warning like the `obsolete' one.
3577 * comint.el (comint-run):
3578 * files.el (insert-file-literally, insert-file):
3579 * replace.el (replace-string, replace-regexp):
3580 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3581 (goto-line, insert-buffer, next-line, previous-line):
3582 Tweak `interactive-only' spec.
3583
f9b697dd
GM
3584 Stop keeping (most) generated cedet grammar files in the repository.
3585 * Makefile.in (semantic): New.
3586 (compile-main): Depend on semantic.
3587
da048127
SM
35882013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3589
7784b779
SM
3590 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3591 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3592
4e36a6a6
SM
3593 * uniquify.el (uniquify-buffer-name-style): Change default.
3594
3595 * loadup.el: Preload "uniquify".
3596
e0ba1308
SM
3597 * time.el (display-time-update): Update all mode lines (bug#15999).
3598
da048127
SM
3599 * electric.el (electric-indent-mode): Enable by default.
3600 * loadup.el: Preload "electric".
3601
015b3b3e
BB
36022013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3603
3604 * emacs-lisp/helpers.el (string-empty-p): New function.
3605 (string-blank-p): New function.
3606
7efb806d
AP
36072013-11-29 Andreas Politz <politza@hochschule-trier.de>
3608
3609 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3610 (Bug#14029).
3611
c8f0efc2
AP
36122013-11-29 Andreas Politz <politza@fh-trier.de>
3613 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3614 allow non-lambda lists as functions.
3615 (imenu--in-alist): Don't recurse into non-subalists.
3616 (imenu): Don't pass function itself as an argument (Bug#14029).
3617
bd15d9d1
SM
36182013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * progmodes/python.el (python-mode-map): Remove binding for ":".
3621 (python-indent-electric-colon): Remove command.
3622 (python-indent-post-self-insert-function): Integrate the previous code
3623 of python-indent-electric-colon. Make it conditional on
3624 electric-indent-mode.
3625 (python-mode): Add ?: to electric-indent-chars.
3626 Move python-indent-post-self-insert-function to the end of
3627 post-self-insert-hook.
3628
1b10adb6
SM
36292013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3630
655ab9a3
SM
3631 * doc-view.el (doc-view-goto-page): Update mode-line.
3632
1b10adb6
SM
3633 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3634
7e3bf78c
GM
36352013-11-27 Glenn Morris <rgm@gnu.org>
3636
3637 * international/charprop.el, international/uni-bidi.el:
3638 * international/uni-category.el, international/uni-combining.el:
3639 * international/uni-comment.el, international/uni-decimal.el:
3640 * international/uni-decomposition.el, international/uni-digit.el:
3641 * international/uni-lowercase.el, international/uni-mirrored.el:
3642 * international/uni-name.el, international/uni-numeric.el:
3643 * international/uni-old-name.el, international/uni-titlecase.el:
3644 * international/uni-uppercase.el:
3645 Remove generated files from VCS repository.
3646
fb6a5d68
EZ
36472013-11-27 Eli Zaretskii <eliz@gnu.org>
3648
3649 * filenotify.el (file-notify-add-watch): Don't special-case
3650 w32notify when computing the directory to watch.
3651
cb6c95a3
GM
36522013-11-27 Glenn Morris <rgm@gnu.org>
3653
20372d0c
GM
3654 Make bootstrap without generated uni-*.el files possible again.
3655 * loadup.el: Update command-line-args checking for unidata-gen.
3656 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3657 * composite.el, international/characters.el:
3658 Handle unicode tables being undefined.
3659
52d6635f 3660 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3661 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3662 (compile-main): Depend on leim rule.
3663 (leim): New rule.
3664 * loadup.el: Move leim-list.el to leim/ subdirectory.
3665 * startup.el (normal-top-level): No more leim directory.
3666 * international/ja-dic-cnv.el (skkdic-convert):
3667 Disable version-control and autoloads in output files.
3668 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3669 Disable version-control and autoloads in output files.
3670 * leim/quail: Move here from ../leim.
3671 * leim/quail/hangul.el (hangul-input-method-activate):
3672 Add autoload cookie.
3673 (generated-autoload-load-name): Set file-local value.
3674 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3675 (generated-autoload-load-name): Set file-local value.
3676
7514d3f8 36772013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3678
e0eb0550 3679 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3680 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3681 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3682
0e2c793f
EZ
36832013-11-26 Eli Zaretskii <eliz@gnu.org>
3684
3685 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3686 reading output from Diff on MS-Windows and MS-DOS.
3687
447bdcb8
BB
36882013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3689
3690 * emacs-lisp/helpers.el (string-reverse): New function.
3691
5fbf6856
MA
36922013-11-26 Michael Albinus <michael.albinus@gmx.de>
3693
3694 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3695 names on MS Windows, like "/[::1]:".
3696
3697 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3698 SWITCHES.
3699
624780f0
GM
37002013-11-26 Glenn Morris <rgm@gnu.org>
3701
0bf3f0fa
GM
3702 * progmodes/python.el (python-indent-guess-indent-offset):
3703 Avoid corner-case error. (Bug#15975)
3704
624780f0
GM
3705 Preload leim-list.el. (Bug#4789)
3706 * loadup.el: Load leim-list.el when found.
3707 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3708
4301875e 37092013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3710
3711 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3712
4301875e
BB
3713 * emacs-lisp/helpers.el (string-join): New function.
3714
1633a815 37152013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3716
3717 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3718 Mark as obsolete and replace it with a symbol property.
3719 (byte-compile-form): Use new 'interactive-only property.
3720 * comint.el, files.el, replace.el, simple.el:
3721 Apply new 'interactive-only properly.
3722
00139435
MR
37232013-11-25 Martin Rudalics <rudalics@gmx.at>
3724
3725 * window.el (display-buffer-at-bottom): Make sure that
3726 split-window-sensibly creates the new window on bottom
3727 (Bug#15961).
3728
5f5b128d
DK
37292013-11-23 David Kastrup <dak@gnu.org>
3730
3731 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3732 on the conflict markers when available.
3733 (smerge--get-marker): New function.
3734 (smerge-end-re, smerge-base-re): Add subgroup.
3735
623891e5
SM
37362013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3737
3738 * frame.el (handle-focus-in, handle-focus-out): Add missing
3739 interactive spec.
3740
05ca27d8
MA
37412013-11-25 Michael Albinus <michael.albinus@gmx.de>
3742
3743 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3744 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3745
511fa0d3
SM
37462013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3747
e82ad66c
SM
3748 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3749 (gomoku--last-pos): New var.
3750 (gomoku--intangible-chars): New const.
3751 (gomoku--intangible): New function.
3752 (gomoku-mode): Use it. Derive from special-mode.
3753 (gomoku-move-up): Adjust line count.
3754 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3755 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3756 Simplify accordingly.
3757
511fa0d3
SM
3758 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3759 Remove blink-cursor code.
3760 (blink-cursor-timer-function, blink-cursor-suspend):
3761 Don't special-case GUIs.
3762 (blink-cursor-mode): Use focus-in/out-hook.
3763
6f20dd03
DG
37642013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3765
3766 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3767 work when annotation is invisible (Bug#13886).
3768
431dec31 37692013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
3770
3771 * json.el (json-alist-p): Only return non-nil if the alist has
3772 simple keys (Bug#13518).
3773
431dec31 37742013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
3775
3776 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3777 when control-statement is the first statement in a buffer (Bug#15956).
3778
ee4f0261
DG
37792013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3780
3781 * imenu.el (imenu-generic-skip-comments-and-strings):
3782 New option (Bug#15560).
3783 (imenu--generic-function): Use it.
3784
c484f866
JS
37852013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3786
e9dc713d
JB
3787 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3788 (Bug#13898)
c484f866 3789
41ce6f70
BB
37902013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3791
b55aea38
BB
3792 * emacs-lisp/helpers.el: Add some string helpers.
3793 (string-trim-left): Removes leading whitespace.
3794 (string-trim-right): Removes trailing whitespace.
3795 (string-trim): Removes leading and trailing whitespace.
3796
41ce6f70
BB
3797 * subr.el (string-suffix-p): New function.
3798
3cfb6af3
GM
37992013-11-23 Glenn Morris <rgm@gnu.org>
3800
3801 * progmodes/python.el (python-shell-send-file):
3802 Add option to delete file when done. (Bug#15647)
3803 (python-shell-send-string, python-shell-send-region): Use it.
3804
c27924b7
IS
38052013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3806
e1b01c7f
IS
3807 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3808 to set buffer-read-only to t, never to nil. (Bug#15938)
3809
c27924b7
IS
3810 * textmodes/tex-mode.el (latex-noindent-environments):
3811 Add safe-local-variable property. (Bug#15936)
3812
17e0445b
GM
38132013-11-23 Glenn Morris <rgm@gnu.org>
3814
92f78ea3
GM
3815 * textmodes/enriched.el (enriched-mode): Doc fix.
3816 * emacs-lisp/authors.el (authors-renamed-files-alist):
3817 Add enriched.doc -> enriched.txt.
3818
17e0445b
GM
3819 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3820
965bb23a
LL
38212013-11-22 Leo Liu <sdl.web@gmail.com>
3822
3823 * progmodes/octave.el (inferior-octave-startup): Spit out error
3824 message.
3825
d19ffd64
BB
38262013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3827
3828 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3829 Improve docstring.
15ba2182
BB
3830 Add :version.
3831 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3832
7a7567d2
LL
38332013-11-22 Leo Liu <sdl.web@gmail.com>
3834
3835 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3836 (Bug#15076)
8c09f64b
LL
3837 (octave-help-mode): Adapt to change to help-mode-finish to use
3838 derived-mode-p on 2013-09-17.
3839 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3840 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3841
724bc265
LL
38422013-11-22 Leo Liu <sdl.web@gmail.com>
3843
3844 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3845 (inferior-octave-startup, inferior-octave-check-process)
3846 (inferior-octave-track-window-width-change)
3847 (octave-completion-at-point, octave-eldoc-function): Use it.
3848 (octave-kill-process): Provide confirmation. (Bug#10564)
3849
38637cca
LL
38502013-11-21 Leo Liu <sdl.web@gmail.com>
3851
511fa0d3
SM
3852 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3853 Fix obsolete variable comment-use-global-state.
38637cca 3854
06e752b4
RS
38552013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3856
511fa0d3
SM
3857 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3858 Add `octave-source-file'.
06e752b4
RS
3859 (octave-source-file): New function. (Bug#15935)
3860
7514d3f8 38612013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3862
3863 * net/eww.el (eww-local-regex): New variable.
3864 (eww): Use it to detect localhost and similar.
3865
b6ffa04a
LL
38662013-11-21 Leo Liu <sdl.web@gmail.com>
3867
3868 Add completion for command `ag'.
2021a200
LL
3869 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3870 (pcomplete/ag): New function.
e9dc713d 3871 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3872
d1a6bccc
SM
38732013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3876 (bug#14646).
3877 (make-obsolete): Remove interactive spec.
3878
2df10228
GM
38792013-11-21 Glenn Morris <rgm@gnu.org>
3880
3881 * startup.el (command-line-1): Use path-separator with -L.
3882
86fd16b6
TZ
38832013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3884
3885 * emacs-lisp/package.el (describe-package-1): Add package archive
3886 to shown fields.
3887
0449d6cd 38882013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3889
3890 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3891 Change default to "# encoding: %s" to differentiate it from the
3892 default Ruby encoding comment template.
3893
dc7e8c17 38942013-11-20 era eriksson <era+emacsbugs@iki.fi>
3895
3896 * ses.el (ses-mode): Doc fix. (Bug#14748)
3897
f0cfa5fe
LL
38982013-11-20 Leo Liu <sdl.web@gmail.com>
3899
3900 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3901
826dc7b6
DN
39022013-11-19 Dan Nicolaescu <dann@gnu.org>
3903
3904 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3905 when rebase or bisect are in progress.
3906
a6e3a5d5
XF
39072013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3908
3909 * filenotify.el (file-notify-add-watch): Doc fix.
3910
f130cb76
LL
39112013-11-19 Leo Liu <sdl.web@gmail.com>
3912
e0855d7d
LL
3913 * obsolete/rcompile.el: Mark obsolete.
3914
f130cb76 3915 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3916 (compilation-goto-locus, compilation-find-file):
3917 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3918 (Bug#13594)
3919
3920 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3921 new parameter no-display-ok. Return either a window or nil
3922 but never a non-window value.
f130cb76 3923
1f35d401
SM
39242013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3925
25158c76
SM
3926 * electric.el (electric-indent-mode-map): Remove.
3927 (electric-indent-mode): Change the global-map instead (bug#15915).
3928
3929 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3930 Use add-function.
1f35d401 3931
9bc67baa
SM
39322013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3933
986545b5
SM
3934 * emacs-lisp/nadvice.el (remove-function): Align with
3935 add-function's behavior.
3936
9bc67baa
SM
3937 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3938 (gdb--string-regexp): New constant.
3939 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3940 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3941 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3942 submatch 1.
3943 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3944 Adjust use accordingly.
3945 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3946
56cd894e
AS
39472013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3948
3949 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3950 interpolation curlies (Bug#15914).
3951
014690de
JB
39522013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3953
3954 * calc/calc.el (calc-context-sensitive-enter): New variable.
3955 (calc-enter): Use `calc-context-sensitive-enter'.
3956
7e26a6c3
TZ
39572013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3958
3959 * progmodes/cfengine.el: Version bump.
3960 (cfengine-cf-promises): New defcustom to locate cf-promises.
3961 (cfengine3-vartypes): Add new "data" type.
3962 (cfengine3--current-word): New function to get current name-like
3963 word or its bounds.
3964 (cfengine3--current-function): New function to look up a CFEngine
3965 function's definition.
3966 (cfengine3-format-function-docstring): New function.
3967 (cfengine3-make-syntax-cache): New function.
3968 (cfengine3-documentation-function): New function: ElDoc glue.
3969 (cfengine3-completion-function): New function: completion glue.
3970 (cfengine3-mode): Set `compile-command',
3971 `eldoc-documentation-function', and add to
3972 `completion-at-point-functions'.
3973
355204dd
MA
39742013-11-16 Michael Albinus <michael.albinus@gmx.de>
3975
3976 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3977 `tramp-current-connection'.
3978
43cebc23
DG
39792013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3980
3981 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3982 nil/self/true/false with "end of symbol".
3983
a3fed6ff
BB
39842013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3985
3986 * subr.el (version-regexp-alist): Fix a typo.
3987
e675b3e4
MA
39882013-11-15 Michael Albinus <michael.albinus@gmx.de>
3989
3990 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3991 "en_US.utf8" and "LC_CTYPE" to "".
3992 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3993 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3994
a1f03e89
LL
39952013-11-15 Leo Liu <sdl.web@gmail.com>
3996
3997 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3998
5d9d9451
SM
39992013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4000
58362662
CS
4001 * progmodes/gud.el (ctl-x-map):
4002 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4003 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4004
6c1bf086
BB
40052013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4006
0d5363c4
BB
4007 * subr.el (version-regexp-alist):
4008 Recognize hg, svn and darcs versions as snapshot versions.
4009
4e9fc48c
BB
4010 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4011 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4012 (ruby--encoding-comment-required-p): Extract from
4013 `ruby-mode-set-encoding'.
4014 (ruby-mode-set-encoding): Add the ability to always insert an
4015 utf-8 encoding comment. Fix and simplify coding comment update
4016 logic.
6c1bf086 4017
2f7e72f8
MA
40182013-11-14 Michael Albinus <michael.albinus@gmx.de>
4019
4020 * net/tramp-gvfs.el (top): Run init code only when
4021 `tramp-gvfs-enabled' is not nil.
4022 (tramp-gvfs-enabled): Check also :system bus.
4023
0f137a73
SM
40242013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4025
4026 Sync with upstream verilog-mode revision 78e66ba.
4027 * progmodes/verilog-mode.el (verilog-end-of-defun)
4028 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4029 (verilog-get-end-of-defun): Remove unused argument.
4030 (verilog-comment-depth): Remove unused local `e'.
4031 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4032 Don't pass arg to verilog-get-end-of-defun.
4033
1c276bdd
GM
40342013-11-14 Glenn Morris <rgm@gnu.org>
4035
4036 * obsolete/assoc.el (aget): Prefix dynamic variable.
4037
4038 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4039
ff6ec81d
SM
40402013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4041
4042 * widget.el, hfy-cmap.el: Remove bogus package version number.
4043
75f777b6
GM
40442013-11-13 Glenn Morris <rgm@gnu.org>
4045
1d43dba1
GM
4046 * replace.el (replace-eval-replacement):
4047 Try to give more helpful error message. (Bug#15836)
4048
ff4b7bd5
GM
4049 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4050 (archive-7z-update): Avoid custom type mismatches.
4051
75f777b6
GM
4052 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4053
11151a06
MA
40542013-11-13 Michael Albinus <michael.albinus@gmx.de>
4055
e675b3e4 4056 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4057 address can be empty.
4058
4059 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4060 Accept nil SWITCHES.
4061 (tramp-gvfs-handle-write-region): Implement APPEND.
4062
7b08f97e
DG
40632013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4064
4065 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4066 binary "|" operator and closing block args delimiter.
4067 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4068 (ruby-smie--implicit-semi-p): Not after "|" operator.
4069 (ruby-smie--closing-pipe-p): New function.
4070 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4071 (ruby-smie-rules): Indent after "|".
4072
f201cf3a
GM
40732013-11-12 Glenn Morris <rgm@gnu.org>
4074
4075 * ps-print.el (ps-face-attribute-list):
4076 Handle anonymous faces. (Bug#15827)
4077
e6f759f9
MR
40782013-11-12 Martin Rudalics <rudalics@gmx.at>
4079
4080 * window.el (display-buffer-other-frame): Fix doc-string.
4081 (Bug#15868)
4082
ecda65d4
SM
40832013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4084
4085 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4086
7ce8fcc3
MA
40872013-11-11 Michael Albinus <michael.albinus@gmx.de>
4088
4089 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4090 (tramp-sh-handle-file-local-copy): Don't write a message when
4091 saving temporary files.
4092
4093 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4094 both directories are remote.
4095 (tramp-smb-handle-directory-files): Do not return double entries.
4096 Do not expand full file names.
4097 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4098 (tramp-smb-handle-write-region): Implement APPEND.
4099 (tramp-smb-get-stat-capability): Fix a stupid bug.
4100
7818df11
SM
41012013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4104
608c2085
NT
41052013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4106
4107 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4108 throwing error over malformed let/let* (bug#15814).
4109
122a7e46
SM
41102013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4111
4112 * iswitchb.el (iswitchb-mode): Mark obsolete.
4113
766284d9
GM
41142013-11-11 Glenn Morris <rgm@gnu.org>
4115
4116 * international/uni-bidi.el, international/uni-category.el:
4117 * international/uni-name.el, international/uni-numeric.el:
4118 Regenerate for Unicode 6.3.0.
4119
7072a4e9
MA
41202013-11-10 Michael Albinus <michael.albinus@gmx.de>
4121
4122 * net/tramp.el (tramp-methods):
4123 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4124 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4125
c9df215b
AS
41262013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4127
608c2085
NT
4128 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4129 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4130
fa47d796
DG
41312013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4132
4133 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4134 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4135 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4136 (ispell-complete-word): Call `ispell-lookup-words' with the value
4137 independent of `ispell-look-p'.
4138
1629a329
DG
41392013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4140
4141 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4142 Not after "||".
4143 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4144 their parent.
4145
ad16897c
SM
41462013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4149 (ruby-font-lock-keywords): Use backquote.
4150
ffa2df72
DG
41512013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4152
4153 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4154 (ruby-smie--backward-token): Only consider full-string matches.
4155
5b97b4c0
JD
41562013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4157
4158 * faces.el (describe-face): Add distant-foreground.
4159
71731c03
BB
41602013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4161
4e9fc48c
BB
4162 * progmodes/ruby-mode.el: Improve encoding comment handling.
4163 (ruby-encoding-magic-comment-style): New option.
4164 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4165 (ruby--insert-coding-comment, ruby--detect-encoding):
4166 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4167 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4168 to control the style of the auto-inserted encoding comment.
71731c03 4169
da3b328d
DG
41702013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4171
ad16897c
SM
4172 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4173 Use `smie-backward-sexp' with token argument.
da3b328d 4174
1606c2d3
MA
41752013-11-08 Michael Albinus <michael.albinus@gmx.de>
4176
4177 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4178 Remove instrumentation code.
4179
b0f4c320
GM
41802013-11-08 Glenn Morris <rgm@gnu.org>
4181
4182 * progmodes/autoconf.el (autoconf-mode):
4183 Tweak comment-start-skip. (Bug#15822)
4184
43668fb1
SM
41852013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4186
4187 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4188 at bobp (bug#15826).
4189 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4190
daddb3fd
DH
41912013-11-08 Darren Hoo <darren.hoo@gmail.com>
4192
4193 * man.el (Man-start-calling): New macro, extracted from
4194 Man-getpage-in-background.
4195 (Man-getpage-in-background): Use it.
4196 (Man-update-manpage): New command.
4197 (Man-mode-map): Bind it.
4198
1f923923
DG
41992013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4200
4201 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4202 of "and", "or", "&&" and "||".
4203 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4204 argument. Prohibit opening curly brace because it could only be a
4205 block opener in that position.
daddb3fd
DH
4206 (ruby-smie--forward-token, ruby-smie--backward-token):
4207 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4208 arguments.
4209 (ruby-smie--indent-to-stmt): New function, seeks the end of
4210 previous statement or beginning of buffer.
4211 (ruby-smie-rules): Use it.
4212 (ruby-smie-rules): Check if there's a ":" before a curly block
4213 opener candidate; if there is, it's a hash.
4214
3220d527
SM
42152013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4218 (cl--block-wrapper): Fix last accidental change.
4219
1eb1f9e0
MA
42202013-11-07 Michael Albinus <michael.albinus@gmx.de>
4221
4222 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4223 Instrument, in order to hunt failure on hydra.
4224
e6e4db3c
NT
42252013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4226
4227 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4228 malformed bindings form (bug#15814).
4229
b420ccfc
DG
42302013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4231
4232 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4233 "." compared to " @ ". This incidentally fixes some indentation
4234 examples with "do".
e6e4db3c 4235 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4236 (ruby-smie-grammar): New tokens: "and" and "or".
4237 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4238 Exclude "and" and "or". Remove "do" in order to work around token
4239 priorities.
4240 (ruby-smie-rules): Add all infix tokens. Handle the case of
4241 beginning-of-buffer.
b420ccfc 4242
6b4ac03e
GM
42432013-11-06 Glenn Morris <rgm@gnu.org>
4244
4245 * Makefile.in (setwins_almost, setwins_for_subdirs):
4246 Avoid accidental matches.
4247
5ca114d1
SM
42482013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4249
4250 * menu-bar.el (popup-menu): Use key-binding.
4251
f72552bd
EZ
42522013-11-06 Eli Zaretskii <eliz@gnu.org>
4253
4254 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4255 menus, support also the menus produced by minor modes.
4256 (Bug#15817)
4257
5d5c701e
LL
42582013-11-06 Leo Liu <sdl.web@gmail.com>
4259
4260 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4261 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4262
0a8b75e2
GM
42632013-11-06 Glenn Morris <rgm@gnu.org>
4264
4265 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4266 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4267 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4268
a35287ea
SM
42692013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4270
feca4e2d
SM
4271 * electric.el (electric-indent-just-newline): New command.
4272 (electric-indent-mode-map): New keymap.
4273 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4274 Re-add :group which weren't redundant.
4275
a35287ea
SM
4276 * electric.el (electric-indent-local-mode): New minor mode.
4277 (electric-indent-functions-without-reindent): New var.
4278 (electric-indent-post-self-insert-function): Use it.
4279 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4280
375761b2
EZ
42812013-11-05 Eli Zaretskii <eliz@gnu.org>
4282
9a6ad735
EZ
4283 * international/quail.el (quail-help): Be more explicit about the
4284 meaning of the labels shown on the keys. (Bug#15800)
4285
375761b2
EZ
4286 * startup.el (normal-top-level): Load the subdirs.el files before
4287 setting the locale environment. (Bug#15805)
4288
520a6e4a
SM
42892013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4290
0acfafef
SM
4291 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4292 via arguments so as to get the right ones (bug#15418).
4293
520a6e4a
SM
4294 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4295
15826261
MA
42962013-11-05 Michael Albinus <michael.albinus@gmx.de>
4297
4298 Fix problems found while writing a test suite.
4299
4300 * net/tramp-compat.el (tramp-compat-load): New defun.
4301 * net/tramp.el (tramp-handle-load): Use it.
4302
4303 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4304 "(numberp ok-if-already-exists)" correctly.
4305
d35f31a4
XF
43062013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4307
4308 * international/characters.el (glyphless-char-display-control):
4309 Add usage note.
4310
ae93bc74
BB
43112013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4312
520a6e4a
SM
4313 * progmodes/python.el (python-mode):
4314 * progmodes/scheme.el (scheme-mode):
4315 * progmodes/prolog.el (prolog-mode):
4316 * progmodes/ruby-mode.el (ruby-mode):
4317 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4318 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4319
0ade65b5
SM
43202013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4321
a0d5f7a4
SM
4322 * rect.el (rectangle--highlight-for-redisplay):
4323 * emacs-lisp/smie.el (smie--next-indent-change):
4324 Use buffer-chars-modified-tick.
4325
c93f3f5c
SM
4326 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4327
0ade65b5
SM
4328 * electric.el (electric-indent-post-self-insert-function):
4329 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4330
ef9dd188
HE
43312013-11-04 Helmut Eller <eller.helmut@gmail.com>
4332
4333 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4334
306e7308
NT
43352013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4336
4337 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4338 (bug#15786).
4339
e5afbcac
SM
43402013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4341
1d01ad41
SM
4342 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4343
e5afbcac
SM
4344 * progmodes/python.el: Fix up last change.
4345 (python-shell--save-temp-file): New function.
4346 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4347 `string' comes from the current buffer.
4348 (python-shell-send-string-no-output): Remove `msg' arg.
4349 (python--use-fake-loc): New var.
4350 (python-shell-buffer-substring): Obey it. Try to compensate for the
4351 extra coding line added by python-shell--save-temp-file.
4352 (python-shell-send-region): Use python-shell--save-temp-file and
4353 python-shell-send-file directly. Add `nomain' argument.
4354 (python-shell-send-buffer): Use python-shell-send-region.
4355 (python-electric-pair-string-delimiter): New function.
4356 (python-mode): Use it.
4357
d0065ff1
EZ
43582013-11-04 Eli Zaretskii <eliz@gnu.org>
4359
4360 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4361 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4362 environment and decoding all of the default-directory's to here
4363 from command-line.
4364 (command-line): Decode also argv[0].
4365
4366 * loadup.el: Error out if default-directory is a multibyte string
4367 when we are dumping.
4368
4369 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4370
7397c587
TZ
43712013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4372
4373 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4374 (package-menu--print-info, package-menu--archive-predicate):
4375 Add Archive column to package list.
7397c587 4376
b27cc9fc
MA
43772013-11-04 Michael Albinus <michael.albinus@gmx.de>
4378
4379 Fix problems found while writing a test suite.
4380
4381 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4382 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4383 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4384 to nil when running original file name handler. Otherwise,
4385 there are problems with constructs like "$$FOO".
4386
4387 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4388 for `localname'.
4389
d8c4f18a
BB
43902013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4391
7b530552
BB
4392 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4393
4394 * subr.el (version<, version<=, version=):
4395 Update docstrings with information for snapshot versions.
4396
d8c4f18a
BB
4397 * helpers.el: New library for misc helper functions.
4398 (hash-table-keys): New function returning a list of hash keys.
4399 (hash-table-values): New function returning a list of hash values.
4400
dca01b09
DG
44012013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4402
4403 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4404 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4405
0a749fa0
MN
44062013-11-04 Michal Nazarewicz <mina86@mina86.com>
4407
4408 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4409 checking whether point is after a 1-letter word.
4410
44112013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4412
4413 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4414 Don't infloop when expanding region over `multiline' syntax-type that
4415 begins a line (bug#15778).
4416
4aca7145
SM
44172013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4420 Make it into a proper minor mode.
4421 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4422 (rectangle-mark-mode-map): New keymap.
4423 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4424
a0833f62
GM
44252013-11-04 Glenn Morris <rgm@gnu.org>
4426
4427 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4428
e61845c1
SM
44292013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4430
4431 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4432 (ruby-smie-rules): Use smie-rule-parent instead.
4433
4434 * emacs-lisp/smie.el (smie-rule-parent): Always call
4435 smie-indent-virtual rather than only for hanging tokens.
4436 (smie--next-indent-change): New helper command.
4437
62942f89
GM
44382013-11-03 Glenn Morris <rgm@gnu.org>
4439
4440 * Makefile.in (abs_srcdir): Remove.
4441 (emacs): Unset EMACSLOADPATH.
4442
b0b9e592
GM
44432013-11-02 Glenn Morris <rgm@gnu.org>
4444
18ba6a33 4445 * Makefile.in (EMACS): Use a relative filename.
8061810d 4446 (abs_top_builddir): Remove.
18ba6a33
GM
4447 (custom-deps, finder-data, autoloads): Use --chdir.
4448
6a8b929e
GM
4449 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4450
c617f3d0
GM
4451 Use relative filenames in TAGS files.
4452 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4453 (lisptagsfiles4, TAGS): Use relative file names.
4454 (TAGS-LISP): Remove.
4455 (maintainer-clean): No more TAGS-LISP file.
4456
b0b9e592
GM
4457 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4458 (lisptagsfiles4): Use absolute filenames again.
4459 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4460 Remove all *loaddefs files, not just the first. Remove esh-groups.
4461 (maintainer-clean): Delete TAGS, TAGS-LISP.
4462
d1c0ea6a
BB
44632013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4464
e61845c1
SM
4465 * emacs-lisp/package.el (package-version-join):
4466 Recognize snapshot versions.
d1c0ea6a 4467
684d71c6
BB
44682013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4469
4470 * subr.el (version-regexp-alist): Add support for snapshot versions.
4471
3d42b968
DG
44722013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4473
e61845c1
SM
4474 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4475 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4476 skip over our direct parent if it's an assignment token..
4477 (ruby-smie-rules): Use it.
4478
7ffd3721
DG
44792013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4480
8449dd1f 4481 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4482 unconditionally. Remove now unnecessary forward declarations.
4483 Remove XEmacs-specific setup.
4484 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4485 (ruby-font-lock-syntactic-keywords)
4486 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4487 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4488 (ruby-here-doc-end-syntax): Remove.
4489 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4490 defined as function.
4491
a3996a2e
BB
44922013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4493
4494 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4495
6f9260e8
BB
44962013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4497
4498 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4499 table and abbrev table, `define-derived-mode' does that for us
4500 anyway.
4501
6014de84
GM
45022013-11-01 Glenn Morris <rgm@gnu.org>
4503
4504 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4505 files is atomic for some time, so no parallel compilation issues).
4506
3c334c14
JD
45072013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4508
4509 * faces.el (face-x-resources): Add :distant-foreground.
4510 (region): Use :distant-foreground for gtk and ns.
4511
9bc236c8
TH
45122013-11-01 Tassilo Horn <tsdh@gnu.org>
4513
5246583b 4514 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4515 BibTeX.
4516 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4517 (reftex-locate-bibliography-files): Us it.
4518
d14c81ee
CB
45192013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4520
0e7690de
CB
4521 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4522 allow comments in pbm files.
4523
d14c81ee
CB
4524 * term/w32-win.el (dynamic-library-alist): Support newer versions
4525 of libjpeg starting with v7: look only for the DLL from the
4526 version against which Emacs was built.
ac1bf374 4527 Support versions of libpng beyond 1.4.x.
019c8218 4528 Support libtiff v4.x.
d14c81ee 4529
983d0df5
BB
45302013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4531
4532 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4533 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4534 Add property :safe.
4535 (ruby-deep-arglist): Add property :type.
4536
47f58d85
GM
45372013-10-31 Glenn Morris <rgm@gnu.org>
4538
4539 * Makefile.in (custom-deps, finder-data): No need to setq the target
4540 variables, we are in the right directory and the defaults work fine.
4541
4f85b479
GM
45422013-10-30 Glenn Morris <rgm@gnu.org>
4543
ca7dd4cd
GM
4544 * Makefile.in (autoloads): Do not use abs_lisp.
4545
4f85b479
GM
4546 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4547 `newline' does not respect `standard-output', so use `princ'.
4548
cf59e41c
AA
45492013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4550
4551 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4552 * buff-menu.el (Buffer-menu--unmark): New function.
4553 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4554
74cf04fb
GM
45552013-10-30 Glenn Morris <rgm@gnu.org>
4556
b040b60e
GM
4557 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4558
f53d3815
GM
4559 * emacs-lisp/package.el (lm-homepage): Declare.
4560
5413d873
GM
4561 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4562 Fix doc typos.
4563
cecedb36
GM
4564 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4565
74cf04fb
GM
4566 * Makefile.in (finder-data, autoloads, update-subdirs)
4567 (compile-main, compile-clean, compile-always, bootstrap-clean):
4568 Check return value of cd.
4569 (compile-calc): Remove.
4570
195ee2f0
SM
45712013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4572
ae4002ce
SM
4573 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4574
4575 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4576 (byte-compile-and-folded): New function.
4577 (=, <, >, <=, >=): Use it.
4578
4579 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4580 (path-separator, null-device, buffer-file-coding-system)
4581 (lpr-headers-switches): Check system-type before modifying them.
4582 (find-buffer-file-type-coding-system): Mark obsolete.
4583 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4584 find-file-not-found-set-buffer-file-coding-system.
35e951cd 4585 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 4586 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 4587 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
4588 (w32-direct-print-region-helper, w32-direct-print-region-function)
4589 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4590 * startup.el (normal-top-level-add-subdirs-to-load-path):
4591 * ps-print.el (ps-print-region-function):
4592 * lpr.el (print-region-function): Use new name.
4593
53b39e89
SM
4594 * subr.el (custom-declare-variable-early): Remove function.
4595 (custom-declare-variable-list): Remove var.
4596 (error, user-error): Remove `while' loop.
4597 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4598 (user-emacs-directory-warning, locate-user-emacs-file):
4599 Move to files.el.
4600 * simple.el (read-quoted-char-radix, read-quoted-char):
4601 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4602 Move from subr.el.
4603 * custom.el (custom-declare-variable-list): Don't process
4604 custom-declare-variable-list.
4605
195ee2f0
SM
4606 * progmodes/python.el (python-shell-get-buffer): New function.
4607 (python-shell-get-process): Use it.
4608 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4609 Python which encoding was used. Don't split-string since we only care
4610 about the first line. Return the temp-file, if applicable.
4611 (python-shell-send-region): Tell compile.el how to turn locations in
4612 the temp-file into locations in the source buffer.
4613
7e3561ee
SM
46142013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4615
4c9797cb
SM
4616 * subr.el (undefined): Add missing behavior from the C code for
4617 unbound keys.
4618
3472b6c6
SM
4619 * rect.el: Use lexical-binding. Add new rectangular region support.
4620 (rectangle-mark): New command.
4621 (rectangle--region): New var.
4622 (deactivate-mark-hook): Reset rectangle--region.
4623 (rectangle--extract-region, rectangle--insert-for-yank)
4624 (rectangle--highlight-for-redisplay)
4625 (rectangle--unhighlight-for-redisplay): New functions.
4626 (region-extract-function, redisplay-unhighlight-region-function)
4627 (redisplay-highlight-region-function): Use them to handle
4628 rectangular region.
4629 * simple.el (region-extract-function): New var.
4630 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4631 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4632 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4633 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4634 (redisplay-unhighlight-region-function)
4635 (redisplay-highlight-region-function): New vars.
4636 (redisplay--update-region-highlight): New function.
4637 (pre-redisplay-function): Use it.
4638 (exchange-point-and-mark): Don't deactivate the mark before
4639 reactivate-it anyway.
4640 * comint.el (comint-kill-region): Remove yank-handler argument.
4641 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4642 (delete-char): Remove property, since it's now part of their
4643 default behavior.
4644 (self-insert-iso): Remove property since this command doesn't exist.
4645
7e3561ee
SM
4646 * emacs-lisp/package.el (package--download-one-archive)
4647 (describe-package-1): Don't query the user about final newline.
4648
b9bef71f
DC
46492013-10-29 Daniel Colascione <dancol@dancol.org>
4650
4651 * net/tramp.el (tramp-methods): Document new functionality.
4652 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4653 tramp-hostname-checker if method provides one instead of scanning
4654 argument list for "%h" to decide hostname acceptability.
4655
4efc33f0
MA
46562013-10-28 Michael Albinus <michael.albinus@gmx.de>
4657
4658 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4659 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4660 Handle COPY-CONTENTS. (Bug#15737)
4661
ed42a877
DU
46622013-10-28 Daiki Ueno <ueno@gnu.org>
4663
4664 * epa-file.el
7e3561ee
SM
4665 (epa-file-cache-passphrase-for-symmetric-encryption):
4666 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4667
18c9f8a2
XF
46682013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4669
35e951cd 4670 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 4671
b1e8e010
AM
46722013-10-27 Alan Mackenzie <acm@muc.de>
4673
4674 Indent statements in macros following "##" correctly.
7e3561ee
SM
4675 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4676 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4677
73d40d1e 46782013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4679
4680 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4681
c8c605ac
DG
46822013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4683
4684 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4685 after `=' is probably a new expression.
4686
ca7e59d4
RS
46872013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4688
4689 * man.el (man-imenu-title): New option.
4690 (Man-mode-map): Add menu. (Bug#15722)
4691 (Man-mode): Add imenu to menu.
4692
bae91342
DG
46932013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4694
4695 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4696 specific in what the first arg can be: a non-keyword word,
4697 string/regexp/percent literal opener, opening paren, or unary
4698 operator followed directly by word.
4699
eb89dc14
SM
47002013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4703 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4704 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4705 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4706 Remove vars, they do not apply any more.
4707 (prolog-mode-abbrev-table): Remove redundant declaration.
4708 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4709 (prolog-use-smie): Remove.
4710 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4711 supported by prolog-electric-if-then-else-flag.
4712 (prolog-mode-variables, prolog-menu): Use setq-local.
4713 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4714 Remove binding to `Backspace' since this key doesn't exist anyway.
4715 Remove bindings for electric self-inserting keys.
4716 (prog-mode): Assume it's defined.
4717 (prolog-post-self-insert): New function.
4718 (prolog-mode): Use it.
4719 (prolog-indent-line, prolog-indent-level)
4720 (prolog-find-indent-of-matching-paren)
4721 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4722 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4723 (prolog-goto-next-paren, prolog-in-string-or-comment)
4724 (prolog-tokenize, prolog-inside-mline-comment)
4725 (prolog-find-start-of-mline-comment): Remove functions.
4726 (prolog-find-unmatched-paren, prolog-clause-end)
4727 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4728 (prolog-electric--if-then-else): Rename from
4729 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4730 (prolog-tokenize-searchkey): Remove const.
4731 (prolog-clause-info): Use forward-sexp.
4732 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4733 (prolog-electric-if-then-else): Remove commands.
4734 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4735 for use in post-self-insert-hook.
4736 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4737 for use in post-self-insert-hook.
4738 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4739 for use in post-self-insert-hook.
4740 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4741 adapt it for use in post-self-insert-hook.
4742
3dab0a83
MA
47432013-10-25 Michael Albinus <michael.albinus@gmx.de>
4744
4745 * emacs-lisp/ert.el (ert-run-tests-interactively):
4746 Use `completing-read'. (Bug#9756)
4747
fbfd0e1d
EZ
47482013-10-25 Eli Zaretskii <eliz@gnu.org>
4749
4750 * simple.el (line-move): Call line-move-1 instead of
4751 line-move-visual when the current window hscroll is zero, but
4752 temporary-goal-column indicates we will need to hscroll as result
4753 of the movement. (Bug#15712)
4754
963ce636
DG
47552013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4756
4757 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
4758 capitalization. Use :visible instead of :active.
4759 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
4760 commands that are used with SMIE.
4761 (ruby-do-end-to-brace): Insert space after `{'.
4762
a0be396a
JA
47632013-10-25 John Anthony <john@jo.hnanthony.com>
4764
f73754c9
JA
4765 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4766
4767 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 4768
f5bf77df
GM
47692013-10-25 Glenn Morris <rgm@gnu.org>
4770
4771 * vc/vc.el (vc-print-log): Don't use a working revision unless
4772 one was explicitly specified. (Bug#15322)
4773
37241f62
SM
47742013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4775
4776 * subr.el (add-to-list): Preserve return value in compiler-macro
4777 (bug#15692).
4778
6408a65d
RS
47792013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4780
4781 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4782 result. Ask user to retry using '-all' flag. (Bug#15701)
4783
71e3276b
SM
47842013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * emacs-lisp/smie.el: New smie-config system.
4787 (smie-config): New defcustom.
4788 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4789 (smie-config-guess, smie-config-save): New commands.
4790 (smie-config--mode-local, smie-config--buffer-local)
4791 (smie-config--trace, smie-config--modefuns): New vars.
4792 (smie-config--advice, smie-config--mode-hook)
4793 (smie-config--setter, smie-config-local, smie-config--get-trace)
4794 (smie-config--guess-value, smie-config--guess): New functions.
4795 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4796 text properties. Treat "string fence" syntax like string syntax.
4797
4798 * progmodes/sh-script.el (sh-use-smie): Change default.
4799 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4800 (sh-var-value): Simplify by CSE.
4801 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4802 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4803 is used.
4804 (sh-guess-basic-offset): Use cl-incf.
4805 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4806
60db713e
HE
48072013-10-24 Helmut Eller <eller.helmut@gmail.com>
4808
4809 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4810 (bug#15699).
4811
8b251df6
GM
48122013-10-24 Glenn Morris <rgm@gnu.org>
4813
4814 * Makefile.in (abs_top_srcdir): Remove.
4815 (update-subdirs): Use relative path to update-subdirs.
4816
6be0e22b
EZ
48172013-10-24 Eli Zaretskii <eliz@gnu.org>
4818
4819 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4820 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4821 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4822 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4823
50b5b857
MA
48242013-10-24 Michael Albinus <michael.albinus@gmx.de>
4825
4826 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4827 (ert-test-skipped): New error.
4828 (ert-skip, ert-stats-skipped): New defuns.
4829 (ert--skip-unless): New macro.
4830 (ert-test-skipped): New struct.
4831 (ert--run-test-debugger, ert-test-result-type-p)
4832 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4833 (ert--stats-set-test-and-result, ert-char-for-test-result)
4834 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4835 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4836 Handle skipped tests. (Bug#9803)
50b5b857 4837
6f317c2f
GM
48382013-10-24 Glenn Morris <rgm@gnu.org>
4839
e43817c1
GM
4840 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4841
6f317c2f
GM
4842 * Makefile.in (abs_top_srcdir): New, set by configure.
4843 (update-subdirs): Correct build-aux location.
4844
369bbf71
DG
48452013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4846
8297b2cf
DG
4847 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4848 value, whether we could auto-deduce `backend', or not.
4849
369bbf71
DG
4850 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4851 with parameters" example. Simplify the "is it block or is it
4852 hash" check, but also make it more thorough.
4853
d5f1282f
MF
48542013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4855
4856 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4857
bc4aaa31
SM
48582013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4859
03d44565
SM
4860 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4861 { if it is hanging.
4862
bc4aaa31
SM
4863 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4864 :before ";".
4865
f493ff19
JB
48662013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4867
4868 * progmodes/compile.el (compilation-directory-matcher)
4869 (compilation-page-delimiter):
4870 Support GNU Make-4.0 directory quoting. (Bug#15678)
4871
c744a3b9
LL
48722013-10-23 Leo Liu <sdl.web@gmail.com>
4873
4874 * ido.el (ido-tidy): Handle read-only text.
4875
b8e3b0a9
GM
48762013-10-23 Glenn Morris <rgm@gnu.org>
4877
4878 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4879 (emacs, compile, compile-always):
4880 Quote entities that might contain whitespace.
4881 (custom-deps, finder-data, autoloads): Use abs_lisp.
4882 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4883 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4884 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4885
ee4282cd
DG
48862013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4887
bc4aaa31
SM
4888 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4889 Use `following-char'.
7790a270 4890
ee4282cd 48912013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4892
4893 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4894 * progmodes/ruby-mode.el (ruby-smie-rules):
4895 Remove corresponding workaround. Fix indentation rule of ";" so it
4896 also applies when ";" is the parent.
4897
d40a46d7
XF
48982013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4899
4900 * frame.el (display-screens, display-pixel-height)
4901 (display-pixel-width, display-mm-width, display-backing-store)
4902 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4903 (display-visual-class, display-monitor-attributes-list):
4904 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4905
a0f143c9
MG
49062013-10-22 Michael Gauland <mikelygee@amuri.net>
4907
4908 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4909 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4910
18cacc39
DG
49112013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4912
4913 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4914 TODO. Add "." after " @ ".
4915 (ruby-smie--at-dot-call): New function. Checks if point at method
4916 call with explicit target.
4917 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4918 to the method name tokens when it precedes them.
4919 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4920 (ruby-smie-rules): Add rule for indentation before and after "."
4921 token.
4922
df74c4be
SM
49232013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4924
c6dab55f
SM
4925 * textmodes/remember.el (remember-diary-extract-entries):
4926 Avoid add-to-list.
4927
df74c4be
SM
4928 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4929 an instruction.
4930
8c1ae481
DG
49312013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4932
e9dc713d
JB
4933 * progmodes/ruby-mode.el (ruby-smie-grammar):
4934 Add (almost) all infix operators.
cfef16c0
DG
4935 (ruby-smie--implicit-semi-p): Add new operator chars.
4936
8c1ae481
DG
4937 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4938 `smie-down-list'.
4939 (ruby-smie--args-separator-p): Check that there's no newline
4940 between method call and its arguments.
4941
87756ca9
AM
49422013-10-20 Alan Mackenzie <acm@muc.de>
4943
4944 Allow comma separated lists after Java "implements".
4945
df74c4be
SM
4946 * progmodes/cc-engine.el (c-backward-over-enum-header):
4947 Parse commas.
87756ca9
AM
4948 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4949 from a "disallowed" list in enum fontification.
4950
c25f8957
JB
49512013-10-20 Johan Bockgård <bojohan@gnu.org>
4952
df74c4be 4953 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4954
c25f8957
JB
4955 * progmodes/verilog-mode.el (verilog-mode): Don't set
4956 comment-indent-function globally.
4957
aca5fcdc
JD
49582013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4959
5f161884
JD
4960 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4961 Move Info menu item creation to ns-win.el.
4962
4963 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4964 in menu bar.
4965
a6c4680a 4966 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4967
4968 * term/ns-win.el (ns-initialize-window-system): ... to here.
4969
914b7f98
SM
49702013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * simple.el (newline): Only run post-self-insert-hook when
4973 called interactively.
4974
846ffe77
JB
49752013-10-19 Johan Bockgård <bojohan@gnu.org>
4976
4977 * icomplete.el (icomplete-with-completion-tables): Add :version.
4978
033f22dd
AM
49792013-10-19 Alan Mackenzie <acm@muc.de>
4980
4981 Fix fontification bugs with constructors and const.
4982
4983 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4984 CASE 2) Remove the check for the absence of a suffix construct
4985 after a function declaration with only types (no identifiers) in
4986 the parentheses. Also, accept a function declaration with just a
4987 type inside the parentheses, if this type can be positively
4988 recognised as such, or if a prefix keyword like "explicit" nails
4989 down the construct as a declaration.
4990
58ce0cfc
EZ
49912013-10-19 Eli Zaretskii <eliz@gnu.org>
4992
4993 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4994 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4995 the problem whereby selecting a menu item that leads to a
4996 minibuffer prompt moves the cursor out of the minibuffer window,
4997 making it hard to type at the prompt. Suggested by Stefan Monnier
4998 <monnier@iro.umontreal.ca>.
4999
50e28e7d
JD
50002013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5001
5002 * menu-bar.el: Don't make Services menu.
5003
7deed4bf
RS
50042013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5005
5006 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5007 (ffap-alist): Use ffap-c++-mode for c++-mode.
5008 (ffap-c++-path): New variable.
5009 (ffap-c++-mode): New function.
5010
7bcb455b
JVJ
50112013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5012
5013 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5014
f0ff1cd5
MA
50152013-10-18 Michael Albinus <michael.albinus@gmx.de>
5016
5017 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5018 introduced on 2013-09-08, which results in an infinite loop
5019 requesting a password.
5020
d64da4b7
GM
50212013-10-18 Glenn Morris <rgm@gnu.org>
5022
5023 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5024
ea89ff08
WS
50252013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5026
5027 Sync with upstream verilog-mode revision 1a6ecec7.
5028 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5029 (verilog-mode-release-date): Remove.
5030 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5031 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5032 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5033 (verilog-auto-tieoff-ignore-regexp)
5034 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5035 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5036 (verilog-signals-with, verilog-dir-cache-preserving)
5037 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5038 Doc fixes.
5039 (verilog-case-fold): New option, to control case folding in
5040 regexp searches, bug597.
5041 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5042 (verilog-string-match-fold, verilog-in-paren-count)
5043 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5044 (verilog-at-close-struct-p): New functions.
5045 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5046 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5047 (verilog-leap-to-case-head): Handle "unique0" case.
5048 (verilog-in-constraint-re): New constant.
5049 (verilog-keywords, verilog-type-font-keywords):
5050 Add some SystemVerilog 1800-2012 keywords.
5051 (verilog-label-be): Remove unimplemented argument, bug669.
5052 (verilog-batch-execute-func): When batch expanding clear
5053 create-lockfiles to prevent spurious user locks when a file ends
5054 up not changing.
5055 (verilog-calculate-indent, verilog-calc-1)
5056 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5057 (verilog-do-indent): Fix indentation of nested constraints
5058 and structures.
5059 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5060 (verilog-auto-inst-param): Use verilog-string-match-fold.
5061 (verilog-read-inst-module-matcher):
5062 Fix AUTOINST on gate primitives with #1.
5063 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5064 Reads all user-defined typed variables.
5065 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5066 (verilog-signals-matching-regexp)
5067 (verilog-signals-not-matching-regexp, verilog-auto):
5068 Respect verilog-case-fold.
5069 (verilog-diff-report): Fix line count.
5070 (verilog-auto-assign-modport): Remove unused local `modi'.
5071 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5072 better handle multidimensional arrays.
5073 Fix packed array ports misadding bit index in AUTOINST, bug637.
5074 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5075 to not double-declare existing outputs and inputs, respectively.
5076 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5077 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5078 (verilog-sk-uvm-component): New skeleton.
5079 (verilog-submit-bug-report): Add verilog-case-fold,
5080 remove verilog-mode-release-date.
5081
ef566920
BR
50822013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5083
a12bf61e 5084 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5085 as before.
5086
29df8a0b
RT
50872013-10-18 Reuben Thomas <rrt@sc3d.org>
5088
e0eb0550 5089 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5090 remember buffers (bug#13566).
5091
04a19a79
DC
50922013-10-18 Daniel Colascione <dancol@dancol.org>
5093
5094 When evaluating forms in ielm, direct standard output to ielm
5095 buffer. Add new ielm-return-for-effect command. Remove trailing
5096 whitespace throughout.
5097
5098 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5099 (ielm-return-for-effect): New command.
5100 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5101 (ielm-eval-input): Accept optional `for-effect' parameter.
5102 Bind `standard-output' to stream we create using
04a19a79
DC
5103 `ielm-standard-output-impl'. Suppress printing result when
5104 `for-effect'.
5105 (ielm-standard-output-impl): New function.
5106 (inferior-emacs-lisp-mode): Explain new features in documentation.
5107
4c1f03ef
MA
51082013-10-17 Michael Albinus <michael.albinus@gmx.de>
5109
5110 Code cleanup.
5111
5112 * net/tramp.el (tramp-debug-message): Do not check for connection
5113 buffer.
5114 (tramp-message): Use "vector" connection property.
5115
5116 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5117 (tramp-equal-remote, tramp-eshell-directory-change)
5118 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5119 (tramp-adb-handle-rename-file)
5120 * net/tramp-cmds.el (tramp-list-remote-buffers)
5121 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5122 * net/tramp-compat.el (tramp-compat-process-running-p)
5123 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5124 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5125 (tramp-gvfs-handle-rename-file)
5126 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5127 (tramp-set-file-uid-gid)
5128 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5129 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5130 of `file-remote-p'.
5131
5132 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5133 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5134 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5135 (tramp-gw-open-network-stream): Suppress unrelated traces.
5136
5137 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5138 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5139 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5140 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5141 connection property.
5142
5143 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5144 persistency file.
4c1f03ef
MA
5145
5146 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5147 Refactor common code. Improve debug message.
5148 (tramp-maybe-open-connection)
5149 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5150 connection buffer too early.
5151
5152 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5153 from `tramp-smb-actions-with-acl'.
5154 (tramp-smb-actions-set-acl): New defconst.
5155 (tramp-smb-handle-copy-directory)
5156 (tramp-smb-action-get-acl): New defun, renamed from
5157 `tramp-smb-action-with-acl'.
5158 (tramp-smb-action-set-acl): New defun.
5159 (tramp-smb-handle-set-file-acl): Rewrite.
5160
642eb8b6
GM
51612013-10-17 Glenn Morris <rgm@gnu.org>
5162
5163 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5164
85527ff3
SM
51652013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5166
921c1d62
SM
5167 * skeleton.el (skeleton-newline): Remove.
5168 (skeleton-internal-1): Use (insert "\n") instead.
5169
e333fb10
SM
5170 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5171 let-bindings.
5172
85527ff3
SM
5173 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5174 forward-sexp-function while we redo its job (bug#15613).
5175
c8722a97
JB
51762013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5177
5178 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5179 represented by lists.
5180
7a550bbb
GM
51812013-10-16 Glenn Morris <rgm@gnu.org>
5182
5183 * tmm.el (tmm--history): New dynamic variable.
5184 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5185
f19da8ad
MA
51862013-10-16 Michael Albinus <michael.albinus@gmx.de>
5187
5188 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5189 (tramp-smb-errors): Add error messages.
5190 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5191 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5192 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5193 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5194 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5195 (tramp-smb-get-stat-capability): Fix tests.
5196
a24b9961
DK
51972013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5198
5199 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5200 (bug#15580).
5201
62ad85e6
GM
52022013-10-16 Glenn Morris <rgm@gnu.org>
5203
0283d6b0
GM
5204 * ansi-color.el (ansi-color-drop-regexp):
5205 Add 1J, 1K, 2K. (Bug#15617)
5206
012e2f9f
GM
5207 * files.el (hack-local-variables--warned-lexical): New.
5208 (hack-local-variables):
5209 Warn about misplaced lexical-binding. (Bug#15616)
5210
62ad85e6
GM
5211 * net/eww.el (eww-render): Always set eww-current-url,
5212 and update header line. (Bug#15622)
5213 (eww-display-html): ... Rather than just doing it here.
5214
6456c0ea
EZ
52152013-10-15 Eli Zaretskii <eliz@gnu.org>
5216
5217 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5218 menu navigations commands.
5219
c2de5588
DK
52202013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5221
5222 * progmodes/subword.el (subword-capitalize): Be careful when
5223 the search for [[:alpha:]] fails (bug#15580).
5224
ccd4a783
EZ
52252013-10-14 Eli Zaretskii <eliz@gnu.org>
5226
5227 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5228 to commands that scroll the menu.
5229
1eda1d8d
DG
52302013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5231
c2de5588
DK
5232 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5233 Handle methods ending with `?' and `!'.
1eda1d8d 5234
e70181b8
AM
52352013-10-14 Akinori MUSHA <knu@iDaemons.org>
5236
5237 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5238 `japanese-cp932' to `cp932' to fix the problem where saving a
5239 source file written in Shift_JIS twice would end up having
5240 `coding: japanese-cp932' which Ruby could not recognize.
5241 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5242 in `ruby-encoding-map'.
5243 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5244 doesn't need to be explicitly declared in magic comment.
5245 (ruby-encoding-map): Add type declaration for better customize UI.
5246
9148ee92
GM
52472013-10-13 Glenn Morris <rgm@gnu.org>
5248
a5d38e34
GM
5249 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5250 Occur buffers are read-only. http://bugs.debian.org/720775
5251
9148ee92
GM
5252 * emacs-lisp/authors.el (authors-fixed-entries):
5253 Comment out old alpha stuff.
5254
a9ba094b
DG
52552013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5256
5257 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5258 to `after-save-hook' instead of `before-save-hook'.
5259 (ruby-mode-set-encoding): Use the value of coding system used to
5260 write the file. Call `basic-save-buffer-1' after modifying the
5261 buffer.
5262
7a068717
AM
52632013-10-13 Alan Mackenzie <acm@muc.de>
5264
5265 Fix indentation/fontification of Java enum with
5266 "implements"/generic.
5267
c2de5588
DK
5268 * progmodes/cc-engine.el (c-backward-over-enum-header):
5269 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5270 (c-inside-bracelist-p): Uses new function above.
5271 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5272 function above.
5273 (c-font-lock-enum-tail): Uses new function above.
5274
85b64f02
KH
52752013-10-13 Kenichi Handa <handa@gnu.org>
5276
5277 * international/mule-cmds.el (select-safe-coding-system): Remove a
5278 superfluous condition in chekcing whether a coding system is safe
5279 or not.
5280
fc7f501b
OK
52812013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5282
5283 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5284
fdcb2049
AP
52852013-10-13 Andreas Politz <politza@hochschule-trier.de>
5286
5287 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5288
8c106d17
GM
52892013-10-13 Glenn Morris <rgm@gnu.org>
5290
feab892d
GM
5291 * menu-bar.el (menu-bar-update-buffers):
5292 Unify Buffers menu prompt string. (Bug#15576)
5293
b22d0686
GM
5294 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5295
8c106d17
GM
5296 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5297 Add some entries.
5298 (authors-fixed-entries): Use accented form of name.
5299
1b12c797
SM
53002013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5301
650fa7bf 5302 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5303 method calls (bug#15594).
650fa7bf
SM
5304 (ruby-smie--args-separator-p): New function.
5305 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5306 recognize paren-free method calls.
5307
1b12c797
SM
5308 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5309 internals of universal-argument.
5310
029619c8
EZ
53112013-10-11 Eli Zaretskii <eliz@gnu.org>
5312
5313 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5314 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5315 dropped menu on second mouse click on the menu bar.
029619c8 5316
dd070019
SM
53172013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5320 (explicit-shell-file-name): Declare.
5321 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5322 (sh-completion-at-point-function): New function.
5323 (sh-mode): Use it.
5324 (sh-smie--keyword-p): Remove unused argument.
5325 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5326 vars.
5327 (sh-set-shell): Always setup SMIE, even if we use the
5328 old indentation code.
5329
0922b826
DG
53302013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5331
b68e2926
DG
5332 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5333 cases of ? and =.
5334 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5335 predicate would return nil are almost non-existent.
5336 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5337
0922b826
DG
5338 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5339 cache also after commands that modify the buffer but don't move
5340 point.
5341
ee041f2d
SM
53422013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * env.el (substitute-env-in-file-name): New function.
5345 (substitute-env-vars): Extend the meaning of the optional arg.
5346
a5dab159
EZ
53472013-10-10 Eli Zaretskii <eliz@gnu.org>
5348
5349 * term/w32-win.el (dynamic-library-alist): Define separate lists
5350 of GIF DLLs for versions before and after 5.0.0 of giflib.
5351 (Bug#15531)
5352
0449d6cd 53532013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5354
5355 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5356 not locked, use last revision and current source as
5357 defaults. (Bug#15569)
5358
2f6e161e
MY
53592013-10-10 Masatake YAMATO <yamato@redhat.com>
5360
5361 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5362 menu-bar is hidden.
5363
6c8413fc
MR
53642013-10-10 Martin Rudalics <rudalics@gmx.at>
5365
5366 * window.el (pop-to-buffer-same-window): Fix doc-string.
5367 (Bug#15492)
5368
20832de0
SM
53692013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5372
c6e8ae77
AC
53732013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5374
5375 * calendar/icalendar.el (icalendar-import-file):
5376 Fix interactive spec. (Bug#15482)
5377
9db13baf
GM
53782013-10-10 Glenn Morris <rgm@gnu.org>
5379
9271e90e
GM
5380 * desktop.el (desktop-save): Default to saving in .emacs.d,
5381 since PWD is no longer in desktop-path by default. (Bug#15319)
5382
9db13baf
GM
5383 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5384 now that text mode has a menu with the same entry.
5385 (menu-bar-text-mode-auto-fill): Remove now unused func.
5386 * textmodes/text-mode.el (text-mode-map):
5387 Use auto-fill help text from menu-bar.el.
5388
a0be396a 53892013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5390
5391 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5392
2edcd3c7
JL
53932013-10-09 Juri Linkov <juri@jurta.org>
5394
5395 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5396 instead of this-command-keys. Add universal-argument-more and
5397 universal-argument-minus to the list of prefix commands. (Bug#15568)
5398
574411d0
GM
53992013-10-09 Glenn Morris <rgm@gnu.org>
5400
14afa541
GM
5401 * vc/vc-svn.el (vc-svn-create-repo):
5402 Expand paths in file://... url. (Bug#15446)
5403
574411d0
GM
5404 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5405 Add some entries.
5406 (authors): Remove unused local variables.
5407
79804536
SM
54082013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * profiler.el: Create a more coherent calltree from partial backtraces.
5411 (profiler-format): Hide the tail with `invisible' so that C-s can still
5412 find the hidden elements.
5413 (profiler-calltree-depth): Don't recurse so enthusiastically.
5414 (profiler-function-equal): New hash-table-test.
5415 (profiler-calltree-build-unified): New function.
5416 (profiler-calltree-build): Use it.
5417 (profiler-report-make-name-part): Indent the calltree less.
5418 (profiler-report-mode): Add visibility specs for profiler-format.
5419 (profiler-report-expand-entry, profiler-report-toggle-entry):
5420 Expand the whole subtree when provided with a prefix arg.
5421
238150c8
DG
54222013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5423
5424 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5425 iuwu-mod token.
5426 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5427 hanging iuwu-mod token.
5428 (ruby-smie--forward-token): Do not include a dot after a token in
5429 that token.
5430 (ruby-smie--backward-token): Likewise.
5431
b0949cc4
JL
54322013-10-08 Juri Linkov <juri@jurta.org>
5433
5434 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5435 to isearch-other-control-char.
5436 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5437 and isearch-post-command-hook to post-command-hook.
5438 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5439 and isearch-post-command-hook from post-command-hook.
5440 (isearch-unread-key-sequence)
5441 (isearch-reread-key-sequence-naturally)
5442 (isearch-lookup-scroll-key, isearch-other-control-char)
5443 (isearch-other-meta-char): Remove functions.
5444 (isearch-pre-command-hook, isearch-post-command-hook):
5445 New functions based on isearch-other-meta-char rewritten
5446 relying on the new behavior of overriding-terminal-local-map
5447 that does not replace the local keymaps any more. (Bug#15200)
5448
4ed77415
EZ
54492013-10-08 Eli Zaretskii <eliz@gnu.org>
5450
5451 Support menus on text-mode terminals.
5452 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5453 functionality.
5454
5455 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5456
c2de5588
DK
5457 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5458 Move here from mouse.el.
4ed77415
EZ
5459 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5460 and arrow keys.
5461 (tty-menu-navigation-map): New map for TTY menu navigation.
5462
5463 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5464
5465 * frame.el (display-mouse-p): Report text-mode mouse as available
5466 on w32.
5467 (display-popup-menus-p): Report availability if mouse is
5468 available; don't condition on window-system.
5469
5470 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5471 (tty-menu-selected-face): New faces.
5472
b7d5bd82
TL
54732013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5474
06286513
SM
5475 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5476 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5477 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5478 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5479 New constants.
5480 (lisp-mode-variables): New `elisp' argument.
5481 (emacs-lisp-mode): Use it.
5482 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5483 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5484
b7d5bd82
TL
5485 * indent.el: Use lexical-binding.
5486 (indent-region): Add progress reporter.
5487 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5488 last step.
5489 (indent--next-tab-stop): New function to implement this behavior.
5490 (tab-to-tab-stop, move-to-tab-stop): Use it.
5491
54922013-10-08 Teemu Likonen <tlikonen@iki.fi>
5493
5494 * indent.el (indent-rigidly--current-indentation): New function.
5495 (indent-rigidly-map): New var.
5496 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5497
5ea75d23
BG
54982013-10-08 Bastien Guerry <bzg@gnu.org>
5499
f2726fa2 5500 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5501
cc5da1ec
SM
55022013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5503
8ffa1a0b
SM
5504 * progmodes/perl-mode.el: Use lexical-binding.
5505 Remove redundant :group args.
5506 (perl-nochange): Change default to be closer to other major modes's
5507 standard behavior.
5508 (perl-indent-line): Don't consider text on current line as a
5509 valid beginning of function from which to indent.
5510
f2223371
SM
5511 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5512 with more than one argument (bug#15538).
5513
44256060
SM
5514 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5515
cc5da1ec
SM
5516 * vc/pcvs.el: Use lexical-binding.
5517 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5518 environment of `eval'.
5519 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5520 than a list of expressions. Adjust callers.
5521 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5522
0ea1599d
DG
55232013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5524
5525 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5526 case of the dot in a chained method call being on the following line.
0ea1599d 5527
da3e5ebb
SM
55282013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5529
2abb4e65
SM
5530 * electric.el (electric-indent-inhibit): New var.
5531 (electric-indent-post-self-insert-function): Use it.
5532 * progmodes/python.el (python-mode): Set it.
5533
d2e0e795
SM
5534 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5535 open braces.
5536
5537 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5538
bdc6b4c8
SM
5539 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5540 (css-mode): Use electric-indent-chars.
5541
da3e5ebb
SM
5542 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5543 (font-lock-beg, font-lock-end): Move before first use.
5544 (nxml-mode): Use syntax-propertize-function.
5545 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5546 (nxml-extend-after-change-region): Remove.
5547 * nxml/xmltok.el: Use lexical-binding.
5548 (xmltok-save): Use `declare'.
5549 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5550 * nxml/nxml-util.el: Use lexical-binding.
5551 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5552 Use `declare'.
5553 * nxml/nxml-ns.el: Use lexical-binding.
5554 (nxml-ns-save): Use `declare'.
5555 (nxml-ns-prefixes-for): Avoid add-to-list.
5556 * nxml/rng-match.el: Use lexical-binding.
5557 (rng--ipattern): Use cl-defstruct.
5558 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5559 (rng-cons-group-after, rng-subst-group-after)
5560 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5561 Use closures instead of `(lambda...).
5562
f8f91d5d
MA
55632013-10-07 Michael Albinus <michael.albinus@gmx.de>
5564
5565 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5566 of BEG and END.
5567
da3e5ebb
SM
5568 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5569 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5570 (tramp-gvfs-handle-insert-file-contents): Remove function.
5571
da3e5ebb
SM
5572 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5573 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5574
5575 * net/trampver.el: Update release number.
5576
7ccae3b1
SM
55772013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5578
55ca2c0d
SM
5579 * progmodes/compile.el (compilation-parse-errors):
5580 Use compilation--put-prop.
5581 (compilation--ensure-parse): Check compilation-multiline.
5582
731fc3ae
SM
5583 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5584
da3e5ebb
SM
5585 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5586 lexical-binding.
a5833280 5587
2e7ba2c2
SM
5588 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5589
7ccae3b1
SM
5590 * progmodes/ruby-mode.el: Fix recently added tests.
5591 (ruby-smie-grammar): Add - and +.
5592 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5593 (ruby-smie--backward-id): New functions.
5594 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5595 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5596 any more.
5597
85698d63
LL
55982013-10-07 Leo Liu <sdl.web@gmail.com>
5599
5600 * register.el (register-preview-delay)
5601 (register-preview-functions): New variables.
5602 (register-read-with-preview, register-preview)
5603 (register-describe-oneline): New functions.
5604 (point-to-register, window-configuration-to-register)
5605 (frame-configuration-to-register, jump-to-register)
5606 (number-to-register, view-register, insert-register)
5607 (copy-to-register, append-to-register, prepend-to-register)
5608 (copy-rectangle-to-register): Use register-read-with-preview to
5609 read register. (Bug#15525)
5610
3986af6c
DS
56112013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5612
5613 * net/network-stream.el (network-stream-open-starttls): Don't add
5614 --insecure if it's already present, because that gnutls-cli
5615 rejects getting that parameter twice.
5616
5cd9cda9
DG
56172013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5618
5619 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5620 keyword, too.
5621
da9ea6d9
DG
56222013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5623
5624 * newcomment.el (comment-use-global-state): Change default value
5625 to t, mark obsolete (Bug#15251).
5626 (comment-beginning): In addition to `comment-to-syntax', check the
5627 value of `comment-use-global-state'.
5628
34d1a133
SM
56292013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5632 (ruby-comment-column): Follow the global default, by default.
5633 (ruby-smie-grammar): Add assignment syntax.
5634 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5635 open-paren, a comma, or a \.
5636 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5637 and line continuations.
5638 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5639 followed by implicit semi-colons. Add rule for string concatenation
5640 and for indentation at BOB.
5641 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5642
5643 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5644 calling next-sexp, since next-token may have skipped chars which
5645 next-sexp doesn't know should be skipped!
5646
6f6ab820
LL
56472013-10-05 Leo Liu <sdl.web@gmail.com>
5648
34d1a133
SM
5649 * progmodes/octave.el (octave-send-region):
5650 Call compilation-forget-errors.
6f6ab820 5651
34ca0f4c
XF
56522013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5653
5654 * vc/vc-svn.el (vc-svn-find-admin-dir):
5655 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5656 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5657 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5658 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5659
a27c1b72
SM
56602013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5661
5662 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5663
258ab3bc
SM
56642013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 * subr.el (read-passwd): Hide chars even when called within a context
5667 where after-change-functions is disabled (bug#15501).
5668 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5669 until we removed ourself from overriding-terminal-local-map.
5670
939fb29c
LL
56712013-10-04 Leo Liu <sdl.web@gmail.com>
5672
258ab3bc
SM
5673 * progmodes/octave.el (inferior-octave-mode):
5674 Call compilation-forget-errors.
939fb29c 5675
63bd7f35
XF
56762013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5677
5678 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5679
9e6229fa
MA
56802013-10-04 Michael Albinus <michael.albinus@gmx.de>
5681
5682 * net/secrets.el (secrets-create-collection): Add optional
5683 argument ALIAS. Use proper Label keyword. Append ALIAS as
5684 dbus-call-method argument. (Bug#15516)
5685
1dab32a3
LL
56862013-10-04 Leo Liu <sdl.web@gmail.com>
5687
5688 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5689 (inferior-octave-compilation-font-lock-keywords): New variables.
5690 (compilation-error-regexp-alist)
5691 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5692 (inferior-octave-mode): Use compilation-shell-minor-mode.
5693
6cad7ba3
JS
56942013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5695
5696 * minibuffer.el (completion--replace): Be careful that `end' might be
5697 a marker.
5698
acbadd00
DU
56992013-10-03 Daiki Ueno <ueno@gnu.org>
5700
5701 Add support for package signature checking.
5702 * emacs-lisp/package.el (url-http-file-exists-p)
5703 (epg-make-context, epg-context-set-home-directory)
5704 (epg-verify-string, epg-context-result-for)
5705 (epg-signature-status, epg-signature-to-string)
5706 (epg-check-configuration, epg-configuration)
5707 (epg-import-keys-from-file): Declare.
5708 (package-check-signature): New user option.
5709 (package-unsigned-archives): New user option.
5710 (package-desc): Add `signed' field.
5711 (package-load-descriptor): Set `signed' field if .signed file exists.
5712 (package--archive-file-exists-p): New function.
5713 (package--check-signature): New function.
5714 (package-install-from-archive): Check package signature.
5715 (package--download-one-archive): Check archive signature.
5716 (package-delete): Remove .signed file.
5717 (package-import-keyring): New command.
5718 (package-refresh-contents): Import default keyring.
5719 (package-desc-status): Add "unsigned" status.
5720 (describe-package-1, package-menu--print-info)
5721 (package-menu-mark-delete, package-menu--find-upgrades)
5722 (package-menu--status-predicate): Support "unsigned" status.
5723
adf2aa61
SM
57242013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5727 the new compilation scheme using the new byte-codes.
5728
5729 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5730 (byte-pophandler): New byte codes.
5731 (byte-goto-ops): Adjust accordingly.
5732 (byte-compile--use-old-handlers): New var.
5733 (byte-compile-catch): Use new byte codes depending on
5734 byte-compile--use-old-handlers.
5735 (byte-compile-condition-case--old): Rename from
5736 byte-compile-condition-case.
5737 (byte-compile-condition-case--new): New function.
5738 (byte-compile-condition-case): New function that dispatches depending
5739 on byte-compile--use-old-handlers.
5740 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5741 when we can.
5742
5743 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5744 Optimize under `condition-case' and `catch' if
5745 byte-compile--use-old-handlers is nil.
5746 (disassemble-offset): Handle new bytecodes.
5747
328a8179
SM
57482013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * subr.el (error): Use `declare'.
5751 (decode-char, encode-char): Use advertised-calling-convention instead
5752 of the docstring to discourage use of the `restriction' arg.
5753
15a1e936
DU
57542013-10-03 Daiki Ueno <ueno@gnu.org>
5755
5756 * epg.el (epg-verify-file): Add a comment saying that it does not
5757 notify verification error as a return value nor a signal.
5758 (epg-verify-string): Ditto.
5759
376f862a
KR
57602013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5761
5762 * progmodes/compile.el (compilation-start): Try globbing the arg to
5763 `cd' (bug#15417).
5764
a2f93a5f
MA
57652013-10-02 Michael Albinus <michael.albinus@gmx.de>
5766
5767 Sync with Tramp 2.2.8.
5768
5769 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5770 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5771 * net/trampver.el: Update release number.
5772
0daa0804
JD
57732013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5774
5775 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5776 and default-process-coding-system for darwin only.
5777
abd1ae34
SM
57782013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5781
be4e325d
MH
57822013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5783
5784 * vc/vc-git.el (vc-git-grep): Disable pager.
5785
e9155c4a
DG
57862013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5787
494e898b
DG
5788 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5789 Use :url instead of :homepage, as per
5790 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5791
e9155c4a
DG
5792 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5793 non-nil, use `syntax-ppss' (Bug#15251).
5794
481a8e0f
RS
57952013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5796
be4e325d
MH
5797 * progmodes/octave.el (inferior-octave-startup-file):
5798 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5799
056453c6
DG
58002013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5801
be4e325d
MH
5802 * emacs-lisp/package.el (package-desc-from-define):
5803 Accept additional arguments as plist, convert them to an alist and store
5804 them in the `extras' slot.
056453c6
DG
5805 (package-generate-description-file): Convert extras alist back to
5806 plist and append to the `define-package' form arguments.
5807 (package--alist-to-plist): New function.
5808 (package--ac-desc): Add `extras' slot.
5809 (package--add-to-archive-contents): Check if the archive-contents
5810 vector is long enough, and if it is, pass its `extras' slot value
5811 to `package-desc-create'.
5812 (package-buffer-info): Call `lm-homepage', pass the returned value
5813 to `package-desc-from-define'.
5814 (describe-package-1): Render the homepage button (Bug#13291).
5815
be4e325d
MH
5816 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5817 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5818
832966e5
JD
58192013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5820
5821 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5822 and default-process-coding-system to utf-8-unix (Bug#15402).
5823
6cfe977d
XF
58242013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5825
5826 * subr.el (looking-back): Do not recommend using looking-back.
5827
38de11bd
AM
58282013-09-28 Alan Mackenzie <acm@muc.de>
5829
5830 Fix indentation/fontification of Java enum with "implements".
5831
5832 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5833 regexp which matches "implements", etc., in Java.
5834 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5835 specifier clauses coming after "enum".
5836 * progmodes/cc-fonts.el (c-font-lock-declarations)
5837 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5838 after "enum".
5839
1610938f
JD
58402013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5841
5842 * faces.el (region): Change ns_selection_color to
5843 ns_selection_fg_color, add ns_selection_bg_color.
5844
e090f499
LL
58452013-09-28 Leo Liu <sdl.web@gmail.com>
5846
4d2e94d1
LL
5847 * progmodes/octave.el (inferior-octave-completion-table)
5848 (inferior-octave-completion-at-point): Minor tweaks.
5849
e090f499
LL
5850 * textmodes/ispell.el (ispell-lookup-words): Rename from
5851 lookup-words. (Bug#15460)
5852 (lookup-words): Obsolete.
5853 (ispell-complete-word, ispell-command-loop): All uses changed.
5854
7e138a62
RS
58552013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5856
a12bf61e 5857 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5858 (octave-mode-menu): Add octave-send-buffer.
5859 (octave-send-buffer): New function.
5860
5af5ed08
RS
58612013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5862
a12bf61e 5863 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5864 octave-lookfor.
5865 (octave-mode-menu): Add octave-lookfor.
5866 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5867 octave-lookfor.
5868 (octave-lookfor): New function.
5869
3b7b2692
SM
58702013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5871
35e951cd 5872 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
5873 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5874 its convention.
5875 (cl--loop-set-iterator-function): New function.
5876 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5877 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5878 Bind `it' with `let' instead of substituting it with `cl-subst'.
5879 (cl--unused-var-p): New function.
5880 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5881 Eliminate some unused variable warnings (bug#15326).
5882
529fb53f
TH
58832013-09-27 Tassilo Horn <tsdh@gnu.org>
5884
5885 * doc-view.el (doc-view-scale-reset): Rename from
5886 `doc-view-reset-zoom-level'.
5887 (doc-view-scale-adjust): New command.
5888 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5889 `doc-view-scale-adjust'.
5890
0550c95a
TH
58912013-09-26 Tassilo Horn <tsdh@gnu.org>
5892
5893 * doc-view.el (doc-view-reset-zoom-level): New command.
5894 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5895 zoom commands (bug#15466).
5896
6950f152
KH
58972013-09-26 Kenichi Handa <handa@gnu.org>
5898
5899 * international/quail.el (quail-help): Make it not a command.
5900
39587580
LL
59012013-09-26 Leo Liu <sdl.web@gmail.com>
5902
5903 * minibuffer.el (completion-all-sorted-completions): Make args
5904 optional as they are.
5905
00578659
DC
59062013-09-25 Daniel Colascione <dancol@dancol.org>
5907
5908 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5909 specs are and that they're not evaluated.
5910
0c173878
SS
59112013-09-24 Sam Steingold <sds@gnu.org>
5912
5913 * midnight.el (clean-buffer-list-kill-regexps)
5914 (clean-buffer-list-kill-buffer-names): Update for the new Man
5915 buffer naming which includes the object name.
5916
84998447
SM
59172013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5918
5919 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5920 (eshell-parse-command, eshell-parse-pipeline): Use it since
5921 eshell-separate-commands requires a dynamic scoped var.
5922 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5923
33215353
LL
59242013-09-23 Leo Liu <sdl.web@gmail.com>
5925
5926 * autoinsert.el (auto-insert-alist): Make the value of
5927 lexical-binding match its file setting.
5928
57b16162
JB
59292013-09-23 Juanma Barranquero <lekktu@gmail.com>
5930
c8af4e67
JB
5931 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5932
57b16162
JB
5933 * autoarg.el (autoarg-kp-digit-argument):
5934 * electric.el (Electric-command-loop):
5935 * kmacro.el (kmacro-step-edit-insert):
5936 Do not set universal-argument-num-events.
5937
7186ba60
LL
59382013-09-22 Leo Liu <sdl.web@gmail.com>
5939
5940 * files.el (interpreter-mode-alist): Add octave.
5941
ece15004
AM
59422013-09-21 Alan Mackenzie <acm@muc.de>
5943
5944 C++: fontify identifier in declaration following "public:" correctly.
5945 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5946 to match "public", etc.
5947 (c-decl-prefix-re): Add ":" into the C++ value.
5948 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5949 bit. Add a check for a ":" preceded by "public", etc.
5950
75d83e22
EZ
59512013-09-21 Eli Zaretskii <eliz@gnu.org>
5952
5953 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5954 recognized by GDB 7.5 and later.
5955
d052d3bd
XF
59562013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5957
5958 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5959
31dca772
R
59602013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5961
5962 * subr.el (internal--call-interactively): New const.
5963 (called-interactively-p): Use it (bug#3984).
5964
98ccf24e
XF
59652013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5966
5967 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5968 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5969 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5970
c39cc7d1
SM
59712013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5974 (eshell-ls-orig-insert-directory): Remove.
5975 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5976 (eshell-ls-use-in-dired): Use advice-add/remove.
5977 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5978 Add `orig-fun' arg for use in :around advice.
5979 Make it check (redundantly) eshell-ls-use-in-dired.
5980
9a0289a2
GM
59812013-09-19 Glenn Morris <rgm@gnu.org>
5982
a2c501b8
GM
5983 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5984
c440407a
GM
5985 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5986
9a0289a2
GM
5987 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5988
85e05915
MA
59892013-09-19 Michael Albinus <michael.albinus@gmx.de>
5990
5991 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5992 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5993 (tramp-get-remote-python): New defuns.
5994 (tramp-get-remote-uid-with-perl)
5995 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5996 contributed by yary <not.com@gmail.com> (tiny change).
5997 (tramp-get-remote-uid-with-python)
5998 (tramp-get-remote-gid-with-python): New defuns. Python code
5999 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6000 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6001
ce503312
GM
60022013-09-19 Glenn Morris <rgm@gnu.org>
6003
f7544773
GM
6004 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6005
72fd2877
GM
6006 * eshell/em-unix.el (eshell-remove-entries):
6007 Rename argument to avoid name-clash with global `top-level'.
6008
336b5a56
GM
6009 * eshell/esh-proc.el (eshell-kill-process-function):
6010 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6011 (eshell-reset-after-proc): Remove unused arg `proc'.
6012
57a3a53d
GM
6013 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6014 (directory-files-and-attributes): Mark unused arg.
6015
3261d4af
GM
6016 * eshell/em-unix.el (eshell-remove-entries):
6017 Remove unused arg `path'. Update callers.
6018
8e51b5d0
GM
6019 * eshell/em-hist.el (eshell-hist-parse-arguments):
6020 Remove unused arg `silent'. Update callers.
6021
ce503312
GM
6022 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6023 Fix (f)boundp mix-up.
6024
6025 * eshell/em-smart.el (eshell-smart-scroll-window)
6026 (eshell-disable-after-change):
336b5a56 6027 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6028
ee3ce8a7
AM
60292013-09-18 Alan Mackenzie <acm@muc.de>
6030
6031 Fix fontification of type when followed by "const".
6032 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6033 "known" types from fontification.
6034
ec9177ba
GM
60352013-09-18 Glenn Morris <rgm@gnu.org>
6036
7bb3e768
GM
6037 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6038 (chart-face-list): Drop Emacsen without display-color-p.
6039
5148da15
GM
6040 * net/eww.el (libxml-parse-html-region): Declare.
6041 (eww-display-html): Explicit error if no libxml2 support.
6042
2f68e157
GM
6043 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6044
9019d095
GM
6045 * image.el (image-type-from-buffer, image-multi-frame-p):
6046 Remove --without-x warning/error.
67645389 6047
5f30349b 6048 * mouse.el (mouse-yank-primary):
45069b2e 6049 * term.el (term-mouse-paste):
5f30349b
GM
6050 Reorder to silence --without-x compilation.
6051
cd8edbbe
GM
6052 * mpc.el (doc-view-mode): Silence --without-x compilation.
6053
8a78544e
GM
6054 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6055 Silence --without-x compilation.
6056
12679bfd
GM
6057 * progmodes/gud.el (gud-find-file, gud-mode):
6058 Silence --without-x compilation.
6059 (tooltip-mode): Declare.
30810a05 6060
f0047cb9
GM
6061 * wdired.el (dired-backup-overwrite): Remove declaration.
6062 (wdired-mode-map): Add doc string.
6063
e740f9d2
GM
6064 * custom.el (x-get-resource): Declare.
6065
92d77c89
GM
6066 * eshell/em-glob.el (ange-cache):
6067 * eshell/em-unix.el (ange-cache): Declare.
6068
76e69577
GM
6069 * faces.el (x-display-list, x-open-connection, x-get-resource):
6070 Declare.
7e58af4b
GM
6071
6072 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6073 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6074 Declare.
76e69577 6075
4bd4c0af 6076 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6077
ffb82dbd
GM
6078 * net/gnutls.el (gnutls-log-level): Declare.
6079
986ed135
GM
6080 * net/shr.el (image-size, image-animate): Declare.
6081
e740f9d2
GM
6082 * simple.el (font-info): Declare.
6083
d2f3e9f8
GM
6084 * subr.el (x-popup-dialog): Declare.
6085
047a1a4c
GM
6086 * term/common-win.el (x-select-enable-primary)
6087 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6088 Declare.
6089
f4a1d572
GM
6090 * term/ns-win.el (x-handle-args): Declare.
6091
e843de77
GM
6092 * term/x-win.el (x-select-enable-clipboard): Declare.
6093
5fa89513
GM
6094 * term/w32-win.el (create-default-fontset): Declare.
6095
38702b5b
GM
6096 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6097 Declare.
6098
e740f9d2
GM
6099 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6100 (fit-frame-to-buffer): Explicit error if --without-x.
6101 (mouse-autoselect-window-select): Silence compiler.
6102
49a053fc
GM
6103 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6104
6105 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6106 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6107 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6108 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6109 Remove unused local variables.
6110
6111 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6112
ec9177ba
GM
6113 * textmodes/two-column.el: Make 2C-split work for --without-x.
6114 (scroll-bar-columns): Autoload.
6115 (top-level): Require fringe when compiling.
6116
9f25cb77
LL
61172013-09-18 Leo Liu <sdl.web@gmail.com>
6118
6119 * subr.el (add-hook): Robustify to handle closure as well.
6120
2b42da98
GM
61212013-09-17 Glenn Morris <rgm@gnu.org>
6122
6123 * simple.el (messages-buffer-mode-map): Unbind "g".
6124
e8b66a6a
SM
61252013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6126
9c0ad4f7
SM
6127 * help-mode.el (help-mode-finish): Use derived-mode-p.
6128 Remove obsolete highlighting.
6129
7a806dfb
SM
6130 * play/life.el (life-mode): Use define-derived-mode. Derive from
6131 special-mode.
6132 (life): Let-bind inhibit-read-only.
6133 (life-setup): Avoid `setq'. Use `life-mode'.
6134
96dbf5a8
SM
6135 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6136 which should not be needed any more.
6137 (package-menu-refresh, package-menu-describe-package): Use user-error.
6138
e8b66a6a
SM
6139 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6140 (eshell-post-rewrite-command-hook): Make obsolete.
6141 (eshell-parse-command): Simplify.
6142 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6143 (eshell--cmd): Declare.
6144 (eshell-parse-pipeline): Remove unused var `final-p'.
6145 Pass a dynvar to eshell-post-rewrite-command-hook.
6146 Implement the new eshell-post-rewrite-command-function.
6147 (eshell-invoke-directly): Remove unused arg `input'.
6148 * eshell/esh-io.el (eshell-io-initialize):
6149 Use eshell-post-rewrite-command-function (bug#15399).
6150 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6151 adjust to new calling convention.
6152 (eshell-create-handles): Rename args to avoid clashing with dynvar
6153 `standard-output'.
6154
90582f05
GM
61552013-09-17 Glenn Morris <rgm@gnu.org>
6156
6157 * simple.el (messages-buffer-mode): New major mode.
6158 (messages-buffer): New function.
6159 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6160 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6161 (ert-run-test): Use `messages-buffer' function.
90582f05 6162 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6163 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6164 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6165
39eb0cb5 61662013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6167
6168 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6169
1d42e5b6 6170 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6171
70568a90
SM
61722013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6173
504a0381
SM
6174 * icomplete.el (icomplete-in-buffer): New var.
6175 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6176 vars and replace them with functions.
6177 (icomplete-minibuffer-setup): Adjust accordingly.
6178 (icomplete--completion-table, icomplete--completion-predicate)
6179 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6180 New functions.
6181 (icomplete-forward-completions, icomplete-backward-completions)
6182 (icomplete-simple-completing-p, icomplete-exhibit)
6183 (icomplete-completions): Use them.
6184 (icomplete--in-region-buffer): New var.
6185 (icomplete--in-region-setup): New function.
6186 (icomplete-mode): Use it.
6187
70568a90
SM
6188 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6189 (bug#15379).
6190 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6191 return args and options.
6192 (eshell-eval-using-options): Use the new return value of
6193 eshell--do-opts to set the options's vars in their scope.
6194 (eshell--set-option): Rename from eshell-set-option.
6195 Add arg `opt-vals'.
6196 (eshell--process-option): Rename from eshell-process-option.
6197 Add arg `opt-vals'.
6198 (eshell--process-args): Use an `opt-vals' alist to store the options's
6199 values during their processing and return them additionally to the
6200 remaining args.
6201
578c21bc
DG
62022013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6203
6204 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6205 continuation character an operator, as far as indentation is
6206 concerned (Bug#15369).
6207
c089653d
MR
62082013-09-15 Martin Rudalics <rudalics@gmx.at>
6209
6210 * window.el (window--state-put-2): Don't process buffer state
6211 when buffer doesn't exist any more (Bug#15382).
6212
1e53bb4b
GM
62132013-09-15 Glenn Morris <rgm@gnu.org>
6214
30753242
GM
6215 * eshell/em-unix.el (eshell/rm):
6216 Make -f ignore missing files. (Bug#15373)
6217
1e53bb4b
GM
6218 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6219 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6220 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6221
0d8863b3
GM
62222013-09-14 Glenn Morris <rgm@gnu.org>
6223
6224 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6225
d3fc6549
GM
62262013-09-13 Glenn Morris <rgm@gnu.org>
6227
6228 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6229 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6230
fcd42c11
DA
62312013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6232
6233 * frame.el (x-focus-frame): Mark as declared in frame.c.
6234
7830899f
SM
62352013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6236
6237 * ls-lisp.el: Use advice-add.
6238 (original-insert-directory): Remove.
6239 (ls-lisp--insert-directory): Rename from insert-directory; add
6240 `orig-fun' argument.
6241 (insert-directory): Advise.
6242
84387cd2
EZ
62432013-09-13 Eli Zaretskii <eliz@gnu.org>
6244
6245 * term.el (term-emulate-terminal): Decode the command string
6246 before passing it to term-command-hook. (Bug#15337)
6247
35ffc6ba
GM
62482013-09-13 Glenn Morris <rgm@gnu.org>
6249
5c3f9bcc
GM
6250 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6251
2ada368a
GM
6252 * eshell/esh-ext.el (eshell-search-path): Declare.
6253
fcef2e13
GM
6254 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6255 Otherwise an error occurs if eshell-dirs module not loaded.
6256
35ffc6ba
GM
6257 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6258
35c3d36e
MA
62592013-09-13 Michael Albinus <michael.albinus@gmx.de>
6260
6261 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6262 `tramp-check-proper-host'. Check for a valid method name.
6263
6264 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6265 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6266 * net/tramp-sh.el (tramp-maybe-open-connection):
6267 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6268
6269 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6270 also for hash values.
6271
ae5e4c48
SM
62722013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6273
379add74
SM
6274 * term/ns-win.el (parameters): Don't declare as dynamic.
6275 (before-make-frame-hook): Don't add ineffective function.
6276
ae5e4c48
SM
6277 * eshell/*.el: Use lexical-binding (bug#15231).
6278
b5623270
KH
62792013-09-12 Kenichi Handa <handa@gnu.org>
6280
ae5e4c48 6281 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6282
30213927
GM
62832013-09-12 Glenn Morris <rgm@gnu.org>
6284
be94d713 6285 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6286 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6287
44915370
GM
6288 * subr.el (do-after-load-evaluation): Also give compiler warnings
6289 when obsolete files are used (except by obsolete files).
6290
a6ae021f
GM
6291 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6292 in the status output, assume `filename' is the first. (Bug#15322)
6293
40e64f0c
GM
6294 * vc/vc.el (vc-deduce-fileset): Doc fix.
6295
16d9f896
GM
6296 * calc/calc-help.el (Info-goto-node):
6297 * progmodes/cperl-mode.el (Info-find-node):
6298 * vc/ediff.el (Info-goto-node): Update declarations.
6299
dea01c6e
GM
6300 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6301
759880bf 6302 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6303 (vc-bzr-pull): Require vc-dispatcher.
6304 * vc/vc-git.el (vc-compilation-mode): Declare.
6305 (vc-git-pull): Require vc-dispatcher.
6306
08d66420
GM
6307 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6308
30b626e9
GM
6309 * progmodes/octave.el (help-button-action): Declare.
6310
8c05cb10
GM
6311 * shell.el (shell-directory-tracker): Output error as a message
6312 rather than just returning it as a string.
6313 (shell-process-pushd): Remove useless use of message.
6314
30213927
GM
6315 * dframe.el (dframe-timer-fn):
6316 * files.el (dir-locals-read-from-file):
6317 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6318 (mpc-format):
6319 * reveal.el (reveal-post-command):
6320 * saveplace.el (load-save-place-alist-from-file):
6321 * shell.el (shell-resync-dirs):
6322 * w32-common-fns.el (x-get-selection-value):
6323 * emacs-lisp/copyright.el (copyright-find-copyright):
6324 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6325 * emulation/tpu-edt.el (tpu-copy-keyfile):
6326 * play/bubbles.el (bubbles--mark-neighbourhood):
6327 * progmodes/executable.el
6328 (executable-make-buffer-file-executable-if-script-p):
6329 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6330
d3b049e6
SM
63312013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6332
170266d0
SM
6333 Cleanup Eshell to rely less on dynamic scoping.
6334 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6335 last-value, and ext-command here. Bind `args' closer to `body'.
6336 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6337 (eshell--args): Declare new dynamic var.
6338 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6339 last-value, and ext-command. Pass `args' to `body'.
6340 (eshell-process-args): Bind eshell--args.
6341 (eshell-set-option): Use eshell--args.
6342 * eshell/eshell.el (eshell): Use derived-mode-p.
6343 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6344 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6345 (eshell-glob-function): Declare.
6346 * eshell/esh-util.el: Require cl-lib.
6347 (eshell-read-hosts-file): Avoid add-to-list.
6348 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6349 `err'.
6350 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6351 Declare.
6352 (eshell/diff): Remove unused var `err'.
6353 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6354 `killflag'.
6355 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6356 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6357 first use.
6358 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6359 Move declaration before first use.
6360 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6361 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6362 rely on cl-return.
6363
56834f3b
GM
63642013-09-12 Glenn Morris <rgm@gnu.org>
6365
6366 * term/ns-win.el (global-map): Remove binding for ispell-next,
6367 deleted 1999-05-29. (Bug#15357)
6368
5c91a2b8
GM
63692013-09-11 Glenn Morris <rgm@gnu.org>
6370
da712f22
GM
6371 * echistory.el (electric-command-history): Remove call to deleted func.
6372
512e4cdc
GM
6373 * play/landmark.el (landmark-mode): Fix typos.
6374
d3506ca5
GM
6375 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6376 Check cvs-sort-ignore-file is bound.
6377
5c91a2b8
GM
6378 * savehist.el: No need for cl when compiling on Emacs.
6379
feeff482
SM
63802013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6381
656bd483
SM
6382 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6383 (bug#15338).
d3b049e6
SM
6384 (eshell-self-insert-command, eshell-send-invisible):
6385 Remove unused argument.
656bd483
SM
6386 (eshell-handle-control-codes): Remove unused var `orig'.
6387 Avoid delete-backward-char.
6388
feeff482
SM
6389 * files.el (set-auto-mode): Simplify a bit further.
6390
2a08047a
GM
63912013-09-11 Glenn Morris <rgm@gnu.org>
6392
6393 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6394 (set-auto-mode): Don't regexp-quote elements.
6395 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6396 * progmodes/cc-mode.el (interpreter-mode-alist):
6397 * progmodes/ruby-mode.el (interpreter-mode-alist):
6398 Revert previous change.
6399
34675540
SM
64002013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6401
1b3b87df
SM
6402 * play/snake.el (snake-mode):
6403 * play/mpuz.el (mpuz-mode):
6404 * play/landmark.el (lm-mode):
6405 * play/blackbox.el (blackbox-mode):
6406 * play/5x5.el (5x5-mode):
6407 * obsolete/options.el (Edit-options-mode):
6408 * net/quickurl.el (quickurl-list-mode):
6409 * net/newst-treeview.el (newsticker-treeview-mode):
6410 * mail/rmailsum.el (rmail-summary-mode):
6411 * mail/mspools.el (mspools-mode):
6412 * locate.el (locate-mode):
6413 * ibuffer.el (ibuffer-mode):
6414 * emulation/ws-mode.el (wordstar-mode):
6415 * emacs-lisp/debug.el (debugger-mode):
6416 * array.el (array-mode):
6417 * net/eudc.el (eudc-mode): Use define-derived-mode.
6418 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6419 Move initialization into declaration.
6420 (mairix-searches-mode): Use define-derived-mode.
6421 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6422 (eudc-edit-hotlist): Use dolist.
6423 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6424 (Man-mode): Use define-derived-mode.
6425 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6426 (Info-edit-mode): Use define-derived-mode.
6427 (Info-cease-edit): Use Info-mode.
6428 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6429 into declaration.
6430 (eshell-mode): Use define-derived-mode.
6431 * chistory.el (command-history-mode-map): Rename from
6432 command-history-map.
6433 (command-history-mode): Use define-derived-mode.
da712f22 6434 (Command-history-setup): Remove function.
1b3b87df
SM
6435 * calc/calc.el (calc-trail-mode-map): New var.
6436 (calc-trail-mode): Use define-derived-mode.
6437 (calc-trail-buffer): Set calc-main-buffer manually.
6438 * bookmark.el (bookmark-insert-annotation): New function.
6439 (bookmark-edit-annotation): Use it.
6440 (bookmark-edit-annotation-mode): Make it a proper major mode.
6441 (bookmark-send-edited-annotation): Use derived-mode-p.
6442 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6443 closer to its ideal place. Use \' to match EOS.
6444
34675540
SM
6445 * profiler.el (profiler-calltree-find): Use function-equal.
6446
6a5c15d9
GM
64472013-09-10 Glenn Morris <rgm@gnu.org>
6448
1af4c220
GM
6449 * files.el (interpreter-mode-alist): Convert to regexps.
6450 (set-auto-mode): Adapt for this. (Bug#15306)
6451 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6452 Comment out unused variable.
6453 * progmodes/cc-mode.el (interpreter-mode-alist):
6454 * progmodes/python.el (interpreter-mode-alist):
6455 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6456 * progmodes/sh-script.el (sh-set-shell):
6457 No longer use interpreter-mode-alist to get list of shells.
6458
6a5c15d9
GM
6459 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6460
8c27f5ff
SM
64612013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6462
02ef6c1a 6463 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6464 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6465 Bind switch-frame explicitly. Replace universal-argument-minus with
6466 a conditional binding.
6467 (universal-argument-num-events, saved-overriding-map): Remove.
6468 (restore-overriding-map): Remove.
6469 (universal-argument--mode): Rename from save&set-overriding-map,
6470 and rewrite.
6471 (universal-argument, universal-argument-more, negative-argument)
6472 (digit-argument): Adjust accordingly.
6473 (universal-argument-minus): Remove.
6474 (universal-argument-other-key): Remove.
6475
8c27f5ff
SM
6476 * subr.el (with-demoted-errors): Add `format' argument.
6477
6480194c
MA
64782013-09-10 Michael Albinus <michael.albinus@gmx.de>
6479
6480 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6481 `tramp-cleanup-connection'.
6482
6483 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6484 parameters KEEP-DEBUG and KEEP-PASSWORD.
6485
6486 * net/tramp.el (tramp-file-name-handler):
6487 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6488 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6489 (tramp-maybe-open-connection):
8c27f5ff
SM
6490 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6491 Use `tramp-cleanup-connection'.
6480194c 6492
8c27f5ff
SM
6493 * net/tramp-sh.el (tramp-maybe-open-connection):
6494 Catch 'uname-changed inside the progress reporter.
6480194c 6495
e5e916d8
GM
64962013-09-10 Glenn Morris <rgm@gnu.org>
6497
9a2c9b47
GM
6498 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6499
e5e916d8
GM
6500 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6501 returns "alternate access method" in mode (eg "-rw-r--r--.").
6502
144e38fe
GM
65032013-09-08 Glenn Morris <rgm@gnu.org>
6504
6505 * saveplace.el (load-save-place-alist-from-file):
6506 Demote errors. (Bug#15305)
6507
af9ff9e8
MA
65082013-09-08 Michael Albinus <michael.albinus@gmx.de>
6509
6510 Improve compatibility with older Emacsen, and XEmacs.
6511
6512 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6513 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6514 (with-tramp-progress-reporter): Do not let-bind `result'.
6515 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6516 (tramp-handle-make-auto-save-file-name): New function, moved from
6517 tramp-sh.el.
6518
6519 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6520 for `make-auto-save-file-name'.
8c27f5ff
SM
6521 (tramp-adb--gnu-switches-to-ash):
6522 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6523
6524 * net/tramp-cache.el (tramp-cache-print): Call
6525 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6526
6527 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6528 bound. It isn't for XEmacs.
6529
8c27f5ff
SM
6530 * net/tramp-compat.el (tramp-compat-copy-file):
6531 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6532 (tramp-compat-replace-regexp-in-string): New defun.
6533
6534 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6535 for `make-auto-save-file-name'.
6536 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6537 `copy-file'.
6538 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6539 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6540 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6541
8c27f5ff
SM
6542 * net/tramp-gw.el (tramp-gw-open-network-stream):
6543 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6544
8c27f5ff
SM
6545 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6546 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6547 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6548 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6549 (tramp-sh-file-inotifywait-process-filter):
6550 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6551 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6552
6553 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6554 for `make-auto-save-file-name'.
8c27f5ff
SM
6555 (tramp-smb-handle-copy-directory):
6556 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6557 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6558 (tramp-smb-handle-copy-file): Improve error message.
6559 (tramp-smb-handle-rename-file): Rename directly only in case
6560 `newname' does not exist yet. This is a restriction of smbclient.
6561 (tramp-smb-maybe-open-connection): Rerun the function only when
6562 `auth-sources' is non-nil.
6563
0ca754d0
KH
65642013-09-08 Kenichi Handa <handa@gnu.org>
6565
e0eb0550 6566 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6567 more characters.
6568
e8dd0787
AM
65692013-09-07 Alan Mackenzie <acm@muc.de>
6570
6571 Correctly fontify Java class constructors.
6572 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6573 in Java Mode.
6574 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6575 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6576 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6577 "typeless" declaration there.
6578
f2f248e7
RW
65792013-09-07 Roland Winkler <winkler@gnu.org>
6580
6581 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6582 field subtitle for entry type book.
6583
67982e2b
SM
65842013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * minibuffer.el: Make minibuffer-complete call completion-in-region
6587 rather than other way around.
6588 (completion--some, completion-pcm--find-all-completions):
6589 Don't delay signals when debugging.
6590 (minibuffer-completion-contents): Beware fields within the
6591 minibuffer contents.
6592 (completion-all-sorted-completions): Use defvar-local.
6593 (completion--do-completion, completion--cache-all-sorted-completions)
6594 (completion-all-sorted-completions, minibuffer-force-complete):
6595 Add args `beg' and `end'.
6596 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6597 (minibuffer-complete): Use completion-in-region.
6598 (completion-complete-and-exit): New fun, extracted from
6599 minibuffer-complete-and-exit.
6600 (minibuffer-complete-and-exit): Use it.
6601 (completion--complete-and-exit): Rename from
6602 minibuffer--complete-and-exit.
6603 (completion-in-region--single-word): New function, extracted from
6604 minibuffer-complete-word.
6605 (minibuffer-complete-word): Use it.
6606 (display-completion-list): Make `common-substring' argument obsolete.
6607 (completion--in-region): Call completion--in-region-1 instead of
6608 minibuffer-complete.
6609 (completion-help-at-point): Pass boundaries to
6610 minibuffer-completion-help as args rather than via an overlay.
6611 (completion-pcm--string->pattern): Use `any-delim'.
6612 (completion-pcm--optimize-pattern): New function.
6613 (completion-pcm--pattern->regex): Handle `any-delim'.
6614 * icomplete.el (icomplete-forward-completions)
6615 (icomplete-backward-completions, icomplete-completions):
6616 Adjust calls to completion-all-sorted-completions and
6617 completion--cache-all-sorted-completions.
6618 (icomplete-with-completion-tables): Default to t.
6619 * emacs-lisp/crm.el (crm--current-element): Rename from
6620 crm--select-current-element. Don't put an overlay but return the
6621 boundaries instead.
6622 (crm--completion-command): Take two new args to bind to the boundaries.
6623 (crm-completion-help): Adjust accordingly.
6624 (crm-complete): Use completion-in-region.
6625 (crm-complete-word): Use completion-in-region--single-word.
6626 (crm-complete-and-exit): Use completion-complete-and-exit.
6627
e17d94a5
SM
66282013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6629
6630 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6631 than dynamically.
6632
96727100
JL
66332013-09-06 Juri Linkov <juri@jurta.org>
6634
6635 * info.el (Info-display-images-node): When image file doesn't exist
6636 display text version of the image if it's provided in the Info file.
6637 Otherwise, display the location of missing image from SRC attribute.
6638 Add help-echo text property from ALT attribute. (Bug#15279)
6639
86cf7329
SM
66402013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6643 (edit-abbrevs-mode): Use define-derived-mode.
6644
6645 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6646 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6647 that it's defined.
6648 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6649 Use define-derived-mode.
6650
6651 * epg.el (epg-start-encrypt): Minor CSE simplification.
6652
816244a2
WX
66532013-09-06 William Xu <william.xwl@gmail.com>
6654
6655 * arc-mode.el: Add support for 7za (bug#15264).
6656 (archive-7z-program): New var.
6657 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6658 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6659 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6660
1486fa31
MA
66612013-09-06 Michael Albinus <michael.albinus@gmx.de>
6662
6663 Remove URL syntax.
6664
6665 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6666 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6667 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6668 (tramp-postfix-host-format, tramp-file-name-regexp)
6669 (tramp-completion-file-name-regexp)
6670 (tramp-completion-dissect-file-name)
6671 (tramp-handle-substitute-in-file-name): Remove 'url case.
6672 (tramp-file-name-regexp-url)
6673 (tramp-completion-file-name-regexp-url): Remove constants.
6674
39785324
GM
66752013-09-06 Glenn Morris <rgm@gnu.org>
6676
6677 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6678
1f896cb7
DG
66792013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6680
6681 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6682 keywords" below "here-doc beginnings" (Bug#15270).
6683
c0458e0b
SM
66842013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 * subr.el (pop): Use `car-safe'.
6687 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6688 to detect unused `pop' return value.
6689
6690 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6691 var `block-regexp'.
6692 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6693 (python-fill-string): Remove unused var `marker'.
6694 (python-skeleton-add-menu-items): Remove unused var `items'.
6695
6696 * international/mule-cmds.el: Require CL.
6697 (find-coding-systems-for-charsets): Avoid add-to-list.
6698 (sanitize-coding-system-list): New function, extracted from
6699 select-safe-coding-system-interactively.
6700 (select-safe-coding-system-interactively): Use it.
6701 (read-input-method-name): Accept symbols for `default'.
6702
6703 * emacs-lisp/advice.el (defadvice): Add indent rule.
6704
6c42fc3e
DH
67052013-09-05 Daniel Hackney <dan@haxney.org>
6706
6707 * dired-x.el:
6708 * net/ange-ftp.el:
6709 * net/browse-url.el:
6710 * net/dbus.el:
6711 * net/eudc.el:
6712 * net/eudcb-ldap.el:
6713 * net/eww.el:
6714 * net/imap.el:
6715 * printing.el:
6716 * vc/ediff-diff.el:
6717 * vc/ediff-init.el:
6718 * vc/ediff-merg.el:
6719 * vc/ediff-mult.el:
6720 * vc/ediff-util.el:
6721 * vc/ediff-wind.el:
6722 * vc/ediff.el:
6723 * vc/emerge.el:
6724 * vc/pcvs.el:
6725 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6726 byte compiler. Remove some unused let-bound variables.
6727
4c528aab
SM
67282013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6731 a "ref-cell", since it gets better optimized (bug#14883).
6732
bd15c390
GM
67332013-09-05 Glenn Morris <rgm@gnu.org>
6734
6735 * progmodes/cc-awk.el (c-forward-sws): Declare.
6736
1c3ac2e5
GM
67372013-09-04 Glenn Morris <rgm@gnu.org>
6738
6739 * generic-x.el [rul-generic-mode]: Require cc-mode.
6740 (c++-mode-syntax-table): Declare.
6741 (rul-generic-mode-syntax-table): Init in the defvar.
6742
52b1cc79
SM
67432013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6744
c828af56
SM
6745 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6746 (vc-do-command, vc-set-async-update):
6747 * vc/vc-mtn.el (vc-mtn-dir-status):
6748 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6749 (vc-hg-pull, vc-hg-merge-branch):
6750 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6751 (vc-git-merge-branch):
6752 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6753 (vc-cvs-dir-status-files):
6754 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6755 (vc-bzr-dir-status-files):
6756 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6757 * vc/vc-annotate.el: Use lexical-binding.
6758 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6759 (vc-sentinel-movepoint): Declare.
6760 (vc-annotate): Don't use `goto-line'.
6761 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6762 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6763 (vc-sentinel-movepoint): Declare.
6764 * vc/vc-svn.el: Use lexical-binding.
6765 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6766 * vc/vc-sccs.el:
6767 * vc/vc-rcs.el: Use lexical-binding.
6768
abae272c
SM
6769 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6770 `deleted'. Don't drop errors silently.
6771
52b1cc79
SM
6772 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6773
63191d9f
XF
67742013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6775
6776 * vc/vc.el (vc-ignore): Rewrite.
6777 (vc-default-ignore): New function.
6778 (vc-default-ignore-completion-table): Use find-ignore-file.
6779
6780 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6781 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6782 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6783 Remove. Most code moved to vc.el.
6784
9d3f707c
SM
67852013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6786
abae272c 6787 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6788 * net/tramp-smb.el (tramp-smb-get-file-entries):
6789 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6790 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6791
fde38d49
SM
6792 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6793 Update call to it.
6794 (eww-change-select): Remove unused var `properties'.
6795 (eww-make-unique-file-name): Remove unused var `base'.
6796
6797 * finder.el (finder-compile-keywords): Don't mess with windows.
6798
84032db7
SM
6799 * calculator.el (calculator-funcall): Fix typo in last change.
6800
724f5e41
SM
6801 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6802
14b511d4
SM
6803 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6804 <pkg>-autoloads.el file stop us.
6805
9d3f707c 6806 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6807 warnings, and factor out common code.
9d3f707c 6808
88527bc0
DG
68092013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6810
6811 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6812 two-character operators and whether the character preceding them
6813 changes their meaning (Bug#15208).
6814
96edb677
FEG
68152013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6816
6817 Format code sent to Python shell for robustness.
9d3f707c
SM
6818 * progmodes/python.el (python-shell-buffer-substring):
6819 New function.
96edb677
FEG
6820 (python-shell-send-region, python-shell-send-buffer): Use it.
6821
95beaef3
MA
68222013-09-02 Michael Albinus <michael.albinus@gmx.de>
6823
6824 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6825 * net/tramp.el (tramp-user-error): ... here.
6826 (tramp-find-method, tramp-check-proper-host)
6827 (tramp-dissect-file-name, tramp-debug-message)
6828 (tramp-handle-shell-command):
6829 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6830 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6831
6832 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6833
f167c27b
MR
68342013-09-02 Martin Rudalics <rudalics@gmx.at>
6835
6836 * avoid.el (mouse-avoidance-point-position)
6837 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6838 returns nil.
6839
cd16c5f1
FEG
68402013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6841
6842 * progmodes/python.el (python-shell-completion-get-completions):
6843 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6844 (python-nav-if-name-main): New command.
cd16c5f1 6845
e73c3a0d
GM
68462013-09-01 Glenn Morris <rgm@gnu.org>
6847
f8ccce03
GM
6848 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6849 Avoid leading space in $wins. Otherwise the sed command used by
6850 eg compile-main ends up containing "/*.el". (Bug#15170)
6851
e73c3a0d
GM
6852 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6853
415f808e
GM
68542013-08-30 Glenn Morris <rgm@gnu.org>
6855
6856 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6857 Fix is-this-a-directory logic. (Bug#15220)
6858
f069bba8
SM
68592013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6860
112798c1
SM
6861 * textmodes/css-mode.el: Use SMIE.
6862 (css-smie-grammar): New var.
6863 (css-smie--forward-token, css-smie--backward-token)
6864 (css-smie-rules): New functions.
6865 (css-mode): Use them.
6866 (css-navigation-syntax-table): Remove var.
6867 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6868 (css-indent-calculate, css-indent-line): Remove functions.
6869
6870 Misc changes to reduce use of `(lambda...); and other cleanups.
6871 * cus-edit.el: Use lexical-binding.
6872 (customize-push-and-save, customize-apropos)
6873 (custom-buffer-create-internal): Use closures.
6874 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6875 * progmodes/ada-xref.el: Use setq.
6876 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6877 * dframe.el: Use lexical-binding.
6878 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6879 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6880 * descr-text.el: Use lexical-binding.
6881 (describe-text-widget, describe-text-sexp, describe-property-list):
6882 Use closures.
6883 * comint.el (comint-history-isearch-push-state): Use a closure.
6884 * calculator.el: Use lexical-binding.
6885 (calculator-number-to-string): Make it work with lexical-binding.
6886 (calculator-funcall): Same and use cl-letf.
6887
2da4c3ab
SM
6888 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6889 (lisp--company-doc-string, lisp--company-location): New functions.
6890 (lisp-completion-at-point): Use them to improve Company support.
6891
f069bba8
SM
6892 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6893 params of lambda expressions.
6894 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6895 (ruby-smie--opening-pipe-p): New function.
6896 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6897 symbols and matched |...| for formal params.
6898 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6899 from being treated as hanging. Handle "rescue".
6900
6758b6a8
GM
69012013-08-29 Glenn Morris <rgm@gnu.org>
6902
6903 * progmodes/cc-engine.el (c-pull-open-brace):
6904 Move definition before use.
6905
e8dfd197
SM
69062013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6907
6908 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6909 are immutable. Don't use `unsafe' any more.
6910 (cl--defsubst-expand): Don't substitute at the same time as keeping
6911 a residual unused let-binding. Don't use `unsafe' any more.
6912
cc585c96
GM
69132013-08-29 Glenn Morris <rgm@gnu.org>
6914
ba579ea6
GM
6915 * calendar/cal-china.el (calendar-chinese-year-cache):
6916 Recenter on 2015.
6917
8201a87e
GM
6918 * nxml/nxml-util.el (nxml-debug-clear-inside):
6919 Use cl-loop rather than loop.
6920
6ee877c7
GM
6921 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6922
cc585c96
GM
6923 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6924
27be8d39
GM
69252013-08-28 Glenn Morris <rgm@gnu.org>
6926
397440a1
GM
6927 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6928
2bb762d4
GM
6929 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6930
27be8d39
GM
6931 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6932
2d69b99e
SM
69332013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6934
f663baa7
SM
6935 * simple.el (repeat-complex-command--called-interactively-skip):
6936 New function.
6937 (repeat-complex-command): Use it (bug#14136).
6938
dd4f8b74
SM
6939 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6940 (c-define-abbrev-table): Add `doc' argument.
6941 (c-mode-abbrev-table, c++-mode-abbrev-table)
6942 (objc-mode-abbrev-table, java-mode-abbrev-table)
6943 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6944 (awk-mode-abbrev-table): Use it.
6945 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6946 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6947 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6948 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6949 Move initialization into the declaration; and remove any
6950 autoload cookie.
6951
b58969f7
SM
6952 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6953 and dynamic let binding.
6954
4021d6a6
SM
6955 * vc/smerge-mode.el: Remove redundant :group args.
6956
2d69b99e
SM
6957 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6958 to load-path.
6959
274919fd
JL
69602013-08-28 Juri Linkov <juri@jurta.org>
6961
6962 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6963 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6964 (isearch-other-meta-char): Handle an undefined shifted printing
6965 character by downshifting it. (Bug#15200)
6966
121f8c95
JL
69672013-08-28 Juri Linkov <juri@jurta.org>
6968
6969 * isearch.el (isearch-search): Change regexp error message for
6970 non-regexp searches. (Bug#15166)
6971
50b13cde
PE
69722013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6973
6974 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6975 for portability to hosts where /bin/sh has problems.
6976
95888bca
SM
69772013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6978
6979 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6980
bbe558f1
JL
69812013-08-27 Juri Linkov <juri@jurta.org>
6982
6983 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6984 in the keyboard macro. (Bug#15126)
6985
26f98a7d
JL
69862013-08-27 Juri Linkov <juri@jurta.org>
6987
6988 * isearch.el (isearch-quote-char): Comment out converting unibyte
6989 to multibyte, thus syncing with its `quoted-insert' counterpart.
6990 (Bug#15166)
6991
7c97d35e
MR
69922013-08-27 Martin Rudalics <rudalics@gmx.at>
6993
6994 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6995 argument in call of get-largest-window (Bug#15185).
6996 Reported by Stephen Leake.
7c97d35e 6997
a0b5606e 69982013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6999
7000 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7001
9e89d835
SM
70022013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7003
7004 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7005 from a matcher-function unless there's no more matches (bug#15161).
7006
78fc2530
MA
70072013-08-26 Michael Albinus <michael.albinus@gmx.de>
7008
7009 * minibuffer.el: Revert change from 2013-08-20.
7010
7011 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7012 with text property `tramp-default', if appropriate.
7013 (tramp-check-proper-host): New defun.
7014 (tramp-dissect-file-name): Do not check hostname. Revert change
7015 of 2013-03-18.
7016 (tramp-backtrace): Make VEC-OR-PROC optional.
7017
7018 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7019 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7020 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7021 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7022 Apply `tramp-check-proper-host'.
78fc2530 7023
edca97cd
TH
70242013-08-26 Tassilo Horn <tsdh@gnu.org>
7025
7026 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7027 lambda expression in order to have `describe-variable' display it.
7028
df54bcbd
MA
70292013-08-26 Michael Albinus <michael.albinus@gmx.de>
7030
7031 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7032 BUF can be optional. (Bug#15186)
7033
eed99101
XF
70342013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7035
7036 * progmodes/flymake.el (flymake-get-real-file-name-function):
7037 Fix broken customization. (Bug#15184)
7038
b5eb9035
AM
70392013-08-25 Alan Mackenzie <acm@muc.de>
7040
8a51e842
AM
7041 Improve indentation of bracelists defined by macros (without "=").
7042
7043 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7044 expansion begins with "{", regard it as bracelist when it doesn't
7045 contain a ";".
7046
869455d4
AM
7047 Parse C++ inher-intro when there's a template split over 2 lines.
7048
7049 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7050 rigorously the search for "class" etc. followed by ":".
7051
7052 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7053 random languages a regexp which never matches rather than nil.
7054
b5eb9035
AM
7055 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7056
7057 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7058 (c-awk-regexp-one-line-possibly-open-char-list-re)
7059 (c-awk-one-line-possibly-open-regexp-re)
7060 (c-awk-one-line-non-syn-ws*-re): Remove.
7061 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7062 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7063 (c-awk-space*-unclosed-regexp-/-re): New constants.
7064 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7065 aren't regexp delimiters.
7066
7067 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7068 handling for a rare situation in AWK Mode involving unterminated
7069 strings/regexps.
7070
61611d54
GM
70712013-08-23 Glenn Morris <rgm@gnu.org>
7072
2d85dc34
GM
7073 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7074
cb8d2612
GM
7075 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7076
bb35f42f
GM
7077 * files.el (create-file-buffer): If the result would begin with
7078 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7079
b9808e77
SM
70802013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7081
e3a66363
SM
7082 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7083 text-properties (bug#15155).
7084
b9808e77
SM
7085 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7086 exist any more.
7087 (calc-keypad-redraw): Remove unused var `pad'.
7088 (calc-keypad-press): Remove unused var `menu'.
7089
7fd5f65e
MR
70902013-08-23 Martin Rudalics <rudalics@gmx.at>
7091
b9808e77
SM
7092 * window.el (display-buffer-pop-up-frame):
7093 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7094 use it as the new frame's buffer (Bug#15133).
7095
8352b530
SM
70962013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * calendar/timeclock.el: Minor cleanups.
7099 (timeclock-ask-before-exiting, timeclock-use-display-time):
7100 Use `symbol'.
7101 (timeclock-modeline-display): Define as alias before the
7102 actual definition.
7103 (timeclock-mode-line-display): Use define-minor-mode.
7104 (timeclock-day-list-template): Make it a function, add an argument.
7105 (timeclock-day-list-required, timeclock-day-list-length)
7106 (timeclock-day-list-debt, timeclock-day-list-span)
7107 (timeclock-day-list-break): Adjust calls accordingly.
7108
9f7b1925
SM
71092013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7112 Use read--expression so that completion works again.
7113
6e50e983
SS
71142013-08-21 Sam Steingold <sds@gnu.org>
7115
7116 Add rudimentary inferior shell interaction
7117 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7118 (sh-set-shell): Reset it.
9f7b1925
SM
7119 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7120 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7121
dbb0d350
SM
71222013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * align.el: Use lexical-binding.
7125 (align-region): Simplify accordingly.
7126
c88586a9
MA
71272013-08-20 Michael Albinus <michael.albinus@gmx.de>
7128
7129 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7130
7131 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7132 `non-essential' up.
7133
f95527c8
MA
71342013-08-17 Michael Albinus <michael.albinus@gmx.de>
7135
7136 * net/tramp.el:
7137 * net/tramp-adb.el:
7138 * net/tramp-cmds.el:
7139 * net/tramp-ftp.el:
7140 * net/tramp-gvfs.el:
7141 * net/tramp-gw.el:
7142 * net/tramp-sh.el: Don't wrap external variable declarations by
7143 `eval-when-compile'.
7144
4b5fe4ee
LMI
71452013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7146
7147 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7148 now that Emacs supports ImageMagick animations.
7149
13c366c9
MA
71502013-08-16 Michael Albinus <michael.albinus@gmx.de>
7151
7152 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7153 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7154
3dfc5cd6
MR
71552013-08-16 Martin Rudalics <rudalics@gmx.at>
7156
7157 * window.el (mouse-autoselect-window-select): Do autoselect when
7158 mouse pointer is on margin.
7159
4bbb4381
WP
71602013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7161
7162 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7163
3a2ddc2d
GM
71642013-08-16 Glenn Morris <rgm@gnu.org>
7165
e8bedf5a
GM
7166 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7167 Handle "Remote Directory" response of some clients. (Bug#15058)
7168
58c4682f
GM
7169 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7170 Tweak warning. (Bug#14926)
7171
57953f49
GM
7172 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7173 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7174
3a2ddc2d
GM
7175 * image-mode.el (image-mode-map): Add menu items to reverse,
7176 increase, decrease, reset animation speed.
7177 (image--set-speed, image-increase-speed, image-decrease-speed)
7178 (image-reverse-speed, image-reset-speed): New functions.
7179 (image-mode-map): Add bindings for speed commands.
7180
7181 * image.el (image-animate-get-speed, image-animate-set-speed):
7182 New functions.
7183 (image-animate-timeout): Respect image :speed property.
7184
10fa0ed3
SM
71852013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7188 previous line (bug#15101).
7189 (debugger-eval-expression, debugger-record-expression):
7190 Use read--expression (bug#15102).
7191
5d89d9d2
MA
71922013-08-15 Michael Albinus <michael.albinus@gmx.de>
7193
7194 Remove byte compiler warnings, visible when compiling with
7195 `byte-compile-force-lexical-warnings' set to t.
7196
7197 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7198 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7199 (tramp-handle-unhandled-file-name-directory)
7200 (tramp-handle-file-notify-add-watch, tramp-action-login)
7201 (tramp-action-succeed, tramp-action-permission-denied)
7202 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7203 arguments with "_".
7204
7205 * net/tramp-adb.el (tramp-adb-parse-device-names)
7206 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7207 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7208 (tramp-adb-handle-file-truename): Remove unused arguments.
7209
7210 * net/tramp-cache.el (tramp-flush-directory-property)
7211 (tramp-flush-connection-property, tramp-list-connections)
7212 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7213
10fa0ed3
SM
7214 * net/tramp-compat.el (tramp-compat-make-temp-file):
7215 Rename FILENAME to F.
5d89d9d2
MA
7216
7217 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7218 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7219 (tramp-zeroconf-parse-workstation-device-names)
7220 (tramp-zeroconf-parse-webdav-device-names)
7221 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7222
7223 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7224 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7225
7226 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7227 arguments.
7228 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7229 (tramp-sh-handle-insert-file-contents-literally)
7230 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7231 with "_".
7232 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7233 Remove unused variables.
7234
7235 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7236 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7237 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7238
7239 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7240 Make them a defconst.
7241 (tramp-uuencode-region): Remove unused variable.
7242
62f33bae
JB
72432013-08-14 Juanma Barranquero <lekktu@gmail.com>
7244
7245 * frameset.el (frameset--prop-setter): New function.
7246 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7247 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7248 parameter was already set in FILTERED. Doc fix.
7249 (frameset--record-minibuffer-relationships): Allow saving a
7250 minibufferless frame without its corresponding minibuffer frame.
7251 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7252 frame, if the frame id matches.
7253 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7254 frames before orphaned ones.
7255 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7256
c660a885
MR
72572013-08-14 Martin Rudalics <rudalics@gmx.at>
7258
7259 * window.el (window-make-atom): Don't overwrite parameter
7260 already present.
7261 (display-buffer-in-atom-window): Handle special case where we
7262 split an already atomic window.
7263 (window--major-non-side-window, display-buffer-in-side-window)
7264 (window--side-check): Ignore minibuffer window when walking
7265 window tree.
7266 (window-deletable-p): Return 'frame only if no other frame uses
7267 our minibuffer window.
7268 (record-window-buffer): Run buffer-list-update-hook.
7269 (split-window): Make sure window--check-frame won't destroy an
7270 existing atomic window in case the new window gets nested
7271 inside.
7272 (display-buffer-at-bottom): Ignore minibuffer window when
7273 walking window tree. Don't split a side window.
7274 (pop-to-buffer): Don't set-buffer here, the select-window call
7275 should do that.
7276 (mouse-autoselect-window-select): Autoselect only if we are in the
7277 text portion of the window.
7278
8259030d
LMI
72792013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7280
21c58ae2
LMI
7281 * net/shr.el (shr-parse-image-data): New function to grab both the
7282 data itself and the Content-Type.
7283 (shr-put-image): Use it.
7284
7285 * net/eww.el (eww-display-image): Ditto.
7286
8259030d
LMI
7287 * image.el (image-content-type-suffixes): New variable.
7288
ad756449
FEG
72892013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7290
7291 * progmodes/python.el (python-imenu--build-tree)
7292 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7293
f73f4ce6
XF
72942013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7295
7296 * simple.el (backward-word): Mention the optional argument.
7297
1f585e65
SM
72982013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * frameset.el (frameset--make): Rename constructor from make-frameset.
7301 (frameset-p, frameset-valid-p): Don't autoload.
7302 (frameset-valid-p): Use normal accessors.
7303
af1c6c84
GM
73042013-08-13 Glenn Morris <rgm@gnu.org>
7305
55e47f95
GM
7306 * progmodes/compile.el (compile-command): Tweak example in doc.
7307 * obsolete/scribe.el (scribe-mode):
7308 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7309
f0024d8c
GM
7310 * mail/feedmail.el (feedmail-confirm-outgoing)
7311 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7312
7313 * cus-start.el (truncate-partial-width-windows): Fix type.
7314
7315 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7316
af1c6c84
GM
7317 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7318
5514cc4c
SM
73192013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * emacs-lisp/timer.el (timer--time-setter): New function.
7322 (timer--time): Use it as gv-setter.
7323
7324 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7325 setter is not a symbol.
7326
7997a2f1
GJ
73272013-08-12 Grégoire Jadi <daimrod@gmail.com>
7328
7329 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7330 if sending fails. This makes debugging easier.
7331
01f1a9ab
JB
73322013-08-12 Juanma Barranquero <lekktu@gmail.com>
7333
7334 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7335 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7336 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7337
594a4307
EZ
73382013-08-12 Eli Zaretskii <eliz@gnu.org>
7339
7340 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7341
7a22490f 73422013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7343
7344 * format.el (format-annotate-function):
7345 Handle read-only text properties in the source. (Bug#14887)
7346
3e41a054
LMI
73472013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7348
5514cc4c
SM
7349 * net/eww.el (eww-display-html): Ignore coding system errors.
7350 One web site uses "utf-8lias" as the coding system.
3e41a054 7351
7ec326db
JB
73522013-08-11 Juanma Barranquero <lekktu@gmail.com>
7353
7354 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7355
5660113b
JB
73562013-08-10 Juanma Barranquero <lekktu@gmail.com>
7357
9a4ebc74
JB
7358 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7359 (tutorial--detailed-help): Remove unused local variables.
7360 (tutorial--save-tutorial-to): Use ignore-errors.
7361 (help-with-tutorial): Use looking-at-p.
7362
7363 * view.el (view-buffer-other-window, view-buffer-other-frame):
7364 Mark unused arguments.
7365
7366 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7367 (woman-select-symbol-fonts, woman, woman-find-file)
7368 (woman-insert-file-contents, woman-non-underline-faces):
7369 Use string-match-p.
7370 (woman1-unquote): Move declaration.
7371
7372 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7373 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7374 argument. Remove unused local variable.
7375 (xml-parse-elem-type): Use string-match-p.
7376 (xml-substitute-numeric-entities): Use ignore-errors.
7377
45fdb482
JB
7378 * calculator.el (calculator): Mark unused argument.
7379 (calculator-paste, calculator-quit, calculator-integer-p):
7380 Use ignore-errors.
7381 (calculator-string-to-number, calculator-decimal, calculator-exp)
7382 (calculator-op-or-exp): Use string-match-p.
7383
7384 * dired.el (dired-buffer-more-recently-used-p): Declare.
7385 (dired-insert-set-properties, dired-insert-old-subdirs):
7386 Use ignore-errors.
7387
7388 * dired-aux.el (dired-compress): Use ignore-errors.
7389 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7390 (dired-do-async-shell-command, dired-do-shell-command)
7391 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7392 (dired-insert-subdir-validate): Use string-match-p.
7393 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7394 (dired-add-entry): Use string-match-p, looking-at-p.
7395 (dired-insert-subdir-newpos): Remove unused local variable.
7396
7397 * filenotify.el (file-notify-callback): Remove unused local variable.
7398
7399 * filesets.el (filesets-error): Mark unused argument.
7400 (filesets-which-command-p, filesets-filter-dir-names)
7401 (filesets-directory-files, filesets-get-external-viewer)
7402 (filesets-ingroup-get-data): Use string-match-p.
7403
7404 * find-file.el (ff-other-file-name, ff-other-file-name)
7405 (ff-find-the-other-file, ff-cc-hh-converter):
7406 Remove unused local variables.
7407 (ff-get-file-name): Use string-match-p.
7408 (ff-all-dirs-under): Use ignore-errors.
7409
7410 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7411 (follow-select-if-visible): Remove unused local variable.
7412
7413 * forms.el (read-file-filter): Move declaration.
7414 (forms--make-format, forms--make-parser, forms-insert-record):
7415 Quote function with #'.
7416 (forms--update): Use string-match-p. Quote function with #'.
7417
7418 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7419 (help-make-xrefs): Use looking-at-p.
7420 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7421
7422 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7423 (ibuffer-confirm-operation-on): Use string-match-p.
7424
7425 * msb.el (msb-item-handler, msb-dired-item-handler):
7426 Mark unused arguments.
7427
7428 * ses.el (ses-decode-cell-symbol)
7429 (ses-kill-override): Remove unused local variable.
7430 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7431 (ses-load): Use ignore-errors, looking-at-p.
7432 (ses-jump-safe): Use ignore-errors.
7433 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7434
7435 * tabify.el (untabify, tabify): Mark unused arguments.
7436
7437 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7438 Mark unused argument.
7439 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7440 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7441
c880af52
JB
7442 * emacs-lisp/timer.el (timer--time): Define setter with
7443 gv-define-setter to avoid deprecation warning.
7444
5660113b 7445 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7446 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7447 (cmpl-statistics-block): Remove (body was commented out).
7448 All callers changed.
7449 (add-completions-from-buffer, load-completions-from-file):
7450 Remove unused variables.
7451
156aab80
JB
74522013-08-09 Juanma Barranquero <lekktu@gmail.com>
7453
5c5dee78
JB
7454 * filecache.el (file-cache-delete-file-list):
7455 Print message only when told so.
7456 (file-cache-files-matching): Use #' in mapconcat argument.
7457
156aab80
JB
7458 * ffap.el (ffap-url-at-point): Fix reference to variable
7459 thing-at-point-default-mail-uri-scheme.
7460
ad9dcd70
SM
74612013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7462
54bd972f
SM
7463 * subr.el (define-error): New function.
7464 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7465 error-file-not-found and define with define-error.
7466 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7467 and define with define-error.
7468 * userlock.el (file-locked, file-supersession):
7469 * simple.el (mark-inactive):
7470 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7471 * progmodes/ada-mode.el (ada-mode-errors):
7472 * play/life.el (life-extinct):
7473 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7474 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7475 * nxml/rng-util.el (rng-error):
7476 * nxml/rng-uri.el (rng-uri-error):
7477 * nxml/rng-match.el (rng-compile-error):
7478 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7479 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7480 * nxml/nxml-rap.el (nxml-scan-error):
7481 * nxml/nxml-outln.el (nxml-outline-error):
7482 * net/soap-client.el (soap-error):
7483 * net/gnutls.el (gnutls-error):
7484 * net/ange-ftp.el (ftp-error):
7485 * mpc.el (mpc-proc-error):
7486 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7487 (json-number-format, json-string-escape, json-string-format)
7488 (json-key-format, json-object-format):
7489 * jka-compr.el (compression-error):
7490 * international/quail.el (quail-error):
7491 * international/kkc.el (kkc-error):
7492 * emacs-lisp/ert.el (ert-test-failed):
7493 * calc/calc.el (calc-error, inexact-result, math-overflow)
7494 (math-underflow):
7495 * bookmark.el (bookmark-error-no-filename):
7496 * epg.el (epg-error): Define with define-error.
7497
0ea9e53a
SM
7498 * time.el (display-time-event-handler)
7499 (display-time-next-load-average): Don't call sit-for since it seems
7500 unnecessary (bug#15045).
7501
b0429158
SM
7502 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7503 Use #' instead of ' to quote functions.
7504 (checkdoc-output-mode): Use setq-local.
7505 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7506 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7507 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7508 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7509 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7510 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7511 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7512 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7513
ad9dcd70
SM
7514 * ido.el (ido-completion-help): Fix up compiler warning.
7515
77187e6f
JB
75162013-08-09 Juanma Barranquero <lekktu@gmail.com>
7517
7518 * frameset.el (frameset-p): Add autoload cookie.
7519 (frameset--jump-to-register): New function, based on code moved from
7520 register.el.
7521 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7522
7523 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7524 (frameset-restore, frameset-save, frameset-session-filter-alist):
7525 Remove declarations.
7526 (register-alist): Doc fix.
7527 (frameset-to-register): Move to frameset.el.
7528 (jump-to-register, describe-register-1): Remove frameset-specific code.
7529
9d3aa82c
JB
75302013-08-08 Juanma Barranquero <lekktu@gmail.com>
7531
7532 * allout-widgets.el (allout-widgets-pre-command-business)
7533 (allout-widgets-post-command-business)
7534 (allout-widgets-after-change-handler)
7535 (allout-decorate-item-and-context, allout-set-boundary-marker)
7536 (allout-body-modification-handler)
7537 (allout-graphics-modification-handler): Mark ignored arguments.
7538 (allout-widgets-post-command-business)
7539 (allout-widgets-exposure-change-processor)
7540 (allout-widgets-exposure-undo-processor)
7541 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7542 (allout-parse-item-at-point, allout-decorate-item-guides)
7543 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7544 * allout.el (epa-passphrase-callback-function): Declare.
7545 (allout-overlay-insert-in-front-handler)
7546 (allout-overlay-interior-modification-handler)
7547 (allout-isearch-end-handler, allout-chart-siblings)
7548 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7549 (allout-yank-processing, allout-process-exposed)
7550 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7551 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7552 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7553 (lisp-indent-defform): Mark ignored arguments.
7554 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7555 (calculate-lisp-indent): Remove unused variables.
7556 * international/characters.el (indian-2-column, arabic-2-column)
7557 (tibetan): Mark ignored arguments.
7558 (use-cjk-char-width-table): Mark ignored arguments.
7559 Remove unused variables.
7560 * international/fontset.el (build-default-fontset-data)
7561 (x-compose-font-name, create-fontset-from-fontset-spec):
7562 Mark ignored arguments.
7563 (fontset-plain-name): Remove unused variables.
7564 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7565 (keyboard-coding-system): Mark ignored arguments.
7566 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7567 * help.el (resize-temp-buffer-window):
7568 * window.el (display-buffer-in-major-side-window)
7569 (display-buffer-in-side-window, display-buffer-in-previous-window):
7570 Remove unused variables.
7571 * isearch.el (isearch-forward-symbol):
7572 * version.el (emacs-bzr-version-bzr):
7573 * international/mule-cmds.el (current-language-environment):
7574 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7575 (x-handle-display):
7576 * term/pc-win.el (x-list-fonts, x-display-planes)
7577 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7578 (x-server-version, x-display-screens, x-display-mm-height)
7579 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7580 (x-selection-owner-p, x-own-selection-internal)
7581 (x-disown-selection-internal, x-get-selection-internal)
7582 (msdos-initialize-window-system):
7583 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7584 * term/x-win.el (x-handle-no-bitmap-icon):
7585 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7586 (vc-default-find-file-hook, vc-default-extra-menu):
7587 Mark ignored arguments.
7588
0ca3f70e
SM
75892013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7590
7591 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7592 break-condition in the context of the debugged code (bug#12685).
7593
74c5d24c
CS
75942013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7595
7596 * comint.el:
7597 Do not use an overlay to highlight the last prompt. (Bug#14744)
7598 (comint-mode): Make comint-last-prompt buffer local.
7599 (comint-last-prompt): New variable.
7600 (comint-last-prompt-overlay): Remove. Superseded by
7601 comint-last-prompt.
0ca3f70e
SM
7602 (comint-snapshot-last-prompt, comint-output-filter):
7603 Use comint-last-prompt.
74c5d24c 7604
c03c02ee
JB
76052013-08-08 Juanma Barranquero <lekktu@gmail.com>
7606
a3738d20 7607 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7608 (frameset-save): Check validity of the resulting frameset.
7609
04263d23
XF
76102013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7611
7612 * ido.el (ido-record-command): Add doc string.
7613
76c5e5ab
JB
76142013-08-08 Juanma Barranquero <lekktu@gmail.com>
7615
7616 * frameset.el (frameset): Do not disable creation of the default
7617 frameset-p predicate. Doc fix.
7618 (frameset-valid-p): New function, copied from the old predicate-p.
7619 Add additional checks.
7620 (frameset-restore): Check with frameset-valid-p.
7621 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7622 (frameset-name, frameset-description, frameset-properties)
7623 (frameset-states): Add docstring.
f9dbf1cb
JB
7624 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7625 (frameset-filter-alist): Doc fixes.
76c5e5ab 7626
bd0c3c0b
JB
76272013-08-08 Juanma Barranquero <lekktu@gmail.com>
7628
7629 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7630
c735544c
SM
76312013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7632
7633 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7634 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7635 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7636 (byte-compile-normal-call): Remove obsolescence check.
7637
2805a651
JB
76382013-08-08 Juanma Barranquero <lekktu@gmail.com>
7639
3677ffeb
JB
7640 * frameset.el (frameset-restore): Doc fix.
7641
2805a651
JB
7642 * register.el (frameset-frame-id, frameset-frame-with-id)
7643 (frameset-p, frameset-restore, frameset-save): Declare.
7644 (register-alist): Document framesets.
7645 (frameset-session-filter-alist): Declare.
7646 (frameset-to-register): New function.
7647 (jump-to-register): Implement jumping to framesets. Doc fix.
7648 (describe-register-1): Describe framesets.
7649
7650 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7651
a912c016
JB
76522013-08-07 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7655 Use lexical-binding.
7656
7657 * frameset.el (frameset): Use type vector, not list (incompatible
7658 change). Do not declare a new constructor, use the default one.
7659 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7660 `name' and `description', respectively, and add read-only slot
7661 `timestamp'. Doc fixes.
7662 (frameset-copy, frameset-persistent-filter-alist)
7663 (frameset-filter-alist, frameset-switch-to-gui-p)
7664 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7665 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7666 (frameset-filter-iconified, frameset-keep-original-display-p):
7667 Doc fixes.
7668 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7669 Rename from frameset-filter-(save|restore)-param. All callers changed.
7670 Doc fix.
7671 (frameset-p): Adapt to change to vector and be more thorough.
7672 Change arg name to OBJECT. Doc fix.
7673 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7674 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7675 All callers changed.
7676 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7677 All callers changed.
7678 (frameset--record-minibuffer-relationships): Rename from
7679 frameset--process-minibuffer-frames. All callers changed.
7680 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7681 Use new default constructor (again). Doc fix.
c295fc18 7682 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7683 All callers changed.
7684 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7685 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7686 Doc fix.
7687 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7688 PARAMETERS and WINDOW-STATE, respectively.
7689 (frameset-restore): Add new keyword argument PREDICATE.
7690 Reset frameset--target-display to nil. Doc fix.
7691
bb41480a
SM
76922013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7693
f001e98e
SM
7694 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7695 (bat-mode): Use it.
7696 (bat-mode-syntax-table): Mark \n as end-of-comment.
7697 (bat-font-lock-keywords): Remove comment rule.
7698
7679edb1
SM
7699 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7700 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7701
bb41480a
SM
7702 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7703 (byte-compile-callargs-warn): Use `push'.
7704 (byte-compile-arglist-warn): Ignore higher-order "calls".
7705 (byte-compile-file-form-autoload): Use `pcase'.
7706 (byte-compile-function-form): If quoting a symbol, check that it exists.
7707
cdc1ebb9
EZ
77082013-08-07 Eli Zaretskii <eliz@gnu.org>
7709
7710 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7711 and add a few popular commands found in batch files.
7712 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7713 (dos-mode): Doc fixes.
7714
312b1740
SM
77152013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7716
7717 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7718 (dos-mode): Use setq-local. Add space after "rem".
7719 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7720 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7721
400a3178
AM
77222013-08-07 Arni Magnusson <arnima@hafro.is>
7723
7724 * progmodes/dos.el: New file.
7725 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7726 dos-mode.
7727
3b5c03d3
GM
77282013-08-06 Glenn Morris <rgm@gnu.org>
7729
7730 * calendar/calendar.el: Add new faces, and day-header-array.
7731 (calendar-weekday-header, calendar-weekend-header)
7732 (calendar-month-header): New faces.
7733 (calendar-day-header-construct): New function.
7734 (calendar-day-header-width): Also :set calendar-day-header-array.
7735 (calendar-american-month-header, calendar-european-month-header)
7736 (calendar-iso-month-header): Use calendar- faces.
7737 (calendar-generate-month):
7738 Use calendar-day-header-array for day headers; apply faces to them.
7739 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7740 (calendar-abbrev-construct): Add optional maxlen argument.
7741 (calendar-day-name-array): Doc fix.
7742 (calendar-day-name-array, calendar-abbrev-length)
7743 (calendar-day-abbrev-array):
7744 Also :set calendar-day-header-array, and maybe redraw.
7745 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 7746 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
7747 (calendar-day-name): Add option to use header array.
7748
ec6a2d7a
LMI
77492013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7750
7751 * net/shr.el (shr-render-td): Remove debugging.
7752 (shr-render-td): Make width computation consistent by defaulting
7753 all zero-width columns to 10 characters. This may not be optimal,
7754 but it's at least consistent.
2122cb6d
LMI
7755 (shr-make-table-1): Redo last change to fix the real problem in
7756 colspan handling.
ec6a2d7a 7757
ed4fd9c5
DA
77582013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7759
0ca3f70e
SM
7760 * files.el (cache-long-line-scans):
7761 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 7762
64e22afe
JB
77632013-08-06 Juanma Barranquero <lekktu@gmail.com>
7764
024b38fc
JB
7765 * frameset.el (frameset, frameset-filter-alist)
7766 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7767 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7768 (frameset-compute-pos): Rename from frameset--compute-pos,
7769 and add docstring.
7770 (frameset-move-onscreen): Use frameset-compute-pos.
7771 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7772
64e22afe
JB
7773 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7774 Fix typos in docstrings.
7775
c8c2aca8
DA
77762013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7777
7778 * frame.el (get-other-frame): Tiny cleanup.
7779
1d237bba
JB
77802013-08-06 Juanma Barranquero <lekktu@gmail.com>
7781
8951efef
JB
7782 * vc/vc.el (vc-default-ignore-completion-table):
7783 Silence byte-compiler warning.
7784
307764cc 7785 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7786 slot, which can indeed be nil.
307764cc
JB
7787 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7788 Move entry for `left' from persistent to live filter alist.
7789 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7790 Doc fixes.
7791 (frameset-filter-params): When restoring a frame, copy items added to
7792 `filtered', to avoid unwittingly modifying the original parameters.
7793 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7794 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7795
1d237bba
JB
7796 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7797 to use looking-at-p instead of looking-at. (Bug#15028)
7798
dc6c0eda
SM
77992013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 Revert introduction of isearch-filter-predicates (bug#14714).
7802 Rely on add-function instead.
7803 * isearch.el (isearch-filter-predicates): Rename it back to
7804 isearch-filter-predicate.
7805 (isearch-message-prefix): Use advice-function-mapc and advice
7806 properties to get the isearch-message-prefix.
7807 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7808 instead of run-hook-with-args-until-failure.
7809 (isearch-filter-visible): Not obsolete any more.
7810 * loadup.el: Preload nadvice.
7811 * replace.el (perform-replace): Revert to funcall
7812 instead of run-hook-with-args-until-failure.
7813 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7814 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7815 dired-isearch-filenames-toggle; make it into a proper minor mode.
7816 Use add/remove-function.
7817 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7818 Call the minor-mode rather than add/remove-hook.
7819 (dired-isearch-filter-filenames):
7820 Remove isearch-message-prefix property.
7821 * info.el (Info--search-loop): New function, extracted from Info-search.
7822 Funcall isearch-filter-predicate instead of
7823 run-hook-with-args-until-failure isearch-filter-predicates.
7824 (Info-search): Use it.
7825 (Info-mode): Use isearch-filter-predicate instead of
7826 isearch-filter-predicates.
7827
290d5b58
DA
78282013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7829
7830 Do not call to `selected-window' where it is assumed by default.
7831 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7832 `window-hscroll', `window-width', `window-height', `window-buffer',
7833 `window-frame', `window-start', `window-point', `next-window'
7834 and `window-display-table'.
7835 * abbrev.el (abbrev--default-expand):
7836 * bs.el (bs--show-with-configuration):
7837 * buff-menu.el (Buffer-menu-mouse-select):
7838 * calc/calc.el (calc):
7839 * calendar/calendar.el (calendar-generate-window):
7840 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7841 (diary-make-entry):
7842 * comint.el (send-invisible, comint-dynamic-complete-filename)
7843 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7844 * completion.el (complete):
7845 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7846 * disp-table.el (describe-current-display-table):
7847 * doc-view.el (doc-view-insert-image):
7848 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7849 * ehelp.el (with-electric-help):
7850 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7851 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7852 * emacs-lisp/helper.el (Helper-help-scroller):
7853 * emulation/cua-base.el (cua--post-command-handler-1):
7854 * eshell/esh-mode.el (eshell-output-filter):
7855 * ffap.el (ffap-gnus-wrapper):
7856 * help-macro.el (make-help-screen):
7857 * hilit-chg.el (highlight-compare-buffers):
7858 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7859 * hl-line.el (global-hl-line-highlight):
7860 * icomplete.el (icomplete-simple-completing-p):
7861 * isearch.el (isearch-done):
7862 * jit-lock.el (jit-lock-stealth-fontify):
7863 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7864 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7865 * mpc.el (mpc-tagbrowser, mpc):
7866 * net/rcirc.el (rcirc-any-buffer):
7867 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7868 * play/landmark.el (landmark-max-width, landmark-max-height):
7869 * play/zone.el (zone):
7870 * progmodes/compile.el (compilation-goto-locus):
7871 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7872 * progmodes/etags.el (find-tag-other-window):
7873 * progmodes/fortran.el (fortran-column-ruler):
7874 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7875 * progmodes/verilog-mode.el (verilog-point-text):
7876 * reposition.el (reposition-window):
7877 * rot13.el (toggle-rot13-mode):
7878 * server.el (server-switch-buffer):
7879 * shell.el (shell-dynamic-complete-command)
7880 (shell-dynamic-complete-environment-variable):
7881 * simple.el (insert-buffer, set-selective-display)
7882 (delete-completion-window):
7883 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7884 (speedbar-recenter):
7885 * startup.el (fancy-splash-head):
7886 * textmodes/ispell.el (ispell-command-loop):
7887 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7888 * tutorial.el (help-with-tutorial):
7889 * vc/add-log.el (add-change-log-entry):
7890 * vc/compare-w.el (compare-windows):
7891 * vc/ediff-help.el (ediff-indent-help-message):
7892 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7893 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7894 (ediff-setup-control-frame):
7895 * vc/emerge.el (emerge-position-region):
7896 * vc/pcvs-util.el (cvs-bury-buffer):
7897 * window.el (walk-windows, mouse-autoselect-window-select):
7898 * winner.el (winner-set-conf, winner-undo): Related users changed.
7899
38276e01
JB
79002013-08-05 Juanma Barranquero <lekktu@gmail.com>
7901
7902 * frameset.el (frameset--set-id): Doc fix.
7903 (frameset-frame-id, frameset-frame-id-equal-p)
7904 (frameset-locate-frame-id): New functions.
7905 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7906 (frameset-restore): Use them.
7907
12b4c0ea
DA
79082013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7909
7910 Do not call to `selected-frame' where it is assumed by default.
7911 Affected functions are `raise-frame', `redraw-frame',
7912 `frame-first-window', `frame-terminal' and `delete-frame'.
7913 * calendar/appt.el (appt-disp-window):
7914 * epg.el (epg-wait-for-completion):
7915 * follow.el (follow-delete-other-windows-and-split)
7916 (follow-avoid-tail-recenter):
7917 * international/mule.el (set-terminal-coding-system):
7918 * mail/rmail.el (rmail-mail-return):
7919 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7920 * progmodes/f90.el (f90-add-imenu-menu):
7921 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7922 * server.el (server-switch-buffer):
7923 * simple.el (delete-completion-window):
7924 * talk.el (talk):
7925 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7926 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7927 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7928 * vc/ediff.el (ediff-documentation): Related users changed.
7929 * frame.el (selected-terminal): Remove the leftover.
7930
17f25e76
GM
79312013-08-05 Glenn Morris <rgm@gnu.org>
7932
7933 * calendar/calendar.el (calendar-generate-month):
7934 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7935 (calendar-generate-month, calendar-font-lock-keywords):
7936 Fix for calendar-day-header-width > length of any day name.
17f25e76 7937
063233c3
JB
79382013-08-05 Juanma Barranquero <lekktu@gmail.com>
7939
7940 * desktop.el (desktop-clear): Use new name of sort predicate.
7941
7942 * frameset.el (frameset): Add docstring. Move :version property to its
7943 own `version' slot.
7944 (frameset-copy): Rename from copy-frameset.
7945 (frameset-p): Check more thoroughly.
7946 (frameset-prop): Do not check for :version, which is no longer a prop.
7947 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7948 Use new :never value instead of t.
7949 (frameset-filter-alist): Expand and clarify docstring.
7950 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7951 (frameset-filter-minibuffer, frameset-filter-save-param)
7952 (frameset-filter-restore-param, frameset-filter-iconified):
7953 Add pointer to docstring of frameset-filter-alist.
7954 (frameset-filter-params): Rename filter values to be more meaningful:
7955 :never instead of t, and reverse the meanings of :save and :restore.
7956 (frameset--process-minibuffer-frames): Clarify error message.
7957 (frameset-save): Avoid unnecessary and confusing call to framep.
7958 Use new BOA constructor for framesets.
7959 (frameset--reuse-list): Doc fix.
7960 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7961 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7962 (frameset-minibufferless-first-p): Doc fix.
7963 Rename from frameset-sort-frames-for-deletion.
7964 (frameset-restore): Doc fixes. Use new function names.
7965 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7966
d5671a82
JB
79672013-08-04 Juanma Barranquero <lekktu@gmail.com>
7968
7969 * desktop.el (desktop-restore-forces-onscreen)
7970 (desktop-restore-reuses-frames): Document :keyword constant values.
7971 (desktop-filter-parameters-alist): Remove, now identical to
7972 frameset-filter-alist.
7973 (desktop--filter-tty*): Remove, moved to frameset.el.
7974 (desktop-save-frameset, desktop-restore-frameset):
7975 Do not pass :filters argument.
7976
7977 * frameset.el (frameset-live-filter-alist)
7978 (frameset-persistent-filter-alist): New variables.
7979 (frameset-filter-alist): Use them. Add autoload cookie.
7980 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7981 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7982 `frameset--id' (it's supposed to be internal to frameset.el).
7983 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7984 (frameset--initial-params): New function.
7985 (frameset--get-frame): Use it. Doc fix.
7986 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7987 Accept :all, not 'all.
7988 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7989 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7990 with fbound symbols. Fix frame id matching, and remove matching ids if
7991 the frame being restored is deleted. Obey :delete.
7992
671d5c16
SM
79932013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7994
7995 * subr.el (macrop): New function.
7996 (text-clone--maintaining): New var.
7997 (text-clone--maintain): Rename from text-clone-maintain. Use it
7998 instead of inhibit-modification-hooks.
7999
8000 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8001 a proxy, so as handle autoloads and redefinitions of the target.
8002 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8003
8004 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8005 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8006 (pcase--mutually-exclusive-p): New function.
8007 (pcase--split-consp): Use it.
8008 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8009 mutually exclusive with the current predicate.
8010
8011 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8012 (edebug-macrop): Remove. Use `macrop' instead.
8013 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8014 (ad-macro-p):
8015 * eshell/esh-cmd.el (eshell-macrop):
8016 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8017
1d44e9dc
SM
80182013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8021 (advice-mapc): New function, using it.
8022 (advice-function-member-p): New function.
8023 (advice--normalize): Store the cdr in advice--saved-rewrite since
8024 that's the part that will be changed.
8025 (advice--symbol-function): New function.
8026 (advice-remove): Handle removal before the function is defined.
8027 Adjust to new advice--saved-rewrite.
8028 (advice-member-p): Use advice-function-member-p and
8029 advice--symbol-function.
8030
5414a283
JB
80312013-08-04 Juanma Barranquero <lekktu@gmail.com>
8032
51d30f2c
JB
8033 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8034 (frameset-filter-minibuffer): Doc fix.
8035 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8036 (frameset--set-id, frameset--process-minibuffer-frames)
8037 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8038 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8039
5414a283
JB
8040 * desktop.el (desktop-clear): Only delete frames when called
8041 interactively and desktop-restore-frames is non-nil. Doc fix.
8042 (desktop-read): Set desktop-saved-frameset to nil.
8043
ab419665
XF
80442013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8045
8046 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8047 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8048 (vc--add-line, vc--remove-regexp): New functions.
8049
8050 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8051 (vc-svn-ignore-completion-table): New function.
8052
8053 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8054 (vc-hg-ignore-completion-table)
ab419665
XF
8055 (vc-hg-find-ignore-file): New functions.
8056
8057 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8058 (vc-git-ignore-completion-table)
ab419665
XF
8059 (vc-git-find-ignore-file): New functions.
8060
8061 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8062
8063 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8064 (vc-bzr-ignore-completion-table)
ab419665
XF
8065 (vc-bzr-find-ignore-file): New functions.
8066
2613dea2
JB
80672013-08-03 Juanma Barranquero <lekktu@gmail.com>
8068
8069 * frameset.el (frameset-prop): New function and setter.
8070 (frameset-save): Do not modify frame list passed by the caller.
8071
9c959872
SM
80722013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8075
a104f656
SM
80762013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8077
70122acf
SM
8078 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8079 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8080
a104f656
SM
8081 * custom.el (custom-initialize-default, custom-initialize-set)
8082 (custom-initialize-reset, custom-initialize-changed): Affect the
8083 toplevel-default-value (bug#6275, bug#14586).
8084 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8085 for bug#6275.
8086
f078d570
JB
80872013-08-02 Juanma Barranquero <lekktu@gmail.com>
8088
185e3b5a
JB
8089 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8090 Add cl-def* expressions.
8091
f078d570
JB
8092 * frameset.el (frameset-filter-params): Fix order of arguments.
8093
9421876d
JB
80942013-08-02 Juanma Barranquero <lekktu@gmail.com>
8095
8096 Move code related to saving frames to frameset.el.
8097 * desktop.el: Require frameset.
8098 (desktop-restore-frames): Doc fix.
8099 (desktop-restore-reuses-frames): Rename from
8100 desktop-restoring-reuses-frames.
8101 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8102 (desktop-clear): Clear frames too.
8103 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8104 (desktop--filter-tty*, desktop-save, desktop-read):
8105 Use frameset functions.
8106 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8107 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8108 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8109 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8110 (desktop--process-minibuffer-frames, desktop-save-frames)
8111 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8112 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8113 (desktop--sort-states, desktop-restoring-frames-p)
8114 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8115 (desktop-restoring-frameset-p, desktop-restore-frameset)
8116 (desktop--check-dont-save, desktop-save-frameset): New functions.
8117 (desktop--app-id): New constant.
8118 (desktop-first-buffer, desktop-buffer-ok-count)
8119 (desktop-buffer-fail-count): Move before first use.
8120 * frameset.el: New file.
8121
76dc5996
SM
81222013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * files.el: Use lexical-binding.
8125 (dir-locals-read-from-file): Remove unused `err' variable.
8126 (hack-dir-local-variables--warned-coding): New var.
8127 (hack-dir-local-variables): Use it to avoid repeated warnings.
8128 (make-backup-file-name--default-function): New function.
8129 (make-backup-file-name-function): Use it as default.
8130 (buffer-stale--default-function): New function.
8131 (buffer-stale-function): Use it as default.
8132 (revert-buffer-insert-file-contents--default-function): New function.
8133 (revert-buffer-insert-file-contents-function): Use it as default.
8134 (insert-directory): Avoid add-to-list.
8135
8136 * autorevert.el (auto-revert-handler): Simplify.
8137 Use buffer-stale--default-function.
8138
06d36e2b
TH
81392013-08-01 Tassilo Horn <tsdh@gnu.org>
8140
5f648ab4
TH
8141 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8142
06d36e2b
TH
8143 * whitespace.el (whitespace-ensure-local-variables): New function.
8144 (whitespace-cleanup-region): Call it.
8145 (whitespace-turn-on): Call it.
8146
a43dc424
MA
81472013-08-01 Michael Albinus <michael.albinus@gmx.de>
8148
8149 Complete file name handlers.
8150
8151 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8152 (tramp-handle-verify-visited-file-modtime)
8153 (tramp-handle-file-notify-rm-watch): New functions.
8154 (tramp-call-process): Do not bind `default-directory'.
8155
44e18199
JB
8156 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8157 Order alphabetically.
afe1e4c8
GM
8158 <access-file, add-name-to-file, dired-call-process>:
8159 <dired-compress-file, file-acl, file-notify-rm-watch>:
8160 <file-ownership-preserved-p, file-selinux-context>:
8161 <make-directory-internal, make-symbolic-link, set-file-acl>:
8162 <set-file-selinux-context, set-visited-file-modtime>:
8163 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8164 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8165
8166 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8167 <file-notify-add-watch, file-notify-rm-watch>:
8168 <set-file-times, set-visited-file-modtime>:
8169 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8170 (with-tramp-gvfs-error-message)
8171 (tramp-gvfs-handle-set-visited-file-modtime)
8172 (tramp-gvfs-fuse-file-name): Remove.
8173 (tramp-gvfs-handle-file-notify-add-watch)
8174 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8175 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8176
44e18199
JB
8177 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8178 Order alphabetically.
afe1e4c8
GM
8179 <file-notify-rm-watch>: Use default Tramp handler.
8180 <executable-find>: Remove private handler.
a43dc424
MA
8181 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8182 `default-directory'.
8183 (tramp-sh-handle-executable-find)
8184 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8185 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8186 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8187 Do not use `format' in `tramp-message'.
8188
8189 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8190 <file-notify-rm-watch, set-visited-file-modtime>:
8191 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8192 (tramp-smb-call-winexe): Do not bind `default-directory'.
8193
7188b515
XF
81942013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8195
8196 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8197
2412ee1a
DG
81982013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8199
8200 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8201 use it.
8202 (log-view-diff-changeset): Same.
8203 (log-view-diff-common): Call backend command `previous-revision'
8204 to find out the previous revision, in both cases. Swap the
8205 variables `to' and `fr', so that `fr' usually refers to the
8206 earlier revision (Bug#14989).
8207
5002a754
KRC
82082013-07-31 Kan-Ru Chen <kanru@kanru.info>
8209
8210 * ibuf-ext.el (ibuffer-filter-by-filename):
8211 Make it work with dired buffers too.
8212
44e18199 82132013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8214
8215 * emacs-lisp/re-builder.el (reb-color-display-p):
8216 * files.el (save-buffers-kill-terminal):
8217 * net/browse-url.el (browse-url):
8218 * server.el (server-save-buffers-kill-terminal):
8219 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8220 Prefer nil to selected-frame for the first arg of frame-parameter.
8221
aeca3fbb
XF
82222013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8223
8224 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8225
158bc55c
SB
82262013-07-30 Stephen Berman <stephen.berman@gmx.net>
8227
8228 * minibuffer.el (completion--twq-all): Try and preserve each
8229 completion's case choice (bug#14907).
8230
d50fceab
LMI
82312013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8232
ac38e731
LMI
8233 * net/network-stream.el (open-network-stream): Mention the new
8234 :nogreeting parameter.
8235 (network-stream-open-starttls): Use the :nogreeting parameter
8236 (bug#14938).
8237
1211de50
LMI
8238 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8239
997798bf
LMI
8240 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8241 more natural than popping.
8242
d50fceab 8243 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8244 (shr-urlify): Highlight under mouse.
d50fceab 8245
5c09de04
XF
82462013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8247
207d1d04
XF
8248 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8249
8250 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8251
5c09de04
XF
8252 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8253 buffer for output.
8254
3cd51eaa
XF
8255 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8256 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8257
44e18199 8258 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8259 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8260
8261 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8262
8263 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8264 buffer for output.
8265
35a89bdd
EZ
82662013-07-29 Eli Zaretskii <eliz@gnu.org>
8267
8268 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8269 initial frame is minibuffer-less. (Bug#14841)
8270
78822e94
MA
82712013-07-29 Michael Albinus <michael.albinus@gmx.de>
8272
8273 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8274 option.
8275
8276 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8277 (tramp-maybe-open-connection): Use it.
8278
9503c190
JB
82792013-07-28 Juanma Barranquero <lekktu@gmail.com>
8280
8281 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8282 minimal set of parameters passed when creating a frame, because
8283 the minibuffer status of a frame cannot be changed later.
8284
d5a845b4
SB
82852013-07-28 Stephen Berman <stephen.berman@gmx.net>
8286
8287 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8288 replace-regexp-in-string and inadvertent omissions in previous change.
8289 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8290 name of filtered items buffer.
d5a845b4 8291
ddeffb17
JB
82922013-07-28 Juanma Barranquero <lekktu@gmail.com>
8293
8294 * desktop.el: Optionally force offscreen frames back onscreen.
8295 (desktop-restoring-reuses-frames): New option.
8296 (desktop--compute-pos, desktop--move-onscreen): New functions.
8297 (desktop--make-frame): Use desktop--move-onscreen.
8298
f5950f7a
AM
82992013-07-27 Alan Mackenzie <acm@muc.de>
8300
8301 Fontify a Java generic method as a function.
8302 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8303 value to t.
8304
ae43b66a
SB
83052013-07-27 Stephen Berman <stephen.berman@gmx.net>
8306
8307 * calendar/todo-mode.el: Add command to rename todo files.
8308 (todo-rename-file): New command.
8309 (todo-key-bindings-t): Add key binding for it. Change the
8310 bindings of todo-filter-regexp-items(-multifile) to use `x'
8311 instead of `r', since the latter is better suited to the new
8312 renaming command.
8313
5ab78d3d
AM
83142013-07-27 Alan Mackenzie <acm@muc.de>
8315
8316 Make Java try-with-resources statement parse properly.
8317 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8318 (c-block-stmt-1-2-key): New language constants/variables.
8319 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8320 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8321 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8322 with c-block-stmt-1-2-key.
5ab78d3d 8323
d85c4d50
JB
83242013-07-27 Juanma Barranquero <lekktu@gmail.com>
8325
8326 * desktop.el (desktop--make-frame): Apply most frame parameters after
8327 creating the frame to force (partially or totally) offscreen frames to
8328 be restored as such.
8329
e4c467f9
XF
83302013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8331
8332 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8333 (Bug#14948)
e4c467f9 8334
7ced0d04
SM
83352013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8338 `base' arg of backtrace-frame.
8339
fec92060
EZ
83402013-07-26 Eli Zaretskii <eliz@gnu.org>
8341
8342 * simple.el (list-processes): Doc fix.
8343
d58d31fb
JB
83442013-07-26 Juanma Barranquero <lekktu@gmail.com>
8345
8346 * desktop.el (desktop--select-frame):
d85c4d50 8347 Try harder to reuse existing frames.
d58d31fb 8348
53ff3e77
SM
83492013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8350
8351 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8352 (edebug-eval): Use backtrace-eval.
8353 (edebug--display, edebug--recursive-edit): Don't let-bind the
8354 edebug-outer-* vars that keep track of variables we locally let-bind.
8355 (edebug-outside-excursion): Don't restore outside values of locally
8356 let-bound vars.
8357 (edebug--display): Use user-error.
8358 (cl-lexical-debug, cl-debug-env): Remove.
8359
045f7a53
JB
83602013-07-26 Juanma Barranquero <lekktu@gmail.com>
8361
8362 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8363 are restored to be sure that they are visible before deleting any
8364 remaining ones.
8365
59070b32
MM
83662013-07-26 Matthias Meulien <orontee@gmail.com>
8367
742a3501
XF
8368 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8369 vc-print-root-log. (Bug#14948)
59070b32 8370
b1fb3596
RS
83712013-07-26 Richard Stallman <rms@gnu.org>
8372
8373 Add aliases for encrypting mail.
8374 * epa.el (epa-mail-aliases): New option.
8375 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8376 Bind inhibit-read-only so read-only text doesn't ruin everything.
8377 (epa-mail-default-recipients): New subroutine broken out.
8378 Handle epa-mail-aliases.
8379
56ea7291
SM
83802013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 Add support for lexical variables to the debugger's `e' command.
8383 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8384 vars, except for debugger-outer-match-data.
8385 (debugger-frame-number): Move check for "on a function call" from
8386 callers into it. Add `skip-base' argument.
8387 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8388 (debugger-env-macro): Only reset the state stored in non-variables,
8389 i.e. current-buffer and match-data.
8390 (debugger-eval-expression): Rewrite using backtrace-eval.
8391 * subr.el (internal--called-interactively-p--get-frame): Remove.
8392 (called-interactively-p):
8393 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8394 `base' arg of backtrace-frame instead.
8395
15ac32d5
GM
83962013-07-26 Glenn Morris <rgm@gnu.org>
8397
8358a09d
GM
8398 * align.el (align-regexp): Doc fix. (Bug#14857)
8399 (align-region): Explicit error if subexpression missing/does not match.
8400
15ac32d5
GM
8401 * simple.el (global-visual-line-mode):
8402 Do not duplicate the mode lighter. (Bug#14858)
8403
f47ad11b
MR
84042013-07-25 Martin Rudalics <rudalics@gmx.at>
8405
8406 * window.el (display-buffer): In display-buffer bind
8407 split-window-keep-point to t, bug#14829.
8408
02530987
JB
84092013-07-25 Juanma Barranquero <lekktu@gmail.com>
8410
8411 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8412 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8413 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8414 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8415 Change accordingly.
f63ebeb5
JB
8416 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8417 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8418
6ccb9cab 84192013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8420
6ccb9cab 8421 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8422
cb3a56d2
JB
84232013-07-25 Juanma Barranquero <lekktu@gmail.com>
8424
8425 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8426 parameter to modify-frame-parameters if the value has not changed;
8427 this is a workaround for bug#14949.
8428 (desktop--make-frame): On cl-delete-if call, check parameter name,
8429 not full parameter.
8430
7aa7fff0
XF
84312013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8432
8433 * vc/vc.el (vc-ignore): New function.
8434
8435 * vc/vc-svn.el (vc-svn-ignore): New function.
8436
8437 * vc/vc-hg.el (vc-hg-ignore): New function.
8438
8439 * vc/vc-git.el (vc-git-ignore): New function.
8440
8441 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8442 (vc-dir-ignore): New function.
8443
8444 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8445 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8446
8447 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8448
8449 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8450
889acc5c
JB
84512013-07-24 Juanma Barranquero <lekktu@gmail.com>
8452
8453 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8454 (desktop-restore-frames): Warn when deleting an existing frame failed.
8455
86c40970
GM
84562013-07-24 Glenn Morris <rgm@gnu.org>
8457
8458 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8459
d5d3c58a
MA
84602013-07-24 Michael Albinus <michael.albinus@gmx.de>
8461
8462 * filenotify.el (file-notify-supported-p):
8463 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8464 Remove functions.
8465
35e951cd 8466 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
8467 (auto-revert-notify-add-watch):
8468 * net/tramp.el (tramp-file-name-for-operation):
8469 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8470 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8471 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8472 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8473 Remove `file-notify-supported-p' entry.
8474
d100084b
GM
84752013-07-24 Glenn Morris <rgm@gnu.org>
8476
8477 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8478 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8479
ac93e56b
SM
84802013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8481
249eea30
SM
8482 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8483 checked with memq (bug#14935).
8484
ac93e56b
SM
8485 * files.el (revert-buffer-function): Use a non-nil default.
8486 (revert-buffer-preserve-modes): Declare var to
8487 provide access to the `preserve-modes' argument.
8488 (revert-buffer): Let-bind it.
8489 (revert-buffer--default): New function, extracted from revert-buffer.
8490
2cdeb903
SM
84912013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * lpr.el: Signal print errors more prominently.
8494 (print-region-function): Don't default to nil.
8495 (lpr-print-region): New function, extracted from print-region-1.
8496 Check lpr's return value and signal an error in case of problem.
8497 (print-region-1): Use it.
8498 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8499 versions instead.
8500 (ps-printer-name): Default to nil.
8501 (ps-printer-name-option): Default to lpr-printer-switch.
8502 (ps-print-region-function): Don't default to nil.
8503 (ps-postscript-code-directory): Simplify default.
8504 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8505 (ps-string-list, ps-eval-switch, ps-flatten-list)
8506 (ps-flatten-list-1): Remove.
8507 (ps-multibyte-buffer): Avoid setq.
8508 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8509 (print-region-function, ps-print-region-function): Don't set them here.
8510
73600831
XF
85112013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8512
35e951cd
JB
8513 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8514 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8515 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
8516 (ido-decorations): Doc fix.
8517
73600831
XF
8518 * ansi-color.el: Fix old URL.
8519
3d012865
MM
85202013-07-23 Michael R. Mauger <michael@mauger.com>
8521
e903c210 8522 * progmodes/sql.el: Version 3.3
3d012865
MM
8523 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8524 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8525 (sql-interactive-remove-continuation-prompt): Rewrite, use
8526 functions above. Fix continuation prompt and complete output line
8527 handling.
8528 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8529 redirected output buffer.
8530 (sql-mode): Restore deleted code (Bug#13591).
8531
da77a2e2
JB
85322013-07-23 Juanma Barranquero <lekktu@gmail.com>
8533
8534 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8535
80ff0c71
MA
85362013-07-23 Michael Albinus <michael.albinus@gmx.de>
8537
8538 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8539
8540 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8541 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8542 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8543
b61d71e4
JB
85442013-07-23 Juanma Barranquero <lekktu@gmail.com>
8545
8546 * desktop.el (desktop-clear): Simplify; remove useless checks
8547 against invalid buffer names.
8548 (desktop-list*): Use cl-list*.
8549 (desktop-buffer-info, desktop-create-buffer): Simplify.
8550
c3512092
LL
85512013-07-23 Leo Liu <sdl.web@gmail.com>
8552
8553 * bookmark.el (bookmark-make-record): Restore NAME as a default
8554 value. (Bug#14933)
8555
0ac26976
SM
85562013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8557
7d22ce18
SM
8558 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8559 extracted from autoload--insert-text.
8560 (autoload--insert-text): Remove.
8561 (autoload--print-cookie-text): New function, extracted from
8562 autoload--insert-cookie-text.
8563 (autoload--insert-cookie-text): Remove.
8564 (autoload-generate-file-autoloads): Adjust calls accordingly.
8565
9b2607e8
SM
8566 * winner.el (winner-hook-installed-p): Remove.
8567 (winner-mode): Simplify accordingly.
8568
c43a8618
SM
8569 * subr.el (add-to-list): Fix compiler-macro when `append' is
8570 not constant. Don't use `cl-member' for the base case.
8571
0ac26976
SM
8572 * progmodes/subword.el: Fix boundary case (bug#13758).
8573 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8574 own group.
8575 (subword-backward-regexp): Make it a constant.
8576 (subword-forward-internal): Don't treat a trailing capital as the
8577 beginning of a word.
8578
6874724a
AR
85792013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8580
8581 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8582 global value of tabulated-list-revert-hook (bug#14930).
8583
70f1b5e8
JB
85842013-07-22 Juanma Barranquero <lekktu@gmail.com>
8585
a1c80d9d
JB
8586 * desktop.el: Require 'cl-lib.
8587 (desktop-before-saving-frames-functions): New hook.
8588 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8589 for frames being saved. Rename from desktop--save-minibuffer-frames.
8590 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8591 Do not save frames with non-nil `desktop-dont-save' parameter.
8592 Filter out deleted frames.
a1c80d9d
JB
8593 (desktop--find-frame): Use cl-find-if.
8594 (desktop--select-frame): Use cl-(first|second|third) to access values
8595 of desktop-mini.
8596 (desktop--make-frame): Use cl-delete-if.
8597 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8598 (desktop-restore-frames): Use cl-(first|second|third) to access values
8599 of desktop-mini. Look for visible frame at the end, not while
8600 restoring frames.
8601
70f1b5e8
JB
8602 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8603 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8604 Use string-match-p, looking-at-p (bug#14927).
8605
728dc3cc
JB
86062013-07-21 Juanma Barranquero <lekktu@gmail.com>
8607
56bc453c
JB
8608 * desktop.el (desktop-saved-frame-states):
8609 Rename from desktop--saved-states; all users changed.
8610 (desktop-save-frames): Rename from desktop--save-frames.
8611 Do not save state to desktop file.
8612 (desktop-save): Save desktop-saved-frame-states to desktop file
8613 and reset to nil.
8614 (desktop-restoring-frames-p): New function.
8615 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8616 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8617 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8618
728dc3cc
JB
8619 * desktop.el: Correctly restore iconified frames.
8620 (desktop--filter-iconified-position): New function.
8621 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8622
862f1c9c
GM
86232013-07-20 Glenn Morris <rgm@gnu.org>
8624
c4074c9f
GM
8625 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8626 Let `message' do the formatting.
8627 (def-gdb-preempt-display-buffer): Add explicit format.
8628
d828e5f9
GM
8629 * image-dired.el (image-dired-track-original-file):
8630 Use with-current-buffer.
8631 (image-dired-track-thumbnail): Use with-current-buffer.
8632 Avoid changing point of wrong window.
8633
862f1c9c
GM
8634 * image-dired.el (image-dired-track-original-file):
8635 Avoid changing point of wrong window. (Bug#14909)
8636
f0398ec1 86372013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8638
8639 * progmodes/gdb-mi.el (gdb-done-or-error):
8640 Guard against "%" in gdb output. (Bug#14127)
8641
1451928f
AS
86422013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8643
763a086d
JB
8644 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8645 (Bug#14826)
f7a03897 8646
1451928f
AS
8647 * international/mule.el (coding-system-iso-2022-flags): Fix last
8648 change.
8649
99107004
KH
86502013-07-20 Kenichi Handa <handa@gnu.org>
8651
763a086d
JB
8652 * international/mule.el (coding-system-iso-2022-flags):
8653 Add `8-bit-level-4'. (Bug#8522)
99107004 8654
48494e06
LMI
86552013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8656
8ba8eec5
LMI
8657 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8658 (bug#14815).
8659
dfbc66e3
LMI
8660 * net/eww.el (eww-process-text-input): Allow inputting when the
8661 point is at the start of the line, as the properties aren't
8662 front-sticky.
8663
48494e06
LMI
8664 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8665 degenerate widths.
8666
77c92cb9
RS
86672013-07-19 Richard Stallman <rms@gnu.org>
8668
aec7da77
RS
8669 * epa.el (epa-popup-info-window): Doc fix.
8670
77c92cb9
RS
8671 * subr.el (split-string): New arg TRIM.
8672
945c5bb1
JB
86732013-07-18 Juanma Barranquero <lekktu@gmail.com>
8674
8675 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8676 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8677
e06ec67f
MA
86782013-07-18 Michael Albinus <michael.albinus@gmx.de>
8679
c7064f05 8680 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8681 `file-notify-support'. Do not autoload. Adapt all uses.
8682 (file-notify-supported-p): New defun.
8683
c7064f05
JB
8684 * autorevert.el (auto-revert-use-notify):
8685 Use `file-notify-supported-p' instead of `file-notify-support'.
8686 Adapt docstring.
e06ec67f
MA
8687 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8688
8689 * net/tramp.el (tramp-file-name-for-operation):
8690 Add `file-notify-supported-p'.
8691
8692 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8693 New defun.
8694 (tramp-sh-file-name-handler-alist): Add it as handler for
8695 `file-notify-supported-p '.
8696
8697 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8698 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8699 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8700 Add `ignore' as handler for `file-notify-*' functions.
8701
5dc8a629
EZ
87022013-07-17 Eli Zaretskii <eliz@gnu.org>
8703
8704 * simple.el (line-move-partial, line-move): Don't start vscroll or
8705 scroll-up if the current line is not taller than the window.
8706 (Bug#14881)
8707
77aea2fb
DG
87082013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8709
8710 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8711 highlight question marks in the method names as strings.
ac72c08d
DG
8712 (ruby-block-beg-keywords): Inline.
8713 (ruby-font-lock-keyword-beg-re): Extract from
8714 `ruby-font-lock-keywords'.
77aea2fb 8715
18c26d81
JD
87162013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8717
8718 * frame.el (blink-cursor-blinks): New defcustom.
8719 (blink-cursor-blinks-done): New defvar.
8720 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8721 (blink-cursor-timer-function): Check if number of blinks has been
8722 done on X and NS.
8723 (blink-cursor-suspend, blink-cursor-check): New defuns.
8724
da48522e
GM
87252013-07-15 Glenn Morris <rgm@gnu.org>
8726
8727 * edmacro.el (edmacro-format-keys): Fix previous change.
8728
0463c1ef
PE
87292013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8730
8731 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8732 The hack didn't work outside English locales anyway.
8733
b43f6451
JB
87342013-07-15 Juanma Barranquero <lekktu@gmail.com>
8735
8736 * simple.el (define-alternatives): Rename from alternatives-define,
8737 per RMS' suggestion.
8738
b958c0ad
JB
87392013-07-14 Juanma Barranquero <lekktu@gmail.com>
8740
8741 * desktop.el (desktop-restore-frames): Change default to t.
8742 (desktop-restore-in-current-display): Now offer more options.
8743 (desktop-restoring-reuses-frames): New customization option.
8744 (desktop--saved-states): Doc fix.
8745 (desktop-filter-parameters-alist): New variable, renamed and expanded
8746 from desktop--excluded-frame-parameters.
8747 (desktop--target-display): New variable.
8748 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8749 (desktop--filter-tty*, desktop--filter-*-color)
8750 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8751 (desktop--filter-save-desktop-parm)
8752 (desktop-restore-in-original-display-p): New functions.
8753 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8754 (desktop--save-minibuffer-frames): New function, inspired by a similar
8755 function from Martin Rudalics.
8756 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8757 (desktop--restore-in-this-display-p): Remove.
8758 (desktop--find-frame): Rename from desktop--find-frame-in-display
8759 and add predicate argument.
8760 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8761 (desktop--reuse-list): New variable.
8762 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8763 New functions.
8764 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8765
f6dd8b36
MA
87662013-07-14 Michael Albinus <michael.albinus@gmx.de>
8767
8768 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8769
2ce3c565
DG
87702013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8771
763a086d
JB
8772 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8773 Highlight conversion methods on Kernel.
2ce3c565 8774
2cdb7698
AM
87752013-07-13 Alan Mackenzie <acm@muc.de>
8776
8777 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8778 and comment it out. This out-commenting enables certain C++
8779 declarations to be parsed correctly.
8780
1a67b811
EZ
87812013-07-13 Eli Zaretskii <eliz@gnu.org>
8782
1b796d6b
EZ
8783 * international/mule.el (define-coding-system): Doc fix.
8784
1a67b811
EZ
8785 * simple.el (default-font-height): Don't call font-info if the
8786 frame's default font didn't change since the frame was created.
8787 (Bug#14838)
8788
58fbe886
LL
87892013-07-13 Leo Liu <sdl.web@gmail.com>
8790
8791 * ido.el (ido-read-file-name): Guard against non-symbol value.
8792
1f0480d4
FEG
87932013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8794
8795 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8796 in nested defuns.
8797
97ead0e5
LL
87982013-07-13 Leo Liu <sdl.web@gmail.com>
8799
8800 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8801 ido-set-matches call. (Bug#6852)
8802
0880a952
DG
88032013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8804
35e951cd 8805 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
8806 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8807 Ruby 2.0.
8808 (ruby-font-lock-keywords): Distinguish calls to functions with
8809 module-like names from module references. Highlight character
8810 literals.
8811
a7d8babb
SDJ
88122013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8813
8814 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8815 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8816
acfcc8c5
JB
88172013-07-12 Juanma Barranquero <lekktu@gmail.com>
8818
8819 * desktop.el (desktop--v2s): Remove unused local variable.
8820 (desktop-save-buffer): Make defvar-local; adjust docstring.
8821 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8822 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8823
051f2775
AS
88242013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8825
8826 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8827
f24e7572
GM
88282013-07-12 Eli Zaretskii <eliz@gnu.org>
8829
8830 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8831 (Bug#14842)
8832
539a920c
GM
88332013-07-12 Glenn Morris <rgm@gnu.org>
8834
8835 * doc-view.el: Require cl-lib at runtime too.
8836 (doc-view-remove-if): Remove.
8837 (doc-view-search-next-match, doc-view-search-previous-match):
8838 Use cl-remove-if.
8839
8840 * edmacro.el: Require cl-lib at runtime too.
8841 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8842 (edmacro-mismatch, edmacro-subseq): Remove.
8843
8844 * shadowfile.el: Require cl-lib.
8845 (shadow-remove-if): Remove.
8846 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8847 Use cl-remove-if.
8848
8849 * wid-edit.el: Require cl-lib.
8850 (widget-choose): Use cl-remove-if.
8851 (widget-remove-if): Remove.
8852
8853 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8854 (ebrowse-delete-if-not): Remove.
8855 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8856 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8857 Use cl-delete-if-not.
8858
1048af7c
JB
88592013-07-12 Juanma Barranquero <lekktu@gmail.com>
8860
8861 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8862 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8863
6c0674ee
LL
88642013-07-12 Leo Liu <sdl.web@gmail.com>
8865
8866 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8867
a19b3c2d
GM
88682013-07-11 Glenn Morris <rgm@gnu.org>
8869
4582a01c
GM
8870 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8871 (edebug-gensym-index, edebug-gensym):
8872 Remove reimplementation of cl-gensym.
8873 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8874
8875 * thumbs.el: Require cl-lib at run-time too.
8876 (thumbs-gensym-counter, thumbs-gensym):
8877 Remove reimplementation of cl-gensym.
8878 (thumbs-temp-file): Use cl-gensym.
8879
a19b3c2d
GM
8880 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8881 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8882 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8883 (ert--union, ert--gensym-counter, ert--gensym-counter)
8884 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8885 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8886 (ert-make-test-unbound, ert--expand-should-1)
8887 (ert--expand-should, ert--should-error-handle-error)
8888 (should-error, ert--explain-equal-rec)
8889 (ert--plist-difference-explanation, ert-select-tests)
8890 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8891 Use cl-lib functions rather than reimplementations.
8892
88f6a933
MA
88932013-07-11 Michael Albinus <michael.albinus@gmx.de>
8894
8895 * net/tramp.el (tramp-methods): Extend docstring.
8896 (tramp-connection-timeout): New defcustom.
8897 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8898 (with-tramp-progress-reporter): Simplify.
8899 (tramp-process-actions): Improve messages.
8900
8901 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8902 * net/tramp-sh.el (tramp-maybe-open-connection):
8903 Use `tramp-connection-timeout'.
afe1e4c8 8904 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
8905 (Bug#14808)
8906
a43d577e
LL
89072013-07-11 Leo Liu <sdl.web@gmail.com>
8908
8909 * ido.el (ido-read-file-name): Conform to the requirements of
8910 read-file-name. (Bug#11861)
8911 (ido-read-directory-name): Conform to the requirements of
8912 read-directory-name.
8913
d77974bf
JB
89142013-07-11 Juanma Barranquero <lekktu@gmail.com>
8915
8916 * subr.el (delay-warning): New function.
8917
35cb8a3e
EZ
89182013-07-10 Eli Zaretskii <eliz@gnu.org>
8919
8920 * simple.el (default-line-height): New function.
8921 (line-move-partial, line-move): Use it instead of computing the
8922 line height inline.
8923 (line-move-partial): Always compute ROWH. If the last line is
8924 partially-visible, but its text is completely visible, allow
8925 cursor to enter such a partially-visible line.
8926
525c5c77
MA
89272013-07-10 Michael Albinus <michael.albinus@gmx.de>
8928
8929 Improve error messages. (Bug#14808)
8930
8931 * net/tramp.el (tramp-current-connection): New defvar, moved from
8932 tramp-sh.el.
0ac26976 8933 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8934 needed anymore.
0ac26976
SM
8935 (tramp-error-with-buffer): Show message in minibuffer.
8936 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8937 (with-tramp-progress-reporter): Improve messages.
8938 (tramp-process-actions): Use progress reporter. Delete process in
8939 case of error. Improve messages.
8940
763a086d
JB
8941 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8942 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8943 (tramp-current-connection): Remove.
525c5c77
MA
8944 (tramp-maybe-open-connection): The car of
8945 `tramp-current-connection' are the first 3 slots of the vector.
8946
c7a4d368
TZ
89472013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8948
8949 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8950 inside continued strings.
8951
954b166e
PE
89522013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8953
8954 Timestamp fixes for undo (Bug#14824).
8955 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8956
56973319
LL
89572013-07-10 Leo Liu <sdl.web@gmail.com>
8958
8959 * files.el (require-final-newline): Allow safe local value.
8960 (Bug#14834)
8961
5550a72c
LL
89622013-07-09 Leo Liu <sdl.web@gmail.com>
8963
8964 * ido.el (ido-read-directory-name): Handle fallback.
8965 (ido-read-file-name): Update DIR to ido-current-directory.
8966 (Bug#1516)
c28b9050 8967 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8968
70c46b28
DG
89692013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8970
8971 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8972 "autoload". Remove "warn lower camel case" section, previously
8973 commented out. Highlight negation char. Do not highlight the
8974 target in singleton method definitions.
8975
0b64b838
SM
89762013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8977
7fd72e2c
SM
8978 * faces.el (tty-setup-hook): Declare the hook.
8979
0b64b838
SM
8980 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8981 and detect when a guard/pred depends on local vars (bug#14773).
8982 (pcase--u1): Adjust caller.
8983
ab49d60b
EZ
89842013-07-08 Eli Zaretskii <eliz@gnu.org>
8985
8986 * simple.el (line-move-partial, line-move): Account for
8987 line-spacing.
701d79aa
EZ
8988 (line-move-partial): Avoid setting vscroll when the last
8989 partially-visible line in window is of default height.
ab49d60b 8990
2d756ae0
LMI
89912013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8992
8993 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8994 been used a while.
8995
ed095bd7
JB
89962013-07-07 Juanma Barranquero <lekktu@gmail.com>
8997
8998 * subr.el (read-quoted-char): Remove unused local variable `char'.
8999
f1e6674b
MK
90002013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9001
584ee3fc
GM
9002 * ediff.el (ediff-version): Version update.
9003 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9004 (ediff-merge-with-ancestor-command, ediff-directories-command)
9005 (ediff-directories3-command, ediff-merge-directories-command)
9006 (ediff-merge-directories-with-ancestor-command): New functions.
9007 All are command-line interfaces to ediff: to facilitate calling
9008 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9009
9010 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9011 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9012
584ee3fc
GM
9013 * viper.el (viper-version): Version update.
9014 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9015
584ee3fc
GM
90162013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9019 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9020 (viper-intercept-ESC-key): Simplify.
9021 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9022 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9023 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9024 (viper-setup-ESC-to-escape): New functions.
9025 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9026 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9027
9aff9b38
EZ
90282013-07-07 Eli Zaretskii <eliz@gnu.org>
9029
5165d44a
JB
9030 * simple.el (default-font-height, window-screen-lines):
9031 New functions.
9aff9b38
EZ
9032 (line-move, line-move-partial): Use them instead of
9033 frame-char-height and window-text-height. This makes scrolling
9034 text smoother when the buffer's default face uses a font that is
9035 different from the frame's default font.
9036
1afb1d07
JD
90372013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9038
9039 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9040 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9041
23de972a
EZ
90422013-07-06 Eli Zaretskii <eliz@gnu.org>
9043
9044 * simple.el (line-move-partial): Adjust the row returned by
9045 posn-at-point for the current window-vscroll. (Bug#14567)
9046
54a42486
MA
90472013-07-06 Michael Albinus <michael.albinus@gmx.de>
9048
35e951cd 9049 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9050 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9051 spaces.
9052
34ada5f4
MR
90532013-07-06 Martin Rudalics <rudalics@gmx.at>
9054
9055 * window.el (window-state-put-stale-windows): New variable.
9056 (window--state-put-2): Save list of windows without matching buffer.
9057 (window-state-put): Remove "bufferless" windows if possible.
9058
11e03d89
JB
90592013-07-06 Juanma Barranquero <lekktu@gmail.com>
9060
9061 * simple.el (alternatives-define): Remove leftover :group keyword.
9062 Tweak docstring.
9063
3504a4be
LL
90642013-07-06 Leo Liu <sdl.web@gmail.com>
9065
9066 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9067 (ido-enable-virtual-buffers): New variable.
9068 (ido-buffer-internal, ido-toggle-virtual-buffers)
9069 (ido-make-buffer-list): Use it.
9070 (ido-exhibit): Support turning on and off virtual buffers
9071 automatically.
9072
61e56e2c
JB
90732013-07-06 Juanma Barranquero <lekktu@gmail.com>
9074
9075 * simple.el (alternatives-define): New macro.
9076
321e1a9c
SM
90772013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * subr.el (read-quoted-char): Use read-key.
9080 (sit-for): Let read-event decode tty input (bug#14782).
9081
d610f6dd
SB
90822013-07-05 Stephen Berman <stephen.berman@gmx.net>
9083
9084 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9085 mode command and externally. Fix various related bugs.
9086 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9087 (todo-delete-file): New command.
9088 (todo-check-file): New function.
9089 (todo-show): Handle external deletion of the file we're trying to
9090 show (bug#14688). Replace called-interactively-p by an optional
9091 prefix argument to avoid problematic interaction with catch form
9092 when byte compiled (bug#14702).
9093 (todo-quit): Handle external deletion of the archive's todo file.
9094 Make sure the buffer that was visiting the archive file is still
9095 live before trying to bury it.
9096 (todo-category-completions): Handle external deletion of any
9097 category completion files.
9098 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9099 of todo files, in case of external deletion.
9100 (todo-add-file): Replace unnecessary setq by let-binding.
9101 (todo-find-archive): Check whether there are any archives.
9102 Replace unnecessary setq by let-binding.
9103 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9104 archive buffer whether or not the archive already exists.
9105 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9106 check if the archive is new; if it is, update list of archives.
9107 (todo-default-todo-file): Allow nil to be a valid value for when
9108 there are no todo files.
9109 (todo-reevaluate-default-file-defcustom): Use corrected definition
9110 of todo-default-todo-file.
9111 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9112 (todo-delete-category, todo-show-categories-table)
9113 (todo-category-number): Clarify comment.
9114 (todo-filter-items): Clarify documentation string.
9115 (todo-show-current-file, todo-display-as-todo-file)
9116 (todo-reset-and-enable-done-separator): Tweak documentation string.
9117 (todo-done-separator): Make separator length window-width, since
9118 bug#2749 is now fixed.
9119
ddbdfd6f
MA
91202013-07-05 Michael Albinus <michael.albinus@gmx.de>
9121
321e1a9c
SM
9122 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9123 Support both "gvfs-monitor-dir" and "inotifywait".
9124 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9125 `tramp-sh-file-notify-process-filter'.
9126 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9127 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9128
96eb829a
LL
91292013-07-05 Leo Liu <sdl.web@gmail.com>
9130
9131 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9132
cf13177e
YM
91332013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9134
9135 * frame.el (display-pixel-height, display-pixel-width)
9136 (display-mm-height, display-mm-width): Mention behavior on
9137 multi-monitor setups in docstrings.
9138 (w32-display-monitor-attributes-list): Declare function.
9139 (display-monitor-attributes-list): Use it.
9140
864c58ca
MA
91412013-07-04 Michael Albinus <michael.albinus@gmx.de>
9142
9143 * filenotify.el: New package.
9144
9145 * autorevert.el (top): Require filenotify.el.
9146 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9147 instead.
9148 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9149 (auto-revert-notify-handler): Use `file-notify-*' functions.
9150
9151 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9152
321e1a9c
SM
9153 * net/tramp.el (tramp-file-name-for-operation):
9154 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9155
9156 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9157 for `file-notify-add-watch' and `file-notify-rm-watch'.
9158 (tramp-process-sentinel): Improve trace.
9159 (tramp-sh-handle-file-notify-add-watch)
9160 (tramp-sh-file-notify-process-filter)
9161 (tramp-sh-handle-file-notify-rm-watch)
9162 (tramp-get-remote-inotifywait): New defuns.
9163
96673afe
JL
91642013-07-03 Juri Linkov <juri@jurta.org>
9165
9166 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9167 call of `occur-read-primary-args' to interactive spec.
9168
9169 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9170 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9171
924494f4
MM
91722013-07-03 Matthias Meulien <orontee@gmail.com>
9173
9174 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9175 `Buffer-menu-multi-occur'. Add it to the menu.
9176 (Buffer-menu-mode): Document it in docstring.
9177 (Buffer-menu-multi-occur): New command. (Bug#14673)
9178
56f75efc
DG
91792013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9180
9181 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9182 keywords and built-ins.
9183
9b057d61
GM
91842013-07-03 Glenn Morris <rgm@gnu.org>
9185
208dee4d
GM
9186 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9187
9b057d61
GM
9188 Make info-xref checks case-sensitive by default
9189 * info.el (Info-find-node, Info-find-in-tag-table)
9190 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9191 Add option for exact case matching of nodes.
9192 * info-xref.el (info-xref): New custom group.
9193 (info-xref-case-fold): New option.
9194 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9195
e01aa29c
LL
91962013-07-03 Leo Liu <sdl.web@gmail.com>
9197
9198 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9199
3086ca2e
DG
92002013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9201
9202 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9203 middle of block statement initially, lower the depth. Remove
9204 FIXME comment, not longer valid. Remove middle of block statement
9205 detection, no need to do that anymore since we've been using
9206 `ruby-parse-region' here.
9207
a3b49114
JD
92082013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9209
9210 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9211
08e5c823 92122013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9213
9214 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9215
2addf922
JB
92162013-07-01 Juanma Barranquero <lekktu@gmail.com>
9217
9218 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9219 (desktop-restore-in-current-display): New customization option.
9220 (desktop--excluded-frame-parameters): Add `font'.
9221 (desktop--save-frames): Rename from desktop--save-windows.
9222 (desktop--restore-in-this-display-p): New function.
9223 (desktop--make-full-frame): Remove unwanted width/height from
9224 full(width|height) frames.
9225 (desktop--restore-frames): Rename from desktop--restore-windows.
9226 Obey desktop-restore-current-display. Do not delete old frames or
9227 select a new frame unless we were able to restore at least one frame.
9228
ef099a94
MN
92292013-06-30 Michal Nazarewicz <mina86@mina86.com>
9230
9231 * files.el (find-file-noselect): Simplify conditional expression.
9232
a12bf61e 9233 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9234 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9235
9236 Add `remember-notes' function to store random notes across Emacs
9237 restarts.
3fcfc4ee
JB
9238 * textmodes/remember.el (remember-data-file): Add :set callback to
9239 affect notes buffer (if any).
ef099a94
MN
9240 (remember-notes): New command.
9241 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9242 New defcustoms for the `remember-notes' function.
9243 (remember-notes-save-and-bury-buffer): New command.
9244 (remember-notes-mode-map): New variable.
9245 (remember-mode): New minor mode.
9246 (remember-notes--kill-buffer-query): New function.
9247 * startup.el (initial-buffer-choice): Add notes to custom type.
9248
0865d506
EZ
92492013-06-30 Eli Zaretskii <eliz@gnu.org>
9250
0ba54312
EZ
9251 * bindings.el (right-char, left-char): Don't call sit-for, this is
9252 no longer needed. Use arithmetic comparison only for numerical
9253 arguments.
9254
ef099a94
MN
9255 * international/mule-cmds.el (select-safe-coding-system):
9256 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9257
2fae38e5
LMI
92582013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9259
9260 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9261 progression on degenerate tables.
ef099a94 9262 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9263
a47cbd64
JB
92642013-06-30 Juanma Barranquero <lekktu@gmail.com>
9265
9266 Some fixes and improvements for desktop frame restoration.
9267 It is still experimental and disabled by default.
9268 * desktop.el (desktop--save-windows): Put the selected frame at
9269 the head of the list.
9270 (desktop--make-full-frame): New function.
9271 (desktop--restore-windows): Try to re-select the frame that was
9272 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9273 just show an error message and continue. Set up maximized frames
9274 so they have default non-maximized dimensions.
a47cbd64 9275
6dbafa30
DG
92762013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9277
ef099a94
MN
9278 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9279 Don't start heredoc inside a string or comment.
6dbafa30 9280
4c672a0f
EZ
92812013-06-29 Eli Zaretskii <eliz@gnu.org>
9282
9283 * bindings.el (visual-order-cursor-movement): New defcustom.
9284 (right-char, left-char): Provide visual-order cursor motion by
9285 calling move-point-visually. Update the doc strings.
9286
50960f36
KH
92872013-06-28 Kenichi Handa <handa@gnu.org>
9288
9289 * international/mule.el (define-coding-system): New coding system
9290 properties :inhibit-null-byte-detection,
9291 :inhibit-iso-escape-detection, and :prefer-utf-8.
9292 (set-buffer-file-coding-system): If :charset-list property of
9293 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9294 appropriate for setting.
9295
c1ea3abf
JB
9296 * international/mule-cmds.el (select-safe-coding-system):
9297 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9298 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9299
9300 * international/mule-conf.el (prefer-utf-8): New coding system.
9301 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9302 files.
9303
75dbaf9d
IK
93042013-06-28 Ivan Kanis <ivan@kanis.fr>
9305
eadb6068
IK
9306 * net/shr.el (shr-render-region): New function.
9307
75dbaf9d
IK
9308 * net/eww.el: Autoload `eww-browse-url'.
9309
9ea5cf9f
DG
93102013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9311
c1ea3abf
JB
9312 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9313 Adapt to `package-desc-version' being a list.
9314 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9315 archive element.
9316
39c0e36f
JB
93172013-06-27 Juanma Barranquero <lekktu@gmail.com>
9318
9319 New experimental feature to save&restore window and frame setup.
9320 * desktop.el (desktop-save-windows): New defcustom.
9321 (desktop--saved-states): New var.
9322 (desktop--excluded-frame-parameters): New defconst.
9323 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9324 (desktop--restore-windows, desktop--save-windows): New functions.
9325 (desktop-save): Call `desktop--save-windows'.
9326 (desktop-read): Call `desktop--restore-windows'.
9327
7f13406b
LMI
93282013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9329
ef099a94 9330 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9331
1e072639
SB
93322013-06-27 Stephen Berman <stephen.berman@gmx.net>
9333
9334 * info.el (Info-try-follow-nearest-node): Move search for footnote
9335 above search for node name to prevent missing a footnote (bug#14717).
9336
f3e2cbde
SB
93372013-06-27 Stephen Berman <stephen.berman@gmx.net>
9338
9339 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9340
99906aa0
LL
93412013-06-27 Leo Liu <sdl.web@gmail.com>
9342
9343 * net/eww.el (eww-read-bookmarks): Check file size.
9344
539f75f4
SM
93452013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9346
9347 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9348 advice--pending if newdef is nil or an autoload (bug#13820).
9349 (advice-mapc): New function.
9350
843571cb
LMI
93512013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9352
9353 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9354 probably.
23a75d7f 9355 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9356 (eww-add-bookmark): New command.
9357 (eww-bookmark-mode): New mode and commands.
a285ce99 9358 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9359 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9360
f2136e1e
GM
93612013-06-26 Glenn Morris <rgm@gnu.org>
9362
eab35f39
GM
9363 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9364 (hfy-size): Handle ttys. (Bug#14668)
9365
f2136e1e
GM
9366 * info-xref.el: Update for Texinfo 5 change in *note format.
9367 (info-xref-node-re, info-xref-note-re): New constants.
9368 (info-xref-check-buffer): Use info-xref-note-re.
9369
a49ff80c
SM
93702013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9371
a343d218
SM
9372 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9373
a49ff80c
SM
9374 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9375 nil terminate the loop (bug#14718).
9376
8308f184
LMI
93772013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378
9379 * net/eww.el: Rework history traversal. When going forward/back,
9380 put these actions into the history, too, so that they can be
9381 replayed.
26bf2b82 9382 (eww-render): Move the history reset to the correct buffer.
8308f184 9383
ec64c273
JL
93842013-06-25 Juri Linkov <juri@jurta.org>
9385
9386 * files-x.el (modify-dir-local-variable): Change the header comment
9387 in the file with directory local variables. (Bug#14692)
9388
e080a9d7
JL
9389 * files-x.el (read-file-local-variable-value): Add `default'.
9390 (Bug#14710)
9391
bfbc93a1
IK
93922013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9393
9394 * net/eww.el (eww-make-unique-file-name): Create a unique file
9395 name before saving to entering `y' accidentally asynchronously.
9396
93972013-06-25 Ivan Kanis <ivan@kanis.fr>
9398
9399 * net/eww.el (eww-download): New command and keystroke.
9400
16f74f10
LMI
94012013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9402
a49ff80c 9403 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9404
9405 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9406 be more consistent with Info and dired.
9407
9408 * net/eww.el (eww-mode-map): Ditto.
9409
12059709
SM
94102013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9413 packages from archives.
9414 (package-archive-contents): Change format; include obsolete packages.
9415 (package-desc): Use `dir' to mark builtin packages.
9416 (package--from-builtin): Set the `dir' field to `builtin'.
9417 (generated-autoload-file, version-control): Declare.
9418 (package-compute-transaction): Change first arg and return value to be
9419 lists of package-descs. Adjust to new package-archive-contents format.
9420 (package--add-to-archive-contents): Adjust to new
9421 package-archive-contents format.
9422 (package-download-transaction): Arg is now a list of package-descs.
9423 (package-install): If `pkg' is a package name, pass it as
9424 a requirement, so it is subject to the usual (e.g. disabled) checks.
9425 (describe-package): Accept package-desc as well.
9426 (describe-package-1): Describe a specific package-desc. Add links to
9427 other package-descs for the same package name.
9428 (package-menu-describe-package): Pass the actual package-desc.
9429 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9430 works correctly.
9431 (package-desc-status): New function.
9432 (package-menu--refresh): New function, extracted
9433 from package-menu--generate.
9434 (package-menu--generate): Use it.
9435 (package-delete): Update package-alist.
9436 (package-menu-execute): Don't call package-initialize.
9437
9438 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9439 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9440 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9441 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9442 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9443 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9444
8bbdea0f
MR
94452013-06-25 Martin Rudalics <rudalics@gmx.at>
9446
9447 * window.el (window--state-get-1): Workaround for bug#14527.
9448 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9449
e82b0991
LMI
94502013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9451
9452 * net/eww.el (eww-back-url): Implement the history by stashing all
9453 the data into a list.
d3f0f918 9454 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9455
c763842b
SM
94562013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9459 for values and use read--expression for expressions (bug#14710).
9460 (read-file-local-variable): Avoid setq.
9461 (read-file-local-variable-mode): Use minor-mode-list.
9462
bceff189
RW
94632013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9464
864c58ca 9465 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9466 for DOI URLs.
9467
45f431c6
RW
94682013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9469
864c58ca 9470 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9471 Update imenu-support when dialect changes.
9472
f42d8237
LL
94732013-06-25 Leo Liu <sdl.web@gmail.com>
9474
9475 * ido.el (ido-read-internal): Allow forward slash on windows.
9476
be549ce6
LMI
94772013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9478
9479 * net/eww.el (eww): Start of strings is \\`, not ^.
9480
71d4c19d
IK
94812013-06-24 Ivan Kanis <ivan@kanis.fr>
9482
5196f88a
IK
9483 * net/shr.el (shr-browse-url): Fix interactive spec.
9484
71d4c19d
IK
9485 * net/eww.el (eww): Add a trailing slash to domain names.
9486
ae36ca55
JB
94872013-06-24 Juanma Barranquero <lekktu@gmail.com>
9488
9489 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9490
0ebd92a3
LMI
94912013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9492
bdaa086b
LMI
9493 * net/shr.el (shr-browse-url): Use an external browser if given a
9494 prefix.
9495
c763842b 9496 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9497
b89fc156
IK
94982013-06-24 Ivan Kanis <ivan@kanis.fr>
9499
9500 * net/eww.el (eww): Work more correctly for file: URLs.
9501 (eww-detect-charset): Allow quoted charsets.
9502 (eww-yank-page-url): New command and keystroke.
9503
18eb4bca
DU
95042013-06-24 Daiki Ueno <ueno@gnu.org>
9505
9506 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9507 file name of gpg executable.
9508 (epg-context-program): New function.
9509 (epg-context-home-directory): New function.
9510 (epg-context-set-program): New function.
9511 (epg-context-set-home-directory): New function.
9512 (epg--start): Use `epg-context-program' instead of
9513 'epg-gpg-program'.
9514 (epg--list-keys-1): Likewise.
9515
6c6268c8
LL
95162013-06-24 Leo Liu <sdl.web@gmail.com>
9517
9518 * ido.el (ido-read-internal): Fix bug#14620.
9519
5e400cb3
JB
95202013-06-23 Juanma Barranquero <lekktu@gmail.com>
9521
9522 * faces.el (face-documentation): Simplify.
9523 (read-face-attribute, tty-find-type, x-resolve-font-name):
9524 Use `string-match-p'.
9525 (list-faces-display): Use `string-match-p'. Simplify.
9526 (face-spec-recalc): Check face to avoid face alias loops.
9527 (read-color): Use `string-match-p' and non-capturing parenthesis.
9528
f3f9606c
LMI
95292013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9530
9531 * net/shr.el (shr-rescale-image): Use the new
9532 :max-width/:max-height functionality.
9533
a3ca09b9
IK
95342013-06-23 Ivan Kanis <ivan@kanis.fr>
9535
9536 * net/eww.el (eww-search-prefix): New variable.
9537 (eww): Use it.
f865b474
IK
9538 (eww-external-browser): New variable.
9539 (eww-mode-map): New keystroke.
9540 (eww-browse-with-external-browser): New command.
a3ca09b9 9541
e854cfc7
IK
9542 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9543
18bb9e21
JB
95442013-06-23 Juanma Barranquero <lekktu@gmail.com>
9545
9546 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9547 Don't skip aligning the next header field when padding is 0;
9548 otherwise, field width is not respected unless the title is as
9549 wide as the field.
9550
5b165ade
SM
95512013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9552
9553 * emacs-lisp/package.el (package-el-version): Remove.
9554 (package-process-define-package): Fix inf-loop.
9555 (package-install): Allow symbols as arguments again.
9556
12adebe9
DG
95572013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9558
9559 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9560 add some more keyword-like methods.
9561 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9562
388573ee
JB
95632013-06-22 Juanma Barranquero <lekktu@gmail.com>
9564
9565 * bs.el (bs-buffer-show-mark): Make defvar-local.
9566 (bs-mode): Use setq-local.
9567
9568 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9569 (emacs-lock--try-unlocking): Make defvar-local.
9570
4582a01c 95712013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9572
2663dd23
GM
9573 * play/cookie1.el (cookie-apropos): Minor simplification.
9574
3d94f3ad
GM
9575 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9576
f72e2fdb
DG
95772013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9578
9579 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9580 `regexp-opt', it breaks the build during dumping.
9581
73eab938
DG
95822013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9583
c763842b
SM
9584 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9585 Highlight keyword-like methods on Kernel and Module with
73eab938 9586 font-lock-builtin-face.
5cf8176d
DG
9587 (auto-mode-alist): Consolidate different entries into one regexp
9588 and add more *file-s.
73eab938 9589
d26255f6
SB
95902013-06-21 Stephen Berman <stephen.berman@gmx.net>
9591
9592 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9593
9594 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9595 (diary-entry): Use it in the action of this button type instead of
9596 diary-goto-entry.
9597
9598 * calendar/todo-mode.el: New version.
9599 (todo-add-category): Append new category to end of file and give
9600 it the highest number, instead of putting it at the beginning and
9601 giving it 0. Incorporate noninteractive functionality.
9602 (todo-forward-category): Adapt to 1-based category numbering.
9603 Allow skipping over archived categories.
9604 (todo-backward-category): Derive from todo-forward-category.
9605 (todo-backward-item, todo-forward-item): Make noninteractive and
9606 delegate interactive part to new commands. Make sensitive to done items.
9607 (todo-categories): Make value an alist of category names and
9608 vectors of item counts.
9609 (todo-category-beg): Make a defconst.
9610 (todo-category-number): Use 1 instead of 0 as initial value.
9611 (todo-category-select): Make sensitive to overlays, optional item
9612 highlighting and done items.
9613 (todo-delete-item): Make sensitive to overlays and marked and done items.
9614 (todo-edit-item): Make sensitive to overlays and editing of
9615 date/time header optional. Add format checks.
9616 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9617 no-op if point is not on an item. Advertise using todo-edit-quit.
9618 (todo-edit-mode): Make sensitive to new format, font-locking, and
9619 multiple todo files.
9620 (todo-insert-item, todo-insert-item-here): Derive from
9621 todo-basic-insert-item and extend functionality.
9622 (todo-item-end, todo-item-start): Make sensitive to done items.
9623 (todo-item-string): Don't return text properties. Restore point.
9624 (todo-jump-to-category): Make sensitive to multiple todo files and
9625 todo archives. Use extended category completion.
9626 (todo-lower-item, todo-raise-item): Rename to *-priority and
9627 derive from todo-set-item-priority.
9628 (todo-mode): Derive from special-mode. Make sensitive to new
9629 format, font-locking and multiple todo files. Make read-only.
9630 (todo-mode-map): Don't suppress digit keys, so they can supply
9631 prefix arguments. Add many new key bindings.
9632 (todo-prefix): Insert as an overlay instead of file text.
9633 Change semantics from diary date expression to purely visual mark.
9634 (todo-print): Rename to todo-print-buffer. Make buffer display
9635 features printable. Remove option to restrict number of items
9636 printed. Add option to print to file.
9637 (todo-print-function): Rename to todo-print-buffer-function.
9638 (todo-quit): Extend to handle exiting new todo modes.
9639 (todo-remove-item): Make sensitive to overlays.
9640 (todo-save): Extend to buffers of filtered items.
9641 (todo-show): Make sensitive to done items, multiple todo files and
9642 new todo modes. Offer to convert legacy todo file before creating
9643 first new todo file.
9644 (todo-show-priorities): Rename to todo-top-priorities.
9645 Change semantics of value 0.
9646 (todo-top-priorities): Rename to todo-filter-top-priorities,
9647 derive from todo-filter-items and extend functionality.
9648 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9649 and extend functionality to other types of filtered items.
9650 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9651 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9652 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9653 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9654 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9655 (todo-edit-mode-hook, todo-entry-prefix-function)
9656 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9657 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9658 (todo-initials, todo-insert-threshold, todo-item-string-start)
9659 (todo-line-string, todo-menu, todo-mode-hook)
9660 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9661 (todo-print-priorities, todo-remove-separator)
9662 (todo-save-top-priorities-too, todo-string-count-lines)
9663 (todo-string-multiline-p, todo-time-string-format)
9664 (todo-tmp-buffer-name): Remove.
9665 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9666 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9667 (todo-edit-category-diary-inclusion)
9668 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9669 (todo-edit-file, todo-edit-item-date-day)
9670 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9671 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9672 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9673 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9674 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9675 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9676 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9677 (todo-filter-top-priorities-multifile, todo-find-archive)
9678 (todo-find-filtered-items-file, todo-go-to-source-item)
9679 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9680 (todo-jump-to-archive-category, todo-lower-category)
9681 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9682 (todo-move-category, todo-move-item, todo-next-button)
9683 (todo-next-item, todo-padded-string, todo-powerset)
9684 (todo-previous-button, todo-previous-item)
9685 (todo-print-buffer-to-file, todo-raise-category)
9686 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9687 (todo-set-category-number, todo-set-item-priority)
9688 (todo-set-top-priorities-in-category)
9689 (todo-set-top-priorities-in-file, todo-show-categories-table)
9690 (todo-sort-categories-alphabetically-or-numerically)
9691 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9692 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9693 (todo-toggle-item-header, todo-toggle-item-highlighting)
9694 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9695 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9696 (todo-unarchive-items, todo-unmark-category): New commands.
9697 (todo-absolute-file-name, todo-add-to-buffer-list)
9698 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9699 (todo-basic-insert-item, todo-category-completions)
9700 (todo-category-number, todo-category-string-matcher-1)
9701 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9702 (todo-check-format, todo-clear-matches)
9703 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9704 (todo-current-category, todo-date-string-matcher)
9705 (todo-define-insertion-command, todo-diary-expired-matcher)
9706 (todo-diary-goto-entry, todo-diary-item-p)
9707 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9708 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9709 (todo-done-item-section-p, todo-done-separator)
9710 (todo-done-string-matcher, todo-files, todo-filter-items)
9711 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9712 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9713 (todo-insert-category-line, todo-insert-item-from-calendar)
9714 (todo-insert-sort-button, todo-insert-with-overlays)
9715 (todo-insertion-command-name, todo-insertion-key-bindings)
9716 (todo-label-to-key, todo-longest-category-name-length)
9717 (todo-make-categories-list, todo-mode-external-set)
9718 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9719 (todo-modes-set-3, todo-multiple-filter-files)
9720 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9721 (todo-read-category, todo-read-date, todo-read-dayname)
9722 (todo-read-file-name, todo-read-time)
9723 (todo-reevaluate-category-completions-files-defcustom)
9724 (todo-reevaluate-default-file-defcustom)
9725 (todo-reevaluate-filelist-defcustoms)
9726 (todo-reevaluate-filter-files-defcustom)
9727 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9728 (todo-reset-done-separator, todo-reset-done-separator-string)
9729 (todo-reset-done-string, todo-reset-global-current-todo-file)
9730 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9731 (todo-reset-prefix, todo-set-categories)
9732 (todo-set-date-from-calendar, todo-set-show-current-file)
9733 (todo-set-top-priorities, todo-short-file-name)
9734 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9735 (todo-total-item-counts, todo-update-buffer-list)
9736 (todo-update-categories-display, todo-update-categories-sexp)
9737 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9738 New functions.
9739 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9740 New major modes.
9741 (todo-categories, todo-display, todo-edit, todo-faces)
9742 (todo-filtered): New defgroups.
9743 (todo-archived-only, todo-button, todo-category-string, todo-date)
9744 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9745 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9746 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9747 (todo-add-item-if-new-category, todo-always-add-time-string)
9748 (todo-categories-align, todo-categories-archived-label)
9749 (todo-categories-category-label, todo-categories-diary-label)
9750 (todo-categories-done-label, todo-categories-number-separator)
9751 (todo-categories-todo-label, todo-categories-totals-label)
9752 (todo-category-completions-files, todo-completion-ignore-case)
9753 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9754 (todo-done-separator-string, todo-done-string)
9755 (todo-files-function, todo-filter-done-items, todo-filter-files)
9756 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9757 (todo-initial-category, todo-initial-file, todo-item-mark)
9758 (todo-legacy-date-time-regexp, todo-mode-line-function)
9759 (todo-nondiary-marker, todo-number-prefix)
9760 (todo-print-buffer-function, todo-show-current-file)
9761 (todo-show-done-only, todo-show-first, todo-show-with-done)
9762 (todo-skip-archived-categories, todo-top-priorities-overrides)
9763 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9764 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9765 New defcustoms.
9766 (todo-category-done, todo-date-pattern, todo-date-string-start)
9767 (todo-diary-items-buffer, todo-done-string-start)
9768 (todo-filtered-items-buffer, todo-item-start)
9769 (todo-month-abbrev-array, todo-month-name-array)
9770 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9771 (todo-top-priorities-buffer): New defconsts.
9772 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9773 (todo-categories-with-marks, todo-category-string-face)
9774 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9775 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9776 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9777 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9778 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9779 (todo-font-lock-keywords, todo-global-current-todo-file)
9780 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9781 (todo-insertion-commands-args)
9782 (todo-insertion-commands-args-genlist)
9783 (todo-insertion-commands-names, todo-insertion-map)
9784 (todo-key-bindings-t, todo-key-bindings-t+a)
9785 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9786 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9787 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9788 (todo-visited): New variables.
9789
cad5d1cb
GM
97902013-06-21 Glenn Morris <rgm@gnu.org>
9791
9792 * play/cookie1.el (cookie-apropos): Add optional display argument.
9793 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9794 (psychoanalyze-pinhead): Use cookie-doctor.
9795
9e277302
JB
97962013-06-21 Juanma Barranquero <lekktu@gmail.com>
9797
9798 * emacs-lisp/package.el (tar-get-file-descriptor)
9799 (tar--extract): Declare.
9800
c5b0993e
EW
98012013-06-21 Eduard Wiebe <usenet@pusto.de>
9802
9803 Extend flymake's warning predicate to be a function (bug#14217).
9804 * progmodes/flymake.el (flymake-warning-predicate): New.
9805 (flymake-parse-line): Use it.
9806 (flymake-warning-re): Make obsolete alias to
9807 `flymake-warning-predicate'.
9808
a7d2d465
SM
98092013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9812 (package-obsolete-list): Remove.
9813 (package-activate): Remove min-version argument. Add `force' argument.
9814 Adjust to new package-alist format.
9815 (package-mark-obsolete): Remove.
9816 (package-unpack): Force reload of the package's autoloads.
9817 (package-installed-p): Check builtins if the installed package is not
9818 recent enough.
9819 (package-initialize): Don't reset package-obsolete-list.
9820 Don't specify which package version to activate.
9821 (package-process-define-package, describe-package-1)
9822 (package-menu--generate): Adjust to new package-alist format.
9823
cedf5c9d
JB
98242013-06-21 Juanma Barranquero <lekktu@gmail.com>
9825
9826 * allout-widgets.el (allout-widgets-mode-off)
9827 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9828 (allout-widgets-post-command-business)
9829 (allout-widgets-after-copy-or-kill-function)
9830 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9831 (allout-decorate-item-and-context)
9832 (allout-graphics-modification-handler): Fix typos in docstrings.
9833 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9834
9835 * cmuscheme.el (scheme-start-file): Doc fix.
9836 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9837 (scheme-input-filter): Use `string-match-p'.
9838
9839 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9840
9841 * dired-x.el: Use Dired consistently in docstrings.
9842
9843 * dired.el: Use Dired consistently in docstrings.
9844 (dired-readin, dired-mode): Use `setq-local'.
9845 (dired-switches-alist): Make defvar-local.
9846 (dired-buffers-for-dir): Use `zerop'.
9847 (dired-safe-switches-p, dired-switches-escape-p)
9848 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9849 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 9850 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
9851 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9852 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9853 (dired-toggle-marks, dired-mark-files-containing-regexp)
9854 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9855 (dired-flag-auto-save-files, dired-flag-backup-files):
9856 Use `looking-at-p'.
9857 (dired-mark-files-regexp, dired-build-subdir-alist):
9858 Use `string-match-p', `looking-at-p'.
9859
9860 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9861 (direct-print-region-helper): Use `string-match-p'.
9862
aed838b5
LL
98632013-06-21 Leo Liu <sdl.web@gmail.com>
9864
cedf5c9d
JB
9865 * comint.el (comint-redirect-results-list-from-process):
9866 Fix infinite loop.
aed838b5 9867
d80a808f
LMI
98682013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9869
9870 * net/eww.el (eww-update-header-line-format): Quote % characters.
9871
e7a526e3
GM
98722013-06-21 Glenn Morris <rgm@gnu.org>
9873
9874 * play/cookie1.el (cookie): New custom group.
9875 (cookie-file): New option.
9876 (cookie-check-file): New function.
9877 (cookie): Make it interactive. Make start and end messages optional.
9878 Interactively, display the result. Default to cookie-file.
9879 (cookie-insert): Default to cookie-file.
9880 (cookie-snarf): Make start and end messages optional.
9881 Default to cookie-file. Use with-temp-buffer.
9882 (cookie-read): Rename from read-cookie.
9883 Make start and end messages optional. Default to cookie-file.
9884 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9885 Do not autoload it.
e7a526e3
GM
9886 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9887 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9888
62efb35e
LL
98892013-06-21 Leo Liu <sdl.web@gmail.com>
9890
9891 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9892
21e3f963
GM
98932013-06-21 Glenn Morris <rgm@gnu.org>
9894
9895 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9896
fd846ab4
SM
98972013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9898 Daniel Hackney <dan@haxney.org>
9899
9900 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9901 Consolidate the single-file vs tarball code.
9902 (package-desc-suffix): New function.
9903 (package-desc-full-name): Don't bother inlining it.
9904 (package-load-descriptor): Return the new package-desc.
9905 (package-mark-obsolete): Remove unused arg `package'.
9906 (package-unpack): Make it work for single files as well.
9907 Make it update package-alist.
9908 (package--make-autoloads-and-stuff): Rename from
9909 package--make-autoloads-and-compile. Don't compile any more.
9910 (package--compile): New function.
9911 (package-generate-description-file): New function, extracted from
9912 package-unpack-single.
9913 (package-unpack-single): Remove.
9914 (package--with-work-buffer): Add indentation and debugging info.
9915 (package-download-single): Remove.
9916 (package-install-from-archive): Rename from package-download-tar, make
9917 it take a pkg-desc, and make it work for single files as well.
9918 (package-download-transaction): Simplify.
9919 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9920 external tar program.
9921 (package-install-from-buffer): Remove `pkg-desc' argument.
9922 Use package-tar-file-info for tar-mode buffers.
9923 (package-install-file): Simplify accordingly.
9924 (package-archive-base): Change to take a pkg-desc.
9925 * tar-mode.el (tar--check-descriptor): New function, extracted from
9926 tar-get-descriptor.
9927 (tar-get-descriptor): Use it.
9928 (tar-get-file-descriptor): New function.
9929 (tar--extract): New function, extracted from tar-extract.
9930 (tar--extract): Use it.
9931 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9932 case the summary uses non-ascii. Adjust to new calling convention of
9933 package-tar-file-info.
9934
b7deae5e
LL
99352013-06-21 Leo Liu <sdl.web@gmail.com>
9936
fd846ab4
SM
9937 * comint.el (comint-redirect-results-list-from-process):
9938 Fix random delay. (Bug#14681)
b7deae5e 9939
7a65a0b2
JB
99402013-06-21 Juanma Barranquero <lekktu@gmail.com>
9941
9942 * profiler.el (profiler-format-number): Use log, not log10.
9943
1493c2af
JB
99442013-06-20 Juanma Barranquero <lekktu@gmail.com>
9945
9946 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9947
aff6371e
SM
99482013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9949
9950 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9951 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9952 yet available.
9953 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9954 (AUTOGENEL): ... here.
9955 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9956 (cl--defsubst-expand): Use it.
9957
89561f72
PE
99582013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9959
9960 * subr.el (log10): Move here from C code, and declare as obsolete.
9961 All uses of (log10 X) replaced with (log X 10).
9962
47199123
JB
99632013-06-20 Juanma Barranquero <lekktu@gmail.com>
9964
9965 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9966 Declare with `defvar-local'.
9967 (tabulated-list-use-header-line, tabulated-list-entries)
9968 (tabulated-list-padding, tabulated-list-printer)
9969 (tabulated-list-sort-key): Declare with `defvar-local'.
9970 (tabulated-list-init-header, tabulated-list-print-fake-header):
9971 Use `setq-local'.
9972
4a172eab
MA
99732013-06-20 Michael Albinus <michael.albinus@gmx.de>
9974
47199123
JB
9975 * arc-mode.el (archive-mode): Add `archive-write-file' to
9976 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9977
5fc0acc0
JB
99782013-06-20 Juanma Barranquero <lekktu@gmail.com>
9979
d5b27848
JB
9980 * cus-edit.el (custom-commands): Fix typos.
9981 (custom-display): Fix tooltip text.
9982 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9983 Fix typos in docstrings.
9984 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9985 (custom-unlispify-menu-entry, custom-magic-value-create)
9986 (custom-add-see-also, custom-group-value-create): Use ?\s.
9987 (custom-guess-type, customize-apropos, editable-field)
9988 (custom-face-value-create): Use `string-match-p'.
9989 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9990
9991 * custom.el (custom-load-symbol): Use `string-match-p'.
9992
a5c581d8
JB
9993 * ansi-color.el: Convert to lexical binding.
9994 (ansi-colors): Fix URL.
9995 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9996 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9997 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9998
970ad972
G
99992013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10000
10001 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10002
10003 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10004
100052013-06-19 Tom Tromey <tromey@redhat.com>
10006
10007 * net/eww.el (eww-top-url): Remove.
10008 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10009 (eww-render): Set new variables. Don't set eww-top-url.
10010 (eww-handle-link): Handle "prev", "home", and "contents".
10011 Downcase the rel text.
10012 (eww-top-url): Choose best top URL.
10013
100142013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10015
10016 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10017 relying in widget.el. Using widget.el leads to too many
10018 user interface inconsistencies.
10019 (eww-self-insert): Implement entering commands in text fields.
10020 (eww-process-text-input): New function to make text input field editing
10021 work.
10022 (eww-submit): Rewrite to use the new-style form methods.
10023 (eww-select-display): Display the correct selected item.
10024 (eww-change-select): Implement changing the select value.
10025 (eww-toggle-checkbox): Implement radio/checkboxes.
10026 (eww-update-field): Fix compilation error.
10027 (eww-tag-textarea): Implement <textarea>.
10028
10029 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10030 we don't shadow mode-specific bindings.
10031
10032 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10033 nothing to push.
10034
10035 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10036
4582a01c 100372013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10038
10039 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10040
15b263dc
MA
100412013-06-19 Michael Albinus <michael.albinus@gmx.de>
10042
10043 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10044 not needed.
10045
10046 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10047
8f5297f7
LMI
100482013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10049
10050 * net/browse-url.el (browse-url-browser-function):
10051 `eww-browse-url' has the right calling signature, `eww' does not.
10052
011c4552
GM
100532013-06-19 Glenn Morris <rgm@gnu.org>
10054
2285bd27
GM
10055 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10056 Only eval autoloaded macros.
10057 (byte-compile-autoload): Only give the macro warning for macros.
10058
1d653303
GM
10059 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10060 (ps-underlined-faces): Declare.
10061
bdd779ec
GM
10062 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10063 (speedbar-add-supported-extension): Declare.
10064
011c4552
GM
10065 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10066 Don't include a date stamp in the header of the generated file;
10067 it leads to needless differences between output files.
10068
e59dfb0e
MA
100692013-06-19 Michael Albinus <michael.albinus@gmx.de>
10070
c763842b
SM
10071 * net/secrets.el (secrets-struct-secret-content-type):
10072 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10073 Some servers do not offer introspection.
e59dfb0e 10074
102626e2
SM
100752013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 * electric.el (electric-pair-mode): Improve interaction with
10078 electric-layout-mode.
10079 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10080 (electric-pair-syntax): Use text-mode-syntax-table in comments
10081 and strings.
10082 (electric-pair--insert): New function.
10083 (electric-pair-post-self-insert-function): Use it and
10084 electric--after-char-pos.
10085
ad528125
LL
100862013-06-19 Leo Liu <sdl.web@gmail.com>
10087
10088 * progmodes/octave.el (octave-help): Fix regexp.
10089
924d6997
G
100902013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10091
10092 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10093 (shr-table-horizontal-line): Allow nil as a value, and change the
10094 default.
10095 (shr-insert-table-ruler): Respect the nil value.
10096
100972013-06-18 Tom Tromey <tromey@barimba>
10098
10099 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10100 New defvars.
10101 (eww-open-file): New defun.
10102 (eww-render): Initialize new variables.
10103 (eww-display-html): Handle "link" and "a".
10104 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10105 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10106 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10107 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10108 New defuns.
924d6997 10109
d1bbba4f
DG
101102013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10111
10112 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10113 Distinguish ternary operator tokens from slash symbol and slash
10114 char literal.
10115
14dd22d2
JB
101162013-06-18 Juanma Barranquero <lekktu@gmail.com>
10117
10118 Convert symbol prettification into minor mode and global minor mode.
10119
10120 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10121 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10122 (prettify-symbols--keywords): Rename from
10123 `prog-prettify-symbols-alist' and make a local defvar.
10124 (prettify-symbols--compose-symbol): Rename from
10125 `prog--prettify-font-lock-compose-symbol'.
10126 (prettify-symbols--make-keywords): Rename from
10127 `prog-prettify-font-lock-symbols-keywords' and simplify.
10128 (prog-prettify-install): Remove.
10129 (prettify-symbols-mode): New minor mode, based on
10130 `prog-prettify-install'.
10131 (turn-on-prettify-symbols-mode): New function.
10132 (global-prettify-symbols-mode): New globalized minor mode.
10133
10134 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10135 * progmodes/cfengine.el (cfengine3-mode):
10136 * progmodes/perl-mode.el (perl-mode): Don't call
10137 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10138
292c880c
JL
101392013-06-18 Juri Linkov <juri@jurta.org>
10140
10141 * files-x.el (modify-file-local-variable-message): New function.
10142 (modify-file-local-variable)
10143 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10144 and call `modify-file-local-variable-message' when it's non-nil.
10145 (add-file-local-variable, delete-file-local-variable)
10146 (add-file-local-variable-prop-line)
10147 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10148 and use it. (Bug#9820)
10149
0950aa27
JL
101502013-06-18 Juri Linkov <juri@jurta.org>
10151
10152 * emulation/vi.el (vi-shell-op):
10153 * emulation/vip.el (vip-execute-com, ex-command):
10154 * emulation/viper-cmd.el (viper-exec-bang):
10155 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10156 the call of `shell-command-on-region'. (Bug#14637)
10157
10158 * simple.el (shell-command-on-region): Doc fix.
10159
8fbcca16
SM
101602013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10161
10162 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10163 (bug#14633).
10164
dd7426ea
GM
101652013-06-18 Glenn Morris <rgm@gnu.org>
10166
4ba54f7d
GM
10167 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10168
dd7426ea
GM
10169 * newcomment.el (comment-search-forward, comment-search-backward):
10170 Doc fix. (Bug#14376)
10171
58aa805b
JB
101722013-06-18 Juanma Barranquero <lekktu@gmail.com>
10173
10174 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10175 (buffer-face-mode-invoke): Doc fix.
10176
9a08a617
MM
101772013-06-18 Matthias Meulien <orontee@gmail.com>
10178
10179 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10180 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10181
f2f426ca
GM
101822013-06-18 Glenn Morris <rgm@gnu.org>
10183
9445f99b
GM
10184 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10185 Replace obsolete function generic-make-keywords with its expansion.
10186
e0df2d14
GM
10187 * progmodes/python.el (ffap-alist): Declare.
10188
f2f426ca
GM
10189 * textmodes/reftex.el (bibtex-mode-map): Declare.
10190
f7f9a720
SM
101912013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10192
10193 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10194 (package-unpack, package-unpack-single): Return the pkg-dir.
10195 (package-download-transaction): Use it to update package-alist.
10196
57ff04e0
LMI
101972013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10198
10199 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10200 possible choice.
10201
c048c022
JL
102022013-06-17 Juri Linkov <juri@jurta.org>
10203
10204 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10205
b5bcaee5
DG
102062013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10207
a020afb9
JB
10208 * emacs-lisp/package.el (package-load-descriptor):
10209 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10210 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10211
551e07e5
JB
102122013-06-17 Juanma Barranquero <lekktu@gmail.com>
10213
10214 * startup.el (command-line): Expand package name returned by
10215 `package--description-file' (bug#14639).
10216
d363bffb
DG
102172013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10218
10219 * emacs-lisp/package.el (package-load-descriptor): Do not call
10220 `emacs-lisp-mode', just use its syntax table.
10221
f612933b
JB
102222013-06-17 Juanma Barranquero <lekktu@gmail.com>
10223
10224 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10225 `font-lock-extra-managed-props' if any prettifying keyword is added.
10226 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10227 (prog-mode): Use `setq-local'.
10228
db3b7db5
SM
102292013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * international/characters.el (standard-case-table): Set syntax of ?»
10232 and ?« to punctuation.
10233
f3d674df
JB
102342013-06-16 Juanma Barranquero <lekktu@gmail.com>
10235
10236 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10237 Save relevant match data before calling `syntax-ppss' (bug#14595).
10238
31489a32
JL
102392013-06-15 Juri Linkov <juri@jurta.org>
10240
10241 * files-x.el (modify-file-local-variable-prop-line): Add local
10242 variables to the end of the existing comment on the first line.
10243 Use `file-auto-mode-skip' to skip interpreter magic line,
10244 and also skip XML declaration.
10245
66bd25ab
SM
102462013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 * startup.el (package--builtin-versions): New var.
10249 (package-subdirectory-regexp): Remove.
10250 (package--description-file): Hard code its value instead.
10251
10252 * emacs-lisp/package.el: Don't activate packages older than builtin.
10253 (package-obsolete-list): Rename from package-obsolete-alist, and make
10254 it into a simple list of package-desc.
10255 (package-strip-version): Remove.
10256 (package-built-in-p): Use package--builtin-versions.
10257 (package-mark-obsolete): Simplify.
10258 (package-process-define-package): Mark it obsolete if older than the
10259 builtin version.
10260 (package-handle-response): Use line-end-position.
10261 (package-read-archive-contents, package--download-one-archive):
10262 Simplify.
10263 (package--add-to-archive-contents): Skip if older than the builtin or
10264 installed version.
10265 (package-menu-describe-package): Fix last change.
10266 (package-list-unversioned): New var.
10267 (package-menu--generate): Use it.
10268
10269 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10270 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10271 (autoload-builtin-package-versions): New variable.
10272 (autoload-generate-file-autoloads): Use them.
10273 Remove the list of autoloaded functions/macros from the
10274 (autoload...) comments.
10275
10276 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10277
9583ec36
EZ
102782013-06-15 Eli Zaretskii <eliz@gnu.org>
10279
10280 * simple.el (line-move-partial): Don't jump to the next screen
10281 line as soon as it becomes visible. Instead, continue enlarging
10282 the vscroll until the portion of a tall screen line that's left on
10283 display is about the height of the frame's default font.
10284 (Bug#14567)
10285
f0100d8a
GM
102862013-06-15 Glenn Morris <rgm@gnu.org>
10287
b86a85ca
GM
10288 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10289 compilation-error-regexp-alist void, or local while let-bound.
10290
f0100d8a
GM
10291 * progmodes/make-mode.el (makefile-mode-syntax-table):
10292 Treat "=" as punctuation. (Bug#14614)
10293
05e7ce90
JB
102942013-06-15 Juanma Barranquero <lekktu@gmail.com>
10295
10296 * help-fns.el (describe-variable):
10297 Add extra line for permanent-local variables.
10298
12e5e86e
SH
102992013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10300
10301 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10302 Add export, import, library. (Bug#9164)
10303 (library): Set indent function.
10304
230dcbaf
GM
103052013-06-14 Glenn Morris <rgm@gnu.org>
10306
10307 * term/xterm.el (xterm--query):
10308 Stop after first matching handler. (Bug#14615)
10309
e36b2d20 103102013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10311
10312 Add support for dired in saveplace.
10313 * dired.el (dired-initial-position-hook): New variable.
10314 (dired-initial-position): Call hook to place cursor position.
10315 * saveplace.el (save-place-to-alist): Add dired position.
10316 (save-place-dired-hook): New function.
10317
0b31660d
SM
103182013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10319
bf1e6ae8
SM
10320 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10321 through a symbol rather than letrec.
10322
1b8dff23
SM
10323 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10324 (package-desc): Add `dir' field.
10325 (package-desc-full-name): New function.
10326 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10327 (package-maybe-load-descriptor): Remove.
10328 (package-load-all-descriptors): Just call package-load-descriptor.
10329 (package--disabled-p): New function.
10330 (package-desc-vers, package-desc-doc): Remove aliases.
10331 (package--dir): Remove function.
10332 (package-activate): Check if a package is disabled.
10333 (package-process-define-package): New function, extracted from
10334 define-package.
10335 (define-package): Turn into a place holder.
10336 (package-unpack-single, package-tar-file-info):
10337 Use package--description-file.
10338 (package-compute-transaction): Use package--disabled-p.
10339 (package-download-transaction): Don't call
10340 package-maybe-load-descriptor since they're all loaded anyway.
10341 (package-install): Change argument to be a pkg-desc.
10342 (package-delete): Use a single pkg-desc argument.
10343 (describe-package-1): Use package-desc-dir instead of package--dir.
10344 Use package-desc property instead of package-symbol.
10345 (package-install-button-action): Adjust accordingly.
10346 (package--push): Rewrite.
10347 (package-menu--print-info): Adjust accordingly. Change the ID format
10348 to be a pkg-desc.
10349 (package-menu-describe-package, package-menu-get-status)
10350 (package-menu--find-upgrades, package-menu-mark-upgrades)
10351 (package-menu-execute, package-menu--name-predicate):
10352 Adjust accordingly.
10353 * startup.el (package--description-file): New function.
10354 (command-line): Use it.
10355 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10356 Use package-desc-version.
10357
0b31660d
SM
10358 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10359 (byte-compile-preprocess): Use it.
10360 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10361 can't quite recognize.
10362 (byte-compile-add-to-list): Remove.
10363 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10364 (cconv-closure-convert): Add assertion.
10365
10366 * emacs-lisp/map-ynp.el: Use lexical-binding.
10367 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10368 Factor out some repeated code.
10369
de0503df
SM
103702013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10371
10372 * subr.el (with-eval-after-load): New macro.
10373 (eval-after-load): Allow form to be a function.
10374 take advantage of lexical-binding.
10375 (do-after-load-evaluation): Use dolist and adjust to new format.
10376 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10377
bc5c8c5a
JL
103782013-06-13 Juri Linkov <juri@jurta.org>
10379
10380 * replace.el (perform-replace): Display "symbol " and other search
10381 modes from `isearch-message-prefix' in the *Help* buffer.
10382
10383 * isearch.el (isearch-query-replace): Add " symbol" and other
10384 possible search modes from `isearch-message-prefix' to the prompt.
10385 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10386 when reading a regexp to collect.
10387
a22289f7
JL
103882013-06-13 Juri Linkov <juri@jurta.org>
10389
10390 * isearch.el (word-search-regexp): Match whitespace if the search
10391 string begins or ends in whitespace. The LAX arg is applied to
10392 both ends of the search string. Use `regexp-quote' and explicit
10393 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10394 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10395 boundaries are replaced with symbol boundaries, and characters
10396 between symbols match non-word non-symbol syntax. (Bug#14602)
10397
cb89acab
JL
103982013-06-13 Juri Linkov <juri@jurta.org>
10399
10400 * isearch.el (isearch-del-char): Don't exceed the length of
10401 `isearch-string' by the prefix arg. (Bug#14563)
10402
6e8cfc81
JL
104032013-06-13 Juri Linkov <juri@jurta.org>
10404
10405 * isearch.el (isearch-yank-word, isearch-yank-line)
10406 (isearch-char-by-name, isearch-quote-char)
10407 (isearch-printing-char, isearch-process-search-char):
10408 Add optional count prefix arg. (Bug#14563)
10409
10410 * international/isearch-x.el
10411 (isearch-process-search-multibyte-characters):
10412 Add optional count prefix arg.
10413
c23d55f4
VS
104142013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10415
10416 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10417 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10418 lexical-binding.
10419
104202013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10421
10422 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10423
ba947bc4
GM
104242013-06-13 Glenn Morris <rgm@gnu.org>
10425
8baeb37a
GM
10426 * startup.el (tty-handle-args):
10427 Don't just discard "--" and anything after. (Bug#14608)
10428
ba947bc4
GM
10429 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10430
9abefce4
MA
104312013-06-13 Michael Albinus <michael.albinus@gmx.de>
10432
10433 Implement changes in Secret Service API. Make it backward compatible.
10434 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10435 (secrets-create-item): Use it. Prefix properties with interface.
10436
5755011f
MH
104372013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10438
10439 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10440 (term-emulate-terminal): Respect term-suppress-hard-newline.
10441
1261d2da
S
104422013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10443
10444 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10445 Only remove a `thumb-file' overlay. (Bug#14548)
10446
868490bb
GJ
104472013-06-12 Grégoire Jadi <daimrod@gmail.com>
10448
10449 * mail/reporter.el (reporter-submit-bug-report):
10450 Handle missing package-name. (Bug#14600)
10451
79d7167f
TH
104522013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10453
10454 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10455 (reftex-citation-prompt, reftex-default-bibliography)
10456 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10457 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10458 (reftex-bib-sort-author, reftex-bib-sort-year)
10459 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10460 (reftex-extract-bib-entries-from-thebibliography)
10461 (reftex-get-bibkey-default, reftex-get-bib-names)
10462 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10463 (reftex-format-bib-entry, reftex-parse-bibitem)
10464 (reftex-format-bibitem, reftex-do-citation)
10465 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10466 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10467 (reftex-insert-bib-matches, reftex-format-citation)
10468 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10469 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10470 existing comments into docstrings.
10471
5f9dbd7a
XF
104722013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10473
10474 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10475
94df41ab
AS
104762013-06-12 Andreas Schwab <schwab@suse.de>
10477
10478 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10479 for auto-save files.
10480
a7f3fecc
GM
104812013-06-12 Glenn Morris <rgm@gnu.org>
10482
001809f6
GM
10483 * ido.el (ido-delete-ignored-files): Remove.
10484 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10485 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10486
834b5ded
EL
104872013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10488
08c73ed2
EL
10489 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10490
834b5ded
EL
10491 * ido.el (ido-delete-ignored-files): New function,
10492 split from ido-make-file-list-1.
10493 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10494 (ido-make-file-list-1): Use ido-delete-ignored-files.
10495
daabf15a
LL
104962013-06-12 Leo Liu <sdl.web@gmail.com>
10497
10498 * progmodes/octave.el (inferior-octave-startup)
10499 (inferior-octave-completion-table)
10500 (inferior-octave-track-window-width-change)
10501 (octave-eldoc-function-signatures, octave-help)
10502 (octave-find-definition): Use single quoted strings.
10503 (inferior-octave-startup-args): Change default value.
10504 (inferior-octave-startup): Do not hard code "-i" and
10505 "--no-line-editing".
10506 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10507 (inferior-octave-directory-tracker): Use it.
10508 (octave-goto-function-definition): Robustify.
10509 (octave-help): Support highlighting operators in 'See also'.
10510 (octave-find-definition): Find subfunctions only in Octave mode.
10511
cf4e5178
SM
105122013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * help-fns.el (help-fns--compiler-macro): If the handler function is
10515 named, then put a link to it.
10516 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10517 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10518 (cl-typep): Use it.
10519 (cl-eval-when): Simplify debug spec.
10520 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10521 compiler-macro function instead of setting `compiler-macro-file'.
10522
99c81280 105232013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10524
10525 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10526 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10527
f56be016
SM
105282013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10529 Daniel Hackney <dan@haxney.org>
10530
10531 First part of Daniel Hackney's patch to package.el.
10532 * emacs-lisp/package.el: Use defstruct.
10533 (package-desc): New, main struct.
10534 (package--bi-desc, package--ac-desc): New structs, used to describe the
10535 format in external files.
10536 (package-desc-vers): Replace with package-desc-version accessor.
10537 (package-desc-doc): Replace with package-desc-summary accessor.
10538 (package-activate-1): Remove `package' arg since the pkg-vec now
10539 includes the name.
10540 (define-package): Use package-desc-from-define.
10541 (package-unpack-single): Change file-name arg to be a symbol.
10542 (package--add-to-archive-contents): Use package-desc-create and new
10543 accessor functions to package--ac-desc.
10544 (package-buffer-info, package-tar-file-info): Return a package-desc.
10545 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10546 arg to be a package-desc.
10547 (package-install-file): Adjust accordingly. Use \' to match EOS.
10548 (package--from-builtin): New function.
10549 (describe-package-1, package-menu--generate): Use it.
10550 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10551 (package-generate-autoloads): Idem and return the name of the file.
10552 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10553 Change pkg-info arg to be a package-desc.
10554 Use package-make-ac-desc.
10555 (package-upload-file): Use \' to match EOS.
10556 * finder.el (finder-compile-keywords): Use package-make-builtin.
10557
31119d63
SM
105582013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10559
931a2762
SM
10560 * vc/vc.el (vc-deduce-fileset): Change error message.
10561 (vc-read-backend): New function.
10562 (vc-next-action): Use it.
10563
5a3eb0c6
SM
10564 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10565
e3eb1bb7
SM
10566 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10567 (prolog-font-lock-keywords): Use regexp-opt instead.
10568 Don't manually highlight strings.
10569 (prolog-mode-variables): Simplify comment-start-skip.
10570 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10571
31119d63
SM
10572 * emacs-lisp/generic.el (generic--normalise-comments)
10573 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10574 (generic-mode-set-comments): Use them.
10575 (generic-bracket-support): Use setq-local.
10576 (generic-make-keywords-list): Declare obsolete.
10577
7de135d0
GM
105782013-06-11 Glenn Morris <rgm@gnu.org>
10579
10580 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10581 Prettify after setting font-lock-defaults. (Bug#14574)
10582
fa6bc6fd
JB
105832013-06-11 Juanma Barranquero <lekktu@gmail.com>
10584
10585 * replace.el (query-replace, occur-read-regexp-defaults-function)
10586 (replace-search):
10587 * subr.el (declare-function, number-sequence, local-set-key)
10588 (substitute-key-definition, locate-user-emacs-file)
10589 (with-silent-modifications, split-string, eval-after-load):
10590 Fix typos, remove unneeded backslashes and reflow some docstrings.
10591
cf1f9b9a
SM
105922013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10595 default for Elisp files.
10596
56602a4b
GM
105972013-06-11 Glenn Morris <rgm@gnu.org>
10598
10599 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10600 although define-derived-mode was doing this anyway. (Bug#14583)
10601
30ae0b2c
JB
106022013-06-10 Juanma Barranquero <lekktu@gmail.com>
10603
10604 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10605 Fix make-variable-buffer-local call to refer to the correct variable.
10606
fa472906
AG
106072013-06-10 Aidan Gauland <aidalgol@amuri.net>
10608
10609 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10610 (eshell-visual-subcommands, eshell-visual-options):
10611 Add summary line to docstrings. Add cross-references.
fa472906 10612
ff4871b9
GM
106132013-06-10 Glenn Morris <rgm@gnu.org>
10614
10615 * epa.el (epa-read-file-name): New function. (Bug#14510)
10616 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10617
04fcf1b0
AG
106182013-06-09 Aidan Gauland <aidalgol@amuri.net>
10619
10620 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10621 output redirection to be ignored with visual commands.
10622
88b00caa
AG
106232013-06-09 Aidan Gauland <aidalgol@amuri.net>
10624
10625 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10626 (eshell-term-initialize): Move long lambda to separate function
10627 eshell-visual-command-p.
e7b41c4c
JB
10628 * eshell/em-dirs.el (eshell-dirs-initialise):
10629 * eshell/em-script.el (eshell-script-initialize):
10630 Add missing #' to lambda.
88b00caa 10631
fda74125
LL
106322013-06-08 Leo Liu <sdl.web@gmail.com>
10633
10634 * progmodes/octave.el (octave-add-log-current-defun): New function.
10635 (octave-mode): Set add-log-current-defun-function.
10636 (octave-goto-function-definition): Do not move point if not found.
10637 (octave-find-definition): Enhance to try subfunctions first.
10638
467f3b33
GM
106392013-06-08 Glenn Morris <rgm@gnu.org>
10640
10641 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10642 (byte-compile-backward-char, byte-compile-backward-word):
10643 Improve previous change, to handle non-explicit nil.
10644
544badc3
SM
106452013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10646
10647 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10648 (smie--opener/closer-at-point): New function.
10649 (smie--matching-block-data): Use it. Don't match from right after an
10650 opener or right before a closer. Obey smie-blink-matching-inners.
10651 Don't signal a mismatch for repeated inners like "switch..case..case".
10652
a175bf33
LL
106532013-06-07 Leo Liu <sdl.web@gmail.com>
10654
10655 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10656 to t. (Bug#14303)
ce8209d4
LL
10657 (octave-function-header-regexp): Fix. (Bug#14570)
10658 (octave-help-mode-finish-hook, octave-help-mode-finish):
10659 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10660
10661 * newcomment.el (comment-search-backward): Revert last change.
10662 (Bug#14434)
10663
10664 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10665
a822acff
EZ
106662013-06-07 Eli Zaretskii <eliz@gnu.org>
10667
10668 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10669 through xargs, to avoid failure due to MS-Windows limitations on
10670 command-line length.
10671
961166f5
GM
106722013-06-06 Glenn Morris <rgm@gnu.org>
10673
d0341459
GM
10674 * font-lock.el (lisp-font-lock-keywords-2):
10675 Treat user-error like error.
10676
961166f5
GM
10677 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10678 (byte-compile-backward-char, byte-compile-backward-word):
10679 Handle explicit nil arguments. (Bug#14565)
10680
80fa505f
AM
106812013-06-05 Alan Mackenzie <acm@muc.de>
10682
10683 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10684 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10685 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10686 (Bug#9706)
80fa505f 10687
fccdc796
SM
106882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * autorevert.el (auto-revert-notify-handler): Use memq.
10691 Hide assertion failure.
10692
10693 * skeleton.el: Use cl-lib.
10694 (skeleton-further-elements): Use defvar-local.
10695 (skeleton-insert): Use cl-progv.
10696
9bfff84b
TZ
106972013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10698
10699 * progmodes/prog-mode.el (prog-prettify-symbols)
10700 (prog-prettify-install): Update docstrings.
10701
55577e7c
SM
107022013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * simple.el: Move all the prog-mode code to prog-mode.el.
10705 * progmodes/prog-mode.el: New file.
10706 * loadup.el: Add prog-mode.el.
10707
8fc57765
TZ
107082013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10709
10710 * simple.el (prog-prettify-symbols): Add version.
10711 (prog-prettify-install): Add convenience function to prettify symbols.
10712
10713 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10714 (perl--augmented-font-lock-keywords-1)
10715 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10716 variables and use it.
10717
10718 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10719 (cfengine3-mode): Remove unneeded variable and use it.
10720
10721 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10722 (lisp--augmented-font-lock-keywords-1)
10723 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10724 Remove unneeded variables and use it.
10725
650645d5 107262013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10727
10728 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10729 to point when opening the connection. (Bug#14380)
28f5da6d 10730
781b4af6
SM
107312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10732
10733 * subr.el (load-history-regexp, load-history-filename-element)
10734 (eval-after-load, after-load-functions, do-after-load-evaluation)
10735 (eval-next-after-load, display-delayed-warnings)
10736 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10737 definition of save-match-data.
10738 (overriding-local-map): Remove accidental obsolescence declaration.
10739
10740 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10741
3ca0d0b4
TZ
107422013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10743
10744 Generalize symbol prettify support to prog-mode and implement it
10745 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10746 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10747 (prog--prettify-font-lock-compose-symbol)
10748 (prog-prettify-font-lock-symbols-keywords): New variables and
10749 functions to support symbol prettification.
10750 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10751 (lisp--augmented-font-lock-keywords-1)
10752 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10753 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10754 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
10755 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10756 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
10757 * progmodes/perl-mode.el (perl-prettify-symbols)
10758 (perl--font-lock-compose-symbol)
10759 (perl--font-lock-symbols-keywords): Move to prog-mode.
10760 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10761 (perl-font-lock-keywords-1)
10762 (perl-font-lock-keywords-2): Remove explicit prettify support.
10763 (perl--augmented-font-lock-keywords)
10764 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
10765 (perl--augmented-font-lock-keywords-2, perl-mode):
10766 Implement prettify support.
3ca0d0b4 10767
976cb066
LL
107682013-06-05 Leo Liu <sdl.web@gmail.com>
10769
10770 Re-implement smie matching block highlight using
10771 show-paren-data-function. (Bug#14395)
10772 * emacs-lisp/smie.el (smie-matching-block-highlight)
10773 (smie--highlight-matching-block-overlay)
10774 (smie--highlight-matching-block-lastpos)
10775 (smie-highlight-matching-block)
10776 (smie-highlight-matching-block-mode): Remove.
10777 (smie--matching-block-data-cache): New variable.
10778 (smie--matching-block-data): New function.
10779 (smie-setup): Use smie--matching-block-data for
10780 show-paren-data-function.
10781
10782 * progmodes/octave.el (octave-mode-menu): Fix.
10783 (octave-find-definition): Skip garbage lines.
10784
208d0342
SM
107852013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 Fix compilation error with simultaneous dynamic+lexical scoping.
10788 Add warning when a defvar appears after the first let-binding.
10789 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10790 (byte-compile-close-variables): Initialize it.
10791 (byte-compile--declare-var): New function.
10792 (byte-compile-file-form-defvar)
10793 (byte-compile-file-form-define-abbrev-table)
10794 (byte-compile-file-form-custom-declare-variable): Use it.
10795 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10796 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10797 (byte-compile-bind): Handle dynamic bindings that shadow
10798 lexical bindings.
10799 (byte-compile-unbind): Make arg non-optional.
10800 (byte-compile-let): Simplify.
10801 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10802 (cconv--analyse-function, cconv-analyse-form): Populate it.
10803 Protect byte-compile-bound-variables to limit the scope of defvars.
10804 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10805 Remove unneeded rule for `declare'.
10806
10807 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10808 so as to avoid depending on cl-adjoin at run-time.
10809 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10810
10811 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10812 (macroexp--warn-and-return): Use it.
10813
1ac2891e
GM
108142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10815
a12bf61e 10816 * subr.el: Convert to lexical binding.
1ac2891e
GM
10817 (overriding-local-map): Make obsolete.
10818 (add-to-list): Doc fix. Add compiler macro.
10819 (read-key): Swap values of local maps.
10820
2587b005
LL
108212013-06-05 Leo Liu <sdl.web@gmail.com>
10822
10823 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10824
f1da3c88
LL
108252013-06-04 Leo Liu <sdl.web@gmail.com>
10826
10827 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10828 (compilation-auto-jump): Suppress the "Mark set" message to give
10829 way to exit message.
10830
3caa391f
AM
108312013-06-04 Alan Mackenzie <acm@muc.de>
10832
10833 Remove faulty optimisation from indentation calculation.
10834 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10835 search limit based on 2000 characters back from indent-point.
10836
068922a2
TH
108372013-06-03 Tassilo Horn <tsdh@gnu.org>
10838
10839 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10840
1f8fdd53
SM
108412013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10842
bbcc4d97
SM
10843 * emacs-lisp/lisp.el: Use lexical-binding.
10844 (lisp--local-variables-1, lisp--local-variables): New functions.
10845 (lisp--local-variables-completion-table): New var.
208d0342 10846 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10847
1f8fdd53
SM
10848 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10849 eagerly (bug#14422).
10850
c9628c79
MA
108512013-06-03 Michael Albinus <michael.albinus@gmx.de>
10852
10853 * autorevert.el (auto-revert-notify-enabled)
10854 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10855 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10856 (auto-revert-notify-handler): Handle also gfilenotify.
10857
e7b41c4c 10858 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10859 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10860 Remove.
c9628c79 10861
e5e4a942
JL
108622013-06-03 Juri Linkov <juri@jurta.org>
10863
10864 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10865 `M-s h .'. (Bug#14427)
10866
10867 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10868 command `hi-lock-face-symbol-at-point'.
10869 (hi-lock-face-symbol-at-point): New command.
10870 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10871 (hi-lock-menu): Add `highlight-symbol-at-point'.
10872 (hi-lock-mode): Doc fix.
10873
10874 * isearch.el (isearch-forward-symbol-at-point): New command.
10875 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10876 (isearch-highlight-regexp): Add a regexp which matches
10877 words/symbols for word/symbol mode.
10878
10879 * subr.el (find-tag-default-bounds): New function with the body
10880 mostly moved from `find-tag-default'.
10881 (find-tag-default): Move most code to `find-tag-default-bounds',
10882 call it and apply `buffer-substring-no-properties' afterwards.
10883
26b3353a
TH
108842013-06-03 Tassilo Horn <tsdh@gnu.org>
10885
781b4af6
SM
10886 * eshell/em-term.el (eshell-term-initialize):
10887 Use `cl-intersection' rather than `intersection'.
26b3353a 10888
51b60f53
XF
108892013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10890
fe054b63 10891 * vc/log-view.el: Doc fix.
d3ffe17c 10892 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10893
a0eb10b3 108942013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10895
10896 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10897 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10898 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10899 (eieio-unbound, eieio-default-superclass)
10900 (eieio--define-field-accessors, method-static, method-before)
10901 (method-primary, method-after, method-num-lists)
10902 (method-generic-before, method-generic-primary)
10903 (method-generic-after, method-num-slots)
10904 (eieio-specialized-key-to-generic-key)
10905 (eieio--check-type, class-v, class-p)
10906 (eieio-class-name, define-obsolete-function-alias)
10907 (eieio-class-parents-fast, eieio-class-children-fast)
10908 (same-class-fast-p, class-constructor, generic-p)
10909 (generic-primary-only-p, generic-primary-only-one-p)
10910 (class-option-assoc, class-option, eieio-object-p)
10911 (class-abstract-p, class-method-invocation-order)
10912 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10913 (eieio-class-un-autoload, eieio-defclass)
10914 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10915 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10916 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10917 (eieio-defgeneric-reset-generic-form)
10918 (eieio-defgeneric-form-primary-only)
10919 (eieio-defgeneric-reset-generic-form-primary-only)
10920 (eieio-defgeneric-form-primary-only-one)
10921 (eieio-defgeneric-reset-generic-form-primary-only-one)
10922 (eieio-unbind-method-implementations)
10923 (eieio--defmethod, eieio--typep)
10924 (eieio-perform-slot-validation, eieio-validate-slot-value)
10925 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10926 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10927 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10928 (eieio-slot-name-index, eieio-class-slot-name-index)
10929 (eieio-set-defaults, eieio-initarg-to-attribute)
10930 (eieio-attribute-to-initarg, eieio-c3-candidate)
10931 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10932 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10933 (eieio-class-precedence-list, eieio-generic-call-methodname)
10934 (eieio-generic-call-arglst, eieio-generic-call-key)
10935 (eieio-generic-call-next-method-list)
10936 (eieio-pre-method-execution-functions, eieio-generic-call)
10937 (eieio-generic-call-primary-only, eieiomt-method-list)
10938 (eieiomt-optimizing-obarray, eieiomt-install)
10939 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10940 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10941 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10942 (defclass): Remove `eval-and-compile' from macro.
10943 (call-next-method, shared-initialize): Instead of using
10944 `scoped-class' variable, use new eieio--scoped-class, and
10945 eieio--with-scoped-class.
10946 (initialize-instance): Rename local variable 'scoped-class' to
10947 'this-class' to remove ambiguitity from old global.
10948
10949 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10950 eieio.el.
4f405069
JB
10951 (eieio--scoped-class-stack): New variable.
10952 (eieio--scoped-class): New fcn.
890f7890
DE
10953 (eieio--with-scoped-class): New scoping macro.
10954 (eieio-defclass): Use pushnew instead of add-to-list.
10955 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10956 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10957 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10958 `scoped-class' variable, use new eieio--scoped-class, and
10959 eieio--with-scoped-class.
10960
10961 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10962
d105b0e2
TH
109632013-06-02 Tassilo Horn <tsdh@gnu.org>
10964
10965 * eshell/esh-ext.el (eshell-external-command): Pass args to
10966 `eshell-find-interpreter'.
10967 (eshell-find-interpreter): Add new second parameter ARGS.
10968
10969 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10970 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10971
10972 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10973 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10974
10975 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10976 (eshell-visual-options): New defcustom.
10977 (eshell-escape-control-x): Adapt docstring.
10978 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10979 `eshell-visual-options' in addition to `eshell-visual-commands'.
10980 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10981
f46305c8 109822013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10983
10984 * progmodes/python.el (python-indent-block-enders): Add break,
10985 continue and raise keywords.
10986
d870df21
GM
109872013-06-01 Glenn Morris <rgm@gnu.org>
10988
9133b82e
GM
10989 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10990
02c992ec 10991 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10992 * progmodes/cc-cmds.el (delete-forward-p):
10993 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10994 * progmodes/cc-engine.el (buffer-syntactic-context):
10995 * progmodes/cc-fonts.el (face-property-instance):
10996 * progmodes/cc-mode.el (set-keymap-parents):
10997 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10998 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10999 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11000 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11001 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11002
31e7b090
GM
11003 * progmodes/cc-vars.el (other): Emacs has this widget since
11004 at least 21.1, so don't (re)define it.
11005
d870df21
GM
11006 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11007 Replace the obsolete alias pcomplete-arg-quote-list.
11008
c75c93c7
LL
110092013-06-01 Leo Liu <sdl.web@gmail.com>
11010
11011 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11012 punctuation syntax.
11013 (inferior-octave-minimal-columns)
11014 (inferior-octave-last-column-width): New variables.
11015 (inferior-octave-track-window-width-change): New function.
11016 (inferior-octave-mode): Adjust column width so that Octave output,
11017 for example from 'ls', can fit into the window nicely.
11018
973d1e12
DG
110192013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11020
11021 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11022 Highlight expansions inside regexp literals.
11023
0888c286
GM
110242013-05-31 Glenn Morris <rgm@gnu.org>
11025
e26aac1f
GM
11026 * obsolete/sym-comp.el (symbol-complete):
11027 Replace obsolete completion-annotate-function.
11028
0888c286
GM
11029 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11030
19bb8e62
DG
110312013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11032
781b4af6
SM
11033 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11034 New function, checks if point is inside a literal that allows
19bb8e62
DG
11035 expression expansion.
11036 (ruby-syntax-propertize-expansion): Use it.
11037 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11038 around the body.
11039
01dea85f
JL
110402013-05-30 Juri Linkov <juri@jurta.org>
11041
11042 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11043 to "\M-si".
11044 (isearch-invisible): New variable.
11045 (isearch-forward): Doc fix.
11046 (isearch-mode): Set `isearch-invisible'
11047 to the value of `search-invisible'.
11048 (isearch-toggle-case-fold): Doc fix.
11049 (isearch-toggle-invisible): New command.
11050 (isearch-query-replace): Let-bind `search-invisible'
11051 to the value of `isearch-invisible'.
11052 (isearch-search): Use `isearch-invisible' instead of
11053 `search-invisible'. Let-bind `search-invisible'
11054 to the value of `isearch-invisible'. (Bug#11378)
11055
ab1bdce5
JL
110562013-05-30 Juri Linkov <juri@jurta.org>
11057
11058 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11059 call when `query-flag' is nil and `search-invisible' is non-nil.
11060 (Bug#11746)
11061
d6d236e2
GM
110622013-05-30 Glenn Morris <rgm@gnu.org>
11063
8accd027
GM
11064 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11065
2a8bed1c
GM
11066 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11067 (cc-require): Suppress spurious "noruntime" warnings.
11068 (cc-require-when-compile): Use fboundp, for sake of compiler.
11069
d6d236e2
GM
11070 * progmodes/cc-mode.el: Move load of cc-vars before that of
11071 cc-langs (which in turn loads cc-vars), to quieten compiler.
11072
9190b35b
SM
110732013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11074
11075 * paren.el: Simplify the code.
11076 (show-paren-mode): Always start the timer.
11077 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11078 (show-paren--overlay, show-paren--overlay-1): Rename from
11079 show-paren-overlay and show-paren-overlay-1, and initialize to an
11080 overlay rather than to nil.
11081 (show-paren-function): Misc cleanup and simplifications.
11082
4f8d1cf6
SM
110832013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 * paren.el (show-paren-data-function): New hook.
11086 (show-paren--default): New function, extracted from show-paren-function.
11087 (show-paren-function): Use show-paren-data-function.
11088
02d844b5
GM
110892013-05-30 Glenn Morris <rgm@gnu.org>
11090
d209d4a9
GM
11091 * ielm.el (ielm-map, ielm-complete-symbol):
11092 Use completion-at-point rather than obsolete functions.
11093 (inferior-emacs-lisp-mode): Doc fix.
11094 Set completion-at-point-functions, rather than
11095 comint-dynamic-complete-functions.
11096
2082faa6
GM
11097 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11098 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11099 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11100
dd8620de
GM
11101 * image.el (image-animated-p): Tweak definition.
11102
ceca95b1
GM
11103 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11104 (rlogin-process-connection-type): Tweak default. Add set-after.
11105 (rlogin-host): Doc fix.
11106 (rlogin): Tweak prompt.
11107 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11108
ee9f1acc
GM
11109 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11110 * progmodes/tcl.el (inferior-tcl-mode-map):
11111 Use completion-at-point rather than obsolete alias.
11112
45ce222e
GM
11113 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11114
02d844b5
GM
11115 * minibuffer.el (read-file-name-completion-ignore-case):
11116 Move before completion--in-region, for eager macro expansion.
11117
ac44d6c1
JL
111182013-05-29 Juri Linkov <juri@jurta.org>
11119
11120 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11121 for total count of matching lines. Add `global-matches' for total
11122 count of matches. Rename `matches' to `lines' for count of
11123 matching lines. Add `matches' for count of matches.
11124 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11125 to `prev-line' for line number of prev match endpt.
11126 Increment `matches' for every match. Print the number of
11127 matching lines in the header.
11128 (occur-context-lines): Rename `lines' to `curr-line'.
11129 Rename `prev-lines' to `prev-line'. (Bug#14017)
11130
3c9c9d38
JL
111312013-05-29 Juri Linkov <juri@jurta.org>
11132
11133 * replace.el (perform-replace): Add `skip-read-only-count',
11134 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11135 Increment them for corresponding conditions and report the number
11136 of skipped occurrences in the final message. (Bug#11746)
11137 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11138 (replace-string, replace-regexp): Doc fix.
11139
33e249a2
SM
111402013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11141
8e399682
SM
11142 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11143
33e249a2 11144 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11145 prog-mode-map (bug#14504).
33e249a2 11146
f236dd84
LL
111472013-05-29 Leo Liu <sdl.web@gmail.com>
11148
11149 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11150 (octave-help): Small simplification.
11151
11152 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11153 off the highlight first.
11154
3694d13f
GM
111552013-05-29 Glenn Morris <rgm@gnu.org>
11156
03983bdc
GM
11157 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11158 Handle idlwave-last-system-routine-info-cons-cell being nil.
11159
bc74a74a
GM
11160 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11161 (idlwave-write-paths): Simplify via with-temp-buffer.
11162
8b394200
GM
11163 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11164 * emulation/cua-rect.el: Also load cua-base at run time.
11165
3694d13f
GM
11166 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11167 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11168 (cperl-imenu-on-info): Require imenu.
11169
336d7284
AM
111702013-05-28 Alan Mackenzie <acm@muc.de>
11171
11172 Handle "capitalised keywords" correctly.
33e249a2 11173 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11174
cb29c582
AG
111752013-05-28 Aidan Gauland <aidalgol@amuri.net>
11176
781b4af6 11177 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11178
690e44b2
GM
111792013-05-28 Glenn Morris <rgm@gnu.org>
11180
e658d75c
GM
11181 * vc/vc-arch.el (vc-exec-after): Declare.
11182 (vc-switches): Autoload.
11183 * vc/vc-bzr.el: No need to require vc when compiling.
11184 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11185 (vc-resynch-buffer, vc-dir-refresh): Declare.
11186 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11187 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11188 (vc-resynch-buffer): Declare.
11189 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11190 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11191 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11192 (grep-read-regexp, grep-read-files, grep-expand-template)
11193 (vc-dir-refresh): Declare.
11194 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11195 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11196 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11197 * vc/vc-mtn.el (vc-exec-after): Declare.
11198 (vc-switches): Autoload.
11199 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11200 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11201 (vc-file-tree-walk): Declare.
712b9732
GM
11202 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11203 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11204 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11205 * vc/vc-svn.el (vc-exec-after): Declare.
11206 (vc-switches, vc-setup-buffer): Autoload.
11207 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11208 Autoload.
11209 (vc-resynch-buffer): Declare.
11210
98e87fb3
GM
11211 * obsolete/fast-lock.el (byte-compile-warnings):
11212 Don't warn about obsolete features in this obsolete file.
11213
f5379553
GM
11214 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11215 Move definition before use.
11216
7a20ef83
GM
11217 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11218 (dun-unix-verbs): Remove dun-zippy.
11219 (dun-zippy): Remove function.
11220
690e44b2
GM
11221 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11222
3a52ccf7
JL
112232013-05-27 Juri Linkov <juri@jurta.org>
11224
11225 * replace.el (replace-search): New function with code moved out
11226 from `perform-replace'.
11227 (replace-highlight, replace-dehighlight): Move function definitions
11228 up closer to `replace-search'. (Bug#11746)
11229
d289938a
JL
112302013-05-27 Juri Linkov <juri@jurta.org>
11231
11232 * replace.el (perform-replace): Ignore invisible matches.
11233 In addition to checking `query-replace-skip-read-only', also
11234 filter out matches by calling `run-hook-with-args-until-failure'
11235 on `isearch-filter-predicates', and also check `search-invisible'
11236 for t or call `isearch-range-invisible'.
11237 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11238
66fc57e3
JL
112392013-05-27 Juri Linkov <juri@jurta.org>
11240
11241 * isearch.el (isearch-filter-predicates): Rename from
11242 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11243 (isearch-message-prefix): Display text from the property
11244 `isearch-message-prefix' of the currently active filters.
11245 (isearch-search): Don't compare `isearch-filter-predicate' with
11246 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11247 on `isearch-filter-predicates'. Also check `search-invisible' for t
11248 or call `isearch-range-invisible'.
11249 (isearch-filter-visible): Make obsolete.
11250 (isearch-lazy-highlight-search):
11251 Call `run-hook-with-args-until-failure' on
11252 `isearch-filter-predicates' and use `isearch-range-invisible'.
11253
11254 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11255 `isearch-filter-predicates' instead of `funcall'ing
11256 `isearch-filter-predicate'.
11257 (Info-mode): Set `Info-isearch-filter' to
11258 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11259
11260 * dired-aux.el (dired-isearch-filter-predicate-orig):
11261 Remove variable.
11262 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11263 (dired-isearch-filenames-end): Add and remove
11264 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11265 instead of changing the value of `isearch-filter-predicate'.
11266 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11267 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11268 Put property `isearch-message-prefix' to "filename " on
11269 `dired-isearch-filter-filenames'.
11270
11271 * wdired.el (wdired-change-to-wdired-mode):
11272 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11273 locally instead of changing `isearch-filter-predicate'.
11274 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11275
f1a60a0f
DG
112762013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11277
11278 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11279 return the commit hash (Bug#14459). Also set the
11280 `vc-git-detached' property.
11281 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11282 (vc-git-mode-line-string): Use the same help-echo format whether
11283 in detached mode or not, because we know the actual revision now.
11284 When in detached mode, shorten the revision to 7 chars.
11285
7f17cc40
SM
112862013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11287
11288 * emacs-lisp/easy-mmode.el (define-minor-mode):
11289 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11290 mode hook and provide a docstring.
11291
25c8401c
AM
112922013-05-27 Alan Mackenzie <acm@muc.de>
11293
11294 Remove spurious syntax-table text properties inserted by C-y.
11295 * progmodes/cc-mode.el (c-after-change): Also clear hard
11296 syntax-table property with value nil.
11297
dde84790
MA
112982013-05-27 Michael Albinus <michael.albinus@gmx.de>
11299
11300 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11301 when reading the events; the buffer layout shall not be changed.
11302
837fd9af
LL
113032013-05-27 Leo Liu <sdl.web@gmail.com>
11304
11305 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11306 New variable.
11307 (inferior-octave-directory-tracker): Automatically re-sync
11308 default-directory.
11309 (octave-help): Improve handling of 'See also'.
11310
4fd996b3
SM
113112013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11312
416f1802
SM
11313 * doc-view.el: Minor naming convention tweaks.
11314 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11315
4fd996b3
SM
11316 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11317 even if there's no `display' property yet (bug#14435).
11318
a052ef3b
EZ
113192013-05-25 Eli Zaretskii <eliz@gnu.org>
11320
4fd996b3 11321 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11322
11323 * Makefile.in (custom-deps, finder-data, autoloads)
11324 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11325 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11326 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11327
c9023370
SM
113282013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11329
11330 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11331 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11332 Don't burp at EOB.
c9023370 11333
24d699fa
LL
113342013-05-25 Leo Liu <sdl.web@gmail.com>
11335
11336 * comint.el (comint-previous-matching-input): Do not flood the
11337 *Messages* buffer with trivial messages.
11338
17e5c0cc
SM
113392013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * progmodes/flymake.el (flymake-nop): Don't return a string.
11342 (flymake-set-at): Fix typo.
11343
11344 * simple.el (read--expression): New function, extracted from
11345 eval-expression. Set completion-at-point-functions (bug#14465).
11346 (eval-expression, eval-minibuffer): Use it.
11347
5d028165
XF
113482013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11349
11350 * progmodes/flymake.el (flymake-save-buffer-in-file)
11351 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11352 (flymake-selected-frame, flymake-log, flymake-ins-after)
11353 (flymake-set-at, flymake-get-buildfile-from-cache)
11354 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11355 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11356 Refine the doc string.
11357 (flymake-get-file-name-mode-and-masks): Reformat.
11358 (flymake-get-real-file-name-function): Fix a minor bug.
11359
7a1d7ba7
JL
113602013-05-24 Juri Linkov <juri@jurta.org>
11361
11362 * progmodes/grep.el (grep-mode-font-lock-keywords):
11363 Support =linenumber= format used by git-grep for lines with
11364 function names. (Bug#13549)
11365
650cff3d
SM
113662013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11369 0 after a semi-colon; it works better for smie-auto-fill.
11370 (octave--indent-new-comment-line): New function.
11371 (octave-indent-new-comment-line): Use it (indirectly).
11372 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11373 modify comment-line-break-function.
11374
11375 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11376 (smie-setup): Use add-function to set it.
11377
9631677d
SS
113782013-05-24 Sam Steingold <sds@gnu.org>
11379
11380 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11381 argument (before the `interactive' argument).
11382
50105835
SM
113832013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 * image-mode.el (image-mode-winprops): Add winprops to
11386 image-mode-winprops-alist before running
11387 image-mode-new-window-functions.
11388 * doc-view.el (doc-view-new-window-function): Don't delay
11389 doc-view-goto-page via timers (bug#14435).
11390
57b9823e
TH
113912013-05-24 Tassilo Horn <tsdh@gnu.org>
11392
11393 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11394 (doc-view-desktop-save-buffer): New function.
11395 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11396 (desktop-buffer-mode-handlers):
11397 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11398 handler.
11399 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11400 `desktop-save-buffer' function.
11401
91aafa16
MA
114022013-05-24 Michael Albinus <michael.albinus@gmx.de>
11403
11404 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11405 (tramp-gvfs-file-name-handler): Raise a user error when
11406 `tramp-gvfs-enabled' is nil.
11407 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11408 Do not raise a user error when loading package. (Bug#14447)
11409
ec076379
MA
11410 * net/xesam.el: Move to obsolete/.
11411
db785726
GM
114122013-05-24 Glenn Morris <rgm@gnu.org>
11413
af5c7606
GM
11414 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11415
e5d1916a
GM
11416 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11417
ded62b08
GM
11418 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11419 (Info-find-node, Man-getpage-in-background): Declare.
11420
9e614a3f
GM
11421 * mail/unrmail.el (unrmail):
11422 Replace obsolete detect-coding-with-priority.
11423
892f8ca3
GM
11424 * net/socks.el (socks-split-string): Use this rather than split-string.
11425 (socks-nslookup-host): Update for above change.
11426 (dynamic-choice, s5-dynamic-choice-match)
11427 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11428 Comment out unused code.
11429
3c291973
GM
11430 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11431 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11432 (gud-tooltip-echo-area): Make obsolete.
11433 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11434
43cc956b
GM
11435 * progmodes/js.el (js--optimize-arglist): Declare.
11436
dab49a3b
GM
11437 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11438
36b9d085
GM
11439 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11440 (ediff-window-C): Declare.
11441
e354ae76
GM
11442 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11443 Tweak requires to silence compiler.
11444
b8e57bf4
GM
11445 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11446 (he-search-string, he-tried-table, he-expand-list)
11447 (he-init-string, he-string-member, he-substitute-string)
11448 (he-reset-string): Declare.
11449
db785726
GM
11450 * obsolete/options.el (list-options): Use custom-variable-p,
11451 rather than obsolete alias.
11452
b3531901
SS
114532013-05-23 Sam Steingold <sds@gnu.org>
11454
11455 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11456 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11457 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11458
bdda4c66
SM
114592013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11460
11461 * emacs-lisp/smie.el (smie-indent-forward-token)
11462 (smie-indent-backward-token): Handle string tokens (bug#14381).
11463
c43d45f9
TH
114642013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11465
fe1eb856
RS
11466 * ielm.el (ielm-menu): New menu.
11467 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11468
fe1eb856
RS
114692013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11470
a12bf61e 11471 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11472 Fix deactivate action.
11473
a12bf61e 11474 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11475 Add cleveref macros.
074dd971 11476
a12bf61e 11477 * textmodes/reftex-parse.el
c43d45f9
TH
11478 (reftex-locate-bibliography-files): Accept options for
11479 bibliography commands.
a12bf61e 11480 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11481 Add addbibresource. Basic Biblatex support.
11482
7764286e
MA
114832013-05-23 Michael Albinus <michael.albinus@gmx.de>
11484
11485 * net/tramp-gvfs.el (top):
11486 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11487 when loading package. (Bug#14447)
11488
d361bc10
GM
114892013-05-23 Glenn Morris <rgm@gnu.org>
11490
8fa23984
GM
11491 * progmodes/js.el: No need to load comint when compiling.
11492 (ring-insert, comint-send-string, comint-send-input)
11493 (comint-last-input-end, ido-chop): Declare.
11494
a5c7df1a
GM
11495 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11496 * vc/ediff-mult.el: Adjust requires.
11497 (ediff-directories-internal, ediff-directory-revisions-internal)
11498 (ediff-patch-file-internal): Declare.
11499 * vc/ediff-ptch.el: Adjust requires.
11500 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11501 (ediff-find-file): Autoload.
11502 * vc/ediff-util.el: No need to load ediff when compiling.
11503 (ediff-regions-internal): Declare.
11504 * vc/ediff-wind.el: Adjust requires.
11505 (ediff-compute-toolbar-width): Define when compiling.
11506 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11507 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11508 (dired-get-filename, dired-get-marked-files)
11509 (ediff-last-dir-patch, ediff-patch-default-directory)
11510 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11511 (ediff-patch-buffer-internal): Declare.
11512
e2aec513
GM
11513 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11514 (ispell-process, ispell-buffer-local-words, lm-summary)
11515 (lm-section-start, lm-section-end): Declare.
11516 (checkdoc-ispell-init): Simplify.
11517
e68bbd7c
GM
11518 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11519 (he-string-member, he-reset-string, he-substitute-string): Declare.
11520
7efe0991
GM
11521 * eshell/em-ls.el: Adjust requires.
11522 (eshell-glob-regexp): Declare.
f87b1284
GM
11523 * eshell/em-tramp.el: Adjust requires.
11524 (eshell-parse-command): Autoload.
11525 * eshell/em-xtra.el: Adjust requires.
11526 (eshell-parse-command): Autoload.
11527 * eshell/esh-ext.el: Adjust requires.
11528 (eshell-parse-command, eshell-close-handles): Autoload.
11529 * eshell/esh-io.el: Adjust requires.
11530 (eshell-output-filter): Autoload.
11531 * eshell/esh-util.el: No need to load tramp when compiling.
11532 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11533 Declare.
11534 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11535 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11536 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11537 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11538 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11539 * eshell/esh-opt.el, eshell/esh-proc.el:
11540 * eshell/esh-var.el: Adjust requires.
11541 * eshell/eshell.el: Do not require esh-util twice.
11542 (eshell-add-input-to-history): Declare.
11543 (eshell-command): Check history module is active before using it.
11544
d361bc10
GM
11545 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11546
85d090a9
LL
115472013-05-22 Leo Liu <sdl.web@gmail.com>
11548
11549 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11550
5d0acd9d
MA
115512013-05-22 Michael Albinus <michael.albinus@gmx.de>
11552
11553 * autorevert.el (auto-revert-notify-add-watch)
11554 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11555 it indicates changes in file modification time.
11556
0cdffd7d
GM
115572013-05-22 Glenn Morris <rgm@gnu.org>
11558
ca5995ec
GM
11559 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11560 Always delete the autoloaded function from the noruntime and
11561 unresolved functions lists.
11562
6450907e
GM
11563 * allout.el: No need to load epa, epg, overlay when compiling.
11564 (epg-context-set-passphrase-callback, epg-list-keys)
11565 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11566 (epg-key-user-id-list): Declare.
11567
9c6906f6
GM
11568 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11569 (viper-set-parsing-style-toggling-macro)
11570 (viper-set-emacs-state-searchstyle-macros):
11571 Use called-interactively-p on Emacs.
11572 (viper-looking-back): Make it an obsolete alias. Update callers.
11573 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11574 Use looking-back rather than viper-looking-back.
11575 (viper-tmp-insert-at-eob, viper-enlarge-region)
11576 (viper-read-string-with-history, viper-register-to-point)
11577 (viper-append-to-register, viper-change-state-to-vi)
11578 (viper-backward-char-carefully, viper-forward-char-carefully)
11579 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11580 (viper-change-state-to-emacs): Declare.
11581 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11582 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11583 * emulation/viper-mous.el: Do not load viper-cmd.
11584 (viper-backward-char-carefully, viper-forward-char-carefully)
11585 (viper-forward-word, viper-adjust-window): Declare.
11586
5f70c169
GM
11587 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11588
b1b7f300
GM
11589 * progmodes/idlw-help.el (idlwave-help-fontify):
11590 Use called-interactively-p.
11591
f6ebbb46
GM
11592 * term/w32console.el (w32-get-console-codepage)
11593 (w32-get-console-output-codepage): Declare.
11594
0cdffd7d
GM
11595 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11596 Remove unnecessary declarations.
11597 (dframe-message): Doc fix.
11598
11599 * info.el (dframe-select-attached-frame, dframe-current-frame):
11600 Declare.
11601
11602 * speedbar.el (speedbar-message): Make it an obsolete alias.
11603 Update all callers.
11604 (speedbar-with-attached-buffer)
11605 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11606 (speedbar-with-writable): Use backquote.
11607 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11608 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11609 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11610 rather than speedbar- aliases.
11611 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11612 (speedbar-make-specialized-keymap, speedbar-insert-button)
11613 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11614 (speedbar-do-function-pointer): Declare.
11615 (rmail-speedbar-button, rmail-speedbar-find-file)
11616 (rmail-speedbar-move-message):
11617 Use dframe-with-attached-buffer rather than speedbar- alias.
11618 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11619 (dframe-message, speedbar-make-specialized-keymap)
11620 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11621 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11622 (speedbar-insert-button, dframe-select-attached-frame)
11623 (dframe-maybee-jump-to-attached-frame)
11624 (speedbar-change-initial-expansion-list)
11625 (speedbar-previously-used-expansion-list-name): Declare.
11626 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11627 Use dframe-message, dframe-with-attached-buffer rather than
11628 speedbar- aliases.
11629 (gud-sentinel): Silence compiler.
11630 * progmodes/vhdl-mode.el (speedbar-refresh)
11631 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11632 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11633 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11634 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11635 (speedbar-file-lists, speedbar-make-tag-line)
11636 (speedbar-line-directory, speedbar-goto-this-file)
11637 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11638 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11639 (speedbar-make-button, speedbar-reset-scanners)
11640 (speedbar-files-item-info, speedbar-line-text)
11641 (speedbar-find-file-in-frame, speedbar-set-timer)
11642 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11643 (speedbar-with-writable): Do not (re)define it.
11644 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11645 rather than speedbar- alias.
11646
ee44b62a
LL
116472013-05-21 Leo Liu <sdl.web@gmail.com>
11648
11649 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11650 menu items.
11651 (octave-mode): Tweak fill-nobreak-predicate.
11652 (inferior-octave-startup): Check process to avoid infinite loop.
11653 (inferior-octave): Pop to buffer first to show abornmal process
11654 exit information.
11655
640f050f
GM
116562013-05-21 Glenn Morris <rgm@gnu.org>
11657
79458038
GM
11658 * printing.el (pr-menu-bar): Define when compiling.
11659
9cc3e83f
LL
116602013-05-21 Leo Liu <sdl.web@gmail.com>
11661
11662 * progmodes/octave.el (octave-auto-fill): Remove.
11663 (octave-indent-new-comment-line): Improve.
11664 (octave-mode): Use auto fill mode through
4f405069 11665 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11666 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11667 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11668 (octave-help): Show parent directory.
11669
f440830d
GM
116702013-05-21 Glenn Morris <rgm@gnu.org>
11671
11672 * files.el (dired-unmark):
11673 * progmodes/gud.el (gdb-input): Update declarations.
11674
11675 * calculator.el (electric, ehelp): No need to load when compiling.
11676 (Electric-command-loop, electric-describe-mode): Declare.
11677
11678 * doc-view.el (doc-view-current-converter-processes): Move before use.
11679
11680 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11681 Move MODE-set-explicitly definition before use.
11682
11683 * international/mule-diag.el (mule-diag):
11684 Don't use obsolete window-system-version.
11685
11686 * mail/feedmail.el (smtpmail): No need to load when compiling.
11687 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11688
11689 * mail/mail-utils.el (rfc822): No need to load when compiling.
11690 (rfc822-addresses): Autoload it.
11691 (mail-strip-quoted-names): Trivial simplification.
11692
11693 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11694 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11695
11696 * net/snmp-mode.el (tempo): Don't duplicate requires.
11697
11698 * progmodes/prolog.el (info): No need to load when compiling.
11699 (comint): Require before shell requires it.
11700 (Info-goto-node): Autoload it.
11701 (Info-follow-nearest-node): Declare.
11702 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11703
11704 * textmodes/artist.el (picture-mode-exit): Declare.
11705
11706 * textmodes/reftex-parse.el (reftex-parse-from-file):
11707 Trivial rewrite so the compiler can parse it better.
11708
b4da2cbb
LL
117092013-05-20 Leo Liu <sdl.web@gmail.com>
11710
11711 * progmodes/octave.el (octave-help-mode-map)
11712 (octave-help-mode-finish-hook): New variables.
11713 (octave-help-mode, octave-help-mode-finish): New functions.
11714 (octave-help): Use octave-help-mode.
11715
33c0f65b
GM
117162013-05-20 Glenn Morris <rgm@gnu.org>
11717
11718 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11719
1a0a0a8a
DG
117202013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11721
11722 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11723 start at point, so that expansion starting right after opening
11724 slash in a regexp is recognized.
11725 (ruby-syntax-before-regexp-re): New defvar, extracted from
11726 ruby-syntax-propertize-function. Since the value of this regexp
11727 is looked up at runtime now, we should be able to turn
11728 `ruby-syntax-methods-before-regexp' into a defcustom later.
11729 (ruby-syntax-propertize-function): Split regexp matching into two
11730 parts, for opening and closing slashes. That allows us to skip
11731 over string interpolations and support multiline regexps.
11732 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11733 for them, which calls `ruby-syntax-propertize-expansion'.
11734 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11735 call to `ruby-syntax-propertize-function'.
11736 (ruby-syntax-propertize-expansion): Extracted from
11737 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
11738 (ruby-syntax-propertize-percent-literal): Leave point right after
11739 the percent symbol, so that the expression expansion rule can
11740 propertize the contents.
462388b6
DG
11741 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11742 heredoc openers.
11743 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 11744
c1a6c0a4
JL
117452013-05-18 Juri Linkov <juri@jurta.org>
11746
11747 * man.el (Man-default-man-entry): Remove `-' from the end
11748 of the default value. (Bug#14400)
11749
8051fccd
GM
117502013-05-18 Glenn Morris <rgm@gnu.org>
11751
11752 * comint.el (comint-password-prompt-regexp):
11753 Allow "password for XXX" where XXX contains colons (eg https://...).
11754
5e80b74f
LL
117552013-05-18 Leo Liu <sdl.web@gmail.com>
11756
11757 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 11758 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
11759 (octave-source-directories): Don't check process.
11760 (octave-source-directories, octave-find-definition): Doc fix.
11761
521a54c5
GM
117622013-05-18 Glenn Morris <rgm@gnu.org>
11763
86a94b05
GM
11764 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11765 Remove backspace/delete bindings. (Bug#14392)
11766
521a54c5
GM
11767 * cus-dep.el (custom-make-dependencies): Sort the output.
11768 (custom-versions-load-alist): Convert comment to doc.
11769
42caeb89
LL
117702013-05-17 Leo Liu <sdl.web@gmail.com>
11771
11772 * newcomment.el (comment-search-backward): Stricter in finding
11773 comment start. (Bug#14303)
11774
11775 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11776 (octave-comment-start-skip): Properly anchored.
11777
e219dd97
LL
117782013-05-17 Leo Liu <sdl.web@gmail.com>
11779
fe1eb856
RS
11780 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11781 Clean up when turned off. (Bug#14395)
e219dd97
LL
11782 (smie--highlight-matching-block-overlay): No longer buffer-local.
11783 (smie-highlight-matching-block): Adjust.
11784
dc5dcb4b
PE
117852013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11786
11787 Doc string fix for "nanoseconds" (Bug#14406).
11788 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11789 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11790
1db165f0
JB
117912013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11792
11793 * calc/calc-units.el (math-extract-units): Preserve powers
11794 of units.
11795
c7a8fcac
LL
117962013-05-17 Leo Liu <sdl.web@gmail.com>
11797
11798 * subr.el (delete-consecutive-dups): New function.
11799 * ido.el (ido-set-matches-1): Use it.
11800 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11801 * ido.el (ido-remove-consecutive-dups): Remove.
11802
f678b18a
SM
118032013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11804
11805 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11806 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11807 regexp-opt's `words'.
11808
ebfe68e8
LL
118092013-05-16 Leo Liu <sdl.web@gmail.com>
11810
11811 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11812 (smie--highlight-matching-block-overlay)
11813 (smie--highlight-matching-block-lastpos)
11814 (smie--highlight-matching-block-timer): New variables.
11815 (smie-highlight-matching-block): New function.
11816 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11817 (smie-setup): Conditionally enable smie-blink-matching-open.
11818
bc8bc17d
WS
118192013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11820
11821 Sync with upstream verilog-mode r840.
11822 * progmodes/verilog-mode.el (verilog-mode-version)
11823 (verilog-mode-release-date): Update.
11824 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11825 (verilog-sig-tieoff): Fix string error on
11826 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11827 (verilog-read-decls): Fix parameters confusing
11828 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11829
df065a0b
EZ
118302013-05-16 Eli Zaretskii <eliz@gnu.org>
11831
11832 * subr.el (reveal-filename): New function.
11833
11834 * loadup.el: Compute Emacs executable versions on MS-Windows,
11835 where executables have the .exe extension. Add a hard link
11836 emacs-XX.YY.ZZ.exe on MS-Windows.
11837
11838 * Makefile.in (XARGS_LIMIT): New variable.
11839 (custom-deps, finder-data, autoloads)
11840 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11841 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11842 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11843 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11844
2d4bf34b
LL
118452013-05-16 Leo Liu <sdl.web@gmail.com>
11846
11847 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11848 (octave-mode-menu, octave-mode-map): Remove its uses.
11849
6b9c2d85
RZ
118502013-05-16 Reto Zimmermann <reto@gnu.org>
11851
11852 Sync with upstream vhdl mode v3.34.2.
11853 * progmodes/vhdl-mode.el: Use `push' throughout.
11854 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11855 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11856 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11857 (vhdl-actual-generic-name): New option to derive actual generic name.
11858 (vhdl-port-paste-signals): Replace formal by actual generics.
11859 (vhdl-beautify): New name for old group vhdl-align. Update users.
11860 (vhdl-beautify-options): New option.
11861 (vhdl-last-input-event): New compat alias. Use throughout.
11862 (vhdl-goto-line): Replace user level function `goto-line'.
11863 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11864 vhdl-fix-statement-buffer.
11865 (vhdl-create-mode-menu): Add some entries.
11866 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11867 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11868 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11869 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11870 to force statements on one line.
11871 (vhdl-remove-trailing-spaces-region):
11872 New, split from vhdl-remove-trailing-spaces.
11873 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11874 Respect vhdl-beautify-options.
11875 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11876 (vhdl-update-sensitivity-list): Not add with index if exists without.
11877 Not include array index with signal. Ignore keywords in comments.
11878 (vhdl-get-visible-signals): Regexp tweaks.
11879 (vhdl-template-component-inst): Handle empty library.
11880 (vhdl-template-type): Add template for 'enum' type.
11881 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11882 Use vhdl-replace-string.
11883 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11884 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11885 (vhdl-speedbar-initialize): Update for above name change.
11886 (vhdl-compose-wire-components): Fix in handling of constants.
11887 (vhdl-error-regexp-emacs-alist): New variable.
11888 (vhdl-error-regexp-add-emacs): New function;
11889 adds support for new compile.el (Emacs 22+)
11890 (vhdl-generate-makefile-1): Change target order for single lib. units.
11891 Allow use of absolute file names.
11892
9df4ec5e
LL
118932013-05-16 Leo Liu <sdl.web@gmail.com>
11894
11895 * simple.el (prog-indent-sexp): Indent enclosing defun.
11896
f5ba00a6
GM
118972013-05-15 Glenn Morris <rgm@gnu.org>
11898
ed8be7ff
GM
11899 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11900 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11901 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11902 (whitespace-highlight): Move to whitespace group.
11903
11904 * comint.el (comint-source):
11905 * pcmpl-linux.el (pcmpl-linux):
11906 * shell.el (shell-faces):
11907 * eshell/esh-opt.el (eshell-opt):
11908 * international/ccl.el (ccl): Remove empty custom groups.
11909
11910 * completion.el (dynamic-completion-mode):
11911 * jit-lock.el (jit-lock-debug-mode):
11912 * minibuffer.el (completion-in-region-mode):
11913 * type-break.el (type-break-mode-line-message-mode)
11914 (type-break-query-mode):
11915 * emulation/tpu-edt.el (tpu-edt-mode):
11916 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11917 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11918 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11919
11920 * term/xterm.el (xterm): Change parent group to terminals.
11921
11922 * master.el (master): Remove empty custom group.
11923 (master-mode): Remove unused :group argument.
11924 * textmodes/refill.el (refill): Remove empty custom group.
11925 (refill-mode): Remove unused :group argument.
11926
11927 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11928
82a7c41b
GM
11929 * cus-dep.el: Provide a feature.
11930 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11931 Don't mistakenly ignore files whose basenames match a basename
11932 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11933 Add a fallback method for getting :group.
f5ba00a6 11934
6d65486d
JL
119352013-05-15 Juri Linkov <juri@jurta.org>
11936
da547b32
JL
11937 * isearch.el (isearch-char-by-name): Rename from
11938 `isearch-insert-char-by-name'. Doc fix.
11939 (isearch-forward): Mention `isearch-char-by-name' in
11940 the docstring. (Bug#13348)
11941
6d65486d
JL
11942 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11943 `exit-minibuffer' instead of
11944 `isearch-nonincremental-exit-minibuffer'.
11945 (isearch-edit-string): Remove mention of
11946 `isearch-nonincremental-exit-minibuffer' from docstring.
11947 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11948 (isearch-forward-exit-minibuffer)
11949 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11950
c9990474
SM
119512013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11952
6e911150
SM
11953 * loadup.el: Just use unversioned DOC.
11954
c9990474
SM
11955 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11956 literals as extending to EOB.
11957 (nxml-last-fontify-end): Remove unused variable.
11958 (nxml-after-change1): Use with-silent-modifications.
11959 (nxml-extend-after-change-region): Simplify.
11960 (nxml-extend-after-change-region1): Remove function.
11961 (nxml-after-change1): Don't adjust for dependent regions.
11962 (nxml-fontify-matcher): Simplify.
11963 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11964 (xmltok-add-dependent): Remove function.
11965 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11966 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11967 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11968 unclosed <[[, <?, comment, and other literals as extending to EOB.
11969 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11970 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11971 Remove functions.
11972 (rng-do-some-validation-1): Don't mark dependent regions.
11973 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11974 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11975 (nxml-clear-dependent-regions): Remove functions.
11976 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11977 (nxml-ensure-scan-up-to-date):
11978 Don't clear&mark dependent regions.
11979
e3772e98
LL
119802013-05-15 Leo Liu <sdl.web@gmail.com>
11981
c9990474
SM
11982 * progmodes/octave.el (octave-goto-function-definition):
11983 Improve and fix callers.
e3772e98 11984
5ac2eb34
SM
119852013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11986
c46c57b0
SM
11987 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11988 the setter (bug#14387).
11989
5ac2eb34
SM
11990 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11991 surrounding group (bug#14402).
11992
180ed218
JL
119932013-05-14 Juri Linkov <juri@jurta.org>
11994
11995 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11996 (Bug#14390)
11997
0ac0fecb
GM
119982013-05-14 Glenn Morris <rgm@gnu.org>
11999
12000 * progmodes/f90.el (f90-imenu-generic-expression):
12001 Fix typo in 2013-05-08 change. (Bug#14402)
12002
2e78e6a7
JPG
120032013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12004
5ac2eb34
SM
12005 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12006 Remove signals for which replies are never received.
2e78e6a7 12007
53267cca
JPG
120082013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12009
12010 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12011 (gdb-handler-alist, gdb-handler-number): Remove variables.
12012 (gdb-handler-list): New variable.
12013 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12014 (gdb-pending-handler-p, gdb-handle-reply)
12015 (gdb-remove-all-pending-triggers): New functions.
12016 (gdb-discard-unordered-replies): New defcustom.
12017 (gdb-handler): New defstruct.
12018 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12019 instead of gdb-pending-triggers. Update docstring.
12020 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12021 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12022 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12023 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12024 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12025 (gdb-frame-handler): Pending triggers are now automatically managed.
12026 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12027 Remove argument.
12028 (gdb-input): Automatically handles pending triggers. Update docstring.
12029 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12030 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12031 Update comments.
12032 (gdb-done-or-error): Now use gdb-handle-reply.
12033
d04ce803
JPG
120342013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12035
12036 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12037 gdb-debug-log.
12038
0114073a
GM
120392013-05-14 Glenn Morris <rgm@gnu.org>
12040
12041 * subr.el (user-emacs-directory-warning): New option.
12042 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12043
4d25fd7e
LL
120442013-05-14 Leo Liu <sdl.web@gmail.com>
12045
12046 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12047 during redisplay.
12048 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12049 (octave-font-lock-texinfo-comment): Fix invalid search bound
12050 error: wrong side of point.
4d25fd7e 12051
27c8b6eb
GM
120522013-05-14 Glenn Morris <rgm@gnu.org>
12053
61aaeb01
GM
12054 * progmodes/flymake.el (flymake-xml-program): New option.
12055 (flymake-xml-init): Use it.
12056
5bf90bc5
GM
12057 * term/xterm.el: Provide a feature.
12058
12059 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12060
f4c7dfd2
GM
120612013-05-13 Glenn Morris <rgm@gnu.org>
12062
12063 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12064 Add compat aliases as a hack workaround. (Bug#14384)
12065
2aeb3a1d
LL
120662013-05-13 Leo Liu <sdl.web@gmail.com>
12067
b0e069c2
LL
12068 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12069 ###, and %!.
f5a9432f
LL
12070 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12071 C-M-q.
b0e069c2
LL
12072 (octave-comment-start-skip): Include %!.
12073 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12074
30ea8374
LL
120752013-05-12 Leo Liu <sdl.web@gmail.com>
12076
12077 * progmodes/octave.el (inferior-octave-startup): Store the value
12078 of __octave_srcdir__ for octave-source-directories.
12079 (inferior-octave-check-process): New function refactored out of
12080 inferior-octave-send-list-and-digest.
12081 (octave-source-directories)
12082 (octave-find-definition-filename-function): New variables.
12083 (octave-source-directories)
12084 (octave-find-definition-default-filename): New functions.
12085 (octave-find-definition): Improve to find functions implemented in C++.
12086
472a3834
GM
120872013-05-12 Glenn Morris <rgm@gnu.org>
12088
12089 * calendar/diary-lib.el (diary-outlook-format-1):
12090 Don't include dayname in the output. (Bug#14349)
12091
3191b52f
GM
120922013-05-11 Glenn Morris <rgm@gnu.org>
12093
0060ac73
GM
12094 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12095
3191b52f
GM
12096 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12097 Treat cc-provide like provide.
12098
e065ba74
KR
120992013-05-11 Kevin Ryde <user42@zip.com.au>
12100
12101 * cus-dep.el (custom-make-dependencies):
12102 Use generated-autoload-load-name for the sake of files such
12103 such cedet/semantic/bovine/c.el, where the base file name
12104 is not in load-path. (Bug#5277)
12105
36f84c37
GM
121062013-05-11 Glenn Morris <rgm@gnu.org>
12107
12108 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12109 Provide features.
12110
c8730c3a
LL
121112013-05-11 Leo Liu <sdl.web@gmail.com>
12112
12113 * progmodes/octave.el (octave-indent-comment): Improve.
12114 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12115 (octave-eldoc-function-signatures, octave-eldoc-function):
12116 New functions.
c8730c3a
LL
12117 (octave-mode, inferior-octave-mode): Add eldoc support.
12118
212e29f2
RS
121192013-05-11 Richard Stallman <rms@gnu.org>
12120
12121 * epa.el (epa-decrypt-file): Take output file name as argument
12122 and read it using `interactive'.
12123
083fe0d7
LL
121242013-05-11 Leo Liu <sdl.web@gmail.com>
12125
12126 * progmodes/octave.el (octave-beginning-of-line)
12127 (octave-end-of-line): Check before using up-list because it jumps
12128 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12129 (octave-indent-comment): New function.
12130 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12131 (octave-begin-keywords, octave-end-keywords)
12132 (octave-reserved-words, octave-smie-bnf-table)
12133 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12134
8582e4c4
GM
121352013-05-11 Glenn Morris <rgm@gnu.org>
12136
f20def1f
GM
12137 * faces.el (internal-face-x-get-resource):
12138 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12139 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12140 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12141 Fix declarations.
f20def1f 12142
445f95e2
GM
12143 * calc/calc-menu.el: Make it loadable in isolation.
12144
12145 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12146 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12147 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12148 (eudc-bbdb-query-internal): Require 'bbdb.
12149
99fb2756
GM
12150 * lpr.el (lpr-headers-switches):
12151 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12152
12153 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12154
0da7ad96
GM
12155 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12156
8582e4c4
GM
12157 * term.el (term-set-escape-char): Make it idempotent.
12158
f71c50d0
LL
121592013-05-10 Leo Liu <sdl.web@gmail.com>
12160
5ac2eb34
SM
12161 * progmodes/octave.el (inferior-octave-completion-table):
12162 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12163 completion due to bug#11906.
12164 (octave-beginning-of-defun): Re-write to be more general.
12165
d5837773
GM
121662013-05-10 Glenn Morris <rgm@gnu.org>
12167
12168 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12169
027c0f75
SM
121702013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * comint.el (comint-redirect-send-command-to-process): Use :around
12173 rather than :override for comint-redirect-filter.
12174 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12175 Call it instead of comint-redirect-original-filter-function (which
12176 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12177
4465bfb4
JD
121782013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12179
12180 * frame.el (display-monitor-attributes-list): Add NS case.
12181 (ns-display-monitor-attributes-list): Declare.
12182
2d809ffa 121832013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12184
12185 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12186
e54eeb9b
GM
121872013-05-09 Glenn Morris <rgm@gnu.org>
12188
56cd351d
GM
12189 * international/fontset.el (vertical-centering-font-regexp):
12190 Set standard-value.
12191
d84b6108
GM
12192 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12193
a931698a
GM
12194 * bookmark.el (bookmark-search-delay):
12195 * cus-start.el (vertical-centering-font-regexp):
12196 * ps-mule.el (ps-mule-font-info-database-default):
12197 * ps-print.el (ps-default-fg, ps-default-bg):
12198 * type-break.el (type-break-good-break-interval):
12199 * whitespace.el (whitespace-indentation-regexp)
12200 (whitespace-space-after-tab-regexp):
12201 * emacs-lisp/testcover.el (testcover-1value-functions)
12202 (testcover-noreturn-functions, testcover-progn-functions)
12203 (testcover-prog1-functions):
12204 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12205 * eshell/em-glob.el (eshell-glob-translate-alist):
12206 * play/tetris.el (tetris-tty-colors):
12207 * progmodes/cpp.el (cpp-face-default-list):
12208 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12209 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12210 (idlwave-help-browser-generic-args):
12211 * progmodes/make-mode.el (makefile-special-targets-list):
12212 * progmodes/python.el (python-shell-virtualenv-path):
12213 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12214 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12215 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12216 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12217 * textmodes/reftex-vars.el (reftex-format-label-function):
12218 * textmodes/remember.el (remember-diary-file): Fix custom types.
12219
e54eeb9b
GM
12220 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12221 Add :version.
12222
455851dd
LL
122232013-05-09 Leo Liu <sdl.web@gmail.com>
12224
12225 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12226 Restore file completion. (Bug#14300)
455851dd
LL
12227 (inferior-octave-startup): Fix incorrect highlighting for the
12228 first prompt.
12229
a9e4425b
SM
122302013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * progmodes/ruby-mode.el: First cut at SMIE support.
12233 (ruby-use-smie): New var.
12234 (ruby-smie-grammar): New constant.
12235 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12236 (ruby-smie--forward-token, ruby-smie--backward-token)
12237 (ruby-smie-rules): New functions.
12238 (ruby-mode-variables): Setup SMIE if applicable.
12239
060ca408
EZ
122402013-05-08 Eli Zaretskii <eliz@gnu.org>
12241
12242 * simple.el (line-move-visual): Signal beginning/end of buffer
12243 only if vertical-motion moved less than it was requested. Avoids
12244 silly incorrect error messages when there are display strings with
12245 multiple newlines at EOL.
12246
1d5963cc
SM
122472013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12250 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12251 (prolog-char-quote-workaround):
12252 * progmodes/cperl-mode.el (cperl-under-as-char):
12253 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12254 Mark as obsolete.
12255 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12256 their declaration.
12257 (vhdl-mode-syntax-table-init): Remove.
12258
c9990474
SM
12259 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12260 last change.
1d5963cc
SM
12261
12262 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12263 syntax for "_".
12264 (ld-script-font-lock-keywords):
12265 Change regexps to use things like \_< and \_>.
12266
12267 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12268 Change all regexps to use things like \_< and \_>.
12269
12270 * progmodes/autoconf.el (autoconf-definition-regexp)
12271 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12272 Handle a _ with symbol syntax.
12273 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12274
c9990474
SM
12275 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12276 Consolidate declaration.
1d5963cc
SM
12277 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12278 the declaration.
12279 (ada-create-syntax-table): Remove.
12280 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12281 already has the right syntax nowadays.
12282 (ada-goto-next-word): Don't change the syntax of "_".
12283
12284 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12285 with-wrapper-hook.
12286
72d3cfca
SS
122872013-05-08 Sam Steingold <sds@gnu.org>
12288
12289 * thingatpt.el (thing-at-point): Accept optional second argument
12290 NO-PROPERTIES to strip the text properties from the return value.
12291 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12292 to `thing-at-point' instead of stripping the properties ourselves.
12293 Also, when `thing-at-point' fails to find a url, prepend "http://"
12294 to the filename at point on the assumption that the user is
12295 pointing at something like gnu.org/gnu.
12296
5cb15713
JB
122972013-05-08 Juanma Barranquero <lekktu@gmail.com>
12298
12299 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12300 * faces.el (crm-separator):
12301 Silence byte-compiler.
12302
12303 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12304 (tool-bar-map): Remove unneeded defvars.
12305
ea78b95b
LL
123062013-05-08 Leo Liu <sdl.web@gmail.com>
12307
12308 Re-work a fix for bug#10994 based on Le Wang's patch.
12309 * ido.el (ido-remove-consecutive-dups): New helper.
12310 (ido-completing-read): Use it.
12311 (ido-chop): Revert fix for bug#10994.
12312
dc7466df
AS
123132013-05-08 Adam Spiers <emacs@adamspiers.org>
12314
12315 * cus-edit.el (custom-save-variables):
12316 Pretty-print long values. (Bug#14187)
12317
9ecf672a
GM
123182013-05-08 Glenn Morris <rgm@gnu.org>
12319
12320 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12321 (m4-mode-syntax-table): Init in the defvar.
12322 (m4-mode-abbrev-table): Let define-derived-mode define it.
12323
3f555be8
TT
123242013-05-08 Tom Tromey <tromey@redhat.com>
12325
12326 * progmodes/m4-mode.el (m4-mode-syntax-table):
12327 Do not treat "_" as word constituent. (Bug#14167)
12328
7cc8ae06
GM
123292013-05-07 Glenn Morris <rgm@gnu.org>
12330
4f58bc06
GM
12331 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12332 Remove explicit eshell-isearch-cancel-map.
12333
7cc8ae06
GM
12334 * progmodes/f90.el (f90-smart-end-names): New option.
12335 (f90-smart-end): Doc fix.
12336 (f90-end-block-optional-name): New constant.
12337 (f90-block-match): Respect f90-smart-end-names.
12338
ceb57e59
SM
123392013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12340
12341 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12342 about implicit semi-colons (bug#14218).
12343
4e3f9230
YM
123442013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12345
12346 * frame.el (display-monitor-attributes-list)
12347 (frame-monitor-attributes): New functions.
12348
203a5572
LL
123492013-05-06 Leo Liu <sdl.web@gmail.com>
12350
12351 * progmodes/octave.el (octave-syntax-propertize-function): Change
12352 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12353 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12354 (octave-completion-at-point): Rename from
203a5572
LL
12355 octave-completion-at-point-function.
12356 (inferior-octave-directory-tracker): Robustify.
12357 (octave-text-functions): Remove and fix its uses. No such things
12358 any more.
12359
ee6cff99
SM
123602013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12361
12362 * emacs-lisp/trace.el (trace--display-buffer): New function.
12363 (trace-make-advice): Use it.
12364
32985194
JL
123652013-05-06 Juri Linkov <juri@jurta.org>
12366
12367 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12368 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12369 Doc fix.
12370 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12371 in the help string. (Bug#12985)
12372
a1c700de
KD
123732013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12374
12375 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12376
c67c0839
SM
123772013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12378
323885fd
SM
12379 * progmodes/perl-mode.el: Add support for here documents.
12380 (perl-syntax-propertize-function): Match here-doc markers.
12381 (perl-syntax-propertize-special-constructs): Find their end.
12382 (perl-imenu-generic-expression): Use [:alnum:].
12383
c67c0839
SM
12384 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12385 (advice--add-function): Refresh the advice if already present
12386 (bug#14317).
12387
d491e7a8
IA
123882013-05-06 Ivan Andrus <darthandrus@gmail.com>
12389
12390 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12391
ddf9925e
GM
123922013-05-06 Glenn Morris <rgm@gnu.org>
12393
7cc3af27
GM
12394 * w32-fns.el (w32-charset-info-alist): Declare.
12395
16e343d6
GM
12396 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12397 of its defcustom properties.
12398 (eshell-cmpl-initialize): No need to load pcomplete.
12399
7d889a47
GM
12400 * generic-x.el: No need to require comint when compiling.
12401
ddf9925e
GM
12402 * net/eudc-export.el: Make it loadable without bbdb.
12403 (top-level): Use require rather than load-library.
12404 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12405 (eudc-batch-export-records-to-bbdb)
12406 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12407 Require bbdb.
12408
1e2c18df
SM
124092013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12412 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12413 some tweaks, instead.
12414
02502a5f
LL
124152013-05-05 Leo Liu <sdl.web@gmail.com>
12416
12417 * progmodes/octave.el (octave-font-lock-keywords)
12418 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12419 (inferior-octave-send-list-and-digest): Improve error message.
12420 (octave-mode, inferior-octave-mode): Use setq-local.
12421 (octave-help): Set info-lookup-mode.
12422
0dc04f42
RS
124232013-05-05 Richard Stallman <rms@gnu.org>
12424
6c54491c
RS
12425 * vc/compare-w.el (compare-windows-whitespace):
12426 Treat no-break space as whitespace.
12427
0dc04f42
RS
12428 * mail/rmailsum.el (rmail-summary-rmail-update):
12429 Detect empty summary and don't change selected message.
12430 (rmail-summary-goto-msg): Likewise.
12431
df8f35df
RS
12432 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12433 Doc fixes, rename args.
12434
5356e1a3
AM
124352013-05-05 Alan Mackenzie <acm@muc.de>
12436
12437 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12438
d44014cb
JL
124392013-05-05 Juri Linkov <juri@jurta.org>
12440
12441 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12442 to not add the length of the summary segment to the return value.
12443 (Bug#14125)
12444
c129b51f
LL
124452013-05-05 Leo Liu <sdl.web@gmail.com>
12446
12447 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12448 (inferior-octave-output-filter): Remove.
12449 (octave-send-region, inferior-octave-startup): Fix callers.
12450 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12451 (octave-binary-file-extensions): New user variable.
12452 (octave-find-definition): Confirm if opening binary files.
12453 (octave-help-file): Use octave-find-definition to get the binary
12454 confirmation.
12455 (octave-help): Adjust for octave-help-file change.
12456
aa7dab97
SM
124572013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12460 Merge the two entries that handle function definitions.
12461 (pascal--syntax-propertize): New const.
12462 (pascal-mode): Use it. Use setq-local.
12463
fd3a9a6b
GM
124642013-05-04 Glenn Morris <rgm@gnu.org>
12465
12466 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12467 (diary-from-outlook): Respect diary-from-outlook-function.
12468
30c7e542
SM
124692013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12470
12471 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12472 Move the declaration from C.
12473 (read-minibuffer, eval-minibuffer): Move from C.
12474 (completion-setup-function): Avoid minibuffer-completion-contents.
12475
b54f978b
LL
124762013-05-03 Leo Liu <sdl.web@gmail.com>
12477
12478 * progmodes/octave.el (octave-font-lock-keywords): Do not
12479 dehighlight 'end' in comments or strings.
30c7e542
SM
12480 (octave-completing-read, octave-goto-function-definition):
12481 New helpers.
d4d0f9b3
LL
12482 (octave-help-buffer): New user variable.
12483 (octave-help-file, octave-help-function): New button types.
12484 (octave-help): New command and bind it to C-h ;.
12485 (octave-find-definition): New command and bind it to M-.
d74a1581 12486 (user-error): Alias to error if not defined.
b54f978b 12487
27135018
LL
124882013-05-02 Leo Liu <sdl.web@gmail.com>
12489
12490 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12491 for \. (bug#14332)
12492 (octave-font-lock-keywords): Include [ and {.
12493
0d634d3a
LL
124942013-05-02 Leo Liu <sdl.web@gmail.com>
12495
12496 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12497 (inferior-octave): Remove calling comint-mode and return the buffer.
12498 (inferior-octave-startup): Cosmetic changes.
12499
b4c8295e
LL
125002013-05-02 Leo Liu <sdl.web@gmail.com>
12501
30c7e542
SM
12502 * progmodes/octave.el (octave-syntax-propertize-function):
12503 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12504
f12ad6ec
GM
125052013-05-02 Glenn Morris <rgm@gnu.org>
12506
12507 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12508 * desktop.el (vc-dir-mode): Just autoload it here.
12509
30cac1e0
AM
125102013-05-02 Alan Mackenzie <acm@muc.de>
12511
12512 Eliminate variable c-standard-font-lock-fontify-region-function.
12513 * progmodes/cc-mode.el
12514 (c-standard-font-lock-fontify-region-function): Remove.
12515 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12516
d8ef28b1
LL
125172013-05-01 Leo Liu <sdl.web@gmail.com>
12518
2640d52e 12519 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12520 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12521 variables were removed from Octave in 2007.
d8ef28b1
LL
12522 (inferior-octave-startup): Fix uses.
12523 (comint-line-beginning-position): Remove compatibility code for
12524 emacs 21.
12525
ac63ec89
JL
125262013-05-01 Juri Linkov <juri@jurta.org>
12527
12528 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12529
9e9be37c
JL
125302013-05-01 Juri Linkov <juri@jurta.org>
12531
12532 * comint.el (comint-previous-matching-input): Don't print message
12533 "History item: %d" when `isearch-mode' is active.
12534 (comint-history-isearch-message): Print message "History item: %d"
12535 when `comint-input-ring-index' is not empty and this function is
12536 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12537
9b92c13b
LL
125382013-05-01 Leo Liu <sdl.web@gmail.com>
12539
12540 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12541 definitions. Use completion-at-point to insert keywords.
12542 (octave-abbrev-start): Remove.
12543 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12544
b12d33d7
LL
125452013-04-30 Leo Liu <sdl.web@gmail.com>
12546
12547 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12548 change.
12549
3d1c39fa
AM
125502013-04-30 Alan Mackenzie <acm@muc.de>
12551
12552 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12553 * progmodes/cc-engine.el (c-back-over-member-initializers):
12554 new function.
3d1c39fa
AM
12555 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12556 (most) member init lists.
12557
5147fc17
RS
125582013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12559
12560 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12561 variable.
12562
5b78d7fc
LL
125632013-04-30 Leo Liu <sdl.web@gmail.com>
12564
12565 * progmodes/octave.el (octave-variables): Remove. No builtin
12566 variables any more. All converted to functions.
12567 (octave-font-lock-keywords, octave-completion-at-point-function):
12568 Fix uses.
12569 (octave-font-lock-texinfo-comment): New user variable.
12570 (octave-texinfo-font-lock-keywords): New variable for texinfo
12571 comment block.
12572 (octave-function-comment-block): New face.
12573 (octave-font-lock-texinfo-comment): New function.
12574 (octave-mode): Font lock texinfo comment block.
12575
38d8527b
LL
125762013-04-29 Leo Liu <sdl.web@gmail.com>
12577
12578 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12579 indexing expression.
12580 (octave-continuation-string): Do not use \.
12581 (inferior-octave-complete-impossible): Remove.
12582 (inferior-octave-completion-table)
12583 (inferior-octave-completion-at-point): Remove its uses.
12584 (inferior-octave-startup): completion_matches was introduced to
12585 Octave in 1996 so safe to assume it.
12586 (octave-function-file-comment): Improve to follow how Octave does it.
12587 (octave-update-function-file-comment): Tweak.
12588
2ec12cb0
LL
125892013-04-29 Leo Liu <sdl.web@gmail.com>
12590
12591 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12592 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12593 (octave-function-file-comment): Fix typo.
12594 (octave-sync-function-file-names): Use read-char-choice.
12595
6eaed048
JB
125962013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12597
12598 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12599 to t for the less important warnings.
12600
3ffa2d4f
DH
126012013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12602
12603 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12604
685c9501
GM
126052013-04-27 Glenn Morris <rgm@gnu.org>
12606
12607 * vc/log-view.el (log-view-current-entry):
12608 Treat "---" separator lines as part of the following rev. (Bug#14169)
12609
0208ede7
JL
126102013-04-27 Juri Linkov <juri@jurta.org>
12611
12612 * subr.el (read-number): Doc fix about using it by interactive
12613 code letter `n'. (Bug#14254)
12614
5db9dace
JL
126152013-04-27 Juri Linkov <juri@jurta.org>
12616
12617 * desktop.el (desktop-auto-save-timeout): New option.
12618 (desktop-file-checksum): New variable.
12619 (desktop-save): Add optional arg `auto-save' and don't auto-save
12620 if nothing changed.
12621 (desktop-auto-save-timer): New variable.
12622 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12623 (after-init-hook): Call `desktop-auto-save-set-timer'.
12624 Suggested by Reuben Thomas <rrt@sc3d.org> in
12625 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12626
b7260dd4
LL
126272013-04-27 Leo Liu <sdl.web@gmail.com>
12628
12629 * progmodes/octave.el (octave-function-file-p)
12630 (octave-skip-comment-forward, octave-function-file-comment)
12631 (octave-update-function-file-comment): New functions.
12632 (octave-mode-map): Bind C-c ; to
12633 octave-update-function-file-comment.
12634 (octave-mode-menu): Add octave-update-function-file-comment.
12635 (octave-mode, inferior-octave-mode): Fix doc-string.
12636 (octave-insert-defun): Conform to Octave's coding convention.
12637 (Bug#14285)
12638
12639 * files.el (basic-save-buffer): Don't let errors in
12640 before-save-hook prevent saving buffer.
12641
c46da669
RW
126422013-04-20 Roland Winkler <winkler@gnu.org>
12643
12644 * faces.el (read-face-name): Use completing-read if arg multiple
12645 is nil.
12646
a81ee1eb
IL
126472013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12648
12649 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12650 displayed, move point to after the totals line.
12651 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12652 for the details.
12653
4fac34ce
SM
126542013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12655
12656 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12657 Add current dir to the load-path.
12658 (package-generate-autoloads): Don't rely on
12659 autoload-ensure-default-file.
12660
f6bfc063
RT
126612013-04-26 Reuben Thomas <rrt@sc3d.org>
12662
d40ab5cf
BG
12663 * textmodes/remember.el (remember-store-in-files): Document that
12664 the file name format is passed to `format-time-string'.
f6bfc063 12665
e55d3b04
LL
126662013-04-26 Leo Liu <sdl.web@gmail.com>
12667
12668 * progmodes/octave.el (octave-sync-function-file-names): New function.
12669 (octave-mode): Use it in before-save-hook.
12670
e53052d3
SM
126712013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12672
140ef50c
SM
12673 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12674 (bug#14274).
12675
e53052d3
SM
12676 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12677 \n and comment, even if it's not an implicit ; (bug#14218).
12678
af80458d 126792013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12680
12681 * subr.el (read-number): Once more use `read' rather than
12682 `string-to-number', to trap non-numeric input. (Bug#14254)
12683
af80458d 126842013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12685
12686 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12687 Use `syntax-multiline' text property consistently instead of
8a621d53 12688 `font-lock-multiline'. (Bug#14237)
70203c2e 12689
e6ea1f6c
GM
126902013-04-26 Glenn Morris <rgm@gnu.org>
12691
12692 * emacs-lisp/shadow.el (list-load-path-shadows):
12693 No longer necessary to check for duplicate simple.el, since
12694 2012-07-07 change to init_lread to not include installation lisp
12695 directories in load-path when running uninstalled. (Bug#14270)
12696
070ccca4
LL
126972013-04-26 Leo Liu <sdl.web@gmail.com>
12698
12699 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12700 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12701 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12702 octave-in-string-or-comment-p.
12703 (octave-in-comment-p, octave-in-string-p)
12704 (octave-in-string-or-comment-p): Replace defsubst with defun.
12705
9d1c5fb6
PE
127062013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12707
12708 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12709
c034abda
BG
127102013-04-25 Bastien Guerry <bzg@gnu.org>
12711
12712 * textmodes/remember.el (remember-data-directory)
12713 (remember-directory-file-name-format): Fix custom types.
12714
584ea277
LL
127152013-04-25 Leo Liu <sdl.web@gmail.com>
12716
e53052d3
SM
12717 * progmodes/octave.el (octave-completion-at-point-function):
12718 Make use of inferior octave process.
584ea277
LL
12719 (octave-initialize-completions): Remove.
12720 (inferior-octave-completion-table): New function.
12721 (inferior-octave-completion-at-point): Use it.
12722 (octave-completion-alist): Remove.
12723
1693b06a
SM
127242013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12725
12726 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12727 (opascal-mode-syntax-table): New var.
12728 (opascal-literal-kind, opascal-is-literal-end)
12729 (opascal-literal-token-at): Rewrite.
12730 (opascal--literal-start-re, opascal-font-lock-keywords)
12731 (opascal--syntax-propertize): New constants.
12732 (opascal-font-lock-defaults): Adjust.
12733 (opascal-mode): Use them. Set comment-<foo> variables as well.
12734 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12735 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12736 (delphi-other-face, opascal-other-face): Remove face variables.
12737 (opascal-save-state): Remove macro.
12738 (opascal-fontifying-progress-step): Remove constant.
12739 (opascal--ignore-changes): Remove var.
12740 (opascal-set-token-property, opascal-parse-next-literal)
12741 (opascal-is-stable-literal, opascal-complete-literal)
12742 (opascal-is-literal-start, opascal-face-of)
12743 (opascal-parse-region, opascal-parse-region-until-stable)
12744 (opascal-fontify-region, opascal-after-change)
12745 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12746 (opascal-debug-parse-region, opascal-debug-parse-window)
12747 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12748 (opascal-debug-fontify-buffer): Remove.
12749 (opascal-debug-mode-map): Adjust accordingly.
12750
be64c05d
LL
127512013-04-25 Leo Liu <sdl.web@gmail.com>
12752
12753 Merge octave-mod.el and octave-inf.el into octave.el with some
12754 cleanups.
12755 * progmodes/octave.el: New file renamed from octave-mod.el.
12756 * progmodes/octave-inf.el: Merged into octave.el.
12757 * progmodes/octave-mod.el: Renamed to octave.el.
12758
d79d37bd
TH
127592013-04-25 Tassilo Horn <tsdh@gnu.org>
12760
12761 * textmodes/reftex-vars.el
12762 (reftex-label-ignored-macros-and-environments): New defcustom.
12763
12764 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12765
ced3fc5d
SM
127662013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12769 (smie-indent-keyword): Improve the check to ensure that the next
12770 comment is really on the same line.
12771 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12772
12773 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12774 semi-colons if the line is not otherwise empty (bug#14218).
12775
1c141dad
GM
127762013-04-25 Glenn Morris <rgm@gnu.org>
12777
12778 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12779
5058062a
SM
127802013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12781
12782 * progmodes/opascal.el (opascal-set-token-property): Rename from
12783 opascal-set-text-properties and only set `token' (bug#14134).
12784 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12785 (opascal-literal-text-properties): Remove.
12786 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12787 Adjust callers.
12788
5db9dace 127892013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12790
12791 * textmodes/remember.el (remember-handler-functions): Add an
12792 option for a new handler `remember-store-in-files'.
12793 (remember-data-directory, remember-directory-file-name-format):
12794 New options.
12795 (remember-store-in-files): New function to store remember notes
12796 as separate files within a directory.
12797
4391916c
MH
127982013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12799
12800 * progmodes/compile.el (compilation-next-error-function):
12801 Pass "formats" to compilation-find-file (bug#11777).
12802
bb7cdf58
GM
128032013-04-24 Glenn Morris <rgm@gnu.org>
12804
3b8fe752 12805 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12806 * vc/vc-hg.el (vc-hg-print-log):
12807 * vc/vc-svn.el (vc-svn-print-log):
12808 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12809
bb7cdf58
GM
12810 * vc/vc-bzr.el (vc-bzr-print-log):
12811 * vc/vc-cvs.el (vc-cvs-print-log):
12812 * vc/vc-git.el (vc-git-print-log):
12813 * vc/vc-hg.el (vc-hg-print-log):
12814 * vc/vc-mtn.el (vc-mtn-print-log):
12815 * vc/vc-rcs.el (vc-rcs-print-log):
12816 * vc/vc-sccs.el (vc-sccs-print-log):
12817 * vc/vc-svn.el (vc-svn-print-log):
12818 * vc/vc.el (vc-print-log-internal): Doc fixes.
12819
b46a056e
GM
128202013-04-23 Glenn Morris <rgm@gnu.org>
12821
12822 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12823 Remove venerable code attempting to avoid substitute-command-keys.
12824
0aecf718
TH
128252013-04-23 Tassilo Horn <tsdh@gnu.org>
12826
4391916c
MH
12827 * textmodes/reftex-vars.el (reftex-label-regexps):
12828 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12829
117f94cf
SM
128302013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12831
4391916c 12832 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12833 Use lexical-binding.
12834 (jit-lock-force-redisplay): Use markers, check buffer's continued
12835 existence and beware narrowed buffers.
12836 (jit-lock-fontify-now): Adjust call accordingly.
12837
1d829c64
SM
128382013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12839
12840 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12841 to avoid misleading the user.
12842
72d548a9
LL
128432013-04-22 Leo Liu <sdl.web@gmail.com>
12844
12845 * info-look.el: Prefer latex2e.info. (Bug#14240)
12846
d0853629
MA
128472013-04-22 Michael Albinus <michael.albinus@gmx.de>
12848
12849 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12850
12851 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12852 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12853 (tramp-set-completion-function, tramp-parse-putty):
12854 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12855 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12856 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12857 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12858 (tramp-call-local-coding-command): Use `tramp-call-process'
12859 instead of `tramp-compat-call-process'.
12860
12861 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12862 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 12863 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 12864 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12865 (tramp-maybe-send-script): Check for Perl binary.
12866 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12867
38cc0210
DU
128682013-04-22 Daiki Ueno <ueno@gnu.org>
12869
12870 * epg.el (epg-context-pinentry-mode): New function.
12871 (epg-context-set-pinentry-mode): New function.
12872 (epg--start): Pass --pinentry-mode option to gpg command.
12873
cc641ee1
XF
128742013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12875
02d844b5 12876 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12877 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12878 `completion-at-point'. (Bug#13774)
5d4e5c31 12879
cc641ee1
XF
12880 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12881 default key binding for `describe-distribution' has been moved to
12882 `C-h C-o'. (Bug#13970)
12883
1b42ee43
GM
128842013-04-21 Glenn Morris <rgm@gnu.org>
12885
12886 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12887 Add doc strings.
12888 (vc-print-log): Clarify interactive prompt.
12889
a6d63d97
GM
128902013-04-20 Glenn Morris <rgm@gnu.org>
12891
12892 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12893 No longer include timestamp etc information.
12894
d7f5c16f
RW
128952013-04-20 Roland Winkler <winkler@gnu.org>
12896
12897 * faces.el (read-face-name): Bug fix, return just one face if arg
12898 multiple is nil. (Bug#14209)
12899
bcd7a0a4
SM
129002013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12901
12902 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12903 (remove-function): Autoload.
12904
12905 * comint.el (comint-redirect-original-filter-function): Remove.
12906 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12907 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12908 (vc-cvs-annotate-command):
bcd7a0a4
SM
12909 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12910 * progmodes/prolog.el (prolog-consult-compile):
12911 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12912 Use add/remove-function instead.
12913 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12914 (gud-tooltip-process-output, gud-tooltip-tips):
12915 Use add/remove-function instead.
12916 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12917 (scheme-interaction-mode, exit-scheme-interaction-mode):
12918 Use add/remove-function instead.
12919
12920 * vc/vc-dispatcher.el: Use lexical-binding.
12921 (vc--process-sentinel): Rename from vc-process-sentinel.
12922 Change last arg to be the code to run. Don't use vc-previous-sentinel
12923 and vc-sentinel-commands any more.
12924 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12925 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12926
e36b2d20 129272013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12928
bcd7a0a4 12929 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12930 Handle function names with a single character. (Bug#14111)
4d3268ba 12931
781b4af6 129322013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12933
12934 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12935 for subroutines defined in an eval (bug#14182).
12936
7d688336
TV
129372013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12938
12939 * bookmark.el (bookmark-completing-read): Improve handling of empty
12940 string (bug#14176).
12941
31dcede0
SM
129422013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12943
12944 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12945
adc31213
FEG
129462013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12947
12948 New faster Imenu implementation (bug#14058).
12949 * progmodes/python.el:
12950 (python-imenu-prev-index-position):
12951 (python-imenu-format-item-label-function)
12952 (python-imenu-format-parent-item-label-function)
12953 (python-imenu-format-parent-item-jump-label-function):
12954 New vars.
12955 (python-imenu-format-item-label)
12956 (python-imenu-format-parent-item-label)
12957 (python-imenu-format-parent-item-jump-label)
12958 (python-imenu--put-parent, python-imenu--build-tree)
12959 (python-imenu-create-index, python-imenu-create-flat-index)
12960 (python-util-popn): New functions.
12961 (python-mode): Set imenu-create-index-function to
12962 python-imenu-create-index.
12963
cdca8255
SM
129642013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12965
12966 * winner.el (winner-active-region): Use region-active-p, activate-mark
12967 and deactivate-mark (bug#14225).
12968
12969 * simple.el (deactivate-mark): Don't inline it.
12970
beb42340
MA
129712013-04-18 Michael Albinus <michael.albinus@gmx.de>
12972
12973 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12974
fc7f4d7e
TH
129752013-04-18 Tassilo Horn <tsdh@gnu.org>
12976
12977 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12978 file extensions from the archive-mode entry in order to prefer
12979 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12980
29f47822
LL
129812013-04-18 Leo Liu <sdl.web@gmail.com>
12982
12983 * bindings.el (help-event-list): Add ?\?.
12984
d36ed1c8
SM
129852013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 * subr.el (with-wrapper-hook): Declare obsolete.
12988 * simple.el (filter-buffer-substring-function): New hook.
12989 (filter-buffer-substring): Use it.
12990 (filter-buffer-substring-functions): Mark obsolete.
12991 * minibuffer.el (completion-in-region-function): New hook.
12992 (completion-in-region): Use it.
12993 (completion-in-region-functions): Mark obsolete.
12994 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12995 * abbrev.el (abbrev-expand-function): New hook.
12996 (expand-abbrev): Use it.
12997 (abbrev-expand-functions): Mark obsolete.
12998 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12999 and :filter-return.
13000
04754d36
FEG
130012013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13002
13003 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13004 and do not care about match data.
13005
dd8791e9
SM
130062013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13007
13008 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13009 completion tables when completing error conditions and
13010 `declare' arguments.
13011 (lisp-complete-symbol, field-complete): Mark as obsolete.
13012 (check-parens): Unmatched parens are user errors.
13013 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13014
ffe54a13
AM
130152013-04-17 Michal Nazarewicz <mina86@mina86.com>
13016
dd8791e9
SM
13017 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13018 command changed buffer (ie. `flyspell-pre-buffer' is not current
13019 buffer), which prevents making decisions based on invalid value of
13020 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13021 cause an error when `flyspell-pre-point' was nil after switching
13022 buffers.
13023 (flyspell-post-command-hook): No longer needs to change buffers when
13024 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13025
ec7e39f2
AM
130262013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13027
13028 * textmodes/ispell.el (ispell-add-per-file-word-list):
13029 Fix `flyspell-correct-word-before-point' error when accepting
13030 words and `coment-padding' is an integer by using
13031 `comment-normalize-vars' (Bug #14214).
13032
083850a6
FEG
130332013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13034
13035 New defun movement commands.
13036 * progmodes/python.el (python-nav--syntactically)
13037 (python-nav--forward-defun, python-nav-backward-defun)
13038 (python-nav-forward-defun): New functions.
13039
619ed6e1
FEG
130402013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13041
13042 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13043 (python-syntax-context): Use named compiler-macro for backwards
13044 compatibility with Emacs 24.x.
13045
7a1beb6c
LL
130462013-04-17 Leo Liu <sdl.web@gmail.com>
13047
13048 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13049 octave-hide-process-buffer.
13050
2d3fa3e5
SM
130512013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13052
13053 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13054 (bug#14216).
13055
7ce5be54
JPG
130562013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13057
13058 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13059 Fix adjustment of offset when receiving incomplete responses from GDB
13060 (bug#14129).
13061
351edece
SM
130622013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13063
13064 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13065 python-mode-abbrev-table.
13066 (python-skeleton-define): Adjust accordingly.
13067 (python-mode-abbrev-table): New table that inherits from it so that
13068 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13069
13070 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13071 (abbrev-symbol): Use it.
13072 (abbrev--before-point): Use it since we already handle inheritance.
13073
613f9481
LL
130742013-04-16 Leo Liu <sdl.web@gmail.com>
13075
13076 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13077 binding to info-lookup-symbol.
13078
51646b62
JB
130792013-04-16 Juanma Barranquero <lekktu@gmail.com>
13080
13081 * minibuffer.el (completion--twq-all):
13082 * term/ns-win.el (ns-initialize-window-system):
13083 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13084
efb3f01d
SM
130852013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13086
36c0a301
SM
13087 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13088 global bindings.
13089
efb3f01d
SM
13090 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13091
fb549d64
DG
130922013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13093
13094 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13095 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13096 to nil.
13097 (ruby-end-of-defun): Remove the unused arg, change the docstring
13098 to reflect that this function is only used as the value of
13099 `end-of-defun-function'.
13100 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13101 to reflect an earlier change that beginning/end-of-defun functions
13102 jump between methods in a class definition, as well as top-level
13103 functions.
13104
21e8fe2f
SM
131052013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13106
13107 * minibuffer.el (minibuffer-complete): Don't just scroll
13108 a *Completions* that's been iconified.
13109 (minibuffer-force-complete): Make sure repetitions do cycle when going
13110 through completion-in-region -> minibuffer-complete.
13111
20e527d0
AM
131122013-04-15 Alan Mackenzie <acm@muc.de>
13113
13114 Correct the placement of c-cpp-delimiters when there're #s not at
13115 col 0.
13116
13117 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13118 place a submatch around the #.
21e8fe2f
SM
13119 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13120 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13121 on the #, not BOL.
13122
dabefae5
SM
131232013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13124
13125 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13126 (advice--member-p): New arg `name'.
13127 (advice--add-function, advice-member-p): Use it (bug#14202).
13128
85c9ab64
AM
131292013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13130
13131 Reformulate java imenu-generic-expression.
13132 The old expression contained ill formed regexps.
13133
13134 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13135 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13136 (cc-imenu-java-method-arg-regexp): New defconsts.
13137 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13138 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13139 handling of spaces in the regexp.
13140
0f821d99
AM
131412013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13142
13143 * textmodes/ispell.el (ispell-command-loop): Remove
13144 flyspell highlight of a word when ispell accepts it (bug #14178).
13145
eb922adf
MA
131462013-04-15 Michael Albinus <michael.albinus@gmx.de>
13147
13148 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13149 uses code from the previous `ange-ftp-run-real-handler'.
13150 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13151 only in case that function exist. This is needed for proper
13152 unloading of Tramp.
13153
4d9a0979
TH
131542013-04-15 Tassilo Horn <tsdh@gnu.org>
13155
13156 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13157
13158 * textmodes/reftex.el (reftex-compile-variables): Use it.
13159
a829b0dc
SM
131602013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13161
91e8293c
SM
13162 * files.el (normal-mode): Only use default major-mode if no other mode
13163 was specified.
13164
830aed4d
SM
13165 * emacs-lisp/trace.el (trace-values): New function.
13166
a829b0dc
SM
13167 * files.el: Allow : in local variables (bug#14089).
13168 (hack-local-variable-regexp): New var.
13169 (hack-local-variables-prop-line, hack-local-variables): Use it.
13170
7ae9f0fb
RW
131712013-04-13 Roland Winkler <winkler@gnu.org>
13172
13173 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13174 data before it gets modified by bibtex-beginning-of-entry.
13175
6646e848
RW
131762013-04-13 Roland Winkler <winkler@gnu.org>
13177
13178 * textmodes/bibtex.el (bibtex-url): Doc fix.
13179
131802013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13181
13182 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13183 does not visit a BibTeX file, exclude it from the list of buffers
13184 returned by bibtex-initialize.
13185
0aa3616e
SB
131862013-04-13 Stephen Berman <stephen.berman@gmx.net>
13187
13188 * window.el (split-window): Remove interactive form, since as a
13189 command this function is a special case of split-window-below.
13190 Correct doc string.
13191
011cddd6
RW
131922013-04-12 Roland Winkler <winkler@gnu.org>
13193
13194 * faces.el (read-face-name): Do not override value of arg default.
13195 Allow single faces and strings as default values. Remove those
13196 elements from return value that are not faces.
13197 (describe-face): Simplify.
13198 (face-at-point): New optional args thing and multiple so that this
13199 function can provide the same functionality previously provided by
13200 read-face-name.
13201 (make-face-bold, make-face-unbold, make-face-italic)
13202 (make-face-unitalic, make-face-bold-italic, invert-face)
13203 (modify-face, read-face-and-attribute): Use face-at-point.
13204
13205 * cus-edit.el (customize-face, customize-face-other-window)
13206 * cus-theme.el (custom-theme-add-face)
13207 * face-remap.el (buffer-face-set)
13208 * facemenu.el (facemenu-set-face): Use face-at-point.
13209
f24e0036
MA
132102013-04-12 Michael Albinus <michael.albinus@gmx.de>
13211
13212 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13213
da3cda2d
TH
132142013-04-10 Tassilo Horn <tsdh@gnu.org>
13215
13216 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13217 off leading { and trailing } from field values.
13218
15e54145
SM
132192013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13220
78ce603d
SM
13221 * emacs-lisp/timer.el (timer--check): New function.
13222 (timer--time, timer-set-function, timer-event-handler): Use it.
13223 (timer-set-idle-time): Simplify.
13224 (timer--activate): CSE.
13225 (timer-event-handler): Give more info in error message.
13226 (internal-timer-start-idle): New function, moved from C.
13227
15e54145
SM
13228 * mpc.el (mpc-proc): Add `restart' argument.
13229 (mpc-proc-cmd): Use it.
13230 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13231 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13232 less often.
13233
7144c627
MY
132342013-04-10 Masatake YAMATO <yamato@redhat.com>
13235
13236 * progmodes/sh-script.el: Implement `sh-mode' own
13237 `add-log-current-defun-function' (bug#14112).
13238 (sh-current-defun-name): New function.
13239 (sh-mode): Use the function.
13240
b39792eb
BG
132412013-04-09 Bastien Guerry <bzg@gnu.org>
13242
13243 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13244
8acdeb71
SM
132452013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13246
6fcdab68
SM
13247 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13248
8acdeb71
SM
13249 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13250 timer (bug#14156).
13251
e3e7b504
NF
132522013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13253
13254 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13255 declaration.
13256
201bb296
LL
132572013-04-07 Leo Liu <sdl.web@gmail.com>
13258
13259 * pcmpl-x.el: New file.
13260
ebb19708
DA
132612013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13262
13263 Do not set x-display-name until X connection is established.
13264 This is needed to prevent from weird situation described at
13265 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13266 * frame.el (make-frame): Set x-display-name after call to
13267 window system initialization function, not before.
13268 * term/x-win.el (x-initialize-window-system): Add optional
13269 display argument and use it.
13270 * term/w32-win.el (w32-initialize-window-system):
13271 * term/ns-win.el (ns-initialize-window-system):
13272 * term/pc-win.el (msdos-initialize-window-system):
13273 Add compatible optional display argument.
13274
33bb237a
EZ
132752013-04-06 Eli Zaretskii <eliz@gnu.org>
13276
13277 * files.el (normal-backup-enable-predicate): On MS-Windows and
13278 MS-DOS compare truenames of temporary-file-directory and of the
13279 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13280 don't fail comparison by compare-strings. Also, compare file
13281 names case-insensitively on MS-Windows and MS-DOS.
13282
134abf1f
SM
132832013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13284
13285 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13286 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13287
d695cb94
DG
132882013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13289
e3e7b504
NF
13290 * whitespace.el (whitespace-color-on, whitespace-color-off):
13291 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13292
f4ad7ea1 132932013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13294
13295 * ispell.el (ispell-set-spellchecker-params):
13296 Really set `ispell-args' for all equivs.
13297
632556e4
SM
132982013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13299
13300 * ido.el (ido-completions): Use extra elements of ido-decorations
13301 (bug#14143).
13302 (ido-decorations): Update docstring.
13303
2a417372
MA
133042013-04-05 Michael Albinus <michael.albinus@gmx.de>
13305
13306 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13307 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13308 nil during initialization, in order not to miss changes since the
13309 file was opened. (Bug#14140)
13310
fc164b0c
LL
133112013-04-05 Leo Liu <sdl.web@gmail.com>
13312
13313 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13314
0ccecc08
JB
133152013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13316
13317 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13318
51af1aa2
GM
133192013-04-04 Glenn Morris <rgm@gnu.org>
13320
13321 * electric.el (electric-pair-inhibit-predicate): Add :version.
13322
b208ebc6
SM
133232013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13324
13325 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13326 when a package is required several times (bug#14082).
13327
f3d3eaf0
RW
133282013-04-04 Roland Winkler <winkler@gnu.org>
13329
13330 * faces.el (read-face-name): Behave as promised by the docstring.
13331 Assume that arg default is a list of faces.
13332 (describe-face): Call read-face-name with list of default faces.
13333
2575da50
TV
133342013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13335
13336 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13337 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13338 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13339 the header.
13340 (bookmark-exit-hook-internal): Save even if list is empty.
13341
397703b4
YH
133422013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13343
13344 * emacs-lisp/package.el (package-pinned-packages): New var.
13345 (package--add-to-archive-contents): Obey it (bug#14118).
13346
691e26ae
AM
133472013-04-03 Alan Mackenzie <acm@muc.de>
13348
8a621d53
JB
13349 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13350 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13351
13352 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13353 parameter `not-in-delimiter'. Handle being inside comment opener.
13354 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13355 character in case we're typing a '*' after a '/'.
13356 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13357 instead by passing the parameter to c-state-pp-to-literal.
13358
13359 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13360 for elt. 7 of a parse state.
13361
4b725a70
PE
133622013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13363
13364 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13365 * international/latin1-disp.el, international/mule-util.el:
13366 * language/cyril-util.el, language/european.el, language/ind-util.el:
13367 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13368 * language/tibetan.el, language/viet-util.el:
13369 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13370
15c579f0
SM
133712013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13374 (electric-pair-post-self-insert-function): Use it.
13375 (electric-pair-default-inhibit): New function, extracted from
13376 electric-pair-post-self-insert-function.
13377
a77e2924
RW
133782013-03-31 Roland Winkler <winkler@gnu.org>
13379
13380 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13381
2bd8a4a8
SM
133822013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13383
13384 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13385
8d3655be 133862013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13387
13388 Un-indent after "pass" and "return" statements (Bug#13888)
13389 * progmodes/python.el (python-indent-block-enders): New var.
13390 (python-indent-calculate-indentation): Use it.
13391
8d3655be 133922013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13393
13394 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13395 defun. Defining it as defalias could introduce too eager
13396 byte-compiler optimization. (Bug#14030)
13397
8d3655be 133982013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13399
13400 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13401
0b1619da
LL
134022013-03-30 Leo Liu <sdl.web@gmail.com>
13403
13404 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13405 (kmacro-execute-from-register): Pass the keyboard macro to
13406 kmacro-call-macro or repeating won't work correctly.
13407
0b938190
TZ
134082013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13409
13410 * progmodes/subword.el: Back to using `forward-symbol'.
13411
13412 * subr.el (forward-whitespace, forward-symbol)
13413 (forward-same-syntax): Move from thingatpt.el.
13414
35710234
LL
134152013-03-29 Leo Liu <sdl.web@gmail.com>
13416
13417 * kmacro.el (kmacro-to-register): New command.
13418 (kmacro-execute-from-register): New function.
13419 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13420
efc0bb73
SM
134212013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13422
13423 * mpc.el: Use defvar-local and setq-local.
13424 (mpc--proc-connect): Connection failures are not bugs.
13425 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13426 (mpc-volume-map): Bind to the up-events.
13427
75a2f981
TZ
134282013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13429
13430 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13431 instead of `forward-symbol'.
13432
17c781d1
SM
134332013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13434
13435 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13436 (edebug--recursive-edit): Use it.
13437 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13438 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13439
f67bfbcf
LL
134402013-03-28 Leo Liu <sdl.web@gmail.com>
13441
13442 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13443
b59f639d
EZ
134442013-03-27 Eli Zaretskii <eliz@gnu.org>
13445
13446 * facemenu.el (list-colors-callback): New defvar.
13447 (list-colors-redisplay): New function.
13448 (list-colors-display): Install list-colors-redisplay as the
13449 revert-buffer-function. (Bug#14063)
13450
f557c1b1
SM
134512013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13452
b1da2957
SM
13453 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13454 and suffixes don't overlap (bug#14061).
13455
f557c1b1
SM
13456 * case-table.el: Use lexical-binding.
13457 (case-table-get-table): New function.
13458 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13459
002668e1
TZ
134602013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13461
13462 * progmodes/subword.el: Add `superword-mode' to do word motion
13463 over symbol_words (parallels and leverages `subword-mode' which
13464 does word motion inside MixedCaseWords).
13465
73572c72
AG
134662013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13467
78b8f320 13468 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13469 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13470
69b2c07e
SM
134712013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13472
13473 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13474 Change return value to be a sexp. Delay `get-buffer' to after
13475 restoring the desktop (bug#13951).
13476
08bb5ee2
LL
134772013-03-26 Leo Liu <sdl.web@gmail.com>
13478
13479 * register.el: Move semantic tag handling back to
13480 cedet/semantic/senator.el. (Bug#14052)
13481
8d4c974e
SM
134822013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13483
13484 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13485 into the prompt either (bug#13963).
13486
b234d92c
SM
134872013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13488
13489 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13490 part of "(error-foo)".
13491
ddfa3cb4
JL
134922013-03-24 Juri Linkov <juri@jurta.org>
13493
13494 * replace.el (list-matching-lines-prefix-face): New defcustom.
13495 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13496 `occur-engine' if `face-differs-from-default-p' returns t.
13497 (occur-engine): Add `,' inside backquote construct to evaluate
13498 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13499 Pass `prefix-face' to the functions `occur-context-lines' and
13500 `occur-engine-add-prefix'.
13501 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13502 `prefix-face' and propertize the prefix with `prefix-face'.
13503 (Bug#14017)
13504
7b0e2f85
LL
135052013-03-24 Leo Liu <sdl.web@gmail.com>
13506
13507 * nxml/rng-valid.el (rng-validate-while-idle)
13508 (rng-validate-quick-while-idle): Guard against deleted buffer.
13509 (Bug#13999)
13510
13511 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13512 is the last entry in kill-buffer-hook.
13513
13514 * files.el (kill-buffer-hook): Doc fix.
13515
b3082f49
DG
135162013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13517
b234d92c
SM
13518 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13519 Make it safe-local.
bde73d27 13520
b3082f49
DG
13521 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13522
a320a2db
LL
135232013-03-23 Leo Liu <sdl.web@gmail.com>
13524
7e74b0fb
LL
13525 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13526 Remove.
13527
13528 * nxml/rng-valid.el (rng-validate-mode)
13529 (rng-after-change-function, rng-do-some-validation):
13530 * nxml/rng-maint.el (rng-validate-buffer):
13531 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13532 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13533 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13534 (nxml-extend-after-change-region): Use with-silent-modifications.
13535
a320a2db
LL
13536 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13537 timer-idle-list.
13538
13539 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13540 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13541 timer-idle-list. (Bug#13999)
13542
e38e6780
JL
135432013-03-23 Juri Linkov <juri@jurta.org>
13544
13545 * info.el (info-index-match): New face.
13546 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13547 main pattern and add text properties with the new face to matches
13548 in index entries relative to the beginning of the index entry.
13549 (Bug#14015)
13550
e8cc7880
DE
135512013-03-21 Eric Ludlam <zappo@gnu.org>
13552
39c87140 13553 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13554 Inhibit read only while inserting objects.
13555
9bb0d822
TZ
135562013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13557
13558 * progmodes/cfengine.el: Update docs to mention
13559 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13560 symbol motion. Remove "_" from the word syntax.
13561
aa703640
TZ
135622013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13563
13564 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13565 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13566
afff09d0
JL
135672013-03-20 Juri Linkov <juri@jurta.org>
13568
13569 * info.el (Info-next-reference-or-link)
13570 (Info-prev-reference-or-link): New functions.
13571 (Info-next-reference, Info-prev-reference): Use them.
13572 (Info-try-follow-nearest-node): Handle footnote navigation.
13573 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13574
9a1ff164
SM
135752013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13576
13577 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13578 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13579
2667d15d
PE
135802013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13581
13582 Suppress unnecessary non-ASCII chatter during build process.
13583 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13584 (batch-skkdic-convert): Suppress most of the chatter.
13585 It's not needed so much now that machines are faster,
13586 and its non-ASCII component was confusing; see Dmitry Gutov in
13587 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13588
438b0579
LL
135892013-03-20 Leo Liu <sdl.web@gmail.com>
13590
13591 * ido.el (ido-chop): Fix bug#10994.
13592
c128ab07
DG
135932013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13594
13595 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13596 Remove vars.
9a1ff164
SM
13597 (whitespace-color-on, whitespace-color-off):
13598 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13599
0e6008c5
SM
136002013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13601
13602 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13603 remapping in mode-line.
13604 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13605
627b52b0
DG
136062013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13607
13608 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13609 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13610 (whitespace-font-lock-keywords): Change description.
13611 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13612 the constructed keywords instead.
13613 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13614
50c3a20b
LL
136152013-03-19 Leo Liu <sdl.web@gmail.com>
13616
13617 * progmodes/compile.el (compilation-display-error): New command.
13618 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13619 C-o. (Bug#13992)
13620
2aa2157b
PE
136212013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13622
13623 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13624
e477dbfa
JD
136252013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13626
13627 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13628
64ab82d1
MA
136292013-03-18 Michael Albinus <michael.albinus@gmx.de>
13630
13631 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13632
13633 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13634 * net/tramp-gvfs.el (top):
13635 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13636 (tramp-handle-shell-command): Use it.
13637 (tramp-dissect-file-name): Raise an error when hostname is a
13638 method name, and neither method nor user is specified.
13639
13640 * net/trampver.el: Update release number.
13641
33cef733
LL
136422013-03-18 Leo Liu <sdl.web@gmail.com>
13643
13644 Make sure eldoc can be turned off properly.
13645 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13646 eldoc-mode.
13647 (eldoc-display-message-p): Revert last change.
13648 (eldoc-display-message-no-interference-p)
13649 (eldoc-print-current-symbol-info): Tweak.
13650
2167b7b2
TH
136512013-03-18 Tassilo Horn <tsdh@gnu.org>
13652
13653 * doc-view.el (doc-view-new-window-function): Check the new window
13654 overlay's display property instead the char property of the
13655 buffer's first char. Use `with-selected-window' instead of
13656 `save-window-excursion' with `select-window'.
13657 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13658 display property instead the char property of the buffer's first char.
2167b7b2 13659
982efbcd
PE
136602013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13661
13662 Automate the build of ja-dic.el (Bug#13984).
13663 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13664 from the input, rather than assume that it's been done for us by the
13665 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13666 the current date into a ja-dic.el comment, as that complicates
13667 regression testing.
13668
2fcc7665
SM
136692013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 * whitespace.el: Fix double evaluation.
13672 (whitespace-space, whitespace-hspace, whitespace-tab)
13673 (whitespace-newline, whitespace-trailing, whitespace-line)
13674 (whitespace-space-before-tab, whitespace-indentation)
13675 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13676 obsolete defvars.
13677 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13678 (whitespace-color-on): Use a single font-lock-add-keywords call.
13679 Fix double-evaluation of face variables.
13680
67c0a6e6
MA
136812013-03-17 Michael Albinus <michael.albinus@gmx.de>
13682
2fcc7665
SM
13683 * net/tramp-adb.el (tramp-adb-parse-device-names):
13684 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13685 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13686
69489f1d
LL
136872013-03-17 Leo Liu <sdl.web@gmail.com>
13688
13689 Extend eldoc to display info in the mode-line. (Bug#13978)
13690 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13691 (eldoc-mode-line-string): New variable.
13692 (eldoc-minibuffer-message): New function.
13693 (eldoc-message-function): New variable.
13694 (eldoc-message): Use it.
13695 (eldoc-display-message-p)
2fcc7665
SM
13696 (eldoc-display-message-no-interference-p):
13697 Support eldoc-post-insert-mode.
69489f1d
LL
13698
13699 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13700 (eval-expression): Run it.
13701
9c44569e
RW
137022013-03-17 Roland Winkler <winkler@gnu.org>
13703
13704 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13705 strings in the list of return values.
13706
327f1f6f
JB
137072013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13708
13709 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13710 radix before checking for HMS forms.
13711
67ed8fcd
LL
137122013-03-16 Leo Liu <sdl.web@gmail.com>
13713
13714 * progmodes/scheme.el: Add indentation and font-locking for λ.
13715 (Bug#13975)
13716
78be8b64 137172013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13718
13719 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13720 token before point (bug#13942).
13721
78be8b64 137222013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13723
95b43468 13724 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13725
98e775e6
EZ
137262013-03-16 Eli Zaretskii <eliz@gnu.org>
13727
13728 * startup.el (command-line-normalize-file-name): Fix handling of
13729 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13730 <xfq.free@gmail.com> in
13731 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13732
2edd6029
MA
137332013-03-15 Michael Albinus <michael.albinus@gmx.de>
13734
13735 Sync with Tramp 2.2.7.
13736
13737 * net/trampver.el: Update release number.
13738
d35f5864
TH
137392013-03-14 Tassilo Horn <tsdh@gnu.org>
13740
e903c210 13741 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
13742 (doc-view-insert-image): Don't modify overlay associated to
13743 non-live windows, and implement horizontal centering of image in
13744 case it's smaller than the window.
13745 (doc-view-new-window-function): Force redisplay of new windows on
13746 doc-view buffers.
d35f5864 13747
1c4a85ed
KF
137482013-03-13 Karl Fogel <kfogel@red-bean.com>
13749
13750 * saveplace.el (save-place-alist-to-file): Don't sort
13751 `save-place-alist', just pretty-print it (bug#13882).
13752
85b66a21
MA
137532013-03-13 Michael Albinus <michael.albinus@gmx.de>
13754
a020afb9
JB
13755 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13756 Check whether `default-file-name-coding-system' is bound.
13757 It isn't in XEmacs.
85b66a21 13758
175600da
SM
137592013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13760
e7f7cb1a
SM
13761 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13762 backquotes for `obsolete' (bug#13929).
13763
175600da
SM
13764 * international/mule.el (find-auto-coding): Include file name in
13765 obsolescence warning (bug#13922).
13766
ca68a22e
TZ
137672013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13768
13769 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13770 for CFEngine 3-specific indentation.
13771 (cfengine3-indent-line): Use it. Fix up category regex.
13772 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13773
940e5099
SM
137742013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13775
13776 * type-break.el (type-break-file-name):
13777 * textmodes/remember.el (remember-data-file):
13778 * strokes.el (strokes-file):
13779 * shadowfile.el (shadow-initialize):
13780 * saveplace.el (save-place-file):
13781 * ps-bdf.el (bdf-cache-file):
13782 * progmodes/idlwave.el (idlwave-config-directory):
13783 * net/quickurl.el (quickurl-url-file):
13784 * international/kkc.el (kkc-init-file-name):
13785 * ido.el (ido-save-directory-list-file):
13786 * emulation/viper.el (viper-custom-file-name):
13787 * emulation/vip.el (vip-startup-file):
13788 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13789 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13790
cc725808
PE
137912013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13792
13793 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13794 * language/thai-word.el: Switch to UTF-8.
13795
a020afb9 13796See ChangeLog.16 for earlier changes.
e3d51b27
MR
13797
13798;; Local Variables:
13799;; coding: utf-8
e3d51b27
MR
13800;; End:
13801
ba318903 13802 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13803
13804 This file is part of GNU Emacs.
13805
13806 GNU Emacs is free software: you can redistribute it and/or modify
13807 it under the terms of the GNU General Public License as published by
13808 the Free Software Foundation, either version 3 of the License, or
13809 (at your option) any later version.
13810
13811 GNU Emacs is distributed in the hope that it will be useful,
13812 but WITHOUT ANY WARRANTY; without even the implied warranty of
13813 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13814 GNU General Public License for more details.
13815
13816 You should have received a copy of the GNU General Public License
13817 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.