query-replace backward
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3ee4cd64
JL
12013-12-19 Juri Linkov <juri@jurta.org>
2
3 * replace.el (query-replace-read-args): Split a non-negative arg
4 and a negative arg into separate elements.
5 (query-replace, query-replace-regexp, replace-string)
6 (replace-regexp): Add arg `backward'. Doc fix.
7 (replace-match-maybe-edit): When new arg `backward' is non-nil,
8 move point to the beginning of the match.
9 (replace-search, replace-highlight): Use new arg `backward'
10 to set the value of `isearch-forward'.
11 (perform-replace): Add arg `backward' and use it to perform
12 replacement backward. (Bug#14979)
13
14 * isearch.el (isearch-query-replace): Use a negative prefix arg
15 to call `perform-replace' with a non-nil arg `backward'.
16
0cda6b7b
JL
172013-12-18 Juri Linkov <juri@jurta.org>
18
19 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
20 to the default list. Move `log-edit-show-files' to the end.
21 Add more available functions to options.
22 (log-edit): Move default specific settings to
23 `log-edit-insert-message-template'. Don't move point.
24 (log-edit-insert-message-template): New function.
25 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
26 (Bug#16170)
27
b216f0a6
JL
282013-12-18 Juri Linkov <juri@jurta.org>
29
30 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
31 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
32
1d1c55dc
LL
332013-12-18 Leo Liu <sdl.web@gmail.com>
34
35 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
36
64e4c76e
EZ
372013-12-18 Eli Zaretskii <eliz@gnu.org>
38
39 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
40 formats for displaying file sizes when the -s switch is given.
41 Instead, compute a separate format for displaying the size in
42 blocks, which is displayed in addition to the "regular" size.
43 When -h is given in addition to -s, produce size in blocks in
44 human-readable form as well. (Bug#16179)
45
b2984e39
TH
462013-12-18 Tassilo Horn <tsdh@gnu.org>
47
48 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference
49 tables with ~\ref{...} instead of only \ref{...}.
50
50ff2e06
CY
512013-12-18 Chong Yidong <cyd@gnu.org>
52
0081bc84
CY
53 * cus-edit.el (custom-magic-alist): Fix "themed" description
54 (Bug#14348).
55
a7ee9424
CY
56 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
57 is non-nil, do not create a new entry in the symbol's theme-value
58 or theme-face property; update theme-settings only (Bug#14664).
18874304 59 (custom-available-themes): Doc fix.
a7ee9424 60
8f942537
CY
61 * cus-theme.el (custom-new-theme-mode-map): Add bindings
62 (Bug#15674).
63
50ff2e06
CY
64 * replace.el (occur-engine): Avoid infloop (Bug#7593).
65
83c60f60
KI
662013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
67
68 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
69 (Bug#13914).
70
ba874b64
SF
712013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
72
73 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
74
1f41ee56
GM
752013-12-18 Glenn Morris <rgm@gnu.org>
76
77 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 78 * cus-start.el (load-prefer-newer): New option.
1f41ee56 79
e82134b1
LW
802013-12-18 Le Wang <l26wang@gmail.com>
81
82 * comint.el (comint-previous-matching-input-from-input): Retain
83 point (Bug#13404).
84
33f5d4c1
CY
852013-12-18 Chong Yidong <cyd@gnu.org>
86
87 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
88
ccc9f6dc
GM
892013-12-18 Glenn Morris <rgm@gnu.org>
90
91 * mail/emacsbug.el (report-emacs-bug):
92 Only mention enable-multibyte-characters if non-standard.
93
33dd8e95
JL
942013-12-17 Juri Linkov <juri@jurta.org>
95
96 * arc-mode.el (archive-extract-by-file): Check if directory exists
97 before deletion to not show irrelevant errors if it doesn't exist.
98
7a409b30
JL
992013-12-17 Juri Linkov <juri@jurta.org>
100
101 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
102 (Bug#14751)
103
104 * net/eww.el (browse-web): Add alias to `eww'.
105 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
106 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
107
108 * net/browse-url.el (browse-url-browser-function): Move `eww'
109 closer to similar functions.
110
111 * startup.el (fancy-startup-screen, fancy-about-screen):
112 Set browse-url-browser-function to eww-browse-url locally.
113 (Bug#14751)
114
2d6b6005
SM
1152013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
116
117 * window.el (window--pixel-to-total): Remove unused `mini' var.
118 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
119 (split-window): Remove unused `new' var.
120 (window--display-buffer): Remove unused `frame' and `delta' vars.
121 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
122 and display-width'.
123
cf2b7efc
MR
1242013-12-17 Martin Rudalics <rudalics@gmx.at>
125
126 * dired.el (dired-mark-pop-up):
127 * register.el (register-preview): Don't bind
128 split-height-threshold here since it's now done in
129 display-buffer-below-selected.
130
ed3af8a7 1312013-12-17 oblique <psyberbits@gmail.com> (tiny change)
132
133 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
134 xterm-rgb-convert-to-16bit.
135 (rxvt-register-default-colors): Standardize with
136 xterm-register-default-colors (Bug#14078).
137
76da3455
DK
1382013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
139
140 * simple.el (kill-region): Pass mark first, then point, so that
141 kill-append works right (Bug#12819).
142 (copy-region-as-kill, kill-ring-save): Likewise.
143
2b84d763
LL
1442013-12-17 Leo Liu <sdl.web@gmail.com>
145
146 * net/rcirc.el (rcirc-add-face):
147 * eshell/em-prompt.el (eshell-emit-prompt):
148 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
149 (Bug#16167)
150
e2f6a0bc
CY
1512013-12-17 Chong Yidong <cyd@gnu.org>
152
153 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
154 Suggested by Xue Fuqiao.
155
35b249a6
DG
1562013-12-17 Dmitry Gutov <dgutov@yandex.ru>
157
158 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
159
e9145444
SM
1602013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * net/shr.el (shr-insert-document): Remove unused var
163 `shr-preliminary-table-render'.
164 (shr-rescale-image): Remove unused arg `force'.
165 (shr-put-image): Update calls accordingly.
166 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
167
5556c0ce
DG
1682013-12-17 Dmitry Gutov <dgutov@yandex.ru>
169
170 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
171 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
172 :close-all, to see which indentation method to use (Bug#16116).
173 (smie-rules-function): Document the method :close-all.
174
11bade0a
LMI
1752013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
176
1c4b1e61
LMI
177 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
178
11bade0a
LMI
179 * net/eww.el (eww-display-html): If we can't find the anchor we're
180 looking for, then go to point-min.
181
8fb8c4f3
PE
1822013-12-16 Paul Eggert <eggert@cs.ucla.edu>
183
184 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
185 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
186 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
187 Expand dir too, in case it's relative.
188
6c8e0ae6
JL
1892013-12-16 Juri Linkov <juri@jurta.org>
190
191 * desktop.el (desktop-auto-save-timeout): Change default to
192 `auto-save-timeout'. Doc fix.
193 (desktop-save): Skip the timestamp in desktop-saved-frameset
194 when checking for auto-save changes.
195 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
196 `desktop-auto-save' is called repeatedly by the idle timer.
197 (desktop-auto-save-set-timer): Replace `run-with-timer' with
198 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
199 (Bug#15331)
200
2178e858
JL
2012013-12-16 Juri Linkov <juri@jurta.org>
202
203 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
204 (Bug#16035)
205 (isearch-pre-command-hook): Check `this-command' for symbolp.
206
39cb42c6
SM
2072013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
210
5b9b750a
TZ
2112013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
212
213 * progmodes/cfengine.el (cfengine3--current-word): Remove.
214 (cfengine3--current-function): Bring in the current-function
215 functionality from `cfengine3--current-word'.
216 (cfengine3-completion-function): Bring in the
217 bounds-of-current-word functionality from
218 `cfengine3--current-word'.
219
d144ef06
MR
2202013-12-16 Martin Rudalics <rudalics@gmx.at>
221
39cb42c6
SM
222 * window.el (display-buffer-below-selected):
223 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 224
a8bbe298
LL
2252013-12-16 Leo Liu <sdl.web@gmail.com>
226
227 * progmodes/compile.el (compile-goto-error): Do not push-mark.
228 Remove NOMSG arg and all uses changed.
229
2013a2f9
SM
2302013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
233 (cua--deactivate-rectangle): Don't deactivate the mark.
234 (cua-set-rectangle-mark): Don't set mark-active since
235 cua--activate-rectangle already does it for us.
236 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
237 non-rectangular region.
238
239 * emulation/cua-base.el (cua-repeat-replace-region):
240 Use with-current-buffer.
241
242 * net/gnutls.el: Use cl-lib.
243 (gnutls-negotiate): `mapcan' -> cl-mapcan.
244
5ae811dd
TZ
2452013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
246
247 * emacs-lisp/package.el (package-built-in-p): Support both
248 built-in and the package.el converted package descriptions.
249 (package-show-package-list): Allow keywords.
250 (package-keyword-button-action): Use it instead of
251 `finder-list-matches'.
252 (package-menu-filter-interactive): Interactive filtering (by
253 keyword) function.
254 (package-menu--generate): Support keywords and change keymappings
255 and headers when they are given.
256 (package--has-keyword-p): Helper function.
257 (package-menu--refresh): Use it.
258 (package--mapc): Helper function.
259 (package-all-keywords): Use it.
260 (package-menu-mode-map): Set up menu items and keybindings to
261 provide a filtering UI.
262
31b4827e
TZ
2632013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
264
265 * net/gnutls.el (gnutls-verify-error): New defcustom to control
266 the behavior when a certificate fails validation. Defaults to
267 old behavior: never abort, just warn.
268 (gnutls-negotiate): Use it.
269
f93cc74f
MR
2702013-12-14 Martin Rudalics <rudalics@gmx.at>
271
272 * window.el (display-buffer-below-selected): Never split window
273 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
274
f77d7d17
TW
2752013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
276
277 * emacs-lisp/package.el (package--prepare-dependencies): New function.
278 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
279
280 * icomplete.el (icomplete-completions): Make sure the prefix is already
281 displayed elsewhere before hiding it.
282
276bc333
DG
2832013-12-14 Dmitry Gutov <dgutov@yandex.ru>
284
285 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
286 open-paren tokens when preceded by a open-paren, too.
287 (ruby-smie-rules): Handle virtual indentation after open-paren
288 tokens specially. If there is code between it and eol, return the
289 column where is starts (Bug#16118).
290
d43957f3
TZ
2912013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
292
a5c1ac0c 293 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 294 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
295 (cfengine3--current-word): Fix parameters.
296 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
297 (cfengine3-completion-function, cfengine3--current-function):
298 Use `assq' for symbols.
d43957f3
TZ
299 (cfengine3--current-function): Fix `cfengine3--current-word' call.
300
06a4f110
GM
3012013-12-13 Glenn Morris <rgm@gnu.org>
302
303 * loadup.el (load-path): Warn if site-load or site-init changes it.
304 No more need to reset it when bootstrapping.
305
978a5fda
TZ
3062013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
307
308 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
309 locations for cf-promises.
310 (cfengine-mode-syntax-functions-regex): New caching variable.
311 (cfengine3-fallback-syntax): Fallback syntax for cases where
312 cf-promises doesn't run.
313 (cfengine3--current-word): Reimplement using
314 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
315 (cfengine3-completion-function, cfengine3--current-function):
316 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
317 (cfengine3-clear-syntax-cache): New function.
318 (cfengine3-make-syntax-cache): Simplify and create
319 `cfengine-mode-syntax-functions-regex' on demand.
320 (cfengine3-format-function-docstring): Don't call
321 `cfengine3-make-syntax-cache' explicitly.
322
71e6691e
MR
3232013-12-13 Martin Rudalics <rudalics@gmx.at>
324
325 Fix windmove-find-other-window broken after pixelwise resizing
326 (Bug#16017).
327 * windmove.el (windmove-other-window-loc): Revert change from
328 2013-12-04.
329 (windmove-find-other-window): Call window-in-direction.
330 * window.el (window-in-direction): New arguments SIGN, WRAP and
331 MINI to emulate original windmove-find-other-window behavior.
332
84c73ba0
DG
3332013-12-13 Dmitry Gutov <dgutov@yandex.ru>
334
335 * simple.el (blink-matching--overlay): New variable.
336 (blink-matching-open): Instead of moving point, highlight the
337 matching paren with an overlay
338 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
339
340 * faces.el (paren-showing-faces, show-paren-match)
341 (show-paren-mismatch): Move from paren.el.
342
b9e20952
LL
3432013-12-13 Leo Liu <sdl.web@gmail.com>
344
345 * indent.el (indent-region): Disable progress reporter in
346 minibuffer. (Bug#16108)
347
348 * bindings.el (visual-order-cursor-movement): Fix version.
349
ce030451
FEG
3502013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
351
352 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
353 Also match after beginning of line.
354 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
355 files. Thanks to Russell Sim. (Bug#15378)
356
4a9c6865
JL
3572013-12-13 Juri Linkov <juri@jurta.org>
358
359 * simple.el <Keypad support>: Remove key bindings duplicated
360 with bindings.el. (Bug#14397)
361
2bc170c3
JL
3622013-12-13 Juri Linkov <juri@jurta.org>
363
364 * comint.el (comint-mode-map): Replace `delete-char' with
365 `delete-forward-char'. (Bug#16109)
366
bc9222c9
FEG
3672013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
368
aa2bddd7
SM
369 * progmodes/python.el (python-indent-calculate-indentation):
370 Fix de-denters cornercase. (Bug#15731)
bc9222c9 371
cb3a1380
SM
3722013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
375 (advice--make): Pay attention to `depth'.
376 (advice--make-1): Don't autoload commands eagerly.
377 * emacs-lisp/elp.el (elp-instrument-function):
378 * emacs-lisp/trace.el (trace-function-internal):
379 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
380
381 * iswitchb.el (iswitchb-mode): Don't belittle ido.
382
01633a17
EZ
3832013-12-12 Eli Zaretskii <eliz@gnu.org>
384
385 * term/w32-win.el (w32-handle-dropped-file):
386 * startup.el (normal-top-level):
387 * net/browse-url.el (browse-url-file-url):
388 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
389 decode file names using 'utf-8' rather than
390 file-name-coding-system.
391
09faee72
FEG
3922013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
393
394 * progmodes/python.el (python-indent-context)
395 (python-indent-calculate-indentation): Fix auto-identation
396 behavior for comment blocks. (Bug#15916)
397
f4f84024 3982013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 399
cb3a1380
SM
400 * progmodes/python.el (python-indent-calculate-indentation):
401 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
402 operators when they are just string constituents. (Bug#15812)
403
d5ccb7be
JL
4042013-12-12 Juri Linkov <juri@jurta.org>
405
406 * uniquify.el (uniquify-buffer-name-style): Change default to
407 `post-forward-angle-brackets'.
408
409 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
410 `uniquify'. Change default to `post-forward-angle-brackets'.
411
7b3f5679
GM
4122013-12-11 Glenn Morris <rgm@gnu.org>
413
414 * emacs-lisp/package.el (finder-list-matches):
415 Autoload rather than falsely declaring.
416
f4fe8fdd
TZ
4172013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
418
419 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
420 (eww-mode-map): Use them.
421
3c29190f
MR
4222013-12-11 Martin Rudalics <rudalics@gmx.at>
423
424 * window.el (display-buffer-in-side-window): Fix doc-string
425 (Bug#16115).
426
0cd616a2
JB
4272013-12-11 Juanma Barranquero <lekktu@gmail.com>
428
429 * vc/vc-git.el: Silence byte-compiler warnings.
430 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
431 (log-edit-set-header): Declare.
432
3ef8e0d1
EZ
4332013-12-11 Eli Zaretskii <eliz@gnu.org>
434
435 * Makefile.in (custom-deps, finder-data): Run output file names
436 through unmsys--file-name. (Bug#16099)
437
afdadaf7
SM
4382013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
439
7ae3ae39 440 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 441 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 442
5b4f37ab
SM
443 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
444 instead of deleting the selection "by hand" (bug#16098).
445 Rely on insert-for-yank to yank rectangles.
446 (cua-highlight-region-shift-only): Mark obsolete.
447 (cua-mode): Don't enable/disable transient-mark-mode,
448 shift-select-mode (cua-mode works both with and without them), and
449 pc-selection-mode (obsolete).
450 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
451 (cua--deactivate-rectangle): Deactivate it.
452
4b72c12b
SM
453 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
454 (delete-selection-helper): Make sure yank starts at the top of the
455 deleted region.
456 (minibuffer-keyboard-quit): Use region-active-p.
457
e82af72d
SM
458 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
459
afdadaf7
SM
460 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
461 to `delete' (bug#16109).
462
ed4bc201
RS
4632013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
464
465 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
466 info manual and show keybindings and set `:group' keyword.
467
bb8097b9
JL
4682013-12-11 Juri Linkov <juri@jurta.org>
469
470 * delsel.el (delete-active-region): Let-bind `this-command'
471 to prevent `kill-region' from changing its original value.
472 (delete-selection-helper): Handle `overwrite-mode' for the type
473 `kill' exactly the same way as for the type `t'.
474 (insert-char, quoted-insert, reindent-then-newline-and-indent):
475 Support more commands. (Bug#13312)
476
c1916ff5
JL
4772013-12-11 Juri Linkov <juri@jurta.org>
478
479 * bindings.el: Map kp keys to non-kp keys systematically
480 with basic modifiers control, meta and shift. (Bug#14397)
481
b68cf43c
KN
4822013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
483
484 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
485 "Close browser" menu items. Fix wrong function of "List
486 bookmarks".
487
4cc51eaf
JL
4882013-12-11 Juri Linkov <juri@jurta.org>
489
490 * misearch.el (multi-isearch-buffers): Set the value of
491 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
492 arg of isearch-forward to t.
493 (multi-isearch-buffers-regexp): Set the value of
494 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
495 arg of isearch-forward-regexp to t.
496 (multi-isearch-files): Set the value of
497 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
498 arg of isearch-forward to t.
499 (multi-isearch-files-regexp): Set the value of
500 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
501 arg of isearch-forward-regexp to t. (Bug#16035)
502
503 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
504 arg of isearch-forward to t.
505 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
506 arg of isearch-forward-regexp to t.
507 (dired-isearch-filter-filenames): Remove unnecessary check for
508 `dired-isearch-filenames'.
509
510 * comint.el (comint-history-isearch-backward):
511 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
512 (comint-history-isearch-backward-regexp):
513 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
514
ceac12b7
EZ
5152013-12-10 Eli Zaretskii <eliz@gnu.org>
516
517 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
518 unmsys--file-name. (Bug#16099)
519
5a565782
TZ
5202013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
521
cb3a1380
SM
522 * emacs-lisp/package.el (package-keyword-button-action):
523 Remove finder.el require dependency.
5a565782 524
a81fc7ba
TZ
5252013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
526
527 * emacs-lisp/package.el: Require finder.el.
528 (describe-package-1): Add keyword buttons.
529 (package-make-button): New convenience function.
530 (package-keyword-button-action): Keyword button action using
531 `finder-list-matches'
532
6aaca951
EZ
5332013-12-09 Eli Zaretskii <eliz@gnu.org>
534
535 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
536 last commit.
537
a1099a91
MA
5382013-12-09 Michael Albinus <michael.albinus@gmx.de>
539
540 * autorevert.el (auto-revert-notify-add-watch): Do not handle
541 symlinked files.
542
8212d9c0
DG
5432013-12-09 Dmitry Gutov <dgutov@yandex.ru>
544
545 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
546 after the end of a percent literal.
547
8f48d131
CD
5482013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
549
cb3a1380
SM
550 * progmodes/ruby-mode.el (ruby-forward-string): Document.
551 Handle caret-delimited strings (Bug#16079).
8f48d131 552
ff8c9764
DG
5532013-12-09 Dmitry Gutov <dgutov@yandex.ru>
554
cb3a1380
SM
555 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
556 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
557 `ruby-parse-partial' (Bug#16078).
558
d64643b4
LL
5592013-12-09 Leo Liu <sdl.web@gmail.com>
560
561 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
562
47e59c66
DG
5632013-12-08 Dmitry Gutov <dgutov@yandex.ru>
564
565 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
566 (js-switch-indent-offset): New option.
567 (js--proper-indentation): Use it. And handle the case when
568 "default" is actually a key in an object literal.
569 (js--same-line): New function.
570 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
571 (js--indent-in-array-comp, js--array-comp-indentation):
572 New functions.
47e59c66
DG
573 (js--proper-indentation): Use them, to handle array comprehension
574 continuations.
575
974ebc9c
LL
5762013-12-08 Leo Liu <sdl.web@gmail.com>
577
578 * progmodes/flymake.el (flymake-highlight-line): Re-write.
579 (flymake-make-overlay): Remove arg MOUSE-FACE.
580 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
581
27262e39
SM
5822013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
583
584 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
585 New function.
586 (redisplay-highlight-region-function): Use it.
587
588 * emulation/cua-base.el (cua--explicit-region-start)
589 (cua--last-region-shifted): Remove.
590 (cua--deactivate): Use deactivate-mark.
591 (cua--pre-command-handler-1): Don't handle shift-selection.
592 (cua--post-command-handler-1): Don't change transient-mark-mode.
593 (cua--select-keymaps): Use region-active-p rather than
594 cua--explicit-region-start or cua--last-region-shifted.
595 (cua-mode): Enable shift-select-mode.
596
6407822c
LL
5972013-12-08 Leo Liu <sdl.web@gmail.com>
598
27262e39
SM
599 * progmodes/flymake.el (flymake-popup-current-error-menu):
600 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
601 (flymake-posn-at-point-as-event, flymake-popup-menu)
602 (flymake-make-emacs-menu): Remove. (Bug#16077)
603
00a2b823
SM
6042013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
605
02033d49
SM
606 * rect.el (rectangle-mark-mode): Activate mark even if
607 transient-mark-mode is off (bug#16066).
608 (rectangle--highlight-for-redisplay): Fix boundary condition when point
609 is > mark and at bolp.
610
6f8dfccf
SM
611 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
612 (region-extract-function): Use it.
613 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
614 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
615 Delete functions.
616 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
617 kill-ring-save, kill-region, delete-char, delete-forward-char.
618 Ignore self-insert-iso.
619
620 * emulation/cua-gmrk.el (cua--init-global-mark):
621 Ignore `self-insert-iso'.
622
623 * emulation/cua-base.el (cua--prefix-copy-handler)
624 (cua--prefix-cut-handler): Rely on region-extract-function rather than
625 checking cua--rectangle.
626 (cua-delete-region): Use region-extract-function.
627 (cua-replace-region): Delete function.
628 (cua-copy-region, cua-cut-region): Obey region-extract-function.
629 (cua--pre-command-handler-1): Don't do the delete-selection thing.
630 (cua--self-insert-char-p): Ignore `self-insert-iso'.
631 (cua--init-keymaps): Don't remap delete-selection commands.
632 (cua-mode): Use delete-selection-mode instead of rolling our own
633 (bug#16085).
634
635 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
636 Obey region-extract-function.
637
00a2b823
SM
638 Make registers and delete-selection-mode work on rectangles.
639 * register.el (describe-register-1): Don't modify the register's value.
640 (copy-to-register): Obey region-extract-function.
641 * delsel.el (delete-active-region): Obey region-extract-function.
642
a92fa5f1
LL
6432013-12-08 Leo Liu <sdl.web@gmail.com>
644
645 * progmodes/flymake.el (flymake, flymake-error-bitmap)
646 (flymake-warning-bitmap, flymake-fringe-indicator-position)
647 (flymake-compilation-prevents-syntax-check)
648 (flymake-start-syntax-check-on-newline)
649 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
650 (flymake-start-syntax-check-on-find-file, flymake-log-level)
651 (flymake-xml-program, flymake-master-file-dirs)
652 (flymake-master-file-count-limit)
653 (flymake-allowed-file-name-masks): Relocate.
654 (flymake-makehash, flymake-float-time)
655 (flymake-replace-regexp-in-string, flymake-split-string)
656 (flymake-get-temp-dir): Remove.
657 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
658 (flymake-current-row, flymake-selected-frame)
659 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
660 related functions. (Bug#16077)
661
73c8ceea
BB
6622013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
663
664 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
665
faec28d9
TH
6662013-12-07 Tassilo Horn <tsdh@gnu.org>
667
668 * help-fns.el (describe-function-1): Use new advice-* functions
669 rather than old ad-* functions. Fix function type description and
670 source links for advised functions and subrs.
671
e330b646
LMI
6722013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
673
00a2b823 674 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 675
4803595d
MA
6762013-12-06 Michael Albinus <michael.albinus@gmx.de>
677
678 * progmodes/compile.el (compilation-start):
679 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
680
681 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
682 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
683
fa834a93
DG
6842013-12-06 Dmitry Gutov <dgutov@yandex.ru>
685
00a2b823
SM
686 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
687 Touch up the last change.
fa834a93 688
b2856a6f
LL
6892013-12-06 Leo Liu <sdl.web@gmail.com>
690
691 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
692 (inferior-octave-startup): Always use "octave> " for prompt.
693 (octave-goto-function-definition)
694 (octave-sync-function-file-names)
695 (octave-find-definition-default-filename): Remove redundant backquotes.
696
af67e79a
DG
6972013-12-06 Dmitry Gutov <dgutov@yandex.ru>
698
699 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
700 syntax for `?'.
701 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
702 where appropriate already.
703 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
704 end of method names (Bug#15874).
705
bf093209
JL
7062013-12-06 Juri Linkov <juri@jurta.org>
707
708 * isearch.el (isearch--saved-overriding-local-map):
709 New internal variable.
710 (isearch-mode): Set it to the initial value of
711 `overriding-terminal-local-map'.
712 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
713 with `isearch--saved-overriding-local-map'. (Bug#16035)
714
16588fad
DG
7152013-12-06 Dmitry Gutov <dgutov@yandex.ru>
716
00a2b823
SM
717 * progmodes/octave.el (inferior-octave-completion-table):
718 Turn back into function, use `completion-table-with-cache'
16588fad
DG
719 (Bug#11906). Update all references.
720
721 * minibuffer.el (completion-table-with-cache): New function.
722
bf4906d7
CD
7232013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
724
725 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
726
ff69c18f
TZ
7272013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
728
729 * net/eww.el (eww-current-source): New variable to store page
730 source.
731 (eww-display-html, eww-mode, eww-save-history)
732 (eww-restore-history): Use it.
733 (eww-view-source): New command to view page source.
734 Opportunistically uses `html-mode' to highlight the buffer.
735 (eww-mode-map): Install it.
736
b85eff45
MA
7372013-12-05 Michael Albinus <michael.albinus@gmx.de>
738
739 * net/dbus.el (dbus-unregister-service)
740 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
741 Fix docstring.
742 (dbus-unregister-service): Skip :serial entries in
743 `dbus-registered-objects-table'.
744 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
745
39eb0899
TZ
7462013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
747
748 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
749 around keywords with extra `split-string' argument.
750
456760a5
MR
7512013-12-04 Martin Rudalics <rudalics@gmx.at>
752
753 * windmove.el (windmove-other-window-loc): Handle navigation
754 between windows (excluding the minibuffer window - Bug#16017).
755
81961e4c
MA
7562013-12-04 Michael Albinus <michael.albinus@gmx.de>
757
758 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
759 in D-Bus type syntax.
760 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
761 preserve unibyte strings. (Bug#16048)
762
8497f938
SM
7632013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
764
765 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
766 Call force-mode-line-update is the proper buffer (bug#16042).
767
dda61916
DG
7682013-12-04 Dmitry Gutov <dgutov@yandex.ru>
769
770 * vc/log-edit.el (log-edit-add-new-comment): Rename to
771 `log-edit-remember-comment', make argument optional. Adjust all
772 callers.
773 (log-edit-mode): Add `log-edit-remember-comment' to
774 `kill-buffer-hook' locally.
775 (log-edit-kill-buffer): Don't remember comment explicitly since
776 the buffer is killed anyway.
777
c085e5b9
JL
7782013-12-04 Juri Linkov <juri@jurta.org>
779
780 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
781 add-hook and remove-hook for multi-buffer search. (Bug#16035)
782
d6f2380e
TR
7832013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
784
785 * notifications.el (notifications-close-notification): Call the
81961e4c 786 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 787
39fa32d6
KY
7882013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
789
790 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
791
9139632a
JL
7922013-12-03 Juri Linkov <juri@jurta.org>
793
794 * progmodes/compile.el (compilation-start): Rename window alist
795 entry `no-display-ok' to `allow-no-window'.
796
797 * simple.el (shell-command): Add window alist entry
798 `allow-no-window' to `display-buffer'.
799 (async-shell-command): Doc fix.
800
801 * window.el (display-buffer-no-window): New action function.
802 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
803
0f457a37
DG
8042013-12-02 Dmitry Gutov <dgutov@yandex.ru>
805
806 * vc/log-edit.el (log-edit-set-header): Extract from
807 `log-edit-toggle-header'.
808 (log-edit-extract-headers): Separate the summary, when extracted
809 from header, from the rest of the message with an empty line.
810
811 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
812 line, if present, to the Summary header.
813
0962f376
SM
8142013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
815
816 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
817 in current-buffer (bug#16029).
818
f345395c
HE
8192013-12-02 Helmut Eller <eller.helmut@gmail.com>
820
821 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
822 (debugger-mode-map): Bind it.
823 (debugger--backtrace-base): New function.
824 (debugger-eval-expression): Use it.
825 (debugger-frame-number): Skip local vars when present.
826 (debugger--locals-visible-p, debugger--insert-locals)
827 (debugger--show-locals, debugger--hide-locals): New functions.
828
a8a15d9d
MA
8292013-12-02 Michael Albinus <michael.albinus@gmx.de>
830
831 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
832 "LC_ALL".
833 (tramp-get-remote-locale): New defun.
834 (tramp-open-connection-setup-interactive-shell): Use it.
835
0518b057
LL
8362013-12-02 Leo Liu <sdl.web@gmail.com>
837
838 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
839
840 * progmodes/sh-script.el (sh-shell-process):
841 * progmodes/octave.el (inferior-octave-process-live-p):
842 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
843 (gdb-inferior-io-sentinel):
844 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
845
3adc9c6d
DG
8462013-12-02 Dmitry Gutov <dgutov@yandex.ru>
847
848 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
849 `save-selected-window' to `log-edit-hide-buf'. This makes
850 `log-edit-show-files' idempotent.
851 (log-edit-show-files): Mark the new window as dedicated.
852
47e8b74e
DG
8532013-12-02 Dmitry Gutov <dgutov@yandex.ru>
854
855 * vc/log-edit.el (log-edit-mode-map): Add binding for
856 `log-edit-kill-biffer'.
857 (log-edit-hide-buf): Add a FIXME comment.
858 (log-edit-add-new-comment): New function, extracted from
859 `log-edit-done'.
860 (log-edit-done, log-edit-add-to-changelog): Use it.
861 (log-edit-kill-buffer): New command.
862
1f6e1bb0
LMI
8632013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
864
865 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
866 instead of killing the buffer.
867
fb651d15
SM
8682013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
869
870 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
871
8feacce0
RS
8722013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
873
fb651d15 874 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 875 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
876 (eww-form-checkbox, eww-toggle-checkbox):
877 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
878
879 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
880 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
881 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
882 no :src tag was specified.
883
fb651d15 884 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
885 (eww-render): Handle `eww-use-external-browser-for-content-type'.
886 Use \\` to match beginning of string instead of ^.
887 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 888 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 889
177948a5
RS
890 * net/shr.el (shr-tag-video): Display content for video if no
891 poster is available.
eb2dd24d 892 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
893
894 * net/eww.el (eww-text-input-types): : New const.
895 (eww-process-text-input): Treat input types in
896 `eww-text-input-types' as text.
897
8feacce0
RS
898 * net/shr.el (shr-tag-table): Fix comment typo.
899
513562a1
LMI
9002013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
901
902 * net/eww.el (eww-follow-link): New command to avoid reloading
903 pages when we follow #target links (bug#15243).
de8a5633 904 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 905
9dd99753
KN
9062013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
907
908 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
909 forms.
910
3e9876de
LMI
9112013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
912
913 * net/eww.el (eww-restore-history): Update the window title after
914 moving in the history.
ab6dea82 915 (eww-current-dom): New variable used to save the current DOM.
3e9876de 916
52789f7f
DG
9172013-12-01 Dmitry Gutov <dgutov@yandex.ru>
918
919 * vc/log-edit.el (log-edit-mode-map): Add binding for
920 `log-edit-beginning-of-line'.
921 (log-edit-setup-add-author): New user option.
922 (log-edit-beginning-of-line): New command.
923 (log-edit): Move major mode call above the contents setup so that
924 the local variable values are already applied.
925 (log-edit): Only insert "Author: " when
926 `log-edit-setup-add-author' is non-nil.
927 (log-edit): When SETUP is non-nil, position point after ": "
928 instead of point-min.
929
2e6710c3
GM
9302013-12-01 Glenn Morris <rgm@gnu.org>
931
932 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
933
fadec31f
EZ
9342013-11-30 Eli Zaretskii <eliz@gnu.org>
935
936 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 937 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
938 visible. (Bug#16014)
939
10634b40 9402013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
941
942 Support resizing frames and windows pixelwise.
943 * cus-start.el (frame-resize-pixelwise)
944 (window-resize-pixelwise): New entries.
945 * emacs-lisp/debug.el (debug): Use window-total-height instead
946 of window-total-size.
947 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
948 * help.el (describe-bindings-internal): Call help-buffer
949 (temp-buffer-max-width): New option.
950 (resize-temp-buffer-window, help-window-setup)
951 (with-help-window): Rewrite.
952 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
953 dragging dividers.
954 * window.el (frame-char-size, window-min-pixel-height)
955 (window-safe-min-pixel-height, window-safe-min-pixel-width)
956 (window-min-pixel-width, window-safe-min-pixel-size)
957 (window-combination-p, window-safe-min-size)
958 (window-resizable-p, window--size-to-pixel)
959 (window--pixel-to-size, window--resize-apply-p): New functions.
960 (window-safe-min-height): Fix doc-string.
961 (window-size, window-min-size, window--min-size-1)
962 (window-sizable, window-sizable-p, window--min-delta-1)
963 (window-min-delta, window--max-delta-1, window-max-delta)
964 (window--resizable, window--resizable-p, window-resizable)
965 (window-full-height-p, window-full-width-p, window-at-side-p)
966 (window--in-direction-2, window-in-direction)
967 (window--resize-reset-1, window--resize-mini-window)
968 (window-resize, window-resize-no-error)
969 (window--resize-child-windows-normal)
970 (window--resize-child-windows, window--resize-siblings)
971 (window--resize-this-window, window--resize-root-window)
972 (window--resize-root-window-vertically)
973 (adjust-window-trailing-edge, enlarge-window, shrink-window)
974 (maximize-window, minimize-window, delete-window)
975 (quit-restore-window, window-split-min-size, split-window)
976 (balance-windows-2, balance-windows)
977 (balance-windows-area-adjust, balance-windows-area)
978 (window--state-get-1, window-state-get, window--state-put-1)
979 (window--state-put-2, window-state-put)
fb651d15
SM
980 (display-buffer-record-window, window--display-buffer):
981 Make functions handle pixelwise sizing of windows.
880e6158 982 (display-buffer--action-function-custom-type)
fb651d15
SM
983 (display-buffer-fallback-action):
984 Add display-buffer-in-previous-window.
880e6158
MR
985 (display-buffer-use-some-window): Resize window to height it had
986 before.
987 (fit-window-to-buffer-horizontally): New option.
988 (fit-frame-to-buffer): Describe new values.
989 (fit-frame-to-buffer-bottom-margin): Replace with
990 fit-frame-to-buffer-margins.
991 (window--sanitize-margin): New function.
992 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
993 using window-text-pixel-size.
994
f9b697dd
GM
9952013-11-30 Glenn Morris <rgm@gnu.org>
996
3e2fb4db
GM
997 * emacs-lisp/bytecomp.el (byte-compile-form):
998 Make the `interactive-only' warning like the `obsolete' one.
999 * comint.el (comint-run):
1000 * files.el (insert-file-literally, insert-file):
1001 * replace.el (replace-string, replace-regexp):
1002 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1003 (goto-line, insert-buffer, next-line, previous-line):
1004 Tweak `interactive-only' spec.
1005
f9b697dd
GM
1006 Stop keeping (most) generated cedet grammar files in the repository.
1007 * Makefile.in (semantic): New.
1008 (compile-main): Depend on semantic.
1009
da048127
SM
10102013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1011
7784b779
SM
1012 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1013 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1014
4e36a6a6
SM
1015 * uniquify.el (uniquify-buffer-name-style): Change default.
1016
1017 * loadup.el: Preload "uniquify".
1018
e0ba1308
SM
1019 * time.el (display-time-update): Update all mode lines (bug#15999).
1020
da048127
SM
1021 * electric.el (electric-indent-mode): Enable by default.
1022 * loadup.el: Preload "electric".
1023
015b3b3e
BB
10242013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1025
1026 * emacs-lisp/helpers.el (string-empty-p): New function.
1027 (string-blank-p): New function.
1028
7efb806d
AP
10292013-11-29 Andreas Politz <politza@hochschule-trier.de>
1030
1031 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1032 (Bug#14029).
1033
c8f0efc2
AP
10342013-11-29 Andreas Politz <politza@fh-trier.de>
1035 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1036 allow non-lambda lists as functions.
1037 (imenu--in-alist): Don't recurse into non-subalists.
1038 (imenu): Don't pass function itself as an argument (Bug#14029).
1039
bd15d9d1
SM
10402013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * progmodes/python.el (python-mode-map): Remove binding for ":".
1043 (python-indent-electric-colon): Remove command.
1044 (python-indent-post-self-insert-function): Integrate the previous code
1045 of python-indent-electric-colon. Make it conditional on
1046 electric-indent-mode.
1047 (python-mode): Add ?: to electric-indent-chars.
1048 Move python-indent-post-self-insert-function to the end of
1049 post-self-insert-hook.
1050
1b10adb6
SM
10512013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1052
655ab9a3
SM
1053 * doc-view.el (doc-view-goto-page): Update mode-line.
1054
1b10adb6
SM
1055 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1056
7e3bf78c
GM
10572013-11-27 Glenn Morris <rgm@gnu.org>
1058
1059 * international/charprop.el, international/uni-bidi.el:
1060 * international/uni-category.el, international/uni-combining.el:
1061 * international/uni-comment.el, international/uni-decimal.el:
1062 * international/uni-decomposition.el, international/uni-digit.el:
1063 * international/uni-lowercase.el, international/uni-mirrored.el:
1064 * international/uni-name.el, international/uni-numeric.el:
1065 * international/uni-old-name.el, international/uni-titlecase.el:
1066 * international/uni-uppercase.el:
1067 Remove generated files from VCS repository.
1068
fb6a5d68
EZ
10692013-11-27 Eli Zaretskii <eliz@gnu.org>
1070
1071 * filenotify.el (file-notify-add-watch): Don't special-case
1072 w32notify when computing the directory to watch.
1073
cb6c95a3
GM
10742013-11-27 Glenn Morris <rgm@gnu.org>
1075
20372d0c
GM
1076 Make bootstrap without generated uni-*.el files possible again.
1077 * loadup.el: Update command-line-args checking for unidata-gen.
1078 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1079 * composite.el, international/characters.el:
1080 Handle unicode tables being undefined.
1081
52d6635f 1082 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1083 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1084 (compile-main): Depend on leim rule.
1085 (leim): New rule.
1086 * loadup.el: Move leim-list.el to leim/ subdirectory.
1087 * startup.el (normal-top-level): No more leim directory.
1088 * international/ja-dic-cnv.el (skkdic-convert):
1089 Disable version-control and autoloads in output files.
1090 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1091 Disable version-control and autoloads in output files.
1092 * leim/quail: Move here from ../leim.
1093 * leim/quail/hangul.el (hangul-input-method-activate):
1094 Add autoload cookie.
1095 (generated-autoload-load-name): Set file-local value.
1096 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1097 (generated-autoload-load-name): Set file-local value.
1098
0449d6cd 10992013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
1100
1101 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1102 (eww-add-bookmark): ask confirmation when add to bookmarks
1103 (eww-quit): ask confirmation before quitting eww
1104
0e2c793f
EZ
11052013-11-26 Eli Zaretskii <eliz@gnu.org>
1106
1107 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1108 reading output from Diff on MS-Windows and MS-DOS.
1109
447bdcb8
BB
11102013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1111
1112 * emacs-lisp/helpers.el (string-reverse): New function.
1113
5fbf6856
MA
11142013-11-26 Michael Albinus <michael.albinus@gmx.de>
1115
1116 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1117 names on MS Windows, like "/[::1]:".
1118
1119 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1120 SWITCHES.
1121
624780f0
GM
11222013-11-26 Glenn Morris <rgm@gnu.org>
1123
0bf3f0fa
GM
1124 * progmodes/python.el (python-indent-guess-indent-offset):
1125 Avoid corner-case error. (Bug#15975)
1126
624780f0
GM
1127 Preload leim-list.el. (Bug#4789)
1128 * loadup.el: Load leim-list.el when found.
1129 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1130
4301875e 11312013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1132
1133 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1134
4301875e
BB
1135 * emacs-lisp/helpers.el (string-join): New function.
1136
1633a815 11372013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1138
1139 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1140 Mark as obsolete and replace it with a symbol property.
1141 (byte-compile-form): Use new 'interactive-only property.
1142 * comint.el, files.el, replace.el, simple.el:
1143 Apply new 'interactive-only properly.
1144
00139435
MR
11452013-11-25 Martin Rudalics <rudalics@gmx.at>
1146
1147 * window.el (display-buffer-at-bottom): Make sure that
1148 split-window-sensibly creates the new window on bottom
1149 (Bug#15961).
1150
5f5b128d
DK
11512013-11-23 David Kastrup <dak@gnu.org>
1152
1153 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1154 on the conflict markers when available.
1155 (smerge--get-marker): New function.
1156 (smerge-end-re, smerge-base-re): Add subgroup.
1157
623891e5
SM
11582013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * frame.el (handle-focus-in, handle-focus-out): Add missing
1161 interactive spec.
1162
05ca27d8
MA
11632013-11-25 Michael Albinus <michael.albinus@gmx.de>
1164
1165 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1166 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1167
511fa0d3
SM
11682013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1169
e82ad66c
SM
1170 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1171 (gomoku--last-pos): New var.
1172 (gomoku--intangible-chars): New const.
1173 (gomoku--intangible): New function.
1174 (gomoku-mode): Use it. Derive from special-mode.
1175 (gomoku-move-up): Adjust line count.
1176 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1177 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1178 Simplify accordingly.
1179
511fa0d3
SM
1180 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1181 Remove blink-cursor code.
1182 (blink-cursor-timer-function, blink-cursor-suspend):
1183 Don't special-case GUIs.
1184 (blink-cursor-mode): Use focus-in/out-hook.
1185
6f20dd03
DG
11862013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1187
1188 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1189 work when annotation is invisible (Bug#13886).
1190
431dec31 11912013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1192
1193 * json.el (json-alist-p): Only return non-nil if the alist has
1194 simple keys (Bug#13518).
1195
431dec31 11962013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1197
1198 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1199 when control-statement is the first statement in a buffer (Bug#15956).
1200
ee4f0261
DG
12012013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1202
1203 * imenu.el (imenu-generic-skip-comments-and-strings):
1204 New option (Bug#15560).
1205 (imenu--generic-function): Use it.
1206
c484f866
JS
12072013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1208
1209 * minibuffer.el (completion--in-region-1): Scroll the correct
1210 window. (Bug#13898)
1211
41ce6f70
BB
12122013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1213
b55aea38
BB
1214 * emacs-lisp/helpers.el: Add some string helpers.
1215 (string-trim-left): Removes leading whitespace.
1216 (string-trim-right): Removes trailing whitespace.
1217 (string-trim): Removes leading and trailing whitespace.
1218
41ce6f70
BB
1219 * subr.el (string-suffix-p): New function.
1220
3cfb6af3
GM
12212013-11-23 Glenn Morris <rgm@gnu.org>
1222
1223 * progmodes/python.el (python-shell-send-file):
1224 Add option to delete file when done. (Bug#15647)
1225 (python-shell-send-string, python-shell-send-region): Use it.
1226
c27924b7
IS
12272013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1228
e1b01c7f
IS
1229 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1230 to set buffer-read-only to t, never to nil. (Bug#15938)
1231
c27924b7
IS
1232 * textmodes/tex-mode.el (latex-noindent-environments):
1233 Add safe-local-variable property. (Bug#15936)
1234
17e0445b
GM
12352013-11-23 Glenn Morris <rgm@gnu.org>
1236
92f78ea3
GM
1237 * textmodes/enriched.el (enriched-mode): Doc fix.
1238 * emacs-lisp/authors.el (authors-renamed-files-alist):
1239 Add enriched.doc -> enriched.txt.
1240
17e0445b
GM
1241 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1242
965bb23a
LL
12432013-11-22 Leo Liu <sdl.web@gmail.com>
1244
1245 * progmodes/octave.el (inferior-octave-startup): Spit out error
1246 message.
1247
d19ffd64
BB
12482013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1249
1250 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1251 Improve docstring.
15ba2182
BB
1252 Add :version.
1253 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1254
7a7567d2
LL
12552013-11-22 Leo Liu <sdl.web@gmail.com>
1256
1257 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1258 (Bug#15076)
8c09f64b
LL
1259 (octave-help-mode): Adapt to change to help-mode-finish to use
1260 derived-mode-p on 2013-09-17.
1261 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1262 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1263
724bc265
LL
12642013-11-22 Leo Liu <sdl.web@gmail.com>
1265
1266 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1267 (inferior-octave-startup, inferior-octave-check-process)
1268 (inferior-octave-track-window-width-change)
1269 (octave-completion-at-point, octave-eldoc-function): Use it.
1270 (octave-kill-process): Provide confirmation. (Bug#10564)
1271
38637cca
LL
12722013-11-21 Leo Liu <sdl.web@gmail.com>
1273
511fa0d3
SM
1274 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1275 Fix obsolete variable comment-use-global-state.
38637cca 1276
06e752b4
RS
12772013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1278
511fa0d3
SM
1279 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1280 Add `octave-source-file'.
06e752b4
RS
1281 (octave-source-file): New function. (Bug#15935)
1282
0449d6cd 12832013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1284
1285 * net/eww.el (eww-local-regex): New variable.
1286 (eww): Use it to detect localhost and similar.
1287
b6ffa04a
LL
12882013-11-21 Leo Liu <sdl.web@gmail.com>
1289
1290 Add completion for command `ag'.
2021a200
LL
1291 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1292 (pcomplete/ag): New function.
1293 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1294
d1a6bccc
SM
12952013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1298 (bug#14646).
1299 (make-obsolete): Remove interactive spec.
1300
2df10228
GM
13012013-11-21 Glenn Morris <rgm@gnu.org>
1302
1303 * startup.el (command-line-1): Use path-separator with -L.
1304
86fd16b6
TZ
13052013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1306
1307 * emacs-lisp/package.el (describe-package-1): Add package archive
1308 to shown fields.
1309
0449d6cd 13102013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1311
1312 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1313 Change default to "# encoding: %s" to differentiate it from the
1314 default Ruby encoding comment template.
1315
dc7e8c17 13162013-11-20 era eriksson <era+emacsbugs@iki.fi>
1317
1318 * ses.el (ses-mode): Doc fix. (Bug#14748)
1319
f0cfa5fe
LL
13202013-11-20 Leo Liu <sdl.web@gmail.com>
1321
1322 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1323
826dc7b6
DN
13242013-11-19 Dan Nicolaescu <dann@gnu.org>
1325
1326 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1327 when rebase or bisect are in progress.
1328
a6e3a5d5
XF
13292013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1330
1331 * filenotify.el (file-notify-add-watch): Doc fix.
1332
f130cb76
LL
13332013-11-19 Leo Liu <sdl.web@gmail.com>
1334
e0855d7d
LL
1335 * obsolete/rcompile.el: Mark obsolete.
1336
f130cb76 1337 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1338 (compilation-goto-locus, compilation-find-file):
1339 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1340 (Bug#13594)
1341
1342 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1343 new parameter no-display-ok. Return either a window or nil
1344 but never a non-window value.
f130cb76 1345
1f35d401
SM
13462013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1347
25158c76
SM
1348 * electric.el (electric-indent-mode-map): Remove.
1349 (electric-indent-mode): Change the global-map instead (bug#15915).
1350
1351 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1352 Use add-function.
1f35d401 1353
9bc67baa
SM
13542013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1355
986545b5
SM
1356 * emacs-lisp/nadvice.el (remove-function): Align with
1357 add-function's behavior.
1358
9bc67baa
SM
1359 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1360 (gdb--string-regexp): New constant.
1361 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1362 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1363 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1364 submatch 1.
1365 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1366 Adjust use accordingly.
1367 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1368
56cd894e
AS
13692013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1370
1371 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1372 interpolation curlies (Bug#15914).
1373
014690de
JB
13742013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1375
1376 * calc/calc.el (calc-context-sensitive-enter): New variable.
1377 (calc-enter): Use `calc-context-sensitive-enter'.
1378
7e26a6c3
TZ
13792013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1380
1381 * progmodes/cfengine.el: Version bump.
1382 (cfengine-cf-promises): New defcustom to locate cf-promises.
1383 (cfengine3-vartypes): Add new "data" type.
1384 (cfengine3--current-word): New function to get current name-like
1385 word or its bounds.
1386 (cfengine3--current-function): New function to look up a CFEngine
1387 function's definition.
1388 (cfengine3-format-function-docstring): New function.
1389 (cfengine3-make-syntax-cache): New function.
1390 (cfengine3-documentation-function): New function: ElDoc glue.
1391 (cfengine3-completion-function): New function: completion glue.
1392 (cfengine3-mode): Set `compile-command',
1393 `eldoc-documentation-function', and add to
1394 `completion-at-point-functions'.
1395
355204dd
MA
13962013-11-16 Michael Albinus <michael.albinus@gmx.de>
1397
1398 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1399 `tramp-current-connection'.
1400
43cebc23
DG
14012013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1402
1403 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1404 nil/self/true/false with "end of symbol".
1405
a3fed6ff
BB
14062013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1407
1408 * subr.el (version-regexp-alist): Fix a typo.
1409
e675b3e4
MA
14102013-11-15 Michael Albinus <michael.albinus@gmx.de>
1411
1412 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1413 "en_US.utf8" and "LC_CTYPE" to "".
1414 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1415 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1416
a1f03e89
LL
14172013-11-15 Leo Liu <sdl.web@gmail.com>
1418
1419 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1420
5d9d9451
SM
14212013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1422
58362662
CS
1423 * progmodes/gud.el (ctl-x-map):
1424 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1425 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1426
6c1bf086
BB
14272013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1428
0d5363c4
BB
1429 * subr.el (version-regexp-alist):
1430 Recognize hg, svn and darcs versions as snapshot versions.
1431
4e9fc48c
BB
1432 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1433 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1434 (ruby--encoding-comment-required-p): Extract from
1435 `ruby-mode-set-encoding'.
1436 (ruby-mode-set-encoding): Add the ability to always insert an
1437 utf-8 encoding comment. Fix and simplify coding comment update
1438 logic.
6c1bf086 1439
2f7e72f8
MA
14402013-11-14 Michael Albinus <michael.albinus@gmx.de>
1441
1442 * net/tramp-gvfs.el (top): Run init code only when
1443 `tramp-gvfs-enabled' is not nil.
1444 (tramp-gvfs-enabled): Check also :system bus.
1445
0f137a73
SM
14462013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 Sync with upstream verilog-mode revision 78e66ba.
1449 * progmodes/verilog-mode.el (verilog-end-of-defun)
1450 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1451 (verilog-get-end-of-defun): Remove unused argument.
1452 (verilog-comment-depth): Remove unused local `e'.
1453 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1454 Don't pass arg to verilog-get-end-of-defun.
1455
1c276bdd
GM
14562013-11-14 Glenn Morris <rgm@gnu.org>
1457
1458 * obsolete/assoc.el (aget): Prefix dynamic variable.
1459
1460 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1461
ff6ec81d
SM
14622013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1463
1464 * widget.el, hfy-cmap.el: Remove bogus package version number.
1465
75f777b6
GM
14662013-11-13 Glenn Morris <rgm@gnu.org>
1467
1d43dba1
GM
1468 * replace.el (replace-eval-replacement):
1469 Try to give more helpful error message. (Bug#15836)
1470
ff4b7bd5
GM
1471 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1472 (archive-7z-update): Avoid custom type mismatches.
1473
75f777b6
GM
1474 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1475
11151a06
MA
14762013-11-13 Michael Albinus <michael.albinus@gmx.de>
1477
e675b3e4 1478 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1479 address can be empty.
1480
1481 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1482 Accept nil SWITCHES.
1483 (tramp-gvfs-handle-write-region): Implement APPEND.
1484
7b08f97e
DG
14852013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1488 binary "|" operator and closing block args delimiter.
1489 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1490 (ruby-smie--implicit-semi-p): Not after "|" operator.
1491 (ruby-smie--closing-pipe-p): New function.
1492 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1493 (ruby-smie-rules): Indent after "|".
1494
f201cf3a
GM
14952013-11-12 Glenn Morris <rgm@gnu.org>
1496
1497 * ps-print.el (ps-face-attribute-list):
1498 Handle anonymous faces. (Bug#15827)
1499
e6f759f9
MR
15002013-11-12 Martin Rudalics <rudalics@gmx.at>
1501
1502 * window.el (display-buffer-other-frame): Fix doc-string.
1503 (Bug#15868)
1504
ecda65d4
SM
15052013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1506
1507 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1508
7ce8fcc3
MA
15092013-11-11 Michael Albinus <michael.albinus@gmx.de>
1510
1511 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1512 (tramp-sh-handle-file-local-copy): Don't write a message when
1513 saving temporary files.
1514
1515 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1516 both directories are remote.
1517 (tramp-smb-handle-directory-files): Do not return double entries.
1518 Do not expand full file names.
1519 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1520 (tramp-smb-handle-write-region): Implement APPEND.
1521 (tramp-smb-get-stat-capability): Fix a stupid bug.
1522
7818df11
SM
15232013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1526
608c2085
NT
15272013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1528
1529 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1530 throwing error over malformed let/let* (bug#15814).
1531
122a7e46
SM
15322013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * iswitchb.el (iswitchb-mode): Mark obsolete.
1535
766284d9
GM
15362013-11-11 Glenn Morris <rgm@gnu.org>
1537
1538 * international/uni-bidi.el, international/uni-category.el:
1539 * international/uni-name.el, international/uni-numeric.el:
1540 Regenerate for Unicode 6.3.0.
1541
7072a4e9
MA
15422013-11-10 Michael Albinus <michael.albinus@gmx.de>
1543
1544 * net/tramp.el (tramp-methods):
1545 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1546 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1547
c9df215b
AS
15482013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1549
608c2085
NT
1550 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1551 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1552
fa47d796
DG
15532013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1554
1555 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1556 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1557 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1558 (ispell-complete-word): Call `ispell-lookup-words' with the value
1559 independent of `ispell-look-p'.
1560
1629a329
DG
15612013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1562
1563 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1564 Not after "||".
1565 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1566 their parent.
1567
ad16897c
SM
15682013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1569
1570 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1571 (ruby-font-lock-keywords): Use backquote.
1572
ffa2df72
DG
15732013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1574
1575 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1576 (ruby-smie--backward-token): Only consider full-string matches.
1577
5b97b4c0
JD
15782013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1579
1580 * faces.el (describe-face): Add distant-foreground.
1581
71731c03
BB
15822013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1583
4e9fc48c
BB
1584 * progmodes/ruby-mode.el: Improve encoding comment handling.
1585 (ruby-encoding-magic-comment-style): New option.
1586 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1587 (ruby--insert-coding-comment, ruby--detect-encoding):
1588 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1589 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1590 to control the style of the auto-inserted encoding comment.
71731c03 1591
da3b328d
DG
15922013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1593
ad16897c
SM
1594 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1595 Use `smie-backward-sexp' with token argument.
da3b328d 1596
1606c2d3
MA
15972013-11-08 Michael Albinus <michael.albinus@gmx.de>
1598
1599 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1600 Remove instrumentation code.
1601
b0f4c320
GM
16022013-11-08 Glenn Morris <rgm@gnu.org>
1603
1604 * progmodes/autoconf.el (autoconf-mode):
1605 Tweak comment-start-skip. (Bug#15822)
1606
43668fb1
SM
16072013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1610 at bobp (bug#15826).
1611 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1612
daddb3fd
DH
16132013-11-08 Darren Hoo <darren.hoo@gmail.com>
1614
1615 * man.el (Man-start-calling): New macro, extracted from
1616 Man-getpage-in-background.
1617 (Man-getpage-in-background): Use it.
1618 (Man-update-manpage): New command.
1619 (Man-mode-map): Bind it.
1620
1f923923
DG
16212013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1622
1623 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1624 of "and", "or", "&&" and "||".
1625 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1626 argument. Prohibit opening curly brace because it could only be a
1627 block opener in that position.
daddb3fd
DH
1628 (ruby-smie--forward-token, ruby-smie--backward-token):
1629 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1630 arguments.
1631 (ruby-smie--indent-to-stmt): New function, seeks the end of
1632 previous statement or beginning of buffer.
1633 (ruby-smie-rules): Use it.
1634 (ruby-smie-rules): Check if there's a ":" before a curly block
1635 opener candidate; if there is, it's a hash.
1636
3220d527
SM
16372013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1638
1639 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1640 (cl--block-wrapper): Fix last accidental change.
1641
1eb1f9e0
MA
16422013-11-07 Michael Albinus <michael.albinus@gmx.de>
1643
1644 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1645 Instrument, in order to hunt failure on hydra.
1646
e6e4db3c
NT
16472013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1648
1649 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1650 malformed bindings form (bug#15814).
1651
b420ccfc
DG
16522013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1653
1654 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1655 "." compared to " @ ". This incidentally fixes some indentation
1656 examples with "do".
e6e4db3c 1657 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1658 (ruby-smie-grammar): New tokens: "and" and "or".
1659 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1660 Exclude "and" and "or". Remove "do" in order to work around token
1661 priorities.
1662 (ruby-smie-rules): Add all infix tokens. Handle the case of
1663 beginning-of-buffer.
b420ccfc 1664
6b4ac03e
GM
16652013-11-06 Glenn Morris <rgm@gnu.org>
1666
1667 * Makefile.in (setwins_almost, setwins_for_subdirs):
1668 Avoid accidental matches.
1669
5ca114d1
SM
16702013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 * menu-bar.el (popup-menu): Use key-binding.
1673
f72552bd
EZ
16742013-11-06 Eli Zaretskii <eliz@gnu.org>
1675
1676 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1677 menus, support also the menus produced by minor modes.
1678 (Bug#15817)
1679
5d5c701e
LL
16802013-11-06 Leo Liu <sdl.web@gmail.com>
1681
1682 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1683 DISTANCE to bound the search. All uses changed. (Bug#15808)
1684
0a8b75e2
GM
16852013-11-06 Glenn Morris <rgm@gnu.org>
1686
1687 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1688 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1689 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1690
a35287ea
SM
16912013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1692
feca4e2d
SM
1693 * electric.el (electric-indent-just-newline): New command.
1694 (electric-indent-mode-map): New keymap.
1695 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1696 Re-add :group which weren't redundant.
1697
a35287ea
SM
1698 * electric.el (electric-indent-local-mode): New minor mode.
1699 (electric-indent-functions-without-reindent): New var.
1700 (electric-indent-post-self-insert-function): Use it.
1701 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1702
375761b2
EZ
17032013-11-05 Eli Zaretskii <eliz@gnu.org>
1704
9a6ad735
EZ
1705 * international/quail.el (quail-help): Be more explicit about the
1706 meaning of the labels shown on the keys. (Bug#15800)
1707
375761b2
EZ
1708 * startup.el (normal-top-level): Load the subdirs.el files before
1709 setting the locale environment. (Bug#15805)
1710
520a6e4a
SM
17112013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1712
0acfafef
SM
1713 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1714 via arguments so as to get the right ones (bug#15418).
1715
520a6e4a
SM
1716 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1717
15826261
MA
17182013-11-05 Michael Albinus <michael.albinus@gmx.de>
1719
1720 Fix problems found while writing a test suite.
1721
1722 * net/tramp-compat.el (tramp-compat-load): New defun.
1723 * net/tramp.el (tramp-handle-load): Use it.
1724
1725 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1726 "(numberp ok-if-already-exists)" correctly.
1727
d35f31a4
XF
17282013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1729
1730 * international/characters.el (glyphless-char-display-control):
1731 Add usage note.
1732
ae93bc74
BB
17332013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1734
520a6e4a
SM
1735 * progmodes/python.el (python-mode):
1736 * progmodes/scheme.el (scheme-mode):
1737 * progmodes/prolog.el (prolog-mode):
1738 * progmodes/ruby-mode.el (ruby-mode):
1739 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1740 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1741
0ade65b5
SM
17422013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1743
a0d5f7a4
SM
1744 * rect.el (rectangle--highlight-for-redisplay):
1745 * emacs-lisp/smie.el (smie--next-indent-change):
1746 Use buffer-chars-modified-tick.
1747
c93f3f5c
SM
1748 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1749
0ade65b5
SM
1750 * electric.el (electric-indent-post-self-insert-function):
1751 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1752
ef9dd188
HE
17532013-11-04 Helmut Eller <eller.helmut@gmail.com>
1754
1755 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1756
306e7308
NT
17572013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1758
1759 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1760 (bug#15786).
1761
e5afbcac
SM
17622013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1d01ad41
SM
1764 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1765
e5afbcac
SM
1766 * progmodes/python.el: Fix up last change.
1767 (python-shell--save-temp-file): New function.
1768 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1769 `string' comes from the current buffer.
1770 (python-shell-send-string-no-output): Remove `msg' arg.
1771 (python--use-fake-loc): New var.
1772 (python-shell-buffer-substring): Obey it. Try to compensate for the
1773 extra coding line added by python-shell--save-temp-file.
1774 (python-shell-send-region): Use python-shell--save-temp-file and
1775 python-shell-send-file directly. Add `nomain' argument.
1776 (python-shell-send-buffer): Use python-shell-send-region.
1777 (python-electric-pair-string-delimiter): New function.
1778 (python-mode): Use it.
1779
d0065ff1
EZ
17802013-11-04 Eli Zaretskii <eliz@gnu.org>
1781
1782 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1783 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1784 environment and decoding all of the default-directory's to here
1785 from command-line.
1786 (command-line): Decode also argv[0].
1787
1788 * loadup.el: Error out if default-directory is a multibyte string
1789 when we are dumping.
1790
1791 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1792
7397c587
TZ
17932013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1794
1795 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1796 (package-menu--print-info, package-menu--archive-predicate):
1797 Add Archive column to package list.
7397c587 1798
b27cc9fc
MA
17992013-11-04 Michael Albinus <michael.albinus@gmx.de>
1800
1801 Fix problems found while writing a test suite.
1802
1803 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1804 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1805 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1806 to nil when running original file name handler. Otherwise,
1807 there are problems with constructs like "$$FOO".
1808
1809 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1810 for `localname'.
1811
d8c4f18a
BB
18122013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1813
7b530552
BB
1814 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1815
1816 * subr.el (version<, version<=, version=):
1817 Update docstrings with information for snapshot versions.
1818
d8c4f18a
BB
1819 * helpers.el: New library for misc helper functions.
1820 (hash-table-keys): New function returning a list of hash keys.
1821 (hash-table-values): New function returning a list of hash values.
1822
dca01b09
DG
18232013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1824
1825 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1826 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1827
0a749fa0
MN
18282013-11-04 Michal Nazarewicz <mina86@mina86.com>
1829
1830 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1831 checking whether point is after a 1-letter word.
1832
18332013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1834
1835 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1836 Don't infloop when expanding region over `multiline' syntax-type that
1837 begins a line (bug#15778).
1838
4aca7145
SM
18392013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1842 Make it into a proper minor mode.
1843 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1844 (rectangle-mark-mode-map): New keymap.
1845 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1846
a0833f62
GM
18472013-11-04 Glenn Morris <rgm@gnu.org>
1848
1849 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1850
e61845c1
SM
18512013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1854 (ruby-smie-rules): Use smie-rule-parent instead.
1855
1856 * emacs-lisp/smie.el (smie-rule-parent): Always call
1857 smie-indent-virtual rather than only for hanging tokens.
1858 (smie--next-indent-change): New helper command.
1859
62942f89
GM
18602013-11-03 Glenn Morris <rgm@gnu.org>
1861
1862 * Makefile.in (abs_srcdir): Remove.
1863 (emacs): Unset EMACSLOADPATH.
1864
b0b9e592
GM
18652013-11-02 Glenn Morris <rgm@gnu.org>
1866
18ba6a33 1867 * Makefile.in (EMACS): Use a relative filename.
8061810d 1868 (abs_top_builddir): Remove.
18ba6a33
GM
1869 (custom-deps, finder-data, autoloads): Use --chdir.
1870
6a8b929e
GM
1871 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1872
c617f3d0
GM
1873 Use relative filenames in TAGS files.
1874 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1875 (lisptagsfiles4, TAGS): Use relative file names.
1876 (TAGS-LISP): Remove.
1877 (maintainer-clean): No more TAGS-LISP file.
1878
b0b9e592
GM
1879 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1880 (lisptagsfiles4): Use absolute filenames again.
1881 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1882 Remove all *loaddefs files, not just the first. Remove esh-groups.
1883 (maintainer-clean): Delete TAGS, TAGS-LISP.
1884
d1c0ea6a
BB
18852013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1886
e61845c1
SM
1887 * emacs-lisp/package.el (package-version-join):
1888 Recognize snapshot versions.
d1c0ea6a 1889
684d71c6
BB
18902013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1891
1892 * subr.el (version-regexp-alist): Add support for snapshot versions.
1893
3d42b968
DG
18942013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1895
e61845c1
SM
1896 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1897 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1898 skip over our direct parent if it's an assignment token..
1899 (ruby-smie-rules): Use it.
1900
7ffd3721
DG
19012013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1902
1903 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1904 unconditionally. Remove now unnecessary forward declarations.
1905 Remove XEmacs-specific setup.
1906 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1907 (ruby-font-lock-syntactic-keywords)
1908 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1909 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1910 (ruby-here-doc-end-syntax): Remove.
1911 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1912 defined as function.
1913
a3996a2e
BB
19142013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1915
1916 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1917
6f9260e8
BB
19182013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1919
1920 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1921 table and abbrev table, `define-derived-mode' does that for us
1922 anyway.
1923
6014de84
GM
19242013-11-01 Glenn Morris <rgm@gnu.org>
1925
1926 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1927 files is atomic for some time, so no parallel compilation issues).
1928
3c334c14
JD
19292013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1930
1931 * faces.el (face-x-resources): Add :distant-foreground.
1932 (region): Use :distant-foreground for gtk and ns.
1933
9bc236c8
TH
19342013-11-01 Tassilo Horn <tsdh@gnu.org>
1935
5246583b 1936 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
1937 BibTeX.
1938 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1939 (reftex-locate-bibliography-files): Us it.
1940
d14c81ee
CB
19412013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1942
0e7690de
CB
1943 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1944 allow comments in pbm files.
1945
d14c81ee
CB
1946 * term/w32-win.el (dynamic-library-alist): Support newer versions
1947 of libjpeg starting with v7: look only for the DLL from the
1948 version against which Emacs was built.
ac1bf374 1949 Support versions of libpng beyond 1.4.x.
019c8218 1950 Support libtiff v4.x.
d14c81ee 1951
983d0df5
BB
19522013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1953
1954 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1955 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1956 Add property :safe.
1957 (ruby-deep-arglist): Add property :type.
1958
47f58d85
GM
19592013-10-31 Glenn Morris <rgm@gnu.org>
1960
1961 * Makefile.in (custom-deps, finder-data): No need to setq the target
1962 variables, we are in the right directory and the defaults work fine.
1963
4f85b479
GM
19642013-10-30 Glenn Morris <rgm@gnu.org>
1965
ca7dd4cd
GM
1966 * Makefile.in (autoloads): Do not use abs_lisp.
1967
4f85b479
GM
1968 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1969 `newline' does not respect `standard-output', so use `princ'.
1970
cf59e41c
AA
19712013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1972
1973 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1974 * buff-menu.el (Buffer-menu--unmark): New function.
1975 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1976
74cf04fb
GM
19772013-10-30 Glenn Morris <rgm@gnu.org>
1978
b040b60e
GM
1979 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1980
f53d3815
GM
1981 * emacs-lisp/package.el (lm-homepage): Declare.
1982
5413d873
GM
1983 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1984 Fix doc typos.
1985
cecedb36
GM
1986 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1987
74cf04fb
GM
1988 * Makefile.in (finder-data, autoloads, update-subdirs)
1989 (compile-main, compile-clean, compile-always, bootstrap-clean):
1990 Check return value of cd.
1991 (compile-calc): Remove.
1992
195ee2f0
SM
19932013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1994
ae4002ce
SM
1995 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1996
1997 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1998 (byte-compile-and-folded): New function.
1999 (=, <, >, <=, >=): Use it.
2000
2001 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2002 (path-separator, null-device, buffer-file-coding-system)
2003 (lpr-headers-switches): Check system-type before modifying them.
2004 (find-buffer-file-type-coding-system): Mark obsolete.
2005 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2006 find-file-not-found-set-buffer-file-coding-system.
2007 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2008 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2009 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2010 (w32-direct-print-region-helper, w32-direct-print-region-function)
2011 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2012 * startup.el (normal-top-level-add-subdirs-to-load-path):
2013 * ps-print.el (ps-print-region-function):
2014 * lpr.el (print-region-function): Use new name.
2015
53b39e89
SM
2016 * subr.el (custom-declare-variable-early): Remove function.
2017 (custom-declare-variable-list): Remove var.
2018 (error, user-error): Remove `while' loop.
2019 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2020 (user-emacs-directory-warning, locate-user-emacs-file):
2021 Move to files.el.
2022 * simple.el (read-quoted-char-radix, read-quoted-char):
2023 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2024 Move from subr.el.
2025 * custom.el (custom-declare-variable-list): Don't process
2026 custom-declare-variable-list.
2027
195ee2f0
SM
2028 * progmodes/python.el (python-shell-get-buffer): New function.
2029 (python-shell-get-process): Use it.
2030 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2031 Python which encoding was used. Don't split-string since we only care
2032 about the first line. Return the temp-file, if applicable.
2033 (python-shell-send-region): Tell compile.el how to turn locations in
2034 the temp-file into locations in the source buffer.
2035
7e3561ee
SM
20362013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2037
4c9797cb
SM
2038 * subr.el (undefined): Add missing behavior from the C code for
2039 unbound keys.
2040
3472b6c6
SM
2041 * rect.el: Use lexical-binding. Add new rectangular region support.
2042 (rectangle-mark): New command.
2043 (rectangle--region): New var.
2044 (deactivate-mark-hook): Reset rectangle--region.
2045 (rectangle--extract-region, rectangle--insert-for-yank)
2046 (rectangle--highlight-for-redisplay)
2047 (rectangle--unhighlight-for-redisplay): New functions.
2048 (region-extract-function, redisplay-unhighlight-region-function)
2049 (redisplay-highlight-region-function): Use them to handle
2050 rectangular region.
2051 * simple.el (region-extract-function): New var.
2052 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2053 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2054 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2055 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2056 (redisplay-unhighlight-region-function)
2057 (redisplay-highlight-region-function): New vars.
2058 (redisplay--update-region-highlight): New function.
2059 (pre-redisplay-function): Use it.
2060 (exchange-point-and-mark): Don't deactivate the mark before
2061 reactivate-it anyway.
2062 * comint.el (comint-kill-region): Remove yank-handler argument.
2063 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2064 (delete-char): Remove property, since it's now part of their
2065 default behavior.
2066 (self-insert-iso): Remove property since this command doesn't exist.
2067
7e3561ee
SM
2068 * emacs-lisp/package.el (package--download-one-archive)
2069 (describe-package-1): Don't query the user about final newline.
2070
b9bef71f
DC
20712013-10-29 Daniel Colascione <dancol@dancol.org>
2072
2073 * net/tramp.el (tramp-methods): Document new functionality.
2074 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2075 tramp-hostname-checker if method provides one instead of scanning
2076 argument list for "%h" to decide hostname acceptability.
2077
4efc33f0
MA
20782013-10-28 Michael Albinus <michael.albinus@gmx.de>
2079
2080 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2081 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2082 Handle COPY-CONTENTS. (Bug#15737)
2083
ed42a877
DU
20842013-10-28 Daiki Ueno <ueno@gnu.org>
2085
2086 * epa-file.el
7e3561ee
SM
2087 (epa-file-cache-passphrase-for-symmetric-encryption):
2088 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2089
18c9f8a2
XF
20902013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2091
7a4bc7be
XF
2092 * image.el (defimage):
2093 (image-load-path): Doc fixes.
18c9f8a2 2094
b1e8e010
AM
20952013-10-27 Alan Mackenzie <acm@muc.de>
2096
2097 Indent statements in macros following "##" correctly.
7e3561ee
SM
2098 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2099 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2100
73d40d1e 21012013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2102
2103 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2104
c8c605ac
DG
21052013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2106
2107 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2108 after `=' is probably a new expression.
2109
ca7e59d4
RS
21102013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2111
2112 * man.el (man-imenu-title): New option.
2113 (Man-mode-map): Add menu. (Bug#15722)
2114 (Man-mode): Add imenu to menu.
2115
bae91342
DG
21162013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2117
2118 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2119 specific in what the first arg can be: a non-keyword word,
2120 string/regexp/percent literal opener, opening paren, or unary
2121 operator followed directly by word.
2122
eb89dc14
SM
21232013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2126 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2127 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2128 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2129 Remove vars, they do not apply any more.
2130 (prolog-mode-abbrev-table): Remove redundant declaration.
2131 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2132 (prolog-use-smie): Remove.
2133 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2134 supported by prolog-electric-if-then-else-flag.
2135 (prolog-mode-variables, prolog-menu): Use setq-local.
2136 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2137 Remove binding to `Backspace' since this key doesn't exist anyway.
2138 Remove bindings for electric self-inserting keys.
2139 (prog-mode): Assume it's defined.
2140 (prolog-post-self-insert): New function.
2141 (prolog-mode): Use it.
2142 (prolog-indent-line, prolog-indent-level)
2143 (prolog-find-indent-of-matching-paren)
2144 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2145 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2146 (prolog-goto-next-paren, prolog-in-string-or-comment)
2147 (prolog-tokenize, prolog-inside-mline-comment)
2148 (prolog-find-start-of-mline-comment): Remove functions.
2149 (prolog-find-unmatched-paren, prolog-clause-end)
2150 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2151 (prolog-electric--if-then-else): Rename from
2152 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2153 (prolog-tokenize-searchkey): Remove const.
2154 (prolog-clause-info): Use forward-sexp.
2155 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2156 (prolog-electric-if-then-else): Remove commands.
2157 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2158 for use in post-self-insert-hook.
2159 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2160 for use in post-self-insert-hook.
2161 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2162 for use in post-self-insert-hook.
2163 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2164 adapt it for use in post-self-insert-hook.
2165
3dab0a83
MA
21662013-10-25 Michael Albinus <michael.albinus@gmx.de>
2167
2168 * emacs-lisp/ert.el (ert-run-tests-interactively):
2169 Use `completing-read'. (Bug#9756)
2170
fbfd0e1d
EZ
21712013-10-25 Eli Zaretskii <eliz@gnu.org>
2172
2173 * simple.el (line-move): Call line-move-1 instead of
2174 line-move-visual when the current window hscroll is zero, but
2175 temporary-goal-column indicates we will need to hscroll as result
2176 of the movement. (Bug#15712)
2177
963ce636
DG
21782013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2179
2180 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2181 capitalization. Use :visible instead of :active.
2182 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2183 commands that are used with SMIE.
2184 (ruby-do-end-to-brace): Insert space after `{'.
2185
a0be396a
JA
21862013-10-25 John Anthony <john@jo.hnanthony.com>
2187
f73754c9
JA
2188 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2189
2190 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2191
f5bf77df
GM
21922013-10-25 Glenn Morris <rgm@gnu.org>
2193
2194 * vc/vc.el (vc-print-log): Don't use a working revision unless
2195 one was explicitly specified. (Bug#15322)
2196
37241f62
SM
21972013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * subr.el (add-to-list): Preserve return value in compiler-macro
2200 (bug#15692).
2201
6408a65d
RS
22022013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2203
2204 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2205 result. Ask user to retry using '-all' flag. (Bug#15701)
2206
71e3276b
SM
22072013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * emacs-lisp/smie.el: New smie-config system.
2210 (smie-config): New defcustom.
2211 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2212 (smie-config-guess, smie-config-save): New commands.
2213 (smie-config--mode-local, smie-config--buffer-local)
2214 (smie-config--trace, smie-config--modefuns): New vars.
2215 (smie-config--advice, smie-config--mode-hook)
2216 (smie-config--setter, smie-config-local, smie-config--get-trace)
2217 (smie-config--guess-value, smie-config--guess): New functions.
2218 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2219 text properties. Treat "string fence" syntax like string syntax.
2220
2221 * progmodes/sh-script.el (sh-use-smie): Change default.
2222 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2223 (sh-var-value): Simplify by CSE.
2224 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2225 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2226 is used.
2227 (sh-guess-basic-offset): Use cl-incf.
2228 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2229
60db713e
HE
22302013-10-24 Helmut Eller <eller.helmut@gmail.com>
2231
2232 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2233 (bug#15699).
2234
8b251df6
GM
22352013-10-24 Glenn Morris <rgm@gnu.org>
2236
2237 * Makefile.in (abs_top_srcdir): Remove.
2238 (update-subdirs): Use relative path to update-subdirs.
2239
6be0e22b
EZ
22402013-10-24 Eli Zaretskii <eliz@gnu.org>
2241
2242 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2243 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2244 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2245 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2246
50b5b857
MA
22472013-10-24 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2250 (ert-test-skipped): New error.
2251 (ert-skip, ert-stats-skipped): New defuns.
2252 (ert--skip-unless): New macro.
2253 (ert-test-skipped): New struct.
2254 (ert--run-test-debugger, ert-test-result-type-p)
2255 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2256 (ert--stats-set-test-and-result, ert-char-for-test-result)
2257 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2258 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2259 Handle skipped tests. (Bug#9803)
50b5b857 2260
6f317c2f
GM
22612013-10-24 Glenn Morris <rgm@gnu.org>
2262
e43817c1
GM
2263 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2264
6f317c2f
GM
2265 * Makefile.in (abs_top_srcdir): New, set by configure.
2266 (update-subdirs): Correct build-aux location.
2267
369bbf71
DG
22682013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2269
8297b2cf
DG
2270 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2271 value, whether we could auto-deduce `backend', or not.
2272
369bbf71
DG
2273 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2274 with parameters" example. Simplify the "is it block or is it
2275 hash" check, but also make it more thorough.
2276
d5f1282f
MF
22772013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2278
2279 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2280
bc4aaa31
SM
22812013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2282
03d44565
SM
2283 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2284 { if it is hanging.
2285
bc4aaa31
SM
2286 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2287 :before ";".
2288
f493ff19
JB
22892013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2290
2291 * progmodes/compile.el (compilation-directory-matcher)
2292 (compilation-page-delimiter):
2293 Support GNU Make-4.0 directory quoting. (Bug#15678)
2294
c744a3b9
LL
22952013-10-23 Leo Liu <sdl.web@gmail.com>
2296
2297 * ido.el (ido-tidy): Handle read-only text.
2298
b8e3b0a9
GM
22992013-10-23 Glenn Morris <rgm@gnu.org>
2300
2301 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2302 (emacs, compile, compile-always):
2303 Quote entities that might contain whitespace.
2304 (custom-deps, finder-data, autoloads): Use abs_lisp.
2305 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2306 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2307 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2308
ee4282cd
DG
23092013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2310
bc4aaa31
SM
2311 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2312 Use `following-char'.
7790a270 2313
ee4282cd 23142013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2315
2316 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2317 * progmodes/ruby-mode.el (ruby-smie-rules):
2318 Remove corresponding workaround. Fix indentation rule of ";" so it
2319 also applies when ";" is the parent.
2320
d40a46d7
XF
23212013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2322
2323 * frame.el (display-screens, display-pixel-height)
2324 (display-pixel-width, display-mm-width, display-backing-store)
2325 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2326 (display-visual-class, display-monitor-attributes-list):
2327 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2328
a0f143c9
MG
23292013-10-22 Michael Gauland <mikelygee@amuri.net>
2330
2331 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2332 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2333
18cacc39
DG
23342013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2335
2336 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2337 TODO. Add "." after " @ ".
2338 (ruby-smie--at-dot-call): New function. Checks if point at method
2339 call with explicit target.
2340 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2341 to the method name tokens when it precedes them.
2342 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2343 (ruby-smie-rules): Add rule for indentation before and after "."
2344 token.
2345
df74c4be
SM
23462013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2347
c6dab55f
SM
2348 * textmodes/remember.el (remember-diary-extract-entries):
2349 Avoid add-to-list.
2350
df74c4be
SM
2351 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2352 an instruction.
2353
8c1ae481
DG
23542013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2355
cfef16c0
DG
2356 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2357 (ruby-smie--implicit-semi-p): Add new operator chars.
2358
8c1ae481
DG
2359 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2360 `smie-down-list'.
2361 (ruby-smie--args-separator-p): Check that there's no newline
2362 between method call and its arguments.
2363
87756ca9
AM
23642013-10-20 Alan Mackenzie <acm@muc.de>
2365
2366 Allow comma separated lists after Java "implements".
2367
df74c4be
SM
2368 * progmodes/cc-engine.el (c-backward-over-enum-header):
2369 Parse commas.
87756ca9
AM
2370 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2371 from a "disallowed" list in enum fontification.
2372
c25f8957
JB
23732013-10-20 Johan Bockgård <bojohan@gnu.org>
2374
df74c4be 2375 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2376
c25f8957
JB
2377 * progmodes/verilog-mode.el (verilog-mode): Don't set
2378 comment-indent-function globally.
2379
aca5fcdc
JD
23802013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2381
5f161884
JD
2382 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2383 Move Info menu item creation to ns-win.el.
2384
2385 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2386 in menu bar.
2387
aca5fcdc
JD
2388 * menu-bar.el: Move GNUStep specific menus...
2389
2390 * term/ns-win.el (ns-initialize-window-system): ... to here.
2391
914b7f98
SM
23922013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * simple.el (newline): Only run post-self-insert-hook when
2395 called interactively.
2396
846ffe77
JB
23972013-10-19 Johan Bockgård <bojohan@gnu.org>
2398
2399 * icomplete.el (icomplete-with-completion-tables): Add :version.
2400
033f22dd
AM
24012013-10-19 Alan Mackenzie <acm@muc.de>
2402
2403 Fix fontification bugs with constructors and const.
2404
2405 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2406 CASE 2) Remove the check for the absence of a suffix construct
2407 after a function declaration with only types (no identifiers) in
2408 the parentheses. Also, accept a function declaration with just a
2409 type inside the parentheses, if this type can be positively
2410 recognised as such, or if a prefix keyword like "explicit" nails
2411 down the construct as a declaration.
2412
58ce0cfc
EZ
24132013-10-19 Eli Zaretskii <eliz@gnu.org>
2414
2415 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2416 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2417 the problem whereby selecting a menu item that leads to a
2418 minibuffer prompt moves the cursor out of the minibuffer window,
2419 making it hard to type at the prompt. Suggested by Stefan Monnier
2420 <monnier@iro.umontreal.ca>.
2421
50e28e7d
JD
24222013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2423
2424 * menu-bar.el: Don't make Services menu.
2425
7deed4bf
RS
24262013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2427
2428 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2429 (ffap-alist): Use ffap-c++-mode for c++-mode.
2430 (ffap-c++-path): New variable.
2431 (ffap-c++-mode): New function.
2432
7bcb455b
JVJ
24332013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2434
2435 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2436
f0ff1cd5
MA
24372013-10-18 Michael Albinus <michael.albinus@gmx.de>
2438
2439 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2440 introduced on 2013-09-08, which results in an infinite loop
2441 requesting a password.
2442
d64da4b7
GM
24432013-10-18 Glenn Morris <rgm@gnu.org>
2444
2445 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2446
ea89ff08
WS
24472013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2448
2449 Sync with upstream verilog-mode revision 1a6ecec7.
2450 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2451 (verilog-mode-release-date): Remove.
2452 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2453 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2454 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2455 (verilog-auto-tieoff-ignore-regexp)
2456 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2457 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2458 (verilog-signals-with, verilog-dir-cache-preserving)
2459 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2460 Doc fixes.
2461 (verilog-case-fold): New option, to control case folding in
2462 regexp searches, bug597.
2463 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2464 (verilog-string-match-fold, verilog-in-paren-count)
2465 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2466 (verilog-at-close-struct-p): New functions.
2467 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2468 (verilog-forward-sexp, verilog-set-auto-endcomments):
2469 (verilog-leap-to-case-head): Handle "unique0" case.
2470 (verilog-in-constraint-re): New constant.
2471 (verilog-keywords, verilog-type-font-keywords):
2472 Add some SystemVerilog 1800-2012 keywords.
2473 (verilog-label-be): Remove unimplemented argument, bug669.
2474 (verilog-batch-execute-func): When batch expanding clear
2475 create-lockfiles to prevent spurious user locks when a file ends
2476 up not changing.
2477 (verilog-calculate-indent, verilog-calc-1)
2478 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2479 (verilog-do-indent): Fix indentation of nested constraints
2480 and structures.
2481 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2482 (verilog-auto-inst-param): Use verilog-string-match-fold.
2483 (verilog-read-inst-module-matcher):
2484 Fix AUTOINST on gate primitives with #1.
2485 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2486 Reads all user-defined typed variables.
2487 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2488 (verilog-signals-matching-regexp)
2489 (verilog-signals-not-matching-regexp, verilog-auto):
2490 Respect verilog-case-fold.
2491 (verilog-diff-report): Fix line count.
2492 (verilog-auto-assign-modport): Remove unused local `modi'.
2493 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2494 better handle multidimensional arrays.
2495 Fix packed array ports misadding bit index in AUTOINST, bug637.
2496 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2497 to not double-declare existing outputs and inputs, respectively.
2498 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2499 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2500 (verilog-sk-uvm-component): New skeleton.
2501 (verilog-submit-bug-report): Add verilog-case-fold,
2502 remove verilog-mode-release-date.
2503
ef566920
BR
25042013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2505
2506 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2507 as before.
2508
29df8a0b
RT
25092013-10-18 Reuben Thomas <rrt@sc3d.org>
2510
2511 * textmodes/remember.el (remember): set buffer-offer-save in
2512 remember buffers (bug#13566).
2513
04a19a79
DC
25142013-10-18 Daniel Colascione <dancol@dancol.org>
2515
2516 When evaluating forms in ielm, direct standard output to ielm
2517 buffer. Add new ielm-return-for-effect command. Remove trailing
2518 whitespace throughout.
2519
2520 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2521 (ielm-return-for-effect): New command.
2522 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2523 (ielm-eval-input): Accept optional `for-effect' parameter.
2524 Bind `standard-output' to stream we create using
04a19a79
DC
2525 `ielm-standard-output-impl'. Suppress printing result when
2526 `for-effect'.
2527 (ielm-standard-output-impl): New function.
2528 (inferior-emacs-lisp-mode): Explain new features in documentation.
2529
4c1f03ef
MA
25302013-10-17 Michael Albinus <michael.albinus@gmx.de>
2531
2532 Code cleanup.
2533
2534 * net/tramp.el (tramp-debug-message): Do not check for connection
2535 buffer.
2536 (tramp-message): Use "vector" connection property.
2537
2538 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2539 (tramp-equal-remote, tramp-eshell-directory-change)
2540 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2541 (tramp-adb-handle-rename-file)
2542 * net/tramp-cmds.el (tramp-list-remote-buffers)
2543 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2544 * net/tramp-compat.el (tramp-compat-process-running-p)
2545 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2546 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2547 (tramp-gvfs-handle-rename-file)
2548 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2549 (tramp-set-file-uid-gid)
2550 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2551 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2552 of `file-remote-p'.
2553
2554 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2555 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2556 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2557 (tramp-gw-open-network-stream): Suppress unrelated traces.
2558
2559 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2560 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2561 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2562 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2563 connection property.
2564
2565 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2566 persistency file.
4c1f03ef
MA
2567
2568 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2569 Refactor common code. Improve debug message.
2570 (tramp-maybe-open-connection)
2571 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2572 connection buffer too early.
2573
2574 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2575 from `tramp-smb-actions-with-acl'.
2576 (tramp-smb-actions-set-acl): New defconst.
2577 (tramp-smb-handle-copy-directory)
2578 (tramp-smb-action-get-acl): New defun, renamed from
2579 `tramp-smb-action-with-acl'.
2580 (tramp-smb-action-set-acl): New defun.
2581 (tramp-smb-handle-set-file-acl): Rewrite.
2582
642eb8b6
GM
25832013-10-17 Glenn Morris <rgm@gnu.org>
2584
2585 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2586
85527ff3
SM
25872013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2588
921c1d62
SM
2589 * skeleton.el (skeleton-newline): Remove.
2590 (skeleton-internal-1): Use (insert "\n") instead.
2591
e333fb10
SM
2592 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2593 let-bindings.
2594
85527ff3
SM
2595 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2596 forward-sexp-function while we redo its job (bug#15613).
2597
c8722a97
JB
25982013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2599
2600 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2601 represented by lists.
2602
7a550bbb
GM
26032013-10-16 Glenn Morris <rgm@gnu.org>
2604
2605 * tmm.el (tmm--history): New dynamic variable.
2606 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2607
f19da8ad
MA
26082013-10-16 Michael Albinus <michael.albinus@gmx.de>
2609
2610 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2611 (tramp-smb-errors): Add error messages.
2612 (tramp-smb-actions-with-acl): New defconst.
2613 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2614 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2615 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2616 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2617 (tramp-smb-get-stat-capability): Fix tests.
2618
a24b9961
DK
26192013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2620
2621 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2622 (bug#15580).
2623
62ad85e6
GM
26242013-10-16 Glenn Morris <rgm@gnu.org>
2625
0283d6b0
GM
2626 * ansi-color.el (ansi-color-drop-regexp):
2627 Add 1J, 1K, 2K. (Bug#15617)
2628
012e2f9f
GM
2629 * files.el (hack-local-variables--warned-lexical): New.
2630 (hack-local-variables):
2631 Warn about misplaced lexical-binding. (Bug#15616)
2632
62ad85e6
GM
2633 * net/eww.el (eww-render): Always set eww-current-url,
2634 and update header line. (Bug#15622)
2635 (eww-display-html): ... Rather than just doing it here.
2636
6456c0ea
EZ
26372013-10-15 Eli Zaretskii <eliz@gnu.org>
2638
2639 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2640 menu navigations commands.
2641
c2de5588
DK
26422013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2643
2644 * progmodes/subword.el (subword-capitalize): Be careful when
2645 the search for [[:alpha:]] fails (bug#15580).
2646
ccd4a783
EZ
26472013-10-14 Eli Zaretskii <eliz@gnu.org>
2648
2649 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2650 to commands that scroll the menu.
2651
1eda1d8d
DG
26522013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2653
c2de5588
DK
2654 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2655 Handle methods ending with `?' and `!'.
1eda1d8d 2656
e70181b8
AM
26572013-10-14 Akinori MUSHA <knu@iDaemons.org>
2658
2659 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2660 `japanese-cp932' to `cp932' to fix the problem where saving a
2661 source file written in Shift_JIS twice would end up having
2662 `coding: japanese-cp932' which Ruby could not recognize.
2663 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2664 in `ruby-encoding-map'.
2665 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2666 doesn't need to be explicitly declared in magic comment.
2667 (ruby-encoding-map): Add type declaration for better customize UI.
2668
9148ee92
GM
26692013-10-13 Glenn Morris <rgm@gnu.org>
2670
a5d38e34
GM
2671 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2672 Occur buffers are read-only. http://bugs.debian.org/720775
2673
9148ee92
GM
2674 * emacs-lisp/authors.el (authors-fixed-entries):
2675 Comment out old alpha stuff.
2676
a9ba094b
DG
26772013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2678
2679 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2680 to `after-save-hook' instead of `before-save-hook'.
2681 (ruby-mode-set-encoding): Use the value of coding system used to
2682 write the file. Call `basic-save-buffer-1' after modifying the
2683 buffer.
2684
7a068717
AM
26852013-10-13 Alan Mackenzie <acm@muc.de>
2686
2687 Fix indentation/fontification of Java enum with
2688 "implements"/generic.
2689
c2de5588
DK
2690 * progmodes/cc-engine.el (c-backward-over-enum-header):
2691 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2692 (c-inside-bracelist-p): Uses new function above.
2693 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2694 function above.
2695 (c-font-lock-enum-tail): Uses new function above.
2696
85b64f02
KH
26972013-10-13 Kenichi Handa <handa@gnu.org>
2698
2699 * international/mule-cmds.el (select-safe-coding-system): Remove a
2700 superfluous condition in chekcing whether a coding system is safe
2701 or not.
2702
fc7f501b
OK
27032013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2704
2705 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2706
fdcb2049
AP
27072013-10-13 Andreas Politz <politza@hochschule-trier.de>
2708
2709 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2710
8c106d17
GM
27112013-10-13 Glenn Morris <rgm@gnu.org>
2712
feab892d
GM
2713 * menu-bar.el (menu-bar-update-buffers):
2714 Unify Buffers menu prompt string. (Bug#15576)
2715
b22d0686
GM
2716 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2717
8c106d17
GM
2718 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2719 Add some entries.
2720 (authors-fixed-entries): Use accented form of name.
2721
1b12c797
SM
27222013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2723
650fa7bf 2724 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2725 method calls (bug#15594).
650fa7bf
SM
2726 (ruby-smie--args-separator-p): New function.
2727 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2728 recognize paren-free method calls.
2729
1b12c797
SM
2730 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2731 internals of universal-argument.
2732
029619c8
EZ
27332013-10-11 Eli Zaretskii <eliz@gnu.org>
2734
2735 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2736 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2737 dropped menu on second mouse click on the menu bar.
029619c8 2738
dd070019
SM
27392013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2742 (explicit-shell-file-name): Declare.
2743 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2744 (sh-completion-at-point-function): New function.
2745 (sh-mode): Use it.
2746 (sh-smie--keyword-p): Remove unused argument.
2747 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2748 vars.
2749 (sh-set-shell): Always setup SMIE, even if we use the
2750 old indentation code.
2751
0922b826
DG
27522013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2753
b68e2926
DG
2754 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2755 cases of ? and =.
2756 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2757 predicate would return nil are almost non-existent.
2758 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2759
0922b826
DG
2760 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2761 cache also after commands that modify the buffer but don't move
2762 point.
2763
ee041f2d
SM
27642013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * env.el (substitute-env-in-file-name): New function.
2767 (substitute-env-vars): Extend the meaning of the optional arg.
2768
a5dab159
EZ
27692013-10-10 Eli Zaretskii <eliz@gnu.org>
2770
2771 * term/w32-win.el (dynamic-library-alist): Define separate lists
2772 of GIF DLLs for versions before and after 5.0.0 of giflib.
2773 (Bug#15531)
2774
0449d6cd 27752013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2776
2777 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2778 not locked, use last revision and current source as
2779 defaults. (Bug#15569)
2780
2f6e161e
MY
27812013-10-10 Masatake YAMATO <yamato@redhat.com>
2782
2783 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2784 menu-bar is hidden.
2785
6c8413fc
MR
27862013-10-10 Martin Rudalics <rudalics@gmx.at>
2787
2788 * window.el (pop-to-buffer-same-window): Fix doc-string.
2789 (Bug#15492)
2790
20832de0
SM
27912013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2794
c6e8ae77
AC
27952013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2796
2797 * calendar/icalendar.el (icalendar-import-file):
2798 Fix interactive spec. (Bug#15482)
2799
9db13baf
GM
28002013-10-10 Glenn Morris <rgm@gnu.org>
2801
9271e90e
GM
2802 * desktop.el (desktop-save): Default to saving in .emacs.d,
2803 since PWD is no longer in desktop-path by default. (Bug#15319)
2804
9db13baf
GM
2805 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2806 now that text mode has a menu with the same entry.
2807 (menu-bar-text-mode-auto-fill): Remove now unused func.
2808 * textmodes/text-mode.el (text-mode-map):
2809 Use auto-fill help text from menu-bar.el.
2810
a0be396a 28112013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2812
2813 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2814
2edcd3c7
JL
28152013-10-09 Juri Linkov <juri@jurta.org>
2816
2817 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2818 instead of this-command-keys. Add universal-argument-more and
2819 universal-argument-minus to the list of prefix commands. (Bug#15568)
2820
574411d0
GM
28212013-10-09 Glenn Morris <rgm@gnu.org>
2822
14afa541
GM
2823 * vc/vc-svn.el (vc-svn-create-repo):
2824 Expand paths in file://... url. (Bug#15446)
2825
574411d0
GM
2826 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2827 Add some entries.
2828 (authors): Remove unused local variables.
2829
79804536
SM
28302013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * profiler.el: Create a more coherent calltree from partial backtraces.
2833 (profiler-format): Hide the tail with `invisible' so that C-s can still
2834 find the hidden elements.
2835 (profiler-calltree-depth): Don't recurse so enthusiastically.
2836 (profiler-function-equal): New hash-table-test.
2837 (profiler-calltree-build-unified): New function.
2838 (profiler-calltree-build): Use it.
2839 (profiler-report-make-name-part): Indent the calltree less.
2840 (profiler-report-mode): Add visibility specs for profiler-format.
2841 (profiler-report-expand-entry, profiler-report-toggle-entry):
2842 Expand the whole subtree when provided with a prefix arg.
2843
238150c8
DG
28442013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2845
2846 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2847 iuwu-mod token.
2848 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2849 hanging iuwu-mod token.
2850 (ruby-smie--forward-token): Do not include a dot after a token in
2851 that token.
2852 (ruby-smie--backward-token): Likewise.
2853
b0949cc4
JL
28542013-10-08 Juri Linkov <juri@jurta.org>
2855
2856 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2857 to isearch-other-control-char.
2858 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2859 and isearch-post-command-hook to post-command-hook.
2860 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2861 and isearch-post-command-hook from post-command-hook.
2862 (isearch-unread-key-sequence)
2863 (isearch-reread-key-sequence-naturally)
2864 (isearch-lookup-scroll-key, isearch-other-control-char)
2865 (isearch-other-meta-char): Remove functions.
2866 (isearch-pre-command-hook, isearch-post-command-hook):
2867 New functions based on isearch-other-meta-char rewritten
2868 relying on the new behavior of overriding-terminal-local-map
2869 that does not replace the local keymaps any more. (Bug#15200)
2870
4ed77415
EZ
28712013-10-08 Eli Zaretskii <eliz@gnu.org>
2872
2873 Support menus on text-mode terminals.
2874 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2875 functionality.
2876
2877 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2878
c2de5588
DK
2879 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2880 Move here from mouse.el.
4ed77415
EZ
2881 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2882 and arrow keys.
2883 (tty-menu-navigation-map): New map for TTY menu navigation.
2884
2885 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2886
2887 * frame.el (display-mouse-p): Report text-mode mouse as available
2888 on w32.
2889 (display-popup-menus-p): Report availability if mouse is
2890 available; don't condition on window-system.
2891
2892 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2893 (tty-menu-selected-face): New faces.
2894
b7d5bd82
TL
28952013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2896
06286513
SM
2897 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2898 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2899 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2900 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2901 New constants.
2902 (lisp-mode-variables): New `elisp' argument.
2903 (emacs-lisp-mode): Use it.
2904 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2905 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2906
b7d5bd82
TL
2907 * indent.el: Use lexical-binding.
2908 (indent-region): Add progress reporter.
2909 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2910 last step.
2911 (indent--next-tab-stop): New function to implement this behavior.
2912 (tab-to-tab-stop, move-to-tab-stop): Use it.
2913
29142013-10-08 Teemu Likonen <tlikonen@iki.fi>
2915
2916 * indent.el (indent-rigidly--current-indentation): New function.
2917 (indent-rigidly-map): New var.
2918 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2919
5ea75d23
BG
29202013-10-08 Bastien Guerry <bzg@gnu.org>
2921
2922 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2923
cc5da1ec
SM
29242013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2925
8ffa1a0b
SM
2926 * progmodes/perl-mode.el: Use lexical-binding.
2927 Remove redundant :group args.
2928 (perl-nochange): Change default to be closer to other major modes's
2929 standard behavior.
2930 (perl-indent-line): Don't consider text on current line as a
2931 valid beginning of function from which to indent.
2932
f2223371
SM
2933 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2934 with more than one argument (bug#15538).
2935
44256060
SM
2936 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2937
cc5da1ec
SM
2938 * vc/pcvs.el: Use lexical-binding.
2939 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2940 environment of `eval'.
2941 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2942 than a list of expressions. Adjust callers.
2943 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2944
0ea1599d
DG
29452013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2946
2947 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 2948 case of the dot in a chained method call being on the following line.
0ea1599d 2949
da3e5ebb
SM
29502013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2abb4e65
SM
2952 * electric.el (electric-indent-inhibit): New var.
2953 (electric-indent-post-self-insert-function): Use it.
2954 * progmodes/python.el (python-mode): Set it.
2955
d2e0e795
SM
2956 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2957 open braces.
2958
2959 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2960
bdc6b4c8
SM
2961 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2962 (css-mode): Use electric-indent-chars.
2963
da3e5ebb
SM
2964 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2965 (font-lock-beg, font-lock-end): Move before first use.
2966 (nxml-mode): Use syntax-propertize-function.
2967 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2968 (nxml-extend-after-change-region): Remove.
2969 * nxml/xmltok.el: Use lexical-binding.
2970 (xmltok-save): Use `declare'.
2971 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2972 * nxml/nxml-util.el: Use lexical-binding.
2973 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2974 Use `declare'.
2975 * nxml/nxml-ns.el: Use lexical-binding.
2976 (nxml-ns-save): Use `declare'.
2977 (nxml-ns-prefixes-for): Avoid add-to-list.
2978 * nxml/rng-match.el: Use lexical-binding.
2979 (rng--ipattern): Use cl-defstruct.
2980 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2981 (rng-cons-group-after, rng-subst-group-after)
2982 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2983 Use closures instead of `(lambda...).
2984
f8f91d5d
MA
29852013-10-07 Michael Albinus <michael.albinus@gmx.de>
2986
2987 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2988 of BEG and END.
2989
da3e5ebb
SM
2990 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2991 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
2992 (tramp-gvfs-handle-insert-file-contents): Remove function.
2993
da3e5ebb
SM
2994 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2995 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
2996
2997 * net/trampver.el: Update release number.
2998
7ccae3b1
SM
29992013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3000
55ca2c0d
SM
3001 * progmodes/compile.el (compilation-parse-errors):
3002 Use compilation--put-prop.
3003 (compilation--ensure-parse): Check compilation-multiline.
3004
731fc3ae
SM
3005 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3006
da3e5ebb
SM
3007 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3008 lexical-binding.
a5833280 3009
2e7ba2c2
SM
3010 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3011
7ccae3b1
SM
3012 * progmodes/ruby-mode.el: Fix recently added tests.
3013 (ruby-smie-grammar): Add - and +.
3014 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3015 (ruby-smie--backward-id): New functions.
3016 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3017 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3018 any more.
3019
85698d63
LL
30202013-10-07 Leo Liu <sdl.web@gmail.com>
3021
3022 * register.el (register-preview-delay)
3023 (register-preview-functions): New variables.
3024 (register-read-with-preview, register-preview)
3025 (register-describe-oneline): New functions.
3026 (point-to-register, window-configuration-to-register)
3027 (frame-configuration-to-register, jump-to-register)
3028 (number-to-register, view-register, insert-register)
3029 (copy-to-register, append-to-register, prepend-to-register)
3030 (copy-rectangle-to-register): Use register-read-with-preview to
3031 read register. (Bug#15525)
3032
3986af6c
DS
30332013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3034
3035 * net/network-stream.el (network-stream-open-starttls): Don't add
3036 --insecure if it's already present, because that gnutls-cli
3037 rejects getting that parameter twice.
3038
5cd9cda9
DG
30392013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3040
3041 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3042 keyword, too.
3043
da9ea6d9
DG
30442013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3045
3046 * newcomment.el (comment-use-global-state): Change default value
3047 to t, mark obsolete (Bug#15251).
3048 (comment-beginning): In addition to `comment-to-syntax', check the
3049 value of `comment-use-global-state'.
3050
34d1a133
SM
30512013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3054 (ruby-comment-column): Follow the global default, by default.
3055 (ruby-smie-grammar): Add assignment syntax.
3056 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3057 open-paren, a comma, or a \.
3058 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3059 and line continuations.
3060 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3061 followed by implicit semi-colons. Add rule for string concatenation
3062 and for indentation at BOB.
3063 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3064
3065 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3066 calling next-sexp, since next-token may have skipped chars which
3067 next-sexp doesn't know should be skipped!
3068
6f6ab820
LL
30692013-10-05 Leo Liu <sdl.web@gmail.com>
3070
34d1a133
SM
3071 * progmodes/octave.el (octave-send-region):
3072 Call compilation-forget-errors.
6f6ab820 3073
34ca0f4c
XF
30742013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3075
3076 * vc/vc-svn.el (vc-svn-find-admin-dir):
3077 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3078 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3079 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3080 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3081
a27c1b72
SM
30822013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3083
3084 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3085
258ab3bc
SM
30862013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3087
3088 * subr.el (read-passwd): Hide chars even when called within a context
3089 where after-change-functions is disabled (bug#15501).
3090 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3091 until we removed ourself from overriding-terminal-local-map.
3092
939fb29c
LL
30932013-10-04 Leo Liu <sdl.web@gmail.com>
3094
258ab3bc
SM
3095 * progmodes/octave.el (inferior-octave-mode):
3096 Call compilation-forget-errors.
939fb29c 3097
63bd7f35
XF
30982013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3099
3100 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3101
9e6229fa
MA
31022013-10-04 Michael Albinus <michael.albinus@gmx.de>
3103
3104 * net/secrets.el (secrets-create-collection): Add optional
3105 argument ALIAS. Use proper Label keyword. Append ALIAS as
3106 dbus-call-method argument. (Bug#15516)
3107
1dab32a3
LL
31082013-10-04 Leo Liu <sdl.web@gmail.com>
3109
3110 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3111 (inferior-octave-compilation-font-lock-keywords): New variables.
3112 (compilation-error-regexp-alist)
3113 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3114 (inferior-octave-mode): Use compilation-shell-minor-mode.
3115
6cad7ba3
JS
31162013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3117
3118 * minibuffer.el (completion--replace): Be careful that `end' might be
3119 a marker.
3120
acbadd00
DU
31212013-10-03 Daiki Ueno <ueno@gnu.org>
3122
3123 Add support for package signature checking.
3124 * emacs-lisp/package.el (url-http-file-exists-p)
3125 (epg-make-context, epg-context-set-home-directory)
3126 (epg-verify-string, epg-context-result-for)
3127 (epg-signature-status, epg-signature-to-string)
3128 (epg-check-configuration, epg-configuration)
3129 (epg-import-keys-from-file): Declare.
3130 (package-check-signature): New user option.
3131 (package-unsigned-archives): New user option.
3132 (package-desc): Add `signed' field.
3133 (package-load-descriptor): Set `signed' field if .signed file exists.
3134 (package--archive-file-exists-p): New function.
3135 (package--check-signature): New function.
3136 (package-install-from-archive): Check package signature.
3137 (package--download-one-archive): Check archive signature.
3138 (package-delete): Remove .signed file.
3139 (package-import-keyring): New command.
3140 (package-refresh-contents): Import default keyring.
3141 (package-desc-status): Add "unsigned" status.
3142 (describe-package-1, package-menu--print-info)
3143 (package-menu-mark-delete, package-menu--find-upgrades)
3144 (package-menu--status-predicate): Support "unsigned" status.
3145
adf2aa61
SM
31462013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3149 the new compilation scheme using the new byte-codes.
3150
3151 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3152 (byte-pophandler): New byte codes.
3153 (byte-goto-ops): Adjust accordingly.
3154 (byte-compile--use-old-handlers): New var.
3155 (byte-compile-catch): Use new byte codes depending on
3156 byte-compile--use-old-handlers.
3157 (byte-compile-condition-case--old): Rename from
3158 byte-compile-condition-case.
3159 (byte-compile-condition-case--new): New function.
3160 (byte-compile-condition-case): New function that dispatches depending
3161 on byte-compile--use-old-handlers.
3162 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3163 when we can.
3164
3165 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3166 Optimize under `condition-case' and `catch' if
3167 byte-compile--use-old-handlers is nil.
3168 (disassemble-offset): Handle new bytecodes.
3169
328a8179
SM
31702013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * subr.el (error): Use `declare'.
3173 (decode-char, encode-char): Use advertised-calling-convention instead
3174 of the docstring to discourage use of the `restriction' arg.
3175
15a1e936
DU
31762013-10-03 Daiki Ueno <ueno@gnu.org>
3177
3178 * epg.el (epg-verify-file): Add a comment saying that it does not
3179 notify verification error as a return value nor a signal.
3180 (epg-verify-string): Ditto.
3181
376f862a
KR
31822013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3183
3184 * progmodes/compile.el (compilation-start): Try globbing the arg to
3185 `cd' (bug#15417).
3186
a2f93a5f
MA
31872013-10-02 Michael Albinus <michael.albinus@gmx.de>
3188
3189 Sync with Tramp 2.2.8.
3190
3191 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3192 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3193 * net/trampver.el: Update release number.
3194
0daa0804
JD
31952013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3196
3197 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3198 and default-process-coding-system for darwin only.
3199
abd1ae34
SM
32002013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3203
be4e325d
MH
32042013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3205
3206 * vc/vc-git.el (vc-git-grep): Disable pager.
3207
e9155c4a
DG
32082013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3209
494e898b
DG
3210 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3211 Use :url instead of :homepage, as per
3212 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3213
e9155c4a
DG
3214 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3215 non-nil, use `syntax-ppss' (Bug#15251).
3216
481a8e0f
RS
32172013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3218
be4e325d
MH
3219 * progmodes/octave.el (inferior-octave-startup-file):
3220 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3221
056453c6
DG
32222013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3223
be4e325d
MH
3224 * emacs-lisp/package.el (package-desc-from-define):
3225 Accept additional arguments as plist, convert them to an alist and store
3226 them in the `extras' slot.
056453c6
DG
3227 (package-generate-description-file): Convert extras alist back to
3228 plist and append to the `define-package' form arguments.
3229 (package--alist-to-plist): New function.
3230 (package--ac-desc): Add `extras' slot.
3231 (package--add-to-archive-contents): Check if the archive-contents
3232 vector is long enough, and if it is, pass its `extras' slot value
3233 to `package-desc-create'.
3234 (package-buffer-info): Call `lm-homepage', pass the returned value
3235 to `package-desc-from-define'.
3236 (describe-package-1): Render the homepage button (Bug#13291).
3237
be4e325d
MH
3238 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3239 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3240
832966e5
JD
32412013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3242
3243 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3244 and default-process-coding-system to utf-8-unix (Bug#15402).
3245
6cfe977d
XF
32462013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3247
3248 * subr.el (looking-back): Do not recommend using looking-back.
3249
38de11bd
AM
32502013-09-28 Alan Mackenzie <acm@muc.de>
3251
3252 Fix indentation/fontification of Java enum with "implements".
3253
3254 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3255 regexp which matches "implements", etc., in Java.
3256 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3257 specifier clauses coming after "enum".
3258 * progmodes/cc-fonts.el (c-font-lock-declarations)
3259 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3260 after "enum".
3261
1610938f
JD
32622013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3263
3264 * faces.el (region): Change ns_selection_color to
3265 ns_selection_fg_color, add ns_selection_bg_color.
3266
e090f499
LL
32672013-09-28 Leo Liu <sdl.web@gmail.com>
3268
4d2e94d1
LL
3269 * progmodes/octave.el (inferior-octave-completion-table)
3270 (inferior-octave-completion-at-point): Minor tweaks.
3271
e090f499
LL
3272 * textmodes/ispell.el (ispell-lookup-words): Rename from
3273 lookup-words. (Bug#15460)
3274 (lookup-words): Obsolete.
3275 (ispell-complete-word, ispell-command-loop): All uses changed.
3276
7e138a62
RS
32772013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3278
3279 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3280 (octave-mode-menu): Add octave-send-buffer.
3281 (octave-send-buffer): New function.
3282
5af5ed08
RS
32832013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3284
3285 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3286 octave-lookfor.
3287 (octave-mode-menu): Add octave-lookfor.
3288 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3289 octave-lookfor.
3290 (octave-lookfor): New function.
3291
3b7b2692
SM
32922013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * emacs-lisp/cl-macs.el:
3295 (cl--loop-destr-temps): Remove.
3296 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3297 its convention.
3298 (cl--loop-set-iterator-function): New function.
3299 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3300 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3301 Bind `it' with `let' instead of substituting it with `cl-subst'.
3302 (cl--unused-var-p): New function.
3303 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3304 Eliminate some unused variable warnings (bug#15326).
3305
529fb53f
TH
33062013-09-27 Tassilo Horn <tsdh@gnu.org>
3307
3308 * doc-view.el (doc-view-scale-reset): Rename from
3309 `doc-view-reset-zoom-level'.
3310 (doc-view-scale-adjust): New command.
3311 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3312 `doc-view-scale-adjust'.
3313
0550c95a
TH
33142013-09-26 Tassilo Horn <tsdh@gnu.org>
3315
3316 * doc-view.el (doc-view-reset-zoom-level): New command.
3317 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3318 zoom commands (bug#15466).
3319
6950f152
KH
33202013-09-26 Kenichi Handa <handa@gnu.org>
3321
3322 * international/quail.el (quail-help): Make it not a command.
3323
39587580
LL
33242013-09-26 Leo Liu <sdl.web@gmail.com>
3325
3326 * minibuffer.el (completion-all-sorted-completions): Make args
3327 optional as they are.
3328
00578659
DC
33292013-09-25 Daniel Colascione <dancol@dancol.org>
3330
3331 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3332 specs are and that they're not evaluated.
3333
0c173878
SS
33342013-09-24 Sam Steingold <sds@gnu.org>
3335
3336 * midnight.el (clean-buffer-list-kill-regexps)
3337 (clean-buffer-list-kill-buffer-names): Update for the new Man
3338 buffer naming which includes the object name.
3339
84998447
SM
33402013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3343 (eshell-parse-command, eshell-parse-pipeline): Use it since
3344 eshell-separate-commands requires a dynamic scoped var.
3345 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3346
33215353
LL
33472013-09-23 Leo Liu <sdl.web@gmail.com>
3348
3349 * autoinsert.el (auto-insert-alist): Make the value of
3350 lexical-binding match its file setting.
3351
57b16162
JB
33522013-09-23 Juanma Barranquero <lekktu@gmail.com>
3353
c8af4e67
JB
3354 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3355
57b16162
JB
3356 * autoarg.el (autoarg-kp-digit-argument):
3357 * electric.el (Electric-command-loop):
3358 * kmacro.el (kmacro-step-edit-insert):
3359 Do not set universal-argument-num-events.
3360
7186ba60
LL
33612013-09-22 Leo Liu <sdl.web@gmail.com>
3362
3363 * files.el (interpreter-mode-alist): Add octave.
3364
ece15004
AM
33652013-09-21 Alan Mackenzie <acm@muc.de>
3366
3367 C++: fontify identifier in declaration following "public:" correctly.
3368 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3369 to match "public", etc.
3370 (c-decl-prefix-re): Add ":" into the C++ value.
3371 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3372 bit. Add a check for a ":" preceded by "public", etc.
3373
75d83e22
EZ
33742013-09-21 Eli Zaretskii <eliz@gnu.org>
3375
3376 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3377 recognized by GDB 7.5 and later.
3378
d052d3bd
XF
33792013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3380
3381 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3382
31dca772
R
33832013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3384
3385 * subr.el (internal--call-interactively): New const.
3386 (called-interactively-p): Use it (bug#3984).
3387
98ccf24e
XF
33882013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3389
3390 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3391 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3392 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3393
c39cc7d1
SM
33942013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3397 (eshell-ls-orig-insert-directory): Remove.
3398 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3399 (eshell-ls-use-in-dired): Use advice-add/remove.
3400 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3401 Add `orig-fun' arg for use in :around advice.
3402 Make it check (redundantly) eshell-ls-use-in-dired.
3403
9a0289a2
GM
34042013-09-19 Glenn Morris <rgm@gnu.org>
3405
a2c501b8
GM
3406 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3407
c440407a
GM
3408 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3409
9a0289a2
GM
3410 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3411
85e05915
MA
34122013-09-19 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3415 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3416 (tramp-get-remote-python): New defuns.
3417 (tramp-get-remote-uid-with-perl)
3418 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3419 contributed by yary <not.com@gmail.com> (tiny change).
3420 (tramp-get-remote-uid-with-python)
3421 (tramp-get-remote-gid-with-python): New defuns. Python code
3422 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3423 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3424
ce503312
GM
34252013-09-19 Glenn Morris <rgm@gnu.org>
3426
f7544773
GM
3427 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3428
72fd2877
GM
3429 * eshell/em-unix.el (eshell-remove-entries):
3430 Rename argument to avoid name-clash with global `top-level'.
3431
336b5a56
GM
3432 * eshell/esh-proc.el (eshell-kill-process-function):
3433 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3434 (eshell-reset-after-proc): Remove unused arg `proc'.
3435
57a3a53d
GM
3436 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3437 (directory-files-and-attributes): Mark unused arg.
3438
3261d4af
GM
3439 * eshell/em-unix.el (eshell-remove-entries):
3440 Remove unused arg `path'. Update callers.
3441
8e51b5d0
GM
3442 * eshell/em-hist.el (eshell-hist-parse-arguments):
3443 Remove unused arg `silent'. Update callers.
3444
ce503312
GM
3445 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3446 Fix (f)boundp mix-up.
3447
3448 * eshell/em-smart.el (eshell-smart-scroll-window)
3449 (eshell-disable-after-change):
336b5a56 3450 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3451
ee3ce8a7
AM
34522013-09-18 Alan Mackenzie <acm@muc.de>
3453
3454 Fix fontification of type when followed by "const".
3455 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3456 "known" types from fontification.
3457
ec9177ba
GM
34582013-09-18 Glenn Morris <rgm@gnu.org>
3459
7bb3e768
GM
3460 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3461 (chart-face-list): Drop Emacsen without display-color-p.
3462
5148da15
GM
3463 * net/eww.el (libxml-parse-html-region): Declare.
3464 (eww-display-html): Explicit error if no libxml2 support.
3465
2f68e157
GM
3466 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3467
9019d095
GM
3468 * image.el (image-type-from-buffer, image-multi-frame-p):
3469 Remove --without-x warning/error.
67645389 3470
5f30349b 3471 * mouse.el (mouse-yank-primary):
45069b2e 3472 * term.el (term-mouse-paste):
5f30349b
GM
3473 Reorder to silence --without-x compilation.
3474
cd8edbbe
GM
3475 * mpc.el (doc-view-mode): Silence --without-x compilation.
3476
8a78544e
GM
3477 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3478 Silence --without-x compilation.
3479
12679bfd
GM
3480 * progmodes/gud.el (gud-find-file, gud-mode):
3481 Silence --without-x compilation.
3482 (tooltip-mode): Declare.
30810a05 3483
f0047cb9
GM
3484 * wdired.el (dired-backup-overwrite): Remove declaration.
3485 (wdired-mode-map): Add doc string.
3486
e740f9d2
GM
3487 * custom.el (x-get-resource): Declare.
3488
92d77c89
GM
3489 * eshell/em-glob.el (ange-cache):
3490 * eshell/em-unix.el (ange-cache): Declare.
3491
76e69577
GM
3492 * faces.el (x-display-list, x-open-connection, x-get-resource):
3493 Declare.
7e58af4b
GM
3494
3495 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3496 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3497 Declare.
76e69577 3498
4bd4c0af 3499 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3500
ffb82dbd
GM
3501 * net/gnutls.el (gnutls-log-level): Declare.
3502
986ed135
GM
3503 * net/shr.el (image-size, image-animate): Declare.
3504
e740f9d2
GM
3505 * simple.el (font-info): Declare.
3506
d2f3e9f8
GM
3507 * subr.el (x-popup-dialog): Declare.
3508
047a1a4c
GM
3509 * term/common-win.el (x-select-enable-primary)
3510 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3511 Declare.
3512
f4a1d572
GM
3513 * term/ns-win.el (x-handle-args): Declare.
3514
e843de77
GM
3515 * term/x-win.el (x-select-enable-clipboard): Declare.
3516
5fa89513
GM
3517 * term/w32-win.el (create-default-fontset): Declare.
3518
38702b5b
GM
3519 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3520 Declare.
3521
e740f9d2
GM
3522 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3523 (fit-frame-to-buffer): Explicit error if --without-x.
3524 (mouse-autoselect-window-select): Silence compiler.
3525
49a053fc
GM
3526 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3527
3528 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3529 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3530 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3531 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3532 Remove unused local variables.
3533
3534 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3535
ec9177ba
GM
3536 * textmodes/two-column.el: Make 2C-split work for --without-x.
3537 (scroll-bar-columns): Autoload.
3538 (top-level): Require fringe when compiling.
3539
9f25cb77
LL
35402013-09-18 Leo Liu <sdl.web@gmail.com>
3541
3542 * subr.el (add-hook): Robustify to handle closure as well.
3543
2b42da98
GM
35442013-09-17 Glenn Morris <rgm@gnu.org>
3545
3546 * simple.el (messages-buffer-mode-map): Unbind "g".
3547
e8b66a6a
SM
35482013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3549
9c0ad4f7
SM
3550 * help-mode.el (help-mode-finish): Use derived-mode-p.
3551 Remove obsolete highlighting.
3552
7a806dfb
SM
3553 * play/life.el (life-mode): Use define-derived-mode. Derive from
3554 special-mode.
3555 (life): Let-bind inhibit-read-only.
3556 (life-setup): Avoid `setq'. Use `life-mode'.
3557
96dbf5a8
SM
3558 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3559 which should not be needed any more.
3560 (package-menu-refresh, package-menu-describe-package): Use user-error.
3561
e8b66a6a
SM
3562 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3563 (eshell-post-rewrite-command-hook): Make obsolete.
3564 (eshell-parse-command): Simplify.
3565 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3566 (eshell--cmd): Declare.
3567 (eshell-parse-pipeline): Remove unused var `final-p'.
3568 Pass a dynvar to eshell-post-rewrite-command-hook.
3569 Implement the new eshell-post-rewrite-command-function.
3570 (eshell-invoke-directly): Remove unused arg `input'.
3571 * eshell/esh-io.el (eshell-io-initialize):
3572 Use eshell-post-rewrite-command-function (bug#15399).
3573 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3574 adjust to new calling convention.
3575 (eshell-create-handles): Rename args to avoid clashing with dynvar
3576 `standard-output'.
3577
90582f05
GM
35782013-09-17 Glenn Morris <rgm@gnu.org>
3579
3580 * simple.el (messages-buffer-mode): New major mode.
3581 (messages-buffer): New function.
3582 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3583 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3584 (ert-run-test): Use `messages-buffer' function.
90582f05 3585 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3586 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3587 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3588
39eb0cb5 35892013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3590
3591 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3592
1f1e06e2
SM
3593 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3594
70568a90
SM
35952013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3596
504a0381
SM
3597 * icomplete.el (icomplete-in-buffer): New var.
3598 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3599 vars and replace them with functions.
3600 (icomplete-minibuffer-setup): Adjust accordingly.
3601 (icomplete--completion-table, icomplete--completion-predicate)
3602 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3603 New functions.
3604 (icomplete-forward-completions, icomplete-backward-completions)
3605 (icomplete-simple-completing-p, icomplete-exhibit)
3606 (icomplete-completions): Use them.
3607 (icomplete--in-region-buffer): New var.
3608 (icomplete--in-region-setup): New function.
3609 (icomplete-mode): Use it.
3610
70568a90
SM
3611 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3612 (bug#15379).
3613 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3614 return args and options.
3615 (eshell-eval-using-options): Use the new return value of
3616 eshell--do-opts to set the options's vars in their scope.
3617 (eshell--set-option): Rename from eshell-set-option.
3618 Add arg `opt-vals'.
3619 (eshell--process-option): Rename from eshell-process-option.
3620 Add arg `opt-vals'.
3621 (eshell--process-args): Use an `opt-vals' alist to store the options's
3622 values during their processing and return them additionally to the
3623 remaining args.
3624
578c21bc
DG
36252013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3626
3627 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3628 continuation character an operator, as far as indentation is
3629 concerned (Bug#15369).
3630
c089653d
MR
36312013-09-15 Martin Rudalics <rudalics@gmx.at>
3632
3633 * window.el (window--state-put-2): Don't process buffer state
3634 when buffer doesn't exist any more (Bug#15382).
3635
1e53bb4b
GM
36362013-09-15 Glenn Morris <rgm@gnu.org>
3637
30753242
GM
3638 * eshell/em-unix.el (eshell/rm):
3639 Make -f ignore missing files. (Bug#15373)
3640
1e53bb4b
GM
3641 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3642 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3643 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3644
0d8863b3
GM
36452013-09-14 Glenn Morris <rgm@gnu.org>
3646
3647 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3648
d3fc6549
GM
36492013-09-13 Glenn Morris <rgm@gnu.org>
3650
3651 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3652 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3653
fcd42c11
DA
36542013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3655
3656 * frame.el (x-focus-frame): Mark as declared in frame.c.
3657
7830899f
SM
36582013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * ls-lisp.el: Use advice-add.
3661 (original-insert-directory): Remove.
3662 (ls-lisp--insert-directory): Rename from insert-directory; add
3663 `orig-fun' argument.
3664 (insert-directory): Advise.
3665
84387cd2
EZ
36662013-09-13 Eli Zaretskii <eliz@gnu.org>
3667
3668 * term.el (term-emulate-terminal): Decode the command string
3669 before passing it to term-command-hook. (Bug#15337)
3670
35ffc6ba
GM
36712013-09-13 Glenn Morris <rgm@gnu.org>
3672
5c3f9bcc
GM
3673 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3674
2ada368a
GM
3675 * eshell/esh-ext.el (eshell-search-path): Declare.
3676
fcef2e13
GM
3677 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3678 Otherwise an error occurs if eshell-dirs module not loaded.
3679
35ffc6ba
GM
3680 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3681
35c3d36e
MA
36822013-09-13 Michael Albinus <michael.albinus@gmx.de>
3683
3684 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3685 `tramp-check-proper-host'. Check for a valid method name.
3686
3687 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3688 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3689 * net/tramp-sh.el (tramp-maybe-open-connection):
3690 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3691
3692 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3693 also for hash values.
3694
ae5e4c48
SM
36952013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3696
379add74
SM
3697 * term/ns-win.el (parameters): Don't declare as dynamic.
3698 (before-make-frame-hook): Don't add ineffective function.
3699
ae5e4c48
SM
3700 * eshell/*.el: Use lexical-binding (bug#15231).
3701
b5623270
KH
37022013-09-12 Kenichi Handa <handa@gnu.org>
3703
ae5e4c48 3704 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3705
30213927
GM
37062013-09-12 Glenn Morris <rgm@gnu.org>
3707
be94d713 3708 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3709 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3710
44915370
GM
3711 * subr.el (do-after-load-evaluation): Also give compiler warnings
3712 when obsolete files are used (except by obsolete files).
3713
a6ae021f
GM
3714 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3715 in the status output, assume `filename' is the first. (Bug#15322)
3716
40e64f0c
GM
3717 * vc/vc.el (vc-deduce-fileset): Doc fix.
3718
16d9f896
GM
3719 * calc/calc-help.el (Info-goto-node):
3720 * progmodes/cperl-mode.el (Info-find-node):
3721 * vc/ediff.el (Info-goto-node): Update declarations.
3722
dea01c6e
GM
3723 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3724
759880bf 3725 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3726 (vc-bzr-pull): Require vc-dispatcher.
3727 * vc/vc-git.el (vc-compilation-mode): Declare.
3728 (vc-git-pull): Require vc-dispatcher.
3729
08d66420
GM
3730 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3731
30b626e9
GM
3732 * progmodes/octave.el (help-button-action): Declare.
3733
8c05cb10
GM
3734 * shell.el (shell-directory-tracker): Output error as a message
3735 rather than just returning it as a string.
3736 (shell-process-pushd): Remove useless use of message.
3737
30213927
GM
3738 * dframe.el (dframe-timer-fn):
3739 * files.el (dir-locals-read-from-file):
3740 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3741 (mpc-format):
3742 * reveal.el (reveal-post-command):
3743 * saveplace.el (load-save-place-alist-from-file):
3744 * shell.el (shell-resync-dirs):
3745 * w32-common-fns.el (x-get-selection-value):
3746 * emacs-lisp/copyright.el (copyright-find-copyright):
3747 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3748 * emulation/tpu-edt.el (tpu-copy-keyfile):
3749 * play/bubbles.el (bubbles--mark-neighbourhood):
3750 * progmodes/executable.el
3751 (executable-make-buffer-file-executable-if-script-p):
3752 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3753
d3b049e6
SM
37542013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3755
170266d0
SM
3756 Cleanup Eshell to rely less on dynamic scoping.
3757 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3758 last-value, and ext-command here. Bind `args' closer to `body'.
3759 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3760 (eshell--args): Declare new dynamic var.
3761 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3762 last-value, and ext-command. Pass `args' to `body'.
3763 (eshell-process-args): Bind eshell--args.
3764 (eshell-set-option): Use eshell--args.
3765 * eshell/eshell.el (eshell): Use derived-mode-p.
3766 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3767 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3768 (eshell-glob-function): Declare.
3769 * eshell/esh-util.el: Require cl-lib.
3770 (eshell-read-hosts-file): Avoid add-to-list.
3771 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3772 `err'.
3773 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3774 Declare.
3775 (eshell/diff): Remove unused var `err'.
3776 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3777 `killflag'.
3778 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3779 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3780 first use.
3781 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3782 Move declaration before first use.
3783 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3784 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3785 rely on cl-return.
3786
56834f3b
GM
37872013-09-12 Glenn Morris <rgm@gnu.org>
3788
3789 * term/ns-win.el (global-map): Remove binding for ispell-next,
3790 deleted 1999-05-29. (Bug#15357)
3791
5c91a2b8
GM
37922013-09-11 Glenn Morris <rgm@gnu.org>
3793
da712f22
GM
3794 * echistory.el (electric-command-history): Remove call to deleted func.
3795
512e4cdc
GM
3796 * play/landmark.el (landmark-mode): Fix typos.
3797
d3506ca5
GM
3798 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3799 Check cvs-sort-ignore-file is bound.
3800
5c91a2b8
GM
3801 * savehist.el: No need for cl when compiling on Emacs.
3802
feeff482
SM
38032013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3804
656bd483
SM
3805 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3806 (bug#15338).
d3b049e6
SM
3807 (eshell-self-insert-command, eshell-send-invisible):
3808 Remove unused argument.
656bd483
SM
3809 (eshell-handle-control-codes): Remove unused var `orig'.
3810 Avoid delete-backward-char.
3811
feeff482
SM
3812 * files.el (set-auto-mode): Simplify a bit further.
3813
2a08047a
GM
38142013-09-11 Glenn Morris <rgm@gnu.org>
3815
3816 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3817 (set-auto-mode): Don't regexp-quote elements.
3818 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3819 * progmodes/cc-mode.el (interpreter-mode-alist):
3820 * progmodes/ruby-mode.el (interpreter-mode-alist):
3821 Revert previous change.
3822
34675540
SM
38232013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3824
1b3b87df
SM
3825 * play/snake.el (snake-mode):
3826 * play/mpuz.el (mpuz-mode):
3827 * play/landmark.el (lm-mode):
3828 * play/blackbox.el (blackbox-mode):
3829 * play/5x5.el (5x5-mode):
3830 * obsolete/options.el (Edit-options-mode):
3831 * net/quickurl.el (quickurl-list-mode):
3832 * net/newst-treeview.el (newsticker-treeview-mode):
3833 * mail/rmailsum.el (rmail-summary-mode):
3834 * mail/mspools.el (mspools-mode):
3835 * locate.el (locate-mode):
3836 * ibuffer.el (ibuffer-mode):
3837 * emulation/ws-mode.el (wordstar-mode):
3838 * emacs-lisp/debug.el (debugger-mode):
3839 * array.el (array-mode):
3840 * net/eudc.el (eudc-mode): Use define-derived-mode.
3841 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3842 Move initialization into declaration.
3843 (mairix-searches-mode): Use define-derived-mode.
3844 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3845 (eudc-edit-hotlist): Use dolist.
3846 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3847 (Man-mode): Use define-derived-mode.
3848 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3849 (Info-edit-mode): Use define-derived-mode.
3850 (Info-cease-edit): Use Info-mode.
3851 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3852 into declaration.
3853 (eshell-mode): Use define-derived-mode.
3854 * chistory.el (command-history-mode-map): Rename from
3855 command-history-map.
3856 (command-history-mode): Use define-derived-mode.
da712f22 3857 (Command-history-setup): Remove function.
1b3b87df
SM
3858 * calc/calc.el (calc-trail-mode-map): New var.
3859 (calc-trail-mode): Use define-derived-mode.
3860 (calc-trail-buffer): Set calc-main-buffer manually.
3861 * bookmark.el (bookmark-insert-annotation): New function.
3862 (bookmark-edit-annotation): Use it.
3863 (bookmark-edit-annotation-mode): Make it a proper major mode.
3864 (bookmark-send-edited-annotation): Use derived-mode-p.
3865 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3866 closer to its ideal place. Use \' to match EOS.
3867
34675540
SM
3868 * profiler.el (profiler-calltree-find): Use function-equal.
3869
6a5c15d9
GM
38702013-09-10 Glenn Morris <rgm@gnu.org>
3871
1af4c220
GM
3872 * files.el (interpreter-mode-alist): Convert to regexps.
3873 (set-auto-mode): Adapt for this. (Bug#15306)
3874 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3875 Comment out unused variable.
3876 * progmodes/cc-mode.el (interpreter-mode-alist):
3877 * progmodes/python.el (interpreter-mode-alist):
3878 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3879 * progmodes/sh-script.el (sh-set-shell):
3880 No longer use interpreter-mode-alist to get list of shells.
3881
6a5c15d9
GM
3882 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3883
8c27f5ff
SM
38842013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3885
02ef6c1a 3886 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3887 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3888 Bind switch-frame explicitly. Replace universal-argument-minus with
3889 a conditional binding.
3890 (universal-argument-num-events, saved-overriding-map): Remove.
3891 (restore-overriding-map): Remove.
3892 (universal-argument--mode): Rename from save&set-overriding-map,
3893 and rewrite.
3894 (universal-argument, universal-argument-more, negative-argument)
3895 (digit-argument): Adjust accordingly.
3896 (universal-argument-minus): Remove.
3897 (universal-argument-other-key): Remove.
3898
8c27f5ff
SM
3899 * subr.el (with-demoted-errors): Add `format' argument.
3900
6480194c
MA
39012013-09-10 Michael Albinus <michael.albinus@gmx.de>
3902
3903 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3904 `tramp-cleanup-connection'.
3905
3906 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3907 parameters KEEP-DEBUG and KEEP-PASSWORD.
3908
3909 * net/tramp.el (tramp-file-name-handler):
3910 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3911 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3912 (tramp-maybe-open-connection):
8c27f5ff
SM
3913 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3914 Use `tramp-cleanup-connection'.
6480194c 3915
8c27f5ff
SM
3916 * net/tramp-sh.el (tramp-maybe-open-connection):
3917 Catch 'uname-changed inside the progress reporter.
6480194c 3918
e5e916d8
GM
39192013-09-10 Glenn Morris <rgm@gnu.org>
3920
9a2c9b47
GM
3921 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3922
e5e916d8
GM
3923 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3924 returns "alternate access method" in mode (eg "-rw-r--r--.").
3925
144e38fe
GM
39262013-09-08 Glenn Morris <rgm@gnu.org>
3927
3928 * saveplace.el (load-save-place-alist-from-file):
3929 Demote errors. (Bug#15305)
3930
af9ff9e8
MA
39312013-09-08 Michael Albinus <michael.albinus@gmx.de>
3932
3933 Improve compatibility with older Emacsen, and XEmacs.
3934
3935 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3936 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
3937 (with-tramp-progress-reporter): Do not let-bind `result'.
3938 This yields to scoping errors in XEmacs.
af9ff9e8
MA
3939 (tramp-handle-make-auto-save-file-name): New function, moved from
3940 tramp-sh.el.
3941
3942 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3943 for `make-auto-save-file-name'.
8c27f5ff
SM
3944 (tramp-adb--gnu-switches-to-ash):
3945 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3946
3947 * net/tramp-cache.el (tramp-cache-print): Call
3948 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3949
3950 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3951 bound. It isn't for XEmacs.
3952
8c27f5ff
SM
3953 * net/tramp-compat.el (tramp-compat-copy-file):
3954 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
3955 (tramp-compat-replace-regexp-in-string): New defun.
3956
3957 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3958 for `make-auto-save-file-name'.
3959 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3960 `copy-file'.
3961 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3962 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3963 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3964
8c27f5ff
SM
3965 * net/tramp-gw.el (tramp-gw-open-network-stream):
3966 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 3967
8c27f5ff
SM
3968 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3969 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
3970 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3971 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
3972 (tramp-sh-file-inotifywait-process-filter):
3973 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3974 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3975
3976 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3977 for `make-auto-save-file-name'.
8c27f5ff
SM
3978 (tramp-smb-handle-copy-directory):
3979 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
3980 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3981 (tramp-smb-handle-copy-file): Improve error message.
3982 (tramp-smb-handle-rename-file): Rename directly only in case
3983 `newname' does not exist yet. This is a restriction of smbclient.
3984 (tramp-smb-maybe-open-connection): Rerun the function only when
3985 `auth-sources' is non-nil.
3986
0ca754d0
KH
39872013-09-08 Kenichi Handa <handa@gnu.org>
3988
3989 * international/characters.el: Set category "^" (Combining) for
3990 more characters.
3991
e8dd0787
AM
39922013-09-07 Alan Mackenzie <acm@muc.de>
3993
3994 Correctly fontify Java class constructors.
3995 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3996 in Java Mode.
3997 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
3998 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3999 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4000 "typeless" declaration there.
4001
f2f248e7
RW
40022013-09-07 Roland Winkler <winkler@gnu.org>
4003
4004 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4005 field subtitle for entry type book.
4006
67982e2b
SM
40072013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4008
4009 * minibuffer.el: Make minibuffer-complete call completion-in-region
4010 rather than other way around.
4011 (completion--some, completion-pcm--find-all-completions):
4012 Don't delay signals when debugging.
4013 (minibuffer-completion-contents): Beware fields within the
4014 minibuffer contents.
4015 (completion-all-sorted-completions): Use defvar-local.
4016 (completion--do-completion, completion--cache-all-sorted-completions)
4017 (completion-all-sorted-completions, minibuffer-force-complete):
4018 Add args `beg' and `end'.
4019 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4020 (minibuffer-complete): Use completion-in-region.
4021 (completion-complete-and-exit): New fun, extracted from
4022 minibuffer-complete-and-exit.
4023 (minibuffer-complete-and-exit): Use it.
4024 (completion--complete-and-exit): Rename from
4025 minibuffer--complete-and-exit.
4026 (completion-in-region--single-word): New function, extracted from
4027 minibuffer-complete-word.
4028 (minibuffer-complete-word): Use it.
4029 (display-completion-list): Make `common-substring' argument obsolete.
4030 (completion--in-region): Call completion--in-region-1 instead of
4031 minibuffer-complete.
4032 (completion-help-at-point): Pass boundaries to
4033 minibuffer-completion-help as args rather than via an overlay.
4034 (completion-pcm--string->pattern): Use `any-delim'.
4035 (completion-pcm--optimize-pattern): New function.
4036 (completion-pcm--pattern->regex): Handle `any-delim'.
4037 * icomplete.el (icomplete-forward-completions)
4038 (icomplete-backward-completions, icomplete-completions):
4039 Adjust calls to completion-all-sorted-completions and
4040 completion--cache-all-sorted-completions.
4041 (icomplete-with-completion-tables): Default to t.
4042 * emacs-lisp/crm.el (crm--current-element): Rename from
4043 crm--select-current-element. Don't put an overlay but return the
4044 boundaries instead.
4045 (crm--completion-command): Take two new args to bind to the boundaries.
4046 (crm-completion-help): Adjust accordingly.
4047 (crm-complete): Use completion-in-region.
4048 (crm-complete-word): Use completion-in-region--single-word.
4049 (crm-complete-and-exit): Use completion-complete-and-exit.
4050
e17d94a5
SM
40512013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4054 than dynamically.
4055
96727100
JL
40562013-09-06 Juri Linkov <juri@jurta.org>
4057
4058 * info.el (Info-display-images-node): When image file doesn't exist
4059 display text version of the image if it's provided in the Info file.
4060 Otherwise, display the location of missing image from SRC attribute.
4061 Add help-echo text property from ALT attribute. (Bug#15279)
4062
86cf7329
SM
40632013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4066 (edit-abbrevs-mode): Use define-derived-mode.
4067
4068 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4069 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4070 that it's defined.
4071 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4072 Use define-derived-mode.
4073
4074 * epg.el (epg-start-encrypt): Minor CSE simplification.
4075
816244a2
WX
40762013-09-06 William Xu <william.xwl@gmail.com>
4077
4078 * arc-mode.el: Add support for 7za (bug#15264).
4079 (archive-7z-program): New var.
4080 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4081 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4082 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4083
1486fa31
MA
40842013-09-06 Michael Albinus <michael.albinus@gmx.de>
4085
4086 Remove URL syntax.
4087
4088 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4089 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4090 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4091 (tramp-postfix-host-format, tramp-file-name-regexp)
4092 (tramp-completion-file-name-regexp)
4093 (tramp-completion-dissect-file-name)
4094 (tramp-handle-substitute-in-file-name): Remove 'url case.
4095 (tramp-file-name-regexp-url)
4096 (tramp-completion-file-name-regexp-url): Remove constants.
4097
39785324
GM
40982013-09-06 Glenn Morris <rgm@gnu.org>
4099
4100 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4101
1f896cb7
DG
41022013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4103
4104 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4105 keywords" below "here-doc beginnings" (Bug#15270).
4106
c0458e0b
SM
41072013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * subr.el (pop): Use `car-safe'.
4110 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4111 to detect unused `pop' return value.
4112
4113 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4114 var `block-regexp'.
4115 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4116 (python-fill-string): Remove unused var `marker'.
4117 (python-skeleton-add-menu-items): Remove unused var `items'.
4118
4119 * international/mule-cmds.el: Require CL.
4120 (find-coding-systems-for-charsets): Avoid add-to-list.
4121 (sanitize-coding-system-list): New function, extracted from
4122 select-safe-coding-system-interactively.
4123 (select-safe-coding-system-interactively): Use it.
4124 (read-input-method-name): Accept symbols for `default'.
4125
4126 * emacs-lisp/advice.el (defadvice): Add indent rule.
4127
6c42fc3e
DH
41282013-09-05 Daniel Hackney <dan@haxney.org>
4129
4130 * dired-x.el:
4131 * net/ange-ftp.el:
4132 * net/browse-url.el:
4133 * net/dbus.el:
4134 * net/eudc.el:
4135 * net/eudcb-ldap.el:
4136 * net/eww.el:
4137 * net/imap.el:
4138 * printing.el:
4139 * vc/ediff-diff.el:
4140 * vc/ediff-init.el:
4141 * vc/ediff-merg.el:
4142 * vc/ediff-mult.el:
4143 * vc/ediff-util.el:
4144 * vc/ediff-wind.el:
4145 * vc/ediff.el:
4146 * vc/emerge.el:
4147 * vc/pcvs.el:
4148 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4149 byte compiler. Remove some unused let-bound variables.
4150
4c528aab
SM
41512013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4152
4153 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4154 a "ref-cell", since it gets better optimized (bug#14883).
4155
bd15c390
GM
41562013-09-05 Glenn Morris <rgm@gnu.org>
4157
4158 * progmodes/cc-awk.el (c-forward-sws): Declare.
4159
1c3ac2e5
GM
41602013-09-04 Glenn Morris <rgm@gnu.org>
4161
4162 * generic-x.el [rul-generic-mode]: Require cc-mode.
4163 (c++-mode-syntax-table): Declare.
4164 (rul-generic-mode-syntax-table): Init in the defvar.
4165
52b1cc79
SM
41662013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4167
c828af56
SM
4168 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4169 (vc-do-command, vc-set-async-update):
4170 * vc/vc-mtn.el (vc-mtn-dir-status):
4171 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4172 (vc-hg-pull, vc-hg-merge-branch):
4173 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4174 (vc-git-merge-branch):
4175 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4176 (vc-cvs-dir-status-files):
4177 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4178 (vc-bzr-dir-status-files):
4179 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4180 * vc/vc-annotate.el: Use lexical-binding.
4181 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4182 (vc-sentinel-movepoint): Declare.
4183 (vc-annotate): Don't use `goto-line'.
4184 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4185 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4186 (vc-sentinel-movepoint): Declare.
4187 * vc/vc-svn.el: Use lexical-binding.
4188 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4189 * vc/vc-sccs.el:
4190 * vc/vc-rcs.el: Use lexical-binding.
4191
abae272c
SM
4192 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4193 `deleted'. Don't drop errors silently.
4194
52b1cc79
SM
4195 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4196
63191d9f
XF
41972013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4198
4199 * vc/vc.el (vc-ignore): Rewrite.
4200 (vc-default-ignore): New function.
4201 (vc-default-ignore-completion-table): Use find-ignore-file.
4202
4203 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4204 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4205 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4206 Remove. Most code moved to vc.el.
4207
9d3f707c
SM
42082013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4209
abae272c 4210 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4211 * net/tramp-smb.el (tramp-smb-get-file-entries):
4212 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4213 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4214
fde38d49
SM
4215 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4216 Update call to it.
4217 (eww-change-select): Remove unused var `properties'.
4218 (eww-make-unique-file-name): Remove unused var `base'.
4219
4220 * finder.el (finder-compile-keywords): Don't mess with windows.
4221
84032db7
SM
4222 * calculator.el (calculator-funcall): Fix typo in last change.
4223
724f5e41
SM
4224 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4225
14b511d4
SM
4226 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4227 <pkg>-autoloads.el file stop us.
4228
9d3f707c 4229 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4230 warnings, and factor out common code.
9d3f707c 4231
88527bc0
DG
42322013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4233
4234 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4235 two-character operators and whether the character preceding them
4236 changes their meaning (Bug#15208).
4237
96edb677
FEG
42382013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4239
4240 Format code sent to Python shell for robustness.
9d3f707c
SM
4241 * progmodes/python.el (python-shell-buffer-substring):
4242 New function.
96edb677
FEG
4243 (python-shell-send-region, python-shell-send-buffer): Use it.
4244
95beaef3
MA
42452013-09-02 Michael Albinus <michael.albinus@gmx.de>
4246
4247 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4248 * net/tramp.el (tramp-user-error): ... here.
4249 (tramp-find-method, tramp-check-proper-host)
4250 (tramp-dissect-file-name, tramp-debug-message)
4251 (tramp-handle-shell-command):
4252 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4253 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4254
4255 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4256
f167c27b
MR
42572013-09-02 Martin Rudalics <rudalics@gmx.at>
4258
4259 * avoid.el (mouse-avoidance-point-position)
4260 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4261 returns nil.
4262
cd16c5f1
FEG
42632013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4264
4265 * progmodes/python.el (python-shell-completion-get-completions):
4266 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4267 (python-nav-if-name-main): New command.
cd16c5f1 4268
e73c3a0d
GM
42692013-09-01 Glenn Morris <rgm@gnu.org>
4270
f8ccce03
GM
4271 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4272 Avoid leading space in $wins. Otherwise the sed command used by
4273 eg compile-main ends up containing "/*.el". (Bug#15170)
4274
e73c3a0d
GM
4275 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4276
415f808e
GM
42772013-08-30 Glenn Morris <rgm@gnu.org>
4278
4279 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4280 Fix is-this-a-directory logic. (Bug#15220)
4281
f069bba8
SM
42822013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4283
112798c1
SM
4284 * textmodes/css-mode.el: Use SMIE.
4285 (css-smie-grammar): New var.
4286 (css-smie--forward-token, css-smie--backward-token)
4287 (css-smie-rules): New functions.
4288 (css-mode): Use them.
4289 (css-navigation-syntax-table): Remove var.
4290 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4291 (css-indent-calculate, css-indent-line): Remove functions.
4292
4293 Misc changes to reduce use of `(lambda...); and other cleanups.
4294 * cus-edit.el: Use lexical-binding.
4295 (customize-push-and-save, customize-apropos)
4296 (custom-buffer-create-internal): Use closures.
4297 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4298 * progmodes/ada-xref.el: Use setq.
4299 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4300 * dframe.el: Use lexical-binding.
4301 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4302 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4303 * descr-text.el: Use lexical-binding.
4304 (describe-text-widget, describe-text-sexp, describe-property-list):
4305 Use closures.
4306 * comint.el (comint-history-isearch-push-state): Use a closure.
4307 * calculator.el: Use lexical-binding.
4308 (calculator-number-to-string): Make it work with lexical-binding.
4309 (calculator-funcall): Same and use cl-letf.
4310
2da4c3ab
SM
4311 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4312 (lisp--company-doc-string, lisp--company-location): New functions.
4313 (lisp-completion-at-point): Use them to improve Company support.
4314
f069bba8
SM
4315 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4316 params of lambda expressions.
4317 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4318 (ruby-smie--opening-pipe-p): New function.
4319 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4320 symbols and matched |...| for formal params.
4321 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4322 from being treated as hanging. Handle "rescue".
4323
6758b6a8
GM
43242013-08-29 Glenn Morris <rgm@gnu.org>
4325
4326 * progmodes/cc-engine.el (c-pull-open-brace):
4327 Move definition before use.
4328
e8dfd197
SM
43292013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4330
4331 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4332 are immutable. Don't use `unsafe' any more.
4333 (cl--defsubst-expand): Don't substitute at the same time as keeping
4334 a residual unused let-binding. Don't use `unsafe' any more.
4335
cc585c96
GM
43362013-08-29 Glenn Morris <rgm@gnu.org>
4337
ba579ea6
GM
4338 * calendar/cal-china.el (calendar-chinese-year-cache):
4339 Recenter on 2015.
4340
8201a87e
GM
4341 * nxml/nxml-util.el (nxml-debug-clear-inside):
4342 Use cl-loop rather than loop.
4343
6ee877c7
GM
4344 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4345
cc585c96
GM
4346 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4347
27be8d39
GM
43482013-08-28 Glenn Morris <rgm@gnu.org>
4349
397440a1
GM
4350 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4351
2bb762d4
GM
4352 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4353
27be8d39
GM
4354 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4355
2d69b99e
SM
43562013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4357
f663baa7
SM
4358 * simple.el (repeat-complex-command--called-interactively-skip):
4359 New function.
4360 (repeat-complex-command): Use it (bug#14136).
4361
dd4f8b74
SM
4362 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4363 (c-define-abbrev-table): Add `doc' argument.
4364 (c-mode-abbrev-table, c++-mode-abbrev-table)
4365 (objc-mode-abbrev-table, java-mode-abbrev-table)
4366 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4367 (awk-mode-abbrev-table): Use it.
4368 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4369 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4370 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4371 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4372 Move initialization into the declaration; and remove any
4373 autoload cookie.
4374
b58969f7
SM
4375 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4376 and dynamic let binding.
4377
4021d6a6
SM
4378 * vc/smerge-mode.el: Remove redundant :group args.
4379
2d69b99e
SM
4380 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4381 to load-path.
4382
274919fd
JL
43832013-08-28 Juri Linkov <juri@jurta.org>
4384
4385 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4386 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4387 (isearch-other-meta-char): Handle an undefined shifted printing
4388 character by downshifting it. (Bug#15200)
4389
121f8c95
JL
43902013-08-28 Juri Linkov <juri@jurta.org>
4391
4392 * isearch.el (isearch-search): Change regexp error message for
4393 non-regexp searches. (Bug#15166)
4394
50b13cde
PE
43952013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4396
4397 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4398 for portability to hosts where /bin/sh has problems.
4399
95888bca
SM
44002013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4403
bbe558f1
JL
44042013-08-27 Juri Linkov <juri@jurta.org>
4405
4406 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4407 in the keyboard macro. (Bug#15126)
4408
26f98a7d
JL
44092013-08-27 Juri Linkov <juri@jurta.org>
4410
4411 * isearch.el (isearch-quote-char): Comment out converting unibyte
4412 to multibyte, thus syncing with its `quoted-insert' counterpart.
4413 (Bug#15166)
4414
7c97d35e
MR
44152013-08-27 Martin Rudalics <rudalics@gmx.at>
4416
4417 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4418 argument in call of get-largest-window (Bug#15185).
4419 Reported by Stephen Leake.
7c97d35e 4420
a0b5606e 44212013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4422
4423 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4424
9e89d835
SM
44252013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4426
4427 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4428 from a matcher-function unless there's no more matches (bug#15161).
4429
78fc2530
MA
44302013-08-26 Michael Albinus <michael.albinus@gmx.de>
4431
4432 * minibuffer.el: Revert change from 2013-08-20.
4433
4434 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4435 with text property `tramp-default', if appropriate.
4436 (tramp-check-proper-host): New defun.
4437 (tramp-dissect-file-name): Do not check hostname. Revert change
4438 of 2013-03-18.
4439 (tramp-backtrace): Make VEC-OR-PROC optional.
4440
4441 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4442 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4443 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4444 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4445 Apply `tramp-check-proper-host'.
78fc2530 4446
edca97cd
TH
44472013-08-26 Tassilo Horn <tsdh@gnu.org>
4448
4449 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4450 lambda expression in order to have `describe-variable' display it.
4451
df54bcbd
MA
44522013-08-26 Michael Albinus <michael.albinus@gmx.de>
4453
4454 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4455 BUF can be optional. (Bug#15186)
4456
eed99101
XF
44572013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4458
4459 * progmodes/flymake.el (flymake-get-real-file-name-function):
4460 Fix broken customization. (Bug#15184)
4461
b5eb9035
AM
44622013-08-25 Alan Mackenzie <acm@muc.de>
4463
8a51e842
AM
4464 Improve indentation of bracelists defined by macros (without "=").
4465
4466 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4467 expansion begins with "{", regard it as bracelist when it doesn't
4468 contain a ";".
4469
869455d4
AM
4470 Parse C++ inher-intro when there's a template split over 2 lines.
4471
4472 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4473 rigorously the search for "class" etc. followed by ":".
4474
4475 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4476 random languages a regexp which never matches rather than nil.
4477
b5eb9035
AM
4478 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4479
4480 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4481 (c-awk-regexp-one-line-possibly-open-char-list-re)
4482 (c-awk-one-line-possibly-open-regexp-re)
4483 (c-awk-one-line-non-syn-ws*-re): Remove.
4484 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4485 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4486 (c-awk-space*-unclosed-regexp-/-re): New constants.
4487 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4488 aren't regexp delimiters.
4489
4490 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4491 handling for a rare situation in AWK Mode involving unterminated
4492 strings/regexps.
4493
61611d54
GM
44942013-08-23 Glenn Morris <rgm@gnu.org>
4495
2d85dc34
GM
4496 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4497
cb8d2612
GM
4498 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4499
bb35f42f
GM
4500 * files.el (create-file-buffer): If the result would begin with
4501 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4502
b9808e77
SM
45032013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4504
e3a66363
SM
4505 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4506 text-properties (bug#15155).
4507
b9808e77
SM
4508 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4509 exist any more.
4510 (calc-keypad-redraw): Remove unused var `pad'.
4511 (calc-keypad-press): Remove unused var `menu'.
4512
7fd5f65e
MR
45132013-08-23 Martin Rudalics <rudalics@gmx.at>
4514
b9808e77
SM
4515 * window.el (display-buffer-pop-up-frame):
4516 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4517 use it as the new frame's buffer (Bug#15133).
4518
8352b530
SM
45192013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * calendar/timeclock.el: Minor cleanups.
4522 (timeclock-ask-before-exiting, timeclock-use-display-time):
4523 Use `symbol'.
4524 (timeclock-modeline-display): Define as alias before the
4525 actual definition.
4526 (timeclock-mode-line-display): Use define-minor-mode.
4527 (timeclock-day-list-template): Make it a function, add an argument.
4528 (timeclock-day-list-required, timeclock-day-list-length)
4529 (timeclock-day-list-debt, timeclock-day-list-span)
4530 (timeclock-day-list-break): Adjust calls accordingly.
4531
9f7b1925
SM
45322013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4535 Use read--expression so that completion works again.
4536
6e50e983
SS
45372013-08-21 Sam Steingold <sds@gnu.org>
4538
4539 Add rudimentary inferior shell interaction
4540 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4541 (sh-set-shell): Reset it.
9f7b1925
SM
4542 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4543 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4544
dbb0d350
SM
45452013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4546
4547 * align.el: Use lexical-binding.
4548 (align-region): Simplify accordingly.
4549
c88586a9
MA
45502013-08-20 Michael Albinus <michael.albinus@gmx.de>
4551
4552 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4553
4554 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4555 `non-essential' up.
4556
f95527c8
MA
45572013-08-17 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * net/tramp.el:
4560 * net/tramp-adb.el:
4561 * net/tramp-cmds.el:
4562 * net/tramp-ftp.el:
4563 * net/tramp-gvfs.el:
4564 * net/tramp-gw.el:
4565 * net/tramp-sh.el: Don't wrap external variable declarations by
4566 `eval-when-compile'.
4567
4b5fe4ee
LMI
45682013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4569
4570 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4571 now that Emacs supports ImageMagick animations.
4572
13c366c9
MA
45732013-08-16 Michael Albinus <michael.albinus@gmx.de>
4574
4575 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4576 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4577
3dfc5cd6
MR
45782013-08-16 Martin Rudalics <rudalics@gmx.at>
4579
4580 * window.el (mouse-autoselect-window-select): Do autoselect when
4581 mouse pointer is on margin.
4582
4bbb4381
WP
45832013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4584
4585 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4586
3a2ddc2d
GM
45872013-08-16 Glenn Morris <rgm@gnu.org>
4588
e8bedf5a
GM
4589 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4590 Handle "Remote Directory" response of some clients. (Bug#15058)
4591
58c4682f
GM
4592 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4593 Tweak warning. (Bug#14926)
4594
57953f49
GM
4595 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4596 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4597
3a2ddc2d
GM
4598 * image-mode.el (image-mode-map): Add menu items to reverse,
4599 increase, decrease, reset animation speed.
4600 (image--set-speed, image-increase-speed, image-decrease-speed)
4601 (image-reverse-speed, image-reset-speed): New functions.
4602 (image-mode-map): Add bindings for speed commands.
4603
4604 * image.el (image-animate-get-speed, image-animate-set-speed):
4605 New functions.
4606 (image-animate-timeout): Respect image :speed property.
4607
10fa0ed3
SM
46082013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4611 previous line (bug#15101).
4612 (debugger-eval-expression, debugger-record-expression):
4613 Use read--expression (bug#15102).
4614
5d89d9d2
MA
46152013-08-15 Michael Albinus <michael.albinus@gmx.de>
4616
4617 Remove byte compiler warnings, visible when compiling with
4618 `byte-compile-force-lexical-warnings' set to t.
4619
4620 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4621 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4622 (tramp-handle-unhandled-file-name-directory)
4623 (tramp-handle-file-notify-add-watch, tramp-action-login)
4624 (tramp-action-succeed, tramp-action-permission-denied)
4625 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4626 arguments with "_".
4627
4628 * net/tramp-adb.el (tramp-adb-parse-device-names)
4629 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4630 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4631 (tramp-adb-handle-file-truename): Remove unused arguments.
4632
4633 * net/tramp-cache.el (tramp-flush-directory-property)
4634 (tramp-flush-connection-property, tramp-list-connections)
4635 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4636
10fa0ed3
SM
4637 * net/tramp-compat.el (tramp-compat-make-temp-file):
4638 Rename FILENAME to F.
5d89d9d2
MA
4639
4640 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4641 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4642 (tramp-zeroconf-parse-workstation-device-names)
4643 (tramp-zeroconf-parse-webdav-device-names)
4644 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4645
4646 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4647 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4648
4649 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4650 arguments.
4651 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4652 (tramp-sh-handle-insert-file-contents-literally)
4653 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4654 with "_".
4655 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4656 Remove unused variables.
4657
4658 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4659 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4660 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4661
4662 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4663 Make them a defconst.
4664 (tramp-uuencode-region): Remove unused variable.
4665
62f33bae
JB
46662013-08-14 Juanma Barranquero <lekktu@gmail.com>
4667
4668 * frameset.el (frameset--prop-setter): New function.
4669 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4670 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4671 parameter was already set in FILTERED. Doc fix.
4672 (frameset--record-minibuffer-relationships): Allow saving a
4673 minibufferless frame without its corresponding minibuffer frame.
4674 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4675 frame, if the frame id matches.
4676 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4677 frames before orphaned ones.
4678 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4679
c660a885
MR
46802013-08-14 Martin Rudalics <rudalics@gmx.at>
4681
4682 * window.el (window-make-atom): Don't overwrite parameter
4683 already present.
4684 (display-buffer-in-atom-window): Handle special case where we
4685 split an already atomic window.
4686 (window--major-non-side-window, display-buffer-in-side-window)
4687 (window--side-check): Ignore minibuffer window when walking
4688 window tree.
4689 (window-deletable-p): Return 'frame only if no other frame uses
4690 our minibuffer window.
4691 (record-window-buffer): Run buffer-list-update-hook.
4692 (split-window): Make sure window--check-frame won't destroy an
4693 existing atomic window in case the new window gets nested
4694 inside.
4695 (display-buffer-at-bottom): Ignore minibuffer window when
4696 walking window tree. Don't split a side window.
4697 (pop-to-buffer): Don't set-buffer here, the select-window call
4698 should do that.
4699 (mouse-autoselect-window-select): Autoselect only if we are in the
4700 text portion of the window.
4701
8259030d
LMI
47022013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4703
21c58ae2
LMI
4704 * net/shr.el (shr-parse-image-data): New function to grab both the
4705 data itself and the Content-Type.
4706 (shr-put-image): Use it.
4707
4708 * net/eww.el (eww-display-image): Ditto.
4709
8259030d
LMI
4710 * image.el (image-content-type-suffixes): New variable.
4711
ad756449
FEG
47122013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4713
4714 * progmodes/python.el (python-imenu--build-tree)
4715 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4716
f73f4ce6
XF
47172013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4718
4719 * simple.el (backward-word): Mention the optional argument.
4720
1f585e65
SM
47212013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4722
4723 * frameset.el (frameset--make): Rename constructor from make-frameset.
4724 (frameset-p, frameset-valid-p): Don't autoload.
4725 (frameset-valid-p): Use normal accessors.
4726
af1c6c84
GM
47272013-08-13 Glenn Morris <rgm@gnu.org>
4728
55e47f95
GM
4729 * progmodes/compile.el (compile-command): Tweak example in doc.
4730 * obsolete/scribe.el (scribe-mode):
4731 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4732
f0024d8c
GM
4733 * mail/feedmail.el (feedmail-confirm-outgoing)
4734 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4735
4736 * cus-start.el (truncate-partial-width-windows): Fix type.
4737
4738 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4739
af1c6c84
GM
4740 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4741
5514cc4c
SM
47422013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * emacs-lisp/timer.el (timer--time-setter): New function.
4745 (timer--time): Use it as gv-setter.
4746
4747 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4748 setter is not a symbol.
4749
7997a2f1
GJ
47502013-08-12 Grégoire Jadi <daimrod@gmail.com>
4751
4752 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4753 if sending fails. This makes debugging easier.
4754
01f1a9ab
JB
47552013-08-12 Juanma Barranquero <lekktu@gmail.com>
4756
4757 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4758 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4759 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4760
594a4307
EZ
47612013-08-12 Eli Zaretskii <eliz@gnu.org>
4762
4763 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4764
7a22490f 47652013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4766
4767 * format.el (format-annotate-function):
4768 Handle read-only text properties in the source. (Bug#14887)
4769
3e41a054
LMI
47702013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4771
5514cc4c
SM
4772 * net/eww.el (eww-display-html): Ignore coding system errors.
4773 One web site uses "utf-8lias" as the coding system.
3e41a054 4774
7ec326db
JB
47752013-08-11 Juanma Barranquero <lekktu@gmail.com>
4776
4777 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4778
5660113b
JB
47792013-08-10 Juanma Barranquero <lekktu@gmail.com>
4780
9a4ebc74
JB
4781 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4782 (tutorial--detailed-help): Remove unused local variables.
4783 (tutorial--save-tutorial-to): Use ignore-errors.
4784 (help-with-tutorial): Use looking-at-p.
4785
4786 * view.el (view-buffer-other-window, view-buffer-other-frame):
4787 Mark unused arguments.
4788
4789 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4790 (woman-select-symbol-fonts, woman, woman-find-file)
4791 (woman-insert-file-contents, woman-non-underline-faces):
4792 Use string-match-p.
4793 (woman1-unquote): Move declaration.
4794
4795 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4796 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4797 argument. Remove unused local variable.
4798 (xml-parse-elem-type): Use string-match-p.
4799 (xml-substitute-numeric-entities): Use ignore-errors.
4800
45fdb482
JB
4801 * calculator.el (calculator): Mark unused argument.
4802 (calculator-paste, calculator-quit, calculator-integer-p):
4803 Use ignore-errors.
4804 (calculator-string-to-number, calculator-decimal, calculator-exp)
4805 (calculator-op-or-exp): Use string-match-p.
4806
4807 * dired.el (dired-buffer-more-recently-used-p): Declare.
4808 (dired-insert-set-properties, dired-insert-old-subdirs):
4809 Use ignore-errors.
4810
4811 * dired-aux.el (dired-compress): Use ignore-errors.
4812 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4813 (dired-do-async-shell-command, dired-do-shell-command)
4814 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4815 (dired-insert-subdir-validate): Use string-match-p.
4816 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4817 (dired-add-entry): Use string-match-p, looking-at-p.
4818 (dired-insert-subdir-newpos): Remove unused local variable.
4819
4820 * filenotify.el (file-notify-callback): Remove unused local variable.
4821
4822 * filesets.el (filesets-error): Mark unused argument.
4823 (filesets-which-command-p, filesets-filter-dir-names)
4824 (filesets-directory-files, filesets-get-external-viewer)
4825 (filesets-ingroup-get-data): Use string-match-p.
4826
4827 * find-file.el (ff-other-file-name, ff-other-file-name)
4828 (ff-find-the-other-file, ff-cc-hh-converter):
4829 Remove unused local variables.
4830 (ff-get-file-name): Use string-match-p.
4831 (ff-all-dirs-under): Use ignore-errors.
4832
4833 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4834 (follow-select-if-visible): Remove unused local variable.
4835
4836 * forms.el (read-file-filter): Move declaration.
4837 (forms--make-format, forms--make-parser, forms-insert-record):
4838 Quote function with #'.
4839 (forms--update): Use string-match-p. Quote function with #'.
4840
4841 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4842 (help-make-xrefs): Use looking-at-p.
4843 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4844
4845 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4846 (ibuffer-confirm-operation-on): Use string-match-p.
4847
4848 * msb.el (msb-item-handler, msb-dired-item-handler):
4849 Mark unused arguments.
4850
4851 * ses.el (ses-decode-cell-symbol)
4852 (ses-kill-override): Remove unused local variable.
4853 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4854 (ses-load): Use ignore-errors, looking-at-p.
4855 (ses-jump-safe): Use ignore-errors.
4856 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4857
4858 * tabify.el (untabify, tabify): Mark unused arguments.
4859
4860 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4861 Mark unused argument.
4862 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4863 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4864
c880af52
JB
4865 * emacs-lisp/timer.el (timer--time): Define setter with
4866 gv-define-setter to avoid deprecation warning.
4867
5660113b 4868 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4869 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4870 (cmpl-statistics-block): Remove (body was commented out).
4871 All callers changed.
4872 (add-completions-from-buffer, load-completions-from-file):
4873 Remove unused variables.
4874
156aab80
JB
48752013-08-09 Juanma Barranquero <lekktu@gmail.com>
4876
5c5dee78
JB
4877 * filecache.el (file-cache-delete-file-list):
4878 Print message only when told so.
4879 (file-cache-files-matching): Use #' in mapconcat argument.
4880
156aab80
JB
4881 * ffap.el (ffap-url-at-point): Fix reference to variable
4882 thing-at-point-default-mail-uri-scheme.
4883
ad9dcd70
SM
48842013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4885
54bd972f
SM
4886 * subr.el (define-error): New function.
4887 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4888 error-file-not-found and define with define-error.
4889 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4890 and define with define-error.
4891 * userlock.el (file-locked, file-supersession):
4892 * simple.el (mark-inactive):
4893 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4894 * progmodes/ada-mode.el (ada-mode-errors):
4895 * play/life.el (life-extinct):
4896 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4897 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4898 * nxml/rng-util.el (rng-error):
4899 * nxml/rng-uri.el (rng-uri-error):
4900 * nxml/rng-match.el (rng-compile-error):
4901 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4902 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4903 * nxml/nxml-rap.el (nxml-scan-error):
4904 * nxml/nxml-outln.el (nxml-outline-error):
4905 * net/soap-client.el (soap-error):
4906 * net/gnutls.el (gnutls-error):
4907 * net/ange-ftp.el (ftp-error):
4908 * mpc.el (mpc-proc-error):
4909 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4910 (json-number-format, json-string-escape, json-string-format)
4911 (json-key-format, json-object-format):
4912 * jka-compr.el (compression-error):
4913 * international/quail.el (quail-error):
4914 * international/kkc.el (kkc-error):
4915 * emacs-lisp/ert.el (ert-test-failed):
4916 * calc/calc.el (calc-error, inexact-result, math-overflow)
4917 (math-underflow):
4918 * bookmark.el (bookmark-error-no-filename):
4919 * epg.el (epg-error): Define with define-error.
4920
0ea9e53a
SM
4921 * time.el (display-time-event-handler)
4922 (display-time-next-load-average): Don't call sit-for since it seems
4923 unnecessary (bug#15045).
4924
b0429158
SM
4925 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4926 Use #' instead of ' to quote functions.
4927 (checkdoc-output-mode): Use setq-local.
4928 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4929 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4930 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4931 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4932 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4933 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4934 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4935 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4936
ad9dcd70
SM
4937 * ido.el (ido-completion-help): Fix up compiler warning.
4938
77187e6f
JB
49392013-08-09 Juanma Barranquero <lekktu@gmail.com>
4940
4941 * frameset.el (frameset-p): Add autoload cookie.
4942 (frameset--jump-to-register): New function, based on code moved from
4943 register.el.
4944 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4945
4946 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4947 (frameset-restore, frameset-save, frameset-session-filter-alist):
4948 Remove declarations.
4949 (register-alist): Doc fix.
4950 (frameset-to-register): Move to frameset.el.
4951 (jump-to-register, describe-register-1): Remove frameset-specific code.
4952
9d3aa82c
JB
49532013-08-08 Juanma Barranquero <lekktu@gmail.com>
4954
4955 * allout-widgets.el (allout-widgets-pre-command-business)
4956 (allout-widgets-post-command-business)
4957 (allout-widgets-after-change-handler)
4958 (allout-decorate-item-and-context, allout-set-boundary-marker)
4959 (allout-body-modification-handler)
4960 (allout-graphics-modification-handler): Mark ignored arguments.
4961 (allout-widgets-post-command-business)
4962 (allout-widgets-exposure-change-processor)
4963 (allout-widgets-exposure-undo-processor)
4964 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4965 (allout-parse-item-at-point, allout-decorate-item-guides)
4966 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4967 * allout.el (epa-passphrase-callback-function): Declare.
4968 (allout-overlay-insert-in-front-handler)
4969 (allout-overlay-interior-modification-handler)
4970 (allout-isearch-end-handler, allout-chart-siblings)
4971 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4972 (allout-yank-processing, allout-process-exposed)
4973 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 4974 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
4975 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4976 (lisp-indent-defform): Mark ignored arguments.
4977 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4978 (calculate-lisp-indent): Remove unused variables.
4979 * international/characters.el (indian-2-column, arabic-2-column)
4980 (tibetan): Mark ignored arguments.
4981 (use-cjk-char-width-table): Mark ignored arguments.
4982 Remove unused variables.
4983 * international/fontset.el (build-default-fontset-data)
4984 (x-compose-font-name, create-fontset-from-fontset-spec):
4985 Mark ignored arguments.
4986 (fontset-plain-name): Remove unused variables.
4987 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4988 (keyboard-coding-system): Mark ignored arguments.
4989 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4990 * help.el (resize-temp-buffer-window):
4991 * window.el (display-buffer-in-major-side-window)
4992 (display-buffer-in-side-window, display-buffer-in-previous-window):
4993 Remove unused variables.
4994 * isearch.el (isearch-forward-symbol):
4995 * version.el (emacs-bzr-version-bzr):
4996 * international/mule-cmds.el (current-language-environment):
4997 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4998 (x-handle-display):
4999 * term/pc-win.el (x-list-fonts, x-display-planes)
5000 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5001 (x-server-version, x-display-screens, x-display-mm-height)
5002 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5003 (x-selection-owner-p, x-own-selection-internal)
5004 (x-disown-selection-internal, x-get-selection-internal)
5005 (msdos-initialize-window-system):
5006 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5007 * term/x-win.el (x-handle-no-bitmap-icon):
5008 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5009 (vc-default-find-file-hook, vc-default-extra-menu):
5010 Mark ignored arguments.
5011
0ca3f70e
SM
50122013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5015 break-condition in the context of the debugged code (bug#12685).
5016
74c5d24c
CS
50172013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5018
5019 * comint.el:
5020 Do not use an overlay to highlight the last prompt. (Bug#14744)
5021 (comint-mode): Make comint-last-prompt buffer local.
5022 (comint-last-prompt): New variable.
5023 (comint-last-prompt-overlay): Remove. Superseded by
5024 comint-last-prompt.
0ca3f70e
SM
5025 (comint-snapshot-last-prompt, comint-output-filter):
5026 Use comint-last-prompt.
74c5d24c 5027
c03c02ee
JB
50282013-08-08 Juanma Barranquero <lekktu@gmail.com>
5029
a3738d20 5030 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5031 (frameset-save): Check validity of the resulting frameset.
5032
04263d23
XF
50332013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5034
5035 * ido.el (ido-record-command): Add doc string.
5036
76c5e5ab
JB
50372013-08-08 Juanma Barranquero <lekktu@gmail.com>
5038
5039 * frameset.el (frameset): Do not disable creation of the default
5040 frameset-p predicate. Doc fix.
5041 (frameset-valid-p): New function, copied from the old predicate-p.
5042 Add additional checks.
5043 (frameset-restore): Check with frameset-valid-p.
5044 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5045 (frameset-name, frameset-description, frameset-properties)
5046 (frameset-states): Add docstring.
f9dbf1cb
JB
5047 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5048 (frameset-filter-alist): Doc fixes.
76c5e5ab 5049
bd0c3c0b
JB
50502013-08-08 Juanma Barranquero <lekktu@gmail.com>
5051
5052 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5053
c735544c
SM
50542013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5057 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5058 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5059 (byte-compile-normal-call): Remove obsolescence check.
5060
2805a651
JB
50612013-08-08 Juanma Barranquero <lekktu@gmail.com>
5062
3677ffeb
JB
5063 * frameset.el (frameset-restore): Doc fix.
5064
2805a651
JB
5065 * register.el (frameset-frame-id, frameset-frame-with-id)
5066 (frameset-p, frameset-restore, frameset-save): Declare.
5067 (register-alist): Document framesets.
5068 (frameset-session-filter-alist): Declare.
5069 (frameset-to-register): New function.
5070 (jump-to-register): Implement jumping to framesets. Doc fix.
5071 (describe-register-1): Describe framesets.
5072
5073 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5074
a912c016
JB
50752013-08-07 Juanma Barranquero <lekktu@gmail.com>
5076
5077 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5078 Use lexical-binding.
5079
5080 * frameset.el (frameset): Use type vector, not list (incompatible
5081 change). Do not declare a new constructor, use the default one.
5082 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5083 `name' and `description', respectively, and add read-only slot
5084 `timestamp'. Doc fixes.
5085 (frameset-copy, frameset-persistent-filter-alist)
5086 (frameset-filter-alist, frameset-switch-to-gui-p)
5087 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5088 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5089 (frameset-filter-iconified, frameset-keep-original-display-p):
5090 Doc fixes.
5091 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5092 Rename from frameset-filter-(save|restore)-param. All callers changed.
5093 Doc fix.
5094 (frameset-p): Adapt to change to vector and be more thorough.
5095 Change arg name to OBJECT. Doc fix.
5096 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5097 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5098 All callers changed.
5099 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5100 All callers changed.
5101 (frameset--record-minibuffer-relationships): Rename from
5102 frameset--process-minibuffer-frames. All callers changed.
5103 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5104 Use new default constructor (again). Doc fix.
5105 (frameset--find-frame-if): Rename from `frameset--find-frame.
5106 All callers changed.
5107 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5108 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5109 Doc fix.
5110 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5111 PARAMETERS and WINDOW-STATE, respectively.
5112 (frameset-restore): Add new keyword argument PREDICATE.
5113 Reset frameset--target-display to nil. Doc fix.
5114
bb41480a
SM
51152013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5116
f001e98e
SM
5117 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5118 (bat-mode): Use it.
5119 (bat-mode-syntax-table): Mark \n as end-of-comment.
5120 (bat-font-lock-keywords): Remove comment rule.
5121
7679edb1
SM
5122 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5123 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5124
bb41480a
SM
5125 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5126 (byte-compile-callargs-warn): Use `push'.
5127 (byte-compile-arglist-warn): Ignore higher-order "calls".
5128 (byte-compile-file-form-autoload): Use `pcase'.
5129 (byte-compile-function-form): If quoting a symbol, check that it exists.
5130
cdc1ebb9
EZ
51312013-08-07 Eli Zaretskii <eliz@gnu.org>
5132
5133 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5134 and add a few popular commands found in batch files.
5135 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5136 (dos-mode): Doc fixes.
5137
312b1740
SM
51382013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5141 (dos-mode): Use setq-local. Add space after "rem".
5142 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5143 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5144
400a3178
AM
51452013-08-07 Arni Magnusson <arnima@hafro.is>
5146
5147 * progmodes/dos.el: New file.
5148 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5149 dos-mode.
5150
3b5c03d3
GM
51512013-08-06 Glenn Morris <rgm@gnu.org>
5152
5153 * calendar/calendar.el: Add new faces, and day-header-array.
5154 (calendar-weekday-header, calendar-weekend-header)
5155 (calendar-month-header): New faces.
5156 (calendar-day-header-construct): New function.
5157 (calendar-day-header-width): Also :set calendar-day-header-array.
5158 (calendar-american-month-header, calendar-european-month-header)
5159 (calendar-iso-month-header): Use calendar- faces.
5160 (calendar-generate-month):
5161 Use calendar-day-header-array for day headers; apply faces to them.
5162 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5163 (calendar-abbrev-construct): Add optional maxlen argument.
5164 (calendar-day-name-array): Doc fix.
5165 (calendar-day-name-array, calendar-abbrev-length)
5166 (calendar-day-abbrev-array):
5167 Also :set calendar-day-header-array, and maybe redraw.
5168 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5169 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5170 (calendar-day-name): Add option to use header array.
5171
ec6a2d7a
LMI
51722013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5173
5174 * net/shr.el (shr-render-td): Remove debugging.
5175 (shr-render-td): Make width computation consistent by defaulting
5176 all zero-width columns to 10 characters. This may not be optimal,
5177 but it's at least consistent.
2122cb6d
LMI
5178 (shr-make-table-1): Redo last change to fix the real problem in
5179 colspan handling.
ec6a2d7a 5180
ed4fd9c5
DA
51812013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5182
0ca3f70e
SM
5183 * files.el (cache-long-line-scans):
5184 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5185
64e22afe
JB
51862013-08-06 Juanma Barranquero <lekktu@gmail.com>
5187
024b38fc
JB
5188 * frameset.el (frameset, frameset-filter-alist)
5189 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5190 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5191 (frameset-compute-pos): Rename from frameset--compute-pos,
5192 and add docstring.
5193 (frameset-move-onscreen): Use frameset-compute-pos.
5194 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5195
64e22afe
JB
5196 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5197 Fix typos in docstrings.
5198
c8c2aca8
DA
51992013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5200
5201 * frame.el (get-other-frame): Tiny cleanup.
5202
1d237bba
JB
52032013-08-06 Juanma Barranquero <lekktu@gmail.com>
5204
8951efef
JB
5205 * vc/vc.el (vc-default-ignore-completion-table):
5206 Silence byte-compiler warning.
5207
307764cc
JB
5208 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5209 slot , which can indeed be nil.
5210 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5211 Move entry for `left' from persistent to live filter alist.
5212 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5213 Doc fixes.
5214 (frameset-filter-params): When restoring a frame, copy items added to
5215 `filtered', to avoid unwittingly modifying the original parameters.
5216 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5217 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5218
1d237bba
JB
5219 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5220 to use looking-at-p instead of looking-at. (Bug#15028)
5221
dc6c0eda
SM
52222013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 Revert introduction of isearch-filter-predicates (bug#14714).
5225 Rely on add-function instead.
5226 * isearch.el (isearch-filter-predicates): Rename it back to
5227 isearch-filter-predicate.
5228 (isearch-message-prefix): Use advice-function-mapc and advice
5229 properties to get the isearch-message-prefix.
5230 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5231 instead of run-hook-with-args-until-failure.
5232 (isearch-filter-visible): Not obsolete any more.
5233 * loadup.el: Preload nadvice.
5234 * replace.el (perform-replace): Revert to funcall
5235 instead of run-hook-with-args-until-failure.
5236 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5237 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5238 dired-isearch-filenames-toggle; make it into a proper minor mode.
5239 Use add/remove-function.
5240 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5241 Call the minor-mode rather than add/remove-hook.
5242 (dired-isearch-filter-filenames):
5243 Remove isearch-message-prefix property.
5244 * info.el (Info--search-loop): New function, extracted from Info-search.
5245 Funcall isearch-filter-predicate instead of
5246 run-hook-with-args-until-failure isearch-filter-predicates.
5247 (Info-search): Use it.
5248 (Info-mode): Use isearch-filter-predicate instead of
5249 isearch-filter-predicates.
5250
290d5b58
DA
52512013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5252
5253 Do not call to `selected-window' where it is assumed by default.
5254 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5255 `window-hscroll', `window-width', `window-height', `window-buffer',
5256 `window-frame', `window-start', `window-point', `next-window'
5257 and `window-display-table'.
5258 * abbrev.el (abbrev--default-expand):
5259 * bs.el (bs--show-with-configuration):
5260 * buff-menu.el (Buffer-menu-mouse-select):
5261 * calc/calc.el (calc):
5262 * calendar/calendar.el (calendar-generate-window):
5263 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5264 (diary-make-entry):
5265 * comint.el (send-invisible, comint-dynamic-complete-filename)
5266 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5267 * completion.el (complete):
5268 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5269 * disp-table.el (describe-current-display-table):
5270 * doc-view.el (doc-view-insert-image):
5271 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5272 * ehelp.el (with-electric-help):
5273 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5274 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5275 * emacs-lisp/helper.el (Helper-help-scroller):
5276 * emulation/cua-base.el (cua--post-command-handler-1):
5277 * eshell/esh-mode.el (eshell-output-filter):
5278 * ffap.el (ffap-gnus-wrapper):
5279 * help-macro.el (make-help-screen):
5280 * hilit-chg.el (highlight-compare-buffers):
5281 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5282 * hl-line.el (global-hl-line-highlight):
5283 * icomplete.el (icomplete-simple-completing-p):
5284 * isearch.el (isearch-done):
5285 * jit-lock.el (jit-lock-stealth-fontify):
5286 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5287 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5288 * mpc.el (mpc-tagbrowser, mpc):
5289 * net/rcirc.el (rcirc-any-buffer):
5290 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5291 * play/landmark.el (landmark-max-width, landmark-max-height):
5292 * play/zone.el (zone):
5293 * progmodes/compile.el (compilation-goto-locus):
5294 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5295 * progmodes/etags.el (find-tag-other-window):
5296 * progmodes/fortran.el (fortran-column-ruler):
5297 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5298 * progmodes/verilog-mode.el (verilog-point-text):
5299 * reposition.el (reposition-window):
5300 * rot13.el (toggle-rot13-mode):
5301 * server.el (server-switch-buffer):
5302 * shell.el (shell-dynamic-complete-command)
5303 (shell-dynamic-complete-environment-variable):
5304 * simple.el (insert-buffer, set-selective-display)
5305 (delete-completion-window):
5306 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5307 (speedbar-recenter):
5308 * startup.el (fancy-splash-head):
5309 * textmodes/ispell.el (ispell-command-loop):
5310 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5311 * tutorial.el (help-with-tutorial):
5312 * vc/add-log.el (add-change-log-entry):
5313 * vc/compare-w.el (compare-windows):
5314 * vc/ediff-help.el (ediff-indent-help-message):
5315 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5316 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5317 (ediff-setup-control-frame):
5318 * vc/emerge.el (emerge-position-region):
5319 * vc/pcvs-util.el (cvs-bury-buffer):
5320 * window.el (walk-windows, mouse-autoselect-window-select):
5321 * winner.el (winner-set-conf, winner-undo): Related users changed.
5322
38276e01
JB
53232013-08-05 Juanma Barranquero <lekktu@gmail.com>
5324
5325 * frameset.el (frameset--set-id): Doc fix.
5326 (frameset-frame-id, frameset-frame-id-equal-p)
5327 (frameset-locate-frame-id): New functions.
5328 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5329 (frameset-restore): Use them.
5330
12b4c0ea
DA
53312013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5332
5333 Do not call to `selected-frame' where it is assumed by default.
5334 Affected functions are `raise-frame', `redraw-frame',
5335 `frame-first-window', `frame-terminal' and `delete-frame'.
5336 * calendar/appt.el (appt-disp-window):
5337 * epg.el (epg-wait-for-completion):
5338 * follow.el (follow-delete-other-windows-and-split)
5339 (follow-avoid-tail-recenter):
5340 * international/mule.el (set-terminal-coding-system):
5341 * mail/rmail.el (rmail-mail-return):
5342 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5343 * progmodes/f90.el (f90-add-imenu-menu):
5344 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5345 * server.el (server-switch-buffer):
5346 * simple.el (delete-completion-window):
5347 * talk.el (talk):
5348 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5349 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5350 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5351 * vc/ediff.el (ediff-documentation): Related users changed.
5352 * frame.el (selected-terminal): Remove the leftover.
5353
17f25e76
GM
53542013-08-05 Glenn Morris <rgm@gnu.org>
5355
5356 * calendar/calendar.el (calendar-generate-month):
5357 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5358 (calendar-generate-month, calendar-font-lock-keywords):
5359 Fix for calendar-day-header-width > length of any day name.
17f25e76 5360
063233c3
JB
53612013-08-05 Juanma Barranquero <lekktu@gmail.com>
5362
5363 * desktop.el (desktop-clear): Use new name of sort predicate.
5364
5365 * frameset.el (frameset): Add docstring. Move :version property to its
5366 own `version' slot.
5367 (frameset-copy): Rename from copy-frameset.
5368 (frameset-p): Check more thoroughly.
5369 (frameset-prop): Do not check for :version, which is no longer a prop.
5370 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5371 Use new :never value instead of t.
5372 (frameset-filter-alist): Expand and clarify docstring.
5373 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5374 (frameset-filter-minibuffer, frameset-filter-save-param)
5375 (frameset-filter-restore-param, frameset-filter-iconified):
5376 Add pointer to docstring of frameset-filter-alist.
5377 (frameset-filter-params): Rename filter values to be more meaningful:
5378 :never instead of t, and reverse the meanings of :save and :restore.
5379 (frameset--process-minibuffer-frames): Clarify error message.
5380 (frameset-save): Avoid unnecessary and confusing call to framep.
5381 Use new BOA constructor for framesets.
5382 (frameset--reuse-list): Doc fix.
5383 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5384 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5385 (frameset-minibufferless-first-p): Doc fix.
5386 Rename from frameset-sort-frames-for-deletion.
5387 (frameset-restore): Doc fixes. Use new function names.
5388 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5389
d5671a82
JB
53902013-08-04 Juanma Barranquero <lekktu@gmail.com>
5391
5392 * desktop.el (desktop-restore-forces-onscreen)
5393 (desktop-restore-reuses-frames): Document :keyword constant values.
5394 (desktop-filter-parameters-alist): Remove, now identical to
5395 frameset-filter-alist.
5396 (desktop--filter-tty*): Remove, moved to frameset.el.
5397 (desktop-save-frameset, desktop-restore-frameset):
5398 Do not pass :filters argument.
5399
5400 * frameset.el (frameset-live-filter-alist)
5401 (frameset-persistent-filter-alist): New variables.
5402 (frameset-filter-alist): Use them. Add autoload cookie.
5403 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5404 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5405 `frameset--id' (it's supposed to be internal to frameset.el).
5406 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5407 (frameset--initial-params): New function.
5408 (frameset--get-frame): Use it. Doc fix.
5409 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5410 Accept :all, not 'all.
5411 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5412 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5413 with fbound symbols. Fix frame id matching, and remove matching ids if
5414 the frame being restored is deleted. Obey :delete.
5415
671d5c16
SM
54162013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * subr.el (macrop): New function.
5419 (text-clone--maintaining): New var.
5420 (text-clone--maintain): Rename from text-clone-maintain. Use it
5421 instead of inhibit-modification-hooks.
5422
5423 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5424 a proxy, so as handle autoloads and redefinitions of the target.
5425 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5426
5427 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5428 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5429 (pcase--mutually-exclusive-p): New function.
5430 (pcase--split-consp): Use it.
5431 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5432 mutually exclusive with the current predicate.
5433
5434 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5435 (edebug-macrop): Remove. Use `macrop' instead.
5436 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5437 (ad-macro-p):
5438 * eshell/esh-cmd.el (eshell-macrop):
5439 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5440
1d44e9dc
SM
54412013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5444 (advice-mapc): New function, using it.
5445 (advice-function-member-p): New function.
5446 (advice--normalize): Store the cdr in advice--saved-rewrite since
5447 that's the part that will be changed.
5448 (advice--symbol-function): New function.
5449 (advice-remove): Handle removal before the function is defined.
5450 Adjust to new advice--saved-rewrite.
5451 (advice-member-p): Use advice-function-member-p and
5452 advice--symbol-function.
5453
5414a283
JB
54542013-08-04 Juanma Barranquero <lekktu@gmail.com>
5455
51d30f2c
JB
5456 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5457 (frameset-filter-minibuffer): Doc fix.
5458 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5459 (frameset--set-id, frameset--process-minibuffer-frames)
5460 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5461 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5462
5414a283
JB
5463 * desktop.el (desktop-clear): Only delete frames when called
5464 interactively and desktop-restore-frames is non-nil. Doc fix.
5465 (desktop-read): Set desktop-saved-frameset to nil.
5466
ab419665
XF
54672013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5468
5469 * vc/vc.el (vc-ignore): Rewrite.
5470 (vc-default-ignore-completion-table):
5471 (vc--read-lines):
5472 (vc--add-line, vc--remove-regexp): New functions.
5473
5474 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5475 (vc-svn-ignore-completion-table): New function.
5476
5477 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5478 (vc-hg-ignore-completion-table):
5479 (vc-hg-find-ignore-file): New functions.
5480
5481 * vc/vc-git.el (vc-git-ignore): Rewrite.
5482 (vc-git-ignore-completion-table):
5483 (vc-git-find-ignore-file): New functions.
5484
5485 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5486
5487 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5488 (vc-bzr-ignore-completion-table):
5489 (vc-bzr-find-ignore-file): New functions.
5490
2613dea2
JB
54912013-08-03 Juanma Barranquero <lekktu@gmail.com>
5492
5493 * frameset.el (frameset-prop): New function and setter.
5494 (frameset-save): Do not modify frame list passed by the caller.
5495
9c959872
SM
54962013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5499
a104f656
SM
55002013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5501
70122acf
SM
5502 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5503 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5504
a104f656
SM
5505 * custom.el (custom-initialize-default, custom-initialize-set)
5506 (custom-initialize-reset, custom-initialize-changed): Affect the
5507 toplevel-default-value (bug#6275, bug#14586).
5508 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5509 for bug#6275.
5510
f078d570
JB
55112013-08-02 Juanma Barranquero <lekktu@gmail.com>
5512
185e3b5a
JB
5513 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5514 Add cl-def* expressions.
5515
f078d570
JB
5516 * frameset.el (frameset-filter-params): Fix order of arguments.
5517
9421876d
JB
55182013-08-02 Juanma Barranquero <lekktu@gmail.com>
5519
5520 Move code related to saving frames to frameset.el.
5521 * desktop.el: Require frameset.
5522 (desktop-restore-frames): Doc fix.
5523 (desktop-restore-reuses-frames): Rename from
5524 desktop-restoring-reuses-frames.
5525 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5526 (desktop-clear): Clear frames too.
5527 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5528 (desktop--filter-tty*, desktop-save, desktop-read):
5529 Use frameset functions.
5530 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5531 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5532 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5533 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5534 (desktop--process-minibuffer-frames, desktop-save-frames)
5535 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5536 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5537 (desktop--sort-states, desktop-restoring-frames-p)
5538 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5539 (desktop-restoring-frameset-p, desktop-restore-frameset)
5540 (desktop--check-dont-save, desktop-save-frameset): New functions.
5541 (desktop--app-id): New constant.
5542 (desktop-first-buffer, desktop-buffer-ok-count)
5543 (desktop-buffer-fail-count): Move before first use.
5544 * frameset.el: New file.
5545
76dc5996
SM
55462013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * files.el: Use lexical-binding.
5549 (dir-locals-read-from-file): Remove unused `err' variable.
5550 (hack-dir-local-variables--warned-coding): New var.
5551 (hack-dir-local-variables): Use it to avoid repeated warnings.
5552 (make-backup-file-name--default-function): New function.
5553 (make-backup-file-name-function): Use it as default.
5554 (buffer-stale--default-function): New function.
5555 (buffer-stale-function): Use it as default.
5556 (revert-buffer-insert-file-contents--default-function): New function.
5557 (revert-buffer-insert-file-contents-function): Use it as default.
5558 (insert-directory): Avoid add-to-list.
5559
5560 * autorevert.el (auto-revert-handler): Simplify.
5561 Use buffer-stale--default-function.
5562
06d36e2b
TH
55632013-08-01 Tassilo Horn <tsdh@gnu.org>
5564
5f648ab4
TH
5565 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5566
06d36e2b
TH
5567 * whitespace.el (whitespace-ensure-local-variables): New function.
5568 (whitespace-cleanup-region): Call it.
5569 (whitespace-turn-on): Call it.
5570
a43dc424
MA
55712013-08-01 Michael Albinus <michael.albinus@gmx.de>
5572
5573 Complete file name handlers.
5574
5575 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5576 (tramp-handle-verify-visited-file-modtime)
5577 (tramp-handle-file-notify-rm-watch): New functions.
5578 (tramp-call-process): Do not bind `default-directory'.
5579
44e18199
JB
5580 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5581 Order alphabetically.
a43dc424
MA
5582 [access-file, add-name-to-file, dired-call-process]:
5583 [dired-compress-file, file-acl, file-notify-rm-watch]:
5584 [file-ownership-preserved-p, file-selinux-context]:
5585 [make-directory-internal, make-symbolic-link, set-file-acl]:
5586 [set-file-selinux-context, set-visited-file-modtime]:
5587 [verify-visited-file-modtime]: Add handler.
5588 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5589
5590 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5591 [file-notify-add-watch, file-notify-rm-watch]:
5592 [set-file-times, set-visited-file-modtime]:
5593 [verify-visited-file-modtime]: Add handler.
5594 (with-tramp-gvfs-error-message)
5595 (tramp-gvfs-handle-set-visited-file-modtime)
5596 (tramp-gvfs-fuse-file-name): Remove.
5597 (tramp-gvfs-handle-file-notify-add-watch)
5598 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5599 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5600
44e18199
JB
5601 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5602 Order alphabetically.
a43dc424
MA
5603 [file-notify-rm-watch ]: Use default Tramp handler.
5604 [executable-find]: Remove private handler.
5605 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5606 `default-directory'.
5607 (tramp-sh-handle-executable-find)
5608 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5609 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5610 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5611 Do not use `format' in `tramp-message'.
5612
5613 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5614 [file-notify-rm-watch, set-visited-file-modtime]:
5615 [verify-visited-file-modtime]: Add handler.
5616 (tramp-smb-call-winexe): Do not bind `default-directory'.
5617
7188b515
XF
56182013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5619
5620 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5621
2412ee1a
DG
56222013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5623
5624 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5625 use it.
5626 (log-view-diff-changeset): Same.
5627 (log-view-diff-common): Call backend command `previous-revision'
5628 to find out the previous revision, in both cases. Swap the
5629 variables `to' and `fr', so that `fr' usually refers to the
5630 earlier revision (Bug#14989).
5631
5002a754
KRC
56322013-07-31 Kan-Ru Chen <kanru@kanru.info>
5633
5634 * ibuf-ext.el (ibuffer-filter-by-filename):
5635 Make it work with dired buffers too.
5636
44e18199 56372013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5638
5639 * emacs-lisp/re-builder.el (reb-color-display-p):
5640 * files.el (save-buffers-kill-terminal):
5641 * net/browse-url.el (browse-url):
5642 * server.el (server-save-buffers-kill-terminal):
5643 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5644 Prefer nil to selected-frame for the first arg of frame-parameter.
5645
aeca3fbb
XF
56462013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5647
5648 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5649
158bc55c
SB
56502013-07-30 Stephen Berman <stephen.berman@gmx.net>
5651
5652 * minibuffer.el (completion--twq-all): Try and preserve each
5653 completion's case choice (bug#14907).
5654
d50fceab
LMI
56552013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5656
ac38e731
LMI
5657 * net/network-stream.el (open-network-stream): Mention the new
5658 :nogreeting parameter.
5659 (network-stream-open-starttls): Use the :nogreeting parameter
5660 (bug#14938).
5661
1211de50
LMI
5662 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5663
997798bf
LMI
5664 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5665 more natural than popping.
5666
d50fceab 5667 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5668 (shr-urlify): Highlight under mouse.
d50fceab 5669
5c09de04
XF
56702013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5671
207d1d04
XF
5672 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5673
5674 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5675
5c09de04
XF
5676 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5677 buffer for output.
5678
3cd51eaa
XF
5679 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5680 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5681
44e18199 5682 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5683 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5684
5685 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5686
5687 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5688 buffer for output.
5689
35a89bdd
EZ
56902013-07-29 Eli Zaretskii <eliz@gnu.org>
5691
5692 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5693 initial frame is minibuffer-less. (Bug#14841)
5694
78822e94
MA
56952013-07-29 Michael Albinus <michael.albinus@gmx.de>
5696
5697 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5698 option.
5699
5700 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5701 (tramp-maybe-open-connection): Use it.
5702
9503c190
JB
57032013-07-28 Juanma Barranquero <lekktu@gmail.com>
5704
5705 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5706 minimal set of parameters passed when creating a frame, because
5707 the minibuffer status of a frame cannot be changed later.
5708
d5a845b4
SB
57092013-07-28 Stephen Berman <stephen.berman@gmx.net>
5710
5711 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5712 replace-regexp-in-string and inadvertent omissions in previous change.
5713 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5714 name of filtered items buffer.
d5a845b4 5715
ddeffb17
JB
57162013-07-28 Juanma Barranquero <lekktu@gmail.com>
5717
5718 * desktop.el: Optionally force offscreen frames back onscreen.
5719 (desktop-restoring-reuses-frames): New option.
5720 (desktop--compute-pos, desktop--move-onscreen): New functions.
5721 (desktop--make-frame): Use desktop--move-onscreen.
5722
f5950f7a
AM
57232013-07-27 Alan Mackenzie <acm@muc.de>
5724
5725 Fontify a Java generic method as a function.
5726 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5727 value to t.
5728
ae43b66a
SB
57292013-07-27 Stephen Berman <stephen.berman@gmx.net>
5730
5731 * calendar/todo-mode.el: Add command to rename todo files.
5732 (todo-rename-file): New command.
5733 (todo-key-bindings-t): Add key binding for it. Change the
5734 bindings of todo-filter-regexp-items(-multifile) to use `x'
5735 instead of `r', since the latter is better suited to the new
5736 renaming command.
5737
5ab78d3d
AM
57382013-07-27 Alan Mackenzie <acm@muc.de>
5739
5740 Make Java try-with-resources statement parse properly.
5741 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5742 (c-block-stmt-1-2-key): New language constants/variables.
5743 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5744 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5745 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5746 with c-block-stmt-1-2-key.
5ab78d3d 5747
d85c4d50
JB
57482013-07-27 Juanma Barranquero <lekktu@gmail.com>
5749
5750 * desktop.el (desktop--make-frame): Apply most frame parameters after
5751 creating the frame to force (partially or totally) offscreen frames to
5752 be restored as such.
5753
e4c467f9
XF
57542013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5755
5756 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5757 (Bug#14948)
e4c467f9 5758
7ced0d04
SM
57592013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5760
5761 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5762 `base' arg of backtrace-frame.
5763
fec92060
EZ
57642013-07-26 Eli Zaretskii <eliz@gnu.org>
5765
5766 * simple.el (list-processes): Doc fix.
5767
d58d31fb
JB
57682013-07-26 Juanma Barranquero <lekktu@gmail.com>
5769
5770 * desktop.el (desktop--select-frame):
d85c4d50 5771 Try harder to reuse existing frames.
d58d31fb 5772
53ff3e77
SM
57732013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5776 (edebug-eval): Use backtrace-eval.
5777 (edebug--display, edebug--recursive-edit): Don't let-bind the
5778 edebug-outer-* vars that keep track of variables we locally let-bind.
5779 (edebug-outside-excursion): Don't restore outside values of locally
5780 let-bound vars.
5781 (edebug--display): Use user-error.
5782 (cl-lexical-debug, cl-debug-env): Remove.
5783
045f7a53
JB
57842013-07-26 Juanma Barranquero <lekktu@gmail.com>
5785
5786 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5787 are restored to be sure that they are visible before deleting any
5788 remaining ones.
5789
59070b32
MM
57902013-07-26 Matthias Meulien <orontee@gmail.com>
5791
742a3501
XF
5792 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5793 vc-print-root-log. (Bug#14948)
59070b32 5794
b1fb3596
RS
57952013-07-26 Richard Stallman <rms@gnu.org>
5796
5797 Add aliases for encrypting mail.
5798 * epa.el (epa-mail-aliases): New option.
5799 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5800 Bind inhibit-read-only so read-only text doesn't ruin everything.
5801 (epa-mail-default-recipients): New subroutine broken out.
5802 Handle epa-mail-aliases.
5803
56ea7291
SM
58042013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 Add support for lexical variables to the debugger's `e' command.
5807 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5808 vars, except for debugger-outer-match-data.
5809 (debugger-frame-number): Move check for "on a function call" from
5810 callers into it. Add `skip-base' argument.
5811 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5812 (debugger-env-macro): Only reset the state stored in non-variables,
5813 i.e. current-buffer and match-data.
5814 (debugger-eval-expression): Rewrite using backtrace-eval.
5815 * subr.el (internal--called-interactively-p--get-frame): Remove.
5816 (called-interactively-p):
5817 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5818 `base' arg of backtrace-frame instead.
5819
15ac32d5
GM
58202013-07-26 Glenn Morris <rgm@gnu.org>
5821
8358a09d
GM
5822 * align.el (align-regexp): Doc fix. (Bug#14857)
5823 (align-region): Explicit error if subexpression missing/does not match.
5824
15ac32d5
GM
5825 * simple.el (global-visual-line-mode):
5826 Do not duplicate the mode lighter. (Bug#14858)
5827
f47ad11b
MR
58282013-07-25 Martin Rudalics <rudalics@gmx.at>
5829
5830 * window.el (display-buffer): In display-buffer bind
5831 split-window-keep-point to t, bug#14829.
5832
02530987
JB
58332013-07-25 Juanma Barranquero <lekktu@gmail.com>
5834
5835 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5836 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5837 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5838 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5839 Change accordingly.
f63ebeb5
JB
5840 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5841 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5842
6ccb9cab 58432013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5844
6ccb9cab 5845 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5846
cb3a56d2
JB
58472013-07-25 Juanma Barranquero <lekktu@gmail.com>
5848
5849 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5850 parameter to modify-frame-parameters if the value has not changed;
5851 this is a workaround for bug#14949.
5852 (desktop--make-frame): On cl-delete-if call, check parameter name,
5853 not full parameter.
5854
7aa7fff0
XF
58552013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5856
5857 * vc/vc.el (vc-ignore): New function.
5858
5859 * vc/vc-svn.el (vc-svn-ignore): New function.
5860
5861 * vc/vc-hg.el (vc-hg-ignore): New function.
5862
5863 * vc/vc-git.el (vc-git-ignore): New function.
5864
5865 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5866 (vc-dir-ignore): New function.
5867
5868 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5869 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5870
5871 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5872
5873 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5874
889acc5c
JB
58752013-07-24 Juanma Barranquero <lekktu@gmail.com>
5876
5877 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5878 (desktop-restore-frames): Warn when deleting an existing frame failed.
5879
86c40970
GM
58802013-07-24 Glenn Morris <rgm@gnu.org>
5881
5882 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5883
d5d3c58a
MA
58842013-07-24 Michael Albinus <michael.albinus@gmx.de>
5885
5886 * filenotify.el (file-notify-supported-p):
5887 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5888 Remove functions.
5889
5890 * autorevert.el (auto-revert-use-notify):
5891 (auto-revert-notify-add-watch):
5892 * net/tramp.el (tramp-file-name-for-operation):
5893 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5894 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5895 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5896 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5897 Remove `file-notify-supported-p' entry.
5898
d100084b
GM
58992013-07-24 Glenn Morris <rgm@gnu.org>
5900
5901 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5902 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 5903
ac93e56b
SM
59042013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5905
249eea30
SM
5906 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5907 checked with memq (bug#14935).
5908
ac93e56b
SM
5909 * files.el (revert-buffer-function): Use a non-nil default.
5910 (revert-buffer-preserve-modes): Declare var to
5911 provide access to the `preserve-modes' argument.
5912 (revert-buffer): Let-bind it.
5913 (revert-buffer--default): New function, extracted from revert-buffer.
5914
2cdeb903
SM
59152013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * lpr.el: Signal print errors more prominently.
5918 (print-region-function): Don't default to nil.
5919 (lpr-print-region): New function, extracted from print-region-1.
5920 Check lpr's return value and signal an error in case of problem.
5921 (print-region-1): Use it.
5922 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5923 versions instead.
5924 (ps-printer-name): Default to nil.
5925 (ps-printer-name-option): Default to lpr-printer-switch.
5926 (ps-print-region-function): Don't default to nil.
5927 (ps-postscript-code-directory): Simplify default.
5928 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5929 (ps-string-list, ps-eval-switch, ps-flatten-list)
5930 (ps-flatten-list-1): Remove.
5931 (ps-multibyte-buffer): Avoid setq.
5932 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5933 (print-region-function, ps-print-region-function): Don't set them here.
5934
73600831
XF
59352013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5936
0e55c076
XF
5937 * ido.el (ido-fractionp):
5938 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5939 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5940 (ido-max-directory-size, ido-max-dir-file-cache)
5941 (ido-decorations): Doc fix.
5942
73600831
XF
5943 * ansi-color.el: Fix old URL.
5944
3d012865
MM
59452013-07-23 Michael R. Mauger <michael@mauger.com>
5946
e903c210 5947 * progmodes/sql.el: Version 3.3
3d012865
MM
5948 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5949 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5950 (sql-interactive-remove-continuation-prompt): Rewrite, use
5951 functions above. Fix continuation prompt and complete output line
5952 handling.
5953 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5954 redirected output buffer.
5955 (sql-mode): Restore deleted code (Bug#13591).
5956
da77a2e2
JB
59572013-07-23 Juanma Barranquero <lekktu@gmail.com>
5958
5959 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5960
80ff0c71
MA
59612013-07-23 Michael Albinus <michael.albinus@gmx.de>
5962
5963 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5964
5965 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5967 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5968
b61d71e4
JB
59692013-07-23 Juanma Barranquero <lekktu@gmail.com>
5970
5971 * desktop.el (desktop-clear): Simplify; remove useless checks
5972 against invalid buffer names.
5973 (desktop-list*): Use cl-list*.
5974 (desktop-buffer-info, desktop-create-buffer): Simplify.
5975
c3512092
LL
59762013-07-23 Leo Liu <sdl.web@gmail.com>
5977
5978 * bookmark.el (bookmark-make-record): Restore NAME as a default
5979 value. (Bug#14933)
5980
0ac26976
SM
59812013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5982
7d22ce18
SM
5983 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5984 extracted from autoload--insert-text.
5985 (autoload--insert-text): Remove.
5986 (autoload--print-cookie-text): New function, extracted from
5987 autoload--insert-cookie-text.
5988 (autoload--insert-cookie-text): Remove.
5989 (autoload-generate-file-autoloads): Adjust calls accordingly.
5990
9b2607e8
SM
5991 * winner.el (winner-hook-installed-p): Remove.
5992 (winner-mode): Simplify accordingly.
5993
c43a8618
SM
5994 * subr.el (add-to-list): Fix compiler-macro when `append' is
5995 not constant. Don't use `cl-member' for the base case.
5996
0ac26976
SM
5997 * progmodes/subword.el: Fix boundary case (bug#13758).
5998 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5999 own group.
6000 (subword-backward-regexp): Make it a constant.
6001 (subword-forward-internal): Don't treat a trailing capital as the
6002 beginning of a word.
6003
6874724a
AR
60042013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6005
6006 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6007 global value of tabulated-list-revert-hook (bug#14930).
6008
70f1b5e8
JB
60092013-07-22 Juanma Barranquero <lekktu@gmail.com>
6010
a1c80d9d
JB
6011 * desktop.el: Require 'cl-lib.
6012 (desktop-before-saving-frames-functions): New hook.
6013 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6014 for frames being saved. Rename from desktop--save-minibuffer-frames.
6015 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6016 Do not save frames with non-nil `desktop-dont-save' parameter.
6017 Filter out deleted frames.
a1c80d9d
JB
6018 (desktop--find-frame): Use cl-find-if.
6019 (desktop--select-frame): Use cl-(first|second|third) to access values
6020 of desktop-mini.
6021 (desktop--make-frame): Use cl-delete-if.
6022 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6023 (desktop-restore-frames): Use cl-(first|second|third) to access values
6024 of desktop-mini. Look for visible frame at the end, not while
6025 restoring frames.
6026
70f1b5e8
JB
6027 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6028 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6029 Use string-match-p, looking-at-p (bug#14927).
6030
728dc3cc
JB
60312013-07-21 Juanma Barranquero <lekktu@gmail.com>
6032
56bc453c
JB
6033 * desktop.el (desktop-saved-frame-states):
6034 Rename from desktop--saved-states; all users changed.
6035 (desktop-save-frames): Rename from desktop--save-frames.
6036 Do not save state to desktop file.
6037 (desktop-save): Save desktop-saved-frame-states to desktop file
6038 and reset to nil.
6039 (desktop-restoring-frames-p): New function.
6040 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6041 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6042 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6043
728dc3cc
JB
6044 * desktop.el: Correctly restore iconified frames.
6045 (desktop--filter-iconified-position): New function.
6046 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6047
862f1c9c
GM
60482013-07-20 Glenn Morris <rgm@gnu.org>
6049
c4074c9f
GM
6050 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6051 Let `message' do the formatting.
6052 (def-gdb-preempt-display-buffer): Add explicit format.
6053
d828e5f9
GM
6054 * image-dired.el (image-dired-track-original-file):
6055 Use with-current-buffer.
6056 (image-dired-track-thumbnail): Use with-current-buffer.
6057 Avoid changing point of wrong window.
6058
862f1c9c
GM
6059 * image-dired.el (image-dired-track-original-file):
6060 Avoid changing point of wrong window. (Bug#14909)
6061
f0398ec1 60622013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6063
6064 * progmodes/gdb-mi.el (gdb-done-or-error):
6065 Guard against "%" in gdb output. (Bug#14127)
6066
1451928f
AS
60672013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6068
763a086d
JB
6069 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6070 (Bug#14826)
f7a03897 6071
1451928f
AS
6072 * international/mule.el (coding-system-iso-2022-flags): Fix last
6073 change.
6074
99107004
KH
60752013-07-20 Kenichi Handa <handa@gnu.org>
6076
763a086d
JB
6077 * international/mule.el (coding-system-iso-2022-flags):
6078 Add `8-bit-level-4'. (Bug#8522)
99107004 6079
48494e06
LMI
60802013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6081
8ba8eec5
LMI
6082 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6083 (bug#14815).
6084
dfbc66e3
LMI
6085 * net/eww.el (eww-process-text-input): Allow inputting when the
6086 point is at the start of the line, as the properties aren't
6087 front-sticky.
6088
48494e06
LMI
6089 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6090 degenerate widths.
6091
77c92cb9
RS
60922013-07-19 Richard Stallman <rms@gnu.org>
6093
aec7da77
RS
6094 * epa.el (epa-popup-info-window): Doc fix.
6095
77c92cb9
RS
6096 * subr.el (split-string): New arg TRIM.
6097
945c5bb1
JB
60982013-07-18 Juanma Barranquero <lekktu@gmail.com>
6099
6100 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6101 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6102
e06ec67f
MA
61032013-07-18 Michael Albinus <michael.albinus@gmx.de>
6104
c7064f05 6105 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6106 `file-notify-support'. Do not autoload. Adapt all uses.
6107 (file-notify-supported-p): New defun.
6108
c7064f05
JB
6109 * autorevert.el (auto-revert-use-notify):
6110 Use `file-notify-supported-p' instead of `file-notify-support'.
6111 Adapt docstring.
e06ec67f
MA
6112 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6113
6114 * net/tramp.el (tramp-file-name-for-operation):
6115 Add `file-notify-supported-p'.
6116
6117 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6118 New defun.
6119 (tramp-sh-file-name-handler-alist): Add it as handler for
6120 `file-notify-supported-p '.
6121
6122 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6123 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6124 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6125 Add `ignore' as handler for `file-notify-*' functions.
6126
5dc8a629
EZ
61272013-07-17 Eli Zaretskii <eliz@gnu.org>
6128
6129 * simple.el (line-move-partial, line-move): Don't start vscroll or
6130 scroll-up if the current line is not taller than the window.
6131 (Bug#14881)
6132
77aea2fb
DG
61332013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6134
6135 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6136 highlight question marks in the method names as strings.
ac72c08d
DG
6137 (ruby-block-beg-keywords): Inline.
6138 (ruby-font-lock-keyword-beg-re): Extract from
6139 `ruby-font-lock-keywords'.
77aea2fb 6140
18c26d81
JD
61412013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6142
6143 * frame.el (blink-cursor-blinks): New defcustom.
6144 (blink-cursor-blinks-done): New defvar.
6145 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6146 (blink-cursor-timer-function): Check if number of blinks has been
6147 done on X and NS.
6148 (blink-cursor-suspend, blink-cursor-check): New defuns.
6149
da48522e
GM
61502013-07-15 Glenn Morris <rgm@gnu.org>
6151
6152 * edmacro.el (edmacro-format-keys): Fix previous change.
6153
0463c1ef
PE
61542013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6155
6156 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6157 The hack didn't work outside English locales anyway.
6158
b43f6451
JB
61592013-07-15 Juanma Barranquero <lekktu@gmail.com>
6160
6161 * simple.el (define-alternatives): Rename from alternatives-define,
6162 per RMS' suggestion.
6163
b958c0ad
JB
61642013-07-14 Juanma Barranquero <lekktu@gmail.com>
6165
6166 * desktop.el (desktop-restore-frames): Change default to t.
6167 (desktop-restore-in-current-display): Now offer more options.
6168 (desktop-restoring-reuses-frames): New customization option.
6169 (desktop--saved-states): Doc fix.
6170 (desktop-filter-parameters-alist): New variable, renamed and expanded
6171 from desktop--excluded-frame-parameters.
6172 (desktop--target-display): New variable.
6173 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6174 (desktop--filter-tty*, desktop--filter-*-color)
6175 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6176 (desktop--filter-save-desktop-parm)
6177 (desktop-restore-in-original-display-p): New functions.
6178 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6179 (desktop--save-minibuffer-frames): New function, inspired by a similar
6180 function from Martin Rudalics.
6181 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6182 (desktop--restore-in-this-display-p): Remove.
6183 (desktop--find-frame): Rename from desktop--find-frame-in-display
6184 and add predicate argument.
6185 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6186 (desktop--reuse-list): New variable.
6187 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6188 New functions.
6189 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6190
f6dd8b36
MA
61912013-07-14 Michael Albinus <michael.albinus@gmx.de>
6192
6193 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6194
2ce3c565
DG
61952013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6196
763a086d
JB
6197 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6198 Highlight conversion methods on Kernel.
2ce3c565 6199
2cdb7698
AM
62002013-07-13 Alan Mackenzie <acm@muc.de>
6201
6202 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6203 and comment it out. This out-commenting enables certain C++
6204 declarations to be parsed correctly.
6205
1a67b811
EZ
62062013-07-13 Eli Zaretskii <eliz@gnu.org>
6207
1b796d6b
EZ
6208 * international/mule.el (define-coding-system): Doc fix.
6209
1a67b811
EZ
6210 * simple.el (default-font-height): Don't call font-info if the
6211 frame's default font didn't change since the frame was created.
6212 (Bug#14838)
6213
58fbe886
LL
62142013-07-13 Leo Liu <sdl.web@gmail.com>
6215
6216 * ido.el (ido-read-file-name): Guard against non-symbol value.
6217
1f0480d4
FEG
62182013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6219
6220 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6221 in nested defuns.
6222
97ead0e5
LL
62232013-07-13 Leo Liu <sdl.web@gmail.com>
6224
6225 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6226 ido-set-matches call. (Bug#6852)
6227
0880a952
DG
62282013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6229
6230 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6231 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6232 Ruby 2.0.
6233 (ruby-font-lock-keywords): Distinguish calls to functions with
6234 module-like names from module references. Highlight character
6235 literals.
6236
a7d8babb
SDJ
62372013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6238
6239 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6240 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6241
acfcc8c5
JB
62422013-07-12 Juanma Barranquero <lekktu@gmail.com>
6243
6244 * desktop.el (desktop--v2s): Remove unused local variable.
6245 (desktop-save-buffer): Make defvar-local; adjust docstring.
6246 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6247 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6248
051f2775
AS
62492013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6250
6251 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6252
f24e7572
GM
62532013-07-12 Eli Zaretskii <eliz@gnu.org>
6254
6255 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6256 (Bug#14842)
6257
539a920c
GM
62582013-07-12 Glenn Morris <rgm@gnu.org>
6259
6260 * doc-view.el: Require cl-lib at runtime too.
6261 (doc-view-remove-if): Remove.
6262 (doc-view-search-next-match, doc-view-search-previous-match):
6263 Use cl-remove-if.
6264
6265 * edmacro.el: Require cl-lib at runtime too.
6266 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6267 (edmacro-mismatch, edmacro-subseq): Remove.
6268
6269 * shadowfile.el: Require cl-lib.
6270 (shadow-remove-if): Remove.
6271 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6272 Use cl-remove-if.
6273
6274 * wid-edit.el: Require cl-lib.
6275 (widget-choose): Use cl-remove-if.
6276 (widget-remove-if): Remove.
6277
6278 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6279 (ebrowse-delete-if-not): Remove.
6280 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6281 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6282 Use cl-delete-if-not.
6283
1048af7c
JB
62842013-07-12 Juanma Barranquero <lekktu@gmail.com>
6285
6286 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6287 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6288
6c0674ee
LL
62892013-07-12 Leo Liu <sdl.web@gmail.com>
6290
6291 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6292
a19b3c2d
GM
62932013-07-11 Glenn Morris <rgm@gnu.org>
6294
4582a01c
GM
6295 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6296 (edebug-gensym-index, edebug-gensym):
6297 Remove reimplementation of cl-gensym.
6298 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6299
6300 * thumbs.el: Require cl-lib at run-time too.
6301 (thumbs-gensym-counter, thumbs-gensym):
6302 Remove reimplementation of cl-gensym.
6303 (thumbs-temp-file): Use cl-gensym.
6304
a19b3c2d
GM
6305 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6306 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6307 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6308 (ert--union, ert--gensym-counter, ert--gensym-counter)
6309 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6310 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6311 (ert-make-test-unbound, ert--expand-should-1)
6312 (ert--expand-should, ert--should-error-handle-error)
6313 (should-error, ert--explain-equal-rec)
6314 (ert--plist-difference-explanation, ert-select-tests)
6315 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6316 Use cl-lib functions rather than reimplementations.
6317
88f6a933
MA
63182013-07-11 Michael Albinus <michael.albinus@gmx.de>
6319
6320 * net/tramp.el (tramp-methods): Extend docstring.
6321 (tramp-connection-timeout): New defcustom.
6322 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6323 (with-tramp-progress-reporter): Simplify.
6324 (tramp-process-actions): Improve messages.
6325
6326 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6327 * net/tramp-sh.el (tramp-maybe-open-connection):
6328 Use `tramp-connection-timeout'.
6329 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6330 (Bug#14808)
6331
a43d577e
LL
63322013-07-11 Leo Liu <sdl.web@gmail.com>
6333
6334 * ido.el (ido-read-file-name): Conform to the requirements of
6335 read-file-name. (Bug#11861)
6336 (ido-read-directory-name): Conform to the requirements of
6337 read-directory-name.
6338
d77974bf
JB
63392013-07-11 Juanma Barranquero <lekktu@gmail.com>
6340
6341 * subr.el (delay-warning): New function.
6342
35cb8a3e
EZ
63432013-07-10 Eli Zaretskii <eliz@gnu.org>
6344
6345 * simple.el (default-line-height): New function.
6346 (line-move-partial, line-move): Use it instead of computing the
6347 line height inline.
6348 (line-move-partial): Always compute ROWH. If the last line is
6349 partially-visible, but its text is completely visible, allow
6350 cursor to enter such a partially-visible line.
6351
525c5c77
MA
63522013-07-10 Michael Albinus <michael.albinus@gmx.de>
6353
6354 Improve error messages. (Bug#14808)
6355
6356 * net/tramp.el (tramp-current-connection): New defvar, moved from
6357 tramp-sh.el.
0ac26976 6358 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6359 needed anymore.
0ac26976
SM
6360 (tramp-error-with-buffer): Show message in minibuffer.
6361 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6362 (with-tramp-progress-reporter): Improve messages.
6363 (tramp-process-actions): Use progress reporter. Delete process in
6364 case of error. Improve messages.
6365
763a086d
JB
6366 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6367 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6368 (tramp-current-connection): Remove.
525c5c77
MA
6369 (tramp-maybe-open-connection): The car of
6370 `tramp-current-connection' are the first 3 slots of the vector.
6371
c7a4d368
TZ
63722013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6373
6374 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6375 inside continued strings.
6376
954b166e
PE
63772013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6378
6379 Timestamp fixes for undo (Bug#14824).
6380 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6381
56973319
LL
63822013-07-10 Leo Liu <sdl.web@gmail.com>
6383
6384 * files.el (require-final-newline): Allow safe local value.
6385 (Bug#14834)
6386
5550a72c
LL
63872013-07-09 Leo Liu <sdl.web@gmail.com>
6388
6389 * ido.el (ido-read-directory-name): Handle fallback.
6390 (ido-read-file-name): Update DIR to ido-current-directory.
6391 (Bug#1516)
c28b9050 6392 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6393
70c46b28
DG
63942013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6395
6396 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6397 "autoload". Remove "warn lower camel case" section, previously
6398 commented out. Highlight negation char. Do not highlight the
6399 target in singleton method definitions.
6400
0b64b838
SM
64012013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6402
7fd72e2c
SM
6403 * faces.el (tty-setup-hook): Declare the hook.
6404
0b64b838
SM
6405 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6406 and detect when a guard/pred depends on local vars (bug#14773).
6407 (pcase--u1): Adjust caller.
6408
ab49d60b
EZ
64092013-07-08 Eli Zaretskii <eliz@gnu.org>
6410
6411 * simple.el (line-move-partial, line-move): Account for
6412 line-spacing.
701d79aa
EZ
6413 (line-move-partial): Avoid setting vscroll when the last
6414 partially-visible line in window is of default height.
ab49d60b 6415
2d756ae0
LMI
64162013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6417
6418 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6419 been used a while.
6420
ed095bd7
JB
64212013-07-07 Juanma Barranquero <lekktu@gmail.com>
6422
6423 * subr.el (read-quoted-char): Remove unused local variable `char'.
6424
f1e6674b
MK
64252013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6426
584ee3fc
GM
6427 * ediff.el (ediff-version): Version update.
6428 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6429 (ediff-merge-with-ancestor-command, ediff-directories-command)
6430 (ediff-directories3-command, ediff-merge-directories-command)
6431 (ediff-merge-directories-with-ancestor-command): New functions.
6432 All are command-line interfaces to ediff: to facilitate calling
6433 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6434
6435 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6436 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6437
584ee3fc
GM
6438 * viper.el (viper-version): Version update.
6439 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6440
584ee3fc
GM
64412013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6444 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6445 (viper-intercept-ESC-key): Simplify.
6446 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6447 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6448 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6449 (viper-setup-ESC-to-escape): New functions.
6450 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6451 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6452
9aff9b38
EZ
64532013-07-07 Eli Zaretskii <eliz@gnu.org>
6454
5165d44a
JB
6455 * simple.el (default-font-height, window-screen-lines):
6456 New functions.
9aff9b38
EZ
6457 (line-move, line-move-partial): Use them instead of
6458 frame-char-height and window-text-height. This makes scrolling
6459 text smoother when the buffer's default face uses a font that is
6460 different from the frame's default font.
6461
1afb1d07
JD
64622013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6463
6464 * files.el (write-file): Do not display confirm dialog for NS,
6465 it does its own dialog, which can't be cancelled (Bug#14578).
6466
23de972a
EZ
64672013-07-06 Eli Zaretskii <eliz@gnu.org>
6468
6469 * simple.el (line-move-partial): Adjust the row returned by
6470 posn-at-point for the current window-vscroll. (Bug#14567)
6471
54a42486
MA
64722013-07-06 Michael Albinus <michael.albinus@gmx.de>
6473
6474 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6475 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6476 spaces.
6477
34ada5f4
MR
64782013-07-06 Martin Rudalics <rudalics@gmx.at>
6479
6480 * window.el (window-state-put-stale-windows): New variable.
6481 (window--state-put-2): Save list of windows without matching buffer.
6482 (window-state-put): Remove "bufferless" windows if possible.
6483
11e03d89
JB
64842013-07-06 Juanma Barranquero <lekktu@gmail.com>
6485
6486 * simple.el (alternatives-define): Remove leftover :group keyword.
6487 Tweak docstring.
6488
3504a4be
LL
64892013-07-06 Leo Liu <sdl.web@gmail.com>
6490
6491 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6492 (ido-enable-virtual-buffers): New variable.
6493 (ido-buffer-internal, ido-toggle-virtual-buffers)
6494 (ido-make-buffer-list): Use it.
6495 (ido-exhibit): Support turning on and off virtual buffers
6496 automatically.
6497
61e56e2c
JB
64982013-07-06 Juanma Barranquero <lekktu@gmail.com>
6499
6500 * simple.el (alternatives-define): New macro.
6501
321e1a9c
SM
65022013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 * subr.el (read-quoted-char): Use read-key.
6505 (sit-for): Let read-event decode tty input (bug#14782).
6506
d610f6dd
SB
65072013-07-05 Stephen Berman <stephen.berman@gmx.net>
6508
6509 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6510 mode command and externally. Fix various related bugs.
6511 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6512 (todo-delete-file): New command.
6513 (todo-check-file): New function.
6514 (todo-show): Handle external deletion of the file we're trying to
6515 show (bug#14688). Replace called-interactively-p by an optional
6516 prefix argument to avoid problematic interaction with catch form
6517 when byte compiled (bug#14702).
6518 (todo-quit): Handle external deletion of the archive's todo file.
6519 Make sure the buffer that was visiting the archive file is still
6520 live before trying to bury it.
6521 (todo-category-completions): Handle external deletion of any
6522 category completion files.
6523 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6524 of todo files, in case of external deletion.
6525 (todo-add-file): Replace unnecessary setq by let-binding.
6526 (todo-find-archive): Check whether there are any archives.
6527 Replace unnecessary setq by let-binding.
6528 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6529 archive buffer whether or not the archive already exists.
6530 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6531 check if the archive is new; if it is, update list of archives.
6532 (todo-default-todo-file): Allow nil to be a valid value for when
6533 there are no todo files.
6534 (todo-reevaluate-default-file-defcustom): Use corrected definition
6535 of todo-default-todo-file.
6536 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6537 (todo-delete-category, todo-show-categories-table)
6538 (todo-category-number): Clarify comment.
6539 (todo-filter-items): Clarify documentation string.
6540 (todo-show-current-file, todo-display-as-todo-file)
6541 (todo-reset-and-enable-done-separator): Tweak documentation string.
6542 (todo-done-separator): Make separator length window-width, since
6543 bug#2749 is now fixed.
6544
ddbdfd6f
MA
65452013-07-05 Michael Albinus <michael.albinus@gmx.de>
6546
321e1a9c
SM
6547 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6548 Support both "gvfs-monitor-dir" and "inotifywait".
6549 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6550 `tramp-sh-file-notify-process-filter'.
6551 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6552 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6553
96eb829a
LL
65542013-07-05 Leo Liu <sdl.web@gmail.com>
6555
6556 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6557
cf13177e
YM
65582013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6559
6560 * frame.el (display-pixel-height, display-pixel-width)
6561 (display-mm-height, display-mm-width): Mention behavior on
6562 multi-monitor setups in docstrings.
6563 (w32-display-monitor-attributes-list): Declare function.
6564 (display-monitor-attributes-list): Use it.
6565
864c58ca
MA
65662013-07-04 Michael Albinus <michael.albinus@gmx.de>
6567
6568 * filenotify.el: New package.
6569
6570 * autorevert.el (top): Require filenotify.el.
6571 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6572 instead.
6573 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6574 (auto-revert-notify-handler): Use `file-notify-*' functions.
6575
6576 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6577
321e1a9c
SM
6578 * net/tramp.el (tramp-file-name-for-operation):
6579 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6580
6581 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6582 for `file-notify-add-watch' and `file-notify-rm-watch'.
6583 (tramp-process-sentinel): Improve trace.
6584 (tramp-sh-handle-file-notify-add-watch)
6585 (tramp-sh-file-notify-process-filter)
6586 (tramp-sh-handle-file-notify-rm-watch)
6587 (tramp-get-remote-inotifywait): New defuns.
6588
96673afe
JL
65892013-07-03 Juri Linkov <juri@jurta.org>
6590
6591 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6592 call of `occur-read-primary-args' to interactive spec.
6593
6594 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6595 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6596
924494f4
MM
65972013-07-03 Matthias Meulien <orontee@gmail.com>
6598
6599 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6600 `Buffer-menu-multi-occur'. Add it to the menu.
6601 (Buffer-menu-mode): Document it in docstring.
6602 (Buffer-menu-multi-occur): New command. (Bug#14673)
6603
56f75efc
DG
66042013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6605
6606 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6607 keywords and built-ins.
6608
9b057d61
GM
66092013-07-03 Glenn Morris <rgm@gnu.org>
6610
208dee4d
GM
6611 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6612
9b057d61
GM
6613 Make info-xref checks case-sensitive by default
6614 * info.el (Info-find-node, Info-find-in-tag-table)
6615 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6616 Add option for exact case matching of nodes.
6617 * info-xref.el (info-xref): New custom group.
6618 (info-xref-case-fold): New option.
6619 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6620
e01aa29c
LL
66212013-07-03 Leo Liu <sdl.web@gmail.com>
6622
6623 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6624
3086ca2e
DG
66252013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6626
6627 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6628 middle of block statement initially, lower the depth. Remove
6629 FIXME comment, not longer valid. Remove middle of block statement
6630 detection, no need to do that anymore since we've been using
6631 `ruby-parse-region' here.
6632
a3b49114
JD
66332013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6634
6635 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6636
08e5c823 66372013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6638
6639 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6640
2addf922
JB
66412013-07-01 Juanma Barranquero <lekktu@gmail.com>
6642
6643 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6644 (desktop-restore-in-current-display): New customization option.
6645 (desktop--excluded-frame-parameters): Add `font'.
6646 (desktop--save-frames): Rename from desktop--save-windows.
6647 (desktop--restore-in-this-display-p): New function.
6648 (desktop--make-full-frame): Remove unwanted width/height from
6649 full(width|height) frames.
6650 (desktop--restore-frames): Rename from desktop--restore-windows.
6651 Obey desktop-restore-current-display. Do not delete old frames or
6652 select a new frame unless we were able to restore at least one frame.
6653
ef099a94
MN
66542013-06-30 Michal Nazarewicz <mina86@mina86.com>
6655
6656 * files.el (find-file-noselect): Simplify conditional expression.
6657
6658 * remember.el (remember-append-to-file):
6659 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6660
6661 Add `remember-notes' function to store random notes across Emacs
6662 restarts.
6663 * remember.el (remember-data-file): Add :set callback to affect
6664 notes buffer (if any).
6665 (remember-notes): New command.
6666 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6667 New defcustoms for the `remember-notes' function.
6668 (remember-notes-save-and-bury-buffer): New command.
6669 (remember-notes-mode-map): New variable.
6670 (remember-mode): New minor mode.
6671 (remember-notes--kill-buffer-query): New function.
6672 * startup.el (initial-buffer-choice): Add notes to custom type.
6673
0865d506
EZ
66742013-06-30 Eli Zaretskii <eliz@gnu.org>
6675
0ba54312
EZ
6676 * bindings.el (right-char, left-char): Don't call sit-for, this is
6677 no longer needed. Use arithmetic comparison only for numerical
6678 arguments.
6679
ef099a94
MN
6680 * international/mule-cmds.el (select-safe-coding-system):
6681 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6682
2fae38e5
LMI
66832013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6684
6685 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6686 progression on degenerate tables.
ef099a94 6687 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6688
a47cbd64
JB
66892013-06-30 Juanma Barranquero <lekktu@gmail.com>
6690
6691 Some fixes and improvements for desktop frame restoration.
6692 It is still experimental and disabled by default.
6693 * desktop.el (desktop--save-windows): Put the selected frame at
6694 the head of the list.
6695 (desktop--make-full-frame): New function.
6696 (desktop--restore-windows): Try to re-select the frame that was
6697 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6698 just show an error message and continue. Set up maximized frames
6699 so they have default non-maximized dimensions.
a47cbd64 6700
6dbafa30
DG
67012013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6702
ef099a94
MN
6703 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6704 Don't start heredoc inside a string or comment.
6dbafa30 6705
4c672a0f
EZ
67062013-06-29 Eli Zaretskii <eliz@gnu.org>
6707
6708 * bindings.el (visual-order-cursor-movement): New defcustom.
6709 (right-char, left-char): Provide visual-order cursor motion by
6710 calling move-point-visually. Update the doc strings.
6711
50960f36
KH
67122013-06-28 Kenichi Handa <handa@gnu.org>
6713
6714 * international/mule.el (define-coding-system): New coding system
6715 properties :inhibit-null-byte-detection,
6716 :inhibit-iso-escape-detection, and :prefer-utf-8.
6717 (set-buffer-file-coding-system): If :charset-list property of
6718 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6719 appropriate for setting.
6720
c1ea3abf
JB
6721 * international/mule-cmds.el (select-safe-coding-system):
6722 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6723 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6724
6725 * international/mule-conf.el (prefer-utf-8): New coding system.
6726 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6727 files.
6728
75dbaf9d
IK
67292013-06-28 Ivan Kanis <ivan@kanis.fr>
6730
eadb6068
IK
6731 * net/shr.el (shr-render-region): New function.
6732
75dbaf9d
IK
6733 * net/eww.el: Autoload `eww-browse-url'.
6734
9ea5cf9f
DG
67352013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6736
c1ea3abf
JB
6737 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6738 Adapt to `package-desc-version' being a list.
6739 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6740 archive element.
6741
39c0e36f
JB
67422013-06-27 Juanma Barranquero <lekktu@gmail.com>
6743
6744 New experimental feature to save&restore window and frame setup.
6745 * desktop.el (desktop-save-windows): New defcustom.
6746 (desktop--saved-states): New var.
6747 (desktop--excluded-frame-parameters): New defconst.
6748 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6749 (desktop--restore-windows, desktop--save-windows): New functions.
6750 (desktop-save): Call `desktop--save-windows'.
6751 (desktop-read): Call `desktop--restore-windows'.
6752
7f13406b
LMI
67532013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6754
ef099a94 6755 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6756
1e072639
SB
67572013-06-27 Stephen Berman <stephen.berman@gmx.net>
6758
6759 * info.el (Info-try-follow-nearest-node): Move search for footnote
6760 above search for node name to prevent missing a footnote (bug#14717).
6761
f3e2cbde
SB
67622013-06-27 Stephen Berman <stephen.berman@gmx.net>
6763
6764 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6765
99906aa0
LL
67662013-06-27 Leo Liu <sdl.web@gmail.com>
6767
6768 * net/eww.el (eww-read-bookmarks): Check file size.
6769
539f75f4
SM
67702013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6773 advice--pending if newdef is nil or an autoload (bug#13820).
6774 (advice-mapc): New function.
6775
843571cb
LMI
67762013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6777
6778 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6779 probably.
23a75d7f 6780 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6781 (eww-add-bookmark): New command.
6782 (eww-bookmark-mode): New mode and commands.
a285ce99 6783 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6784 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6785
f2136e1e
GM
67862013-06-26 Glenn Morris <rgm@gnu.org>
6787
eab35f39
GM
6788 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6789 (hfy-size): Handle ttys. (Bug#14668)
6790
f2136e1e
GM
6791 * info-xref.el: Update for Texinfo 5 change in *note format.
6792 (info-xref-node-re, info-xref-note-re): New constants.
6793 (info-xref-check-buffer): Use info-xref-note-re.
6794
a49ff80c
SM
67952013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6796
a343d218
SM
6797 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6798
a49ff80c
SM
6799 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6800 nil terminate the loop (bug#14718).
6801
8308f184
LMI
68022013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6803
6804 * net/eww.el: Rework history traversal. When going forward/back,
6805 put these actions into the history, too, so that they can be
6806 replayed.
26bf2b82 6807 (eww-render): Move the history reset to the correct buffer.
8308f184 6808
ec64c273
JL
68092013-06-25 Juri Linkov <juri@jurta.org>
6810
6811 * files-x.el (modify-dir-local-variable): Change the header comment
6812 in the file with directory local variables. (Bug#14692)
6813
e080a9d7
JL
6814 * files-x.el (read-file-local-variable-value): Add `default'.
6815 (Bug#14710)
6816
bfbc93a1
IK
68172013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6818
6819 * net/eww.el (eww-make-unique-file-name): Create a unique file
6820 name before saving to entering `y' accidentally asynchronously.
6821
68222013-06-25 Ivan Kanis <ivan@kanis.fr>
6823
6824 * net/eww.el (eww-download): New command and keystroke.
6825
16f74f10
LMI
68262013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6827
a49ff80c 6828 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6829
6830 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6831 be more consistent with Info and dired.
6832
6833 * net/eww.el (eww-mode-map): Ditto.
6834
12059709
SM
68352013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6836
6837 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6838 packages from archives.
6839 (package-archive-contents): Change format; include obsolete packages.
6840 (package-desc): Use `dir' to mark builtin packages.
6841 (package--from-builtin): Set the `dir' field to `builtin'.
6842 (generated-autoload-file, version-control): Declare.
6843 (package-compute-transaction): Change first arg and return value to be
6844 lists of package-descs. Adjust to new package-archive-contents format.
6845 (package--add-to-archive-contents): Adjust to new
6846 package-archive-contents format.
6847 (package-download-transaction): Arg is now a list of package-descs.
6848 (package-install): If `pkg' is a package name, pass it as
6849 a requirement, so it is subject to the usual (e.g. disabled) checks.
6850 (describe-package): Accept package-desc as well.
6851 (describe-package-1): Describe a specific package-desc. Add links to
6852 other package-descs for the same package name.
6853 (package-menu-describe-package): Pass the actual package-desc.
6854 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6855 works correctly.
6856 (package-desc-status): New function.
6857 (package-menu--refresh): New function, extracted
6858 from package-menu--generate.
6859 (package-menu--generate): Use it.
6860 (package-delete): Update package-alist.
6861 (package-menu-execute): Don't call package-initialize.
6862
6863 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6864 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6865 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6866 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6867 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6868 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6869
8bbdea0f
MR
68702013-06-25 Martin Rudalics <rudalics@gmx.at>
6871
6872 * window.el (window--state-get-1): Workaround for bug#14527.
6873 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6874
e82b0991
LMI
68752013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6876
6877 * net/eww.el (eww-back-url): Implement the history by stashing all
6878 the data into a list.
d3f0f918 6879 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6880
c763842b
SM
68812013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6884 for values and use read--expression for expressions (bug#14710).
6885 (read-file-local-variable): Avoid setq.
6886 (read-file-local-variable-mode): Use minor-mode-list.
6887
bceff189
RW
68882013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6889
864c58ca 6890 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6891 for DOI URLs.
6892
45f431c6
RW
68932013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6894
864c58ca 6895 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6896 Update imenu-support when dialect changes.
6897
f42d8237
LL
68982013-06-25 Leo Liu <sdl.web@gmail.com>
6899
6900 * ido.el (ido-read-internal): Allow forward slash on windows.
6901
be549ce6
LMI
69022013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6903
6904 * net/eww.el (eww): Start of strings is \\`, not ^.
6905
71d4c19d
IK
69062013-06-24 Ivan Kanis <ivan@kanis.fr>
6907
5196f88a
IK
6908 * net/shr.el (shr-browse-url): Fix interactive spec.
6909
71d4c19d
IK
6910 * net/eww.el (eww): Add a trailing slash to domain names.
6911
ae36ca55
JB
69122013-06-24 Juanma Barranquero <lekktu@gmail.com>
6913
6914 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6915
0ebd92a3
LMI
69162013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6917
bdaa086b
LMI
6918 * net/shr.el (shr-browse-url): Use an external browser if given a
6919 prefix.
6920
c763842b 6921 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 6922
b89fc156
IK
69232013-06-24 Ivan Kanis <ivan@kanis.fr>
6924
6925 * net/eww.el (eww): Work more correctly for file: URLs.
6926 (eww-detect-charset): Allow quoted charsets.
6927 (eww-yank-page-url): New command and keystroke.
6928
18eb4bca
DU
69292013-06-24 Daiki Ueno <ueno@gnu.org>
6930
6931 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6932 file name of gpg executable.
6933 (epg-context-program): New function.
6934 (epg-context-home-directory): New function.
6935 (epg-context-set-program): New function.
6936 (epg-context-set-home-directory): New function.
6937 (epg--start): Use `epg-context-program' instead of
6938 'epg-gpg-program'.
6939 (epg--list-keys-1): Likewise.
6940
6c6268c8
LL
69412013-06-24 Leo Liu <sdl.web@gmail.com>
6942
6943 * ido.el (ido-read-internal): Fix bug#14620.
6944
5e400cb3
JB
69452013-06-23 Juanma Barranquero <lekktu@gmail.com>
6946
6947 * faces.el (face-documentation): Simplify.
6948 (read-face-attribute, tty-find-type, x-resolve-font-name):
6949 Use `string-match-p'.
6950 (list-faces-display): Use `string-match-p'. Simplify.
6951 (face-spec-recalc): Check face to avoid face alias loops.
6952 (read-color): Use `string-match-p' and non-capturing parenthesis.
6953
f3f9606c
LMI
69542013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6955
6956 * net/shr.el (shr-rescale-image): Use the new
6957 :max-width/:max-height functionality.
6958
a3ca09b9
IK
69592013-06-23 Ivan Kanis <ivan@kanis.fr>
6960
6961 * net/eww.el (eww-search-prefix): New variable.
6962 (eww): Use it.
f865b474
IK
6963 (eww-external-browser): New variable.
6964 (eww-mode-map): New keystroke.
6965 (eww-browse-with-external-browser): New command.
a3ca09b9 6966
e854cfc7
IK
6967 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6968
18bb9e21
JB
69692013-06-23 Juanma Barranquero <lekktu@gmail.com>
6970
6971 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6972 Don't skip aligning the next header field when padding is 0;
6973 otherwise, field width is not respected unless the title is as
6974 wide as the field.
6975
5b165ade
SM
69762013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6977
6978 * emacs-lisp/package.el (package-el-version): Remove.
6979 (package-process-define-package): Fix inf-loop.
6980 (package-install): Allow symbols as arguments again.
6981
12adebe9
DG
69822013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6983
6984 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6985 add some more keyword-like methods.
6986 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6987
388573ee
JB
69882013-06-22 Juanma Barranquero <lekktu@gmail.com>
6989
6990 * bs.el (bs-buffer-show-mark): Make defvar-local.
6991 (bs-mode): Use setq-local.
6992
6993 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6994 (emacs-lock--try-unlocking): Make defvar-local.
6995
4582a01c 69962013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 6997
2663dd23
GM
6998 * play/cookie1.el (cookie-apropos): Minor simplification.
6999
3d94f3ad
GM
7000 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7001
f72e2fdb
DG
70022013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7003
7004 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7005 `regexp-opt', it breaks the build during dumping.
7006
73eab938
DG
70072013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7008
c763842b
SM
7009 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7010 Highlight keyword-like methods on Kernel and Module with
73eab938 7011 font-lock-builtin-face.
5cf8176d
DG
7012 (auto-mode-alist): Consolidate different entries into one regexp
7013 and add more *file-s.
73eab938 7014
d26255f6
SB
70152013-06-21 Stephen Berman <stephen.berman@gmx.net>
7016
7017 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7018
7019 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7020 (diary-entry): Use it in the action of this button type instead of
7021 diary-goto-entry.
7022
7023 * calendar/todo-mode.el: New version.
7024 (todo-add-category): Append new category to end of file and give
7025 it the highest number, instead of putting it at the beginning and
7026 giving it 0. Incorporate noninteractive functionality.
7027 (todo-forward-category): Adapt to 1-based category numbering.
7028 Allow skipping over archived categories.
7029 (todo-backward-category): Derive from todo-forward-category.
7030 (todo-backward-item, todo-forward-item): Make noninteractive and
7031 delegate interactive part to new commands. Make sensitive to done items.
7032 (todo-categories): Make value an alist of category names and
7033 vectors of item counts.
7034 (todo-category-beg): Make a defconst.
7035 (todo-category-number): Use 1 instead of 0 as initial value.
7036 (todo-category-select): Make sensitive to overlays, optional item
7037 highlighting and done items.
7038 (todo-delete-item): Make sensitive to overlays and marked and done items.
7039 (todo-edit-item): Make sensitive to overlays and editing of
7040 date/time header optional. Add format checks.
7041 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7042 no-op if point is not on an item. Advertise using todo-edit-quit.
7043 (todo-edit-mode): Make sensitive to new format, font-locking, and
7044 multiple todo files.
7045 (todo-insert-item, todo-insert-item-here): Derive from
7046 todo-basic-insert-item and extend functionality.
7047 (todo-item-end, todo-item-start): Make sensitive to done items.
7048 (todo-item-string): Don't return text properties. Restore point.
7049 (todo-jump-to-category): Make sensitive to multiple todo files and
7050 todo archives. Use extended category completion.
7051 (todo-lower-item, todo-raise-item): Rename to *-priority and
7052 derive from todo-set-item-priority.
7053 (todo-mode): Derive from special-mode. Make sensitive to new
7054 format, font-locking and multiple todo files. Make read-only.
7055 (todo-mode-map): Don't suppress digit keys, so they can supply
7056 prefix arguments. Add many new key bindings.
7057 (todo-prefix): Insert as an overlay instead of file text.
7058 Change semantics from diary date expression to purely visual mark.
7059 (todo-print): Rename to todo-print-buffer. Make buffer display
7060 features printable. Remove option to restrict number of items
7061 printed. Add option to print to file.
7062 (todo-print-function): Rename to todo-print-buffer-function.
7063 (todo-quit): Extend to handle exiting new todo modes.
7064 (todo-remove-item): Make sensitive to overlays.
7065 (todo-save): Extend to buffers of filtered items.
7066 (todo-show): Make sensitive to done items, multiple todo files and
7067 new todo modes. Offer to convert legacy todo file before creating
7068 first new todo file.
7069 (todo-show-priorities): Rename to todo-top-priorities.
7070 Change semantics of value 0.
7071 (todo-top-priorities): Rename to todo-filter-top-priorities,
7072 derive from todo-filter-items and extend functionality.
7073 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7074 and extend functionality to other types of filtered items.
7075 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7076 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7077 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7078 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7079 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7080 (todo-edit-mode-hook, todo-entry-prefix-function)
7081 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7082 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7083 (todo-initials, todo-insert-threshold, todo-item-string-start)
7084 (todo-line-string, todo-menu, todo-mode-hook)
7085 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7086 (todo-print-priorities, todo-remove-separator)
7087 (todo-save-top-priorities-too, todo-string-count-lines)
7088 (todo-string-multiline-p, todo-time-string-format)
7089 (todo-tmp-buffer-name): Remove.
7090 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7091 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7092 (todo-edit-category-diary-inclusion)
7093 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7094 (todo-edit-file, todo-edit-item-date-day)
7095 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7096 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7097 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7098 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7099 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7100 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7101 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7102 (todo-filter-top-priorities-multifile, todo-find-archive)
7103 (todo-find-filtered-items-file, todo-go-to-source-item)
7104 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7105 (todo-jump-to-archive-category, todo-lower-category)
7106 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7107 (todo-move-category, todo-move-item, todo-next-button)
7108 (todo-next-item, todo-padded-string, todo-powerset)
7109 (todo-previous-button, todo-previous-item)
7110 (todo-print-buffer-to-file, todo-raise-category)
7111 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7112 (todo-set-category-number, todo-set-item-priority)
7113 (todo-set-top-priorities-in-category)
7114 (todo-set-top-priorities-in-file, todo-show-categories-table)
7115 (todo-sort-categories-alphabetically-or-numerically)
7116 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7117 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7118 (todo-toggle-item-header, todo-toggle-item-highlighting)
7119 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7120 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7121 (todo-unarchive-items, todo-unmark-category): New commands.
7122 (todo-absolute-file-name, todo-add-to-buffer-list)
7123 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7124 (todo-basic-insert-item, todo-category-completions)
7125 (todo-category-number, todo-category-string-matcher-1)
7126 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7127 (todo-check-format, todo-clear-matches)
7128 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7129 (todo-current-category, todo-date-string-matcher)
7130 (todo-define-insertion-command, todo-diary-expired-matcher)
7131 (todo-diary-goto-entry, todo-diary-item-p)
7132 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7133 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7134 (todo-done-item-section-p, todo-done-separator)
7135 (todo-done-string-matcher, todo-files, todo-filter-items)
7136 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7137 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7138 (todo-insert-category-line, todo-insert-item-from-calendar)
7139 (todo-insert-sort-button, todo-insert-with-overlays)
7140 (todo-insertion-command-name, todo-insertion-key-bindings)
7141 (todo-label-to-key, todo-longest-category-name-length)
7142 (todo-make-categories-list, todo-mode-external-set)
7143 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7144 (todo-modes-set-3, todo-multiple-filter-files)
7145 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7146 (todo-read-category, todo-read-date, todo-read-dayname)
7147 (todo-read-file-name, todo-read-time)
7148 (todo-reevaluate-category-completions-files-defcustom)
7149 (todo-reevaluate-default-file-defcustom)
7150 (todo-reevaluate-filelist-defcustoms)
7151 (todo-reevaluate-filter-files-defcustom)
7152 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7153 (todo-reset-done-separator, todo-reset-done-separator-string)
7154 (todo-reset-done-string, todo-reset-global-current-todo-file)
7155 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7156 (todo-reset-prefix, todo-set-categories)
7157 (todo-set-date-from-calendar, todo-set-show-current-file)
7158 (todo-set-top-priorities, todo-short-file-name)
7159 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7160 (todo-total-item-counts, todo-update-buffer-list)
7161 (todo-update-categories-display, todo-update-categories-sexp)
7162 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7163 New functions.
7164 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7165 New major modes.
7166 (todo-categories, todo-display, todo-edit, todo-faces)
7167 (todo-filtered): New defgroups.
7168 (todo-archived-only, todo-button, todo-category-string, todo-date)
7169 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7170 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7171 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7172 (todo-add-item-if-new-category, todo-always-add-time-string)
7173 (todo-categories-align, todo-categories-archived-label)
7174 (todo-categories-category-label, todo-categories-diary-label)
7175 (todo-categories-done-label, todo-categories-number-separator)
7176 (todo-categories-todo-label, todo-categories-totals-label)
7177 (todo-category-completions-files, todo-completion-ignore-case)
7178 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7179 (todo-done-separator-string, todo-done-string)
7180 (todo-files-function, todo-filter-done-items, todo-filter-files)
7181 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7182 (todo-initial-category, todo-initial-file, todo-item-mark)
7183 (todo-legacy-date-time-regexp, todo-mode-line-function)
7184 (todo-nondiary-marker, todo-number-prefix)
7185 (todo-print-buffer-function, todo-show-current-file)
7186 (todo-show-done-only, todo-show-first, todo-show-with-done)
7187 (todo-skip-archived-categories, todo-top-priorities-overrides)
7188 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7189 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7190 New defcustoms.
7191 (todo-category-done, todo-date-pattern, todo-date-string-start)
7192 (todo-diary-items-buffer, todo-done-string-start)
7193 (todo-filtered-items-buffer, todo-item-start)
7194 (todo-month-abbrev-array, todo-month-name-array)
7195 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7196 (todo-top-priorities-buffer): New defconsts.
7197 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7198 (todo-categories-with-marks, todo-category-string-face)
7199 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7200 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7201 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7202 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7203 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7204 (todo-font-lock-keywords, todo-global-current-todo-file)
7205 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7206 (todo-insertion-commands-args)
7207 (todo-insertion-commands-args-genlist)
7208 (todo-insertion-commands-names, todo-insertion-map)
7209 (todo-key-bindings-t, todo-key-bindings-t+a)
7210 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7211 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7212 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7213 (todo-visited): New variables.
7214
cad5d1cb
GM
72152013-06-21 Glenn Morris <rgm@gnu.org>
7216
7217 * play/cookie1.el (cookie-apropos): Add optional display argument.
7218 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7219 (psychoanalyze-pinhead): Use cookie-doctor.
7220
9e277302
JB
72212013-06-21 Juanma Barranquero <lekktu@gmail.com>
7222
7223 * emacs-lisp/package.el (tar-get-file-descriptor)
7224 (tar--extract): Declare.
7225
c5b0993e
EW
72262013-06-21 Eduard Wiebe <usenet@pusto.de>
7227
7228 Extend flymake's warning predicate to be a function (bug#14217).
7229 * progmodes/flymake.el (flymake-warning-predicate): New.
7230 (flymake-parse-line): Use it.
7231 (flymake-warning-re): Make obsolete alias to
7232 `flymake-warning-predicate'.
7233
a7d2d465
SM
72342013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7235
7236 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7237 (package-obsolete-list): Remove.
7238 (package-activate): Remove min-version argument. Add `force' argument.
7239 Adjust to new package-alist format.
7240 (package-mark-obsolete): Remove.
7241 (package-unpack): Force reload of the package's autoloads.
7242 (package-installed-p): Check builtins if the installed package is not
7243 recent enough.
7244 (package-initialize): Don't reset package-obsolete-list.
7245 Don't specify which package version to activate.
7246 (package-process-define-package, describe-package-1)
7247 (package-menu--generate): Adjust to new package-alist format.
7248
cedf5c9d
JB
72492013-06-21 Juanma Barranquero <lekktu@gmail.com>
7250
7251 * allout-widgets.el (allout-widgets-mode-off)
7252 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7253 (allout-widgets-post-command-business)
7254 (allout-widgets-after-copy-or-kill-function)
7255 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7256 (allout-decorate-item-and-context)
7257 (allout-graphics-modification-handler): Fix typos in docstrings.
7258 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7259
7260 * cmuscheme.el (scheme-start-file): Doc fix.
7261 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7262 (scheme-input-filter): Use `string-match-p'.
7263
7264 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7265
7266 * dired-x.el: Use Dired consistently in docstrings.
7267
7268 * dired.el: Use Dired consistently in docstrings.
7269 (dired-readin, dired-mode): Use `setq-local'.
7270 (dired-switches-alist): Make defvar-local.
7271 (dired-buffers-for-dir): Use `zerop'.
7272 (dired-safe-switches-p, dired-switches-escape-p)
7273 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7274 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7275 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7276 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7277 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7278 (dired-toggle-marks, dired-mark-files-containing-regexp)
7279 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7280 (dired-flag-auto-save-files, dired-flag-backup-files):
7281 Use `looking-at-p'.
7282 (dired-mark-files-regexp, dired-build-subdir-alist):
7283 Use `string-match-p', `looking-at-p'.
7284
7285 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7286 (direct-print-region-helper): Use `string-match-p'.
7287
aed838b5
LL
72882013-06-21 Leo Liu <sdl.web@gmail.com>
7289
cedf5c9d
JB
7290 * comint.el (comint-redirect-results-list-from-process):
7291 Fix infinite loop.
aed838b5 7292
d80a808f
LMI
72932013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7294
7295 * net/eww.el (eww-update-header-line-format): Quote % characters.
7296
e7a526e3
GM
72972013-06-21 Glenn Morris <rgm@gnu.org>
7298
7299 * play/cookie1.el (cookie): New custom group.
7300 (cookie-file): New option.
7301 (cookie-check-file): New function.
7302 (cookie): Make it interactive. Make start and end messages optional.
7303 Interactively, display the result. Default to cookie-file.
7304 (cookie-insert): Default to cookie-file.
7305 (cookie-snarf): Make start and end messages optional.
7306 Default to cookie-file. Use with-temp-buffer.
7307 (cookie-read): Rename from read-cookie.
7308 Make start and end messages optional. Default to cookie-file.
7309 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7310 Do not autoload it.
e7a526e3
GM
7311 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7312 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7313
62efb35e
LL
73142013-06-21 Leo Liu <sdl.web@gmail.com>
7315
7316 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7317
21e3f963
GM
73182013-06-21 Glenn Morris <rgm@gnu.org>
7319
7320 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7321
fd846ab4
SM
73222013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7323 Daniel Hackney <dan@haxney.org>
7324
7325 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7326 Consolidate the single-file vs tarball code.
7327 (package-desc-suffix): New function.
7328 (package-desc-full-name): Don't bother inlining it.
7329 (package-load-descriptor): Return the new package-desc.
7330 (package-mark-obsolete): Remove unused arg `package'.
7331 (package-unpack): Make it work for single files as well.
7332 Make it update package-alist.
7333 (package--make-autoloads-and-stuff): Rename from
7334 package--make-autoloads-and-compile. Don't compile any more.
7335 (package--compile): New function.
7336 (package-generate-description-file): New function, extracted from
7337 package-unpack-single.
7338 (package-unpack-single): Remove.
7339 (package--with-work-buffer): Add indentation and debugging info.
7340 (package-download-single): Remove.
7341 (package-install-from-archive): Rename from package-download-tar, make
7342 it take a pkg-desc, and make it work for single files as well.
7343 (package-download-transaction): Simplify.
7344 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7345 external tar program.
7346 (package-install-from-buffer): Remove `pkg-desc' argument.
7347 Use package-tar-file-info for tar-mode buffers.
7348 (package-install-file): Simplify accordingly.
7349 (package-archive-base): Change to take a pkg-desc.
7350 * tar-mode.el (tar--check-descriptor): New function, extracted from
7351 tar-get-descriptor.
7352 (tar-get-descriptor): Use it.
7353 (tar-get-file-descriptor): New function.
7354 (tar--extract): New function, extracted from tar-extract.
7355 (tar--extract): Use it.
7356 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7357 case the summary uses non-ascii. Adjust to new calling convention of
7358 package-tar-file-info.
7359
b7deae5e
LL
73602013-06-21 Leo Liu <sdl.web@gmail.com>
7361
fd846ab4
SM
7362 * comint.el (comint-redirect-results-list-from-process):
7363 Fix random delay. (Bug#14681)
b7deae5e 7364
7a65a0b2
JB
73652013-06-21 Juanma Barranquero <lekktu@gmail.com>
7366
7367 * profiler.el (profiler-format-number): Use log, not log10.
7368
1493c2af
JB
73692013-06-20 Juanma Barranquero <lekktu@gmail.com>
7370
7371 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7372
aff6371e
SM
73732013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7376 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7377 yet available.
7378 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7379 (AUTOGENEL): ... here.
7380 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7381 (cl--defsubst-expand): Use it.
7382
89561f72
PE
73832013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7384
7385 * subr.el (log10): Move here from C code, and declare as obsolete.
7386 All uses of (log10 X) replaced with (log X 10).
7387
47199123
JB
73882013-06-20 Juanma Barranquero <lekktu@gmail.com>
7389
7390 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7391 Declare with `defvar-local'.
7392 (tabulated-list-use-header-line, tabulated-list-entries)
7393 (tabulated-list-padding, tabulated-list-printer)
7394 (tabulated-list-sort-key): Declare with `defvar-local'.
7395 (tabulated-list-init-header, tabulated-list-print-fake-header):
7396 Use `setq-local'.
7397
4a172eab
MA
73982013-06-20 Michael Albinus <michael.albinus@gmx.de>
7399
47199123
JB
7400 * arc-mode.el (archive-mode): Add `archive-write-file' to
7401 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7402
5fc0acc0
JB
74032013-06-20 Juanma Barranquero <lekktu@gmail.com>
7404
d5b27848
JB
7405 * cus-edit.el (custom-commands): Fix typos.
7406 (custom-display): Fix tooltip text.
7407 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7408 Fix typos in docstrings.
7409 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7410 (custom-unlispify-menu-entry, custom-magic-value-create)
7411 (custom-add-see-also, custom-group-value-create): Use ?\s.
7412 (custom-guess-type, customize-apropos, editable-field)
7413 (custom-face-value-create): Use `string-match-p'.
7414 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7415
7416 * custom.el (custom-load-symbol): Use `string-match-p'.
7417
a5c581d8
JB
7418 * ansi-color.el: Convert to lexical binding.
7419 (ansi-colors): Fix URL.
7420 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7421 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7422 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7423
970ad972
G
74242013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7425
7426 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7427
7428 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7429
74302013-06-19 Tom Tromey <tromey@redhat.com>
7431
7432 * net/eww.el (eww-top-url): Remove.
7433 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7434 (eww-render): Set new variables. Don't set eww-top-url.
7435 (eww-handle-link): Handle "prev", "home", and "contents".
7436 Downcase the rel text.
7437 (eww-top-url): Choose best top URL.
7438
74392013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7440
7441 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7442 relying in widget.el. Using widget.el leads to too many
7443 user interface inconsistencies.
7444 (eww-self-insert): Implement entering commands in text fields.
7445 (eww-process-text-input): New function to make text input field editing
7446 work.
7447 (eww-submit): Rewrite to use the new-style form methods.
7448 (eww-select-display): Display the correct selected item.
7449 (eww-change-select): Implement changing the select value.
7450 (eww-toggle-checkbox): Implement radio/checkboxes.
7451 (eww-update-field): Fix compilation error.
7452 (eww-tag-textarea): Implement <textarea>.
7453
7454 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7455 we don't shadow mode-specific bindings.
7456
7457 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7458 nothing to push.
7459
7460 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7461
4582a01c 74622013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7463
7464 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7465
15b263dc
MA
74662013-06-19 Michael Albinus <michael.albinus@gmx.de>
7467
7468 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7469 not needed.
7470
7471 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7472
8f5297f7
LMI
74732013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7474
7475 * net/browse-url.el (browse-url-browser-function):
7476 `eww-browse-url' has the right calling signature, `eww' does not.
7477
011c4552
GM
74782013-06-19 Glenn Morris <rgm@gnu.org>
7479
2285bd27
GM
7480 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7481 Only eval autoloaded macros.
7482 (byte-compile-autoload): Only give the macro warning for macros.
7483
1d653303
GM
7484 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7485 (ps-underlined-faces): Declare.
7486
bdd779ec
GM
7487 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7488 (speedbar-add-supported-extension): Declare.
7489
011c4552
GM
7490 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7491 Don't include a date stamp in the header of the generated file;
7492 it leads to needless differences between output files.
7493
e59dfb0e
MA
74942013-06-19 Michael Albinus <michael.albinus@gmx.de>
7495
c763842b
SM
7496 * net/secrets.el (secrets-struct-secret-content-type):
7497 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7498 Some servers do not offer introspection.
e59dfb0e 7499
102626e2
SM
75002013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7501
7502 * electric.el (electric-pair-mode): Improve interaction with
7503 electric-layout-mode.
7504 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7505 (electric-pair-syntax): Use text-mode-syntax-table in comments
7506 and strings.
7507 (electric-pair--insert): New function.
7508 (electric-pair-post-self-insert-function): Use it and
7509 electric--after-char-pos.
7510
ad528125
LL
75112013-06-19 Leo Liu <sdl.web@gmail.com>
7512
7513 * progmodes/octave.el (octave-help): Fix regexp.
7514
924d6997
G
75152013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7516
7517 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7518 (shr-table-horizontal-line): Allow nil as a value, and change the
7519 default.
7520 (shr-insert-table-ruler): Respect the nil value.
7521
75222013-06-18 Tom Tromey <tromey@barimba>
7523
7524 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7525 New defvars.
7526 (eww-open-file): New defun.
7527 (eww-render): Initialize new variables.
7528 (eww-display-html): Handle "link" and "a".
7529 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7530 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7531 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7532 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7533 New defuns.
924d6997 7534
d1bbba4f
DG
75352013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7536
7537 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7538 Distinguish ternary operator tokens from slash symbol and slash
7539 char literal.
7540
14dd22d2
JB
75412013-06-18 Juanma Barranquero <lekktu@gmail.com>
7542
7543 Convert symbol prettification into minor mode and global minor mode.
7544
7545 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7546 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7547 (prettify-symbols--keywords): Rename from
7548 `prog-prettify-symbols-alist' and make a local defvar.
7549 (prettify-symbols--compose-symbol): Rename from
7550 `prog--prettify-font-lock-compose-symbol'.
7551 (prettify-symbols--make-keywords): Rename from
7552 `prog-prettify-font-lock-symbols-keywords' and simplify.
7553 (prog-prettify-install): Remove.
7554 (prettify-symbols-mode): New minor mode, based on
7555 `prog-prettify-install'.
7556 (turn-on-prettify-symbols-mode): New function.
7557 (global-prettify-symbols-mode): New globalized minor mode.
7558
7559 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7560 * progmodes/cfengine.el (cfengine3-mode):
7561 * progmodes/perl-mode.el (perl-mode): Don't call
7562 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7563
292c880c
JL
75642013-06-18 Juri Linkov <juri@jurta.org>
7565
7566 * files-x.el (modify-file-local-variable-message): New function.
7567 (modify-file-local-variable)
7568 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7569 and call `modify-file-local-variable-message' when it's non-nil.
7570 (add-file-local-variable, delete-file-local-variable)
7571 (add-file-local-variable-prop-line)
7572 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7573 and use it. (Bug#9820)
7574
0950aa27
JL
75752013-06-18 Juri Linkov <juri@jurta.org>
7576
7577 * emulation/vi.el (vi-shell-op):
7578 * emulation/vip.el (vip-execute-com, ex-command):
7579 * emulation/viper-cmd.el (viper-exec-bang):
7580 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7581 the call of `shell-command-on-region'. (Bug#14637)
7582
7583 * simple.el (shell-command-on-region): Doc fix.
7584
8fbcca16
SM
75852013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7588 (bug#14633).
7589
dd7426ea
GM
75902013-06-18 Glenn Morris <rgm@gnu.org>
7591
4ba54f7d
GM
7592 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7593
dd7426ea
GM
7594 * newcomment.el (comment-search-forward, comment-search-backward):
7595 Doc fix. (Bug#14376)
7596
58aa805b
JB
75972013-06-18 Juanma Barranquero <lekktu@gmail.com>
7598
7599 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7600 (buffer-face-mode-invoke): Doc fix.
7601
9a08a617
MM
76022013-06-18 Matthias Meulien <orontee@gmail.com>
7603
7604 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7605 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7606
f2f426ca
GM
76072013-06-18 Glenn Morris <rgm@gnu.org>
7608
9445f99b
GM
7609 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7610 Replace obsolete function generic-make-keywords with its expansion.
7611
e0df2d14
GM
7612 * progmodes/python.el (ffap-alist): Declare.
7613
f2f426ca
GM
7614 * textmodes/reftex.el (bibtex-mode-map): Declare.
7615
f7f9a720
SM
76162013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7617
7618 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7619 (package-unpack, package-unpack-single): Return the pkg-dir.
7620 (package-download-transaction): Use it to update package-alist.
7621
57ff04e0
LMI
76222013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7623
7624 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7625 possible choice.
7626
c048c022
JL
76272013-06-17 Juri Linkov <juri@jurta.org>
7628
7629 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7630
b5bcaee5
DG
76312013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7632
a020afb9
JB
7633 * emacs-lisp/package.el (package-load-descriptor):
7634 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7635 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7636
551e07e5
JB
76372013-06-17 Juanma Barranquero <lekktu@gmail.com>
7638
7639 * startup.el (command-line): Expand package name returned by
7640 `package--description-file' (bug#14639).
7641
d363bffb
DG
76422013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7643
7644 * emacs-lisp/package.el (package-load-descriptor): Do not call
7645 `emacs-lisp-mode', just use its syntax table.
7646
f612933b
JB
76472013-06-17 Juanma Barranquero <lekktu@gmail.com>
7648
7649 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7650 `font-lock-extra-managed-props' if any prettifying keyword is added.
7651 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7652 (prog-mode): Use `setq-local'.
7653
db3b7db5
SM
76542013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7655
7656 * international/characters.el (standard-case-table): Set syntax of ?»
7657 and ?« to punctuation.
7658
f3d674df
JB
76592013-06-16 Juanma Barranquero <lekktu@gmail.com>
7660
7661 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7662 Save relevant match data before calling `syntax-ppss' (bug#14595).
7663
31489a32
JL
76642013-06-15 Juri Linkov <juri@jurta.org>
7665
7666 * files-x.el (modify-file-local-variable-prop-line): Add local
7667 variables to the end of the existing comment on the first line.
7668 Use `file-auto-mode-skip' to skip interpreter magic line,
7669 and also skip XML declaration.
7670
66bd25ab
SM
76712013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * startup.el (package--builtin-versions): New var.
7674 (package-subdirectory-regexp): Remove.
7675 (package--description-file): Hard code its value instead.
7676
7677 * emacs-lisp/package.el: Don't activate packages older than builtin.
7678 (package-obsolete-list): Rename from package-obsolete-alist, and make
7679 it into a simple list of package-desc.
7680 (package-strip-version): Remove.
7681 (package-built-in-p): Use package--builtin-versions.
7682 (package-mark-obsolete): Simplify.
7683 (package-process-define-package): Mark it obsolete if older than the
7684 builtin version.
7685 (package-handle-response): Use line-end-position.
7686 (package-read-archive-contents, package--download-one-archive):
7687 Simplify.
7688 (package--add-to-archive-contents): Skip if older than the builtin or
7689 installed version.
7690 (package-menu-describe-package): Fix last change.
7691 (package-list-unversioned): New var.
7692 (package-menu--generate): Use it.
7693
7694 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7695 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7696 (autoload-builtin-package-versions): New variable.
7697 (autoload-generate-file-autoloads): Use them.
7698 Remove the list of autoloaded functions/macros from the
7699 (autoload...) comments.
7700
7701 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7702
9583ec36
EZ
77032013-06-15 Eli Zaretskii <eliz@gnu.org>
7704
7705 * simple.el (line-move-partial): Don't jump to the next screen
7706 line as soon as it becomes visible. Instead, continue enlarging
7707 the vscroll until the portion of a tall screen line that's left on
7708 display is about the height of the frame's default font.
7709 (Bug#14567)
7710
f0100d8a
GM
77112013-06-15 Glenn Morris <rgm@gnu.org>
7712
b86a85ca
GM
7713 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7714 compilation-error-regexp-alist void, or local while let-bound.
7715
f0100d8a
GM
7716 * progmodes/make-mode.el (makefile-mode-syntax-table):
7717 Treat "=" as punctuation. (Bug#14614)
7718
05e7ce90
JB
77192013-06-15 Juanma Barranquero <lekktu@gmail.com>
7720
7721 * help-fns.el (describe-variable):
7722 Add extra line for permanent-local variables.
7723
12e5e86e
SH
77242013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7725
7726 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7727 Add export, import, library. (Bug#9164)
7728 (library): Set indent function.
7729
230dcbaf
GM
77302013-06-14 Glenn Morris <rgm@gnu.org>
7731
7732 * term/xterm.el (xterm--query):
7733 Stop after first matching handler. (Bug#14615)
7734
e36b2d20 77352013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7736
7737 Add support for dired in saveplace.
7738 * dired.el (dired-initial-position-hook): New variable.
7739 (dired-initial-position): Call hook to place cursor position.
7740 * saveplace.el (save-place-to-alist): Add dired position.
7741 (save-place-dired-hook): New function.
7742
0b31660d
SM
77432013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7744
bf1e6ae8
SM
7745 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7746 through a symbol rather than letrec.
7747
1b8dff23
SM
7748 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7749 (package-desc): Add `dir' field.
7750 (package-desc-full-name): New function.
7751 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7752 (package-maybe-load-descriptor): Remove.
7753 (package-load-all-descriptors): Just call package-load-descriptor.
7754 (package--disabled-p): New function.
7755 (package-desc-vers, package-desc-doc): Remove aliases.
7756 (package--dir): Remove function.
7757 (package-activate): Check if a package is disabled.
7758 (package-process-define-package): New function, extracted from
7759 define-package.
7760 (define-package): Turn into a place holder.
7761 (package-unpack-single, package-tar-file-info):
7762 Use package--description-file.
7763 (package-compute-transaction): Use package--disabled-p.
7764 (package-download-transaction): Don't call
7765 package-maybe-load-descriptor since they're all loaded anyway.
7766 (package-install): Change argument to be a pkg-desc.
7767 (package-delete): Use a single pkg-desc argument.
7768 (describe-package-1): Use package-desc-dir instead of package--dir.
7769 Use package-desc property instead of package-symbol.
7770 (package-install-button-action): Adjust accordingly.
7771 (package--push): Rewrite.
7772 (package-menu--print-info): Adjust accordingly. Change the ID format
7773 to be a pkg-desc.
7774 (package-menu-describe-package, package-menu-get-status)
7775 (package-menu--find-upgrades, package-menu-mark-upgrades)
7776 (package-menu-execute, package-menu--name-predicate):
7777 Adjust accordingly.
7778 * startup.el (package--description-file): New function.
7779 (command-line): Use it.
7780 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7781 Use package-desc-version.
7782
0b31660d
SM
7783 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7784 (byte-compile-preprocess): Use it.
7785 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7786 can't quite recognize.
7787 (byte-compile-add-to-list): Remove.
7788 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7789 (cconv-closure-convert): Add assertion.
7790
7791 * emacs-lisp/map-ynp.el: Use lexical-binding.
7792 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7793 Factor out some repeated code.
7794
de0503df
SM
77952013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7796
7797 * subr.el (with-eval-after-load): New macro.
7798 (eval-after-load): Allow form to be a function.
7799 take advantage of lexical-binding.
7800 (do-after-load-evaluation): Use dolist and adjust to new format.
7801 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7802
bc5c8c5a
JL
78032013-06-13 Juri Linkov <juri@jurta.org>
7804
7805 * replace.el (perform-replace): Display "symbol " and other search
7806 modes from `isearch-message-prefix' in the *Help* buffer.
7807
7808 * isearch.el (isearch-query-replace): Add " symbol" and other
7809 possible search modes from `isearch-message-prefix' to the prompt.
7810 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7811 when reading a regexp to collect.
7812
a22289f7
JL
78132013-06-13 Juri Linkov <juri@jurta.org>
7814
7815 * isearch.el (word-search-regexp): Match whitespace if the search
7816 string begins or ends in whitespace. The LAX arg is applied to
7817 both ends of the search string. Use `regexp-quote' and explicit
7818 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7819 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7820 boundaries are replaced with symbol boundaries, and characters
7821 between symbols match non-word non-symbol syntax. (Bug#14602)
7822
cb89acab
JL
78232013-06-13 Juri Linkov <juri@jurta.org>
7824
7825 * isearch.el (isearch-del-char): Don't exceed the length of
7826 `isearch-string' by the prefix arg. (Bug#14563)
7827
6e8cfc81
JL
78282013-06-13 Juri Linkov <juri@jurta.org>
7829
7830 * isearch.el (isearch-yank-word, isearch-yank-line)
7831 (isearch-char-by-name, isearch-quote-char)
7832 (isearch-printing-char, isearch-process-search-char):
7833 Add optional count prefix arg. (Bug#14563)
7834
7835 * international/isearch-x.el
7836 (isearch-process-search-multibyte-characters):
7837 Add optional count prefix arg.
7838
c23d55f4
VS
78392013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7842 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7843 lexical-binding.
7844
78452013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7846
7847 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7848
ba947bc4
GM
78492013-06-13 Glenn Morris <rgm@gnu.org>
7850
8baeb37a
GM
7851 * startup.el (tty-handle-args):
7852 Don't just discard "--" and anything after. (Bug#14608)
7853
ba947bc4
GM
7854 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7855
9abefce4
MA
78562013-06-13 Michael Albinus <michael.albinus@gmx.de>
7857
7858 Implement changes in Secret Service API. Make it backward compatible.
7859 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7860 (secrets-create-item): Use it. Prefix properties with interface.
7861
5755011f
MH
78622013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7863
7864 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7865 (term-emulate-terminal): Respect term-suppress-hard-newline.
7866
1261d2da
S
78672013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7868
7869 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7870 Only remove a `thumb-file' overlay. (Bug#14548)
7871
868490bb
GJ
78722013-06-12 Grégoire Jadi <daimrod@gmail.com>
7873
7874 * mail/reporter.el (reporter-submit-bug-report):
7875 Handle missing package-name. (Bug#14600)
7876
79d7167f
TH
78772013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7878
7879 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7880 (reftex-citation-prompt, reftex-default-bibliography)
7881 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7882 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7883 (reftex-bib-sort-author, reftex-bib-sort-year)
7884 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7885 (reftex-extract-bib-entries-from-thebibliography)
7886 (reftex-get-bibkey-default, reftex-get-bib-names)
7887 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7888 (reftex-format-bib-entry, reftex-parse-bibitem)
7889 (reftex-format-bibitem, reftex-do-citation)
7890 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7891 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7892 (reftex-insert-bib-matches, reftex-format-citation)
7893 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7894 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7895 existing comments into docstrings.
7896
5f9dbd7a
XF
78972013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7898
7899 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7900
94df41ab
AS
79012013-06-12 Andreas Schwab <schwab@suse.de>
7902
7903 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7904 for auto-save files.
7905
a7f3fecc
GM
79062013-06-12 Glenn Morris <rgm@gnu.org>
7907
001809f6
GM
7908 * ido.el (ido-delete-ignored-files): Remove.
7909 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7910 Go back to calling ido-ignore-item-p directly.
a7f3fecc 7911
834b5ded
EL
79122013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7913
08c73ed2
EL
7914 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7915
834b5ded
EL
7916 * ido.el (ido-delete-ignored-files): New function,
7917 split from ido-make-file-list-1.
7918 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7919 (ido-make-file-list-1): Use ido-delete-ignored-files.
7920
daabf15a
LL
79212013-06-12 Leo Liu <sdl.web@gmail.com>
7922
7923 * progmodes/octave.el (inferior-octave-startup)
7924 (inferior-octave-completion-table)
7925 (inferior-octave-track-window-width-change)
7926 (octave-eldoc-function-signatures, octave-help)
7927 (octave-find-definition): Use single quoted strings.
7928 (inferior-octave-startup-args): Change default value.
7929 (inferior-octave-startup): Do not hard code "-i" and
7930 "--no-line-editing".
7931 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7932 (inferior-octave-directory-tracker): Use it.
7933 (octave-goto-function-definition): Robustify.
7934 (octave-help): Support highlighting operators in 'See also'.
7935 (octave-find-definition): Find subfunctions only in Octave mode.
7936
cf4e5178
SM
79372013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * help-fns.el (help-fns--compiler-macro): If the handler function is
7940 named, then put a link to it.
7941 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7942 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7943 (cl-typep): Use it.
7944 (cl-eval-when): Simplify debug spec.
7945 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7946 compiler-macro function instead of setting `compiler-macro-file'.
7947
99c81280 79482013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
7949
7950 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7951 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7952
f56be016
SM
79532013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7954 Daniel Hackney <dan@haxney.org>
7955
7956 First part of Daniel Hackney's patch to package.el.
7957 * emacs-lisp/package.el: Use defstruct.
7958 (package-desc): New, main struct.
7959 (package--bi-desc, package--ac-desc): New structs, used to describe the
7960 format in external files.
7961 (package-desc-vers): Replace with package-desc-version accessor.
7962 (package-desc-doc): Replace with package-desc-summary accessor.
7963 (package-activate-1): Remove `package' arg since the pkg-vec now
7964 includes the name.
7965 (define-package): Use package-desc-from-define.
7966 (package-unpack-single): Change file-name arg to be a symbol.
7967 (package--add-to-archive-contents): Use package-desc-create and new
7968 accessor functions to package--ac-desc.
7969 (package-buffer-info, package-tar-file-info): Return a package-desc.
7970 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7971 arg to be a package-desc.
7972 (package-install-file): Adjust accordingly. Use \' to match EOS.
7973 (package--from-builtin): New function.
7974 (describe-package-1, package-menu--generate): Use it.
7975 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7976 (package-generate-autoloads): Idem and return the name of the file.
7977 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7978 Change pkg-info arg to be a package-desc.
7979 Use package-make-ac-desc.
7980 (package-upload-file): Use \' to match EOS.
7981 * finder.el (finder-compile-keywords): Use package-make-builtin.
7982
31119d63
SM
79832013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7984
931a2762
SM
7985 * vc/vc.el (vc-deduce-fileset): Change error message.
7986 (vc-read-backend): New function.
7987 (vc-next-action): Use it.
7988
5a3eb0c6
SM
7989 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7990
e3eb1bb7
SM
7991 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7992 (prolog-font-lock-keywords): Use regexp-opt instead.
7993 Don't manually highlight strings.
7994 (prolog-mode-variables): Simplify comment-start-skip.
7995 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7996
31119d63
SM
7997 * emacs-lisp/generic.el (generic--normalise-comments)
7998 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7999 (generic-mode-set-comments): Use them.
8000 (generic-bracket-support): Use setq-local.
8001 (generic-make-keywords-list): Declare obsolete.
8002
7de135d0
GM
80032013-06-11 Glenn Morris <rgm@gnu.org>
8004
8005 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8006 Prettify after setting font-lock-defaults. (Bug#14574)
8007
fa6bc6fd
JB
80082013-06-11 Juanma Barranquero <lekktu@gmail.com>
8009
8010 * replace.el (query-replace, occur-read-regexp-defaults-function)
8011 (replace-search):
8012 * subr.el (declare-function, number-sequence, local-set-key)
8013 (substitute-key-definition, locate-user-emacs-file)
8014 (with-silent-modifications, split-string, eval-after-load):
8015 Fix typos, remove unneeded backslashes and reflow some docstrings.
8016
cf1f9b9a
SM
80172013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8018
8019 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8020 default for Elisp files.
8021
56602a4b
GM
80222013-06-11 Glenn Morris <rgm@gnu.org>
8023
8024 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8025 although define-derived-mode was doing this anyway. (Bug#14583)
8026
30ae0b2c
JB
80272013-06-10 Juanma Barranquero <lekktu@gmail.com>
8028
8029 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8030 Fix make-variable-buffer-local call to refer to the correct variable.
8031
fa472906
AG
80322013-06-10 Aidan Gauland <aidalgol@amuri.net>
8033
8034 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8035 (eshell-visual-subcommands, eshell-visual-options):
8036 Add summary line to docstrings. Add cross-references.
fa472906 8037
ff4871b9
GM
80382013-06-10 Glenn Morris <rgm@gnu.org>
8039
8040 * epa.el (epa-read-file-name): New function. (Bug#14510)
8041 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8042
04fcf1b0
AG
80432013-06-09 Aidan Gauland <aidalgol@amuri.net>
8044
8045 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8046 output redirection to be ignored with visual commands.
8047
88b00caa
AG
80482013-06-09 Aidan Gauland <aidalgol@amuri.net>
8049
8050 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8051 (eshell-term-initialize): Move long lambda to separate function
8052 eshell-visual-command-p.
e7b41c4c
JB
8053 * eshell/em-dirs.el (eshell-dirs-initialise):
8054 * eshell/em-script.el (eshell-script-initialize):
8055 Add missing #' to lambda.
88b00caa 8056
fda74125
LL
80572013-06-08 Leo Liu <sdl.web@gmail.com>
8058
8059 * progmodes/octave.el (octave-add-log-current-defun): New function.
8060 (octave-mode): Set add-log-current-defun-function.
8061 (octave-goto-function-definition): Do not move point if not found.
8062 (octave-find-definition): Enhance to try subfunctions first.
8063
467f3b33
GM
80642013-06-08 Glenn Morris <rgm@gnu.org>
8065
8066 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8067 (byte-compile-backward-char, byte-compile-backward-word):
8068 Improve previous change, to handle non-explicit nil.
8069
544badc3
SM
80702013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8073 (smie--opener/closer-at-point): New function.
8074 (smie--matching-block-data): Use it. Don't match from right after an
8075 opener or right before a closer. Obey smie-blink-matching-inners.
8076 Don't signal a mismatch for repeated inners like "switch..case..case".
8077
a175bf33
LL
80782013-06-07 Leo Liu <sdl.web@gmail.com>
8079
8080 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8081 to t. (Bug#14303)
ce8209d4
LL
8082 (octave-function-header-regexp): Fix. (Bug#14570)
8083 (octave-help-mode-finish-hook, octave-help-mode-finish):
8084 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8085
8086 * newcomment.el (comment-search-backward): Revert last change.
8087 (Bug#14434)
8088
8089 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8090
a822acff
EZ
80912013-06-07 Eli Zaretskii <eliz@gnu.org>
8092
8093 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8094 through xargs, to avoid failure due to MS-Windows limitations on
8095 command-line length.
8096
961166f5
GM
80972013-06-06 Glenn Morris <rgm@gnu.org>
8098
d0341459
GM
8099 * font-lock.el (lisp-font-lock-keywords-2):
8100 Treat user-error like error.
8101
961166f5
GM
8102 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8103 (byte-compile-backward-char, byte-compile-backward-word):
8104 Handle explicit nil arguments. (Bug#14565)
8105
80fa505f
AM
81062013-06-05 Alan Mackenzie <acm@muc.de>
8107
8108 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8109 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8110 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8111 (Bug#9706)
80fa505f 8112
fccdc796
SM
81132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8114
8115 * autorevert.el (auto-revert-notify-handler): Use memq.
8116 Hide assertion failure.
8117
8118 * skeleton.el: Use cl-lib.
8119 (skeleton-further-elements): Use defvar-local.
8120 (skeleton-insert): Use cl-progv.
8121
9bfff84b
TZ
81222013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8123
8124 * progmodes/prog-mode.el (prog-prettify-symbols)
8125 (prog-prettify-install): Update docstrings.
8126
55577e7c
SM
81272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8128
8129 * simple.el: Move all the prog-mode code to prog-mode.el.
8130 * progmodes/prog-mode.el: New file.
8131 * loadup.el: Add prog-mode.el.
8132
8fc57765
TZ
81332013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8134
8135 * simple.el (prog-prettify-symbols): Add version.
8136 (prog-prettify-install): Add convenience function to prettify symbols.
8137
8138 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8139 (perl--augmented-font-lock-keywords-1)
8140 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8141 variables and use it.
8142
8143 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8144 (cfengine3-mode): Remove unneeded variable and use it.
8145
8146 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8147 (lisp--augmented-font-lock-keywords-1)
8148 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8149 Remove unneeded variables and use it.
8150
650645d5 81512013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8152
8153 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8154 to point when opening the connection. (Bug#14380)
28f5da6d 8155
781b4af6
SM
81562013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8157
8158 * subr.el (load-history-regexp, load-history-filename-element)
8159 (eval-after-load, after-load-functions, do-after-load-evaluation)
8160 (eval-next-after-load, display-delayed-warnings)
8161 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8162 definition of save-match-data.
8163 (overriding-local-map): Remove accidental obsolescence declaration.
8164
8165 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8166
3ca0d0b4
TZ
81672013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8168
8169 Generalize symbol prettify support to prog-mode and implement it
8170 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8171 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8172 (prog--prettify-font-lock-compose-symbol)
8173 (prog-prettify-font-lock-symbols-keywords): New variables and
8174 functions to support symbol prettification.
8175 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8176 (lisp--augmented-font-lock-keywords-1)
8177 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8178 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8179 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8180 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8181 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8182 * progmodes/perl-mode.el (perl-prettify-symbols)
8183 (perl--font-lock-compose-symbol)
8184 (perl--font-lock-symbols-keywords): Move to prog-mode.
8185 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8186 (perl-font-lock-keywords-1)
8187 (perl-font-lock-keywords-2): Remove explicit prettify support.
8188 (perl--augmented-font-lock-keywords)
8189 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8190 (perl--augmented-font-lock-keywords-2, perl-mode):
8191 Implement prettify support.
3ca0d0b4 8192
976cb066
LL
81932013-06-05 Leo Liu <sdl.web@gmail.com>
8194
8195 Re-implement smie matching block highlight using
8196 show-paren-data-function. (Bug#14395)
8197 * emacs-lisp/smie.el (smie-matching-block-highlight)
8198 (smie--highlight-matching-block-overlay)
8199 (smie--highlight-matching-block-lastpos)
8200 (smie-highlight-matching-block)
8201 (smie-highlight-matching-block-mode): Remove.
8202 (smie--matching-block-data-cache): New variable.
8203 (smie--matching-block-data): New function.
8204 (smie-setup): Use smie--matching-block-data for
8205 show-paren-data-function.
8206
8207 * progmodes/octave.el (octave-mode-menu): Fix.
8208 (octave-find-definition): Skip garbage lines.
8209
208d0342
SM
82102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8211
8212 Fix compilation error with simultaneous dynamic+lexical scoping.
8213 Add warning when a defvar appears after the first let-binding.
8214 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8215 (byte-compile-close-variables): Initialize it.
8216 (byte-compile--declare-var): New function.
8217 (byte-compile-file-form-defvar)
8218 (byte-compile-file-form-define-abbrev-table)
8219 (byte-compile-file-form-custom-declare-variable): Use it.
8220 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8221 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8222 (byte-compile-bind): Handle dynamic bindings that shadow
8223 lexical bindings.
8224 (byte-compile-unbind): Make arg non-optional.
8225 (byte-compile-let): Simplify.
8226 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8227 (cconv--analyse-function, cconv-analyse-form): Populate it.
8228 Protect byte-compile-bound-variables to limit the scope of defvars.
8229 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8230 Remove unneeded rule for `declare'.
8231
8232 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8233 so as to avoid depending on cl-adjoin at run-time.
8234 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8235
8236 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8237 (macroexp--warn-and-return): Use it.
8238
1ac2891e
GM
82392013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * lisp/subr.el: Convert to lexical binding.
8242 (overriding-local-map): Make obsolete.
8243 (add-to-list): Doc fix. Add compiler macro.
8244 (read-key): Swap values of local maps.
8245
2587b005
LL
82462013-06-05 Leo Liu <sdl.web@gmail.com>
8247
8248 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8249
f1da3c88
LL
82502013-06-04 Leo Liu <sdl.web@gmail.com>
8251
8252 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8253 (compilation-auto-jump): Suppress the "Mark set" message to give
8254 way to exit message.
8255
3caa391f
AM
82562013-06-04 Alan Mackenzie <acm@muc.de>
8257
8258 Remove faulty optimisation from indentation calculation.
8259 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8260 search limit based on 2000 characters back from indent-point.
8261
068922a2
TH
82622013-06-03 Tassilo Horn <tsdh@gnu.org>
8263
8264 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8265
1f8fdd53
SM
82662013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8267
bbcc4d97
SM
8268 * emacs-lisp/lisp.el: Use lexical-binding.
8269 (lisp--local-variables-1, lisp--local-variables): New functions.
8270 (lisp--local-variables-completion-table): New var.
208d0342 8271 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8272
1f8fdd53
SM
8273 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8274 eagerly (bug#14422).
8275
c9628c79
MA
82762013-06-03 Michael Albinus <michael.albinus@gmx.de>
8277
8278 * autorevert.el (auto-revert-notify-enabled)
8279 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8280 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8281 (auto-revert-notify-handler): Handle also gfilenotify.
8282
e7b41c4c 8283 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8284 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8285 Remove.
c9628c79 8286
e5e4a942
JL
82872013-06-03 Juri Linkov <juri@jurta.org>
8288
8289 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8290 `M-s h .'. (Bug#14427)
8291
8292 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8293 command `hi-lock-face-symbol-at-point'.
8294 (hi-lock-face-symbol-at-point): New command.
8295 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8296 (hi-lock-menu): Add `highlight-symbol-at-point'.
8297 (hi-lock-mode): Doc fix.
8298
8299 * isearch.el (isearch-forward-symbol-at-point): New command.
8300 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8301 (isearch-highlight-regexp): Add a regexp which matches
8302 words/symbols for word/symbol mode.
8303
8304 * subr.el (find-tag-default-bounds): New function with the body
8305 mostly moved from `find-tag-default'.
8306 (find-tag-default): Move most code to `find-tag-default-bounds',
8307 call it and apply `buffer-substring-no-properties' afterwards.
8308
26b3353a
TH
83092013-06-03 Tassilo Horn <tsdh@gnu.org>
8310
781b4af6
SM
8311 * eshell/em-term.el (eshell-term-initialize):
8312 Use `cl-intersection' rather than `intersection'.
26b3353a 8313
51b60f53
XF
83142013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8315
fe054b63 8316 * vc/log-view.el: Doc fix.
d3ffe17c 8317 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8318
a0eb10b3 83192013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8320
8321 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8322 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8323 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8324 (eieio-unbound, eieio-default-superclass)
8325 (eieio--define-field-accessors, method-static, method-before)
8326 (method-primary, method-after, method-num-lists)
8327 (method-generic-before, method-generic-primary)
8328 (method-generic-after, method-num-slots)
8329 (eieio-specialized-key-to-generic-key)
8330 (eieio--check-type, class-v, class-p)
8331 (eieio-class-name, define-obsolete-function-alias)
8332 (eieio-class-parents-fast, eieio-class-children-fast)
8333 (same-class-fast-p, class-constructor, generic-p)
8334 (generic-primary-only-p, generic-primary-only-one-p)
8335 (class-option-assoc, class-option, eieio-object-p)
8336 (class-abstract-p, class-method-invocation-order)
8337 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8338 (eieio-class-un-autoload, eieio-defclass)
8339 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8340 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8341 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8342 (eieio-defgeneric-reset-generic-form)
8343 (eieio-defgeneric-form-primary-only)
8344 (eieio-defgeneric-reset-generic-form-primary-only)
8345 (eieio-defgeneric-form-primary-only-one)
8346 (eieio-defgeneric-reset-generic-form-primary-only-one)
8347 (eieio-unbind-method-implementations)
8348 (eieio--defmethod, eieio--typep)
8349 (eieio-perform-slot-validation, eieio-validate-slot-value)
8350 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8351 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8352 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8353 (eieio-slot-name-index, eieio-class-slot-name-index)
8354 (eieio-set-defaults, eieio-initarg-to-attribute)
8355 (eieio-attribute-to-initarg, eieio-c3-candidate)
8356 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8357 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8358 (eieio-class-precedence-list, eieio-generic-call-methodname)
8359 (eieio-generic-call-arglst, eieio-generic-call-key)
8360 (eieio-generic-call-next-method-list)
8361 (eieio-pre-method-execution-functions, eieio-generic-call)
8362 (eieio-generic-call-primary-only, eieiomt-method-list)
8363 (eieiomt-optimizing-obarray, eieiomt-install)
8364 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8365 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8366 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8367 (defclass): Remove `eval-and-compile' from macro.
8368 (call-next-method, shared-initialize): Instead of using
8369 `scoped-class' variable, use new eieio--scoped-class, and
8370 eieio--with-scoped-class.
8371 (initialize-instance): Rename local variable 'scoped-class' to
8372 'this-class' to remove ambiguitity from old global.
8373
8374 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8375 eieio.el.
4f405069
JB
8376 (eieio--scoped-class-stack): New variable.
8377 (eieio--scoped-class): New fcn.
890f7890
DE
8378 (eieio--with-scoped-class): New scoping macro.
8379 (eieio-defclass): Use pushnew instead of add-to-list.
8380 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8381 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8382 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8383 `scoped-class' variable, use new eieio--scoped-class, and
8384 eieio--with-scoped-class.
8385
8386 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8387
d105b0e2
TH
83882013-06-02 Tassilo Horn <tsdh@gnu.org>
8389
8390 * eshell/esh-ext.el (eshell-external-command): Pass args to
8391 `eshell-find-interpreter'.
8392 (eshell-find-interpreter): Add new second parameter ARGS.
8393
8394 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8395 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8396
8397 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8398 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8399
8400 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8401 (eshell-visual-options): New defcustom.
8402 (eshell-escape-control-x): Adapt docstring.
8403 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8404 `eshell-visual-options' in addition to `eshell-visual-commands'.
8405 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8406
f46305c8 84072013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8408
8409 * progmodes/python.el (python-indent-block-enders): Add break,
8410 continue and raise keywords.
8411
d870df21
GM
84122013-06-01 Glenn Morris <rgm@gnu.org>
8413
9133b82e
GM
8414 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8415
02c992ec 8416 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8417 * progmodes/cc-cmds.el (delete-forward-p):
8418 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8419 * progmodes/cc-engine.el (buffer-syntactic-context):
8420 * progmodes/cc-fonts.el (face-property-instance):
8421 * progmodes/cc-mode.el (set-keymap-parents):
8422 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8423 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8424 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8425 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8426 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8427
31e7b090
GM
8428 * progmodes/cc-vars.el (other): Emacs has this widget since
8429 at least 21.1, so don't (re)define it.
8430
d870df21
GM
8431 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8432 Replace the obsolete alias pcomplete-arg-quote-list.
8433
c75c93c7
LL
84342013-06-01 Leo Liu <sdl.web@gmail.com>
8435
8436 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8437 punctuation syntax.
8438 (inferior-octave-minimal-columns)
8439 (inferior-octave-last-column-width): New variables.
8440 (inferior-octave-track-window-width-change): New function.
8441 (inferior-octave-mode): Adjust column width so that Octave output,
8442 for example from 'ls', can fit into the window nicely.
8443
973d1e12
DG
84442013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8445
8446 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8447 Highlight expansions inside regexp literals.
8448
0888c286
GM
84492013-05-31 Glenn Morris <rgm@gnu.org>
8450
e26aac1f
GM
8451 * obsolete/sym-comp.el (symbol-complete):
8452 Replace obsolete completion-annotate-function.
8453
0888c286
GM
8454 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8455
19bb8e62
DG
84562013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8457
781b4af6
SM
8458 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8459 New function, checks if point is inside a literal that allows
19bb8e62
DG
8460 expression expansion.
8461 (ruby-syntax-propertize-expansion): Use it.
8462 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8463 around the body.
8464
01dea85f
JL
84652013-05-30 Juri Linkov <juri@jurta.org>
8466
8467 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8468 to "\M-si".
8469 (isearch-invisible): New variable.
8470 (isearch-forward): Doc fix.
8471 (isearch-mode): Set `isearch-invisible'
8472 to the value of `search-invisible'.
8473 (isearch-toggle-case-fold): Doc fix.
8474 (isearch-toggle-invisible): New command.
8475 (isearch-query-replace): Let-bind `search-invisible'
8476 to the value of `isearch-invisible'.
8477 (isearch-search): Use `isearch-invisible' instead of
8478 `search-invisible'. Let-bind `search-invisible'
8479 to the value of `isearch-invisible'. (Bug#11378)
8480
ab1bdce5
JL
84812013-05-30 Juri Linkov <juri@jurta.org>
8482
8483 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8484 call when `query-flag' is nil and `search-invisible' is non-nil.
8485 (Bug#11746)
8486
d6d236e2
GM
84872013-05-30 Glenn Morris <rgm@gnu.org>
8488
8accd027
GM
8489 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8490
2a8bed1c
GM
8491 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8492 (cc-require): Suppress spurious "noruntime" warnings.
8493 (cc-require-when-compile): Use fboundp, for sake of compiler.
8494
d6d236e2
GM
8495 * progmodes/cc-mode.el: Move load of cc-vars before that of
8496 cc-langs (which in turn loads cc-vars), to quieten compiler.
8497
9190b35b
SM
84982013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * paren.el: Simplify the code.
8501 (show-paren-mode): Always start the timer.
8502 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8503 (show-paren--overlay, show-paren--overlay-1): Rename from
8504 show-paren-overlay and show-paren-overlay-1, and initialize to an
8505 overlay rather than to nil.
8506 (show-paren-function): Misc cleanup and simplifications.
8507
4f8d1cf6
SM
85082013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8509
8510 * paren.el (show-paren-data-function): New hook.
8511 (show-paren--default): New function, extracted from show-paren-function.
8512 (show-paren-function): Use show-paren-data-function.
8513
02d844b5
GM
85142013-05-30 Glenn Morris <rgm@gnu.org>
8515
d209d4a9
GM
8516 * ielm.el (ielm-map, ielm-complete-symbol):
8517 Use completion-at-point rather than obsolete functions.
8518 (inferior-emacs-lisp-mode): Doc fix.
8519 Set completion-at-point-functions, rather than
8520 comint-dynamic-complete-functions.
8521
2082faa6
GM
8522 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8523 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8524 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8525
dd8620de
GM
8526 * image.el (image-animated-p): Tweak definition.
8527
ceca95b1
GM
8528 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8529 (rlogin-process-connection-type): Tweak default. Add set-after.
8530 (rlogin-host): Doc fix.
8531 (rlogin): Tweak prompt.
8532 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8533
ee9f1acc
GM
8534 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8535 * progmodes/tcl.el (inferior-tcl-mode-map):
8536 Use completion-at-point rather than obsolete alias.
8537
45ce222e
GM
8538 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8539
02d844b5
GM
8540 * minibuffer.el (read-file-name-completion-ignore-case):
8541 Move before completion--in-region, for eager macro expansion.
8542
ac44d6c1
JL
85432013-05-29 Juri Linkov <juri@jurta.org>
8544
8545 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8546 for total count of matching lines. Add `global-matches' for total
8547 count of matches. Rename `matches' to `lines' for count of
8548 matching lines. Add `matches' for count of matches.
8549 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8550 to `prev-line' for line number of prev match endpt.
8551 Increment `matches' for every match. Print the number of
8552 matching lines in the header.
8553 (occur-context-lines): Rename `lines' to `curr-line'.
8554 Rename `prev-lines' to `prev-line'. (Bug#14017)
8555
3c9c9d38
JL
85562013-05-29 Juri Linkov <juri@jurta.org>
8557
8558 * replace.el (perform-replace): Add `skip-read-only-count',
8559 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8560 Increment them for corresponding conditions and report the number
8561 of skipped occurrences in the final message. (Bug#11746)
8562 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8563 (replace-string, replace-regexp): Doc fix.
8564
33e249a2
SM
85652013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8e399682
SM
8567 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8568
33e249a2 8569 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8570 prog-mode-map (bug#14504).
33e249a2 8571
f236dd84
LL
85722013-05-29 Leo Liu <sdl.web@gmail.com>
8573
8574 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8575 (octave-help): Small simplification.
8576
8577 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8578 off the highlight first.
8579
3694d13f
GM
85802013-05-29 Glenn Morris <rgm@gnu.org>
8581
03983bdc
GM
8582 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8583 Handle idlwave-last-system-routine-info-cons-cell being nil.
8584
bc74a74a
GM
8585 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8586 (idlwave-write-paths): Simplify via with-temp-buffer.
8587
8b394200
GM
8588 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8589 * emulation/cua-rect.el: Also load cua-base at run time.
8590
3694d13f
GM
8591 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8592 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8593 (cperl-imenu-on-info): Require imenu.
8594
336d7284
AM
85952013-05-28 Alan Mackenzie <acm@muc.de>
8596
8597 Handle "capitalised keywords" correctly.
33e249a2 8598 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8599
cb29c582
AG
86002013-05-28 Aidan Gauland <aidalgol@amuri.net>
8601
781b4af6 8602 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8603
690e44b2
GM
86042013-05-28 Glenn Morris <rgm@gnu.org>
8605
e658d75c
GM
8606 * vc/vc-arch.el (vc-exec-after): Declare.
8607 (vc-switches): Autoload.
8608 * vc/vc-bzr.el: No need to require vc when compiling.
8609 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8610 (vc-resynch-buffer, vc-dir-refresh): Declare.
8611 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8612 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8613 (vc-resynch-buffer): Declare.
8614 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8615 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8616 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8617 (grep-read-regexp, grep-read-files, grep-expand-template)
8618 (vc-dir-refresh): Declare.
8619 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8620 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8621 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8622 * vc/vc-mtn.el (vc-exec-after): Declare.
8623 (vc-switches): Autoload.
8624 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8625 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8626 (vc-file-tree-walk): Declare.
712b9732
GM
8627 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8628 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8629 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8630 * vc/vc-svn.el (vc-exec-after): Declare.
8631 (vc-switches, vc-setup-buffer): Autoload.
8632 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8633 Autoload.
8634 (vc-resynch-buffer): Declare.
8635
98e87fb3
GM
8636 * obsolete/fast-lock.el (byte-compile-warnings):
8637 Don't warn about obsolete features in this obsolete file.
8638
f5379553
GM
8639 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8640 Move definition before use.
8641
7a20ef83
GM
8642 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8643 (dun-unix-verbs): Remove dun-zippy.
8644 (dun-zippy): Remove function.
8645
690e44b2
GM
8646 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8647
3a52ccf7
JL
86482013-05-27 Juri Linkov <juri@jurta.org>
8649
8650 * replace.el (replace-search): New function with code moved out
8651 from `perform-replace'.
8652 (replace-highlight, replace-dehighlight): Move function definitions
8653 up closer to `replace-search'. (Bug#11746)
8654
d289938a
JL
86552013-05-27 Juri Linkov <juri@jurta.org>
8656
8657 * replace.el (perform-replace): Ignore invisible matches.
8658 In addition to checking `query-replace-skip-read-only', also
8659 filter out matches by calling `run-hook-with-args-until-failure'
8660 on `isearch-filter-predicates', and also check `search-invisible'
8661 for t or call `isearch-range-invisible'.
8662 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8663
66fc57e3
JL
86642013-05-27 Juri Linkov <juri@jurta.org>
8665
8666 * isearch.el (isearch-filter-predicates): Rename from
8667 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8668 (isearch-message-prefix): Display text from the property
8669 `isearch-message-prefix' of the currently active filters.
8670 (isearch-search): Don't compare `isearch-filter-predicate' with
8671 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8672 on `isearch-filter-predicates'. Also check `search-invisible' for t
8673 or call `isearch-range-invisible'.
8674 (isearch-filter-visible): Make obsolete.
8675 (isearch-lazy-highlight-search):
8676 Call `run-hook-with-args-until-failure' on
8677 `isearch-filter-predicates' and use `isearch-range-invisible'.
8678
8679 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8680 `isearch-filter-predicates' instead of `funcall'ing
8681 `isearch-filter-predicate'.
8682 (Info-mode): Set `Info-isearch-filter' to
8683 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8684
8685 * dired-aux.el (dired-isearch-filter-predicate-orig):
8686 Remove variable.
8687 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8688 (dired-isearch-filenames-end): Add and remove
8689 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8690 instead of changing the value of `isearch-filter-predicate'.
8691 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8692 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8693 Put property `isearch-message-prefix' to "filename " on
8694 `dired-isearch-filter-filenames'.
8695
8696 * wdired.el (wdired-change-to-wdired-mode):
8697 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8698 locally instead of changing `isearch-filter-predicate'.
8699 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8700
f1a60a0f
DG
87012013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8702
8703 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8704 return the commit hash (Bug#14459). Also set the
8705 `vc-git-detached' property.
8706 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8707 (vc-git-mode-line-string): Use the same help-echo format whether
8708 in detached mode or not, because we know the actual revision now.
8709 When in detached mode, shorten the revision to 7 chars.
8710
7f17cc40
SM
87112013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8712
8713 * emacs-lisp/easy-mmode.el (define-minor-mode):
8714 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8715 mode hook and provide a docstring.
8716
25c8401c
AM
87172013-05-27 Alan Mackenzie <acm@muc.de>
8718
8719 Remove spurious syntax-table text properties inserted by C-y.
8720 * progmodes/cc-mode.el (c-after-change): Also clear hard
8721 syntax-table property with value nil.
8722
dde84790
MA
87232013-05-27 Michael Albinus <michael.albinus@gmx.de>
8724
8725 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8726 when reading the events; the buffer layout shall not be changed.
8727
837fd9af
LL
87282013-05-27 Leo Liu <sdl.web@gmail.com>
8729
8730 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8731 New variable.
8732 (inferior-octave-directory-tracker): Automatically re-sync
8733 default-directory.
8734 (octave-help): Improve handling of 'See also'.
8735
4fd996b3
SM
87362013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8737
416f1802
SM
8738 * doc-view.el: Minor naming convention tweaks.
8739 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8740
4fd996b3
SM
8741 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8742 even if there's no `display' property yet (bug#14435).
8743
a052ef3b
EZ
87442013-05-25 Eli Zaretskii <eliz@gnu.org>
8745
4fd996b3 8746 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8747
8748 * Makefile.in (custom-deps, finder-data, autoloads)
8749 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8750 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8751 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8752
c9023370
SM
87532013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8754
8755 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8756 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8757 Don't burp at EOB.
c9023370 8758
24d699fa
LL
87592013-05-25 Leo Liu <sdl.web@gmail.com>
8760
8761 * comint.el (comint-previous-matching-input): Do not flood the
8762 *Messages* buffer with trivial messages.
8763
17e5c0cc
SM
87642013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8765
8766 * progmodes/flymake.el (flymake-nop): Don't return a string.
8767 (flymake-set-at): Fix typo.
8768
8769 * simple.el (read--expression): New function, extracted from
8770 eval-expression. Set completion-at-point-functions (bug#14465).
8771 (eval-expression, eval-minibuffer): Use it.
8772
5d028165
XF
87732013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8774
8775 * progmodes/flymake.el (flymake-save-buffer-in-file)
8776 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8777 (flymake-selected-frame, flymake-log, flymake-ins-after)
8778 (flymake-set-at, flymake-get-buildfile-from-cache)
8779 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8780 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8781 Refine the doc string.
8782 (flymake-get-file-name-mode-and-masks): Reformat.
8783 (flymake-get-real-file-name-function): Fix a minor bug.
8784
7a1d7ba7
JL
87852013-05-24 Juri Linkov <juri@jurta.org>
8786
8787 * progmodes/grep.el (grep-mode-font-lock-keywords):
8788 Support =linenumber= format used by git-grep for lines with
8789 function names. (Bug#13549)
8790
650cff3d
SM
87912013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8794 0 after a semi-colon; it works better for smie-auto-fill.
8795 (octave--indent-new-comment-line): New function.
8796 (octave-indent-new-comment-line): Use it (indirectly).
8797 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8798 modify comment-line-break-function.
8799
8800 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8801 (smie-setup): Use add-function to set it.
8802
9631677d
SS
88032013-05-24 Sam Steingold <sds@gnu.org>
8804
8805 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8806 argument (before the `interactive' argument).
8807
50105835
SM
88082013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * image-mode.el (image-mode-winprops): Add winprops to
8811 image-mode-winprops-alist before running
8812 image-mode-new-window-functions.
8813 * doc-view.el (doc-view-new-window-function): Don't delay
8814 doc-view-goto-page via timers (bug#14435).
8815
57b9823e
TH
88162013-05-24 Tassilo Horn <tsdh@gnu.org>
8817
8818 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8819 (doc-view-desktop-save-buffer): New function.
8820 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8821 (desktop-buffer-mode-handlers):
8822 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8823 handler.
8824 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8825 `desktop-save-buffer' function.
8826
91aafa16
MA
88272013-05-24 Michael Albinus <michael.albinus@gmx.de>
8828
8829 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8830 (tramp-gvfs-file-name-handler): Raise a user error when
8831 `tramp-gvfs-enabled' is nil.
8832 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8833 Do not raise a user error when loading package. (Bug#14447)
8834
ec076379
MA
8835 * net/xesam.el: Move to obsolete/.
8836
db785726
GM
88372013-05-24 Glenn Morris <rgm@gnu.org>
8838
af5c7606
GM
8839 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8840
e5d1916a
GM
8841 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8842
ded62b08
GM
8843 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8844 (Info-find-node, Man-getpage-in-background): Declare.
8845
9e614a3f
GM
8846 * mail/unrmail.el (unrmail):
8847 Replace obsolete detect-coding-with-priority.
8848
892f8ca3
GM
8849 * net/socks.el (socks-split-string): Use this rather than split-string.
8850 (socks-nslookup-host): Update for above change.
8851 (dynamic-choice, s5-dynamic-choice-match)
8852 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8853 Comment out unused code.
8854
3c291973
GM
8855 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8856 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8857 (gud-tooltip-echo-area): Make obsolete.
8858 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8859
43cc956b
GM
8860 * progmodes/js.el (js--optimize-arglist): Declare.
8861
dab49a3b
GM
8862 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8863
36b9d085
GM
8864 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8865 (ediff-window-C): Declare.
8866
e354ae76
GM
8867 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8868 Tweak requires to silence compiler.
8869
b8e57bf4
GM
8870 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8871 (he-search-string, he-tried-table, he-expand-list)
8872 (he-init-string, he-string-member, he-substitute-string)
8873 (he-reset-string): Declare.
8874
db785726
GM
8875 * obsolete/options.el (list-options): Use custom-variable-p,
8876 rather than obsolete alias.
8877
b3531901
SS
88782013-05-23 Sam Steingold <sds@gnu.org>
8879
8880 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8881 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8882 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8883
bdda4c66
SM
88842013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8885
8886 * emacs-lisp/smie.el (smie-indent-forward-token)
8887 (smie-indent-backward-token): Handle string tokens (bug#14381).
8888
c43d45f9
TH
88892013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8890
fe1eb856
RS
8891 * ielm.el (ielm-menu): New menu.
8892 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8893
fe1eb856
RS
88942013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8895
8896 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8897 Fix deactivate action.
8898
8899 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8900 Add cleveref macros.
074dd971 8901
c43d45f9
TH
8902 * lisp/textmodes/reftex-parse.el
8903 (reftex-locate-bibliography-files): Accept options for
8904 bibliography commands.
8905 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8906 Add addbibresource. Basic Biblatex support.
8907
7764286e
MA
89082013-05-23 Michael Albinus <michael.albinus@gmx.de>
8909
8910 * net/tramp-gvfs.el (top):
8911 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8912 when loading package. (Bug#14447)
8913
d361bc10
GM
89142013-05-23 Glenn Morris <rgm@gnu.org>
8915
8fa23984
GM
8916 * progmodes/js.el: No need to load comint when compiling.
8917 (ring-insert, comint-send-string, comint-send-input)
8918 (comint-last-input-end, ido-chop): Declare.
8919
a5c7df1a
GM
8920 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8921 * vc/ediff-mult.el: Adjust requires.
8922 (ediff-directories-internal, ediff-directory-revisions-internal)
8923 (ediff-patch-file-internal): Declare.
8924 * vc/ediff-ptch.el: Adjust requires.
8925 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8926 (ediff-find-file): Autoload.
8927 * vc/ediff-util.el: No need to load ediff when compiling.
8928 (ediff-regions-internal): Declare.
8929 * vc/ediff-wind.el: Adjust requires.
8930 (ediff-compute-toolbar-width): Define when compiling.
8931 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8932 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8933 (dired-get-filename, dired-get-marked-files)
8934 (ediff-last-dir-patch, ediff-patch-default-directory)
8935 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8936 (ediff-patch-buffer-internal): Declare.
8937
e2aec513
GM
8938 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8939 (ispell-process, ispell-buffer-local-words, lm-summary)
8940 (lm-section-start, lm-section-end): Declare.
8941 (checkdoc-ispell-init): Simplify.
8942
e68bbd7c
GM
8943 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8944 (he-string-member, he-reset-string, he-substitute-string): Declare.
8945
7efe0991
GM
8946 * eshell/em-ls.el: Adjust requires.
8947 (eshell-glob-regexp): Declare.
f87b1284
GM
8948 * eshell/em-tramp.el: Adjust requires.
8949 (eshell-parse-command): Autoload.
8950 * eshell/em-xtra.el: Adjust requires.
8951 (eshell-parse-command): Autoload.
8952 * eshell/esh-ext.el: Adjust requires.
8953 (eshell-parse-command, eshell-close-handles): Autoload.
8954 * eshell/esh-io.el: Adjust requires.
8955 (eshell-output-filter): Autoload.
8956 * eshell/esh-util.el: No need to load tramp when compiling.
8957 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8958 Declare.
8959 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8960 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8961 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8962 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8963 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8964 * eshell/esh-opt.el, eshell/esh-proc.el:
8965 * eshell/esh-var.el: Adjust requires.
8966 * eshell/eshell.el: Do not require esh-util twice.
8967 (eshell-add-input-to-history): Declare.
8968 (eshell-command): Check history module is active before using it.
8969
d361bc10
GM
8970 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8971
85d090a9
LL
89722013-05-22 Leo Liu <sdl.web@gmail.com>
8973
8974 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8975
5d0acd9d
MA
89762013-05-22 Michael Albinus <michael.albinus@gmx.de>
8977
8978 * autorevert.el (auto-revert-notify-add-watch)
8979 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8980 it indicates changes in file modification time.
8981
0cdffd7d
GM
89822013-05-22 Glenn Morris <rgm@gnu.org>
8983
ca5995ec
GM
8984 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8985 Always delete the autoloaded function from the noruntime and
8986 unresolved functions lists.
8987
6450907e
GM
8988 * allout.el: No need to load epa, epg, overlay when compiling.
8989 (epg-context-set-passphrase-callback, epg-list-keys)
8990 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8991 (epg-key-user-id-list): Declare.
8992
9c6906f6
GM
8993 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8994 (viper-set-parsing-style-toggling-macro)
8995 (viper-set-emacs-state-searchstyle-macros):
8996 Use called-interactively-p on Emacs.
8997 (viper-looking-back): Make it an obsolete alias. Update callers.
8998 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8999 Use looking-back rather than viper-looking-back.
9000 (viper-tmp-insert-at-eob, viper-enlarge-region)
9001 (viper-read-string-with-history, viper-register-to-point)
9002 (viper-append-to-register, viper-change-state-to-vi)
9003 (viper-backward-char-carefully, viper-forward-char-carefully)
9004 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9005 (viper-change-state-to-emacs): Declare.
9006 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9007 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9008 * emulation/viper-mous.el: Do not load viper-cmd.
9009 (viper-backward-char-carefully, viper-forward-char-carefully)
9010 (viper-forward-word, viper-adjust-window): Declare.
9011
5f70c169
GM
9012 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9013
b1b7f300
GM
9014 * progmodes/idlw-help.el (idlwave-help-fontify):
9015 Use called-interactively-p.
9016
f6ebbb46
GM
9017 * term/w32console.el (w32-get-console-codepage)
9018 (w32-get-console-output-codepage): Declare.
9019
0cdffd7d
GM
9020 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9021 Remove unnecessary declarations.
9022 (dframe-message): Doc fix.
9023
9024 * info.el (dframe-select-attached-frame, dframe-current-frame):
9025 Declare.
9026
9027 * speedbar.el (speedbar-message): Make it an obsolete alias.
9028 Update all callers.
9029 (speedbar-with-attached-buffer)
9030 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9031 (speedbar-with-writable): Use backquote.
9032 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9033 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9034 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9035 rather than speedbar- aliases.
9036 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9037 (speedbar-make-specialized-keymap, speedbar-insert-button)
9038 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9039 (speedbar-do-function-pointer): Declare.
9040 (rmail-speedbar-button, rmail-speedbar-find-file)
9041 (rmail-speedbar-move-message):
9042 Use dframe-with-attached-buffer rather than speedbar- alias.
9043 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9044 (dframe-message, speedbar-make-specialized-keymap)
9045 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9046 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9047 (speedbar-insert-button, dframe-select-attached-frame)
9048 (dframe-maybee-jump-to-attached-frame)
9049 (speedbar-change-initial-expansion-list)
9050 (speedbar-previously-used-expansion-list-name): Declare.
9051 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9052 Use dframe-message, dframe-with-attached-buffer rather than
9053 speedbar- aliases.
9054 (gud-sentinel): Silence compiler.
9055 * progmodes/vhdl-mode.el (speedbar-refresh)
9056 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9057 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9058 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9059 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9060 (speedbar-file-lists, speedbar-make-tag-line)
9061 (speedbar-line-directory, speedbar-goto-this-file)
9062 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9063 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9064 (speedbar-make-button, speedbar-reset-scanners)
9065 (speedbar-files-item-info, speedbar-line-text)
9066 (speedbar-find-file-in-frame, speedbar-set-timer)
9067 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9068 (speedbar-with-writable): Do not (re)define it.
9069 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9070 rather than speedbar- alias.
9071
ee44b62a
LL
90722013-05-21 Leo Liu <sdl.web@gmail.com>
9073
9074 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9075 menu items.
9076 (octave-mode): Tweak fill-nobreak-predicate.
9077 (inferior-octave-startup): Check process to avoid infinite loop.
9078 (inferior-octave): Pop to buffer first to show abornmal process
9079 exit information.
9080
640f050f
GM
90812013-05-21 Glenn Morris <rgm@gnu.org>
9082
79458038
GM
9083 * printing.el (pr-menu-bar): Define when compiling.
9084
9cc3e83f
LL
90852013-05-21 Leo Liu <sdl.web@gmail.com>
9086
9087 * progmodes/octave.el (octave-auto-fill): Remove.
9088 (octave-indent-new-comment-line): Improve.
9089 (octave-mode): Use auto fill mode through
4f405069 9090 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9091 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9092 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9093 (octave-help): Show parent directory.
9094
f440830d
GM
90952013-05-21 Glenn Morris <rgm@gnu.org>
9096
9097 * files.el (dired-unmark):
9098 * progmodes/gud.el (gdb-input): Update declarations.
9099
9100 * calculator.el (electric, ehelp): No need to load when compiling.
9101 (Electric-command-loop, electric-describe-mode): Declare.
9102
9103 * doc-view.el (doc-view-current-converter-processes): Move before use.
9104
9105 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9106 Move MODE-set-explicitly definition before use.
9107
9108 * international/mule-diag.el (mule-diag):
9109 Don't use obsolete window-system-version.
9110
9111 * mail/feedmail.el (smtpmail): No need to load when compiling.
9112 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9113
9114 * mail/mail-utils.el (rfc822): No need to load when compiling.
9115 (rfc822-addresses): Autoload it.
9116 (mail-strip-quoted-names): Trivial simplification.
9117
9118 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9119 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9120
9121 * net/snmp-mode.el (tempo): Don't duplicate requires.
9122
9123 * progmodes/prolog.el (info): No need to load when compiling.
9124 (comint): Require before shell requires it.
9125 (Info-goto-node): Autoload it.
9126 (Info-follow-nearest-node): Declare.
9127 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9128
9129 * textmodes/artist.el (picture-mode-exit): Declare.
9130
9131 * textmodes/reftex-parse.el (reftex-parse-from-file):
9132 Trivial rewrite so the compiler can parse it better.
9133
b4da2cbb
LL
91342013-05-20 Leo Liu <sdl.web@gmail.com>
9135
9136 * progmodes/octave.el (octave-help-mode-map)
9137 (octave-help-mode-finish-hook): New variables.
9138 (octave-help-mode, octave-help-mode-finish): New functions.
9139 (octave-help): Use octave-help-mode.
9140
33c0f65b
GM
91412013-05-20 Glenn Morris <rgm@gnu.org>
9142
9143 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9144
1a0a0a8a
DG
91452013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9146
9147 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9148 start at point, so that expansion starting right after opening
9149 slash in a regexp is recognized.
9150 (ruby-syntax-before-regexp-re): New defvar, extracted from
9151 ruby-syntax-propertize-function. Since the value of this regexp
9152 is looked up at runtime now, we should be able to turn
9153 `ruby-syntax-methods-before-regexp' into a defcustom later.
9154 (ruby-syntax-propertize-function): Split regexp matching into two
9155 parts, for opening and closing slashes. That allows us to skip
9156 over string interpolations and support multiline regexps.
9157 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9158 for them, which calls `ruby-syntax-propertize-expansion'.
9159 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9160 call to `ruby-syntax-propertize-function'.
9161 (ruby-syntax-propertize-expansion): Extracted from
9162 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9163 (ruby-syntax-propertize-percent-literal): Leave point right after
9164 the percent symbol, so that the expression expansion rule can
9165 propertize the contents.
462388b6
DG
9166 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9167 heredoc openers.
9168 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9169
c1a6c0a4
JL
91702013-05-18 Juri Linkov <juri@jurta.org>
9171
9172 * man.el (Man-default-man-entry): Remove `-' from the end
9173 of the default value. (Bug#14400)
9174
8051fccd
GM
91752013-05-18 Glenn Morris <rgm@gnu.org>
9176
9177 * comint.el (comint-password-prompt-regexp):
9178 Allow "password for XXX" where XXX contains colons (eg https://...).
9179
5e80b74f
LL
91802013-05-18 Leo Liu <sdl.web@gmail.com>
9181
9182 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9183 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9184 (octave-source-directories): Don't check process.
9185 (octave-source-directories, octave-find-definition): Doc fix.
9186
521a54c5
GM
91872013-05-18 Glenn Morris <rgm@gnu.org>
9188
86a94b05
GM
9189 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9190 Remove backspace/delete bindings. (Bug#14392)
9191
521a54c5
GM
9192 * cus-dep.el (custom-make-dependencies): Sort the output.
9193 (custom-versions-load-alist): Convert comment to doc.
9194
42caeb89
LL
91952013-05-17 Leo Liu <sdl.web@gmail.com>
9196
9197 * newcomment.el (comment-search-backward): Stricter in finding
9198 comment start. (Bug#14303)
9199
9200 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9201 (octave-comment-start-skip): Properly anchored.
9202
e219dd97
LL
92032013-05-17 Leo Liu <sdl.web@gmail.com>
9204
fe1eb856
RS
9205 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9206 Clean up when turned off. (Bug#14395)
e219dd97
LL
9207 (smie--highlight-matching-block-overlay): No longer buffer-local.
9208 (smie-highlight-matching-block): Adjust.
9209
dc5dcb4b
PE
92102013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9211
9212 Doc string fix for "nanoseconds" (Bug#14406).
9213 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9214 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9215
1db165f0
JB
92162013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9217
9218 * calc/calc-units.el (math-extract-units): Preserve powers
9219 of units.
9220
c7a8fcac
LL
92212013-05-17 Leo Liu <sdl.web@gmail.com>
9222
9223 * subr.el (delete-consecutive-dups): New function.
9224 * ido.el (ido-set-matches-1): Use it.
9225 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9226 * ido.el (ido-remove-consecutive-dups): Remove.
9227
f678b18a
SM
92282013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9229
9230 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9231 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9232 regexp-opt's `words'.
9233
ebfe68e8
LL
92342013-05-16 Leo Liu <sdl.web@gmail.com>
9235
9236 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9237 (smie--highlight-matching-block-overlay)
9238 (smie--highlight-matching-block-lastpos)
9239 (smie--highlight-matching-block-timer): New variables.
9240 (smie-highlight-matching-block): New function.
9241 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9242 (smie-setup): Conditionally enable smie-blink-matching-open.
9243
bc8bc17d
WS
92442013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9245
9246 Sync with upstream verilog-mode r840.
9247 * progmodes/verilog-mode.el (verilog-mode-version)
9248 (verilog-mode-release-date): Update.
9249 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9250 (verilog-sig-tieoff): Fix string error on
9251 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9252 (verilog-read-decls): Fix parameters confusing
9253 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9254
df065a0b
EZ
92552013-05-16 Eli Zaretskii <eliz@gnu.org>
9256
9257 * subr.el (reveal-filename): New function.
9258
9259 * loadup.el: Compute Emacs executable versions on MS-Windows,
9260 where executables have the .exe extension. Add a hard link
9261 emacs-XX.YY.ZZ.exe on MS-Windows.
9262
9263 * Makefile.in (XARGS_LIMIT): New variable.
9264 (custom-deps, finder-data, autoloads)
9265 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9266 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9267 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9268 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9269
2d4bf34b
LL
92702013-05-16 Leo Liu <sdl.web@gmail.com>
9271
9272 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9273 (octave-mode-menu, octave-mode-map): Remove its uses.
9274
6b9c2d85
RZ
92752013-05-16 Reto Zimmermann <reto@gnu.org>
9276
9277 Sync with upstream vhdl mode v3.34.2.
9278 * progmodes/vhdl-mode.el: Use `push' throughout.
9279 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9280 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9281 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9282 (vhdl-actual-generic-name): New option to derive actual generic name.
9283 (vhdl-port-paste-signals): Replace formal by actual generics.
9284 (vhdl-beautify): New name for old group vhdl-align. Update users.
9285 (vhdl-beautify-options): New option.
9286 (vhdl-last-input-event): New compat alias. Use throughout.
9287 (vhdl-goto-line): Replace user level function `goto-line'.
9288 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9289 vhdl-fix-statement-buffer.
9290 (vhdl-create-mode-menu): Add some entries.
9291 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9292 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9293 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9294 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9295 to force statements on one line.
9296 (vhdl-remove-trailing-spaces-region):
9297 New, split from vhdl-remove-trailing-spaces.
9298 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9299 Respect vhdl-beautify-options.
9300 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9301 (vhdl-update-sensitivity-list): Not add with index if exists without.
9302 Not include array index with signal. Ignore keywords in comments.
9303 (vhdl-get-visible-signals): Regexp tweaks.
9304 (vhdl-template-component-inst): Handle empty library.
9305 (vhdl-template-type): Add template for 'enum' type.
9306 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9307 Use vhdl-replace-string.
9308 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9309 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9310 (vhdl-speedbar-initialize): Update for above name change.
9311 (vhdl-compose-wire-components): Fix in handling of constants.
9312 (vhdl-error-regexp-emacs-alist): New variable.
9313 (vhdl-error-regexp-add-emacs): New function;
9314 adds support for new compile.el (Emacs 22+)
9315 (vhdl-generate-makefile-1): Change target order for single lib. units.
9316 Allow use of absolute file names.
9317
9df4ec5e
LL
93182013-05-16 Leo Liu <sdl.web@gmail.com>
9319
9320 * simple.el (prog-indent-sexp): Indent enclosing defun.
9321
f5ba00a6
GM
93222013-05-15 Glenn Morris <rgm@gnu.org>
9323
ed8be7ff
GM
9324 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9325 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9326 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9327 (whitespace-highlight): Move to whitespace group.
9328
9329 * comint.el (comint-source):
9330 * pcmpl-linux.el (pcmpl-linux):
9331 * shell.el (shell-faces):
9332 * eshell/esh-opt.el (eshell-opt):
9333 * international/ccl.el (ccl): Remove empty custom groups.
9334
9335 * completion.el (dynamic-completion-mode):
9336 * jit-lock.el (jit-lock-debug-mode):
9337 * minibuffer.el (completion-in-region-mode):
9338 * type-break.el (type-break-mode-line-message-mode)
9339 (type-break-query-mode):
9340 * emulation/tpu-edt.el (tpu-edt-mode):
9341 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9342 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9343 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9344
9345 * term/xterm.el (xterm): Change parent group to terminals.
9346
9347 * master.el (master): Remove empty custom group.
9348 (master-mode): Remove unused :group argument.
9349 * textmodes/refill.el (refill): Remove empty custom group.
9350 (refill-mode): Remove unused :group argument.
9351
9352 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9353
82a7c41b
GM
9354 * cus-dep.el: Provide a feature.
9355 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9356 Don't mistakenly ignore files whose basenames match a basename
9357 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9358 Add a fallback method for getting :group.
f5ba00a6 9359
6d65486d
JL
93602013-05-15 Juri Linkov <juri@jurta.org>
9361
da547b32
JL
9362 * isearch.el (isearch-char-by-name): Rename from
9363 `isearch-insert-char-by-name'. Doc fix.
9364 (isearch-forward): Mention `isearch-char-by-name' in
9365 the docstring. (Bug#13348)
9366
6d65486d
JL
9367 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9368 `exit-minibuffer' instead of
9369 `isearch-nonincremental-exit-minibuffer'.
9370 (isearch-edit-string): Remove mention of
9371 `isearch-nonincremental-exit-minibuffer' from docstring.
9372 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9373 (isearch-forward-exit-minibuffer)
9374 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9375
c9990474
SM
93762013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9377
6e911150
SM
9378 * loadup.el: Just use unversioned DOC.
9379
c9990474
SM
9380 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9381 literals as extending to EOB.
9382 (nxml-last-fontify-end): Remove unused variable.
9383 (nxml-after-change1): Use with-silent-modifications.
9384 (nxml-extend-after-change-region): Simplify.
9385 (nxml-extend-after-change-region1): Remove function.
9386 (nxml-after-change1): Don't adjust for dependent regions.
9387 (nxml-fontify-matcher): Simplify.
9388 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9389 (xmltok-add-dependent): Remove function.
9390 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9391 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9392 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9393 unclosed <[[, <?, comment, and other literals as extending to EOB.
9394 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9395 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9396 Remove functions.
9397 (rng-do-some-validation-1): Don't mark dependent regions.
9398 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9399 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9400 (nxml-clear-dependent-regions): Remove functions.
9401 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9402 (nxml-ensure-scan-up-to-date):
9403 Don't clear&mark dependent regions.
9404
e3772e98
LL
94052013-05-15 Leo Liu <sdl.web@gmail.com>
9406
c9990474
SM
9407 * progmodes/octave.el (octave-goto-function-definition):
9408 Improve and fix callers.
e3772e98 9409
5ac2eb34
SM
94102013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9411
c46c57b0
SM
9412 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9413 the setter (bug#14387).
9414
5ac2eb34
SM
9415 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9416 surrounding group (bug#14402).
9417
180ed218
JL
94182013-05-14 Juri Linkov <juri@jurta.org>
9419
9420 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9421 (Bug#14390)
9422
0ac0fecb
GM
94232013-05-14 Glenn Morris <rgm@gnu.org>
9424
9425 * progmodes/f90.el (f90-imenu-generic-expression):
9426 Fix typo in 2013-05-08 change. (Bug#14402)
9427
2e78e6a7
JPG
94282013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9429
5ac2eb34
SM
9430 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9431 Remove signals for which replies are never received.
2e78e6a7 9432
53267cca
JPG
94332013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9434
9435 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9436 (gdb-handler-alist, gdb-handler-number): Remove variables.
9437 (gdb-handler-list): New variable.
9438 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9439 (gdb-pending-handler-p, gdb-handle-reply)
9440 (gdb-remove-all-pending-triggers): New functions.
9441 (gdb-discard-unordered-replies): New defcustom.
9442 (gdb-handler): New defstruct.
9443 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9444 instead of gdb-pending-triggers. Update docstring.
9445 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9446 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9447 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9448 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9449 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9450 (gdb-frame-handler): Pending triggers are now automatically managed.
9451 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9452 Remove argument.
9453 (gdb-input): Automatically handles pending triggers. Update docstring.
9454 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9455 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9456 Update comments.
9457 (gdb-done-or-error): Now use gdb-handle-reply.
9458
d04ce803
JPG
94592013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9460
9461 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9462 gdb-debug-log.
9463
0114073a
GM
94642013-05-14 Glenn Morris <rgm@gnu.org>
9465
9466 * subr.el (user-emacs-directory-warning): New option.
9467 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9468
4d25fd7e
LL
94692013-05-14 Leo Liu <sdl.web@gmail.com>
9470
9471 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9472 during redisplay.
9473 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9474 (octave-font-lock-texinfo-comment): Fix invalid search bound
9475 error: wrong side of point.
4d25fd7e 9476
27c8b6eb
GM
94772013-05-14 Glenn Morris <rgm@gnu.org>
9478
61aaeb01
GM
9479 * progmodes/flymake.el (flymake-xml-program): New option.
9480 (flymake-xml-init): Use it.
9481
5bf90bc5
GM
9482 * term/xterm.el: Provide a feature.
9483
9484 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9485
f4c7dfd2
GM
94862013-05-13 Glenn Morris <rgm@gnu.org>
9487
9488 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9489 Add compat aliases as a hack workaround. (Bug#14384)
9490
2aeb3a1d
LL
94912013-05-13 Leo Liu <sdl.web@gmail.com>
9492
b0e069c2
LL
9493 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9494 ###, and %!.
f5a9432f
LL
9495 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9496 C-M-q.
b0e069c2
LL
9497 (octave-comment-start-skip): Include %!.
9498 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9499
30ea8374
LL
95002013-05-12 Leo Liu <sdl.web@gmail.com>
9501
9502 * progmodes/octave.el (inferior-octave-startup): Store the value
9503 of __octave_srcdir__ for octave-source-directories.
9504 (inferior-octave-check-process): New function refactored out of
9505 inferior-octave-send-list-and-digest.
9506 (octave-source-directories)
9507 (octave-find-definition-filename-function): New variables.
9508 (octave-source-directories)
9509 (octave-find-definition-default-filename): New functions.
9510 (octave-find-definition): Improve to find functions implemented in C++.
9511
472a3834
GM
95122013-05-12 Glenn Morris <rgm@gnu.org>
9513
9514 * calendar/diary-lib.el (diary-outlook-format-1):
9515 Don't include dayname in the output. (Bug#14349)
9516
3191b52f
GM
95172013-05-11 Glenn Morris <rgm@gnu.org>
9518
0060ac73
GM
9519 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9520
3191b52f
GM
9521 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9522 Treat cc-provide like provide.
9523
e065ba74
KR
95242013-05-11 Kevin Ryde <user42@zip.com.au>
9525
9526 * cus-dep.el (custom-make-dependencies):
9527 Use generated-autoload-load-name for the sake of files such
9528 such cedet/semantic/bovine/c.el, where the base file name
9529 is not in load-path. (Bug#5277)
9530
36f84c37
GM
95312013-05-11 Glenn Morris <rgm@gnu.org>
9532
9533 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9534 Provide features.
9535
c8730c3a
LL
95362013-05-11 Leo Liu <sdl.web@gmail.com>
9537
9538 * progmodes/octave.el (octave-indent-comment): Improve.
9539 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9540 (octave-eldoc-function-signatures, octave-eldoc-function):
9541 New functions.
c8730c3a
LL
9542 (octave-mode, inferior-octave-mode): Add eldoc support.
9543
212e29f2
RS
95442013-05-11 Richard Stallman <rms@gnu.org>
9545
9546 * epa.el (epa-decrypt-file): Take output file name as argument
9547 and read it using `interactive'.
9548
083fe0d7
LL
95492013-05-11 Leo Liu <sdl.web@gmail.com>
9550
9551 * progmodes/octave.el (octave-beginning-of-line)
9552 (octave-end-of-line): Check before using up-list because it jumps
9553 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9554 (octave-indent-comment): New function.
9555 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9556 (octave-begin-keywords, octave-end-keywords)
9557 (octave-reserved-words, octave-smie-bnf-table)
9558 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9559
8582e4c4
GM
95602013-05-11 Glenn Morris <rgm@gnu.org>
9561
f20def1f
GM
9562 * faces.el (internal-face-x-get-resource):
9563 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9564 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9565 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9566 Fix declarations.
f20def1f 9567
445f95e2
GM
9568 * calc/calc-menu.el: Make it loadable in isolation.
9569
9570 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9571 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9572 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9573 (eudc-bbdb-query-internal): Require 'bbdb.
9574
99fb2756
GM
9575 * lpr.el (lpr-headers-switches):
9576 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9577
9578 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9579
0da7ad96
GM
9580 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9581
8582e4c4
GM
9582 * term.el (term-set-escape-char): Make it idempotent.
9583
f71c50d0
LL
95842013-05-10 Leo Liu <sdl.web@gmail.com>
9585
5ac2eb34
SM
9586 * progmodes/octave.el (inferior-octave-completion-table):
9587 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9588 completion due to bug#11906.
9589 (octave-beginning-of-defun): Re-write to be more general.
9590
d5837773
GM
95912013-05-10 Glenn Morris <rgm@gnu.org>
9592
9593 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9594
027c0f75
SM
95952013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9596
9597 * comint.el (comint-redirect-send-command-to-process): Use :around
9598 rather than :override for comint-redirect-filter.
9599 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9600 Call it instead of comint-redirect-original-filter-function (which
9601 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9602
4465bfb4
JD
96032013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9604
9605 * frame.el (display-monitor-attributes-list): Add NS case.
9606 (ns-display-monitor-attributes-list): Declare.
9607
2d809ffa 96082013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9609
9610 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9611
e54eeb9b
GM
96122013-05-09 Glenn Morris <rgm@gnu.org>
9613
56cd351d
GM
9614 * international/fontset.el (vertical-centering-font-regexp):
9615 Set standard-value.
9616
d84b6108
GM
9617 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9618
a931698a
GM
9619 * bookmark.el (bookmark-search-delay):
9620 * cus-start.el (vertical-centering-font-regexp):
9621 * ps-mule.el (ps-mule-font-info-database-default):
9622 * ps-print.el (ps-default-fg, ps-default-bg):
9623 * type-break.el (type-break-good-break-interval):
9624 * whitespace.el (whitespace-indentation-regexp)
9625 (whitespace-space-after-tab-regexp):
9626 * emacs-lisp/testcover.el (testcover-1value-functions)
9627 (testcover-noreturn-functions, testcover-progn-functions)
9628 (testcover-prog1-functions):
9629 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9630 * eshell/em-glob.el (eshell-glob-translate-alist):
9631 * play/tetris.el (tetris-tty-colors):
9632 * progmodes/cpp.el (cpp-face-default-list):
9633 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9634 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9635 (idlwave-help-browser-generic-args):
9636 * progmodes/make-mode.el (makefile-special-targets-list):
9637 * progmodes/python.el (python-shell-virtualenv-path):
9638 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9639 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9640 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9641 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9642 * textmodes/reftex-vars.el (reftex-format-label-function):
9643 * textmodes/remember.el (remember-diary-file): Fix custom types.
9644
e54eeb9b
GM
9645 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9646 Add :version.
9647
455851dd
LL
96482013-05-09 Leo Liu <sdl.web@gmail.com>
9649
9650 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9651 Restore file completion. (Bug#14300)
455851dd
LL
9652 (inferior-octave-startup): Fix incorrect highlighting for the
9653 first prompt.
9654
a9e4425b
SM
96552013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9656
9657 * progmodes/ruby-mode.el: First cut at SMIE support.
9658 (ruby-use-smie): New var.
9659 (ruby-smie-grammar): New constant.
9660 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9661 (ruby-smie--forward-token, ruby-smie--backward-token)
9662 (ruby-smie-rules): New functions.
9663 (ruby-mode-variables): Setup SMIE if applicable.
9664
060ca408
EZ
96652013-05-08 Eli Zaretskii <eliz@gnu.org>
9666
9667 * simple.el (line-move-visual): Signal beginning/end of buffer
9668 only if vertical-motion moved less than it was requested. Avoids
9669 silly incorrect error messages when there are display strings with
9670 multiple newlines at EOL.
9671
1d5963cc
SM
96722013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9673
9674 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9675 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9676 (prolog-char-quote-workaround):
9677 * progmodes/cperl-mode.el (cperl-under-as-char):
9678 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9679 Mark as obsolete.
9680 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9681 their declaration.
9682 (vhdl-mode-syntax-table-init): Remove.
9683
c9990474
SM
9684 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9685 last change.
1d5963cc
SM
9686
9687 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9688 syntax for "_".
9689 (ld-script-font-lock-keywords):
9690 Change regexps to use things like \_< and \_>.
9691
9692 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9693 Change all regexps to use things like \_< and \_>.
9694
9695 * progmodes/autoconf.el (autoconf-definition-regexp)
9696 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9697 Handle a _ with symbol syntax.
9698 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9699
c9990474
SM
9700 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9701 Consolidate declaration.
1d5963cc
SM
9702 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9703 the declaration.
9704 (ada-create-syntax-table): Remove.
9705 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9706 already has the right syntax nowadays.
9707 (ada-goto-next-word): Don't change the syntax of "_".
9708
9709 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9710 with-wrapper-hook.
9711
72d3cfca
SS
97122013-05-08 Sam Steingold <sds@gnu.org>
9713
9714 * thingatpt.el (thing-at-point): Accept optional second argument
9715 NO-PROPERTIES to strip the text properties from the return value.
9716 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9717 to `thing-at-point' instead of stripping the properties ourselves.
9718 Also, when `thing-at-point' fails to find a url, prepend "http://"
9719 to the filename at point on the assumption that the user is
9720 pointing at something like gnu.org/gnu.
9721
5cb15713
JB
97222013-05-08 Juanma Barranquero <lekktu@gmail.com>
9723
9724 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9725 * faces.el (crm-separator):
9726 Silence byte-compiler.
9727
9728 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9729 (tool-bar-map): Remove unneeded defvars.
9730
ea78b95b
LL
97312013-05-08 Leo Liu <sdl.web@gmail.com>
9732
9733 Re-work a fix for bug#10994 based on Le Wang's patch.
9734 * ido.el (ido-remove-consecutive-dups): New helper.
9735 (ido-completing-read): Use it.
9736 (ido-chop): Revert fix for bug#10994.
9737
dc7466df
AS
97382013-05-08 Adam Spiers <emacs@adamspiers.org>
9739
9740 * cus-edit.el (custom-save-variables):
9741 Pretty-print long values. (Bug#14187)
9742
9ecf672a
GM
97432013-05-08 Glenn Morris <rgm@gnu.org>
9744
9745 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9746 (m4-mode-syntax-table): Init in the defvar.
9747 (m4-mode-abbrev-table): Let define-derived-mode define it.
9748
3f555be8
TT
97492013-05-08 Tom Tromey <tromey@redhat.com>
9750
9751 * progmodes/m4-mode.el (m4-mode-syntax-table):
9752 Do not treat "_" as word constituent. (Bug#14167)
9753
7cc8ae06
GM
97542013-05-07 Glenn Morris <rgm@gnu.org>
9755
4f58bc06
GM
9756 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9757 Remove explicit eshell-isearch-cancel-map.
9758
7cc8ae06
GM
9759 * progmodes/f90.el (f90-smart-end-names): New option.
9760 (f90-smart-end): Doc fix.
9761 (f90-end-block-optional-name): New constant.
9762 (f90-block-match): Respect f90-smart-end-names.
9763
ceb57e59
SM
97642013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9765
9766 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9767 about implicit semi-colons (bug#14218).
9768
4e3f9230
YM
97692013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9770
9771 * frame.el (display-monitor-attributes-list)
9772 (frame-monitor-attributes): New functions.
9773
203a5572
LL
97742013-05-06 Leo Liu <sdl.web@gmail.com>
9775
9776 * progmodes/octave.el (octave-syntax-propertize-function): Change
9777 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9778 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9779 (octave-completion-at-point): Rename from
203a5572
LL
9780 octave-completion-at-point-function.
9781 (inferior-octave-directory-tracker): Robustify.
9782 (octave-text-functions): Remove and fix its uses. No such things
9783 any more.
9784
ee6cff99
SM
97852013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9786
9787 * emacs-lisp/trace.el (trace--display-buffer): New function.
9788 (trace-make-advice): Use it.
9789
32985194
JL
97902013-05-06 Juri Linkov <juri@jurta.org>
9791
9792 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9793 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9794 Doc fix.
9795 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9796 in the help string. (Bug#12985)
9797
a1c700de
KD
97982013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9799
9800 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9801
c67c0839
SM
98022013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9803
323885fd
SM
9804 * progmodes/perl-mode.el: Add support for here documents.
9805 (perl-syntax-propertize-function): Match here-doc markers.
9806 (perl-syntax-propertize-special-constructs): Find their end.
9807 (perl-imenu-generic-expression): Use [:alnum:].
9808
c67c0839
SM
9809 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9810 (advice--add-function): Refresh the advice if already present
9811 (bug#14317).
9812
d491e7a8
IA
98132013-05-06 Ivan Andrus <darthandrus@gmail.com>
9814
9815 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9816
ddf9925e
GM
98172013-05-06 Glenn Morris <rgm@gnu.org>
9818
7cc3af27
GM
9819 * w32-fns.el (w32-charset-info-alist): Declare.
9820
16e343d6
GM
9821 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9822 of its defcustom properties.
9823 (eshell-cmpl-initialize): No need to load pcomplete.
9824
7d889a47
GM
9825 * generic-x.el: No need to require comint when compiling.
9826
ddf9925e
GM
9827 * net/eudc-export.el: Make it loadable without bbdb.
9828 (top-level): Use require rather than load-library.
9829 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9830 (eudc-batch-export-records-to-bbdb)
9831 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9832 Require bbdb.
9833
1e2c18df
SM
98342013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9837 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9838 some tweaks, instead.
9839
02502a5f
LL
98402013-05-05 Leo Liu <sdl.web@gmail.com>
9841
9842 * progmodes/octave.el (octave-font-lock-keywords)
9843 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9844 (inferior-octave-send-list-and-digest): Improve error message.
9845 (octave-mode, inferior-octave-mode): Use setq-local.
9846 (octave-help): Set info-lookup-mode.
9847
0dc04f42
RS
98482013-05-05 Richard Stallman <rms@gnu.org>
9849
6c54491c
RS
9850 * vc/compare-w.el (compare-windows-whitespace):
9851 Treat no-break space as whitespace.
9852
0dc04f42
RS
9853 * mail/rmailsum.el (rmail-summary-rmail-update):
9854 Detect empty summary and don't change selected message.
9855 (rmail-summary-goto-msg): Likewise.
9856
df8f35df
RS
9857 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9858 Doc fixes, rename args.
9859
5356e1a3
AM
98602013-05-05 Alan Mackenzie <acm@muc.de>
9861
9862 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9863
d44014cb
JL
98642013-05-05 Juri Linkov <juri@jurta.org>
9865
9866 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9867 to not add the length of the summary segment to the return value.
9868 (Bug#14125)
9869
c129b51f
LL
98702013-05-05 Leo Liu <sdl.web@gmail.com>
9871
9872 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9873 (inferior-octave-output-filter): Remove.
9874 (octave-send-region, inferior-octave-startup): Fix callers.
9875 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9876 (octave-binary-file-extensions): New user variable.
9877 (octave-find-definition): Confirm if opening binary files.
9878 (octave-help-file): Use octave-find-definition to get the binary
9879 confirmation.
9880 (octave-help): Adjust for octave-help-file change.
9881
aa7dab97
SM
98822013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9883
9884 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9885 Merge the two entries that handle function definitions.
9886 (pascal--syntax-propertize): New const.
9887 (pascal-mode): Use it. Use setq-local.
9888
fd3a9a6b
GM
98892013-05-04 Glenn Morris <rgm@gnu.org>
9890
9891 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9892 (diary-from-outlook): Respect diary-from-outlook-function.
9893
30c7e542
SM
98942013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9897 Move the declaration from C.
9898 (read-minibuffer, eval-minibuffer): Move from C.
9899 (completion-setup-function): Avoid minibuffer-completion-contents.
9900
b54f978b
LL
99012013-05-03 Leo Liu <sdl.web@gmail.com>
9902
9903 * progmodes/octave.el (octave-font-lock-keywords): Do not
9904 dehighlight 'end' in comments or strings.
30c7e542
SM
9905 (octave-completing-read, octave-goto-function-definition):
9906 New helpers.
d4d0f9b3
LL
9907 (octave-help-buffer): New user variable.
9908 (octave-help-file, octave-help-function): New button types.
9909 (octave-help): New command and bind it to C-h ;.
9910 (octave-find-definition): New command and bind it to M-.
d74a1581 9911 (user-error): Alias to error if not defined.
b54f978b 9912
27135018
LL
99132013-05-02 Leo Liu <sdl.web@gmail.com>
9914
9915 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9916 for \. (bug#14332)
9917 (octave-font-lock-keywords): Include [ and {.
9918
0d634d3a
LL
99192013-05-02 Leo Liu <sdl.web@gmail.com>
9920
9921 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9922 (inferior-octave): Remove calling comint-mode and return the buffer.
9923 (inferior-octave-startup): Cosmetic changes.
9924
b4c8295e
LL
99252013-05-02 Leo Liu <sdl.web@gmail.com>
9926
30c7e542
SM
9927 * progmodes/octave.el (octave-syntax-propertize-function):
9928 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 9929
f12ad6ec
GM
99302013-05-02 Glenn Morris <rgm@gnu.org>
9931
9932 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9933 * desktop.el (vc-dir-mode): Just autoload it here.
9934
30cac1e0
AM
99352013-05-02 Alan Mackenzie <acm@muc.de>
9936
9937 Eliminate variable c-standard-font-lock-fontify-region-function.
9938 * progmodes/cc-mode.el
9939 (c-standard-font-lock-fontify-region-function): Remove.
9940 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9941
d8ef28b1
LL
99422013-05-01 Leo Liu <sdl.web@gmail.com>
9943
2640d52e 9944 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 9945 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 9946 variables were removed from Octave in 2007.
d8ef28b1
LL
9947 (inferior-octave-startup): Fix uses.
9948 (comint-line-beginning-position): Remove compatibility code for
9949 emacs 21.
9950
ac63ec89
JL
99512013-05-01 Juri Linkov <juri@jurta.org>
9952
9953 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9954
9e9be37c
JL
99552013-05-01 Juri Linkov <juri@jurta.org>
9956
9957 * comint.el (comint-previous-matching-input): Don't print message
9958 "History item: %d" when `isearch-mode' is active.
9959 (comint-history-isearch-message): Print message "History item: %d"
9960 when `comint-input-ring-index' is not empty and this function is
9961 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9962
9b92c13b
LL
99632013-05-01 Leo Liu <sdl.web@gmail.com>
9964
9965 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9966 definitions. Use completion-at-point to insert keywords.
9967 (octave-abbrev-start): Remove.
9968 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9969
b12d33d7
LL
99702013-04-30 Leo Liu <sdl.web@gmail.com>
9971
9972 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9973 change.
9974
3d1c39fa
AM
99752013-04-30 Alan Mackenzie <acm@muc.de>
9976
9977 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
9978 * progmodes/cc-engine.el (c-back-over-member-initializers):
9979 new function.
3d1c39fa
AM
9980 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9981 (most) member init lists.
9982
5147fc17
RS
99832013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9984
9985 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9986 variable.
9987
5b78d7fc
LL
99882013-04-30 Leo Liu <sdl.web@gmail.com>
9989
9990 * progmodes/octave.el (octave-variables): Remove. No builtin
9991 variables any more. All converted to functions.
9992 (octave-font-lock-keywords, octave-completion-at-point-function):
9993 Fix uses.
9994 (octave-font-lock-texinfo-comment): New user variable.
9995 (octave-texinfo-font-lock-keywords): New variable for texinfo
9996 comment block.
9997 (octave-function-comment-block): New face.
9998 (octave-font-lock-texinfo-comment): New function.
9999 (octave-mode): Font lock texinfo comment block.
10000
38d8527b
LL
100012013-04-29 Leo Liu <sdl.web@gmail.com>
10002
10003 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10004 indexing expression.
10005 (octave-continuation-string): Do not use \.
10006 (inferior-octave-complete-impossible): Remove.
10007 (inferior-octave-completion-table)
10008 (inferior-octave-completion-at-point): Remove its uses.
10009 (inferior-octave-startup): completion_matches was introduced to
10010 Octave in 1996 so safe to assume it.
10011 (octave-function-file-comment): Improve to follow how Octave does it.
10012 (octave-update-function-file-comment): Tweak.
10013
2ec12cb0
LL
100142013-04-29 Leo Liu <sdl.web@gmail.com>
10015
10016 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10017 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10018 (octave-function-file-comment): Fix typo.
10019 (octave-sync-function-file-names): Use read-char-choice.
10020
6eaed048
JB
100212013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10022
10023 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10024 to t for the less important warnings.
10025
3ffa2d4f
DH
100262013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10027
10028 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10029
685c9501
GM
100302013-04-27 Glenn Morris <rgm@gnu.org>
10031
10032 * vc/log-view.el (log-view-current-entry):
10033 Treat "---" separator lines as part of the following rev. (Bug#14169)
10034
0208ede7
JL
100352013-04-27 Juri Linkov <juri@jurta.org>
10036
10037 * subr.el (read-number): Doc fix about using it by interactive
10038 code letter `n'. (Bug#14254)
10039
5db9dace
JL
100402013-04-27 Juri Linkov <juri@jurta.org>
10041
10042 * desktop.el (desktop-auto-save-timeout): New option.
10043 (desktop-file-checksum): New variable.
10044 (desktop-save): Add optional arg `auto-save' and don't auto-save
10045 if nothing changed.
10046 (desktop-auto-save-timer): New variable.
10047 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10048 (after-init-hook): Call `desktop-auto-save-set-timer'.
10049 Suggested by Reuben Thomas <rrt@sc3d.org> in
10050 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10051
b7260dd4
LL
100522013-04-27 Leo Liu <sdl.web@gmail.com>
10053
10054 * progmodes/octave.el (octave-function-file-p)
10055 (octave-skip-comment-forward, octave-function-file-comment)
10056 (octave-update-function-file-comment): New functions.
10057 (octave-mode-map): Bind C-c ; to
10058 octave-update-function-file-comment.
10059 (octave-mode-menu): Add octave-update-function-file-comment.
10060 (octave-mode, inferior-octave-mode): Fix doc-string.
10061 (octave-insert-defun): Conform to Octave's coding convention.
10062 (Bug#14285)
10063
10064 * files.el (basic-save-buffer): Don't let errors in
10065 before-save-hook prevent saving buffer.
10066
c46da669
RW
100672013-04-20 Roland Winkler <winkler@gnu.org>
10068
10069 * faces.el (read-face-name): Use completing-read if arg multiple
10070 is nil.
10071
a81ee1eb
IL
100722013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10073
10074 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10075 displayed, move point to after the totals line.
10076 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10077 for the details.
10078
4fac34ce
SM
100792013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10082 Add current dir to the load-path.
10083 (package-generate-autoloads): Don't rely on
10084 autoload-ensure-default-file.
10085
f6bfc063
RT
100862013-04-26 Reuben Thomas <rrt@sc3d.org>
10087
d40ab5cf
BG
10088 * textmodes/remember.el (remember-store-in-files): Document that
10089 the file name format is passed to `format-time-string'.
f6bfc063 10090
e55d3b04
LL
100912013-04-26 Leo Liu <sdl.web@gmail.com>
10092
10093 * progmodes/octave.el (octave-sync-function-file-names): New function.
10094 (octave-mode): Use it in before-save-hook.
10095
e53052d3
SM
100962013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10097
140ef50c
SM
10098 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10099 (bug#14274).
10100
e53052d3
SM
10101 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10102 \n and comment, even if it's not an implicit ; (bug#14218).
10103
af80458d 101042013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10105
10106 * subr.el (read-number): Once more use `read' rather than
10107 `string-to-number', to trap non-numeric input. (Bug#14254)
10108
af80458d 101092013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10110
10111 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10112 Use `syntax-multiline' text property consistently instead of
8a621d53 10113 `font-lock-multiline'. (Bug#14237)
70203c2e 10114
e6ea1f6c
GM
101152013-04-26 Glenn Morris <rgm@gnu.org>
10116
10117 * emacs-lisp/shadow.el (list-load-path-shadows):
10118 No longer necessary to check for duplicate simple.el, since
10119 2012-07-07 change to init_lread to not include installation lisp
10120 directories in load-path when running uninstalled. (Bug#14270)
10121
070ccca4
LL
101222013-04-26 Leo Liu <sdl.web@gmail.com>
10123
10124 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10125 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10126 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10127 octave-in-string-or-comment-p.
10128 (octave-in-comment-p, octave-in-string-p)
10129 (octave-in-string-or-comment-p): Replace defsubst with defun.
10130
9d1c5fb6
PE
101312013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10132
10133 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10134
c034abda
BG
101352013-04-25 Bastien Guerry <bzg@gnu.org>
10136
10137 * textmodes/remember.el (remember-data-directory)
10138 (remember-directory-file-name-format): Fix custom types.
10139
584ea277
LL
101402013-04-25 Leo Liu <sdl.web@gmail.com>
10141
e53052d3
SM
10142 * progmodes/octave.el (octave-completion-at-point-function):
10143 Make use of inferior octave process.
584ea277
LL
10144 (octave-initialize-completions): Remove.
10145 (inferior-octave-completion-table): New function.
10146 (inferior-octave-completion-at-point): Use it.
10147 (octave-completion-alist): Remove.
10148
1693b06a
SM
101492013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10150
10151 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10152 (opascal-mode-syntax-table): New var.
10153 (opascal-literal-kind, opascal-is-literal-end)
10154 (opascal-literal-token-at): Rewrite.
10155 (opascal--literal-start-re, opascal-font-lock-keywords)
10156 (opascal--syntax-propertize): New constants.
10157 (opascal-font-lock-defaults): Adjust.
10158 (opascal-mode): Use them. Set comment-<foo> variables as well.
10159 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10160 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10161 (delphi-other-face, opascal-other-face): Remove face variables.
10162 (opascal-save-state): Remove macro.
10163 (opascal-fontifying-progress-step): Remove constant.
10164 (opascal--ignore-changes): Remove var.
10165 (opascal-set-token-property, opascal-parse-next-literal)
10166 (opascal-is-stable-literal, opascal-complete-literal)
10167 (opascal-is-literal-start, opascal-face-of)
10168 (opascal-parse-region, opascal-parse-region-until-stable)
10169 (opascal-fontify-region, opascal-after-change)
10170 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10171 (opascal-debug-parse-region, opascal-debug-parse-window)
10172 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10173 (opascal-debug-fontify-buffer): Remove.
10174 (opascal-debug-mode-map): Adjust accordingly.
10175
be64c05d
LL
101762013-04-25 Leo Liu <sdl.web@gmail.com>
10177
10178 Merge octave-mod.el and octave-inf.el into octave.el with some
10179 cleanups.
10180 * progmodes/octave.el: New file renamed from octave-mod.el.
10181 * progmodes/octave-inf.el: Merged into octave.el.
10182 * progmodes/octave-mod.el: Renamed to octave.el.
10183
d79d37bd
TH
101842013-04-25 Tassilo Horn <tsdh@gnu.org>
10185
10186 * textmodes/reftex-vars.el
10187 (reftex-label-ignored-macros-and-environments): New defcustom.
10188
10189 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10190
ced3fc5d
SM
101912013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10192
10193 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10194 (smie-indent-keyword): Improve the check to ensure that the next
10195 comment is really on the same line.
10196 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10197
10198 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10199 semi-colons if the line is not otherwise empty (bug#14218).
10200
1c141dad
GM
102012013-04-25 Glenn Morris <rgm@gnu.org>
10202
10203 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10204
5058062a
SM
102052013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * progmodes/opascal.el (opascal-set-token-property): Rename from
10208 opascal-set-text-properties and only set `token' (bug#14134).
10209 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10210 (opascal-literal-text-properties): Remove.
10211 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10212 Adjust callers.
10213
5db9dace 102142013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10215
10216 * textmodes/remember.el (remember-handler-functions): Add an
10217 option for a new handler `remember-store-in-files'.
10218 (remember-data-directory, remember-directory-file-name-format):
10219 New options.
10220 (remember-store-in-files): New function to store remember notes
10221 as separate files within a directory.
10222
4391916c
MH
102232013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10224
10225 * progmodes/compile.el (compilation-next-error-function):
10226 Pass "formats" to compilation-find-file (bug#11777).
10227
bb7cdf58
GM
102282013-04-24 Glenn Morris <rgm@gnu.org>
10229
3b8fe752 10230 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10231 * vc/vc-hg.el (vc-hg-print-log):
10232 * vc/vc-svn.el (vc-svn-print-log):
10233 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10234
bb7cdf58
GM
10235 * vc/vc-bzr.el (vc-bzr-print-log):
10236 * vc/vc-cvs.el (vc-cvs-print-log):
10237 * vc/vc-git.el (vc-git-print-log):
10238 * vc/vc-hg.el (vc-hg-print-log):
10239 * vc/vc-mtn.el (vc-mtn-print-log):
10240 * vc/vc-rcs.el (vc-rcs-print-log):
10241 * vc/vc-sccs.el (vc-sccs-print-log):
10242 * vc/vc-svn.el (vc-svn-print-log):
10243 * vc/vc.el (vc-print-log-internal): Doc fixes.
10244
b46a056e
GM
102452013-04-23 Glenn Morris <rgm@gnu.org>
10246
10247 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10248 Remove venerable code attempting to avoid substitute-command-keys.
10249
0aecf718
TH
102502013-04-23 Tassilo Horn <tsdh@gnu.org>
10251
4391916c
MH
10252 * textmodes/reftex-vars.el (reftex-label-regexps):
10253 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10254
117f94cf
SM
102552013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10256
4391916c 10257 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10258 Use lexical-binding.
10259 (jit-lock-force-redisplay): Use markers, check buffer's continued
10260 existence and beware narrowed buffers.
10261 (jit-lock-fontify-now): Adjust call accordingly.
10262
1d829c64
SM
102632013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10264
10265 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10266 to avoid misleading the user.
10267
72d548a9
LL
102682013-04-22 Leo Liu <sdl.web@gmail.com>
10269
10270 * info-look.el: Prefer latex2e.info. (Bug#14240)
10271
d0853629
MA
102722013-04-22 Michael Albinus <michael.albinus@gmx.de>
10273
10274 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10275
10276 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10277 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10278 (tramp-set-completion-function, tramp-parse-putty):
10279 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10280 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10281 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10282 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10283 (tramp-call-local-coding-command): Use `tramp-call-process'
10284 instead of `tramp-compat-call-process'.
10285
10286 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10287 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10288 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10289 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10290 (tramp-maybe-send-script): Check for Perl binary.
10291 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10292
38cc0210
DU
102932013-04-22 Daiki Ueno <ueno@gnu.org>
10294
10295 * epg.el (epg-context-pinentry-mode): New function.
10296 (epg-context-set-pinentry-mode): New function.
10297 (epg--start): Pass --pinentry-mode option to gpg command.
10298
cc641ee1
XF
102992013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10300
02d844b5 10301 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10302 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10303 `completion-at-point'. (Bug#13774)
5d4e5c31 10304
cc641ee1
XF
10305 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10306 default key binding for `describe-distribution' has been moved to
10307 `C-h C-o'. (Bug#13970)
10308
1b42ee43
GM
103092013-04-21 Glenn Morris <rgm@gnu.org>
10310
10311 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10312 Add doc strings.
10313 (vc-print-log): Clarify interactive prompt.
10314
a6d63d97
GM
103152013-04-20 Glenn Morris <rgm@gnu.org>
10316
10317 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10318 No longer include timestamp etc information.
10319
d7f5c16f
RW
103202013-04-20 Roland Winkler <winkler@gnu.org>
10321
10322 * faces.el (read-face-name): Bug fix, return just one face if arg
10323 multiple is nil. (Bug#14209)
10324
bcd7a0a4
SM
103252013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10326
10327 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10328 (remove-function): Autoload.
10329
10330 * comint.el (comint-redirect-original-filter-function): Remove.
10331 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10332 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10333 (vc-cvs-annotate-command):
bcd7a0a4
SM
10334 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10335 * progmodes/prolog.el (prolog-consult-compile):
10336 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10337 Use add/remove-function instead.
10338 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10339 (gud-tooltip-process-output, gud-tooltip-tips):
10340 Use add/remove-function instead.
10341 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10342 (scheme-interaction-mode, exit-scheme-interaction-mode):
10343 Use add/remove-function instead.
10344
10345 * vc/vc-dispatcher.el: Use lexical-binding.
10346 (vc--process-sentinel): Rename from vc-process-sentinel.
10347 Change last arg to be the code to run. Don't use vc-previous-sentinel
10348 and vc-sentinel-commands any more.
10349 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10350 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10351
e36b2d20 103522013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10353
bcd7a0a4 10354 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10355 Handle function names with a single character. (Bug#14111)
4d3268ba 10356
781b4af6 103572013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10358
10359 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10360 for subroutines defined in an eval (bug#14182).
10361
7d688336
TV
103622013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10363
10364 * bookmark.el (bookmark-completing-read): Improve handling of empty
10365 string (bug#14176).
10366
31dcede0
SM
103672013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10368
10369 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10370
adc31213
FEG
103712013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10372
10373 New faster Imenu implementation (bug#14058).
10374 * progmodes/python.el:
10375 (python-imenu-prev-index-position):
10376 (python-imenu-format-item-label-function)
10377 (python-imenu-format-parent-item-label-function)
10378 (python-imenu-format-parent-item-jump-label-function):
10379 New vars.
10380 (python-imenu-format-item-label)
10381 (python-imenu-format-parent-item-label)
10382 (python-imenu-format-parent-item-jump-label)
10383 (python-imenu--put-parent, python-imenu--build-tree)
10384 (python-imenu-create-index, python-imenu-create-flat-index)
10385 (python-util-popn): New functions.
10386 (python-mode): Set imenu-create-index-function to
10387 python-imenu-create-index.
10388
cdca8255
SM
103892013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * winner.el (winner-active-region): Use region-active-p, activate-mark
10392 and deactivate-mark (bug#14225).
10393
10394 * simple.el (deactivate-mark): Don't inline it.
10395
beb42340
MA
103962013-04-18 Michael Albinus <michael.albinus@gmx.de>
10397
10398 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10399
fc7f4d7e
TH
104002013-04-18 Tassilo Horn <tsdh@gnu.org>
10401
10402 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10403 file extensions from the archive-mode entry in order to prefer
10404 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10405
29f47822
LL
104062013-04-18 Leo Liu <sdl.web@gmail.com>
10407
10408 * bindings.el (help-event-list): Add ?\?.
10409
d36ed1c8
SM
104102013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10411
10412 * subr.el (with-wrapper-hook): Declare obsolete.
10413 * simple.el (filter-buffer-substring-function): New hook.
10414 (filter-buffer-substring): Use it.
10415 (filter-buffer-substring-functions): Mark obsolete.
10416 * minibuffer.el (completion-in-region-function): New hook.
10417 (completion-in-region): Use it.
10418 (completion-in-region-functions): Mark obsolete.
10419 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10420 * abbrev.el (abbrev-expand-function): New hook.
10421 (expand-abbrev): Use it.
10422 (abbrev-expand-functions): Mark obsolete.
10423 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10424 and :filter-return.
10425
04754d36
FEG
104262013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10427
10428 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10429 and do not care about match data.
10430
dd8791e9
SM
104312013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10432
10433 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10434 completion tables when completing error conditions and
10435 `declare' arguments.
10436 (lisp-complete-symbol, field-complete): Mark as obsolete.
10437 (check-parens): Unmatched parens are user errors.
10438 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10439
ffe54a13
AM
104402013-04-17 Michal Nazarewicz <mina86@mina86.com>
10441
dd8791e9
SM
10442 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10443 command changed buffer (ie. `flyspell-pre-buffer' is not current
10444 buffer), which prevents making decisions based on invalid value of
10445 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10446 cause an error when `flyspell-pre-point' was nil after switching
10447 buffers.
10448 (flyspell-post-command-hook): No longer needs to change buffers when
10449 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10450
ec7e39f2
AM
104512013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10452
10453 * textmodes/ispell.el (ispell-add-per-file-word-list):
10454 Fix `flyspell-correct-word-before-point' error when accepting
10455 words and `coment-padding' is an integer by using
10456 `comment-normalize-vars' (Bug #14214).
10457
083850a6
FEG
104582013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10459
10460 New defun movement commands.
10461 * progmodes/python.el (python-nav--syntactically)
10462 (python-nav--forward-defun, python-nav-backward-defun)
10463 (python-nav-forward-defun): New functions.
10464
619ed6e1
FEG
104652013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10466
10467 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10468 (python-syntax-context): Use named compiler-macro for backwards
10469 compatibility with Emacs 24.x.
10470
7a1beb6c
LL
104712013-04-17 Leo Liu <sdl.web@gmail.com>
10472
10473 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10474 octave-hide-process-buffer.
10475
2d3fa3e5
SM
104762013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10477
10478 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10479 (bug#14216).
10480
7ce5be54
JPG
104812013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10482
10483 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10484 Fix adjustment of offset when receiving incomplete responses from GDB
10485 (bug#14129).
10486
351edece
SM
104872013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10488
10489 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10490 python-mode-abbrev-table.
10491 (python-skeleton-define): Adjust accordingly.
10492 (python-mode-abbrev-table): New table that inherits from it so that
10493 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10494
10495 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10496 (abbrev-symbol): Use it.
10497 (abbrev--before-point): Use it since we already handle inheritance.
10498
613f9481
LL
104992013-04-16 Leo Liu <sdl.web@gmail.com>
10500
10501 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10502 binding to info-lookup-symbol.
10503
51646b62
JB
105042013-04-16 Juanma Barranquero <lekktu@gmail.com>
10505
10506 * minibuffer.el (completion--twq-all):
10507 * term/ns-win.el (ns-initialize-window-system):
10508 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10509
efb3f01d
SM
105102013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10511
36c0a301
SM
10512 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10513 global bindings.
10514
efb3f01d
SM
10515 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10516
fb549d64
DG
105172013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10518
10519 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10520 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10521 to nil.
10522 (ruby-end-of-defun): Remove the unused arg, change the docstring
10523 to reflect that this function is only used as the value of
10524 `end-of-defun-function'.
10525 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10526 to reflect an earlier change that beginning/end-of-defun functions
10527 jump between methods in a class definition, as well as top-level
10528 functions.
10529
21e8fe2f
SM
105302013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10531
10532 * minibuffer.el (minibuffer-complete): Don't just scroll
10533 a *Completions* that's been iconified.
10534 (minibuffer-force-complete): Make sure repetitions do cycle when going
10535 through completion-in-region -> minibuffer-complete.
10536
20e527d0
AM
105372013-04-15 Alan Mackenzie <acm@muc.de>
10538
10539 Correct the placement of c-cpp-delimiters when there're #s not at
10540 col 0.
10541
10542 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10543 place a submatch around the #.
21e8fe2f
SM
10544 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10545 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10546 on the #, not BOL.
10547
dabefae5
SM
105482013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10551 (advice--member-p): New arg `name'.
10552 (advice--add-function, advice-member-p): Use it (bug#14202).
10553
85c9ab64
AM
105542013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10555
10556 Reformulate java imenu-generic-expression.
10557 The old expression contained ill formed regexps.
10558
10559 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10560 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10561 (cc-imenu-java-method-arg-regexp): New defconsts.
10562 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10563 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10564 handling of spaces in the regexp.
10565
0f821d99
AM
105662013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10567
10568 * textmodes/ispell.el (ispell-command-loop): Remove
10569 flyspell highlight of a word when ispell accepts it (bug #14178).
10570
eb922adf
MA
105712013-04-15 Michael Albinus <michael.albinus@gmx.de>
10572
10573 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10574 uses code from the previous `ange-ftp-run-real-handler'.
10575 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10576 only in case that function exist. This is needed for proper
10577 unloading of Tramp.
10578
4d9a0979
TH
105792013-04-15 Tassilo Horn <tsdh@gnu.org>
10580
10581 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10582
10583 * textmodes/reftex.el (reftex-compile-variables): Use it.
10584
a829b0dc
SM
105852013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10586
91e8293c
SM
10587 * files.el (normal-mode): Only use default major-mode if no other mode
10588 was specified.
10589
830aed4d
SM
10590 * emacs-lisp/trace.el (trace-values): New function.
10591
a829b0dc
SM
10592 * files.el: Allow : in local variables (bug#14089).
10593 (hack-local-variable-regexp): New var.
10594 (hack-local-variables-prop-line, hack-local-variables): Use it.
10595
7ae9f0fb
RW
105962013-04-13 Roland Winkler <winkler@gnu.org>
10597
10598 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10599 data before it gets modified by bibtex-beginning-of-entry.
10600
6646e848
RW
106012013-04-13 Roland Winkler <winkler@gnu.org>
10602
10603 * textmodes/bibtex.el (bibtex-url): Doc fix.
10604
106052013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10606
10607 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10608 does not visit a BibTeX file, exclude it from the list of buffers
10609 returned by bibtex-initialize.
10610
0aa3616e
SB
106112013-04-13 Stephen Berman <stephen.berman@gmx.net>
10612
10613 * window.el (split-window): Remove interactive form, since as a
10614 command this function is a special case of split-window-below.
10615 Correct doc string.
10616
011cddd6
RW
106172013-04-12 Roland Winkler <winkler@gnu.org>
10618
10619 * faces.el (read-face-name): Do not override value of arg default.
10620 Allow single faces and strings as default values. Remove those
10621 elements from return value that are not faces.
10622 (describe-face): Simplify.
10623 (face-at-point): New optional args thing and multiple so that this
10624 function can provide the same functionality previously provided by
10625 read-face-name.
10626 (make-face-bold, make-face-unbold, make-face-italic)
10627 (make-face-unitalic, make-face-bold-italic, invert-face)
10628 (modify-face, read-face-and-attribute): Use face-at-point.
10629
10630 * cus-edit.el (customize-face, customize-face-other-window)
10631 * cus-theme.el (custom-theme-add-face)
10632 * face-remap.el (buffer-face-set)
10633 * facemenu.el (facemenu-set-face): Use face-at-point.
10634
f24e0036
MA
106352013-04-12 Michael Albinus <michael.albinus@gmx.de>
10636
10637 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10638
da3cda2d
TH
106392013-04-10 Tassilo Horn <tsdh@gnu.org>
10640
10641 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10642 off leading { and trailing } from field values.
10643
15e54145
SM
106442013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10645
78ce603d
SM
10646 * emacs-lisp/timer.el (timer--check): New function.
10647 (timer--time, timer-set-function, timer-event-handler): Use it.
10648 (timer-set-idle-time): Simplify.
10649 (timer--activate): CSE.
10650 (timer-event-handler): Give more info in error message.
10651 (internal-timer-start-idle): New function, moved from C.
10652
15e54145
SM
10653 * mpc.el (mpc-proc): Add `restart' argument.
10654 (mpc-proc-cmd): Use it.
10655 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10656 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10657 less often.
10658
7144c627
MY
106592013-04-10 Masatake YAMATO <yamato@redhat.com>
10660
10661 * progmodes/sh-script.el: Implement `sh-mode' own
10662 `add-log-current-defun-function' (bug#14112).
10663 (sh-current-defun-name): New function.
10664 (sh-mode): Use the function.
10665
b39792eb
BG
106662013-04-09 Bastien Guerry <bzg@gnu.org>
10667
10668 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10669
8acdeb71
SM
106702013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10671
6fcdab68
SM
10672 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10673
8acdeb71
SM
10674 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10675 timer (bug#14156).
10676
e3e7b504
NF
106772013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10678
10679 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10680 declaration.
10681
201bb296
LL
106822013-04-07 Leo Liu <sdl.web@gmail.com>
10683
10684 * pcmpl-x.el: New file.
10685
ebb19708
DA
106862013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10687
10688 Do not set x-display-name until X connection is established.
10689 This is needed to prevent from weird situation described at
10690 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10691 * frame.el (make-frame): Set x-display-name after call to
10692 window system initialization function, not before.
10693 * term/x-win.el (x-initialize-window-system): Add optional
10694 display argument and use it.
10695 * term/w32-win.el (w32-initialize-window-system):
10696 * term/ns-win.el (ns-initialize-window-system):
10697 * term/pc-win.el (msdos-initialize-window-system):
10698 Add compatible optional display argument.
10699
33bb237a
EZ
107002013-04-06 Eli Zaretskii <eliz@gnu.org>
10701
10702 * files.el (normal-backup-enable-predicate): On MS-Windows and
10703 MS-DOS compare truenames of temporary-file-directory and of the
10704 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10705 don't fail comparison by compare-strings. Also, compare file
10706 names case-insensitively on MS-Windows and MS-DOS.
10707
134abf1f
SM
107082013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10709
10710 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10711 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10712
d695cb94
DG
107132013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10714
e3e7b504
NF
10715 * whitespace.el (whitespace-color-on, whitespace-color-off):
10716 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10717
f4ad7ea1 107182013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10719
10720 * ispell.el (ispell-set-spellchecker-params):
10721 Really set `ispell-args' for all equivs.
10722
632556e4
SM
107232013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * ido.el (ido-completions): Use extra elements of ido-decorations
10726 (bug#14143).
10727 (ido-decorations): Update docstring.
10728
2a417372
MA
107292013-04-05 Michael Albinus <michael.albinus@gmx.de>
10730
10731 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10732 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10733 nil during initialization, in order not to miss changes since the
10734 file was opened. (Bug#14140)
10735
fc164b0c
LL
107362013-04-05 Leo Liu <sdl.web@gmail.com>
10737
10738 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10739
0ccecc08
JB
107402013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10741
10742 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10743
51af1aa2
GM
107442013-04-04 Glenn Morris <rgm@gnu.org>
10745
10746 * electric.el (electric-pair-inhibit-predicate): Add :version.
10747
b208ebc6
SM
107482013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10749
10750 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10751 when a package is required several times (bug#14082).
10752
f3d3eaf0
RW
107532013-04-04 Roland Winkler <winkler@gnu.org>
10754
10755 * faces.el (read-face-name): Behave as promised by the docstring.
10756 Assume that arg default is a list of faces.
10757 (describe-face): Call read-face-name with list of default faces.
10758
2575da50
TV
107592013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10760
10761 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10762 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10763 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10764 the header.
10765 (bookmark-exit-hook-internal): Save even if list is empty.
10766
397703b4
YH
107672013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10768
10769 * emacs-lisp/package.el (package-pinned-packages): New var.
10770 (package--add-to-archive-contents): Obey it (bug#14118).
10771
691e26ae
AM
107722013-04-03 Alan Mackenzie <acm@muc.de>
10773
8a621d53
JB
10774 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10775 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10776
10777 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10778 parameter `not-in-delimiter'. Handle being inside comment opener.
10779 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10780 character in case we're typing a '*' after a '/'.
10781 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10782 instead by passing the parameter to c-state-pp-to-literal.
10783
10784 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10785 for elt. 7 of a parse state.
10786
4b725a70
PE
107872013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10788
10789 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10790 * international/latin1-disp.el, international/mule-util.el:
10791 * language/cyril-util.el, language/european.el, language/ind-util.el:
10792 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10793 * language/tibetan.el, language/viet-util.el:
10794 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10795
15c579f0
SM
107962013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10799 (electric-pair-post-self-insert-function): Use it.
10800 (electric-pair-default-inhibit): New function, extracted from
10801 electric-pair-post-self-insert-function.
10802
a77e2924
RW
108032013-03-31 Roland Winkler <winkler@gnu.org>
10804
10805 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10806
2bd8a4a8
SM
108072013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10810
8d3655be 108112013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10812
10813 Un-indent after "pass" and "return" statements (Bug#13888)
10814 * progmodes/python.el (python-indent-block-enders): New var.
10815 (python-indent-calculate-indentation): Use it.
10816
8d3655be 108172013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10818
10819 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10820 defun. Defining it as defalias could introduce too eager
10821 byte-compiler optimization. (Bug#14030)
10822
8d3655be 108232013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10824
10825 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10826
0b1619da
LL
108272013-03-30 Leo Liu <sdl.web@gmail.com>
10828
10829 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10830 (kmacro-execute-from-register): Pass the keyboard macro to
10831 kmacro-call-macro or repeating won't work correctly.
10832
0b938190
TZ
108332013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10834
10835 * progmodes/subword.el: Back to using `forward-symbol'.
10836
10837 * subr.el (forward-whitespace, forward-symbol)
10838 (forward-same-syntax): Move from thingatpt.el.
10839
35710234
LL
108402013-03-29 Leo Liu <sdl.web@gmail.com>
10841
10842 * kmacro.el (kmacro-to-register): New command.
10843 (kmacro-execute-from-register): New function.
10844 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10845
efc0bb73
SM
108462013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10847
10848 * mpc.el: Use defvar-local and setq-local.
10849 (mpc--proc-connect): Connection failures are not bugs.
10850 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10851 (mpc-volume-map): Bind to the up-events.
10852
75a2f981
TZ
108532013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10854
10855 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10856 instead of `forward-symbol'.
10857
17c781d1
SM
108582013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10859
10860 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10861 (edebug--recursive-edit): Use it.
10862 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10863 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10864
f67bfbcf
LL
108652013-03-28 Leo Liu <sdl.web@gmail.com>
10866
10867 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10868
b59f639d
EZ
108692013-03-27 Eli Zaretskii <eliz@gnu.org>
10870
10871 * facemenu.el (list-colors-callback): New defvar.
10872 (list-colors-redisplay): New function.
10873 (list-colors-display): Install list-colors-redisplay as the
10874 revert-buffer-function. (Bug#14063)
10875
f557c1b1
SM
108762013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10877
b1da2957
SM
10878 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10879 and suffixes don't overlap (bug#14061).
10880
f557c1b1
SM
10881 * case-table.el: Use lexical-binding.
10882 (case-table-get-table): New function.
10883 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10884
002668e1
TZ
108852013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10886
10887 * progmodes/subword.el: Add `superword-mode' to do word motion
10888 over symbol_words (parallels and leverages `subword-mode' which
10889 does word motion inside MixedCaseWords).
10890
73572c72
AG
108912013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10892
78b8f320 10893 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10894 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10895
69b2c07e
SM
108962013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10899 Change return value to be a sexp. Delay `get-buffer' to after
10900 restoring the desktop (bug#13951).
10901
08bb5ee2
LL
109022013-03-26 Leo Liu <sdl.web@gmail.com>
10903
10904 * register.el: Move semantic tag handling back to
10905 cedet/semantic/senator.el. (Bug#14052)
10906
8d4c974e
SM
109072013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10910 into the prompt either (bug#13963).
10911
b234d92c
SM
109122013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10915 part of "(error-foo)".
10916
ddfa3cb4
JL
109172013-03-24 Juri Linkov <juri@jurta.org>
10918
10919 * replace.el (list-matching-lines-prefix-face): New defcustom.
10920 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10921 `occur-engine' if `face-differs-from-default-p' returns t.
10922 (occur-engine): Add `,' inside backquote construct to evaluate
10923 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10924 Pass `prefix-face' to the functions `occur-context-lines' and
10925 `occur-engine-add-prefix'.
10926 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10927 `prefix-face' and propertize the prefix with `prefix-face'.
10928 (Bug#14017)
10929
7b0e2f85
LL
109302013-03-24 Leo Liu <sdl.web@gmail.com>
10931
10932 * nxml/rng-valid.el (rng-validate-while-idle)
10933 (rng-validate-quick-while-idle): Guard against deleted buffer.
10934 (Bug#13999)
10935
10936 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10937 is the last entry in kill-buffer-hook.
10938
10939 * files.el (kill-buffer-hook): Doc fix.
10940
b3082f49
DG
109412013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10942
b234d92c
SM
10943 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10944 Make it safe-local.
bde73d27 10945
b3082f49
DG
10946 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10947
a320a2db
LL
109482013-03-23 Leo Liu <sdl.web@gmail.com>
10949
7e74b0fb
LL
10950 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10951 Remove.
10952
10953 * nxml/rng-valid.el (rng-validate-mode)
10954 (rng-after-change-function, rng-do-some-validation):
10955 * nxml/rng-maint.el (rng-validate-buffer):
10956 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10957 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10958 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10959 (nxml-extend-after-change-region): Use with-silent-modifications.
10960
a320a2db
LL
10961 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10962 timer-idle-list.
10963
10964 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10965 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10966 timer-idle-list. (Bug#13999)
10967
e38e6780
JL
109682013-03-23 Juri Linkov <juri@jurta.org>
10969
10970 * info.el (info-index-match): New face.
10971 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10972 main pattern and add text properties with the new face to matches
10973 in index entries relative to the beginning of the index entry.
10974 (Bug#14015)
10975
e8cc7880
DE
109762013-03-21 Eric Ludlam <zappo@gnu.org>
10977
10978 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10979 Inhibit read only while inserting objects.
10980
9bb0d822
TZ
109812013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10982
10983 * progmodes/cfengine.el: Update docs to mention
10984 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10985 symbol motion. Remove "_" from the word syntax.
10986
aa703640
TZ
109872013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10988
10989 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10990 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10991
afff09d0
JL
109922013-03-20 Juri Linkov <juri@jurta.org>
10993
10994 * info.el (Info-next-reference-or-link)
10995 (Info-prev-reference-or-link): New functions.
10996 (Info-next-reference, Info-prev-reference): Use them.
10997 (Info-try-follow-nearest-node): Handle footnote navigation.
10998 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10999
9a1ff164
SM
110002013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11003 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11004
2667d15d
PE
110052013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11006
11007 Suppress unnecessary non-ASCII chatter during build process.
11008 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11009 (batch-skkdic-convert): Suppress most of the chatter.
11010 It's not needed so much now that machines are faster,
11011 and its non-ASCII component was confusing; see Dmitry Gutov in
11012 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11013
438b0579
LL
110142013-03-20 Leo Liu <sdl.web@gmail.com>
11015
11016 * ido.el (ido-chop): Fix bug#10994.
11017
c128ab07
DG
110182013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11019
11020 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11021 Remove vars.
9a1ff164
SM
11022 (whitespace-color-on, whitespace-color-off):
11023 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11024
0e6008c5
SM
110252013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11026
11027 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11028 remapping in mode-line.
11029 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11030
627b52b0
DG
110312013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11032
11033 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11034 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11035 (whitespace-font-lock-keywords): Change description.
11036 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11037 the constructed keywords instead.
11038 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11039
50c3a20b
LL
110402013-03-19 Leo Liu <sdl.web@gmail.com>
11041
11042 * progmodes/compile.el (compilation-display-error): New command.
11043 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11044 C-o. (Bug#13992)
11045
2aa2157b
PE
110462013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11047
11048 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11049
e477dbfa
JD
110502013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11051
11052 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11053
64ab82d1
MA
110542013-03-18 Michael Albinus <michael.albinus@gmx.de>
11055
11056 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11057
11058 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11059 * net/tramp-gvfs.el (top):
11060 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11061 (tramp-handle-shell-command): Use it.
11062 (tramp-dissect-file-name): Raise an error when hostname is a
11063 method name, and neither method nor user is specified.
11064
11065 * net/trampver.el: Update release number.
11066
33cef733
LL
110672013-03-18 Leo Liu <sdl.web@gmail.com>
11068
11069 Make sure eldoc can be turned off properly.
11070 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11071 eldoc-mode.
11072 (eldoc-display-message-p): Revert last change.
11073 (eldoc-display-message-no-interference-p)
11074 (eldoc-print-current-symbol-info): Tweak.
11075
2167b7b2
TH
110762013-03-18 Tassilo Horn <tsdh@gnu.org>
11077
11078 * doc-view.el (doc-view-new-window-function): Check the new window
11079 overlay's display property instead the char property of the
11080 buffer's first char. Use `with-selected-window' instead of
11081 `save-window-excursion' with `select-window'.
11082 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11083 display property instead the char property of the buffer's first char.
2167b7b2 11084
982efbcd
PE
110852013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11086
11087 Automate the build of ja-dic.el (Bug#13984).
11088 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11089 from the input, rather than assume that it's been done for us by the
11090 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11091 the current date into a ja-dic.el comment, as that complicates
11092 regression testing.
11093
2fcc7665
SM
110942013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11095
11096 * whitespace.el: Fix double evaluation.
11097 (whitespace-space, whitespace-hspace, whitespace-tab)
11098 (whitespace-newline, whitespace-trailing, whitespace-line)
11099 (whitespace-space-before-tab, whitespace-indentation)
11100 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11101 obsolete defvars.
11102 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11103 (whitespace-color-on): Use a single font-lock-add-keywords call.
11104 Fix double-evaluation of face variables.
11105
67c0a6e6
MA
111062013-03-17 Michael Albinus <michael.albinus@gmx.de>
11107
2fcc7665
SM
11108 * net/tramp-adb.el (tramp-adb-parse-device-names):
11109 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11110 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11111
69489f1d
LL
111122013-03-17 Leo Liu <sdl.web@gmail.com>
11113
11114 Extend eldoc to display info in the mode-line. (Bug#13978)
11115 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11116 (eldoc-mode-line-string): New variable.
11117 (eldoc-minibuffer-message): New function.
11118 (eldoc-message-function): New variable.
11119 (eldoc-message): Use it.
11120 (eldoc-display-message-p)
2fcc7665
SM
11121 (eldoc-display-message-no-interference-p):
11122 Support eldoc-post-insert-mode.
69489f1d
LL
11123
11124 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11125 (eval-expression): Run it.
11126
9c44569e
RW
111272013-03-17 Roland Winkler <winkler@gnu.org>
11128
11129 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11130 strings in the list of return values.
11131
327f1f6f
JB
111322013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11133
11134 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11135 radix before checking for HMS forms.
11136
67ed8fcd
LL
111372013-03-16 Leo Liu <sdl.web@gmail.com>
11138
11139 * progmodes/scheme.el: Add indentation and font-locking for λ.
11140 (Bug#13975)
11141
78be8b64 111422013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11143
11144 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11145 token before point (bug#13942).
11146
78be8b64 111472013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11148
95b43468 11149 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11150
98e775e6
EZ
111512013-03-16 Eli Zaretskii <eliz@gnu.org>
11152
11153 * startup.el (command-line-normalize-file-name): Fix handling of
11154 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11155 <xfq.free@gmail.com> in
11156 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11157
2edd6029
MA
111582013-03-15 Michael Albinus <michael.albinus@gmx.de>
11159
11160 Sync with Tramp 2.2.7.
11161
11162 * net/trampver.el: Update release number.
11163
d35f5864
TH
111642013-03-14 Tassilo Horn <tsdh@gnu.org>
11165
e903c210 11166 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11167 (doc-view-insert-image): Don't modify overlay associated to
11168 non-live windows, and implement horizontal centering of image in
11169 case it's smaller than the window.
11170 (doc-view-new-window-function): Force redisplay of new windows on
11171 doc-view buffers.
d35f5864 11172
1c4a85ed
KF
111732013-03-13 Karl Fogel <kfogel@red-bean.com>
11174
11175 * saveplace.el (save-place-alist-to-file): Don't sort
11176 `save-place-alist', just pretty-print it (bug#13882).
11177
85b66a21
MA
111782013-03-13 Michael Albinus <michael.albinus@gmx.de>
11179
a020afb9
JB
11180 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11181 Check whether `default-file-name-coding-system' is bound.
11182 It isn't in XEmacs.
85b66a21 11183
175600da
SM
111842013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11185
e7f7cb1a
SM
11186 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11187 backquotes for `obsolete' (bug#13929).
11188
175600da
SM
11189 * international/mule.el (find-auto-coding): Include file name in
11190 obsolescence warning (bug#13922).
11191
ca68a22e
TZ
111922013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11193
11194 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11195 for CFEngine 3-specific indentation.
11196 (cfengine3-indent-line): Use it. Fix up category regex.
11197 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11198
940e5099
SM
111992013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11200
11201 * type-break.el (type-break-file-name):
11202 * textmodes/remember.el (remember-data-file):
11203 * strokes.el (strokes-file):
11204 * shadowfile.el (shadow-initialize):
11205 * saveplace.el (save-place-file):
11206 * ps-bdf.el (bdf-cache-file):
11207 * progmodes/idlwave.el (idlwave-config-directory):
11208 * net/quickurl.el (quickurl-url-file):
11209 * international/kkc.el (kkc-init-file-name):
11210 * ido.el (ido-save-directory-list-file):
11211 * emulation/viper.el (viper-custom-file-name):
11212 * emulation/vip.el (vip-startup-file):
11213 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11214 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11215
cc725808
PE
112162013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11217
11218 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11219 * language/thai-word.el: Switch to UTF-8.
11220
a020afb9 11221See ChangeLog.16 for earlier changes.
e3d51b27
MR
11222
11223;; Local Variables:
11224;; coding: utf-8
e3d51b27
MR
11225;; End:
11226
ab422c4d 11227 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11228
11229 This file is part of GNU Emacs.
11230
11231 GNU Emacs is free software: you can redistribute it and/or modify
11232 it under the terms of the GNU General Public License as published by
11233 the Free Software Foundation, either version 3 of the License, or
11234 (at your option) any later version.
11235
11236 GNU Emacs is distributed in the hope that it will be useful,
11237 but WITHOUT ANY WARRANTY; without even the implied warranty of
11238 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11239 GNU General Public License for more details.
11240
11241 You should have received a copy of the GNU General Public License
11242 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.