* lisp/vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0cda6b7b
JL
12013-12-18 Juri Linkov <juri@jurta.org>
2
3 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4 to the default list. Move `log-edit-show-files' to the end.
5 Add more available functions to options.
6 (log-edit): Move default specific settings to
7 `log-edit-insert-message-template'. Don't move point.
8 (log-edit-insert-message-template): New function.
9 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
10 (Bug#16170)
11
b216f0a6
JL
122013-12-18 Juri Linkov <juri@jurta.org>
13
14 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
15 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
16
1d1c55dc
LL
172013-12-18 Leo Liu <sdl.web@gmail.com>
18
19 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
20
64e4c76e
EZ
212013-12-18 Eli Zaretskii <eliz@gnu.org>
22
23 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
24 formats for displaying file sizes when the -s switch is given.
25 Instead, compute a separate format for displaying the size in
26 blocks, which is displayed in addition to the "regular" size.
27 When -h is given in addition to -s, produce size in blocks in
28 human-readable form as well. (Bug#16179)
29
b2984e39
TH
302013-12-18 Tassilo Horn <tsdh@gnu.org>
31
32 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference
33 tables with ~\ref{...} instead of only \ref{...}.
34
50ff2e06
CY
352013-12-18 Chong Yidong <cyd@gnu.org>
36
0081bc84
CY
37 * cus-edit.el (custom-magic-alist): Fix "themed" description
38 (Bug#14348).
39
a7ee9424
CY
40 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
41 is non-nil, do not create a new entry in the symbol's theme-value
42 or theme-face property; update theme-settings only (Bug#14664).
18874304 43 (custom-available-themes): Doc fix.
a7ee9424 44
8f942537
CY
45 * cus-theme.el (custom-new-theme-mode-map): Add bindings
46 (Bug#15674).
47
50ff2e06
CY
48 * replace.el (occur-engine): Avoid infloop (Bug#7593).
49
83c60f60
KI
502013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
51
52 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
53 (Bug#13914).
54
ba874b64
SF
552013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
56
57 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
58
1f41ee56
GM
592013-12-18 Glenn Morris <rgm@gnu.org>
60
61 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 62 * cus-start.el (load-prefer-newer): New option.
1f41ee56 63
e82134b1
LW
642013-12-18 Le Wang <l26wang@gmail.com>
65
66 * comint.el (comint-previous-matching-input-from-input): Retain
67 point (Bug#13404).
68
33f5d4c1
CY
692013-12-18 Chong Yidong <cyd@gnu.org>
70
71 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
72
ccc9f6dc
GM
732013-12-18 Glenn Morris <rgm@gnu.org>
74
75 * mail/emacsbug.el (report-emacs-bug):
76 Only mention enable-multibyte-characters if non-standard.
77
33dd8e95
JL
782013-12-17 Juri Linkov <juri@jurta.org>
79
80 * arc-mode.el (archive-extract-by-file): Check if directory exists
81 before deletion to not show irrelevant errors if it doesn't exist.
82
7a409b30
JL
832013-12-17 Juri Linkov <juri@jurta.org>
84
85 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
86 (Bug#14751)
87
88 * net/eww.el (browse-web): Add alias to `eww'.
89 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
90 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
91
92 * net/browse-url.el (browse-url-browser-function): Move `eww'
93 closer to similar functions.
94
95 * startup.el (fancy-startup-screen, fancy-about-screen):
96 Set browse-url-browser-function to eww-browse-url locally.
97 (Bug#14751)
98
2d6b6005
SM
992013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * window.el (window--pixel-to-total): Remove unused `mini' var.
102 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
103 (split-window): Remove unused `new' var.
104 (window--display-buffer): Remove unused `frame' and `delta' vars.
105 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
106 and display-width'.
107
cf2b7efc
MR
1082013-12-17 Martin Rudalics <rudalics@gmx.at>
109
110 * dired.el (dired-mark-pop-up):
111 * register.el (register-preview): Don't bind
112 split-height-threshold here since it's now done in
113 display-buffer-below-selected.
114
ed3af8a7 1152013-12-17 oblique <psyberbits@gmail.com> (tiny change)
116
117 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
118 xterm-rgb-convert-to-16bit.
119 (rxvt-register-default-colors): Standardize with
120 xterm-register-default-colors (Bug#14078).
121
76da3455
DK
1222013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
123
124 * simple.el (kill-region): Pass mark first, then point, so that
125 kill-append works right (Bug#12819).
126 (copy-region-as-kill, kill-ring-save): Likewise.
127
2b84d763
LL
1282013-12-17 Leo Liu <sdl.web@gmail.com>
129
130 * net/rcirc.el (rcirc-add-face):
131 * eshell/em-prompt.el (eshell-emit-prompt):
132 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
133 (Bug#16167)
134
e2f6a0bc
CY
1352013-12-17 Chong Yidong <cyd@gnu.org>
136
137 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
138 Suggested by Xue Fuqiao.
139
35b249a6
DG
1402013-12-17 Dmitry Gutov <dgutov@yandex.ru>
141
142 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
143
e9145444
SM
1442013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * net/shr.el (shr-insert-document): Remove unused var
147 `shr-preliminary-table-render'.
148 (shr-rescale-image): Remove unused arg `force'.
149 (shr-put-image): Update calls accordingly.
150 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
151
5556c0ce
DG
1522013-12-17 Dmitry Gutov <dgutov@yandex.ru>
153
154 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
155 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
156 :close-all, to see which indentation method to use (Bug#16116).
157 (smie-rules-function): Document the method :close-all.
158
11bade0a
LMI
1592013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
160
1c4b1e61
LMI
161 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
162
11bade0a
LMI
163 * net/eww.el (eww-display-html): If we can't find the anchor we're
164 looking for, then go to point-min.
165
8fb8c4f3
PE
1662013-12-16 Paul Eggert <eggert@cs.ucla.edu>
167
168 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
169 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
170 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
171 Expand dir too, in case it's relative.
172
6c8e0ae6
JL
1732013-12-16 Juri Linkov <juri@jurta.org>
174
175 * desktop.el (desktop-auto-save-timeout): Change default to
176 `auto-save-timeout'. Doc fix.
177 (desktop-save): Skip the timestamp in desktop-saved-frameset
178 when checking for auto-save changes.
179 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
180 `desktop-auto-save' is called repeatedly by the idle timer.
181 (desktop-auto-save-set-timer): Replace `run-with-timer' with
182 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
183 (Bug#15331)
184
2178e858
JL
1852013-12-16 Juri Linkov <juri@jurta.org>
186
187 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
188 (Bug#16035)
189 (isearch-pre-command-hook): Check `this-command' for symbolp.
190
39cb42c6
SM
1912013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
194
5b9b750a
TZ
1952013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
196
197 * progmodes/cfengine.el (cfengine3--current-word): Remove.
198 (cfengine3--current-function): Bring in the current-function
199 functionality from `cfengine3--current-word'.
200 (cfengine3-completion-function): Bring in the
201 bounds-of-current-word functionality from
202 `cfengine3--current-word'.
203
d144ef06
MR
2042013-12-16 Martin Rudalics <rudalics@gmx.at>
205
39cb42c6
SM
206 * window.el (display-buffer-below-selected):
207 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 208
a8bbe298
LL
2092013-12-16 Leo Liu <sdl.web@gmail.com>
210
211 * progmodes/compile.el (compile-goto-error): Do not push-mark.
212 Remove NOMSG arg and all uses changed.
213
2013a2f9
SM
2142013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
217 (cua--deactivate-rectangle): Don't deactivate the mark.
218 (cua-set-rectangle-mark): Don't set mark-active since
219 cua--activate-rectangle already does it for us.
220 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
221 non-rectangular region.
222
223 * emulation/cua-base.el (cua-repeat-replace-region):
224 Use with-current-buffer.
225
226 * net/gnutls.el: Use cl-lib.
227 (gnutls-negotiate): `mapcan' -> cl-mapcan.
228
5ae811dd
TZ
2292013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
230
231 * emacs-lisp/package.el (package-built-in-p): Support both
232 built-in and the package.el converted package descriptions.
233 (package-show-package-list): Allow keywords.
234 (package-keyword-button-action): Use it instead of
235 `finder-list-matches'.
236 (package-menu-filter-interactive): Interactive filtering (by
237 keyword) function.
238 (package-menu--generate): Support keywords and change keymappings
239 and headers when they are given.
240 (package--has-keyword-p): Helper function.
241 (package-menu--refresh): Use it.
242 (package--mapc): Helper function.
243 (package-all-keywords): Use it.
244 (package-menu-mode-map): Set up menu items and keybindings to
245 provide a filtering UI.
246
31b4827e
TZ
2472013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
248
249 * net/gnutls.el (gnutls-verify-error): New defcustom to control
250 the behavior when a certificate fails validation. Defaults to
251 old behavior: never abort, just warn.
252 (gnutls-negotiate): Use it.
253
f93cc74f
MR
2542013-12-14 Martin Rudalics <rudalics@gmx.at>
255
256 * window.el (display-buffer-below-selected): Never split window
257 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
258
f77d7d17
TW
2592013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
260
261 * emacs-lisp/package.el (package--prepare-dependencies): New function.
262 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
263
264 * icomplete.el (icomplete-completions): Make sure the prefix is already
265 displayed elsewhere before hiding it.
266
276bc333
DG
2672013-12-14 Dmitry Gutov <dgutov@yandex.ru>
268
269 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
270 open-paren tokens when preceded by a open-paren, too.
271 (ruby-smie-rules): Handle virtual indentation after open-paren
272 tokens specially. If there is code between it and eol, return the
273 column where is starts (Bug#16118).
274
d43957f3
TZ
2752013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
276
a5c1ac0c 277 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 278 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
279 (cfengine3--current-word): Fix parameters.
280 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
281 (cfengine3-completion-function, cfengine3--current-function):
282 Use `assq' for symbols.
d43957f3
TZ
283 (cfengine3--current-function): Fix `cfengine3--current-word' call.
284
06a4f110
GM
2852013-12-13 Glenn Morris <rgm@gnu.org>
286
287 * loadup.el (load-path): Warn if site-load or site-init changes it.
288 No more need to reset it when bootstrapping.
289
978a5fda
TZ
2902013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
291
292 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
293 locations for cf-promises.
294 (cfengine-mode-syntax-functions-regex): New caching variable.
295 (cfengine3-fallback-syntax): Fallback syntax for cases where
296 cf-promises doesn't run.
297 (cfengine3--current-word): Reimplement using
298 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
299 (cfengine3-completion-function, cfengine3--current-function):
300 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
301 (cfengine3-clear-syntax-cache): New function.
302 (cfengine3-make-syntax-cache): Simplify and create
303 `cfengine-mode-syntax-functions-regex' on demand.
304 (cfengine3-format-function-docstring): Don't call
305 `cfengine3-make-syntax-cache' explicitly.
306
71e6691e
MR
3072013-12-13 Martin Rudalics <rudalics@gmx.at>
308
309 Fix windmove-find-other-window broken after pixelwise resizing
310 (Bug#16017).
311 * windmove.el (windmove-other-window-loc): Revert change from
312 2013-12-04.
313 (windmove-find-other-window): Call window-in-direction.
314 * window.el (window-in-direction): New arguments SIGN, WRAP and
315 MINI to emulate original windmove-find-other-window behavior.
316
84c73ba0
DG
3172013-12-13 Dmitry Gutov <dgutov@yandex.ru>
318
319 * simple.el (blink-matching--overlay): New variable.
320 (blink-matching-open): Instead of moving point, highlight the
321 matching paren with an overlay
322 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
323
324 * faces.el (paren-showing-faces, show-paren-match)
325 (show-paren-mismatch): Move from paren.el.
326
b9e20952
LL
3272013-12-13 Leo Liu <sdl.web@gmail.com>
328
329 * indent.el (indent-region): Disable progress reporter in
330 minibuffer. (Bug#16108)
331
332 * bindings.el (visual-order-cursor-movement): Fix version.
333
ce030451
FEG
3342013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
335
336 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
337 Also match after beginning of line.
338 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
339 files. Thanks to Russell Sim. (Bug#15378)
340
4a9c6865
JL
3412013-12-13 Juri Linkov <juri@jurta.org>
342
343 * simple.el <Keypad support>: Remove key bindings duplicated
344 with bindings.el. (Bug#14397)
345
2bc170c3
JL
3462013-12-13 Juri Linkov <juri@jurta.org>
347
348 * comint.el (comint-mode-map): Replace `delete-char' with
349 `delete-forward-char'. (Bug#16109)
350
bc9222c9
FEG
3512013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
352
aa2bddd7
SM
353 * progmodes/python.el (python-indent-calculate-indentation):
354 Fix de-denters cornercase. (Bug#15731)
bc9222c9 355
cb3a1380
SM
3562013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
359 (advice--make): Pay attention to `depth'.
360 (advice--make-1): Don't autoload commands eagerly.
361 * emacs-lisp/elp.el (elp-instrument-function):
362 * emacs-lisp/trace.el (trace-function-internal):
363 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
364
365 * iswitchb.el (iswitchb-mode): Don't belittle ido.
366
01633a17
EZ
3672013-12-12 Eli Zaretskii <eliz@gnu.org>
368
369 * term/w32-win.el (w32-handle-dropped-file):
370 * startup.el (normal-top-level):
371 * net/browse-url.el (browse-url-file-url):
372 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
373 decode file names using 'utf-8' rather than
374 file-name-coding-system.
375
09faee72
FEG
3762013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
377
378 * progmodes/python.el (python-indent-context)
379 (python-indent-calculate-indentation): Fix auto-identation
380 behavior for comment blocks. (Bug#15916)
381
f4f84024 3822013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 383
cb3a1380
SM
384 * progmodes/python.el (python-indent-calculate-indentation):
385 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
386 operators when they are just string constituents. (Bug#15812)
387
d5ccb7be
JL
3882013-12-12 Juri Linkov <juri@jurta.org>
389
390 * uniquify.el (uniquify-buffer-name-style): Change default to
391 `post-forward-angle-brackets'.
392
393 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
394 `uniquify'. Change default to `post-forward-angle-brackets'.
395
7b3f5679
GM
3962013-12-11 Glenn Morris <rgm@gnu.org>
397
398 * emacs-lisp/package.el (finder-list-matches):
399 Autoload rather than falsely declaring.
400
f4fe8fdd
TZ
4012013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
402
403 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
404 (eww-mode-map): Use them.
405
3c29190f
MR
4062013-12-11 Martin Rudalics <rudalics@gmx.at>
407
408 * window.el (display-buffer-in-side-window): Fix doc-string
409 (Bug#16115).
410
0cd616a2
JB
4112013-12-11 Juanma Barranquero <lekktu@gmail.com>
412
413 * vc/vc-git.el: Silence byte-compiler warnings.
414 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
415 (log-edit-set-header): Declare.
416
3ef8e0d1
EZ
4172013-12-11 Eli Zaretskii <eliz@gnu.org>
418
419 * Makefile.in (custom-deps, finder-data): Run output file names
420 through unmsys--file-name. (Bug#16099)
421
afdadaf7
SM
4222013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
423
7ae3ae39 424 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 425 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 426
5b4f37ab
SM
427 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
428 instead of deleting the selection "by hand" (bug#16098).
429 Rely on insert-for-yank to yank rectangles.
430 (cua-highlight-region-shift-only): Mark obsolete.
431 (cua-mode): Don't enable/disable transient-mark-mode,
432 shift-select-mode (cua-mode works both with and without them), and
433 pc-selection-mode (obsolete).
434 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
435 (cua--deactivate-rectangle): Deactivate it.
436
4b72c12b
SM
437 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
438 (delete-selection-helper): Make sure yank starts at the top of the
439 deleted region.
440 (minibuffer-keyboard-quit): Use region-active-p.
441
e82af72d
SM
442 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
443
afdadaf7
SM
444 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
445 to `delete' (bug#16109).
446
ed4bc201
RS
4472013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
448
449 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
450 info manual and show keybindings and set `:group' keyword.
451
bb8097b9
JL
4522013-12-11 Juri Linkov <juri@jurta.org>
453
454 * delsel.el (delete-active-region): Let-bind `this-command'
455 to prevent `kill-region' from changing its original value.
456 (delete-selection-helper): Handle `overwrite-mode' for the type
457 `kill' exactly the same way as for the type `t'.
458 (insert-char, quoted-insert, reindent-then-newline-and-indent):
459 Support more commands. (Bug#13312)
460
c1916ff5
JL
4612013-12-11 Juri Linkov <juri@jurta.org>
462
463 * bindings.el: Map kp keys to non-kp keys systematically
464 with basic modifiers control, meta and shift. (Bug#14397)
465
b68cf43c
KN
4662013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
467
468 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
469 "Close browser" menu items. Fix wrong function of "List
470 bookmarks".
471
4cc51eaf
JL
4722013-12-11 Juri Linkov <juri@jurta.org>
473
474 * misearch.el (multi-isearch-buffers): Set the value of
475 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
476 arg of isearch-forward to t.
477 (multi-isearch-buffers-regexp): Set the value of
478 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
479 arg of isearch-forward-regexp to t.
480 (multi-isearch-files): Set the value of
481 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
482 arg of isearch-forward to t.
483 (multi-isearch-files-regexp): Set the value of
484 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
485 arg of isearch-forward-regexp to t. (Bug#16035)
486
487 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
488 arg of isearch-forward to t.
489 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
490 arg of isearch-forward-regexp to t.
491 (dired-isearch-filter-filenames): Remove unnecessary check for
492 `dired-isearch-filenames'.
493
494 * comint.el (comint-history-isearch-backward):
495 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
496 (comint-history-isearch-backward-regexp):
497 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
498
ceac12b7
EZ
4992013-12-10 Eli Zaretskii <eliz@gnu.org>
500
501 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
502 unmsys--file-name. (Bug#16099)
503
5a565782
TZ
5042013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
505
cb3a1380
SM
506 * emacs-lisp/package.el (package-keyword-button-action):
507 Remove finder.el require dependency.
5a565782 508
a81fc7ba
TZ
5092013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
510
511 * emacs-lisp/package.el: Require finder.el.
512 (describe-package-1): Add keyword buttons.
513 (package-make-button): New convenience function.
514 (package-keyword-button-action): Keyword button action using
515 `finder-list-matches'
516
6aaca951
EZ
5172013-12-09 Eli Zaretskii <eliz@gnu.org>
518
519 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
520 last commit.
521
a1099a91
MA
5222013-12-09 Michael Albinus <michael.albinus@gmx.de>
523
524 * autorevert.el (auto-revert-notify-add-watch): Do not handle
525 symlinked files.
526
8212d9c0
DG
5272013-12-09 Dmitry Gutov <dgutov@yandex.ru>
528
529 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
530 after the end of a percent literal.
531
8f48d131
CD
5322013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
533
cb3a1380
SM
534 * progmodes/ruby-mode.el (ruby-forward-string): Document.
535 Handle caret-delimited strings (Bug#16079).
8f48d131 536
ff8c9764
DG
5372013-12-09 Dmitry Gutov <dgutov@yandex.ru>
538
cb3a1380
SM
539 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
540 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
541 `ruby-parse-partial' (Bug#16078).
542
d64643b4
LL
5432013-12-09 Leo Liu <sdl.web@gmail.com>
544
545 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
546
47e59c66
DG
5472013-12-08 Dmitry Gutov <dgutov@yandex.ru>
548
549 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
550 (js-switch-indent-offset): New option.
551 (js--proper-indentation): Use it. And handle the case when
552 "default" is actually a key in an object literal.
553 (js--same-line): New function.
554 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
555 (js--indent-in-array-comp, js--array-comp-indentation):
556 New functions.
47e59c66
DG
557 (js--proper-indentation): Use them, to handle array comprehension
558 continuations.
559
974ebc9c
LL
5602013-12-08 Leo Liu <sdl.web@gmail.com>
561
562 * progmodes/flymake.el (flymake-highlight-line): Re-write.
563 (flymake-make-overlay): Remove arg MOUSE-FACE.
564 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
565
27262e39
SM
5662013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
567
568 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
569 New function.
570 (redisplay-highlight-region-function): Use it.
571
572 * emulation/cua-base.el (cua--explicit-region-start)
573 (cua--last-region-shifted): Remove.
574 (cua--deactivate): Use deactivate-mark.
575 (cua--pre-command-handler-1): Don't handle shift-selection.
576 (cua--post-command-handler-1): Don't change transient-mark-mode.
577 (cua--select-keymaps): Use region-active-p rather than
578 cua--explicit-region-start or cua--last-region-shifted.
579 (cua-mode): Enable shift-select-mode.
580
6407822c
LL
5812013-12-08 Leo Liu <sdl.web@gmail.com>
582
27262e39
SM
583 * progmodes/flymake.el (flymake-popup-current-error-menu):
584 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
585 (flymake-posn-at-point-as-event, flymake-popup-menu)
586 (flymake-make-emacs-menu): Remove. (Bug#16077)
587
00a2b823
SM
5882013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
589
02033d49
SM
590 * rect.el (rectangle-mark-mode): Activate mark even if
591 transient-mark-mode is off (bug#16066).
592 (rectangle--highlight-for-redisplay): Fix boundary condition when point
593 is > mark and at bolp.
594
6f8dfccf
SM
595 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
596 (region-extract-function): Use it.
597 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
598 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
599 Delete functions.
600 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
601 kill-ring-save, kill-region, delete-char, delete-forward-char.
602 Ignore self-insert-iso.
603
604 * emulation/cua-gmrk.el (cua--init-global-mark):
605 Ignore `self-insert-iso'.
606
607 * emulation/cua-base.el (cua--prefix-copy-handler)
608 (cua--prefix-cut-handler): Rely on region-extract-function rather than
609 checking cua--rectangle.
610 (cua-delete-region): Use region-extract-function.
611 (cua-replace-region): Delete function.
612 (cua-copy-region, cua-cut-region): Obey region-extract-function.
613 (cua--pre-command-handler-1): Don't do the delete-selection thing.
614 (cua--self-insert-char-p): Ignore `self-insert-iso'.
615 (cua--init-keymaps): Don't remap delete-selection commands.
616 (cua-mode): Use delete-selection-mode instead of rolling our own
617 (bug#16085).
618
619 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
620 Obey region-extract-function.
621
00a2b823
SM
622 Make registers and delete-selection-mode work on rectangles.
623 * register.el (describe-register-1): Don't modify the register's value.
624 (copy-to-register): Obey region-extract-function.
625 * delsel.el (delete-active-region): Obey region-extract-function.
626
a92fa5f1
LL
6272013-12-08 Leo Liu <sdl.web@gmail.com>
628
629 * progmodes/flymake.el (flymake, flymake-error-bitmap)
630 (flymake-warning-bitmap, flymake-fringe-indicator-position)
631 (flymake-compilation-prevents-syntax-check)
632 (flymake-start-syntax-check-on-newline)
633 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
634 (flymake-start-syntax-check-on-find-file, flymake-log-level)
635 (flymake-xml-program, flymake-master-file-dirs)
636 (flymake-master-file-count-limit)
637 (flymake-allowed-file-name-masks): Relocate.
638 (flymake-makehash, flymake-float-time)
639 (flymake-replace-regexp-in-string, flymake-split-string)
640 (flymake-get-temp-dir): Remove.
641 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
642 (flymake-current-row, flymake-selected-frame)
643 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
644 related functions. (Bug#16077)
645
73c8ceea
BB
6462013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
647
648 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
649
faec28d9
TH
6502013-12-07 Tassilo Horn <tsdh@gnu.org>
651
652 * help-fns.el (describe-function-1): Use new advice-* functions
653 rather than old ad-* functions. Fix function type description and
654 source links for advised functions and subrs.
655
e330b646
LMI
6562013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
657
00a2b823 658 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 659
4803595d
MA
6602013-12-06 Michael Albinus <michael.albinus@gmx.de>
661
662 * progmodes/compile.el (compilation-start):
663 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
664
665 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
666 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
667
fa834a93
DG
6682013-12-06 Dmitry Gutov <dgutov@yandex.ru>
669
00a2b823
SM
670 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
671 Touch up the last change.
fa834a93 672
b2856a6f
LL
6732013-12-06 Leo Liu <sdl.web@gmail.com>
674
675 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
676 (inferior-octave-startup): Always use "octave> " for prompt.
677 (octave-goto-function-definition)
678 (octave-sync-function-file-names)
679 (octave-find-definition-default-filename): Remove redundant backquotes.
680
af67e79a
DG
6812013-12-06 Dmitry Gutov <dgutov@yandex.ru>
682
683 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
684 syntax for `?'.
685 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
686 where appropriate already.
687 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
688 end of method names (Bug#15874).
689
bf093209
JL
6902013-12-06 Juri Linkov <juri@jurta.org>
691
692 * isearch.el (isearch--saved-overriding-local-map):
693 New internal variable.
694 (isearch-mode): Set it to the initial value of
695 `overriding-terminal-local-map'.
696 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
697 with `isearch--saved-overriding-local-map'. (Bug#16035)
698
16588fad
DG
6992013-12-06 Dmitry Gutov <dgutov@yandex.ru>
700
00a2b823
SM
701 * progmodes/octave.el (inferior-octave-completion-table):
702 Turn back into function, use `completion-table-with-cache'
16588fad
DG
703 (Bug#11906). Update all references.
704
705 * minibuffer.el (completion-table-with-cache): New function.
706
bf4906d7
CD
7072013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
708
709 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
710
ff69c18f
TZ
7112013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
712
713 * net/eww.el (eww-current-source): New variable to store page
714 source.
715 (eww-display-html, eww-mode, eww-save-history)
716 (eww-restore-history): Use it.
717 (eww-view-source): New command to view page source.
718 Opportunistically uses `html-mode' to highlight the buffer.
719 (eww-mode-map): Install it.
720
b85eff45
MA
7212013-12-05 Michael Albinus <michael.albinus@gmx.de>
722
723 * net/dbus.el (dbus-unregister-service)
724 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
725 Fix docstring.
726 (dbus-unregister-service): Skip :serial entries in
727 `dbus-registered-objects-table'.
728 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
729
39eb0899
TZ
7302013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
731
732 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
733 around keywords with extra `split-string' argument.
734
456760a5
MR
7352013-12-04 Martin Rudalics <rudalics@gmx.at>
736
737 * windmove.el (windmove-other-window-loc): Handle navigation
738 between windows (excluding the minibuffer window - Bug#16017).
739
81961e4c
MA
7402013-12-04 Michael Albinus <michael.albinus@gmx.de>
741
742 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
743 in D-Bus type syntax.
744 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
745 preserve unibyte strings. (Bug#16048)
746
8497f938
SM
7472013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
750 Call force-mode-line-update is the proper buffer (bug#16042).
751
dda61916
DG
7522013-12-04 Dmitry Gutov <dgutov@yandex.ru>
753
754 * vc/log-edit.el (log-edit-add-new-comment): Rename to
755 `log-edit-remember-comment', make argument optional. Adjust all
756 callers.
757 (log-edit-mode): Add `log-edit-remember-comment' to
758 `kill-buffer-hook' locally.
759 (log-edit-kill-buffer): Don't remember comment explicitly since
760 the buffer is killed anyway.
761
c085e5b9
JL
7622013-12-04 Juri Linkov <juri@jurta.org>
763
764 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
765 add-hook and remove-hook for multi-buffer search. (Bug#16035)
766
d6f2380e
TR
7672013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
768
769 * notifications.el (notifications-close-notification): Call the
81961e4c 770 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 771
39fa32d6
KY
7722013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
773
774 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
775
9139632a
JL
7762013-12-03 Juri Linkov <juri@jurta.org>
777
778 * progmodes/compile.el (compilation-start): Rename window alist
779 entry `no-display-ok' to `allow-no-window'.
780
781 * simple.el (shell-command): Add window alist entry
782 `allow-no-window' to `display-buffer'.
783 (async-shell-command): Doc fix.
784
785 * window.el (display-buffer-no-window): New action function.
786 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
787
0f457a37
DG
7882013-12-02 Dmitry Gutov <dgutov@yandex.ru>
789
790 * vc/log-edit.el (log-edit-set-header): Extract from
791 `log-edit-toggle-header'.
792 (log-edit-extract-headers): Separate the summary, when extracted
793 from header, from the rest of the message with an empty line.
794
795 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
796 line, if present, to the Summary header.
797
0962f376
SM
7982013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
801 in current-buffer (bug#16029).
802
f345395c
HE
8032013-12-02 Helmut Eller <eller.helmut@gmail.com>
804
805 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
806 (debugger-mode-map): Bind it.
807 (debugger--backtrace-base): New function.
808 (debugger-eval-expression): Use it.
809 (debugger-frame-number): Skip local vars when present.
810 (debugger--locals-visible-p, debugger--insert-locals)
811 (debugger--show-locals, debugger--hide-locals): New functions.
812
a8a15d9d
MA
8132013-12-02 Michael Albinus <michael.albinus@gmx.de>
814
815 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
816 "LC_ALL".
817 (tramp-get-remote-locale): New defun.
818 (tramp-open-connection-setup-interactive-shell): Use it.
819
0518b057
LL
8202013-12-02 Leo Liu <sdl.web@gmail.com>
821
822 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
823
824 * progmodes/sh-script.el (sh-shell-process):
825 * progmodes/octave.el (inferior-octave-process-live-p):
826 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
827 (gdb-inferior-io-sentinel):
828 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
829
3adc9c6d
DG
8302013-12-02 Dmitry Gutov <dgutov@yandex.ru>
831
832 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
833 `save-selected-window' to `log-edit-hide-buf'. This makes
834 `log-edit-show-files' idempotent.
835 (log-edit-show-files): Mark the new window as dedicated.
836
47e8b74e
DG
8372013-12-02 Dmitry Gutov <dgutov@yandex.ru>
838
839 * vc/log-edit.el (log-edit-mode-map): Add binding for
840 `log-edit-kill-biffer'.
841 (log-edit-hide-buf): Add a FIXME comment.
842 (log-edit-add-new-comment): New function, extracted from
843 `log-edit-done'.
844 (log-edit-done, log-edit-add-to-changelog): Use it.
845 (log-edit-kill-buffer): New command.
846
1f6e1bb0
LMI
8472013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
848
849 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
850 instead of killing the buffer.
851
fb651d15
SM
8522013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
855
8feacce0
RS
8562013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
857
fb651d15 858 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 859 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
860 (eww-form-checkbox, eww-toggle-checkbox):
861 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
862
863 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
864 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
865 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
866 no :src tag was specified.
867
fb651d15 868 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
869 (eww-render): Handle `eww-use-external-browser-for-content-type'.
870 Use \\` to match beginning of string instead of ^.
871 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 872 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 873
177948a5
RS
874 * net/shr.el (shr-tag-video): Display content for video if no
875 poster is available.
eb2dd24d 876 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
877
878 * net/eww.el (eww-text-input-types): : New const.
879 (eww-process-text-input): Treat input types in
880 `eww-text-input-types' as text.
881
8feacce0
RS
882 * net/shr.el (shr-tag-table): Fix comment typo.
883
513562a1
LMI
8842013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
885
886 * net/eww.el (eww-follow-link): New command to avoid reloading
887 pages when we follow #target links (bug#15243).
de8a5633 888 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 889
9dd99753
KN
8902013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
891
892 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
893 forms.
894
3e9876de
LMI
8952013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
896
897 * net/eww.el (eww-restore-history): Update the window title after
898 moving in the history.
ab6dea82 899 (eww-current-dom): New variable used to save the current DOM.
3e9876de 900
52789f7f
DG
9012013-12-01 Dmitry Gutov <dgutov@yandex.ru>
902
903 * vc/log-edit.el (log-edit-mode-map): Add binding for
904 `log-edit-beginning-of-line'.
905 (log-edit-setup-add-author): New user option.
906 (log-edit-beginning-of-line): New command.
907 (log-edit): Move major mode call above the contents setup so that
908 the local variable values are already applied.
909 (log-edit): Only insert "Author: " when
910 `log-edit-setup-add-author' is non-nil.
911 (log-edit): When SETUP is non-nil, position point after ": "
912 instead of point-min.
913
2e6710c3
GM
9142013-12-01 Glenn Morris <rgm@gnu.org>
915
916 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
917
fadec31f
EZ
9182013-11-30 Eli Zaretskii <eliz@gnu.org>
919
920 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 921 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
922 visible. (Bug#16014)
923
10634b40 9242013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
925
926 Support resizing frames and windows pixelwise.
927 * cus-start.el (frame-resize-pixelwise)
928 (window-resize-pixelwise): New entries.
929 * emacs-lisp/debug.el (debug): Use window-total-height instead
930 of window-total-size.
931 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
932 * help.el (describe-bindings-internal): Call help-buffer
933 (temp-buffer-max-width): New option.
934 (resize-temp-buffer-window, help-window-setup)
935 (with-help-window): Rewrite.
936 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
937 dragging dividers.
938 * window.el (frame-char-size, window-min-pixel-height)
939 (window-safe-min-pixel-height, window-safe-min-pixel-width)
940 (window-min-pixel-width, window-safe-min-pixel-size)
941 (window-combination-p, window-safe-min-size)
942 (window-resizable-p, window--size-to-pixel)
943 (window--pixel-to-size, window--resize-apply-p): New functions.
944 (window-safe-min-height): Fix doc-string.
945 (window-size, window-min-size, window--min-size-1)
946 (window-sizable, window-sizable-p, window--min-delta-1)
947 (window-min-delta, window--max-delta-1, window-max-delta)
948 (window--resizable, window--resizable-p, window-resizable)
949 (window-full-height-p, window-full-width-p, window-at-side-p)
950 (window--in-direction-2, window-in-direction)
951 (window--resize-reset-1, window--resize-mini-window)
952 (window-resize, window-resize-no-error)
953 (window--resize-child-windows-normal)
954 (window--resize-child-windows, window--resize-siblings)
955 (window--resize-this-window, window--resize-root-window)
956 (window--resize-root-window-vertically)
957 (adjust-window-trailing-edge, enlarge-window, shrink-window)
958 (maximize-window, minimize-window, delete-window)
959 (quit-restore-window, window-split-min-size, split-window)
960 (balance-windows-2, balance-windows)
961 (balance-windows-area-adjust, balance-windows-area)
962 (window--state-get-1, window-state-get, window--state-put-1)
963 (window--state-put-2, window-state-put)
fb651d15
SM
964 (display-buffer-record-window, window--display-buffer):
965 Make functions handle pixelwise sizing of windows.
880e6158 966 (display-buffer--action-function-custom-type)
fb651d15
SM
967 (display-buffer-fallback-action):
968 Add display-buffer-in-previous-window.
880e6158
MR
969 (display-buffer-use-some-window): Resize window to height it had
970 before.
971 (fit-window-to-buffer-horizontally): New option.
972 (fit-frame-to-buffer): Describe new values.
973 (fit-frame-to-buffer-bottom-margin): Replace with
974 fit-frame-to-buffer-margins.
975 (window--sanitize-margin): New function.
976 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
977 using window-text-pixel-size.
978
f9b697dd
GM
9792013-11-30 Glenn Morris <rgm@gnu.org>
980
3e2fb4db
GM
981 * emacs-lisp/bytecomp.el (byte-compile-form):
982 Make the `interactive-only' warning like the `obsolete' one.
983 * comint.el (comint-run):
984 * files.el (insert-file-literally, insert-file):
985 * replace.el (replace-string, replace-regexp):
986 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
987 (goto-line, insert-buffer, next-line, previous-line):
988 Tweak `interactive-only' spec.
989
f9b697dd
GM
990 Stop keeping (most) generated cedet grammar files in the repository.
991 * Makefile.in (semantic): New.
992 (compile-main): Depend on semantic.
993
da048127
SM
9942013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
995
7784b779
SM
996 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
997 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
998
4e36a6a6
SM
999 * uniquify.el (uniquify-buffer-name-style): Change default.
1000
1001 * loadup.el: Preload "uniquify".
1002
e0ba1308
SM
1003 * time.el (display-time-update): Update all mode lines (bug#15999).
1004
da048127
SM
1005 * electric.el (electric-indent-mode): Enable by default.
1006 * loadup.el: Preload "electric".
1007
015b3b3e
BB
10082013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1009
1010 * emacs-lisp/helpers.el (string-empty-p): New function.
1011 (string-blank-p): New function.
1012
7efb806d
AP
10132013-11-29 Andreas Politz <politza@hochschule-trier.de>
1014
1015 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1016 (Bug#14029).
1017
c8f0efc2
AP
10182013-11-29 Andreas Politz <politza@fh-trier.de>
1019 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1020 allow non-lambda lists as functions.
1021 (imenu--in-alist): Don't recurse into non-subalists.
1022 (imenu): Don't pass function itself as an argument (Bug#14029).
1023
bd15d9d1
SM
10242013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * progmodes/python.el (python-mode-map): Remove binding for ":".
1027 (python-indent-electric-colon): Remove command.
1028 (python-indent-post-self-insert-function): Integrate the previous code
1029 of python-indent-electric-colon. Make it conditional on
1030 electric-indent-mode.
1031 (python-mode): Add ?: to electric-indent-chars.
1032 Move python-indent-post-self-insert-function to the end of
1033 post-self-insert-hook.
1034
1b10adb6
SM
10352013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1036
655ab9a3
SM
1037 * doc-view.el (doc-view-goto-page): Update mode-line.
1038
1b10adb6
SM
1039 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1040
7e3bf78c
GM
10412013-11-27 Glenn Morris <rgm@gnu.org>
1042
1043 * international/charprop.el, international/uni-bidi.el:
1044 * international/uni-category.el, international/uni-combining.el:
1045 * international/uni-comment.el, international/uni-decimal.el:
1046 * international/uni-decomposition.el, international/uni-digit.el:
1047 * international/uni-lowercase.el, international/uni-mirrored.el:
1048 * international/uni-name.el, international/uni-numeric.el:
1049 * international/uni-old-name.el, international/uni-titlecase.el:
1050 * international/uni-uppercase.el:
1051 Remove generated files from VCS repository.
1052
fb6a5d68
EZ
10532013-11-27 Eli Zaretskii <eliz@gnu.org>
1054
1055 * filenotify.el (file-notify-add-watch): Don't special-case
1056 w32notify when computing the directory to watch.
1057
cb6c95a3
GM
10582013-11-27 Glenn Morris <rgm@gnu.org>
1059
20372d0c
GM
1060 Make bootstrap without generated uni-*.el files possible again.
1061 * loadup.el: Update command-line-args checking for unidata-gen.
1062 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1063 * composite.el, international/characters.el:
1064 Handle unicode tables being undefined.
1065
52d6635f 1066 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1067 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1068 (compile-main): Depend on leim rule.
1069 (leim): New rule.
1070 * loadup.el: Move leim-list.el to leim/ subdirectory.
1071 * startup.el (normal-top-level): No more leim directory.
1072 * international/ja-dic-cnv.el (skkdic-convert):
1073 Disable version-control and autoloads in output files.
1074 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1075 Disable version-control and autoloads in output files.
1076 * leim/quail: Move here from ../leim.
1077 * leim/quail/hangul.el (hangul-input-method-activate):
1078 Add autoload cookie.
1079 (generated-autoload-load-name): Set file-local value.
1080 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1081 (generated-autoload-load-name): Set file-local value.
1082
0449d6cd 10832013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
1084
1085 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1086 (eww-add-bookmark): ask confirmation when add to bookmarks
1087 (eww-quit): ask confirmation before quitting eww
1088
0e2c793f
EZ
10892013-11-26 Eli Zaretskii <eliz@gnu.org>
1090
1091 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1092 reading output from Diff on MS-Windows and MS-DOS.
1093
447bdcb8
BB
10942013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1095
1096 * emacs-lisp/helpers.el (string-reverse): New function.
1097
5fbf6856
MA
10982013-11-26 Michael Albinus <michael.albinus@gmx.de>
1099
1100 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1101 names on MS Windows, like "/[::1]:".
1102
1103 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1104 SWITCHES.
1105
624780f0
GM
11062013-11-26 Glenn Morris <rgm@gnu.org>
1107
0bf3f0fa
GM
1108 * progmodes/python.el (python-indent-guess-indent-offset):
1109 Avoid corner-case error. (Bug#15975)
1110
624780f0
GM
1111 Preload leim-list.el. (Bug#4789)
1112 * loadup.el: Load leim-list.el when found.
1113 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1114
4301875e 11152013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1116
1117 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1118
4301875e
BB
1119 * emacs-lisp/helpers.el (string-join): New function.
1120
1633a815 11212013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1122
1123 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1124 Mark as obsolete and replace it with a symbol property.
1125 (byte-compile-form): Use new 'interactive-only property.
1126 * comint.el, files.el, replace.el, simple.el:
1127 Apply new 'interactive-only properly.
1128
00139435
MR
11292013-11-25 Martin Rudalics <rudalics@gmx.at>
1130
1131 * window.el (display-buffer-at-bottom): Make sure that
1132 split-window-sensibly creates the new window on bottom
1133 (Bug#15961).
1134
5f5b128d
DK
11352013-11-23 David Kastrup <dak@gnu.org>
1136
1137 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1138 on the conflict markers when available.
1139 (smerge--get-marker): New function.
1140 (smerge-end-re, smerge-base-re): Add subgroup.
1141
623891e5
SM
11422013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1143
1144 * frame.el (handle-focus-in, handle-focus-out): Add missing
1145 interactive spec.
1146
05ca27d8
MA
11472013-11-25 Michael Albinus <michael.albinus@gmx.de>
1148
1149 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1150 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1151
511fa0d3
SM
11522013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1153
e82ad66c
SM
1154 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1155 (gomoku--last-pos): New var.
1156 (gomoku--intangible-chars): New const.
1157 (gomoku--intangible): New function.
1158 (gomoku-mode): Use it. Derive from special-mode.
1159 (gomoku-move-up): Adjust line count.
1160 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1161 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1162 Simplify accordingly.
1163
511fa0d3
SM
1164 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1165 Remove blink-cursor code.
1166 (blink-cursor-timer-function, blink-cursor-suspend):
1167 Don't special-case GUIs.
1168 (blink-cursor-mode): Use focus-in/out-hook.
1169
6f20dd03
DG
11702013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1171
1172 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1173 work when annotation is invisible (Bug#13886).
1174
431dec31 11752013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1176
1177 * json.el (json-alist-p): Only return non-nil if the alist has
1178 simple keys (Bug#13518).
1179
431dec31 11802013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1181
1182 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1183 when control-statement is the first statement in a buffer (Bug#15956).
1184
ee4f0261
DG
11852013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1186
1187 * imenu.el (imenu-generic-skip-comments-and-strings):
1188 New option (Bug#15560).
1189 (imenu--generic-function): Use it.
1190
c484f866
JS
11912013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1192
1193 * minibuffer.el (completion--in-region-1): Scroll the correct
1194 window. (Bug#13898)
1195
41ce6f70
BB
11962013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1197
b55aea38
BB
1198 * emacs-lisp/helpers.el: Add some string helpers.
1199 (string-trim-left): Removes leading whitespace.
1200 (string-trim-right): Removes trailing whitespace.
1201 (string-trim): Removes leading and trailing whitespace.
1202
41ce6f70
BB
1203 * subr.el (string-suffix-p): New function.
1204
3cfb6af3
GM
12052013-11-23 Glenn Morris <rgm@gnu.org>
1206
1207 * progmodes/python.el (python-shell-send-file):
1208 Add option to delete file when done. (Bug#15647)
1209 (python-shell-send-string, python-shell-send-region): Use it.
1210
c27924b7
IS
12112013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1212
e1b01c7f
IS
1213 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1214 to set buffer-read-only to t, never to nil. (Bug#15938)
1215
c27924b7
IS
1216 * textmodes/tex-mode.el (latex-noindent-environments):
1217 Add safe-local-variable property. (Bug#15936)
1218
17e0445b
GM
12192013-11-23 Glenn Morris <rgm@gnu.org>
1220
92f78ea3
GM
1221 * textmodes/enriched.el (enriched-mode): Doc fix.
1222 * emacs-lisp/authors.el (authors-renamed-files-alist):
1223 Add enriched.doc -> enriched.txt.
1224
17e0445b
GM
1225 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1226
965bb23a
LL
12272013-11-22 Leo Liu <sdl.web@gmail.com>
1228
1229 * progmodes/octave.el (inferior-octave-startup): Spit out error
1230 message.
1231
d19ffd64
BB
12322013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1233
1234 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1235 Improve docstring.
15ba2182
BB
1236 Add :version.
1237 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1238
7a7567d2
LL
12392013-11-22 Leo Liu <sdl.web@gmail.com>
1240
1241 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1242 (Bug#15076)
8c09f64b
LL
1243 (octave-help-mode): Adapt to change to help-mode-finish to use
1244 derived-mode-p on 2013-09-17.
1245 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1246 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1247
724bc265
LL
12482013-11-22 Leo Liu <sdl.web@gmail.com>
1249
1250 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1251 (inferior-octave-startup, inferior-octave-check-process)
1252 (inferior-octave-track-window-width-change)
1253 (octave-completion-at-point, octave-eldoc-function): Use it.
1254 (octave-kill-process): Provide confirmation. (Bug#10564)
1255
38637cca
LL
12562013-11-21 Leo Liu <sdl.web@gmail.com>
1257
511fa0d3
SM
1258 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1259 Fix obsolete variable comment-use-global-state.
38637cca 1260
06e752b4
RS
12612013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1262
511fa0d3
SM
1263 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1264 Add `octave-source-file'.
06e752b4
RS
1265 (octave-source-file): New function. (Bug#15935)
1266
0449d6cd 12672013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1268
1269 * net/eww.el (eww-local-regex): New variable.
1270 (eww): Use it to detect localhost and similar.
1271
b6ffa04a
LL
12722013-11-21 Leo Liu <sdl.web@gmail.com>
1273
1274 Add completion for command `ag'.
2021a200
LL
1275 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1276 (pcomplete/ag): New function.
1277 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1278
d1a6bccc
SM
12792013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1282 (bug#14646).
1283 (make-obsolete): Remove interactive spec.
1284
2df10228
GM
12852013-11-21 Glenn Morris <rgm@gnu.org>
1286
1287 * startup.el (command-line-1): Use path-separator with -L.
1288
86fd16b6
TZ
12892013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1290
1291 * emacs-lisp/package.el (describe-package-1): Add package archive
1292 to shown fields.
1293
0449d6cd 12942013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1295
1296 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1297 Change default to "# encoding: %s" to differentiate it from the
1298 default Ruby encoding comment template.
1299
dc7e8c17 13002013-11-20 era eriksson <era+emacsbugs@iki.fi>
1301
1302 * ses.el (ses-mode): Doc fix. (Bug#14748)
1303
f0cfa5fe
LL
13042013-11-20 Leo Liu <sdl.web@gmail.com>
1305
1306 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1307
826dc7b6
DN
13082013-11-19 Dan Nicolaescu <dann@gnu.org>
1309
1310 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1311 when rebase or bisect are in progress.
1312
a6e3a5d5
XF
13132013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1314
1315 * filenotify.el (file-notify-add-watch): Doc fix.
1316
f130cb76
LL
13172013-11-19 Leo Liu <sdl.web@gmail.com>
1318
e0855d7d
LL
1319 * obsolete/rcompile.el: Mark obsolete.
1320
f130cb76 1321 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1322 (compilation-goto-locus, compilation-find-file):
1323 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1324 (Bug#13594)
1325
1326 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1327 new parameter no-display-ok. Return either a window or nil
1328 but never a non-window value.
f130cb76 1329
1f35d401
SM
13302013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1331
25158c76
SM
1332 * electric.el (electric-indent-mode-map): Remove.
1333 (electric-indent-mode): Change the global-map instead (bug#15915).
1334
1335 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1336 Use add-function.
1f35d401 1337
9bc67baa
SM
13382013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1339
986545b5
SM
1340 * emacs-lisp/nadvice.el (remove-function): Align with
1341 add-function's behavior.
1342
9bc67baa
SM
1343 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1344 (gdb--string-regexp): New constant.
1345 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1346 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1347 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1348 submatch 1.
1349 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1350 Adjust use accordingly.
1351 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1352
56cd894e
AS
13532013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1354
1355 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1356 interpolation curlies (Bug#15914).
1357
014690de
JB
13582013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1359
1360 * calc/calc.el (calc-context-sensitive-enter): New variable.
1361 (calc-enter): Use `calc-context-sensitive-enter'.
1362
7e26a6c3
TZ
13632013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1364
1365 * progmodes/cfengine.el: Version bump.
1366 (cfengine-cf-promises): New defcustom to locate cf-promises.
1367 (cfengine3-vartypes): Add new "data" type.
1368 (cfengine3--current-word): New function to get current name-like
1369 word or its bounds.
1370 (cfengine3--current-function): New function to look up a CFEngine
1371 function's definition.
1372 (cfengine3-format-function-docstring): New function.
1373 (cfengine3-make-syntax-cache): New function.
1374 (cfengine3-documentation-function): New function: ElDoc glue.
1375 (cfengine3-completion-function): New function: completion glue.
1376 (cfengine3-mode): Set `compile-command',
1377 `eldoc-documentation-function', and add to
1378 `completion-at-point-functions'.
1379
355204dd
MA
13802013-11-16 Michael Albinus <michael.albinus@gmx.de>
1381
1382 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1383 `tramp-current-connection'.
1384
43cebc23
DG
13852013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1386
1387 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1388 nil/self/true/false with "end of symbol".
1389
a3fed6ff
BB
13902013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1391
1392 * subr.el (version-regexp-alist): Fix a typo.
1393
e675b3e4
MA
13942013-11-15 Michael Albinus <michael.albinus@gmx.de>
1395
1396 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1397 "en_US.utf8" and "LC_CTYPE" to "".
1398 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1399 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1400
a1f03e89
LL
14012013-11-15 Leo Liu <sdl.web@gmail.com>
1402
1403 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1404
5d9d9451
SM
14052013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1406
58362662
CS
1407 * progmodes/gud.el (ctl-x-map):
1408 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1409 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1410
6c1bf086
BB
14112013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1412
0d5363c4
BB
1413 * subr.el (version-regexp-alist):
1414 Recognize hg, svn and darcs versions as snapshot versions.
1415
4e9fc48c
BB
1416 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1417 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1418 (ruby--encoding-comment-required-p): Extract from
1419 `ruby-mode-set-encoding'.
1420 (ruby-mode-set-encoding): Add the ability to always insert an
1421 utf-8 encoding comment. Fix and simplify coding comment update
1422 logic.
6c1bf086 1423
2f7e72f8
MA
14242013-11-14 Michael Albinus <michael.albinus@gmx.de>
1425
1426 * net/tramp-gvfs.el (top): Run init code only when
1427 `tramp-gvfs-enabled' is not nil.
1428 (tramp-gvfs-enabled): Check also :system bus.
1429
0f137a73
SM
14302013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 Sync with upstream verilog-mode revision 78e66ba.
1433 * progmodes/verilog-mode.el (verilog-end-of-defun)
1434 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1435 (verilog-get-end-of-defun): Remove unused argument.
1436 (verilog-comment-depth): Remove unused local `e'.
1437 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1438 Don't pass arg to verilog-get-end-of-defun.
1439
1c276bdd
GM
14402013-11-14 Glenn Morris <rgm@gnu.org>
1441
1442 * obsolete/assoc.el (aget): Prefix dynamic variable.
1443
1444 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1445
ff6ec81d
SM
14462013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * widget.el, hfy-cmap.el: Remove bogus package version number.
1449
75f777b6
GM
14502013-11-13 Glenn Morris <rgm@gnu.org>
1451
1d43dba1
GM
1452 * replace.el (replace-eval-replacement):
1453 Try to give more helpful error message. (Bug#15836)
1454
ff4b7bd5
GM
1455 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1456 (archive-7z-update): Avoid custom type mismatches.
1457
75f777b6
GM
1458 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1459
11151a06
MA
14602013-11-13 Michael Albinus <michael.albinus@gmx.de>
1461
e675b3e4 1462 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1463 address can be empty.
1464
1465 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1466 Accept nil SWITCHES.
1467 (tramp-gvfs-handle-write-region): Implement APPEND.
1468
7b08f97e
DG
14692013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1470
1471 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1472 binary "|" operator and closing block args delimiter.
1473 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1474 (ruby-smie--implicit-semi-p): Not after "|" operator.
1475 (ruby-smie--closing-pipe-p): New function.
1476 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1477 (ruby-smie-rules): Indent after "|".
1478
f201cf3a
GM
14792013-11-12 Glenn Morris <rgm@gnu.org>
1480
1481 * ps-print.el (ps-face-attribute-list):
1482 Handle anonymous faces. (Bug#15827)
1483
e6f759f9
MR
14842013-11-12 Martin Rudalics <rudalics@gmx.at>
1485
1486 * window.el (display-buffer-other-frame): Fix doc-string.
1487 (Bug#15868)
1488
ecda65d4
SM
14892013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1492
7ce8fcc3
MA
14932013-11-11 Michael Albinus <michael.albinus@gmx.de>
1494
1495 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1496 (tramp-sh-handle-file-local-copy): Don't write a message when
1497 saving temporary files.
1498
1499 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1500 both directories are remote.
1501 (tramp-smb-handle-directory-files): Do not return double entries.
1502 Do not expand full file names.
1503 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1504 (tramp-smb-handle-write-region): Implement APPEND.
1505 (tramp-smb-get-stat-capability): Fix a stupid bug.
1506
7818df11
SM
15072013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1510
608c2085
NT
15112013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1512
1513 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1514 throwing error over malformed let/let* (bug#15814).
1515
122a7e46
SM
15162013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1517
1518 * iswitchb.el (iswitchb-mode): Mark obsolete.
1519
766284d9
GM
15202013-11-11 Glenn Morris <rgm@gnu.org>
1521
1522 * international/uni-bidi.el, international/uni-category.el:
1523 * international/uni-name.el, international/uni-numeric.el:
1524 Regenerate for Unicode 6.3.0.
1525
7072a4e9
MA
15262013-11-10 Michael Albinus <michael.albinus@gmx.de>
1527
1528 * net/tramp.el (tramp-methods):
1529 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1530 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1531
c9df215b
AS
15322013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1533
608c2085
NT
1534 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1535 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1536
fa47d796
DG
15372013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1538
1539 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1540 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1541 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1542 (ispell-complete-word): Call `ispell-lookup-words' with the value
1543 independent of `ispell-look-p'.
1544
1629a329
DG
15452013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1546
1547 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1548 Not after "||".
1549 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1550 their parent.
1551
ad16897c
SM
15522013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1555 (ruby-font-lock-keywords): Use backquote.
1556
ffa2df72
DG
15572013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1558
1559 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1560 (ruby-smie--backward-token): Only consider full-string matches.
1561
5b97b4c0
JD
15622013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1563
1564 * faces.el (describe-face): Add distant-foreground.
1565
71731c03
BB
15662013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1567
4e9fc48c
BB
1568 * progmodes/ruby-mode.el: Improve encoding comment handling.
1569 (ruby-encoding-magic-comment-style): New option.
1570 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1571 (ruby--insert-coding-comment, ruby--detect-encoding):
1572 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1573 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1574 to control the style of the auto-inserted encoding comment.
71731c03 1575
da3b328d
DG
15762013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1577
ad16897c
SM
1578 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1579 Use `smie-backward-sexp' with token argument.
da3b328d 1580
1606c2d3
MA
15812013-11-08 Michael Albinus <michael.albinus@gmx.de>
1582
1583 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1584 Remove instrumentation code.
1585
b0f4c320
GM
15862013-11-08 Glenn Morris <rgm@gnu.org>
1587
1588 * progmodes/autoconf.el (autoconf-mode):
1589 Tweak comment-start-skip. (Bug#15822)
1590
43668fb1
SM
15912013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1594 at bobp (bug#15826).
1595 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1596
daddb3fd
DH
15972013-11-08 Darren Hoo <darren.hoo@gmail.com>
1598
1599 * man.el (Man-start-calling): New macro, extracted from
1600 Man-getpage-in-background.
1601 (Man-getpage-in-background): Use it.
1602 (Man-update-manpage): New command.
1603 (Man-mode-map): Bind it.
1604
1f923923
DG
16052013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1606
1607 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1608 of "and", "or", "&&" and "||".
1609 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1610 argument. Prohibit opening curly brace because it could only be a
1611 block opener in that position.
daddb3fd
DH
1612 (ruby-smie--forward-token, ruby-smie--backward-token):
1613 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1614 arguments.
1615 (ruby-smie--indent-to-stmt): New function, seeks the end of
1616 previous statement or beginning of buffer.
1617 (ruby-smie-rules): Use it.
1618 (ruby-smie-rules): Check if there's a ":" before a curly block
1619 opener candidate; if there is, it's a hash.
1620
3220d527
SM
16212013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1624 (cl--block-wrapper): Fix last accidental change.
1625
1eb1f9e0
MA
16262013-11-07 Michael Albinus <michael.albinus@gmx.de>
1627
1628 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1629 Instrument, in order to hunt failure on hydra.
1630
e6e4db3c
NT
16312013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1632
1633 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1634 malformed bindings form (bug#15814).
1635
b420ccfc
DG
16362013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1637
1638 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1639 "." compared to " @ ". This incidentally fixes some indentation
1640 examples with "do".
e6e4db3c 1641 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1642 (ruby-smie-grammar): New tokens: "and" and "or".
1643 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1644 Exclude "and" and "or". Remove "do" in order to work around token
1645 priorities.
1646 (ruby-smie-rules): Add all infix tokens. Handle the case of
1647 beginning-of-buffer.
b420ccfc 1648
6b4ac03e
GM
16492013-11-06 Glenn Morris <rgm@gnu.org>
1650
1651 * Makefile.in (setwins_almost, setwins_for_subdirs):
1652 Avoid accidental matches.
1653
5ca114d1
SM
16542013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * menu-bar.el (popup-menu): Use key-binding.
1657
f72552bd
EZ
16582013-11-06 Eli Zaretskii <eliz@gnu.org>
1659
1660 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1661 menus, support also the menus produced by minor modes.
1662 (Bug#15817)
1663
5d5c701e
LL
16642013-11-06 Leo Liu <sdl.web@gmail.com>
1665
1666 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1667 DISTANCE to bound the search. All uses changed. (Bug#15808)
1668
0a8b75e2
GM
16692013-11-06 Glenn Morris <rgm@gnu.org>
1670
1671 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1672 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1673 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1674
a35287ea
SM
16752013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1676
feca4e2d
SM
1677 * electric.el (electric-indent-just-newline): New command.
1678 (electric-indent-mode-map): New keymap.
1679 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1680 Re-add :group which weren't redundant.
1681
a35287ea
SM
1682 * electric.el (electric-indent-local-mode): New minor mode.
1683 (electric-indent-functions-without-reindent): New var.
1684 (electric-indent-post-self-insert-function): Use it.
1685 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1686
375761b2
EZ
16872013-11-05 Eli Zaretskii <eliz@gnu.org>
1688
9a6ad735
EZ
1689 * international/quail.el (quail-help): Be more explicit about the
1690 meaning of the labels shown on the keys. (Bug#15800)
1691
375761b2
EZ
1692 * startup.el (normal-top-level): Load the subdirs.el files before
1693 setting the locale environment. (Bug#15805)
1694
520a6e4a
SM
16952013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1696
0acfafef
SM
1697 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1698 via arguments so as to get the right ones (bug#15418).
1699
520a6e4a
SM
1700 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1701
15826261
MA
17022013-11-05 Michael Albinus <michael.albinus@gmx.de>
1703
1704 Fix problems found while writing a test suite.
1705
1706 * net/tramp-compat.el (tramp-compat-load): New defun.
1707 * net/tramp.el (tramp-handle-load): Use it.
1708
1709 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1710 "(numberp ok-if-already-exists)" correctly.
1711
d35f31a4
XF
17122013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1713
1714 * international/characters.el (glyphless-char-display-control):
1715 Add usage note.
1716
ae93bc74
BB
17172013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1718
520a6e4a
SM
1719 * progmodes/python.el (python-mode):
1720 * progmodes/scheme.el (scheme-mode):
1721 * progmodes/prolog.el (prolog-mode):
1722 * progmodes/ruby-mode.el (ruby-mode):
1723 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1724 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1725
0ade65b5
SM
17262013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1727
a0d5f7a4
SM
1728 * rect.el (rectangle--highlight-for-redisplay):
1729 * emacs-lisp/smie.el (smie--next-indent-change):
1730 Use buffer-chars-modified-tick.
1731
c93f3f5c
SM
1732 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1733
0ade65b5
SM
1734 * electric.el (electric-indent-post-self-insert-function):
1735 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1736
ef9dd188
HE
17372013-11-04 Helmut Eller <eller.helmut@gmail.com>
1738
1739 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1740
306e7308
NT
17412013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1742
1743 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1744 (bug#15786).
1745
e5afbcac
SM
17462013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1d01ad41
SM
1748 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1749
e5afbcac
SM
1750 * progmodes/python.el: Fix up last change.
1751 (python-shell--save-temp-file): New function.
1752 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1753 `string' comes from the current buffer.
1754 (python-shell-send-string-no-output): Remove `msg' arg.
1755 (python--use-fake-loc): New var.
1756 (python-shell-buffer-substring): Obey it. Try to compensate for the
1757 extra coding line added by python-shell--save-temp-file.
1758 (python-shell-send-region): Use python-shell--save-temp-file and
1759 python-shell-send-file directly. Add `nomain' argument.
1760 (python-shell-send-buffer): Use python-shell-send-region.
1761 (python-electric-pair-string-delimiter): New function.
1762 (python-mode): Use it.
1763
d0065ff1
EZ
17642013-11-04 Eli Zaretskii <eliz@gnu.org>
1765
1766 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1767 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1768 environment and decoding all of the default-directory's to here
1769 from command-line.
1770 (command-line): Decode also argv[0].
1771
1772 * loadup.el: Error out if default-directory is a multibyte string
1773 when we are dumping.
1774
1775 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1776
7397c587
TZ
17772013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1778
1779 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1780 (package-menu--print-info, package-menu--archive-predicate):
1781 Add Archive column to package list.
7397c587 1782
b27cc9fc
MA
17832013-11-04 Michael Albinus <michael.albinus@gmx.de>
1784
1785 Fix problems found while writing a test suite.
1786
1787 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1788 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1789 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1790 to nil when running original file name handler. Otherwise,
1791 there are problems with constructs like "$$FOO".
1792
1793 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1794 for `localname'.
1795
d8c4f18a
BB
17962013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1797
7b530552
BB
1798 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1799
1800 * subr.el (version<, version<=, version=):
1801 Update docstrings with information for snapshot versions.
1802
d8c4f18a
BB
1803 * helpers.el: New library for misc helper functions.
1804 (hash-table-keys): New function returning a list of hash keys.
1805 (hash-table-values): New function returning a list of hash values.
1806
dca01b09
DG
18072013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1808
1809 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1810 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1811
0a749fa0
MN
18122013-11-04 Michal Nazarewicz <mina86@mina86.com>
1813
1814 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1815 checking whether point is after a 1-letter word.
1816
18172013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1818
1819 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1820 Don't infloop when expanding region over `multiline' syntax-type that
1821 begins a line (bug#15778).
1822
4aca7145
SM
18232013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1826 Make it into a proper minor mode.
1827 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1828 (rectangle-mark-mode-map): New keymap.
1829 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1830
a0833f62
GM
18312013-11-04 Glenn Morris <rgm@gnu.org>
1832
1833 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1834
e61845c1
SM
18352013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1838 (ruby-smie-rules): Use smie-rule-parent instead.
1839
1840 * emacs-lisp/smie.el (smie-rule-parent): Always call
1841 smie-indent-virtual rather than only for hanging tokens.
1842 (smie--next-indent-change): New helper command.
1843
62942f89
GM
18442013-11-03 Glenn Morris <rgm@gnu.org>
1845
1846 * Makefile.in (abs_srcdir): Remove.
1847 (emacs): Unset EMACSLOADPATH.
1848
b0b9e592
GM
18492013-11-02 Glenn Morris <rgm@gnu.org>
1850
18ba6a33 1851 * Makefile.in (EMACS): Use a relative filename.
8061810d 1852 (abs_top_builddir): Remove.
18ba6a33
GM
1853 (custom-deps, finder-data, autoloads): Use --chdir.
1854
6a8b929e
GM
1855 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1856
c617f3d0
GM
1857 Use relative filenames in TAGS files.
1858 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1859 (lisptagsfiles4, TAGS): Use relative file names.
1860 (TAGS-LISP): Remove.
1861 (maintainer-clean): No more TAGS-LISP file.
1862
b0b9e592
GM
1863 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1864 (lisptagsfiles4): Use absolute filenames again.
1865 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1866 Remove all *loaddefs files, not just the first. Remove esh-groups.
1867 (maintainer-clean): Delete TAGS, TAGS-LISP.
1868
d1c0ea6a
BB
18692013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1870
e61845c1
SM
1871 * emacs-lisp/package.el (package-version-join):
1872 Recognize snapshot versions.
d1c0ea6a 1873
684d71c6
BB
18742013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1875
1876 * subr.el (version-regexp-alist): Add support for snapshot versions.
1877
3d42b968
DG
18782013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1879
e61845c1
SM
1880 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1881 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1882 skip over our direct parent if it's an assignment token..
1883 (ruby-smie-rules): Use it.
1884
7ffd3721
DG
18852013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1886
1887 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1888 unconditionally. Remove now unnecessary forward declarations.
1889 Remove XEmacs-specific setup.
1890 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1891 (ruby-font-lock-syntactic-keywords)
1892 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1893 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1894 (ruby-here-doc-end-syntax): Remove.
1895 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1896 defined as function.
1897
a3996a2e
BB
18982013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1899
1900 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1901
6f9260e8
BB
19022013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1903
1904 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1905 table and abbrev table, `define-derived-mode' does that for us
1906 anyway.
1907
6014de84
GM
19082013-11-01 Glenn Morris <rgm@gnu.org>
1909
1910 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1911 files is atomic for some time, so no parallel compilation issues).
1912
3c334c14
JD
19132013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1914
1915 * faces.el (face-x-resources): Add :distant-foreground.
1916 (region): Use :distant-foreground for gtk and ns.
1917
9bc236c8
TH
19182013-11-01 Tassilo Horn <tsdh@gnu.org>
1919
5246583b 1920 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1921 BibTeX.
1922 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1923 (reftex-locate-bibliography-files): Us it.
1924
d14c81ee
CB
19252013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1926
0e7690de
CB
1927 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1928 allow comments in pbm files.
1929
d14c81ee
CB
1930 * term/w32-win.el (dynamic-library-alist): Support newer versions
1931 of libjpeg starting with v7: look only for the DLL from the
1932 version against which Emacs was built.
ac1bf374 1933 Support versions of libpng beyond 1.4.x.
019c8218 1934 Support libtiff v4.x.
d14c81ee 1935
983d0df5
BB
19362013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1937
1938 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1939 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1940 Add property :safe.
1941 (ruby-deep-arglist): Add property :type.
1942
47f58d85
GM
19432013-10-31 Glenn Morris <rgm@gnu.org>
1944
1945 * Makefile.in (custom-deps, finder-data): No need to setq the target
1946 variables, we are in the right directory and the defaults work fine.
1947
4f85b479
GM
19482013-10-30 Glenn Morris <rgm@gnu.org>
1949
ca7dd4cd
GM
1950 * Makefile.in (autoloads): Do not use abs_lisp.
1951
4f85b479
GM
1952 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1953 `newline' does not respect `standard-output', so use `princ'.
1954
cf59e41c
AA
19552013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1956
1957 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1958 * buff-menu.el (Buffer-menu--unmark): New function.
1959 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1960
74cf04fb
GM
19612013-10-30 Glenn Morris <rgm@gnu.org>
1962
b040b60e
GM
1963 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1964
f53d3815
GM
1965 * emacs-lisp/package.el (lm-homepage): Declare.
1966
5413d873
GM
1967 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1968 Fix doc typos.
1969
cecedb36
GM
1970 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1971
74cf04fb
GM
1972 * Makefile.in (finder-data, autoloads, update-subdirs)
1973 (compile-main, compile-clean, compile-always, bootstrap-clean):
1974 Check return value of cd.
1975 (compile-calc): Remove.
1976
195ee2f0
SM
19772013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1978
ae4002ce
SM
1979 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1980
1981 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1982 (byte-compile-and-folded): New function.
1983 (=, <, >, <=, >=): Use it.
1984
1985 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1986 (path-separator, null-device, buffer-file-coding-system)
1987 (lpr-headers-switches): Check system-type before modifying them.
1988 (find-buffer-file-type-coding-system): Mark obsolete.
1989 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1990 find-file-not-found-set-buffer-file-coding-system.
1991 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1992 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1993 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1994 (w32-direct-print-region-helper, w32-direct-print-region-function)
1995 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1996 * startup.el (normal-top-level-add-subdirs-to-load-path):
1997 * ps-print.el (ps-print-region-function):
1998 * lpr.el (print-region-function): Use new name.
1999
53b39e89
SM
2000 * subr.el (custom-declare-variable-early): Remove function.
2001 (custom-declare-variable-list): Remove var.
2002 (error, user-error): Remove `while' loop.
2003 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2004 (user-emacs-directory-warning, locate-user-emacs-file):
2005 Move to files.el.
2006 * simple.el (read-quoted-char-radix, read-quoted-char):
2007 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2008 Move from subr.el.
2009 * custom.el (custom-declare-variable-list): Don't process
2010 custom-declare-variable-list.
2011
195ee2f0
SM
2012 * progmodes/python.el (python-shell-get-buffer): New function.
2013 (python-shell-get-process): Use it.
2014 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2015 Python which encoding was used. Don't split-string since we only care
2016 about the first line. Return the temp-file, if applicable.
2017 (python-shell-send-region): Tell compile.el how to turn locations in
2018 the temp-file into locations in the source buffer.
2019
7e3561ee
SM
20202013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2021
4c9797cb
SM
2022 * subr.el (undefined): Add missing behavior from the C code for
2023 unbound keys.
2024
3472b6c6
SM
2025 * rect.el: Use lexical-binding. Add new rectangular region support.
2026 (rectangle-mark): New command.
2027 (rectangle--region): New var.
2028 (deactivate-mark-hook): Reset rectangle--region.
2029 (rectangle--extract-region, rectangle--insert-for-yank)
2030 (rectangle--highlight-for-redisplay)
2031 (rectangle--unhighlight-for-redisplay): New functions.
2032 (region-extract-function, redisplay-unhighlight-region-function)
2033 (redisplay-highlight-region-function): Use them to handle
2034 rectangular region.
2035 * simple.el (region-extract-function): New var.
2036 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2037 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2038 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2039 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2040 (redisplay-unhighlight-region-function)
2041 (redisplay-highlight-region-function): New vars.
2042 (redisplay--update-region-highlight): New function.
2043 (pre-redisplay-function): Use it.
2044 (exchange-point-and-mark): Don't deactivate the mark before
2045 reactivate-it anyway.
2046 * comint.el (comint-kill-region): Remove yank-handler argument.
2047 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2048 (delete-char): Remove property, since it's now part of their
2049 default behavior.
2050 (self-insert-iso): Remove property since this command doesn't exist.
2051
7e3561ee
SM
2052 * emacs-lisp/package.el (package--download-one-archive)
2053 (describe-package-1): Don't query the user about final newline.
2054
b9bef71f
DC
20552013-10-29 Daniel Colascione <dancol@dancol.org>
2056
2057 * net/tramp.el (tramp-methods): Document new functionality.
2058 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2059 tramp-hostname-checker if method provides one instead of scanning
2060 argument list for "%h" to decide hostname acceptability.
2061
4efc33f0
MA
20622013-10-28 Michael Albinus <michael.albinus@gmx.de>
2063
2064 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2065 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2066 Handle COPY-CONTENTS. (Bug#15737)
2067
ed42a877
DU
20682013-10-28 Daiki Ueno <ueno@gnu.org>
2069
2070 * epa-file.el
7e3561ee
SM
2071 (epa-file-cache-passphrase-for-symmetric-encryption):
2072 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2073
18c9f8a2
XF
20742013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2075
7a4bc7be
XF
2076 * image.el (defimage):
2077 (image-load-path): Doc fixes.
18c9f8a2 2078
b1e8e010
AM
20792013-10-27 Alan Mackenzie <acm@muc.de>
2080
2081 Indent statements in macros following "##" correctly.
7e3561ee
SM
2082 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2083 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2084
73d40d1e 20852013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2086
2087 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2088
c8c605ac
DG
20892013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2090
2091 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2092 after `=' is probably a new expression.
2093
ca7e59d4
RS
20942013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2095
2096 * man.el (man-imenu-title): New option.
2097 (Man-mode-map): Add menu. (Bug#15722)
2098 (Man-mode): Add imenu to menu.
2099
bae91342
DG
21002013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2101
2102 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2103 specific in what the first arg can be: a non-keyword word,
2104 string/regexp/percent literal opener, opening paren, or unary
2105 operator followed directly by word.
2106
eb89dc14
SM
21072013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2110 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2111 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2112 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2113 Remove vars, they do not apply any more.
2114 (prolog-mode-abbrev-table): Remove redundant declaration.
2115 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2116 (prolog-use-smie): Remove.
2117 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2118 supported by prolog-electric-if-then-else-flag.
2119 (prolog-mode-variables, prolog-menu): Use setq-local.
2120 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2121 Remove binding to `Backspace' since this key doesn't exist anyway.
2122 Remove bindings for electric self-inserting keys.
2123 (prog-mode): Assume it's defined.
2124 (prolog-post-self-insert): New function.
2125 (prolog-mode): Use it.
2126 (prolog-indent-line, prolog-indent-level)
2127 (prolog-find-indent-of-matching-paren)
2128 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2129 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2130 (prolog-goto-next-paren, prolog-in-string-or-comment)
2131 (prolog-tokenize, prolog-inside-mline-comment)
2132 (prolog-find-start-of-mline-comment): Remove functions.
2133 (prolog-find-unmatched-paren, prolog-clause-end)
2134 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2135 (prolog-electric--if-then-else): Rename from
2136 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2137 (prolog-tokenize-searchkey): Remove const.
2138 (prolog-clause-info): Use forward-sexp.
2139 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2140 (prolog-electric-if-then-else): Remove commands.
2141 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2142 for use in post-self-insert-hook.
2143 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2144 for use in post-self-insert-hook.
2145 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2146 for use in post-self-insert-hook.
2147 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2148 adapt it for use in post-self-insert-hook.
2149
3dab0a83
MA
21502013-10-25 Michael Albinus <michael.albinus@gmx.de>
2151
2152 * emacs-lisp/ert.el (ert-run-tests-interactively):
2153 Use `completing-read'. (Bug#9756)
2154
fbfd0e1d
EZ
21552013-10-25 Eli Zaretskii <eliz@gnu.org>
2156
2157 * simple.el (line-move): Call line-move-1 instead of
2158 line-move-visual when the current window hscroll is zero, but
2159 temporary-goal-column indicates we will need to hscroll as result
2160 of the movement. (Bug#15712)
2161
963ce636
DG
21622013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2163
2164 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2165 capitalization. Use :visible instead of :active.
2166 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2167 commands that are used with SMIE.
2168 (ruby-do-end-to-brace): Insert space after `{'.
2169
a0be396a
JA
21702013-10-25 John Anthony <john@jo.hnanthony.com>
2171
f73754c9
JA
2172 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2173
2174 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2175
f5bf77df
GM
21762013-10-25 Glenn Morris <rgm@gnu.org>
2177
2178 * vc/vc.el (vc-print-log): Don't use a working revision unless
2179 one was explicitly specified. (Bug#15322)
2180
37241f62
SM
21812013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * subr.el (add-to-list): Preserve return value in compiler-macro
2184 (bug#15692).
2185
6408a65d
RS
21862013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2187
2188 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2189 result. Ask user to retry using '-all' flag. (Bug#15701)
2190
71e3276b
SM
21912013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * emacs-lisp/smie.el: New smie-config system.
2194 (smie-config): New defcustom.
2195 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2196 (smie-config-guess, smie-config-save): New commands.
2197 (smie-config--mode-local, smie-config--buffer-local)
2198 (smie-config--trace, smie-config--modefuns): New vars.
2199 (smie-config--advice, smie-config--mode-hook)
2200 (smie-config--setter, smie-config-local, smie-config--get-trace)
2201 (smie-config--guess-value, smie-config--guess): New functions.
2202 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2203 text properties. Treat "string fence" syntax like string syntax.
2204
2205 * progmodes/sh-script.el (sh-use-smie): Change default.
2206 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2207 (sh-var-value): Simplify by CSE.
2208 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2209 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2210 is used.
2211 (sh-guess-basic-offset): Use cl-incf.
2212 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2213
60db713e
HE
22142013-10-24 Helmut Eller <eller.helmut@gmail.com>
2215
2216 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2217 (bug#15699).
2218
8b251df6
GM
22192013-10-24 Glenn Morris <rgm@gnu.org>
2220
2221 * Makefile.in (abs_top_srcdir): Remove.
2222 (update-subdirs): Use relative path to update-subdirs.
2223
6be0e22b
EZ
22242013-10-24 Eli Zaretskii <eliz@gnu.org>
2225
2226 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2227 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2228 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2229 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2230
50b5b857
MA
22312013-10-24 Michael Albinus <michael.albinus@gmx.de>
2232
2233 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2234 (ert-test-skipped): New error.
2235 (ert-skip, ert-stats-skipped): New defuns.
2236 (ert--skip-unless): New macro.
2237 (ert-test-skipped): New struct.
2238 (ert--run-test-debugger, ert-test-result-type-p)
2239 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2240 (ert--stats-set-test-and-result, ert-char-for-test-result)
2241 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2242 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2243 Handle skipped tests. (Bug#9803)
50b5b857 2244
6f317c2f
GM
22452013-10-24 Glenn Morris <rgm@gnu.org>
2246
e43817c1
GM
2247 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2248
6f317c2f
GM
2249 * Makefile.in (abs_top_srcdir): New, set by configure.
2250 (update-subdirs): Correct build-aux location.
2251
369bbf71
DG
22522013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2253
8297b2cf
DG
2254 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2255 value, whether we could auto-deduce `backend', or not.
2256
369bbf71
DG
2257 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2258 with parameters" example. Simplify the "is it block or is it
2259 hash" check, but also make it more thorough.
2260
d5f1282f
MF
22612013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2262
2263 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2264
bc4aaa31
SM
22652013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2266
03d44565
SM
2267 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2268 { if it is hanging.
2269
bc4aaa31
SM
2270 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2271 :before ";".
2272
f493ff19
JB
22732013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2274
2275 * progmodes/compile.el (compilation-directory-matcher)
2276 (compilation-page-delimiter):
2277 Support GNU Make-4.0 directory quoting. (Bug#15678)
2278
c744a3b9
LL
22792013-10-23 Leo Liu <sdl.web@gmail.com>
2280
2281 * ido.el (ido-tidy): Handle read-only text.
2282
b8e3b0a9
GM
22832013-10-23 Glenn Morris <rgm@gnu.org>
2284
2285 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2286 (emacs, compile, compile-always):
2287 Quote entities that might contain whitespace.
2288 (custom-deps, finder-data, autoloads): Use abs_lisp.
2289 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2290 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2291 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2292
ee4282cd
DG
22932013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2294
bc4aaa31
SM
2295 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2296 Use `following-char'.
7790a270 2297
ee4282cd 22982013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2299
2300 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2301 * progmodes/ruby-mode.el (ruby-smie-rules):
2302 Remove corresponding workaround. Fix indentation rule of ";" so it
2303 also applies when ";" is the parent.
2304
d40a46d7
XF
23052013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2306
2307 * frame.el (display-screens, display-pixel-height)
2308 (display-pixel-width, display-mm-width, display-backing-store)
2309 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2310 (display-visual-class, display-monitor-attributes-list):
2311 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2312
a0f143c9
MG
23132013-10-22 Michael Gauland <mikelygee@amuri.net>
2314
2315 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2316 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2317
18cacc39
DG
23182013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2319
2320 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2321 TODO. Add "." after " @ ".
2322 (ruby-smie--at-dot-call): New function. Checks if point at method
2323 call with explicit target.
2324 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2325 to the method name tokens when it precedes them.
2326 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2327 (ruby-smie-rules): Add rule for indentation before and after "."
2328 token.
2329
df74c4be
SM
23302013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2331
c6dab55f
SM
2332 * textmodes/remember.el (remember-diary-extract-entries):
2333 Avoid add-to-list.
2334
df74c4be
SM
2335 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2336 an instruction.
2337
8c1ae481
DG
23382013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2339
cfef16c0
DG
2340 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2341 (ruby-smie--implicit-semi-p): Add new operator chars.
2342
8c1ae481
DG
2343 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2344 `smie-down-list'.
2345 (ruby-smie--args-separator-p): Check that there's no newline
2346 between method call and its arguments.
2347
87756ca9
AM
23482013-10-20 Alan Mackenzie <acm@muc.de>
2349
2350 Allow comma separated lists after Java "implements".
2351
df74c4be
SM
2352 * progmodes/cc-engine.el (c-backward-over-enum-header):
2353 Parse commas.
87756ca9
AM
2354 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2355 from a "disallowed" list in enum fontification.
2356
c25f8957
JB
23572013-10-20 Johan Bockgård <bojohan@gnu.org>
2358
df74c4be 2359 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2360
c25f8957
JB
2361 * progmodes/verilog-mode.el (verilog-mode): Don't set
2362 comment-indent-function globally.
2363
aca5fcdc
JD
23642013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2365
5f161884
JD
2366 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2367 Move Info menu item creation to ns-win.el.
2368
2369 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2370 in menu bar.
2371
aca5fcdc
JD
2372 * menu-bar.el: Move GNUStep specific menus...
2373
2374 * term/ns-win.el (ns-initialize-window-system): ... to here.
2375
914b7f98
SM
23762013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * simple.el (newline): Only run post-self-insert-hook when
2379 called interactively.
2380
846ffe77
JB
23812013-10-19 Johan Bockgård <bojohan@gnu.org>
2382
2383 * icomplete.el (icomplete-with-completion-tables): Add :version.
2384
033f22dd
AM
23852013-10-19 Alan Mackenzie <acm@muc.de>
2386
2387 Fix fontification bugs with constructors and const.
2388
2389 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2390 CASE 2) Remove the check for the absence of a suffix construct
2391 after a function declaration with only types (no identifiers) in
2392 the parentheses. Also, accept a function declaration with just a
2393 type inside the parentheses, if this type can be positively
2394 recognised as such, or if a prefix keyword like "explicit" nails
2395 down the construct as a declaration.
2396
58ce0cfc
EZ
23972013-10-19 Eli Zaretskii <eliz@gnu.org>
2398
2399 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2400 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2401 the problem whereby selecting a menu item that leads to a
2402 minibuffer prompt moves the cursor out of the minibuffer window,
2403 making it hard to type at the prompt. Suggested by Stefan Monnier
2404 <monnier@iro.umontreal.ca>.
2405
50e28e7d
JD
24062013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2407
2408 * menu-bar.el: Don't make Services menu.
2409
7deed4bf
RS
24102013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2411
2412 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2413 (ffap-alist): Use ffap-c++-mode for c++-mode.
2414 (ffap-c++-path): New variable.
2415 (ffap-c++-mode): New function.
2416
7bcb455b
JVJ
24172013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2418
2419 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2420
f0ff1cd5
MA
24212013-10-18 Michael Albinus <michael.albinus@gmx.de>
2422
2423 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2424 introduced on 2013-09-08, which results in an infinite loop
2425 requesting a password.
2426
d64da4b7
GM
24272013-10-18 Glenn Morris <rgm@gnu.org>
2428
2429 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2430
ea89ff08
WS
24312013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2432
2433 Sync with upstream verilog-mode revision 1a6ecec7.
2434 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2435 (verilog-mode-release-date): Remove.
2436 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2437 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2438 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2439 (verilog-auto-tieoff-ignore-regexp)
2440 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2441 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2442 (verilog-signals-with, verilog-dir-cache-preserving)
2443 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2444 Doc fixes.
2445 (verilog-case-fold): New option, to control case folding in
2446 regexp searches, bug597.
2447 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2448 (verilog-string-match-fold, verilog-in-paren-count)
2449 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2450 (verilog-at-close-struct-p): New functions.
2451 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2452 (verilog-forward-sexp, verilog-set-auto-endcomments):
2453 (verilog-leap-to-case-head): Handle "unique0" case.
2454 (verilog-in-constraint-re): New constant.
2455 (verilog-keywords, verilog-type-font-keywords):
2456 Add some SystemVerilog 1800-2012 keywords.
2457 (verilog-label-be): Remove unimplemented argument, bug669.
2458 (verilog-batch-execute-func): When batch expanding clear
2459 create-lockfiles to prevent spurious user locks when a file ends
2460 up not changing.
2461 (verilog-calculate-indent, verilog-calc-1)
2462 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2463 (verilog-do-indent): Fix indentation of nested constraints
2464 and structures.
2465 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2466 (verilog-auto-inst-param): Use verilog-string-match-fold.
2467 (verilog-read-inst-module-matcher):
2468 Fix AUTOINST on gate primitives with #1.
2469 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2470 Reads all user-defined typed variables.
2471 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2472 (verilog-signals-matching-regexp)
2473 (verilog-signals-not-matching-regexp, verilog-auto):
2474 Respect verilog-case-fold.
2475 (verilog-diff-report): Fix line count.
2476 (verilog-auto-assign-modport): Remove unused local `modi'.
2477 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2478 better handle multidimensional arrays.
2479 Fix packed array ports misadding bit index in AUTOINST, bug637.
2480 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2481 to not double-declare existing outputs and inputs, respectively.
2482 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2483 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2484 (verilog-sk-uvm-component): New skeleton.
2485 (verilog-submit-bug-report): Add verilog-case-fold,
2486 remove verilog-mode-release-date.
2487
ef566920
BR
24882013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2489
2490 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2491 as before.
2492
29df8a0b
RT
24932013-10-18 Reuben Thomas <rrt@sc3d.org>
2494
2495 * textmodes/remember.el (remember): set buffer-offer-save in
2496 remember buffers (bug#13566).
2497
04a19a79
DC
24982013-10-18 Daniel Colascione <dancol@dancol.org>
2499
2500 When evaluating forms in ielm, direct standard output to ielm
2501 buffer. Add new ielm-return-for-effect command. Remove trailing
2502 whitespace throughout.
2503
2504 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2505 (ielm-return-for-effect): New command.
2506 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2507 (ielm-eval-input): Accept optional `for-effect' parameter.
2508 Bind `standard-output' to stream we create using
04a19a79
DC
2509 `ielm-standard-output-impl'. Suppress printing result when
2510 `for-effect'.
2511 (ielm-standard-output-impl): New function.
2512 (inferior-emacs-lisp-mode): Explain new features in documentation.
2513
4c1f03ef
MA
25142013-10-17 Michael Albinus <michael.albinus@gmx.de>
2515
2516 Code cleanup.
2517
2518 * net/tramp.el (tramp-debug-message): Do not check for connection
2519 buffer.
2520 (tramp-message): Use "vector" connection property.
2521
2522 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2523 (tramp-equal-remote, tramp-eshell-directory-change)
2524 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2525 (tramp-adb-handle-rename-file)
2526 * net/tramp-cmds.el (tramp-list-remote-buffers)
2527 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2528 * net/tramp-compat.el (tramp-compat-process-running-p)
2529 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2530 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2531 (tramp-gvfs-handle-rename-file)
2532 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2533 (tramp-set-file-uid-gid)
2534 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2535 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2536 of `file-remote-p'.
2537
2538 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2539 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2540 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2541 (tramp-gw-open-network-stream): Suppress unrelated traces.
2542
2543 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2544 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2545 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2546 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2547 connection property.
2548
2549 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2550 persistency file.
4c1f03ef
MA
2551
2552 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2553 Refactor common code. Improve debug message.
2554 (tramp-maybe-open-connection)
2555 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2556 connection buffer too early.
2557
2558 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2559 from `tramp-smb-actions-with-acl'.
2560 (tramp-smb-actions-set-acl): New defconst.
2561 (tramp-smb-handle-copy-directory)
2562 (tramp-smb-action-get-acl): New defun, renamed from
2563 `tramp-smb-action-with-acl'.
2564 (tramp-smb-action-set-acl): New defun.
2565 (tramp-smb-handle-set-file-acl): Rewrite.
2566
642eb8b6
GM
25672013-10-17 Glenn Morris <rgm@gnu.org>
2568
2569 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2570
85527ff3
SM
25712013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2572
921c1d62
SM
2573 * skeleton.el (skeleton-newline): Remove.
2574 (skeleton-internal-1): Use (insert "\n") instead.
2575
e333fb10
SM
2576 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2577 let-bindings.
2578
85527ff3
SM
2579 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2580 forward-sexp-function while we redo its job (bug#15613).
2581
c8722a97
JB
25822013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2583
2584 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2585 represented by lists.
2586
7a550bbb
GM
25872013-10-16 Glenn Morris <rgm@gnu.org>
2588
2589 * tmm.el (tmm--history): New dynamic variable.
2590 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2591
f19da8ad
MA
25922013-10-16 Michael Albinus <michael.albinus@gmx.de>
2593
2594 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2595 (tramp-smb-errors): Add error messages.
2596 (tramp-smb-actions-with-acl): New defconst.
2597 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2598 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2599 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2600 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2601 (tramp-smb-get-stat-capability): Fix tests.
2602
a24b9961
DK
26032013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2604
2605 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2606 (bug#15580).
2607
62ad85e6
GM
26082013-10-16 Glenn Morris <rgm@gnu.org>
2609
0283d6b0
GM
2610 * ansi-color.el (ansi-color-drop-regexp):
2611 Add 1J, 1K, 2K. (Bug#15617)
2612
012e2f9f
GM
2613 * files.el (hack-local-variables--warned-lexical): New.
2614 (hack-local-variables):
2615 Warn about misplaced lexical-binding. (Bug#15616)
2616
62ad85e6
GM
2617 * net/eww.el (eww-render): Always set eww-current-url,
2618 and update header line. (Bug#15622)
2619 (eww-display-html): ... Rather than just doing it here.
2620
6456c0ea
EZ
26212013-10-15 Eli Zaretskii <eliz@gnu.org>
2622
2623 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2624 menu navigations commands.
2625
c2de5588
DK
26262013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2627
2628 * progmodes/subword.el (subword-capitalize): Be careful when
2629 the search for [[:alpha:]] fails (bug#15580).
2630
ccd4a783
EZ
26312013-10-14 Eli Zaretskii <eliz@gnu.org>
2632
2633 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2634 to commands that scroll the menu.
2635
1eda1d8d
DG
26362013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2637
c2de5588
DK
2638 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2639 Handle methods ending with `?' and `!'.
1eda1d8d 2640
e70181b8
AM
26412013-10-14 Akinori MUSHA <knu@iDaemons.org>
2642
2643 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2644 `japanese-cp932' to `cp932' to fix the problem where saving a
2645 source file written in Shift_JIS twice would end up having
2646 `coding: japanese-cp932' which Ruby could not recognize.
2647 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2648 in `ruby-encoding-map'.
2649 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2650 doesn't need to be explicitly declared in magic comment.
2651 (ruby-encoding-map): Add type declaration for better customize UI.
2652
9148ee92
GM
26532013-10-13 Glenn Morris <rgm@gnu.org>
2654
a5d38e34
GM
2655 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2656 Occur buffers are read-only. http://bugs.debian.org/720775
2657
9148ee92
GM
2658 * emacs-lisp/authors.el (authors-fixed-entries):
2659 Comment out old alpha stuff.
2660
a9ba094b
DG
26612013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2662
2663 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2664 to `after-save-hook' instead of `before-save-hook'.
2665 (ruby-mode-set-encoding): Use the value of coding system used to
2666 write the file. Call `basic-save-buffer-1' after modifying the
2667 buffer.
2668
7a068717
AM
26692013-10-13 Alan Mackenzie <acm@muc.de>
2670
2671 Fix indentation/fontification of Java enum with
2672 "implements"/generic.
2673
c2de5588
DK
2674 * progmodes/cc-engine.el (c-backward-over-enum-header):
2675 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2676 (c-inside-bracelist-p): Uses new function above.
2677 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2678 function above.
2679 (c-font-lock-enum-tail): Uses new function above.
2680
85b64f02
KH
26812013-10-13 Kenichi Handa <handa@gnu.org>
2682
2683 * international/mule-cmds.el (select-safe-coding-system): Remove a
2684 superfluous condition in chekcing whether a coding system is safe
2685 or not.
2686
fc7f501b
OK
26872013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2688
2689 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2690
fdcb2049
AP
26912013-10-13 Andreas Politz <politza@hochschule-trier.de>
2692
2693 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2694
8c106d17
GM
26952013-10-13 Glenn Morris <rgm@gnu.org>
2696
feab892d
GM
2697 * menu-bar.el (menu-bar-update-buffers):
2698 Unify Buffers menu prompt string. (Bug#15576)
2699
b22d0686
GM
2700 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2701
8c106d17
GM
2702 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2703 Add some entries.
2704 (authors-fixed-entries): Use accented form of name.
2705
1b12c797
SM
27062013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2707
650fa7bf 2708 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2709 method calls (bug#15594).
650fa7bf
SM
2710 (ruby-smie--args-separator-p): New function.
2711 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2712 recognize paren-free method calls.
2713
1b12c797
SM
2714 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2715 internals of universal-argument.
2716
029619c8
EZ
27172013-10-11 Eli Zaretskii <eliz@gnu.org>
2718
2719 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2720 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2721 dropped menu on second mouse click on the menu bar.
029619c8 2722
dd070019
SM
27232013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2726 (explicit-shell-file-name): Declare.
2727 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2728 (sh-completion-at-point-function): New function.
2729 (sh-mode): Use it.
2730 (sh-smie--keyword-p): Remove unused argument.
2731 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2732 vars.
2733 (sh-set-shell): Always setup SMIE, even if we use the
2734 old indentation code.
2735
0922b826
DG
27362013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2737
b68e2926
DG
2738 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2739 cases of ? and =.
2740 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2741 predicate would return nil are almost non-existent.
2742 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2743
0922b826
DG
2744 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2745 cache also after commands that modify the buffer but don't move
2746 point.
2747
ee041f2d
SM
27482013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * env.el (substitute-env-in-file-name): New function.
2751 (substitute-env-vars): Extend the meaning of the optional arg.
2752
a5dab159
EZ
27532013-10-10 Eli Zaretskii <eliz@gnu.org>
2754
2755 * term/w32-win.el (dynamic-library-alist): Define separate lists
2756 of GIF DLLs for versions before and after 5.0.0 of giflib.
2757 (Bug#15531)
2758
0449d6cd 27592013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2760
2761 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2762 not locked, use last revision and current source as
2763 defaults. (Bug#15569)
2764
2f6e161e
MY
27652013-10-10 Masatake YAMATO <yamato@redhat.com>
2766
2767 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2768 menu-bar is hidden.
2769
6c8413fc
MR
27702013-10-10 Martin Rudalics <rudalics@gmx.at>
2771
2772 * window.el (pop-to-buffer-same-window): Fix doc-string.
2773 (Bug#15492)
2774
20832de0
SM
27752013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2778
c6e8ae77
AC
27792013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2780
2781 * calendar/icalendar.el (icalendar-import-file):
2782 Fix interactive spec. (Bug#15482)
2783
9db13baf
GM
27842013-10-10 Glenn Morris <rgm@gnu.org>
2785
9271e90e
GM
2786 * desktop.el (desktop-save): Default to saving in .emacs.d,
2787 since PWD is no longer in desktop-path by default. (Bug#15319)
2788
9db13baf
GM
2789 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2790 now that text mode has a menu with the same entry.
2791 (menu-bar-text-mode-auto-fill): Remove now unused func.
2792 * textmodes/text-mode.el (text-mode-map):
2793 Use auto-fill help text from menu-bar.el.
2794
a0be396a 27952013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2796
2797 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2798
2edcd3c7
JL
27992013-10-09 Juri Linkov <juri@jurta.org>
2800
2801 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2802 instead of this-command-keys. Add universal-argument-more and
2803 universal-argument-minus to the list of prefix commands. (Bug#15568)
2804
574411d0
GM
28052013-10-09 Glenn Morris <rgm@gnu.org>
2806
14afa541
GM
2807 * vc/vc-svn.el (vc-svn-create-repo):
2808 Expand paths in file://... url. (Bug#15446)
2809
574411d0
GM
2810 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2811 Add some entries.
2812 (authors): Remove unused local variables.
2813
79804536
SM
28142013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2815
2816 * profiler.el: Create a more coherent calltree from partial backtraces.
2817 (profiler-format): Hide the tail with `invisible' so that C-s can still
2818 find the hidden elements.
2819 (profiler-calltree-depth): Don't recurse so enthusiastically.
2820 (profiler-function-equal): New hash-table-test.
2821 (profiler-calltree-build-unified): New function.
2822 (profiler-calltree-build): Use it.
2823 (profiler-report-make-name-part): Indent the calltree less.
2824 (profiler-report-mode): Add visibility specs for profiler-format.
2825 (profiler-report-expand-entry, profiler-report-toggle-entry):
2826 Expand the whole subtree when provided with a prefix arg.
2827
238150c8
DG
28282013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2829
2830 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2831 iuwu-mod token.
2832 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2833 hanging iuwu-mod token.
2834 (ruby-smie--forward-token): Do not include a dot after a token in
2835 that token.
2836 (ruby-smie--backward-token): Likewise.
2837
b0949cc4
JL
28382013-10-08 Juri Linkov <juri@jurta.org>
2839
2840 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2841 to isearch-other-control-char.
2842 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2843 and isearch-post-command-hook to post-command-hook.
2844 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2845 and isearch-post-command-hook from post-command-hook.
2846 (isearch-unread-key-sequence)
2847 (isearch-reread-key-sequence-naturally)
2848 (isearch-lookup-scroll-key, isearch-other-control-char)
2849 (isearch-other-meta-char): Remove functions.
2850 (isearch-pre-command-hook, isearch-post-command-hook):
2851 New functions based on isearch-other-meta-char rewritten
2852 relying on the new behavior of overriding-terminal-local-map
2853 that does not replace the local keymaps any more. (Bug#15200)
2854
4ed77415
EZ
28552013-10-08 Eli Zaretskii <eliz@gnu.org>
2856
2857 Support menus on text-mode terminals.
2858 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2859 functionality.
2860
2861 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2862
c2de5588
DK
2863 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2864 Move here from mouse.el.
4ed77415
EZ
2865 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2866 and arrow keys.
2867 (tty-menu-navigation-map): New map for TTY menu navigation.
2868
2869 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2870
2871 * frame.el (display-mouse-p): Report text-mode mouse as available
2872 on w32.
2873 (display-popup-menus-p): Report availability if mouse is
2874 available; don't condition on window-system.
2875
2876 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2877 (tty-menu-selected-face): New faces.
2878
b7d5bd82
TL
28792013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2880
06286513
SM
2881 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2882 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2883 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2884 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2885 New constants.
2886 (lisp-mode-variables): New `elisp' argument.
2887 (emacs-lisp-mode): Use it.
2888 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2889 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2890
b7d5bd82
TL
2891 * indent.el: Use lexical-binding.
2892 (indent-region): Add progress reporter.
2893 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2894 last step.
2895 (indent--next-tab-stop): New function to implement this behavior.
2896 (tab-to-tab-stop, move-to-tab-stop): Use it.
2897
28982013-10-08 Teemu Likonen <tlikonen@iki.fi>
2899
2900 * indent.el (indent-rigidly--current-indentation): New function.
2901 (indent-rigidly-map): New var.
2902 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2903
5ea75d23
BG
29042013-10-08 Bastien Guerry <bzg@gnu.org>
2905
2906 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2907
cc5da1ec
SM
29082013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2909
8ffa1a0b
SM
2910 * progmodes/perl-mode.el: Use lexical-binding.
2911 Remove redundant :group args.
2912 (perl-nochange): Change default to be closer to other major modes's
2913 standard behavior.
2914 (perl-indent-line): Don't consider text on current line as a
2915 valid beginning of function from which to indent.
2916
f2223371
SM
2917 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2918 with more than one argument (bug#15538).
2919
44256060
SM
2920 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2921
cc5da1ec
SM
2922 * vc/pcvs.el: Use lexical-binding.
2923 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2924 environment of `eval'.
2925 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2926 than a list of expressions. Adjust callers.
2927 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2928
0ea1599d
DG
29292013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2930
2931 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2932 case of the dot in a chained method call being on the following line.
0ea1599d 2933
da3e5ebb
SM
29342013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2abb4e65
SM
2936 * electric.el (electric-indent-inhibit): New var.
2937 (electric-indent-post-self-insert-function): Use it.
2938 * progmodes/python.el (python-mode): Set it.
2939
d2e0e795
SM
2940 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2941 open braces.
2942
2943 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2944
bdc6b4c8
SM
2945 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2946 (css-mode): Use electric-indent-chars.
2947
da3e5ebb
SM
2948 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2949 (font-lock-beg, font-lock-end): Move before first use.
2950 (nxml-mode): Use syntax-propertize-function.
2951 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2952 (nxml-extend-after-change-region): Remove.
2953 * nxml/xmltok.el: Use lexical-binding.
2954 (xmltok-save): Use `declare'.
2955 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2956 * nxml/nxml-util.el: Use lexical-binding.
2957 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2958 Use `declare'.
2959 * nxml/nxml-ns.el: Use lexical-binding.
2960 (nxml-ns-save): Use `declare'.
2961 (nxml-ns-prefixes-for): Avoid add-to-list.
2962 * nxml/rng-match.el: Use lexical-binding.
2963 (rng--ipattern): Use cl-defstruct.
2964 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2965 (rng-cons-group-after, rng-subst-group-after)
2966 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2967 Use closures instead of `(lambda...).
2968
f8f91d5d
MA
29692013-10-07 Michael Albinus <michael.albinus@gmx.de>
2970
2971 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2972 of BEG and END.
2973
da3e5ebb
SM
2974 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2975 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2976 (tramp-gvfs-handle-insert-file-contents): Remove function.
2977
da3e5ebb
SM
2978 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2979 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2980
2981 * net/trampver.el: Update release number.
2982
7ccae3b1
SM
29832013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2984
55ca2c0d
SM
2985 * progmodes/compile.el (compilation-parse-errors):
2986 Use compilation--put-prop.
2987 (compilation--ensure-parse): Check compilation-multiline.
2988
731fc3ae
SM
2989 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2990
da3e5ebb
SM
2991 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2992 lexical-binding.
a5833280 2993
2e7ba2c2
SM
2994 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2995
7ccae3b1
SM
2996 * progmodes/ruby-mode.el: Fix recently added tests.
2997 (ruby-smie-grammar): Add - and +.
2998 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2999 (ruby-smie--backward-id): New functions.
3000 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3001 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3002 any more.
3003
85698d63
LL
30042013-10-07 Leo Liu <sdl.web@gmail.com>
3005
3006 * register.el (register-preview-delay)
3007 (register-preview-functions): New variables.
3008 (register-read-with-preview, register-preview)
3009 (register-describe-oneline): New functions.
3010 (point-to-register, window-configuration-to-register)
3011 (frame-configuration-to-register, jump-to-register)
3012 (number-to-register, view-register, insert-register)
3013 (copy-to-register, append-to-register, prepend-to-register)
3014 (copy-rectangle-to-register): Use register-read-with-preview to
3015 read register. (Bug#15525)
3016
3986af6c
DS
30172013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3018
3019 * net/network-stream.el (network-stream-open-starttls): Don't add
3020 --insecure if it's already present, because that gnutls-cli
3021 rejects getting that parameter twice.
3022
5cd9cda9
DG
30232013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3024
3025 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3026 keyword, too.
3027
da9ea6d9
DG
30282013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3029
3030 * newcomment.el (comment-use-global-state): Change default value
3031 to t, mark obsolete (Bug#15251).
3032 (comment-beginning): In addition to `comment-to-syntax', check the
3033 value of `comment-use-global-state'.
3034
34d1a133
SM
30352013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3038 (ruby-comment-column): Follow the global default, by default.
3039 (ruby-smie-grammar): Add assignment syntax.
3040 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3041 open-paren, a comma, or a \.
3042 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3043 and line continuations.
3044 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3045 followed by implicit semi-colons. Add rule for string concatenation
3046 and for indentation at BOB.
3047 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3048
3049 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3050 calling next-sexp, since next-token may have skipped chars which
3051 next-sexp doesn't know should be skipped!
3052
6f6ab820
LL
30532013-10-05 Leo Liu <sdl.web@gmail.com>
3054
34d1a133
SM
3055 * progmodes/octave.el (octave-send-region):
3056 Call compilation-forget-errors.
6f6ab820 3057
34ca0f4c
XF
30582013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3059
3060 * vc/vc-svn.el (vc-svn-find-admin-dir):
3061 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3062 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3063 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3064 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3065
a27c1b72
SM
30662013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3069
258ab3bc
SM
30702013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * subr.el (read-passwd): Hide chars even when called within a context
3073 where after-change-functions is disabled (bug#15501).
3074 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3075 until we removed ourself from overriding-terminal-local-map.
3076
939fb29c
LL
30772013-10-04 Leo Liu <sdl.web@gmail.com>
3078
258ab3bc
SM
3079 * progmodes/octave.el (inferior-octave-mode):
3080 Call compilation-forget-errors.
939fb29c 3081
63bd7f35
XF
30822013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3083
3084 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3085
9e6229fa
MA
30862013-10-04 Michael Albinus <michael.albinus@gmx.de>
3087
3088 * net/secrets.el (secrets-create-collection): Add optional
3089 argument ALIAS. Use proper Label keyword. Append ALIAS as
3090 dbus-call-method argument. (Bug#15516)
3091
1dab32a3
LL
30922013-10-04 Leo Liu <sdl.web@gmail.com>
3093
3094 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3095 (inferior-octave-compilation-font-lock-keywords): New variables.
3096 (compilation-error-regexp-alist)
3097 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3098 (inferior-octave-mode): Use compilation-shell-minor-mode.
3099
6cad7ba3
JS
31002013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3101
3102 * minibuffer.el (completion--replace): Be careful that `end' might be
3103 a marker.
3104
acbadd00
DU
31052013-10-03 Daiki Ueno <ueno@gnu.org>
3106
3107 Add support for package signature checking.
3108 * emacs-lisp/package.el (url-http-file-exists-p)
3109 (epg-make-context, epg-context-set-home-directory)
3110 (epg-verify-string, epg-context-result-for)
3111 (epg-signature-status, epg-signature-to-string)
3112 (epg-check-configuration, epg-configuration)
3113 (epg-import-keys-from-file): Declare.
3114 (package-check-signature): New user option.
3115 (package-unsigned-archives): New user option.
3116 (package-desc): Add `signed' field.
3117 (package-load-descriptor): Set `signed' field if .signed file exists.
3118 (package--archive-file-exists-p): New function.
3119 (package--check-signature): New function.
3120 (package-install-from-archive): Check package signature.
3121 (package--download-one-archive): Check archive signature.
3122 (package-delete): Remove .signed file.
3123 (package-import-keyring): New command.
3124 (package-refresh-contents): Import default keyring.
3125 (package-desc-status): Add "unsigned" status.
3126 (describe-package-1, package-menu--print-info)
3127 (package-menu-mark-delete, package-menu--find-upgrades)
3128 (package-menu--status-predicate): Support "unsigned" status.
3129
adf2aa61
SM
31302013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3131
3132 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3133 the new compilation scheme using the new byte-codes.
3134
3135 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3136 (byte-pophandler): New byte codes.
3137 (byte-goto-ops): Adjust accordingly.
3138 (byte-compile--use-old-handlers): New var.
3139 (byte-compile-catch): Use new byte codes depending on
3140 byte-compile--use-old-handlers.
3141 (byte-compile-condition-case--old): Rename from
3142 byte-compile-condition-case.
3143 (byte-compile-condition-case--new): New function.
3144 (byte-compile-condition-case): New function that dispatches depending
3145 on byte-compile--use-old-handlers.
3146 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3147 when we can.
3148
3149 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3150 Optimize under `condition-case' and `catch' if
3151 byte-compile--use-old-handlers is nil.
3152 (disassemble-offset): Handle new bytecodes.
3153
328a8179
SM
31542013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * subr.el (error): Use `declare'.
3157 (decode-char, encode-char): Use advertised-calling-convention instead
3158 of the docstring to discourage use of the `restriction' arg.
3159
15a1e936
DU
31602013-10-03 Daiki Ueno <ueno@gnu.org>
3161
3162 * epg.el (epg-verify-file): Add a comment saying that it does not
3163 notify verification error as a return value nor a signal.
3164 (epg-verify-string): Ditto.
3165
376f862a
KR
31662013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3167
3168 * progmodes/compile.el (compilation-start): Try globbing the arg to
3169 `cd' (bug#15417).
3170
a2f93a5f
MA
31712013-10-02 Michael Albinus <michael.albinus@gmx.de>
3172
3173 Sync with Tramp 2.2.8.
3174
3175 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3176 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3177 * net/trampver.el: Update release number.
3178
0daa0804
JD
31792013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3180
3181 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3182 and default-process-coding-system for darwin only.
3183
abd1ae34
SM
31842013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3187
be4e325d
MH
31882013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3189
3190 * vc/vc-git.el (vc-git-grep): Disable pager.
3191
e9155c4a
DG
31922013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3193
494e898b
DG
3194 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3195 Use :url instead of :homepage, as per
3196 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3197
e9155c4a
DG
3198 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3199 non-nil, use `syntax-ppss' (Bug#15251).
3200
481a8e0f
RS
32012013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3202
be4e325d
MH
3203 * progmodes/octave.el (inferior-octave-startup-file):
3204 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3205
056453c6
DG
32062013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3207
be4e325d
MH
3208 * emacs-lisp/package.el (package-desc-from-define):
3209 Accept additional arguments as plist, convert them to an alist and store
3210 them in the `extras' slot.
056453c6
DG
3211 (package-generate-description-file): Convert extras alist back to
3212 plist and append to the `define-package' form arguments.
3213 (package--alist-to-plist): New function.
3214 (package--ac-desc): Add `extras' slot.
3215 (package--add-to-archive-contents): Check if the archive-contents
3216 vector is long enough, and if it is, pass its `extras' slot value
3217 to `package-desc-create'.
3218 (package-buffer-info): Call `lm-homepage', pass the returned value
3219 to `package-desc-from-define'.
3220 (describe-package-1): Render the homepage button (Bug#13291).
3221
be4e325d
MH
3222 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3223 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3224
832966e5
JD
32252013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3226
3227 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3228 and default-process-coding-system to utf-8-unix (Bug#15402).
3229
6cfe977d
XF
32302013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3231
3232 * subr.el (looking-back): Do not recommend using looking-back.
3233
38de11bd
AM
32342013-09-28 Alan Mackenzie <acm@muc.de>
3235
3236 Fix indentation/fontification of Java enum with "implements".
3237
3238 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3239 regexp which matches "implements", etc., in Java.
3240 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3241 specifier clauses coming after "enum".
3242 * progmodes/cc-fonts.el (c-font-lock-declarations)
3243 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3244 after "enum".
3245
1610938f
JD
32462013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3247
3248 * faces.el (region): Change ns_selection_color to
3249 ns_selection_fg_color, add ns_selection_bg_color.
3250
e090f499
LL
32512013-09-28 Leo Liu <sdl.web@gmail.com>
3252
4d2e94d1
LL
3253 * progmodes/octave.el (inferior-octave-completion-table)
3254 (inferior-octave-completion-at-point): Minor tweaks.
3255
e090f499
LL
3256 * textmodes/ispell.el (ispell-lookup-words): Rename from
3257 lookup-words. (Bug#15460)
3258 (lookup-words): Obsolete.
3259 (ispell-complete-word, ispell-command-loop): All uses changed.
3260
7e138a62
RS
32612013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3262
3263 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3264 (octave-mode-menu): Add octave-send-buffer.
3265 (octave-send-buffer): New function.
3266
5af5ed08
RS
32672013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3268
3269 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3270 octave-lookfor.
3271 (octave-mode-menu): Add octave-lookfor.
3272 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3273 octave-lookfor.
3274 (octave-lookfor): New function.
3275
3b7b2692
SM
32762013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * emacs-lisp/cl-macs.el:
3279 (cl--loop-destr-temps): Remove.
3280 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3281 its convention.
3282 (cl--loop-set-iterator-function): New function.
3283 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3284 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3285 Bind `it' with `let' instead of substituting it with `cl-subst'.
3286 (cl--unused-var-p): New function.
3287 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3288 Eliminate some unused variable warnings (bug#15326).
3289
529fb53f
TH
32902013-09-27 Tassilo Horn <tsdh@gnu.org>
3291
3292 * doc-view.el (doc-view-scale-reset): Rename from
3293 `doc-view-reset-zoom-level'.
3294 (doc-view-scale-adjust): New command.
3295 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3296 `doc-view-scale-adjust'.
3297
0550c95a
TH
32982013-09-26 Tassilo Horn <tsdh@gnu.org>
3299
3300 * doc-view.el (doc-view-reset-zoom-level): New command.
3301 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3302 zoom commands (bug#15466).
3303
6950f152
KH
33042013-09-26 Kenichi Handa <handa@gnu.org>
3305
3306 * international/quail.el (quail-help): Make it not a command.
3307
39587580
LL
33082013-09-26 Leo Liu <sdl.web@gmail.com>
3309
3310 * minibuffer.el (completion-all-sorted-completions): Make args
3311 optional as they are.
3312
00578659
DC
33132013-09-25 Daniel Colascione <dancol@dancol.org>
3314
3315 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3316 specs are and that they're not evaluated.
3317
0c173878
SS
33182013-09-24 Sam Steingold <sds@gnu.org>
3319
3320 * midnight.el (clean-buffer-list-kill-regexps)
3321 (clean-buffer-list-kill-buffer-names): Update for the new Man
3322 buffer naming which includes the object name.
3323
84998447
SM
33242013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3325
3326 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3327 (eshell-parse-command, eshell-parse-pipeline): Use it since
3328 eshell-separate-commands requires a dynamic scoped var.
3329 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3330
33215353
LL
33312013-09-23 Leo Liu <sdl.web@gmail.com>
3332
3333 * autoinsert.el (auto-insert-alist): Make the value of
3334 lexical-binding match its file setting.
3335
57b16162
JB
33362013-09-23 Juanma Barranquero <lekktu@gmail.com>
3337
c8af4e67
JB
3338 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3339
57b16162
JB
3340 * autoarg.el (autoarg-kp-digit-argument):
3341 * electric.el (Electric-command-loop):
3342 * kmacro.el (kmacro-step-edit-insert):
3343 Do not set universal-argument-num-events.
3344
7186ba60
LL
33452013-09-22 Leo Liu <sdl.web@gmail.com>
3346
3347 * files.el (interpreter-mode-alist): Add octave.
3348
ece15004
AM
33492013-09-21 Alan Mackenzie <acm@muc.de>
3350
3351 C++: fontify identifier in declaration following "public:" correctly.
3352 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3353 to match "public", etc.
3354 (c-decl-prefix-re): Add ":" into the C++ value.
3355 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3356 bit. Add a check for a ":" preceded by "public", etc.
3357
75d83e22
EZ
33582013-09-21 Eli Zaretskii <eliz@gnu.org>
3359
3360 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3361 recognized by GDB 7.5 and later.
3362
d052d3bd
XF
33632013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3364
3365 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3366
31dca772
R
33672013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3368
3369 * subr.el (internal--call-interactively): New const.
3370 (called-interactively-p): Use it (bug#3984).
3371
98ccf24e
XF
33722013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3373
3374 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3375 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3376 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3377
c39cc7d1
SM
33782013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3379
3380 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3381 (eshell-ls-orig-insert-directory): Remove.
3382 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3383 (eshell-ls-use-in-dired): Use advice-add/remove.
3384 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3385 Add `orig-fun' arg for use in :around advice.
3386 Make it check (redundantly) eshell-ls-use-in-dired.
3387
9a0289a2
GM
33882013-09-19 Glenn Morris <rgm@gnu.org>
3389
a2c501b8
GM
3390 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3391
c440407a
GM
3392 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3393
9a0289a2
GM
3394 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3395
85e05915
MA
33962013-09-19 Michael Albinus <michael.albinus@gmx.de>
3397
3398 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3399 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3400 (tramp-get-remote-python): New defuns.
3401 (tramp-get-remote-uid-with-perl)
3402 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3403 contributed by yary <not.com@gmail.com> (tiny change).
3404 (tramp-get-remote-uid-with-python)
3405 (tramp-get-remote-gid-with-python): New defuns. Python code
3406 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3407 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3408
ce503312
GM
34092013-09-19 Glenn Morris <rgm@gnu.org>
3410
f7544773
GM
3411 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3412
72fd2877
GM
3413 * eshell/em-unix.el (eshell-remove-entries):
3414 Rename argument to avoid name-clash with global `top-level'.
3415
336b5a56
GM
3416 * eshell/esh-proc.el (eshell-kill-process-function):
3417 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3418 (eshell-reset-after-proc): Remove unused arg `proc'.
3419
57a3a53d
GM
3420 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3421 (directory-files-and-attributes): Mark unused arg.
3422
3261d4af
GM
3423 * eshell/em-unix.el (eshell-remove-entries):
3424 Remove unused arg `path'. Update callers.
3425
8e51b5d0
GM
3426 * eshell/em-hist.el (eshell-hist-parse-arguments):
3427 Remove unused arg `silent'. Update callers.
3428
ce503312
GM
3429 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3430 Fix (f)boundp mix-up.
3431
3432 * eshell/em-smart.el (eshell-smart-scroll-window)
3433 (eshell-disable-after-change):
336b5a56 3434 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3435
ee3ce8a7
AM
34362013-09-18 Alan Mackenzie <acm@muc.de>
3437
3438 Fix fontification of type when followed by "const".
3439 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3440 "known" types from fontification.
3441
ec9177ba
GM
34422013-09-18 Glenn Morris <rgm@gnu.org>
3443
7bb3e768
GM
3444 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3445 (chart-face-list): Drop Emacsen without display-color-p.
3446
5148da15
GM
3447 * net/eww.el (libxml-parse-html-region): Declare.
3448 (eww-display-html): Explicit error if no libxml2 support.
3449
2f68e157
GM
3450 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3451
9019d095
GM
3452 * image.el (image-type-from-buffer, image-multi-frame-p):
3453 Remove --without-x warning/error.
67645389 3454
5f30349b 3455 * mouse.el (mouse-yank-primary):
45069b2e 3456 * term.el (term-mouse-paste):
5f30349b
GM
3457 Reorder to silence --without-x compilation.
3458
cd8edbbe
GM
3459 * mpc.el (doc-view-mode): Silence --without-x compilation.
3460
8a78544e
GM
3461 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3462 Silence --without-x compilation.
3463
12679bfd
GM
3464 * progmodes/gud.el (gud-find-file, gud-mode):
3465 Silence --without-x compilation.
3466 (tooltip-mode): Declare.
30810a05 3467
f0047cb9
GM
3468 * wdired.el (dired-backup-overwrite): Remove declaration.
3469 (wdired-mode-map): Add doc string.
3470
e740f9d2
GM
3471 * custom.el (x-get-resource): Declare.
3472
92d77c89
GM
3473 * eshell/em-glob.el (ange-cache):
3474 * eshell/em-unix.el (ange-cache): Declare.
3475
76e69577
GM
3476 * faces.el (x-display-list, x-open-connection, x-get-resource):
3477 Declare.
7e58af4b
GM
3478
3479 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3480 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3481 Declare.
76e69577 3482
4bd4c0af 3483 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3484
ffb82dbd
GM
3485 * net/gnutls.el (gnutls-log-level): Declare.
3486
986ed135
GM
3487 * net/shr.el (image-size, image-animate): Declare.
3488
e740f9d2
GM
3489 * simple.el (font-info): Declare.
3490
d2f3e9f8
GM
3491 * subr.el (x-popup-dialog): Declare.
3492
047a1a4c
GM
3493 * term/common-win.el (x-select-enable-primary)
3494 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3495 Declare.
3496
f4a1d572
GM
3497 * term/ns-win.el (x-handle-args): Declare.
3498
e843de77
GM
3499 * term/x-win.el (x-select-enable-clipboard): Declare.
3500
5fa89513
GM
3501 * term/w32-win.el (create-default-fontset): Declare.
3502
38702b5b
GM
3503 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3504 Declare.
3505
e740f9d2
GM
3506 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3507 (fit-frame-to-buffer): Explicit error if --without-x.
3508 (mouse-autoselect-window-select): Silence compiler.
3509
49a053fc
GM
3510 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3511
3512 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3513 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3514 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3515 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3516 Remove unused local variables.
3517
3518 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3519
ec9177ba
GM
3520 * textmodes/two-column.el: Make 2C-split work for --without-x.
3521 (scroll-bar-columns): Autoload.
3522 (top-level): Require fringe when compiling.
3523
9f25cb77
LL
35242013-09-18 Leo Liu <sdl.web@gmail.com>
3525
3526 * subr.el (add-hook): Robustify to handle closure as well.
3527
2b42da98
GM
35282013-09-17 Glenn Morris <rgm@gnu.org>
3529
3530 * simple.el (messages-buffer-mode-map): Unbind "g".
3531
e8b66a6a
SM
35322013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3533
9c0ad4f7
SM
3534 * help-mode.el (help-mode-finish): Use derived-mode-p.
3535 Remove obsolete highlighting.
3536
7a806dfb
SM
3537 * play/life.el (life-mode): Use define-derived-mode. Derive from
3538 special-mode.
3539 (life): Let-bind inhibit-read-only.
3540 (life-setup): Avoid `setq'. Use `life-mode'.
3541
96dbf5a8
SM
3542 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3543 which should not be needed any more.
3544 (package-menu-refresh, package-menu-describe-package): Use user-error.
3545
e8b66a6a
SM
3546 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3547 (eshell-post-rewrite-command-hook): Make obsolete.
3548 (eshell-parse-command): Simplify.
3549 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3550 (eshell--cmd): Declare.
3551 (eshell-parse-pipeline): Remove unused var `final-p'.
3552 Pass a dynvar to eshell-post-rewrite-command-hook.
3553 Implement the new eshell-post-rewrite-command-function.
3554 (eshell-invoke-directly): Remove unused arg `input'.
3555 * eshell/esh-io.el (eshell-io-initialize):
3556 Use eshell-post-rewrite-command-function (bug#15399).
3557 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3558 adjust to new calling convention.
3559 (eshell-create-handles): Rename args to avoid clashing with dynvar
3560 `standard-output'.
3561
90582f05
GM
35622013-09-17 Glenn Morris <rgm@gnu.org>
3563
3564 * simple.el (messages-buffer-mode): New major mode.
3565 (messages-buffer): New function.
3566 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3567 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3568 (ert-run-test): Use `messages-buffer' function.
90582f05 3569 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3570 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3571 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3572
39eb0cb5 35732013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3574
3575 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3576
1f1e06e2
SM
3577 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3578
70568a90
SM
35792013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3580
504a0381
SM
3581 * icomplete.el (icomplete-in-buffer): New var.
3582 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3583 vars and replace them with functions.
3584 (icomplete-minibuffer-setup): Adjust accordingly.
3585 (icomplete--completion-table, icomplete--completion-predicate)
3586 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3587 New functions.
3588 (icomplete-forward-completions, icomplete-backward-completions)
3589 (icomplete-simple-completing-p, icomplete-exhibit)
3590 (icomplete-completions): Use them.
3591 (icomplete--in-region-buffer): New var.
3592 (icomplete--in-region-setup): New function.
3593 (icomplete-mode): Use it.
3594
70568a90
SM
3595 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3596 (bug#15379).
3597 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3598 return args and options.
3599 (eshell-eval-using-options): Use the new return value of
3600 eshell--do-opts to set the options's vars in their scope.
3601 (eshell--set-option): Rename from eshell-set-option.
3602 Add arg `opt-vals'.
3603 (eshell--process-option): Rename from eshell-process-option.
3604 Add arg `opt-vals'.
3605 (eshell--process-args): Use an `opt-vals' alist to store the options's
3606 values during their processing and return them additionally to the
3607 remaining args.
3608
578c21bc
DG
36092013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3610
3611 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3612 continuation character an operator, as far as indentation is
3613 concerned (Bug#15369).
3614
c089653d
MR
36152013-09-15 Martin Rudalics <rudalics@gmx.at>
3616
3617 * window.el (window--state-put-2): Don't process buffer state
3618 when buffer doesn't exist any more (Bug#15382).
3619
1e53bb4b
GM
36202013-09-15 Glenn Morris <rgm@gnu.org>
3621
30753242
GM
3622 * eshell/em-unix.el (eshell/rm):
3623 Make -f ignore missing files. (Bug#15373)
3624
1e53bb4b
GM
3625 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3626 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3627 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3628
0d8863b3
GM
36292013-09-14 Glenn Morris <rgm@gnu.org>
3630
3631 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3632
d3fc6549
GM
36332013-09-13 Glenn Morris <rgm@gnu.org>
3634
3635 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3636 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3637
fcd42c11
DA
36382013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3639
3640 * frame.el (x-focus-frame): Mark as declared in frame.c.
3641
7830899f
SM
36422013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * ls-lisp.el: Use advice-add.
3645 (original-insert-directory): Remove.
3646 (ls-lisp--insert-directory): Rename from insert-directory; add
3647 `orig-fun' argument.
3648 (insert-directory): Advise.
3649
84387cd2
EZ
36502013-09-13 Eli Zaretskii <eliz@gnu.org>
3651
3652 * term.el (term-emulate-terminal): Decode the command string
3653 before passing it to term-command-hook. (Bug#15337)
3654
35ffc6ba
GM
36552013-09-13 Glenn Morris <rgm@gnu.org>
3656
5c3f9bcc
GM
3657 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3658
2ada368a
GM
3659 * eshell/esh-ext.el (eshell-search-path): Declare.
3660
fcef2e13
GM
3661 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3662 Otherwise an error occurs if eshell-dirs module not loaded.
3663
35ffc6ba
GM
3664 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3665
35c3d36e
MA
36662013-09-13 Michael Albinus <michael.albinus@gmx.de>
3667
3668 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3669 `tramp-check-proper-host'. Check for a valid method name.
3670
3671 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3672 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3673 * net/tramp-sh.el (tramp-maybe-open-connection):
3674 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3675
3676 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3677 also for hash values.
3678
ae5e4c48
SM
36792013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3680
379add74
SM
3681 * term/ns-win.el (parameters): Don't declare as dynamic.
3682 (before-make-frame-hook): Don't add ineffective function.
3683
ae5e4c48
SM
3684 * eshell/*.el: Use lexical-binding (bug#15231).
3685
b5623270
KH
36862013-09-12 Kenichi Handa <handa@gnu.org>
3687
ae5e4c48 3688 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3689
30213927
GM
36902013-09-12 Glenn Morris <rgm@gnu.org>
3691
be94d713 3692 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3693 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3694
44915370
GM
3695 * subr.el (do-after-load-evaluation): Also give compiler warnings
3696 when obsolete files are used (except by obsolete files).
3697
a6ae021f
GM
3698 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3699 in the status output, assume `filename' is the first. (Bug#15322)
3700
40e64f0c
GM
3701 * vc/vc.el (vc-deduce-fileset): Doc fix.
3702
16d9f896
GM
3703 * calc/calc-help.el (Info-goto-node):
3704 * progmodes/cperl-mode.el (Info-find-node):
3705 * vc/ediff.el (Info-goto-node): Update declarations.
3706
dea01c6e
GM
3707 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3708
759880bf 3709 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3710 (vc-bzr-pull): Require vc-dispatcher.
3711 * vc/vc-git.el (vc-compilation-mode): Declare.
3712 (vc-git-pull): Require vc-dispatcher.
3713
08d66420
GM
3714 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3715
30b626e9
GM
3716 * progmodes/octave.el (help-button-action): Declare.
3717
8c05cb10
GM
3718 * shell.el (shell-directory-tracker): Output error as a message
3719 rather than just returning it as a string.
3720 (shell-process-pushd): Remove useless use of message.
3721
30213927
GM
3722 * dframe.el (dframe-timer-fn):
3723 * files.el (dir-locals-read-from-file):
3724 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3725 (mpc-format):
3726 * reveal.el (reveal-post-command):
3727 * saveplace.el (load-save-place-alist-from-file):
3728 * shell.el (shell-resync-dirs):
3729 * w32-common-fns.el (x-get-selection-value):
3730 * emacs-lisp/copyright.el (copyright-find-copyright):
3731 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3732 * emulation/tpu-edt.el (tpu-copy-keyfile):
3733 * play/bubbles.el (bubbles--mark-neighbourhood):
3734 * progmodes/executable.el
3735 (executable-make-buffer-file-executable-if-script-p):
3736 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3737
d3b049e6
SM
37382013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3739
170266d0
SM
3740 Cleanup Eshell to rely less on dynamic scoping.
3741 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3742 last-value, and ext-command here. Bind `args' closer to `body'.
3743 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3744 (eshell--args): Declare new dynamic var.
3745 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3746 last-value, and ext-command. Pass `args' to `body'.
3747 (eshell-process-args): Bind eshell--args.
3748 (eshell-set-option): Use eshell--args.
3749 * eshell/eshell.el (eshell): Use derived-mode-p.
3750 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3751 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3752 (eshell-glob-function): Declare.
3753 * eshell/esh-util.el: Require cl-lib.
3754 (eshell-read-hosts-file): Avoid add-to-list.
3755 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3756 `err'.
3757 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3758 Declare.
3759 (eshell/diff): Remove unused var `err'.
3760 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3761 `killflag'.
3762 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3763 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3764 first use.
3765 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3766 Move declaration before first use.
3767 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3768 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3769 rely on cl-return.
3770
56834f3b
GM
37712013-09-12 Glenn Morris <rgm@gnu.org>
3772
3773 * term/ns-win.el (global-map): Remove binding for ispell-next,
3774 deleted 1999-05-29. (Bug#15357)
3775
5c91a2b8
GM
37762013-09-11 Glenn Morris <rgm@gnu.org>
3777
da712f22
GM
3778 * echistory.el (electric-command-history): Remove call to deleted func.
3779
512e4cdc
GM
3780 * play/landmark.el (landmark-mode): Fix typos.
3781
d3506ca5
GM
3782 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3783 Check cvs-sort-ignore-file is bound.
3784
5c91a2b8
GM
3785 * savehist.el: No need for cl when compiling on Emacs.
3786
feeff482
SM
37872013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3788
656bd483
SM
3789 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3790 (bug#15338).
d3b049e6
SM
3791 (eshell-self-insert-command, eshell-send-invisible):
3792 Remove unused argument.
656bd483
SM
3793 (eshell-handle-control-codes): Remove unused var `orig'.
3794 Avoid delete-backward-char.
3795
feeff482
SM
3796 * files.el (set-auto-mode): Simplify a bit further.
3797
2a08047a
GM
37982013-09-11 Glenn Morris <rgm@gnu.org>
3799
3800 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3801 (set-auto-mode): Don't regexp-quote elements.
3802 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3803 * progmodes/cc-mode.el (interpreter-mode-alist):
3804 * progmodes/ruby-mode.el (interpreter-mode-alist):
3805 Revert previous change.
3806
34675540
SM
38072013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3808
1b3b87df
SM
3809 * play/snake.el (snake-mode):
3810 * play/mpuz.el (mpuz-mode):
3811 * play/landmark.el (lm-mode):
3812 * play/blackbox.el (blackbox-mode):
3813 * play/5x5.el (5x5-mode):
3814 * obsolete/options.el (Edit-options-mode):
3815 * net/quickurl.el (quickurl-list-mode):
3816 * net/newst-treeview.el (newsticker-treeview-mode):
3817 * mail/rmailsum.el (rmail-summary-mode):
3818 * mail/mspools.el (mspools-mode):
3819 * locate.el (locate-mode):
3820 * ibuffer.el (ibuffer-mode):
3821 * emulation/ws-mode.el (wordstar-mode):
3822 * emacs-lisp/debug.el (debugger-mode):
3823 * array.el (array-mode):
3824 * net/eudc.el (eudc-mode): Use define-derived-mode.
3825 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3826 Move initialization into declaration.
3827 (mairix-searches-mode): Use define-derived-mode.
3828 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3829 (eudc-edit-hotlist): Use dolist.
3830 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3831 (Man-mode): Use define-derived-mode.
3832 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3833 (Info-edit-mode): Use define-derived-mode.
3834 (Info-cease-edit): Use Info-mode.
3835 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3836 into declaration.
3837 (eshell-mode): Use define-derived-mode.
3838 * chistory.el (command-history-mode-map): Rename from
3839 command-history-map.
3840 (command-history-mode): Use define-derived-mode.
da712f22 3841 (Command-history-setup): Remove function.
1b3b87df
SM
3842 * calc/calc.el (calc-trail-mode-map): New var.
3843 (calc-trail-mode): Use define-derived-mode.
3844 (calc-trail-buffer): Set calc-main-buffer manually.
3845 * bookmark.el (bookmark-insert-annotation): New function.
3846 (bookmark-edit-annotation): Use it.
3847 (bookmark-edit-annotation-mode): Make it a proper major mode.
3848 (bookmark-send-edited-annotation): Use derived-mode-p.
3849 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3850 closer to its ideal place. Use \' to match EOS.
3851
34675540
SM
3852 * profiler.el (profiler-calltree-find): Use function-equal.
3853
6a5c15d9
GM
38542013-09-10 Glenn Morris <rgm@gnu.org>
3855
1af4c220
GM
3856 * files.el (interpreter-mode-alist): Convert to regexps.
3857 (set-auto-mode): Adapt for this. (Bug#15306)
3858 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3859 Comment out unused variable.
3860 * progmodes/cc-mode.el (interpreter-mode-alist):
3861 * progmodes/python.el (interpreter-mode-alist):
3862 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3863 * progmodes/sh-script.el (sh-set-shell):
3864 No longer use interpreter-mode-alist to get list of shells.
3865
6a5c15d9
GM
3866 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3867
8c27f5ff
SM
38682013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3869
02ef6c1a 3870 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3871 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3872 Bind switch-frame explicitly. Replace universal-argument-minus with
3873 a conditional binding.
3874 (universal-argument-num-events, saved-overriding-map): Remove.
3875 (restore-overriding-map): Remove.
3876 (universal-argument--mode): Rename from save&set-overriding-map,
3877 and rewrite.
3878 (universal-argument, universal-argument-more, negative-argument)
3879 (digit-argument): Adjust accordingly.
3880 (universal-argument-minus): Remove.
3881 (universal-argument-other-key): Remove.
3882
8c27f5ff
SM
3883 * subr.el (with-demoted-errors): Add `format' argument.
3884
6480194c
MA
38852013-09-10 Michael Albinus <michael.albinus@gmx.de>
3886
3887 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3888 `tramp-cleanup-connection'.
3889
3890 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3891 parameters KEEP-DEBUG and KEEP-PASSWORD.
3892
3893 * net/tramp.el (tramp-file-name-handler):
3894 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3895 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3896 (tramp-maybe-open-connection):
8c27f5ff
SM
3897 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3898 Use `tramp-cleanup-connection'.
6480194c 3899
8c27f5ff
SM
3900 * net/tramp-sh.el (tramp-maybe-open-connection):
3901 Catch 'uname-changed inside the progress reporter.
6480194c 3902
e5e916d8
GM
39032013-09-10 Glenn Morris <rgm@gnu.org>
3904
9a2c9b47
GM
3905 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3906
e5e916d8
GM
3907 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3908 returns "alternate access method" in mode (eg "-rw-r--r--.").
3909
144e38fe
GM
39102013-09-08 Glenn Morris <rgm@gnu.org>
3911
3912 * saveplace.el (load-save-place-alist-from-file):
3913 Demote errors. (Bug#15305)
3914
af9ff9e8
MA
39152013-09-08 Michael Albinus <michael.albinus@gmx.de>
3916
3917 Improve compatibility with older Emacsen, and XEmacs.
3918
3919 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3920 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3921 (with-tramp-progress-reporter): Do not let-bind `result'.
3922 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3923 (tramp-handle-make-auto-save-file-name): New function, moved from
3924 tramp-sh.el.
3925
3926 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3927 for `make-auto-save-file-name'.
8c27f5ff
SM
3928 (tramp-adb--gnu-switches-to-ash):
3929 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3930
3931 * net/tramp-cache.el (tramp-cache-print): Call
3932 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3933
3934 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3935 bound. It isn't for XEmacs.
3936
8c27f5ff
SM
3937 * net/tramp-compat.el (tramp-compat-copy-file):
3938 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3939 (tramp-compat-replace-regexp-in-string): New defun.
3940
3941 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3942 for `make-auto-save-file-name'.
3943 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3944 `copy-file'.
3945 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3946 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3947 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3948
8c27f5ff
SM
3949 * net/tramp-gw.el (tramp-gw-open-network-stream):
3950 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3951
8c27f5ff
SM
3952 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3953 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3954 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3955 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3956 (tramp-sh-file-inotifywait-process-filter):
3957 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3958 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3959
3960 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3961 for `make-auto-save-file-name'.
8c27f5ff
SM
3962 (tramp-smb-handle-copy-directory):
3963 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3964 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3965 (tramp-smb-handle-copy-file): Improve error message.
3966 (tramp-smb-handle-rename-file): Rename directly only in case
3967 `newname' does not exist yet. This is a restriction of smbclient.
3968 (tramp-smb-maybe-open-connection): Rerun the function only when
3969 `auth-sources' is non-nil.
3970
0ca754d0
KH
39712013-09-08 Kenichi Handa <handa@gnu.org>
3972
3973 * international/characters.el: Set category "^" (Combining) for
3974 more characters.
3975
e8dd0787
AM
39762013-09-07 Alan Mackenzie <acm@muc.de>
3977
3978 Correctly fontify Java class constructors.
3979 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3980 in Java Mode.
3981 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3982 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3983 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
3984 "typeless" declaration there.
3985
f2f248e7
RW
39862013-09-07 Roland Winkler <winkler@gnu.org>
3987
3988 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3989 field subtitle for entry type book.
3990
67982e2b
SM
39912013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3992
3993 * minibuffer.el: Make minibuffer-complete call completion-in-region
3994 rather than other way around.
3995 (completion--some, completion-pcm--find-all-completions):
3996 Don't delay signals when debugging.
3997 (minibuffer-completion-contents): Beware fields within the
3998 minibuffer contents.
3999 (completion-all-sorted-completions): Use defvar-local.
4000 (completion--do-completion, completion--cache-all-sorted-completions)
4001 (completion-all-sorted-completions, minibuffer-force-complete):
4002 Add args `beg' and `end'.
4003 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4004 (minibuffer-complete): Use completion-in-region.
4005 (completion-complete-and-exit): New fun, extracted from
4006 minibuffer-complete-and-exit.
4007 (minibuffer-complete-and-exit): Use it.
4008 (completion--complete-and-exit): Rename from
4009 minibuffer--complete-and-exit.
4010 (completion-in-region--single-word): New function, extracted from
4011 minibuffer-complete-word.
4012 (minibuffer-complete-word): Use it.
4013 (display-completion-list): Make `common-substring' argument obsolete.
4014 (completion--in-region): Call completion--in-region-1 instead of
4015 minibuffer-complete.
4016 (completion-help-at-point): Pass boundaries to
4017 minibuffer-completion-help as args rather than via an overlay.
4018 (completion-pcm--string->pattern): Use `any-delim'.
4019 (completion-pcm--optimize-pattern): New function.
4020 (completion-pcm--pattern->regex): Handle `any-delim'.
4021 * icomplete.el (icomplete-forward-completions)
4022 (icomplete-backward-completions, icomplete-completions):
4023 Adjust calls to completion-all-sorted-completions and
4024 completion--cache-all-sorted-completions.
4025 (icomplete-with-completion-tables): Default to t.
4026 * emacs-lisp/crm.el (crm--current-element): Rename from
4027 crm--select-current-element. Don't put an overlay but return the
4028 boundaries instead.
4029 (crm--completion-command): Take two new args to bind to the boundaries.
4030 (crm-completion-help): Adjust accordingly.
4031 (crm-complete): Use completion-in-region.
4032 (crm-complete-word): Use completion-in-region--single-word.
4033 (crm-complete-and-exit): Use completion-complete-and-exit.
4034
e17d94a5
SM
40352013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4036
4037 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4038 than dynamically.
4039
96727100
JL
40402013-09-06 Juri Linkov <juri@jurta.org>
4041
4042 * info.el (Info-display-images-node): When image file doesn't exist
4043 display text version of the image if it's provided in the Info file.
4044 Otherwise, display the location of missing image from SRC attribute.
4045 Add help-echo text property from ALT attribute. (Bug#15279)
4046
86cf7329
SM
40472013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4050 (edit-abbrevs-mode): Use define-derived-mode.
4051
4052 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4053 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4054 that it's defined.
4055 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4056 Use define-derived-mode.
4057
4058 * epg.el (epg-start-encrypt): Minor CSE simplification.
4059
816244a2
WX
40602013-09-06 William Xu <william.xwl@gmail.com>
4061
4062 * arc-mode.el: Add support for 7za (bug#15264).
4063 (archive-7z-program): New var.
4064 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4065 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4066 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4067
1486fa31
MA
40682013-09-06 Michael Albinus <michael.albinus@gmx.de>
4069
4070 Remove URL syntax.
4071
4072 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4073 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4074 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4075 (tramp-postfix-host-format, tramp-file-name-regexp)
4076 (tramp-completion-file-name-regexp)
4077 (tramp-completion-dissect-file-name)
4078 (tramp-handle-substitute-in-file-name): Remove 'url case.
4079 (tramp-file-name-regexp-url)
4080 (tramp-completion-file-name-regexp-url): Remove constants.
4081
39785324
GM
40822013-09-06 Glenn Morris <rgm@gnu.org>
4083
4084 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4085
1f896cb7
DG
40862013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4087
4088 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4089 keywords" below "here-doc beginnings" (Bug#15270).
4090
c0458e0b
SM
40912013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * subr.el (pop): Use `car-safe'.
4094 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4095 to detect unused `pop' return value.
4096
4097 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4098 var `block-regexp'.
4099 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4100 (python-fill-string): Remove unused var `marker'.
4101 (python-skeleton-add-menu-items): Remove unused var `items'.
4102
4103 * international/mule-cmds.el: Require CL.
4104 (find-coding-systems-for-charsets): Avoid add-to-list.
4105 (sanitize-coding-system-list): New function, extracted from
4106 select-safe-coding-system-interactively.
4107 (select-safe-coding-system-interactively): Use it.
4108 (read-input-method-name): Accept symbols for `default'.
4109
4110 * emacs-lisp/advice.el (defadvice): Add indent rule.
4111
6c42fc3e
DH
41122013-09-05 Daniel Hackney <dan@haxney.org>
4113
4114 * dired-x.el:
4115 * net/ange-ftp.el:
4116 * net/browse-url.el:
4117 * net/dbus.el:
4118 * net/eudc.el:
4119 * net/eudcb-ldap.el:
4120 * net/eww.el:
4121 * net/imap.el:
4122 * printing.el:
4123 * vc/ediff-diff.el:
4124 * vc/ediff-init.el:
4125 * vc/ediff-merg.el:
4126 * vc/ediff-mult.el:
4127 * vc/ediff-util.el:
4128 * vc/ediff-wind.el:
4129 * vc/ediff.el:
4130 * vc/emerge.el:
4131 * vc/pcvs.el:
4132 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4133 byte compiler. Remove some unused let-bound variables.
4134
4c528aab
SM
41352013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4136
4137 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4138 a "ref-cell", since it gets better optimized (bug#14883).
4139
bd15c390
GM
41402013-09-05 Glenn Morris <rgm@gnu.org>
4141
4142 * progmodes/cc-awk.el (c-forward-sws): Declare.
4143
1c3ac2e5
GM
41442013-09-04 Glenn Morris <rgm@gnu.org>
4145
4146 * generic-x.el [rul-generic-mode]: Require cc-mode.
4147 (c++-mode-syntax-table): Declare.
4148 (rul-generic-mode-syntax-table): Init in the defvar.
4149
52b1cc79
SM
41502013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4151
c828af56
SM
4152 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4153 (vc-do-command, vc-set-async-update):
4154 * vc/vc-mtn.el (vc-mtn-dir-status):
4155 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4156 (vc-hg-pull, vc-hg-merge-branch):
4157 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4158 (vc-git-merge-branch):
4159 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4160 (vc-cvs-dir-status-files):
4161 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4162 (vc-bzr-dir-status-files):
4163 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4164 * vc/vc-annotate.el: Use lexical-binding.
4165 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4166 (vc-sentinel-movepoint): Declare.
4167 (vc-annotate): Don't use `goto-line'.
4168 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4169 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4170 (vc-sentinel-movepoint): Declare.
4171 * vc/vc-svn.el: Use lexical-binding.
4172 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4173 * vc/vc-sccs.el:
4174 * vc/vc-rcs.el: Use lexical-binding.
4175
abae272c
SM
4176 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4177 `deleted'. Don't drop errors silently.
4178
52b1cc79
SM
4179 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4180
63191d9f
XF
41812013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4182
4183 * vc/vc.el (vc-ignore): Rewrite.
4184 (vc-default-ignore): New function.
4185 (vc-default-ignore-completion-table): Use find-ignore-file.
4186
4187 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4188 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4189 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4190 Remove. Most code moved to vc.el.
4191
9d3f707c
SM
41922013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4193
abae272c 4194 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4195 * net/tramp-smb.el (tramp-smb-get-file-entries):
4196 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4197 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4198
fde38d49
SM
4199 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4200 Update call to it.
4201 (eww-change-select): Remove unused var `properties'.
4202 (eww-make-unique-file-name): Remove unused var `base'.
4203
4204 * finder.el (finder-compile-keywords): Don't mess with windows.
4205
84032db7
SM
4206 * calculator.el (calculator-funcall): Fix typo in last change.
4207
724f5e41
SM
4208 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4209
14b511d4
SM
4210 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4211 <pkg>-autoloads.el file stop us.
4212
9d3f707c 4213 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4214 warnings, and factor out common code.
9d3f707c 4215
88527bc0
DG
42162013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4217
4218 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4219 two-character operators and whether the character preceding them
4220 changes their meaning (Bug#15208).
4221
96edb677
FEG
42222013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4223
4224 Format code sent to Python shell for robustness.
9d3f707c
SM
4225 * progmodes/python.el (python-shell-buffer-substring):
4226 New function.
96edb677
FEG
4227 (python-shell-send-region, python-shell-send-buffer): Use it.
4228
95beaef3
MA
42292013-09-02 Michael Albinus <michael.albinus@gmx.de>
4230
4231 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4232 * net/tramp.el (tramp-user-error): ... here.
4233 (tramp-find-method, tramp-check-proper-host)
4234 (tramp-dissect-file-name, tramp-debug-message)
4235 (tramp-handle-shell-command):
4236 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4237 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4238
4239 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4240
f167c27b
MR
42412013-09-02 Martin Rudalics <rudalics@gmx.at>
4242
4243 * avoid.el (mouse-avoidance-point-position)
4244 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4245 returns nil.
4246
cd16c5f1
FEG
42472013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4248
4249 * progmodes/python.el (python-shell-completion-get-completions):
4250 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4251 (python-nav-if-name-main): New command.
cd16c5f1 4252
e73c3a0d
GM
42532013-09-01 Glenn Morris <rgm@gnu.org>
4254
f8ccce03
GM
4255 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4256 Avoid leading space in $wins. Otherwise the sed command used by
4257 eg compile-main ends up containing "/*.el". (Bug#15170)
4258
e73c3a0d
GM
4259 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4260
415f808e
GM
42612013-08-30 Glenn Morris <rgm@gnu.org>
4262
4263 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4264 Fix is-this-a-directory logic. (Bug#15220)
4265
f069bba8
SM
42662013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4267
112798c1
SM
4268 * textmodes/css-mode.el: Use SMIE.
4269 (css-smie-grammar): New var.
4270 (css-smie--forward-token, css-smie--backward-token)
4271 (css-smie-rules): New functions.
4272 (css-mode): Use them.
4273 (css-navigation-syntax-table): Remove var.
4274 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4275 (css-indent-calculate, css-indent-line): Remove functions.
4276
4277 Misc changes to reduce use of `(lambda...); and other cleanups.
4278 * cus-edit.el: Use lexical-binding.
4279 (customize-push-and-save, customize-apropos)
4280 (custom-buffer-create-internal): Use closures.
4281 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4282 * progmodes/ada-xref.el: Use setq.
4283 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4284 * dframe.el: Use lexical-binding.
4285 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4286 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4287 * descr-text.el: Use lexical-binding.
4288 (describe-text-widget, describe-text-sexp, describe-property-list):
4289 Use closures.
4290 * comint.el (comint-history-isearch-push-state): Use a closure.
4291 * calculator.el: Use lexical-binding.
4292 (calculator-number-to-string): Make it work with lexical-binding.
4293 (calculator-funcall): Same and use cl-letf.
4294
2da4c3ab
SM
4295 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4296 (lisp--company-doc-string, lisp--company-location): New functions.
4297 (lisp-completion-at-point): Use them to improve Company support.
4298
f069bba8
SM
4299 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4300 params of lambda expressions.
4301 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4302 (ruby-smie--opening-pipe-p): New function.
4303 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4304 symbols and matched |...| for formal params.
4305 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4306 from being treated as hanging. Handle "rescue".
4307
6758b6a8
GM
43082013-08-29 Glenn Morris <rgm@gnu.org>
4309
4310 * progmodes/cc-engine.el (c-pull-open-brace):
4311 Move definition before use.
4312
e8dfd197
SM
43132013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4314
4315 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4316 are immutable. Don't use `unsafe' any more.
4317 (cl--defsubst-expand): Don't substitute at the same time as keeping
4318 a residual unused let-binding. Don't use `unsafe' any more.
4319
cc585c96
GM
43202013-08-29 Glenn Morris <rgm@gnu.org>
4321
ba579ea6
GM
4322 * calendar/cal-china.el (calendar-chinese-year-cache):
4323 Recenter on 2015.
4324
8201a87e
GM
4325 * nxml/nxml-util.el (nxml-debug-clear-inside):
4326 Use cl-loop rather than loop.
4327
6ee877c7
GM
4328 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4329
cc585c96
GM
4330 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4331
27be8d39
GM
43322013-08-28 Glenn Morris <rgm@gnu.org>
4333
397440a1
GM
4334 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4335
2bb762d4
GM
4336 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4337
27be8d39
GM
4338 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4339
2d69b99e
SM
43402013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4341
f663baa7
SM
4342 * simple.el (repeat-complex-command--called-interactively-skip):
4343 New function.
4344 (repeat-complex-command): Use it (bug#14136).
4345
dd4f8b74
SM
4346 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4347 (c-define-abbrev-table): Add `doc' argument.
4348 (c-mode-abbrev-table, c++-mode-abbrev-table)
4349 (objc-mode-abbrev-table, java-mode-abbrev-table)
4350 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4351 (awk-mode-abbrev-table): Use it.
4352 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4353 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4354 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4355 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4356 Move initialization into the declaration; and remove any
4357 autoload cookie.
4358
b58969f7
SM
4359 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4360 and dynamic let binding.
4361
4021d6a6
SM
4362 * vc/smerge-mode.el: Remove redundant :group args.
4363
2d69b99e
SM
4364 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4365 to load-path.
4366
274919fd
JL
43672013-08-28 Juri Linkov <juri@jurta.org>
4368
4369 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4370 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4371 (isearch-other-meta-char): Handle an undefined shifted printing
4372 character by downshifting it. (Bug#15200)
4373
121f8c95
JL
43742013-08-28 Juri Linkov <juri@jurta.org>
4375
4376 * isearch.el (isearch-search): Change regexp error message for
4377 non-regexp searches. (Bug#15166)
4378
50b13cde
PE
43792013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4380
4381 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4382 for portability to hosts where /bin/sh has problems.
4383
95888bca
SM
43842013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4387
bbe558f1
JL
43882013-08-27 Juri Linkov <juri@jurta.org>
4389
4390 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4391 in the keyboard macro. (Bug#15126)
4392
26f98a7d
JL
43932013-08-27 Juri Linkov <juri@jurta.org>
4394
4395 * isearch.el (isearch-quote-char): Comment out converting unibyte
4396 to multibyte, thus syncing with its `quoted-insert' counterpart.
4397 (Bug#15166)
4398
7c97d35e
MR
43992013-08-27 Martin Rudalics <rudalics@gmx.at>
4400
4401 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4402 argument in call of get-largest-window (Bug#15185).
4403 Reported by Stephen Leake.
7c97d35e 4404
a0b5606e 44052013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4406
4407 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4408
9e89d835
SM
44092013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4412 from a matcher-function unless there's no more matches (bug#15161).
4413
78fc2530
MA
44142013-08-26 Michael Albinus <michael.albinus@gmx.de>
4415
4416 * minibuffer.el: Revert change from 2013-08-20.
4417
4418 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4419 with text property `tramp-default', if appropriate.
4420 (tramp-check-proper-host): New defun.
4421 (tramp-dissect-file-name): Do not check hostname. Revert change
4422 of 2013-03-18.
4423 (tramp-backtrace): Make VEC-OR-PROC optional.
4424
4425 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4426 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4427 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4428 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4429 Apply `tramp-check-proper-host'.
78fc2530 4430
edca97cd
TH
44312013-08-26 Tassilo Horn <tsdh@gnu.org>
4432
4433 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4434 lambda expression in order to have `describe-variable' display it.
4435
df54bcbd
MA
44362013-08-26 Michael Albinus <michael.albinus@gmx.de>
4437
4438 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4439 BUF can be optional. (Bug#15186)
4440
eed99101
XF
44412013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4442
4443 * progmodes/flymake.el (flymake-get-real-file-name-function):
4444 Fix broken customization. (Bug#15184)
4445
b5eb9035
AM
44462013-08-25 Alan Mackenzie <acm@muc.de>
4447
8a51e842
AM
4448 Improve indentation of bracelists defined by macros (without "=").
4449
4450 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4451 expansion begins with "{", regard it as bracelist when it doesn't
4452 contain a ";".
4453
869455d4
AM
4454 Parse C++ inher-intro when there's a template split over 2 lines.
4455
4456 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4457 rigorously the search for "class" etc. followed by ":".
4458
4459 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4460 random languages a regexp which never matches rather than nil.
4461
b5eb9035
AM
4462 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4463
4464 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4465 (c-awk-regexp-one-line-possibly-open-char-list-re)
4466 (c-awk-one-line-possibly-open-regexp-re)
4467 (c-awk-one-line-non-syn-ws*-re): Remove.
4468 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4469 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4470 (c-awk-space*-unclosed-regexp-/-re): New constants.
4471 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4472 aren't regexp delimiters.
4473
4474 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4475 handling for a rare situation in AWK Mode involving unterminated
4476 strings/regexps.
4477
61611d54
GM
44782013-08-23 Glenn Morris <rgm@gnu.org>
4479
2d85dc34
GM
4480 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4481
cb8d2612
GM
4482 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4483
bb35f42f
GM
4484 * files.el (create-file-buffer): If the result would begin with
4485 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4486
b9808e77
SM
44872013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4488
e3a66363
SM
4489 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4490 text-properties (bug#15155).
4491
b9808e77
SM
4492 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4493 exist any more.
4494 (calc-keypad-redraw): Remove unused var `pad'.
4495 (calc-keypad-press): Remove unused var `menu'.
4496
7fd5f65e
MR
44972013-08-23 Martin Rudalics <rudalics@gmx.at>
4498
b9808e77
SM
4499 * window.el (display-buffer-pop-up-frame):
4500 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4501 use it as the new frame's buffer (Bug#15133).
4502
8352b530
SM
45032013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * calendar/timeclock.el: Minor cleanups.
4506 (timeclock-ask-before-exiting, timeclock-use-display-time):
4507 Use `symbol'.
4508 (timeclock-modeline-display): Define as alias before the
4509 actual definition.
4510 (timeclock-mode-line-display): Use define-minor-mode.
4511 (timeclock-day-list-template): Make it a function, add an argument.
4512 (timeclock-day-list-required, timeclock-day-list-length)
4513 (timeclock-day-list-debt, timeclock-day-list-span)
4514 (timeclock-day-list-break): Adjust calls accordingly.
4515
9f7b1925
SM
45162013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4517
4518 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4519 Use read--expression so that completion works again.
4520
6e50e983
SS
45212013-08-21 Sam Steingold <sds@gnu.org>
4522
4523 Add rudimentary inferior shell interaction
4524 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4525 (sh-set-shell): Reset it.
9f7b1925
SM
4526 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4527 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4528
dbb0d350
SM
45292013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * align.el: Use lexical-binding.
4532 (align-region): Simplify accordingly.
4533
c88586a9
MA
45342013-08-20 Michael Albinus <michael.albinus@gmx.de>
4535
4536 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4537
4538 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4539 `non-essential' up.
4540
f95527c8
MA
45412013-08-17 Michael Albinus <michael.albinus@gmx.de>
4542
4543 * net/tramp.el:
4544 * net/tramp-adb.el:
4545 * net/tramp-cmds.el:
4546 * net/tramp-ftp.el:
4547 * net/tramp-gvfs.el:
4548 * net/tramp-gw.el:
4549 * net/tramp-sh.el: Don't wrap external variable declarations by
4550 `eval-when-compile'.
4551
4b5fe4ee
LMI
45522013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4553
4554 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4555 now that Emacs supports ImageMagick animations.
4556
13c366c9
MA
45572013-08-16 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4560 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4561
3dfc5cd6
MR
45622013-08-16 Martin Rudalics <rudalics@gmx.at>
4563
4564 * window.el (mouse-autoselect-window-select): Do autoselect when
4565 mouse pointer is on margin.
4566
4bbb4381
WP
45672013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4568
4569 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4570
3a2ddc2d
GM
45712013-08-16 Glenn Morris <rgm@gnu.org>
4572
e8bedf5a
GM
4573 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4574 Handle "Remote Directory" response of some clients. (Bug#15058)
4575
58c4682f
GM
4576 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4577 Tweak warning. (Bug#14926)
4578
57953f49
GM
4579 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4580 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4581
3a2ddc2d
GM
4582 * image-mode.el (image-mode-map): Add menu items to reverse,
4583 increase, decrease, reset animation speed.
4584 (image--set-speed, image-increase-speed, image-decrease-speed)
4585 (image-reverse-speed, image-reset-speed): New functions.
4586 (image-mode-map): Add bindings for speed commands.
4587
4588 * image.el (image-animate-get-speed, image-animate-set-speed):
4589 New functions.
4590 (image-animate-timeout): Respect image :speed property.
4591
10fa0ed3
SM
45922013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4595 previous line (bug#15101).
4596 (debugger-eval-expression, debugger-record-expression):
4597 Use read--expression (bug#15102).
4598
5d89d9d2
MA
45992013-08-15 Michael Albinus <michael.albinus@gmx.de>
4600
4601 Remove byte compiler warnings, visible when compiling with
4602 `byte-compile-force-lexical-warnings' set to t.
4603
4604 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4605 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4606 (tramp-handle-unhandled-file-name-directory)
4607 (tramp-handle-file-notify-add-watch, tramp-action-login)
4608 (tramp-action-succeed, tramp-action-permission-denied)
4609 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4610 arguments with "_".
4611
4612 * net/tramp-adb.el (tramp-adb-parse-device-names)
4613 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4614 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4615 (tramp-adb-handle-file-truename): Remove unused arguments.
4616
4617 * net/tramp-cache.el (tramp-flush-directory-property)
4618 (tramp-flush-connection-property, tramp-list-connections)
4619 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4620
10fa0ed3
SM
4621 * net/tramp-compat.el (tramp-compat-make-temp-file):
4622 Rename FILENAME to F.
5d89d9d2
MA
4623
4624 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4625 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4626 (tramp-zeroconf-parse-workstation-device-names)
4627 (tramp-zeroconf-parse-webdav-device-names)
4628 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4629
4630 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4631 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4632
4633 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4634 arguments.
4635 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4636 (tramp-sh-handle-insert-file-contents-literally)
4637 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4638 with "_".
4639 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4640 Remove unused variables.
4641
4642 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4643 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4644 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4645
4646 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4647 Make them a defconst.
4648 (tramp-uuencode-region): Remove unused variable.
4649
62f33bae
JB
46502013-08-14 Juanma Barranquero <lekktu@gmail.com>
4651
4652 * frameset.el (frameset--prop-setter): New function.
4653 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4654 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4655 parameter was already set in FILTERED. Doc fix.
4656 (frameset--record-minibuffer-relationships): Allow saving a
4657 minibufferless frame without its corresponding minibuffer frame.
4658 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4659 frame, if the frame id matches.
4660 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4661 frames before orphaned ones.
4662 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4663
c660a885
MR
46642013-08-14 Martin Rudalics <rudalics@gmx.at>
4665
4666 * window.el (window-make-atom): Don't overwrite parameter
4667 already present.
4668 (display-buffer-in-atom-window): Handle special case where we
4669 split an already atomic window.
4670 (window--major-non-side-window, display-buffer-in-side-window)
4671 (window--side-check): Ignore minibuffer window when walking
4672 window tree.
4673 (window-deletable-p): Return 'frame only if no other frame uses
4674 our minibuffer window.
4675 (record-window-buffer): Run buffer-list-update-hook.
4676 (split-window): Make sure window--check-frame won't destroy an
4677 existing atomic window in case the new window gets nested
4678 inside.
4679 (display-buffer-at-bottom): Ignore minibuffer window when
4680 walking window tree. Don't split a side window.
4681 (pop-to-buffer): Don't set-buffer here, the select-window call
4682 should do that.
4683 (mouse-autoselect-window-select): Autoselect only if we are in the
4684 text portion of the window.
4685
8259030d
LMI
46862013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4687
21c58ae2
LMI
4688 * net/shr.el (shr-parse-image-data): New function to grab both the
4689 data itself and the Content-Type.
4690 (shr-put-image): Use it.
4691
4692 * net/eww.el (eww-display-image): Ditto.
4693
8259030d
LMI
4694 * image.el (image-content-type-suffixes): New variable.
4695
ad756449
FEG
46962013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4697
4698 * progmodes/python.el (python-imenu--build-tree)
4699 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4700
f73f4ce6
XF
47012013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4702
4703 * simple.el (backward-word): Mention the optional argument.
4704
1f585e65
SM
47052013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * frameset.el (frameset--make): Rename constructor from make-frameset.
4708 (frameset-p, frameset-valid-p): Don't autoload.
4709 (frameset-valid-p): Use normal accessors.
4710
af1c6c84
GM
47112013-08-13 Glenn Morris <rgm@gnu.org>
4712
55e47f95
GM
4713 * progmodes/compile.el (compile-command): Tweak example in doc.
4714 * obsolete/scribe.el (scribe-mode):
4715 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4716
f0024d8c
GM
4717 * mail/feedmail.el (feedmail-confirm-outgoing)
4718 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4719
4720 * cus-start.el (truncate-partial-width-windows): Fix type.
4721
4722 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4723
af1c6c84
GM
4724 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4725
5514cc4c
SM
47262013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * emacs-lisp/timer.el (timer--time-setter): New function.
4729 (timer--time): Use it as gv-setter.
4730
4731 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4732 setter is not a symbol.
4733
7997a2f1
GJ
47342013-08-12 Grégoire Jadi <daimrod@gmail.com>
4735
4736 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4737 if sending fails. This makes debugging easier.
4738
01f1a9ab
JB
47392013-08-12 Juanma Barranquero <lekktu@gmail.com>
4740
4741 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4742 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4743 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4744
594a4307
EZ
47452013-08-12 Eli Zaretskii <eliz@gnu.org>
4746
4747 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4748
7a22490f 47492013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4750
4751 * format.el (format-annotate-function):
4752 Handle read-only text properties in the source. (Bug#14887)
4753
3e41a054
LMI
47542013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4755
5514cc4c
SM
4756 * net/eww.el (eww-display-html): Ignore coding system errors.
4757 One web site uses "utf-8lias" as the coding system.
3e41a054 4758
7ec326db
JB
47592013-08-11 Juanma Barranquero <lekktu@gmail.com>
4760
4761 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4762
5660113b
JB
47632013-08-10 Juanma Barranquero <lekktu@gmail.com>
4764
9a4ebc74
JB
4765 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4766 (tutorial--detailed-help): Remove unused local variables.
4767 (tutorial--save-tutorial-to): Use ignore-errors.
4768 (help-with-tutorial): Use looking-at-p.
4769
4770 * view.el (view-buffer-other-window, view-buffer-other-frame):
4771 Mark unused arguments.
4772
4773 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4774 (woman-select-symbol-fonts, woman, woman-find-file)
4775 (woman-insert-file-contents, woman-non-underline-faces):
4776 Use string-match-p.
4777 (woman1-unquote): Move declaration.
4778
4779 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4780 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4781 argument. Remove unused local variable.
4782 (xml-parse-elem-type): Use string-match-p.
4783 (xml-substitute-numeric-entities): Use ignore-errors.
4784
45fdb482
JB
4785 * calculator.el (calculator): Mark unused argument.
4786 (calculator-paste, calculator-quit, calculator-integer-p):
4787 Use ignore-errors.
4788 (calculator-string-to-number, calculator-decimal, calculator-exp)
4789 (calculator-op-or-exp): Use string-match-p.
4790
4791 * dired.el (dired-buffer-more-recently-used-p): Declare.
4792 (dired-insert-set-properties, dired-insert-old-subdirs):
4793 Use ignore-errors.
4794
4795 * dired-aux.el (dired-compress): Use ignore-errors.
4796 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4797 (dired-do-async-shell-command, dired-do-shell-command)
4798 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4799 (dired-insert-subdir-validate): Use string-match-p.
4800 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4801 (dired-add-entry): Use string-match-p, looking-at-p.
4802 (dired-insert-subdir-newpos): Remove unused local variable.
4803
4804 * filenotify.el (file-notify-callback): Remove unused local variable.
4805
4806 * filesets.el (filesets-error): Mark unused argument.
4807 (filesets-which-command-p, filesets-filter-dir-names)
4808 (filesets-directory-files, filesets-get-external-viewer)
4809 (filesets-ingroup-get-data): Use string-match-p.
4810
4811 * find-file.el (ff-other-file-name, ff-other-file-name)
4812 (ff-find-the-other-file, ff-cc-hh-converter):
4813 Remove unused local variables.
4814 (ff-get-file-name): Use string-match-p.
4815 (ff-all-dirs-under): Use ignore-errors.
4816
4817 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4818 (follow-select-if-visible): Remove unused local variable.
4819
4820 * forms.el (read-file-filter): Move declaration.
4821 (forms--make-format, forms--make-parser, forms-insert-record):
4822 Quote function with #'.
4823 (forms--update): Use string-match-p. Quote function with #'.
4824
4825 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4826 (help-make-xrefs): Use looking-at-p.
4827 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4828
4829 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4830 (ibuffer-confirm-operation-on): Use string-match-p.
4831
4832 * msb.el (msb-item-handler, msb-dired-item-handler):
4833 Mark unused arguments.
4834
4835 * ses.el (ses-decode-cell-symbol)
4836 (ses-kill-override): Remove unused local variable.
4837 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4838 (ses-load): Use ignore-errors, looking-at-p.
4839 (ses-jump-safe): Use ignore-errors.
4840 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4841
4842 * tabify.el (untabify, tabify): Mark unused arguments.
4843
4844 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4845 Mark unused argument.
4846 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4847 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4848
c880af52
JB
4849 * emacs-lisp/timer.el (timer--time): Define setter with
4850 gv-define-setter to avoid deprecation warning.
4851
5660113b 4852 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4853 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4854 (cmpl-statistics-block): Remove (body was commented out).
4855 All callers changed.
4856 (add-completions-from-buffer, load-completions-from-file):
4857 Remove unused variables.
4858
156aab80
JB
48592013-08-09 Juanma Barranquero <lekktu@gmail.com>
4860
5c5dee78
JB
4861 * filecache.el (file-cache-delete-file-list):
4862 Print message only when told so.
4863 (file-cache-files-matching): Use #' in mapconcat argument.
4864
156aab80
JB
4865 * ffap.el (ffap-url-at-point): Fix reference to variable
4866 thing-at-point-default-mail-uri-scheme.
4867
ad9dcd70
SM
48682013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4869
54bd972f
SM
4870 * subr.el (define-error): New function.
4871 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4872 error-file-not-found and define with define-error.
4873 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4874 and define with define-error.
4875 * userlock.el (file-locked, file-supersession):
4876 * simple.el (mark-inactive):
4877 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4878 * progmodes/ada-mode.el (ada-mode-errors):
4879 * play/life.el (life-extinct):
4880 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4881 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4882 * nxml/rng-util.el (rng-error):
4883 * nxml/rng-uri.el (rng-uri-error):
4884 * nxml/rng-match.el (rng-compile-error):
4885 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4886 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4887 * nxml/nxml-rap.el (nxml-scan-error):
4888 * nxml/nxml-outln.el (nxml-outline-error):
4889 * net/soap-client.el (soap-error):
4890 * net/gnutls.el (gnutls-error):
4891 * net/ange-ftp.el (ftp-error):
4892 * mpc.el (mpc-proc-error):
4893 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4894 (json-number-format, json-string-escape, json-string-format)
4895 (json-key-format, json-object-format):
4896 * jka-compr.el (compression-error):
4897 * international/quail.el (quail-error):
4898 * international/kkc.el (kkc-error):
4899 * emacs-lisp/ert.el (ert-test-failed):
4900 * calc/calc.el (calc-error, inexact-result, math-overflow)
4901 (math-underflow):
4902 * bookmark.el (bookmark-error-no-filename):
4903 * epg.el (epg-error): Define with define-error.
4904
0ea9e53a
SM
4905 * time.el (display-time-event-handler)
4906 (display-time-next-load-average): Don't call sit-for since it seems
4907 unnecessary (bug#15045).
4908
b0429158
SM
4909 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4910 Use #' instead of ' to quote functions.
4911 (checkdoc-output-mode): Use setq-local.
4912 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4913 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4914 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4915 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4916 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4917 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4918 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4919 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4920
ad9dcd70
SM
4921 * ido.el (ido-completion-help): Fix up compiler warning.
4922
77187e6f
JB
49232013-08-09 Juanma Barranquero <lekktu@gmail.com>
4924
4925 * frameset.el (frameset-p): Add autoload cookie.
4926 (frameset--jump-to-register): New function, based on code moved from
4927 register.el.
4928 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4929
4930 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4931 (frameset-restore, frameset-save, frameset-session-filter-alist):
4932 Remove declarations.
4933 (register-alist): Doc fix.
4934 (frameset-to-register): Move to frameset.el.
4935 (jump-to-register, describe-register-1): Remove frameset-specific code.
4936
9d3aa82c
JB
49372013-08-08 Juanma Barranquero <lekktu@gmail.com>
4938
4939 * allout-widgets.el (allout-widgets-pre-command-business)
4940 (allout-widgets-post-command-business)
4941 (allout-widgets-after-change-handler)
4942 (allout-decorate-item-and-context, allout-set-boundary-marker)
4943 (allout-body-modification-handler)
4944 (allout-graphics-modification-handler): Mark ignored arguments.
4945 (allout-widgets-post-command-business)
4946 (allout-widgets-exposure-change-processor)
4947 (allout-widgets-exposure-undo-processor)
4948 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4949 (allout-parse-item-at-point, allout-decorate-item-guides)
4950 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4951 * allout.el (epa-passphrase-callback-function): Declare.
4952 (allout-overlay-insert-in-front-handler)
4953 (allout-overlay-interior-modification-handler)
4954 (allout-isearch-end-handler, allout-chart-siblings)
4955 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4956 (allout-yank-processing, allout-process-exposed)
4957 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4958 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4959 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4960 (lisp-indent-defform): Mark ignored arguments.
4961 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4962 (calculate-lisp-indent): Remove unused variables.
4963 * international/characters.el (indian-2-column, arabic-2-column)
4964 (tibetan): Mark ignored arguments.
4965 (use-cjk-char-width-table): Mark ignored arguments.
4966 Remove unused variables.
4967 * international/fontset.el (build-default-fontset-data)
4968 (x-compose-font-name, create-fontset-from-fontset-spec):
4969 Mark ignored arguments.
4970 (fontset-plain-name): Remove unused variables.
4971 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4972 (keyboard-coding-system): Mark ignored arguments.
4973 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4974 * help.el (resize-temp-buffer-window):
4975 * window.el (display-buffer-in-major-side-window)
4976 (display-buffer-in-side-window, display-buffer-in-previous-window):
4977 Remove unused variables.
4978 * isearch.el (isearch-forward-symbol):
4979 * version.el (emacs-bzr-version-bzr):
4980 * international/mule-cmds.el (current-language-environment):
4981 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4982 (x-handle-display):
4983 * term/pc-win.el (x-list-fonts, x-display-planes)
4984 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4985 (x-server-version, x-display-screens, x-display-mm-height)
4986 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4987 (x-selection-owner-p, x-own-selection-internal)
4988 (x-disown-selection-internal, x-get-selection-internal)
4989 (msdos-initialize-window-system):
4990 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4991 * term/x-win.el (x-handle-no-bitmap-icon):
4992 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4993 (vc-default-find-file-hook, vc-default-extra-menu):
4994 Mark ignored arguments.
4995
0ca3f70e
SM
49962013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4999 break-condition in the context of the debugged code (bug#12685).
5000
74c5d24c
CS
50012013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5002
5003 * comint.el:
5004 Do not use an overlay to highlight the last prompt. (Bug#14744)
5005 (comint-mode): Make comint-last-prompt buffer local.
5006 (comint-last-prompt): New variable.
5007 (comint-last-prompt-overlay): Remove. Superseded by
5008 comint-last-prompt.
0ca3f70e
SM
5009 (comint-snapshot-last-prompt, comint-output-filter):
5010 Use comint-last-prompt.
74c5d24c 5011
c03c02ee
JB
50122013-08-08 Juanma Barranquero <lekktu@gmail.com>
5013
a3738d20 5014 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5015 (frameset-save): Check validity of the resulting frameset.
5016
04263d23
XF
50172013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5018
5019 * ido.el (ido-record-command): Add doc string.
5020
76c5e5ab
JB
50212013-08-08 Juanma Barranquero <lekktu@gmail.com>
5022
5023 * frameset.el (frameset): Do not disable creation of the default
5024 frameset-p predicate. Doc fix.
5025 (frameset-valid-p): New function, copied from the old predicate-p.
5026 Add additional checks.
5027 (frameset-restore): Check with frameset-valid-p.
5028 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5029 (frameset-name, frameset-description, frameset-properties)
5030 (frameset-states): Add docstring.
f9dbf1cb
JB
5031 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5032 (frameset-filter-alist): Doc fixes.
76c5e5ab 5033
bd0c3c0b
JB
50342013-08-08 Juanma Barranquero <lekktu@gmail.com>
5035
5036 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5037
c735544c
SM
50382013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5039
5040 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5041 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5042 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5043 (byte-compile-normal-call): Remove obsolescence check.
5044
2805a651
JB
50452013-08-08 Juanma Barranquero <lekktu@gmail.com>
5046
3677ffeb
JB
5047 * frameset.el (frameset-restore): Doc fix.
5048
2805a651
JB
5049 * register.el (frameset-frame-id, frameset-frame-with-id)
5050 (frameset-p, frameset-restore, frameset-save): Declare.
5051 (register-alist): Document framesets.
5052 (frameset-session-filter-alist): Declare.
5053 (frameset-to-register): New function.
5054 (jump-to-register): Implement jumping to framesets. Doc fix.
5055 (describe-register-1): Describe framesets.
5056
5057 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5058
a912c016
JB
50592013-08-07 Juanma Barranquero <lekktu@gmail.com>
5060
5061 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5062 Use lexical-binding.
5063
5064 * frameset.el (frameset): Use type vector, not list (incompatible
5065 change). Do not declare a new constructor, use the default one.
5066 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5067 `name' and `description', respectively, and add read-only slot
5068 `timestamp'. Doc fixes.
5069 (frameset-copy, frameset-persistent-filter-alist)
5070 (frameset-filter-alist, frameset-switch-to-gui-p)
5071 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5072 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5073 (frameset-filter-iconified, frameset-keep-original-display-p):
5074 Doc fixes.
5075 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5076 Rename from frameset-filter-(save|restore)-param. All callers changed.
5077 Doc fix.
5078 (frameset-p): Adapt to change to vector and be more thorough.
5079 Change arg name to OBJECT. Doc fix.
5080 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5081 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5082 All callers changed.
5083 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5084 All callers changed.
5085 (frameset--record-minibuffer-relationships): Rename from
5086 frameset--process-minibuffer-frames. All callers changed.
5087 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5088 Use new default constructor (again). Doc fix.
5089 (frameset--find-frame-if): Rename from `frameset--find-frame.
5090 All callers changed.
5091 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5092 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5093 Doc fix.
5094 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5095 PARAMETERS and WINDOW-STATE, respectively.
5096 (frameset-restore): Add new keyword argument PREDICATE.
5097 Reset frameset--target-display to nil. Doc fix.
5098
bb41480a
SM
50992013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5100
f001e98e
SM
5101 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5102 (bat-mode): Use it.
5103 (bat-mode-syntax-table): Mark \n as end-of-comment.
5104 (bat-font-lock-keywords): Remove comment rule.
5105
7679edb1
SM
5106 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5107 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5108
bb41480a
SM
5109 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5110 (byte-compile-callargs-warn): Use `push'.
5111 (byte-compile-arglist-warn): Ignore higher-order "calls".
5112 (byte-compile-file-form-autoload): Use `pcase'.
5113 (byte-compile-function-form): If quoting a symbol, check that it exists.
5114
cdc1ebb9
EZ
51152013-08-07 Eli Zaretskii <eliz@gnu.org>
5116
5117 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5118 and add a few popular commands found in batch files.
5119 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5120 (dos-mode): Doc fixes.
5121
312b1740
SM
51222013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5125 (dos-mode): Use setq-local. Add space after "rem".
5126 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5127 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5128
400a3178
AM
51292013-08-07 Arni Magnusson <arnima@hafro.is>
5130
5131 * progmodes/dos.el: New file.
5132 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5133 dos-mode.
5134
3b5c03d3
GM
51352013-08-06 Glenn Morris <rgm@gnu.org>
5136
5137 * calendar/calendar.el: Add new faces, and day-header-array.
5138 (calendar-weekday-header, calendar-weekend-header)
5139 (calendar-month-header): New faces.
5140 (calendar-day-header-construct): New function.
5141 (calendar-day-header-width): Also :set calendar-day-header-array.
5142 (calendar-american-month-header, calendar-european-month-header)
5143 (calendar-iso-month-header): Use calendar- faces.
5144 (calendar-generate-month):
5145 Use calendar-day-header-array for day headers; apply faces to them.
5146 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5147 (calendar-abbrev-construct): Add optional maxlen argument.
5148 (calendar-day-name-array): Doc fix.
5149 (calendar-day-name-array, calendar-abbrev-length)
5150 (calendar-day-abbrev-array):
5151 Also :set calendar-day-header-array, and maybe redraw.
5152 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5153 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5154 (calendar-day-name): Add option to use header array.
5155
ec6a2d7a
LMI
51562013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5157
5158 * net/shr.el (shr-render-td): Remove debugging.
5159 (shr-render-td): Make width computation consistent by defaulting
5160 all zero-width columns to 10 characters. This may not be optimal,
5161 but it's at least consistent.
2122cb6d
LMI
5162 (shr-make-table-1): Redo last change to fix the real problem in
5163 colspan handling.
ec6a2d7a 5164
ed4fd9c5
DA
51652013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5166
0ca3f70e
SM
5167 * files.el (cache-long-line-scans):
5168 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5169
64e22afe
JB
51702013-08-06 Juanma Barranquero <lekktu@gmail.com>
5171
024b38fc
JB
5172 * frameset.el (frameset, frameset-filter-alist)
5173 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5174 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5175 (frameset-compute-pos): Rename from frameset--compute-pos,
5176 and add docstring.
5177 (frameset-move-onscreen): Use frameset-compute-pos.
5178 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5179
64e22afe
JB
5180 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5181 Fix typos in docstrings.
5182
c8c2aca8
DA
51832013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5184
5185 * frame.el (get-other-frame): Tiny cleanup.
5186
1d237bba
JB
51872013-08-06 Juanma Barranquero <lekktu@gmail.com>
5188
8951efef
JB
5189 * vc/vc.el (vc-default-ignore-completion-table):
5190 Silence byte-compiler warning.
5191
307764cc
JB
5192 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5193 slot , which can indeed be nil.
5194 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5195 Move entry for `left' from persistent to live filter alist.
5196 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5197 Doc fixes.
5198 (frameset-filter-params): When restoring a frame, copy items added to
5199 `filtered', to avoid unwittingly modifying the original parameters.
5200 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5201 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5202
1d237bba
JB
5203 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5204 to use looking-at-p instead of looking-at. (Bug#15028)
5205
dc6c0eda
SM
52062013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5207
5208 Revert introduction of isearch-filter-predicates (bug#14714).
5209 Rely on add-function instead.
5210 * isearch.el (isearch-filter-predicates): Rename it back to
5211 isearch-filter-predicate.
5212 (isearch-message-prefix): Use advice-function-mapc and advice
5213 properties to get the isearch-message-prefix.
5214 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5215 instead of run-hook-with-args-until-failure.
5216 (isearch-filter-visible): Not obsolete any more.
5217 * loadup.el: Preload nadvice.
5218 * replace.el (perform-replace): Revert to funcall
5219 instead of run-hook-with-args-until-failure.
5220 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5221 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5222 dired-isearch-filenames-toggle; make it into a proper minor mode.
5223 Use add/remove-function.
5224 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5225 Call the minor-mode rather than add/remove-hook.
5226 (dired-isearch-filter-filenames):
5227 Remove isearch-message-prefix property.
5228 * info.el (Info--search-loop): New function, extracted from Info-search.
5229 Funcall isearch-filter-predicate instead of
5230 run-hook-with-args-until-failure isearch-filter-predicates.
5231 (Info-search): Use it.
5232 (Info-mode): Use isearch-filter-predicate instead of
5233 isearch-filter-predicates.
5234
290d5b58
DA
52352013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5236
5237 Do not call to `selected-window' where it is assumed by default.
5238 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5239 `window-hscroll', `window-width', `window-height', `window-buffer',
5240 `window-frame', `window-start', `window-point', `next-window'
5241 and `window-display-table'.
5242 * abbrev.el (abbrev--default-expand):
5243 * bs.el (bs--show-with-configuration):
5244 * buff-menu.el (Buffer-menu-mouse-select):
5245 * calc/calc.el (calc):
5246 * calendar/calendar.el (calendar-generate-window):
5247 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5248 (diary-make-entry):
5249 * comint.el (send-invisible, comint-dynamic-complete-filename)
5250 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5251 * completion.el (complete):
5252 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5253 * disp-table.el (describe-current-display-table):
5254 * doc-view.el (doc-view-insert-image):
5255 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5256 * ehelp.el (with-electric-help):
5257 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5258 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5259 * emacs-lisp/helper.el (Helper-help-scroller):
5260 * emulation/cua-base.el (cua--post-command-handler-1):
5261 * eshell/esh-mode.el (eshell-output-filter):
5262 * ffap.el (ffap-gnus-wrapper):
5263 * help-macro.el (make-help-screen):
5264 * hilit-chg.el (highlight-compare-buffers):
5265 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5266 * hl-line.el (global-hl-line-highlight):
5267 * icomplete.el (icomplete-simple-completing-p):
5268 * isearch.el (isearch-done):
5269 * jit-lock.el (jit-lock-stealth-fontify):
5270 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5271 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5272 * mpc.el (mpc-tagbrowser, mpc):
5273 * net/rcirc.el (rcirc-any-buffer):
5274 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5275 * play/landmark.el (landmark-max-width, landmark-max-height):
5276 * play/zone.el (zone):
5277 * progmodes/compile.el (compilation-goto-locus):
5278 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5279 * progmodes/etags.el (find-tag-other-window):
5280 * progmodes/fortran.el (fortran-column-ruler):
5281 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5282 * progmodes/verilog-mode.el (verilog-point-text):
5283 * reposition.el (reposition-window):
5284 * rot13.el (toggle-rot13-mode):
5285 * server.el (server-switch-buffer):
5286 * shell.el (shell-dynamic-complete-command)
5287 (shell-dynamic-complete-environment-variable):
5288 * simple.el (insert-buffer, set-selective-display)
5289 (delete-completion-window):
5290 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5291 (speedbar-recenter):
5292 * startup.el (fancy-splash-head):
5293 * textmodes/ispell.el (ispell-command-loop):
5294 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5295 * tutorial.el (help-with-tutorial):
5296 * vc/add-log.el (add-change-log-entry):
5297 * vc/compare-w.el (compare-windows):
5298 * vc/ediff-help.el (ediff-indent-help-message):
5299 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5300 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5301 (ediff-setup-control-frame):
5302 * vc/emerge.el (emerge-position-region):
5303 * vc/pcvs-util.el (cvs-bury-buffer):
5304 * window.el (walk-windows, mouse-autoselect-window-select):
5305 * winner.el (winner-set-conf, winner-undo): Related users changed.
5306
38276e01
JB
53072013-08-05 Juanma Barranquero <lekktu@gmail.com>
5308
5309 * frameset.el (frameset--set-id): Doc fix.
5310 (frameset-frame-id, frameset-frame-id-equal-p)
5311 (frameset-locate-frame-id): New functions.
5312 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5313 (frameset-restore): Use them.
5314
12b4c0ea
DA
53152013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5316
5317 Do not call to `selected-frame' where it is assumed by default.
5318 Affected functions are `raise-frame', `redraw-frame',
5319 `frame-first-window', `frame-terminal' and `delete-frame'.
5320 * calendar/appt.el (appt-disp-window):
5321 * epg.el (epg-wait-for-completion):
5322 * follow.el (follow-delete-other-windows-and-split)
5323 (follow-avoid-tail-recenter):
5324 * international/mule.el (set-terminal-coding-system):
5325 * mail/rmail.el (rmail-mail-return):
5326 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5327 * progmodes/f90.el (f90-add-imenu-menu):
5328 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5329 * server.el (server-switch-buffer):
5330 * simple.el (delete-completion-window):
5331 * talk.el (talk):
5332 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5333 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5334 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5335 * vc/ediff.el (ediff-documentation): Related users changed.
5336 * frame.el (selected-terminal): Remove the leftover.
5337
17f25e76
GM
53382013-08-05 Glenn Morris <rgm@gnu.org>
5339
5340 * calendar/calendar.el (calendar-generate-month):
5341 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5342 (calendar-generate-month, calendar-font-lock-keywords):
5343 Fix for calendar-day-header-width > length of any day name.
17f25e76 5344
063233c3
JB
53452013-08-05 Juanma Barranquero <lekktu@gmail.com>
5346
5347 * desktop.el (desktop-clear): Use new name of sort predicate.
5348
5349 * frameset.el (frameset): Add docstring. Move :version property to its
5350 own `version' slot.
5351 (frameset-copy): Rename from copy-frameset.
5352 (frameset-p): Check more thoroughly.
5353 (frameset-prop): Do not check for :version, which is no longer a prop.
5354 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5355 Use new :never value instead of t.
5356 (frameset-filter-alist): Expand and clarify docstring.
5357 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5358 (frameset-filter-minibuffer, frameset-filter-save-param)
5359 (frameset-filter-restore-param, frameset-filter-iconified):
5360 Add pointer to docstring of frameset-filter-alist.
5361 (frameset-filter-params): Rename filter values to be more meaningful:
5362 :never instead of t, and reverse the meanings of :save and :restore.
5363 (frameset--process-minibuffer-frames): Clarify error message.
5364 (frameset-save): Avoid unnecessary and confusing call to framep.
5365 Use new BOA constructor for framesets.
5366 (frameset--reuse-list): Doc fix.
5367 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5368 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5369 (frameset-minibufferless-first-p): Doc fix.
5370 Rename from frameset-sort-frames-for-deletion.
5371 (frameset-restore): Doc fixes. Use new function names.
5372 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5373
d5671a82
JB
53742013-08-04 Juanma Barranquero <lekktu@gmail.com>
5375
5376 * desktop.el (desktop-restore-forces-onscreen)
5377 (desktop-restore-reuses-frames): Document :keyword constant values.
5378 (desktop-filter-parameters-alist): Remove, now identical to
5379 frameset-filter-alist.
5380 (desktop--filter-tty*): Remove, moved to frameset.el.
5381 (desktop-save-frameset, desktop-restore-frameset):
5382 Do not pass :filters argument.
5383
5384 * frameset.el (frameset-live-filter-alist)
5385 (frameset-persistent-filter-alist): New variables.
5386 (frameset-filter-alist): Use them. Add autoload cookie.
5387 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5388 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5389 `frameset--id' (it's supposed to be internal to frameset.el).
5390 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5391 (frameset--initial-params): New function.
5392 (frameset--get-frame): Use it. Doc fix.
5393 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5394 Accept :all, not 'all.
5395 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5396 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5397 with fbound symbols. Fix frame id matching, and remove matching ids if
5398 the frame being restored is deleted. Obey :delete.
5399
671d5c16
SM
54002013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * subr.el (macrop): New function.
5403 (text-clone--maintaining): New var.
5404 (text-clone--maintain): Rename from text-clone-maintain. Use it
5405 instead of inhibit-modification-hooks.
5406
5407 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5408 a proxy, so as handle autoloads and redefinitions of the target.
5409 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5410
5411 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5412 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5413 (pcase--mutually-exclusive-p): New function.
5414 (pcase--split-consp): Use it.
5415 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5416 mutually exclusive with the current predicate.
5417
5418 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5419 (edebug-macrop): Remove. Use `macrop' instead.
5420 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5421 (ad-macro-p):
5422 * eshell/esh-cmd.el (eshell-macrop):
5423 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5424
1d44e9dc
SM
54252013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5428 (advice-mapc): New function, using it.
5429 (advice-function-member-p): New function.
5430 (advice--normalize): Store the cdr in advice--saved-rewrite since
5431 that's the part that will be changed.
5432 (advice--symbol-function): New function.
5433 (advice-remove): Handle removal before the function is defined.
5434 Adjust to new advice--saved-rewrite.
5435 (advice-member-p): Use advice-function-member-p and
5436 advice--symbol-function.
5437
5414a283
JB
54382013-08-04 Juanma Barranquero <lekktu@gmail.com>
5439
51d30f2c
JB
5440 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5441 (frameset-filter-minibuffer): Doc fix.
5442 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5443 (frameset--set-id, frameset--process-minibuffer-frames)
5444 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5445 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5446
5414a283
JB
5447 * desktop.el (desktop-clear): Only delete frames when called
5448 interactively and desktop-restore-frames is non-nil. Doc fix.
5449 (desktop-read): Set desktop-saved-frameset to nil.
5450
ab419665
XF
54512013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5452
5453 * vc/vc.el (vc-ignore): Rewrite.
5454 (vc-default-ignore-completion-table):
5455 (vc--read-lines):
5456 (vc--add-line, vc--remove-regexp): New functions.
5457
5458 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5459 (vc-svn-ignore-completion-table): New function.
5460
5461 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5462 (vc-hg-ignore-completion-table):
5463 (vc-hg-find-ignore-file): New functions.
5464
5465 * vc/vc-git.el (vc-git-ignore): Rewrite.
5466 (vc-git-ignore-completion-table):
5467 (vc-git-find-ignore-file): New functions.
5468
5469 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5470
5471 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5472 (vc-bzr-ignore-completion-table):
5473 (vc-bzr-find-ignore-file): New functions.
5474
2613dea2
JB
54752013-08-03 Juanma Barranquero <lekktu@gmail.com>
5476
5477 * frameset.el (frameset-prop): New function and setter.
5478 (frameset-save): Do not modify frame list passed by the caller.
5479
9c959872
SM
54802013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5481
5482 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5483
a104f656
SM
54842013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5485
70122acf
SM
5486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5487 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5488
a104f656
SM
5489 * custom.el (custom-initialize-default, custom-initialize-set)
5490 (custom-initialize-reset, custom-initialize-changed): Affect the
5491 toplevel-default-value (bug#6275, bug#14586).
5492 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5493 for bug#6275.
5494
f078d570
JB
54952013-08-02 Juanma Barranquero <lekktu@gmail.com>
5496
185e3b5a
JB
5497 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5498 Add cl-def* expressions.
5499
f078d570
JB
5500 * frameset.el (frameset-filter-params): Fix order of arguments.
5501
9421876d
JB
55022013-08-02 Juanma Barranquero <lekktu@gmail.com>
5503
5504 Move code related to saving frames to frameset.el.
5505 * desktop.el: Require frameset.
5506 (desktop-restore-frames): Doc fix.
5507 (desktop-restore-reuses-frames): Rename from
5508 desktop-restoring-reuses-frames.
5509 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5510 (desktop-clear): Clear frames too.
5511 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5512 (desktop--filter-tty*, desktop-save, desktop-read):
5513 Use frameset functions.
5514 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5515 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5516 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5517 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5518 (desktop--process-minibuffer-frames, desktop-save-frames)
5519 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5520 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5521 (desktop--sort-states, desktop-restoring-frames-p)
5522 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5523 (desktop-restoring-frameset-p, desktop-restore-frameset)
5524 (desktop--check-dont-save, desktop-save-frameset): New functions.
5525 (desktop--app-id): New constant.
5526 (desktop-first-buffer, desktop-buffer-ok-count)
5527 (desktop-buffer-fail-count): Move before first use.
5528 * frameset.el: New file.
5529
76dc5996
SM
55302013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * files.el: Use lexical-binding.
5533 (dir-locals-read-from-file): Remove unused `err' variable.
5534 (hack-dir-local-variables--warned-coding): New var.
5535 (hack-dir-local-variables): Use it to avoid repeated warnings.
5536 (make-backup-file-name--default-function): New function.
5537 (make-backup-file-name-function): Use it as default.
5538 (buffer-stale--default-function): New function.
5539 (buffer-stale-function): Use it as default.
5540 (revert-buffer-insert-file-contents--default-function): New function.
5541 (revert-buffer-insert-file-contents-function): Use it as default.
5542 (insert-directory): Avoid add-to-list.
5543
5544 * autorevert.el (auto-revert-handler): Simplify.
5545 Use buffer-stale--default-function.
5546
06d36e2b
TH
55472013-08-01 Tassilo Horn <tsdh@gnu.org>
5548
5f648ab4
TH
5549 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5550
06d36e2b
TH
5551 * whitespace.el (whitespace-ensure-local-variables): New function.
5552 (whitespace-cleanup-region): Call it.
5553 (whitespace-turn-on): Call it.
5554
a43dc424
MA
55552013-08-01 Michael Albinus <michael.albinus@gmx.de>
5556
5557 Complete file name handlers.
5558
5559 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5560 (tramp-handle-verify-visited-file-modtime)
5561 (tramp-handle-file-notify-rm-watch): New functions.
5562 (tramp-call-process): Do not bind `default-directory'.
5563
44e18199
JB
5564 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5565 Order alphabetically.
a43dc424
MA
5566 [access-file, add-name-to-file, dired-call-process]:
5567 [dired-compress-file, file-acl, file-notify-rm-watch]:
5568 [file-ownership-preserved-p, file-selinux-context]:
5569 [make-directory-internal, make-symbolic-link, set-file-acl]:
5570 [set-file-selinux-context, set-visited-file-modtime]:
5571 [verify-visited-file-modtime]: Add handler.
5572 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5573
5574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5575 [file-notify-add-watch, file-notify-rm-watch]:
5576 [set-file-times, set-visited-file-modtime]:
5577 [verify-visited-file-modtime]: Add handler.
5578 (with-tramp-gvfs-error-message)
5579 (tramp-gvfs-handle-set-visited-file-modtime)
5580 (tramp-gvfs-fuse-file-name): Remove.
5581 (tramp-gvfs-handle-file-notify-add-watch)
5582 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5583 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5584
44e18199
JB
5585 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5586 Order alphabetically.
a43dc424
MA
5587 [file-notify-rm-watch ]: Use default Tramp handler.
5588 [executable-find]: Remove private handler.
5589 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5590 `default-directory'.
5591 (tramp-sh-handle-executable-find)
5592 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5593 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5594 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5595 Do not use `format' in `tramp-message'.
5596
5597 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5598 [file-notify-rm-watch, set-visited-file-modtime]:
5599 [verify-visited-file-modtime]: Add handler.
5600 (tramp-smb-call-winexe): Do not bind `default-directory'.
5601
7188b515
XF
56022013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5603
5604 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5605
2412ee1a
DG
56062013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5607
5608 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5609 use it.
5610 (log-view-diff-changeset): Same.
5611 (log-view-diff-common): Call backend command `previous-revision'
5612 to find out the previous revision, in both cases. Swap the
5613 variables `to' and `fr', so that `fr' usually refers to the
5614 earlier revision (Bug#14989).
5615
5002a754
KRC
56162013-07-31 Kan-Ru Chen <kanru@kanru.info>
5617
5618 * ibuf-ext.el (ibuffer-filter-by-filename):
5619 Make it work with dired buffers too.
5620
44e18199 56212013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5622
5623 * emacs-lisp/re-builder.el (reb-color-display-p):
5624 * files.el (save-buffers-kill-terminal):
5625 * net/browse-url.el (browse-url):
5626 * server.el (server-save-buffers-kill-terminal):
5627 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5628 Prefer nil to selected-frame for the first arg of frame-parameter.
5629
aeca3fbb
XF
56302013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5631
5632 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5633
158bc55c
SB
56342013-07-30 Stephen Berman <stephen.berman@gmx.net>
5635
5636 * minibuffer.el (completion--twq-all): Try and preserve each
5637 completion's case choice (bug#14907).
5638
d50fceab
LMI
56392013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5640
ac38e731
LMI
5641 * net/network-stream.el (open-network-stream): Mention the new
5642 :nogreeting parameter.
5643 (network-stream-open-starttls): Use the :nogreeting parameter
5644 (bug#14938).
5645
1211de50
LMI
5646 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5647
997798bf
LMI
5648 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5649 more natural than popping.
5650
d50fceab 5651 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5652 (shr-urlify): Highlight under mouse.
d50fceab 5653
5c09de04
XF
56542013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5655
207d1d04
XF
5656 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5657
5658 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5659
5c09de04
XF
5660 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5661 buffer for output.
5662
3cd51eaa
XF
5663 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5664 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5665
44e18199 5666 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5667 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5668
5669 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5670
5671 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5672 buffer for output.
5673
35a89bdd
EZ
56742013-07-29 Eli Zaretskii <eliz@gnu.org>
5675
5676 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5677 initial frame is minibuffer-less. (Bug#14841)
5678
78822e94
MA
56792013-07-29 Michael Albinus <michael.albinus@gmx.de>
5680
5681 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5682 option.
5683
5684 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5685 (tramp-maybe-open-connection): Use it.
5686
9503c190
JB
56872013-07-28 Juanma Barranquero <lekktu@gmail.com>
5688
5689 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5690 minimal set of parameters passed when creating a frame, because
5691 the minibuffer status of a frame cannot be changed later.
5692
d5a845b4
SB
56932013-07-28 Stephen Berman <stephen.berman@gmx.net>
5694
5695 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5696 replace-regexp-in-string and inadvertent omissions in previous change.
5697 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5698 name of filtered items buffer.
d5a845b4 5699
ddeffb17
JB
57002013-07-28 Juanma Barranquero <lekktu@gmail.com>
5701
5702 * desktop.el: Optionally force offscreen frames back onscreen.
5703 (desktop-restoring-reuses-frames): New option.
5704 (desktop--compute-pos, desktop--move-onscreen): New functions.
5705 (desktop--make-frame): Use desktop--move-onscreen.
5706
f5950f7a
AM
57072013-07-27 Alan Mackenzie <acm@muc.de>
5708
5709 Fontify a Java generic method as a function.
5710 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5711 value to t.
5712
ae43b66a
SB
57132013-07-27 Stephen Berman <stephen.berman@gmx.net>
5714
5715 * calendar/todo-mode.el: Add command to rename todo files.
5716 (todo-rename-file): New command.
5717 (todo-key-bindings-t): Add key binding for it. Change the
5718 bindings of todo-filter-regexp-items(-multifile) to use `x'
5719 instead of `r', since the latter is better suited to the new
5720 renaming command.
5721
5ab78d3d
AM
57222013-07-27 Alan Mackenzie <acm@muc.de>
5723
5724 Make Java try-with-resources statement parse properly.
5725 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5726 (c-block-stmt-1-2-key): New language constants/variables.
5727 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5728 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5729 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5730 with c-block-stmt-1-2-key.
5ab78d3d 5731
d85c4d50
JB
57322013-07-27 Juanma Barranquero <lekktu@gmail.com>
5733
5734 * desktop.el (desktop--make-frame): Apply most frame parameters after
5735 creating the frame to force (partially or totally) offscreen frames to
5736 be restored as such.
5737
e4c467f9
XF
57382013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5739
5740 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5741 (Bug#14948)
e4c467f9 5742
7ced0d04
SM
57432013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5746 `base' arg of backtrace-frame.
5747
fec92060
EZ
57482013-07-26 Eli Zaretskii <eliz@gnu.org>
5749
5750 * simple.el (list-processes): Doc fix.
5751
d58d31fb
JB
57522013-07-26 Juanma Barranquero <lekktu@gmail.com>
5753
5754 * desktop.el (desktop--select-frame):
d85c4d50 5755 Try harder to reuse existing frames.
d58d31fb 5756
53ff3e77
SM
57572013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5760 (edebug-eval): Use backtrace-eval.
5761 (edebug--display, edebug--recursive-edit): Don't let-bind the
5762 edebug-outer-* vars that keep track of variables we locally let-bind.
5763 (edebug-outside-excursion): Don't restore outside values of locally
5764 let-bound vars.
5765 (edebug--display): Use user-error.
5766 (cl-lexical-debug, cl-debug-env): Remove.
5767
045f7a53
JB
57682013-07-26 Juanma Barranquero <lekktu@gmail.com>
5769
5770 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5771 are restored to be sure that they are visible before deleting any
5772 remaining ones.
5773
59070b32
MM
57742013-07-26 Matthias Meulien <orontee@gmail.com>
5775
742a3501
XF
5776 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5777 vc-print-root-log. (Bug#14948)
59070b32 5778
b1fb3596
RS
57792013-07-26 Richard Stallman <rms@gnu.org>
5780
5781 Add aliases for encrypting mail.
5782 * epa.el (epa-mail-aliases): New option.
5783 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5784 Bind inhibit-read-only so read-only text doesn't ruin everything.
5785 (epa-mail-default-recipients): New subroutine broken out.
5786 Handle epa-mail-aliases.
5787
56ea7291
SM
57882013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5789
5790 Add support for lexical variables to the debugger's `e' command.
5791 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5792 vars, except for debugger-outer-match-data.
5793 (debugger-frame-number): Move check for "on a function call" from
5794 callers into it. Add `skip-base' argument.
5795 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5796 (debugger-env-macro): Only reset the state stored in non-variables,
5797 i.e. current-buffer and match-data.
5798 (debugger-eval-expression): Rewrite using backtrace-eval.
5799 * subr.el (internal--called-interactively-p--get-frame): Remove.
5800 (called-interactively-p):
5801 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5802 `base' arg of backtrace-frame instead.
5803
15ac32d5
GM
58042013-07-26 Glenn Morris <rgm@gnu.org>
5805
8358a09d
GM
5806 * align.el (align-regexp): Doc fix. (Bug#14857)
5807 (align-region): Explicit error if subexpression missing/does not match.
5808
15ac32d5
GM
5809 * simple.el (global-visual-line-mode):
5810 Do not duplicate the mode lighter. (Bug#14858)
5811
f47ad11b
MR
58122013-07-25 Martin Rudalics <rudalics@gmx.at>
5813
5814 * window.el (display-buffer): In display-buffer bind
5815 split-window-keep-point to t, bug#14829.
5816
02530987
JB
58172013-07-25 Juanma Barranquero <lekktu@gmail.com>
5818
5819 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5820 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5821 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5822 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5823 Change accordingly.
f63ebeb5
JB
5824 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5825 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5826
6ccb9cab 58272013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5828
6ccb9cab 5829 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5830
cb3a56d2
JB
58312013-07-25 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5834 parameter to modify-frame-parameters if the value has not changed;
5835 this is a workaround for bug#14949.
5836 (desktop--make-frame): On cl-delete-if call, check parameter name,
5837 not full parameter.
5838
7aa7fff0
XF
58392013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5840
5841 * vc/vc.el (vc-ignore): New function.
5842
5843 * vc/vc-svn.el (vc-svn-ignore): New function.
5844
5845 * vc/vc-hg.el (vc-hg-ignore): New function.
5846
5847 * vc/vc-git.el (vc-git-ignore): New function.
5848
5849 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5850 (vc-dir-ignore): New function.
5851
5852 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5853 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5854
5855 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5856
5857 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5858
889acc5c
JB
58592013-07-24 Juanma Barranquero <lekktu@gmail.com>
5860
5861 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5862 (desktop-restore-frames): Warn when deleting an existing frame failed.
5863
86c40970
GM
58642013-07-24 Glenn Morris <rgm@gnu.org>
5865
5866 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5867
d5d3c58a
MA
58682013-07-24 Michael Albinus <michael.albinus@gmx.de>
5869
5870 * filenotify.el (file-notify-supported-p):
5871 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5872 Remove functions.
5873
5874 * autorevert.el (auto-revert-use-notify):
5875 (auto-revert-notify-add-watch):
5876 * net/tramp.el (tramp-file-name-for-operation):
5877 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5878 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5879 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5880 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5881 Remove `file-notify-supported-p' entry.
5882
d100084b
GM
58832013-07-24 Glenn Morris <rgm@gnu.org>
5884
5885 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5886 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5887
ac93e56b
SM
58882013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5889
249eea30
SM
5890 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5891 checked with memq (bug#14935).
5892
ac93e56b
SM
5893 * files.el (revert-buffer-function): Use a non-nil default.
5894 (revert-buffer-preserve-modes): Declare var to
5895 provide access to the `preserve-modes' argument.
5896 (revert-buffer): Let-bind it.
5897 (revert-buffer--default): New function, extracted from revert-buffer.
5898
2cdeb903
SM
58992013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * lpr.el: Signal print errors more prominently.
5902 (print-region-function): Don't default to nil.
5903 (lpr-print-region): New function, extracted from print-region-1.
5904 Check lpr's return value and signal an error in case of problem.
5905 (print-region-1): Use it.
5906 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5907 versions instead.
5908 (ps-printer-name): Default to nil.
5909 (ps-printer-name-option): Default to lpr-printer-switch.
5910 (ps-print-region-function): Don't default to nil.
5911 (ps-postscript-code-directory): Simplify default.
5912 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5913 (ps-string-list, ps-eval-switch, ps-flatten-list)
5914 (ps-flatten-list-1): Remove.
5915 (ps-multibyte-buffer): Avoid setq.
5916 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5917 (print-region-function, ps-print-region-function): Don't set them here.
5918
73600831
XF
59192013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5920
0e55c076
XF
5921 * ido.el (ido-fractionp):
5922 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5923 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5924 (ido-max-directory-size, ido-max-dir-file-cache)
5925 (ido-decorations): Doc fix.
5926
73600831
XF
5927 * ansi-color.el: Fix old URL.
5928
3d012865
MM
59292013-07-23 Michael R. Mauger <michael@mauger.com>
5930
e903c210 5931 * progmodes/sql.el: Version 3.3
3d012865
MM
5932 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5933 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5934 (sql-interactive-remove-continuation-prompt): Rewrite, use
5935 functions above. Fix continuation prompt and complete output line
5936 handling.
5937 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5938 redirected output buffer.
5939 (sql-mode): Restore deleted code (Bug#13591).
5940
da77a2e2
JB
59412013-07-23 Juanma Barranquero <lekktu@gmail.com>
5942
5943 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5944
80ff0c71
MA
59452013-07-23 Michael Albinus <michael.albinus@gmx.de>
5946
5947 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5948
5949 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5950 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5951 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5952
b61d71e4
JB
59532013-07-23 Juanma Barranquero <lekktu@gmail.com>
5954
5955 * desktop.el (desktop-clear): Simplify; remove useless checks
5956 against invalid buffer names.
5957 (desktop-list*): Use cl-list*.
5958 (desktop-buffer-info, desktop-create-buffer): Simplify.
5959
c3512092
LL
59602013-07-23 Leo Liu <sdl.web@gmail.com>
5961
5962 * bookmark.el (bookmark-make-record): Restore NAME as a default
5963 value. (Bug#14933)
5964
0ac26976
SM
59652013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5966
7d22ce18
SM
5967 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5968 extracted from autoload--insert-text.
5969 (autoload--insert-text): Remove.
5970 (autoload--print-cookie-text): New function, extracted from
5971 autoload--insert-cookie-text.
5972 (autoload--insert-cookie-text): Remove.
5973 (autoload-generate-file-autoloads): Adjust calls accordingly.
5974
9b2607e8
SM
5975 * winner.el (winner-hook-installed-p): Remove.
5976 (winner-mode): Simplify accordingly.
5977
c43a8618
SM
5978 * subr.el (add-to-list): Fix compiler-macro when `append' is
5979 not constant. Don't use `cl-member' for the base case.
5980
0ac26976
SM
5981 * progmodes/subword.el: Fix boundary case (bug#13758).
5982 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5983 own group.
5984 (subword-backward-regexp): Make it a constant.
5985 (subword-forward-internal): Don't treat a trailing capital as the
5986 beginning of a word.
5987
6874724a
AR
59882013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5989
5990 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5991 global value of tabulated-list-revert-hook (bug#14930).
5992
70f1b5e8
JB
59932013-07-22 Juanma Barranquero <lekktu@gmail.com>
5994
a1c80d9d
JB
5995 * desktop.el: Require 'cl-lib.
5996 (desktop-before-saving-frames-functions): New hook.
5997 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5998 for frames being saved. Rename from desktop--save-minibuffer-frames.
5999 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6000 Do not save frames with non-nil `desktop-dont-save' parameter.
6001 Filter out deleted frames.
a1c80d9d
JB
6002 (desktop--find-frame): Use cl-find-if.
6003 (desktop--select-frame): Use cl-(first|second|third) to access values
6004 of desktop-mini.
6005 (desktop--make-frame): Use cl-delete-if.
6006 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6007 (desktop-restore-frames): Use cl-(first|second|third) to access values
6008 of desktop-mini. Look for visible frame at the end, not while
6009 restoring frames.
6010
70f1b5e8
JB
6011 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6012 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6013 Use string-match-p, looking-at-p (bug#14927).
6014
728dc3cc
JB
60152013-07-21 Juanma Barranquero <lekktu@gmail.com>
6016
56bc453c
JB
6017 * desktop.el (desktop-saved-frame-states):
6018 Rename from desktop--saved-states; all users changed.
6019 (desktop-save-frames): Rename from desktop--save-frames.
6020 Do not save state to desktop file.
6021 (desktop-save): Save desktop-saved-frame-states to desktop file
6022 and reset to nil.
6023 (desktop-restoring-frames-p): New function.
6024 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6025 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6026 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6027
728dc3cc
JB
6028 * desktop.el: Correctly restore iconified frames.
6029 (desktop--filter-iconified-position): New function.
6030 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6031
862f1c9c
GM
60322013-07-20 Glenn Morris <rgm@gnu.org>
6033
c4074c9f
GM
6034 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6035 Let `message' do the formatting.
6036 (def-gdb-preempt-display-buffer): Add explicit format.
6037
d828e5f9
GM
6038 * image-dired.el (image-dired-track-original-file):
6039 Use with-current-buffer.
6040 (image-dired-track-thumbnail): Use with-current-buffer.
6041 Avoid changing point of wrong window.
6042
862f1c9c
GM
6043 * image-dired.el (image-dired-track-original-file):
6044 Avoid changing point of wrong window. (Bug#14909)
6045
f0398ec1 60462013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6047
6048 * progmodes/gdb-mi.el (gdb-done-or-error):
6049 Guard against "%" in gdb output. (Bug#14127)
6050
1451928f
AS
60512013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6052
763a086d
JB
6053 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6054 (Bug#14826)
f7a03897 6055
1451928f
AS
6056 * international/mule.el (coding-system-iso-2022-flags): Fix last
6057 change.
6058
99107004
KH
60592013-07-20 Kenichi Handa <handa@gnu.org>
6060
763a086d
JB
6061 * international/mule.el (coding-system-iso-2022-flags):
6062 Add `8-bit-level-4'. (Bug#8522)
99107004 6063
48494e06
LMI
60642013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6065
8ba8eec5
LMI
6066 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6067 (bug#14815).
6068
dfbc66e3
LMI
6069 * net/eww.el (eww-process-text-input): Allow inputting when the
6070 point is at the start of the line, as the properties aren't
6071 front-sticky.
6072
48494e06
LMI
6073 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6074 degenerate widths.
6075
77c92cb9
RS
60762013-07-19 Richard Stallman <rms@gnu.org>
6077
aec7da77
RS
6078 * epa.el (epa-popup-info-window): Doc fix.
6079
77c92cb9
RS
6080 * subr.el (split-string): New arg TRIM.
6081
945c5bb1
JB
60822013-07-18 Juanma Barranquero <lekktu@gmail.com>
6083
6084 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6085 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6086
e06ec67f
MA
60872013-07-18 Michael Albinus <michael.albinus@gmx.de>
6088
c7064f05 6089 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6090 `file-notify-support'. Do not autoload. Adapt all uses.
6091 (file-notify-supported-p): New defun.
6092
c7064f05
JB
6093 * autorevert.el (auto-revert-use-notify):
6094 Use `file-notify-supported-p' instead of `file-notify-support'.
6095 Adapt docstring.
e06ec67f
MA
6096 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6097
6098 * net/tramp.el (tramp-file-name-for-operation):
6099 Add `file-notify-supported-p'.
6100
6101 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6102 New defun.
6103 (tramp-sh-file-name-handler-alist): Add it as handler for
6104 `file-notify-supported-p '.
6105
6106 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6108 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6109 Add `ignore' as handler for `file-notify-*' functions.
6110
5dc8a629
EZ
61112013-07-17 Eli Zaretskii <eliz@gnu.org>
6112
6113 * simple.el (line-move-partial, line-move): Don't start vscroll or
6114 scroll-up if the current line is not taller than the window.
6115 (Bug#14881)
6116
77aea2fb
DG
61172013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6118
6119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6120 highlight question marks in the method names as strings.
ac72c08d
DG
6121 (ruby-block-beg-keywords): Inline.
6122 (ruby-font-lock-keyword-beg-re): Extract from
6123 `ruby-font-lock-keywords'.
77aea2fb 6124
18c26d81
JD
61252013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6126
6127 * frame.el (blink-cursor-blinks): New defcustom.
6128 (blink-cursor-blinks-done): New defvar.
6129 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6130 (blink-cursor-timer-function): Check if number of blinks has been
6131 done on X and NS.
6132 (blink-cursor-suspend, blink-cursor-check): New defuns.
6133
da48522e
GM
61342013-07-15 Glenn Morris <rgm@gnu.org>
6135
6136 * edmacro.el (edmacro-format-keys): Fix previous change.
6137
0463c1ef
PE
61382013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6139
6140 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6141 The hack didn't work outside English locales anyway.
6142
b43f6451
JB
61432013-07-15 Juanma Barranquero <lekktu@gmail.com>
6144
6145 * simple.el (define-alternatives): Rename from alternatives-define,
6146 per RMS' suggestion.
6147
b958c0ad
JB
61482013-07-14 Juanma Barranquero <lekktu@gmail.com>
6149
6150 * desktop.el (desktop-restore-frames): Change default to t.
6151 (desktop-restore-in-current-display): Now offer more options.
6152 (desktop-restoring-reuses-frames): New customization option.
6153 (desktop--saved-states): Doc fix.
6154 (desktop-filter-parameters-alist): New variable, renamed and expanded
6155 from desktop--excluded-frame-parameters.
6156 (desktop--target-display): New variable.
6157 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6158 (desktop--filter-tty*, desktop--filter-*-color)
6159 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6160 (desktop--filter-save-desktop-parm)
6161 (desktop-restore-in-original-display-p): New functions.
6162 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6163 (desktop--save-minibuffer-frames): New function, inspired by a similar
6164 function from Martin Rudalics.
6165 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6166 (desktop--restore-in-this-display-p): Remove.
6167 (desktop--find-frame): Rename from desktop--find-frame-in-display
6168 and add predicate argument.
6169 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6170 (desktop--reuse-list): New variable.
6171 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6172 New functions.
6173 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6174
f6dd8b36
MA
61752013-07-14 Michael Albinus <michael.albinus@gmx.de>
6176
6177 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6178
2ce3c565
DG
61792013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6180
763a086d
JB
6181 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6182 Highlight conversion methods on Kernel.
2ce3c565 6183
2cdb7698
AM
61842013-07-13 Alan Mackenzie <acm@muc.de>
6185
6186 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6187 and comment it out. This out-commenting enables certain C++
6188 declarations to be parsed correctly.
6189
1a67b811
EZ
61902013-07-13 Eli Zaretskii <eliz@gnu.org>
6191
1b796d6b
EZ
6192 * international/mule.el (define-coding-system): Doc fix.
6193
1a67b811
EZ
6194 * simple.el (default-font-height): Don't call font-info if the
6195 frame's default font didn't change since the frame was created.
6196 (Bug#14838)
6197
58fbe886
LL
61982013-07-13 Leo Liu <sdl.web@gmail.com>
6199
6200 * ido.el (ido-read-file-name): Guard against non-symbol value.
6201
1f0480d4
FEG
62022013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6203
6204 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6205 in nested defuns.
6206
97ead0e5
LL
62072013-07-13 Leo Liu <sdl.web@gmail.com>
6208
6209 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6210 ido-set-matches call. (Bug#6852)
6211
0880a952
DG
62122013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6213
6214 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6215 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6216 Ruby 2.0.
6217 (ruby-font-lock-keywords): Distinguish calls to functions with
6218 module-like names from module references. Highlight character
6219 literals.
6220
a7d8babb
SDJ
62212013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6222
6223 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6224 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6225
acfcc8c5
JB
62262013-07-12 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * desktop.el (desktop--v2s): Remove unused local variable.
6229 (desktop-save-buffer): Make defvar-local; adjust docstring.
6230 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6231 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6232
051f2775
AS
62332013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6234
6235 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6236
f24e7572
GM
62372013-07-12 Eli Zaretskii <eliz@gnu.org>
6238
6239 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6240 (Bug#14842)
6241
539a920c
GM
62422013-07-12 Glenn Morris <rgm@gnu.org>
6243
6244 * doc-view.el: Require cl-lib at runtime too.
6245 (doc-view-remove-if): Remove.
6246 (doc-view-search-next-match, doc-view-search-previous-match):
6247 Use cl-remove-if.
6248
6249 * edmacro.el: Require cl-lib at runtime too.
6250 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6251 (edmacro-mismatch, edmacro-subseq): Remove.
6252
6253 * shadowfile.el: Require cl-lib.
6254 (shadow-remove-if): Remove.
6255 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6256 Use cl-remove-if.
6257
6258 * wid-edit.el: Require cl-lib.
6259 (widget-choose): Use cl-remove-if.
6260 (widget-remove-if): Remove.
6261
6262 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6263 (ebrowse-delete-if-not): Remove.
6264 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6265 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6266 Use cl-delete-if-not.
6267
1048af7c
JB
62682013-07-12 Juanma Barranquero <lekktu@gmail.com>
6269
6270 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6271 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6272
6c0674ee
LL
62732013-07-12 Leo Liu <sdl.web@gmail.com>
6274
6275 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6276
a19b3c2d
GM
62772013-07-11 Glenn Morris <rgm@gnu.org>
6278
4582a01c
GM
6279 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6280 (edebug-gensym-index, edebug-gensym):
6281 Remove reimplementation of cl-gensym.
6282 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6283
6284 * thumbs.el: Require cl-lib at run-time too.
6285 (thumbs-gensym-counter, thumbs-gensym):
6286 Remove reimplementation of cl-gensym.
6287 (thumbs-temp-file): Use cl-gensym.
6288
a19b3c2d
GM
6289 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6290 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6291 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6292 (ert--union, ert--gensym-counter, ert--gensym-counter)
6293 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6294 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6295 (ert-make-test-unbound, ert--expand-should-1)
6296 (ert--expand-should, ert--should-error-handle-error)
6297 (should-error, ert--explain-equal-rec)
6298 (ert--plist-difference-explanation, ert-select-tests)
6299 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6300 Use cl-lib functions rather than reimplementations.
6301
88f6a933
MA
63022013-07-11 Michael Albinus <michael.albinus@gmx.de>
6303
6304 * net/tramp.el (tramp-methods): Extend docstring.
6305 (tramp-connection-timeout): New defcustom.
6306 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6307 (with-tramp-progress-reporter): Simplify.
6308 (tramp-process-actions): Improve messages.
6309
6310 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6311 * net/tramp-sh.el (tramp-maybe-open-connection):
6312 Use `tramp-connection-timeout'.
6313 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6314 (Bug#14808)
6315
a43d577e
LL
63162013-07-11 Leo Liu <sdl.web@gmail.com>
6317
6318 * ido.el (ido-read-file-name): Conform to the requirements of
6319 read-file-name. (Bug#11861)
6320 (ido-read-directory-name): Conform to the requirements of
6321 read-directory-name.
6322
d77974bf
JB
63232013-07-11 Juanma Barranquero <lekktu@gmail.com>
6324
6325 * subr.el (delay-warning): New function.
6326
35cb8a3e
EZ
63272013-07-10 Eli Zaretskii <eliz@gnu.org>
6328
6329 * simple.el (default-line-height): New function.
6330 (line-move-partial, line-move): Use it instead of computing the
6331 line height inline.
6332 (line-move-partial): Always compute ROWH. If the last line is
6333 partially-visible, but its text is completely visible, allow
6334 cursor to enter such a partially-visible line.
6335
525c5c77
MA
63362013-07-10 Michael Albinus <michael.albinus@gmx.de>
6337
6338 Improve error messages. (Bug#14808)
6339
6340 * net/tramp.el (tramp-current-connection): New defvar, moved from
6341 tramp-sh.el.
0ac26976 6342 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6343 needed anymore.
0ac26976
SM
6344 (tramp-error-with-buffer): Show message in minibuffer.
6345 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6346 (with-tramp-progress-reporter): Improve messages.
6347 (tramp-process-actions): Use progress reporter. Delete process in
6348 case of error. Improve messages.
6349
763a086d
JB
6350 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6351 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6352 (tramp-current-connection): Remove.
525c5c77
MA
6353 (tramp-maybe-open-connection): The car of
6354 `tramp-current-connection' are the first 3 slots of the vector.
6355
c7a4d368
TZ
63562013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6357
6358 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6359 inside continued strings.
6360
954b166e
PE
63612013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6362
6363 Timestamp fixes for undo (Bug#14824).
6364 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6365
56973319
LL
63662013-07-10 Leo Liu <sdl.web@gmail.com>
6367
6368 * files.el (require-final-newline): Allow safe local value.
6369 (Bug#14834)
6370
5550a72c
LL
63712013-07-09 Leo Liu <sdl.web@gmail.com>
6372
6373 * ido.el (ido-read-directory-name): Handle fallback.
6374 (ido-read-file-name): Update DIR to ido-current-directory.
6375 (Bug#1516)
c28b9050 6376 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6377
70c46b28
DG
63782013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6379
6380 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6381 "autoload". Remove "warn lower camel case" section, previously
6382 commented out. Highlight negation char. Do not highlight the
6383 target in singleton method definitions.
6384
0b64b838
SM
63852013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6386
7fd72e2c
SM
6387 * faces.el (tty-setup-hook): Declare the hook.
6388
0b64b838
SM
6389 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6390 and detect when a guard/pred depends on local vars (bug#14773).
6391 (pcase--u1): Adjust caller.
6392
ab49d60b
EZ
63932013-07-08 Eli Zaretskii <eliz@gnu.org>
6394
6395 * simple.el (line-move-partial, line-move): Account for
6396 line-spacing.
701d79aa
EZ
6397 (line-move-partial): Avoid setting vscroll when the last
6398 partially-visible line in window is of default height.
ab49d60b 6399
2d756ae0
LMI
64002013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6401
6402 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6403 been used a while.
6404
ed095bd7
JB
64052013-07-07 Juanma Barranquero <lekktu@gmail.com>
6406
6407 * subr.el (read-quoted-char): Remove unused local variable `char'.
6408
f1e6674b
MK
64092013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6410
584ee3fc
GM
6411 * ediff.el (ediff-version): Version update.
6412 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6413 (ediff-merge-with-ancestor-command, ediff-directories-command)
6414 (ediff-directories3-command, ediff-merge-directories-command)
6415 (ediff-merge-directories-with-ancestor-command): New functions.
6416 All are command-line interfaces to ediff: to facilitate calling
6417 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6418
6419 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6420 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6421
584ee3fc
GM
6422 * viper.el (viper-version): Version update.
6423 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6424
584ee3fc
GM
64252013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6428 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6429 (viper-intercept-ESC-key): Simplify.
6430 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6431 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6432 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6433 (viper-setup-ESC-to-escape): New functions.
6434 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6435 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6436
9aff9b38
EZ
64372013-07-07 Eli Zaretskii <eliz@gnu.org>
6438
5165d44a
JB
6439 * simple.el (default-font-height, window-screen-lines):
6440 New functions.
9aff9b38
EZ
6441 (line-move, line-move-partial): Use them instead of
6442 frame-char-height and window-text-height. This makes scrolling
6443 text smoother when the buffer's default face uses a font that is
6444 different from the frame's default font.
6445
1afb1d07
JD
64462013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6447
6448 * files.el (write-file): Do not display confirm dialog for NS,
6449 it does its own dialog, which can't be cancelled (Bug#14578).
6450
23de972a
EZ
64512013-07-06 Eli Zaretskii <eliz@gnu.org>
6452
6453 * simple.el (line-move-partial): Adjust the row returned by
6454 posn-at-point for the current window-vscroll. (Bug#14567)
6455
54a42486
MA
64562013-07-06 Michael Albinus <michael.albinus@gmx.de>
6457
6458 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6459 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6460 spaces.
6461
34ada5f4
MR
64622013-07-06 Martin Rudalics <rudalics@gmx.at>
6463
6464 * window.el (window-state-put-stale-windows): New variable.
6465 (window--state-put-2): Save list of windows without matching buffer.
6466 (window-state-put): Remove "bufferless" windows if possible.
6467
11e03d89
JB
64682013-07-06 Juanma Barranquero <lekktu@gmail.com>
6469
6470 * simple.el (alternatives-define): Remove leftover :group keyword.
6471 Tweak docstring.
6472
3504a4be
LL
64732013-07-06 Leo Liu <sdl.web@gmail.com>
6474
6475 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6476 (ido-enable-virtual-buffers): New variable.
6477 (ido-buffer-internal, ido-toggle-virtual-buffers)
6478 (ido-make-buffer-list): Use it.
6479 (ido-exhibit): Support turning on and off virtual buffers
6480 automatically.
6481
61e56e2c
JB
64822013-07-06 Juanma Barranquero <lekktu@gmail.com>
6483
6484 * simple.el (alternatives-define): New macro.
6485
321e1a9c
SM
64862013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * subr.el (read-quoted-char): Use read-key.
6489 (sit-for): Let read-event decode tty input (bug#14782).
6490
d610f6dd
SB
64912013-07-05 Stephen Berman <stephen.berman@gmx.net>
6492
6493 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6494 mode command and externally. Fix various related bugs.
6495 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6496 (todo-delete-file): New command.
6497 (todo-check-file): New function.
6498 (todo-show): Handle external deletion of the file we're trying to
6499 show (bug#14688). Replace called-interactively-p by an optional
6500 prefix argument to avoid problematic interaction with catch form
6501 when byte compiled (bug#14702).
6502 (todo-quit): Handle external deletion of the archive's todo file.
6503 Make sure the buffer that was visiting the archive file is still
6504 live before trying to bury it.
6505 (todo-category-completions): Handle external deletion of any
6506 category completion files.
6507 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6508 of todo files, in case of external deletion.
6509 (todo-add-file): Replace unnecessary setq by let-binding.
6510 (todo-find-archive): Check whether there are any archives.
6511 Replace unnecessary setq by let-binding.
6512 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6513 archive buffer whether or not the archive already exists.
6514 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6515 check if the archive is new; if it is, update list of archives.
6516 (todo-default-todo-file): Allow nil to be a valid value for when
6517 there are no todo files.
6518 (todo-reevaluate-default-file-defcustom): Use corrected definition
6519 of todo-default-todo-file.
6520 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6521 (todo-delete-category, todo-show-categories-table)
6522 (todo-category-number): Clarify comment.
6523 (todo-filter-items): Clarify documentation string.
6524 (todo-show-current-file, todo-display-as-todo-file)
6525 (todo-reset-and-enable-done-separator): Tweak documentation string.
6526 (todo-done-separator): Make separator length window-width, since
6527 bug#2749 is now fixed.
6528
ddbdfd6f
MA
65292013-07-05 Michael Albinus <michael.albinus@gmx.de>
6530
321e1a9c
SM
6531 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6532 Support both "gvfs-monitor-dir" and "inotifywait".
6533 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6534 `tramp-sh-file-notify-process-filter'.
6535 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6536 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6537
96eb829a
LL
65382013-07-05 Leo Liu <sdl.web@gmail.com>
6539
6540 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6541
cf13177e
YM
65422013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6543
6544 * frame.el (display-pixel-height, display-pixel-width)
6545 (display-mm-height, display-mm-width): Mention behavior on
6546 multi-monitor setups in docstrings.
6547 (w32-display-monitor-attributes-list): Declare function.
6548 (display-monitor-attributes-list): Use it.
6549
864c58ca
MA
65502013-07-04 Michael Albinus <michael.albinus@gmx.de>
6551
6552 * filenotify.el: New package.
6553
6554 * autorevert.el (top): Require filenotify.el.
6555 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6556 instead.
6557 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6558 (auto-revert-notify-handler): Use `file-notify-*' functions.
6559
6560 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6561
321e1a9c
SM
6562 * net/tramp.el (tramp-file-name-for-operation):
6563 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6564
6565 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6566 for `file-notify-add-watch' and `file-notify-rm-watch'.
6567 (tramp-process-sentinel): Improve trace.
6568 (tramp-sh-handle-file-notify-add-watch)
6569 (tramp-sh-file-notify-process-filter)
6570 (tramp-sh-handle-file-notify-rm-watch)
6571 (tramp-get-remote-inotifywait): New defuns.
6572
96673afe
JL
65732013-07-03 Juri Linkov <juri@jurta.org>
6574
6575 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6576 call of `occur-read-primary-args' to interactive spec.
6577
6578 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6579 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6580
924494f4
MM
65812013-07-03 Matthias Meulien <orontee@gmail.com>
6582
6583 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6584 `Buffer-menu-multi-occur'. Add it to the menu.
6585 (Buffer-menu-mode): Document it in docstring.
6586 (Buffer-menu-multi-occur): New command. (Bug#14673)
6587
56f75efc
DG
65882013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6589
6590 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6591 keywords and built-ins.
6592
9b057d61
GM
65932013-07-03 Glenn Morris <rgm@gnu.org>
6594
208dee4d
GM
6595 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6596
9b057d61
GM
6597 Make info-xref checks case-sensitive by default
6598 * info.el (Info-find-node, Info-find-in-tag-table)
6599 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6600 Add option for exact case matching of nodes.
6601 * info-xref.el (info-xref): New custom group.
6602 (info-xref-case-fold): New option.
6603 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6604
e01aa29c
LL
66052013-07-03 Leo Liu <sdl.web@gmail.com>
6606
6607 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6608
3086ca2e
DG
66092013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6610
6611 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6612 middle of block statement initially, lower the depth. Remove
6613 FIXME comment, not longer valid. Remove middle of block statement
6614 detection, no need to do that anymore since we've been using
6615 `ruby-parse-region' here.
6616
a3b49114
JD
66172013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6618
6619 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6620
08e5c823 66212013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6622
6623 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6624
2addf922
JB
66252013-07-01 Juanma Barranquero <lekktu@gmail.com>
6626
6627 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6628 (desktop-restore-in-current-display): New customization option.
6629 (desktop--excluded-frame-parameters): Add `font'.
6630 (desktop--save-frames): Rename from desktop--save-windows.
6631 (desktop--restore-in-this-display-p): New function.
6632 (desktop--make-full-frame): Remove unwanted width/height from
6633 full(width|height) frames.
6634 (desktop--restore-frames): Rename from desktop--restore-windows.
6635 Obey desktop-restore-current-display. Do not delete old frames or
6636 select a new frame unless we were able to restore at least one frame.
6637
ef099a94
MN
66382013-06-30 Michal Nazarewicz <mina86@mina86.com>
6639
6640 * files.el (find-file-noselect): Simplify conditional expression.
6641
6642 * remember.el (remember-append-to-file):
6643 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6644
6645 Add `remember-notes' function to store random notes across Emacs
6646 restarts.
6647 * remember.el (remember-data-file): Add :set callback to affect
6648 notes buffer (if any).
6649 (remember-notes): New command.
6650 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6651 New defcustoms for the `remember-notes' function.
6652 (remember-notes-save-and-bury-buffer): New command.
6653 (remember-notes-mode-map): New variable.
6654 (remember-mode): New minor mode.
6655 (remember-notes--kill-buffer-query): New function.
6656 * startup.el (initial-buffer-choice): Add notes to custom type.
6657
0865d506
EZ
66582013-06-30 Eli Zaretskii <eliz@gnu.org>
6659
0ba54312
EZ
6660 * bindings.el (right-char, left-char): Don't call sit-for, this is
6661 no longer needed. Use arithmetic comparison only for numerical
6662 arguments.
6663
ef099a94
MN
6664 * international/mule-cmds.el (select-safe-coding-system):
6665 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6666
2fae38e5
LMI
66672013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6668
6669 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6670 progression on degenerate tables.
ef099a94 6671 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6672
a47cbd64
JB
66732013-06-30 Juanma Barranquero <lekktu@gmail.com>
6674
6675 Some fixes and improvements for desktop frame restoration.
6676 It is still experimental and disabled by default.
6677 * desktop.el (desktop--save-windows): Put the selected frame at
6678 the head of the list.
6679 (desktop--make-full-frame): New function.
6680 (desktop--restore-windows): Try to re-select the frame that was
6681 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6682 just show an error message and continue. Set up maximized frames
6683 so they have default non-maximized dimensions.
a47cbd64 6684
6dbafa30
DG
66852013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6686
ef099a94
MN
6687 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6688 Don't start heredoc inside a string or comment.
6dbafa30 6689
4c672a0f
EZ
66902013-06-29 Eli Zaretskii <eliz@gnu.org>
6691
6692 * bindings.el (visual-order-cursor-movement): New defcustom.
6693 (right-char, left-char): Provide visual-order cursor motion by
6694 calling move-point-visually. Update the doc strings.
6695
50960f36
KH
66962013-06-28 Kenichi Handa <handa@gnu.org>
6697
6698 * international/mule.el (define-coding-system): New coding system
6699 properties :inhibit-null-byte-detection,
6700 :inhibit-iso-escape-detection, and :prefer-utf-8.
6701 (set-buffer-file-coding-system): If :charset-list property of
6702 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6703 appropriate for setting.
6704
c1ea3abf
JB
6705 * international/mule-cmds.el (select-safe-coding-system):
6706 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6707 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6708
6709 * international/mule-conf.el (prefer-utf-8): New coding system.
6710 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6711 files.
6712
75dbaf9d
IK
67132013-06-28 Ivan Kanis <ivan@kanis.fr>
6714
eadb6068
IK
6715 * net/shr.el (shr-render-region): New function.
6716
75dbaf9d
IK
6717 * net/eww.el: Autoload `eww-browse-url'.
6718
9ea5cf9f
DG
67192013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6720
c1ea3abf
JB
6721 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6722 Adapt to `package-desc-version' being a list.
6723 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6724 archive element.
6725
39c0e36f
JB
67262013-06-27 Juanma Barranquero <lekktu@gmail.com>
6727
6728 New experimental feature to save&restore window and frame setup.
6729 * desktop.el (desktop-save-windows): New defcustom.
6730 (desktop--saved-states): New var.
6731 (desktop--excluded-frame-parameters): New defconst.
6732 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6733 (desktop--restore-windows, desktop--save-windows): New functions.
6734 (desktop-save): Call `desktop--save-windows'.
6735 (desktop-read): Call `desktop--restore-windows'.
6736
7f13406b
LMI
67372013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6738
ef099a94 6739 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6740
1e072639
SB
67412013-06-27 Stephen Berman <stephen.berman@gmx.net>
6742
6743 * info.el (Info-try-follow-nearest-node): Move search for footnote
6744 above search for node name to prevent missing a footnote (bug#14717).
6745
f3e2cbde
SB
67462013-06-27 Stephen Berman <stephen.berman@gmx.net>
6747
6748 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6749
99906aa0
LL
67502013-06-27 Leo Liu <sdl.web@gmail.com>
6751
6752 * net/eww.el (eww-read-bookmarks): Check file size.
6753
539f75f4
SM
67542013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6757 advice--pending if newdef is nil or an autoload (bug#13820).
6758 (advice-mapc): New function.
6759
843571cb
LMI
67602013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6761
6762 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6763 probably.
23a75d7f 6764 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6765 (eww-add-bookmark): New command.
6766 (eww-bookmark-mode): New mode and commands.
a285ce99 6767 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6768 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6769
f2136e1e
GM
67702013-06-26 Glenn Morris <rgm@gnu.org>
6771
eab35f39
GM
6772 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6773 (hfy-size): Handle ttys. (Bug#14668)
6774
f2136e1e
GM
6775 * info-xref.el: Update for Texinfo 5 change in *note format.
6776 (info-xref-node-re, info-xref-note-re): New constants.
6777 (info-xref-check-buffer): Use info-xref-note-re.
6778
a49ff80c
SM
67792013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6780
a343d218
SM
6781 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6782
a49ff80c
SM
6783 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6784 nil terminate the loop (bug#14718).
6785
8308f184
LMI
67862013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6787
6788 * net/eww.el: Rework history traversal. When going forward/back,
6789 put these actions into the history, too, so that they can be
6790 replayed.
26bf2b82 6791 (eww-render): Move the history reset to the correct buffer.
8308f184 6792
ec64c273
JL
67932013-06-25 Juri Linkov <juri@jurta.org>
6794
6795 * files-x.el (modify-dir-local-variable): Change the header comment
6796 in the file with directory local variables. (Bug#14692)
6797
e080a9d7
JL
6798 * files-x.el (read-file-local-variable-value): Add `default'.
6799 (Bug#14710)
6800
bfbc93a1
IK
68012013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802
6803 * net/eww.el (eww-make-unique-file-name): Create a unique file
6804 name before saving to entering `y' accidentally asynchronously.
6805
68062013-06-25 Ivan Kanis <ivan@kanis.fr>
6807
6808 * net/eww.el (eww-download): New command and keystroke.
6809
16f74f10
LMI
68102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6811
a49ff80c 6812 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6813
6814 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6815 be more consistent with Info and dired.
6816
6817 * net/eww.el (eww-mode-map): Ditto.
6818
12059709
SM
68192013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6822 packages from archives.
6823 (package-archive-contents): Change format; include obsolete packages.
6824 (package-desc): Use `dir' to mark builtin packages.
6825 (package--from-builtin): Set the `dir' field to `builtin'.
6826 (generated-autoload-file, version-control): Declare.
6827 (package-compute-transaction): Change first arg and return value to be
6828 lists of package-descs. Adjust to new package-archive-contents format.
6829 (package--add-to-archive-contents): Adjust to new
6830 package-archive-contents format.
6831 (package-download-transaction): Arg is now a list of package-descs.
6832 (package-install): If `pkg' is a package name, pass it as
6833 a requirement, so it is subject to the usual (e.g. disabled) checks.
6834 (describe-package): Accept package-desc as well.
6835 (describe-package-1): Describe a specific package-desc. Add links to
6836 other package-descs for the same package name.
6837 (package-menu-describe-package): Pass the actual package-desc.
6838 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6839 works correctly.
6840 (package-desc-status): New function.
6841 (package-menu--refresh): New function, extracted
6842 from package-menu--generate.
6843 (package-menu--generate): Use it.
6844 (package-delete): Update package-alist.
6845 (package-menu-execute): Don't call package-initialize.
6846
6847 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6848 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6849 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6850 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6851 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6852 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6853
8bbdea0f
MR
68542013-06-25 Martin Rudalics <rudalics@gmx.at>
6855
6856 * window.el (window--state-get-1): Workaround for bug#14527.
6857 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6858
e82b0991
LMI
68592013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6860
6861 * net/eww.el (eww-back-url): Implement the history by stashing all
6862 the data into a list.
d3f0f918 6863 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6864
c763842b
SM
68652013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6868 for values and use read--expression for expressions (bug#14710).
6869 (read-file-local-variable): Avoid setq.
6870 (read-file-local-variable-mode): Use minor-mode-list.
6871
bceff189
RW
68722013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6873
864c58ca 6874 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6875 for DOI URLs.
6876
45f431c6
RW
68772013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6878
864c58ca 6879 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6880 Update imenu-support when dialect changes.
6881
f42d8237
LL
68822013-06-25 Leo Liu <sdl.web@gmail.com>
6883
6884 * ido.el (ido-read-internal): Allow forward slash on windows.
6885
be549ce6
LMI
68862013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6887
6888 * net/eww.el (eww): Start of strings is \\`, not ^.
6889
71d4c19d
IK
68902013-06-24 Ivan Kanis <ivan@kanis.fr>
6891
5196f88a
IK
6892 * net/shr.el (shr-browse-url): Fix interactive spec.
6893
71d4c19d
IK
6894 * net/eww.el (eww): Add a trailing slash to domain names.
6895
ae36ca55
JB
68962013-06-24 Juanma Barranquero <lekktu@gmail.com>
6897
6898 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6899
0ebd92a3
LMI
69002013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6901
bdaa086b
LMI
6902 * net/shr.el (shr-browse-url): Use an external browser if given a
6903 prefix.
6904
c763842b 6905 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6906
b89fc156
IK
69072013-06-24 Ivan Kanis <ivan@kanis.fr>
6908
6909 * net/eww.el (eww): Work more correctly for file: URLs.
6910 (eww-detect-charset): Allow quoted charsets.
6911 (eww-yank-page-url): New command and keystroke.
6912
18eb4bca
DU
69132013-06-24 Daiki Ueno <ueno@gnu.org>
6914
6915 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6916 file name of gpg executable.
6917 (epg-context-program): New function.
6918 (epg-context-home-directory): New function.
6919 (epg-context-set-program): New function.
6920 (epg-context-set-home-directory): New function.
6921 (epg--start): Use `epg-context-program' instead of
6922 'epg-gpg-program'.
6923 (epg--list-keys-1): Likewise.
6924
6c6268c8
LL
69252013-06-24 Leo Liu <sdl.web@gmail.com>
6926
6927 * ido.el (ido-read-internal): Fix bug#14620.
6928
5e400cb3
JB
69292013-06-23 Juanma Barranquero <lekktu@gmail.com>
6930
6931 * faces.el (face-documentation): Simplify.
6932 (read-face-attribute, tty-find-type, x-resolve-font-name):
6933 Use `string-match-p'.
6934 (list-faces-display): Use `string-match-p'. Simplify.
6935 (face-spec-recalc): Check face to avoid face alias loops.
6936 (read-color): Use `string-match-p' and non-capturing parenthesis.
6937
f3f9606c
LMI
69382013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6939
6940 * net/shr.el (shr-rescale-image): Use the new
6941 :max-width/:max-height functionality.
6942
a3ca09b9
IK
69432013-06-23 Ivan Kanis <ivan@kanis.fr>
6944
6945 * net/eww.el (eww-search-prefix): New variable.
6946 (eww): Use it.
f865b474
IK
6947 (eww-external-browser): New variable.
6948 (eww-mode-map): New keystroke.
6949 (eww-browse-with-external-browser): New command.
a3ca09b9 6950
e854cfc7
IK
6951 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6952
18bb9e21
JB
69532013-06-23 Juanma Barranquero <lekktu@gmail.com>
6954
6955 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6956 Don't skip aligning the next header field when padding is 0;
6957 otherwise, field width is not respected unless the title is as
6958 wide as the field.
6959
5b165ade
SM
69602013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * emacs-lisp/package.el (package-el-version): Remove.
6963 (package-process-define-package): Fix inf-loop.
6964 (package-install): Allow symbols as arguments again.
6965
12adebe9
DG
69662013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6967
6968 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6969 add some more keyword-like methods.
6970 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6971
388573ee
JB
69722013-06-22 Juanma Barranquero <lekktu@gmail.com>
6973
6974 * bs.el (bs-buffer-show-mark): Make defvar-local.
6975 (bs-mode): Use setq-local.
6976
6977 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6978 (emacs-lock--try-unlocking): Make defvar-local.
6979
4582a01c 69802013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6981
2663dd23
GM
6982 * play/cookie1.el (cookie-apropos): Minor simplification.
6983
3d94f3ad
GM
6984 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6985
f72e2fdb
DG
69862013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6987
6988 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6989 `regexp-opt', it breaks the build during dumping.
6990
73eab938
DG
69912013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6992
c763842b
SM
6993 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6994 Highlight keyword-like methods on Kernel and Module with
73eab938 6995 font-lock-builtin-face.
5cf8176d
DG
6996 (auto-mode-alist): Consolidate different entries into one regexp
6997 and add more *file-s.
73eab938 6998
d26255f6
SB
69992013-06-21 Stephen Berman <stephen.berman@gmx.net>
7000
7001 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7002
7003 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7004 (diary-entry): Use it in the action of this button type instead of
7005 diary-goto-entry.
7006
7007 * calendar/todo-mode.el: New version.
7008 (todo-add-category): Append new category to end of file and give
7009 it the highest number, instead of putting it at the beginning and
7010 giving it 0. Incorporate noninteractive functionality.
7011 (todo-forward-category): Adapt to 1-based category numbering.
7012 Allow skipping over archived categories.
7013 (todo-backward-category): Derive from todo-forward-category.
7014 (todo-backward-item, todo-forward-item): Make noninteractive and
7015 delegate interactive part to new commands. Make sensitive to done items.
7016 (todo-categories): Make value an alist of category names and
7017 vectors of item counts.
7018 (todo-category-beg): Make a defconst.
7019 (todo-category-number): Use 1 instead of 0 as initial value.
7020 (todo-category-select): Make sensitive to overlays, optional item
7021 highlighting and done items.
7022 (todo-delete-item): Make sensitive to overlays and marked and done items.
7023 (todo-edit-item): Make sensitive to overlays and editing of
7024 date/time header optional. Add format checks.
7025 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7026 no-op if point is not on an item. Advertise using todo-edit-quit.
7027 (todo-edit-mode): Make sensitive to new format, font-locking, and
7028 multiple todo files.
7029 (todo-insert-item, todo-insert-item-here): Derive from
7030 todo-basic-insert-item and extend functionality.
7031 (todo-item-end, todo-item-start): Make sensitive to done items.
7032 (todo-item-string): Don't return text properties. Restore point.
7033 (todo-jump-to-category): Make sensitive to multiple todo files and
7034 todo archives. Use extended category completion.
7035 (todo-lower-item, todo-raise-item): Rename to *-priority and
7036 derive from todo-set-item-priority.
7037 (todo-mode): Derive from special-mode. Make sensitive to new
7038 format, font-locking and multiple todo files. Make read-only.
7039 (todo-mode-map): Don't suppress digit keys, so they can supply
7040 prefix arguments. Add many new key bindings.
7041 (todo-prefix): Insert as an overlay instead of file text.
7042 Change semantics from diary date expression to purely visual mark.
7043 (todo-print): Rename to todo-print-buffer. Make buffer display
7044 features printable. Remove option to restrict number of items
7045 printed. Add option to print to file.
7046 (todo-print-function): Rename to todo-print-buffer-function.
7047 (todo-quit): Extend to handle exiting new todo modes.
7048 (todo-remove-item): Make sensitive to overlays.
7049 (todo-save): Extend to buffers of filtered items.
7050 (todo-show): Make sensitive to done items, multiple todo files and
7051 new todo modes. Offer to convert legacy todo file before creating
7052 first new todo file.
7053 (todo-show-priorities): Rename to todo-top-priorities.
7054 Change semantics of value 0.
7055 (todo-top-priorities): Rename to todo-filter-top-priorities,
7056 derive from todo-filter-items and extend functionality.
7057 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7058 and extend functionality to other types of filtered items.
7059 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7060 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7061 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7062 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7063 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7064 (todo-edit-mode-hook, todo-entry-prefix-function)
7065 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7066 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7067 (todo-initials, todo-insert-threshold, todo-item-string-start)
7068 (todo-line-string, todo-menu, todo-mode-hook)
7069 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7070 (todo-print-priorities, todo-remove-separator)
7071 (todo-save-top-priorities-too, todo-string-count-lines)
7072 (todo-string-multiline-p, todo-time-string-format)
7073 (todo-tmp-buffer-name): Remove.
7074 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7075 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7076 (todo-edit-category-diary-inclusion)
7077 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7078 (todo-edit-file, todo-edit-item-date-day)
7079 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7080 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7081 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7082 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7083 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7084 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7085 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7086 (todo-filter-top-priorities-multifile, todo-find-archive)
7087 (todo-find-filtered-items-file, todo-go-to-source-item)
7088 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7089 (todo-jump-to-archive-category, todo-lower-category)
7090 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7091 (todo-move-category, todo-move-item, todo-next-button)
7092 (todo-next-item, todo-padded-string, todo-powerset)
7093 (todo-previous-button, todo-previous-item)
7094 (todo-print-buffer-to-file, todo-raise-category)
7095 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7096 (todo-set-category-number, todo-set-item-priority)
7097 (todo-set-top-priorities-in-category)
7098 (todo-set-top-priorities-in-file, todo-show-categories-table)
7099 (todo-sort-categories-alphabetically-or-numerically)
7100 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7101 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7102 (todo-toggle-item-header, todo-toggle-item-highlighting)
7103 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7104 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7105 (todo-unarchive-items, todo-unmark-category): New commands.
7106 (todo-absolute-file-name, todo-add-to-buffer-list)
7107 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7108 (todo-basic-insert-item, todo-category-completions)
7109 (todo-category-number, todo-category-string-matcher-1)
7110 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7111 (todo-check-format, todo-clear-matches)
7112 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7113 (todo-current-category, todo-date-string-matcher)
7114 (todo-define-insertion-command, todo-diary-expired-matcher)
7115 (todo-diary-goto-entry, todo-diary-item-p)
7116 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7117 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7118 (todo-done-item-section-p, todo-done-separator)
7119 (todo-done-string-matcher, todo-files, todo-filter-items)
7120 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7121 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7122 (todo-insert-category-line, todo-insert-item-from-calendar)
7123 (todo-insert-sort-button, todo-insert-with-overlays)
7124 (todo-insertion-command-name, todo-insertion-key-bindings)
7125 (todo-label-to-key, todo-longest-category-name-length)
7126 (todo-make-categories-list, todo-mode-external-set)
7127 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7128 (todo-modes-set-3, todo-multiple-filter-files)
7129 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7130 (todo-read-category, todo-read-date, todo-read-dayname)
7131 (todo-read-file-name, todo-read-time)
7132 (todo-reevaluate-category-completions-files-defcustom)
7133 (todo-reevaluate-default-file-defcustom)
7134 (todo-reevaluate-filelist-defcustoms)
7135 (todo-reevaluate-filter-files-defcustom)
7136 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7137 (todo-reset-done-separator, todo-reset-done-separator-string)
7138 (todo-reset-done-string, todo-reset-global-current-todo-file)
7139 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7140 (todo-reset-prefix, todo-set-categories)
7141 (todo-set-date-from-calendar, todo-set-show-current-file)
7142 (todo-set-top-priorities, todo-short-file-name)
7143 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7144 (todo-total-item-counts, todo-update-buffer-list)
7145 (todo-update-categories-display, todo-update-categories-sexp)
7146 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7147 New functions.
7148 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7149 New major modes.
7150 (todo-categories, todo-display, todo-edit, todo-faces)
7151 (todo-filtered): New defgroups.
7152 (todo-archived-only, todo-button, todo-category-string, todo-date)
7153 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7154 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7155 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7156 (todo-add-item-if-new-category, todo-always-add-time-string)
7157 (todo-categories-align, todo-categories-archived-label)
7158 (todo-categories-category-label, todo-categories-diary-label)
7159 (todo-categories-done-label, todo-categories-number-separator)
7160 (todo-categories-todo-label, todo-categories-totals-label)
7161 (todo-category-completions-files, todo-completion-ignore-case)
7162 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7163 (todo-done-separator-string, todo-done-string)
7164 (todo-files-function, todo-filter-done-items, todo-filter-files)
7165 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7166 (todo-initial-category, todo-initial-file, todo-item-mark)
7167 (todo-legacy-date-time-regexp, todo-mode-line-function)
7168 (todo-nondiary-marker, todo-number-prefix)
7169 (todo-print-buffer-function, todo-show-current-file)
7170 (todo-show-done-only, todo-show-first, todo-show-with-done)
7171 (todo-skip-archived-categories, todo-top-priorities-overrides)
7172 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7173 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7174 New defcustoms.
7175 (todo-category-done, todo-date-pattern, todo-date-string-start)
7176 (todo-diary-items-buffer, todo-done-string-start)
7177 (todo-filtered-items-buffer, todo-item-start)
7178 (todo-month-abbrev-array, todo-month-name-array)
7179 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7180 (todo-top-priorities-buffer): New defconsts.
7181 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7182 (todo-categories-with-marks, todo-category-string-face)
7183 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7184 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7185 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7186 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7187 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7188 (todo-font-lock-keywords, todo-global-current-todo-file)
7189 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7190 (todo-insertion-commands-args)
7191 (todo-insertion-commands-args-genlist)
7192 (todo-insertion-commands-names, todo-insertion-map)
7193 (todo-key-bindings-t, todo-key-bindings-t+a)
7194 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7195 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7196 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7197 (todo-visited): New variables.
7198
cad5d1cb
GM
71992013-06-21 Glenn Morris <rgm@gnu.org>
7200
7201 * play/cookie1.el (cookie-apropos): Add optional display argument.
7202 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7203 (psychoanalyze-pinhead): Use cookie-doctor.
7204
9e277302
JB
72052013-06-21 Juanma Barranquero <lekktu@gmail.com>
7206
7207 * emacs-lisp/package.el (tar-get-file-descriptor)
7208 (tar--extract): Declare.
7209
c5b0993e
EW
72102013-06-21 Eduard Wiebe <usenet@pusto.de>
7211
7212 Extend flymake's warning predicate to be a function (bug#14217).
7213 * progmodes/flymake.el (flymake-warning-predicate): New.
7214 (flymake-parse-line): Use it.
7215 (flymake-warning-re): Make obsolete alias to
7216 `flymake-warning-predicate'.
7217
a7d2d465
SM
72182013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7221 (package-obsolete-list): Remove.
7222 (package-activate): Remove min-version argument. Add `force' argument.
7223 Adjust to new package-alist format.
7224 (package-mark-obsolete): Remove.
7225 (package-unpack): Force reload of the package's autoloads.
7226 (package-installed-p): Check builtins if the installed package is not
7227 recent enough.
7228 (package-initialize): Don't reset package-obsolete-list.
7229 Don't specify which package version to activate.
7230 (package-process-define-package, describe-package-1)
7231 (package-menu--generate): Adjust to new package-alist format.
7232
cedf5c9d
JB
72332013-06-21 Juanma Barranquero <lekktu@gmail.com>
7234
7235 * allout-widgets.el (allout-widgets-mode-off)
7236 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7237 (allout-widgets-post-command-business)
7238 (allout-widgets-after-copy-or-kill-function)
7239 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7240 (allout-decorate-item-and-context)
7241 (allout-graphics-modification-handler): Fix typos in docstrings.
7242 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7243
7244 * cmuscheme.el (scheme-start-file): Doc fix.
7245 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7246 (scheme-input-filter): Use `string-match-p'.
7247
7248 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7249
7250 * dired-x.el: Use Dired consistently in docstrings.
7251
7252 * dired.el: Use Dired consistently in docstrings.
7253 (dired-readin, dired-mode): Use `setq-local'.
7254 (dired-switches-alist): Make defvar-local.
7255 (dired-buffers-for-dir): Use `zerop'.
7256 (dired-safe-switches-p, dired-switches-escape-p)
7257 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7258 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7259 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7260 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7261 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7262 (dired-toggle-marks, dired-mark-files-containing-regexp)
7263 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7264 (dired-flag-auto-save-files, dired-flag-backup-files):
7265 Use `looking-at-p'.
7266 (dired-mark-files-regexp, dired-build-subdir-alist):
7267 Use `string-match-p', `looking-at-p'.
7268
7269 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7270 (direct-print-region-helper): Use `string-match-p'.
7271
aed838b5
LL
72722013-06-21 Leo Liu <sdl.web@gmail.com>
7273
cedf5c9d
JB
7274 * comint.el (comint-redirect-results-list-from-process):
7275 Fix infinite loop.
aed838b5 7276
d80a808f
LMI
72772013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7278
7279 * net/eww.el (eww-update-header-line-format): Quote % characters.
7280
e7a526e3
GM
72812013-06-21 Glenn Morris <rgm@gnu.org>
7282
7283 * play/cookie1.el (cookie): New custom group.
7284 (cookie-file): New option.
7285 (cookie-check-file): New function.
7286 (cookie): Make it interactive. Make start and end messages optional.
7287 Interactively, display the result. Default to cookie-file.
7288 (cookie-insert): Default to cookie-file.
7289 (cookie-snarf): Make start and end messages optional.
7290 Default to cookie-file. Use with-temp-buffer.
7291 (cookie-read): Rename from read-cookie.
7292 Make start and end messages optional. Default to cookie-file.
7293 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7294 Do not autoload it.
e7a526e3
GM
7295 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7296 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7297
62efb35e
LL
72982013-06-21 Leo Liu <sdl.web@gmail.com>
7299
7300 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7301
21e3f963
GM
73022013-06-21 Glenn Morris <rgm@gnu.org>
7303
7304 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7305
fd846ab4
SM
73062013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7307 Daniel Hackney <dan@haxney.org>
7308
7309 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7310 Consolidate the single-file vs tarball code.
7311 (package-desc-suffix): New function.
7312 (package-desc-full-name): Don't bother inlining it.
7313 (package-load-descriptor): Return the new package-desc.
7314 (package-mark-obsolete): Remove unused arg `package'.
7315 (package-unpack): Make it work for single files as well.
7316 Make it update package-alist.
7317 (package--make-autoloads-and-stuff): Rename from
7318 package--make-autoloads-and-compile. Don't compile any more.
7319 (package--compile): New function.
7320 (package-generate-description-file): New function, extracted from
7321 package-unpack-single.
7322 (package-unpack-single): Remove.
7323 (package--with-work-buffer): Add indentation and debugging info.
7324 (package-download-single): Remove.
7325 (package-install-from-archive): Rename from package-download-tar, make
7326 it take a pkg-desc, and make it work for single files as well.
7327 (package-download-transaction): Simplify.
7328 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7329 external tar program.
7330 (package-install-from-buffer): Remove `pkg-desc' argument.
7331 Use package-tar-file-info for tar-mode buffers.
7332 (package-install-file): Simplify accordingly.
7333 (package-archive-base): Change to take a pkg-desc.
7334 * tar-mode.el (tar--check-descriptor): New function, extracted from
7335 tar-get-descriptor.
7336 (tar-get-descriptor): Use it.
7337 (tar-get-file-descriptor): New function.
7338 (tar--extract): New function, extracted from tar-extract.
7339 (tar--extract): Use it.
7340 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7341 case the summary uses non-ascii. Adjust to new calling convention of
7342 package-tar-file-info.
7343
b7deae5e
LL
73442013-06-21 Leo Liu <sdl.web@gmail.com>
7345
fd846ab4
SM
7346 * comint.el (comint-redirect-results-list-from-process):
7347 Fix random delay. (Bug#14681)
b7deae5e 7348
7a65a0b2
JB
73492013-06-21 Juanma Barranquero <lekktu@gmail.com>
7350
7351 * profiler.el (profiler-format-number): Use log, not log10.
7352
1493c2af
JB
73532013-06-20 Juanma Barranquero <lekktu@gmail.com>
7354
7355 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7356
aff6371e
SM
73572013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7360 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7361 yet available.
7362 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7363 (AUTOGENEL): ... here.
7364 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7365 (cl--defsubst-expand): Use it.
7366
89561f72
PE
73672013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7368
7369 * subr.el (log10): Move here from C code, and declare as obsolete.
7370 All uses of (log10 X) replaced with (log X 10).
7371
47199123
JB
73722013-06-20 Juanma Barranquero <lekktu@gmail.com>
7373
7374 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7375 Declare with `defvar-local'.
7376 (tabulated-list-use-header-line, tabulated-list-entries)
7377 (tabulated-list-padding, tabulated-list-printer)
7378 (tabulated-list-sort-key): Declare with `defvar-local'.
7379 (tabulated-list-init-header, tabulated-list-print-fake-header):
7380 Use `setq-local'.
7381
4a172eab
MA
73822013-06-20 Michael Albinus <michael.albinus@gmx.de>
7383
47199123
JB
7384 * arc-mode.el (archive-mode): Add `archive-write-file' to
7385 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7386
5fc0acc0
JB
73872013-06-20 Juanma Barranquero <lekktu@gmail.com>
7388
d5b27848
JB
7389 * cus-edit.el (custom-commands): Fix typos.
7390 (custom-display): Fix tooltip text.
7391 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7392 Fix typos in docstrings.
7393 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7394 (custom-unlispify-menu-entry, custom-magic-value-create)
7395 (custom-add-see-also, custom-group-value-create): Use ?\s.
7396 (custom-guess-type, customize-apropos, editable-field)
7397 (custom-face-value-create): Use `string-match-p'.
7398 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7399
7400 * custom.el (custom-load-symbol): Use `string-match-p'.
7401
a5c581d8
JB
7402 * ansi-color.el: Convert to lexical binding.
7403 (ansi-colors): Fix URL.
7404 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7405 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7406 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7407
970ad972
G
74082013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7409
7410 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7411
7412 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7413
74142013-06-19 Tom Tromey <tromey@redhat.com>
7415
7416 * net/eww.el (eww-top-url): Remove.
7417 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7418 (eww-render): Set new variables. Don't set eww-top-url.
7419 (eww-handle-link): Handle "prev", "home", and "contents".
7420 Downcase the rel text.
7421 (eww-top-url): Choose best top URL.
7422
74232013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7424
7425 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7426 relying in widget.el. Using widget.el leads to too many
7427 user interface inconsistencies.
7428 (eww-self-insert): Implement entering commands in text fields.
7429 (eww-process-text-input): New function to make text input field editing
7430 work.
7431 (eww-submit): Rewrite to use the new-style form methods.
7432 (eww-select-display): Display the correct selected item.
7433 (eww-change-select): Implement changing the select value.
7434 (eww-toggle-checkbox): Implement radio/checkboxes.
7435 (eww-update-field): Fix compilation error.
7436 (eww-tag-textarea): Implement <textarea>.
7437
7438 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7439 we don't shadow mode-specific bindings.
7440
7441 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7442 nothing to push.
7443
7444 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7445
4582a01c 74462013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7447
7448 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7449
15b263dc
MA
74502013-06-19 Michael Albinus <michael.albinus@gmx.de>
7451
7452 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7453 not needed.
7454
7455 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7456
8f5297f7
LMI
74572013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7458
7459 * net/browse-url.el (browse-url-browser-function):
7460 `eww-browse-url' has the right calling signature, `eww' does not.
7461
011c4552
GM
74622013-06-19 Glenn Morris <rgm@gnu.org>
7463
2285bd27
GM
7464 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7465 Only eval autoloaded macros.
7466 (byte-compile-autoload): Only give the macro warning for macros.
7467
1d653303
GM
7468 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7469 (ps-underlined-faces): Declare.
7470
bdd779ec
GM
7471 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7472 (speedbar-add-supported-extension): Declare.
7473
011c4552
GM
7474 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7475 Don't include a date stamp in the header of the generated file;
7476 it leads to needless differences between output files.
7477
e59dfb0e
MA
74782013-06-19 Michael Albinus <michael.albinus@gmx.de>
7479
c763842b
SM
7480 * net/secrets.el (secrets-struct-secret-content-type):
7481 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7482 Some servers do not offer introspection.
e59dfb0e 7483
102626e2
SM
74842013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * electric.el (electric-pair-mode): Improve interaction with
7487 electric-layout-mode.
7488 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7489 (electric-pair-syntax): Use text-mode-syntax-table in comments
7490 and strings.
7491 (electric-pair--insert): New function.
7492 (electric-pair-post-self-insert-function): Use it and
7493 electric--after-char-pos.
7494
ad528125
LL
74952013-06-19 Leo Liu <sdl.web@gmail.com>
7496
7497 * progmodes/octave.el (octave-help): Fix regexp.
7498
924d6997
G
74992013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7500
7501 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7502 (shr-table-horizontal-line): Allow nil as a value, and change the
7503 default.
7504 (shr-insert-table-ruler): Respect the nil value.
7505
75062013-06-18 Tom Tromey <tromey@barimba>
7507
7508 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7509 New defvars.
7510 (eww-open-file): New defun.
7511 (eww-render): Initialize new variables.
7512 (eww-display-html): Handle "link" and "a".
7513 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7514 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7515 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7516 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7517 New defuns.
924d6997 7518
d1bbba4f
DG
75192013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7520
7521 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7522 Distinguish ternary operator tokens from slash symbol and slash
7523 char literal.
7524
14dd22d2
JB
75252013-06-18 Juanma Barranquero <lekktu@gmail.com>
7526
7527 Convert symbol prettification into minor mode and global minor mode.
7528
7529 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7530 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7531 (prettify-symbols--keywords): Rename from
7532 `prog-prettify-symbols-alist' and make a local defvar.
7533 (prettify-symbols--compose-symbol): Rename from
7534 `prog--prettify-font-lock-compose-symbol'.
7535 (prettify-symbols--make-keywords): Rename from
7536 `prog-prettify-font-lock-symbols-keywords' and simplify.
7537 (prog-prettify-install): Remove.
7538 (prettify-symbols-mode): New minor mode, based on
7539 `prog-prettify-install'.
7540 (turn-on-prettify-symbols-mode): New function.
7541 (global-prettify-symbols-mode): New globalized minor mode.
7542
7543 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7544 * progmodes/cfengine.el (cfengine3-mode):
7545 * progmodes/perl-mode.el (perl-mode): Don't call
7546 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7547
292c880c
JL
75482013-06-18 Juri Linkov <juri@jurta.org>
7549
7550 * files-x.el (modify-file-local-variable-message): New function.
7551 (modify-file-local-variable)
7552 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7553 and call `modify-file-local-variable-message' when it's non-nil.
7554 (add-file-local-variable, delete-file-local-variable)
7555 (add-file-local-variable-prop-line)
7556 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7557 and use it. (Bug#9820)
7558
0950aa27
JL
75592013-06-18 Juri Linkov <juri@jurta.org>
7560
7561 * emulation/vi.el (vi-shell-op):
7562 * emulation/vip.el (vip-execute-com, ex-command):
7563 * emulation/viper-cmd.el (viper-exec-bang):
7564 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7565 the call of `shell-command-on-region'. (Bug#14637)
7566
7567 * simple.el (shell-command-on-region): Doc fix.
7568
8fbcca16
SM
75692013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7572 (bug#14633).
7573
dd7426ea
GM
75742013-06-18 Glenn Morris <rgm@gnu.org>
7575
4ba54f7d
GM
7576 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7577
dd7426ea
GM
7578 * newcomment.el (comment-search-forward, comment-search-backward):
7579 Doc fix. (Bug#14376)
7580
58aa805b
JB
75812013-06-18 Juanma Barranquero <lekktu@gmail.com>
7582
7583 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7584 (buffer-face-mode-invoke): Doc fix.
7585
9a08a617
MM
75862013-06-18 Matthias Meulien <orontee@gmail.com>
7587
7588 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7589 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7590
f2f426ca
GM
75912013-06-18 Glenn Morris <rgm@gnu.org>
7592
9445f99b
GM
7593 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7594 Replace obsolete function generic-make-keywords with its expansion.
7595
e0df2d14
GM
7596 * progmodes/python.el (ffap-alist): Declare.
7597
f2f426ca
GM
7598 * textmodes/reftex.el (bibtex-mode-map): Declare.
7599
f7f9a720
SM
76002013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7603 (package-unpack, package-unpack-single): Return the pkg-dir.
7604 (package-download-transaction): Use it to update package-alist.
7605
57ff04e0
LMI
76062013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7607
7608 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7609 possible choice.
7610
c048c022
JL
76112013-06-17 Juri Linkov <juri@jurta.org>
7612
7613 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7614
b5bcaee5
DG
76152013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7616
a020afb9
JB
7617 * emacs-lisp/package.el (package-load-descriptor):
7618 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7619 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7620
551e07e5
JB
76212013-06-17 Juanma Barranquero <lekktu@gmail.com>
7622
7623 * startup.el (command-line): Expand package name returned by
7624 `package--description-file' (bug#14639).
7625
d363bffb
DG
76262013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7627
7628 * emacs-lisp/package.el (package-load-descriptor): Do not call
7629 `emacs-lisp-mode', just use its syntax table.
7630
f612933b
JB
76312013-06-17 Juanma Barranquero <lekktu@gmail.com>
7632
7633 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7634 `font-lock-extra-managed-props' if any prettifying keyword is added.
7635 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7636 (prog-mode): Use `setq-local'.
7637
db3b7db5
SM
76382013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * international/characters.el (standard-case-table): Set syntax of ?»
7641 and ?« to punctuation.
7642
f3d674df
JB
76432013-06-16 Juanma Barranquero <lekktu@gmail.com>
7644
7645 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7646 Save relevant match data before calling `syntax-ppss' (bug#14595).
7647
31489a32
JL
76482013-06-15 Juri Linkov <juri@jurta.org>
7649
7650 * files-x.el (modify-file-local-variable-prop-line): Add local
7651 variables to the end of the existing comment on the first line.
7652 Use `file-auto-mode-skip' to skip interpreter magic line,
7653 and also skip XML declaration.
7654
66bd25ab
SM
76552013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * startup.el (package--builtin-versions): New var.
7658 (package-subdirectory-regexp): Remove.
7659 (package--description-file): Hard code its value instead.
7660
7661 * emacs-lisp/package.el: Don't activate packages older than builtin.
7662 (package-obsolete-list): Rename from package-obsolete-alist, and make
7663 it into a simple list of package-desc.
7664 (package-strip-version): Remove.
7665 (package-built-in-p): Use package--builtin-versions.
7666 (package-mark-obsolete): Simplify.
7667 (package-process-define-package): Mark it obsolete if older than the
7668 builtin version.
7669 (package-handle-response): Use line-end-position.
7670 (package-read-archive-contents, package--download-one-archive):
7671 Simplify.
7672 (package--add-to-archive-contents): Skip if older than the builtin or
7673 installed version.
7674 (package-menu-describe-package): Fix last change.
7675 (package-list-unversioned): New var.
7676 (package-menu--generate): Use it.
7677
7678 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7679 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7680 (autoload-builtin-package-versions): New variable.
7681 (autoload-generate-file-autoloads): Use them.
7682 Remove the list of autoloaded functions/macros from the
7683 (autoload...) comments.
7684
7685 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7686
9583ec36
EZ
76872013-06-15 Eli Zaretskii <eliz@gnu.org>
7688
7689 * simple.el (line-move-partial): Don't jump to the next screen
7690 line as soon as it becomes visible. Instead, continue enlarging
7691 the vscroll until the portion of a tall screen line that's left on
7692 display is about the height of the frame's default font.
7693 (Bug#14567)
7694
f0100d8a
GM
76952013-06-15 Glenn Morris <rgm@gnu.org>
7696
b86a85ca
GM
7697 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7698 compilation-error-regexp-alist void, or local while let-bound.
7699
f0100d8a
GM
7700 * progmodes/make-mode.el (makefile-mode-syntax-table):
7701 Treat "=" as punctuation. (Bug#14614)
7702
05e7ce90
JB
77032013-06-15 Juanma Barranquero <lekktu@gmail.com>
7704
7705 * help-fns.el (describe-variable):
7706 Add extra line for permanent-local variables.
7707
12e5e86e
SH
77082013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7709
7710 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7711 Add export, import, library. (Bug#9164)
7712 (library): Set indent function.
7713
230dcbaf
GM
77142013-06-14 Glenn Morris <rgm@gnu.org>
7715
7716 * term/xterm.el (xterm--query):
7717 Stop after first matching handler. (Bug#14615)
7718
e36b2d20 77192013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7720
7721 Add support for dired in saveplace.
7722 * dired.el (dired-initial-position-hook): New variable.
7723 (dired-initial-position): Call hook to place cursor position.
7724 * saveplace.el (save-place-to-alist): Add dired position.
7725 (save-place-dired-hook): New function.
7726
0b31660d
SM
77272013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7728
bf1e6ae8
SM
7729 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7730 through a symbol rather than letrec.
7731
1b8dff23
SM
7732 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7733 (package-desc): Add `dir' field.
7734 (package-desc-full-name): New function.
7735 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7736 (package-maybe-load-descriptor): Remove.
7737 (package-load-all-descriptors): Just call package-load-descriptor.
7738 (package--disabled-p): New function.
7739 (package-desc-vers, package-desc-doc): Remove aliases.
7740 (package--dir): Remove function.
7741 (package-activate): Check if a package is disabled.
7742 (package-process-define-package): New function, extracted from
7743 define-package.
7744 (define-package): Turn into a place holder.
7745 (package-unpack-single, package-tar-file-info):
7746 Use package--description-file.
7747 (package-compute-transaction): Use package--disabled-p.
7748 (package-download-transaction): Don't call
7749 package-maybe-load-descriptor since they're all loaded anyway.
7750 (package-install): Change argument to be a pkg-desc.
7751 (package-delete): Use a single pkg-desc argument.
7752 (describe-package-1): Use package-desc-dir instead of package--dir.
7753 Use package-desc property instead of package-symbol.
7754 (package-install-button-action): Adjust accordingly.
7755 (package--push): Rewrite.
7756 (package-menu--print-info): Adjust accordingly. Change the ID format
7757 to be a pkg-desc.
7758 (package-menu-describe-package, package-menu-get-status)
7759 (package-menu--find-upgrades, package-menu-mark-upgrades)
7760 (package-menu-execute, package-menu--name-predicate):
7761 Adjust accordingly.
7762 * startup.el (package--description-file): New function.
7763 (command-line): Use it.
7764 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7765 Use package-desc-version.
7766
0b31660d
SM
7767 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7768 (byte-compile-preprocess): Use it.
7769 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7770 can't quite recognize.
7771 (byte-compile-add-to-list): Remove.
7772 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7773 (cconv-closure-convert): Add assertion.
7774
7775 * emacs-lisp/map-ynp.el: Use lexical-binding.
7776 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7777 Factor out some repeated code.
7778
de0503df
SM
77792013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * subr.el (with-eval-after-load): New macro.
7782 (eval-after-load): Allow form to be a function.
7783 take advantage of lexical-binding.
7784 (do-after-load-evaluation): Use dolist and adjust to new format.
7785 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7786
bc5c8c5a
JL
77872013-06-13 Juri Linkov <juri@jurta.org>
7788
7789 * replace.el (perform-replace): Display "symbol " and other search
7790 modes from `isearch-message-prefix' in the *Help* buffer.
7791
7792 * isearch.el (isearch-query-replace): Add " symbol" and other
7793 possible search modes from `isearch-message-prefix' to the prompt.
7794 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7795 when reading a regexp to collect.
7796
a22289f7
JL
77972013-06-13 Juri Linkov <juri@jurta.org>
7798
7799 * isearch.el (word-search-regexp): Match whitespace if the search
7800 string begins or ends in whitespace. The LAX arg is applied to
7801 both ends of the search string. Use `regexp-quote' and explicit
7802 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7803 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7804 boundaries are replaced with symbol boundaries, and characters
7805 between symbols match non-word non-symbol syntax. (Bug#14602)
7806
cb89acab
JL
78072013-06-13 Juri Linkov <juri@jurta.org>
7808
7809 * isearch.el (isearch-del-char): Don't exceed the length of
7810 `isearch-string' by the prefix arg. (Bug#14563)
7811
6e8cfc81
JL
78122013-06-13 Juri Linkov <juri@jurta.org>
7813
7814 * isearch.el (isearch-yank-word, isearch-yank-line)
7815 (isearch-char-by-name, isearch-quote-char)
7816 (isearch-printing-char, isearch-process-search-char):
7817 Add optional count prefix arg. (Bug#14563)
7818
7819 * international/isearch-x.el
7820 (isearch-process-search-multibyte-characters):
7821 Add optional count prefix arg.
7822
c23d55f4
VS
78232013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7826 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7827 lexical-binding.
7828
78292013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7830
7831 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7832
ba947bc4
GM
78332013-06-13 Glenn Morris <rgm@gnu.org>
7834
8baeb37a
GM
7835 * startup.el (tty-handle-args):
7836 Don't just discard "--" and anything after. (Bug#14608)
7837
ba947bc4
GM
7838 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7839
9abefce4
MA
78402013-06-13 Michael Albinus <michael.albinus@gmx.de>
7841
7842 Implement changes in Secret Service API. Make it backward compatible.
7843 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7844 (secrets-create-item): Use it. Prefix properties with interface.
7845
5755011f
MH
78462013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7847
7848 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7849 (term-emulate-terminal): Respect term-suppress-hard-newline.
7850
1261d2da
S
78512013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7852
7853 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7854 Only remove a `thumb-file' overlay. (Bug#14548)
7855
868490bb
GJ
78562013-06-12 Grégoire Jadi <daimrod@gmail.com>
7857
7858 * mail/reporter.el (reporter-submit-bug-report):
7859 Handle missing package-name. (Bug#14600)
7860
79d7167f
TH
78612013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7862
7863 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7864 (reftex-citation-prompt, reftex-default-bibliography)
7865 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7866 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7867 (reftex-bib-sort-author, reftex-bib-sort-year)
7868 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7869 (reftex-extract-bib-entries-from-thebibliography)
7870 (reftex-get-bibkey-default, reftex-get-bib-names)
7871 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7872 (reftex-format-bib-entry, reftex-parse-bibitem)
7873 (reftex-format-bibitem, reftex-do-citation)
7874 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7875 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7876 (reftex-insert-bib-matches, reftex-format-citation)
7877 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7878 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7879 existing comments into docstrings.
7880
5f9dbd7a
XF
78812013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7882
7883 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7884
94df41ab
AS
78852013-06-12 Andreas Schwab <schwab@suse.de>
7886
7887 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7888 for auto-save files.
7889
a7f3fecc
GM
78902013-06-12 Glenn Morris <rgm@gnu.org>
7891
001809f6
GM
7892 * ido.el (ido-delete-ignored-files): Remove.
7893 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7894 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7895
834b5ded
EL
78962013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7897
08c73ed2
EL
7898 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7899
834b5ded
EL
7900 * ido.el (ido-delete-ignored-files): New function,
7901 split from ido-make-file-list-1.
7902 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7903 (ido-make-file-list-1): Use ido-delete-ignored-files.
7904
daabf15a
LL
79052013-06-12 Leo Liu <sdl.web@gmail.com>
7906
7907 * progmodes/octave.el (inferior-octave-startup)
7908 (inferior-octave-completion-table)
7909 (inferior-octave-track-window-width-change)
7910 (octave-eldoc-function-signatures, octave-help)
7911 (octave-find-definition): Use single quoted strings.
7912 (inferior-octave-startup-args): Change default value.
7913 (inferior-octave-startup): Do not hard code "-i" and
7914 "--no-line-editing".
7915 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7916 (inferior-octave-directory-tracker): Use it.
7917 (octave-goto-function-definition): Robustify.
7918 (octave-help): Support highlighting operators in 'See also'.
7919 (octave-find-definition): Find subfunctions only in Octave mode.
7920
cf4e5178
SM
79212013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * help-fns.el (help-fns--compiler-macro): If the handler function is
7924 named, then put a link to it.
7925 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7926 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7927 (cl-typep): Use it.
7928 (cl-eval-when): Simplify debug spec.
7929 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7930 compiler-macro function instead of setting `compiler-macro-file'.
7931
99c81280 79322013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7933
7934 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7935 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7936
f56be016
SM
79372013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7938 Daniel Hackney <dan@haxney.org>
7939
7940 First part of Daniel Hackney's patch to package.el.
7941 * emacs-lisp/package.el: Use defstruct.
7942 (package-desc): New, main struct.
7943 (package--bi-desc, package--ac-desc): New structs, used to describe the
7944 format in external files.
7945 (package-desc-vers): Replace with package-desc-version accessor.
7946 (package-desc-doc): Replace with package-desc-summary accessor.
7947 (package-activate-1): Remove `package' arg since the pkg-vec now
7948 includes the name.
7949 (define-package): Use package-desc-from-define.
7950 (package-unpack-single): Change file-name arg to be a symbol.
7951 (package--add-to-archive-contents): Use package-desc-create and new
7952 accessor functions to package--ac-desc.
7953 (package-buffer-info, package-tar-file-info): Return a package-desc.
7954 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7955 arg to be a package-desc.
7956 (package-install-file): Adjust accordingly. Use \' to match EOS.
7957 (package--from-builtin): New function.
7958 (describe-package-1, package-menu--generate): Use it.
7959 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7960 (package-generate-autoloads): Idem and return the name of the file.
7961 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7962 Change pkg-info arg to be a package-desc.
7963 Use package-make-ac-desc.
7964 (package-upload-file): Use \' to match EOS.
7965 * finder.el (finder-compile-keywords): Use package-make-builtin.
7966
31119d63
SM
79672013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7968
931a2762
SM
7969 * vc/vc.el (vc-deduce-fileset): Change error message.
7970 (vc-read-backend): New function.
7971 (vc-next-action): Use it.
7972
5a3eb0c6
SM
7973 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7974
e3eb1bb7
SM
7975 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7976 (prolog-font-lock-keywords): Use regexp-opt instead.
7977 Don't manually highlight strings.
7978 (prolog-mode-variables): Simplify comment-start-skip.
7979 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7980
31119d63
SM
7981 * emacs-lisp/generic.el (generic--normalise-comments)
7982 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7983 (generic-mode-set-comments): Use them.
7984 (generic-bracket-support): Use setq-local.
7985 (generic-make-keywords-list): Declare obsolete.
7986
7de135d0
GM
79872013-06-11 Glenn Morris <rgm@gnu.org>
7988
7989 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7990 Prettify after setting font-lock-defaults. (Bug#14574)
7991
fa6bc6fd
JB
79922013-06-11 Juanma Barranquero <lekktu@gmail.com>
7993
7994 * replace.el (query-replace, occur-read-regexp-defaults-function)
7995 (replace-search):
7996 * subr.el (declare-function, number-sequence, local-set-key)
7997 (substitute-key-definition, locate-user-emacs-file)
7998 (with-silent-modifications, split-string, eval-after-load):
7999 Fix typos, remove unneeded backslashes and reflow some docstrings.
8000
cf1f9b9a
SM
80012013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8004 default for Elisp files.
8005
56602a4b
GM
80062013-06-11 Glenn Morris <rgm@gnu.org>
8007
8008 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8009 although define-derived-mode was doing this anyway. (Bug#14583)
8010
30ae0b2c
JB
80112013-06-10 Juanma Barranquero <lekktu@gmail.com>
8012
8013 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8014 Fix make-variable-buffer-local call to refer to the correct variable.
8015
fa472906
AG
80162013-06-10 Aidan Gauland <aidalgol@amuri.net>
8017
8018 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8019 (eshell-visual-subcommands, eshell-visual-options):
8020 Add summary line to docstrings. Add cross-references.
fa472906 8021
ff4871b9
GM
80222013-06-10 Glenn Morris <rgm@gnu.org>
8023
8024 * epa.el (epa-read-file-name): New function. (Bug#14510)
8025 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8026
04fcf1b0
AG
80272013-06-09 Aidan Gauland <aidalgol@amuri.net>
8028
8029 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8030 output redirection to be ignored with visual commands.
8031
88b00caa
AG
80322013-06-09 Aidan Gauland <aidalgol@amuri.net>
8033
8034 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8035 (eshell-term-initialize): Move long lambda to separate function
8036 eshell-visual-command-p.
e7b41c4c
JB
8037 * eshell/em-dirs.el (eshell-dirs-initialise):
8038 * eshell/em-script.el (eshell-script-initialize):
8039 Add missing #' to lambda.
88b00caa 8040
fda74125
LL
80412013-06-08 Leo Liu <sdl.web@gmail.com>
8042
8043 * progmodes/octave.el (octave-add-log-current-defun): New function.
8044 (octave-mode): Set add-log-current-defun-function.
8045 (octave-goto-function-definition): Do not move point if not found.
8046 (octave-find-definition): Enhance to try subfunctions first.
8047
467f3b33
GM
80482013-06-08 Glenn Morris <rgm@gnu.org>
8049
8050 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8051 (byte-compile-backward-char, byte-compile-backward-word):
8052 Improve previous change, to handle non-explicit nil.
8053
544badc3
SM
80542013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8057 (smie--opener/closer-at-point): New function.
8058 (smie--matching-block-data): Use it. Don't match from right after an
8059 opener or right before a closer. Obey smie-blink-matching-inners.
8060 Don't signal a mismatch for repeated inners like "switch..case..case".
8061
a175bf33
LL
80622013-06-07 Leo Liu <sdl.web@gmail.com>
8063
8064 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8065 to t. (Bug#14303)
ce8209d4
LL
8066 (octave-function-header-regexp): Fix. (Bug#14570)
8067 (octave-help-mode-finish-hook, octave-help-mode-finish):
8068 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8069
8070 * newcomment.el (comment-search-backward): Revert last change.
8071 (Bug#14434)
8072
8073 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8074
a822acff
EZ
80752013-06-07 Eli Zaretskii <eliz@gnu.org>
8076
8077 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8078 through xargs, to avoid failure due to MS-Windows limitations on
8079 command-line length.
8080
961166f5
GM
80812013-06-06 Glenn Morris <rgm@gnu.org>
8082
d0341459
GM
8083 * font-lock.el (lisp-font-lock-keywords-2):
8084 Treat user-error like error.
8085
961166f5
GM
8086 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8087 (byte-compile-backward-char, byte-compile-backward-word):
8088 Handle explicit nil arguments. (Bug#14565)
8089
80fa505f
AM
80902013-06-05 Alan Mackenzie <acm@muc.de>
8091
8092 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8093 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8094 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8095 (Bug#9706)
80fa505f 8096
fccdc796
SM
80972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8098
8099 * autorevert.el (auto-revert-notify-handler): Use memq.
8100 Hide assertion failure.
8101
8102 * skeleton.el: Use cl-lib.
8103 (skeleton-further-elements): Use defvar-local.
8104 (skeleton-insert): Use cl-progv.
8105
9bfff84b
TZ
81062013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8107
8108 * progmodes/prog-mode.el (prog-prettify-symbols)
8109 (prog-prettify-install): Update docstrings.
8110
55577e7c
SM
81112013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * simple.el: Move all the prog-mode code to prog-mode.el.
8114 * progmodes/prog-mode.el: New file.
8115 * loadup.el: Add prog-mode.el.
8116
8fc57765
TZ
81172013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8118
8119 * simple.el (prog-prettify-symbols): Add version.
8120 (prog-prettify-install): Add convenience function to prettify symbols.
8121
8122 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8123 (perl--augmented-font-lock-keywords-1)
8124 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8125 variables and use it.
8126
8127 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8128 (cfengine3-mode): Remove unneeded variable and use it.
8129
8130 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8131 (lisp--augmented-font-lock-keywords-1)
8132 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8133 Remove unneeded variables and use it.
8134
650645d5 81352013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8136
8137 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8138 to point when opening the connection. (Bug#14380)
28f5da6d 8139
781b4af6
SM
81402013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * subr.el (load-history-regexp, load-history-filename-element)
8143 (eval-after-load, after-load-functions, do-after-load-evaluation)
8144 (eval-next-after-load, display-delayed-warnings)
8145 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8146 definition of save-match-data.
8147 (overriding-local-map): Remove accidental obsolescence declaration.
8148
8149 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8150
3ca0d0b4
TZ
81512013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8152
8153 Generalize symbol prettify support to prog-mode and implement it
8154 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8155 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8156 (prog--prettify-font-lock-compose-symbol)
8157 (prog-prettify-font-lock-symbols-keywords): New variables and
8158 functions to support symbol prettification.
8159 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8160 (lisp--augmented-font-lock-keywords-1)
8161 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8162 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8163 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8164 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8165 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8166 * progmodes/perl-mode.el (perl-prettify-symbols)
8167 (perl--font-lock-compose-symbol)
8168 (perl--font-lock-symbols-keywords): Move to prog-mode.
8169 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8170 (perl-font-lock-keywords-1)
8171 (perl-font-lock-keywords-2): Remove explicit prettify support.
8172 (perl--augmented-font-lock-keywords)
8173 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8174 (perl--augmented-font-lock-keywords-2, perl-mode):
8175 Implement prettify support.
3ca0d0b4 8176
976cb066
LL
81772013-06-05 Leo Liu <sdl.web@gmail.com>
8178
8179 Re-implement smie matching block highlight using
8180 show-paren-data-function. (Bug#14395)
8181 * emacs-lisp/smie.el (smie-matching-block-highlight)
8182 (smie--highlight-matching-block-overlay)
8183 (smie--highlight-matching-block-lastpos)
8184 (smie-highlight-matching-block)
8185 (smie-highlight-matching-block-mode): Remove.
8186 (smie--matching-block-data-cache): New variable.
8187 (smie--matching-block-data): New function.
8188 (smie-setup): Use smie--matching-block-data for
8189 show-paren-data-function.
8190
8191 * progmodes/octave.el (octave-mode-menu): Fix.
8192 (octave-find-definition): Skip garbage lines.
8193
208d0342
SM
81942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 Fix compilation error with simultaneous dynamic+lexical scoping.
8197 Add warning when a defvar appears after the first let-binding.
8198 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8199 (byte-compile-close-variables): Initialize it.
8200 (byte-compile--declare-var): New function.
8201 (byte-compile-file-form-defvar)
8202 (byte-compile-file-form-define-abbrev-table)
8203 (byte-compile-file-form-custom-declare-variable): Use it.
8204 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8205 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8206 (byte-compile-bind): Handle dynamic bindings that shadow
8207 lexical bindings.
8208 (byte-compile-unbind): Make arg non-optional.
8209 (byte-compile-let): Simplify.
8210 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8211 (cconv--analyse-function, cconv-analyse-form): Populate it.
8212 Protect byte-compile-bound-variables to limit the scope of defvars.
8213 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8214 Remove unneeded rule for `declare'.
8215
8216 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8217 so as to avoid depending on cl-adjoin at run-time.
8218 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8219
8220 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8221 (macroexp--warn-and-return): Use it.
8222
1ac2891e
GM
82232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8224
8225 * lisp/subr.el: Convert to lexical binding.
8226 (overriding-local-map): Make obsolete.
8227 (add-to-list): Doc fix. Add compiler macro.
8228 (read-key): Swap values of local maps.
8229
2587b005
LL
82302013-06-05 Leo Liu <sdl.web@gmail.com>
8231
8232 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8233
f1da3c88
LL
82342013-06-04 Leo Liu <sdl.web@gmail.com>
8235
8236 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8237 (compilation-auto-jump): Suppress the "Mark set" message to give
8238 way to exit message.
8239
3caa391f
AM
82402013-06-04 Alan Mackenzie <acm@muc.de>
8241
8242 Remove faulty optimisation from indentation calculation.
8243 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8244 search limit based on 2000 characters back from indent-point.
8245
068922a2
TH
82462013-06-03 Tassilo Horn <tsdh@gnu.org>
8247
8248 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8249
1f8fdd53
SM
82502013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8251
bbcc4d97
SM
8252 * emacs-lisp/lisp.el: Use lexical-binding.
8253 (lisp--local-variables-1, lisp--local-variables): New functions.
8254 (lisp--local-variables-completion-table): New var.
208d0342 8255 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8256
1f8fdd53
SM
8257 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8258 eagerly (bug#14422).
8259
c9628c79
MA
82602013-06-03 Michael Albinus <michael.albinus@gmx.de>
8261
8262 * autorevert.el (auto-revert-notify-enabled)
8263 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8264 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8265 (auto-revert-notify-handler): Handle also gfilenotify.
8266
e7b41c4c 8267 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8268 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8269 Remove.
c9628c79 8270
e5e4a942
JL
82712013-06-03 Juri Linkov <juri@jurta.org>
8272
8273 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8274 `M-s h .'. (Bug#14427)
8275
8276 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8277 command `hi-lock-face-symbol-at-point'.
8278 (hi-lock-face-symbol-at-point): New command.
8279 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8280 (hi-lock-menu): Add `highlight-symbol-at-point'.
8281 (hi-lock-mode): Doc fix.
8282
8283 * isearch.el (isearch-forward-symbol-at-point): New command.
8284 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8285 (isearch-highlight-regexp): Add a regexp which matches
8286 words/symbols for word/symbol mode.
8287
8288 * subr.el (find-tag-default-bounds): New function with the body
8289 mostly moved from `find-tag-default'.
8290 (find-tag-default): Move most code to `find-tag-default-bounds',
8291 call it and apply `buffer-substring-no-properties' afterwards.
8292
26b3353a
TH
82932013-06-03 Tassilo Horn <tsdh@gnu.org>
8294
781b4af6
SM
8295 * eshell/em-term.el (eshell-term-initialize):
8296 Use `cl-intersection' rather than `intersection'.
26b3353a 8297
51b60f53
XF
82982013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8299
fe054b63 8300 * vc/log-view.el: Doc fix.
d3ffe17c 8301 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8302
a0eb10b3 83032013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8304
8305 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8306 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8307 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8308 (eieio-unbound, eieio-default-superclass)
8309 (eieio--define-field-accessors, method-static, method-before)
8310 (method-primary, method-after, method-num-lists)
8311 (method-generic-before, method-generic-primary)
8312 (method-generic-after, method-num-slots)
8313 (eieio-specialized-key-to-generic-key)
8314 (eieio--check-type, class-v, class-p)
8315 (eieio-class-name, define-obsolete-function-alias)
8316 (eieio-class-parents-fast, eieio-class-children-fast)
8317 (same-class-fast-p, class-constructor, generic-p)
8318 (generic-primary-only-p, generic-primary-only-one-p)
8319 (class-option-assoc, class-option, eieio-object-p)
8320 (class-abstract-p, class-method-invocation-order)
8321 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8322 (eieio-class-un-autoload, eieio-defclass)
8323 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8324 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8325 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8326 (eieio-defgeneric-reset-generic-form)
8327 (eieio-defgeneric-form-primary-only)
8328 (eieio-defgeneric-reset-generic-form-primary-only)
8329 (eieio-defgeneric-form-primary-only-one)
8330 (eieio-defgeneric-reset-generic-form-primary-only-one)
8331 (eieio-unbind-method-implementations)
8332 (eieio--defmethod, eieio--typep)
8333 (eieio-perform-slot-validation, eieio-validate-slot-value)
8334 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8335 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8336 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8337 (eieio-slot-name-index, eieio-class-slot-name-index)
8338 (eieio-set-defaults, eieio-initarg-to-attribute)
8339 (eieio-attribute-to-initarg, eieio-c3-candidate)
8340 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8341 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8342 (eieio-class-precedence-list, eieio-generic-call-methodname)
8343 (eieio-generic-call-arglst, eieio-generic-call-key)
8344 (eieio-generic-call-next-method-list)
8345 (eieio-pre-method-execution-functions, eieio-generic-call)
8346 (eieio-generic-call-primary-only, eieiomt-method-list)
8347 (eieiomt-optimizing-obarray, eieiomt-install)
8348 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8349 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8350 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8351 (defclass): Remove `eval-and-compile' from macro.
8352 (call-next-method, shared-initialize): Instead of using
8353 `scoped-class' variable, use new eieio--scoped-class, and
8354 eieio--with-scoped-class.
8355 (initialize-instance): Rename local variable 'scoped-class' to
8356 'this-class' to remove ambiguitity from old global.
8357
8358 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8359 eieio.el.
4f405069
JB
8360 (eieio--scoped-class-stack): New variable.
8361 (eieio--scoped-class): New fcn.
890f7890
DE
8362 (eieio--with-scoped-class): New scoping macro.
8363 (eieio-defclass): Use pushnew instead of add-to-list.
8364 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8365 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8366 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8367 `scoped-class' variable, use new eieio--scoped-class, and
8368 eieio--with-scoped-class.
8369
8370 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8371
d105b0e2
TH
83722013-06-02 Tassilo Horn <tsdh@gnu.org>
8373
8374 * eshell/esh-ext.el (eshell-external-command): Pass args to
8375 `eshell-find-interpreter'.
8376 (eshell-find-interpreter): Add new second parameter ARGS.
8377
8378 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8379 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8380
8381 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8382 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8383
8384 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8385 (eshell-visual-options): New defcustom.
8386 (eshell-escape-control-x): Adapt docstring.
8387 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8388 `eshell-visual-options' in addition to `eshell-visual-commands'.
8389 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8390
f46305c8 83912013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8392
8393 * progmodes/python.el (python-indent-block-enders): Add break,
8394 continue and raise keywords.
8395
d870df21
GM
83962013-06-01 Glenn Morris <rgm@gnu.org>
8397
9133b82e
GM
8398 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8399
02c992ec 8400 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8401 * progmodes/cc-cmds.el (delete-forward-p):
8402 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8403 * progmodes/cc-engine.el (buffer-syntactic-context):
8404 * progmodes/cc-fonts.el (face-property-instance):
8405 * progmodes/cc-mode.el (set-keymap-parents):
8406 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8407 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8408 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8409 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8410 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8411
31e7b090
GM
8412 * progmodes/cc-vars.el (other): Emacs has this widget since
8413 at least 21.1, so don't (re)define it.
8414
d870df21
GM
8415 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8416 Replace the obsolete alias pcomplete-arg-quote-list.
8417
c75c93c7
LL
84182013-06-01 Leo Liu <sdl.web@gmail.com>
8419
8420 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8421 punctuation syntax.
8422 (inferior-octave-minimal-columns)
8423 (inferior-octave-last-column-width): New variables.
8424 (inferior-octave-track-window-width-change): New function.
8425 (inferior-octave-mode): Adjust column width so that Octave output,
8426 for example from 'ls', can fit into the window nicely.
8427
973d1e12
DG
84282013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8429
8430 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8431 Highlight expansions inside regexp literals.
8432
0888c286
GM
84332013-05-31 Glenn Morris <rgm@gnu.org>
8434
e26aac1f
GM
8435 * obsolete/sym-comp.el (symbol-complete):
8436 Replace obsolete completion-annotate-function.
8437
0888c286
GM
8438 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8439
19bb8e62
DG
84402013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8441
781b4af6
SM
8442 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8443 New function, checks if point is inside a literal that allows
19bb8e62
DG
8444 expression expansion.
8445 (ruby-syntax-propertize-expansion): Use it.
8446 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8447 around the body.
8448
01dea85f
JL
84492013-05-30 Juri Linkov <juri@jurta.org>
8450
8451 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8452 to "\M-si".
8453 (isearch-invisible): New variable.
8454 (isearch-forward): Doc fix.
8455 (isearch-mode): Set `isearch-invisible'
8456 to the value of `search-invisible'.
8457 (isearch-toggle-case-fold): Doc fix.
8458 (isearch-toggle-invisible): New command.
8459 (isearch-query-replace): Let-bind `search-invisible'
8460 to the value of `isearch-invisible'.
8461 (isearch-search): Use `isearch-invisible' instead of
8462 `search-invisible'. Let-bind `search-invisible'
8463 to the value of `isearch-invisible'. (Bug#11378)
8464
ab1bdce5
JL
84652013-05-30 Juri Linkov <juri@jurta.org>
8466
8467 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8468 call when `query-flag' is nil and `search-invisible' is non-nil.
8469 (Bug#11746)
8470
d6d236e2
GM
84712013-05-30 Glenn Morris <rgm@gnu.org>
8472
8accd027
GM
8473 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8474
2a8bed1c
GM
8475 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8476 (cc-require): Suppress spurious "noruntime" warnings.
8477 (cc-require-when-compile): Use fboundp, for sake of compiler.
8478
d6d236e2
GM
8479 * progmodes/cc-mode.el: Move load of cc-vars before that of
8480 cc-langs (which in turn loads cc-vars), to quieten compiler.
8481
9190b35b
SM
84822013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 * paren.el: Simplify the code.
8485 (show-paren-mode): Always start the timer.
8486 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8487 (show-paren--overlay, show-paren--overlay-1): Rename from
8488 show-paren-overlay and show-paren-overlay-1, and initialize to an
8489 overlay rather than to nil.
8490 (show-paren-function): Misc cleanup and simplifications.
8491
4f8d1cf6
SM
84922013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * paren.el (show-paren-data-function): New hook.
8495 (show-paren--default): New function, extracted from show-paren-function.
8496 (show-paren-function): Use show-paren-data-function.
8497
02d844b5
GM
84982013-05-30 Glenn Morris <rgm@gnu.org>
8499
d209d4a9
GM
8500 * ielm.el (ielm-map, ielm-complete-symbol):
8501 Use completion-at-point rather than obsolete functions.
8502 (inferior-emacs-lisp-mode): Doc fix.
8503 Set completion-at-point-functions, rather than
8504 comint-dynamic-complete-functions.
8505
2082faa6
GM
8506 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8507 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8508 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8509
dd8620de
GM
8510 * image.el (image-animated-p): Tweak definition.
8511
ceca95b1
GM
8512 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8513 (rlogin-process-connection-type): Tweak default. Add set-after.
8514 (rlogin-host): Doc fix.
8515 (rlogin): Tweak prompt.
8516 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8517
ee9f1acc
GM
8518 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8519 * progmodes/tcl.el (inferior-tcl-mode-map):
8520 Use completion-at-point rather than obsolete alias.
8521
45ce222e
GM
8522 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8523
02d844b5
GM
8524 * minibuffer.el (read-file-name-completion-ignore-case):
8525 Move before completion--in-region, for eager macro expansion.
8526
ac44d6c1
JL
85272013-05-29 Juri Linkov <juri@jurta.org>
8528
8529 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8530 for total count of matching lines. Add `global-matches' for total
8531 count of matches. Rename `matches' to `lines' for count of
8532 matching lines. Add `matches' for count of matches.
8533 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8534 to `prev-line' for line number of prev match endpt.
8535 Increment `matches' for every match. Print the number of
8536 matching lines in the header.
8537 (occur-context-lines): Rename `lines' to `curr-line'.
8538 Rename `prev-lines' to `prev-line'. (Bug#14017)
8539
3c9c9d38
JL
85402013-05-29 Juri Linkov <juri@jurta.org>
8541
8542 * replace.el (perform-replace): Add `skip-read-only-count',
8543 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8544 Increment them for corresponding conditions and report the number
8545 of skipped occurrences in the final message. (Bug#11746)
8546 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8547 (replace-string, replace-regexp): Doc fix.
8548
33e249a2
SM
85492013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8550
8e399682
SM
8551 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8552
33e249a2 8553 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8554 prog-mode-map (bug#14504).
33e249a2 8555
f236dd84
LL
85562013-05-29 Leo Liu <sdl.web@gmail.com>
8557
8558 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8559 (octave-help): Small simplification.
8560
8561 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8562 off the highlight first.
8563
3694d13f
GM
85642013-05-29 Glenn Morris <rgm@gnu.org>
8565
03983bdc
GM
8566 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8567 Handle idlwave-last-system-routine-info-cons-cell being nil.
8568
bc74a74a
GM
8569 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8570 (idlwave-write-paths): Simplify via with-temp-buffer.
8571
8b394200
GM
8572 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8573 * emulation/cua-rect.el: Also load cua-base at run time.
8574
3694d13f
GM
8575 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8576 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8577 (cperl-imenu-on-info): Require imenu.
8578
336d7284
AM
85792013-05-28 Alan Mackenzie <acm@muc.de>
8580
8581 Handle "capitalised keywords" correctly.
33e249a2 8582 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8583
cb29c582
AG
85842013-05-28 Aidan Gauland <aidalgol@amuri.net>
8585
781b4af6 8586 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8587
690e44b2
GM
85882013-05-28 Glenn Morris <rgm@gnu.org>
8589
e658d75c
GM
8590 * vc/vc-arch.el (vc-exec-after): Declare.
8591 (vc-switches): Autoload.
8592 * vc/vc-bzr.el: No need to require vc when compiling.
8593 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8594 (vc-resynch-buffer, vc-dir-refresh): Declare.
8595 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8596 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8597 (vc-resynch-buffer): Declare.
8598 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8599 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8600 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8601 (grep-read-regexp, grep-read-files, grep-expand-template)
8602 (vc-dir-refresh): Declare.
8603 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8604 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8605 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8606 * vc/vc-mtn.el (vc-exec-after): Declare.
8607 (vc-switches): Autoload.
8608 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8609 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8610 (vc-file-tree-walk): Declare.
712b9732
GM
8611 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8612 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8613 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8614 * vc/vc-svn.el (vc-exec-after): Declare.
8615 (vc-switches, vc-setup-buffer): Autoload.
8616 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8617 Autoload.
8618 (vc-resynch-buffer): Declare.
8619
98e87fb3
GM
8620 * obsolete/fast-lock.el (byte-compile-warnings):
8621 Don't warn about obsolete features in this obsolete file.
8622
f5379553
GM
8623 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8624 Move definition before use.
8625
7a20ef83
GM
8626 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8627 (dun-unix-verbs): Remove dun-zippy.
8628 (dun-zippy): Remove function.
8629
690e44b2
GM
8630 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8631
3a52ccf7
JL
86322013-05-27 Juri Linkov <juri@jurta.org>
8633
8634 * replace.el (replace-search): New function with code moved out
8635 from `perform-replace'.
8636 (replace-highlight, replace-dehighlight): Move function definitions
8637 up closer to `replace-search'. (Bug#11746)
8638
d289938a
JL
86392013-05-27 Juri Linkov <juri@jurta.org>
8640
8641 * replace.el (perform-replace): Ignore invisible matches.
8642 In addition to checking `query-replace-skip-read-only', also
8643 filter out matches by calling `run-hook-with-args-until-failure'
8644 on `isearch-filter-predicates', and also check `search-invisible'
8645 for t or call `isearch-range-invisible'.
8646 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8647
66fc57e3
JL
86482013-05-27 Juri Linkov <juri@jurta.org>
8649
8650 * isearch.el (isearch-filter-predicates): Rename from
8651 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8652 (isearch-message-prefix): Display text from the property
8653 `isearch-message-prefix' of the currently active filters.
8654 (isearch-search): Don't compare `isearch-filter-predicate' with
8655 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8656 on `isearch-filter-predicates'. Also check `search-invisible' for t
8657 or call `isearch-range-invisible'.
8658 (isearch-filter-visible): Make obsolete.
8659 (isearch-lazy-highlight-search):
8660 Call `run-hook-with-args-until-failure' on
8661 `isearch-filter-predicates' and use `isearch-range-invisible'.
8662
8663 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8664 `isearch-filter-predicates' instead of `funcall'ing
8665 `isearch-filter-predicate'.
8666 (Info-mode): Set `Info-isearch-filter' to
8667 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8668
8669 * dired-aux.el (dired-isearch-filter-predicate-orig):
8670 Remove variable.
8671 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8672 (dired-isearch-filenames-end): Add and remove
8673 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8674 instead of changing the value of `isearch-filter-predicate'.
8675 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8676 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8677 Put property `isearch-message-prefix' to "filename " on
8678 `dired-isearch-filter-filenames'.
8679
8680 * wdired.el (wdired-change-to-wdired-mode):
8681 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8682 locally instead of changing `isearch-filter-predicate'.
8683 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8684
f1a60a0f
DG
86852013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8686
8687 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8688 return the commit hash (Bug#14459). Also set the
8689 `vc-git-detached' property.
8690 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8691 (vc-git-mode-line-string): Use the same help-echo format whether
8692 in detached mode or not, because we know the actual revision now.
8693 When in detached mode, shorten the revision to 7 chars.
8694
7f17cc40
SM
86952013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * emacs-lisp/easy-mmode.el (define-minor-mode):
8698 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8699 mode hook and provide a docstring.
8700
25c8401c
AM
87012013-05-27 Alan Mackenzie <acm@muc.de>
8702
8703 Remove spurious syntax-table text properties inserted by C-y.
8704 * progmodes/cc-mode.el (c-after-change): Also clear hard
8705 syntax-table property with value nil.
8706
dde84790
MA
87072013-05-27 Michael Albinus <michael.albinus@gmx.de>
8708
8709 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8710 when reading the events; the buffer layout shall not be changed.
8711
837fd9af
LL
87122013-05-27 Leo Liu <sdl.web@gmail.com>
8713
8714 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8715 New variable.
8716 (inferior-octave-directory-tracker): Automatically re-sync
8717 default-directory.
8718 (octave-help): Improve handling of 'See also'.
8719
4fd996b3
SM
87202013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8721
416f1802
SM
8722 * doc-view.el: Minor naming convention tweaks.
8723 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8724
4fd996b3
SM
8725 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8726 even if there's no `display' property yet (bug#14435).
8727
a052ef3b
EZ
87282013-05-25 Eli Zaretskii <eliz@gnu.org>
8729
4fd996b3 8730 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8731
8732 * Makefile.in (custom-deps, finder-data, autoloads)
8733 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8734 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8735 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8736
c9023370
SM
87372013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8740 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8741 Don't burp at EOB.
c9023370 8742
24d699fa
LL
87432013-05-25 Leo Liu <sdl.web@gmail.com>
8744
8745 * comint.el (comint-previous-matching-input): Do not flood the
8746 *Messages* buffer with trivial messages.
8747
17e5c0cc
SM
87482013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * progmodes/flymake.el (flymake-nop): Don't return a string.
8751 (flymake-set-at): Fix typo.
8752
8753 * simple.el (read--expression): New function, extracted from
8754 eval-expression. Set completion-at-point-functions (bug#14465).
8755 (eval-expression, eval-minibuffer): Use it.
8756
5d028165
XF
87572013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8758
8759 * progmodes/flymake.el (flymake-save-buffer-in-file)
8760 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8761 (flymake-selected-frame, flymake-log, flymake-ins-after)
8762 (flymake-set-at, flymake-get-buildfile-from-cache)
8763 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8764 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8765 Refine the doc string.
8766 (flymake-get-file-name-mode-and-masks): Reformat.
8767 (flymake-get-real-file-name-function): Fix a minor bug.
8768
7a1d7ba7
JL
87692013-05-24 Juri Linkov <juri@jurta.org>
8770
8771 * progmodes/grep.el (grep-mode-font-lock-keywords):
8772 Support =linenumber= format used by git-grep for lines with
8773 function names. (Bug#13549)
8774
650cff3d
SM
87752013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8778 0 after a semi-colon; it works better for smie-auto-fill.
8779 (octave--indent-new-comment-line): New function.
8780 (octave-indent-new-comment-line): Use it (indirectly).
8781 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8782 modify comment-line-break-function.
8783
8784 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8785 (smie-setup): Use add-function to set it.
8786
9631677d
SS
87872013-05-24 Sam Steingold <sds@gnu.org>
8788
8789 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8790 argument (before the `interactive' argument).
8791
50105835
SM
87922013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * image-mode.el (image-mode-winprops): Add winprops to
8795 image-mode-winprops-alist before running
8796 image-mode-new-window-functions.
8797 * doc-view.el (doc-view-new-window-function): Don't delay
8798 doc-view-goto-page via timers (bug#14435).
8799
57b9823e
TH
88002013-05-24 Tassilo Horn <tsdh@gnu.org>
8801
8802 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8803 (doc-view-desktop-save-buffer): New function.
8804 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8805 (desktop-buffer-mode-handlers):
8806 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8807 handler.
8808 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8809 `desktop-save-buffer' function.
8810
91aafa16
MA
88112013-05-24 Michael Albinus <michael.albinus@gmx.de>
8812
8813 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8814 (tramp-gvfs-file-name-handler): Raise a user error when
8815 `tramp-gvfs-enabled' is nil.
8816 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8817 Do not raise a user error when loading package. (Bug#14447)
8818
ec076379
MA
8819 * net/xesam.el: Move to obsolete/.
8820
db785726
GM
88212013-05-24 Glenn Morris <rgm@gnu.org>
8822
af5c7606
GM
8823 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8824
e5d1916a
GM
8825 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8826
ded62b08
GM
8827 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8828 (Info-find-node, Man-getpage-in-background): Declare.
8829
9e614a3f
GM
8830 * mail/unrmail.el (unrmail):
8831 Replace obsolete detect-coding-with-priority.
8832
892f8ca3
GM
8833 * net/socks.el (socks-split-string): Use this rather than split-string.
8834 (socks-nslookup-host): Update for above change.
8835 (dynamic-choice, s5-dynamic-choice-match)
8836 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8837 Comment out unused code.
8838
3c291973
GM
8839 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8840 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8841 (gud-tooltip-echo-area): Make obsolete.
8842 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8843
43cc956b
GM
8844 * progmodes/js.el (js--optimize-arglist): Declare.
8845
dab49a3b
GM
8846 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8847
36b9d085
GM
8848 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8849 (ediff-window-C): Declare.
8850
e354ae76
GM
8851 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8852 Tweak requires to silence compiler.
8853
b8e57bf4
GM
8854 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8855 (he-search-string, he-tried-table, he-expand-list)
8856 (he-init-string, he-string-member, he-substitute-string)
8857 (he-reset-string): Declare.
8858
db785726
GM
8859 * obsolete/options.el (list-options): Use custom-variable-p,
8860 rather than obsolete alias.
8861
b3531901
SS
88622013-05-23 Sam Steingold <sds@gnu.org>
8863
8864 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8865 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8866 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8867
bdda4c66
SM
88682013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8869
8870 * emacs-lisp/smie.el (smie-indent-forward-token)
8871 (smie-indent-backward-token): Handle string tokens (bug#14381).
8872
c43d45f9
TH
88732013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8874
fe1eb856
RS
8875 * ielm.el (ielm-menu): New menu.
8876 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8877
fe1eb856
RS
88782013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8879
8880 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8881 Fix deactivate action.
8882
8883 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8884 Add cleveref macros.
074dd971 8885
c43d45f9
TH
8886 * lisp/textmodes/reftex-parse.el
8887 (reftex-locate-bibliography-files): Accept options for
8888 bibliography commands.
8889 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8890 Add addbibresource. Basic Biblatex support.
8891
7764286e
MA
88922013-05-23 Michael Albinus <michael.albinus@gmx.de>
8893
8894 * net/tramp-gvfs.el (top):
8895 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8896 when loading package. (Bug#14447)
8897
d361bc10
GM
88982013-05-23 Glenn Morris <rgm@gnu.org>
8899
8fa23984
GM
8900 * progmodes/js.el: No need to load comint when compiling.
8901 (ring-insert, comint-send-string, comint-send-input)
8902 (comint-last-input-end, ido-chop): Declare.
8903
a5c7df1a
GM
8904 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8905 * vc/ediff-mult.el: Adjust requires.
8906 (ediff-directories-internal, ediff-directory-revisions-internal)
8907 (ediff-patch-file-internal): Declare.
8908 * vc/ediff-ptch.el: Adjust requires.
8909 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8910 (ediff-find-file): Autoload.
8911 * vc/ediff-util.el: No need to load ediff when compiling.
8912 (ediff-regions-internal): Declare.
8913 * vc/ediff-wind.el: Adjust requires.
8914 (ediff-compute-toolbar-width): Define when compiling.
8915 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8916 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8917 (dired-get-filename, dired-get-marked-files)
8918 (ediff-last-dir-patch, ediff-patch-default-directory)
8919 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8920 (ediff-patch-buffer-internal): Declare.
8921
e2aec513
GM
8922 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8923 (ispell-process, ispell-buffer-local-words, lm-summary)
8924 (lm-section-start, lm-section-end): Declare.
8925 (checkdoc-ispell-init): Simplify.
8926
e68bbd7c
GM
8927 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8928 (he-string-member, he-reset-string, he-substitute-string): Declare.
8929
7efe0991
GM
8930 * eshell/em-ls.el: Adjust requires.
8931 (eshell-glob-regexp): Declare.
f87b1284
GM
8932 * eshell/em-tramp.el: Adjust requires.
8933 (eshell-parse-command): Autoload.
8934 * eshell/em-xtra.el: Adjust requires.
8935 (eshell-parse-command): Autoload.
8936 * eshell/esh-ext.el: Adjust requires.
8937 (eshell-parse-command, eshell-close-handles): Autoload.
8938 * eshell/esh-io.el: Adjust requires.
8939 (eshell-output-filter): Autoload.
8940 * eshell/esh-util.el: No need to load tramp when compiling.
8941 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8942 Declare.
8943 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8944 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8945 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8946 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8947 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8948 * eshell/esh-opt.el, eshell/esh-proc.el:
8949 * eshell/esh-var.el: Adjust requires.
8950 * eshell/eshell.el: Do not require esh-util twice.
8951 (eshell-add-input-to-history): Declare.
8952 (eshell-command): Check history module is active before using it.
8953
d361bc10
GM
8954 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8955
85d090a9
LL
89562013-05-22 Leo Liu <sdl.web@gmail.com>
8957
8958 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8959
5d0acd9d
MA
89602013-05-22 Michael Albinus <michael.albinus@gmx.de>
8961
8962 * autorevert.el (auto-revert-notify-add-watch)
8963 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8964 it indicates changes in file modification time.
8965
0cdffd7d
GM
89662013-05-22 Glenn Morris <rgm@gnu.org>
8967
ca5995ec
GM
8968 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8969 Always delete the autoloaded function from the noruntime and
8970 unresolved functions lists.
8971
6450907e
GM
8972 * allout.el: No need to load epa, epg, overlay when compiling.
8973 (epg-context-set-passphrase-callback, epg-list-keys)
8974 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8975 (epg-key-user-id-list): Declare.
8976
9c6906f6
GM
8977 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8978 (viper-set-parsing-style-toggling-macro)
8979 (viper-set-emacs-state-searchstyle-macros):
8980 Use called-interactively-p on Emacs.
8981 (viper-looking-back): Make it an obsolete alias. Update callers.
8982 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8983 Use looking-back rather than viper-looking-back.
8984 (viper-tmp-insert-at-eob, viper-enlarge-region)
8985 (viper-read-string-with-history, viper-register-to-point)
8986 (viper-append-to-register, viper-change-state-to-vi)
8987 (viper-backward-char-carefully, viper-forward-char-carefully)
8988 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8989 (viper-change-state-to-emacs): Declare.
8990 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8991 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8992 * emulation/viper-mous.el: Do not load viper-cmd.
8993 (viper-backward-char-carefully, viper-forward-char-carefully)
8994 (viper-forward-word, viper-adjust-window): Declare.
8995
5f70c169
GM
8996 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8997
b1b7f300
GM
8998 * progmodes/idlw-help.el (idlwave-help-fontify):
8999 Use called-interactively-p.
9000
f6ebbb46
GM
9001 * term/w32console.el (w32-get-console-codepage)
9002 (w32-get-console-output-codepage): Declare.
9003
0cdffd7d
GM
9004 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9005 Remove unnecessary declarations.
9006 (dframe-message): Doc fix.
9007
9008 * info.el (dframe-select-attached-frame, dframe-current-frame):
9009 Declare.
9010
9011 * speedbar.el (speedbar-message): Make it an obsolete alias.
9012 Update all callers.
9013 (speedbar-with-attached-buffer)
9014 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9015 (speedbar-with-writable): Use backquote.
9016 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9017 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9018 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9019 rather than speedbar- aliases.
9020 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9021 (speedbar-make-specialized-keymap, speedbar-insert-button)
9022 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9023 (speedbar-do-function-pointer): Declare.
9024 (rmail-speedbar-button, rmail-speedbar-find-file)
9025 (rmail-speedbar-move-message):
9026 Use dframe-with-attached-buffer rather than speedbar- alias.
9027 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9028 (dframe-message, speedbar-make-specialized-keymap)
9029 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9030 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9031 (speedbar-insert-button, dframe-select-attached-frame)
9032 (dframe-maybee-jump-to-attached-frame)
9033 (speedbar-change-initial-expansion-list)
9034 (speedbar-previously-used-expansion-list-name): Declare.
9035 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9036 Use dframe-message, dframe-with-attached-buffer rather than
9037 speedbar- aliases.
9038 (gud-sentinel): Silence compiler.
9039 * progmodes/vhdl-mode.el (speedbar-refresh)
9040 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9041 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9042 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9043 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9044 (speedbar-file-lists, speedbar-make-tag-line)
9045 (speedbar-line-directory, speedbar-goto-this-file)
9046 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9047 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9048 (speedbar-make-button, speedbar-reset-scanners)
9049 (speedbar-files-item-info, speedbar-line-text)
9050 (speedbar-find-file-in-frame, speedbar-set-timer)
9051 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9052 (speedbar-with-writable): Do not (re)define it.
9053 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9054 rather than speedbar- alias.
9055
ee44b62a
LL
90562013-05-21 Leo Liu <sdl.web@gmail.com>
9057
9058 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9059 menu items.
9060 (octave-mode): Tweak fill-nobreak-predicate.
9061 (inferior-octave-startup): Check process to avoid infinite loop.
9062 (inferior-octave): Pop to buffer first to show abornmal process
9063 exit information.
9064
640f050f
GM
90652013-05-21 Glenn Morris <rgm@gnu.org>
9066
79458038
GM
9067 * printing.el (pr-menu-bar): Define when compiling.
9068
9cc3e83f
LL
90692013-05-21 Leo Liu <sdl.web@gmail.com>
9070
9071 * progmodes/octave.el (octave-auto-fill): Remove.
9072 (octave-indent-new-comment-line): Improve.
9073 (octave-mode): Use auto fill mode through
4f405069 9074 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9075 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9076 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9077 (octave-help): Show parent directory.
9078
f440830d
GM
90792013-05-21 Glenn Morris <rgm@gnu.org>
9080
9081 * files.el (dired-unmark):
9082 * progmodes/gud.el (gdb-input): Update declarations.
9083
9084 * calculator.el (electric, ehelp): No need to load when compiling.
9085 (Electric-command-loop, electric-describe-mode): Declare.
9086
9087 * doc-view.el (doc-view-current-converter-processes): Move before use.
9088
9089 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9090 Move MODE-set-explicitly definition before use.
9091
9092 * international/mule-diag.el (mule-diag):
9093 Don't use obsolete window-system-version.
9094
9095 * mail/feedmail.el (smtpmail): No need to load when compiling.
9096 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9097
9098 * mail/mail-utils.el (rfc822): No need to load when compiling.
9099 (rfc822-addresses): Autoload it.
9100 (mail-strip-quoted-names): Trivial simplification.
9101
9102 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9103 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9104
9105 * net/snmp-mode.el (tempo): Don't duplicate requires.
9106
9107 * progmodes/prolog.el (info): No need to load when compiling.
9108 (comint): Require before shell requires it.
9109 (Info-goto-node): Autoload it.
9110 (Info-follow-nearest-node): Declare.
9111 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9112
9113 * textmodes/artist.el (picture-mode-exit): Declare.
9114
9115 * textmodes/reftex-parse.el (reftex-parse-from-file):
9116 Trivial rewrite so the compiler can parse it better.
9117
b4da2cbb
LL
91182013-05-20 Leo Liu <sdl.web@gmail.com>
9119
9120 * progmodes/octave.el (octave-help-mode-map)
9121 (octave-help-mode-finish-hook): New variables.
9122 (octave-help-mode, octave-help-mode-finish): New functions.
9123 (octave-help): Use octave-help-mode.
9124
33c0f65b
GM
91252013-05-20 Glenn Morris <rgm@gnu.org>
9126
9127 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9128
1a0a0a8a
DG
91292013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9130
9131 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9132 start at point, so that expansion starting right after opening
9133 slash in a regexp is recognized.
9134 (ruby-syntax-before-regexp-re): New defvar, extracted from
9135 ruby-syntax-propertize-function. Since the value of this regexp
9136 is looked up at runtime now, we should be able to turn
9137 `ruby-syntax-methods-before-regexp' into a defcustom later.
9138 (ruby-syntax-propertize-function): Split regexp matching into two
9139 parts, for opening and closing slashes. That allows us to skip
9140 over string interpolations and support multiline regexps.
9141 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9142 for them, which calls `ruby-syntax-propertize-expansion'.
9143 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9144 call to `ruby-syntax-propertize-function'.
9145 (ruby-syntax-propertize-expansion): Extracted from
9146 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9147 (ruby-syntax-propertize-percent-literal): Leave point right after
9148 the percent symbol, so that the expression expansion rule can
9149 propertize the contents.
462388b6
DG
9150 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9151 heredoc openers.
9152 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9153
c1a6c0a4
JL
91542013-05-18 Juri Linkov <juri@jurta.org>
9155
9156 * man.el (Man-default-man-entry): Remove `-' from the end
9157 of the default value. (Bug#14400)
9158
8051fccd
GM
91592013-05-18 Glenn Morris <rgm@gnu.org>
9160
9161 * comint.el (comint-password-prompt-regexp):
9162 Allow "password for XXX" where XXX contains colons (eg https://...).
9163
5e80b74f
LL
91642013-05-18 Leo Liu <sdl.web@gmail.com>
9165
9166 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9167 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9168 (octave-source-directories): Don't check process.
9169 (octave-source-directories, octave-find-definition): Doc fix.
9170
521a54c5
GM
91712013-05-18 Glenn Morris <rgm@gnu.org>
9172
86a94b05
GM
9173 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9174 Remove backspace/delete bindings. (Bug#14392)
9175
521a54c5
GM
9176 * cus-dep.el (custom-make-dependencies): Sort the output.
9177 (custom-versions-load-alist): Convert comment to doc.
9178
42caeb89
LL
91792013-05-17 Leo Liu <sdl.web@gmail.com>
9180
9181 * newcomment.el (comment-search-backward): Stricter in finding
9182 comment start. (Bug#14303)
9183
9184 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9185 (octave-comment-start-skip): Properly anchored.
9186
e219dd97
LL
91872013-05-17 Leo Liu <sdl.web@gmail.com>
9188
fe1eb856
RS
9189 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9190 Clean up when turned off. (Bug#14395)
e219dd97
LL
9191 (smie--highlight-matching-block-overlay): No longer buffer-local.
9192 (smie-highlight-matching-block): Adjust.
9193
dc5dcb4b
PE
91942013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9195
9196 Doc string fix for "nanoseconds" (Bug#14406).
9197 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9198 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9199
1db165f0
JB
92002013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9201
9202 * calc/calc-units.el (math-extract-units): Preserve powers
9203 of units.
9204
c7a8fcac
LL
92052013-05-17 Leo Liu <sdl.web@gmail.com>
9206
9207 * subr.el (delete-consecutive-dups): New function.
9208 * ido.el (ido-set-matches-1): Use it.
9209 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9210 * ido.el (ido-remove-consecutive-dups): Remove.
9211
f678b18a
SM
92122013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9215 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9216 regexp-opt's `words'.
9217
ebfe68e8
LL
92182013-05-16 Leo Liu <sdl.web@gmail.com>
9219
9220 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9221 (smie--highlight-matching-block-overlay)
9222 (smie--highlight-matching-block-lastpos)
9223 (smie--highlight-matching-block-timer): New variables.
9224 (smie-highlight-matching-block): New function.
9225 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9226 (smie-setup): Conditionally enable smie-blink-matching-open.
9227
bc8bc17d
WS
92282013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9229
9230 Sync with upstream verilog-mode r840.
9231 * progmodes/verilog-mode.el (verilog-mode-version)
9232 (verilog-mode-release-date): Update.
9233 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9234 (verilog-sig-tieoff): Fix string error on
9235 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9236 (verilog-read-decls): Fix parameters confusing
9237 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9238
df065a0b
EZ
92392013-05-16 Eli Zaretskii <eliz@gnu.org>
9240
9241 * subr.el (reveal-filename): New function.
9242
9243 * loadup.el: Compute Emacs executable versions on MS-Windows,
9244 where executables have the .exe extension. Add a hard link
9245 emacs-XX.YY.ZZ.exe on MS-Windows.
9246
9247 * Makefile.in (XARGS_LIMIT): New variable.
9248 (custom-deps, finder-data, autoloads)
9249 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9250 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9251 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9252 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9253
2d4bf34b
LL
92542013-05-16 Leo Liu <sdl.web@gmail.com>
9255
9256 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9257 (octave-mode-menu, octave-mode-map): Remove its uses.
9258
6b9c2d85
RZ
92592013-05-16 Reto Zimmermann <reto@gnu.org>
9260
9261 Sync with upstream vhdl mode v3.34.2.
9262 * progmodes/vhdl-mode.el: Use `push' throughout.
9263 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9264 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9265 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9266 (vhdl-actual-generic-name): New option to derive actual generic name.
9267 (vhdl-port-paste-signals): Replace formal by actual generics.
9268 (vhdl-beautify): New name for old group vhdl-align. Update users.
9269 (vhdl-beautify-options): New option.
9270 (vhdl-last-input-event): New compat alias. Use throughout.
9271 (vhdl-goto-line): Replace user level function `goto-line'.
9272 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9273 vhdl-fix-statement-buffer.
9274 (vhdl-create-mode-menu): Add some entries.
9275 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9276 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9277 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9278 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9279 to force statements on one line.
9280 (vhdl-remove-trailing-spaces-region):
9281 New, split from vhdl-remove-trailing-spaces.
9282 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9283 Respect vhdl-beautify-options.
9284 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9285 (vhdl-update-sensitivity-list): Not add with index if exists without.
9286 Not include array index with signal. Ignore keywords in comments.
9287 (vhdl-get-visible-signals): Regexp tweaks.
9288 (vhdl-template-component-inst): Handle empty library.
9289 (vhdl-template-type): Add template for 'enum' type.
9290 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9291 Use vhdl-replace-string.
9292 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9293 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9294 (vhdl-speedbar-initialize): Update for above name change.
9295 (vhdl-compose-wire-components): Fix in handling of constants.
9296 (vhdl-error-regexp-emacs-alist): New variable.
9297 (vhdl-error-regexp-add-emacs): New function;
9298 adds support for new compile.el (Emacs 22+)
9299 (vhdl-generate-makefile-1): Change target order for single lib. units.
9300 Allow use of absolute file names.
9301
9df4ec5e
LL
93022013-05-16 Leo Liu <sdl.web@gmail.com>
9303
9304 * simple.el (prog-indent-sexp): Indent enclosing defun.
9305
f5ba00a6
GM
93062013-05-15 Glenn Morris <rgm@gnu.org>
9307
ed8be7ff
GM
9308 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9309 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9310 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9311 (whitespace-highlight): Move to whitespace group.
9312
9313 * comint.el (comint-source):
9314 * pcmpl-linux.el (pcmpl-linux):
9315 * shell.el (shell-faces):
9316 * eshell/esh-opt.el (eshell-opt):
9317 * international/ccl.el (ccl): Remove empty custom groups.
9318
9319 * completion.el (dynamic-completion-mode):
9320 * jit-lock.el (jit-lock-debug-mode):
9321 * minibuffer.el (completion-in-region-mode):
9322 * type-break.el (type-break-mode-line-message-mode)
9323 (type-break-query-mode):
9324 * emulation/tpu-edt.el (tpu-edt-mode):
9325 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9326 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9327 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9328
9329 * term/xterm.el (xterm): Change parent group to terminals.
9330
9331 * master.el (master): Remove empty custom group.
9332 (master-mode): Remove unused :group argument.
9333 * textmodes/refill.el (refill): Remove empty custom group.
9334 (refill-mode): Remove unused :group argument.
9335
9336 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9337
82a7c41b
GM
9338 * cus-dep.el: Provide a feature.
9339 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9340 Don't mistakenly ignore files whose basenames match a basename
9341 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9342 Add a fallback method for getting :group.
f5ba00a6 9343
6d65486d
JL
93442013-05-15 Juri Linkov <juri@jurta.org>
9345
da547b32
JL
9346 * isearch.el (isearch-char-by-name): Rename from
9347 `isearch-insert-char-by-name'. Doc fix.
9348 (isearch-forward): Mention `isearch-char-by-name' in
9349 the docstring. (Bug#13348)
9350
6d65486d
JL
9351 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9352 `exit-minibuffer' instead of
9353 `isearch-nonincremental-exit-minibuffer'.
9354 (isearch-edit-string): Remove mention of
9355 `isearch-nonincremental-exit-minibuffer' from docstring.
9356 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9357 (isearch-forward-exit-minibuffer)
9358 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9359
c9990474
SM
93602013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9361
6e911150
SM
9362 * loadup.el: Just use unversioned DOC.
9363
c9990474
SM
9364 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9365 literals as extending to EOB.
9366 (nxml-last-fontify-end): Remove unused variable.
9367 (nxml-after-change1): Use with-silent-modifications.
9368 (nxml-extend-after-change-region): Simplify.
9369 (nxml-extend-after-change-region1): Remove function.
9370 (nxml-after-change1): Don't adjust for dependent regions.
9371 (nxml-fontify-matcher): Simplify.
9372 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9373 (xmltok-add-dependent): Remove function.
9374 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9375 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9376 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9377 unclosed <[[, <?, comment, and other literals as extending to EOB.
9378 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9379 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9380 Remove functions.
9381 (rng-do-some-validation-1): Don't mark dependent regions.
9382 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9383 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9384 (nxml-clear-dependent-regions): Remove functions.
9385 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9386 (nxml-ensure-scan-up-to-date):
9387 Don't clear&mark dependent regions.
9388
e3772e98
LL
93892013-05-15 Leo Liu <sdl.web@gmail.com>
9390
c9990474
SM
9391 * progmodes/octave.el (octave-goto-function-definition):
9392 Improve and fix callers.
e3772e98 9393
5ac2eb34
SM
93942013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9395
c46c57b0
SM
9396 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9397 the setter (bug#14387).
9398
5ac2eb34
SM
9399 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9400 surrounding group (bug#14402).
9401
180ed218
JL
94022013-05-14 Juri Linkov <juri@jurta.org>
9403
9404 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9405 (Bug#14390)
9406
0ac0fecb
GM
94072013-05-14 Glenn Morris <rgm@gnu.org>
9408
9409 * progmodes/f90.el (f90-imenu-generic-expression):
9410 Fix typo in 2013-05-08 change. (Bug#14402)
9411
2e78e6a7
JPG
94122013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9413
5ac2eb34
SM
9414 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9415 Remove signals for which replies are never received.
2e78e6a7 9416
53267cca
JPG
94172013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9418
9419 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9420 (gdb-handler-alist, gdb-handler-number): Remove variables.
9421 (gdb-handler-list): New variable.
9422 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9423 (gdb-pending-handler-p, gdb-handle-reply)
9424 (gdb-remove-all-pending-triggers): New functions.
9425 (gdb-discard-unordered-replies): New defcustom.
9426 (gdb-handler): New defstruct.
9427 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9428 instead of gdb-pending-triggers. Update docstring.
9429 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9430 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9431 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9432 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9433 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9434 (gdb-frame-handler): Pending triggers are now automatically managed.
9435 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9436 Remove argument.
9437 (gdb-input): Automatically handles pending triggers. Update docstring.
9438 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9439 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9440 Update comments.
9441 (gdb-done-or-error): Now use gdb-handle-reply.
9442
d04ce803
JPG
94432013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9444
9445 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9446 gdb-debug-log.
9447
0114073a
GM
94482013-05-14 Glenn Morris <rgm@gnu.org>
9449
9450 * subr.el (user-emacs-directory-warning): New option.
9451 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9452
4d25fd7e
LL
94532013-05-14 Leo Liu <sdl.web@gmail.com>
9454
9455 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9456 during redisplay.
9457 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9458 (octave-font-lock-texinfo-comment): Fix invalid search bound
9459 error: wrong side of point.
4d25fd7e 9460
27c8b6eb
GM
94612013-05-14 Glenn Morris <rgm@gnu.org>
9462
61aaeb01
GM
9463 * progmodes/flymake.el (flymake-xml-program): New option.
9464 (flymake-xml-init): Use it.
9465
5bf90bc5
GM
9466 * term/xterm.el: Provide a feature.
9467
9468 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9469
f4c7dfd2
GM
94702013-05-13 Glenn Morris <rgm@gnu.org>
9471
9472 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9473 Add compat aliases as a hack workaround. (Bug#14384)
9474
2aeb3a1d
LL
94752013-05-13 Leo Liu <sdl.web@gmail.com>
9476
b0e069c2
LL
9477 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9478 ###, and %!.
f5a9432f
LL
9479 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9480 C-M-q.
b0e069c2
LL
9481 (octave-comment-start-skip): Include %!.
9482 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9483
30ea8374
LL
94842013-05-12 Leo Liu <sdl.web@gmail.com>
9485
9486 * progmodes/octave.el (inferior-octave-startup): Store the value
9487 of __octave_srcdir__ for octave-source-directories.
9488 (inferior-octave-check-process): New function refactored out of
9489 inferior-octave-send-list-and-digest.
9490 (octave-source-directories)
9491 (octave-find-definition-filename-function): New variables.
9492 (octave-source-directories)
9493 (octave-find-definition-default-filename): New functions.
9494 (octave-find-definition): Improve to find functions implemented in C++.
9495
472a3834
GM
94962013-05-12 Glenn Morris <rgm@gnu.org>
9497
9498 * calendar/diary-lib.el (diary-outlook-format-1):
9499 Don't include dayname in the output. (Bug#14349)
9500
3191b52f
GM
95012013-05-11 Glenn Morris <rgm@gnu.org>
9502
0060ac73
GM
9503 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9504
3191b52f
GM
9505 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9506 Treat cc-provide like provide.
9507
e065ba74
KR
95082013-05-11 Kevin Ryde <user42@zip.com.au>
9509
9510 * cus-dep.el (custom-make-dependencies):
9511 Use generated-autoload-load-name for the sake of files such
9512 such cedet/semantic/bovine/c.el, where the base file name
9513 is not in load-path. (Bug#5277)
9514
36f84c37
GM
95152013-05-11 Glenn Morris <rgm@gnu.org>
9516
9517 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9518 Provide features.
9519
c8730c3a
LL
95202013-05-11 Leo Liu <sdl.web@gmail.com>
9521
9522 * progmodes/octave.el (octave-indent-comment): Improve.
9523 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9524 (octave-eldoc-function-signatures, octave-eldoc-function):
9525 New functions.
c8730c3a
LL
9526 (octave-mode, inferior-octave-mode): Add eldoc support.
9527
212e29f2
RS
95282013-05-11 Richard Stallman <rms@gnu.org>
9529
9530 * epa.el (epa-decrypt-file): Take output file name as argument
9531 and read it using `interactive'.
9532
083fe0d7
LL
95332013-05-11 Leo Liu <sdl.web@gmail.com>
9534
9535 * progmodes/octave.el (octave-beginning-of-line)
9536 (octave-end-of-line): Check before using up-list because it jumps
9537 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9538 (octave-indent-comment): New function.
9539 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9540 (octave-begin-keywords, octave-end-keywords)
9541 (octave-reserved-words, octave-smie-bnf-table)
9542 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9543
8582e4c4
GM
95442013-05-11 Glenn Morris <rgm@gnu.org>
9545
f20def1f
GM
9546 * faces.el (internal-face-x-get-resource):
9547 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9548 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9549 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9550 Fix declarations.
f20def1f 9551
445f95e2
GM
9552 * calc/calc-menu.el: Make it loadable in isolation.
9553
9554 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9555 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9556 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9557 (eudc-bbdb-query-internal): Require 'bbdb.
9558
99fb2756
GM
9559 * lpr.el (lpr-headers-switches):
9560 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9561
9562 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9563
0da7ad96
GM
9564 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9565
8582e4c4
GM
9566 * term.el (term-set-escape-char): Make it idempotent.
9567
f71c50d0
LL
95682013-05-10 Leo Liu <sdl.web@gmail.com>
9569
5ac2eb34
SM
9570 * progmodes/octave.el (inferior-octave-completion-table):
9571 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9572 completion due to bug#11906.
9573 (octave-beginning-of-defun): Re-write to be more general.
9574
d5837773
GM
95752013-05-10 Glenn Morris <rgm@gnu.org>
9576
9577 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9578
027c0f75
SM
95792013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9581 * comint.el (comint-redirect-send-command-to-process): Use :around
9582 rather than :override for comint-redirect-filter.
9583 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9584 Call it instead of comint-redirect-original-filter-function (which
9585 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9586
4465bfb4
JD
95872013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9588
9589 * frame.el (display-monitor-attributes-list): Add NS case.
9590 (ns-display-monitor-attributes-list): Declare.
9591
2d809ffa 95922013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9593
9594 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9595
e54eeb9b
GM
95962013-05-09 Glenn Morris <rgm@gnu.org>
9597
56cd351d
GM
9598 * international/fontset.el (vertical-centering-font-regexp):
9599 Set standard-value.
9600
d84b6108
GM
9601 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9602
a931698a
GM
9603 * bookmark.el (bookmark-search-delay):
9604 * cus-start.el (vertical-centering-font-regexp):
9605 * ps-mule.el (ps-mule-font-info-database-default):
9606 * ps-print.el (ps-default-fg, ps-default-bg):
9607 * type-break.el (type-break-good-break-interval):
9608 * whitespace.el (whitespace-indentation-regexp)
9609 (whitespace-space-after-tab-regexp):
9610 * emacs-lisp/testcover.el (testcover-1value-functions)
9611 (testcover-noreturn-functions, testcover-progn-functions)
9612 (testcover-prog1-functions):
9613 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9614 * eshell/em-glob.el (eshell-glob-translate-alist):
9615 * play/tetris.el (tetris-tty-colors):
9616 * progmodes/cpp.el (cpp-face-default-list):
9617 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9618 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9619 (idlwave-help-browser-generic-args):
9620 * progmodes/make-mode.el (makefile-special-targets-list):
9621 * progmodes/python.el (python-shell-virtualenv-path):
9622 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9623 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9624 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9625 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9626 * textmodes/reftex-vars.el (reftex-format-label-function):
9627 * textmodes/remember.el (remember-diary-file): Fix custom types.
9628
e54eeb9b
GM
9629 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9630 Add :version.
9631
455851dd
LL
96322013-05-09 Leo Liu <sdl.web@gmail.com>
9633
9634 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9635 Restore file completion. (Bug#14300)
455851dd
LL
9636 (inferior-octave-startup): Fix incorrect highlighting for the
9637 first prompt.
9638
a9e4425b
SM
96392013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * progmodes/ruby-mode.el: First cut at SMIE support.
9642 (ruby-use-smie): New var.
9643 (ruby-smie-grammar): New constant.
9644 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9645 (ruby-smie--forward-token, ruby-smie--backward-token)
9646 (ruby-smie-rules): New functions.
9647 (ruby-mode-variables): Setup SMIE if applicable.
9648
060ca408
EZ
96492013-05-08 Eli Zaretskii <eliz@gnu.org>
9650
9651 * simple.el (line-move-visual): Signal beginning/end of buffer
9652 only if vertical-motion moved less than it was requested. Avoids
9653 silly incorrect error messages when there are display strings with
9654 multiple newlines at EOL.
9655
1d5963cc
SM
96562013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9657
9658 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9659 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9660 (prolog-char-quote-workaround):
9661 * progmodes/cperl-mode.el (cperl-under-as-char):
9662 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9663 Mark as obsolete.
9664 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9665 their declaration.
9666 (vhdl-mode-syntax-table-init): Remove.
9667
c9990474
SM
9668 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9669 last change.
1d5963cc
SM
9670
9671 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9672 syntax for "_".
9673 (ld-script-font-lock-keywords):
9674 Change regexps to use things like \_< and \_>.
9675
9676 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9677 Change all regexps to use things like \_< and \_>.
9678
9679 * progmodes/autoconf.el (autoconf-definition-regexp)
9680 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9681 Handle a _ with symbol syntax.
9682 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9683
c9990474
SM
9684 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9685 Consolidate declaration.
1d5963cc
SM
9686 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9687 the declaration.
9688 (ada-create-syntax-table): Remove.
9689 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9690 already has the right syntax nowadays.
9691 (ada-goto-next-word): Don't change the syntax of "_".
9692
9693 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9694 with-wrapper-hook.
9695
72d3cfca
SS
96962013-05-08 Sam Steingold <sds@gnu.org>
9697
9698 * thingatpt.el (thing-at-point): Accept optional second argument
9699 NO-PROPERTIES to strip the text properties from the return value.
9700 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9701 to `thing-at-point' instead of stripping the properties ourselves.
9702 Also, when `thing-at-point' fails to find a url, prepend "http://"
9703 to the filename at point on the assumption that the user is
9704 pointing at something like gnu.org/gnu.
9705
5cb15713
JB
97062013-05-08 Juanma Barranquero <lekktu@gmail.com>
9707
9708 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9709 * faces.el (crm-separator):
9710 Silence byte-compiler.
9711
9712 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9713 (tool-bar-map): Remove unneeded defvars.
9714
ea78b95b
LL
97152013-05-08 Leo Liu <sdl.web@gmail.com>
9716
9717 Re-work a fix for bug#10994 based on Le Wang's patch.
9718 * ido.el (ido-remove-consecutive-dups): New helper.
9719 (ido-completing-read): Use it.
9720 (ido-chop): Revert fix for bug#10994.
9721
dc7466df
AS
97222013-05-08 Adam Spiers <emacs@adamspiers.org>
9723
9724 * cus-edit.el (custom-save-variables):
9725 Pretty-print long values. (Bug#14187)
9726
9ecf672a
GM
97272013-05-08 Glenn Morris <rgm@gnu.org>
9728
9729 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9730 (m4-mode-syntax-table): Init in the defvar.
9731 (m4-mode-abbrev-table): Let define-derived-mode define it.
9732
3f555be8
TT
97332013-05-08 Tom Tromey <tromey@redhat.com>
9734
9735 * progmodes/m4-mode.el (m4-mode-syntax-table):
9736 Do not treat "_" as word constituent. (Bug#14167)
9737
7cc8ae06
GM
97382013-05-07 Glenn Morris <rgm@gnu.org>
9739
4f58bc06
GM
9740 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9741 Remove explicit eshell-isearch-cancel-map.
9742
7cc8ae06
GM
9743 * progmodes/f90.el (f90-smart-end-names): New option.
9744 (f90-smart-end): Doc fix.
9745 (f90-end-block-optional-name): New constant.
9746 (f90-block-match): Respect f90-smart-end-names.
9747
ceb57e59
SM
97482013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9751 about implicit semi-colons (bug#14218).
9752
4e3f9230
YM
97532013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9754
9755 * frame.el (display-monitor-attributes-list)
9756 (frame-monitor-attributes): New functions.
9757
203a5572
LL
97582013-05-06 Leo Liu <sdl.web@gmail.com>
9759
9760 * progmodes/octave.el (octave-syntax-propertize-function): Change
9761 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9762 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9763 (octave-completion-at-point): Rename from
203a5572
LL
9764 octave-completion-at-point-function.
9765 (inferior-octave-directory-tracker): Robustify.
9766 (octave-text-functions): Remove and fix its uses. No such things
9767 any more.
9768
ee6cff99
SM
97692013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * emacs-lisp/trace.el (trace--display-buffer): New function.
9772 (trace-make-advice): Use it.
9773
32985194
JL
97742013-05-06 Juri Linkov <juri@jurta.org>
9775
9776 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9777 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9778 Doc fix.
9779 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9780 in the help string. (Bug#12985)
9781
a1c700de
KD
97822013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9783
9784 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9785
c67c0839
SM
97862013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9787
323885fd
SM
9788 * progmodes/perl-mode.el: Add support for here documents.
9789 (perl-syntax-propertize-function): Match here-doc markers.
9790 (perl-syntax-propertize-special-constructs): Find their end.
9791 (perl-imenu-generic-expression): Use [:alnum:].
9792
c67c0839
SM
9793 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9794 (advice--add-function): Refresh the advice if already present
9795 (bug#14317).
9796
d491e7a8
IA
97972013-05-06 Ivan Andrus <darthandrus@gmail.com>
9798
9799 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9800
ddf9925e
GM
98012013-05-06 Glenn Morris <rgm@gnu.org>
9802
7cc3af27
GM
9803 * w32-fns.el (w32-charset-info-alist): Declare.
9804
16e343d6
GM
9805 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9806 of its defcustom properties.
9807 (eshell-cmpl-initialize): No need to load pcomplete.
9808
7d889a47
GM
9809 * generic-x.el: No need to require comint when compiling.
9810
ddf9925e
GM
9811 * net/eudc-export.el: Make it loadable without bbdb.
9812 (top-level): Use require rather than load-library.
9813 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9814 (eudc-batch-export-records-to-bbdb)
9815 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9816 Require bbdb.
9817
1e2c18df
SM
98182013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9821 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9822 some tweaks, instead.
9823
02502a5f
LL
98242013-05-05 Leo Liu <sdl.web@gmail.com>
9825
9826 * progmodes/octave.el (octave-font-lock-keywords)
9827 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9828 (inferior-octave-send-list-and-digest): Improve error message.
9829 (octave-mode, inferior-octave-mode): Use setq-local.
9830 (octave-help): Set info-lookup-mode.
9831
0dc04f42
RS
98322013-05-05 Richard Stallman <rms@gnu.org>
9833
6c54491c
RS
9834 * vc/compare-w.el (compare-windows-whitespace):
9835 Treat no-break space as whitespace.
9836
0dc04f42
RS
9837 * mail/rmailsum.el (rmail-summary-rmail-update):
9838 Detect empty summary and don't change selected message.
9839 (rmail-summary-goto-msg): Likewise.
9840
df8f35df
RS
9841 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9842 Doc fixes, rename args.
9843
5356e1a3
AM
98442013-05-05 Alan Mackenzie <acm@muc.de>
9845
9846 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9847
d44014cb
JL
98482013-05-05 Juri Linkov <juri@jurta.org>
9849
9850 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9851 to not add the length of the summary segment to the return value.
9852 (Bug#14125)
9853
c129b51f
LL
98542013-05-05 Leo Liu <sdl.web@gmail.com>
9855
9856 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9857 (inferior-octave-output-filter): Remove.
9858 (octave-send-region, inferior-octave-startup): Fix callers.
9859 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9860 (octave-binary-file-extensions): New user variable.
9861 (octave-find-definition): Confirm if opening binary files.
9862 (octave-help-file): Use octave-find-definition to get the binary
9863 confirmation.
9864 (octave-help): Adjust for octave-help-file change.
9865
aa7dab97
SM
98662013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9869 Merge the two entries that handle function definitions.
9870 (pascal--syntax-propertize): New const.
9871 (pascal-mode): Use it. Use setq-local.
9872
fd3a9a6b
GM
98732013-05-04 Glenn Morris <rgm@gnu.org>
9874
9875 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9876 (diary-from-outlook): Respect diary-from-outlook-function.
9877
30c7e542
SM
98782013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9881 Move the declaration from C.
9882 (read-minibuffer, eval-minibuffer): Move from C.
9883 (completion-setup-function): Avoid minibuffer-completion-contents.
9884
b54f978b
LL
98852013-05-03 Leo Liu <sdl.web@gmail.com>
9886
9887 * progmodes/octave.el (octave-font-lock-keywords): Do not
9888 dehighlight 'end' in comments or strings.
30c7e542
SM
9889 (octave-completing-read, octave-goto-function-definition):
9890 New helpers.
d4d0f9b3
LL
9891 (octave-help-buffer): New user variable.
9892 (octave-help-file, octave-help-function): New button types.
9893 (octave-help): New command and bind it to C-h ;.
9894 (octave-find-definition): New command and bind it to M-.
d74a1581 9895 (user-error): Alias to error if not defined.
b54f978b 9896
27135018
LL
98972013-05-02 Leo Liu <sdl.web@gmail.com>
9898
9899 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9900 for \. (bug#14332)
9901 (octave-font-lock-keywords): Include [ and {.
9902
0d634d3a
LL
99032013-05-02 Leo Liu <sdl.web@gmail.com>
9904
9905 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9906 (inferior-octave): Remove calling comint-mode and return the buffer.
9907 (inferior-octave-startup): Cosmetic changes.
9908
b4c8295e
LL
99092013-05-02 Leo Liu <sdl.web@gmail.com>
9910
30c7e542
SM
9911 * progmodes/octave.el (octave-syntax-propertize-function):
9912 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9913
f12ad6ec
GM
99142013-05-02 Glenn Morris <rgm@gnu.org>
9915
9916 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9917 * desktop.el (vc-dir-mode): Just autoload it here.
9918
30cac1e0
AM
99192013-05-02 Alan Mackenzie <acm@muc.de>
9920
9921 Eliminate variable c-standard-font-lock-fontify-region-function.
9922 * progmodes/cc-mode.el
9923 (c-standard-font-lock-fontify-region-function): Remove.
9924 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9925
d8ef28b1
LL
99262013-05-01 Leo Liu <sdl.web@gmail.com>
9927
2640d52e 9928 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9929 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9930 variables were removed from Octave in 2007.
d8ef28b1
LL
9931 (inferior-octave-startup): Fix uses.
9932 (comint-line-beginning-position): Remove compatibility code for
9933 emacs 21.
9934
ac63ec89
JL
99352013-05-01 Juri Linkov <juri@jurta.org>
9936
9937 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9938
9e9be37c
JL
99392013-05-01 Juri Linkov <juri@jurta.org>
9940
9941 * comint.el (comint-previous-matching-input): Don't print message
9942 "History item: %d" when `isearch-mode' is active.
9943 (comint-history-isearch-message): Print message "History item: %d"
9944 when `comint-input-ring-index' is not empty and this function is
9945 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9946
9b92c13b
LL
99472013-05-01 Leo Liu <sdl.web@gmail.com>
9948
9949 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9950 definitions. Use completion-at-point to insert keywords.
9951 (octave-abbrev-start): Remove.
9952 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9953
b12d33d7
LL
99542013-04-30 Leo Liu <sdl.web@gmail.com>
9955
9956 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9957 change.
9958
3d1c39fa
AM
99592013-04-30 Alan Mackenzie <acm@muc.de>
9960
9961 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9962 * progmodes/cc-engine.el (c-back-over-member-initializers):
9963 new function.
3d1c39fa
AM
9964 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9965 (most) member init lists.
9966
5147fc17
RS
99672013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9968
9969 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9970 variable.
9971
5b78d7fc
LL
99722013-04-30 Leo Liu <sdl.web@gmail.com>
9973
9974 * progmodes/octave.el (octave-variables): Remove. No builtin
9975 variables any more. All converted to functions.
9976 (octave-font-lock-keywords, octave-completion-at-point-function):
9977 Fix uses.
9978 (octave-font-lock-texinfo-comment): New user variable.
9979 (octave-texinfo-font-lock-keywords): New variable for texinfo
9980 comment block.
9981 (octave-function-comment-block): New face.
9982 (octave-font-lock-texinfo-comment): New function.
9983 (octave-mode): Font lock texinfo comment block.
9984
38d8527b
LL
99852013-04-29 Leo Liu <sdl.web@gmail.com>
9986
9987 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9988 indexing expression.
9989 (octave-continuation-string): Do not use \.
9990 (inferior-octave-complete-impossible): Remove.
9991 (inferior-octave-completion-table)
9992 (inferior-octave-completion-at-point): Remove its uses.
9993 (inferior-octave-startup): completion_matches was introduced to
9994 Octave in 1996 so safe to assume it.
9995 (octave-function-file-comment): Improve to follow how Octave does it.
9996 (octave-update-function-file-comment): Tweak.
9997
2ec12cb0
LL
99982013-04-29 Leo Liu <sdl.web@gmail.com>
9999
10000 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10001 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10002 (octave-function-file-comment): Fix typo.
10003 (octave-sync-function-file-names): Use read-char-choice.
10004
6eaed048
JB
100052013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10006
10007 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10008 to t for the less important warnings.
10009
3ffa2d4f
DH
100102013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10011
10012 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10013
685c9501
GM
100142013-04-27 Glenn Morris <rgm@gnu.org>
10015
10016 * vc/log-view.el (log-view-current-entry):
10017 Treat "---" separator lines as part of the following rev. (Bug#14169)
10018
0208ede7
JL
100192013-04-27 Juri Linkov <juri@jurta.org>
10020
10021 * subr.el (read-number): Doc fix about using it by interactive
10022 code letter `n'. (Bug#14254)
10023
5db9dace
JL
100242013-04-27 Juri Linkov <juri@jurta.org>
10025
10026 * desktop.el (desktop-auto-save-timeout): New option.
10027 (desktop-file-checksum): New variable.
10028 (desktop-save): Add optional arg `auto-save' and don't auto-save
10029 if nothing changed.
10030 (desktop-auto-save-timer): New variable.
10031 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10032 (after-init-hook): Call `desktop-auto-save-set-timer'.
10033 Suggested by Reuben Thomas <rrt@sc3d.org> in
10034 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10035
b7260dd4
LL
100362013-04-27 Leo Liu <sdl.web@gmail.com>
10037
10038 * progmodes/octave.el (octave-function-file-p)
10039 (octave-skip-comment-forward, octave-function-file-comment)
10040 (octave-update-function-file-comment): New functions.
10041 (octave-mode-map): Bind C-c ; to
10042 octave-update-function-file-comment.
10043 (octave-mode-menu): Add octave-update-function-file-comment.
10044 (octave-mode, inferior-octave-mode): Fix doc-string.
10045 (octave-insert-defun): Conform to Octave's coding convention.
10046 (Bug#14285)
10047
10048 * files.el (basic-save-buffer): Don't let errors in
10049 before-save-hook prevent saving buffer.
10050
c46da669
RW
100512013-04-20 Roland Winkler <winkler@gnu.org>
10052
10053 * faces.el (read-face-name): Use completing-read if arg multiple
10054 is nil.
10055
a81ee1eb
IL
100562013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10057
10058 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10059 displayed, move point to after the totals line.
10060 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10061 for the details.
10062
4fac34ce
SM
100632013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10066 Add current dir to the load-path.
10067 (package-generate-autoloads): Don't rely on
10068 autoload-ensure-default-file.
10069
f6bfc063
RT
100702013-04-26 Reuben Thomas <rrt@sc3d.org>
10071
d40ab5cf
BG
10072 * textmodes/remember.el (remember-store-in-files): Document that
10073 the file name format is passed to `format-time-string'.
f6bfc063 10074
e55d3b04
LL
100752013-04-26 Leo Liu <sdl.web@gmail.com>
10076
10077 * progmodes/octave.el (octave-sync-function-file-names): New function.
10078 (octave-mode): Use it in before-save-hook.
10079
e53052d3
SM
100802013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10081
140ef50c
SM
10082 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10083 (bug#14274).
10084
e53052d3
SM
10085 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10086 \n and comment, even if it's not an implicit ; (bug#14218).
10087
af80458d 100882013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10089
10090 * subr.el (read-number): Once more use `read' rather than
10091 `string-to-number', to trap non-numeric input. (Bug#14254)
10092
af80458d 100932013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10094
10095 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10096 Use `syntax-multiline' text property consistently instead of
8a621d53 10097 `font-lock-multiline'. (Bug#14237)
70203c2e 10098
e6ea1f6c
GM
100992013-04-26 Glenn Morris <rgm@gnu.org>
10100
10101 * emacs-lisp/shadow.el (list-load-path-shadows):
10102 No longer necessary to check for duplicate simple.el, since
10103 2012-07-07 change to init_lread to not include installation lisp
10104 directories in load-path when running uninstalled. (Bug#14270)
10105
070ccca4
LL
101062013-04-26 Leo Liu <sdl.web@gmail.com>
10107
10108 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10109 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10110 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10111 octave-in-string-or-comment-p.
10112 (octave-in-comment-p, octave-in-string-p)
10113 (octave-in-string-or-comment-p): Replace defsubst with defun.
10114
9d1c5fb6
PE
101152013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10116
10117 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10118
c034abda
BG
101192013-04-25 Bastien Guerry <bzg@gnu.org>
10120
10121 * textmodes/remember.el (remember-data-directory)
10122 (remember-directory-file-name-format): Fix custom types.
10123
584ea277
LL
101242013-04-25 Leo Liu <sdl.web@gmail.com>
10125
e53052d3
SM
10126 * progmodes/octave.el (octave-completion-at-point-function):
10127 Make use of inferior octave process.
584ea277
LL
10128 (octave-initialize-completions): Remove.
10129 (inferior-octave-completion-table): New function.
10130 (inferior-octave-completion-at-point): Use it.
10131 (octave-completion-alist): Remove.
10132
1693b06a
SM
101332013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10136 (opascal-mode-syntax-table): New var.
10137 (opascal-literal-kind, opascal-is-literal-end)
10138 (opascal-literal-token-at): Rewrite.
10139 (opascal--literal-start-re, opascal-font-lock-keywords)
10140 (opascal--syntax-propertize): New constants.
10141 (opascal-font-lock-defaults): Adjust.
10142 (opascal-mode): Use them. Set comment-<foo> variables as well.
10143 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10144 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10145 (delphi-other-face, opascal-other-face): Remove face variables.
10146 (opascal-save-state): Remove macro.
10147 (opascal-fontifying-progress-step): Remove constant.
10148 (opascal--ignore-changes): Remove var.
10149 (opascal-set-token-property, opascal-parse-next-literal)
10150 (opascal-is-stable-literal, opascal-complete-literal)
10151 (opascal-is-literal-start, opascal-face-of)
10152 (opascal-parse-region, opascal-parse-region-until-stable)
10153 (opascal-fontify-region, opascal-after-change)
10154 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10155 (opascal-debug-parse-region, opascal-debug-parse-window)
10156 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10157 (opascal-debug-fontify-buffer): Remove.
10158 (opascal-debug-mode-map): Adjust accordingly.
10159
be64c05d
LL
101602013-04-25 Leo Liu <sdl.web@gmail.com>
10161
10162 Merge octave-mod.el and octave-inf.el into octave.el with some
10163 cleanups.
10164 * progmodes/octave.el: New file renamed from octave-mod.el.
10165 * progmodes/octave-inf.el: Merged into octave.el.
10166 * progmodes/octave-mod.el: Renamed to octave.el.
10167
d79d37bd
TH
101682013-04-25 Tassilo Horn <tsdh@gnu.org>
10169
10170 * textmodes/reftex-vars.el
10171 (reftex-label-ignored-macros-and-environments): New defcustom.
10172
10173 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10174
ced3fc5d
SM
101752013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10178 (smie-indent-keyword): Improve the check to ensure that the next
10179 comment is really on the same line.
10180 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10181
10182 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10183 semi-colons if the line is not otherwise empty (bug#14218).
10184
1c141dad
GM
101852013-04-25 Glenn Morris <rgm@gnu.org>
10186
10187 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10188
5058062a
SM
101892013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 * progmodes/opascal.el (opascal-set-token-property): Rename from
10192 opascal-set-text-properties and only set `token' (bug#14134).
10193 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10194 (opascal-literal-text-properties): Remove.
10195 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10196 Adjust callers.
10197
5db9dace 101982013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10199
10200 * textmodes/remember.el (remember-handler-functions): Add an
10201 option for a new handler `remember-store-in-files'.
10202 (remember-data-directory, remember-directory-file-name-format):
10203 New options.
10204 (remember-store-in-files): New function to store remember notes
10205 as separate files within a directory.
10206
4391916c
MH
102072013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10208
10209 * progmodes/compile.el (compilation-next-error-function):
10210 Pass "formats" to compilation-find-file (bug#11777).
10211
bb7cdf58
GM
102122013-04-24 Glenn Morris <rgm@gnu.org>
10213
3b8fe752 10214 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10215 * vc/vc-hg.el (vc-hg-print-log):
10216 * vc/vc-svn.el (vc-svn-print-log):
10217 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10218
bb7cdf58
GM
10219 * vc/vc-bzr.el (vc-bzr-print-log):
10220 * vc/vc-cvs.el (vc-cvs-print-log):
10221 * vc/vc-git.el (vc-git-print-log):
10222 * vc/vc-hg.el (vc-hg-print-log):
10223 * vc/vc-mtn.el (vc-mtn-print-log):
10224 * vc/vc-rcs.el (vc-rcs-print-log):
10225 * vc/vc-sccs.el (vc-sccs-print-log):
10226 * vc/vc-svn.el (vc-svn-print-log):
10227 * vc/vc.el (vc-print-log-internal): Doc fixes.
10228
b46a056e
GM
102292013-04-23 Glenn Morris <rgm@gnu.org>
10230
10231 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10232 Remove venerable code attempting to avoid substitute-command-keys.
10233
0aecf718
TH
102342013-04-23 Tassilo Horn <tsdh@gnu.org>
10235
4391916c
MH
10236 * textmodes/reftex-vars.el (reftex-label-regexps):
10237 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10238
117f94cf
SM
102392013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10240
4391916c 10241 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10242 Use lexical-binding.
10243 (jit-lock-force-redisplay): Use markers, check buffer's continued
10244 existence and beware narrowed buffers.
10245 (jit-lock-fontify-now): Adjust call accordingly.
10246
1d829c64
SM
102472013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10250 to avoid misleading the user.
10251
72d548a9
LL
102522013-04-22 Leo Liu <sdl.web@gmail.com>
10253
10254 * info-look.el: Prefer latex2e.info. (Bug#14240)
10255
d0853629
MA
102562013-04-22 Michael Albinus <michael.albinus@gmx.de>
10257
10258 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10259
10260 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10261 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10262 (tramp-set-completion-function, tramp-parse-putty):
10263 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10264 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10265 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10266 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10267 (tramp-call-local-coding-command): Use `tramp-call-process'
10268 instead of `tramp-compat-call-process'.
10269
10270 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10271 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10272 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10273 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10274 (tramp-maybe-send-script): Check for Perl binary.
10275 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10276
38cc0210
DU
102772013-04-22 Daiki Ueno <ueno@gnu.org>
10278
10279 * epg.el (epg-context-pinentry-mode): New function.
10280 (epg-context-set-pinentry-mode): New function.
10281 (epg--start): Pass --pinentry-mode option to gpg command.
10282
cc641ee1
XF
102832013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10284
02d844b5 10285 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10286 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10287 `completion-at-point'. (Bug#13774)
5d4e5c31 10288
cc641ee1
XF
10289 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10290 default key binding for `describe-distribution' has been moved to
10291 `C-h C-o'. (Bug#13970)
10292
1b42ee43
GM
102932013-04-21 Glenn Morris <rgm@gnu.org>
10294
10295 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10296 Add doc strings.
10297 (vc-print-log): Clarify interactive prompt.
10298
a6d63d97
GM
102992013-04-20 Glenn Morris <rgm@gnu.org>
10300
10301 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10302 No longer include timestamp etc information.
10303
d7f5c16f
RW
103042013-04-20 Roland Winkler <winkler@gnu.org>
10305
10306 * faces.el (read-face-name): Bug fix, return just one face if arg
10307 multiple is nil. (Bug#14209)
10308
bcd7a0a4
SM
103092013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10312 (remove-function): Autoload.
10313
10314 * comint.el (comint-redirect-original-filter-function): Remove.
10315 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10316 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10317 (vc-cvs-annotate-command):
bcd7a0a4
SM
10318 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10319 * progmodes/prolog.el (prolog-consult-compile):
10320 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10321 Use add/remove-function instead.
10322 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10323 (gud-tooltip-process-output, gud-tooltip-tips):
10324 Use add/remove-function instead.
10325 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10326 (scheme-interaction-mode, exit-scheme-interaction-mode):
10327 Use add/remove-function instead.
10328
10329 * vc/vc-dispatcher.el: Use lexical-binding.
10330 (vc--process-sentinel): Rename from vc-process-sentinel.
10331 Change last arg to be the code to run. Don't use vc-previous-sentinel
10332 and vc-sentinel-commands any more.
10333 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10334 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10335
e36b2d20 103362013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10337
bcd7a0a4 10338 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10339 Handle function names with a single character. (Bug#14111)
4d3268ba 10340
781b4af6 103412013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10342
10343 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10344 for subroutines defined in an eval (bug#14182).
10345
7d688336
TV
103462013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10347
10348 * bookmark.el (bookmark-completing-read): Improve handling of empty
10349 string (bug#14176).
10350
31dcede0
SM
103512013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10352
10353 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10354
adc31213
FEG
103552013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10356
10357 New faster Imenu implementation (bug#14058).
10358 * progmodes/python.el:
10359 (python-imenu-prev-index-position):
10360 (python-imenu-format-item-label-function)
10361 (python-imenu-format-parent-item-label-function)
10362 (python-imenu-format-parent-item-jump-label-function):
10363 New vars.
10364 (python-imenu-format-item-label)
10365 (python-imenu-format-parent-item-label)
10366 (python-imenu-format-parent-item-jump-label)
10367 (python-imenu--put-parent, python-imenu--build-tree)
10368 (python-imenu-create-index, python-imenu-create-flat-index)
10369 (python-util-popn): New functions.
10370 (python-mode): Set imenu-create-index-function to
10371 python-imenu-create-index.
10372
cdca8255
SM
103732013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * winner.el (winner-active-region): Use region-active-p, activate-mark
10376 and deactivate-mark (bug#14225).
10377
10378 * simple.el (deactivate-mark): Don't inline it.
10379
beb42340
MA
103802013-04-18 Michael Albinus <michael.albinus@gmx.de>
10381
10382 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10383
fc7f4d7e
TH
103842013-04-18 Tassilo Horn <tsdh@gnu.org>
10385
10386 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10387 file extensions from the archive-mode entry in order to prefer
10388 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10389
29f47822
LL
103902013-04-18 Leo Liu <sdl.web@gmail.com>
10391
10392 * bindings.el (help-event-list): Add ?\?.
10393
d36ed1c8
SM
103942013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * subr.el (with-wrapper-hook): Declare obsolete.
10397 * simple.el (filter-buffer-substring-function): New hook.
10398 (filter-buffer-substring): Use it.
10399 (filter-buffer-substring-functions): Mark obsolete.
10400 * minibuffer.el (completion-in-region-function): New hook.
10401 (completion-in-region): Use it.
10402 (completion-in-region-functions): Mark obsolete.
10403 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10404 * abbrev.el (abbrev-expand-function): New hook.
10405 (expand-abbrev): Use it.
10406 (abbrev-expand-functions): Mark obsolete.
10407 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10408 and :filter-return.
10409
04754d36
FEG
104102013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10411
10412 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10413 and do not care about match data.
10414
dd8791e9
SM
104152013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10418 completion tables when completing error conditions and
10419 `declare' arguments.
10420 (lisp-complete-symbol, field-complete): Mark as obsolete.
10421 (check-parens): Unmatched parens are user errors.
10422 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10423
ffe54a13
AM
104242013-04-17 Michal Nazarewicz <mina86@mina86.com>
10425
dd8791e9
SM
10426 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10427 command changed buffer (ie. `flyspell-pre-buffer' is not current
10428 buffer), which prevents making decisions based on invalid value of
10429 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10430 cause an error when `flyspell-pre-point' was nil after switching
10431 buffers.
10432 (flyspell-post-command-hook): No longer needs to change buffers when
10433 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10434
ec7e39f2
AM
104352013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10436
10437 * textmodes/ispell.el (ispell-add-per-file-word-list):
10438 Fix `flyspell-correct-word-before-point' error when accepting
10439 words and `coment-padding' is an integer by using
10440 `comment-normalize-vars' (Bug #14214).
10441
083850a6
FEG
104422013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10443
10444 New defun movement commands.
10445 * progmodes/python.el (python-nav--syntactically)
10446 (python-nav--forward-defun, python-nav-backward-defun)
10447 (python-nav-forward-defun): New functions.
10448
619ed6e1
FEG
104492013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10450
10451 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10452 (python-syntax-context): Use named compiler-macro for backwards
10453 compatibility with Emacs 24.x.
10454
7a1beb6c
LL
104552013-04-17 Leo Liu <sdl.web@gmail.com>
10456
10457 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10458 octave-hide-process-buffer.
10459
2d3fa3e5
SM
104602013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10463 (bug#14216).
10464
7ce5be54
JPG
104652013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10466
10467 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10468 Fix adjustment of offset when receiving incomplete responses from GDB
10469 (bug#14129).
10470
351edece
SM
104712013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10474 python-mode-abbrev-table.
10475 (python-skeleton-define): Adjust accordingly.
10476 (python-mode-abbrev-table): New table that inherits from it so that
10477 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10478
10479 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10480 (abbrev-symbol): Use it.
10481 (abbrev--before-point): Use it since we already handle inheritance.
10482
613f9481
LL
104832013-04-16 Leo Liu <sdl.web@gmail.com>
10484
10485 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10486 binding to info-lookup-symbol.
10487
51646b62
JB
104882013-04-16 Juanma Barranquero <lekktu@gmail.com>
10489
10490 * minibuffer.el (completion--twq-all):
10491 * term/ns-win.el (ns-initialize-window-system):
10492 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10493
efb3f01d
SM
104942013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10495
36c0a301
SM
10496 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10497 global bindings.
10498
efb3f01d
SM
10499 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10500
fb549d64
DG
105012013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10502
10503 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10504 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10505 to nil.
10506 (ruby-end-of-defun): Remove the unused arg, change the docstring
10507 to reflect that this function is only used as the value of
10508 `end-of-defun-function'.
10509 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10510 to reflect an earlier change that beginning/end-of-defun functions
10511 jump between methods in a class definition, as well as top-level
10512 functions.
10513
21e8fe2f
SM
105142013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 * minibuffer.el (minibuffer-complete): Don't just scroll
10517 a *Completions* that's been iconified.
10518 (minibuffer-force-complete): Make sure repetitions do cycle when going
10519 through completion-in-region -> minibuffer-complete.
10520
20e527d0
AM
105212013-04-15 Alan Mackenzie <acm@muc.de>
10522
10523 Correct the placement of c-cpp-delimiters when there're #s not at
10524 col 0.
10525
10526 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10527 place a submatch around the #.
21e8fe2f
SM
10528 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10529 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10530 on the #, not BOL.
10531
dabefae5
SM
105322013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10533
10534 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10535 (advice--member-p): New arg `name'.
10536 (advice--add-function, advice-member-p): Use it (bug#14202).
10537
85c9ab64
AM
105382013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10539
10540 Reformulate java imenu-generic-expression.
10541 The old expression contained ill formed regexps.
10542
10543 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10544 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10545 (cc-imenu-java-method-arg-regexp): New defconsts.
10546 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10547 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10548 handling of spaces in the regexp.
10549
0f821d99
AM
105502013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10551
10552 * textmodes/ispell.el (ispell-command-loop): Remove
10553 flyspell highlight of a word when ispell accepts it (bug #14178).
10554
eb922adf
MA
105552013-04-15 Michael Albinus <michael.albinus@gmx.de>
10556
10557 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10558 uses code from the previous `ange-ftp-run-real-handler'.
10559 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10560 only in case that function exist. This is needed for proper
10561 unloading of Tramp.
10562
4d9a0979
TH
105632013-04-15 Tassilo Horn <tsdh@gnu.org>
10564
10565 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10566
10567 * textmodes/reftex.el (reftex-compile-variables): Use it.
10568
a829b0dc
SM
105692013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10570
91e8293c
SM
10571 * files.el (normal-mode): Only use default major-mode if no other mode
10572 was specified.
10573
830aed4d
SM
10574 * emacs-lisp/trace.el (trace-values): New function.
10575
a829b0dc
SM
10576 * files.el: Allow : in local variables (bug#14089).
10577 (hack-local-variable-regexp): New var.
10578 (hack-local-variables-prop-line, hack-local-variables): Use it.
10579
7ae9f0fb
RW
105802013-04-13 Roland Winkler <winkler@gnu.org>
10581
10582 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10583 data before it gets modified by bibtex-beginning-of-entry.
10584
6646e848
RW
105852013-04-13 Roland Winkler <winkler@gnu.org>
10586
10587 * textmodes/bibtex.el (bibtex-url): Doc fix.
10588
105892013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10590
10591 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10592 does not visit a BibTeX file, exclude it from the list of buffers
10593 returned by bibtex-initialize.
10594
0aa3616e
SB
105952013-04-13 Stephen Berman <stephen.berman@gmx.net>
10596
10597 * window.el (split-window): Remove interactive form, since as a
10598 command this function is a special case of split-window-below.
10599 Correct doc string.
10600
011cddd6
RW
106012013-04-12 Roland Winkler <winkler@gnu.org>
10602
10603 * faces.el (read-face-name): Do not override value of arg default.
10604 Allow single faces and strings as default values. Remove those
10605 elements from return value that are not faces.
10606 (describe-face): Simplify.
10607 (face-at-point): New optional args thing and multiple so that this
10608 function can provide the same functionality previously provided by
10609 read-face-name.
10610 (make-face-bold, make-face-unbold, make-face-italic)
10611 (make-face-unitalic, make-face-bold-italic, invert-face)
10612 (modify-face, read-face-and-attribute): Use face-at-point.
10613
10614 * cus-edit.el (customize-face, customize-face-other-window)
10615 * cus-theme.el (custom-theme-add-face)
10616 * face-remap.el (buffer-face-set)
10617 * facemenu.el (facemenu-set-face): Use face-at-point.
10618
f24e0036
MA
106192013-04-12 Michael Albinus <michael.albinus@gmx.de>
10620
10621 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10622
da3cda2d
TH
106232013-04-10 Tassilo Horn <tsdh@gnu.org>
10624
10625 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10626 off leading { and trailing } from field values.
10627
15e54145
SM
106282013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10629
78ce603d
SM
10630 * emacs-lisp/timer.el (timer--check): New function.
10631 (timer--time, timer-set-function, timer-event-handler): Use it.
10632 (timer-set-idle-time): Simplify.
10633 (timer--activate): CSE.
10634 (timer-event-handler): Give more info in error message.
10635 (internal-timer-start-idle): New function, moved from C.
10636
15e54145
SM
10637 * mpc.el (mpc-proc): Add `restart' argument.
10638 (mpc-proc-cmd): Use it.
10639 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10640 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10641 less often.
10642
7144c627
MY
106432013-04-10 Masatake YAMATO <yamato@redhat.com>
10644
10645 * progmodes/sh-script.el: Implement `sh-mode' own
10646 `add-log-current-defun-function' (bug#14112).
10647 (sh-current-defun-name): New function.
10648 (sh-mode): Use the function.
10649
b39792eb
BG
106502013-04-09 Bastien Guerry <bzg@gnu.org>
10651
10652 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10653
8acdeb71
SM
106542013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10655
6fcdab68
SM
10656 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10657
8acdeb71
SM
10658 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10659 timer (bug#14156).
10660
e3e7b504
NF
106612013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10662
10663 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10664 declaration.
10665
201bb296
LL
106662013-04-07 Leo Liu <sdl.web@gmail.com>
10667
10668 * pcmpl-x.el: New file.
10669
ebb19708
DA
106702013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10671
10672 Do not set x-display-name until X connection is established.
10673 This is needed to prevent from weird situation described at
10674 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10675 * frame.el (make-frame): Set x-display-name after call to
10676 window system initialization function, not before.
10677 * term/x-win.el (x-initialize-window-system): Add optional
10678 display argument and use it.
10679 * term/w32-win.el (w32-initialize-window-system):
10680 * term/ns-win.el (ns-initialize-window-system):
10681 * term/pc-win.el (msdos-initialize-window-system):
10682 Add compatible optional display argument.
10683
33bb237a
EZ
106842013-04-06 Eli Zaretskii <eliz@gnu.org>
10685
10686 * files.el (normal-backup-enable-predicate): On MS-Windows and
10687 MS-DOS compare truenames of temporary-file-directory and of the
10688 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10689 don't fail comparison by compare-strings. Also, compare file
10690 names case-insensitively on MS-Windows and MS-DOS.
10691
134abf1f
SM
106922013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10695 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10696
d695cb94
DG
106972013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10698
e3e7b504
NF
10699 * whitespace.el (whitespace-color-on, whitespace-color-off):
10700 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10701
f4ad7ea1 107022013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10703
10704 * ispell.el (ispell-set-spellchecker-params):
10705 Really set `ispell-args' for all equivs.
10706
632556e4
SM
107072013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 * ido.el (ido-completions): Use extra elements of ido-decorations
10710 (bug#14143).
10711 (ido-decorations): Update docstring.
10712
2a417372
MA
107132013-04-05 Michael Albinus <michael.albinus@gmx.de>
10714
10715 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10716 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10717 nil during initialization, in order not to miss changes since the
10718 file was opened. (Bug#14140)
10719
fc164b0c
LL
107202013-04-05 Leo Liu <sdl.web@gmail.com>
10721
10722 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10723
0ccecc08
JB
107242013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10725
10726 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10727
51af1aa2
GM
107282013-04-04 Glenn Morris <rgm@gnu.org>
10729
10730 * electric.el (electric-pair-inhibit-predicate): Add :version.
10731
b208ebc6
SM
107322013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10733
10734 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10735 when a package is required several times (bug#14082).
10736
f3d3eaf0
RW
107372013-04-04 Roland Winkler <winkler@gnu.org>
10738
10739 * faces.el (read-face-name): Behave as promised by the docstring.
10740 Assume that arg default is a list of faces.
10741 (describe-face): Call read-face-name with list of default faces.
10742
2575da50
TV
107432013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10744
10745 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10746 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10747 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10748 the header.
10749 (bookmark-exit-hook-internal): Save even if list is empty.
10750
397703b4
YH
107512013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10752
10753 * emacs-lisp/package.el (package-pinned-packages): New var.
10754 (package--add-to-archive-contents): Obey it (bug#14118).
10755
691e26ae
AM
107562013-04-03 Alan Mackenzie <acm@muc.de>
10757
8a621d53
JB
10758 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10759 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10760
10761 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10762 parameter `not-in-delimiter'. Handle being inside comment opener.
10763 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10764 character in case we're typing a '*' after a '/'.
10765 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10766 instead by passing the parameter to c-state-pp-to-literal.
10767
10768 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10769 for elt. 7 of a parse state.
10770
4b725a70
PE
107712013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10772
10773 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10774 * international/latin1-disp.el, international/mule-util.el:
10775 * language/cyril-util.el, language/european.el, language/ind-util.el:
10776 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10777 * language/tibetan.el, language/viet-util.el:
10778 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10779
15c579f0
SM
107802013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10781
10782 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10783 (electric-pair-post-self-insert-function): Use it.
10784 (electric-pair-default-inhibit): New function, extracted from
10785 electric-pair-post-self-insert-function.
10786
a77e2924
RW
107872013-03-31 Roland Winkler <winkler@gnu.org>
10788
10789 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10790
2bd8a4a8
SM
107912013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10794
8d3655be 107952013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10796
10797 Un-indent after "pass" and "return" statements (Bug#13888)
10798 * progmodes/python.el (python-indent-block-enders): New var.
10799 (python-indent-calculate-indentation): Use it.
10800
8d3655be 108012013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10802
10803 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10804 defun. Defining it as defalias could introduce too eager
10805 byte-compiler optimization. (Bug#14030)
10806
8d3655be 108072013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10808
10809 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10810
0b1619da
LL
108112013-03-30 Leo Liu <sdl.web@gmail.com>
10812
10813 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10814 (kmacro-execute-from-register): Pass the keyboard macro to
10815 kmacro-call-macro or repeating won't work correctly.
10816
0b938190
TZ
108172013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10818
10819 * progmodes/subword.el: Back to using `forward-symbol'.
10820
10821 * subr.el (forward-whitespace, forward-symbol)
10822 (forward-same-syntax): Move from thingatpt.el.
10823
35710234
LL
108242013-03-29 Leo Liu <sdl.web@gmail.com>
10825
10826 * kmacro.el (kmacro-to-register): New command.
10827 (kmacro-execute-from-register): New function.
10828 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10829
efc0bb73
SM
108302013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10831
10832 * mpc.el: Use defvar-local and setq-local.
10833 (mpc--proc-connect): Connection failures are not bugs.
10834 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10835 (mpc-volume-map): Bind to the up-events.
10836
75a2f981
TZ
108372013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10838
10839 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10840 instead of `forward-symbol'.
10841
17c781d1
SM
108422013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10845 (edebug--recursive-edit): Use it.
10846 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10847 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10848
f67bfbcf
LL
108492013-03-28 Leo Liu <sdl.web@gmail.com>
10850
10851 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10852
b59f639d
EZ
108532013-03-27 Eli Zaretskii <eliz@gnu.org>
10854
10855 * facemenu.el (list-colors-callback): New defvar.
10856 (list-colors-redisplay): New function.
10857 (list-colors-display): Install list-colors-redisplay as the
10858 revert-buffer-function. (Bug#14063)
10859
f557c1b1
SM
108602013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10861
b1da2957
SM
10862 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10863 and suffixes don't overlap (bug#14061).
10864
f557c1b1
SM
10865 * case-table.el: Use lexical-binding.
10866 (case-table-get-table): New function.
10867 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10868
002668e1
TZ
108692013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10870
10871 * progmodes/subword.el: Add `superword-mode' to do word motion
10872 over symbol_words (parallels and leverages `subword-mode' which
10873 does word motion inside MixedCaseWords).
10874
73572c72
AG
108752013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10876
78b8f320 10877 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10878 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10879
69b2c07e
SM
108802013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10883 Change return value to be a sexp. Delay `get-buffer' to after
10884 restoring the desktop (bug#13951).
10885
08bb5ee2
LL
108862013-03-26 Leo Liu <sdl.web@gmail.com>
10887
10888 * register.el: Move semantic tag handling back to
10889 cedet/semantic/senator.el. (Bug#14052)
10890
8d4c974e
SM
108912013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10892
10893 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10894 into the prompt either (bug#13963).
10895
b234d92c
SM
108962013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10899 part of "(error-foo)".
10900
ddfa3cb4
JL
109012013-03-24 Juri Linkov <juri@jurta.org>
10902
10903 * replace.el (list-matching-lines-prefix-face): New defcustom.
10904 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10905 `occur-engine' if `face-differs-from-default-p' returns t.
10906 (occur-engine): Add `,' inside backquote construct to evaluate
10907 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10908 Pass `prefix-face' to the functions `occur-context-lines' and
10909 `occur-engine-add-prefix'.
10910 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10911 `prefix-face' and propertize the prefix with `prefix-face'.
10912 (Bug#14017)
10913
7b0e2f85
LL
109142013-03-24 Leo Liu <sdl.web@gmail.com>
10915
10916 * nxml/rng-valid.el (rng-validate-while-idle)
10917 (rng-validate-quick-while-idle): Guard against deleted buffer.
10918 (Bug#13999)
10919
10920 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10921 is the last entry in kill-buffer-hook.
10922
10923 * files.el (kill-buffer-hook): Doc fix.
10924
b3082f49
DG
109252013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10926
b234d92c
SM
10927 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10928 Make it safe-local.
bde73d27 10929
b3082f49
DG
10930 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10931
a320a2db
LL
109322013-03-23 Leo Liu <sdl.web@gmail.com>
10933
7e74b0fb
LL
10934 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10935 Remove.
10936
10937 * nxml/rng-valid.el (rng-validate-mode)
10938 (rng-after-change-function, rng-do-some-validation):
10939 * nxml/rng-maint.el (rng-validate-buffer):
10940 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10941 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10942 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10943 (nxml-extend-after-change-region): Use with-silent-modifications.
10944
a320a2db
LL
10945 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10946 timer-idle-list.
10947
10948 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10949 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10950 timer-idle-list. (Bug#13999)
10951
e38e6780
JL
109522013-03-23 Juri Linkov <juri@jurta.org>
10953
10954 * info.el (info-index-match): New face.
10955 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10956 main pattern and add text properties with the new face to matches
10957 in index entries relative to the beginning of the index entry.
10958 (Bug#14015)
10959
e8cc7880
DE
109602013-03-21 Eric Ludlam <zappo@gnu.org>
10961
10962 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10963 Inhibit read only while inserting objects.
10964
9bb0d822
TZ
109652013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10966
10967 * progmodes/cfengine.el: Update docs to mention
10968 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10969 symbol motion. Remove "_" from the word syntax.
10970
aa703640
TZ
109712013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10972
10973 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10974 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10975
afff09d0
JL
109762013-03-20 Juri Linkov <juri@jurta.org>
10977
10978 * info.el (Info-next-reference-or-link)
10979 (Info-prev-reference-or-link): New functions.
10980 (Info-next-reference, Info-prev-reference): Use them.
10981 (Info-try-follow-nearest-node): Handle footnote navigation.
10982 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10983
9a1ff164
SM
109842013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10987 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10988
2667d15d
PE
109892013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10990
10991 Suppress unnecessary non-ASCII chatter during build process.
10992 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10993 (batch-skkdic-convert): Suppress most of the chatter.
10994 It's not needed so much now that machines are faster,
10995 and its non-ASCII component was confusing; see Dmitry Gutov in
10996 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10997
438b0579
LL
109982013-03-20 Leo Liu <sdl.web@gmail.com>
10999
11000 * ido.el (ido-chop): Fix bug#10994.
11001
c128ab07
DG
110022013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11003
11004 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11005 Remove vars.
9a1ff164
SM
11006 (whitespace-color-on, whitespace-color-off):
11007 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11008
0e6008c5
SM
110092013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11012 remapping in mode-line.
11013 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11014
627b52b0
DG
110152013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11016
11017 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11018 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11019 (whitespace-font-lock-keywords): Change description.
11020 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11021 the constructed keywords instead.
11022 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11023
50c3a20b
LL
110242013-03-19 Leo Liu <sdl.web@gmail.com>
11025
11026 * progmodes/compile.el (compilation-display-error): New command.
11027 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11028 C-o. (Bug#13992)
11029
2aa2157b
PE
110302013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11031
11032 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11033
e477dbfa
JD
110342013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11035
11036 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11037
64ab82d1
MA
110382013-03-18 Michael Albinus <michael.albinus@gmx.de>
11039
11040 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11041
11042 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11043 * net/tramp-gvfs.el (top):
11044 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11045 (tramp-handle-shell-command): Use it.
11046 (tramp-dissect-file-name): Raise an error when hostname is a
11047 method name, and neither method nor user is specified.
11048
11049 * net/trampver.el: Update release number.
11050
33cef733
LL
110512013-03-18 Leo Liu <sdl.web@gmail.com>
11052
11053 Make sure eldoc can be turned off properly.
11054 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11055 eldoc-mode.
11056 (eldoc-display-message-p): Revert last change.
11057 (eldoc-display-message-no-interference-p)
11058 (eldoc-print-current-symbol-info): Tweak.
11059
2167b7b2
TH
110602013-03-18 Tassilo Horn <tsdh@gnu.org>
11061
11062 * doc-view.el (doc-view-new-window-function): Check the new window
11063 overlay's display property instead the char property of the
11064 buffer's first char. Use `with-selected-window' instead of
11065 `save-window-excursion' with `select-window'.
11066 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11067 display property instead the char property of the buffer's first char.
2167b7b2 11068
982efbcd
PE
110692013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11070
11071 Automate the build of ja-dic.el (Bug#13984).
11072 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11073 from the input, rather than assume that it's been done for us by the
11074 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11075 the current date into a ja-dic.el comment, as that complicates
11076 regression testing.
11077
2fcc7665
SM
110782013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 * whitespace.el: Fix double evaluation.
11081 (whitespace-space, whitespace-hspace, whitespace-tab)
11082 (whitespace-newline, whitespace-trailing, whitespace-line)
11083 (whitespace-space-before-tab, whitespace-indentation)
11084 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11085 obsolete defvars.
11086 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11087 (whitespace-color-on): Use a single font-lock-add-keywords call.
11088 Fix double-evaluation of face variables.
11089
67c0a6e6
MA
110902013-03-17 Michael Albinus <michael.albinus@gmx.de>
11091
2fcc7665
SM
11092 * net/tramp-adb.el (tramp-adb-parse-device-names):
11093 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11094 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11095
69489f1d
LL
110962013-03-17 Leo Liu <sdl.web@gmail.com>
11097
11098 Extend eldoc to display info in the mode-line. (Bug#13978)
11099 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11100 (eldoc-mode-line-string): New variable.
11101 (eldoc-minibuffer-message): New function.
11102 (eldoc-message-function): New variable.
11103 (eldoc-message): Use it.
11104 (eldoc-display-message-p)
2fcc7665
SM
11105 (eldoc-display-message-no-interference-p):
11106 Support eldoc-post-insert-mode.
69489f1d
LL
11107
11108 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11109 (eval-expression): Run it.
11110
9c44569e
RW
111112013-03-17 Roland Winkler <winkler@gnu.org>
11112
11113 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11114 strings in the list of return values.
11115
327f1f6f
JB
111162013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11117
11118 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11119 radix before checking for HMS forms.
11120
67ed8fcd
LL
111212013-03-16 Leo Liu <sdl.web@gmail.com>
11122
11123 * progmodes/scheme.el: Add indentation and font-locking for λ.
11124 (Bug#13975)
11125
78be8b64 111262013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11127
11128 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11129 token before point (bug#13942).
11130
78be8b64 111312013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11132
95b43468 11133 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11134
98e775e6
EZ
111352013-03-16 Eli Zaretskii <eliz@gnu.org>
11136
11137 * startup.el (command-line-normalize-file-name): Fix handling of
11138 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11139 <xfq.free@gmail.com> in
11140 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11141
2edd6029
MA
111422013-03-15 Michael Albinus <michael.albinus@gmx.de>
11143
11144 Sync with Tramp 2.2.7.
11145
11146 * net/trampver.el: Update release number.
11147
d35f5864
TH
111482013-03-14 Tassilo Horn <tsdh@gnu.org>
11149
e903c210 11150 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11151 (doc-view-insert-image): Don't modify overlay associated to
11152 non-live windows, and implement horizontal centering of image in
11153 case it's smaller than the window.
11154 (doc-view-new-window-function): Force redisplay of new windows on
11155 doc-view buffers.
d35f5864 11156
1c4a85ed
KF
111572013-03-13 Karl Fogel <kfogel@red-bean.com>
11158
11159 * saveplace.el (save-place-alist-to-file): Don't sort
11160 `save-place-alist', just pretty-print it (bug#13882).
11161
85b66a21
MA
111622013-03-13 Michael Albinus <michael.albinus@gmx.de>
11163
a020afb9
JB
11164 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11165 Check whether `default-file-name-coding-system' is bound.
11166 It isn't in XEmacs.
85b66a21 11167
175600da
SM
111682013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11169
e7f7cb1a
SM
11170 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11171 backquotes for `obsolete' (bug#13929).
11172
175600da
SM
11173 * international/mule.el (find-auto-coding): Include file name in
11174 obsolescence warning (bug#13922).
11175
ca68a22e
TZ
111762013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11177
11178 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11179 for CFEngine 3-specific indentation.
11180 (cfengine3-indent-line): Use it. Fix up category regex.
11181 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11182
940e5099
SM
111832013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11184
11185 * type-break.el (type-break-file-name):
11186 * textmodes/remember.el (remember-data-file):
11187 * strokes.el (strokes-file):
11188 * shadowfile.el (shadow-initialize):
11189 * saveplace.el (save-place-file):
11190 * ps-bdf.el (bdf-cache-file):
11191 * progmodes/idlwave.el (idlwave-config-directory):
11192 * net/quickurl.el (quickurl-url-file):
11193 * international/kkc.el (kkc-init-file-name):
11194 * ido.el (ido-save-directory-list-file):
11195 * emulation/viper.el (viper-custom-file-name):
11196 * emulation/vip.el (vip-startup-file):
11197 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11198 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11199
cc725808
PE
112002013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11201
11202 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11203 * language/thai-word.el: Switch to UTF-8.
11204
a020afb9 11205See ChangeLog.16 for earlier changes.
e3d51b27
MR
11206
11207;; Local Variables:
11208;; coding: utf-8
e3d51b27
MR
11209;; End:
11210
ab422c4d 11211 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11212
11213 This file is part of GNU Emacs.
11214
11215 GNU Emacs is free software: you can redistribute it and/or modify
11216 it under the terms of the GNU General Public License as published by
11217 the Free Software Foundation, either version 3 of the License, or
11218 (at your option) any later version.
11219
11220 GNU Emacs is distributed in the hope that it will be useful,
11221 but WITHOUT ANY WARRANTY; without even the implied warranty of
11222 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11223 GNU General Public License for more details.
11224
11225 You should have received a copy of the GNU General Public License
11226 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.