lisp/gnus/ChangeLog: Fix timestamp of last commit
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7e1549c9
DG
12013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4 first arg to be a string (fixed dead code), or an operator symbol.
5 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
6 operator symbols.
7 (ruby-smie-rules): Remove parent token check in the `.' clause, it
8 did nothing. Don't respond to `(:after ".")', it will be called
9 with :before anyway. Remove the ` @ ' rule, it didn't seem to
10 change anything. Only return indentation for binary operators
11 when they are hanging. De-dent opening paren when its parent is
12 `.', otherwise it looks bad when the dot is not at bol or eol
13 (bug#16182).
14
3ee4cd64
JL
152013-12-19 Juri Linkov <juri@jurta.org>
16
17 * replace.el (query-replace-read-args): Split a non-negative arg
18 and a negative arg into separate elements.
19 (query-replace, query-replace-regexp, replace-string)
20 (replace-regexp): Add arg `backward'. Doc fix.
21 (replace-match-maybe-edit): When new arg `backward' is non-nil,
22 move point to the beginning of the match.
23 (replace-search, replace-highlight): Use new arg `backward'
24 to set the value of `isearch-forward'.
25 (perform-replace): Add arg `backward' and use it to perform
26 replacement backward. (Bug#14979)
27
28 * isearch.el (isearch-query-replace): Use a negative prefix arg
29 to call `perform-replace' with a non-nil arg `backward'.
30
0cda6b7b
JL
312013-12-18 Juri Linkov <juri@jurta.org>
32
33 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
34 to the default list. Move `log-edit-show-files' to the end.
35 Add more available functions to options.
36 (log-edit): Move default specific settings to
37 `log-edit-insert-message-template'. Don't move point.
38 (log-edit-insert-message-template): New function.
39 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
40 (Bug#16170)
41
b216f0a6
JL
422013-12-18 Juri Linkov <juri@jurta.org>
43
44 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
45 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
46
1d1c55dc
LL
472013-12-18 Leo Liu <sdl.web@gmail.com>
48
49 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
50
64e4c76e
EZ
512013-12-18 Eli Zaretskii <eliz@gnu.org>
52
53 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
54 formats for displaying file sizes when the -s switch is given.
55 Instead, compute a separate format for displaying the size in
56 blocks, which is displayed in addition to the "regular" size.
57 When -h is given in addition to -s, produce size in blocks in
58 human-readable form as well. (Bug#16179)
59
b2984e39
TH
602013-12-18 Tassilo Horn <tsdh@gnu.org>
61
62 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference
63 tables with ~\ref{...} instead of only \ref{...}.
64
50ff2e06
CY
652013-12-18 Chong Yidong <cyd@gnu.org>
66
0081bc84
CY
67 * cus-edit.el (custom-magic-alist): Fix "themed" description
68 (Bug#14348).
69
a7ee9424
CY
70 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
71 is non-nil, do not create a new entry in the symbol's theme-value
72 or theme-face property; update theme-settings only (Bug#14664).
18874304 73 (custom-available-themes): Doc fix.
a7ee9424 74
8f942537
CY
75 * cus-theme.el (custom-new-theme-mode-map): Add bindings
76 (Bug#15674).
77
50ff2e06
CY
78 * replace.el (occur-engine): Avoid infloop (Bug#7593).
79
83c60f60
KI
802013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
81
82 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
83 (Bug#13914).
84
ba874b64
SF
852013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
86
87 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
88
1f41ee56
GM
892013-12-18 Glenn Morris <rgm@gnu.org>
90
91 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 92 * cus-start.el (load-prefer-newer): New option.
1f41ee56 93
e82134b1
LW
942013-12-18 Le Wang <l26wang@gmail.com>
95
96 * comint.el (comint-previous-matching-input-from-input): Retain
97 point (Bug#13404).
98
33f5d4c1
CY
992013-12-18 Chong Yidong <cyd@gnu.org>
100
101 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
102
ccc9f6dc
GM
1032013-12-18 Glenn Morris <rgm@gnu.org>
104
105 * mail/emacsbug.el (report-emacs-bug):
106 Only mention enable-multibyte-characters if non-standard.
107
33dd8e95
JL
1082013-12-17 Juri Linkov <juri@jurta.org>
109
110 * arc-mode.el (archive-extract-by-file): Check if directory exists
111 before deletion to not show irrelevant errors if it doesn't exist.
112
7a409b30
JL
1132013-12-17 Juri Linkov <juri@jurta.org>
114
115 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
116 (Bug#14751)
117
118 * net/eww.el (browse-web): Add alias to `eww'.
119 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
120 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
121
122 * net/browse-url.el (browse-url-browser-function): Move `eww'
123 closer to similar functions.
124
125 * startup.el (fancy-startup-screen, fancy-about-screen):
126 Set browse-url-browser-function to eww-browse-url locally.
127 (Bug#14751)
128
2d6b6005
SM
1292013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * window.el (window--pixel-to-total): Remove unused `mini' var.
132 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
133 (split-window): Remove unused `new' var.
134 (window--display-buffer): Remove unused `frame' and `delta' vars.
135 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
136 and display-width'.
137
cf2b7efc
MR
1382013-12-17 Martin Rudalics <rudalics@gmx.at>
139
140 * dired.el (dired-mark-pop-up):
141 * register.el (register-preview): Don't bind
142 split-height-threshold here since it's now done in
143 display-buffer-below-selected.
144
ed3af8a7 1452013-12-17 oblique <psyberbits@gmail.com> (tiny change)
146
147 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
148 xterm-rgb-convert-to-16bit.
149 (rxvt-register-default-colors): Standardize with
150 xterm-register-default-colors (Bug#14078).
151
76da3455
DK
1522013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
153
154 * simple.el (kill-region): Pass mark first, then point, so that
155 kill-append works right (Bug#12819).
156 (copy-region-as-kill, kill-ring-save): Likewise.
157
2b84d763
LL
1582013-12-17 Leo Liu <sdl.web@gmail.com>
159
160 * net/rcirc.el (rcirc-add-face):
161 * eshell/em-prompt.el (eshell-emit-prompt):
162 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
163 (Bug#16167)
164
e2f6a0bc
CY
1652013-12-17 Chong Yidong <cyd@gnu.org>
166
167 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
168 Suggested by Xue Fuqiao.
169
35b249a6
DG
1702013-12-17 Dmitry Gutov <dgutov@yandex.ru>
171
172 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
173
e9145444
SM
1742013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * net/shr.el (shr-insert-document): Remove unused var
177 `shr-preliminary-table-render'.
178 (shr-rescale-image): Remove unused arg `force'.
179 (shr-put-image): Update calls accordingly.
180 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
181
5556c0ce
DG
1822013-12-17 Dmitry Gutov <dgutov@yandex.ru>
183
184 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
185 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
186 :close-all, to see which indentation method to use (Bug#16116).
187 (smie-rules-function): Document the method :close-all.
188
11bade0a
LMI
1892013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
190
1c4b1e61
LMI
191 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
192
11bade0a
LMI
193 * net/eww.el (eww-display-html): If we can't find the anchor we're
194 looking for, then go to point-min.
195
8fb8c4f3
PE
1962013-12-16 Paul Eggert <eggert@cs.ucla.edu>
197
198 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
199 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
200 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
201 Expand dir too, in case it's relative.
202
6c8e0ae6
JL
2032013-12-16 Juri Linkov <juri@jurta.org>
204
205 * desktop.el (desktop-auto-save-timeout): Change default to
206 `auto-save-timeout'. Doc fix.
207 (desktop-save): Skip the timestamp in desktop-saved-frameset
208 when checking for auto-save changes.
209 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
210 `desktop-auto-save' is called repeatedly by the idle timer.
211 (desktop-auto-save-set-timer): Replace `run-with-timer' with
212 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
213 (Bug#15331)
214
2178e858
JL
2152013-12-16 Juri Linkov <juri@jurta.org>
216
217 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
218 (Bug#16035)
219 (isearch-pre-command-hook): Check `this-command' for symbolp.
220
39cb42c6
SM
2212013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
224
5b9b750a
TZ
2252013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
226
227 * progmodes/cfengine.el (cfengine3--current-word): Remove.
228 (cfengine3--current-function): Bring in the current-function
229 functionality from `cfengine3--current-word'.
230 (cfengine3-completion-function): Bring in the
231 bounds-of-current-word functionality from
232 `cfengine3--current-word'.
233
d144ef06
MR
2342013-12-16 Martin Rudalics <rudalics@gmx.at>
235
39cb42c6
SM
236 * window.el (display-buffer-below-selected):
237 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 238
a8bbe298
LL
2392013-12-16 Leo Liu <sdl.web@gmail.com>
240
241 * progmodes/compile.el (compile-goto-error): Do not push-mark.
242 Remove NOMSG arg and all uses changed.
243
2013a2f9
SM
2442013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
247 (cua--deactivate-rectangle): Don't deactivate the mark.
248 (cua-set-rectangle-mark): Don't set mark-active since
249 cua--activate-rectangle already does it for us.
250 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
251 non-rectangular region.
252
253 * emulation/cua-base.el (cua-repeat-replace-region):
254 Use with-current-buffer.
255
256 * net/gnutls.el: Use cl-lib.
257 (gnutls-negotiate): `mapcan' -> cl-mapcan.
258
5ae811dd
TZ
2592013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
260
261 * emacs-lisp/package.el (package-built-in-p): Support both
262 built-in and the package.el converted package descriptions.
263 (package-show-package-list): Allow keywords.
264 (package-keyword-button-action): Use it instead of
265 `finder-list-matches'.
266 (package-menu-filter-interactive): Interactive filtering (by
267 keyword) function.
268 (package-menu--generate): Support keywords and change keymappings
269 and headers when they are given.
270 (package--has-keyword-p): Helper function.
271 (package-menu--refresh): Use it.
272 (package--mapc): Helper function.
273 (package-all-keywords): Use it.
274 (package-menu-mode-map): Set up menu items and keybindings to
275 provide a filtering UI.
276
31b4827e
TZ
2772013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
278
279 * net/gnutls.el (gnutls-verify-error): New defcustom to control
280 the behavior when a certificate fails validation. Defaults to
281 old behavior: never abort, just warn.
282 (gnutls-negotiate): Use it.
283
f93cc74f
MR
2842013-12-14 Martin Rudalics <rudalics@gmx.at>
285
286 * window.el (display-buffer-below-selected): Never split window
287 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
288
f77d7d17
TW
2892013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
290
291 * emacs-lisp/package.el (package--prepare-dependencies): New function.
292 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
293
294 * icomplete.el (icomplete-completions): Make sure the prefix is already
295 displayed elsewhere before hiding it.
296
276bc333
DG
2972013-12-14 Dmitry Gutov <dgutov@yandex.ru>
298
299 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
300 open-paren tokens when preceded by a open-paren, too.
301 (ruby-smie-rules): Handle virtual indentation after open-paren
302 tokens specially. If there is code between it and eol, return the
303 column where is starts (Bug#16118).
304
d43957f3
TZ
3052013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
306
a5c1ac0c 307 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 308 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
309 (cfengine3--current-word): Fix parameters.
310 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
311 (cfengine3-completion-function, cfengine3--current-function):
312 Use `assq' for symbols.
d43957f3
TZ
313 (cfengine3--current-function): Fix `cfengine3--current-word' call.
314
06a4f110
GM
3152013-12-13 Glenn Morris <rgm@gnu.org>
316
317 * loadup.el (load-path): Warn if site-load or site-init changes it.
318 No more need to reset it when bootstrapping.
319
978a5fda
TZ
3202013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
321
322 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
323 locations for cf-promises.
324 (cfengine-mode-syntax-functions-regex): New caching variable.
325 (cfengine3-fallback-syntax): Fallback syntax for cases where
326 cf-promises doesn't run.
327 (cfengine3--current-word): Reimplement using
328 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
329 (cfengine3-completion-function, cfengine3--current-function):
330 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
331 (cfengine3-clear-syntax-cache): New function.
332 (cfengine3-make-syntax-cache): Simplify and create
333 `cfengine-mode-syntax-functions-regex' on demand.
334 (cfengine3-format-function-docstring): Don't call
335 `cfengine3-make-syntax-cache' explicitly.
336
71e6691e
MR
3372013-12-13 Martin Rudalics <rudalics@gmx.at>
338
339 Fix windmove-find-other-window broken after pixelwise resizing
340 (Bug#16017).
341 * windmove.el (windmove-other-window-loc): Revert change from
342 2013-12-04.
343 (windmove-find-other-window): Call window-in-direction.
344 * window.el (window-in-direction): New arguments SIGN, WRAP and
345 MINI to emulate original windmove-find-other-window behavior.
346
84c73ba0
DG
3472013-12-13 Dmitry Gutov <dgutov@yandex.ru>
348
349 * simple.el (blink-matching--overlay): New variable.
350 (blink-matching-open): Instead of moving point, highlight the
351 matching paren with an overlay
352 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
353
354 * faces.el (paren-showing-faces, show-paren-match)
355 (show-paren-mismatch): Move from paren.el.
356
b9e20952
LL
3572013-12-13 Leo Liu <sdl.web@gmail.com>
358
359 * indent.el (indent-region): Disable progress reporter in
360 minibuffer. (Bug#16108)
361
362 * bindings.el (visual-order-cursor-movement): Fix version.
363
ce030451
FEG
3642013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
365
366 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
367 Also match after beginning of line.
368 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
369 files. Thanks to Russell Sim. (Bug#15378)
370
4a9c6865
JL
3712013-12-13 Juri Linkov <juri@jurta.org>
372
373 * simple.el <Keypad support>: Remove key bindings duplicated
374 with bindings.el. (Bug#14397)
375
2bc170c3
JL
3762013-12-13 Juri Linkov <juri@jurta.org>
377
378 * comint.el (comint-mode-map): Replace `delete-char' with
379 `delete-forward-char'. (Bug#16109)
380
bc9222c9
FEG
3812013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
382
aa2bddd7
SM
383 * progmodes/python.el (python-indent-calculate-indentation):
384 Fix de-denters cornercase. (Bug#15731)
bc9222c9 385
cb3a1380
SM
3862013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
389 (advice--make): Pay attention to `depth'.
390 (advice--make-1): Don't autoload commands eagerly.
391 * emacs-lisp/elp.el (elp-instrument-function):
392 * emacs-lisp/trace.el (trace-function-internal):
393 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
394
395 * iswitchb.el (iswitchb-mode): Don't belittle ido.
396
01633a17
EZ
3972013-12-12 Eli Zaretskii <eliz@gnu.org>
398
399 * term/w32-win.el (w32-handle-dropped-file):
400 * startup.el (normal-top-level):
401 * net/browse-url.el (browse-url-file-url):
402 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
403 decode file names using 'utf-8' rather than
404 file-name-coding-system.
405
09faee72
FEG
4062013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
407
408 * progmodes/python.el (python-indent-context)
409 (python-indent-calculate-indentation): Fix auto-identation
410 behavior for comment blocks. (Bug#15916)
411
f4f84024 4122013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 413
cb3a1380
SM
414 * progmodes/python.el (python-indent-calculate-indentation):
415 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
416 operators when they are just string constituents. (Bug#15812)
417
d5ccb7be
JL
4182013-12-12 Juri Linkov <juri@jurta.org>
419
420 * uniquify.el (uniquify-buffer-name-style): Change default to
421 `post-forward-angle-brackets'.
422
423 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
424 `uniquify'. Change default to `post-forward-angle-brackets'.
425
7b3f5679
GM
4262013-12-11 Glenn Morris <rgm@gnu.org>
427
428 * emacs-lisp/package.el (finder-list-matches):
429 Autoload rather than falsely declaring.
430
f4fe8fdd
TZ
4312013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
432
433 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
434 (eww-mode-map): Use them.
435
3c29190f
MR
4362013-12-11 Martin Rudalics <rudalics@gmx.at>
437
438 * window.el (display-buffer-in-side-window): Fix doc-string
439 (Bug#16115).
440
0cd616a2
JB
4412013-12-11 Juanma Barranquero <lekktu@gmail.com>
442
443 * vc/vc-git.el: Silence byte-compiler warnings.
444 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
445 (log-edit-set-header): Declare.
446
3ef8e0d1
EZ
4472013-12-11 Eli Zaretskii <eliz@gnu.org>
448
449 * Makefile.in (custom-deps, finder-data): Run output file names
450 through unmsys--file-name. (Bug#16099)
451
afdadaf7
SM
4522013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
453
7ae3ae39 454 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 455 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 456
5b4f37ab
SM
457 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
458 instead of deleting the selection "by hand" (bug#16098).
459 Rely on insert-for-yank to yank rectangles.
460 (cua-highlight-region-shift-only): Mark obsolete.
461 (cua-mode): Don't enable/disable transient-mark-mode,
462 shift-select-mode (cua-mode works both with and without them), and
463 pc-selection-mode (obsolete).
464 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
465 (cua--deactivate-rectangle): Deactivate it.
466
4b72c12b
SM
467 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
468 (delete-selection-helper): Make sure yank starts at the top of the
469 deleted region.
470 (minibuffer-keyboard-quit): Use region-active-p.
471
e82af72d
SM
472 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
473
afdadaf7
SM
474 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
475 to `delete' (bug#16109).
476
ed4bc201
RS
4772013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
478
479 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
480 info manual and show keybindings and set `:group' keyword.
481
bb8097b9
JL
4822013-12-11 Juri Linkov <juri@jurta.org>
483
484 * delsel.el (delete-active-region): Let-bind `this-command'
485 to prevent `kill-region' from changing its original value.
486 (delete-selection-helper): Handle `overwrite-mode' for the type
487 `kill' exactly the same way as for the type `t'.
488 (insert-char, quoted-insert, reindent-then-newline-and-indent):
489 Support more commands. (Bug#13312)
490
c1916ff5
JL
4912013-12-11 Juri Linkov <juri@jurta.org>
492
493 * bindings.el: Map kp keys to non-kp keys systematically
494 with basic modifiers control, meta and shift. (Bug#14397)
495
b68cf43c
KN
4962013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
497
498 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
499 "Close browser" menu items. Fix wrong function of "List
500 bookmarks".
501
4cc51eaf
JL
5022013-12-11 Juri Linkov <juri@jurta.org>
503
504 * misearch.el (multi-isearch-buffers): Set the value of
505 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
506 arg of isearch-forward to t.
507 (multi-isearch-buffers-regexp): Set the value of
508 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
509 arg of isearch-forward-regexp to t.
510 (multi-isearch-files): Set the value of
511 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
512 arg of isearch-forward to t.
513 (multi-isearch-files-regexp): Set the value of
514 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
515 arg of isearch-forward-regexp to t. (Bug#16035)
516
517 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
518 arg of isearch-forward to t.
519 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
520 arg of isearch-forward-regexp to t.
521 (dired-isearch-filter-filenames): Remove unnecessary check for
522 `dired-isearch-filenames'.
523
524 * comint.el (comint-history-isearch-backward):
525 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
526 (comint-history-isearch-backward-regexp):
527 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
528
ceac12b7
EZ
5292013-12-10 Eli Zaretskii <eliz@gnu.org>
530
531 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
532 unmsys--file-name. (Bug#16099)
533
5a565782
TZ
5342013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
535
cb3a1380
SM
536 * emacs-lisp/package.el (package-keyword-button-action):
537 Remove finder.el require dependency.
5a565782 538
a81fc7ba
TZ
5392013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
540
541 * emacs-lisp/package.el: Require finder.el.
542 (describe-package-1): Add keyword buttons.
543 (package-make-button): New convenience function.
544 (package-keyword-button-action): Keyword button action using
545 `finder-list-matches'
546
6aaca951
EZ
5472013-12-09 Eli Zaretskii <eliz@gnu.org>
548
549 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
550 last commit.
551
a1099a91
MA
5522013-12-09 Michael Albinus <michael.albinus@gmx.de>
553
554 * autorevert.el (auto-revert-notify-add-watch): Do not handle
555 symlinked files.
556
8212d9c0
DG
5572013-12-09 Dmitry Gutov <dgutov@yandex.ru>
558
559 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
560 after the end of a percent literal.
561
8f48d131
CD
5622013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
563
cb3a1380
SM
564 * progmodes/ruby-mode.el (ruby-forward-string): Document.
565 Handle caret-delimited strings (Bug#16079).
8f48d131 566
ff8c9764
DG
5672013-12-09 Dmitry Gutov <dgutov@yandex.ru>
568
cb3a1380
SM
569 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
570 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
571 `ruby-parse-partial' (Bug#16078).
572
d64643b4
LL
5732013-12-09 Leo Liu <sdl.web@gmail.com>
574
575 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
576
47e59c66
DG
5772013-12-08 Dmitry Gutov <dgutov@yandex.ru>
578
579 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
580 (js-switch-indent-offset): New option.
581 (js--proper-indentation): Use it. And handle the case when
582 "default" is actually a key in an object literal.
583 (js--same-line): New function.
584 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
585 (js--indent-in-array-comp, js--array-comp-indentation):
586 New functions.
47e59c66
DG
587 (js--proper-indentation): Use them, to handle array comprehension
588 continuations.
589
974ebc9c
LL
5902013-12-08 Leo Liu <sdl.web@gmail.com>
591
592 * progmodes/flymake.el (flymake-highlight-line): Re-write.
593 (flymake-make-overlay): Remove arg MOUSE-FACE.
594 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
595
27262e39
SM
5962013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
599 New function.
600 (redisplay-highlight-region-function): Use it.
601
602 * emulation/cua-base.el (cua--explicit-region-start)
603 (cua--last-region-shifted): Remove.
604 (cua--deactivate): Use deactivate-mark.
605 (cua--pre-command-handler-1): Don't handle shift-selection.
606 (cua--post-command-handler-1): Don't change transient-mark-mode.
607 (cua--select-keymaps): Use region-active-p rather than
608 cua--explicit-region-start or cua--last-region-shifted.
609 (cua-mode): Enable shift-select-mode.
610
6407822c
LL
6112013-12-08 Leo Liu <sdl.web@gmail.com>
612
27262e39
SM
613 * progmodes/flymake.el (flymake-popup-current-error-menu):
614 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
615 (flymake-posn-at-point-as-event, flymake-popup-menu)
616 (flymake-make-emacs-menu): Remove. (Bug#16077)
617
00a2b823
SM
6182013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
619
02033d49
SM
620 * rect.el (rectangle-mark-mode): Activate mark even if
621 transient-mark-mode is off (bug#16066).
622 (rectangle--highlight-for-redisplay): Fix boundary condition when point
623 is > mark and at bolp.
624
6f8dfccf
SM
625 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
626 (region-extract-function): Use it.
627 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
628 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
629 Delete functions.
630 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
631 kill-ring-save, kill-region, delete-char, delete-forward-char.
632 Ignore self-insert-iso.
633
634 * emulation/cua-gmrk.el (cua--init-global-mark):
635 Ignore `self-insert-iso'.
636
637 * emulation/cua-base.el (cua--prefix-copy-handler)
638 (cua--prefix-cut-handler): Rely on region-extract-function rather than
639 checking cua--rectangle.
640 (cua-delete-region): Use region-extract-function.
641 (cua-replace-region): Delete function.
642 (cua-copy-region, cua-cut-region): Obey region-extract-function.
643 (cua--pre-command-handler-1): Don't do the delete-selection thing.
644 (cua--self-insert-char-p): Ignore `self-insert-iso'.
645 (cua--init-keymaps): Don't remap delete-selection commands.
646 (cua-mode): Use delete-selection-mode instead of rolling our own
647 (bug#16085).
648
649 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
650 Obey region-extract-function.
651
00a2b823
SM
652 Make registers and delete-selection-mode work on rectangles.
653 * register.el (describe-register-1): Don't modify the register's value.
654 (copy-to-register): Obey region-extract-function.
655 * delsel.el (delete-active-region): Obey region-extract-function.
656
a92fa5f1
LL
6572013-12-08 Leo Liu <sdl.web@gmail.com>
658
659 * progmodes/flymake.el (flymake, flymake-error-bitmap)
660 (flymake-warning-bitmap, flymake-fringe-indicator-position)
661 (flymake-compilation-prevents-syntax-check)
662 (flymake-start-syntax-check-on-newline)
663 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
664 (flymake-start-syntax-check-on-find-file, flymake-log-level)
665 (flymake-xml-program, flymake-master-file-dirs)
666 (flymake-master-file-count-limit)
667 (flymake-allowed-file-name-masks): Relocate.
668 (flymake-makehash, flymake-float-time)
669 (flymake-replace-regexp-in-string, flymake-split-string)
670 (flymake-get-temp-dir): Remove.
671 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
672 (flymake-current-row, flymake-selected-frame)
673 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
674 related functions. (Bug#16077)
675
73c8ceea
BB
6762013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
677
678 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
679
faec28d9
TH
6802013-12-07 Tassilo Horn <tsdh@gnu.org>
681
682 * help-fns.el (describe-function-1): Use new advice-* functions
683 rather than old ad-* functions. Fix function type description and
684 source links for advised functions and subrs.
685
e330b646
LMI
6862013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
687
00a2b823 688 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 689
4803595d
MA
6902013-12-06 Michael Albinus <michael.albinus@gmx.de>
691
692 * progmodes/compile.el (compilation-start):
693 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
694
695 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
696 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
697
fa834a93
DG
6982013-12-06 Dmitry Gutov <dgutov@yandex.ru>
699
00a2b823
SM
700 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
701 Touch up the last change.
fa834a93 702
b2856a6f
LL
7032013-12-06 Leo Liu <sdl.web@gmail.com>
704
705 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
706 (inferior-octave-startup): Always use "octave> " for prompt.
707 (octave-goto-function-definition)
708 (octave-sync-function-file-names)
709 (octave-find-definition-default-filename): Remove redundant backquotes.
710
af67e79a
DG
7112013-12-06 Dmitry Gutov <dgutov@yandex.ru>
712
713 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
714 syntax for `?'.
715 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
716 where appropriate already.
717 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
718 end of method names (Bug#15874).
719
bf093209
JL
7202013-12-06 Juri Linkov <juri@jurta.org>
721
722 * isearch.el (isearch--saved-overriding-local-map):
723 New internal variable.
724 (isearch-mode): Set it to the initial value of
725 `overriding-terminal-local-map'.
726 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
727 with `isearch--saved-overriding-local-map'. (Bug#16035)
728
16588fad
DG
7292013-12-06 Dmitry Gutov <dgutov@yandex.ru>
730
00a2b823
SM
731 * progmodes/octave.el (inferior-octave-completion-table):
732 Turn back into function, use `completion-table-with-cache'
16588fad
DG
733 (Bug#11906). Update all references.
734
735 * minibuffer.el (completion-table-with-cache): New function.
736
bf4906d7
CD
7372013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
738
739 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
740
ff69c18f
TZ
7412013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
742
743 * net/eww.el (eww-current-source): New variable to store page
744 source.
745 (eww-display-html, eww-mode, eww-save-history)
746 (eww-restore-history): Use it.
747 (eww-view-source): New command to view page source.
748 Opportunistically uses `html-mode' to highlight the buffer.
749 (eww-mode-map): Install it.
750
b85eff45
MA
7512013-12-05 Michael Albinus <michael.albinus@gmx.de>
752
753 * net/dbus.el (dbus-unregister-service)
754 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
755 Fix docstring.
756 (dbus-unregister-service): Skip :serial entries in
757 `dbus-registered-objects-table'.
758 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
759
39eb0899
TZ
7602013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
761
762 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
763 around keywords with extra `split-string' argument.
764
456760a5
MR
7652013-12-04 Martin Rudalics <rudalics@gmx.at>
766
767 * windmove.el (windmove-other-window-loc): Handle navigation
768 between windows (excluding the minibuffer window - Bug#16017).
769
81961e4c
MA
7702013-12-04 Michael Albinus <michael.albinus@gmx.de>
771
772 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
773 in D-Bus type syntax.
774 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
775 preserve unibyte strings. (Bug#16048)
776
8497f938
SM
7772013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
780 Call force-mode-line-update is the proper buffer (bug#16042).
781
dda61916
DG
7822013-12-04 Dmitry Gutov <dgutov@yandex.ru>
783
784 * vc/log-edit.el (log-edit-add-new-comment): Rename to
785 `log-edit-remember-comment', make argument optional. Adjust all
786 callers.
787 (log-edit-mode): Add `log-edit-remember-comment' to
788 `kill-buffer-hook' locally.
789 (log-edit-kill-buffer): Don't remember comment explicitly since
790 the buffer is killed anyway.
791
c085e5b9
JL
7922013-12-04 Juri Linkov <juri@jurta.org>
793
794 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
795 add-hook and remove-hook for multi-buffer search. (Bug#16035)
796
d6f2380e
TR
7972013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
798
799 * notifications.el (notifications-close-notification): Call the
81961e4c 800 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 801
39fa32d6
KY
8022013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
803
804 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
805
9139632a
JL
8062013-12-03 Juri Linkov <juri@jurta.org>
807
808 * progmodes/compile.el (compilation-start): Rename window alist
809 entry `no-display-ok' to `allow-no-window'.
810
811 * simple.el (shell-command): Add window alist entry
812 `allow-no-window' to `display-buffer'.
813 (async-shell-command): Doc fix.
814
815 * window.el (display-buffer-no-window): New action function.
816 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
817
0f457a37
DG
8182013-12-02 Dmitry Gutov <dgutov@yandex.ru>
819
820 * vc/log-edit.el (log-edit-set-header): Extract from
821 `log-edit-toggle-header'.
822 (log-edit-extract-headers): Separate the summary, when extracted
823 from header, from the rest of the message with an empty line.
824
825 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
826 line, if present, to the Summary header.
827
0962f376
SM
8282013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
831 in current-buffer (bug#16029).
832
f345395c
HE
8332013-12-02 Helmut Eller <eller.helmut@gmail.com>
834
835 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
836 (debugger-mode-map): Bind it.
837 (debugger--backtrace-base): New function.
838 (debugger-eval-expression): Use it.
839 (debugger-frame-number): Skip local vars when present.
840 (debugger--locals-visible-p, debugger--insert-locals)
841 (debugger--show-locals, debugger--hide-locals): New functions.
842
a8a15d9d
MA
8432013-12-02 Michael Albinus <michael.albinus@gmx.de>
844
845 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
846 "LC_ALL".
847 (tramp-get-remote-locale): New defun.
848 (tramp-open-connection-setup-interactive-shell): Use it.
849
0518b057
LL
8502013-12-02 Leo Liu <sdl.web@gmail.com>
851
852 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
853
854 * progmodes/sh-script.el (sh-shell-process):
855 * progmodes/octave.el (inferior-octave-process-live-p):
856 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
857 (gdb-inferior-io-sentinel):
858 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
859
3adc9c6d
DG
8602013-12-02 Dmitry Gutov <dgutov@yandex.ru>
861
862 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
863 `save-selected-window' to `log-edit-hide-buf'. This makes
864 `log-edit-show-files' idempotent.
865 (log-edit-show-files): Mark the new window as dedicated.
866
47e8b74e
DG
8672013-12-02 Dmitry Gutov <dgutov@yandex.ru>
868
869 * vc/log-edit.el (log-edit-mode-map): Add binding for
870 `log-edit-kill-biffer'.
871 (log-edit-hide-buf): Add a FIXME comment.
872 (log-edit-add-new-comment): New function, extracted from
873 `log-edit-done'.
874 (log-edit-done, log-edit-add-to-changelog): Use it.
875 (log-edit-kill-buffer): New command.
876
1f6e1bb0
LMI
8772013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
878
879 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
880 instead of killing the buffer.
881
fb651d15
SM
8822013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
885
8feacce0
RS
8862013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
887
fb651d15 888 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 889 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
890 (eww-form-checkbox, eww-toggle-checkbox):
891 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
892
893 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
894 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
895 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
896 no :src tag was specified.
897
fb651d15 898 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
899 (eww-render): Handle `eww-use-external-browser-for-content-type'.
900 Use \\` to match beginning of string instead of ^.
901 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 902 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 903
177948a5
RS
904 * net/shr.el (shr-tag-video): Display content for video if no
905 poster is available.
eb2dd24d 906 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
907
908 * net/eww.el (eww-text-input-types): : New const.
909 (eww-process-text-input): Treat input types in
910 `eww-text-input-types' as text.
911
8feacce0
RS
912 * net/shr.el (shr-tag-table): Fix comment typo.
913
513562a1
LMI
9142013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
915
916 * net/eww.el (eww-follow-link): New command to avoid reloading
917 pages when we follow #target links (bug#15243).
de8a5633 918 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 919
9dd99753
KN
9202013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
921
922 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
923 forms.
924
3e9876de
LMI
9252013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
926
927 * net/eww.el (eww-restore-history): Update the window title after
928 moving in the history.
ab6dea82 929 (eww-current-dom): New variable used to save the current DOM.
3e9876de 930
52789f7f
DG
9312013-12-01 Dmitry Gutov <dgutov@yandex.ru>
932
933 * vc/log-edit.el (log-edit-mode-map): Add binding for
934 `log-edit-beginning-of-line'.
935 (log-edit-setup-add-author): New user option.
936 (log-edit-beginning-of-line): New command.
937 (log-edit): Move major mode call above the contents setup so that
938 the local variable values are already applied.
939 (log-edit): Only insert "Author: " when
940 `log-edit-setup-add-author' is non-nil.
941 (log-edit): When SETUP is non-nil, position point after ": "
942 instead of point-min.
943
2e6710c3
GM
9442013-12-01 Glenn Morris <rgm@gnu.org>
945
946 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
947
fadec31f
EZ
9482013-11-30 Eli Zaretskii <eliz@gnu.org>
949
950 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 951 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
952 visible. (Bug#16014)
953
10634b40 9542013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
955
956 Support resizing frames and windows pixelwise.
957 * cus-start.el (frame-resize-pixelwise)
958 (window-resize-pixelwise): New entries.
959 * emacs-lisp/debug.el (debug): Use window-total-height instead
960 of window-total-size.
961 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
962 * help.el (describe-bindings-internal): Call help-buffer
963 (temp-buffer-max-width): New option.
964 (resize-temp-buffer-window, help-window-setup)
965 (with-help-window): Rewrite.
966 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
967 dragging dividers.
968 * window.el (frame-char-size, window-min-pixel-height)
969 (window-safe-min-pixel-height, window-safe-min-pixel-width)
970 (window-min-pixel-width, window-safe-min-pixel-size)
971 (window-combination-p, window-safe-min-size)
972 (window-resizable-p, window--size-to-pixel)
973 (window--pixel-to-size, window--resize-apply-p): New functions.
974 (window-safe-min-height): Fix doc-string.
975 (window-size, window-min-size, window--min-size-1)
976 (window-sizable, window-sizable-p, window--min-delta-1)
977 (window-min-delta, window--max-delta-1, window-max-delta)
978 (window--resizable, window--resizable-p, window-resizable)
979 (window-full-height-p, window-full-width-p, window-at-side-p)
980 (window--in-direction-2, window-in-direction)
981 (window--resize-reset-1, window--resize-mini-window)
982 (window-resize, window-resize-no-error)
983 (window--resize-child-windows-normal)
984 (window--resize-child-windows, window--resize-siblings)
985 (window--resize-this-window, window--resize-root-window)
986 (window--resize-root-window-vertically)
987 (adjust-window-trailing-edge, enlarge-window, shrink-window)
988 (maximize-window, minimize-window, delete-window)
989 (quit-restore-window, window-split-min-size, split-window)
990 (balance-windows-2, balance-windows)
991 (balance-windows-area-adjust, balance-windows-area)
992 (window--state-get-1, window-state-get, window--state-put-1)
993 (window--state-put-2, window-state-put)
fb651d15
SM
994 (display-buffer-record-window, window--display-buffer):
995 Make functions handle pixelwise sizing of windows.
880e6158 996 (display-buffer--action-function-custom-type)
fb651d15
SM
997 (display-buffer-fallback-action):
998 Add display-buffer-in-previous-window.
880e6158
MR
999 (display-buffer-use-some-window): Resize window to height it had
1000 before.
1001 (fit-window-to-buffer-horizontally): New option.
1002 (fit-frame-to-buffer): Describe new values.
1003 (fit-frame-to-buffer-bottom-margin): Replace with
1004 fit-frame-to-buffer-margins.
1005 (window--sanitize-margin): New function.
1006 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1007 using window-text-pixel-size.
1008
f9b697dd
GM
10092013-11-30 Glenn Morris <rgm@gnu.org>
1010
3e2fb4db
GM
1011 * emacs-lisp/bytecomp.el (byte-compile-form):
1012 Make the `interactive-only' warning like the `obsolete' one.
1013 * comint.el (comint-run):
1014 * files.el (insert-file-literally, insert-file):
1015 * replace.el (replace-string, replace-regexp):
1016 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1017 (goto-line, insert-buffer, next-line, previous-line):
1018 Tweak `interactive-only' spec.
1019
f9b697dd
GM
1020 Stop keeping (most) generated cedet grammar files in the repository.
1021 * Makefile.in (semantic): New.
1022 (compile-main): Depend on semantic.
1023
da048127
SM
10242013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1025
7784b779
SM
1026 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1027 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1028
4e36a6a6
SM
1029 * uniquify.el (uniquify-buffer-name-style): Change default.
1030
1031 * loadup.el: Preload "uniquify".
1032
e0ba1308
SM
1033 * time.el (display-time-update): Update all mode lines (bug#15999).
1034
da048127
SM
1035 * electric.el (electric-indent-mode): Enable by default.
1036 * loadup.el: Preload "electric".
1037
015b3b3e
BB
10382013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1039
1040 * emacs-lisp/helpers.el (string-empty-p): New function.
1041 (string-blank-p): New function.
1042
7efb806d
AP
10432013-11-29 Andreas Politz <politza@hochschule-trier.de>
1044
1045 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1046 (Bug#14029).
1047
c8f0efc2
AP
10482013-11-29 Andreas Politz <politza@fh-trier.de>
1049 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1050 allow non-lambda lists as functions.
1051 (imenu--in-alist): Don't recurse into non-subalists.
1052 (imenu): Don't pass function itself as an argument (Bug#14029).
1053
bd15d9d1
SM
10542013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * progmodes/python.el (python-mode-map): Remove binding for ":".
1057 (python-indent-electric-colon): Remove command.
1058 (python-indent-post-self-insert-function): Integrate the previous code
1059 of python-indent-electric-colon. Make it conditional on
1060 electric-indent-mode.
1061 (python-mode): Add ?: to electric-indent-chars.
1062 Move python-indent-post-self-insert-function to the end of
1063 post-self-insert-hook.
1064
1b10adb6
SM
10652013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1066
655ab9a3
SM
1067 * doc-view.el (doc-view-goto-page): Update mode-line.
1068
1b10adb6
SM
1069 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1070
7e3bf78c
GM
10712013-11-27 Glenn Morris <rgm@gnu.org>
1072
1073 * international/charprop.el, international/uni-bidi.el:
1074 * international/uni-category.el, international/uni-combining.el:
1075 * international/uni-comment.el, international/uni-decimal.el:
1076 * international/uni-decomposition.el, international/uni-digit.el:
1077 * international/uni-lowercase.el, international/uni-mirrored.el:
1078 * international/uni-name.el, international/uni-numeric.el:
1079 * international/uni-old-name.el, international/uni-titlecase.el:
1080 * international/uni-uppercase.el:
1081 Remove generated files from VCS repository.
1082
fb6a5d68
EZ
10832013-11-27 Eli Zaretskii <eliz@gnu.org>
1084
1085 * filenotify.el (file-notify-add-watch): Don't special-case
1086 w32notify when computing the directory to watch.
1087
cb6c95a3
GM
10882013-11-27 Glenn Morris <rgm@gnu.org>
1089
20372d0c
GM
1090 Make bootstrap without generated uni-*.el files possible again.
1091 * loadup.el: Update command-line-args checking for unidata-gen.
1092 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1093 * composite.el, international/characters.el:
1094 Handle unicode tables being undefined.
1095
52d6635f 1096 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1097 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1098 (compile-main): Depend on leim rule.
1099 (leim): New rule.
1100 * loadup.el: Move leim-list.el to leim/ subdirectory.
1101 * startup.el (normal-top-level): No more leim directory.
1102 * international/ja-dic-cnv.el (skkdic-convert):
1103 Disable version-control and autoloads in output files.
1104 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1105 Disable version-control and autoloads in output files.
1106 * leim/quail: Move here from ../leim.
1107 * leim/quail/hangul.el (hangul-input-method-activate):
1108 Add autoload cookie.
1109 (generated-autoload-load-name): Set file-local value.
1110 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1111 (generated-autoload-load-name): Set file-local value.
1112
0449d6cd 11132013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
1114
1115 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1116 (eww-add-bookmark): ask confirmation when add to bookmarks
1117 (eww-quit): ask confirmation before quitting eww
1118
0e2c793f
EZ
11192013-11-26 Eli Zaretskii <eliz@gnu.org>
1120
1121 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1122 reading output from Diff on MS-Windows and MS-DOS.
1123
447bdcb8
BB
11242013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1125
1126 * emacs-lisp/helpers.el (string-reverse): New function.
1127
5fbf6856
MA
11282013-11-26 Michael Albinus <michael.albinus@gmx.de>
1129
1130 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1131 names on MS Windows, like "/[::1]:".
1132
1133 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1134 SWITCHES.
1135
624780f0
GM
11362013-11-26 Glenn Morris <rgm@gnu.org>
1137
0bf3f0fa
GM
1138 * progmodes/python.el (python-indent-guess-indent-offset):
1139 Avoid corner-case error. (Bug#15975)
1140
624780f0
GM
1141 Preload leim-list.el. (Bug#4789)
1142 * loadup.el: Load leim-list.el when found.
1143 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1144
4301875e 11452013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1146
1147 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1148
4301875e
BB
1149 * emacs-lisp/helpers.el (string-join): New function.
1150
1633a815 11512013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1152
1153 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1154 Mark as obsolete and replace it with a symbol property.
1155 (byte-compile-form): Use new 'interactive-only property.
1156 * comint.el, files.el, replace.el, simple.el:
1157 Apply new 'interactive-only properly.
1158
00139435
MR
11592013-11-25 Martin Rudalics <rudalics@gmx.at>
1160
1161 * window.el (display-buffer-at-bottom): Make sure that
1162 split-window-sensibly creates the new window on bottom
1163 (Bug#15961).
1164
5f5b128d
DK
11652013-11-23 David Kastrup <dak@gnu.org>
1166
1167 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1168 on the conflict markers when available.
1169 (smerge--get-marker): New function.
1170 (smerge-end-re, smerge-base-re): Add subgroup.
1171
623891e5
SM
11722013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * frame.el (handle-focus-in, handle-focus-out): Add missing
1175 interactive spec.
1176
05ca27d8
MA
11772013-11-25 Michael Albinus <michael.albinus@gmx.de>
1178
1179 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1180 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1181
511fa0d3
SM
11822013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1183
e82ad66c
SM
1184 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1185 (gomoku--last-pos): New var.
1186 (gomoku--intangible-chars): New const.
1187 (gomoku--intangible): New function.
1188 (gomoku-mode): Use it. Derive from special-mode.
1189 (gomoku-move-up): Adjust line count.
1190 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1191 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1192 Simplify accordingly.
1193
511fa0d3
SM
1194 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1195 Remove blink-cursor code.
1196 (blink-cursor-timer-function, blink-cursor-suspend):
1197 Don't special-case GUIs.
1198 (blink-cursor-mode): Use focus-in/out-hook.
1199
6f20dd03
DG
12002013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1201
1202 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1203 work when annotation is invisible (Bug#13886).
1204
431dec31 12052013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1206
1207 * json.el (json-alist-p): Only return non-nil if the alist has
1208 simple keys (Bug#13518).
1209
431dec31 12102013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1211
1212 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1213 when control-statement is the first statement in a buffer (Bug#15956).
1214
ee4f0261
DG
12152013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1216
1217 * imenu.el (imenu-generic-skip-comments-and-strings):
1218 New option (Bug#15560).
1219 (imenu--generic-function): Use it.
1220
c484f866
JS
12212013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1222
1223 * minibuffer.el (completion--in-region-1): Scroll the correct
1224 window. (Bug#13898)
1225
41ce6f70
BB
12262013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1227
b55aea38
BB
1228 * emacs-lisp/helpers.el: Add some string helpers.
1229 (string-trim-left): Removes leading whitespace.
1230 (string-trim-right): Removes trailing whitespace.
1231 (string-trim): Removes leading and trailing whitespace.
1232
41ce6f70
BB
1233 * subr.el (string-suffix-p): New function.
1234
3cfb6af3
GM
12352013-11-23 Glenn Morris <rgm@gnu.org>
1236
1237 * progmodes/python.el (python-shell-send-file):
1238 Add option to delete file when done. (Bug#15647)
1239 (python-shell-send-string, python-shell-send-region): Use it.
1240
c27924b7
IS
12412013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1242
e1b01c7f
IS
1243 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1244 to set buffer-read-only to t, never to nil. (Bug#15938)
1245
c27924b7
IS
1246 * textmodes/tex-mode.el (latex-noindent-environments):
1247 Add safe-local-variable property. (Bug#15936)
1248
17e0445b
GM
12492013-11-23 Glenn Morris <rgm@gnu.org>
1250
92f78ea3
GM
1251 * textmodes/enriched.el (enriched-mode): Doc fix.
1252 * emacs-lisp/authors.el (authors-renamed-files-alist):
1253 Add enriched.doc -> enriched.txt.
1254
17e0445b
GM
1255 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1256
965bb23a
LL
12572013-11-22 Leo Liu <sdl.web@gmail.com>
1258
1259 * progmodes/octave.el (inferior-octave-startup): Spit out error
1260 message.
1261
d19ffd64
BB
12622013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1263
1264 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1265 Improve docstring.
15ba2182
BB
1266 Add :version.
1267 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1268
7a7567d2
LL
12692013-11-22 Leo Liu <sdl.web@gmail.com>
1270
1271 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1272 (Bug#15076)
8c09f64b
LL
1273 (octave-help-mode): Adapt to change to help-mode-finish to use
1274 derived-mode-p on 2013-09-17.
1275 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1276 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1277
724bc265
LL
12782013-11-22 Leo Liu <sdl.web@gmail.com>
1279
1280 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1281 (inferior-octave-startup, inferior-octave-check-process)
1282 (inferior-octave-track-window-width-change)
1283 (octave-completion-at-point, octave-eldoc-function): Use it.
1284 (octave-kill-process): Provide confirmation. (Bug#10564)
1285
38637cca
LL
12862013-11-21 Leo Liu <sdl.web@gmail.com>
1287
511fa0d3
SM
1288 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1289 Fix obsolete variable comment-use-global-state.
38637cca 1290
06e752b4
RS
12912013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1292
511fa0d3
SM
1293 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1294 Add `octave-source-file'.
06e752b4
RS
1295 (octave-source-file): New function. (Bug#15935)
1296
0449d6cd 12972013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1298
1299 * net/eww.el (eww-local-regex): New variable.
1300 (eww): Use it to detect localhost and similar.
1301
b6ffa04a
LL
13022013-11-21 Leo Liu <sdl.web@gmail.com>
1303
1304 Add completion for command `ag'.
2021a200
LL
1305 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1306 (pcomplete/ag): New function.
1307 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1308
d1a6bccc
SM
13092013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1312 (bug#14646).
1313 (make-obsolete): Remove interactive spec.
1314
2df10228
GM
13152013-11-21 Glenn Morris <rgm@gnu.org>
1316
1317 * startup.el (command-line-1): Use path-separator with -L.
1318
86fd16b6
TZ
13192013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1320
1321 * emacs-lisp/package.el (describe-package-1): Add package archive
1322 to shown fields.
1323
0449d6cd 13242013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1325
1326 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1327 Change default to "# encoding: %s" to differentiate it from the
1328 default Ruby encoding comment template.
1329
dc7e8c17 13302013-11-20 era eriksson <era+emacsbugs@iki.fi>
1331
1332 * ses.el (ses-mode): Doc fix. (Bug#14748)
1333
f0cfa5fe
LL
13342013-11-20 Leo Liu <sdl.web@gmail.com>
1335
1336 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1337
826dc7b6
DN
13382013-11-19 Dan Nicolaescu <dann@gnu.org>
1339
1340 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1341 when rebase or bisect are in progress.
1342
a6e3a5d5
XF
13432013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1344
1345 * filenotify.el (file-notify-add-watch): Doc fix.
1346
f130cb76
LL
13472013-11-19 Leo Liu <sdl.web@gmail.com>
1348
e0855d7d
LL
1349 * obsolete/rcompile.el: Mark obsolete.
1350
f130cb76 1351 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1352 (compilation-goto-locus, compilation-find-file):
1353 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1354 (Bug#13594)
1355
1356 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1357 new parameter no-display-ok. Return either a window or nil
1358 but never a non-window value.
f130cb76 1359
1f35d401
SM
13602013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1361
25158c76
SM
1362 * electric.el (electric-indent-mode-map): Remove.
1363 (electric-indent-mode): Change the global-map instead (bug#15915).
1364
1365 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1366 Use add-function.
1f35d401 1367
9bc67baa
SM
13682013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1369
986545b5
SM
1370 * emacs-lisp/nadvice.el (remove-function): Align with
1371 add-function's behavior.
1372
9bc67baa
SM
1373 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1374 (gdb--string-regexp): New constant.
1375 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1376 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1377 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1378 submatch 1.
1379 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1380 Adjust use accordingly.
1381 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1382
56cd894e
AS
13832013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1384
1385 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1386 interpolation curlies (Bug#15914).
1387
014690de
JB
13882013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1389
1390 * calc/calc.el (calc-context-sensitive-enter): New variable.
1391 (calc-enter): Use `calc-context-sensitive-enter'.
1392
7e26a6c3
TZ
13932013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1394
1395 * progmodes/cfengine.el: Version bump.
1396 (cfengine-cf-promises): New defcustom to locate cf-promises.
1397 (cfengine3-vartypes): Add new "data" type.
1398 (cfengine3--current-word): New function to get current name-like
1399 word or its bounds.
1400 (cfengine3--current-function): New function to look up a CFEngine
1401 function's definition.
1402 (cfengine3-format-function-docstring): New function.
1403 (cfengine3-make-syntax-cache): New function.
1404 (cfengine3-documentation-function): New function: ElDoc glue.
1405 (cfengine3-completion-function): New function: completion glue.
1406 (cfengine3-mode): Set `compile-command',
1407 `eldoc-documentation-function', and add to
1408 `completion-at-point-functions'.
1409
355204dd
MA
14102013-11-16 Michael Albinus <michael.albinus@gmx.de>
1411
1412 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1413 `tramp-current-connection'.
1414
43cebc23
DG
14152013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1416
1417 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1418 nil/self/true/false with "end of symbol".
1419
a3fed6ff
BB
14202013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1421
1422 * subr.el (version-regexp-alist): Fix a typo.
1423
e675b3e4
MA
14242013-11-15 Michael Albinus <michael.albinus@gmx.de>
1425
1426 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1427 "en_US.utf8" and "LC_CTYPE" to "".
1428 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1429 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1430
a1f03e89
LL
14312013-11-15 Leo Liu <sdl.web@gmail.com>
1432
1433 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1434
5d9d9451
SM
14352013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1436
58362662
CS
1437 * progmodes/gud.el (ctl-x-map):
1438 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1439 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1440
6c1bf086
BB
14412013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1442
0d5363c4
BB
1443 * subr.el (version-regexp-alist):
1444 Recognize hg, svn and darcs versions as snapshot versions.
1445
4e9fc48c
BB
1446 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1447 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1448 (ruby--encoding-comment-required-p): Extract from
1449 `ruby-mode-set-encoding'.
1450 (ruby-mode-set-encoding): Add the ability to always insert an
1451 utf-8 encoding comment. Fix and simplify coding comment update
1452 logic.
6c1bf086 1453
2f7e72f8
MA
14542013-11-14 Michael Albinus <michael.albinus@gmx.de>
1455
1456 * net/tramp-gvfs.el (top): Run init code only when
1457 `tramp-gvfs-enabled' is not nil.
1458 (tramp-gvfs-enabled): Check also :system bus.
1459
0f137a73
SM
14602013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 Sync with upstream verilog-mode revision 78e66ba.
1463 * progmodes/verilog-mode.el (verilog-end-of-defun)
1464 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1465 (verilog-get-end-of-defun): Remove unused argument.
1466 (verilog-comment-depth): Remove unused local `e'.
1467 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1468 Don't pass arg to verilog-get-end-of-defun.
1469
1c276bdd
GM
14702013-11-14 Glenn Morris <rgm@gnu.org>
1471
1472 * obsolete/assoc.el (aget): Prefix dynamic variable.
1473
1474 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1475
ff6ec81d
SM
14762013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * widget.el, hfy-cmap.el: Remove bogus package version number.
1479
75f777b6
GM
14802013-11-13 Glenn Morris <rgm@gnu.org>
1481
1d43dba1
GM
1482 * replace.el (replace-eval-replacement):
1483 Try to give more helpful error message. (Bug#15836)
1484
ff4b7bd5
GM
1485 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1486 (archive-7z-update): Avoid custom type mismatches.
1487
75f777b6
GM
1488 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1489
11151a06
MA
14902013-11-13 Michael Albinus <michael.albinus@gmx.de>
1491
e675b3e4 1492 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1493 address can be empty.
1494
1495 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1496 Accept nil SWITCHES.
1497 (tramp-gvfs-handle-write-region): Implement APPEND.
1498
7b08f97e
DG
14992013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1500
1501 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1502 binary "|" operator and closing block args delimiter.
1503 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1504 (ruby-smie--implicit-semi-p): Not after "|" operator.
1505 (ruby-smie--closing-pipe-p): New function.
1506 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1507 (ruby-smie-rules): Indent after "|".
1508
f201cf3a
GM
15092013-11-12 Glenn Morris <rgm@gnu.org>
1510
1511 * ps-print.el (ps-face-attribute-list):
1512 Handle anonymous faces. (Bug#15827)
1513
e6f759f9
MR
15142013-11-12 Martin Rudalics <rudalics@gmx.at>
1515
1516 * window.el (display-buffer-other-frame): Fix doc-string.
1517 (Bug#15868)
1518
ecda65d4
SM
15192013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1522
7ce8fcc3
MA
15232013-11-11 Michael Albinus <michael.albinus@gmx.de>
1524
1525 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1526 (tramp-sh-handle-file-local-copy): Don't write a message when
1527 saving temporary files.
1528
1529 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1530 both directories are remote.
1531 (tramp-smb-handle-directory-files): Do not return double entries.
1532 Do not expand full file names.
1533 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1534 (tramp-smb-handle-write-region): Implement APPEND.
1535 (tramp-smb-get-stat-capability): Fix a stupid bug.
1536
7818df11
SM
15372013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1540
608c2085
NT
15412013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1542
1543 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1544 throwing error over malformed let/let* (bug#15814).
1545
122a7e46
SM
15462013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * iswitchb.el (iswitchb-mode): Mark obsolete.
1549
766284d9
GM
15502013-11-11 Glenn Morris <rgm@gnu.org>
1551
1552 * international/uni-bidi.el, international/uni-category.el:
1553 * international/uni-name.el, international/uni-numeric.el:
1554 Regenerate for Unicode 6.3.0.
1555
7072a4e9
MA
15562013-11-10 Michael Albinus <michael.albinus@gmx.de>
1557
1558 * net/tramp.el (tramp-methods):
1559 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1560 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1561
c9df215b
AS
15622013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1563
608c2085
NT
1564 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1565 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1566
fa47d796
DG
15672013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1568
1569 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1570 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1571 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1572 (ispell-complete-word): Call `ispell-lookup-words' with the value
1573 independent of `ispell-look-p'.
1574
1629a329
DG
15752013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1576
1577 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1578 Not after "||".
1579 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1580 their parent.
1581
ad16897c
SM
15822013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1585 (ruby-font-lock-keywords): Use backquote.
1586
ffa2df72
DG
15872013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1588
1589 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1590 (ruby-smie--backward-token): Only consider full-string matches.
1591
5b97b4c0
JD
15922013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1593
1594 * faces.el (describe-face): Add distant-foreground.
1595
71731c03
BB
15962013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1597
4e9fc48c
BB
1598 * progmodes/ruby-mode.el: Improve encoding comment handling.
1599 (ruby-encoding-magic-comment-style): New option.
1600 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1601 (ruby--insert-coding-comment, ruby--detect-encoding):
1602 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1603 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1604 to control the style of the auto-inserted encoding comment.
71731c03 1605
da3b328d
DG
16062013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1607
ad16897c
SM
1608 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1609 Use `smie-backward-sexp' with token argument.
da3b328d 1610
1606c2d3
MA
16112013-11-08 Michael Albinus <michael.albinus@gmx.de>
1612
1613 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1614 Remove instrumentation code.
1615
b0f4c320
GM
16162013-11-08 Glenn Morris <rgm@gnu.org>
1617
1618 * progmodes/autoconf.el (autoconf-mode):
1619 Tweak comment-start-skip. (Bug#15822)
1620
43668fb1
SM
16212013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1624 at bobp (bug#15826).
1625 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1626
daddb3fd
DH
16272013-11-08 Darren Hoo <darren.hoo@gmail.com>
1628
1629 * man.el (Man-start-calling): New macro, extracted from
1630 Man-getpage-in-background.
1631 (Man-getpage-in-background): Use it.
1632 (Man-update-manpage): New command.
1633 (Man-mode-map): Bind it.
1634
1f923923
DG
16352013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1636
1637 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1638 of "and", "or", "&&" and "||".
1639 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1640 argument. Prohibit opening curly brace because it could only be a
1641 block opener in that position.
daddb3fd
DH
1642 (ruby-smie--forward-token, ruby-smie--backward-token):
1643 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1644 arguments.
1645 (ruby-smie--indent-to-stmt): New function, seeks the end of
1646 previous statement or beginning of buffer.
1647 (ruby-smie-rules): Use it.
1648 (ruby-smie-rules): Check if there's a ":" before a curly block
1649 opener candidate; if there is, it's a hash.
1650
3220d527
SM
16512013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1654 (cl--block-wrapper): Fix last accidental change.
1655
1eb1f9e0
MA
16562013-11-07 Michael Albinus <michael.albinus@gmx.de>
1657
1658 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1659 Instrument, in order to hunt failure on hydra.
1660
e6e4db3c
NT
16612013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1662
1663 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1664 malformed bindings form (bug#15814).
1665
b420ccfc
DG
16662013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1667
1668 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1669 "." compared to " @ ". This incidentally fixes some indentation
1670 examples with "do".
e6e4db3c 1671 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1672 (ruby-smie-grammar): New tokens: "and" and "or".
1673 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1674 Exclude "and" and "or". Remove "do" in order to work around token
1675 priorities.
1676 (ruby-smie-rules): Add all infix tokens. Handle the case of
1677 beginning-of-buffer.
b420ccfc 1678
6b4ac03e
GM
16792013-11-06 Glenn Morris <rgm@gnu.org>
1680
1681 * Makefile.in (setwins_almost, setwins_for_subdirs):
1682 Avoid accidental matches.
1683
5ca114d1
SM
16842013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1685
1686 * menu-bar.el (popup-menu): Use key-binding.
1687
f72552bd
EZ
16882013-11-06 Eli Zaretskii <eliz@gnu.org>
1689
1690 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1691 menus, support also the menus produced by minor modes.
1692 (Bug#15817)
1693
5d5c701e
LL
16942013-11-06 Leo Liu <sdl.web@gmail.com>
1695
1696 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1697 DISTANCE to bound the search. All uses changed. (Bug#15808)
1698
0a8b75e2
GM
16992013-11-06 Glenn Morris <rgm@gnu.org>
1700
1701 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1702 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1703 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1704
a35287ea
SM
17052013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1706
feca4e2d
SM
1707 * electric.el (electric-indent-just-newline): New command.
1708 (electric-indent-mode-map): New keymap.
1709 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1710 Re-add :group which weren't redundant.
1711
a35287ea
SM
1712 * electric.el (electric-indent-local-mode): New minor mode.
1713 (electric-indent-functions-without-reindent): New var.
1714 (electric-indent-post-self-insert-function): Use it.
1715 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1716
375761b2
EZ
17172013-11-05 Eli Zaretskii <eliz@gnu.org>
1718
9a6ad735
EZ
1719 * international/quail.el (quail-help): Be more explicit about the
1720 meaning of the labels shown on the keys. (Bug#15800)
1721
375761b2
EZ
1722 * startup.el (normal-top-level): Load the subdirs.el files before
1723 setting the locale environment. (Bug#15805)
1724
520a6e4a
SM
17252013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1726
0acfafef
SM
1727 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1728 via arguments so as to get the right ones (bug#15418).
1729
520a6e4a
SM
1730 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1731
15826261
MA
17322013-11-05 Michael Albinus <michael.albinus@gmx.de>
1733
1734 Fix problems found while writing a test suite.
1735
1736 * net/tramp-compat.el (tramp-compat-load): New defun.
1737 * net/tramp.el (tramp-handle-load): Use it.
1738
1739 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1740 "(numberp ok-if-already-exists)" correctly.
1741
d35f31a4
XF
17422013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1743
1744 * international/characters.el (glyphless-char-display-control):
1745 Add usage note.
1746
ae93bc74
BB
17472013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1748
520a6e4a
SM
1749 * progmodes/python.el (python-mode):
1750 * progmodes/scheme.el (scheme-mode):
1751 * progmodes/prolog.el (prolog-mode):
1752 * progmodes/ruby-mode.el (ruby-mode):
1753 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1754 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1755
0ade65b5
SM
17562013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1757
a0d5f7a4
SM
1758 * rect.el (rectangle--highlight-for-redisplay):
1759 * emacs-lisp/smie.el (smie--next-indent-change):
1760 Use buffer-chars-modified-tick.
1761
c93f3f5c
SM
1762 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1763
0ade65b5
SM
1764 * electric.el (electric-indent-post-self-insert-function):
1765 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1766
ef9dd188
HE
17672013-11-04 Helmut Eller <eller.helmut@gmail.com>
1768
1769 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1770
306e7308
NT
17712013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1772
1773 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1774 (bug#15786).
1775
e5afbcac
SM
17762013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1d01ad41
SM
1778 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1779
e5afbcac
SM
1780 * progmodes/python.el: Fix up last change.
1781 (python-shell--save-temp-file): New function.
1782 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1783 `string' comes from the current buffer.
1784 (python-shell-send-string-no-output): Remove `msg' arg.
1785 (python--use-fake-loc): New var.
1786 (python-shell-buffer-substring): Obey it. Try to compensate for the
1787 extra coding line added by python-shell--save-temp-file.
1788 (python-shell-send-region): Use python-shell--save-temp-file and
1789 python-shell-send-file directly. Add `nomain' argument.
1790 (python-shell-send-buffer): Use python-shell-send-region.
1791 (python-electric-pair-string-delimiter): New function.
1792 (python-mode): Use it.
1793
d0065ff1
EZ
17942013-11-04 Eli Zaretskii <eliz@gnu.org>
1795
1796 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1797 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1798 environment and decoding all of the default-directory's to here
1799 from command-line.
1800 (command-line): Decode also argv[0].
1801
1802 * loadup.el: Error out if default-directory is a multibyte string
1803 when we are dumping.
1804
1805 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1806
7397c587
TZ
18072013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1808
1809 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1810 (package-menu--print-info, package-menu--archive-predicate):
1811 Add Archive column to package list.
7397c587 1812
b27cc9fc
MA
18132013-11-04 Michael Albinus <michael.albinus@gmx.de>
1814
1815 Fix problems found while writing a test suite.
1816
1817 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1818 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1819 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1820 to nil when running original file name handler. Otherwise,
1821 there are problems with constructs like "$$FOO".
1822
1823 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1824 for `localname'.
1825
d8c4f18a
BB
18262013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1827
7b530552
BB
1828 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1829
1830 * subr.el (version<, version<=, version=):
1831 Update docstrings with information for snapshot versions.
1832
d8c4f18a
BB
1833 * helpers.el: New library for misc helper functions.
1834 (hash-table-keys): New function returning a list of hash keys.
1835 (hash-table-values): New function returning a list of hash values.
1836
dca01b09
DG
18372013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1838
1839 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1840 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1841
0a749fa0
MN
18422013-11-04 Michal Nazarewicz <mina86@mina86.com>
1843
1844 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1845 checking whether point is after a 1-letter word.
1846
18472013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1848
1849 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1850 Don't infloop when expanding region over `multiline' syntax-type that
1851 begins a line (bug#15778).
1852
4aca7145
SM
18532013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1856 Make it into a proper minor mode.
1857 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1858 (rectangle-mark-mode-map): New keymap.
1859 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1860
a0833f62
GM
18612013-11-04 Glenn Morris <rgm@gnu.org>
1862
1863 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1864
e61845c1
SM
18652013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1868 (ruby-smie-rules): Use smie-rule-parent instead.
1869
1870 * emacs-lisp/smie.el (smie-rule-parent): Always call
1871 smie-indent-virtual rather than only for hanging tokens.
1872 (smie--next-indent-change): New helper command.
1873
62942f89
GM
18742013-11-03 Glenn Morris <rgm@gnu.org>
1875
1876 * Makefile.in (abs_srcdir): Remove.
1877 (emacs): Unset EMACSLOADPATH.
1878
b0b9e592
GM
18792013-11-02 Glenn Morris <rgm@gnu.org>
1880
18ba6a33 1881 * Makefile.in (EMACS): Use a relative filename.
8061810d 1882 (abs_top_builddir): Remove.
18ba6a33
GM
1883 (custom-deps, finder-data, autoloads): Use --chdir.
1884
6a8b929e
GM
1885 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1886
c617f3d0
GM
1887 Use relative filenames in TAGS files.
1888 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1889 (lisptagsfiles4, TAGS): Use relative file names.
1890 (TAGS-LISP): Remove.
1891 (maintainer-clean): No more TAGS-LISP file.
1892
b0b9e592
GM
1893 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1894 (lisptagsfiles4): Use absolute filenames again.
1895 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1896 Remove all *loaddefs files, not just the first. Remove esh-groups.
1897 (maintainer-clean): Delete TAGS, TAGS-LISP.
1898
d1c0ea6a
BB
18992013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1900
e61845c1
SM
1901 * emacs-lisp/package.el (package-version-join):
1902 Recognize snapshot versions.
d1c0ea6a 1903
684d71c6
BB
19042013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1905
1906 * subr.el (version-regexp-alist): Add support for snapshot versions.
1907
3d42b968
DG
19082013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1909
e61845c1
SM
1910 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1911 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1912 skip over our direct parent if it's an assignment token..
1913 (ruby-smie-rules): Use it.
1914
7ffd3721
DG
19152013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1916
1917 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1918 unconditionally. Remove now unnecessary forward declarations.
1919 Remove XEmacs-specific setup.
1920 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1921 (ruby-font-lock-syntactic-keywords)
1922 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1923 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1924 (ruby-here-doc-end-syntax): Remove.
1925 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1926 defined as function.
1927
a3996a2e
BB
19282013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1929
1930 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1931
6f9260e8
BB
19322013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1933
1934 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1935 table and abbrev table, `define-derived-mode' does that for us
1936 anyway.
1937
6014de84
GM
19382013-11-01 Glenn Morris <rgm@gnu.org>
1939
1940 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1941 files is atomic for some time, so no parallel compilation issues).
1942
3c334c14
JD
19432013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1944
1945 * faces.el (face-x-resources): Add :distant-foreground.
1946 (region): Use :distant-foreground for gtk and ns.
1947
9bc236c8
TH
19482013-11-01 Tassilo Horn <tsdh@gnu.org>
1949
5246583b 1950 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1951 BibTeX.
1952 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1953 (reftex-locate-bibliography-files): Us it.
1954
d14c81ee
CB
19552013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1956
0e7690de
CB
1957 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1958 allow comments in pbm files.
1959
d14c81ee
CB
1960 * term/w32-win.el (dynamic-library-alist): Support newer versions
1961 of libjpeg starting with v7: look only for the DLL from the
1962 version against which Emacs was built.
ac1bf374 1963 Support versions of libpng beyond 1.4.x.
019c8218 1964 Support libtiff v4.x.
d14c81ee 1965
983d0df5
BB
19662013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1967
1968 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1969 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1970 Add property :safe.
1971 (ruby-deep-arglist): Add property :type.
1972
47f58d85
GM
19732013-10-31 Glenn Morris <rgm@gnu.org>
1974
1975 * Makefile.in (custom-deps, finder-data): No need to setq the target
1976 variables, we are in the right directory and the defaults work fine.
1977
4f85b479
GM
19782013-10-30 Glenn Morris <rgm@gnu.org>
1979
ca7dd4cd
GM
1980 * Makefile.in (autoloads): Do not use abs_lisp.
1981
4f85b479
GM
1982 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1983 `newline' does not respect `standard-output', so use `princ'.
1984
cf59e41c
AA
19852013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1986
1987 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1988 * buff-menu.el (Buffer-menu--unmark): New function.
1989 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1990
74cf04fb
GM
19912013-10-30 Glenn Morris <rgm@gnu.org>
1992
b040b60e
GM
1993 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1994
f53d3815
GM
1995 * emacs-lisp/package.el (lm-homepage): Declare.
1996
5413d873
GM
1997 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1998 Fix doc typos.
1999
cecedb36
GM
2000 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2001
74cf04fb
GM
2002 * Makefile.in (finder-data, autoloads, update-subdirs)
2003 (compile-main, compile-clean, compile-always, bootstrap-clean):
2004 Check return value of cd.
2005 (compile-calc): Remove.
2006
195ee2f0
SM
20072013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2008
ae4002ce
SM
2009 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2010
2011 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2012 (byte-compile-and-folded): New function.
2013 (=, <, >, <=, >=): Use it.
2014
2015 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2016 (path-separator, null-device, buffer-file-coding-system)
2017 (lpr-headers-switches): Check system-type before modifying them.
2018 (find-buffer-file-type-coding-system): Mark obsolete.
2019 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2020 find-file-not-found-set-buffer-file-coding-system.
2021 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2022 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2023 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2024 (w32-direct-print-region-helper, w32-direct-print-region-function)
2025 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2026 * startup.el (normal-top-level-add-subdirs-to-load-path):
2027 * ps-print.el (ps-print-region-function):
2028 * lpr.el (print-region-function): Use new name.
2029
53b39e89
SM
2030 * subr.el (custom-declare-variable-early): Remove function.
2031 (custom-declare-variable-list): Remove var.
2032 (error, user-error): Remove `while' loop.
2033 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2034 (user-emacs-directory-warning, locate-user-emacs-file):
2035 Move to files.el.
2036 * simple.el (read-quoted-char-radix, read-quoted-char):
2037 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2038 Move from subr.el.
2039 * custom.el (custom-declare-variable-list): Don't process
2040 custom-declare-variable-list.
2041
195ee2f0
SM
2042 * progmodes/python.el (python-shell-get-buffer): New function.
2043 (python-shell-get-process): Use it.
2044 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2045 Python which encoding was used. Don't split-string since we only care
2046 about the first line. Return the temp-file, if applicable.
2047 (python-shell-send-region): Tell compile.el how to turn locations in
2048 the temp-file into locations in the source buffer.
2049
7e3561ee
SM
20502013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2051
4c9797cb
SM
2052 * subr.el (undefined): Add missing behavior from the C code for
2053 unbound keys.
2054
3472b6c6
SM
2055 * rect.el: Use lexical-binding. Add new rectangular region support.
2056 (rectangle-mark): New command.
2057 (rectangle--region): New var.
2058 (deactivate-mark-hook): Reset rectangle--region.
2059 (rectangle--extract-region, rectangle--insert-for-yank)
2060 (rectangle--highlight-for-redisplay)
2061 (rectangle--unhighlight-for-redisplay): New functions.
2062 (region-extract-function, redisplay-unhighlight-region-function)
2063 (redisplay-highlight-region-function): Use them to handle
2064 rectangular region.
2065 * simple.el (region-extract-function): New var.
2066 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2067 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2068 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2069 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2070 (redisplay-unhighlight-region-function)
2071 (redisplay-highlight-region-function): New vars.
2072 (redisplay--update-region-highlight): New function.
2073 (pre-redisplay-function): Use it.
2074 (exchange-point-and-mark): Don't deactivate the mark before
2075 reactivate-it anyway.
2076 * comint.el (comint-kill-region): Remove yank-handler argument.
2077 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2078 (delete-char): Remove property, since it's now part of their
2079 default behavior.
2080 (self-insert-iso): Remove property since this command doesn't exist.
2081
7e3561ee
SM
2082 * emacs-lisp/package.el (package--download-one-archive)
2083 (describe-package-1): Don't query the user about final newline.
2084
b9bef71f
DC
20852013-10-29 Daniel Colascione <dancol@dancol.org>
2086
2087 * net/tramp.el (tramp-methods): Document new functionality.
2088 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2089 tramp-hostname-checker if method provides one instead of scanning
2090 argument list for "%h" to decide hostname acceptability.
2091
4efc33f0
MA
20922013-10-28 Michael Albinus <michael.albinus@gmx.de>
2093
2094 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2095 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2096 Handle COPY-CONTENTS. (Bug#15737)
2097
ed42a877
DU
20982013-10-28 Daiki Ueno <ueno@gnu.org>
2099
2100 * epa-file.el
7e3561ee
SM
2101 (epa-file-cache-passphrase-for-symmetric-encryption):
2102 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2103
18c9f8a2
XF
21042013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2105
7a4bc7be
XF
2106 * image.el (defimage):
2107 (image-load-path): Doc fixes.
18c9f8a2 2108
b1e8e010
AM
21092013-10-27 Alan Mackenzie <acm@muc.de>
2110
2111 Indent statements in macros following "##" correctly.
7e3561ee
SM
2112 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2113 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2114
73d40d1e 21152013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2116
2117 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2118
c8c605ac
DG
21192013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2120
2121 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2122 after `=' is probably a new expression.
2123
ca7e59d4
RS
21242013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2125
2126 * man.el (man-imenu-title): New option.
2127 (Man-mode-map): Add menu. (Bug#15722)
2128 (Man-mode): Add imenu to menu.
2129
bae91342
DG
21302013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2131
2132 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2133 specific in what the first arg can be: a non-keyword word,
2134 string/regexp/percent literal opener, opening paren, or unary
2135 operator followed directly by word.
2136
eb89dc14
SM
21372013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2140 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2141 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2142 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2143 Remove vars, they do not apply any more.
2144 (prolog-mode-abbrev-table): Remove redundant declaration.
2145 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2146 (prolog-use-smie): Remove.
2147 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2148 supported by prolog-electric-if-then-else-flag.
2149 (prolog-mode-variables, prolog-menu): Use setq-local.
2150 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2151 Remove binding to `Backspace' since this key doesn't exist anyway.
2152 Remove bindings for electric self-inserting keys.
2153 (prog-mode): Assume it's defined.
2154 (prolog-post-self-insert): New function.
2155 (prolog-mode): Use it.
2156 (prolog-indent-line, prolog-indent-level)
2157 (prolog-find-indent-of-matching-paren)
2158 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2159 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2160 (prolog-goto-next-paren, prolog-in-string-or-comment)
2161 (prolog-tokenize, prolog-inside-mline-comment)
2162 (prolog-find-start-of-mline-comment): Remove functions.
2163 (prolog-find-unmatched-paren, prolog-clause-end)
2164 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2165 (prolog-electric--if-then-else): Rename from
2166 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2167 (prolog-tokenize-searchkey): Remove const.
2168 (prolog-clause-info): Use forward-sexp.
2169 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2170 (prolog-electric-if-then-else): Remove commands.
2171 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2172 for use in post-self-insert-hook.
2173 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2174 for use in post-self-insert-hook.
2175 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2176 for use in post-self-insert-hook.
2177 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2178 adapt it for use in post-self-insert-hook.
2179
3dab0a83
MA
21802013-10-25 Michael Albinus <michael.albinus@gmx.de>
2181
2182 * emacs-lisp/ert.el (ert-run-tests-interactively):
2183 Use `completing-read'. (Bug#9756)
2184
fbfd0e1d
EZ
21852013-10-25 Eli Zaretskii <eliz@gnu.org>
2186
2187 * simple.el (line-move): Call line-move-1 instead of
2188 line-move-visual when the current window hscroll is zero, but
2189 temporary-goal-column indicates we will need to hscroll as result
2190 of the movement. (Bug#15712)
2191
963ce636
DG
21922013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2193
2194 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2195 capitalization. Use :visible instead of :active.
2196 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2197 commands that are used with SMIE.
2198 (ruby-do-end-to-brace): Insert space after `{'.
2199
a0be396a
JA
22002013-10-25 John Anthony <john@jo.hnanthony.com>
2201
f73754c9
JA
2202 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2203
2204 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2205
f5bf77df
GM
22062013-10-25 Glenn Morris <rgm@gnu.org>
2207
2208 * vc/vc.el (vc-print-log): Don't use a working revision unless
2209 one was explicitly specified. (Bug#15322)
2210
37241f62
SM
22112013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * subr.el (add-to-list): Preserve return value in compiler-macro
2214 (bug#15692).
2215
6408a65d
RS
22162013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2217
2218 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2219 result. Ask user to retry using '-all' flag. (Bug#15701)
2220
71e3276b
SM
22212013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * emacs-lisp/smie.el: New smie-config system.
2224 (smie-config): New defcustom.
2225 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2226 (smie-config-guess, smie-config-save): New commands.
2227 (smie-config--mode-local, smie-config--buffer-local)
2228 (smie-config--trace, smie-config--modefuns): New vars.
2229 (smie-config--advice, smie-config--mode-hook)
2230 (smie-config--setter, smie-config-local, smie-config--get-trace)
2231 (smie-config--guess-value, smie-config--guess): New functions.
2232 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2233 text properties. Treat "string fence" syntax like string syntax.
2234
2235 * progmodes/sh-script.el (sh-use-smie): Change default.
2236 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2237 (sh-var-value): Simplify by CSE.
2238 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2239 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2240 is used.
2241 (sh-guess-basic-offset): Use cl-incf.
2242 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2243
60db713e
HE
22442013-10-24 Helmut Eller <eller.helmut@gmail.com>
2245
2246 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2247 (bug#15699).
2248
8b251df6
GM
22492013-10-24 Glenn Morris <rgm@gnu.org>
2250
2251 * Makefile.in (abs_top_srcdir): Remove.
2252 (update-subdirs): Use relative path to update-subdirs.
2253
6be0e22b
EZ
22542013-10-24 Eli Zaretskii <eliz@gnu.org>
2255
2256 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2257 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2258 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2259 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2260
50b5b857
MA
22612013-10-24 Michael Albinus <michael.albinus@gmx.de>
2262
2263 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2264 (ert-test-skipped): New error.
2265 (ert-skip, ert-stats-skipped): New defuns.
2266 (ert--skip-unless): New macro.
2267 (ert-test-skipped): New struct.
2268 (ert--run-test-debugger, ert-test-result-type-p)
2269 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2270 (ert--stats-set-test-and-result, ert-char-for-test-result)
2271 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2272 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2273 Handle skipped tests. (Bug#9803)
50b5b857 2274
6f317c2f
GM
22752013-10-24 Glenn Morris <rgm@gnu.org>
2276
e43817c1
GM
2277 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2278
6f317c2f
GM
2279 * Makefile.in (abs_top_srcdir): New, set by configure.
2280 (update-subdirs): Correct build-aux location.
2281
369bbf71
DG
22822013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2283
8297b2cf
DG
2284 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2285 value, whether we could auto-deduce `backend', or not.
2286
369bbf71
DG
2287 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2288 with parameters" example. Simplify the "is it block or is it
2289 hash" check, but also make it more thorough.
2290
d5f1282f
MF
22912013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2292
2293 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2294
bc4aaa31
SM
22952013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2296
03d44565
SM
2297 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2298 { if it is hanging.
2299
bc4aaa31
SM
2300 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2301 :before ";".
2302
f493ff19
JB
23032013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2304
2305 * progmodes/compile.el (compilation-directory-matcher)
2306 (compilation-page-delimiter):
2307 Support GNU Make-4.0 directory quoting. (Bug#15678)
2308
c744a3b9
LL
23092013-10-23 Leo Liu <sdl.web@gmail.com>
2310
2311 * ido.el (ido-tidy): Handle read-only text.
2312
b8e3b0a9
GM
23132013-10-23 Glenn Morris <rgm@gnu.org>
2314
2315 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2316 (emacs, compile, compile-always):
2317 Quote entities that might contain whitespace.
2318 (custom-deps, finder-data, autoloads): Use abs_lisp.
2319 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2320 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2321 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2322
ee4282cd
DG
23232013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2324
bc4aaa31
SM
2325 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2326 Use `following-char'.
7790a270 2327
ee4282cd 23282013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2329
2330 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2331 * progmodes/ruby-mode.el (ruby-smie-rules):
2332 Remove corresponding workaround. Fix indentation rule of ";" so it
2333 also applies when ";" is the parent.
2334
d40a46d7
XF
23352013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2336
2337 * frame.el (display-screens, display-pixel-height)
2338 (display-pixel-width, display-mm-width, display-backing-store)
2339 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2340 (display-visual-class, display-monitor-attributes-list):
2341 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2342
a0f143c9
MG
23432013-10-22 Michael Gauland <mikelygee@amuri.net>
2344
2345 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2346 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2347
18cacc39
DG
23482013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2349
2350 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2351 TODO. Add "." after " @ ".
2352 (ruby-smie--at-dot-call): New function. Checks if point at method
2353 call with explicit target.
2354 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2355 to the method name tokens when it precedes them.
2356 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2357 (ruby-smie-rules): Add rule for indentation before and after "."
2358 token.
2359
df74c4be
SM
23602013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2361
c6dab55f
SM
2362 * textmodes/remember.el (remember-diary-extract-entries):
2363 Avoid add-to-list.
2364
df74c4be
SM
2365 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2366 an instruction.
2367
8c1ae481
DG
23682013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2369
cfef16c0
DG
2370 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2371 (ruby-smie--implicit-semi-p): Add new operator chars.
2372
8c1ae481
DG
2373 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2374 `smie-down-list'.
2375 (ruby-smie--args-separator-p): Check that there's no newline
2376 between method call and its arguments.
2377
87756ca9
AM
23782013-10-20 Alan Mackenzie <acm@muc.de>
2379
2380 Allow comma separated lists after Java "implements".
2381
df74c4be
SM
2382 * progmodes/cc-engine.el (c-backward-over-enum-header):
2383 Parse commas.
87756ca9
AM
2384 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2385 from a "disallowed" list in enum fontification.
2386
c25f8957
JB
23872013-10-20 Johan Bockgård <bojohan@gnu.org>
2388
df74c4be 2389 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2390
c25f8957
JB
2391 * progmodes/verilog-mode.el (verilog-mode): Don't set
2392 comment-indent-function globally.
2393
aca5fcdc
JD
23942013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2395
5f161884
JD
2396 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2397 Move Info menu item creation to ns-win.el.
2398
2399 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2400 in menu bar.
2401
aca5fcdc
JD
2402 * menu-bar.el: Move GNUStep specific menus...
2403
2404 * term/ns-win.el (ns-initialize-window-system): ... to here.
2405
914b7f98
SM
24062013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2407
2408 * simple.el (newline): Only run post-self-insert-hook when
2409 called interactively.
2410
846ffe77
JB
24112013-10-19 Johan Bockgård <bojohan@gnu.org>
2412
2413 * icomplete.el (icomplete-with-completion-tables): Add :version.
2414
033f22dd
AM
24152013-10-19 Alan Mackenzie <acm@muc.de>
2416
2417 Fix fontification bugs with constructors and const.
2418
2419 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2420 CASE 2) Remove the check for the absence of a suffix construct
2421 after a function declaration with only types (no identifiers) in
2422 the parentheses. Also, accept a function declaration with just a
2423 type inside the parentheses, if this type can be positively
2424 recognised as such, or if a prefix keyword like "explicit" nails
2425 down the construct as a declaration.
2426
58ce0cfc
EZ
24272013-10-19 Eli Zaretskii <eliz@gnu.org>
2428
2429 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2430 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2431 the problem whereby selecting a menu item that leads to a
2432 minibuffer prompt moves the cursor out of the minibuffer window,
2433 making it hard to type at the prompt. Suggested by Stefan Monnier
2434 <monnier@iro.umontreal.ca>.
2435
50e28e7d
JD
24362013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2437
2438 * menu-bar.el: Don't make Services menu.
2439
7deed4bf
RS
24402013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2441
2442 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2443 (ffap-alist): Use ffap-c++-mode for c++-mode.
2444 (ffap-c++-path): New variable.
2445 (ffap-c++-mode): New function.
2446
7bcb455b
JVJ
24472013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2448
2449 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2450
f0ff1cd5
MA
24512013-10-18 Michael Albinus <michael.albinus@gmx.de>
2452
2453 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2454 introduced on 2013-09-08, which results in an infinite loop
2455 requesting a password.
2456
d64da4b7
GM
24572013-10-18 Glenn Morris <rgm@gnu.org>
2458
2459 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2460
ea89ff08
WS
24612013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2462
2463 Sync with upstream verilog-mode revision 1a6ecec7.
2464 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2465 (verilog-mode-release-date): Remove.
2466 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2467 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2468 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2469 (verilog-auto-tieoff-ignore-regexp)
2470 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2471 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2472 (verilog-signals-with, verilog-dir-cache-preserving)
2473 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2474 Doc fixes.
2475 (verilog-case-fold): New option, to control case folding in
2476 regexp searches, bug597.
2477 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2478 (verilog-string-match-fold, verilog-in-paren-count)
2479 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2480 (verilog-at-close-struct-p): New functions.
2481 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2482 (verilog-forward-sexp, verilog-set-auto-endcomments):
2483 (verilog-leap-to-case-head): Handle "unique0" case.
2484 (verilog-in-constraint-re): New constant.
2485 (verilog-keywords, verilog-type-font-keywords):
2486 Add some SystemVerilog 1800-2012 keywords.
2487 (verilog-label-be): Remove unimplemented argument, bug669.
2488 (verilog-batch-execute-func): When batch expanding clear
2489 create-lockfiles to prevent spurious user locks when a file ends
2490 up not changing.
2491 (verilog-calculate-indent, verilog-calc-1)
2492 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2493 (verilog-do-indent): Fix indentation of nested constraints
2494 and structures.
2495 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2496 (verilog-auto-inst-param): Use verilog-string-match-fold.
2497 (verilog-read-inst-module-matcher):
2498 Fix AUTOINST on gate primitives with #1.
2499 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2500 Reads all user-defined typed variables.
2501 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2502 (verilog-signals-matching-regexp)
2503 (verilog-signals-not-matching-regexp, verilog-auto):
2504 Respect verilog-case-fold.
2505 (verilog-diff-report): Fix line count.
2506 (verilog-auto-assign-modport): Remove unused local `modi'.
2507 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2508 better handle multidimensional arrays.
2509 Fix packed array ports misadding bit index in AUTOINST, bug637.
2510 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2511 to not double-declare existing outputs and inputs, respectively.
2512 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2513 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2514 (verilog-sk-uvm-component): New skeleton.
2515 (verilog-submit-bug-report): Add verilog-case-fold,
2516 remove verilog-mode-release-date.
2517
ef566920
BR
25182013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2519
2520 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2521 as before.
2522
29df8a0b
RT
25232013-10-18 Reuben Thomas <rrt@sc3d.org>
2524
2525 * textmodes/remember.el (remember): set buffer-offer-save in
2526 remember buffers (bug#13566).
2527
04a19a79
DC
25282013-10-18 Daniel Colascione <dancol@dancol.org>
2529
2530 When evaluating forms in ielm, direct standard output to ielm
2531 buffer. Add new ielm-return-for-effect command. Remove trailing
2532 whitespace throughout.
2533
2534 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2535 (ielm-return-for-effect): New command.
2536 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2537 (ielm-eval-input): Accept optional `for-effect' parameter.
2538 Bind `standard-output' to stream we create using
04a19a79
DC
2539 `ielm-standard-output-impl'. Suppress printing result when
2540 `for-effect'.
2541 (ielm-standard-output-impl): New function.
2542 (inferior-emacs-lisp-mode): Explain new features in documentation.
2543
4c1f03ef
MA
25442013-10-17 Michael Albinus <michael.albinus@gmx.de>
2545
2546 Code cleanup.
2547
2548 * net/tramp.el (tramp-debug-message): Do not check for connection
2549 buffer.
2550 (tramp-message): Use "vector" connection property.
2551
2552 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2553 (tramp-equal-remote, tramp-eshell-directory-change)
2554 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2555 (tramp-adb-handle-rename-file)
2556 * net/tramp-cmds.el (tramp-list-remote-buffers)
2557 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2558 * net/tramp-compat.el (tramp-compat-process-running-p)
2559 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2560 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2561 (tramp-gvfs-handle-rename-file)
2562 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2563 (tramp-set-file-uid-gid)
2564 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2565 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2566 of `file-remote-p'.
2567
2568 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2569 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2570 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2571 (tramp-gw-open-network-stream): Suppress unrelated traces.
2572
2573 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2574 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2575 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2576 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2577 connection property.
2578
2579 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2580 persistency file.
4c1f03ef
MA
2581
2582 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2583 Refactor common code. Improve debug message.
2584 (tramp-maybe-open-connection)
2585 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2586 connection buffer too early.
2587
2588 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2589 from `tramp-smb-actions-with-acl'.
2590 (tramp-smb-actions-set-acl): New defconst.
2591 (tramp-smb-handle-copy-directory)
2592 (tramp-smb-action-get-acl): New defun, renamed from
2593 `tramp-smb-action-with-acl'.
2594 (tramp-smb-action-set-acl): New defun.
2595 (tramp-smb-handle-set-file-acl): Rewrite.
2596
642eb8b6
GM
25972013-10-17 Glenn Morris <rgm@gnu.org>
2598
2599 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2600
85527ff3
SM
26012013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2602
921c1d62
SM
2603 * skeleton.el (skeleton-newline): Remove.
2604 (skeleton-internal-1): Use (insert "\n") instead.
2605
e333fb10
SM
2606 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2607 let-bindings.
2608
85527ff3
SM
2609 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2610 forward-sexp-function while we redo its job (bug#15613).
2611
c8722a97
JB
26122013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2613
2614 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2615 represented by lists.
2616
7a550bbb
GM
26172013-10-16 Glenn Morris <rgm@gnu.org>
2618
2619 * tmm.el (tmm--history): New dynamic variable.
2620 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2621
f19da8ad
MA
26222013-10-16 Michael Albinus <michael.albinus@gmx.de>
2623
2624 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2625 (tramp-smb-errors): Add error messages.
2626 (tramp-smb-actions-with-acl): New defconst.
2627 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2628 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2629 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2630 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2631 (tramp-smb-get-stat-capability): Fix tests.
2632
a24b9961
DK
26332013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2634
2635 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2636 (bug#15580).
2637
62ad85e6
GM
26382013-10-16 Glenn Morris <rgm@gnu.org>
2639
0283d6b0
GM
2640 * ansi-color.el (ansi-color-drop-regexp):
2641 Add 1J, 1K, 2K. (Bug#15617)
2642
012e2f9f
GM
2643 * files.el (hack-local-variables--warned-lexical): New.
2644 (hack-local-variables):
2645 Warn about misplaced lexical-binding. (Bug#15616)
2646
62ad85e6
GM
2647 * net/eww.el (eww-render): Always set eww-current-url,
2648 and update header line. (Bug#15622)
2649 (eww-display-html): ... Rather than just doing it here.
2650
6456c0ea
EZ
26512013-10-15 Eli Zaretskii <eliz@gnu.org>
2652
2653 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2654 menu navigations commands.
2655
c2de5588
DK
26562013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2657
2658 * progmodes/subword.el (subword-capitalize): Be careful when
2659 the search for [[:alpha:]] fails (bug#15580).
2660
ccd4a783
EZ
26612013-10-14 Eli Zaretskii <eliz@gnu.org>
2662
2663 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2664 to commands that scroll the menu.
2665
1eda1d8d
DG
26662013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2667
c2de5588
DK
2668 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2669 Handle methods ending with `?' and `!'.
1eda1d8d 2670
e70181b8
AM
26712013-10-14 Akinori MUSHA <knu@iDaemons.org>
2672
2673 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2674 `japanese-cp932' to `cp932' to fix the problem where saving a
2675 source file written in Shift_JIS twice would end up having
2676 `coding: japanese-cp932' which Ruby could not recognize.
2677 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2678 in `ruby-encoding-map'.
2679 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2680 doesn't need to be explicitly declared in magic comment.
2681 (ruby-encoding-map): Add type declaration for better customize UI.
2682
9148ee92
GM
26832013-10-13 Glenn Morris <rgm@gnu.org>
2684
a5d38e34
GM
2685 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2686 Occur buffers are read-only. http://bugs.debian.org/720775
2687
9148ee92
GM
2688 * emacs-lisp/authors.el (authors-fixed-entries):
2689 Comment out old alpha stuff.
2690
a9ba094b
DG
26912013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2692
2693 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2694 to `after-save-hook' instead of `before-save-hook'.
2695 (ruby-mode-set-encoding): Use the value of coding system used to
2696 write the file. Call `basic-save-buffer-1' after modifying the
2697 buffer.
2698
7a068717
AM
26992013-10-13 Alan Mackenzie <acm@muc.de>
2700
2701 Fix indentation/fontification of Java enum with
2702 "implements"/generic.
2703
c2de5588
DK
2704 * progmodes/cc-engine.el (c-backward-over-enum-header):
2705 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2706 (c-inside-bracelist-p): Uses new function above.
2707 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2708 function above.
2709 (c-font-lock-enum-tail): Uses new function above.
2710
85b64f02
KH
27112013-10-13 Kenichi Handa <handa@gnu.org>
2712
2713 * international/mule-cmds.el (select-safe-coding-system): Remove a
2714 superfluous condition in chekcing whether a coding system is safe
2715 or not.
2716
fc7f501b
OK
27172013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2718
2719 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2720
fdcb2049
AP
27212013-10-13 Andreas Politz <politza@hochschule-trier.de>
2722
2723 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2724
8c106d17
GM
27252013-10-13 Glenn Morris <rgm@gnu.org>
2726
feab892d
GM
2727 * menu-bar.el (menu-bar-update-buffers):
2728 Unify Buffers menu prompt string. (Bug#15576)
2729
b22d0686
GM
2730 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2731
8c106d17
GM
2732 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2733 Add some entries.
2734 (authors-fixed-entries): Use accented form of name.
2735
1b12c797
SM
27362013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2737
650fa7bf 2738 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2739 method calls (bug#15594).
650fa7bf
SM
2740 (ruby-smie--args-separator-p): New function.
2741 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2742 recognize paren-free method calls.
2743
1b12c797
SM
2744 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2745 internals of universal-argument.
2746
029619c8
EZ
27472013-10-11 Eli Zaretskii <eliz@gnu.org>
2748
2749 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2750 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2751 dropped menu on second mouse click on the menu bar.
029619c8 2752
dd070019
SM
27532013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2754
2755 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2756 (explicit-shell-file-name): Declare.
2757 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2758 (sh-completion-at-point-function): New function.
2759 (sh-mode): Use it.
2760 (sh-smie--keyword-p): Remove unused argument.
2761 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2762 vars.
2763 (sh-set-shell): Always setup SMIE, even if we use the
2764 old indentation code.
2765
0922b826
DG
27662013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2767
b68e2926
DG
2768 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2769 cases of ? and =.
2770 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2771 predicate would return nil are almost non-existent.
2772 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2773
0922b826
DG
2774 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2775 cache also after commands that modify the buffer but don't move
2776 point.
2777
ee041f2d
SM
27782013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * env.el (substitute-env-in-file-name): New function.
2781 (substitute-env-vars): Extend the meaning of the optional arg.
2782
a5dab159
EZ
27832013-10-10 Eli Zaretskii <eliz@gnu.org>
2784
2785 * term/w32-win.el (dynamic-library-alist): Define separate lists
2786 of GIF DLLs for versions before and after 5.0.0 of giflib.
2787 (Bug#15531)
2788
0449d6cd 27892013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2790
2791 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2792 not locked, use last revision and current source as
2793 defaults. (Bug#15569)
2794
2f6e161e
MY
27952013-10-10 Masatake YAMATO <yamato@redhat.com>
2796
2797 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2798 menu-bar is hidden.
2799
6c8413fc
MR
28002013-10-10 Martin Rudalics <rudalics@gmx.at>
2801
2802 * window.el (pop-to-buffer-same-window): Fix doc-string.
2803 (Bug#15492)
2804
20832de0
SM
28052013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2808
c6e8ae77
AC
28092013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2810
2811 * calendar/icalendar.el (icalendar-import-file):
2812 Fix interactive spec. (Bug#15482)
2813
9db13baf
GM
28142013-10-10 Glenn Morris <rgm@gnu.org>
2815
9271e90e
GM
2816 * desktop.el (desktop-save): Default to saving in .emacs.d,
2817 since PWD is no longer in desktop-path by default. (Bug#15319)
2818
9db13baf
GM
2819 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2820 now that text mode has a menu with the same entry.
2821 (menu-bar-text-mode-auto-fill): Remove now unused func.
2822 * textmodes/text-mode.el (text-mode-map):
2823 Use auto-fill help text from menu-bar.el.
2824
a0be396a 28252013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2826
2827 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2828
2edcd3c7
JL
28292013-10-09 Juri Linkov <juri@jurta.org>
2830
2831 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2832 instead of this-command-keys. Add universal-argument-more and
2833 universal-argument-minus to the list of prefix commands. (Bug#15568)
2834
574411d0
GM
28352013-10-09 Glenn Morris <rgm@gnu.org>
2836
14afa541
GM
2837 * vc/vc-svn.el (vc-svn-create-repo):
2838 Expand paths in file://... url. (Bug#15446)
2839
574411d0
GM
2840 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2841 Add some entries.
2842 (authors): Remove unused local variables.
2843
79804536
SM
28442013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * profiler.el: Create a more coherent calltree from partial backtraces.
2847 (profiler-format): Hide the tail with `invisible' so that C-s can still
2848 find the hidden elements.
2849 (profiler-calltree-depth): Don't recurse so enthusiastically.
2850 (profiler-function-equal): New hash-table-test.
2851 (profiler-calltree-build-unified): New function.
2852 (profiler-calltree-build): Use it.
2853 (profiler-report-make-name-part): Indent the calltree less.
2854 (profiler-report-mode): Add visibility specs for profiler-format.
2855 (profiler-report-expand-entry, profiler-report-toggle-entry):
2856 Expand the whole subtree when provided with a prefix arg.
2857
238150c8
DG
28582013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2859
2860 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2861 iuwu-mod token.
2862 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2863 hanging iuwu-mod token.
2864 (ruby-smie--forward-token): Do not include a dot after a token in
2865 that token.
2866 (ruby-smie--backward-token): Likewise.
2867
b0949cc4
JL
28682013-10-08 Juri Linkov <juri@jurta.org>
2869
2870 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2871 to isearch-other-control-char.
2872 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2873 and isearch-post-command-hook to post-command-hook.
2874 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2875 and isearch-post-command-hook from post-command-hook.
2876 (isearch-unread-key-sequence)
2877 (isearch-reread-key-sequence-naturally)
2878 (isearch-lookup-scroll-key, isearch-other-control-char)
2879 (isearch-other-meta-char): Remove functions.
2880 (isearch-pre-command-hook, isearch-post-command-hook):
2881 New functions based on isearch-other-meta-char rewritten
2882 relying on the new behavior of overriding-terminal-local-map
2883 that does not replace the local keymaps any more. (Bug#15200)
2884
4ed77415
EZ
28852013-10-08 Eli Zaretskii <eliz@gnu.org>
2886
2887 Support menus on text-mode terminals.
2888 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2889 functionality.
2890
2891 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2892
c2de5588
DK
2893 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2894 Move here from mouse.el.
4ed77415
EZ
2895 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2896 and arrow keys.
2897 (tty-menu-navigation-map): New map for TTY menu navigation.
2898
2899 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2900
2901 * frame.el (display-mouse-p): Report text-mode mouse as available
2902 on w32.
2903 (display-popup-menus-p): Report availability if mouse is
2904 available; don't condition on window-system.
2905
2906 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2907 (tty-menu-selected-face): New faces.
2908
b7d5bd82
TL
29092013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2910
06286513
SM
2911 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2912 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2913 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2914 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2915 New constants.
2916 (lisp-mode-variables): New `elisp' argument.
2917 (emacs-lisp-mode): Use it.
2918 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2919 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2920
b7d5bd82
TL
2921 * indent.el: Use lexical-binding.
2922 (indent-region): Add progress reporter.
2923 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2924 last step.
2925 (indent--next-tab-stop): New function to implement this behavior.
2926 (tab-to-tab-stop, move-to-tab-stop): Use it.
2927
29282013-10-08 Teemu Likonen <tlikonen@iki.fi>
2929
2930 * indent.el (indent-rigidly--current-indentation): New function.
2931 (indent-rigidly-map): New var.
2932 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2933
5ea75d23
BG
29342013-10-08 Bastien Guerry <bzg@gnu.org>
2935
2936 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2937
cc5da1ec
SM
29382013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2939
8ffa1a0b
SM
2940 * progmodes/perl-mode.el: Use lexical-binding.
2941 Remove redundant :group args.
2942 (perl-nochange): Change default to be closer to other major modes's
2943 standard behavior.
2944 (perl-indent-line): Don't consider text on current line as a
2945 valid beginning of function from which to indent.
2946
f2223371
SM
2947 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2948 with more than one argument (bug#15538).
2949
44256060
SM
2950 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2951
cc5da1ec
SM
2952 * vc/pcvs.el: Use lexical-binding.
2953 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2954 environment of `eval'.
2955 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2956 than a list of expressions. Adjust callers.
2957 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2958
0ea1599d
DG
29592013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2960
2961 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2962 case of the dot in a chained method call being on the following line.
0ea1599d 2963
da3e5ebb
SM
29642013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2abb4e65
SM
2966 * electric.el (electric-indent-inhibit): New var.
2967 (electric-indent-post-self-insert-function): Use it.
2968 * progmodes/python.el (python-mode): Set it.
2969
d2e0e795
SM
2970 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2971 open braces.
2972
2973 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2974
bdc6b4c8
SM
2975 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2976 (css-mode): Use electric-indent-chars.
2977
da3e5ebb
SM
2978 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2979 (font-lock-beg, font-lock-end): Move before first use.
2980 (nxml-mode): Use syntax-propertize-function.
2981 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2982 (nxml-extend-after-change-region): Remove.
2983 * nxml/xmltok.el: Use lexical-binding.
2984 (xmltok-save): Use `declare'.
2985 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2986 * nxml/nxml-util.el: Use lexical-binding.
2987 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2988 Use `declare'.
2989 * nxml/nxml-ns.el: Use lexical-binding.
2990 (nxml-ns-save): Use `declare'.
2991 (nxml-ns-prefixes-for): Avoid add-to-list.
2992 * nxml/rng-match.el: Use lexical-binding.
2993 (rng--ipattern): Use cl-defstruct.
2994 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2995 (rng-cons-group-after, rng-subst-group-after)
2996 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2997 Use closures instead of `(lambda...).
2998
f8f91d5d
MA
29992013-10-07 Michael Albinus <michael.albinus@gmx.de>
3000
3001 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3002 of BEG and END.
3003
da3e5ebb
SM
3004 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3005 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3006 (tramp-gvfs-handle-insert-file-contents): Remove function.
3007
da3e5ebb
SM
3008 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3009 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3010
3011 * net/trampver.el: Update release number.
3012
7ccae3b1
SM
30132013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3014
55ca2c0d
SM
3015 * progmodes/compile.el (compilation-parse-errors):
3016 Use compilation--put-prop.
3017 (compilation--ensure-parse): Check compilation-multiline.
3018
731fc3ae
SM
3019 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3020
da3e5ebb
SM
3021 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3022 lexical-binding.
a5833280 3023
2e7ba2c2
SM
3024 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3025
7ccae3b1
SM
3026 * progmodes/ruby-mode.el: Fix recently added tests.
3027 (ruby-smie-grammar): Add - and +.
3028 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3029 (ruby-smie--backward-id): New functions.
3030 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3031 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3032 any more.
3033
85698d63
LL
30342013-10-07 Leo Liu <sdl.web@gmail.com>
3035
3036 * register.el (register-preview-delay)
3037 (register-preview-functions): New variables.
3038 (register-read-with-preview, register-preview)
3039 (register-describe-oneline): New functions.
3040 (point-to-register, window-configuration-to-register)
3041 (frame-configuration-to-register, jump-to-register)
3042 (number-to-register, view-register, insert-register)
3043 (copy-to-register, append-to-register, prepend-to-register)
3044 (copy-rectangle-to-register): Use register-read-with-preview to
3045 read register. (Bug#15525)
3046
3986af6c
DS
30472013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3048
3049 * net/network-stream.el (network-stream-open-starttls): Don't add
3050 --insecure if it's already present, because that gnutls-cli
3051 rejects getting that parameter twice.
3052
5cd9cda9
DG
30532013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3054
3055 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3056 keyword, too.
3057
da9ea6d9
DG
30582013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3059
3060 * newcomment.el (comment-use-global-state): Change default value
3061 to t, mark obsolete (Bug#15251).
3062 (comment-beginning): In addition to `comment-to-syntax', check the
3063 value of `comment-use-global-state'.
3064
34d1a133
SM
30652013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3068 (ruby-comment-column): Follow the global default, by default.
3069 (ruby-smie-grammar): Add assignment syntax.
3070 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3071 open-paren, a comma, or a \.
3072 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3073 and line continuations.
3074 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3075 followed by implicit semi-colons. Add rule for string concatenation
3076 and for indentation at BOB.
3077 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3078
3079 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3080 calling next-sexp, since next-token may have skipped chars which
3081 next-sexp doesn't know should be skipped!
3082
6f6ab820
LL
30832013-10-05 Leo Liu <sdl.web@gmail.com>
3084
34d1a133
SM
3085 * progmodes/octave.el (octave-send-region):
3086 Call compilation-forget-errors.
6f6ab820 3087
34ca0f4c
XF
30882013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3089
3090 * vc/vc-svn.el (vc-svn-find-admin-dir):
3091 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3092 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3093 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3094 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3095
a27c1b72
SM
30962013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3099
258ab3bc
SM
31002013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * subr.el (read-passwd): Hide chars even when called within a context
3103 where after-change-functions is disabled (bug#15501).
3104 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3105 until we removed ourself from overriding-terminal-local-map.
3106
939fb29c
LL
31072013-10-04 Leo Liu <sdl.web@gmail.com>
3108
258ab3bc
SM
3109 * progmodes/octave.el (inferior-octave-mode):
3110 Call compilation-forget-errors.
939fb29c 3111
63bd7f35
XF
31122013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3113
3114 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3115
9e6229fa
MA
31162013-10-04 Michael Albinus <michael.albinus@gmx.de>
3117
3118 * net/secrets.el (secrets-create-collection): Add optional
3119 argument ALIAS. Use proper Label keyword. Append ALIAS as
3120 dbus-call-method argument. (Bug#15516)
3121
1dab32a3
LL
31222013-10-04 Leo Liu <sdl.web@gmail.com>
3123
3124 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3125 (inferior-octave-compilation-font-lock-keywords): New variables.
3126 (compilation-error-regexp-alist)
3127 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3128 (inferior-octave-mode): Use compilation-shell-minor-mode.
3129
6cad7ba3
JS
31302013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3131
3132 * minibuffer.el (completion--replace): Be careful that `end' might be
3133 a marker.
3134
acbadd00
DU
31352013-10-03 Daiki Ueno <ueno@gnu.org>
3136
3137 Add support for package signature checking.
3138 * emacs-lisp/package.el (url-http-file-exists-p)
3139 (epg-make-context, epg-context-set-home-directory)
3140 (epg-verify-string, epg-context-result-for)
3141 (epg-signature-status, epg-signature-to-string)
3142 (epg-check-configuration, epg-configuration)
3143 (epg-import-keys-from-file): Declare.
3144 (package-check-signature): New user option.
3145 (package-unsigned-archives): New user option.
3146 (package-desc): Add `signed' field.
3147 (package-load-descriptor): Set `signed' field if .signed file exists.
3148 (package--archive-file-exists-p): New function.
3149 (package--check-signature): New function.
3150 (package-install-from-archive): Check package signature.
3151 (package--download-one-archive): Check archive signature.
3152 (package-delete): Remove .signed file.
3153 (package-import-keyring): New command.
3154 (package-refresh-contents): Import default keyring.
3155 (package-desc-status): Add "unsigned" status.
3156 (describe-package-1, package-menu--print-info)
3157 (package-menu-mark-delete, package-menu--find-upgrades)
3158 (package-menu--status-predicate): Support "unsigned" status.
3159
adf2aa61
SM
31602013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3161
3162 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3163 the new compilation scheme using the new byte-codes.
3164
3165 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3166 (byte-pophandler): New byte codes.
3167 (byte-goto-ops): Adjust accordingly.
3168 (byte-compile--use-old-handlers): New var.
3169 (byte-compile-catch): Use new byte codes depending on
3170 byte-compile--use-old-handlers.
3171 (byte-compile-condition-case--old): Rename from
3172 byte-compile-condition-case.
3173 (byte-compile-condition-case--new): New function.
3174 (byte-compile-condition-case): New function that dispatches depending
3175 on byte-compile--use-old-handlers.
3176 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3177 when we can.
3178
3179 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3180 Optimize under `condition-case' and `catch' if
3181 byte-compile--use-old-handlers is nil.
3182 (disassemble-offset): Handle new bytecodes.
3183
328a8179
SM
31842013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * subr.el (error): Use `declare'.
3187 (decode-char, encode-char): Use advertised-calling-convention instead
3188 of the docstring to discourage use of the `restriction' arg.
3189
15a1e936
DU
31902013-10-03 Daiki Ueno <ueno@gnu.org>
3191
3192 * epg.el (epg-verify-file): Add a comment saying that it does not
3193 notify verification error as a return value nor a signal.
3194 (epg-verify-string): Ditto.
3195
376f862a
KR
31962013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3197
3198 * progmodes/compile.el (compilation-start): Try globbing the arg to
3199 `cd' (bug#15417).
3200
a2f93a5f
MA
32012013-10-02 Michael Albinus <michael.albinus@gmx.de>
3202
3203 Sync with Tramp 2.2.8.
3204
3205 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3206 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3207 * net/trampver.el: Update release number.
3208
0daa0804
JD
32092013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3210
3211 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3212 and default-process-coding-system for darwin only.
3213
abd1ae34
SM
32142013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3215
3216 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3217
be4e325d
MH
32182013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3219
3220 * vc/vc-git.el (vc-git-grep): Disable pager.
3221
e9155c4a
DG
32222013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3223
494e898b
DG
3224 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3225 Use :url instead of :homepage, as per
3226 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3227
e9155c4a
DG
3228 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3229 non-nil, use `syntax-ppss' (Bug#15251).
3230
481a8e0f
RS
32312013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3232
be4e325d
MH
3233 * progmodes/octave.el (inferior-octave-startup-file):
3234 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3235
056453c6
DG
32362013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3237
be4e325d
MH
3238 * emacs-lisp/package.el (package-desc-from-define):
3239 Accept additional arguments as plist, convert them to an alist and store
3240 them in the `extras' slot.
056453c6
DG
3241 (package-generate-description-file): Convert extras alist back to
3242 plist and append to the `define-package' form arguments.
3243 (package--alist-to-plist): New function.
3244 (package--ac-desc): Add `extras' slot.
3245 (package--add-to-archive-contents): Check if the archive-contents
3246 vector is long enough, and if it is, pass its `extras' slot value
3247 to `package-desc-create'.
3248 (package-buffer-info): Call `lm-homepage', pass the returned value
3249 to `package-desc-from-define'.
3250 (describe-package-1): Render the homepage button (Bug#13291).
3251
be4e325d
MH
3252 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3253 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3254
832966e5
JD
32552013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3256
3257 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3258 and default-process-coding-system to utf-8-unix (Bug#15402).
3259
6cfe977d
XF
32602013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3261
3262 * subr.el (looking-back): Do not recommend using looking-back.
3263
38de11bd
AM
32642013-09-28 Alan Mackenzie <acm@muc.de>
3265
3266 Fix indentation/fontification of Java enum with "implements".
3267
3268 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3269 regexp which matches "implements", etc., in Java.
3270 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3271 specifier clauses coming after "enum".
3272 * progmodes/cc-fonts.el (c-font-lock-declarations)
3273 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3274 after "enum".
3275
1610938f
JD
32762013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3277
3278 * faces.el (region): Change ns_selection_color to
3279 ns_selection_fg_color, add ns_selection_bg_color.
3280
e090f499
LL
32812013-09-28 Leo Liu <sdl.web@gmail.com>
3282
4d2e94d1
LL
3283 * progmodes/octave.el (inferior-octave-completion-table)
3284 (inferior-octave-completion-at-point): Minor tweaks.
3285
e090f499
LL
3286 * textmodes/ispell.el (ispell-lookup-words): Rename from
3287 lookup-words. (Bug#15460)
3288 (lookup-words): Obsolete.
3289 (ispell-complete-word, ispell-command-loop): All uses changed.
3290
7e138a62
RS
32912013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3292
3293 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3294 (octave-mode-menu): Add octave-send-buffer.
3295 (octave-send-buffer): New function.
3296
5af5ed08
RS
32972013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3298
3299 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3300 octave-lookfor.
3301 (octave-mode-menu): Add octave-lookfor.
3302 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3303 octave-lookfor.
3304 (octave-lookfor): New function.
3305
3b7b2692
SM
33062013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3307
3308 * emacs-lisp/cl-macs.el:
3309 (cl--loop-destr-temps): Remove.
3310 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3311 its convention.
3312 (cl--loop-set-iterator-function): New function.
3313 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3314 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3315 Bind `it' with `let' instead of substituting it with `cl-subst'.
3316 (cl--unused-var-p): New function.
3317 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3318 Eliminate some unused variable warnings (bug#15326).
3319
529fb53f
TH
33202013-09-27 Tassilo Horn <tsdh@gnu.org>
3321
3322 * doc-view.el (doc-view-scale-reset): Rename from
3323 `doc-view-reset-zoom-level'.
3324 (doc-view-scale-adjust): New command.
3325 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3326 `doc-view-scale-adjust'.
3327
0550c95a
TH
33282013-09-26 Tassilo Horn <tsdh@gnu.org>
3329
3330 * doc-view.el (doc-view-reset-zoom-level): New command.
3331 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3332 zoom commands (bug#15466).
3333
6950f152
KH
33342013-09-26 Kenichi Handa <handa@gnu.org>
3335
3336 * international/quail.el (quail-help): Make it not a command.
3337
39587580
LL
33382013-09-26 Leo Liu <sdl.web@gmail.com>
3339
3340 * minibuffer.el (completion-all-sorted-completions): Make args
3341 optional as they are.
3342
00578659
DC
33432013-09-25 Daniel Colascione <dancol@dancol.org>
3344
3345 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3346 specs are and that they're not evaluated.
3347
0c173878
SS
33482013-09-24 Sam Steingold <sds@gnu.org>
3349
3350 * midnight.el (clean-buffer-list-kill-regexps)
3351 (clean-buffer-list-kill-buffer-names): Update for the new Man
3352 buffer naming which includes the object name.
3353
84998447
SM
33542013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3357 (eshell-parse-command, eshell-parse-pipeline): Use it since
3358 eshell-separate-commands requires a dynamic scoped var.
3359 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3360
33215353
LL
33612013-09-23 Leo Liu <sdl.web@gmail.com>
3362
3363 * autoinsert.el (auto-insert-alist): Make the value of
3364 lexical-binding match its file setting.
3365
57b16162
JB
33662013-09-23 Juanma Barranquero <lekktu@gmail.com>
3367
c8af4e67
JB
3368 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3369
57b16162
JB
3370 * autoarg.el (autoarg-kp-digit-argument):
3371 * electric.el (Electric-command-loop):
3372 * kmacro.el (kmacro-step-edit-insert):
3373 Do not set universal-argument-num-events.
3374
7186ba60
LL
33752013-09-22 Leo Liu <sdl.web@gmail.com>
3376
3377 * files.el (interpreter-mode-alist): Add octave.
3378
ece15004
AM
33792013-09-21 Alan Mackenzie <acm@muc.de>
3380
3381 C++: fontify identifier in declaration following "public:" correctly.
3382 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3383 to match "public", etc.
3384 (c-decl-prefix-re): Add ":" into the C++ value.
3385 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3386 bit. Add a check for a ":" preceded by "public", etc.
3387
75d83e22
EZ
33882013-09-21 Eli Zaretskii <eliz@gnu.org>
3389
3390 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3391 recognized by GDB 7.5 and later.
3392
d052d3bd
XF
33932013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3394
3395 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3396
31dca772
R
33972013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * subr.el (internal--call-interactively): New const.
3400 (called-interactively-p): Use it (bug#3984).
3401
98ccf24e
XF
34022013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3403
3404 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3405 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3406 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3407
c39cc7d1
SM
34082013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3409
3410 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3411 (eshell-ls-orig-insert-directory): Remove.
3412 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3413 (eshell-ls-use-in-dired): Use advice-add/remove.
3414 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3415 Add `orig-fun' arg for use in :around advice.
3416 Make it check (redundantly) eshell-ls-use-in-dired.
3417
9a0289a2
GM
34182013-09-19 Glenn Morris <rgm@gnu.org>
3419
a2c501b8
GM
3420 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3421
c440407a
GM
3422 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3423
9a0289a2
GM
3424 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3425
85e05915
MA
34262013-09-19 Michael Albinus <michael.albinus@gmx.de>
3427
3428 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3429 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3430 (tramp-get-remote-python): New defuns.
3431 (tramp-get-remote-uid-with-perl)
3432 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3433 contributed by yary <not.com@gmail.com> (tiny change).
3434 (tramp-get-remote-uid-with-python)
3435 (tramp-get-remote-gid-with-python): New defuns. Python code
3436 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3437 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3438
ce503312
GM
34392013-09-19 Glenn Morris <rgm@gnu.org>
3440
f7544773
GM
3441 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3442
72fd2877
GM
3443 * eshell/em-unix.el (eshell-remove-entries):
3444 Rename argument to avoid name-clash with global `top-level'.
3445
336b5a56
GM
3446 * eshell/esh-proc.el (eshell-kill-process-function):
3447 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3448 (eshell-reset-after-proc): Remove unused arg `proc'.
3449
57a3a53d
GM
3450 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3451 (directory-files-and-attributes): Mark unused arg.
3452
3261d4af
GM
3453 * eshell/em-unix.el (eshell-remove-entries):
3454 Remove unused arg `path'. Update callers.
3455
8e51b5d0
GM
3456 * eshell/em-hist.el (eshell-hist-parse-arguments):
3457 Remove unused arg `silent'. Update callers.
3458
ce503312
GM
3459 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3460 Fix (f)boundp mix-up.
3461
3462 * eshell/em-smart.el (eshell-smart-scroll-window)
3463 (eshell-disable-after-change):
336b5a56 3464 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3465
ee3ce8a7
AM
34662013-09-18 Alan Mackenzie <acm@muc.de>
3467
3468 Fix fontification of type when followed by "const".
3469 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3470 "known" types from fontification.
3471
ec9177ba
GM
34722013-09-18 Glenn Morris <rgm@gnu.org>
3473
7bb3e768
GM
3474 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3475 (chart-face-list): Drop Emacsen without display-color-p.
3476
5148da15
GM
3477 * net/eww.el (libxml-parse-html-region): Declare.
3478 (eww-display-html): Explicit error if no libxml2 support.
3479
2f68e157
GM
3480 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3481
9019d095
GM
3482 * image.el (image-type-from-buffer, image-multi-frame-p):
3483 Remove --without-x warning/error.
67645389 3484
5f30349b 3485 * mouse.el (mouse-yank-primary):
45069b2e 3486 * term.el (term-mouse-paste):
5f30349b
GM
3487 Reorder to silence --without-x compilation.
3488
cd8edbbe
GM
3489 * mpc.el (doc-view-mode): Silence --without-x compilation.
3490
8a78544e
GM
3491 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3492 Silence --without-x compilation.
3493
12679bfd
GM
3494 * progmodes/gud.el (gud-find-file, gud-mode):
3495 Silence --without-x compilation.
3496 (tooltip-mode): Declare.
30810a05 3497
f0047cb9
GM
3498 * wdired.el (dired-backup-overwrite): Remove declaration.
3499 (wdired-mode-map): Add doc string.
3500
e740f9d2
GM
3501 * custom.el (x-get-resource): Declare.
3502
92d77c89
GM
3503 * eshell/em-glob.el (ange-cache):
3504 * eshell/em-unix.el (ange-cache): Declare.
3505
76e69577
GM
3506 * faces.el (x-display-list, x-open-connection, x-get-resource):
3507 Declare.
7e58af4b
GM
3508
3509 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3510 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3511 Declare.
76e69577 3512
4bd4c0af 3513 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3514
ffb82dbd
GM
3515 * net/gnutls.el (gnutls-log-level): Declare.
3516
986ed135
GM
3517 * net/shr.el (image-size, image-animate): Declare.
3518
e740f9d2
GM
3519 * simple.el (font-info): Declare.
3520
d2f3e9f8
GM
3521 * subr.el (x-popup-dialog): Declare.
3522
047a1a4c
GM
3523 * term/common-win.el (x-select-enable-primary)
3524 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3525 Declare.
3526
f4a1d572
GM
3527 * term/ns-win.el (x-handle-args): Declare.
3528
e843de77
GM
3529 * term/x-win.el (x-select-enable-clipboard): Declare.
3530
5fa89513
GM
3531 * term/w32-win.el (create-default-fontset): Declare.
3532
38702b5b
GM
3533 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3534 Declare.
3535
e740f9d2
GM
3536 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3537 (fit-frame-to-buffer): Explicit error if --without-x.
3538 (mouse-autoselect-window-select): Silence compiler.
3539
49a053fc
GM
3540 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3541
3542 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3543 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3544 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3545 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3546 Remove unused local variables.
3547
3548 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3549
ec9177ba
GM
3550 * textmodes/two-column.el: Make 2C-split work for --without-x.
3551 (scroll-bar-columns): Autoload.
3552 (top-level): Require fringe when compiling.
3553
9f25cb77
LL
35542013-09-18 Leo Liu <sdl.web@gmail.com>
3555
3556 * subr.el (add-hook): Robustify to handle closure as well.
3557
2b42da98
GM
35582013-09-17 Glenn Morris <rgm@gnu.org>
3559
3560 * simple.el (messages-buffer-mode-map): Unbind "g".
3561
e8b66a6a
SM
35622013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3563
9c0ad4f7
SM
3564 * help-mode.el (help-mode-finish): Use derived-mode-p.
3565 Remove obsolete highlighting.
3566
7a806dfb
SM
3567 * play/life.el (life-mode): Use define-derived-mode. Derive from
3568 special-mode.
3569 (life): Let-bind inhibit-read-only.
3570 (life-setup): Avoid `setq'. Use `life-mode'.
3571
96dbf5a8
SM
3572 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3573 which should not be needed any more.
3574 (package-menu-refresh, package-menu-describe-package): Use user-error.
3575
e8b66a6a
SM
3576 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3577 (eshell-post-rewrite-command-hook): Make obsolete.
3578 (eshell-parse-command): Simplify.
3579 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3580 (eshell--cmd): Declare.
3581 (eshell-parse-pipeline): Remove unused var `final-p'.
3582 Pass a dynvar to eshell-post-rewrite-command-hook.
3583 Implement the new eshell-post-rewrite-command-function.
3584 (eshell-invoke-directly): Remove unused arg `input'.
3585 * eshell/esh-io.el (eshell-io-initialize):
3586 Use eshell-post-rewrite-command-function (bug#15399).
3587 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3588 adjust to new calling convention.
3589 (eshell-create-handles): Rename args to avoid clashing with dynvar
3590 `standard-output'.
3591
90582f05
GM
35922013-09-17 Glenn Morris <rgm@gnu.org>
3593
3594 * simple.el (messages-buffer-mode): New major mode.
3595 (messages-buffer): New function.
3596 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3597 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3598 (ert-run-test): Use `messages-buffer' function.
90582f05 3599 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3600 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3601 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3602
39eb0cb5 36032013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3604
3605 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3606
1f1e06e2
SM
3607 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3608
70568a90
SM
36092013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3610
504a0381
SM
3611 * icomplete.el (icomplete-in-buffer): New var.
3612 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3613 vars and replace them with functions.
3614 (icomplete-minibuffer-setup): Adjust accordingly.
3615 (icomplete--completion-table, icomplete--completion-predicate)
3616 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3617 New functions.
3618 (icomplete-forward-completions, icomplete-backward-completions)
3619 (icomplete-simple-completing-p, icomplete-exhibit)
3620 (icomplete-completions): Use them.
3621 (icomplete--in-region-buffer): New var.
3622 (icomplete--in-region-setup): New function.
3623 (icomplete-mode): Use it.
3624
70568a90
SM
3625 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3626 (bug#15379).
3627 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3628 return args and options.
3629 (eshell-eval-using-options): Use the new return value of
3630 eshell--do-opts to set the options's vars in their scope.
3631 (eshell--set-option): Rename from eshell-set-option.
3632 Add arg `opt-vals'.
3633 (eshell--process-option): Rename from eshell-process-option.
3634 Add arg `opt-vals'.
3635 (eshell--process-args): Use an `opt-vals' alist to store the options's
3636 values during their processing and return them additionally to the
3637 remaining args.
3638
578c21bc
DG
36392013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3640
3641 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3642 continuation character an operator, as far as indentation is
3643 concerned (Bug#15369).
3644
c089653d
MR
36452013-09-15 Martin Rudalics <rudalics@gmx.at>
3646
3647 * window.el (window--state-put-2): Don't process buffer state
3648 when buffer doesn't exist any more (Bug#15382).
3649
1e53bb4b
GM
36502013-09-15 Glenn Morris <rgm@gnu.org>
3651
30753242
GM
3652 * eshell/em-unix.el (eshell/rm):
3653 Make -f ignore missing files. (Bug#15373)
3654
1e53bb4b
GM
3655 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3656 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3657 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3658
0d8863b3
GM
36592013-09-14 Glenn Morris <rgm@gnu.org>
3660
3661 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3662
d3fc6549
GM
36632013-09-13 Glenn Morris <rgm@gnu.org>
3664
3665 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3666 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3667
fcd42c11
DA
36682013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3669
3670 * frame.el (x-focus-frame): Mark as declared in frame.c.
3671
7830899f
SM
36722013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3673
3674 * ls-lisp.el: Use advice-add.
3675 (original-insert-directory): Remove.
3676 (ls-lisp--insert-directory): Rename from insert-directory; add
3677 `orig-fun' argument.
3678 (insert-directory): Advise.
3679
84387cd2
EZ
36802013-09-13 Eli Zaretskii <eliz@gnu.org>
3681
3682 * term.el (term-emulate-terminal): Decode the command string
3683 before passing it to term-command-hook. (Bug#15337)
3684
35ffc6ba
GM
36852013-09-13 Glenn Morris <rgm@gnu.org>
3686
5c3f9bcc
GM
3687 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3688
2ada368a
GM
3689 * eshell/esh-ext.el (eshell-search-path): Declare.
3690
fcef2e13
GM
3691 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3692 Otherwise an error occurs if eshell-dirs module not loaded.
3693
35ffc6ba
GM
3694 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3695
35c3d36e
MA
36962013-09-13 Michael Albinus <michael.albinus@gmx.de>
3697
3698 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3699 `tramp-check-proper-host'. Check for a valid method name.
3700
3701 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3702 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3703 * net/tramp-sh.el (tramp-maybe-open-connection):
3704 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3705
3706 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3707 also for hash values.
3708
ae5e4c48
SM
37092013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3710
379add74
SM
3711 * term/ns-win.el (parameters): Don't declare as dynamic.
3712 (before-make-frame-hook): Don't add ineffective function.
3713
ae5e4c48
SM
3714 * eshell/*.el: Use lexical-binding (bug#15231).
3715
b5623270
KH
37162013-09-12 Kenichi Handa <handa@gnu.org>
3717
ae5e4c48 3718 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3719
30213927
GM
37202013-09-12 Glenn Morris <rgm@gnu.org>
3721
be94d713 3722 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3723 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3724
44915370
GM
3725 * subr.el (do-after-load-evaluation): Also give compiler warnings
3726 when obsolete files are used (except by obsolete files).
3727
a6ae021f
GM
3728 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3729 in the status output, assume `filename' is the first. (Bug#15322)
3730
40e64f0c
GM
3731 * vc/vc.el (vc-deduce-fileset): Doc fix.
3732
16d9f896
GM
3733 * calc/calc-help.el (Info-goto-node):
3734 * progmodes/cperl-mode.el (Info-find-node):
3735 * vc/ediff.el (Info-goto-node): Update declarations.
3736
dea01c6e
GM
3737 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3738
759880bf 3739 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3740 (vc-bzr-pull): Require vc-dispatcher.
3741 * vc/vc-git.el (vc-compilation-mode): Declare.
3742 (vc-git-pull): Require vc-dispatcher.
3743
08d66420
GM
3744 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3745
30b626e9
GM
3746 * progmodes/octave.el (help-button-action): Declare.
3747
8c05cb10
GM
3748 * shell.el (shell-directory-tracker): Output error as a message
3749 rather than just returning it as a string.
3750 (shell-process-pushd): Remove useless use of message.
3751
30213927
GM
3752 * dframe.el (dframe-timer-fn):
3753 * files.el (dir-locals-read-from-file):
3754 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3755 (mpc-format):
3756 * reveal.el (reveal-post-command):
3757 * saveplace.el (load-save-place-alist-from-file):
3758 * shell.el (shell-resync-dirs):
3759 * w32-common-fns.el (x-get-selection-value):
3760 * emacs-lisp/copyright.el (copyright-find-copyright):
3761 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3762 * emulation/tpu-edt.el (tpu-copy-keyfile):
3763 * play/bubbles.el (bubbles--mark-neighbourhood):
3764 * progmodes/executable.el
3765 (executable-make-buffer-file-executable-if-script-p):
3766 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3767
d3b049e6
SM
37682013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3769
170266d0
SM
3770 Cleanup Eshell to rely less on dynamic scoping.
3771 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3772 last-value, and ext-command here. Bind `args' closer to `body'.
3773 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3774 (eshell--args): Declare new dynamic var.
3775 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3776 last-value, and ext-command. Pass `args' to `body'.
3777 (eshell-process-args): Bind eshell--args.
3778 (eshell-set-option): Use eshell--args.
3779 * eshell/eshell.el (eshell): Use derived-mode-p.
3780 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3781 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3782 (eshell-glob-function): Declare.
3783 * eshell/esh-util.el: Require cl-lib.
3784 (eshell-read-hosts-file): Avoid add-to-list.
3785 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3786 `err'.
3787 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3788 Declare.
3789 (eshell/diff): Remove unused var `err'.
3790 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3791 `killflag'.
3792 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3793 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3794 first use.
3795 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3796 Move declaration before first use.
3797 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3798 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3799 rely on cl-return.
3800
56834f3b
GM
38012013-09-12 Glenn Morris <rgm@gnu.org>
3802
3803 * term/ns-win.el (global-map): Remove binding for ispell-next,
3804 deleted 1999-05-29. (Bug#15357)
3805
5c91a2b8
GM
38062013-09-11 Glenn Morris <rgm@gnu.org>
3807
da712f22
GM
3808 * echistory.el (electric-command-history): Remove call to deleted func.
3809
512e4cdc
GM
3810 * play/landmark.el (landmark-mode): Fix typos.
3811
d3506ca5
GM
3812 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3813 Check cvs-sort-ignore-file is bound.
3814
5c91a2b8
GM
3815 * savehist.el: No need for cl when compiling on Emacs.
3816
feeff482
SM
38172013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3818
656bd483
SM
3819 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3820 (bug#15338).
d3b049e6
SM
3821 (eshell-self-insert-command, eshell-send-invisible):
3822 Remove unused argument.
656bd483
SM
3823 (eshell-handle-control-codes): Remove unused var `orig'.
3824 Avoid delete-backward-char.
3825
feeff482
SM
3826 * files.el (set-auto-mode): Simplify a bit further.
3827
2a08047a
GM
38282013-09-11 Glenn Morris <rgm@gnu.org>
3829
3830 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3831 (set-auto-mode): Don't regexp-quote elements.
3832 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3833 * progmodes/cc-mode.el (interpreter-mode-alist):
3834 * progmodes/ruby-mode.el (interpreter-mode-alist):
3835 Revert previous change.
3836
34675540
SM
38372013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3838
1b3b87df
SM
3839 * play/snake.el (snake-mode):
3840 * play/mpuz.el (mpuz-mode):
3841 * play/landmark.el (lm-mode):
3842 * play/blackbox.el (blackbox-mode):
3843 * play/5x5.el (5x5-mode):
3844 * obsolete/options.el (Edit-options-mode):
3845 * net/quickurl.el (quickurl-list-mode):
3846 * net/newst-treeview.el (newsticker-treeview-mode):
3847 * mail/rmailsum.el (rmail-summary-mode):
3848 * mail/mspools.el (mspools-mode):
3849 * locate.el (locate-mode):
3850 * ibuffer.el (ibuffer-mode):
3851 * emulation/ws-mode.el (wordstar-mode):
3852 * emacs-lisp/debug.el (debugger-mode):
3853 * array.el (array-mode):
3854 * net/eudc.el (eudc-mode): Use define-derived-mode.
3855 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3856 Move initialization into declaration.
3857 (mairix-searches-mode): Use define-derived-mode.
3858 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3859 (eudc-edit-hotlist): Use dolist.
3860 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3861 (Man-mode): Use define-derived-mode.
3862 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3863 (Info-edit-mode): Use define-derived-mode.
3864 (Info-cease-edit): Use Info-mode.
3865 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3866 into declaration.
3867 (eshell-mode): Use define-derived-mode.
3868 * chistory.el (command-history-mode-map): Rename from
3869 command-history-map.
3870 (command-history-mode): Use define-derived-mode.
da712f22 3871 (Command-history-setup): Remove function.
1b3b87df
SM
3872 * calc/calc.el (calc-trail-mode-map): New var.
3873 (calc-trail-mode): Use define-derived-mode.
3874 (calc-trail-buffer): Set calc-main-buffer manually.
3875 * bookmark.el (bookmark-insert-annotation): New function.
3876 (bookmark-edit-annotation): Use it.
3877 (bookmark-edit-annotation-mode): Make it a proper major mode.
3878 (bookmark-send-edited-annotation): Use derived-mode-p.
3879 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3880 closer to its ideal place. Use \' to match EOS.
3881
34675540
SM
3882 * profiler.el (profiler-calltree-find): Use function-equal.
3883
6a5c15d9
GM
38842013-09-10 Glenn Morris <rgm@gnu.org>
3885
1af4c220
GM
3886 * files.el (interpreter-mode-alist): Convert to regexps.
3887 (set-auto-mode): Adapt for this. (Bug#15306)
3888 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3889 Comment out unused variable.
3890 * progmodes/cc-mode.el (interpreter-mode-alist):
3891 * progmodes/python.el (interpreter-mode-alist):
3892 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3893 * progmodes/sh-script.el (sh-set-shell):
3894 No longer use interpreter-mode-alist to get list of shells.
3895
6a5c15d9
GM
3896 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3897
8c27f5ff
SM
38982013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3899
02ef6c1a 3900 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3901 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3902 Bind switch-frame explicitly. Replace universal-argument-minus with
3903 a conditional binding.
3904 (universal-argument-num-events, saved-overriding-map): Remove.
3905 (restore-overriding-map): Remove.
3906 (universal-argument--mode): Rename from save&set-overriding-map,
3907 and rewrite.
3908 (universal-argument, universal-argument-more, negative-argument)
3909 (digit-argument): Adjust accordingly.
3910 (universal-argument-minus): Remove.
3911 (universal-argument-other-key): Remove.
3912
8c27f5ff
SM
3913 * subr.el (with-demoted-errors): Add `format' argument.
3914
6480194c
MA
39152013-09-10 Michael Albinus <michael.albinus@gmx.de>
3916
3917 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3918 `tramp-cleanup-connection'.
3919
3920 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3921 parameters KEEP-DEBUG and KEEP-PASSWORD.
3922
3923 * net/tramp.el (tramp-file-name-handler):
3924 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3925 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3926 (tramp-maybe-open-connection):
8c27f5ff
SM
3927 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3928 Use `tramp-cleanup-connection'.
6480194c 3929
8c27f5ff
SM
3930 * net/tramp-sh.el (tramp-maybe-open-connection):
3931 Catch 'uname-changed inside the progress reporter.
6480194c 3932
e5e916d8
GM
39332013-09-10 Glenn Morris <rgm@gnu.org>
3934
9a2c9b47
GM
3935 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3936
e5e916d8
GM
3937 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3938 returns "alternate access method" in mode (eg "-rw-r--r--.").
3939
144e38fe
GM
39402013-09-08 Glenn Morris <rgm@gnu.org>
3941
3942 * saveplace.el (load-save-place-alist-from-file):
3943 Demote errors. (Bug#15305)
3944
af9ff9e8
MA
39452013-09-08 Michael Albinus <michael.albinus@gmx.de>
3946
3947 Improve compatibility with older Emacsen, and XEmacs.
3948
3949 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3950 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3951 (with-tramp-progress-reporter): Do not let-bind `result'.
3952 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3953 (tramp-handle-make-auto-save-file-name): New function, moved from
3954 tramp-sh.el.
3955
3956 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3957 for `make-auto-save-file-name'.
8c27f5ff
SM
3958 (tramp-adb--gnu-switches-to-ash):
3959 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3960
3961 * net/tramp-cache.el (tramp-cache-print): Call
3962 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3963
3964 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3965 bound. It isn't for XEmacs.
3966
8c27f5ff
SM
3967 * net/tramp-compat.el (tramp-compat-copy-file):
3968 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3969 (tramp-compat-replace-regexp-in-string): New defun.
3970
3971 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3972 for `make-auto-save-file-name'.
3973 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3974 `copy-file'.
3975 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3976 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3977 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3978
8c27f5ff
SM
3979 * net/tramp-gw.el (tramp-gw-open-network-stream):
3980 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3981
8c27f5ff
SM
3982 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3983 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3984 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3985 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3986 (tramp-sh-file-inotifywait-process-filter):
3987 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3988 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3989
3990 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3991 for `make-auto-save-file-name'.
8c27f5ff
SM
3992 (tramp-smb-handle-copy-directory):
3993 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3994 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3995 (tramp-smb-handle-copy-file): Improve error message.
3996 (tramp-smb-handle-rename-file): Rename directly only in case
3997 `newname' does not exist yet. This is a restriction of smbclient.
3998 (tramp-smb-maybe-open-connection): Rerun the function only when
3999 `auth-sources' is non-nil.
4000
0ca754d0
KH
40012013-09-08 Kenichi Handa <handa@gnu.org>
4002
4003 * international/characters.el: Set category "^" (Combining) for
4004 more characters.
4005
e8dd0787
AM
40062013-09-07 Alan Mackenzie <acm@muc.de>
4007
4008 Correctly fontify Java class constructors.
4009 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4010 in Java Mode.
4011 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4012 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4013 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4014 "typeless" declaration there.
4015
f2f248e7
RW
40162013-09-07 Roland Winkler <winkler@gnu.org>
4017
4018 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4019 field subtitle for entry type book.
4020
67982e2b
SM
40212013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4022
4023 * minibuffer.el: Make minibuffer-complete call completion-in-region
4024 rather than other way around.
4025 (completion--some, completion-pcm--find-all-completions):
4026 Don't delay signals when debugging.
4027 (minibuffer-completion-contents): Beware fields within the
4028 minibuffer contents.
4029 (completion-all-sorted-completions): Use defvar-local.
4030 (completion--do-completion, completion--cache-all-sorted-completions)
4031 (completion-all-sorted-completions, minibuffer-force-complete):
4032 Add args `beg' and `end'.
4033 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4034 (minibuffer-complete): Use completion-in-region.
4035 (completion-complete-and-exit): New fun, extracted from
4036 minibuffer-complete-and-exit.
4037 (minibuffer-complete-and-exit): Use it.
4038 (completion--complete-and-exit): Rename from
4039 minibuffer--complete-and-exit.
4040 (completion-in-region--single-word): New function, extracted from
4041 minibuffer-complete-word.
4042 (minibuffer-complete-word): Use it.
4043 (display-completion-list): Make `common-substring' argument obsolete.
4044 (completion--in-region): Call completion--in-region-1 instead of
4045 minibuffer-complete.
4046 (completion-help-at-point): Pass boundaries to
4047 minibuffer-completion-help as args rather than via an overlay.
4048 (completion-pcm--string->pattern): Use `any-delim'.
4049 (completion-pcm--optimize-pattern): New function.
4050 (completion-pcm--pattern->regex): Handle `any-delim'.
4051 * icomplete.el (icomplete-forward-completions)
4052 (icomplete-backward-completions, icomplete-completions):
4053 Adjust calls to completion-all-sorted-completions and
4054 completion--cache-all-sorted-completions.
4055 (icomplete-with-completion-tables): Default to t.
4056 * emacs-lisp/crm.el (crm--current-element): Rename from
4057 crm--select-current-element. Don't put an overlay but return the
4058 boundaries instead.
4059 (crm--completion-command): Take two new args to bind to the boundaries.
4060 (crm-completion-help): Adjust accordingly.
4061 (crm-complete): Use completion-in-region.
4062 (crm-complete-word): Use completion-in-region--single-word.
4063 (crm-complete-and-exit): Use completion-complete-and-exit.
4064
e17d94a5
SM
40652013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4066
4067 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4068 than dynamically.
4069
96727100
JL
40702013-09-06 Juri Linkov <juri@jurta.org>
4071
4072 * info.el (Info-display-images-node): When image file doesn't exist
4073 display text version of the image if it's provided in the Info file.
4074 Otherwise, display the location of missing image from SRC attribute.
4075 Add help-echo text property from ALT attribute. (Bug#15279)
4076
86cf7329
SM
40772013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4080 (edit-abbrevs-mode): Use define-derived-mode.
4081
4082 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4083 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4084 that it's defined.
4085 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4086 Use define-derived-mode.
4087
4088 * epg.el (epg-start-encrypt): Minor CSE simplification.
4089
816244a2
WX
40902013-09-06 William Xu <william.xwl@gmail.com>
4091
4092 * arc-mode.el: Add support for 7za (bug#15264).
4093 (archive-7z-program): New var.
4094 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4095 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4096 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4097
1486fa31
MA
40982013-09-06 Michael Albinus <michael.albinus@gmx.de>
4099
4100 Remove URL syntax.
4101
4102 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4103 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4104 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4105 (tramp-postfix-host-format, tramp-file-name-regexp)
4106 (tramp-completion-file-name-regexp)
4107 (tramp-completion-dissect-file-name)
4108 (tramp-handle-substitute-in-file-name): Remove 'url case.
4109 (tramp-file-name-regexp-url)
4110 (tramp-completion-file-name-regexp-url): Remove constants.
4111
39785324
GM
41122013-09-06 Glenn Morris <rgm@gnu.org>
4113
4114 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4115
1f896cb7
DG
41162013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4117
4118 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4119 keywords" below "here-doc beginnings" (Bug#15270).
4120
c0458e0b
SM
41212013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * subr.el (pop): Use `car-safe'.
4124 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4125 to detect unused `pop' return value.
4126
4127 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4128 var `block-regexp'.
4129 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4130 (python-fill-string): Remove unused var `marker'.
4131 (python-skeleton-add-menu-items): Remove unused var `items'.
4132
4133 * international/mule-cmds.el: Require CL.
4134 (find-coding-systems-for-charsets): Avoid add-to-list.
4135 (sanitize-coding-system-list): New function, extracted from
4136 select-safe-coding-system-interactively.
4137 (select-safe-coding-system-interactively): Use it.
4138 (read-input-method-name): Accept symbols for `default'.
4139
4140 * emacs-lisp/advice.el (defadvice): Add indent rule.
4141
6c42fc3e
DH
41422013-09-05 Daniel Hackney <dan@haxney.org>
4143
4144 * dired-x.el:
4145 * net/ange-ftp.el:
4146 * net/browse-url.el:
4147 * net/dbus.el:
4148 * net/eudc.el:
4149 * net/eudcb-ldap.el:
4150 * net/eww.el:
4151 * net/imap.el:
4152 * printing.el:
4153 * vc/ediff-diff.el:
4154 * vc/ediff-init.el:
4155 * vc/ediff-merg.el:
4156 * vc/ediff-mult.el:
4157 * vc/ediff-util.el:
4158 * vc/ediff-wind.el:
4159 * vc/ediff.el:
4160 * vc/emerge.el:
4161 * vc/pcvs.el:
4162 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4163 byte compiler. Remove some unused let-bound variables.
4164
4c528aab
SM
41652013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4168 a "ref-cell", since it gets better optimized (bug#14883).
4169
bd15c390
GM
41702013-09-05 Glenn Morris <rgm@gnu.org>
4171
4172 * progmodes/cc-awk.el (c-forward-sws): Declare.
4173
1c3ac2e5
GM
41742013-09-04 Glenn Morris <rgm@gnu.org>
4175
4176 * generic-x.el [rul-generic-mode]: Require cc-mode.
4177 (c++-mode-syntax-table): Declare.
4178 (rul-generic-mode-syntax-table): Init in the defvar.
4179
52b1cc79
SM
41802013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4181
c828af56
SM
4182 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4183 (vc-do-command, vc-set-async-update):
4184 * vc/vc-mtn.el (vc-mtn-dir-status):
4185 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4186 (vc-hg-pull, vc-hg-merge-branch):
4187 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4188 (vc-git-merge-branch):
4189 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4190 (vc-cvs-dir-status-files):
4191 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4192 (vc-bzr-dir-status-files):
4193 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4194 * vc/vc-annotate.el: Use lexical-binding.
4195 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4196 (vc-sentinel-movepoint): Declare.
4197 (vc-annotate): Don't use `goto-line'.
4198 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4199 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4200 (vc-sentinel-movepoint): Declare.
4201 * vc/vc-svn.el: Use lexical-binding.
4202 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4203 * vc/vc-sccs.el:
4204 * vc/vc-rcs.el: Use lexical-binding.
4205
abae272c
SM
4206 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4207 `deleted'. Don't drop errors silently.
4208
52b1cc79
SM
4209 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4210
63191d9f
XF
42112013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4212
4213 * vc/vc.el (vc-ignore): Rewrite.
4214 (vc-default-ignore): New function.
4215 (vc-default-ignore-completion-table): Use find-ignore-file.
4216
4217 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4218 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4219 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4220 Remove. Most code moved to vc.el.
4221
9d3f707c
SM
42222013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4223
abae272c 4224 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4225 * net/tramp-smb.el (tramp-smb-get-file-entries):
4226 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4227 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4228
fde38d49
SM
4229 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4230 Update call to it.
4231 (eww-change-select): Remove unused var `properties'.
4232 (eww-make-unique-file-name): Remove unused var `base'.
4233
4234 * finder.el (finder-compile-keywords): Don't mess with windows.
4235
84032db7
SM
4236 * calculator.el (calculator-funcall): Fix typo in last change.
4237
724f5e41
SM
4238 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4239
14b511d4
SM
4240 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4241 <pkg>-autoloads.el file stop us.
4242
9d3f707c 4243 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4244 warnings, and factor out common code.
9d3f707c 4245
88527bc0
DG
42462013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4247
4248 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4249 two-character operators and whether the character preceding them
4250 changes their meaning (Bug#15208).
4251
96edb677
FEG
42522013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4253
4254 Format code sent to Python shell for robustness.
9d3f707c
SM
4255 * progmodes/python.el (python-shell-buffer-substring):
4256 New function.
96edb677
FEG
4257 (python-shell-send-region, python-shell-send-buffer): Use it.
4258
95beaef3
MA
42592013-09-02 Michael Albinus <michael.albinus@gmx.de>
4260
4261 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4262 * net/tramp.el (tramp-user-error): ... here.
4263 (tramp-find-method, tramp-check-proper-host)
4264 (tramp-dissect-file-name, tramp-debug-message)
4265 (tramp-handle-shell-command):
4266 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4267 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4268
4269 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4270
f167c27b
MR
42712013-09-02 Martin Rudalics <rudalics@gmx.at>
4272
4273 * avoid.el (mouse-avoidance-point-position)
4274 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4275 returns nil.
4276
cd16c5f1
FEG
42772013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4278
4279 * progmodes/python.el (python-shell-completion-get-completions):
4280 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4281 (python-nav-if-name-main): New command.
cd16c5f1 4282
e73c3a0d
GM
42832013-09-01 Glenn Morris <rgm@gnu.org>
4284
f8ccce03
GM
4285 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4286 Avoid leading space in $wins. Otherwise the sed command used by
4287 eg compile-main ends up containing "/*.el". (Bug#15170)
4288
e73c3a0d
GM
4289 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4290
415f808e
GM
42912013-08-30 Glenn Morris <rgm@gnu.org>
4292
4293 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4294 Fix is-this-a-directory logic. (Bug#15220)
4295
f069bba8
SM
42962013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4297
112798c1
SM
4298 * textmodes/css-mode.el: Use SMIE.
4299 (css-smie-grammar): New var.
4300 (css-smie--forward-token, css-smie--backward-token)
4301 (css-smie-rules): New functions.
4302 (css-mode): Use them.
4303 (css-navigation-syntax-table): Remove var.
4304 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4305 (css-indent-calculate, css-indent-line): Remove functions.
4306
4307 Misc changes to reduce use of `(lambda...); and other cleanups.
4308 * cus-edit.el: Use lexical-binding.
4309 (customize-push-and-save, customize-apropos)
4310 (custom-buffer-create-internal): Use closures.
4311 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4312 * progmodes/ada-xref.el: Use setq.
4313 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4314 * dframe.el: Use lexical-binding.
4315 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4316 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4317 * descr-text.el: Use lexical-binding.
4318 (describe-text-widget, describe-text-sexp, describe-property-list):
4319 Use closures.
4320 * comint.el (comint-history-isearch-push-state): Use a closure.
4321 * calculator.el: Use lexical-binding.
4322 (calculator-number-to-string): Make it work with lexical-binding.
4323 (calculator-funcall): Same and use cl-letf.
4324
2da4c3ab
SM
4325 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4326 (lisp--company-doc-string, lisp--company-location): New functions.
4327 (lisp-completion-at-point): Use them to improve Company support.
4328
f069bba8
SM
4329 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4330 params of lambda expressions.
4331 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4332 (ruby-smie--opening-pipe-p): New function.
4333 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4334 symbols and matched |...| for formal params.
4335 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4336 from being treated as hanging. Handle "rescue".
4337
6758b6a8
GM
43382013-08-29 Glenn Morris <rgm@gnu.org>
4339
4340 * progmodes/cc-engine.el (c-pull-open-brace):
4341 Move definition before use.
4342
e8dfd197
SM
43432013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4344
4345 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4346 are immutable. Don't use `unsafe' any more.
4347 (cl--defsubst-expand): Don't substitute at the same time as keeping
4348 a residual unused let-binding. Don't use `unsafe' any more.
4349
cc585c96
GM
43502013-08-29 Glenn Morris <rgm@gnu.org>
4351
ba579ea6
GM
4352 * calendar/cal-china.el (calendar-chinese-year-cache):
4353 Recenter on 2015.
4354
8201a87e
GM
4355 * nxml/nxml-util.el (nxml-debug-clear-inside):
4356 Use cl-loop rather than loop.
4357
6ee877c7
GM
4358 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4359
cc585c96
GM
4360 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4361
27be8d39
GM
43622013-08-28 Glenn Morris <rgm@gnu.org>
4363
397440a1
GM
4364 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4365
2bb762d4
GM
4366 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4367
27be8d39
GM
4368 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4369
2d69b99e
SM
43702013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4371
f663baa7
SM
4372 * simple.el (repeat-complex-command--called-interactively-skip):
4373 New function.
4374 (repeat-complex-command): Use it (bug#14136).
4375
dd4f8b74
SM
4376 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4377 (c-define-abbrev-table): Add `doc' argument.
4378 (c-mode-abbrev-table, c++-mode-abbrev-table)
4379 (objc-mode-abbrev-table, java-mode-abbrev-table)
4380 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4381 (awk-mode-abbrev-table): Use it.
4382 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4383 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4384 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4385 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4386 Move initialization into the declaration; and remove any
4387 autoload cookie.
4388
b58969f7
SM
4389 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4390 and dynamic let binding.
4391
4021d6a6
SM
4392 * vc/smerge-mode.el: Remove redundant :group args.
4393
2d69b99e
SM
4394 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4395 to load-path.
4396
274919fd
JL
43972013-08-28 Juri Linkov <juri@jurta.org>
4398
4399 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4400 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4401 (isearch-other-meta-char): Handle an undefined shifted printing
4402 character by downshifting it. (Bug#15200)
4403
121f8c95
JL
44042013-08-28 Juri Linkov <juri@jurta.org>
4405
4406 * isearch.el (isearch-search): Change regexp error message for
4407 non-regexp searches. (Bug#15166)
4408
50b13cde
PE
44092013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4410
4411 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4412 for portability to hosts where /bin/sh has problems.
4413
95888bca
SM
44142013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4415
4416 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4417
bbe558f1
JL
44182013-08-27 Juri Linkov <juri@jurta.org>
4419
4420 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4421 in the keyboard macro. (Bug#15126)
4422
26f98a7d
JL
44232013-08-27 Juri Linkov <juri@jurta.org>
4424
4425 * isearch.el (isearch-quote-char): Comment out converting unibyte
4426 to multibyte, thus syncing with its `quoted-insert' counterpart.
4427 (Bug#15166)
4428
7c97d35e
MR
44292013-08-27 Martin Rudalics <rudalics@gmx.at>
4430
4431 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4432 argument in call of get-largest-window (Bug#15185).
4433 Reported by Stephen Leake.
7c97d35e 4434
a0b5606e 44352013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4436
4437 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4438
9e89d835
SM
44392013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4440
4441 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4442 from a matcher-function unless there's no more matches (bug#15161).
4443
78fc2530
MA
44442013-08-26 Michael Albinus <michael.albinus@gmx.de>
4445
4446 * minibuffer.el: Revert change from 2013-08-20.
4447
4448 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4449 with text property `tramp-default', if appropriate.
4450 (tramp-check-proper-host): New defun.
4451 (tramp-dissect-file-name): Do not check hostname. Revert change
4452 of 2013-03-18.
4453 (tramp-backtrace): Make VEC-OR-PROC optional.
4454
4455 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4456 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4457 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4458 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4459 Apply `tramp-check-proper-host'.
78fc2530 4460
edca97cd
TH
44612013-08-26 Tassilo Horn <tsdh@gnu.org>
4462
4463 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4464 lambda expression in order to have `describe-variable' display it.
4465
df54bcbd
MA
44662013-08-26 Michael Albinus <michael.albinus@gmx.de>
4467
4468 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4469 BUF can be optional. (Bug#15186)
4470
eed99101
XF
44712013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4472
4473 * progmodes/flymake.el (flymake-get-real-file-name-function):
4474 Fix broken customization. (Bug#15184)
4475
b5eb9035
AM
44762013-08-25 Alan Mackenzie <acm@muc.de>
4477
8a51e842
AM
4478 Improve indentation of bracelists defined by macros (without "=").
4479
4480 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4481 expansion begins with "{", regard it as bracelist when it doesn't
4482 contain a ";".
4483
869455d4
AM
4484 Parse C++ inher-intro when there's a template split over 2 lines.
4485
4486 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4487 rigorously the search for "class" etc. followed by ":".
4488
4489 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4490 random languages a regexp which never matches rather than nil.
4491
b5eb9035
AM
4492 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4493
4494 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4495 (c-awk-regexp-one-line-possibly-open-char-list-re)
4496 (c-awk-one-line-possibly-open-regexp-re)
4497 (c-awk-one-line-non-syn-ws*-re): Remove.
4498 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4499 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4500 (c-awk-space*-unclosed-regexp-/-re): New constants.
4501 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4502 aren't regexp delimiters.
4503
4504 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4505 handling for a rare situation in AWK Mode involving unterminated
4506 strings/regexps.
4507
61611d54
GM
45082013-08-23 Glenn Morris <rgm@gnu.org>
4509
2d85dc34
GM
4510 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4511
cb8d2612
GM
4512 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4513
bb35f42f
GM
4514 * files.el (create-file-buffer): If the result would begin with
4515 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4516
b9808e77
SM
45172013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4518
e3a66363
SM
4519 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4520 text-properties (bug#15155).
4521
b9808e77
SM
4522 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4523 exist any more.
4524 (calc-keypad-redraw): Remove unused var `pad'.
4525 (calc-keypad-press): Remove unused var `menu'.
4526
7fd5f65e
MR
45272013-08-23 Martin Rudalics <rudalics@gmx.at>
4528
b9808e77
SM
4529 * window.el (display-buffer-pop-up-frame):
4530 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4531 use it as the new frame's buffer (Bug#15133).
4532
8352b530
SM
45332013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4534
4535 * calendar/timeclock.el: Minor cleanups.
4536 (timeclock-ask-before-exiting, timeclock-use-display-time):
4537 Use `symbol'.
4538 (timeclock-modeline-display): Define as alias before the
4539 actual definition.
4540 (timeclock-mode-line-display): Use define-minor-mode.
4541 (timeclock-day-list-template): Make it a function, add an argument.
4542 (timeclock-day-list-required, timeclock-day-list-length)
4543 (timeclock-day-list-debt, timeclock-day-list-span)
4544 (timeclock-day-list-break): Adjust calls accordingly.
4545
9f7b1925
SM
45462013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4549 Use read--expression so that completion works again.
4550
6e50e983
SS
45512013-08-21 Sam Steingold <sds@gnu.org>
4552
4553 Add rudimentary inferior shell interaction
4554 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4555 (sh-set-shell): Reset it.
9f7b1925
SM
4556 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4557 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4558
dbb0d350
SM
45592013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4560
4561 * align.el: Use lexical-binding.
4562 (align-region): Simplify accordingly.
4563
c88586a9
MA
45642013-08-20 Michael Albinus <michael.albinus@gmx.de>
4565
4566 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4567
4568 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4569 `non-essential' up.
4570
f95527c8
MA
45712013-08-17 Michael Albinus <michael.albinus@gmx.de>
4572
4573 * net/tramp.el:
4574 * net/tramp-adb.el:
4575 * net/tramp-cmds.el:
4576 * net/tramp-ftp.el:
4577 * net/tramp-gvfs.el:
4578 * net/tramp-gw.el:
4579 * net/tramp-sh.el: Don't wrap external variable declarations by
4580 `eval-when-compile'.
4581
4b5fe4ee
LMI
45822013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4583
4584 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4585 now that Emacs supports ImageMagick animations.
4586
13c366c9
MA
45872013-08-16 Michael Albinus <michael.albinus@gmx.de>
4588
4589 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4590 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4591
3dfc5cd6
MR
45922013-08-16 Martin Rudalics <rudalics@gmx.at>
4593
4594 * window.el (mouse-autoselect-window-select): Do autoselect when
4595 mouse pointer is on margin.
4596
4bbb4381
WP
45972013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4598
4599 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4600
3a2ddc2d
GM
46012013-08-16 Glenn Morris <rgm@gnu.org>
4602
e8bedf5a
GM
4603 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4604 Handle "Remote Directory" response of some clients. (Bug#15058)
4605
58c4682f
GM
4606 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4607 Tweak warning. (Bug#14926)
4608
57953f49
GM
4609 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4610 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4611
3a2ddc2d
GM
4612 * image-mode.el (image-mode-map): Add menu items to reverse,
4613 increase, decrease, reset animation speed.
4614 (image--set-speed, image-increase-speed, image-decrease-speed)
4615 (image-reverse-speed, image-reset-speed): New functions.
4616 (image-mode-map): Add bindings for speed commands.
4617
4618 * image.el (image-animate-get-speed, image-animate-set-speed):
4619 New functions.
4620 (image-animate-timeout): Respect image :speed property.
4621
10fa0ed3
SM
46222013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4625 previous line (bug#15101).
4626 (debugger-eval-expression, debugger-record-expression):
4627 Use read--expression (bug#15102).
4628
5d89d9d2
MA
46292013-08-15 Michael Albinus <michael.albinus@gmx.de>
4630
4631 Remove byte compiler warnings, visible when compiling with
4632 `byte-compile-force-lexical-warnings' set to t.
4633
4634 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4635 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4636 (tramp-handle-unhandled-file-name-directory)
4637 (tramp-handle-file-notify-add-watch, tramp-action-login)
4638 (tramp-action-succeed, tramp-action-permission-denied)
4639 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4640 arguments with "_".
4641
4642 * net/tramp-adb.el (tramp-adb-parse-device-names)
4643 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4644 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4645 (tramp-adb-handle-file-truename): Remove unused arguments.
4646
4647 * net/tramp-cache.el (tramp-flush-directory-property)
4648 (tramp-flush-connection-property, tramp-list-connections)
4649 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4650
10fa0ed3
SM
4651 * net/tramp-compat.el (tramp-compat-make-temp-file):
4652 Rename FILENAME to F.
5d89d9d2
MA
4653
4654 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4655 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4656 (tramp-zeroconf-parse-workstation-device-names)
4657 (tramp-zeroconf-parse-webdav-device-names)
4658 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4659
4660 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4661 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4662
4663 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4664 arguments.
4665 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4666 (tramp-sh-handle-insert-file-contents-literally)
4667 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4668 with "_".
4669 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4670 Remove unused variables.
4671
4672 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4673 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4674 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4675
4676 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4677 Make them a defconst.
4678 (tramp-uuencode-region): Remove unused variable.
4679
62f33bae
JB
46802013-08-14 Juanma Barranquero <lekktu@gmail.com>
4681
4682 * frameset.el (frameset--prop-setter): New function.
4683 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4684 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4685 parameter was already set in FILTERED. Doc fix.
4686 (frameset--record-minibuffer-relationships): Allow saving a
4687 minibufferless frame without its corresponding minibuffer frame.
4688 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4689 frame, if the frame id matches.
4690 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4691 frames before orphaned ones.
4692 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4693
c660a885
MR
46942013-08-14 Martin Rudalics <rudalics@gmx.at>
4695
4696 * window.el (window-make-atom): Don't overwrite parameter
4697 already present.
4698 (display-buffer-in-atom-window): Handle special case where we
4699 split an already atomic window.
4700 (window--major-non-side-window, display-buffer-in-side-window)
4701 (window--side-check): Ignore minibuffer window when walking
4702 window tree.
4703 (window-deletable-p): Return 'frame only if no other frame uses
4704 our minibuffer window.
4705 (record-window-buffer): Run buffer-list-update-hook.
4706 (split-window): Make sure window--check-frame won't destroy an
4707 existing atomic window in case the new window gets nested
4708 inside.
4709 (display-buffer-at-bottom): Ignore minibuffer window when
4710 walking window tree. Don't split a side window.
4711 (pop-to-buffer): Don't set-buffer here, the select-window call
4712 should do that.
4713 (mouse-autoselect-window-select): Autoselect only if we are in the
4714 text portion of the window.
4715
8259030d
LMI
47162013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4717
21c58ae2
LMI
4718 * net/shr.el (shr-parse-image-data): New function to grab both the
4719 data itself and the Content-Type.
4720 (shr-put-image): Use it.
4721
4722 * net/eww.el (eww-display-image): Ditto.
4723
8259030d
LMI
4724 * image.el (image-content-type-suffixes): New variable.
4725
ad756449
FEG
47262013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4727
4728 * progmodes/python.el (python-imenu--build-tree)
4729 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4730
f73f4ce6
XF
47312013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4732
4733 * simple.el (backward-word): Mention the optional argument.
4734
1f585e65
SM
47352013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * frameset.el (frameset--make): Rename constructor from make-frameset.
4738 (frameset-p, frameset-valid-p): Don't autoload.
4739 (frameset-valid-p): Use normal accessors.
4740
af1c6c84
GM
47412013-08-13 Glenn Morris <rgm@gnu.org>
4742
55e47f95
GM
4743 * progmodes/compile.el (compile-command): Tweak example in doc.
4744 * obsolete/scribe.el (scribe-mode):
4745 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4746
f0024d8c
GM
4747 * mail/feedmail.el (feedmail-confirm-outgoing)
4748 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4749
4750 * cus-start.el (truncate-partial-width-windows): Fix type.
4751
4752 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4753
af1c6c84
GM
4754 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4755
5514cc4c
SM
47562013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * emacs-lisp/timer.el (timer--time-setter): New function.
4759 (timer--time): Use it as gv-setter.
4760
4761 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4762 setter is not a symbol.
4763
7997a2f1
GJ
47642013-08-12 Grégoire Jadi <daimrod@gmail.com>
4765
4766 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4767 if sending fails. This makes debugging easier.
4768
01f1a9ab
JB
47692013-08-12 Juanma Barranquero <lekktu@gmail.com>
4770
4771 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4772 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4773 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4774
594a4307
EZ
47752013-08-12 Eli Zaretskii <eliz@gnu.org>
4776
4777 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4778
7a22490f 47792013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4780
4781 * format.el (format-annotate-function):
4782 Handle read-only text properties in the source. (Bug#14887)
4783
3e41a054
LMI
47842013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4785
5514cc4c
SM
4786 * net/eww.el (eww-display-html): Ignore coding system errors.
4787 One web site uses "utf-8lias" as the coding system.
3e41a054 4788
7ec326db
JB
47892013-08-11 Juanma Barranquero <lekktu@gmail.com>
4790
4791 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4792
5660113b
JB
47932013-08-10 Juanma Barranquero <lekktu@gmail.com>
4794
9a4ebc74
JB
4795 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4796 (tutorial--detailed-help): Remove unused local variables.
4797 (tutorial--save-tutorial-to): Use ignore-errors.
4798 (help-with-tutorial): Use looking-at-p.
4799
4800 * view.el (view-buffer-other-window, view-buffer-other-frame):
4801 Mark unused arguments.
4802
4803 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4804 (woman-select-symbol-fonts, woman, woman-find-file)
4805 (woman-insert-file-contents, woman-non-underline-faces):
4806 Use string-match-p.
4807 (woman1-unquote): Move declaration.
4808
4809 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4810 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4811 argument. Remove unused local variable.
4812 (xml-parse-elem-type): Use string-match-p.
4813 (xml-substitute-numeric-entities): Use ignore-errors.
4814
45fdb482
JB
4815 * calculator.el (calculator): Mark unused argument.
4816 (calculator-paste, calculator-quit, calculator-integer-p):
4817 Use ignore-errors.
4818 (calculator-string-to-number, calculator-decimal, calculator-exp)
4819 (calculator-op-or-exp): Use string-match-p.
4820
4821 * dired.el (dired-buffer-more-recently-used-p): Declare.
4822 (dired-insert-set-properties, dired-insert-old-subdirs):
4823 Use ignore-errors.
4824
4825 * dired-aux.el (dired-compress): Use ignore-errors.
4826 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4827 (dired-do-async-shell-command, dired-do-shell-command)
4828 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4829 (dired-insert-subdir-validate): Use string-match-p.
4830 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4831 (dired-add-entry): Use string-match-p, looking-at-p.
4832 (dired-insert-subdir-newpos): Remove unused local variable.
4833
4834 * filenotify.el (file-notify-callback): Remove unused local variable.
4835
4836 * filesets.el (filesets-error): Mark unused argument.
4837 (filesets-which-command-p, filesets-filter-dir-names)
4838 (filesets-directory-files, filesets-get-external-viewer)
4839 (filesets-ingroup-get-data): Use string-match-p.
4840
4841 * find-file.el (ff-other-file-name, ff-other-file-name)
4842 (ff-find-the-other-file, ff-cc-hh-converter):
4843 Remove unused local variables.
4844 (ff-get-file-name): Use string-match-p.
4845 (ff-all-dirs-under): Use ignore-errors.
4846
4847 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4848 (follow-select-if-visible): Remove unused local variable.
4849
4850 * forms.el (read-file-filter): Move declaration.
4851 (forms--make-format, forms--make-parser, forms-insert-record):
4852 Quote function with #'.
4853 (forms--update): Use string-match-p. Quote function with #'.
4854
4855 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4856 (help-make-xrefs): Use looking-at-p.
4857 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4858
4859 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4860 (ibuffer-confirm-operation-on): Use string-match-p.
4861
4862 * msb.el (msb-item-handler, msb-dired-item-handler):
4863 Mark unused arguments.
4864
4865 * ses.el (ses-decode-cell-symbol)
4866 (ses-kill-override): Remove unused local variable.
4867 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4868 (ses-load): Use ignore-errors, looking-at-p.
4869 (ses-jump-safe): Use ignore-errors.
4870 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4871
4872 * tabify.el (untabify, tabify): Mark unused arguments.
4873
4874 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4875 Mark unused argument.
4876 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4877 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4878
c880af52
JB
4879 * emacs-lisp/timer.el (timer--time): Define setter with
4880 gv-define-setter to avoid deprecation warning.
4881
5660113b 4882 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4883 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4884 (cmpl-statistics-block): Remove (body was commented out).
4885 All callers changed.
4886 (add-completions-from-buffer, load-completions-from-file):
4887 Remove unused variables.
4888
156aab80
JB
48892013-08-09 Juanma Barranquero <lekktu@gmail.com>
4890
5c5dee78
JB
4891 * filecache.el (file-cache-delete-file-list):
4892 Print message only when told so.
4893 (file-cache-files-matching): Use #' in mapconcat argument.
4894
156aab80
JB
4895 * ffap.el (ffap-url-at-point): Fix reference to variable
4896 thing-at-point-default-mail-uri-scheme.
4897
ad9dcd70
SM
48982013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4899
54bd972f
SM
4900 * subr.el (define-error): New function.
4901 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4902 error-file-not-found and define with define-error.
4903 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4904 and define with define-error.
4905 * userlock.el (file-locked, file-supersession):
4906 * simple.el (mark-inactive):
4907 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4908 * progmodes/ada-mode.el (ada-mode-errors):
4909 * play/life.el (life-extinct):
4910 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4911 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4912 * nxml/rng-util.el (rng-error):
4913 * nxml/rng-uri.el (rng-uri-error):
4914 * nxml/rng-match.el (rng-compile-error):
4915 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4916 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4917 * nxml/nxml-rap.el (nxml-scan-error):
4918 * nxml/nxml-outln.el (nxml-outline-error):
4919 * net/soap-client.el (soap-error):
4920 * net/gnutls.el (gnutls-error):
4921 * net/ange-ftp.el (ftp-error):
4922 * mpc.el (mpc-proc-error):
4923 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4924 (json-number-format, json-string-escape, json-string-format)
4925 (json-key-format, json-object-format):
4926 * jka-compr.el (compression-error):
4927 * international/quail.el (quail-error):
4928 * international/kkc.el (kkc-error):
4929 * emacs-lisp/ert.el (ert-test-failed):
4930 * calc/calc.el (calc-error, inexact-result, math-overflow)
4931 (math-underflow):
4932 * bookmark.el (bookmark-error-no-filename):
4933 * epg.el (epg-error): Define with define-error.
4934
0ea9e53a
SM
4935 * time.el (display-time-event-handler)
4936 (display-time-next-load-average): Don't call sit-for since it seems
4937 unnecessary (bug#15045).
4938
b0429158
SM
4939 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4940 Use #' instead of ' to quote functions.
4941 (checkdoc-output-mode): Use setq-local.
4942 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4943 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4944 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4945 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4946 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4947 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4948 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4949 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4950
ad9dcd70
SM
4951 * ido.el (ido-completion-help): Fix up compiler warning.
4952
77187e6f
JB
49532013-08-09 Juanma Barranquero <lekktu@gmail.com>
4954
4955 * frameset.el (frameset-p): Add autoload cookie.
4956 (frameset--jump-to-register): New function, based on code moved from
4957 register.el.
4958 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4959
4960 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4961 (frameset-restore, frameset-save, frameset-session-filter-alist):
4962 Remove declarations.
4963 (register-alist): Doc fix.
4964 (frameset-to-register): Move to frameset.el.
4965 (jump-to-register, describe-register-1): Remove frameset-specific code.
4966
9d3aa82c
JB
49672013-08-08 Juanma Barranquero <lekktu@gmail.com>
4968
4969 * allout-widgets.el (allout-widgets-pre-command-business)
4970 (allout-widgets-post-command-business)
4971 (allout-widgets-after-change-handler)
4972 (allout-decorate-item-and-context, allout-set-boundary-marker)
4973 (allout-body-modification-handler)
4974 (allout-graphics-modification-handler): Mark ignored arguments.
4975 (allout-widgets-post-command-business)
4976 (allout-widgets-exposure-change-processor)
4977 (allout-widgets-exposure-undo-processor)
4978 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4979 (allout-parse-item-at-point, allout-decorate-item-guides)
4980 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4981 * allout.el (epa-passphrase-callback-function): Declare.
4982 (allout-overlay-insert-in-front-handler)
4983 (allout-overlay-interior-modification-handler)
4984 (allout-isearch-end-handler, allout-chart-siblings)
4985 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4986 (allout-yank-processing, allout-process-exposed)
4987 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4988 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4989 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4990 (lisp-indent-defform): Mark ignored arguments.
4991 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4992 (calculate-lisp-indent): Remove unused variables.
4993 * international/characters.el (indian-2-column, arabic-2-column)
4994 (tibetan): Mark ignored arguments.
4995 (use-cjk-char-width-table): Mark ignored arguments.
4996 Remove unused variables.
4997 * international/fontset.el (build-default-fontset-data)
4998 (x-compose-font-name, create-fontset-from-fontset-spec):
4999 Mark ignored arguments.
5000 (fontset-plain-name): Remove unused variables.
5001 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5002 (keyboard-coding-system): Mark ignored arguments.
5003 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5004 * help.el (resize-temp-buffer-window):
5005 * window.el (display-buffer-in-major-side-window)
5006 (display-buffer-in-side-window, display-buffer-in-previous-window):
5007 Remove unused variables.
5008 * isearch.el (isearch-forward-symbol):
5009 * version.el (emacs-bzr-version-bzr):
5010 * international/mule-cmds.el (current-language-environment):
5011 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5012 (x-handle-display):
5013 * term/pc-win.el (x-list-fonts, x-display-planes)
5014 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5015 (x-server-version, x-display-screens, x-display-mm-height)
5016 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5017 (x-selection-owner-p, x-own-selection-internal)
5018 (x-disown-selection-internal, x-get-selection-internal)
5019 (msdos-initialize-window-system):
5020 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5021 * term/x-win.el (x-handle-no-bitmap-icon):
5022 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5023 (vc-default-find-file-hook, vc-default-extra-menu):
5024 Mark ignored arguments.
5025
0ca3f70e
SM
50262013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5029 break-condition in the context of the debugged code (bug#12685).
5030
74c5d24c
CS
50312013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5032
5033 * comint.el:
5034 Do not use an overlay to highlight the last prompt. (Bug#14744)
5035 (comint-mode): Make comint-last-prompt buffer local.
5036 (comint-last-prompt): New variable.
5037 (comint-last-prompt-overlay): Remove. Superseded by
5038 comint-last-prompt.
0ca3f70e
SM
5039 (comint-snapshot-last-prompt, comint-output-filter):
5040 Use comint-last-prompt.
74c5d24c 5041
c03c02ee
JB
50422013-08-08 Juanma Barranquero <lekktu@gmail.com>
5043
a3738d20 5044 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5045 (frameset-save): Check validity of the resulting frameset.
5046
04263d23
XF
50472013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5048
5049 * ido.el (ido-record-command): Add doc string.
5050
76c5e5ab
JB
50512013-08-08 Juanma Barranquero <lekktu@gmail.com>
5052
5053 * frameset.el (frameset): Do not disable creation of the default
5054 frameset-p predicate. Doc fix.
5055 (frameset-valid-p): New function, copied from the old predicate-p.
5056 Add additional checks.
5057 (frameset-restore): Check with frameset-valid-p.
5058 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5059 (frameset-name, frameset-description, frameset-properties)
5060 (frameset-states): Add docstring.
f9dbf1cb
JB
5061 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5062 (frameset-filter-alist): Doc fixes.
76c5e5ab 5063
bd0c3c0b
JB
50642013-08-08 Juanma Barranquero <lekktu@gmail.com>
5065
5066 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5067
c735544c
SM
50682013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5071 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5072 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5073 (byte-compile-normal-call): Remove obsolescence check.
5074
2805a651
JB
50752013-08-08 Juanma Barranquero <lekktu@gmail.com>
5076
3677ffeb
JB
5077 * frameset.el (frameset-restore): Doc fix.
5078
2805a651
JB
5079 * register.el (frameset-frame-id, frameset-frame-with-id)
5080 (frameset-p, frameset-restore, frameset-save): Declare.
5081 (register-alist): Document framesets.
5082 (frameset-session-filter-alist): Declare.
5083 (frameset-to-register): New function.
5084 (jump-to-register): Implement jumping to framesets. Doc fix.
5085 (describe-register-1): Describe framesets.
5086
5087 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5088
a912c016
JB
50892013-08-07 Juanma Barranquero <lekktu@gmail.com>
5090
5091 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5092 Use lexical-binding.
5093
5094 * frameset.el (frameset): Use type vector, not list (incompatible
5095 change). Do not declare a new constructor, use the default one.
5096 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5097 `name' and `description', respectively, and add read-only slot
5098 `timestamp'. Doc fixes.
5099 (frameset-copy, frameset-persistent-filter-alist)
5100 (frameset-filter-alist, frameset-switch-to-gui-p)
5101 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5102 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5103 (frameset-filter-iconified, frameset-keep-original-display-p):
5104 Doc fixes.
5105 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5106 Rename from frameset-filter-(save|restore)-param. All callers changed.
5107 Doc fix.
5108 (frameset-p): Adapt to change to vector and be more thorough.
5109 Change arg name to OBJECT. Doc fix.
5110 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5111 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5112 All callers changed.
5113 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5114 All callers changed.
5115 (frameset--record-minibuffer-relationships): Rename from
5116 frameset--process-minibuffer-frames. All callers changed.
5117 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5118 Use new default constructor (again). Doc fix.
5119 (frameset--find-frame-if): Rename from `frameset--find-frame.
5120 All callers changed.
5121 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5122 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5123 Doc fix.
5124 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5125 PARAMETERS and WINDOW-STATE, respectively.
5126 (frameset-restore): Add new keyword argument PREDICATE.
5127 Reset frameset--target-display to nil. Doc fix.
5128
bb41480a
SM
51292013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5130
f001e98e
SM
5131 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5132 (bat-mode): Use it.
5133 (bat-mode-syntax-table): Mark \n as end-of-comment.
5134 (bat-font-lock-keywords): Remove comment rule.
5135
7679edb1
SM
5136 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5137 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5138
bb41480a
SM
5139 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5140 (byte-compile-callargs-warn): Use `push'.
5141 (byte-compile-arglist-warn): Ignore higher-order "calls".
5142 (byte-compile-file-form-autoload): Use `pcase'.
5143 (byte-compile-function-form): If quoting a symbol, check that it exists.
5144
cdc1ebb9
EZ
51452013-08-07 Eli Zaretskii <eliz@gnu.org>
5146
5147 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5148 and add a few popular commands found in batch files.
5149 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5150 (dos-mode): Doc fixes.
5151
312b1740
SM
51522013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5155 (dos-mode): Use setq-local. Add space after "rem".
5156 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5157 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5158
400a3178
AM
51592013-08-07 Arni Magnusson <arnima@hafro.is>
5160
5161 * progmodes/dos.el: New file.
5162 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5163 dos-mode.
5164
3b5c03d3
GM
51652013-08-06 Glenn Morris <rgm@gnu.org>
5166
5167 * calendar/calendar.el: Add new faces, and day-header-array.
5168 (calendar-weekday-header, calendar-weekend-header)
5169 (calendar-month-header): New faces.
5170 (calendar-day-header-construct): New function.
5171 (calendar-day-header-width): Also :set calendar-day-header-array.
5172 (calendar-american-month-header, calendar-european-month-header)
5173 (calendar-iso-month-header): Use calendar- faces.
5174 (calendar-generate-month):
5175 Use calendar-day-header-array for day headers; apply faces to them.
5176 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5177 (calendar-abbrev-construct): Add optional maxlen argument.
5178 (calendar-day-name-array): Doc fix.
5179 (calendar-day-name-array, calendar-abbrev-length)
5180 (calendar-day-abbrev-array):
5181 Also :set calendar-day-header-array, and maybe redraw.
5182 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5183 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5184 (calendar-day-name): Add option to use header array.
5185
ec6a2d7a
LMI
51862013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5187
5188 * net/shr.el (shr-render-td): Remove debugging.
5189 (shr-render-td): Make width computation consistent by defaulting
5190 all zero-width columns to 10 characters. This may not be optimal,
5191 but it's at least consistent.
2122cb6d
LMI
5192 (shr-make-table-1): Redo last change to fix the real problem in
5193 colspan handling.
ec6a2d7a 5194
ed4fd9c5
DA
51952013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5196
0ca3f70e
SM
5197 * files.el (cache-long-line-scans):
5198 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5199
64e22afe
JB
52002013-08-06 Juanma Barranquero <lekktu@gmail.com>
5201
024b38fc
JB
5202 * frameset.el (frameset, frameset-filter-alist)
5203 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5204 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5205 (frameset-compute-pos): Rename from frameset--compute-pos,
5206 and add docstring.
5207 (frameset-move-onscreen): Use frameset-compute-pos.
5208 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5209
64e22afe
JB
5210 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5211 Fix typos in docstrings.
5212
c8c2aca8
DA
52132013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5214
5215 * frame.el (get-other-frame): Tiny cleanup.
5216
1d237bba
JB
52172013-08-06 Juanma Barranquero <lekktu@gmail.com>
5218
8951efef
JB
5219 * vc/vc.el (vc-default-ignore-completion-table):
5220 Silence byte-compiler warning.
5221
307764cc
JB
5222 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5223 slot , which can indeed be nil.
5224 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5225 Move entry for `left' from persistent to live filter alist.
5226 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5227 Doc fixes.
5228 (frameset-filter-params): When restoring a frame, copy items added to
5229 `filtered', to avoid unwittingly modifying the original parameters.
5230 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5231 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5232
1d237bba
JB
5233 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5234 to use looking-at-p instead of looking-at. (Bug#15028)
5235
dc6c0eda
SM
52362013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5237
5238 Revert introduction of isearch-filter-predicates (bug#14714).
5239 Rely on add-function instead.
5240 * isearch.el (isearch-filter-predicates): Rename it back to
5241 isearch-filter-predicate.
5242 (isearch-message-prefix): Use advice-function-mapc and advice
5243 properties to get the isearch-message-prefix.
5244 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5245 instead of run-hook-with-args-until-failure.
5246 (isearch-filter-visible): Not obsolete any more.
5247 * loadup.el: Preload nadvice.
5248 * replace.el (perform-replace): Revert to funcall
5249 instead of run-hook-with-args-until-failure.
5250 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5251 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5252 dired-isearch-filenames-toggle; make it into a proper minor mode.
5253 Use add/remove-function.
5254 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5255 Call the minor-mode rather than add/remove-hook.
5256 (dired-isearch-filter-filenames):
5257 Remove isearch-message-prefix property.
5258 * info.el (Info--search-loop): New function, extracted from Info-search.
5259 Funcall isearch-filter-predicate instead of
5260 run-hook-with-args-until-failure isearch-filter-predicates.
5261 (Info-search): Use it.
5262 (Info-mode): Use isearch-filter-predicate instead of
5263 isearch-filter-predicates.
5264
290d5b58
DA
52652013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5266
5267 Do not call to `selected-window' where it is assumed by default.
5268 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5269 `window-hscroll', `window-width', `window-height', `window-buffer',
5270 `window-frame', `window-start', `window-point', `next-window'
5271 and `window-display-table'.
5272 * abbrev.el (abbrev--default-expand):
5273 * bs.el (bs--show-with-configuration):
5274 * buff-menu.el (Buffer-menu-mouse-select):
5275 * calc/calc.el (calc):
5276 * calendar/calendar.el (calendar-generate-window):
5277 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5278 (diary-make-entry):
5279 * comint.el (send-invisible, comint-dynamic-complete-filename)
5280 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5281 * completion.el (complete):
5282 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5283 * disp-table.el (describe-current-display-table):
5284 * doc-view.el (doc-view-insert-image):
5285 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5286 * ehelp.el (with-electric-help):
5287 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5288 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5289 * emacs-lisp/helper.el (Helper-help-scroller):
5290 * emulation/cua-base.el (cua--post-command-handler-1):
5291 * eshell/esh-mode.el (eshell-output-filter):
5292 * ffap.el (ffap-gnus-wrapper):
5293 * help-macro.el (make-help-screen):
5294 * hilit-chg.el (highlight-compare-buffers):
5295 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5296 * hl-line.el (global-hl-line-highlight):
5297 * icomplete.el (icomplete-simple-completing-p):
5298 * isearch.el (isearch-done):
5299 * jit-lock.el (jit-lock-stealth-fontify):
5300 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5301 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5302 * mpc.el (mpc-tagbrowser, mpc):
5303 * net/rcirc.el (rcirc-any-buffer):
5304 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5305 * play/landmark.el (landmark-max-width, landmark-max-height):
5306 * play/zone.el (zone):
5307 * progmodes/compile.el (compilation-goto-locus):
5308 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5309 * progmodes/etags.el (find-tag-other-window):
5310 * progmodes/fortran.el (fortran-column-ruler):
5311 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5312 * progmodes/verilog-mode.el (verilog-point-text):
5313 * reposition.el (reposition-window):
5314 * rot13.el (toggle-rot13-mode):
5315 * server.el (server-switch-buffer):
5316 * shell.el (shell-dynamic-complete-command)
5317 (shell-dynamic-complete-environment-variable):
5318 * simple.el (insert-buffer, set-selective-display)
5319 (delete-completion-window):
5320 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5321 (speedbar-recenter):
5322 * startup.el (fancy-splash-head):
5323 * textmodes/ispell.el (ispell-command-loop):
5324 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5325 * tutorial.el (help-with-tutorial):
5326 * vc/add-log.el (add-change-log-entry):
5327 * vc/compare-w.el (compare-windows):
5328 * vc/ediff-help.el (ediff-indent-help-message):
5329 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5330 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5331 (ediff-setup-control-frame):
5332 * vc/emerge.el (emerge-position-region):
5333 * vc/pcvs-util.el (cvs-bury-buffer):
5334 * window.el (walk-windows, mouse-autoselect-window-select):
5335 * winner.el (winner-set-conf, winner-undo): Related users changed.
5336
38276e01
JB
53372013-08-05 Juanma Barranquero <lekktu@gmail.com>
5338
5339 * frameset.el (frameset--set-id): Doc fix.
5340 (frameset-frame-id, frameset-frame-id-equal-p)
5341 (frameset-locate-frame-id): New functions.
5342 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5343 (frameset-restore): Use them.
5344
12b4c0ea
DA
53452013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5346
5347 Do not call to `selected-frame' where it is assumed by default.
5348 Affected functions are `raise-frame', `redraw-frame',
5349 `frame-first-window', `frame-terminal' and `delete-frame'.
5350 * calendar/appt.el (appt-disp-window):
5351 * epg.el (epg-wait-for-completion):
5352 * follow.el (follow-delete-other-windows-and-split)
5353 (follow-avoid-tail-recenter):
5354 * international/mule.el (set-terminal-coding-system):
5355 * mail/rmail.el (rmail-mail-return):
5356 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5357 * progmodes/f90.el (f90-add-imenu-menu):
5358 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5359 * server.el (server-switch-buffer):
5360 * simple.el (delete-completion-window):
5361 * talk.el (talk):
5362 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5363 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5364 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5365 * vc/ediff.el (ediff-documentation): Related users changed.
5366 * frame.el (selected-terminal): Remove the leftover.
5367
17f25e76
GM
53682013-08-05 Glenn Morris <rgm@gnu.org>
5369
5370 * calendar/calendar.el (calendar-generate-month):
5371 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5372 (calendar-generate-month, calendar-font-lock-keywords):
5373 Fix for calendar-day-header-width > length of any day name.
17f25e76 5374
063233c3
JB
53752013-08-05 Juanma Barranquero <lekktu@gmail.com>
5376
5377 * desktop.el (desktop-clear): Use new name of sort predicate.
5378
5379 * frameset.el (frameset): Add docstring. Move :version property to its
5380 own `version' slot.
5381 (frameset-copy): Rename from copy-frameset.
5382 (frameset-p): Check more thoroughly.
5383 (frameset-prop): Do not check for :version, which is no longer a prop.
5384 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5385 Use new :never value instead of t.
5386 (frameset-filter-alist): Expand and clarify docstring.
5387 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5388 (frameset-filter-minibuffer, frameset-filter-save-param)
5389 (frameset-filter-restore-param, frameset-filter-iconified):
5390 Add pointer to docstring of frameset-filter-alist.
5391 (frameset-filter-params): Rename filter values to be more meaningful:
5392 :never instead of t, and reverse the meanings of :save and :restore.
5393 (frameset--process-minibuffer-frames): Clarify error message.
5394 (frameset-save): Avoid unnecessary and confusing call to framep.
5395 Use new BOA constructor for framesets.
5396 (frameset--reuse-list): Doc fix.
5397 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5398 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5399 (frameset-minibufferless-first-p): Doc fix.
5400 Rename from frameset-sort-frames-for-deletion.
5401 (frameset-restore): Doc fixes. Use new function names.
5402 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5403
d5671a82
JB
54042013-08-04 Juanma Barranquero <lekktu@gmail.com>
5405
5406 * desktop.el (desktop-restore-forces-onscreen)
5407 (desktop-restore-reuses-frames): Document :keyword constant values.
5408 (desktop-filter-parameters-alist): Remove, now identical to
5409 frameset-filter-alist.
5410 (desktop--filter-tty*): Remove, moved to frameset.el.
5411 (desktop-save-frameset, desktop-restore-frameset):
5412 Do not pass :filters argument.
5413
5414 * frameset.el (frameset-live-filter-alist)
5415 (frameset-persistent-filter-alist): New variables.
5416 (frameset-filter-alist): Use them. Add autoload cookie.
5417 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5418 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5419 `frameset--id' (it's supposed to be internal to frameset.el).
5420 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5421 (frameset--initial-params): New function.
5422 (frameset--get-frame): Use it. Doc fix.
5423 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5424 Accept :all, not 'all.
5425 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5426 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5427 with fbound symbols. Fix frame id matching, and remove matching ids if
5428 the frame being restored is deleted. Obey :delete.
5429
671d5c16
SM
54302013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5431
5432 * subr.el (macrop): New function.
5433 (text-clone--maintaining): New var.
5434 (text-clone--maintain): Rename from text-clone-maintain. Use it
5435 instead of inhibit-modification-hooks.
5436
5437 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5438 a proxy, so as handle autoloads and redefinitions of the target.
5439 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5440
5441 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5442 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5443 (pcase--mutually-exclusive-p): New function.
5444 (pcase--split-consp): Use it.
5445 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5446 mutually exclusive with the current predicate.
5447
5448 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5449 (edebug-macrop): Remove. Use `macrop' instead.
5450 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5451 (ad-macro-p):
5452 * eshell/esh-cmd.el (eshell-macrop):
5453 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5454
1d44e9dc
SM
54552013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5458 (advice-mapc): New function, using it.
5459 (advice-function-member-p): New function.
5460 (advice--normalize): Store the cdr in advice--saved-rewrite since
5461 that's the part that will be changed.
5462 (advice--symbol-function): New function.
5463 (advice-remove): Handle removal before the function is defined.
5464 Adjust to new advice--saved-rewrite.
5465 (advice-member-p): Use advice-function-member-p and
5466 advice--symbol-function.
5467
5414a283
JB
54682013-08-04 Juanma Barranquero <lekktu@gmail.com>
5469
51d30f2c
JB
5470 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5471 (frameset-filter-minibuffer): Doc fix.
5472 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5473 (frameset--set-id, frameset--process-minibuffer-frames)
5474 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5475 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5476
5414a283
JB
5477 * desktop.el (desktop-clear): Only delete frames when called
5478 interactively and desktop-restore-frames is non-nil. Doc fix.
5479 (desktop-read): Set desktop-saved-frameset to nil.
5480
ab419665
XF
54812013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5482
5483 * vc/vc.el (vc-ignore): Rewrite.
5484 (vc-default-ignore-completion-table):
5485 (vc--read-lines):
5486 (vc--add-line, vc--remove-regexp): New functions.
5487
5488 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5489 (vc-svn-ignore-completion-table): New function.
5490
5491 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5492 (vc-hg-ignore-completion-table):
5493 (vc-hg-find-ignore-file): New functions.
5494
5495 * vc/vc-git.el (vc-git-ignore): Rewrite.
5496 (vc-git-ignore-completion-table):
5497 (vc-git-find-ignore-file): New functions.
5498
5499 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5500
5501 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5502 (vc-bzr-ignore-completion-table):
5503 (vc-bzr-find-ignore-file): New functions.
5504
2613dea2
JB
55052013-08-03 Juanma Barranquero <lekktu@gmail.com>
5506
5507 * frameset.el (frameset-prop): New function and setter.
5508 (frameset-save): Do not modify frame list passed by the caller.
5509
9c959872
SM
55102013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5511
5512 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5513
a104f656
SM
55142013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5515
70122acf
SM
5516 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5517 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5518
a104f656
SM
5519 * custom.el (custom-initialize-default, custom-initialize-set)
5520 (custom-initialize-reset, custom-initialize-changed): Affect the
5521 toplevel-default-value (bug#6275, bug#14586).
5522 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5523 for bug#6275.
5524
f078d570
JB
55252013-08-02 Juanma Barranquero <lekktu@gmail.com>
5526
185e3b5a
JB
5527 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5528 Add cl-def* expressions.
5529
f078d570
JB
5530 * frameset.el (frameset-filter-params): Fix order of arguments.
5531
9421876d
JB
55322013-08-02 Juanma Barranquero <lekktu@gmail.com>
5533
5534 Move code related to saving frames to frameset.el.
5535 * desktop.el: Require frameset.
5536 (desktop-restore-frames): Doc fix.
5537 (desktop-restore-reuses-frames): Rename from
5538 desktop-restoring-reuses-frames.
5539 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5540 (desktop-clear): Clear frames too.
5541 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5542 (desktop--filter-tty*, desktop-save, desktop-read):
5543 Use frameset functions.
5544 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5545 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5546 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5547 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5548 (desktop--process-minibuffer-frames, desktop-save-frames)
5549 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5550 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5551 (desktop--sort-states, desktop-restoring-frames-p)
5552 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5553 (desktop-restoring-frameset-p, desktop-restore-frameset)
5554 (desktop--check-dont-save, desktop-save-frameset): New functions.
5555 (desktop--app-id): New constant.
5556 (desktop-first-buffer, desktop-buffer-ok-count)
5557 (desktop-buffer-fail-count): Move before first use.
5558 * frameset.el: New file.
5559
76dc5996
SM
55602013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * files.el: Use lexical-binding.
5563 (dir-locals-read-from-file): Remove unused `err' variable.
5564 (hack-dir-local-variables--warned-coding): New var.
5565 (hack-dir-local-variables): Use it to avoid repeated warnings.
5566 (make-backup-file-name--default-function): New function.
5567 (make-backup-file-name-function): Use it as default.
5568 (buffer-stale--default-function): New function.
5569 (buffer-stale-function): Use it as default.
5570 (revert-buffer-insert-file-contents--default-function): New function.
5571 (revert-buffer-insert-file-contents-function): Use it as default.
5572 (insert-directory): Avoid add-to-list.
5573
5574 * autorevert.el (auto-revert-handler): Simplify.
5575 Use buffer-stale--default-function.
5576
06d36e2b
TH
55772013-08-01 Tassilo Horn <tsdh@gnu.org>
5578
5f648ab4
TH
5579 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5580
06d36e2b
TH
5581 * whitespace.el (whitespace-ensure-local-variables): New function.
5582 (whitespace-cleanup-region): Call it.
5583 (whitespace-turn-on): Call it.
5584
a43dc424
MA
55852013-08-01 Michael Albinus <michael.albinus@gmx.de>
5586
5587 Complete file name handlers.
5588
5589 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5590 (tramp-handle-verify-visited-file-modtime)
5591 (tramp-handle-file-notify-rm-watch): New functions.
5592 (tramp-call-process): Do not bind `default-directory'.
5593
44e18199
JB
5594 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5595 Order alphabetically.
a43dc424
MA
5596 [access-file, add-name-to-file, dired-call-process]:
5597 [dired-compress-file, file-acl, file-notify-rm-watch]:
5598 [file-ownership-preserved-p, file-selinux-context]:
5599 [make-directory-internal, make-symbolic-link, set-file-acl]:
5600 [set-file-selinux-context, set-visited-file-modtime]:
5601 [verify-visited-file-modtime]: Add handler.
5602 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5603
5604 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5605 [file-notify-add-watch, file-notify-rm-watch]:
5606 [set-file-times, set-visited-file-modtime]:
5607 [verify-visited-file-modtime]: Add handler.
5608 (with-tramp-gvfs-error-message)
5609 (tramp-gvfs-handle-set-visited-file-modtime)
5610 (tramp-gvfs-fuse-file-name): Remove.
5611 (tramp-gvfs-handle-file-notify-add-watch)
5612 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5613 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5614
44e18199
JB
5615 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5616 Order alphabetically.
a43dc424
MA
5617 [file-notify-rm-watch ]: Use default Tramp handler.
5618 [executable-find]: Remove private handler.
5619 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5620 `default-directory'.
5621 (tramp-sh-handle-executable-find)
5622 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5623 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5624 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5625 Do not use `format' in `tramp-message'.
5626
5627 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5628 [file-notify-rm-watch, set-visited-file-modtime]:
5629 [verify-visited-file-modtime]: Add handler.
5630 (tramp-smb-call-winexe): Do not bind `default-directory'.
5631
7188b515
XF
56322013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5633
5634 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5635
2412ee1a
DG
56362013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5637
5638 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5639 use it.
5640 (log-view-diff-changeset): Same.
5641 (log-view-diff-common): Call backend command `previous-revision'
5642 to find out the previous revision, in both cases. Swap the
5643 variables `to' and `fr', so that `fr' usually refers to the
5644 earlier revision (Bug#14989).
5645
5002a754
KRC
56462013-07-31 Kan-Ru Chen <kanru@kanru.info>
5647
5648 * ibuf-ext.el (ibuffer-filter-by-filename):
5649 Make it work with dired buffers too.
5650
44e18199 56512013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5652
5653 * emacs-lisp/re-builder.el (reb-color-display-p):
5654 * files.el (save-buffers-kill-terminal):
5655 * net/browse-url.el (browse-url):
5656 * server.el (server-save-buffers-kill-terminal):
5657 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5658 Prefer nil to selected-frame for the first arg of frame-parameter.
5659
aeca3fbb
XF
56602013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5661
5662 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5663
158bc55c
SB
56642013-07-30 Stephen Berman <stephen.berman@gmx.net>
5665
5666 * minibuffer.el (completion--twq-all): Try and preserve each
5667 completion's case choice (bug#14907).
5668
d50fceab
LMI
56692013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5670
ac38e731
LMI
5671 * net/network-stream.el (open-network-stream): Mention the new
5672 :nogreeting parameter.
5673 (network-stream-open-starttls): Use the :nogreeting parameter
5674 (bug#14938).
5675
1211de50
LMI
5676 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5677
997798bf
LMI
5678 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5679 more natural than popping.
5680
d50fceab 5681 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5682 (shr-urlify): Highlight under mouse.
d50fceab 5683
5c09de04
XF
56842013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5685
207d1d04
XF
5686 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5687
5688 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5689
5c09de04
XF
5690 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5691 buffer for output.
5692
3cd51eaa
XF
5693 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5694 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5695
44e18199 5696 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5697 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5698
5699 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5700
5701 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5702 buffer for output.
5703
35a89bdd
EZ
57042013-07-29 Eli Zaretskii <eliz@gnu.org>
5705
5706 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5707 initial frame is minibuffer-less. (Bug#14841)
5708
78822e94
MA
57092013-07-29 Michael Albinus <michael.albinus@gmx.de>
5710
5711 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5712 option.
5713
5714 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5715 (tramp-maybe-open-connection): Use it.
5716
9503c190
JB
57172013-07-28 Juanma Barranquero <lekktu@gmail.com>
5718
5719 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5720 minimal set of parameters passed when creating a frame, because
5721 the minibuffer status of a frame cannot be changed later.
5722
d5a845b4
SB
57232013-07-28 Stephen Berman <stephen.berman@gmx.net>
5724
5725 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5726 replace-regexp-in-string and inadvertent omissions in previous change.
5727 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5728 name of filtered items buffer.
d5a845b4 5729
ddeffb17
JB
57302013-07-28 Juanma Barranquero <lekktu@gmail.com>
5731
5732 * desktop.el: Optionally force offscreen frames back onscreen.
5733 (desktop-restoring-reuses-frames): New option.
5734 (desktop--compute-pos, desktop--move-onscreen): New functions.
5735 (desktop--make-frame): Use desktop--move-onscreen.
5736
f5950f7a
AM
57372013-07-27 Alan Mackenzie <acm@muc.de>
5738
5739 Fontify a Java generic method as a function.
5740 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5741 value to t.
5742
ae43b66a
SB
57432013-07-27 Stephen Berman <stephen.berman@gmx.net>
5744
5745 * calendar/todo-mode.el: Add command to rename todo files.
5746 (todo-rename-file): New command.
5747 (todo-key-bindings-t): Add key binding for it. Change the
5748 bindings of todo-filter-regexp-items(-multifile) to use `x'
5749 instead of `r', since the latter is better suited to the new
5750 renaming command.
5751
5ab78d3d
AM
57522013-07-27 Alan Mackenzie <acm@muc.de>
5753
5754 Make Java try-with-resources statement parse properly.
5755 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5756 (c-block-stmt-1-2-key): New language constants/variables.
5757 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5758 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5759 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5760 with c-block-stmt-1-2-key.
5ab78d3d 5761
d85c4d50
JB
57622013-07-27 Juanma Barranquero <lekktu@gmail.com>
5763
5764 * desktop.el (desktop--make-frame): Apply most frame parameters after
5765 creating the frame to force (partially or totally) offscreen frames to
5766 be restored as such.
5767
e4c467f9
XF
57682013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5769
5770 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5771 (Bug#14948)
e4c467f9 5772
7ced0d04
SM
57732013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5776 `base' arg of backtrace-frame.
5777
fec92060
EZ
57782013-07-26 Eli Zaretskii <eliz@gnu.org>
5779
5780 * simple.el (list-processes): Doc fix.
5781
d58d31fb
JB
57822013-07-26 Juanma Barranquero <lekktu@gmail.com>
5783
5784 * desktop.el (desktop--select-frame):
d85c4d50 5785 Try harder to reuse existing frames.
d58d31fb 5786
53ff3e77
SM
57872013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5788
5789 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5790 (edebug-eval): Use backtrace-eval.
5791 (edebug--display, edebug--recursive-edit): Don't let-bind the
5792 edebug-outer-* vars that keep track of variables we locally let-bind.
5793 (edebug-outside-excursion): Don't restore outside values of locally
5794 let-bound vars.
5795 (edebug--display): Use user-error.
5796 (cl-lexical-debug, cl-debug-env): Remove.
5797
045f7a53
JB
57982013-07-26 Juanma Barranquero <lekktu@gmail.com>
5799
5800 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5801 are restored to be sure that they are visible before deleting any
5802 remaining ones.
5803
59070b32
MM
58042013-07-26 Matthias Meulien <orontee@gmail.com>
5805
742a3501
XF
5806 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5807 vc-print-root-log. (Bug#14948)
59070b32 5808
b1fb3596
RS
58092013-07-26 Richard Stallman <rms@gnu.org>
5810
5811 Add aliases for encrypting mail.
5812 * epa.el (epa-mail-aliases): New option.
5813 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5814 Bind inhibit-read-only so read-only text doesn't ruin everything.
5815 (epa-mail-default-recipients): New subroutine broken out.
5816 Handle epa-mail-aliases.
5817
56ea7291
SM
58182013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5819
5820 Add support for lexical variables to the debugger's `e' command.
5821 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5822 vars, except for debugger-outer-match-data.
5823 (debugger-frame-number): Move check for "on a function call" from
5824 callers into it. Add `skip-base' argument.
5825 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5826 (debugger-env-macro): Only reset the state stored in non-variables,
5827 i.e. current-buffer and match-data.
5828 (debugger-eval-expression): Rewrite using backtrace-eval.
5829 * subr.el (internal--called-interactively-p--get-frame): Remove.
5830 (called-interactively-p):
5831 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5832 `base' arg of backtrace-frame instead.
5833
15ac32d5
GM
58342013-07-26 Glenn Morris <rgm@gnu.org>
5835
8358a09d
GM
5836 * align.el (align-regexp): Doc fix. (Bug#14857)
5837 (align-region): Explicit error if subexpression missing/does not match.
5838
15ac32d5
GM
5839 * simple.el (global-visual-line-mode):
5840 Do not duplicate the mode lighter. (Bug#14858)
5841
f47ad11b
MR
58422013-07-25 Martin Rudalics <rudalics@gmx.at>
5843
5844 * window.el (display-buffer): In display-buffer bind
5845 split-window-keep-point to t, bug#14829.
5846
02530987
JB
58472013-07-25 Juanma Barranquero <lekktu@gmail.com>
5848
5849 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5850 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5851 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5852 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5853 Change accordingly.
f63ebeb5
JB
5854 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5855 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5856
6ccb9cab 58572013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5858
6ccb9cab 5859 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5860
cb3a56d2
JB
58612013-07-25 Juanma Barranquero <lekktu@gmail.com>
5862
5863 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5864 parameter to modify-frame-parameters if the value has not changed;
5865 this is a workaround for bug#14949.
5866 (desktop--make-frame): On cl-delete-if call, check parameter name,
5867 not full parameter.
5868
7aa7fff0
XF
58692013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5870
5871 * vc/vc.el (vc-ignore): New function.
5872
5873 * vc/vc-svn.el (vc-svn-ignore): New function.
5874
5875 * vc/vc-hg.el (vc-hg-ignore): New function.
5876
5877 * vc/vc-git.el (vc-git-ignore): New function.
5878
5879 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5880 (vc-dir-ignore): New function.
5881
5882 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5883 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5884
5885 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5886
5887 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5888
889acc5c
JB
58892013-07-24 Juanma Barranquero <lekktu@gmail.com>
5890
5891 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5892 (desktop-restore-frames): Warn when deleting an existing frame failed.
5893
86c40970
GM
58942013-07-24 Glenn Morris <rgm@gnu.org>
5895
5896 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5897
d5d3c58a
MA
58982013-07-24 Michael Albinus <michael.albinus@gmx.de>
5899
5900 * filenotify.el (file-notify-supported-p):
5901 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5902 Remove functions.
5903
5904 * autorevert.el (auto-revert-use-notify):
5905 (auto-revert-notify-add-watch):
5906 * net/tramp.el (tramp-file-name-for-operation):
5907 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5908 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5909 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5910 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5911 Remove `file-notify-supported-p' entry.
5912
d100084b
GM
59132013-07-24 Glenn Morris <rgm@gnu.org>
5914
5915 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5916 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5917
ac93e56b
SM
59182013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5919
249eea30
SM
5920 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5921 checked with memq (bug#14935).
5922
ac93e56b
SM
5923 * files.el (revert-buffer-function): Use a non-nil default.
5924 (revert-buffer-preserve-modes): Declare var to
5925 provide access to the `preserve-modes' argument.
5926 (revert-buffer): Let-bind it.
5927 (revert-buffer--default): New function, extracted from revert-buffer.
5928
2cdeb903
SM
59292013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * lpr.el: Signal print errors more prominently.
5932 (print-region-function): Don't default to nil.
5933 (lpr-print-region): New function, extracted from print-region-1.
5934 Check lpr's return value and signal an error in case of problem.
5935 (print-region-1): Use it.
5936 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5937 versions instead.
5938 (ps-printer-name): Default to nil.
5939 (ps-printer-name-option): Default to lpr-printer-switch.
5940 (ps-print-region-function): Don't default to nil.
5941 (ps-postscript-code-directory): Simplify default.
5942 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5943 (ps-string-list, ps-eval-switch, ps-flatten-list)
5944 (ps-flatten-list-1): Remove.
5945 (ps-multibyte-buffer): Avoid setq.
5946 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5947 (print-region-function, ps-print-region-function): Don't set them here.
5948
73600831
XF
59492013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5950
0e55c076
XF
5951 * ido.el (ido-fractionp):
5952 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5953 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5954 (ido-max-directory-size, ido-max-dir-file-cache)
5955 (ido-decorations): Doc fix.
5956
73600831
XF
5957 * ansi-color.el: Fix old URL.
5958
3d012865
MM
59592013-07-23 Michael R. Mauger <michael@mauger.com>
5960
e903c210 5961 * progmodes/sql.el: Version 3.3
3d012865
MM
5962 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5963 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5964 (sql-interactive-remove-continuation-prompt): Rewrite, use
5965 functions above. Fix continuation prompt and complete output line
5966 handling.
5967 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5968 redirected output buffer.
5969 (sql-mode): Restore deleted code (Bug#13591).
5970
da77a2e2
JB
59712013-07-23 Juanma Barranquero <lekktu@gmail.com>
5972
5973 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5974
80ff0c71
MA
59752013-07-23 Michael Albinus <michael.albinus@gmx.de>
5976
5977 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5978
5979 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5980 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5981 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5982
b61d71e4
JB
59832013-07-23 Juanma Barranquero <lekktu@gmail.com>
5984
5985 * desktop.el (desktop-clear): Simplify; remove useless checks
5986 against invalid buffer names.
5987 (desktop-list*): Use cl-list*.
5988 (desktop-buffer-info, desktop-create-buffer): Simplify.
5989
c3512092
LL
59902013-07-23 Leo Liu <sdl.web@gmail.com>
5991
5992 * bookmark.el (bookmark-make-record): Restore NAME as a default
5993 value. (Bug#14933)
5994
0ac26976
SM
59952013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5996
7d22ce18
SM
5997 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5998 extracted from autoload--insert-text.
5999 (autoload--insert-text): Remove.
6000 (autoload--print-cookie-text): New function, extracted from
6001 autoload--insert-cookie-text.
6002 (autoload--insert-cookie-text): Remove.
6003 (autoload-generate-file-autoloads): Adjust calls accordingly.
6004
9b2607e8
SM
6005 * winner.el (winner-hook-installed-p): Remove.
6006 (winner-mode): Simplify accordingly.
6007
c43a8618
SM
6008 * subr.el (add-to-list): Fix compiler-macro when `append' is
6009 not constant. Don't use `cl-member' for the base case.
6010
0ac26976
SM
6011 * progmodes/subword.el: Fix boundary case (bug#13758).
6012 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6013 own group.
6014 (subword-backward-regexp): Make it a constant.
6015 (subword-forward-internal): Don't treat a trailing capital as the
6016 beginning of a word.
6017
6874724a
AR
60182013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6019
6020 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6021 global value of tabulated-list-revert-hook (bug#14930).
6022
70f1b5e8
JB
60232013-07-22 Juanma Barranquero <lekktu@gmail.com>
6024
a1c80d9d
JB
6025 * desktop.el: Require 'cl-lib.
6026 (desktop-before-saving-frames-functions): New hook.
6027 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6028 for frames being saved. Rename from desktop--save-minibuffer-frames.
6029 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6030 Do not save frames with non-nil `desktop-dont-save' parameter.
6031 Filter out deleted frames.
a1c80d9d
JB
6032 (desktop--find-frame): Use cl-find-if.
6033 (desktop--select-frame): Use cl-(first|second|third) to access values
6034 of desktop-mini.
6035 (desktop--make-frame): Use cl-delete-if.
6036 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6037 (desktop-restore-frames): Use cl-(first|second|third) to access values
6038 of desktop-mini. Look for visible frame at the end, not while
6039 restoring frames.
6040
70f1b5e8
JB
6041 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6042 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6043 Use string-match-p, looking-at-p (bug#14927).
6044
728dc3cc
JB
60452013-07-21 Juanma Barranquero <lekktu@gmail.com>
6046
56bc453c
JB
6047 * desktop.el (desktop-saved-frame-states):
6048 Rename from desktop--saved-states; all users changed.
6049 (desktop-save-frames): Rename from desktop--save-frames.
6050 Do not save state to desktop file.
6051 (desktop-save): Save desktop-saved-frame-states to desktop file
6052 and reset to nil.
6053 (desktop-restoring-frames-p): New function.
6054 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6055 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6056 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6057
728dc3cc
JB
6058 * desktop.el: Correctly restore iconified frames.
6059 (desktop--filter-iconified-position): New function.
6060 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6061
862f1c9c
GM
60622013-07-20 Glenn Morris <rgm@gnu.org>
6063
c4074c9f
GM
6064 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6065 Let `message' do the formatting.
6066 (def-gdb-preempt-display-buffer): Add explicit format.
6067
d828e5f9
GM
6068 * image-dired.el (image-dired-track-original-file):
6069 Use with-current-buffer.
6070 (image-dired-track-thumbnail): Use with-current-buffer.
6071 Avoid changing point of wrong window.
6072
862f1c9c
GM
6073 * image-dired.el (image-dired-track-original-file):
6074 Avoid changing point of wrong window. (Bug#14909)
6075
f0398ec1 60762013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6077
6078 * progmodes/gdb-mi.el (gdb-done-or-error):
6079 Guard against "%" in gdb output. (Bug#14127)
6080
1451928f
AS
60812013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6082
763a086d
JB
6083 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6084 (Bug#14826)
f7a03897 6085
1451928f
AS
6086 * international/mule.el (coding-system-iso-2022-flags): Fix last
6087 change.
6088
99107004
KH
60892013-07-20 Kenichi Handa <handa@gnu.org>
6090
763a086d
JB
6091 * international/mule.el (coding-system-iso-2022-flags):
6092 Add `8-bit-level-4'. (Bug#8522)
99107004 6093
48494e06
LMI
60942013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6095
8ba8eec5
LMI
6096 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6097 (bug#14815).
6098
dfbc66e3
LMI
6099 * net/eww.el (eww-process-text-input): Allow inputting when the
6100 point is at the start of the line, as the properties aren't
6101 front-sticky.
6102
48494e06
LMI
6103 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6104 degenerate widths.
6105
77c92cb9
RS
61062013-07-19 Richard Stallman <rms@gnu.org>
6107
aec7da77
RS
6108 * epa.el (epa-popup-info-window): Doc fix.
6109
77c92cb9
RS
6110 * subr.el (split-string): New arg TRIM.
6111
945c5bb1
JB
61122013-07-18 Juanma Barranquero <lekktu@gmail.com>
6113
6114 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6115 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6116
e06ec67f
MA
61172013-07-18 Michael Albinus <michael.albinus@gmx.de>
6118
c7064f05 6119 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6120 `file-notify-support'. Do not autoload. Adapt all uses.
6121 (file-notify-supported-p): New defun.
6122
c7064f05
JB
6123 * autorevert.el (auto-revert-use-notify):
6124 Use `file-notify-supported-p' instead of `file-notify-support'.
6125 Adapt docstring.
e06ec67f
MA
6126 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6127
6128 * net/tramp.el (tramp-file-name-for-operation):
6129 Add `file-notify-supported-p'.
6130
6131 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6132 New defun.
6133 (tramp-sh-file-name-handler-alist): Add it as handler for
6134 `file-notify-supported-p '.
6135
6136 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6137 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6138 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6139 Add `ignore' as handler for `file-notify-*' functions.
6140
5dc8a629
EZ
61412013-07-17 Eli Zaretskii <eliz@gnu.org>
6142
6143 * simple.el (line-move-partial, line-move): Don't start vscroll or
6144 scroll-up if the current line is not taller than the window.
6145 (Bug#14881)
6146
77aea2fb
DG
61472013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6148
6149 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6150 highlight question marks in the method names as strings.
ac72c08d
DG
6151 (ruby-block-beg-keywords): Inline.
6152 (ruby-font-lock-keyword-beg-re): Extract from
6153 `ruby-font-lock-keywords'.
77aea2fb 6154
18c26d81
JD
61552013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6156
6157 * frame.el (blink-cursor-blinks): New defcustom.
6158 (blink-cursor-blinks-done): New defvar.
6159 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6160 (blink-cursor-timer-function): Check if number of blinks has been
6161 done on X and NS.
6162 (blink-cursor-suspend, blink-cursor-check): New defuns.
6163
da48522e
GM
61642013-07-15 Glenn Morris <rgm@gnu.org>
6165
6166 * edmacro.el (edmacro-format-keys): Fix previous change.
6167
0463c1ef
PE
61682013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6169
6170 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6171 The hack didn't work outside English locales anyway.
6172
b43f6451
JB
61732013-07-15 Juanma Barranquero <lekktu@gmail.com>
6174
6175 * simple.el (define-alternatives): Rename from alternatives-define,
6176 per RMS' suggestion.
6177
b958c0ad
JB
61782013-07-14 Juanma Barranquero <lekktu@gmail.com>
6179
6180 * desktop.el (desktop-restore-frames): Change default to t.
6181 (desktop-restore-in-current-display): Now offer more options.
6182 (desktop-restoring-reuses-frames): New customization option.
6183 (desktop--saved-states): Doc fix.
6184 (desktop-filter-parameters-alist): New variable, renamed and expanded
6185 from desktop--excluded-frame-parameters.
6186 (desktop--target-display): New variable.
6187 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6188 (desktop--filter-tty*, desktop--filter-*-color)
6189 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6190 (desktop--filter-save-desktop-parm)
6191 (desktop-restore-in-original-display-p): New functions.
6192 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6193 (desktop--save-minibuffer-frames): New function, inspired by a similar
6194 function from Martin Rudalics.
6195 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6196 (desktop--restore-in-this-display-p): Remove.
6197 (desktop--find-frame): Rename from desktop--find-frame-in-display
6198 and add predicate argument.
6199 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6200 (desktop--reuse-list): New variable.
6201 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6202 New functions.
6203 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6204
f6dd8b36
MA
62052013-07-14 Michael Albinus <michael.albinus@gmx.de>
6206
6207 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6208
2ce3c565
DG
62092013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6210
763a086d
JB
6211 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6212 Highlight conversion methods on Kernel.
2ce3c565 6213
2cdb7698
AM
62142013-07-13 Alan Mackenzie <acm@muc.de>
6215
6216 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6217 and comment it out. This out-commenting enables certain C++
6218 declarations to be parsed correctly.
6219
1a67b811
EZ
62202013-07-13 Eli Zaretskii <eliz@gnu.org>
6221
1b796d6b
EZ
6222 * international/mule.el (define-coding-system): Doc fix.
6223
1a67b811
EZ
6224 * simple.el (default-font-height): Don't call font-info if the
6225 frame's default font didn't change since the frame was created.
6226 (Bug#14838)
6227
58fbe886
LL
62282013-07-13 Leo Liu <sdl.web@gmail.com>
6229
6230 * ido.el (ido-read-file-name): Guard against non-symbol value.
6231
1f0480d4
FEG
62322013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6233
6234 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6235 in nested defuns.
6236
97ead0e5
LL
62372013-07-13 Leo Liu <sdl.web@gmail.com>
6238
6239 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6240 ido-set-matches call. (Bug#6852)
6241
0880a952
DG
62422013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6243
6244 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6245 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6246 Ruby 2.0.
6247 (ruby-font-lock-keywords): Distinguish calls to functions with
6248 module-like names from module references. Highlight character
6249 literals.
6250
a7d8babb
SDJ
62512013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6252
6253 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6254 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6255
acfcc8c5
JB
62562013-07-12 Juanma Barranquero <lekktu@gmail.com>
6257
6258 * desktop.el (desktop--v2s): Remove unused local variable.
6259 (desktop-save-buffer): Make defvar-local; adjust docstring.
6260 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6261 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6262
051f2775
AS
62632013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6264
6265 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6266
f24e7572
GM
62672013-07-12 Eli Zaretskii <eliz@gnu.org>
6268
6269 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6270 (Bug#14842)
6271
539a920c
GM
62722013-07-12 Glenn Morris <rgm@gnu.org>
6273
6274 * doc-view.el: Require cl-lib at runtime too.
6275 (doc-view-remove-if): Remove.
6276 (doc-view-search-next-match, doc-view-search-previous-match):
6277 Use cl-remove-if.
6278
6279 * edmacro.el: Require cl-lib at runtime too.
6280 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6281 (edmacro-mismatch, edmacro-subseq): Remove.
6282
6283 * shadowfile.el: Require cl-lib.
6284 (shadow-remove-if): Remove.
6285 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6286 Use cl-remove-if.
6287
6288 * wid-edit.el: Require cl-lib.
6289 (widget-choose): Use cl-remove-if.
6290 (widget-remove-if): Remove.
6291
6292 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6293 (ebrowse-delete-if-not): Remove.
6294 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6295 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6296 Use cl-delete-if-not.
6297
1048af7c
JB
62982013-07-12 Juanma Barranquero <lekktu@gmail.com>
6299
6300 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6301 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6302
6c0674ee
LL
63032013-07-12 Leo Liu <sdl.web@gmail.com>
6304
6305 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6306
a19b3c2d
GM
63072013-07-11 Glenn Morris <rgm@gnu.org>
6308
4582a01c
GM
6309 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6310 (edebug-gensym-index, edebug-gensym):
6311 Remove reimplementation of cl-gensym.
6312 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6313
6314 * thumbs.el: Require cl-lib at run-time too.
6315 (thumbs-gensym-counter, thumbs-gensym):
6316 Remove reimplementation of cl-gensym.
6317 (thumbs-temp-file): Use cl-gensym.
6318
a19b3c2d
GM
6319 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6320 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6321 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6322 (ert--union, ert--gensym-counter, ert--gensym-counter)
6323 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6324 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6325 (ert-make-test-unbound, ert--expand-should-1)
6326 (ert--expand-should, ert--should-error-handle-error)
6327 (should-error, ert--explain-equal-rec)
6328 (ert--plist-difference-explanation, ert-select-tests)
6329 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6330 Use cl-lib functions rather than reimplementations.
6331
88f6a933
MA
63322013-07-11 Michael Albinus <michael.albinus@gmx.de>
6333
6334 * net/tramp.el (tramp-methods): Extend docstring.
6335 (tramp-connection-timeout): New defcustom.
6336 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6337 (with-tramp-progress-reporter): Simplify.
6338 (tramp-process-actions): Improve messages.
6339
6340 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6341 * net/tramp-sh.el (tramp-maybe-open-connection):
6342 Use `tramp-connection-timeout'.
6343 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6344 (Bug#14808)
6345
a43d577e
LL
63462013-07-11 Leo Liu <sdl.web@gmail.com>
6347
6348 * ido.el (ido-read-file-name): Conform to the requirements of
6349 read-file-name. (Bug#11861)
6350 (ido-read-directory-name): Conform to the requirements of
6351 read-directory-name.
6352
d77974bf
JB
63532013-07-11 Juanma Barranquero <lekktu@gmail.com>
6354
6355 * subr.el (delay-warning): New function.
6356
35cb8a3e
EZ
63572013-07-10 Eli Zaretskii <eliz@gnu.org>
6358
6359 * simple.el (default-line-height): New function.
6360 (line-move-partial, line-move): Use it instead of computing the
6361 line height inline.
6362 (line-move-partial): Always compute ROWH. If the last line is
6363 partially-visible, but its text is completely visible, allow
6364 cursor to enter such a partially-visible line.
6365
525c5c77
MA
63662013-07-10 Michael Albinus <michael.albinus@gmx.de>
6367
6368 Improve error messages. (Bug#14808)
6369
6370 * net/tramp.el (tramp-current-connection): New defvar, moved from
6371 tramp-sh.el.
0ac26976 6372 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6373 needed anymore.
0ac26976
SM
6374 (tramp-error-with-buffer): Show message in minibuffer.
6375 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6376 (with-tramp-progress-reporter): Improve messages.
6377 (tramp-process-actions): Use progress reporter. Delete process in
6378 case of error. Improve messages.
6379
763a086d
JB
6380 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6381 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6382 (tramp-current-connection): Remove.
525c5c77
MA
6383 (tramp-maybe-open-connection): The car of
6384 `tramp-current-connection' are the first 3 slots of the vector.
6385
c7a4d368
TZ
63862013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6387
6388 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6389 inside continued strings.
6390
954b166e
PE
63912013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6392
6393 Timestamp fixes for undo (Bug#14824).
6394 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6395
56973319
LL
63962013-07-10 Leo Liu <sdl.web@gmail.com>
6397
6398 * files.el (require-final-newline): Allow safe local value.
6399 (Bug#14834)
6400
5550a72c
LL
64012013-07-09 Leo Liu <sdl.web@gmail.com>
6402
6403 * ido.el (ido-read-directory-name): Handle fallback.
6404 (ido-read-file-name): Update DIR to ido-current-directory.
6405 (Bug#1516)
c28b9050 6406 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6407
70c46b28
DG
64082013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6409
6410 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6411 "autoload". Remove "warn lower camel case" section, previously
6412 commented out. Highlight negation char. Do not highlight the
6413 target in singleton method definitions.
6414
0b64b838
SM
64152013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6416
7fd72e2c
SM
6417 * faces.el (tty-setup-hook): Declare the hook.
6418
0b64b838
SM
6419 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6420 and detect when a guard/pred depends on local vars (bug#14773).
6421 (pcase--u1): Adjust caller.
6422
ab49d60b
EZ
64232013-07-08 Eli Zaretskii <eliz@gnu.org>
6424
6425 * simple.el (line-move-partial, line-move): Account for
6426 line-spacing.
701d79aa
EZ
6427 (line-move-partial): Avoid setting vscroll when the last
6428 partially-visible line in window is of default height.
ab49d60b 6429
2d756ae0
LMI
64302013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6431
6432 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6433 been used a while.
6434
ed095bd7
JB
64352013-07-07 Juanma Barranquero <lekktu@gmail.com>
6436
6437 * subr.el (read-quoted-char): Remove unused local variable `char'.
6438
f1e6674b
MK
64392013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6440
584ee3fc
GM
6441 * ediff.el (ediff-version): Version update.
6442 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6443 (ediff-merge-with-ancestor-command, ediff-directories-command)
6444 (ediff-directories3-command, ediff-merge-directories-command)
6445 (ediff-merge-directories-with-ancestor-command): New functions.
6446 All are command-line interfaces to ediff: to facilitate calling
6447 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6448
6449 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6450 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6451
584ee3fc
GM
6452 * viper.el (viper-version): Version update.
6453 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6454
584ee3fc
GM
64552013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6458 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6459 (viper-intercept-ESC-key): Simplify.
6460 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6461 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6462 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6463 (viper-setup-ESC-to-escape): New functions.
6464 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6465 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6466
9aff9b38
EZ
64672013-07-07 Eli Zaretskii <eliz@gnu.org>
6468
5165d44a
JB
6469 * simple.el (default-font-height, window-screen-lines):
6470 New functions.
9aff9b38
EZ
6471 (line-move, line-move-partial): Use them instead of
6472 frame-char-height and window-text-height. This makes scrolling
6473 text smoother when the buffer's default face uses a font that is
6474 different from the frame's default font.
6475
1afb1d07
JD
64762013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6477
6478 * files.el (write-file): Do not display confirm dialog for NS,
6479 it does its own dialog, which can't be cancelled (Bug#14578).
6480
23de972a
EZ
64812013-07-06 Eli Zaretskii <eliz@gnu.org>
6482
6483 * simple.el (line-move-partial): Adjust the row returned by
6484 posn-at-point for the current window-vscroll. (Bug#14567)
6485
54a42486
MA
64862013-07-06 Michael Albinus <michael.albinus@gmx.de>
6487
6488 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6489 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6490 spaces.
6491
34ada5f4
MR
64922013-07-06 Martin Rudalics <rudalics@gmx.at>
6493
6494 * window.el (window-state-put-stale-windows): New variable.
6495 (window--state-put-2): Save list of windows without matching buffer.
6496 (window-state-put): Remove "bufferless" windows if possible.
6497
11e03d89
JB
64982013-07-06 Juanma Barranquero <lekktu@gmail.com>
6499
6500 * simple.el (alternatives-define): Remove leftover :group keyword.
6501 Tweak docstring.
6502
3504a4be
LL
65032013-07-06 Leo Liu <sdl.web@gmail.com>
6504
6505 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6506 (ido-enable-virtual-buffers): New variable.
6507 (ido-buffer-internal, ido-toggle-virtual-buffers)
6508 (ido-make-buffer-list): Use it.
6509 (ido-exhibit): Support turning on and off virtual buffers
6510 automatically.
6511
61e56e2c
JB
65122013-07-06 Juanma Barranquero <lekktu@gmail.com>
6513
6514 * simple.el (alternatives-define): New macro.
6515
321e1a9c
SM
65162013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6517
6518 * subr.el (read-quoted-char): Use read-key.
6519 (sit-for): Let read-event decode tty input (bug#14782).
6520
d610f6dd
SB
65212013-07-05 Stephen Berman <stephen.berman@gmx.net>
6522
6523 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6524 mode command and externally. Fix various related bugs.
6525 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6526 (todo-delete-file): New command.
6527 (todo-check-file): New function.
6528 (todo-show): Handle external deletion of the file we're trying to
6529 show (bug#14688). Replace called-interactively-p by an optional
6530 prefix argument to avoid problematic interaction with catch form
6531 when byte compiled (bug#14702).
6532 (todo-quit): Handle external deletion of the archive's todo file.
6533 Make sure the buffer that was visiting the archive file is still
6534 live before trying to bury it.
6535 (todo-category-completions): Handle external deletion of any
6536 category completion files.
6537 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6538 of todo files, in case of external deletion.
6539 (todo-add-file): Replace unnecessary setq by let-binding.
6540 (todo-find-archive): Check whether there are any archives.
6541 Replace unnecessary setq by let-binding.
6542 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6543 archive buffer whether or not the archive already exists.
6544 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6545 check if the archive is new; if it is, update list of archives.
6546 (todo-default-todo-file): Allow nil to be a valid value for when
6547 there are no todo files.
6548 (todo-reevaluate-default-file-defcustom): Use corrected definition
6549 of todo-default-todo-file.
6550 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6551 (todo-delete-category, todo-show-categories-table)
6552 (todo-category-number): Clarify comment.
6553 (todo-filter-items): Clarify documentation string.
6554 (todo-show-current-file, todo-display-as-todo-file)
6555 (todo-reset-and-enable-done-separator): Tweak documentation string.
6556 (todo-done-separator): Make separator length window-width, since
6557 bug#2749 is now fixed.
6558
ddbdfd6f
MA
65592013-07-05 Michael Albinus <michael.albinus@gmx.de>
6560
321e1a9c
SM
6561 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6562 Support both "gvfs-monitor-dir" and "inotifywait".
6563 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6564 `tramp-sh-file-notify-process-filter'.
6565 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6566 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6567
96eb829a
LL
65682013-07-05 Leo Liu <sdl.web@gmail.com>
6569
6570 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6571
cf13177e
YM
65722013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6573
6574 * frame.el (display-pixel-height, display-pixel-width)
6575 (display-mm-height, display-mm-width): Mention behavior on
6576 multi-monitor setups in docstrings.
6577 (w32-display-monitor-attributes-list): Declare function.
6578 (display-monitor-attributes-list): Use it.
6579
864c58ca
MA
65802013-07-04 Michael Albinus <michael.albinus@gmx.de>
6581
6582 * filenotify.el: New package.
6583
6584 * autorevert.el (top): Require filenotify.el.
6585 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6586 instead.
6587 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6588 (auto-revert-notify-handler): Use `file-notify-*' functions.
6589
6590 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6591
321e1a9c
SM
6592 * net/tramp.el (tramp-file-name-for-operation):
6593 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6594
6595 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6596 for `file-notify-add-watch' and `file-notify-rm-watch'.
6597 (tramp-process-sentinel): Improve trace.
6598 (tramp-sh-handle-file-notify-add-watch)
6599 (tramp-sh-file-notify-process-filter)
6600 (tramp-sh-handle-file-notify-rm-watch)
6601 (tramp-get-remote-inotifywait): New defuns.
6602
96673afe
JL
66032013-07-03 Juri Linkov <juri@jurta.org>
6604
6605 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6606 call of `occur-read-primary-args' to interactive spec.
6607
6608 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6609 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6610
924494f4
MM
66112013-07-03 Matthias Meulien <orontee@gmail.com>
6612
6613 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6614 `Buffer-menu-multi-occur'. Add it to the menu.
6615 (Buffer-menu-mode): Document it in docstring.
6616 (Buffer-menu-multi-occur): New command. (Bug#14673)
6617
56f75efc
DG
66182013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6619
6620 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6621 keywords and built-ins.
6622
9b057d61
GM
66232013-07-03 Glenn Morris <rgm@gnu.org>
6624
208dee4d
GM
6625 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6626
9b057d61
GM
6627 Make info-xref checks case-sensitive by default
6628 * info.el (Info-find-node, Info-find-in-tag-table)
6629 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6630 Add option for exact case matching of nodes.
6631 * info-xref.el (info-xref): New custom group.
6632 (info-xref-case-fold): New option.
6633 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6634
e01aa29c
LL
66352013-07-03 Leo Liu <sdl.web@gmail.com>
6636
6637 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6638
3086ca2e
DG
66392013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6640
6641 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6642 middle of block statement initially, lower the depth. Remove
6643 FIXME comment, not longer valid. Remove middle of block statement
6644 detection, no need to do that anymore since we've been using
6645 `ruby-parse-region' here.
6646
a3b49114
JD
66472013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6648
6649 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6650
08e5c823 66512013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6652
6653 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6654
2addf922
JB
66552013-07-01 Juanma Barranquero <lekktu@gmail.com>
6656
6657 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6658 (desktop-restore-in-current-display): New customization option.
6659 (desktop--excluded-frame-parameters): Add `font'.
6660 (desktop--save-frames): Rename from desktop--save-windows.
6661 (desktop--restore-in-this-display-p): New function.
6662 (desktop--make-full-frame): Remove unwanted width/height from
6663 full(width|height) frames.
6664 (desktop--restore-frames): Rename from desktop--restore-windows.
6665 Obey desktop-restore-current-display. Do not delete old frames or
6666 select a new frame unless we were able to restore at least one frame.
6667
ef099a94
MN
66682013-06-30 Michal Nazarewicz <mina86@mina86.com>
6669
6670 * files.el (find-file-noselect): Simplify conditional expression.
6671
6672 * remember.el (remember-append-to-file):
6673 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6674
6675 Add `remember-notes' function to store random notes across Emacs
6676 restarts.
6677 * remember.el (remember-data-file): Add :set callback to affect
6678 notes buffer (if any).
6679 (remember-notes): New command.
6680 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6681 New defcustoms for the `remember-notes' function.
6682 (remember-notes-save-and-bury-buffer): New command.
6683 (remember-notes-mode-map): New variable.
6684 (remember-mode): New minor mode.
6685 (remember-notes--kill-buffer-query): New function.
6686 * startup.el (initial-buffer-choice): Add notes to custom type.
6687
0865d506
EZ
66882013-06-30 Eli Zaretskii <eliz@gnu.org>
6689
0ba54312
EZ
6690 * bindings.el (right-char, left-char): Don't call sit-for, this is
6691 no longer needed. Use arithmetic comparison only for numerical
6692 arguments.
6693
ef099a94
MN
6694 * international/mule-cmds.el (select-safe-coding-system):
6695 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6696
2fae38e5
LMI
66972013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6698
6699 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6700 progression on degenerate tables.
ef099a94 6701 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6702
a47cbd64
JB
67032013-06-30 Juanma Barranquero <lekktu@gmail.com>
6704
6705 Some fixes and improvements for desktop frame restoration.
6706 It is still experimental and disabled by default.
6707 * desktop.el (desktop--save-windows): Put the selected frame at
6708 the head of the list.
6709 (desktop--make-full-frame): New function.
6710 (desktop--restore-windows): Try to re-select the frame that was
6711 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6712 just show an error message and continue. Set up maximized frames
6713 so they have default non-maximized dimensions.
a47cbd64 6714
6dbafa30
DG
67152013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6716
ef099a94
MN
6717 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6718 Don't start heredoc inside a string or comment.
6dbafa30 6719
4c672a0f
EZ
67202013-06-29 Eli Zaretskii <eliz@gnu.org>
6721
6722 * bindings.el (visual-order-cursor-movement): New defcustom.
6723 (right-char, left-char): Provide visual-order cursor motion by
6724 calling move-point-visually. Update the doc strings.
6725
50960f36
KH
67262013-06-28 Kenichi Handa <handa@gnu.org>
6727
6728 * international/mule.el (define-coding-system): New coding system
6729 properties :inhibit-null-byte-detection,
6730 :inhibit-iso-escape-detection, and :prefer-utf-8.
6731 (set-buffer-file-coding-system): If :charset-list property of
6732 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6733 appropriate for setting.
6734
c1ea3abf
JB
6735 * international/mule-cmds.el (select-safe-coding-system):
6736 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6737 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6738
6739 * international/mule-conf.el (prefer-utf-8): New coding system.
6740 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6741 files.
6742
75dbaf9d
IK
67432013-06-28 Ivan Kanis <ivan@kanis.fr>
6744
eadb6068
IK
6745 * net/shr.el (shr-render-region): New function.
6746
75dbaf9d
IK
6747 * net/eww.el: Autoload `eww-browse-url'.
6748
9ea5cf9f
DG
67492013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6750
c1ea3abf
JB
6751 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6752 Adapt to `package-desc-version' being a list.
6753 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6754 archive element.
6755
39c0e36f
JB
67562013-06-27 Juanma Barranquero <lekktu@gmail.com>
6757
6758 New experimental feature to save&restore window and frame setup.
6759 * desktop.el (desktop-save-windows): New defcustom.
6760 (desktop--saved-states): New var.
6761 (desktop--excluded-frame-parameters): New defconst.
6762 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6763 (desktop--restore-windows, desktop--save-windows): New functions.
6764 (desktop-save): Call `desktop--save-windows'.
6765 (desktop-read): Call `desktop--restore-windows'.
6766
7f13406b
LMI
67672013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6768
ef099a94 6769 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6770
1e072639
SB
67712013-06-27 Stephen Berman <stephen.berman@gmx.net>
6772
6773 * info.el (Info-try-follow-nearest-node): Move search for footnote
6774 above search for node name to prevent missing a footnote (bug#14717).
6775
f3e2cbde
SB
67762013-06-27 Stephen Berman <stephen.berman@gmx.net>
6777
6778 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6779
99906aa0
LL
67802013-06-27 Leo Liu <sdl.web@gmail.com>
6781
6782 * net/eww.el (eww-read-bookmarks): Check file size.
6783
539f75f4
SM
67842013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6785
6786 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6787 advice--pending if newdef is nil or an autoload (bug#13820).
6788 (advice-mapc): New function.
6789
843571cb
LMI
67902013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6791
6792 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6793 probably.
23a75d7f 6794 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6795 (eww-add-bookmark): New command.
6796 (eww-bookmark-mode): New mode and commands.
a285ce99 6797 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6798 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6799
f2136e1e
GM
68002013-06-26 Glenn Morris <rgm@gnu.org>
6801
eab35f39
GM
6802 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6803 (hfy-size): Handle ttys. (Bug#14668)
6804
f2136e1e
GM
6805 * info-xref.el: Update for Texinfo 5 change in *note format.
6806 (info-xref-node-re, info-xref-note-re): New constants.
6807 (info-xref-check-buffer): Use info-xref-note-re.
6808
a49ff80c
SM
68092013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6810
a343d218
SM
6811 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6812
a49ff80c
SM
6813 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6814 nil terminate the loop (bug#14718).
6815
8308f184
LMI
68162013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6817
6818 * net/eww.el: Rework history traversal. When going forward/back,
6819 put these actions into the history, too, so that they can be
6820 replayed.
26bf2b82 6821 (eww-render): Move the history reset to the correct buffer.
8308f184 6822
ec64c273
JL
68232013-06-25 Juri Linkov <juri@jurta.org>
6824
6825 * files-x.el (modify-dir-local-variable): Change the header comment
6826 in the file with directory local variables. (Bug#14692)
6827
e080a9d7
JL
6828 * files-x.el (read-file-local-variable-value): Add `default'.
6829 (Bug#14710)
6830
bfbc93a1
IK
68312013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6832
6833 * net/eww.el (eww-make-unique-file-name): Create a unique file
6834 name before saving to entering `y' accidentally asynchronously.
6835
68362013-06-25 Ivan Kanis <ivan@kanis.fr>
6837
6838 * net/eww.el (eww-download): New command and keystroke.
6839
16f74f10
LMI
68402013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6841
a49ff80c 6842 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6843
6844 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6845 be more consistent with Info and dired.
6846
6847 * net/eww.el (eww-mode-map): Ditto.
6848
12059709
SM
68492013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6850
6851 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6852 packages from archives.
6853 (package-archive-contents): Change format; include obsolete packages.
6854 (package-desc): Use `dir' to mark builtin packages.
6855 (package--from-builtin): Set the `dir' field to `builtin'.
6856 (generated-autoload-file, version-control): Declare.
6857 (package-compute-transaction): Change first arg and return value to be
6858 lists of package-descs. Adjust to new package-archive-contents format.
6859 (package--add-to-archive-contents): Adjust to new
6860 package-archive-contents format.
6861 (package-download-transaction): Arg is now a list of package-descs.
6862 (package-install): If `pkg' is a package name, pass it as
6863 a requirement, so it is subject to the usual (e.g. disabled) checks.
6864 (describe-package): Accept package-desc as well.
6865 (describe-package-1): Describe a specific package-desc. Add links to
6866 other package-descs for the same package name.
6867 (package-menu-describe-package): Pass the actual package-desc.
6868 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6869 works correctly.
6870 (package-desc-status): New function.
6871 (package-menu--refresh): New function, extracted
6872 from package-menu--generate.
6873 (package-menu--generate): Use it.
6874 (package-delete): Update package-alist.
6875 (package-menu-execute): Don't call package-initialize.
6876
6877 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6878 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6879 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6880 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6881 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6882 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6883
8bbdea0f
MR
68842013-06-25 Martin Rudalics <rudalics@gmx.at>
6885
6886 * window.el (window--state-get-1): Workaround for bug#14527.
6887 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6888
e82b0991
LMI
68892013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6890
6891 * net/eww.el (eww-back-url): Implement the history by stashing all
6892 the data into a list.
d3f0f918 6893 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6894
c763842b
SM
68952013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6898 for values and use read--expression for expressions (bug#14710).
6899 (read-file-local-variable): Avoid setq.
6900 (read-file-local-variable-mode): Use minor-mode-list.
6901
bceff189
RW
69022013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6903
864c58ca 6904 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6905 for DOI URLs.
6906
45f431c6
RW
69072013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6908
864c58ca 6909 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6910 Update imenu-support when dialect changes.
6911
f42d8237
LL
69122013-06-25 Leo Liu <sdl.web@gmail.com>
6913
6914 * ido.el (ido-read-internal): Allow forward slash on windows.
6915
be549ce6
LMI
69162013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6917
6918 * net/eww.el (eww): Start of strings is \\`, not ^.
6919
71d4c19d
IK
69202013-06-24 Ivan Kanis <ivan@kanis.fr>
6921
5196f88a
IK
6922 * net/shr.el (shr-browse-url): Fix interactive spec.
6923
71d4c19d
IK
6924 * net/eww.el (eww): Add a trailing slash to domain names.
6925
ae36ca55
JB
69262013-06-24 Juanma Barranquero <lekktu@gmail.com>
6927
6928 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6929
0ebd92a3
LMI
69302013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6931
bdaa086b
LMI
6932 * net/shr.el (shr-browse-url): Use an external browser if given a
6933 prefix.
6934
c763842b 6935 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6936
b89fc156
IK
69372013-06-24 Ivan Kanis <ivan@kanis.fr>
6938
6939 * net/eww.el (eww): Work more correctly for file: URLs.
6940 (eww-detect-charset): Allow quoted charsets.
6941 (eww-yank-page-url): New command and keystroke.
6942
18eb4bca
DU
69432013-06-24 Daiki Ueno <ueno@gnu.org>
6944
6945 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6946 file name of gpg executable.
6947 (epg-context-program): New function.
6948 (epg-context-home-directory): New function.
6949 (epg-context-set-program): New function.
6950 (epg-context-set-home-directory): New function.
6951 (epg--start): Use `epg-context-program' instead of
6952 'epg-gpg-program'.
6953 (epg--list-keys-1): Likewise.
6954
6c6268c8
LL
69552013-06-24 Leo Liu <sdl.web@gmail.com>
6956
6957 * ido.el (ido-read-internal): Fix bug#14620.
6958
5e400cb3
JB
69592013-06-23 Juanma Barranquero <lekktu@gmail.com>
6960
6961 * faces.el (face-documentation): Simplify.
6962 (read-face-attribute, tty-find-type, x-resolve-font-name):
6963 Use `string-match-p'.
6964 (list-faces-display): Use `string-match-p'. Simplify.
6965 (face-spec-recalc): Check face to avoid face alias loops.
6966 (read-color): Use `string-match-p' and non-capturing parenthesis.
6967
f3f9606c
LMI
69682013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6969
6970 * net/shr.el (shr-rescale-image): Use the new
6971 :max-width/:max-height functionality.
6972
a3ca09b9
IK
69732013-06-23 Ivan Kanis <ivan@kanis.fr>
6974
6975 * net/eww.el (eww-search-prefix): New variable.
6976 (eww): Use it.
f865b474
IK
6977 (eww-external-browser): New variable.
6978 (eww-mode-map): New keystroke.
6979 (eww-browse-with-external-browser): New command.
a3ca09b9 6980
e854cfc7
IK
6981 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6982
18bb9e21
JB
69832013-06-23 Juanma Barranquero <lekktu@gmail.com>
6984
6985 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6986 Don't skip aligning the next header field when padding is 0;
6987 otherwise, field width is not respected unless the title is as
6988 wide as the field.
6989
5b165ade
SM
69902013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * emacs-lisp/package.el (package-el-version): Remove.
6993 (package-process-define-package): Fix inf-loop.
6994 (package-install): Allow symbols as arguments again.
6995
12adebe9
DG
69962013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6997
6998 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6999 add some more keyword-like methods.
7000 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7001
388573ee
JB
70022013-06-22 Juanma Barranquero <lekktu@gmail.com>
7003
7004 * bs.el (bs-buffer-show-mark): Make defvar-local.
7005 (bs-mode): Use setq-local.
7006
7007 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7008 (emacs-lock--try-unlocking): Make defvar-local.
7009
4582a01c 70102013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7011
2663dd23
GM
7012 * play/cookie1.el (cookie-apropos): Minor simplification.
7013
3d94f3ad
GM
7014 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7015
f72e2fdb
DG
70162013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7017
7018 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7019 `regexp-opt', it breaks the build during dumping.
7020
73eab938
DG
70212013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7022
c763842b
SM
7023 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7024 Highlight keyword-like methods on Kernel and Module with
73eab938 7025 font-lock-builtin-face.
5cf8176d
DG
7026 (auto-mode-alist): Consolidate different entries into one regexp
7027 and add more *file-s.
73eab938 7028
d26255f6
SB
70292013-06-21 Stephen Berman <stephen.berman@gmx.net>
7030
7031 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7032
7033 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7034 (diary-entry): Use it in the action of this button type instead of
7035 diary-goto-entry.
7036
7037 * calendar/todo-mode.el: New version.
7038 (todo-add-category): Append new category to end of file and give
7039 it the highest number, instead of putting it at the beginning and
7040 giving it 0. Incorporate noninteractive functionality.
7041 (todo-forward-category): Adapt to 1-based category numbering.
7042 Allow skipping over archived categories.
7043 (todo-backward-category): Derive from todo-forward-category.
7044 (todo-backward-item, todo-forward-item): Make noninteractive and
7045 delegate interactive part to new commands. Make sensitive to done items.
7046 (todo-categories): Make value an alist of category names and
7047 vectors of item counts.
7048 (todo-category-beg): Make a defconst.
7049 (todo-category-number): Use 1 instead of 0 as initial value.
7050 (todo-category-select): Make sensitive to overlays, optional item
7051 highlighting and done items.
7052 (todo-delete-item): Make sensitive to overlays and marked and done items.
7053 (todo-edit-item): Make sensitive to overlays and editing of
7054 date/time header optional. Add format checks.
7055 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7056 no-op if point is not on an item. Advertise using todo-edit-quit.
7057 (todo-edit-mode): Make sensitive to new format, font-locking, and
7058 multiple todo files.
7059 (todo-insert-item, todo-insert-item-here): Derive from
7060 todo-basic-insert-item and extend functionality.
7061 (todo-item-end, todo-item-start): Make sensitive to done items.
7062 (todo-item-string): Don't return text properties. Restore point.
7063 (todo-jump-to-category): Make sensitive to multiple todo files and
7064 todo archives. Use extended category completion.
7065 (todo-lower-item, todo-raise-item): Rename to *-priority and
7066 derive from todo-set-item-priority.
7067 (todo-mode): Derive from special-mode. Make sensitive to new
7068 format, font-locking and multiple todo files. Make read-only.
7069 (todo-mode-map): Don't suppress digit keys, so they can supply
7070 prefix arguments. Add many new key bindings.
7071 (todo-prefix): Insert as an overlay instead of file text.
7072 Change semantics from diary date expression to purely visual mark.
7073 (todo-print): Rename to todo-print-buffer. Make buffer display
7074 features printable. Remove option to restrict number of items
7075 printed. Add option to print to file.
7076 (todo-print-function): Rename to todo-print-buffer-function.
7077 (todo-quit): Extend to handle exiting new todo modes.
7078 (todo-remove-item): Make sensitive to overlays.
7079 (todo-save): Extend to buffers of filtered items.
7080 (todo-show): Make sensitive to done items, multiple todo files and
7081 new todo modes. Offer to convert legacy todo file before creating
7082 first new todo file.
7083 (todo-show-priorities): Rename to todo-top-priorities.
7084 Change semantics of value 0.
7085 (todo-top-priorities): Rename to todo-filter-top-priorities,
7086 derive from todo-filter-items and extend functionality.
7087 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7088 and extend functionality to other types of filtered items.
7089 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7090 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7091 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7092 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7093 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7094 (todo-edit-mode-hook, todo-entry-prefix-function)
7095 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7096 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7097 (todo-initials, todo-insert-threshold, todo-item-string-start)
7098 (todo-line-string, todo-menu, todo-mode-hook)
7099 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7100 (todo-print-priorities, todo-remove-separator)
7101 (todo-save-top-priorities-too, todo-string-count-lines)
7102 (todo-string-multiline-p, todo-time-string-format)
7103 (todo-tmp-buffer-name): Remove.
7104 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7105 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7106 (todo-edit-category-diary-inclusion)
7107 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7108 (todo-edit-file, todo-edit-item-date-day)
7109 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7110 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7111 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7112 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7113 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7114 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7115 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7116 (todo-filter-top-priorities-multifile, todo-find-archive)
7117 (todo-find-filtered-items-file, todo-go-to-source-item)
7118 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7119 (todo-jump-to-archive-category, todo-lower-category)
7120 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7121 (todo-move-category, todo-move-item, todo-next-button)
7122 (todo-next-item, todo-padded-string, todo-powerset)
7123 (todo-previous-button, todo-previous-item)
7124 (todo-print-buffer-to-file, todo-raise-category)
7125 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7126 (todo-set-category-number, todo-set-item-priority)
7127 (todo-set-top-priorities-in-category)
7128 (todo-set-top-priorities-in-file, todo-show-categories-table)
7129 (todo-sort-categories-alphabetically-or-numerically)
7130 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7131 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7132 (todo-toggle-item-header, todo-toggle-item-highlighting)
7133 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7134 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7135 (todo-unarchive-items, todo-unmark-category): New commands.
7136 (todo-absolute-file-name, todo-add-to-buffer-list)
7137 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7138 (todo-basic-insert-item, todo-category-completions)
7139 (todo-category-number, todo-category-string-matcher-1)
7140 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7141 (todo-check-format, todo-clear-matches)
7142 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7143 (todo-current-category, todo-date-string-matcher)
7144 (todo-define-insertion-command, todo-diary-expired-matcher)
7145 (todo-diary-goto-entry, todo-diary-item-p)
7146 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7147 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7148 (todo-done-item-section-p, todo-done-separator)
7149 (todo-done-string-matcher, todo-files, todo-filter-items)
7150 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7151 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7152 (todo-insert-category-line, todo-insert-item-from-calendar)
7153 (todo-insert-sort-button, todo-insert-with-overlays)
7154 (todo-insertion-command-name, todo-insertion-key-bindings)
7155 (todo-label-to-key, todo-longest-category-name-length)
7156 (todo-make-categories-list, todo-mode-external-set)
7157 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7158 (todo-modes-set-3, todo-multiple-filter-files)
7159 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7160 (todo-read-category, todo-read-date, todo-read-dayname)
7161 (todo-read-file-name, todo-read-time)
7162 (todo-reevaluate-category-completions-files-defcustom)
7163 (todo-reevaluate-default-file-defcustom)
7164 (todo-reevaluate-filelist-defcustoms)
7165 (todo-reevaluate-filter-files-defcustom)
7166 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7167 (todo-reset-done-separator, todo-reset-done-separator-string)
7168 (todo-reset-done-string, todo-reset-global-current-todo-file)
7169 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7170 (todo-reset-prefix, todo-set-categories)
7171 (todo-set-date-from-calendar, todo-set-show-current-file)
7172 (todo-set-top-priorities, todo-short-file-name)
7173 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7174 (todo-total-item-counts, todo-update-buffer-list)
7175 (todo-update-categories-display, todo-update-categories-sexp)
7176 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7177 New functions.
7178 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7179 New major modes.
7180 (todo-categories, todo-display, todo-edit, todo-faces)
7181 (todo-filtered): New defgroups.
7182 (todo-archived-only, todo-button, todo-category-string, todo-date)
7183 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7184 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7185 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7186 (todo-add-item-if-new-category, todo-always-add-time-string)
7187 (todo-categories-align, todo-categories-archived-label)
7188 (todo-categories-category-label, todo-categories-diary-label)
7189 (todo-categories-done-label, todo-categories-number-separator)
7190 (todo-categories-todo-label, todo-categories-totals-label)
7191 (todo-category-completions-files, todo-completion-ignore-case)
7192 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7193 (todo-done-separator-string, todo-done-string)
7194 (todo-files-function, todo-filter-done-items, todo-filter-files)
7195 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7196 (todo-initial-category, todo-initial-file, todo-item-mark)
7197 (todo-legacy-date-time-regexp, todo-mode-line-function)
7198 (todo-nondiary-marker, todo-number-prefix)
7199 (todo-print-buffer-function, todo-show-current-file)
7200 (todo-show-done-only, todo-show-first, todo-show-with-done)
7201 (todo-skip-archived-categories, todo-top-priorities-overrides)
7202 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7203 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7204 New defcustoms.
7205 (todo-category-done, todo-date-pattern, todo-date-string-start)
7206 (todo-diary-items-buffer, todo-done-string-start)
7207 (todo-filtered-items-buffer, todo-item-start)
7208 (todo-month-abbrev-array, todo-month-name-array)
7209 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7210 (todo-top-priorities-buffer): New defconsts.
7211 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7212 (todo-categories-with-marks, todo-category-string-face)
7213 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7214 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7215 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7216 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7217 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7218 (todo-font-lock-keywords, todo-global-current-todo-file)
7219 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7220 (todo-insertion-commands-args)
7221 (todo-insertion-commands-args-genlist)
7222 (todo-insertion-commands-names, todo-insertion-map)
7223 (todo-key-bindings-t, todo-key-bindings-t+a)
7224 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7225 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7226 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7227 (todo-visited): New variables.
7228
cad5d1cb
GM
72292013-06-21 Glenn Morris <rgm@gnu.org>
7230
7231 * play/cookie1.el (cookie-apropos): Add optional display argument.
7232 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7233 (psychoanalyze-pinhead): Use cookie-doctor.
7234
9e277302
JB
72352013-06-21 Juanma Barranquero <lekktu@gmail.com>
7236
7237 * emacs-lisp/package.el (tar-get-file-descriptor)
7238 (tar--extract): Declare.
7239
c5b0993e
EW
72402013-06-21 Eduard Wiebe <usenet@pusto.de>
7241
7242 Extend flymake's warning predicate to be a function (bug#14217).
7243 * progmodes/flymake.el (flymake-warning-predicate): New.
7244 (flymake-parse-line): Use it.
7245 (flymake-warning-re): Make obsolete alias to
7246 `flymake-warning-predicate'.
7247
a7d2d465
SM
72482013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7251 (package-obsolete-list): Remove.
7252 (package-activate): Remove min-version argument. Add `force' argument.
7253 Adjust to new package-alist format.
7254 (package-mark-obsolete): Remove.
7255 (package-unpack): Force reload of the package's autoloads.
7256 (package-installed-p): Check builtins if the installed package is not
7257 recent enough.
7258 (package-initialize): Don't reset package-obsolete-list.
7259 Don't specify which package version to activate.
7260 (package-process-define-package, describe-package-1)
7261 (package-menu--generate): Adjust to new package-alist format.
7262
cedf5c9d
JB
72632013-06-21 Juanma Barranquero <lekktu@gmail.com>
7264
7265 * allout-widgets.el (allout-widgets-mode-off)
7266 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7267 (allout-widgets-post-command-business)
7268 (allout-widgets-after-copy-or-kill-function)
7269 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7270 (allout-decorate-item-and-context)
7271 (allout-graphics-modification-handler): Fix typos in docstrings.
7272 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7273
7274 * cmuscheme.el (scheme-start-file): Doc fix.
7275 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7276 (scheme-input-filter): Use `string-match-p'.
7277
7278 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7279
7280 * dired-x.el: Use Dired consistently in docstrings.
7281
7282 * dired.el: Use Dired consistently in docstrings.
7283 (dired-readin, dired-mode): Use `setq-local'.
7284 (dired-switches-alist): Make defvar-local.
7285 (dired-buffers-for-dir): Use `zerop'.
7286 (dired-safe-switches-p, dired-switches-escape-p)
7287 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7288 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7289 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7290 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7291 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7292 (dired-toggle-marks, dired-mark-files-containing-regexp)
7293 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7294 (dired-flag-auto-save-files, dired-flag-backup-files):
7295 Use `looking-at-p'.
7296 (dired-mark-files-regexp, dired-build-subdir-alist):
7297 Use `string-match-p', `looking-at-p'.
7298
7299 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7300 (direct-print-region-helper): Use `string-match-p'.
7301
aed838b5
LL
73022013-06-21 Leo Liu <sdl.web@gmail.com>
7303
cedf5c9d
JB
7304 * comint.el (comint-redirect-results-list-from-process):
7305 Fix infinite loop.
aed838b5 7306
d80a808f
LMI
73072013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7308
7309 * net/eww.el (eww-update-header-line-format): Quote % characters.
7310
e7a526e3
GM
73112013-06-21 Glenn Morris <rgm@gnu.org>
7312
7313 * play/cookie1.el (cookie): New custom group.
7314 (cookie-file): New option.
7315 (cookie-check-file): New function.
7316 (cookie): Make it interactive. Make start and end messages optional.
7317 Interactively, display the result. Default to cookie-file.
7318 (cookie-insert): Default to cookie-file.
7319 (cookie-snarf): Make start and end messages optional.
7320 Default to cookie-file. Use with-temp-buffer.
7321 (cookie-read): Rename from read-cookie.
7322 Make start and end messages optional. Default to cookie-file.
7323 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7324 Do not autoload it.
e7a526e3
GM
7325 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7326 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7327
62efb35e
LL
73282013-06-21 Leo Liu <sdl.web@gmail.com>
7329
7330 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7331
21e3f963
GM
73322013-06-21 Glenn Morris <rgm@gnu.org>
7333
7334 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7335
fd846ab4
SM
73362013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7337 Daniel Hackney <dan@haxney.org>
7338
7339 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7340 Consolidate the single-file vs tarball code.
7341 (package-desc-suffix): New function.
7342 (package-desc-full-name): Don't bother inlining it.
7343 (package-load-descriptor): Return the new package-desc.
7344 (package-mark-obsolete): Remove unused arg `package'.
7345 (package-unpack): Make it work for single files as well.
7346 Make it update package-alist.
7347 (package--make-autoloads-and-stuff): Rename from
7348 package--make-autoloads-and-compile. Don't compile any more.
7349 (package--compile): New function.
7350 (package-generate-description-file): New function, extracted from
7351 package-unpack-single.
7352 (package-unpack-single): Remove.
7353 (package--with-work-buffer): Add indentation and debugging info.
7354 (package-download-single): Remove.
7355 (package-install-from-archive): Rename from package-download-tar, make
7356 it take a pkg-desc, and make it work for single files as well.
7357 (package-download-transaction): Simplify.
7358 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7359 external tar program.
7360 (package-install-from-buffer): Remove `pkg-desc' argument.
7361 Use package-tar-file-info for tar-mode buffers.
7362 (package-install-file): Simplify accordingly.
7363 (package-archive-base): Change to take a pkg-desc.
7364 * tar-mode.el (tar--check-descriptor): New function, extracted from
7365 tar-get-descriptor.
7366 (tar-get-descriptor): Use it.
7367 (tar-get-file-descriptor): New function.
7368 (tar--extract): New function, extracted from tar-extract.
7369 (tar--extract): Use it.
7370 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7371 case the summary uses non-ascii. Adjust to new calling convention of
7372 package-tar-file-info.
7373
b7deae5e
LL
73742013-06-21 Leo Liu <sdl.web@gmail.com>
7375
fd846ab4
SM
7376 * comint.el (comint-redirect-results-list-from-process):
7377 Fix random delay. (Bug#14681)
b7deae5e 7378
7a65a0b2
JB
73792013-06-21 Juanma Barranquero <lekktu@gmail.com>
7380
7381 * profiler.el (profiler-format-number): Use log, not log10.
7382
1493c2af
JB
73832013-06-20 Juanma Barranquero <lekktu@gmail.com>
7384
7385 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7386
aff6371e
SM
73872013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7390 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7391 yet available.
7392 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7393 (AUTOGENEL): ... here.
7394 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7395 (cl--defsubst-expand): Use it.
7396
89561f72
PE
73972013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7398
7399 * subr.el (log10): Move here from C code, and declare as obsolete.
7400 All uses of (log10 X) replaced with (log X 10).
7401
47199123
JB
74022013-06-20 Juanma Barranquero <lekktu@gmail.com>
7403
7404 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7405 Declare with `defvar-local'.
7406 (tabulated-list-use-header-line, tabulated-list-entries)
7407 (tabulated-list-padding, tabulated-list-printer)
7408 (tabulated-list-sort-key): Declare with `defvar-local'.
7409 (tabulated-list-init-header, tabulated-list-print-fake-header):
7410 Use `setq-local'.
7411
4a172eab
MA
74122013-06-20 Michael Albinus <michael.albinus@gmx.de>
7413
47199123
JB
7414 * arc-mode.el (archive-mode): Add `archive-write-file' to
7415 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7416
5fc0acc0
JB
74172013-06-20 Juanma Barranquero <lekktu@gmail.com>
7418
d5b27848
JB
7419 * cus-edit.el (custom-commands): Fix typos.
7420 (custom-display): Fix tooltip text.
7421 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7422 Fix typos in docstrings.
7423 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7424 (custom-unlispify-menu-entry, custom-magic-value-create)
7425 (custom-add-see-also, custom-group-value-create): Use ?\s.
7426 (custom-guess-type, customize-apropos, editable-field)
7427 (custom-face-value-create): Use `string-match-p'.
7428 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7429
7430 * custom.el (custom-load-symbol): Use `string-match-p'.
7431
a5c581d8
JB
7432 * ansi-color.el: Convert to lexical binding.
7433 (ansi-colors): Fix URL.
7434 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7435 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7436 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7437
970ad972
G
74382013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7439
7440 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7441
7442 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7443
74442013-06-19 Tom Tromey <tromey@redhat.com>
7445
7446 * net/eww.el (eww-top-url): Remove.
7447 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7448 (eww-render): Set new variables. Don't set eww-top-url.
7449 (eww-handle-link): Handle "prev", "home", and "contents".
7450 Downcase the rel text.
7451 (eww-top-url): Choose best top URL.
7452
74532013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7454
7455 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7456 relying in widget.el. Using widget.el leads to too many
7457 user interface inconsistencies.
7458 (eww-self-insert): Implement entering commands in text fields.
7459 (eww-process-text-input): New function to make text input field editing
7460 work.
7461 (eww-submit): Rewrite to use the new-style form methods.
7462 (eww-select-display): Display the correct selected item.
7463 (eww-change-select): Implement changing the select value.
7464 (eww-toggle-checkbox): Implement radio/checkboxes.
7465 (eww-update-field): Fix compilation error.
7466 (eww-tag-textarea): Implement <textarea>.
7467
7468 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7469 we don't shadow mode-specific bindings.
7470
7471 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7472 nothing to push.
7473
7474 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7475
4582a01c 74762013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7477
7478 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7479
15b263dc
MA
74802013-06-19 Michael Albinus <michael.albinus@gmx.de>
7481
7482 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7483 not needed.
7484
7485 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7486
8f5297f7
LMI
74872013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7488
7489 * net/browse-url.el (browse-url-browser-function):
7490 `eww-browse-url' has the right calling signature, `eww' does not.
7491
011c4552
GM
74922013-06-19 Glenn Morris <rgm@gnu.org>
7493
2285bd27
GM
7494 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7495 Only eval autoloaded macros.
7496 (byte-compile-autoload): Only give the macro warning for macros.
7497
1d653303
GM
7498 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7499 (ps-underlined-faces): Declare.
7500
bdd779ec
GM
7501 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7502 (speedbar-add-supported-extension): Declare.
7503
011c4552
GM
7504 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7505 Don't include a date stamp in the header of the generated file;
7506 it leads to needless differences between output files.
7507
e59dfb0e
MA
75082013-06-19 Michael Albinus <michael.albinus@gmx.de>
7509
c763842b
SM
7510 * net/secrets.el (secrets-struct-secret-content-type):
7511 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7512 Some servers do not offer introspection.
e59dfb0e 7513
102626e2
SM
75142013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7515
7516 * electric.el (electric-pair-mode): Improve interaction with
7517 electric-layout-mode.
7518 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7519 (electric-pair-syntax): Use text-mode-syntax-table in comments
7520 and strings.
7521 (electric-pair--insert): New function.
7522 (electric-pair-post-self-insert-function): Use it and
7523 electric--after-char-pos.
7524
ad528125
LL
75252013-06-19 Leo Liu <sdl.web@gmail.com>
7526
7527 * progmodes/octave.el (octave-help): Fix regexp.
7528
924d6997
G
75292013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7530
7531 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7532 (shr-table-horizontal-line): Allow nil as a value, and change the
7533 default.
7534 (shr-insert-table-ruler): Respect the nil value.
7535
75362013-06-18 Tom Tromey <tromey@barimba>
7537
7538 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7539 New defvars.
7540 (eww-open-file): New defun.
7541 (eww-render): Initialize new variables.
7542 (eww-display-html): Handle "link" and "a".
7543 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7544 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7545 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7546 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7547 New defuns.
924d6997 7548
d1bbba4f
DG
75492013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7550
7551 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7552 Distinguish ternary operator tokens from slash symbol and slash
7553 char literal.
7554
14dd22d2
JB
75552013-06-18 Juanma Barranquero <lekktu@gmail.com>
7556
7557 Convert symbol prettification into minor mode and global minor mode.
7558
7559 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7560 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7561 (prettify-symbols--keywords): Rename from
7562 `prog-prettify-symbols-alist' and make a local defvar.
7563 (prettify-symbols--compose-symbol): Rename from
7564 `prog--prettify-font-lock-compose-symbol'.
7565 (prettify-symbols--make-keywords): Rename from
7566 `prog-prettify-font-lock-symbols-keywords' and simplify.
7567 (prog-prettify-install): Remove.
7568 (prettify-symbols-mode): New minor mode, based on
7569 `prog-prettify-install'.
7570 (turn-on-prettify-symbols-mode): New function.
7571 (global-prettify-symbols-mode): New globalized minor mode.
7572
7573 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7574 * progmodes/cfengine.el (cfengine3-mode):
7575 * progmodes/perl-mode.el (perl-mode): Don't call
7576 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7577
292c880c
JL
75782013-06-18 Juri Linkov <juri@jurta.org>
7579
7580 * files-x.el (modify-file-local-variable-message): New function.
7581 (modify-file-local-variable)
7582 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7583 and call `modify-file-local-variable-message' when it's non-nil.
7584 (add-file-local-variable, delete-file-local-variable)
7585 (add-file-local-variable-prop-line)
7586 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7587 and use it. (Bug#9820)
7588
0950aa27
JL
75892013-06-18 Juri Linkov <juri@jurta.org>
7590
7591 * emulation/vi.el (vi-shell-op):
7592 * emulation/vip.el (vip-execute-com, ex-command):
7593 * emulation/viper-cmd.el (viper-exec-bang):
7594 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7595 the call of `shell-command-on-region'. (Bug#14637)
7596
7597 * simple.el (shell-command-on-region): Doc fix.
7598
8fbcca16
SM
75992013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7602 (bug#14633).
7603
dd7426ea
GM
76042013-06-18 Glenn Morris <rgm@gnu.org>
7605
4ba54f7d
GM
7606 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7607
dd7426ea
GM
7608 * newcomment.el (comment-search-forward, comment-search-backward):
7609 Doc fix. (Bug#14376)
7610
58aa805b
JB
76112013-06-18 Juanma Barranquero <lekktu@gmail.com>
7612
7613 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7614 (buffer-face-mode-invoke): Doc fix.
7615
9a08a617
MM
76162013-06-18 Matthias Meulien <orontee@gmail.com>
7617
7618 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7619 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7620
f2f426ca
GM
76212013-06-18 Glenn Morris <rgm@gnu.org>
7622
9445f99b
GM
7623 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7624 Replace obsolete function generic-make-keywords with its expansion.
7625
e0df2d14
GM
7626 * progmodes/python.el (ffap-alist): Declare.
7627
f2f426ca
GM
7628 * textmodes/reftex.el (bibtex-mode-map): Declare.
7629
f7f9a720
SM
76302013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7631
7632 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7633 (package-unpack, package-unpack-single): Return the pkg-dir.
7634 (package-download-transaction): Use it to update package-alist.
7635
57ff04e0
LMI
76362013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7637
7638 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7639 possible choice.
7640
c048c022
JL
76412013-06-17 Juri Linkov <juri@jurta.org>
7642
7643 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7644
b5bcaee5
DG
76452013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7646
a020afb9
JB
7647 * emacs-lisp/package.el (package-load-descriptor):
7648 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7649 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7650
551e07e5
JB
76512013-06-17 Juanma Barranquero <lekktu@gmail.com>
7652
7653 * startup.el (command-line): Expand package name returned by
7654 `package--description-file' (bug#14639).
7655
d363bffb
DG
76562013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7657
7658 * emacs-lisp/package.el (package-load-descriptor): Do not call
7659 `emacs-lisp-mode', just use its syntax table.
7660
f612933b
JB
76612013-06-17 Juanma Barranquero <lekktu@gmail.com>
7662
7663 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7664 `font-lock-extra-managed-props' if any prettifying keyword is added.
7665 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7666 (prog-mode): Use `setq-local'.
7667
db3b7db5
SM
76682013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * international/characters.el (standard-case-table): Set syntax of ?»
7671 and ?« to punctuation.
7672
f3d674df
JB
76732013-06-16 Juanma Barranquero <lekktu@gmail.com>
7674
7675 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7676 Save relevant match data before calling `syntax-ppss' (bug#14595).
7677
31489a32
JL
76782013-06-15 Juri Linkov <juri@jurta.org>
7679
7680 * files-x.el (modify-file-local-variable-prop-line): Add local
7681 variables to the end of the existing comment on the first line.
7682 Use `file-auto-mode-skip' to skip interpreter magic line,
7683 and also skip XML declaration.
7684
66bd25ab
SM
76852013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7686
7687 * startup.el (package--builtin-versions): New var.
7688 (package-subdirectory-regexp): Remove.
7689 (package--description-file): Hard code its value instead.
7690
7691 * emacs-lisp/package.el: Don't activate packages older than builtin.
7692 (package-obsolete-list): Rename from package-obsolete-alist, and make
7693 it into a simple list of package-desc.
7694 (package-strip-version): Remove.
7695 (package-built-in-p): Use package--builtin-versions.
7696 (package-mark-obsolete): Simplify.
7697 (package-process-define-package): Mark it obsolete if older than the
7698 builtin version.
7699 (package-handle-response): Use line-end-position.
7700 (package-read-archive-contents, package--download-one-archive):
7701 Simplify.
7702 (package--add-to-archive-contents): Skip if older than the builtin or
7703 installed version.
7704 (package-menu-describe-package): Fix last change.
7705 (package-list-unversioned): New var.
7706 (package-menu--generate): Use it.
7707
7708 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7709 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7710 (autoload-builtin-package-versions): New variable.
7711 (autoload-generate-file-autoloads): Use them.
7712 Remove the list of autoloaded functions/macros from the
7713 (autoload...) comments.
7714
7715 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7716
9583ec36
EZ
77172013-06-15 Eli Zaretskii <eliz@gnu.org>
7718
7719 * simple.el (line-move-partial): Don't jump to the next screen
7720 line as soon as it becomes visible. Instead, continue enlarging
7721 the vscroll until the portion of a tall screen line that's left on
7722 display is about the height of the frame's default font.
7723 (Bug#14567)
7724
f0100d8a
GM
77252013-06-15 Glenn Morris <rgm@gnu.org>
7726
b86a85ca
GM
7727 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7728 compilation-error-regexp-alist void, or local while let-bound.
7729
f0100d8a
GM
7730 * progmodes/make-mode.el (makefile-mode-syntax-table):
7731 Treat "=" as punctuation. (Bug#14614)
7732
05e7ce90
JB
77332013-06-15 Juanma Barranquero <lekktu@gmail.com>
7734
7735 * help-fns.el (describe-variable):
7736 Add extra line for permanent-local variables.
7737
12e5e86e
SH
77382013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7739
7740 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7741 Add export, import, library. (Bug#9164)
7742 (library): Set indent function.
7743
230dcbaf
GM
77442013-06-14 Glenn Morris <rgm@gnu.org>
7745
7746 * term/xterm.el (xterm--query):
7747 Stop after first matching handler. (Bug#14615)
7748
e36b2d20 77492013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7750
7751 Add support for dired in saveplace.
7752 * dired.el (dired-initial-position-hook): New variable.
7753 (dired-initial-position): Call hook to place cursor position.
7754 * saveplace.el (save-place-to-alist): Add dired position.
7755 (save-place-dired-hook): New function.
7756
0b31660d
SM
77572013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7758
bf1e6ae8
SM
7759 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7760 through a symbol rather than letrec.
7761
1b8dff23
SM
7762 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7763 (package-desc): Add `dir' field.
7764 (package-desc-full-name): New function.
7765 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7766 (package-maybe-load-descriptor): Remove.
7767 (package-load-all-descriptors): Just call package-load-descriptor.
7768 (package--disabled-p): New function.
7769 (package-desc-vers, package-desc-doc): Remove aliases.
7770 (package--dir): Remove function.
7771 (package-activate): Check if a package is disabled.
7772 (package-process-define-package): New function, extracted from
7773 define-package.
7774 (define-package): Turn into a place holder.
7775 (package-unpack-single, package-tar-file-info):
7776 Use package--description-file.
7777 (package-compute-transaction): Use package--disabled-p.
7778 (package-download-transaction): Don't call
7779 package-maybe-load-descriptor since they're all loaded anyway.
7780 (package-install): Change argument to be a pkg-desc.
7781 (package-delete): Use a single pkg-desc argument.
7782 (describe-package-1): Use package-desc-dir instead of package--dir.
7783 Use package-desc property instead of package-symbol.
7784 (package-install-button-action): Adjust accordingly.
7785 (package--push): Rewrite.
7786 (package-menu--print-info): Adjust accordingly. Change the ID format
7787 to be a pkg-desc.
7788 (package-menu-describe-package, package-menu-get-status)
7789 (package-menu--find-upgrades, package-menu-mark-upgrades)
7790 (package-menu-execute, package-menu--name-predicate):
7791 Adjust accordingly.
7792 * startup.el (package--description-file): New function.
7793 (command-line): Use it.
7794 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7795 Use package-desc-version.
7796
0b31660d
SM
7797 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7798 (byte-compile-preprocess): Use it.
7799 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7800 can't quite recognize.
7801 (byte-compile-add-to-list): Remove.
7802 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7803 (cconv-closure-convert): Add assertion.
7804
7805 * emacs-lisp/map-ynp.el: Use lexical-binding.
7806 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7807 Factor out some repeated code.
7808
de0503df
SM
78092013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * subr.el (with-eval-after-load): New macro.
7812 (eval-after-load): Allow form to be a function.
7813 take advantage of lexical-binding.
7814 (do-after-load-evaluation): Use dolist and adjust to new format.
7815 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7816
bc5c8c5a
JL
78172013-06-13 Juri Linkov <juri@jurta.org>
7818
7819 * replace.el (perform-replace): Display "symbol " and other search
7820 modes from `isearch-message-prefix' in the *Help* buffer.
7821
7822 * isearch.el (isearch-query-replace): Add " symbol" and other
7823 possible search modes from `isearch-message-prefix' to the prompt.
7824 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7825 when reading a regexp to collect.
7826
a22289f7
JL
78272013-06-13 Juri Linkov <juri@jurta.org>
7828
7829 * isearch.el (word-search-regexp): Match whitespace if the search
7830 string begins or ends in whitespace. The LAX arg is applied to
7831 both ends of the search string. Use `regexp-quote' and explicit
7832 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7833 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7834 boundaries are replaced with symbol boundaries, and characters
7835 between symbols match non-word non-symbol syntax. (Bug#14602)
7836
cb89acab
JL
78372013-06-13 Juri Linkov <juri@jurta.org>
7838
7839 * isearch.el (isearch-del-char): Don't exceed the length of
7840 `isearch-string' by the prefix arg. (Bug#14563)
7841
6e8cfc81
JL
78422013-06-13 Juri Linkov <juri@jurta.org>
7843
7844 * isearch.el (isearch-yank-word, isearch-yank-line)
7845 (isearch-char-by-name, isearch-quote-char)
7846 (isearch-printing-char, isearch-process-search-char):
7847 Add optional count prefix arg. (Bug#14563)
7848
7849 * international/isearch-x.el
7850 (isearch-process-search-multibyte-characters):
7851 Add optional count prefix arg.
7852
c23d55f4
VS
78532013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7856 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7857 lexical-binding.
7858
78592013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7860
7861 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7862
ba947bc4
GM
78632013-06-13 Glenn Morris <rgm@gnu.org>
7864
8baeb37a
GM
7865 * startup.el (tty-handle-args):
7866 Don't just discard "--" and anything after. (Bug#14608)
7867
ba947bc4
GM
7868 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7869
9abefce4
MA
78702013-06-13 Michael Albinus <michael.albinus@gmx.de>
7871
7872 Implement changes in Secret Service API. Make it backward compatible.
7873 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7874 (secrets-create-item): Use it. Prefix properties with interface.
7875
5755011f
MH
78762013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7877
7878 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7879 (term-emulate-terminal): Respect term-suppress-hard-newline.
7880
1261d2da
S
78812013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7882
7883 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7884 Only remove a `thumb-file' overlay. (Bug#14548)
7885
868490bb
GJ
78862013-06-12 Grégoire Jadi <daimrod@gmail.com>
7887
7888 * mail/reporter.el (reporter-submit-bug-report):
7889 Handle missing package-name. (Bug#14600)
7890
79d7167f
TH
78912013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7892
7893 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7894 (reftex-citation-prompt, reftex-default-bibliography)
7895 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7896 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7897 (reftex-bib-sort-author, reftex-bib-sort-year)
7898 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7899 (reftex-extract-bib-entries-from-thebibliography)
7900 (reftex-get-bibkey-default, reftex-get-bib-names)
7901 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7902 (reftex-format-bib-entry, reftex-parse-bibitem)
7903 (reftex-format-bibitem, reftex-do-citation)
7904 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7905 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7906 (reftex-insert-bib-matches, reftex-format-citation)
7907 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7908 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7909 existing comments into docstrings.
7910
5f9dbd7a
XF
79112013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7912
7913 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7914
94df41ab
AS
79152013-06-12 Andreas Schwab <schwab@suse.de>
7916
7917 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7918 for auto-save files.
7919
a7f3fecc
GM
79202013-06-12 Glenn Morris <rgm@gnu.org>
7921
001809f6
GM
7922 * ido.el (ido-delete-ignored-files): Remove.
7923 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7924 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7925
834b5ded
EL
79262013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7927
08c73ed2
EL
7928 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7929
834b5ded
EL
7930 * ido.el (ido-delete-ignored-files): New function,
7931 split from ido-make-file-list-1.
7932 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7933 (ido-make-file-list-1): Use ido-delete-ignored-files.
7934
daabf15a
LL
79352013-06-12 Leo Liu <sdl.web@gmail.com>
7936
7937 * progmodes/octave.el (inferior-octave-startup)
7938 (inferior-octave-completion-table)
7939 (inferior-octave-track-window-width-change)
7940 (octave-eldoc-function-signatures, octave-help)
7941 (octave-find-definition): Use single quoted strings.
7942 (inferior-octave-startup-args): Change default value.
7943 (inferior-octave-startup): Do not hard code "-i" and
7944 "--no-line-editing".
7945 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7946 (inferior-octave-directory-tracker): Use it.
7947 (octave-goto-function-definition): Robustify.
7948 (octave-help): Support highlighting operators in 'See also'.
7949 (octave-find-definition): Find subfunctions only in Octave mode.
7950
cf4e5178
SM
79512013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7952
7953 * help-fns.el (help-fns--compiler-macro): If the handler function is
7954 named, then put a link to it.
7955 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7956 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7957 (cl-typep): Use it.
7958 (cl-eval-when): Simplify debug spec.
7959 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7960 compiler-macro function instead of setting `compiler-macro-file'.
7961
99c81280 79622013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7963
7964 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7965 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7966
f56be016
SM
79672013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7968 Daniel Hackney <dan@haxney.org>
7969
7970 First part of Daniel Hackney's patch to package.el.
7971 * emacs-lisp/package.el: Use defstruct.
7972 (package-desc): New, main struct.
7973 (package--bi-desc, package--ac-desc): New structs, used to describe the
7974 format in external files.
7975 (package-desc-vers): Replace with package-desc-version accessor.
7976 (package-desc-doc): Replace with package-desc-summary accessor.
7977 (package-activate-1): Remove `package' arg since the pkg-vec now
7978 includes the name.
7979 (define-package): Use package-desc-from-define.
7980 (package-unpack-single): Change file-name arg to be a symbol.
7981 (package--add-to-archive-contents): Use package-desc-create and new
7982 accessor functions to package--ac-desc.
7983 (package-buffer-info, package-tar-file-info): Return a package-desc.
7984 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7985 arg to be a package-desc.
7986 (package-install-file): Adjust accordingly. Use \' to match EOS.
7987 (package--from-builtin): New function.
7988 (describe-package-1, package-menu--generate): Use it.
7989 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7990 (package-generate-autoloads): Idem and return the name of the file.
7991 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7992 Change pkg-info arg to be a package-desc.
7993 Use package-make-ac-desc.
7994 (package-upload-file): Use \' to match EOS.
7995 * finder.el (finder-compile-keywords): Use package-make-builtin.
7996
31119d63
SM
79972013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7998
931a2762
SM
7999 * vc/vc.el (vc-deduce-fileset): Change error message.
8000 (vc-read-backend): New function.
8001 (vc-next-action): Use it.
8002
5a3eb0c6
SM
8003 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8004
e3eb1bb7
SM
8005 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8006 (prolog-font-lock-keywords): Use regexp-opt instead.
8007 Don't manually highlight strings.
8008 (prolog-mode-variables): Simplify comment-start-skip.
8009 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8010
31119d63
SM
8011 * emacs-lisp/generic.el (generic--normalise-comments)
8012 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8013 (generic-mode-set-comments): Use them.
8014 (generic-bracket-support): Use setq-local.
8015 (generic-make-keywords-list): Declare obsolete.
8016
7de135d0
GM
80172013-06-11 Glenn Morris <rgm@gnu.org>
8018
8019 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8020 Prettify after setting font-lock-defaults. (Bug#14574)
8021
fa6bc6fd
JB
80222013-06-11 Juanma Barranquero <lekktu@gmail.com>
8023
8024 * replace.el (query-replace, occur-read-regexp-defaults-function)
8025 (replace-search):
8026 * subr.el (declare-function, number-sequence, local-set-key)
8027 (substitute-key-definition, locate-user-emacs-file)
8028 (with-silent-modifications, split-string, eval-after-load):
8029 Fix typos, remove unneeded backslashes and reflow some docstrings.
8030
cf1f9b9a
SM
80312013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8032
8033 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8034 default for Elisp files.
8035
56602a4b
GM
80362013-06-11 Glenn Morris <rgm@gnu.org>
8037
8038 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8039 although define-derived-mode was doing this anyway. (Bug#14583)
8040
30ae0b2c
JB
80412013-06-10 Juanma Barranquero <lekktu@gmail.com>
8042
8043 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8044 Fix make-variable-buffer-local call to refer to the correct variable.
8045
fa472906
AG
80462013-06-10 Aidan Gauland <aidalgol@amuri.net>
8047
8048 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8049 (eshell-visual-subcommands, eshell-visual-options):
8050 Add summary line to docstrings. Add cross-references.
fa472906 8051
ff4871b9
GM
80522013-06-10 Glenn Morris <rgm@gnu.org>
8053
8054 * epa.el (epa-read-file-name): New function. (Bug#14510)
8055 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8056
04fcf1b0
AG
80572013-06-09 Aidan Gauland <aidalgol@amuri.net>
8058
8059 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8060 output redirection to be ignored with visual commands.
8061
88b00caa
AG
80622013-06-09 Aidan Gauland <aidalgol@amuri.net>
8063
8064 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8065 (eshell-term-initialize): Move long lambda to separate function
8066 eshell-visual-command-p.
e7b41c4c
JB
8067 * eshell/em-dirs.el (eshell-dirs-initialise):
8068 * eshell/em-script.el (eshell-script-initialize):
8069 Add missing #' to lambda.
88b00caa 8070
fda74125
LL
80712013-06-08 Leo Liu <sdl.web@gmail.com>
8072
8073 * progmodes/octave.el (octave-add-log-current-defun): New function.
8074 (octave-mode): Set add-log-current-defun-function.
8075 (octave-goto-function-definition): Do not move point if not found.
8076 (octave-find-definition): Enhance to try subfunctions first.
8077
467f3b33
GM
80782013-06-08 Glenn Morris <rgm@gnu.org>
8079
8080 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8081 (byte-compile-backward-char, byte-compile-backward-word):
8082 Improve previous change, to handle non-explicit nil.
8083
544badc3
SM
80842013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8087 (smie--opener/closer-at-point): New function.
8088 (smie--matching-block-data): Use it. Don't match from right after an
8089 opener or right before a closer. Obey smie-blink-matching-inners.
8090 Don't signal a mismatch for repeated inners like "switch..case..case".
8091
a175bf33
LL
80922013-06-07 Leo Liu <sdl.web@gmail.com>
8093
8094 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8095 to t. (Bug#14303)
ce8209d4
LL
8096 (octave-function-header-regexp): Fix. (Bug#14570)
8097 (octave-help-mode-finish-hook, octave-help-mode-finish):
8098 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8099
8100 * newcomment.el (comment-search-backward): Revert last change.
8101 (Bug#14434)
8102
8103 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8104
a822acff
EZ
81052013-06-07 Eli Zaretskii <eliz@gnu.org>
8106
8107 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8108 through xargs, to avoid failure due to MS-Windows limitations on
8109 command-line length.
8110
961166f5
GM
81112013-06-06 Glenn Morris <rgm@gnu.org>
8112
d0341459
GM
8113 * font-lock.el (lisp-font-lock-keywords-2):
8114 Treat user-error like error.
8115
961166f5
GM
8116 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8117 (byte-compile-backward-char, byte-compile-backward-word):
8118 Handle explicit nil arguments. (Bug#14565)
8119
80fa505f
AM
81202013-06-05 Alan Mackenzie <acm@muc.de>
8121
8122 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8123 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8124 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8125 (Bug#9706)
80fa505f 8126
fccdc796
SM
81272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8128
8129 * autorevert.el (auto-revert-notify-handler): Use memq.
8130 Hide assertion failure.
8131
8132 * skeleton.el: Use cl-lib.
8133 (skeleton-further-elements): Use defvar-local.
8134 (skeleton-insert): Use cl-progv.
8135
9bfff84b
TZ
81362013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8137
8138 * progmodes/prog-mode.el (prog-prettify-symbols)
8139 (prog-prettify-install): Update docstrings.
8140
55577e7c
SM
81412013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * simple.el: Move all the prog-mode code to prog-mode.el.
8144 * progmodes/prog-mode.el: New file.
8145 * loadup.el: Add prog-mode.el.
8146
8fc57765
TZ
81472013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8148
8149 * simple.el (prog-prettify-symbols): Add version.
8150 (prog-prettify-install): Add convenience function to prettify symbols.
8151
8152 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8153 (perl--augmented-font-lock-keywords-1)
8154 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8155 variables and use it.
8156
8157 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8158 (cfengine3-mode): Remove unneeded variable and use it.
8159
8160 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8161 (lisp--augmented-font-lock-keywords-1)
8162 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8163 Remove unneeded variables and use it.
8164
650645d5 81652013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8166
8167 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8168 to point when opening the connection. (Bug#14380)
28f5da6d 8169
781b4af6
SM
81702013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8171
8172 * subr.el (load-history-regexp, load-history-filename-element)
8173 (eval-after-load, after-load-functions, do-after-load-evaluation)
8174 (eval-next-after-load, display-delayed-warnings)
8175 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8176 definition of save-match-data.
8177 (overriding-local-map): Remove accidental obsolescence declaration.
8178
8179 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8180
3ca0d0b4
TZ
81812013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8182
8183 Generalize symbol prettify support to prog-mode and implement it
8184 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8185 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8186 (prog--prettify-font-lock-compose-symbol)
8187 (prog-prettify-font-lock-symbols-keywords): New variables and
8188 functions to support symbol prettification.
8189 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8190 (lisp--augmented-font-lock-keywords-1)
8191 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8192 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8193 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8194 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8195 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8196 * progmodes/perl-mode.el (perl-prettify-symbols)
8197 (perl--font-lock-compose-symbol)
8198 (perl--font-lock-symbols-keywords): Move to prog-mode.
8199 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8200 (perl-font-lock-keywords-1)
8201 (perl-font-lock-keywords-2): Remove explicit prettify support.
8202 (perl--augmented-font-lock-keywords)
8203 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8204 (perl--augmented-font-lock-keywords-2, perl-mode):
8205 Implement prettify support.
3ca0d0b4 8206
976cb066
LL
82072013-06-05 Leo Liu <sdl.web@gmail.com>
8208
8209 Re-implement smie matching block highlight using
8210 show-paren-data-function. (Bug#14395)
8211 * emacs-lisp/smie.el (smie-matching-block-highlight)
8212 (smie--highlight-matching-block-overlay)
8213 (smie--highlight-matching-block-lastpos)
8214 (smie-highlight-matching-block)
8215 (smie-highlight-matching-block-mode): Remove.
8216 (smie--matching-block-data-cache): New variable.
8217 (smie--matching-block-data): New function.
8218 (smie-setup): Use smie--matching-block-data for
8219 show-paren-data-function.
8220
8221 * progmodes/octave.el (octave-mode-menu): Fix.
8222 (octave-find-definition): Skip garbage lines.
8223
208d0342
SM
82242013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8225
8226 Fix compilation error with simultaneous dynamic+lexical scoping.
8227 Add warning when a defvar appears after the first let-binding.
8228 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8229 (byte-compile-close-variables): Initialize it.
8230 (byte-compile--declare-var): New function.
8231 (byte-compile-file-form-defvar)
8232 (byte-compile-file-form-define-abbrev-table)
8233 (byte-compile-file-form-custom-declare-variable): Use it.
8234 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8235 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8236 (byte-compile-bind): Handle dynamic bindings that shadow
8237 lexical bindings.
8238 (byte-compile-unbind): Make arg non-optional.
8239 (byte-compile-let): Simplify.
8240 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8241 (cconv--analyse-function, cconv-analyse-form): Populate it.
8242 Protect byte-compile-bound-variables to limit the scope of defvars.
8243 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8244 Remove unneeded rule for `declare'.
8245
8246 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8247 so as to avoid depending on cl-adjoin at run-time.
8248 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8249
8250 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8251 (macroexp--warn-and-return): Use it.
8252
1ac2891e
GM
82532013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * lisp/subr.el: Convert to lexical binding.
8256 (overriding-local-map): Make obsolete.
8257 (add-to-list): Doc fix. Add compiler macro.
8258 (read-key): Swap values of local maps.
8259
2587b005
LL
82602013-06-05 Leo Liu <sdl.web@gmail.com>
8261
8262 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8263
f1da3c88
LL
82642013-06-04 Leo Liu <sdl.web@gmail.com>
8265
8266 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8267 (compilation-auto-jump): Suppress the "Mark set" message to give
8268 way to exit message.
8269
3caa391f
AM
82702013-06-04 Alan Mackenzie <acm@muc.de>
8271
8272 Remove faulty optimisation from indentation calculation.
8273 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8274 search limit based on 2000 characters back from indent-point.
8275
068922a2
TH
82762013-06-03 Tassilo Horn <tsdh@gnu.org>
8277
8278 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8279
1f8fdd53
SM
82802013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8281
bbcc4d97
SM
8282 * emacs-lisp/lisp.el: Use lexical-binding.
8283 (lisp--local-variables-1, lisp--local-variables): New functions.
8284 (lisp--local-variables-completion-table): New var.
208d0342 8285 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8286
1f8fdd53
SM
8287 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8288 eagerly (bug#14422).
8289
c9628c79
MA
82902013-06-03 Michael Albinus <michael.albinus@gmx.de>
8291
8292 * autorevert.el (auto-revert-notify-enabled)
8293 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8294 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8295 (auto-revert-notify-handler): Handle also gfilenotify.
8296
e7b41c4c 8297 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8298 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8299 Remove.
c9628c79 8300
e5e4a942
JL
83012013-06-03 Juri Linkov <juri@jurta.org>
8302
8303 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8304 `M-s h .'. (Bug#14427)
8305
8306 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8307 command `hi-lock-face-symbol-at-point'.
8308 (hi-lock-face-symbol-at-point): New command.
8309 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8310 (hi-lock-menu): Add `highlight-symbol-at-point'.
8311 (hi-lock-mode): Doc fix.
8312
8313 * isearch.el (isearch-forward-symbol-at-point): New command.
8314 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8315 (isearch-highlight-regexp): Add a regexp which matches
8316 words/symbols for word/symbol mode.
8317
8318 * subr.el (find-tag-default-bounds): New function with the body
8319 mostly moved from `find-tag-default'.
8320 (find-tag-default): Move most code to `find-tag-default-bounds',
8321 call it and apply `buffer-substring-no-properties' afterwards.
8322
26b3353a
TH
83232013-06-03 Tassilo Horn <tsdh@gnu.org>
8324
781b4af6
SM
8325 * eshell/em-term.el (eshell-term-initialize):
8326 Use `cl-intersection' rather than `intersection'.
26b3353a 8327
51b60f53
XF
83282013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8329
fe054b63 8330 * vc/log-view.el: Doc fix.
d3ffe17c 8331 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8332
a0eb10b3 83332013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8334
8335 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8336 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8337 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8338 (eieio-unbound, eieio-default-superclass)
8339 (eieio--define-field-accessors, method-static, method-before)
8340 (method-primary, method-after, method-num-lists)
8341 (method-generic-before, method-generic-primary)
8342 (method-generic-after, method-num-slots)
8343 (eieio-specialized-key-to-generic-key)
8344 (eieio--check-type, class-v, class-p)
8345 (eieio-class-name, define-obsolete-function-alias)
8346 (eieio-class-parents-fast, eieio-class-children-fast)
8347 (same-class-fast-p, class-constructor, generic-p)
8348 (generic-primary-only-p, generic-primary-only-one-p)
8349 (class-option-assoc, class-option, eieio-object-p)
8350 (class-abstract-p, class-method-invocation-order)
8351 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8352 (eieio-class-un-autoload, eieio-defclass)
8353 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8354 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8355 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8356 (eieio-defgeneric-reset-generic-form)
8357 (eieio-defgeneric-form-primary-only)
8358 (eieio-defgeneric-reset-generic-form-primary-only)
8359 (eieio-defgeneric-form-primary-only-one)
8360 (eieio-defgeneric-reset-generic-form-primary-only-one)
8361 (eieio-unbind-method-implementations)
8362 (eieio--defmethod, eieio--typep)
8363 (eieio-perform-slot-validation, eieio-validate-slot-value)
8364 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8365 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8366 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8367 (eieio-slot-name-index, eieio-class-slot-name-index)
8368 (eieio-set-defaults, eieio-initarg-to-attribute)
8369 (eieio-attribute-to-initarg, eieio-c3-candidate)
8370 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8371 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8372 (eieio-class-precedence-list, eieio-generic-call-methodname)
8373 (eieio-generic-call-arglst, eieio-generic-call-key)
8374 (eieio-generic-call-next-method-list)
8375 (eieio-pre-method-execution-functions, eieio-generic-call)
8376 (eieio-generic-call-primary-only, eieiomt-method-list)
8377 (eieiomt-optimizing-obarray, eieiomt-install)
8378 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8379 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8380 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8381 (defclass): Remove `eval-and-compile' from macro.
8382 (call-next-method, shared-initialize): Instead of using
8383 `scoped-class' variable, use new eieio--scoped-class, and
8384 eieio--with-scoped-class.
8385 (initialize-instance): Rename local variable 'scoped-class' to
8386 'this-class' to remove ambiguitity from old global.
8387
8388 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8389 eieio.el.
4f405069
JB
8390 (eieio--scoped-class-stack): New variable.
8391 (eieio--scoped-class): New fcn.
890f7890
DE
8392 (eieio--with-scoped-class): New scoping macro.
8393 (eieio-defclass): Use pushnew instead of add-to-list.
8394 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8395 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8396 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8397 `scoped-class' variable, use new eieio--scoped-class, and
8398 eieio--with-scoped-class.
8399
8400 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8401
d105b0e2
TH
84022013-06-02 Tassilo Horn <tsdh@gnu.org>
8403
8404 * eshell/esh-ext.el (eshell-external-command): Pass args to
8405 `eshell-find-interpreter'.
8406 (eshell-find-interpreter): Add new second parameter ARGS.
8407
8408 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8409 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8410
8411 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8412 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8413
8414 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8415 (eshell-visual-options): New defcustom.
8416 (eshell-escape-control-x): Adapt docstring.
8417 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8418 `eshell-visual-options' in addition to `eshell-visual-commands'.
8419 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8420
f46305c8 84212013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8422
8423 * progmodes/python.el (python-indent-block-enders): Add break,
8424 continue and raise keywords.
8425
d870df21
GM
84262013-06-01 Glenn Morris <rgm@gnu.org>
8427
9133b82e
GM
8428 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8429
02c992ec 8430 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8431 * progmodes/cc-cmds.el (delete-forward-p):
8432 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8433 * progmodes/cc-engine.el (buffer-syntactic-context):
8434 * progmodes/cc-fonts.el (face-property-instance):
8435 * progmodes/cc-mode.el (set-keymap-parents):
8436 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8437 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8438 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8439 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8440 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8441
31e7b090
GM
8442 * progmodes/cc-vars.el (other): Emacs has this widget since
8443 at least 21.1, so don't (re)define it.
8444
d870df21
GM
8445 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8446 Replace the obsolete alias pcomplete-arg-quote-list.
8447
c75c93c7
LL
84482013-06-01 Leo Liu <sdl.web@gmail.com>
8449
8450 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8451 punctuation syntax.
8452 (inferior-octave-minimal-columns)
8453 (inferior-octave-last-column-width): New variables.
8454 (inferior-octave-track-window-width-change): New function.
8455 (inferior-octave-mode): Adjust column width so that Octave output,
8456 for example from 'ls', can fit into the window nicely.
8457
973d1e12
DG
84582013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8459
8460 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8461 Highlight expansions inside regexp literals.
8462
0888c286
GM
84632013-05-31 Glenn Morris <rgm@gnu.org>
8464
e26aac1f
GM
8465 * obsolete/sym-comp.el (symbol-complete):
8466 Replace obsolete completion-annotate-function.
8467
0888c286
GM
8468 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8469
19bb8e62
DG
84702013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8471
781b4af6
SM
8472 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8473 New function, checks if point is inside a literal that allows
19bb8e62
DG
8474 expression expansion.
8475 (ruby-syntax-propertize-expansion): Use it.
8476 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8477 around the body.
8478
01dea85f
JL
84792013-05-30 Juri Linkov <juri@jurta.org>
8480
8481 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8482 to "\M-si".
8483 (isearch-invisible): New variable.
8484 (isearch-forward): Doc fix.
8485 (isearch-mode): Set `isearch-invisible'
8486 to the value of `search-invisible'.
8487 (isearch-toggle-case-fold): Doc fix.
8488 (isearch-toggle-invisible): New command.
8489 (isearch-query-replace): Let-bind `search-invisible'
8490 to the value of `isearch-invisible'.
8491 (isearch-search): Use `isearch-invisible' instead of
8492 `search-invisible'. Let-bind `search-invisible'
8493 to the value of `isearch-invisible'. (Bug#11378)
8494
ab1bdce5
JL
84952013-05-30 Juri Linkov <juri@jurta.org>
8496
8497 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8498 call when `query-flag' is nil and `search-invisible' is non-nil.
8499 (Bug#11746)
8500
d6d236e2
GM
85012013-05-30 Glenn Morris <rgm@gnu.org>
8502
8accd027
GM
8503 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8504
2a8bed1c
GM
8505 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8506 (cc-require): Suppress spurious "noruntime" warnings.
8507 (cc-require-when-compile): Use fboundp, for sake of compiler.
8508
d6d236e2
GM
8509 * progmodes/cc-mode.el: Move load of cc-vars before that of
8510 cc-langs (which in turn loads cc-vars), to quieten compiler.
8511
9190b35b
SM
85122013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * paren.el: Simplify the code.
8515 (show-paren-mode): Always start the timer.
8516 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8517 (show-paren--overlay, show-paren--overlay-1): Rename from
8518 show-paren-overlay and show-paren-overlay-1, and initialize to an
8519 overlay rather than to nil.
8520 (show-paren-function): Misc cleanup and simplifications.
8521
4f8d1cf6
SM
85222013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * paren.el (show-paren-data-function): New hook.
8525 (show-paren--default): New function, extracted from show-paren-function.
8526 (show-paren-function): Use show-paren-data-function.
8527
02d844b5
GM
85282013-05-30 Glenn Morris <rgm@gnu.org>
8529
d209d4a9
GM
8530 * ielm.el (ielm-map, ielm-complete-symbol):
8531 Use completion-at-point rather than obsolete functions.
8532 (inferior-emacs-lisp-mode): Doc fix.
8533 Set completion-at-point-functions, rather than
8534 comint-dynamic-complete-functions.
8535
2082faa6
GM
8536 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8537 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8538 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8539
dd8620de
GM
8540 * image.el (image-animated-p): Tweak definition.
8541
ceca95b1
GM
8542 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8543 (rlogin-process-connection-type): Tweak default. Add set-after.
8544 (rlogin-host): Doc fix.
8545 (rlogin): Tweak prompt.
8546 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8547
ee9f1acc
GM
8548 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8549 * progmodes/tcl.el (inferior-tcl-mode-map):
8550 Use completion-at-point rather than obsolete alias.
8551
45ce222e
GM
8552 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8553
02d844b5
GM
8554 * minibuffer.el (read-file-name-completion-ignore-case):
8555 Move before completion--in-region, for eager macro expansion.
8556
ac44d6c1
JL
85572013-05-29 Juri Linkov <juri@jurta.org>
8558
8559 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8560 for total count of matching lines. Add `global-matches' for total
8561 count of matches. Rename `matches' to `lines' for count of
8562 matching lines. Add `matches' for count of matches.
8563 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8564 to `prev-line' for line number of prev match endpt.
8565 Increment `matches' for every match. Print the number of
8566 matching lines in the header.
8567 (occur-context-lines): Rename `lines' to `curr-line'.
8568 Rename `prev-lines' to `prev-line'. (Bug#14017)
8569
3c9c9d38
JL
85702013-05-29 Juri Linkov <juri@jurta.org>
8571
8572 * replace.el (perform-replace): Add `skip-read-only-count',
8573 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8574 Increment them for corresponding conditions and report the number
8575 of skipped occurrences in the final message. (Bug#11746)
8576 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8577 (replace-string, replace-regexp): Doc fix.
8578
33e249a2
SM
85792013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8580
8e399682
SM
8581 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8582
33e249a2 8583 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8584 prog-mode-map (bug#14504).
33e249a2 8585
f236dd84
LL
85862013-05-29 Leo Liu <sdl.web@gmail.com>
8587
8588 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8589 (octave-help): Small simplification.
8590
8591 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8592 off the highlight first.
8593
3694d13f
GM
85942013-05-29 Glenn Morris <rgm@gnu.org>
8595
03983bdc
GM
8596 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8597 Handle idlwave-last-system-routine-info-cons-cell being nil.
8598
bc74a74a
GM
8599 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8600 (idlwave-write-paths): Simplify via with-temp-buffer.
8601
8b394200
GM
8602 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8603 * emulation/cua-rect.el: Also load cua-base at run time.
8604
3694d13f
GM
8605 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8606 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8607 (cperl-imenu-on-info): Require imenu.
8608
336d7284
AM
86092013-05-28 Alan Mackenzie <acm@muc.de>
8610
8611 Handle "capitalised keywords" correctly.
33e249a2 8612 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8613
cb29c582
AG
86142013-05-28 Aidan Gauland <aidalgol@amuri.net>
8615
781b4af6 8616 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8617
690e44b2
GM
86182013-05-28 Glenn Morris <rgm@gnu.org>
8619
e658d75c
GM
8620 * vc/vc-arch.el (vc-exec-after): Declare.
8621 (vc-switches): Autoload.
8622 * vc/vc-bzr.el: No need to require vc when compiling.
8623 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8624 (vc-resynch-buffer, vc-dir-refresh): Declare.
8625 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8626 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8627 (vc-resynch-buffer): Declare.
8628 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8629 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8630 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8631 (grep-read-regexp, grep-read-files, grep-expand-template)
8632 (vc-dir-refresh): Declare.
8633 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8634 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8635 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8636 * vc/vc-mtn.el (vc-exec-after): Declare.
8637 (vc-switches): Autoload.
8638 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8639 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8640 (vc-file-tree-walk): Declare.
712b9732
GM
8641 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8642 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8643 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8644 * vc/vc-svn.el (vc-exec-after): Declare.
8645 (vc-switches, vc-setup-buffer): Autoload.
8646 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8647 Autoload.
8648 (vc-resynch-buffer): Declare.
8649
98e87fb3
GM
8650 * obsolete/fast-lock.el (byte-compile-warnings):
8651 Don't warn about obsolete features in this obsolete file.
8652
f5379553
GM
8653 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8654 Move definition before use.
8655
7a20ef83
GM
8656 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8657 (dun-unix-verbs): Remove dun-zippy.
8658 (dun-zippy): Remove function.
8659
690e44b2
GM
8660 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8661
3a52ccf7
JL
86622013-05-27 Juri Linkov <juri@jurta.org>
8663
8664 * replace.el (replace-search): New function with code moved out
8665 from `perform-replace'.
8666 (replace-highlight, replace-dehighlight): Move function definitions
8667 up closer to `replace-search'. (Bug#11746)
8668
d289938a
JL
86692013-05-27 Juri Linkov <juri@jurta.org>
8670
8671 * replace.el (perform-replace): Ignore invisible matches.
8672 In addition to checking `query-replace-skip-read-only', also
8673 filter out matches by calling `run-hook-with-args-until-failure'
8674 on `isearch-filter-predicates', and also check `search-invisible'
8675 for t or call `isearch-range-invisible'.
8676 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8677
66fc57e3
JL
86782013-05-27 Juri Linkov <juri@jurta.org>
8679
8680 * isearch.el (isearch-filter-predicates): Rename from
8681 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8682 (isearch-message-prefix): Display text from the property
8683 `isearch-message-prefix' of the currently active filters.
8684 (isearch-search): Don't compare `isearch-filter-predicate' with
8685 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8686 on `isearch-filter-predicates'. Also check `search-invisible' for t
8687 or call `isearch-range-invisible'.
8688 (isearch-filter-visible): Make obsolete.
8689 (isearch-lazy-highlight-search):
8690 Call `run-hook-with-args-until-failure' on
8691 `isearch-filter-predicates' and use `isearch-range-invisible'.
8692
8693 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8694 `isearch-filter-predicates' instead of `funcall'ing
8695 `isearch-filter-predicate'.
8696 (Info-mode): Set `Info-isearch-filter' to
8697 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8698
8699 * dired-aux.el (dired-isearch-filter-predicate-orig):
8700 Remove variable.
8701 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8702 (dired-isearch-filenames-end): Add and remove
8703 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8704 instead of changing the value of `isearch-filter-predicate'.
8705 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8706 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8707 Put property `isearch-message-prefix' to "filename " on
8708 `dired-isearch-filter-filenames'.
8709
8710 * wdired.el (wdired-change-to-wdired-mode):
8711 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8712 locally instead of changing `isearch-filter-predicate'.
8713 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8714
f1a60a0f
DG
87152013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8716
8717 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8718 return the commit hash (Bug#14459). Also set the
8719 `vc-git-detached' property.
8720 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8721 (vc-git-mode-line-string): Use the same help-echo format whether
8722 in detached mode or not, because we know the actual revision now.
8723 When in detached mode, shorten the revision to 7 chars.
8724
7f17cc40
SM
87252013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * emacs-lisp/easy-mmode.el (define-minor-mode):
8728 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8729 mode hook and provide a docstring.
8730
25c8401c
AM
87312013-05-27 Alan Mackenzie <acm@muc.de>
8732
8733 Remove spurious syntax-table text properties inserted by C-y.
8734 * progmodes/cc-mode.el (c-after-change): Also clear hard
8735 syntax-table property with value nil.
8736
dde84790
MA
87372013-05-27 Michael Albinus <michael.albinus@gmx.de>
8738
8739 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8740 when reading the events; the buffer layout shall not be changed.
8741
837fd9af
LL
87422013-05-27 Leo Liu <sdl.web@gmail.com>
8743
8744 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8745 New variable.
8746 (inferior-octave-directory-tracker): Automatically re-sync
8747 default-directory.
8748 (octave-help): Improve handling of 'See also'.
8749
4fd996b3
SM
87502013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8751
416f1802
SM
8752 * doc-view.el: Minor naming convention tweaks.
8753 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8754
4fd996b3
SM
8755 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8756 even if there's no `display' property yet (bug#14435).
8757
a052ef3b
EZ
87582013-05-25 Eli Zaretskii <eliz@gnu.org>
8759
4fd996b3 8760 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8761
8762 * Makefile.in (custom-deps, finder-data, autoloads)
8763 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8764 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8765 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8766
c9023370
SM
87672013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8768
8769 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8770 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8771 Don't burp at EOB.
c9023370 8772
24d699fa
LL
87732013-05-25 Leo Liu <sdl.web@gmail.com>
8774
8775 * comint.el (comint-previous-matching-input): Do not flood the
8776 *Messages* buffer with trivial messages.
8777
17e5c0cc
SM
87782013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8779
8780 * progmodes/flymake.el (flymake-nop): Don't return a string.
8781 (flymake-set-at): Fix typo.
8782
8783 * simple.el (read--expression): New function, extracted from
8784 eval-expression. Set completion-at-point-functions (bug#14465).
8785 (eval-expression, eval-minibuffer): Use it.
8786
5d028165
XF
87872013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8788
8789 * progmodes/flymake.el (flymake-save-buffer-in-file)
8790 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8791 (flymake-selected-frame, flymake-log, flymake-ins-after)
8792 (flymake-set-at, flymake-get-buildfile-from-cache)
8793 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8794 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8795 Refine the doc string.
8796 (flymake-get-file-name-mode-and-masks): Reformat.
8797 (flymake-get-real-file-name-function): Fix a minor bug.
8798
7a1d7ba7
JL
87992013-05-24 Juri Linkov <juri@jurta.org>
8800
8801 * progmodes/grep.el (grep-mode-font-lock-keywords):
8802 Support =linenumber= format used by git-grep for lines with
8803 function names. (Bug#13549)
8804
650cff3d
SM
88052013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8808 0 after a semi-colon; it works better for smie-auto-fill.
8809 (octave--indent-new-comment-line): New function.
8810 (octave-indent-new-comment-line): Use it (indirectly).
8811 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8812 modify comment-line-break-function.
8813
8814 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8815 (smie-setup): Use add-function to set it.
8816
9631677d
SS
88172013-05-24 Sam Steingold <sds@gnu.org>
8818
8819 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8820 argument (before the `interactive' argument).
8821
50105835
SM
88222013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * image-mode.el (image-mode-winprops): Add winprops to
8825 image-mode-winprops-alist before running
8826 image-mode-new-window-functions.
8827 * doc-view.el (doc-view-new-window-function): Don't delay
8828 doc-view-goto-page via timers (bug#14435).
8829
57b9823e
TH
88302013-05-24 Tassilo Horn <tsdh@gnu.org>
8831
8832 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8833 (doc-view-desktop-save-buffer): New function.
8834 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8835 (desktop-buffer-mode-handlers):
8836 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8837 handler.
8838 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8839 `desktop-save-buffer' function.
8840
91aafa16
MA
88412013-05-24 Michael Albinus <michael.albinus@gmx.de>
8842
8843 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8844 (tramp-gvfs-file-name-handler): Raise a user error when
8845 `tramp-gvfs-enabled' is nil.
8846 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8847 Do not raise a user error when loading package. (Bug#14447)
8848
ec076379
MA
8849 * net/xesam.el: Move to obsolete/.
8850
db785726
GM
88512013-05-24 Glenn Morris <rgm@gnu.org>
8852
af5c7606
GM
8853 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8854
e5d1916a
GM
8855 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8856
ded62b08
GM
8857 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8858 (Info-find-node, Man-getpage-in-background): Declare.
8859
9e614a3f
GM
8860 * mail/unrmail.el (unrmail):
8861 Replace obsolete detect-coding-with-priority.
8862
892f8ca3
GM
8863 * net/socks.el (socks-split-string): Use this rather than split-string.
8864 (socks-nslookup-host): Update for above change.
8865 (dynamic-choice, s5-dynamic-choice-match)
8866 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8867 Comment out unused code.
8868
3c291973
GM
8869 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8870 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8871 (gud-tooltip-echo-area): Make obsolete.
8872 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8873
43cc956b
GM
8874 * progmodes/js.el (js--optimize-arglist): Declare.
8875
dab49a3b
GM
8876 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8877
36b9d085
GM
8878 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8879 (ediff-window-C): Declare.
8880
e354ae76
GM
8881 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8882 Tweak requires to silence compiler.
8883
b8e57bf4
GM
8884 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8885 (he-search-string, he-tried-table, he-expand-list)
8886 (he-init-string, he-string-member, he-substitute-string)
8887 (he-reset-string): Declare.
8888
db785726
GM
8889 * obsolete/options.el (list-options): Use custom-variable-p,
8890 rather than obsolete alias.
8891
b3531901
SS
88922013-05-23 Sam Steingold <sds@gnu.org>
8893
8894 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8895 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8896 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8897
bdda4c66
SM
88982013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * emacs-lisp/smie.el (smie-indent-forward-token)
8901 (smie-indent-backward-token): Handle string tokens (bug#14381).
8902
c43d45f9
TH
89032013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8904
fe1eb856
RS
8905 * ielm.el (ielm-menu): New menu.
8906 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8907
fe1eb856
RS
89082013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8909
8910 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8911 Fix deactivate action.
8912
8913 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8914 Add cleveref macros.
074dd971 8915
c43d45f9
TH
8916 * lisp/textmodes/reftex-parse.el
8917 (reftex-locate-bibliography-files): Accept options for
8918 bibliography commands.
8919 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8920 Add addbibresource. Basic Biblatex support.
8921
7764286e
MA
89222013-05-23 Michael Albinus <michael.albinus@gmx.de>
8923
8924 * net/tramp-gvfs.el (top):
8925 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8926 when loading package. (Bug#14447)
8927
d361bc10
GM
89282013-05-23 Glenn Morris <rgm@gnu.org>
8929
8fa23984
GM
8930 * progmodes/js.el: No need to load comint when compiling.
8931 (ring-insert, comint-send-string, comint-send-input)
8932 (comint-last-input-end, ido-chop): Declare.
8933
a5c7df1a
GM
8934 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8935 * vc/ediff-mult.el: Adjust requires.
8936 (ediff-directories-internal, ediff-directory-revisions-internal)
8937 (ediff-patch-file-internal): Declare.
8938 * vc/ediff-ptch.el: Adjust requires.
8939 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8940 (ediff-find-file): Autoload.
8941 * vc/ediff-util.el: No need to load ediff when compiling.
8942 (ediff-regions-internal): Declare.
8943 * vc/ediff-wind.el: Adjust requires.
8944 (ediff-compute-toolbar-width): Define when compiling.
8945 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8946 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8947 (dired-get-filename, dired-get-marked-files)
8948 (ediff-last-dir-patch, ediff-patch-default-directory)
8949 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8950 (ediff-patch-buffer-internal): Declare.
8951
e2aec513
GM
8952 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8953 (ispell-process, ispell-buffer-local-words, lm-summary)
8954 (lm-section-start, lm-section-end): Declare.
8955 (checkdoc-ispell-init): Simplify.
8956
e68bbd7c
GM
8957 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8958 (he-string-member, he-reset-string, he-substitute-string): Declare.
8959
7efe0991
GM
8960 * eshell/em-ls.el: Adjust requires.
8961 (eshell-glob-regexp): Declare.
f87b1284
GM
8962 * eshell/em-tramp.el: Adjust requires.
8963 (eshell-parse-command): Autoload.
8964 * eshell/em-xtra.el: Adjust requires.
8965 (eshell-parse-command): Autoload.
8966 * eshell/esh-ext.el: Adjust requires.
8967 (eshell-parse-command, eshell-close-handles): Autoload.
8968 * eshell/esh-io.el: Adjust requires.
8969 (eshell-output-filter): Autoload.
8970 * eshell/esh-util.el: No need to load tramp when compiling.
8971 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8972 Declare.
8973 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8974 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8975 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8976 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8977 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8978 * eshell/esh-opt.el, eshell/esh-proc.el:
8979 * eshell/esh-var.el: Adjust requires.
8980 * eshell/eshell.el: Do not require esh-util twice.
8981 (eshell-add-input-to-history): Declare.
8982 (eshell-command): Check history module is active before using it.
8983
d361bc10
GM
8984 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8985
85d090a9
LL
89862013-05-22 Leo Liu <sdl.web@gmail.com>
8987
8988 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8989
5d0acd9d
MA
89902013-05-22 Michael Albinus <michael.albinus@gmx.de>
8991
8992 * autorevert.el (auto-revert-notify-add-watch)
8993 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8994 it indicates changes in file modification time.
8995
0cdffd7d
GM
89962013-05-22 Glenn Morris <rgm@gnu.org>
8997
ca5995ec
GM
8998 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8999 Always delete the autoloaded function from the noruntime and
9000 unresolved functions lists.
9001
6450907e
GM
9002 * allout.el: No need to load epa, epg, overlay when compiling.
9003 (epg-context-set-passphrase-callback, epg-list-keys)
9004 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9005 (epg-key-user-id-list): Declare.
9006
9c6906f6
GM
9007 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9008 (viper-set-parsing-style-toggling-macro)
9009 (viper-set-emacs-state-searchstyle-macros):
9010 Use called-interactively-p on Emacs.
9011 (viper-looking-back): Make it an obsolete alias. Update callers.
9012 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9013 Use looking-back rather than viper-looking-back.
9014 (viper-tmp-insert-at-eob, viper-enlarge-region)
9015 (viper-read-string-with-history, viper-register-to-point)
9016 (viper-append-to-register, viper-change-state-to-vi)
9017 (viper-backward-char-carefully, viper-forward-char-carefully)
9018 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9019 (viper-change-state-to-emacs): Declare.
9020 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9021 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9022 * emulation/viper-mous.el: Do not load viper-cmd.
9023 (viper-backward-char-carefully, viper-forward-char-carefully)
9024 (viper-forward-word, viper-adjust-window): Declare.
9025
5f70c169
GM
9026 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9027
b1b7f300
GM
9028 * progmodes/idlw-help.el (idlwave-help-fontify):
9029 Use called-interactively-p.
9030
f6ebbb46
GM
9031 * term/w32console.el (w32-get-console-codepage)
9032 (w32-get-console-output-codepage): Declare.
9033
0cdffd7d
GM
9034 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9035 Remove unnecessary declarations.
9036 (dframe-message): Doc fix.
9037
9038 * info.el (dframe-select-attached-frame, dframe-current-frame):
9039 Declare.
9040
9041 * speedbar.el (speedbar-message): Make it an obsolete alias.
9042 Update all callers.
9043 (speedbar-with-attached-buffer)
9044 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9045 (speedbar-with-writable): Use backquote.
9046 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9047 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9048 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9049 rather than speedbar- aliases.
9050 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9051 (speedbar-make-specialized-keymap, speedbar-insert-button)
9052 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9053 (speedbar-do-function-pointer): Declare.
9054 (rmail-speedbar-button, rmail-speedbar-find-file)
9055 (rmail-speedbar-move-message):
9056 Use dframe-with-attached-buffer rather than speedbar- alias.
9057 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9058 (dframe-message, speedbar-make-specialized-keymap)
9059 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9060 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9061 (speedbar-insert-button, dframe-select-attached-frame)
9062 (dframe-maybee-jump-to-attached-frame)
9063 (speedbar-change-initial-expansion-list)
9064 (speedbar-previously-used-expansion-list-name): Declare.
9065 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9066 Use dframe-message, dframe-with-attached-buffer rather than
9067 speedbar- aliases.
9068 (gud-sentinel): Silence compiler.
9069 * progmodes/vhdl-mode.el (speedbar-refresh)
9070 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9071 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9072 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9073 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9074 (speedbar-file-lists, speedbar-make-tag-line)
9075 (speedbar-line-directory, speedbar-goto-this-file)
9076 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9077 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9078 (speedbar-make-button, speedbar-reset-scanners)
9079 (speedbar-files-item-info, speedbar-line-text)
9080 (speedbar-find-file-in-frame, speedbar-set-timer)
9081 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9082 (speedbar-with-writable): Do not (re)define it.
9083 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9084 rather than speedbar- alias.
9085
ee44b62a
LL
90862013-05-21 Leo Liu <sdl.web@gmail.com>
9087
9088 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9089 menu items.
9090 (octave-mode): Tweak fill-nobreak-predicate.
9091 (inferior-octave-startup): Check process to avoid infinite loop.
9092 (inferior-octave): Pop to buffer first to show abornmal process
9093 exit information.
9094
640f050f
GM
90952013-05-21 Glenn Morris <rgm@gnu.org>
9096
79458038
GM
9097 * printing.el (pr-menu-bar): Define when compiling.
9098
9cc3e83f
LL
90992013-05-21 Leo Liu <sdl.web@gmail.com>
9100
9101 * progmodes/octave.el (octave-auto-fill): Remove.
9102 (octave-indent-new-comment-line): Improve.
9103 (octave-mode): Use auto fill mode through
4f405069 9104 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9105 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9106 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9107 (octave-help): Show parent directory.
9108
f440830d
GM
91092013-05-21 Glenn Morris <rgm@gnu.org>
9110
9111 * files.el (dired-unmark):
9112 * progmodes/gud.el (gdb-input): Update declarations.
9113
9114 * calculator.el (electric, ehelp): No need to load when compiling.
9115 (Electric-command-loop, electric-describe-mode): Declare.
9116
9117 * doc-view.el (doc-view-current-converter-processes): Move before use.
9118
9119 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9120 Move MODE-set-explicitly definition before use.
9121
9122 * international/mule-diag.el (mule-diag):
9123 Don't use obsolete window-system-version.
9124
9125 * mail/feedmail.el (smtpmail): No need to load when compiling.
9126 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9127
9128 * mail/mail-utils.el (rfc822): No need to load when compiling.
9129 (rfc822-addresses): Autoload it.
9130 (mail-strip-quoted-names): Trivial simplification.
9131
9132 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9133 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9134
9135 * net/snmp-mode.el (tempo): Don't duplicate requires.
9136
9137 * progmodes/prolog.el (info): No need to load when compiling.
9138 (comint): Require before shell requires it.
9139 (Info-goto-node): Autoload it.
9140 (Info-follow-nearest-node): Declare.
9141 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9142
9143 * textmodes/artist.el (picture-mode-exit): Declare.
9144
9145 * textmodes/reftex-parse.el (reftex-parse-from-file):
9146 Trivial rewrite so the compiler can parse it better.
9147
b4da2cbb
LL
91482013-05-20 Leo Liu <sdl.web@gmail.com>
9149
9150 * progmodes/octave.el (octave-help-mode-map)
9151 (octave-help-mode-finish-hook): New variables.
9152 (octave-help-mode, octave-help-mode-finish): New functions.
9153 (octave-help): Use octave-help-mode.
9154
33c0f65b
GM
91552013-05-20 Glenn Morris <rgm@gnu.org>
9156
9157 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9158
1a0a0a8a
DG
91592013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9160
9161 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9162 start at point, so that expansion starting right after opening
9163 slash in a regexp is recognized.
9164 (ruby-syntax-before-regexp-re): New defvar, extracted from
9165 ruby-syntax-propertize-function. Since the value of this regexp
9166 is looked up at runtime now, we should be able to turn
9167 `ruby-syntax-methods-before-regexp' into a defcustom later.
9168 (ruby-syntax-propertize-function): Split regexp matching into two
9169 parts, for opening and closing slashes. That allows us to skip
9170 over string interpolations and support multiline regexps.
9171 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9172 for them, which calls `ruby-syntax-propertize-expansion'.
9173 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9174 call to `ruby-syntax-propertize-function'.
9175 (ruby-syntax-propertize-expansion): Extracted from
9176 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9177 (ruby-syntax-propertize-percent-literal): Leave point right after
9178 the percent symbol, so that the expression expansion rule can
9179 propertize the contents.
462388b6
DG
9180 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9181 heredoc openers.
9182 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9183
c1a6c0a4
JL
91842013-05-18 Juri Linkov <juri@jurta.org>
9185
9186 * man.el (Man-default-man-entry): Remove `-' from the end
9187 of the default value. (Bug#14400)
9188
8051fccd
GM
91892013-05-18 Glenn Morris <rgm@gnu.org>
9190
9191 * comint.el (comint-password-prompt-regexp):
9192 Allow "password for XXX" where XXX contains colons (eg https://...).
9193
5e80b74f
LL
91942013-05-18 Leo Liu <sdl.web@gmail.com>
9195
9196 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9197 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9198 (octave-source-directories): Don't check process.
9199 (octave-source-directories, octave-find-definition): Doc fix.
9200
521a54c5
GM
92012013-05-18 Glenn Morris <rgm@gnu.org>
9202
86a94b05
GM
9203 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9204 Remove backspace/delete bindings. (Bug#14392)
9205
521a54c5
GM
9206 * cus-dep.el (custom-make-dependencies): Sort the output.
9207 (custom-versions-load-alist): Convert comment to doc.
9208
42caeb89
LL
92092013-05-17 Leo Liu <sdl.web@gmail.com>
9210
9211 * newcomment.el (comment-search-backward): Stricter in finding
9212 comment start. (Bug#14303)
9213
9214 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9215 (octave-comment-start-skip): Properly anchored.
9216
e219dd97
LL
92172013-05-17 Leo Liu <sdl.web@gmail.com>
9218
fe1eb856
RS
9219 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9220 Clean up when turned off. (Bug#14395)
e219dd97
LL
9221 (smie--highlight-matching-block-overlay): No longer buffer-local.
9222 (smie-highlight-matching-block): Adjust.
9223
dc5dcb4b
PE
92242013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9225
9226 Doc string fix for "nanoseconds" (Bug#14406).
9227 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9228 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9229
1db165f0
JB
92302013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9231
9232 * calc/calc-units.el (math-extract-units): Preserve powers
9233 of units.
9234
c7a8fcac
LL
92352013-05-17 Leo Liu <sdl.web@gmail.com>
9236
9237 * subr.el (delete-consecutive-dups): New function.
9238 * ido.el (ido-set-matches-1): Use it.
9239 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9240 * ido.el (ido-remove-consecutive-dups): Remove.
9241
f678b18a
SM
92422013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9243
9244 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9245 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9246 regexp-opt's `words'.
9247
ebfe68e8
LL
92482013-05-16 Leo Liu <sdl.web@gmail.com>
9249
9250 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9251 (smie--highlight-matching-block-overlay)
9252 (smie--highlight-matching-block-lastpos)
9253 (smie--highlight-matching-block-timer): New variables.
9254 (smie-highlight-matching-block): New function.
9255 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9256 (smie-setup): Conditionally enable smie-blink-matching-open.
9257
bc8bc17d
WS
92582013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9259
9260 Sync with upstream verilog-mode r840.
9261 * progmodes/verilog-mode.el (verilog-mode-version)
9262 (verilog-mode-release-date): Update.
9263 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9264 (verilog-sig-tieoff): Fix string error on
9265 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9266 (verilog-read-decls): Fix parameters confusing
9267 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9268
df065a0b
EZ
92692013-05-16 Eli Zaretskii <eliz@gnu.org>
9270
9271 * subr.el (reveal-filename): New function.
9272
9273 * loadup.el: Compute Emacs executable versions on MS-Windows,
9274 where executables have the .exe extension. Add a hard link
9275 emacs-XX.YY.ZZ.exe on MS-Windows.
9276
9277 * Makefile.in (XARGS_LIMIT): New variable.
9278 (custom-deps, finder-data, autoloads)
9279 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9280 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9281 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9282 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9283
2d4bf34b
LL
92842013-05-16 Leo Liu <sdl.web@gmail.com>
9285
9286 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9287 (octave-mode-menu, octave-mode-map): Remove its uses.
9288
6b9c2d85
RZ
92892013-05-16 Reto Zimmermann <reto@gnu.org>
9290
9291 Sync with upstream vhdl mode v3.34.2.
9292 * progmodes/vhdl-mode.el: Use `push' throughout.
9293 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9294 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9295 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9296 (vhdl-actual-generic-name): New option to derive actual generic name.
9297 (vhdl-port-paste-signals): Replace formal by actual generics.
9298 (vhdl-beautify): New name for old group vhdl-align. Update users.
9299 (vhdl-beautify-options): New option.
9300 (vhdl-last-input-event): New compat alias. Use throughout.
9301 (vhdl-goto-line): Replace user level function `goto-line'.
9302 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9303 vhdl-fix-statement-buffer.
9304 (vhdl-create-mode-menu): Add some entries.
9305 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9306 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9307 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9308 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9309 to force statements on one line.
9310 (vhdl-remove-trailing-spaces-region):
9311 New, split from vhdl-remove-trailing-spaces.
9312 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9313 Respect vhdl-beautify-options.
9314 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9315 (vhdl-update-sensitivity-list): Not add with index if exists without.
9316 Not include array index with signal. Ignore keywords in comments.
9317 (vhdl-get-visible-signals): Regexp tweaks.
9318 (vhdl-template-component-inst): Handle empty library.
9319 (vhdl-template-type): Add template for 'enum' type.
9320 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9321 Use vhdl-replace-string.
9322 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9323 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9324 (vhdl-speedbar-initialize): Update for above name change.
9325 (vhdl-compose-wire-components): Fix in handling of constants.
9326 (vhdl-error-regexp-emacs-alist): New variable.
9327 (vhdl-error-regexp-add-emacs): New function;
9328 adds support for new compile.el (Emacs 22+)
9329 (vhdl-generate-makefile-1): Change target order for single lib. units.
9330 Allow use of absolute file names.
9331
9df4ec5e
LL
93322013-05-16 Leo Liu <sdl.web@gmail.com>
9333
9334 * simple.el (prog-indent-sexp): Indent enclosing defun.
9335
f5ba00a6
GM
93362013-05-15 Glenn Morris <rgm@gnu.org>
9337
ed8be7ff
GM
9338 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9339 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9340 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9341 (whitespace-highlight): Move to whitespace group.
9342
9343 * comint.el (comint-source):
9344 * pcmpl-linux.el (pcmpl-linux):
9345 * shell.el (shell-faces):
9346 * eshell/esh-opt.el (eshell-opt):
9347 * international/ccl.el (ccl): Remove empty custom groups.
9348
9349 * completion.el (dynamic-completion-mode):
9350 * jit-lock.el (jit-lock-debug-mode):
9351 * minibuffer.el (completion-in-region-mode):
9352 * type-break.el (type-break-mode-line-message-mode)
9353 (type-break-query-mode):
9354 * emulation/tpu-edt.el (tpu-edt-mode):
9355 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9356 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9357 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9358
9359 * term/xterm.el (xterm): Change parent group to terminals.
9360
9361 * master.el (master): Remove empty custom group.
9362 (master-mode): Remove unused :group argument.
9363 * textmodes/refill.el (refill): Remove empty custom group.
9364 (refill-mode): Remove unused :group argument.
9365
9366 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9367
82a7c41b
GM
9368 * cus-dep.el: Provide a feature.
9369 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9370 Don't mistakenly ignore files whose basenames match a basename
9371 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9372 Add a fallback method for getting :group.
f5ba00a6 9373
6d65486d
JL
93742013-05-15 Juri Linkov <juri@jurta.org>
9375
da547b32
JL
9376 * isearch.el (isearch-char-by-name): Rename from
9377 `isearch-insert-char-by-name'. Doc fix.
9378 (isearch-forward): Mention `isearch-char-by-name' in
9379 the docstring. (Bug#13348)
9380
6d65486d
JL
9381 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9382 `exit-minibuffer' instead of
9383 `isearch-nonincremental-exit-minibuffer'.
9384 (isearch-edit-string): Remove mention of
9385 `isearch-nonincremental-exit-minibuffer' from docstring.
9386 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9387 (isearch-forward-exit-minibuffer)
9388 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9389
c9990474
SM
93902013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9391
6e911150
SM
9392 * loadup.el: Just use unversioned DOC.
9393
c9990474
SM
9394 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9395 literals as extending to EOB.
9396 (nxml-last-fontify-end): Remove unused variable.
9397 (nxml-after-change1): Use with-silent-modifications.
9398 (nxml-extend-after-change-region): Simplify.
9399 (nxml-extend-after-change-region1): Remove function.
9400 (nxml-after-change1): Don't adjust for dependent regions.
9401 (nxml-fontify-matcher): Simplify.
9402 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9403 (xmltok-add-dependent): Remove function.
9404 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9405 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9406 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9407 unclosed <[[, <?, comment, and other literals as extending to EOB.
9408 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9409 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9410 Remove functions.
9411 (rng-do-some-validation-1): Don't mark dependent regions.
9412 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9413 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9414 (nxml-clear-dependent-regions): Remove functions.
9415 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9416 (nxml-ensure-scan-up-to-date):
9417 Don't clear&mark dependent regions.
9418
e3772e98
LL
94192013-05-15 Leo Liu <sdl.web@gmail.com>
9420
c9990474
SM
9421 * progmodes/octave.el (octave-goto-function-definition):
9422 Improve and fix callers.
e3772e98 9423
5ac2eb34
SM
94242013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9425
c46c57b0
SM
9426 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9427 the setter (bug#14387).
9428
5ac2eb34
SM
9429 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9430 surrounding group (bug#14402).
9431
180ed218
JL
94322013-05-14 Juri Linkov <juri@jurta.org>
9433
9434 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9435 (Bug#14390)
9436
0ac0fecb
GM
94372013-05-14 Glenn Morris <rgm@gnu.org>
9438
9439 * progmodes/f90.el (f90-imenu-generic-expression):
9440 Fix typo in 2013-05-08 change. (Bug#14402)
9441
2e78e6a7
JPG
94422013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9443
5ac2eb34
SM
9444 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9445 Remove signals for which replies are never received.
2e78e6a7 9446
53267cca
JPG
94472013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9448
9449 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9450 (gdb-handler-alist, gdb-handler-number): Remove variables.
9451 (gdb-handler-list): New variable.
9452 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9453 (gdb-pending-handler-p, gdb-handle-reply)
9454 (gdb-remove-all-pending-triggers): New functions.
9455 (gdb-discard-unordered-replies): New defcustom.
9456 (gdb-handler): New defstruct.
9457 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9458 instead of gdb-pending-triggers. Update docstring.
9459 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9460 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9461 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9462 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9463 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9464 (gdb-frame-handler): Pending triggers are now automatically managed.
9465 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9466 Remove argument.
9467 (gdb-input): Automatically handles pending triggers. Update docstring.
9468 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9469 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9470 Update comments.
9471 (gdb-done-or-error): Now use gdb-handle-reply.
9472
d04ce803
JPG
94732013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9474
9475 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9476 gdb-debug-log.
9477
0114073a
GM
94782013-05-14 Glenn Morris <rgm@gnu.org>
9479
9480 * subr.el (user-emacs-directory-warning): New option.
9481 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9482
4d25fd7e
LL
94832013-05-14 Leo Liu <sdl.web@gmail.com>
9484
9485 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9486 during redisplay.
9487 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9488 (octave-font-lock-texinfo-comment): Fix invalid search bound
9489 error: wrong side of point.
4d25fd7e 9490
27c8b6eb
GM
94912013-05-14 Glenn Morris <rgm@gnu.org>
9492
61aaeb01
GM
9493 * progmodes/flymake.el (flymake-xml-program): New option.
9494 (flymake-xml-init): Use it.
9495
5bf90bc5
GM
9496 * term/xterm.el: Provide a feature.
9497
9498 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9499
f4c7dfd2
GM
95002013-05-13 Glenn Morris <rgm@gnu.org>
9501
9502 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9503 Add compat aliases as a hack workaround. (Bug#14384)
9504
2aeb3a1d
LL
95052013-05-13 Leo Liu <sdl.web@gmail.com>
9506
b0e069c2
LL
9507 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9508 ###, and %!.
f5a9432f
LL
9509 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9510 C-M-q.
b0e069c2
LL
9511 (octave-comment-start-skip): Include %!.
9512 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9513
30ea8374
LL
95142013-05-12 Leo Liu <sdl.web@gmail.com>
9515
9516 * progmodes/octave.el (inferior-octave-startup): Store the value
9517 of __octave_srcdir__ for octave-source-directories.
9518 (inferior-octave-check-process): New function refactored out of
9519 inferior-octave-send-list-and-digest.
9520 (octave-source-directories)
9521 (octave-find-definition-filename-function): New variables.
9522 (octave-source-directories)
9523 (octave-find-definition-default-filename): New functions.
9524 (octave-find-definition): Improve to find functions implemented in C++.
9525
472a3834
GM
95262013-05-12 Glenn Morris <rgm@gnu.org>
9527
9528 * calendar/diary-lib.el (diary-outlook-format-1):
9529 Don't include dayname in the output. (Bug#14349)
9530
3191b52f
GM
95312013-05-11 Glenn Morris <rgm@gnu.org>
9532
0060ac73
GM
9533 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9534
3191b52f
GM
9535 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9536 Treat cc-provide like provide.
9537
e065ba74
KR
95382013-05-11 Kevin Ryde <user42@zip.com.au>
9539
9540 * cus-dep.el (custom-make-dependencies):
9541 Use generated-autoload-load-name for the sake of files such
9542 such cedet/semantic/bovine/c.el, where the base file name
9543 is not in load-path. (Bug#5277)
9544
36f84c37
GM
95452013-05-11 Glenn Morris <rgm@gnu.org>
9546
9547 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9548 Provide features.
9549
c8730c3a
LL
95502013-05-11 Leo Liu <sdl.web@gmail.com>
9551
9552 * progmodes/octave.el (octave-indent-comment): Improve.
9553 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9554 (octave-eldoc-function-signatures, octave-eldoc-function):
9555 New functions.
c8730c3a
LL
9556 (octave-mode, inferior-octave-mode): Add eldoc support.
9557
212e29f2
RS
95582013-05-11 Richard Stallman <rms@gnu.org>
9559
9560 * epa.el (epa-decrypt-file): Take output file name as argument
9561 and read it using `interactive'.
9562
083fe0d7
LL
95632013-05-11 Leo Liu <sdl.web@gmail.com>
9564
9565 * progmodes/octave.el (octave-beginning-of-line)
9566 (octave-end-of-line): Check before using up-list because it jumps
9567 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9568 (octave-indent-comment): New function.
9569 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9570 (octave-begin-keywords, octave-end-keywords)
9571 (octave-reserved-words, octave-smie-bnf-table)
9572 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9573
8582e4c4
GM
95742013-05-11 Glenn Morris <rgm@gnu.org>
9575
f20def1f
GM
9576 * faces.el (internal-face-x-get-resource):
9577 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9578 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9579 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9580 Fix declarations.
f20def1f 9581
445f95e2
GM
9582 * calc/calc-menu.el: Make it loadable in isolation.
9583
9584 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9585 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9586 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9587 (eudc-bbdb-query-internal): Require 'bbdb.
9588
99fb2756
GM
9589 * lpr.el (lpr-headers-switches):
9590 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9591
9592 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9593
0da7ad96
GM
9594 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9595
8582e4c4
GM
9596 * term.el (term-set-escape-char): Make it idempotent.
9597
f71c50d0
LL
95982013-05-10 Leo Liu <sdl.web@gmail.com>
9599
5ac2eb34
SM
9600 * progmodes/octave.el (inferior-octave-completion-table):
9601 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9602 completion due to bug#11906.
9603 (octave-beginning-of-defun): Re-write to be more general.
9604
d5837773
GM
96052013-05-10 Glenn Morris <rgm@gnu.org>
9606
9607 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9608
027c0f75
SM
96092013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * comint.el (comint-redirect-send-command-to-process): Use :around
9612 rather than :override for comint-redirect-filter.
9613 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9614 Call it instead of comint-redirect-original-filter-function (which
9615 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9616
4465bfb4
JD
96172013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9618
9619 * frame.el (display-monitor-attributes-list): Add NS case.
9620 (ns-display-monitor-attributes-list): Declare.
9621
2d809ffa 96222013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9623
9624 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9625
e54eeb9b
GM
96262013-05-09 Glenn Morris <rgm@gnu.org>
9627
56cd351d
GM
9628 * international/fontset.el (vertical-centering-font-regexp):
9629 Set standard-value.
9630
d84b6108
GM
9631 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9632
a931698a
GM
9633 * bookmark.el (bookmark-search-delay):
9634 * cus-start.el (vertical-centering-font-regexp):
9635 * ps-mule.el (ps-mule-font-info-database-default):
9636 * ps-print.el (ps-default-fg, ps-default-bg):
9637 * type-break.el (type-break-good-break-interval):
9638 * whitespace.el (whitespace-indentation-regexp)
9639 (whitespace-space-after-tab-regexp):
9640 * emacs-lisp/testcover.el (testcover-1value-functions)
9641 (testcover-noreturn-functions, testcover-progn-functions)
9642 (testcover-prog1-functions):
9643 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9644 * eshell/em-glob.el (eshell-glob-translate-alist):
9645 * play/tetris.el (tetris-tty-colors):
9646 * progmodes/cpp.el (cpp-face-default-list):
9647 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9648 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9649 (idlwave-help-browser-generic-args):
9650 * progmodes/make-mode.el (makefile-special-targets-list):
9651 * progmodes/python.el (python-shell-virtualenv-path):
9652 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9653 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9654 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9655 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9656 * textmodes/reftex-vars.el (reftex-format-label-function):
9657 * textmodes/remember.el (remember-diary-file): Fix custom types.
9658
e54eeb9b
GM
9659 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9660 Add :version.
9661
455851dd
LL
96622013-05-09 Leo Liu <sdl.web@gmail.com>
9663
9664 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9665 Restore file completion. (Bug#14300)
455851dd
LL
9666 (inferior-octave-startup): Fix incorrect highlighting for the
9667 first prompt.
9668
a9e4425b
SM
96692013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9670
9671 * progmodes/ruby-mode.el: First cut at SMIE support.
9672 (ruby-use-smie): New var.
9673 (ruby-smie-grammar): New constant.
9674 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9675 (ruby-smie--forward-token, ruby-smie--backward-token)
9676 (ruby-smie-rules): New functions.
9677 (ruby-mode-variables): Setup SMIE if applicable.
9678
060ca408
EZ
96792013-05-08 Eli Zaretskii <eliz@gnu.org>
9680
9681 * simple.el (line-move-visual): Signal beginning/end of buffer
9682 only if vertical-motion moved less than it was requested. Avoids
9683 silly incorrect error messages when there are display strings with
9684 multiple newlines at EOL.
9685
1d5963cc
SM
96862013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9687
9688 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9689 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9690 (prolog-char-quote-workaround):
9691 * progmodes/cperl-mode.el (cperl-under-as-char):
9692 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9693 Mark as obsolete.
9694 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9695 their declaration.
9696 (vhdl-mode-syntax-table-init): Remove.
9697
c9990474
SM
9698 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9699 last change.
1d5963cc
SM
9700
9701 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9702 syntax for "_".
9703 (ld-script-font-lock-keywords):
9704 Change regexps to use things like \_< and \_>.
9705
9706 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9707 Change all regexps to use things like \_< and \_>.
9708
9709 * progmodes/autoconf.el (autoconf-definition-regexp)
9710 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9711 Handle a _ with symbol syntax.
9712 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9713
c9990474
SM
9714 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9715 Consolidate declaration.
1d5963cc
SM
9716 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9717 the declaration.
9718 (ada-create-syntax-table): Remove.
9719 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9720 already has the right syntax nowadays.
9721 (ada-goto-next-word): Don't change the syntax of "_".
9722
9723 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9724 with-wrapper-hook.
9725
72d3cfca
SS
97262013-05-08 Sam Steingold <sds@gnu.org>
9727
9728 * thingatpt.el (thing-at-point): Accept optional second argument
9729 NO-PROPERTIES to strip the text properties from the return value.
9730 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9731 to `thing-at-point' instead of stripping the properties ourselves.
9732 Also, when `thing-at-point' fails to find a url, prepend "http://"
9733 to the filename at point on the assumption that the user is
9734 pointing at something like gnu.org/gnu.
9735
5cb15713
JB
97362013-05-08 Juanma Barranquero <lekktu@gmail.com>
9737
9738 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9739 * faces.el (crm-separator):
9740 Silence byte-compiler.
9741
9742 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9743 (tool-bar-map): Remove unneeded defvars.
9744
ea78b95b
LL
97452013-05-08 Leo Liu <sdl.web@gmail.com>
9746
9747 Re-work a fix for bug#10994 based on Le Wang's patch.
9748 * ido.el (ido-remove-consecutive-dups): New helper.
9749 (ido-completing-read): Use it.
9750 (ido-chop): Revert fix for bug#10994.
9751
dc7466df
AS
97522013-05-08 Adam Spiers <emacs@adamspiers.org>
9753
9754 * cus-edit.el (custom-save-variables):
9755 Pretty-print long values. (Bug#14187)
9756
9ecf672a
GM
97572013-05-08 Glenn Morris <rgm@gnu.org>
9758
9759 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9760 (m4-mode-syntax-table): Init in the defvar.
9761 (m4-mode-abbrev-table): Let define-derived-mode define it.
9762
3f555be8
TT
97632013-05-08 Tom Tromey <tromey@redhat.com>
9764
9765 * progmodes/m4-mode.el (m4-mode-syntax-table):
9766 Do not treat "_" as word constituent. (Bug#14167)
9767
7cc8ae06
GM
97682013-05-07 Glenn Morris <rgm@gnu.org>
9769
4f58bc06
GM
9770 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9771 Remove explicit eshell-isearch-cancel-map.
9772
7cc8ae06
GM
9773 * progmodes/f90.el (f90-smart-end-names): New option.
9774 (f90-smart-end): Doc fix.
9775 (f90-end-block-optional-name): New constant.
9776 (f90-block-match): Respect f90-smart-end-names.
9777
ceb57e59
SM
97782013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9781 about implicit semi-colons (bug#14218).
9782
4e3f9230
YM
97832013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9784
9785 * frame.el (display-monitor-attributes-list)
9786 (frame-monitor-attributes): New functions.
9787
203a5572
LL
97882013-05-06 Leo Liu <sdl.web@gmail.com>
9789
9790 * progmodes/octave.el (octave-syntax-propertize-function): Change
9791 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9792 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9793 (octave-completion-at-point): Rename from
203a5572
LL
9794 octave-completion-at-point-function.
9795 (inferior-octave-directory-tracker): Robustify.
9796 (octave-text-functions): Remove and fix its uses. No such things
9797 any more.
9798
ee6cff99
SM
97992013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9800
9801 * emacs-lisp/trace.el (trace--display-buffer): New function.
9802 (trace-make-advice): Use it.
9803
32985194
JL
98042013-05-06 Juri Linkov <juri@jurta.org>
9805
9806 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9807 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9808 Doc fix.
9809 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9810 in the help string. (Bug#12985)
9811
a1c700de
KD
98122013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9813
9814 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9815
c67c0839
SM
98162013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9817
323885fd
SM
9818 * progmodes/perl-mode.el: Add support for here documents.
9819 (perl-syntax-propertize-function): Match here-doc markers.
9820 (perl-syntax-propertize-special-constructs): Find their end.
9821 (perl-imenu-generic-expression): Use [:alnum:].
9822
c67c0839
SM
9823 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9824 (advice--add-function): Refresh the advice if already present
9825 (bug#14317).
9826
d491e7a8
IA
98272013-05-06 Ivan Andrus <darthandrus@gmail.com>
9828
9829 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9830
ddf9925e
GM
98312013-05-06 Glenn Morris <rgm@gnu.org>
9832
7cc3af27
GM
9833 * w32-fns.el (w32-charset-info-alist): Declare.
9834
16e343d6
GM
9835 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9836 of its defcustom properties.
9837 (eshell-cmpl-initialize): No need to load pcomplete.
9838
7d889a47
GM
9839 * generic-x.el: No need to require comint when compiling.
9840
ddf9925e
GM
9841 * net/eudc-export.el: Make it loadable without bbdb.
9842 (top-level): Use require rather than load-library.
9843 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9844 (eudc-batch-export-records-to-bbdb)
9845 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9846 Require bbdb.
9847
1e2c18df
SM
98482013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9849
9850 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9851 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9852 some tweaks, instead.
9853
02502a5f
LL
98542013-05-05 Leo Liu <sdl.web@gmail.com>
9855
9856 * progmodes/octave.el (octave-font-lock-keywords)
9857 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9858 (inferior-octave-send-list-and-digest): Improve error message.
9859 (octave-mode, inferior-octave-mode): Use setq-local.
9860 (octave-help): Set info-lookup-mode.
9861
0dc04f42
RS
98622013-05-05 Richard Stallman <rms@gnu.org>
9863
6c54491c
RS
9864 * vc/compare-w.el (compare-windows-whitespace):
9865 Treat no-break space as whitespace.
9866
0dc04f42
RS
9867 * mail/rmailsum.el (rmail-summary-rmail-update):
9868 Detect empty summary and don't change selected message.
9869 (rmail-summary-goto-msg): Likewise.
9870
df8f35df
RS
9871 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9872 Doc fixes, rename args.
9873
5356e1a3
AM
98742013-05-05 Alan Mackenzie <acm@muc.de>
9875
9876 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9877
d44014cb
JL
98782013-05-05 Juri Linkov <juri@jurta.org>
9879
9880 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9881 to not add the length of the summary segment to the return value.
9882 (Bug#14125)
9883
c129b51f
LL
98842013-05-05 Leo Liu <sdl.web@gmail.com>
9885
9886 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9887 (inferior-octave-output-filter): Remove.
9888 (octave-send-region, inferior-octave-startup): Fix callers.
9889 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9890 (octave-binary-file-extensions): New user variable.
9891 (octave-find-definition): Confirm if opening binary files.
9892 (octave-help-file): Use octave-find-definition to get the binary
9893 confirmation.
9894 (octave-help): Adjust for octave-help-file change.
9895
aa7dab97
SM
98962013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9899 Merge the two entries that handle function definitions.
9900 (pascal--syntax-propertize): New const.
9901 (pascal-mode): Use it. Use setq-local.
9902
fd3a9a6b
GM
99032013-05-04 Glenn Morris <rgm@gnu.org>
9904
9905 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9906 (diary-from-outlook): Respect diary-from-outlook-function.
9907
30c7e542
SM
99082013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9911 Move the declaration from C.
9912 (read-minibuffer, eval-minibuffer): Move from C.
9913 (completion-setup-function): Avoid minibuffer-completion-contents.
9914
b54f978b
LL
99152013-05-03 Leo Liu <sdl.web@gmail.com>
9916
9917 * progmodes/octave.el (octave-font-lock-keywords): Do not
9918 dehighlight 'end' in comments or strings.
30c7e542
SM
9919 (octave-completing-read, octave-goto-function-definition):
9920 New helpers.
d4d0f9b3
LL
9921 (octave-help-buffer): New user variable.
9922 (octave-help-file, octave-help-function): New button types.
9923 (octave-help): New command and bind it to C-h ;.
9924 (octave-find-definition): New command and bind it to M-.
d74a1581 9925 (user-error): Alias to error if not defined.
b54f978b 9926
27135018
LL
99272013-05-02 Leo Liu <sdl.web@gmail.com>
9928
9929 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9930 for \. (bug#14332)
9931 (octave-font-lock-keywords): Include [ and {.
9932
0d634d3a
LL
99332013-05-02 Leo Liu <sdl.web@gmail.com>
9934
9935 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9936 (inferior-octave): Remove calling comint-mode and return the buffer.
9937 (inferior-octave-startup): Cosmetic changes.
9938
b4c8295e
LL
99392013-05-02 Leo Liu <sdl.web@gmail.com>
9940
30c7e542
SM
9941 * progmodes/octave.el (octave-syntax-propertize-function):
9942 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9943
f12ad6ec
GM
99442013-05-02 Glenn Morris <rgm@gnu.org>
9945
9946 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9947 * desktop.el (vc-dir-mode): Just autoload it here.
9948
30cac1e0
AM
99492013-05-02 Alan Mackenzie <acm@muc.de>
9950
9951 Eliminate variable c-standard-font-lock-fontify-region-function.
9952 * progmodes/cc-mode.el
9953 (c-standard-font-lock-fontify-region-function): Remove.
9954 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9955
d8ef28b1
LL
99562013-05-01 Leo Liu <sdl.web@gmail.com>
9957
2640d52e 9958 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9959 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9960 variables were removed from Octave in 2007.
d8ef28b1
LL
9961 (inferior-octave-startup): Fix uses.
9962 (comint-line-beginning-position): Remove compatibility code for
9963 emacs 21.
9964
ac63ec89
JL
99652013-05-01 Juri Linkov <juri@jurta.org>
9966
9967 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9968
9e9be37c
JL
99692013-05-01 Juri Linkov <juri@jurta.org>
9970
9971 * comint.el (comint-previous-matching-input): Don't print message
9972 "History item: %d" when `isearch-mode' is active.
9973 (comint-history-isearch-message): Print message "History item: %d"
9974 when `comint-input-ring-index' is not empty and this function is
9975 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9976
9b92c13b
LL
99772013-05-01 Leo Liu <sdl.web@gmail.com>
9978
9979 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9980 definitions. Use completion-at-point to insert keywords.
9981 (octave-abbrev-start): Remove.
9982 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9983
b12d33d7
LL
99842013-04-30 Leo Liu <sdl.web@gmail.com>
9985
9986 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9987 change.
9988
3d1c39fa
AM
99892013-04-30 Alan Mackenzie <acm@muc.de>
9990
9991 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9992 * progmodes/cc-engine.el (c-back-over-member-initializers):
9993 new function.
3d1c39fa
AM
9994 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9995 (most) member init lists.
9996
5147fc17
RS
99972013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9998
9999 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10000 variable.
10001
5b78d7fc
LL
100022013-04-30 Leo Liu <sdl.web@gmail.com>
10003
10004 * progmodes/octave.el (octave-variables): Remove. No builtin
10005 variables any more. All converted to functions.
10006 (octave-font-lock-keywords, octave-completion-at-point-function):
10007 Fix uses.
10008 (octave-font-lock-texinfo-comment): New user variable.
10009 (octave-texinfo-font-lock-keywords): New variable for texinfo
10010 comment block.
10011 (octave-function-comment-block): New face.
10012 (octave-font-lock-texinfo-comment): New function.
10013 (octave-mode): Font lock texinfo comment block.
10014
38d8527b
LL
100152013-04-29 Leo Liu <sdl.web@gmail.com>
10016
10017 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10018 indexing expression.
10019 (octave-continuation-string): Do not use \.
10020 (inferior-octave-complete-impossible): Remove.
10021 (inferior-octave-completion-table)
10022 (inferior-octave-completion-at-point): Remove its uses.
10023 (inferior-octave-startup): completion_matches was introduced to
10024 Octave in 1996 so safe to assume it.
10025 (octave-function-file-comment): Improve to follow how Octave does it.
10026 (octave-update-function-file-comment): Tweak.
10027
2ec12cb0
LL
100282013-04-29 Leo Liu <sdl.web@gmail.com>
10029
10030 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10031 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10032 (octave-function-file-comment): Fix typo.
10033 (octave-sync-function-file-names): Use read-char-choice.
10034
6eaed048
JB
100352013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10036
10037 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10038 to t for the less important warnings.
10039
3ffa2d4f
DH
100402013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10041
10042 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10043
685c9501
GM
100442013-04-27 Glenn Morris <rgm@gnu.org>
10045
10046 * vc/log-view.el (log-view-current-entry):
10047 Treat "---" separator lines as part of the following rev. (Bug#14169)
10048
0208ede7
JL
100492013-04-27 Juri Linkov <juri@jurta.org>
10050
10051 * subr.el (read-number): Doc fix about using it by interactive
10052 code letter `n'. (Bug#14254)
10053
5db9dace
JL
100542013-04-27 Juri Linkov <juri@jurta.org>
10055
10056 * desktop.el (desktop-auto-save-timeout): New option.
10057 (desktop-file-checksum): New variable.
10058 (desktop-save): Add optional arg `auto-save' and don't auto-save
10059 if nothing changed.
10060 (desktop-auto-save-timer): New variable.
10061 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10062 (after-init-hook): Call `desktop-auto-save-set-timer'.
10063 Suggested by Reuben Thomas <rrt@sc3d.org> in
10064 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10065
b7260dd4
LL
100662013-04-27 Leo Liu <sdl.web@gmail.com>
10067
10068 * progmodes/octave.el (octave-function-file-p)
10069 (octave-skip-comment-forward, octave-function-file-comment)
10070 (octave-update-function-file-comment): New functions.
10071 (octave-mode-map): Bind C-c ; to
10072 octave-update-function-file-comment.
10073 (octave-mode-menu): Add octave-update-function-file-comment.
10074 (octave-mode, inferior-octave-mode): Fix doc-string.
10075 (octave-insert-defun): Conform to Octave's coding convention.
10076 (Bug#14285)
10077
10078 * files.el (basic-save-buffer): Don't let errors in
10079 before-save-hook prevent saving buffer.
10080
c46da669
RW
100812013-04-20 Roland Winkler <winkler@gnu.org>
10082
10083 * faces.el (read-face-name): Use completing-read if arg multiple
10084 is nil.
10085
a81ee1eb
IL
100862013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10087
10088 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10089 displayed, move point to after the totals line.
10090 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10091 for the details.
10092
4fac34ce
SM
100932013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10094
10095 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10096 Add current dir to the load-path.
10097 (package-generate-autoloads): Don't rely on
10098 autoload-ensure-default-file.
10099
f6bfc063
RT
101002013-04-26 Reuben Thomas <rrt@sc3d.org>
10101
d40ab5cf
BG
10102 * textmodes/remember.el (remember-store-in-files): Document that
10103 the file name format is passed to `format-time-string'.
f6bfc063 10104
e55d3b04
LL
101052013-04-26 Leo Liu <sdl.web@gmail.com>
10106
10107 * progmodes/octave.el (octave-sync-function-file-names): New function.
10108 (octave-mode): Use it in before-save-hook.
10109
e53052d3
SM
101102013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10111
140ef50c
SM
10112 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10113 (bug#14274).
10114
e53052d3
SM
10115 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10116 \n and comment, even if it's not an implicit ; (bug#14218).
10117
af80458d 101182013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10119
10120 * subr.el (read-number): Once more use `read' rather than
10121 `string-to-number', to trap non-numeric input. (Bug#14254)
10122
af80458d 101232013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10124
10125 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10126 Use `syntax-multiline' text property consistently instead of
8a621d53 10127 `font-lock-multiline'. (Bug#14237)
70203c2e 10128
e6ea1f6c
GM
101292013-04-26 Glenn Morris <rgm@gnu.org>
10130
10131 * emacs-lisp/shadow.el (list-load-path-shadows):
10132 No longer necessary to check for duplicate simple.el, since
10133 2012-07-07 change to init_lread to not include installation lisp
10134 directories in load-path when running uninstalled. (Bug#14270)
10135
070ccca4
LL
101362013-04-26 Leo Liu <sdl.web@gmail.com>
10137
10138 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10139 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10140 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10141 octave-in-string-or-comment-p.
10142 (octave-in-comment-p, octave-in-string-p)
10143 (octave-in-string-or-comment-p): Replace defsubst with defun.
10144
9d1c5fb6
PE
101452013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10146
10147 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10148
c034abda
BG
101492013-04-25 Bastien Guerry <bzg@gnu.org>
10150
10151 * textmodes/remember.el (remember-data-directory)
10152 (remember-directory-file-name-format): Fix custom types.
10153
584ea277
LL
101542013-04-25 Leo Liu <sdl.web@gmail.com>
10155
e53052d3
SM
10156 * progmodes/octave.el (octave-completion-at-point-function):
10157 Make use of inferior octave process.
584ea277
LL
10158 (octave-initialize-completions): Remove.
10159 (inferior-octave-completion-table): New function.
10160 (inferior-octave-completion-at-point): Use it.
10161 (octave-completion-alist): Remove.
10162
1693b06a
SM
101632013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10164
10165 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10166 (opascal-mode-syntax-table): New var.
10167 (opascal-literal-kind, opascal-is-literal-end)
10168 (opascal-literal-token-at): Rewrite.
10169 (opascal--literal-start-re, opascal-font-lock-keywords)
10170 (opascal--syntax-propertize): New constants.
10171 (opascal-font-lock-defaults): Adjust.
10172 (opascal-mode): Use them. Set comment-<foo> variables as well.
10173 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10174 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10175 (delphi-other-face, opascal-other-face): Remove face variables.
10176 (opascal-save-state): Remove macro.
10177 (opascal-fontifying-progress-step): Remove constant.
10178 (opascal--ignore-changes): Remove var.
10179 (opascal-set-token-property, opascal-parse-next-literal)
10180 (opascal-is-stable-literal, opascal-complete-literal)
10181 (opascal-is-literal-start, opascal-face-of)
10182 (opascal-parse-region, opascal-parse-region-until-stable)
10183 (opascal-fontify-region, opascal-after-change)
10184 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10185 (opascal-debug-parse-region, opascal-debug-parse-window)
10186 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10187 (opascal-debug-fontify-buffer): Remove.
10188 (opascal-debug-mode-map): Adjust accordingly.
10189
be64c05d
LL
101902013-04-25 Leo Liu <sdl.web@gmail.com>
10191
10192 Merge octave-mod.el and octave-inf.el into octave.el with some
10193 cleanups.
10194 * progmodes/octave.el: New file renamed from octave-mod.el.
10195 * progmodes/octave-inf.el: Merged into octave.el.
10196 * progmodes/octave-mod.el: Renamed to octave.el.
10197
d79d37bd
TH
101982013-04-25 Tassilo Horn <tsdh@gnu.org>
10199
10200 * textmodes/reftex-vars.el
10201 (reftex-label-ignored-macros-and-environments): New defcustom.
10202
10203 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10204
ced3fc5d
SM
102052013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10208 (smie-indent-keyword): Improve the check to ensure that the next
10209 comment is really on the same line.
10210 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10211
10212 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10213 semi-colons if the line is not otherwise empty (bug#14218).
10214
1c141dad
GM
102152013-04-25 Glenn Morris <rgm@gnu.org>
10216
10217 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10218
5058062a
SM
102192013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * progmodes/opascal.el (opascal-set-token-property): Rename from
10222 opascal-set-text-properties and only set `token' (bug#14134).
10223 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10224 (opascal-literal-text-properties): Remove.
10225 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10226 Adjust callers.
10227
5db9dace 102282013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10229
10230 * textmodes/remember.el (remember-handler-functions): Add an
10231 option for a new handler `remember-store-in-files'.
10232 (remember-data-directory, remember-directory-file-name-format):
10233 New options.
10234 (remember-store-in-files): New function to store remember notes
10235 as separate files within a directory.
10236
4391916c
MH
102372013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10238
10239 * progmodes/compile.el (compilation-next-error-function):
10240 Pass "formats" to compilation-find-file (bug#11777).
10241
bb7cdf58
GM
102422013-04-24 Glenn Morris <rgm@gnu.org>
10243
3b8fe752 10244 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10245 * vc/vc-hg.el (vc-hg-print-log):
10246 * vc/vc-svn.el (vc-svn-print-log):
10247 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10248
bb7cdf58
GM
10249 * vc/vc-bzr.el (vc-bzr-print-log):
10250 * vc/vc-cvs.el (vc-cvs-print-log):
10251 * vc/vc-git.el (vc-git-print-log):
10252 * vc/vc-hg.el (vc-hg-print-log):
10253 * vc/vc-mtn.el (vc-mtn-print-log):
10254 * vc/vc-rcs.el (vc-rcs-print-log):
10255 * vc/vc-sccs.el (vc-sccs-print-log):
10256 * vc/vc-svn.el (vc-svn-print-log):
10257 * vc/vc.el (vc-print-log-internal): Doc fixes.
10258
b46a056e
GM
102592013-04-23 Glenn Morris <rgm@gnu.org>
10260
10261 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10262 Remove venerable code attempting to avoid substitute-command-keys.
10263
0aecf718
TH
102642013-04-23 Tassilo Horn <tsdh@gnu.org>
10265
4391916c
MH
10266 * textmodes/reftex-vars.el (reftex-label-regexps):
10267 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10268
117f94cf
SM
102692013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10270
4391916c 10271 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10272 Use lexical-binding.
10273 (jit-lock-force-redisplay): Use markers, check buffer's continued
10274 existence and beware narrowed buffers.
10275 (jit-lock-fontify-now): Adjust call accordingly.
10276
1d829c64
SM
102772013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10278
10279 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10280 to avoid misleading the user.
10281
72d548a9
LL
102822013-04-22 Leo Liu <sdl.web@gmail.com>
10283
10284 * info-look.el: Prefer latex2e.info. (Bug#14240)
10285
d0853629
MA
102862013-04-22 Michael Albinus <michael.albinus@gmx.de>
10287
10288 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10289
10290 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10291 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10292 (tramp-set-completion-function, tramp-parse-putty):
10293 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10294 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10295 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10296 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10297 (tramp-call-local-coding-command): Use `tramp-call-process'
10298 instead of `tramp-compat-call-process'.
10299
10300 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10301 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10302 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10303 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10304 (tramp-maybe-send-script): Check for Perl binary.
10305 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10306
38cc0210
DU
103072013-04-22 Daiki Ueno <ueno@gnu.org>
10308
10309 * epg.el (epg-context-pinentry-mode): New function.
10310 (epg-context-set-pinentry-mode): New function.
10311 (epg--start): Pass --pinentry-mode option to gpg command.
10312
cc641ee1
XF
103132013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10314
02d844b5 10315 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10316 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10317 `completion-at-point'. (Bug#13774)
5d4e5c31 10318
cc641ee1
XF
10319 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10320 default key binding for `describe-distribution' has been moved to
10321 `C-h C-o'. (Bug#13970)
10322
1b42ee43
GM
103232013-04-21 Glenn Morris <rgm@gnu.org>
10324
10325 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10326 Add doc strings.
10327 (vc-print-log): Clarify interactive prompt.
10328
a6d63d97
GM
103292013-04-20 Glenn Morris <rgm@gnu.org>
10330
10331 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10332 No longer include timestamp etc information.
10333
d7f5c16f
RW
103342013-04-20 Roland Winkler <winkler@gnu.org>
10335
10336 * faces.el (read-face-name): Bug fix, return just one face if arg
10337 multiple is nil. (Bug#14209)
10338
bcd7a0a4
SM
103392013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10340
10341 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10342 (remove-function): Autoload.
10343
10344 * comint.el (comint-redirect-original-filter-function): Remove.
10345 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10346 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10347 (vc-cvs-annotate-command):
bcd7a0a4
SM
10348 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10349 * progmodes/prolog.el (prolog-consult-compile):
10350 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10351 Use add/remove-function instead.
10352 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10353 (gud-tooltip-process-output, gud-tooltip-tips):
10354 Use add/remove-function instead.
10355 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10356 (scheme-interaction-mode, exit-scheme-interaction-mode):
10357 Use add/remove-function instead.
10358
10359 * vc/vc-dispatcher.el: Use lexical-binding.
10360 (vc--process-sentinel): Rename from vc-process-sentinel.
10361 Change last arg to be the code to run. Don't use vc-previous-sentinel
10362 and vc-sentinel-commands any more.
10363 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10364 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10365
e36b2d20 103662013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10367
bcd7a0a4 10368 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10369 Handle function names with a single character. (Bug#14111)
4d3268ba 10370
781b4af6 103712013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10372
10373 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10374 for subroutines defined in an eval (bug#14182).
10375
7d688336
TV
103762013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10377
10378 * bookmark.el (bookmark-completing-read): Improve handling of empty
10379 string (bug#14176).
10380
31dcede0
SM
103812013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10382
10383 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10384
adc31213
FEG
103852013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10386
10387 New faster Imenu implementation (bug#14058).
10388 * progmodes/python.el:
10389 (python-imenu-prev-index-position):
10390 (python-imenu-format-item-label-function)
10391 (python-imenu-format-parent-item-label-function)
10392 (python-imenu-format-parent-item-jump-label-function):
10393 New vars.
10394 (python-imenu-format-item-label)
10395 (python-imenu-format-parent-item-label)
10396 (python-imenu-format-parent-item-jump-label)
10397 (python-imenu--put-parent, python-imenu--build-tree)
10398 (python-imenu-create-index, python-imenu-create-flat-index)
10399 (python-util-popn): New functions.
10400 (python-mode): Set imenu-create-index-function to
10401 python-imenu-create-index.
10402
cdca8255
SM
104032013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * winner.el (winner-active-region): Use region-active-p, activate-mark
10406 and deactivate-mark (bug#14225).
10407
10408 * simple.el (deactivate-mark): Don't inline it.
10409
beb42340
MA
104102013-04-18 Michael Albinus <michael.albinus@gmx.de>
10411
10412 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10413
fc7f4d7e
TH
104142013-04-18 Tassilo Horn <tsdh@gnu.org>
10415
10416 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10417 file extensions from the archive-mode entry in order to prefer
10418 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10419
29f47822
LL
104202013-04-18 Leo Liu <sdl.web@gmail.com>
10421
10422 * bindings.el (help-event-list): Add ?\?.
10423
d36ed1c8
SM
104242013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * subr.el (with-wrapper-hook): Declare obsolete.
10427 * simple.el (filter-buffer-substring-function): New hook.
10428 (filter-buffer-substring): Use it.
10429 (filter-buffer-substring-functions): Mark obsolete.
10430 * minibuffer.el (completion-in-region-function): New hook.
10431 (completion-in-region): Use it.
10432 (completion-in-region-functions): Mark obsolete.
10433 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10434 * abbrev.el (abbrev-expand-function): New hook.
10435 (expand-abbrev): Use it.
10436 (abbrev-expand-functions): Mark obsolete.
10437 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10438 and :filter-return.
10439
04754d36
FEG
104402013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10441
10442 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10443 and do not care about match data.
10444
dd8791e9
SM
104452013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10448 completion tables when completing error conditions and
10449 `declare' arguments.
10450 (lisp-complete-symbol, field-complete): Mark as obsolete.
10451 (check-parens): Unmatched parens are user errors.
10452 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10453
ffe54a13
AM
104542013-04-17 Michal Nazarewicz <mina86@mina86.com>
10455
dd8791e9
SM
10456 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10457 command changed buffer (ie. `flyspell-pre-buffer' is not current
10458 buffer), which prevents making decisions based on invalid value of
10459 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10460 cause an error when `flyspell-pre-point' was nil after switching
10461 buffers.
10462 (flyspell-post-command-hook): No longer needs to change buffers when
10463 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10464
ec7e39f2
AM
104652013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10466
10467 * textmodes/ispell.el (ispell-add-per-file-word-list):
10468 Fix `flyspell-correct-word-before-point' error when accepting
10469 words and `coment-padding' is an integer by using
10470 `comment-normalize-vars' (Bug #14214).
10471
083850a6
FEG
104722013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10473
10474 New defun movement commands.
10475 * progmodes/python.el (python-nav--syntactically)
10476 (python-nav--forward-defun, python-nav-backward-defun)
10477 (python-nav-forward-defun): New functions.
10478
619ed6e1
FEG
104792013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10480
10481 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10482 (python-syntax-context): Use named compiler-macro for backwards
10483 compatibility with Emacs 24.x.
10484
7a1beb6c
LL
104852013-04-17 Leo Liu <sdl.web@gmail.com>
10486
10487 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10488 octave-hide-process-buffer.
10489
2d3fa3e5
SM
104902013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10491
10492 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10493 (bug#14216).
10494
7ce5be54
JPG
104952013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10496
10497 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10498 Fix adjustment of offset when receiving incomplete responses from GDB
10499 (bug#14129).
10500
351edece
SM
105012013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10504 python-mode-abbrev-table.
10505 (python-skeleton-define): Adjust accordingly.
10506 (python-mode-abbrev-table): New table that inherits from it so that
10507 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10508
10509 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10510 (abbrev-symbol): Use it.
10511 (abbrev--before-point): Use it since we already handle inheritance.
10512
613f9481
LL
105132013-04-16 Leo Liu <sdl.web@gmail.com>
10514
10515 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10516 binding to info-lookup-symbol.
10517
51646b62
JB
105182013-04-16 Juanma Barranquero <lekktu@gmail.com>
10519
10520 * minibuffer.el (completion--twq-all):
10521 * term/ns-win.el (ns-initialize-window-system):
10522 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10523
efb3f01d
SM
105242013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10525
36c0a301
SM
10526 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10527 global bindings.
10528
efb3f01d
SM
10529 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10530
fb549d64
DG
105312013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10532
10533 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10534 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10535 to nil.
10536 (ruby-end-of-defun): Remove the unused arg, change the docstring
10537 to reflect that this function is only used as the value of
10538 `end-of-defun-function'.
10539 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10540 to reflect an earlier change that beginning/end-of-defun functions
10541 jump between methods in a class definition, as well as top-level
10542 functions.
10543
21e8fe2f
SM
105442013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10545
10546 * minibuffer.el (minibuffer-complete): Don't just scroll
10547 a *Completions* that's been iconified.
10548 (minibuffer-force-complete): Make sure repetitions do cycle when going
10549 through completion-in-region -> minibuffer-complete.
10550
20e527d0
AM
105512013-04-15 Alan Mackenzie <acm@muc.de>
10552
10553 Correct the placement of c-cpp-delimiters when there're #s not at
10554 col 0.
10555
10556 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10557 place a submatch around the #.
21e8fe2f
SM
10558 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10559 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10560 on the #, not BOL.
10561
dabefae5
SM
105622013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10563
10564 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10565 (advice--member-p): New arg `name'.
10566 (advice--add-function, advice-member-p): Use it (bug#14202).
10567
85c9ab64
AM
105682013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10569
10570 Reformulate java imenu-generic-expression.
10571 The old expression contained ill formed regexps.
10572
10573 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10574 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10575 (cc-imenu-java-method-arg-regexp): New defconsts.
10576 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10577 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10578 handling of spaces in the regexp.
10579
0f821d99
AM
105802013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10581
10582 * textmodes/ispell.el (ispell-command-loop): Remove
10583 flyspell highlight of a word when ispell accepts it (bug #14178).
10584
eb922adf
MA
105852013-04-15 Michael Albinus <michael.albinus@gmx.de>
10586
10587 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10588 uses code from the previous `ange-ftp-run-real-handler'.
10589 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10590 only in case that function exist. This is needed for proper
10591 unloading of Tramp.
10592
4d9a0979
TH
105932013-04-15 Tassilo Horn <tsdh@gnu.org>
10594
10595 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10596
10597 * textmodes/reftex.el (reftex-compile-variables): Use it.
10598
a829b0dc
SM
105992013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10600
91e8293c
SM
10601 * files.el (normal-mode): Only use default major-mode if no other mode
10602 was specified.
10603
830aed4d
SM
10604 * emacs-lisp/trace.el (trace-values): New function.
10605
a829b0dc
SM
10606 * files.el: Allow : in local variables (bug#14089).
10607 (hack-local-variable-regexp): New var.
10608 (hack-local-variables-prop-line, hack-local-variables): Use it.
10609
7ae9f0fb
RW
106102013-04-13 Roland Winkler <winkler@gnu.org>
10611
10612 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10613 data before it gets modified by bibtex-beginning-of-entry.
10614
6646e848
RW
106152013-04-13 Roland Winkler <winkler@gnu.org>
10616
10617 * textmodes/bibtex.el (bibtex-url): Doc fix.
10618
106192013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10620
10621 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10622 does not visit a BibTeX file, exclude it from the list of buffers
10623 returned by bibtex-initialize.
10624
0aa3616e
SB
106252013-04-13 Stephen Berman <stephen.berman@gmx.net>
10626
10627 * window.el (split-window): Remove interactive form, since as a
10628 command this function is a special case of split-window-below.
10629 Correct doc string.
10630
011cddd6
RW
106312013-04-12 Roland Winkler <winkler@gnu.org>
10632
10633 * faces.el (read-face-name): Do not override value of arg default.
10634 Allow single faces and strings as default values. Remove those
10635 elements from return value that are not faces.
10636 (describe-face): Simplify.
10637 (face-at-point): New optional args thing and multiple so that this
10638 function can provide the same functionality previously provided by
10639 read-face-name.
10640 (make-face-bold, make-face-unbold, make-face-italic)
10641 (make-face-unitalic, make-face-bold-italic, invert-face)
10642 (modify-face, read-face-and-attribute): Use face-at-point.
10643
10644 * cus-edit.el (customize-face, customize-face-other-window)
10645 * cus-theme.el (custom-theme-add-face)
10646 * face-remap.el (buffer-face-set)
10647 * facemenu.el (facemenu-set-face): Use face-at-point.
10648
f24e0036
MA
106492013-04-12 Michael Albinus <michael.albinus@gmx.de>
10650
10651 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10652
da3cda2d
TH
106532013-04-10 Tassilo Horn <tsdh@gnu.org>
10654
10655 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10656 off leading { and trailing } from field values.
10657
15e54145
SM
106582013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10659
78ce603d
SM
10660 * emacs-lisp/timer.el (timer--check): New function.
10661 (timer--time, timer-set-function, timer-event-handler): Use it.
10662 (timer-set-idle-time): Simplify.
10663 (timer--activate): CSE.
10664 (timer-event-handler): Give more info in error message.
10665 (internal-timer-start-idle): New function, moved from C.
10666
15e54145
SM
10667 * mpc.el (mpc-proc): Add `restart' argument.
10668 (mpc-proc-cmd): Use it.
10669 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10670 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10671 less often.
10672
7144c627
MY
106732013-04-10 Masatake YAMATO <yamato@redhat.com>
10674
10675 * progmodes/sh-script.el: Implement `sh-mode' own
10676 `add-log-current-defun-function' (bug#14112).
10677 (sh-current-defun-name): New function.
10678 (sh-mode): Use the function.
10679
b39792eb
BG
106802013-04-09 Bastien Guerry <bzg@gnu.org>
10681
10682 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10683
8acdeb71
SM
106842013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10685
6fcdab68
SM
10686 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10687
8acdeb71
SM
10688 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10689 timer (bug#14156).
10690
e3e7b504
NF
106912013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10692
10693 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10694 declaration.
10695
201bb296
LL
106962013-04-07 Leo Liu <sdl.web@gmail.com>
10697
10698 * pcmpl-x.el: New file.
10699
ebb19708
DA
107002013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10701
10702 Do not set x-display-name until X connection is established.
10703 This is needed to prevent from weird situation described at
10704 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10705 * frame.el (make-frame): Set x-display-name after call to
10706 window system initialization function, not before.
10707 * term/x-win.el (x-initialize-window-system): Add optional
10708 display argument and use it.
10709 * term/w32-win.el (w32-initialize-window-system):
10710 * term/ns-win.el (ns-initialize-window-system):
10711 * term/pc-win.el (msdos-initialize-window-system):
10712 Add compatible optional display argument.
10713
33bb237a
EZ
107142013-04-06 Eli Zaretskii <eliz@gnu.org>
10715
10716 * files.el (normal-backup-enable-predicate): On MS-Windows and
10717 MS-DOS compare truenames of temporary-file-directory and of the
10718 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10719 don't fail comparison by compare-strings. Also, compare file
10720 names case-insensitively on MS-Windows and MS-DOS.
10721
134abf1f
SM
107222013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10723
10724 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10725 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10726
d695cb94
DG
107272013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10728
e3e7b504
NF
10729 * whitespace.el (whitespace-color-on, whitespace-color-off):
10730 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10731
f4ad7ea1 107322013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10733
10734 * ispell.el (ispell-set-spellchecker-params):
10735 Really set `ispell-args' for all equivs.
10736
632556e4
SM
107372013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * ido.el (ido-completions): Use extra elements of ido-decorations
10740 (bug#14143).
10741 (ido-decorations): Update docstring.
10742
2a417372
MA
107432013-04-05 Michael Albinus <michael.albinus@gmx.de>
10744
10745 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10746 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10747 nil during initialization, in order not to miss changes since the
10748 file was opened. (Bug#14140)
10749
fc164b0c
LL
107502013-04-05 Leo Liu <sdl.web@gmail.com>
10751
10752 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10753
0ccecc08
JB
107542013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10755
10756 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10757
51af1aa2
GM
107582013-04-04 Glenn Morris <rgm@gnu.org>
10759
10760 * electric.el (electric-pair-inhibit-predicate): Add :version.
10761
b208ebc6
SM
107622013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10765 when a package is required several times (bug#14082).
10766
f3d3eaf0
RW
107672013-04-04 Roland Winkler <winkler@gnu.org>
10768
10769 * faces.el (read-face-name): Behave as promised by the docstring.
10770 Assume that arg default is a list of faces.
10771 (describe-face): Call read-face-name with list of default faces.
10772
2575da50
TV
107732013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10774
10775 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10776 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10777 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10778 the header.
10779 (bookmark-exit-hook-internal): Save even if list is empty.
10780
397703b4
YH
107812013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10782
10783 * emacs-lisp/package.el (package-pinned-packages): New var.
10784 (package--add-to-archive-contents): Obey it (bug#14118).
10785
691e26ae
AM
107862013-04-03 Alan Mackenzie <acm@muc.de>
10787
8a621d53
JB
10788 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10789 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10790
10791 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10792 parameter `not-in-delimiter'. Handle being inside comment opener.
10793 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10794 character in case we're typing a '*' after a '/'.
10795 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10796 instead by passing the parameter to c-state-pp-to-literal.
10797
10798 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10799 for elt. 7 of a parse state.
10800
4b725a70
PE
108012013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10802
10803 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10804 * international/latin1-disp.el, international/mule-util.el:
10805 * language/cyril-util.el, language/european.el, language/ind-util.el:
10806 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10807 * language/tibetan.el, language/viet-util.el:
10808 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10809
15c579f0
SM
108102013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10811
10812 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10813 (electric-pair-post-self-insert-function): Use it.
10814 (electric-pair-default-inhibit): New function, extracted from
10815 electric-pair-post-self-insert-function.
10816
a77e2924
RW
108172013-03-31 Roland Winkler <winkler@gnu.org>
10818
10819 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10820
2bd8a4a8
SM
108212013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10822
10823 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10824
8d3655be 108252013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10826
10827 Un-indent after "pass" and "return" statements (Bug#13888)
10828 * progmodes/python.el (python-indent-block-enders): New var.
10829 (python-indent-calculate-indentation): Use it.
10830
8d3655be 108312013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10832
10833 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10834 defun. Defining it as defalias could introduce too eager
10835 byte-compiler optimization. (Bug#14030)
10836
8d3655be 108372013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10838
10839 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10840
0b1619da
LL
108412013-03-30 Leo Liu <sdl.web@gmail.com>
10842
10843 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10844 (kmacro-execute-from-register): Pass the keyboard macro to
10845 kmacro-call-macro or repeating won't work correctly.
10846
0b938190
TZ
108472013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10848
10849 * progmodes/subword.el: Back to using `forward-symbol'.
10850
10851 * subr.el (forward-whitespace, forward-symbol)
10852 (forward-same-syntax): Move from thingatpt.el.
10853
35710234
LL
108542013-03-29 Leo Liu <sdl.web@gmail.com>
10855
10856 * kmacro.el (kmacro-to-register): New command.
10857 (kmacro-execute-from-register): New function.
10858 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10859
efc0bb73
SM
108602013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10861
10862 * mpc.el: Use defvar-local and setq-local.
10863 (mpc--proc-connect): Connection failures are not bugs.
10864 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10865 (mpc-volume-map): Bind to the up-events.
10866
75a2f981
TZ
108672013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10868
10869 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10870 instead of `forward-symbol'.
10871
17c781d1
SM
108722013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10873
10874 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10875 (edebug--recursive-edit): Use it.
10876 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10877 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10878
f67bfbcf
LL
108792013-03-28 Leo Liu <sdl.web@gmail.com>
10880
10881 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10882
b59f639d
EZ
108832013-03-27 Eli Zaretskii <eliz@gnu.org>
10884
10885 * facemenu.el (list-colors-callback): New defvar.
10886 (list-colors-redisplay): New function.
10887 (list-colors-display): Install list-colors-redisplay as the
10888 revert-buffer-function. (Bug#14063)
10889
f557c1b1
SM
108902013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10891
b1da2957
SM
10892 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10893 and suffixes don't overlap (bug#14061).
10894
f557c1b1
SM
10895 * case-table.el: Use lexical-binding.
10896 (case-table-get-table): New function.
10897 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10898
002668e1
TZ
108992013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10900
10901 * progmodes/subword.el: Add `superword-mode' to do word motion
10902 over symbol_words (parallels and leverages `subword-mode' which
10903 does word motion inside MixedCaseWords).
10904
73572c72
AG
109052013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10906
78b8f320 10907 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10908 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10909
69b2c07e
SM
109102013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10911
10912 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10913 Change return value to be a sexp. Delay `get-buffer' to after
10914 restoring the desktop (bug#13951).
10915
08bb5ee2
LL
109162013-03-26 Leo Liu <sdl.web@gmail.com>
10917
10918 * register.el: Move semantic tag handling back to
10919 cedet/semantic/senator.el. (Bug#14052)
10920
8d4c974e
SM
109212013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10922
10923 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10924 into the prompt either (bug#13963).
10925
b234d92c
SM
109262013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10927
10928 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10929 part of "(error-foo)".
10930
ddfa3cb4
JL
109312013-03-24 Juri Linkov <juri@jurta.org>
10932
10933 * replace.el (list-matching-lines-prefix-face): New defcustom.
10934 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10935 `occur-engine' if `face-differs-from-default-p' returns t.
10936 (occur-engine): Add `,' inside backquote construct to evaluate
10937 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10938 Pass `prefix-face' to the functions `occur-context-lines' and
10939 `occur-engine-add-prefix'.
10940 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10941 `prefix-face' and propertize the prefix with `prefix-face'.
10942 (Bug#14017)
10943
7b0e2f85
LL
109442013-03-24 Leo Liu <sdl.web@gmail.com>
10945
10946 * nxml/rng-valid.el (rng-validate-while-idle)
10947 (rng-validate-quick-while-idle): Guard against deleted buffer.
10948 (Bug#13999)
10949
10950 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10951 is the last entry in kill-buffer-hook.
10952
10953 * files.el (kill-buffer-hook): Doc fix.
10954
b3082f49
DG
109552013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10956
b234d92c
SM
10957 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10958 Make it safe-local.
bde73d27 10959
b3082f49
DG
10960 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10961
a320a2db
LL
109622013-03-23 Leo Liu <sdl.web@gmail.com>
10963
7e74b0fb
LL
10964 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10965 Remove.
10966
10967 * nxml/rng-valid.el (rng-validate-mode)
10968 (rng-after-change-function, rng-do-some-validation):
10969 * nxml/rng-maint.el (rng-validate-buffer):
10970 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10971 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10972 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10973 (nxml-extend-after-change-region): Use with-silent-modifications.
10974
a320a2db
LL
10975 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10976 timer-idle-list.
10977
10978 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10979 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10980 timer-idle-list. (Bug#13999)
10981
e38e6780
JL
109822013-03-23 Juri Linkov <juri@jurta.org>
10983
10984 * info.el (info-index-match): New face.
10985 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10986 main pattern and add text properties with the new face to matches
10987 in index entries relative to the beginning of the index entry.
10988 (Bug#14015)
10989
e8cc7880
DE
109902013-03-21 Eric Ludlam <zappo@gnu.org>
10991
10992 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10993 Inhibit read only while inserting objects.
10994
9bb0d822
TZ
109952013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10996
10997 * progmodes/cfengine.el: Update docs to mention
10998 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10999 symbol motion. Remove "_" from the word syntax.
11000
aa703640
TZ
110012013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11002
11003 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11004 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11005
afff09d0
JL
110062013-03-20 Juri Linkov <juri@jurta.org>
11007
11008 * info.el (Info-next-reference-or-link)
11009 (Info-prev-reference-or-link): New functions.
11010 (Info-next-reference, Info-prev-reference): Use them.
11011 (Info-try-follow-nearest-node): Handle footnote navigation.
11012 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11013
9a1ff164
SM
110142013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11017 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11018
2667d15d
PE
110192013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11020
11021 Suppress unnecessary non-ASCII chatter during build process.
11022 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11023 (batch-skkdic-convert): Suppress most of the chatter.
11024 It's not needed so much now that machines are faster,
11025 and its non-ASCII component was confusing; see Dmitry Gutov in
11026 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11027
438b0579
LL
110282013-03-20 Leo Liu <sdl.web@gmail.com>
11029
11030 * ido.el (ido-chop): Fix bug#10994.
11031
c128ab07
DG
110322013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11033
11034 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11035 Remove vars.
9a1ff164
SM
11036 (whitespace-color-on, whitespace-color-off):
11037 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11038
0e6008c5
SM
110392013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11040
11041 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11042 remapping in mode-line.
11043 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11044
627b52b0
DG
110452013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11046
11047 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11048 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11049 (whitespace-font-lock-keywords): Change description.
11050 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11051 the constructed keywords instead.
11052 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11053
50c3a20b
LL
110542013-03-19 Leo Liu <sdl.web@gmail.com>
11055
11056 * progmodes/compile.el (compilation-display-error): New command.
11057 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11058 C-o. (Bug#13992)
11059
2aa2157b
PE
110602013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11061
11062 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11063
e477dbfa
JD
110642013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11065
11066 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11067
64ab82d1
MA
110682013-03-18 Michael Albinus <michael.albinus@gmx.de>
11069
11070 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11071
11072 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11073 * net/tramp-gvfs.el (top):
11074 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11075 (tramp-handle-shell-command): Use it.
11076 (tramp-dissect-file-name): Raise an error when hostname is a
11077 method name, and neither method nor user is specified.
11078
11079 * net/trampver.el: Update release number.
11080
33cef733
LL
110812013-03-18 Leo Liu <sdl.web@gmail.com>
11082
11083 Make sure eldoc can be turned off properly.
11084 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11085 eldoc-mode.
11086 (eldoc-display-message-p): Revert last change.
11087 (eldoc-display-message-no-interference-p)
11088 (eldoc-print-current-symbol-info): Tweak.
11089
2167b7b2
TH
110902013-03-18 Tassilo Horn <tsdh@gnu.org>
11091
11092 * doc-view.el (doc-view-new-window-function): Check the new window
11093 overlay's display property instead the char property of the
11094 buffer's first char. Use `with-selected-window' instead of
11095 `save-window-excursion' with `select-window'.
11096 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11097 display property instead the char property of the buffer's first char.
2167b7b2 11098
982efbcd
PE
110992013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11100
11101 Automate the build of ja-dic.el (Bug#13984).
11102 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11103 from the input, rather than assume that it's been done for us by the
11104 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11105 the current date into a ja-dic.el comment, as that complicates
11106 regression testing.
11107
2fcc7665
SM
111082013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11109
11110 * whitespace.el: Fix double evaluation.
11111 (whitespace-space, whitespace-hspace, whitespace-tab)
11112 (whitespace-newline, whitespace-trailing, whitespace-line)
11113 (whitespace-space-before-tab, whitespace-indentation)
11114 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11115 obsolete defvars.
11116 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11117 (whitespace-color-on): Use a single font-lock-add-keywords call.
11118 Fix double-evaluation of face variables.
11119
67c0a6e6
MA
111202013-03-17 Michael Albinus <michael.albinus@gmx.de>
11121
2fcc7665
SM
11122 * net/tramp-adb.el (tramp-adb-parse-device-names):
11123 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11124 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11125
69489f1d
LL
111262013-03-17 Leo Liu <sdl.web@gmail.com>
11127
11128 Extend eldoc to display info in the mode-line. (Bug#13978)
11129 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11130 (eldoc-mode-line-string): New variable.
11131 (eldoc-minibuffer-message): New function.
11132 (eldoc-message-function): New variable.
11133 (eldoc-message): Use it.
11134 (eldoc-display-message-p)
2fcc7665
SM
11135 (eldoc-display-message-no-interference-p):
11136 Support eldoc-post-insert-mode.
69489f1d
LL
11137
11138 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11139 (eval-expression): Run it.
11140
9c44569e
RW
111412013-03-17 Roland Winkler <winkler@gnu.org>
11142
11143 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11144 strings in the list of return values.
11145
327f1f6f
JB
111462013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11147
11148 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11149 radix before checking for HMS forms.
11150
67ed8fcd
LL
111512013-03-16 Leo Liu <sdl.web@gmail.com>
11152
11153 * progmodes/scheme.el: Add indentation and font-locking for λ.
11154 (Bug#13975)
11155
78be8b64 111562013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11157
11158 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11159 token before point (bug#13942).
11160
78be8b64 111612013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11162
95b43468 11163 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11164
98e775e6
EZ
111652013-03-16 Eli Zaretskii <eliz@gnu.org>
11166
11167 * startup.el (command-line-normalize-file-name): Fix handling of
11168 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11169 <xfq.free@gmail.com> in
11170 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11171
2edd6029
MA
111722013-03-15 Michael Albinus <michael.albinus@gmx.de>
11173
11174 Sync with Tramp 2.2.7.
11175
11176 * net/trampver.el: Update release number.
11177
d35f5864
TH
111782013-03-14 Tassilo Horn <tsdh@gnu.org>
11179
e903c210 11180 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11181 (doc-view-insert-image): Don't modify overlay associated to
11182 non-live windows, and implement horizontal centering of image in
11183 case it's smaller than the window.
11184 (doc-view-new-window-function): Force redisplay of new windows on
11185 doc-view buffers.
d35f5864 11186
1c4a85ed
KF
111872013-03-13 Karl Fogel <kfogel@red-bean.com>
11188
11189 * saveplace.el (save-place-alist-to-file): Don't sort
11190 `save-place-alist', just pretty-print it (bug#13882).
11191
85b66a21
MA
111922013-03-13 Michael Albinus <michael.albinus@gmx.de>
11193
a020afb9
JB
11194 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11195 Check whether `default-file-name-coding-system' is bound.
11196 It isn't in XEmacs.
85b66a21 11197
175600da
SM
111982013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11199
e7f7cb1a
SM
11200 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11201 backquotes for `obsolete' (bug#13929).
11202
175600da
SM
11203 * international/mule.el (find-auto-coding): Include file name in
11204 obsolescence warning (bug#13922).
11205
ca68a22e
TZ
112062013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11207
11208 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11209 for CFEngine 3-specific indentation.
11210 (cfengine3-indent-line): Use it. Fix up category regex.
11211 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11212
940e5099
SM
112132013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * type-break.el (type-break-file-name):
11216 * textmodes/remember.el (remember-data-file):
11217 * strokes.el (strokes-file):
11218 * shadowfile.el (shadow-initialize):
11219 * saveplace.el (save-place-file):
11220 * ps-bdf.el (bdf-cache-file):
11221 * progmodes/idlwave.el (idlwave-config-directory):
11222 * net/quickurl.el (quickurl-url-file):
11223 * international/kkc.el (kkc-init-file-name):
11224 * ido.el (ido-save-directory-list-file):
11225 * emulation/viper.el (viper-custom-file-name):
11226 * emulation/vip.el (vip-startup-file):
11227 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11228 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11229
cc725808
PE
112302013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11231
11232 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11233 * language/thai-word.el: Switch to UTF-8.
11234
a020afb9 11235See ChangeLog.16 for earlier changes.
e3d51b27
MR
11236
11237;; Local Variables:
11238;; coding: utf-8
e3d51b27
MR
11239;; End:
11240
ab422c4d 11241 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11242
11243 This file is part of GNU Emacs.
11244
11245 GNU Emacs is free software: you can redistribute it and/or modify
11246 it under the terms of the GNU General Public License as published by
11247 the Free Software Foundation, either version 3 of the License, or
11248 (at your option) any later version.
11249
11250 GNU Emacs is distributed in the hope that it will be useful,
11251 but WITHOUT ANY WARRANTY; without even the implied warranty of
11252 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11253 GNU General Public License for more details.
11254
11255 You should have received a copy of the GNU General Public License
11256 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.