* lisp/emacs-lisp/subr-x.el: Renamed from helpers.el.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
131e4695
BB
12013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2
3 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4 helpers.el was a poor choice of name.
5
c44de18d
MR
62013-12-20 Martin Rudalics <rudalics@gmx.at>
7
8 Fix assignment for new window total sizes.
9 * window.el (window--pixel-to-size): Remove function.
10 (window--pixel-to-total-1, window--pixel-to-total): Fix
11 calculation of new total sizes.
12
ca65efcc
VS
132013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14
15 * comint.el (comint-output-filter): Fix rear-nonsticky property
16 placement (Bug#16010).
17
a9574eb7
CY
182013-12-20 Chong Yidong <cyd@gnu.org>
19
20 * faces.el (read-color): Minor fix for completion function.
21
b520f210
DG
222013-12-20 Dmitry Gutov <dgutov@yandex.ru>
23
24 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New
25 option. (Bug#16182)
26 (ruby-smie--indent-to-stmt-p): Use it.
27 (ruby-smie-rules): Revert the logic in the handling of `when'.
28 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
29 (ruby-deep-arglist, ruby-deep-indent-paren)
30 (ruby-deep-indent-paren-style): Update docstrings to note that the
31 vars don't have any effect with SMIE.
32
26b75b45
JB
332013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
34
35 * calc/calc.el (calc-enter, calc-pop): Use the variable
36 `calc-context-sensitive-enter'.
37
cf91cee7
LMI
382013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
39
40 * net/shr.el (shr-insert): Protect against infloops in degenerate
41 tables.
42
51d971b4
RS
432013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
44
45 * progmodes/octave.el (octave): Add link to manual and octave
46 homepage.
47 (octave-mode-menu): Link to octave-mode manual.
48
8c2e462a
LL
492013-12-20 Leo Liu <sdl.web@gmail.com>
50
51 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
52 insertion using skeleton-end-newline. (Bug#16138)
53
501158bc
JL
542013-12-20 Juri Linkov <juri@jurta.org>
55
56 * replace.el (occur-engine): Use `add-face-text-property'
57 to add the face property to matches and titles. (Bug#14645)
58
59 * hi-lock.el (hi-green): Use lighter color "light green" closer to
60 the palette of other hi-lock colors.
61 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
62
50ab1da6
JL
632013-12-19 Juri Linkov <juri@jurta.org>
64
65 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
66 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
67 (minibuffer-history-symbol): Move variable declaration closer to
68 its usage.
69
70 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
71 (Bug#14785)
72
3d6e95e7
JL
732013-12-19 Juri Linkov <juri@jurta.org>
74
75 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
76 New function.
77 (log-edit-hook): Add it to :options. (Bug#16170)
78
b41594fd
JL
792013-12-19 Juri Linkov <juri@jurta.org>
80
81 * simple.el (eval-expression-print-format): Don't check for
82 command names and the last command. Always display additional
83 formats of the integer result in the echo area, and insert them
84 to the current buffer only with a zero prefix arg.
85 Display character when char-displayable-p is non-nil.
86 (eval-expression): With a zero prefix arg, set `print-length' and
87 `print-level' to nil, and insert the integer values from
88 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
89
90 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
91 `eval-last-sexp-arg-internal'. Doc fix.
92 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
93 `eval-last-sexp-print-value'. Doc fix.
94 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
95 Set `print-length' and `print-level' to nil when arg is zero.
96 (eval-last-sexp): Doc fix.
97 (eval-defun-2): Print the integer values from
98 `eval-expression-print-format' at the end.
99
100 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
101 values from `eval-expression-print-format' at the end.
102
103 * ielm.el (ielm-eval-input): Print the integer
104 values from `eval-expression-print-format' at the end.
105
8f2be364
TZ
1062013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
107
108 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
109 2013-12-11T19:01:44Z!tzz@lifelogs.com.
110
2230a6e3
SM
1112013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
114 (hl-line-highlight, global-hl-line-highlight): Use it.
115 (hl-line-overlay): Use defvar-local.
116
1269a680
JD
1172013-12-19 Jan Djärv <jan.h.d@swipnet.se>
118
119 * term/ns-win.el: Require dnd.
120 (global-map): Remove drag items.
121 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
122 (ns-set-background-at-mouse):
123 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
124 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
125 New functions.
1269a680 126
049638ad
GM
1272013-12-19 Glenn Morris <rgm@gnu.org>
128
129 * emacs-lisp/ert.el (ert-select-tests):
130 Fix string/symbol mixup. (Bug#16121)
131
ce41edb4
DG
1322013-12-19 Dmitry Gutov <dgutov@yandex.ru>
133
134 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
135 keywords to their parent.
136
7e1549c9
DG
1372013-12-19 Dmitry Gutov <dgutov@yandex.ru>
138
139 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
140 first arg to be a string (fixed dead code), or an operator symbol.
141 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
142 operator symbols.
143 (ruby-smie-rules): Remove parent token check in the `.' clause, it
144 did nothing. Don't respond to `(:after ".")', it will be called
145 with :before anyway. Remove the ` @ ' rule, it didn't seem to
146 change anything. Only return indentation for binary operators
147 when they are hanging. De-dent opening paren when its parent is
148 `.', otherwise it looks bad when the dot is not at bol or eol
149 (bug#16182).
150
3ee4cd64
JL
1512013-12-19 Juri Linkov <juri@jurta.org>
152
153 * replace.el (query-replace-read-args): Split a non-negative arg
154 and a negative arg into separate elements.
155 (query-replace, query-replace-regexp, replace-string)
156 (replace-regexp): Add arg `backward'. Doc fix.
157 (replace-match-maybe-edit): When new arg `backward' is non-nil,
158 move point to the beginning of the match.
159 (replace-search, replace-highlight): Use new arg `backward'
160 to set the value of `isearch-forward'.
161 (perform-replace): Add arg `backward' and use it to perform
162 replacement backward. (Bug#14979)
163
164 * isearch.el (isearch-query-replace): Use a negative prefix arg
165 to call `perform-replace' with a non-nil arg `backward'.
166
0cda6b7b
JL
1672013-12-18 Juri Linkov <juri@jurta.org>
168
169 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
170 to the default list. Move `log-edit-show-files' to the end.
171 Add more available functions to options.
172 (log-edit): Move default specific settings to
173 `log-edit-insert-message-template'. Don't move point.
174 (log-edit-insert-message-template): New function.
175 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
176 (Bug#16170)
177
b216f0a6
JL
1782013-12-18 Juri Linkov <juri@jurta.org>
179
180 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
181 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
182
1d1c55dc
LL
1832013-12-18 Leo Liu <sdl.web@gmail.com>
184
185 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
186
64e4c76e
EZ
1872013-12-18 Eli Zaretskii <eliz@gnu.org>
188
189 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
190 formats for displaying file sizes when the -s switch is given.
191 Instead, compute a separate format for displaying the size in
192 blocks, which is displayed in addition to the "regular" size.
193 When -h is given in addition to -s, produce size in blocks in
194 human-readable form as well. (Bug#16179)
195
b2984e39
TH
1962013-12-18 Tassilo Horn <tsdh@gnu.org>
197
2230a6e3
SM
198 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
199 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 200
50ff2e06
CY
2012013-12-18 Chong Yidong <cyd@gnu.org>
202
0081bc84
CY
203 * cus-edit.el (custom-magic-alist): Fix "themed" description
204 (Bug#14348).
205
a7ee9424
CY
206 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
207 is non-nil, do not create a new entry in the symbol's theme-value
208 or theme-face property; update theme-settings only (Bug#14664).
18874304 209 (custom-available-themes): Doc fix.
a7ee9424 210
8f942537
CY
211 * cus-theme.el (custom-new-theme-mode-map): Add bindings
212 (Bug#15674).
213
50ff2e06
CY
214 * replace.el (occur-engine): Avoid infloop (Bug#7593).
215
83c60f60
KI
2162013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
217
218 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
219 (Bug#13914).
220
ba874b64
SF
2212013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
222
223 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
224
1f41ee56
GM
2252013-12-18 Glenn Morris <rgm@gnu.org>
226
227 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 228 * cus-start.el (load-prefer-newer): New option.
1f41ee56 229
e82134b1
LW
2302013-12-18 Le Wang <l26wang@gmail.com>
231
2230a6e3
SM
232 * comint.el (comint-previous-matching-input-from-input):
233 Retain point (Bug#13404).
e82134b1 234
33f5d4c1
CY
2352013-12-18 Chong Yidong <cyd@gnu.org>
236
237 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
238
ccc9f6dc
GM
2392013-12-18 Glenn Morris <rgm@gnu.org>
240
241 * mail/emacsbug.el (report-emacs-bug):
242 Only mention enable-multibyte-characters if non-standard.
243
33dd8e95
JL
2442013-12-17 Juri Linkov <juri@jurta.org>
245
246 * arc-mode.el (archive-extract-by-file): Check if directory exists
247 before deletion to not show irrelevant errors if it doesn't exist.
248
7a409b30
JL
2492013-12-17 Juri Linkov <juri@jurta.org>
250
251 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
252 (Bug#14751)
253
254 * net/eww.el (browse-web): Add alias to `eww'.
255 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
256 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
257
258 * net/browse-url.el (browse-url-browser-function): Move `eww'
259 closer to similar functions.
260
261 * startup.el (fancy-startup-screen, fancy-about-screen):
262 Set browse-url-browser-function to eww-browse-url locally.
263 (Bug#14751)
264
2d6b6005
SM
2652013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * window.el (window--pixel-to-total): Remove unused `mini' var.
268 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
269 (split-window): Remove unused `new' var.
270 (window--display-buffer): Remove unused `frame' and `delta' vars.
271 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
272 and display-width'.
273
cf2b7efc
MR
2742013-12-17 Martin Rudalics <rudalics@gmx.at>
275
276 * dired.el (dired-mark-pop-up):
277 * register.el (register-preview): Don't bind
278 split-height-threshold here since it's now done in
279 display-buffer-below-selected.
280
ed3af8a7 2812013-12-17 oblique <psyberbits@gmail.com> (tiny change)
282
283 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
284 xterm-rgb-convert-to-16bit.
285 (rxvt-register-default-colors): Standardize with
286 xterm-register-default-colors (Bug#14078).
287
76da3455
DK
2882013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
289
290 * simple.el (kill-region): Pass mark first, then point, so that
291 kill-append works right (Bug#12819).
292 (copy-region-as-kill, kill-ring-save): Likewise.
293
2b84d763
LL
2942013-12-17 Leo Liu <sdl.web@gmail.com>
295
296 * net/rcirc.el (rcirc-add-face):
297 * eshell/em-prompt.el (eshell-emit-prompt):
298 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
299 (Bug#16167)
300
e2f6a0bc
CY
3012013-12-17 Chong Yidong <cyd@gnu.org>
302
303 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
304 Suggested by Xue Fuqiao.
305
35b249a6
DG
3062013-12-17 Dmitry Gutov <dgutov@yandex.ru>
307
308 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
309
e9145444
SM
3102013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * net/shr.el (shr-insert-document): Remove unused var
313 `shr-preliminary-table-render'.
314 (shr-rescale-image): Remove unused arg `force'.
315 (shr-put-image): Update calls accordingly.
316 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
317
5556c0ce
DG
3182013-12-17 Dmitry Gutov <dgutov@yandex.ru>
319
320 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
321 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
322 :close-all, to see which indentation method to use (Bug#16116).
323 (smie-rules-function): Document the method :close-all.
324
11bade0a
LMI
3252013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
326
1c4b1e61
LMI
327 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
328
11bade0a
LMI
329 * net/eww.el (eww-display-html): If we can't find the anchor we're
330 looking for, then go to point-min.
331
8fb8c4f3
PE
3322013-12-16 Paul Eggert <eggert@cs.ucla.edu>
333
334 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
335 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
336 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
337 Expand dir too, in case it's relative.
338
6c8e0ae6
JL
3392013-12-16 Juri Linkov <juri@jurta.org>
340
341 * desktop.el (desktop-auto-save-timeout): Change default to
342 `auto-save-timeout'. Doc fix.
343 (desktop-save): Skip the timestamp in desktop-saved-frameset
344 when checking for auto-save changes.
345 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
346 `desktop-auto-save' is called repeatedly by the idle timer.
347 (desktop-auto-save-set-timer): Replace `run-with-timer' with
348 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
349 (Bug#15331)
350
2178e858
JL
3512013-12-16 Juri Linkov <juri@jurta.org>
352
353 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
354 (Bug#16035)
355 (isearch-pre-command-hook): Check `this-command' for symbolp.
356
39cb42c6
SM
3572013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
358
359 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
360
5b9b750a
TZ
3612013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
362
363 * progmodes/cfengine.el (cfengine3--current-word): Remove.
364 (cfengine3--current-function): Bring in the current-function
365 functionality from `cfengine3--current-word'.
366 (cfengine3-completion-function): Bring in the
367 bounds-of-current-word functionality from
368 `cfengine3--current-word'.
369
d144ef06
MR
3702013-12-16 Martin Rudalics <rudalics@gmx.at>
371
39cb42c6
SM
372 * window.el (display-buffer-below-selected):
373 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 374
a8bbe298
LL
3752013-12-16 Leo Liu <sdl.web@gmail.com>
376
377 * progmodes/compile.el (compile-goto-error): Do not push-mark.
378 Remove NOMSG arg and all uses changed.
379
2013a2f9
SM
3802013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
383 (cua--deactivate-rectangle): Don't deactivate the mark.
384 (cua-set-rectangle-mark): Don't set mark-active since
385 cua--activate-rectangle already does it for us.
386 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
387 non-rectangular region.
388
389 * emulation/cua-base.el (cua-repeat-replace-region):
390 Use with-current-buffer.
391
392 * net/gnutls.el: Use cl-lib.
393 (gnutls-negotiate): `mapcan' -> cl-mapcan.
394
5ae811dd
TZ
3952013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
396
397 * emacs-lisp/package.el (package-built-in-p): Support both
398 built-in and the package.el converted package descriptions.
399 (package-show-package-list): Allow keywords.
400 (package-keyword-button-action): Use it instead of
401 `finder-list-matches'.
402 (package-menu-filter-interactive): Interactive filtering (by
403 keyword) function.
404 (package-menu--generate): Support keywords and change keymappings
405 and headers when they are given.
406 (package--has-keyword-p): Helper function.
407 (package-menu--refresh): Use it.
408 (package--mapc): Helper function.
409 (package-all-keywords): Use it.
410 (package-menu-mode-map): Set up menu items and keybindings to
411 provide a filtering UI.
412
31b4827e
TZ
4132013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
414
415 * net/gnutls.el (gnutls-verify-error): New defcustom to control
416 the behavior when a certificate fails validation. Defaults to
417 old behavior: never abort, just warn.
418 (gnutls-negotiate): Use it.
419
f93cc74f
MR
4202013-12-14 Martin Rudalics <rudalics@gmx.at>
421
422 * window.el (display-buffer-below-selected): Never split window
423 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
424
f77d7d17
TW
4252013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
426
427 * emacs-lisp/package.el (package--prepare-dependencies): New function.
428 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
429
430 * icomplete.el (icomplete-completions): Make sure the prefix is already
431 displayed elsewhere before hiding it.
432
276bc333
DG
4332013-12-14 Dmitry Gutov <dgutov@yandex.ru>
434
435 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
436 open-paren tokens when preceded by a open-paren, too.
437 (ruby-smie-rules): Handle virtual indentation after open-paren
438 tokens specially. If there is code between it and eol, return the
439 column where is starts (Bug#16118).
440
d43957f3
TZ
4412013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
442
a5c1ac0c 443 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 444 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
445 (cfengine3--current-word): Fix parameters.
446 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
447 (cfengine3-completion-function, cfengine3--current-function):
448 Use `assq' for symbols.
d43957f3
TZ
449 (cfengine3--current-function): Fix `cfengine3--current-word' call.
450
06a4f110
GM
4512013-12-13 Glenn Morris <rgm@gnu.org>
452
453 * loadup.el (load-path): Warn if site-load or site-init changes it.
454 No more need to reset it when bootstrapping.
455
978a5fda
TZ
4562013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
457
458 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
459 locations for cf-promises.
460 (cfengine-mode-syntax-functions-regex): New caching variable.
461 (cfengine3-fallback-syntax): Fallback syntax for cases where
462 cf-promises doesn't run.
463 (cfengine3--current-word): Reimplement using
464 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
465 (cfengine3-completion-function, cfengine3--current-function):
466 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
467 (cfengine3-clear-syntax-cache): New function.
468 (cfengine3-make-syntax-cache): Simplify and create
469 `cfengine-mode-syntax-functions-regex' on demand.
470 (cfengine3-format-function-docstring): Don't call
471 `cfengine3-make-syntax-cache' explicitly.
472
71e6691e
MR
4732013-12-13 Martin Rudalics <rudalics@gmx.at>
474
475 Fix windmove-find-other-window broken after pixelwise resizing
476 (Bug#16017).
477 * windmove.el (windmove-other-window-loc): Revert change from
478 2013-12-04.
479 (windmove-find-other-window): Call window-in-direction.
480 * window.el (window-in-direction): New arguments SIGN, WRAP and
481 MINI to emulate original windmove-find-other-window behavior.
482
84c73ba0
DG
4832013-12-13 Dmitry Gutov <dgutov@yandex.ru>
484
485 * simple.el (blink-matching--overlay): New variable.
486 (blink-matching-open): Instead of moving point, highlight the
487 matching paren with an overlay
488 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
489
490 * faces.el (paren-showing-faces, show-paren-match)
491 (show-paren-mismatch): Move from paren.el.
492
b9e20952
LL
4932013-12-13 Leo Liu <sdl.web@gmail.com>
494
495 * indent.el (indent-region): Disable progress reporter in
496 minibuffer. (Bug#16108)
497
498 * bindings.el (visual-order-cursor-movement): Fix version.
499
ce030451
FEG
5002013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
501
502 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
503 Also match after beginning of line.
504 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
505 files. Thanks to Russell Sim. (Bug#15378)
506
4a9c6865
JL
5072013-12-13 Juri Linkov <juri@jurta.org>
508
509 * simple.el <Keypad support>: Remove key bindings duplicated
510 with bindings.el. (Bug#14397)
511
2bc170c3
JL
5122013-12-13 Juri Linkov <juri@jurta.org>
513
514 * comint.el (comint-mode-map): Replace `delete-char' with
515 `delete-forward-char'. (Bug#16109)
516
bc9222c9
FEG
5172013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
518
aa2bddd7
SM
519 * progmodes/python.el (python-indent-calculate-indentation):
520 Fix de-denters cornercase. (Bug#15731)
bc9222c9 521
cb3a1380
SM
5222013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
525 (advice--make): Pay attention to `depth'.
526 (advice--make-1): Don't autoload commands eagerly.
527 * emacs-lisp/elp.el (elp-instrument-function):
528 * emacs-lisp/trace.el (trace-function-internal):
529 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
530
531 * iswitchb.el (iswitchb-mode): Don't belittle ido.
532
01633a17
EZ
5332013-12-12 Eli Zaretskii <eliz@gnu.org>
534
535 * term/w32-win.el (w32-handle-dropped-file):
536 * startup.el (normal-top-level):
537 * net/browse-url.el (browse-url-file-url):
538 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
539 decode file names using 'utf-8' rather than
540 file-name-coding-system.
541
09faee72
FEG
5422013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
543
544 * progmodes/python.el (python-indent-context)
545 (python-indent-calculate-indentation): Fix auto-identation
546 behavior for comment blocks. (Bug#15916)
547
f4f84024 5482013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 549
cb3a1380
SM
550 * progmodes/python.el (python-indent-calculate-indentation):
551 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
552 operators when they are just string constituents. (Bug#15812)
553
d5ccb7be
JL
5542013-12-12 Juri Linkov <juri@jurta.org>
555
556 * uniquify.el (uniquify-buffer-name-style): Change default to
557 `post-forward-angle-brackets'.
558
559 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
560 `uniquify'. Change default to `post-forward-angle-brackets'.
561
7b3f5679
GM
5622013-12-11 Glenn Morris <rgm@gnu.org>
563
564 * emacs-lisp/package.el (finder-list-matches):
565 Autoload rather than falsely declaring.
566
f4fe8fdd
TZ
5672013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
568
569 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
570 (eww-mode-map): Use them.
571
3c29190f
MR
5722013-12-11 Martin Rudalics <rudalics@gmx.at>
573
574 * window.el (display-buffer-in-side-window): Fix doc-string
575 (Bug#16115).
576
0cd616a2
JB
5772013-12-11 Juanma Barranquero <lekktu@gmail.com>
578
579 * vc/vc-git.el: Silence byte-compiler warnings.
580 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
581 (log-edit-set-header): Declare.
582
3ef8e0d1
EZ
5832013-12-11 Eli Zaretskii <eliz@gnu.org>
584
585 * Makefile.in (custom-deps, finder-data): Run output file names
586 through unmsys--file-name. (Bug#16099)
587
afdadaf7
SM
5882013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
589
7ae3ae39 590 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 591 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 592
5b4f37ab
SM
593 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
594 instead of deleting the selection "by hand" (bug#16098).
595 Rely on insert-for-yank to yank rectangles.
596 (cua-highlight-region-shift-only): Mark obsolete.
597 (cua-mode): Don't enable/disable transient-mark-mode,
598 shift-select-mode (cua-mode works both with and without them), and
599 pc-selection-mode (obsolete).
600 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
601 (cua--deactivate-rectangle): Deactivate it.
602
4b72c12b
SM
603 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
604 (delete-selection-helper): Make sure yank starts at the top of the
605 deleted region.
606 (minibuffer-keyboard-quit): Use region-active-p.
607
e82af72d
SM
608 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
609
afdadaf7
SM
610 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
611 to `delete' (bug#16109).
612
ed4bc201
RS
6132013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
614
615 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
616 info manual and show keybindings and set `:group' keyword.
617
bb8097b9
JL
6182013-12-11 Juri Linkov <juri@jurta.org>
619
620 * delsel.el (delete-active-region): Let-bind `this-command'
621 to prevent `kill-region' from changing its original value.
622 (delete-selection-helper): Handle `overwrite-mode' for the type
623 `kill' exactly the same way as for the type `t'.
624 (insert-char, quoted-insert, reindent-then-newline-and-indent):
625 Support more commands. (Bug#13312)
626
c1916ff5
JL
6272013-12-11 Juri Linkov <juri@jurta.org>
628
629 * bindings.el: Map kp keys to non-kp keys systematically
630 with basic modifiers control, meta and shift. (Bug#14397)
631
b68cf43c
KN
6322013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
633
634 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
635 "Close browser" menu items. Fix wrong function of "List
636 bookmarks".
637
4cc51eaf
JL
6382013-12-11 Juri Linkov <juri@jurta.org>
639
640 * misearch.el (multi-isearch-buffers): Set the value of
641 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
642 arg of isearch-forward to t.
643 (multi-isearch-buffers-regexp): Set the value of
644 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
645 arg of isearch-forward-regexp to t.
646 (multi-isearch-files): Set the value of
647 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
648 arg of isearch-forward to t.
649 (multi-isearch-files-regexp): Set the value of
650 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
651 arg of isearch-forward-regexp to t. (Bug#16035)
652
653 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
654 arg of isearch-forward to t.
655 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
656 arg of isearch-forward-regexp to t.
657 (dired-isearch-filter-filenames): Remove unnecessary check for
658 `dired-isearch-filenames'.
659
660 * comint.el (comint-history-isearch-backward):
661 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
662 (comint-history-isearch-backward-regexp):
663 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
664
ceac12b7
EZ
6652013-12-10 Eli Zaretskii <eliz@gnu.org>
666
667 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
668 unmsys--file-name. (Bug#16099)
669
5a565782
TZ
6702013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
671
cb3a1380
SM
672 * emacs-lisp/package.el (package-keyword-button-action):
673 Remove finder.el require dependency.
5a565782 674
a81fc7ba
TZ
6752013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
676
677 * emacs-lisp/package.el: Require finder.el.
678 (describe-package-1): Add keyword buttons.
679 (package-make-button): New convenience function.
680 (package-keyword-button-action): Keyword button action using
681 `finder-list-matches'
682
6aaca951
EZ
6832013-12-09 Eli Zaretskii <eliz@gnu.org>
684
685 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
686 last commit.
687
a1099a91
MA
6882013-12-09 Michael Albinus <michael.albinus@gmx.de>
689
690 * autorevert.el (auto-revert-notify-add-watch): Do not handle
691 symlinked files.
692
8212d9c0
DG
6932013-12-09 Dmitry Gutov <dgutov@yandex.ru>
694
695 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
696 after the end of a percent literal.
697
8f48d131
CD
6982013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
699
cb3a1380
SM
700 * progmodes/ruby-mode.el (ruby-forward-string): Document.
701 Handle caret-delimited strings (Bug#16079).
8f48d131 702
ff8c9764
DG
7032013-12-09 Dmitry Gutov <dgutov@yandex.ru>
704
cb3a1380
SM
705 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
706 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
707 `ruby-parse-partial' (Bug#16078).
708
d64643b4
LL
7092013-12-09 Leo Liu <sdl.web@gmail.com>
710
711 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
712
47e59c66
DG
7132013-12-08 Dmitry Gutov <dgutov@yandex.ru>
714
715 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
716 (js-switch-indent-offset): New option.
717 (js--proper-indentation): Use it. And handle the case when
718 "default" is actually a key in an object literal.
719 (js--same-line): New function.
720 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
721 (js--indent-in-array-comp, js--array-comp-indentation):
722 New functions.
47e59c66
DG
723 (js--proper-indentation): Use them, to handle array comprehension
724 continuations.
725
974ebc9c
LL
7262013-12-08 Leo Liu <sdl.web@gmail.com>
727
728 * progmodes/flymake.el (flymake-highlight-line): Re-write.
729 (flymake-make-overlay): Remove arg MOUSE-FACE.
730 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
731
27262e39
SM
7322013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
735 New function.
736 (redisplay-highlight-region-function): Use it.
737
738 * emulation/cua-base.el (cua--explicit-region-start)
739 (cua--last-region-shifted): Remove.
740 (cua--deactivate): Use deactivate-mark.
741 (cua--pre-command-handler-1): Don't handle shift-selection.
742 (cua--post-command-handler-1): Don't change transient-mark-mode.
743 (cua--select-keymaps): Use region-active-p rather than
744 cua--explicit-region-start or cua--last-region-shifted.
745 (cua-mode): Enable shift-select-mode.
746
6407822c
LL
7472013-12-08 Leo Liu <sdl.web@gmail.com>
748
27262e39
SM
749 * progmodes/flymake.el (flymake-popup-current-error-menu):
750 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
751 (flymake-posn-at-point-as-event, flymake-popup-menu)
752 (flymake-make-emacs-menu): Remove. (Bug#16077)
753
00a2b823
SM
7542013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
755
02033d49
SM
756 * rect.el (rectangle-mark-mode): Activate mark even if
757 transient-mark-mode is off (bug#16066).
758 (rectangle--highlight-for-redisplay): Fix boundary condition when point
759 is > mark and at bolp.
760
6f8dfccf
SM
761 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
762 (region-extract-function): Use it.
763 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
764 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
765 Delete functions.
766 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
767 kill-ring-save, kill-region, delete-char, delete-forward-char.
768 Ignore self-insert-iso.
769
770 * emulation/cua-gmrk.el (cua--init-global-mark):
771 Ignore `self-insert-iso'.
772
773 * emulation/cua-base.el (cua--prefix-copy-handler)
774 (cua--prefix-cut-handler): Rely on region-extract-function rather than
775 checking cua--rectangle.
776 (cua-delete-region): Use region-extract-function.
777 (cua-replace-region): Delete function.
778 (cua-copy-region, cua-cut-region): Obey region-extract-function.
779 (cua--pre-command-handler-1): Don't do the delete-selection thing.
780 (cua--self-insert-char-p): Ignore `self-insert-iso'.
781 (cua--init-keymaps): Don't remap delete-selection commands.
782 (cua-mode): Use delete-selection-mode instead of rolling our own
783 (bug#16085).
784
785 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
786 Obey region-extract-function.
787
00a2b823
SM
788 Make registers and delete-selection-mode work on rectangles.
789 * register.el (describe-register-1): Don't modify the register's value.
790 (copy-to-register): Obey region-extract-function.
791 * delsel.el (delete-active-region): Obey region-extract-function.
792
a92fa5f1
LL
7932013-12-08 Leo Liu <sdl.web@gmail.com>
794
795 * progmodes/flymake.el (flymake, flymake-error-bitmap)
796 (flymake-warning-bitmap, flymake-fringe-indicator-position)
797 (flymake-compilation-prevents-syntax-check)
798 (flymake-start-syntax-check-on-newline)
799 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
800 (flymake-start-syntax-check-on-find-file, flymake-log-level)
801 (flymake-xml-program, flymake-master-file-dirs)
802 (flymake-master-file-count-limit)
803 (flymake-allowed-file-name-masks): Relocate.
804 (flymake-makehash, flymake-float-time)
805 (flymake-replace-regexp-in-string, flymake-split-string)
806 (flymake-get-temp-dir): Remove.
807 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
808 (flymake-current-row, flymake-selected-frame)
809 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
810 related functions. (Bug#16077)
811
73c8ceea
BB
8122013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
813
814 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
815
faec28d9
TH
8162013-12-07 Tassilo Horn <tsdh@gnu.org>
817
818 * help-fns.el (describe-function-1): Use new advice-* functions
819 rather than old ad-* functions. Fix function type description and
820 source links for advised functions and subrs.
821
e330b646
LMI
8222013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
823
00a2b823 824 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 825
4803595d
MA
8262013-12-06 Michael Albinus <michael.albinus@gmx.de>
827
828 * progmodes/compile.el (compilation-start):
829 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
830
831 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
832 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
833
fa834a93
DG
8342013-12-06 Dmitry Gutov <dgutov@yandex.ru>
835
00a2b823
SM
836 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
837 Touch up the last change.
fa834a93 838
b2856a6f
LL
8392013-12-06 Leo Liu <sdl.web@gmail.com>
840
841 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
842 (inferior-octave-startup): Always use "octave> " for prompt.
843 (octave-goto-function-definition)
844 (octave-sync-function-file-names)
845 (octave-find-definition-default-filename): Remove redundant backquotes.
846
af67e79a
DG
8472013-12-06 Dmitry Gutov <dgutov@yandex.ru>
848
849 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
850 syntax for `?'.
851 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
852 where appropriate already.
853 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
854 end of method names (Bug#15874).
855
bf093209
JL
8562013-12-06 Juri Linkov <juri@jurta.org>
857
858 * isearch.el (isearch--saved-overriding-local-map):
859 New internal variable.
860 (isearch-mode): Set it to the initial value of
861 `overriding-terminal-local-map'.
862 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
863 with `isearch--saved-overriding-local-map'. (Bug#16035)
864
16588fad
DG
8652013-12-06 Dmitry Gutov <dgutov@yandex.ru>
866
00a2b823
SM
867 * progmodes/octave.el (inferior-octave-completion-table):
868 Turn back into function, use `completion-table-with-cache'
16588fad
DG
869 (Bug#11906). Update all references.
870
871 * minibuffer.el (completion-table-with-cache): New function.
872
bf4906d7
CD
8732013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
874
875 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
876
ff69c18f
TZ
8772013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
878
879 * net/eww.el (eww-current-source): New variable to store page
880 source.
881 (eww-display-html, eww-mode, eww-save-history)
882 (eww-restore-history): Use it.
883 (eww-view-source): New command to view page source.
884 Opportunistically uses `html-mode' to highlight the buffer.
885 (eww-mode-map): Install it.
886
b85eff45
MA
8872013-12-05 Michael Albinus <michael.albinus@gmx.de>
888
889 * net/dbus.el (dbus-unregister-service)
890 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
891 Fix docstring.
892 (dbus-unregister-service): Skip :serial entries in
893 `dbus-registered-objects-table'.
894 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
895
39eb0899
TZ
8962013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
897
898 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
899 around keywords with extra `split-string' argument.
900
456760a5
MR
9012013-12-04 Martin Rudalics <rudalics@gmx.at>
902
903 * windmove.el (windmove-other-window-loc): Handle navigation
904 between windows (excluding the minibuffer window - Bug#16017).
905
81961e4c
MA
9062013-12-04 Michael Albinus <michael.albinus@gmx.de>
907
908 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
909 in D-Bus type syntax.
910 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
911 preserve unibyte strings. (Bug#16048)
912
8497f938
SM
9132013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
916 Call force-mode-line-update is the proper buffer (bug#16042).
917
dda61916
DG
9182013-12-04 Dmitry Gutov <dgutov@yandex.ru>
919
920 * vc/log-edit.el (log-edit-add-new-comment): Rename to
921 `log-edit-remember-comment', make argument optional. Adjust all
922 callers.
923 (log-edit-mode): Add `log-edit-remember-comment' to
924 `kill-buffer-hook' locally.
925 (log-edit-kill-buffer): Don't remember comment explicitly since
926 the buffer is killed anyway.
927
c085e5b9
JL
9282013-12-04 Juri Linkov <juri@jurta.org>
929
930 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
931 add-hook and remove-hook for multi-buffer search. (Bug#16035)
932
d6f2380e
TR
9332013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
934
935 * notifications.el (notifications-close-notification): Call the
81961e4c 936 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 937
39fa32d6
KY
9382013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
939
940 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
941
9139632a
JL
9422013-12-03 Juri Linkov <juri@jurta.org>
943
944 * progmodes/compile.el (compilation-start): Rename window alist
945 entry `no-display-ok' to `allow-no-window'.
946
947 * simple.el (shell-command): Add window alist entry
948 `allow-no-window' to `display-buffer'.
949 (async-shell-command): Doc fix.
950
951 * window.el (display-buffer-no-window): New action function.
952 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
953
0f457a37
DG
9542013-12-02 Dmitry Gutov <dgutov@yandex.ru>
955
956 * vc/log-edit.el (log-edit-set-header): Extract from
957 `log-edit-toggle-header'.
958 (log-edit-extract-headers): Separate the summary, when extracted
959 from header, from the rest of the message with an empty line.
960
961 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
962 line, if present, to the Summary header.
963
0962f376
SM
9642013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
967 in current-buffer (bug#16029).
968
f345395c
HE
9692013-12-02 Helmut Eller <eller.helmut@gmail.com>
970
971 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
972 (debugger-mode-map): Bind it.
973 (debugger--backtrace-base): New function.
974 (debugger-eval-expression): Use it.
975 (debugger-frame-number): Skip local vars when present.
976 (debugger--locals-visible-p, debugger--insert-locals)
977 (debugger--show-locals, debugger--hide-locals): New functions.
978
a8a15d9d
MA
9792013-12-02 Michael Albinus <michael.albinus@gmx.de>
980
981 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
982 "LC_ALL".
983 (tramp-get-remote-locale): New defun.
984 (tramp-open-connection-setup-interactive-shell): Use it.
985
0518b057
LL
9862013-12-02 Leo Liu <sdl.web@gmail.com>
987
988 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
989
990 * progmodes/sh-script.el (sh-shell-process):
991 * progmodes/octave.el (inferior-octave-process-live-p):
992 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
993 (gdb-inferior-io-sentinel):
994 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
995
3adc9c6d
DG
9962013-12-02 Dmitry Gutov <dgutov@yandex.ru>
997
998 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
999 `save-selected-window' to `log-edit-hide-buf'. This makes
1000 `log-edit-show-files' idempotent.
1001 (log-edit-show-files): Mark the new window as dedicated.
1002
47e8b74e
DG
10032013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1004
1005 * vc/log-edit.el (log-edit-mode-map): Add binding for
1006 `log-edit-kill-biffer'.
1007 (log-edit-hide-buf): Add a FIXME comment.
1008 (log-edit-add-new-comment): New function, extracted from
1009 `log-edit-done'.
1010 (log-edit-done, log-edit-add-to-changelog): Use it.
1011 (log-edit-kill-buffer): New command.
1012
1f6e1bb0
LMI
10132013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1014
1015 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1016 instead of killing the buffer.
1017
fb651d15
SM
10182013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1021
8feacce0
RS
10222013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1023
fb651d15 1024 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1025 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1026 (eww-form-checkbox, eww-toggle-checkbox):
1027 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1028
1029 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
1030 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
1031 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1032 no :src tag was specified.
1033
fb651d15 1034 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1035 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1036 Use \\` to match beginning of string instead of ^.
1037 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1038 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1039
177948a5
RS
1040 * net/shr.el (shr-tag-video): Display content for video if no
1041 poster is available.
eb2dd24d 1042 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
1043
1044 * net/eww.el (eww-text-input-types): : New const.
1045 (eww-process-text-input): Treat input types in
1046 `eww-text-input-types' as text.
1047
8feacce0
RS
1048 * net/shr.el (shr-tag-table): Fix comment typo.
1049
513562a1
LMI
10502013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1051
1052 * net/eww.el (eww-follow-link): New command to avoid reloading
1053 pages when we follow #target links (bug#15243).
de8a5633 1054 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1055
9dd99753
KN
10562013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1057
1058 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1059 forms.
1060
3e9876de
LMI
10612013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1062
1063 * net/eww.el (eww-restore-history): Update the window title after
1064 moving in the history.
ab6dea82 1065 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1066
52789f7f
DG
10672013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1068
1069 * vc/log-edit.el (log-edit-mode-map): Add binding for
1070 `log-edit-beginning-of-line'.
1071 (log-edit-setup-add-author): New user option.
1072 (log-edit-beginning-of-line): New command.
1073 (log-edit): Move major mode call above the contents setup so that
1074 the local variable values are already applied.
1075 (log-edit): Only insert "Author: " when
1076 `log-edit-setup-add-author' is non-nil.
1077 (log-edit): When SETUP is non-nil, position point after ": "
1078 instead of point-min.
1079
2e6710c3
GM
10802013-12-01 Glenn Morris <rgm@gnu.org>
1081
1082 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1083
fadec31f
EZ
10842013-11-30 Eli Zaretskii <eliz@gnu.org>
1085
1086 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1087 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1088 visible. (Bug#16014)
1089
10634b40 10902013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1091
1092 Support resizing frames and windows pixelwise.
1093 * cus-start.el (frame-resize-pixelwise)
1094 (window-resize-pixelwise): New entries.
1095 * emacs-lisp/debug.el (debug): Use window-total-height instead
1096 of window-total-size.
1097 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1098 * help.el (describe-bindings-internal): Call help-buffer
1099 (temp-buffer-max-width): New option.
1100 (resize-temp-buffer-window, help-window-setup)
1101 (with-help-window): Rewrite.
1102 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1103 dragging dividers.
1104 * window.el (frame-char-size, window-min-pixel-height)
1105 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1106 (window-min-pixel-width, window-safe-min-pixel-size)
1107 (window-combination-p, window-safe-min-size)
1108 (window-resizable-p, window--size-to-pixel)
1109 (window--pixel-to-size, window--resize-apply-p): New functions.
1110 (window-safe-min-height): Fix doc-string.
1111 (window-size, window-min-size, window--min-size-1)
1112 (window-sizable, window-sizable-p, window--min-delta-1)
1113 (window-min-delta, window--max-delta-1, window-max-delta)
1114 (window--resizable, window--resizable-p, window-resizable)
1115 (window-full-height-p, window-full-width-p, window-at-side-p)
1116 (window--in-direction-2, window-in-direction)
1117 (window--resize-reset-1, window--resize-mini-window)
1118 (window-resize, window-resize-no-error)
1119 (window--resize-child-windows-normal)
1120 (window--resize-child-windows, window--resize-siblings)
1121 (window--resize-this-window, window--resize-root-window)
1122 (window--resize-root-window-vertically)
1123 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1124 (maximize-window, minimize-window, delete-window)
1125 (quit-restore-window, window-split-min-size, split-window)
1126 (balance-windows-2, balance-windows)
1127 (balance-windows-area-adjust, balance-windows-area)
1128 (window--state-get-1, window-state-get, window--state-put-1)
1129 (window--state-put-2, window-state-put)
fb651d15
SM
1130 (display-buffer-record-window, window--display-buffer):
1131 Make functions handle pixelwise sizing of windows.
880e6158 1132 (display-buffer--action-function-custom-type)
fb651d15
SM
1133 (display-buffer-fallback-action):
1134 Add display-buffer-in-previous-window.
880e6158
MR
1135 (display-buffer-use-some-window): Resize window to height it had
1136 before.
1137 (fit-window-to-buffer-horizontally): New option.
1138 (fit-frame-to-buffer): Describe new values.
1139 (fit-frame-to-buffer-bottom-margin): Replace with
1140 fit-frame-to-buffer-margins.
1141 (window--sanitize-margin): New function.
1142 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1143 using window-text-pixel-size.
1144
f9b697dd
GM
11452013-11-30 Glenn Morris <rgm@gnu.org>
1146
3e2fb4db
GM
1147 * emacs-lisp/bytecomp.el (byte-compile-form):
1148 Make the `interactive-only' warning like the `obsolete' one.
1149 * comint.el (comint-run):
1150 * files.el (insert-file-literally, insert-file):
1151 * replace.el (replace-string, replace-regexp):
1152 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1153 (goto-line, insert-buffer, next-line, previous-line):
1154 Tweak `interactive-only' spec.
1155
f9b697dd
GM
1156 Stop keeping (most) generated cedet grammar files in the repository.
1157 * Makefile.in (semantic): New.
1158 (compile-main): Depend on semantic.
1159
da048127
SM
11602013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1161
7784b779
SM
1162 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1163 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1164
4e36a6a6
SM
1165 * uniquify.el (uniquify-buffer-name-style): Change default.
1166
1167 * loadup.el: Preload "uniquify".
1168
e0ba1308
SM
1169 * time.el (display-time-update): Update all mode lines (bug#15999).
1170
da048127
SM
1171 * electric.el (electric-indent-mode): Enable by default.
1172 * loadup.el: Preload "electric".
1173
015b3b3e
BB
11742013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1175
1176 * emacs-lisp/helpers.el (string-empty-p): New function.
1177 (string-blank-p): New function.
1178
7efb806d
AP
11792013-11-29 Andreas Politz <politza@hochschule-trier.de>
1180
1181 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1182 (Bug#14029).
1183
c8f0efc2
AP
11842013-11-29 Andreas Politz <politza@fh-trier.de>
1185 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1186 allow non-lambda lists as functions.
1187 (imenu--in-alist): Don't recurse into non-subalists.
1188 (imenu): Don't pass function itself as an argument (Bug#14029).
1189
bd15d9d1
SM
11902013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * progmodes/python.el (python-mode-map): Remove binding for ":".
1193 (python-indent-electric-colon): Remove command.
1194 (python-indent-post-self-insert-function): Integrate the previous code
1195 of python-indent-electric-colon. Make it conditional on
1196 electric-indent-mode.
1197 (python-mode): Add ?: to electric-indent-chars.
1198 Move python-indent-post-self-insert-function to the end of
1199 post-self-insert-hook.
1200
1b10adb6
SM
12012013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1202
655ab9a3
SM
1203 * doc-view.el (doc-view-goto-page): Update mode-line.
1204
1b10adb6
SM
1205 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1206
7e3bf78c
GM
12072013-11-27 Glenn Morris <rgm@gnu.org>
1208
1209 * international/charprop.el, international/uni-bidi.el:
1210 * international/uni-category.el, international/uni-combining.el:
1211 * international/uni-comment.el, international/uni-decimal.el:
1212 * international/uni-decomposition.el, international/uni-digit.el:
1213 * international/uni-lowercase.el, international/uni-mirrored.el:
1214 * international/uni-name.el, international/uni-numeric.el:
1215 * international/uni-old-name.el, international/uni-titlecase.el:
1216 * international/uni-uppercase.el:
1217 Remove generated files from VCS repository.
1218
fb6a5d68
EZ
12192013-11-27 Eli Zaretskii <eliz@gnu.org>
1220
1221 * filenotify.el (file-notify-add-watch): Don't special-case
1222 w32notify when computing the directory to watch.
1223
cb6c95a3
GM
12242013-11-27 Glenn Morris <rgm@gnu.org>
1225
20372d0c
GM
1226 Make bootstrap without generated uni-*.el files possible again.
1227 * loadup.el: Update command-line-args checking for unidata-gen.
1228 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1229 * composite.el, international/characters.el:
1230 Handle unicode tables being undefined.
1231
52d6635f 1232 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1233 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1234 (compile-main): Depend on leim rule.
1235 (leim): New rule.
1236 * loadup.el: Move leim-list.el to leim/ subdirectory.
1237 * startup.el (normal-top-level): No more leim directory.
1238 * international/ja-dic-cnv.el (skkdic-convert):
1239 Disable version-control and autoloads in output files.
1240 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1241 Disable version-control and autoloads in output files.
1242 * leim/quail: Move here from ../leim.
1243 * leim/quail/hangul.el (hangul-input-method-activate):
1244 Add autoload cookie.
1245 (generated-autoload-load-name): Set file-local value.
1246 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1247 (generated-autoload-load-name): Set file-local value.
1248
0449d6cd 12492013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
1250
1251 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1252 (eww-add-bookmark): ask confirmation when add to bookmarks
1253 (eww-quit): ask confirmation before quitting eww
1254
0e2c793f
EZ
12552013-11-26 Eli Zaretskii <eliz@gnu.org>
1256
1257 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1258 reading output from Diff on MS-Windows and MS-DOS.
1259
447bdcb8
BB
12602013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1261
1262 * emacs-lisp/helpers.el (string-reverse): New function.
1263
5fbf6856
MA
12642013-11-26 Michael Albinus <michael.albinus@gmx.de>
1265
1266 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1267 names on MS Windows, like "/[::1]:".
1268
1269 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1270 SWITCHES.
1271
624780f0
GM
12722013-11-26 Glenn Morris <rgm@gnu.org>
1273
0bf3f0fa
GM
1274 * progmodes/python.el (python-indent-guess-indent-offset):
1275 Avoid corner-case error. (Bug#15975)
1276
624780f0
GM
1277 Preload leim-list.el. (Bug#4789)
1278 * loadup.el: Load leim-list.el when found.
1279 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1280
4301875e 12812013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1282
1283 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1284
4301875e
BB
1285 * emacs-lisp/helpers.el (string-join): New function.
1286
1633a815 12872013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1288
1289 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1290 Mark as obsolete and replace it with a symbol property.
1291 (byte-compile-form): Use new 'interactive-only property.
1292 * comint.el, files.el, replace.el, simple.el:
1293 Apply new 'interactive-only properly.
1294
00139435
MR
12952013-11-25 Martin Rudalics <rudalics@gmx.at>
1296
1297 * window.el (display-buffer-at-bottom): Make sure that
1298 split-window-sensibly creates the new window on bottom
1299 (Bug#15961).
1300
5f5b128d
DK
13012013-11-23 David Kastrup <dak@gnu.org>
1302
1303 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1304 on the conflict markers when available.
1305 (smerge--get-marker): New function.
1306 (smerge-end-re, smerge-base-re): Add subgroup.
1307
623891e5
SM
13082013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * frame.el (handle-focus-in, handle-focus-out): Add missing
1311 interactive spec.
1312
05ca27d8
MA
13132013-11-25 Michael Albinus <michael.albinus@gmx.de>
1314
1315 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1316 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1317
511fa0d3
SM
13182013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1319
e82ad66c
SM
1320 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1321 (gomoku--last-pos): New var.
1322 (gomoku--intangible-chars): New const.
1323 (gomoku--intangible): New function.
1324 (gomoku-mode): Use it. Derive from special-mode.
1325 (gomoku-move-up): Adjust line count.
1326 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1327 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1328 Simplify accordingly.
1329
511fa0d3
SM
1330 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1331 Remove blink-cursor code.
1332 (blink-cursor-timer-function, blink-cursor-suspend):
1333 Don't special-case GUIs.
1334 (blink-cursor-mode): Use focus-in/out-hook.
1335
6f20dd03
DG
13362013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1337
1338 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1339 work when annotation is invisible (Bug#13886).
1340
431dec31 13412013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1342
1343 * json.el (json-alist-p): Only return non-nil if the alist has
1344 simple keys (Bug#13518).
1345
431dec31 13462013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1347
1348 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1349 when control-statement is the first statement in a buffer (Bug#15956).
1350
ee4f0261
DG
13512013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1352
1353 * imenu.el (imenu-generic-skip-comments-and-strings):
1354 New option (Bug#15560).
1355 (imenu--generic-function): Use it.
1356
c484f866
JS
13572013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1358
1359 * minibuffer.el (completion--in-region-1): Scroll the correct
1360 window. (Bug#13898)
1361
41ce6f70
BB
13622013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1363
b55aea38
BB
1364 * emacs-lisp/helpers.el: Add some string helpers.
1365 (string-trim-left): Removes leading whitespace.
1366 (string-trim-right): Removes trailing whitespace.
1367 (string-trim): Removes leading and trailing whitespace.
1368
41ce6f70
BB
1369 * subr.el (string-suffix-p): New function.
1370
3cfb6af3
GM
13712013-11-23 Glenn Morris <rgm@gnu.org>
1372
1373 * progmodes/python.el (python-shell-send-file):
1374 Add option to delete file when done. (Bug#15647)
1375 (python-shell-send-string, python-shell-send-region): Use it.
1376
c27924b7
IS
13772013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1378
e1b01c7f
IS
1379 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1380 to set buffer-read-only to t, never to nil. (Bug#15938)
1381
c27924b7
IS
1382 * textmodes/tex-mode.el (latex-noindent-environments):
1383 Add safe-local-variable property. (Bug#15936)
1384
17e0445b
GM
13852013-11-23 Glenn Morris <rgm@gnu.org>
1386
92f78ea3
GM
1387 * textmodes/enriched.el (enriched-mode): Doc fix.
1388 * emacs-lisp/authors.el (authors-renamed-files-alist):
1389 Add enriched.doc -> enriched.txt.
1390
17e0445b
GM
1391 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1392
965bb23a
LL
13932013-11-22 Leo Liu <sdl.web@gmail.com>
1394
1395 * progmodes/octave.el (inferior-octave-startup): Spit out error
1396 message.
1397
d19ffd64
BB
13982013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1399
1400 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1401 Improve docstring.
15ba2182
BB
1402 Add :version.
1403 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1404
7a7567d2
LL
14052013-11-22 Leo Liu <sdl.web@gmail.com>
1406
1407 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1408 (Bug#15076)
8c09f64b
LL
1409 (octave-help-mode): Adapt to change to help-mode-finish to use
1410 derived-mode-p on 2013-09-17.
1411 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1412 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1413
724bc265
LL
14142013-11-22 Leo Liu <sdl.web@gmail.com>
1415
1416 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1417 (inferior-octave-startup, inferior-octave-check-process)
1418 (inferior-octave-track-window-width-change)
1419 (octave-completion-at-point, octave-eldoc-function): Use it.
1420 (octave-kill-process): Provide confirmation. (Bug#10564)
1421
38637cca
LL
14222013-11-21 Leo Liu <sdl.web@gmail.com>
1423
511fa0d3
SM
1424 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1425 Fix obsolete variable comment-use-global-state.
38637cca 1426
06e752b4
RS
14272013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1428
511fa0d3
SM
1429 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1430 Add `octave-source-file'.
06e752b4
RS
1431 (octave-source-file): New function. (Bug#15935)
1432
0449d6cd 14332013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1434
1435 * net/eww.el (eww-local-regex): New variable.
1436 (eww): Use it to detect localhost and similar.
1437
b6ffa04a
LL
14382013-11-21 Leo Liu <sdl.web@gmail.com>
1439
1440 Add completion for command `ag'.
2021a200
LL
1441 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1442 (pcomplete/ag): New function.
1443 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1444
d1a6bccc
SM
14452013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1448 (bug#14646).
1449 (make-obsolete): Remove interactive spec.
1450
2df10228
GM
14512013-11-21 Glenn Morris <rgm@gnu.org>
1452
1453 * startup.el (command-line-1): Use path-separator with -L.
1454
86fd16b6
TZ
14552013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1456
1457 * emacs-lisp/package.el (describe-package-1): Add package archive
1458 to shown fields.
1459
0449d6cd 14602013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1461
1462 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1463 Change default to "# encoding: %s" to differentiate it from the
1464 default Ruby encoding comment template.
1465
dc7e8c17 14662013-11-20 era eriksson <era+emacsbugs@iki.fi>
1467
1468 * ses.el (ses-mode): Doc fix. (Bug#14748)
1469
f0cfa5fe
LL
14702013-11-20 Leo Liu <sdl.web@gmail.com>
1471
1472 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1473
826dc7b6
DN
14742013-11-19 Dan Nicolaescu <dann@gnu.org>
1475
1476 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1477 when rebase or bisect are in progress.
1478
a6e3a5d5
XF
14792013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1480
1481 * filenotify.el (file-notify-add-watch): Doc fix.
1482
f130cb76
LL
14832013-11-19 Leo Liu <sdl.web@gmail.com>
1484
e0855d7d
LL
1485 * obsolete/rcompile.el: Mark obsolete.
1486
f130cb76 1487 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1488 (compilation-goto-locus, compilation-find-file):
1489 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1490 (Bug#13594)
1491
1492 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1493 new parameter no-display-ok. Return either a window or nil
1494 but never a non-window value.
f130cb76 1495
1f35d401
SM
14962013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1497
25158c76
SM
1498 * electric.el (electric-indent-mode-map): Remove.
1499 (electric-indent-mode): Change the global-map instead (bug#15915).
1500
1501 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1502 Use add-function.
1f35d401 1503
9bc67baa
SM
15042013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1505
986545b5
SM
1506 * emacs-lisp/nadvice.el (remove-function): Align with
1507 add-function's behavior.
1508
9bc67baa
SM
1509 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1510 (gdb--string-regexp): New constant.
1511 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1512 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1513 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1514 submatch 1.
1515 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1516 Adjust use accordingly.
1517 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1518
56cd894e
AS
15192013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1520
1521 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1522 interpolation curlies (Bug#15914).
1523
014690de
JB
15242013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1525
1526 * calc/calc.el (calc-context-sensitive-enter): New variable.
1527 (calc-enter): Use `calc-context-sensitive-enter'.
1528
7e26a6c3
TZ
15292013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1530
1531 * progmodes/cfengine.el: Version bump.
1532 (cfengine-cf-promises): New defcustom to locate cf-promises.
1533 (cfengine3-vartypes): Add new "data" type.
1534 (cfengine3--current-word): New function to get current name-like
1535 word or its bounds.
1536 (cfengine3--current-function): New function to look up a CFEngine
1537 function's definition.
1538 (cfengine3-format-function-docstring): New function.
1539 (cfengine3-make-syntax-cache): New function.
1540 (cfengine3-documentation-function): New function: ElDoc glue.
1541 (cfengine3-completion-function): New function: completion glue.
1542 (cfengine3-mode): Set `compile-command',
1543 `eldoc-documentation-function', and add to
1544 `completion-at-point-functions'.
1545
355204dd
MA
15462013-11-16 Michael Albinus <michael.albinus@gmx.de>
1547
1548 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1549 `tramp-current-connection'.
1550
43cebc23
DG
15512013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1552
1553 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1554 nil/self/true/false with "end of symbol".
1555
a3fed6ff
BB
15562013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1557
1558 * subr.el (version-regexp-alist): Fix a typo.
1559
e675b3e4
MA
15602013-11-15 Michael Albinus <michael.albinus@gmx.de>
1561
1562 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1563 "en_US.utf8" and "LC_CTYPE" to "".
1564 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1565 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1566
a1f03e89
LL
15672013-11-15 Leo Liu <sdl.web@gmail.com>
1568
1569 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1570
5d9d9451
SM
15712013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1572
58362662
CS
1573 * progmodes/gud.el (ctl-x-map):
1574 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1575 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1576
6c1bf086
BB
15772013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1578
0d5363c4
BB
1579 * subr.el (version-regexp-alist):
1580 Recognize hg, svn and darcs versions as snapshot versions.
1581
4e9fc48c
BB
1582 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1583 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1584 (ruby--encoding-comment-required-p): Extract from
1585 `ruby-mode-set-encoding'.
1586 (ruby-mode-set-encoding): Add the ability to always insert an
1587 utf-8 encoding comment. Fix and simplify coding comment update
1588 logic.
6c1bf086 1589
2f7e72f8
MA
15902013-11-14 Michael Albinus <michael.albinus@gmx.de>
1591
1592 * net/tramp-gvfs.el (top): Run init code only when
1593 `tramp-gvfs-enabled' is not nil.
1594 (tramp-gvfs-enabled): Check also :system bus.
1595
0f137a73
SM
15962013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 Sync with upstream verilog-mode revision 78e66ba.
1599 * progmodes/verilog-mode.el (verilog-end-of-defun)
1600 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1601 (verilog-get-end-of-defun): Remove unused argument.
1602 (verilog-comment-depth): Remove unused local `e'.
1603 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1604 Don't pass arg to verilog-get-end-of-defun.
1605
1c276bdd
GM
16062013-11-14 Glenn Morris <rgm@gnu.org>
1607
1608 * obsolete/assoc.el (aget): Prefix dynamic variable.
1609
1610 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1611
ff6ec81d
SM
16122013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * widget.el, hfy-cmap.el: Remove bogus package version number.
1615
75f777b6
GM
16162013-11-13 Glenn Morris <rgm@gnu.org>
1617
1d43dba1
GM
1618 * replace.el (replace-eval-replacement):
1619 Try to give more helpful error message. (Bug#15836)
1620
ff4b7bd5
GM
1621 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1622 (archive-7z-update): Avoid custom type mismatches.
1623
75f777b6
GM
1624 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1625
11151a06
MA
16262013-11-13 Michael Albinus <michael.albinus@gmx.de>
1627
e675b3e4 1628 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1629 address can be empty.
1630
1631 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1632 Accept nil SWITCHES.
1633 (tramp-gvfs-handle-write-region): Implement APPEND.
1634
7b08f97e
DG
16352013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1636
1637 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1638 binary "|" operator and closing block args delimiter.
1639 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1640 (ruby-smie--implicit-semi-p): Not after "|" operator.
1641 (ruby-smie--closing-pipe-p): New function.
1642 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1643 (ruby-smie-rules): Indent after "|".
1644
f201cf3a
GM
16452013-11-12 Glenn Morris <rgm@gnu.org>
1646
1647 * ps-print.el (ps-face-attribute-list):
1648 Handle anonymous faces. (Bug#15827)
1649
e6f759f9
MR
16502013-11-12 Martin Rudalics <rudalics@gmx.at>
1651
1652 * window.el (display-buffer-other-frame): Fix doc-string.
1653 (Bug#15868)
1654
ecda65d4
SM
16552013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1658
7ce8fcc3
MA
16592013-11-11 Michael Albinus <michael.albinus@gmx.de>
1660
1661 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1662 (tramp-sh-handle-file-local-copy): Don't write a message when
1663 saving temporary files.
1664
1665 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1666 both directories are remote.
1667 (tramp-smb-handle-directory-files): Do not return double entries.
1668 Do not expand full file names.
1669 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1670 (tramp-smb-handle-write-region): Implement APPEND.
1671 (tramp-smb-get-stat-capability): Fix a stupid bug.
1672
7818df11
SM
16732013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1676
608c2085
NT
16772013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1678
1679 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1680 throwing error over malformed let/let* (bug#15814).
1681
122a7e46
SM
16822013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * iswitchb.el (iswitchb-mode): Mark obsolete.
1685
766284d9
GM
16862013-11-11 Glenn Morris <rgm@gnu.org>
1687
1688 * international/uni-bidi.el, international/uni-category.el:
1689 * international/uni-name.el, international/uni-numeric.el:
1690 Regenerate for Unicode 6.3.0.
1691
7072a4e9
MA
16922013-11-10 Michael Albinus <michael.albinus@gmx.de>
1693
1694 * net/tramp.el (tramp-methods):
1695 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1696 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1697
c9df215b
AS
16982013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1699
608c2085
NT
1700 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1701 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1702
fa47d796
DG
17032013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1704
1705 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1706 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1707 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1708 (ispell-complete-word): Call `ispell-lookup-words' with the value
1709 independent of `ispell-look-p'.
1710
1629a329
DG
17112013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1712
1713 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1714 Not after "||".
1715 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1716 their parent.
1717
ad16897c
SM
17182013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1721 (ruby-font-lock-keywords): Use backquote.
1722
ffa2df72
DG
17232013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1724
1725 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1726 (ruby-smie--backward-token): Only consider full-string matches.
1727
5b97b4c0
JD
17282013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1729
1730 * faces.el (describe-face): Add distant-foreground.
1731
71731c03
BB
17322013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1733
4e9fc48c
BB
1734 * progmodes/ruby-mode.el: Improve encoding comment handling.
1735 (ruby-encoding-magic-comment-style): New option.
1736 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1737 (ruby--insert-coding-comment, ruby--detect-encoding):
1738 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1739 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1740 to control the style of the auto-inserted encoding comment.
71731c03 1741
da3b328d
DG
17422013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1743
ad16897c
SM
1744 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1745 Use `smie-backward-sexp' with token argument.
da3b328d 1746
1606c2d3
MA
17472013-11-08 Michael Albinus <michael.albinus@gmx.de>
1748
1749 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1750 Remove instrumentation code.
1751
b0f4c320
GM
17522013-11-08 Glenn Morris <rgm@gnu.org>
1753
1754 * progmodes/autoconf.el (autoconf-mode):
1755 Tweak comment-start-skip. (Bug#15822)
1756
43668fb1
SM
17572013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1760 at bobp (bug#15826).
1761 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1762
daddb3fd
DH
17632013-11-08 Darren Hoo <darren.hoo@gmail.com>
1764
1765 * man.el (Man-start-calling): New macro, extracted from
1766 Man-getpage-in-background.
1767 (Man-getpage-in-background): Use it.
1768 (Man-update-manpage): New command.
1769 (Man-mode-map): Bind it.
1770
1f923923
DG
17712013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1772
1773 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1774 of "and", "or", "&&" and "||".
1775 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1776 argument. Prohibit opening curly brace because it could only be a
1777 block opener in that position.
daddb3fd
DH
1778 (ruby-smie--forward-token, ruby-smie--backward-token):
1779 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1780 arguments.
1781 (ruby-smie--indent-to-stmt): New function, seeks the end of
1782 previous statement or beginning of buffer.
1783 (ruby-smie-rules): Use it.
1784 (ruby-smie-rules): Check if there's a ":" before a curly block
1785 opener candidate; if there is, it's a hash.
1786
3220d527
SM
17872013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1790 (cl--block-wrapper): Fix last accidental change.
1791
1eb1f9e0
MA
17922013-11-07 Michael Albinus <michael.albinus@gmx.de>
1793
1794 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1795 Instrument, in order to hunt failure on hydra.
1796
e6e4db3c
NT
17972013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1798
1799 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1800 malformed bindings form (bug#15814).
1801
b420ccfc
DG
18022013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1803
1804 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1805 "." compared to " @ ". This incidentally fixes some indentation
1806 examples with "do".
e6e4db3c 1807 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1808 (ruby-smie-grammar): New tokens: "and" and "or".
1809 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1810 Exclude "and" and "or". Remove "do" in order to work around token
1811 priorities.
1812 (ruby-smie-rules): Add all infix tokens. Handle the case of
1813 beginning-of-buffer.
b420ccfc 1814
6b4ac03e
GM
18152013-11-06 Glenn Morris <rgm@gnu.org>
1816
1817 * Makefile.in (setwins_almost, setwins_for_subdirs):
1818 Avoid accidental matches.
1819
5ca114d1
SM
18202013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * menu-bar.el (popup-menu): Use key-binding.
1823
f72552bd
EZ
18242013-11-06 Eli Zaretskii <eliz@gnu.org>
1825
1826 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1827 menus, support also the menus produced by minor modes.
1828 (Bug#15817)
1829
5d5c701e
LL
18302013-11-06 Leo Liu <sdl.web@gmail.com>
1831
1832 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1833 DISTANCE to bound the search. All uses changed. (Bug#15808)
1834
0a8b75e2
GM
18352013-11-06 Glenn Morris <rgm@gnu.org>
1836
1837 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1838 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1839 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1840
a35287ea
SM
18412013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1842
feca4e2d
SM
1843 * electric.el (electric-indent-just-newline): New command.
1844 (electric-indent-mode-map): New keymap.
1845 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1846 Re-add :group which weren't redundant.
1847
a35287ea
SM
1848 * electric.el (electric-indent-local-mode): New minor mode.
1849 (electric-indent-functions-without-reindent): New var.
1850 (electric-indent-post-self-insert-function): Use it.
1851 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1852
375761b2
EZ
18532013-11-05 Eli Zaretskii <eliz@gnu.org>
1854
9a6ad735
EZ
1855 * international/quail.el (quail-help): Be more explicit about the
1856 meaning of the labels shown on the keys. (Bug#15800)
1857
375761b2
EZ
1858 * startup.el (normal-top-level): Load the subdirs.el files before
1859 setting the locale environment. (Bug#15805)
1860
520a6e4a
SM
18612013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1862
0acfafef
SM
1863 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1864 via arguments so as to get the right ones (bug#15418).
1865
520a6e4a
SM
1866 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1867
15826261
MA
18682013-11-05 Michael Albinus <michael.albinus@gmx.de>
1869
1870 Fix problems found while writing a test suite.
1871
1872 * net/tramp-compat.el (tramp-compat-load): New defun.
1873 * net/tramp.el (tramp-handle-load): Use it.
1874
1875 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1876 "(numberp ok-if-already-exists)" correctly.
1877
d35f31a4
XF
18782013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1879
1880 * international/characters.el (glyphless-char-display-control):
1881 Add usage note.
1882
ae93bc74
BB
18832013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1884
520a6e4a
SM
1885 * progmodes/python.el (python-mode):
1886 * progmodes/scheme.el (scheme-mode):
1887 * progmodes/prolog.el (prolog-mode):
1888 * progmodes/ruby-mode.el (ruby-mode):
1889 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1890 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1891
0ade65b5
SM
18922013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1893
a0d5f7a4
SM
1894 * rect.el (rectangle--highlight-for-redisplay):
1895 * emacs-lisp/smie.el (smie--next-indent-change):
1896 Use buffer-chars-modified-tick.
1897
c93f3f5c
SM
1898 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1899
0ade65b5
SM
1900 * electric.el (electric-indent-post-self-insert-function):
1901 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1902
ef9dd188
HE
19032013-11-04 Helmut Eller <eller.helmut@gmail.com>
1904
1905 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1906
306e7308
NT
19072013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1908
1909 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1910 (bug#15786).
1911
e5afbcac
SM
19122013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1d01ad41
SM
1914 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1915
e5afbcac
SM
1916 * progmodes/python.el: Fix up last change.
1917 (python-shell--save-temp-file): New function.
1918 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1919 `string' comes from the current buffer.
1920 (python-shell-send-string-no-output): Remove `msg' arg.
1921 (python--use-fake-loc): New var.
1922 (python-shell-buffer-substring): Obey it. Try to compensate for the
1923 extra coding line added by python-shell--save-temp-file.
1924 (python-shell-send-region): Use python-shell--save-temp-file and
1925 python-shell-send-file directly. Add `nomain' argument.
1926 (python-shell-send-buffer): Use python-shell-send-region.
1927 (python-electric-pair-string-delimiter): New function.
1928 (python-mode): Use it.
1929
d0065ff1
EZ
19302013-11-04 Eli Zaretskii <eliz@gnu.org>
1931
1932 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1933 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1934 environment and decoding all of the default-directory's to here
1935 from command-line.
1936 (command-line): Decode also argv[0].
1937
1938 * loadup.el: Error out if default-directory is a multibyte string
1939 when we are dumping.
1940
1941 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1942
7397c587
TZ
19432013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1944
1945 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1946 (package-menu--print-info, package-menu--archive-predicate):
1947 Add Archive column to package list.
7397c587 1948
b27cc9fc
MA
19492013-11-04 Michael Albinus <michael.albinus@gmx.de>
1950
1951 Fix problems found while writing a test suite.
1952
1953 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1954 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1955 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1956 to nil when running original file name handler. Otherwise,
1957 there are problems with constructs like "$$FOO".
1958
1959 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1960 for `localname'.
1961
d8c4f18a
BB
19622013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1963
7b530552
BB
1964 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1965
1966 * subr.el (version<, version<=, version=):
1967 Update docstrings with information for snapshot versions.
1968
d8c4f18a
BB
1969 * helpers.el: New library for misc helper functions.
1970 (hash-table-keys): New function returning a list of hash keys.
1971 (hash-table-values): New function returning a list of hash values.
1972
dca01b09
DG
19732013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1974
1975 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1976 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1977
0a749fa0
MN
19782013-11-04 Michal Nazarewicz <mina86@mina86.com>
1979
1980 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1981 checking whether point is after a 1-letter word.
1982
19832013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1984
1985 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1986 Don't infloop when expanding region over `multiline' syntax-type that
1987 begins a line (bug#15778).
1988
4aca7145
SM
19892013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1992 Make it into a proper minor mode.
1993 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1994 (rectangle-mark-mode-map): New keymap.
1995 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1996
a0833f62
GM
19972013-11-04 Glenn Morris <rgm@gnu.org>
1998
1999 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2000
e61845c1
SM
20012013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2002
2003 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2004 (ruby-smie-rules): Use smie-rule-parent instead.
2005
2006 * emacs-lisp/smie.el (smie-rule-parent): Always call
2007 smie-indent-virtual rather than only for hanging tokens.
2008 (smie--next-indent-change): New helper command.
2009
62942f89
GM
20102013-11-03 Glenn Morris <rgm@gnu.org>
2011
2012 * Makefile.in (abs_srcdir): Remove.
2013 (emacs): Unset EMACSLOADPATH.
2014
b0b9e592
GM
20152013-11-02 Glenn Morris <rgm@gnu.org>
2016
18ba6a33 2017 * Makefile.in (EMACS): Use a relative filename.
8061810d 2018 (abs_top_builddir): Remove.
18ba6a33
GM
2019 (custom-deps, finder-data, autoloads): Use --chdir.
2020
6a8b929e
GM
2021 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2022
c617f3d0
GM
2023 Use relative filenames in TAGS files.
2024 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2025 (lisptagsfiles4, TAGS): Use relative file names.
2026 (TAGS-LISP): Remove.
2027 (maintainer-clean): No more TAGS-LISP file.
2028
b0b9e592
GM
2029 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2030 (lisptagsfiles4): Use absolute filenames again.
2031 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2032 Remove all *loaddefs files, not just the first. Remove esh-groups.
2033 (maintainer-clean): Delete TAGS, TAGS-LISP.
2034
d1c0ea6a
BB
20352013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2036
e61845c1
SM
2037 * emacs-lisp/package.el (package-version-join):
2038 Recognize snapshot versions.
d1c0ea6a 2039
684d71c6
BB
20402013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2041
2042 * subr.el (version-regexp-alist): Add support for snapshot versions.
2043
3d42b968
DG
20442013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2045
e61845c1
SM
2046 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2047 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2048 skip over our direct parent if it's an assignment token..
2049 (ruby-smie-rules): Use it.
2050
7ffd3721
DG
20512013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2052
2053 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2054 unconditionally. Remove now unnecessary forward declarations.
2055 Remove XEmacs-specific setup.
2056 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2057 (ruby-font-lock-syntactic-keywords)
2058 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2059 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2060 (ruby-here-doc-end-syntax): Remove.
2061 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2062 defined as function.
2063
a3996a2e
BB
20642013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2065
2066 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2067
6f9260e8
BB
20682013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2069
2070 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2071 table and abbrev table, `define-derived-mode' does that for us
2072 anyway.
2073
6014de84
GM
20742013-11-01 Glenn Morris <rgm@gnu.org>
2075
2076 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2077 files is atomic for some time, so no parallel compilation issues).
2078
3c334c14
JD
20792013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2080
2081 * faces.el (face-x-resources): Add :distant-foreground.
2082 (region): Use :distant-foreground for gtk and ns.
2083
9bc236c8
TH
20842013-11-01 Tassilo Horn <tsdh@gnu.org>
2085
5246583b 2086 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2087 BibTeX.
2088 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2089 (reftex-locate-bibliography-files): Us it.
2090
d14c81ee
CB
20912013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2092
0e7690de
CB
2093 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2094 allow comments in pbm files.
2095
d14c81ee
CB
2096 * term/w32-win.el (dynamic-library-alist): Support newer versions
2097 of libjpeg starting with v7: look only for the DLL from the
2098 version against which Emacs was built.
ac1bf374 2099 Support versions of libpng beyond 1.4.x.
019c8218 2100 Support libtiff v4.x.
d14c81ee 2101
983d0df5
BB
21022013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2103
2104 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2105 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2106 Add property :safe.
2107 (ruby-deep-arglist): Add property :type.
2108
47f58d85
GM
21092013-10-31 Glenn Morris <rgm@gnu.org>
2110
2111 * Makefile.in (custom-deps, finder-data): No need to setq the target
2112 variables, we are in the right directory and the defaults work fine.
2113
4f85b479
GM
21142013-10-30 Glenn Morris <rgm@gnu.org>
2115
ca7dd4cd
GM
2116 * Makefile.in (autoloads): Do not use abs_lisp.
2117
4f85b479
GM
2118 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2119 `newline' does not respect `standard-output', so use `princ'.
2120
cf59e41c
AA
21212013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2122
2123 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2124 * buff-menu.el (Buffer-menu--unmark): New function.
2125 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2126
74cf04fb
GM
21272013-10-30 Glenn Morris <rgm@gnu.org>
2128
b040b60e
GM
2129 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2130
f53d3815
GM
2131 * emacs-lisp/package.el (lm-homepage): Declare.
2132
5413d873
GM
2133 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2134 Fix doc typos.
2135
cecedb36
GM
2136 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2137
74cf04fb
GM
2138 * Makefile.in (finder-data, autoloads, update-subdirs)
2139 (compile-main, compile-clean, compile-always, bootstrap-clean):
2140 Check return value of cd.
2141 (compile-calc): Remove.
2142
195ee2f0
SM
21432013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2144
ae4002ce
SM
2145 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2146
2147 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2148 (byte-compile-and-folded): New function.
2149 (=, <, >, <=, >=): Use it.
2150
2151 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2152 (path-separator, null-device, buffer-file-coding-system)
2153 (lpr-headers-switches): Check system-type before modifying them.
2154 (find-buffer-file-type-coding-system): Mark obsolete.
2155 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2156 find-file-not-found-set-buffer-file-coding-system.
2157 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2158 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2159 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2160 (w32-direct-print-region-helper, w32-direct-print-region-function)
2161 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2162 * startup.el (normal-top-level-add-subdirs-to-load-path):
2163 * ps-print.el (ps-print-region-function):
2164 * lpr.el (print-region-function): Use new name.
2165
53b39e89
SM
2166 * subr.el (custom-declare-variable-early): Remove function.
2167 (custom-declare-variable-list): Remove var.
2168 (error, user-error): Remove `while' loop.
2169 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2170 (user-emacs-directory-warning, locate-user-emacs-file):
2171 Move to files.el.
2172 * simple.el (read-quoted-char-radix, read-quoted-char):
2173 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2174 Move from subr.el.
2175 * custom.el (custom-declare-variable-list): Don't process
2176 custom-declare-variable-list.
2177
195ee2f0
SM
2178 * progmodes/python.el (python-shell-get-buffer): New function.
2179 (python-shell-get-process): Use it.
2180 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2181 Python which encoding was used. Don't split-string since we only care
2182 about the first line. Return the temp-file, if applicable.
2183 (python-shell-send-region): Tell compile.el how to turn locations in
2184 the temp-file into locations in the source buffer.
2185
7e3561ee
SM
21862013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2187
4c9797cb
SM
2188 * subr.el (undefined): Add missing behavior from the C code for
2189 unbound keys.
2190
3472b6c6
SM
2191 * rect.el: Use lexical-binding. Add new rectangular region support.
2192 (rectangle-mark): New command.
2193 (rectangle--region): New var.
2194 (deactivate-mark-hook): Reset rectangle--region.
2195 (rectangle--extract-region, rectangle--insert-for-yank)
2196 (rectangle--highlight-for-redisplay)
2197 (rectangle--unhighlight-for-redisplay): New functions.
2198 (region-extract-function, redisplay-unhighlight-region-function)
2199 (redisplay-highlight-region-function): Use them to handle
2200 rectangular region.
2201 * simple.el (region-extract-function): New var.
2202 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2203 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2204 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2205 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2206 (redisplay-unhighlight-region-function)
2207 (redisplay-highlight-region-function): New vars.
2208 (redisplay--update-region-highlight): New function.
2209 (pre-redisplay-function): Use it.
2210 (exchange-point-and-mark): Don't deactivate the mark before
2211 reactivate-it anyway.
2212 * comint.el (comint-kill-region): Remove yank-handler argument.
2213 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2214 (delete-char): Remove property, since it's now part of their
2215 default behavior.
2216 (self-insert-iso): Remove property since this command doesn't exist.
2217
7e3561ee
SM
2218 * emacs-lisp/package.el (package--download-one-archive)
2219 (describe-package-1): Don't query the user about final newline.
2220
b9bef71f
DC
22212013-10-29 Daniel Colascione <dancol@dancol.org>
2222
2223 * net/tramp.el (tramp-methods): Document new functionality.
2224 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2225 tramp-hostname-checker if method provides one instead of scanning
2226 argument list for "%h" to decide hostname acceptability.
2227
4efc33f0
MA
22282013-10-28 Michael Albinus <michael.albinus@gmx.de>
2229
2230 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2231 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2232 Handle COPY-CONTENTS. (Bug#15737)
2233
ed42a877
DU
22342013-10-28 Daiki Ueno <ueno@gnu.org>
2235
2236 * epa-file.el
7e3561ee
SM
2237 (epa-file-cache-passphrase-for-symmetric-encryption):
2238 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2239
18c9f8a2
XF
22402013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2241
7a4bc7be
XF
2242 * image.el (defimage):
2243 (image-load-path): Doc fixes.
18c9f8a2 2244
b1e8e010
AM
22452013-10-27 Alan Mackenzie <acm@muc.de>
2246
2247 Indent statements in macros following "##" correctly.
7e3561ee
SM
2248 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2249 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2250
73d40d1e 22512013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2252
2253 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2254
c8c605ac
DG
22552013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2256
2257 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2258 after `=' is probably a new expression.
2259
ca7e59d4
RS
22602013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2261
2262 * man.el (man-imenu-title): New option.
2263 (Man-mode-map): Add menu. (Bug#15722)
2264 (Man-mode): Add imenu to menu.
2265
bae91342
DG
22662013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2267
2268 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2269 specific in what the first arg can be: a non-keyword word,
2270 string/regexp/percent literal opener, opening paren, or unary
2271 operator followed directly by word.
2272
eb89dc14
SM
22732013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2274
2275 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2276 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2277 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2278 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2279 Remove vars, they do not apply any more.
2280 (prolog-mode-abbrev-table): Remove redundant declaration.
2281 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2282 (prolog-use-smie): Remove.
2283 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2284 supported by prolog-electric-if-then-else-flag.
2285 (prolog-mode-variables, prolog-menu): Use setq-local.
2286 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2287 Remove binding to `Backspace' since this key doesn't exist anyway.
2288 Remove bindings for electric self-inserting keys.
2289 (prog-mode): Assume it's defined.
2290 (prolog-post-self-insert): New function.
2291 (prolog-mode): Use it.
2292 (prolog-indent-line, prolog-indent-level)
2293 (prolog-find-indent-of-matching-paren)
2294 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2295 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2296 (prolog-goto-next-paren, prolog-in-string-or-comment)
2297 (prolog-tokenize, prolog-inside-mline-comment)
2298 (prolog-find-start-of-mline-comment): Remove functions.
2299 (prolog-find-unmatched-paren, prolog-clause-end)
2300 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2301 (prolog-electric--if-then-else): Rename from
2302 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2303 (prolog-tokenize-searchkey): Remove const.
2304 (prolog-clause-info): Use forward-sexp.
2305 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2306 (prolog-electric-if-then-else): Remove commands.
2307 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2308 for use in post-self-insert-hook.
2309 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2310 for use in post-self-insert-hook.
2311 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2312 for use in post-self-insert-hook.
2313 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2314 adapt it for use in post-self-insert-hook.
2315
3dab0a83
MA
23162013-10-25 Michael Albinus <michael.albinus@gmx.de>
2317
2318 * emacs-lisp/ert.el (ert-run-tests-interactively):
2319 Use `completing-read'. (Bug#9756)
2320
fbfd0e1d
EZ
23212013-10-25 Eli Zaretskii <eliz@gnu.org>
2322
2323 * simple.el (line-move): Call line-move-1 instead of
2324 line-move-visual when the current window hscroll is zero, but
2325 temporary-goal-column indicates we will need to hscroll as result
2326 of the movement. (Bug#15712)
2327
963ce636
DG
23282013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2329
2330 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2331 capitalization. Use :visible instead of :active.
2332 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2333 commands that are used with SMIE.
2334 (ruby-do-end-to-brace): Insert space after `{'.
2335
a0be396a
JA
23362013-10-25 John Anthony <john@jo.hnanthony.com>
2337
f73754c9
JA
2338 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2339
2340 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2341
f5bf77df
GM
23422013-10-25 Glenn Morris <rgm@gnu.org>
2343
2344 * vc/vc.el (vc-print-log): Don't use a working revision unless
2345 one was explicitly specified. (Bug#15322)
2346
37241f62
SM
23472013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * subr.el (add-to-list): Preserve return value in compiler-macro
2350 (bug#15692).
2351
6408a65d
RS
23522013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2353
2354 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2355 result. Ask user to retry using '-all' flag. (Bug#15701)
2356
71e3276b
SM
23572013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * emacs-lisp/smie.el: New smie-config system.
2360 (smie-config): New defcustom.
2361 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2362 (smie-config-guess, smie-config-save): New commands.
2363 (smie-config--mode-local, smie-config--buffer-local)
2364 (smie-config--trace, smie-config--modefuns): New vars.
2365 (smie-config--advice, smie-config--mode-hook)
2366 (smie-config--setter, smie-config-local, smie-config--get-trace)
2367 (smie-config--guess-value, smie-config--guess): New functions.
2368 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2369 text properties. Treat "string fence" syntax like string syntax.
2370
2371 * progmodes/sh-script.el (sh-use-smie): Change default.
2372 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2373 (sh-var-value): Simplify by CSE.
2374 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2375 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2376 is used.
2377 (sh-guess-basic-offset): Use cl-incf.
2378 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2379
60db713e
HE
23802013-10-24 Helmut Eller <eller.helmut@gmail.com>
2381
2382 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2383 (bug#15699).
2384
8b251df6
GM
23852013-10-24 Glenn Morris <rgm@gnu.org>
2386
2387 * Makefile.in (abs_top_srcdir): Remove.
2388 (update-subdirs): Use relative path to update-subdirs.
2389
6be0e22b
EZ
23902013-10-24 Eli Zaretskii <eliz@gnu.org>
2391
2392 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2393 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2394 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2395 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2396
50b5b857
MA
23972013-10-24 Michael Albinus <michael.albinus@gmx.de>
2398
2399 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2400 (ert-test-skipped): New error.
2401 (ert-skip, ert-stats-skipped): New defuns.
2402 (ert--skip-unless): New macro.
2403 (ert-test-skipped): New struct.
2404 (ert--run-test-debugger, ert-test-result-type-p)
2405 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2406 (ert--stats-set-test-and-result, ert-char-for-test-result)
2407 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2408 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2409 Handle skipped tests. (Bug#9803)
50b5b857 2410
6f317c2f
GM
24112013-10-24 Glenn Morris <rgm@gnu.org>
2412
e43817c1
GM
2413 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2414
6f317c2f
GM
2415 * Makefile.in (abs_top_srcdir): New, set by configure.
2416 (update-subdirs): Correct build-aux location.
2417
369bbf71
DG
24182013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2419
8297b2cf
DG
2420 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2421 value, whether we could auto-deduce `backend', or not.
2422
369bbf71
DG
2423 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2424 with parameters" example. Simplify the "is it block or is it
2425 hash" check, but also make it more thorough.
2426
d5f1282f
MF
24272013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2428
2429 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2430
bc4aaa31
SM
24312013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2432
03d44565
SM
2433 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2434 { if it is hanging.
2435
bc4aaa31
SM
2436 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2437 :before ";".
2438
f493ff19
JB
24392013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2440
2441 * progmodes/compile.el (compilation-directory-matcher)
2442 (compilation-page-delimiter):
2443 Support GNU Make-4.0 directory quoting. (Bug#15678)
2444
c744a3b9
LL
24452013-10-23 Leo Liu <sdl.web@gmail.com>
2446
2447 * ido.el (ido-tidy): Handle read-only text.
2448
b8e3b0a9
GM
24492013-10-23 Glenn Morris <rgm@gnu.org>
2450
2451 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2452 (emacs, compile, compile-always):
2453 Quote entities that might contain whitespace.
2454 (custom-deps, finder-data, autoloads): Use abs_lisp.
2455 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2456 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2457 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2458
ee4282cd
DG
24592013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2460
bc4aaa31
SM
2461 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2462 Use `following-char'.
7790a270 2463
ee4282cd 24642013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2465
2466 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2467 * progmodes/ruby-mode.el (ruby-smie-rules):
2468 Remove corresponding workaround. Fix indentation rule of ";" so it
2469 also applies when ";" is the parent.
2470
d40a46d7
XF
24712013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2472
2473 * frame.el (display-screens, display-pixel-height)
2474 (display-pixel-width, display-mm-width, display-backing-store)
2475 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2476 (display-visual-class, display-monitor-attributes-list):
2477 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2478
a0f143c9
MG
24792013-10-22 Michael Gauland <mikelygee@amuri.net>
2480
2481 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2482 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2483
18cacc39
DG
24842013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2485
2486 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2487 TODO. Add "." after " @ ".
2488 (ruby-smie--at-dot-call): New function. Checks if point at method
2489 call with explicit target.
2490 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2491 to the method name tokens when it precedes them.
2492 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2493 (ruby-smie-rules): Add rule for indentation before and after "."
2494 token.
2495
df74c4be
SM
24962013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2497
c6dab55f
SM
2498 * textmodes/remember.el (remember-diary-extract-entries):
2499 Avoid add-to-list.
2500
df74c4be
SM
2501 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2502 an instruction.
2503
8c1ae481
DG
25042013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2505
cfef16c0
DG
2506 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2507 (ruby-smie--implicit-semi-p): Add new operator chars.
2508
8c1ae481
DG
2509 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2510 `smie-down-list'.
2511 (ruby-smie--args-separator-p): Check that there's no newline
2512 between method call and its arguments.
2513
87756ca9
AM
25142013-10-20 Alan Mackenzie <acm@muc.de>
2515
2516 Allow comma separated lists after Java "implements".
2517
df74c4be
SM
2518 * progmodes/cc-engine.el (c-backward-over-enum-header):
2519 Parse commas.
87756ca9
AM
2520 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2521 from a "disallowed" list in enum fontification.
2522
c25f8957
JB
25232013-10-20 Johan Bockgård <bojohan@gnu.org>
2524
df74c4be 2525 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2526
c25f8957
JB
2527 * progmodes/verilog-mode.el (verilog-mode): Don't set
2528 comment-indent-function globally.
2529
aca5fcdc
JD
25302013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2531
5f161884
JD
2532 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2533 Move Info menu item creation to ns-win.el.
2534
2535 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2536 in menu bar.
2537
aca5fcdc
JD
2538 * menu-bar.el: Move GNUStep specific menus...
2539
2540 * term/ns-win.el (ns-initialize-window-system): ... to here.
2541
914b7f98
SM
25422013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 * simple.el (newline): Only run post-self-insert-hook when
2545 called interactively.
2546
846ffe77
JB
25472013-10-19 Johan Bockgård <bojohan@gnu.org>
2548
2549 * icomplete.el (icomplete-with-completion-tables): Add :version.
2550
033f22dd
AM
25512013-10-19 Alan Mackenzie <acm@muc.de>
2552
2553 Fix fontification bugs with constructors and const.
2554
2555 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2556 CASE 2) Remove the check for the absence of a suffix construct
2557 after a function declaration with only types (no identifiers) in
2558 the parentheses. Also, accept a function declaration with just a
2559 type inside the parentheses, if this type can be positively
2560 recognised as such, or if a prefix keyword like "explicit" nails
2561 down the construct as a declaration.
2562
58ce0cfc
EZ
25632013-10-19 Eli Zaretskii <eliz@gnu.org>
2564
2565 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2566 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2567 the problem whereby selecting a menu item that leads to a
2568 minibuffer prompt moves the cursor out of the minibuffer window,
2569 making it hard to type at the prompt. Suggested by Stefan Monnier
2570 <monnier@iro.umontreal.ca>.
2571
50e28e7d
JD
25722013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2573
2574 * menu-bar.el: Don't make Services menu.
2575
7deed4bf
RS
25762013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2577
2578 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2579 (ffap-alist): Use ffap-c++-mode for c++-mode.
2580 (ffap-c++-path): New variable.
2581 (ffap-c++-mode): New function.
2582
7bcb455b
JVJ
25832013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2584
2585 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2586
f0ff1cd5
MA
25872013-10-18 Michael Albinus <michael.albinus@gmx.de>
2588
2589 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2590 introduced on 2013-09-08, which results in an infinite loop
2591 requesting a password.
2592
d64da4b7
GM
25932013-10-18 Glenn Morris <rgm@gnu.org>
2594
2595 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2596
ea89ff08
WS
25972013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2598
2599 Sync with upstream verilog-mode revision 1a6ecec7.
2600 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2601 (verilog-mode-release-date): Remove.
2602 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2603 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2604 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2605 (verilog-auto-tieoff-ignore-regexp)
2606 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2607 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2608 (verilog-signals-with, verilog-dir-cache-preserving)
2609 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2610 Doc fixes.
2611 (verilog-case-fold): New option, to control case folding in
2612 regexp searches, bug597.
2613 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2614 (verilog-string-match-fold, verilog-in-paren-count)
2615 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2616 (verilog-at-close-struct-p): New functions.
2617 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2618 (verilog-forward-sexp, verilog-set-auto-endcomments):
2619 (verilog-leap-to-case-head): Handle "unique0" case.
2620 (verilog-in-constraint-re): New constant.
2621 (verilog-keywords, verilog-type-font-keywords):
2622 Add some SystemVerilog 1800-2012 keywords.
2623 (verilog-label-be): Remove unimplemented argument, bug669.
2624 (verilog-batch-execute-func): When batch expanding clear
2625 create-lockfiles to prevent spurious user locks when a file ends
2626 up not changing.
2627 (verilog-calculate-indent, verilog-calc-1)
2628 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2629 (verilog-do-indent): Fix indentation of nested constraints
2630 and structures.
2631 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2632 (verilog-auto-inst-param): Use verilog-string-match-fold.
2633 (verilog-read-inst-module-matcher):
2634 Fix AUTOINST on gate primitives with #1.
2635 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2636 Reads all user-defined typed variables.
2637 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2638 (verilog-signals-matching-regexp)
2639 (verilog-signals-not-matching-regexp, verilog-auto):
2640 Respect verilog-case-fold.
2641 (verilog-diff-report): Fix line count.
2642 (verilog-auto-assign-modport): Remove unused local `modi'.
2643 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2644 better handle multidimensional arrays.
2645 Fix packed array ports misadding bit index in AUTOINST, bug637.
2646 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2647 to not double-declare existing outputs and inputs, respectively.
2648 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2649 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2650 (verilog-sk-uvm-component): New skeleton.
2651 (verilog-submit-bug-report): Add verilog-case-fold,
2652 remove verilog-mode-release-date.
2653
ef566920
BR
26542013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2655
2656 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2657 as before.
2658
29df8a0b
RT
26592013-10-18 Reuben Thomas <rrt@sc3d.org>
2660
2661 * textmodes/remember.el (remember): set buffer-offer-save in
2662 remember buffers (bug#13566).
2663
04a19a79
DC
26642013-10-18 Daniel Colascione <dancol@dancol.org>
2665
2666 When evaluating forms in ielm, direct standard output to ielm
2667 buffer. Add new ielm-return-for-effect command. Remove trailing
2668 whitespace throughout.
2669
2670 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2671 (ielm-return-for-effect): New command.
2672 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2673 (ielm-eval-input): Accept optional `for-effect' parameter.
2674 Bind `standard-output' to stream we create using
04a19a79
DC
2675 `ielm-standard-output-impl'. Suppress printing result when
2676 `for-effect'.
2677 (ielm-standard-output-impl): New function.
2678 (inferior-emacs-lisp-mode): Explain new features in documentation.
2679
4c1f03ef
MA
26802013-10-17 Michael Albinus <michael.albinus@gmx.de>
2681
2682 Code cleanup.
2683
2684 * net/tramp.el (tramp-debug-message): Do not check for connection
2685 buffer.
2686 (tramp-message): Use "vector" connection property.
2687
2688 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2689 (tramp-equal-remote, tramp-eshell-directory-change)
2690 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2691 (tramp-adb-handle-rename-file)
2692 * net/tramp-cmds.el (tramp-list-remote-buffers)
2693 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2694 * net/tramp-compat.el (tramp-compat-process-running-p)
2695 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2696 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2697 (tramp-gvfs-handle-rename-file)
2698 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2699 (tramp-set-file-uid-gid)
2700 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2701 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2702 of `file-remote-p'.
2703
2704 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2705 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2706 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2707 (tramp-gw-open-network-stream): Suppress unrelated traces.
2708
2709 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2710 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2711 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2712 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2713 connection property.
2714
2715 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2716 persistency file.
4c1f03ef
MA
2717
2718 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2719 Refactor common code. Improve debug message.
2720 (tramp-maybe-open-connection)
2721 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2722 connection buffer too early.
2723
2724 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2725 from `tramp-smb-actions-with-acl'.
2726 (tramp-smb-actions-set-acl): New defconst.
2727 (tramp-smb-handle-copy-directory)
2728 (tramp-smb-action-get-acl): New defun, renamed from
2729 `tramp-smb-action-with-acl'.
2730 (tramp-smb-action-set-acl): New defun.
2731 (tramp-smb-handle-set-file-acl): Rewrite.
2732
642eb8b6
GM
27332013-10-17 Glenn Morris <rgm@gnu.org>
2734
2735 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2736
85527ff3
SM
27372013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2738
921c1d62
SM
2739 * skeleton.el (skeleton-newline): Remove.
2740 (skeleton-internal-1): Use (insert "\n") instead.
2741
e333fb10
SM
2742 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2743 let-bindings.
2744
85527ff3
SM
2745 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2746 forward-sexp-function while we redo its job (bug#15613).
2747
c8722a97
JB
27482013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2749
2750 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2751 represented by lists.
2752
7a550bbb
GM
27532013-10-16 Glenn Morris <rgm@gnu.org>
2754
2755 * tmm.el (tmm--history): New dynamic variable.
2756 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2757
f19da8ad
MA
27582013-10-16 Michael Albinus <michael.albinus@gmx.de>
2759
2760 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2761 (tramp-smb-errors): Add error messages.
2762 (tramp-smb-actions-with-acl): New defconst.
2763 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2764 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2765 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2766 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2767 (tramp-smb-get-stat-capability): Fix tests.
2768
a24b9961
DK
27692013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2770
2771 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2772 (bug#15580).
2773
62ad85e6
GM
27742013-10-16 Glenn Morris <rgm@gnu.org>
2775
0283d6b0
GM
2776 * ansi-color.el (ansi-color-drop-regexp):
2777 Add 1J, 1K, 2K. (Bug#15617)
2778
012e2f9f
GM
2779 * files.el (hack-local-variables--warned-lexical): New.
2780 (hack-local-variables):
2781 Warn about misplaced lexical-binding. (Bug#15616)
2782
62ad85e6
GM
2783 * net/eww.el (eww-render): Always set eww-current-url,
2784 and update header line. (Bug#15622)
2785 (eww-display-html): ... Rather than just doing it here.
2786
6456c0ea
EZ
27872013-10-15 Eli Zaretskii <eliz@gnu.org>
2788
2789 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2790 menu navigations commands.
2791
c2de5588
DK
27922013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2793
2794 * progmodes/subword.el (subword-capitalize): Be careful when
2795 the search for [[:alpha:]] fails (bug#15580).
2796
ccd4a783
EZ
27972013-10-14 Eli Zaretskii <eliz@gnu.org>
2798
2799 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2800 to commands that scroll the menu.
2801
1eda1d8d
DG
28022013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2803
c2de5588
DK
2804 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2805 Handle methods ending with `?' and `!'.
1eda1d8d 2806
e70181b8
AM
28072013-10-14 Akinori MUSHA <knu@iDaemons.org>
2808
2809 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2810 `japanese-cp932' to `cp932' to fix the problem where saving a
2811 source file written in Shift_JIS twice would end up having
2812 `coding: japanese-cp932' which Ruby could not recognize.
2813 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2814 in `ruby-encoding-map'.
2815 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2816 doesn't need to be explicitly declared in magic comment.
2817 (ruby-encoding-map): Add type declaration for better customize UI.
2818
9148ee92
GM
28192013-10-13 Glenn Morris <rgm@gnu.org>
2820
a5d38e34
GM
2821 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2822 Occur buffers are read-only. http://bugs.debian.org/720775
2823
9148ee92
GM
2824 * emacs-lisp/authors.el (authors-fixed-entries):
2825 Comment out old alpha stuff.
2826
a9ba094b
DG
28272013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2828
2829 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2830 to `after-save-hook' instead of `before-save-hook'.
2831 (ruby-mode-set-encoding): Use the value of coding system used to
2832 write the file. Call `basic-save-buffer-1' after modifying the
2833 buffer.
2834
7a068717
AM
28352013-10-13 Alan Mackenzie <acm@muc.de>
2836
2837 Fix indentation/fontification of Java enum with
2838 "implements"/generic.
2839
c2de5588
DK
2840 * progmodes/cc-engine.el (c-backward-over-enum-header):
2841 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2842 (c-inside-bracelist-p): Uses new function above.
2843 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2844 function above.
2845 (c-font-lock-enum-tail): Uses new function above.
2846
85b64f02
KH
28472013-10-13 Kenichi Handa <handa@gnu.org>
2848
2849 * international/mule-cmds.el (select-safe-coding-system): Remove a
2850 superfluous condition in chekcing whether a coding system is safe
2851 or not.
2852
fc7f501b
OK
28532013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2854
2855 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2856
fdcb2049
AP
28572013-10-13 Andreas Politz <politza@hochschule-trier.de>
2858
2859 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2860
8c106d17
GM
28612013-10-13 Glenn Morris <rgm@gnu.org>
2862
feab892d
GM
2863 * menu-bar.el (menu-bar-update-buffers):
2864 Unify Buffers menu prompt string. (Bug#15576)
2865
b22d0686
GM
2866 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2867
8c106d17
GM
2868 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2869 Add some entries.
2870 (authors-fixed-entries): Use accented form of name.
2871
1b12c797
SM
28722013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2873
650fa7bf 2874 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2875 method calls (bug#15594).
650fa7bf
SM
2876 (ruby-smie--args-separator-p): New function.
2877 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2878 recognize paren-free method calls.
2879
1b12c797
SM
2880 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2881 internals of universal-argument.
2882
029619c8
EZ
28832013-10-11 Eli Zaretskii <eliz@gnu.org>
2884
2885 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2886 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2887 dropped menu on second mouse click on the menu bar.
029619c8 2888
dd070019
SM
28892013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2892 (explicit-shell-file-name): Declare.
2893 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2894 (sh-completion-at-point-function): New function.
2895 (sh-mode): Use it.
2896 (sh-smie--keyword-p): Remove unused argument.
2897 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2898 vars.
2899 (sh-set-shell): Always setup SMIE, even if we use the
2900 old indentation code.
2901
0922b826
DG
29022013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2903
b68e2926
DG
2904 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2905 cases of ? and =.
2906 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2907 predicate would return nil are almost non-existent.
2908 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2909
0922b826
DG
2910 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2911 cache also after commands that modify the buffer but don't move
2912 point.
2913
ee041f2d
SM
29142013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * env.el (substitute-env-in-file-name): New function.
2917 (substitute-env-vars): Extend the meaning of the optional arg.
2918
a5dab159
EZ
29192013-10-10 Eli Zaretskii <eliz@gnu.org>
2920
2921 * term/w32-win.el (dynamic-library-alist): Define separate lists
2922 of GIF DLLs for versions before and after 5.0.0 of giflib.
2923 (Bug#15531)
2924
0449d6cd 29252013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2926
2927 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2928 not locked, use last revision and current source as
2929 defaults. (Bug#15569)
2930
2f6e161e
MY
29312013-10-10 Masatake YAMATO <yamato@redhat.com>
2932
2933 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2934 menu-bar is hidden.
2935
6c8413fc
MR
29362013-10-10 Martin Rudalics <rudalics@gmx.at>
2937
2938 * window.el (pop-to-buffer-same-window): Fix doc-string.
2939 (Bug#15492)
2940
20832de0
SM
29412013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2944
c6e8ae77
AC
29452013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2946
2947 * calendar/icalendar.el (icalendar-import-file):
2948 Fix interactive spec. (Bug#15482)
2949
9db13baf
GM
29502013-10-10 Glenn Morris <rgm@gnu.org>
2951
9271e90e
GM
2952 * desktop.el (desktop-save): Default to saving in .emacs.d,
2953 since PWD is no longer in desktop-path by default. (Bug#15319)
2954
9db13baf
GM
2955 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2956 now that text mode has a menu with the same entry.
2957 (menu-bar-text-mode-auto-fill): Remove now unused func.
2958 * textmodes/text-mode.el (text-mode-map):
2959 Use auto-fill help text from menu-bar.el.
2960
a0be396a 29612013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2962
2963 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2964
2edcd3c7
JL
29652013-10-09 Juri Linkov <juri@jurta.org>
2966
2967 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2968 instead of this-command-keys. Add universal-argument-more and
2969 universal-argument-minus to the list of prefix commands. (Bug#15568)
2970
574411d0
GM
29712013-10-09 Glenn Morris <rgm@gnu.org>
2972
14afa541
GM
2973 * vc/vc-svn.el (vc-svn-create-repo):
2974 Expand paths in file://... url. (Bug#15446)
2975
574411d0
GM
2976 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2977 Add some entries.
2978 (authors): Remove unused local variables.
2979
79804536
SM
29802013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * profiler.el: Create a more coherent calltree from partial backtraces.
2983 (profiler-format): Hide the tail with `invisible' so that C-s can still
2984 find the hidden elements.
2985 (profiler-calltree-depth): Don't recurse so enthusiastically.
2986 (profiler-function-equal): New hash-table-test.
2987 (profiler-calltree-build-unified): New function.
2988 (profiler-calltree-build): Use it.
2989 (profiler-report-make-name-part): Indent the calltree less.
2990 (profiler-report-mode): Add visibility specs for profiler-format.
2991 (profiler-report-expand-entry, profiler-report-toggle-entry):
2992 Expand the whole subtree when provided with a prefix arg.
2993
238150c8
DG
29942013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2995
2996 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2997 iuwu-mod token.
2998 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2999 hanging iuwu-mod token.
3000 (ruby-smie--forward-token): Do not include a dot after a token in
3001 that token.
3002 (ruby-smie--backward-token): Likewise.
3003
b0949cc4
JL
30042013-10-08 Juri Linkov <juri@jurta.org>
3005
3006 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3007 to isearch-other-control-char.
3008 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3009 and isearch-post-command-hook to post-command-hook.
3010 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3011 and isearch-post-command-hook from post-command-hook.
3012 (isearch-unread-key-sequence)
3013 (isearch-reread-key-sequence-naturally)
3014 (isearch-lookup-scroll-key, isearch-other-control-char)
3015 (isearch-other-meta-char): Remove functions.
3016 (isearch-pre-command-hook, isearch-post-command-hook):
3017 New functions based on isearch-other-meta-char rewritten
3018 relying on the new behavior of overriding-terminal-local-map
3019 that does not replace the local keymaps any more. (Bug#15200)
3020
4ed77415
EZ
30212013-10-08 Eli Zaretskii <eliz@gnu.org>
3022
3023 Support menus on text-mode terminals.
3024 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3025 functionality.
3026
3027 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3028
c2de5588
DK
3029 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3030 Move here from mouse.el.
4ed77415
EZ
3031 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3032 and arrow keys.
3033 (tty-menu-navigation-map): New map for TTY menu navigation.
3034
3035 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3036
3037 * frame.el (display-mouse-p): Report text-mode mouse as available
3038 on w32.
3039 (display-popup-menus-p): Report availability if mouse is
3040 available; don't condition on window-system.
3041
3042 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3043 (tty-menu-selected-face): New faces.
3044
b7d5bd82
TL
30452013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3046
06286513
SM
3047 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3048 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3049 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3050 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3051 New constants.
3052 (lisp-mode-variables): New `elisp' argument.
3053 (emacs-lisp-mode): Use it.
3054 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3055 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3056
b7d5bd82
TL
3057 * indent.el: Use lexical-binding.
3058 (indent-region): Add progress reporter.
3059 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3060 last step.
3061 (indent--next-tab-stop): New function to implement this behavior.
3062 (tab-to-tab-stop, move-to-tab-stop): Use it.
3063
30642013-10-08 Teemu Likonen <tlikonen@iki.fi>
3065
3066 * indent.el (indent-rigidly--current-indentation): New function.
3067 (indent-rigidly-map): New var.
3068 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3069
5ea75d23
BG
30702013-10-08 Bastien Guerry <bzg@gnu.org>
3071
3072 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3073
cc5da1ec
SM
30742013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3075
8ffa1a0b
SM
3076 * progmodes/perl-mode.el: Use lexical-binding.
3077 Remove redundant :group args.
3078 (perl-nochange): Change default to be closer to other major modes's
3079 standard behavior.
3080 (perl-indent-line): Don't consider text on current line as a
3081 valid beginning of function from which to indent.
3082
f2223371
SM
3083 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3084 with more than one argument (bug#15538).
3085
44256060
SM
3086 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3087
cc5da1ec
SM
3088 * vc/pcvs.el: Use lexical-binding.
3089 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3090 environment of `eval'.
3091 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3092 than a list of expressions. Adjust callers.
3093 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3094
0ea1599d
DG
30952013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3096
3097 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3098 case of the dot in a chained method call being on the following line.
0ea1599d 3099
da3e5ebb
SM
31002013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3101
2abb4e65
SM
3102 * electric.el (electric-indent-inhibit): New var.
3103 (electric-indent-post-self-insert-function): Use it.
3104 * progmodes/python.el (python-mode): Set it.
3105
d2e0e795
SM
3106 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3107 open braces.
3108
3109 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3110
bdc6b4c8
SM
3111 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3112 (css-mode): Use electric-indent-chars.
3113
da3e5ebb
SM
3114 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3115 (font-lock-beg, font-lock-end): Move before first use.
3116 (nxml-mode): Use syntax-propertize-function.
3117 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3118 (nxml-extend-after-change-region): Remove.
3119 * nxml/xmltok.el: Use lexical-binding.
3120 (xmltok-save): Use `declare'.
3121 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3122 * nxml/nxml-util.el: Use lexical-binding.
3123 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3124 Use `declare'.
3125 * nxml/nxml-ns.el: Use lexical-binding.
3126 (nxml-ns-save): Use `declare'.
3127 (nxml-ns-prefixes-for): Avoid add-to-list.
3128 * nxml/rng-match.el: Use lexical-binding.
3129 (rng--ipattern): Use cl-defstruct.
3130 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3131 (rng-cons-group-after, rng-subst-group-after)
3132 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3133 Use closures instead of `(lambda...).
3134
f8f91d5d
MA
31352013-10-07 Michael Albinus <michael.albinus@gmx.de>
3136
3137 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3138 of BEG and END.
3139
da3e5ebb
SM
3140 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3141 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3142 (tramp-gvfs-handle-insert-file-contents): Remove function.
3143
da3e5ebb
SM
3144 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3145 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3146
3147 * net/trampver.el: Update release number.
3148
7ccae3b1
SM
31492013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3150
55ca2c0d
SM
3151 * progmodes/compile.el (compilation-parse-errors):
3152 Use compilation--put-prop.
3153 (compilation--ensure-parse): Check compilation-multiline.
3154
731fc3ae
SM
3155 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3156
da3e5ebb
SM
3157 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3158 lexical-binding.
a5833280 3159
2e7ba2c2
SM
3160 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3161
7ccae3b1
SM
3162 * progmodes/ruby-mode.el: Fix recently added tests.
3163 (ruby-smie-grammar): Add - and +.
3164 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3165 (ruby-smie--backward-id): New functions.
3166 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3167 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3168 any more.
3169
85698d63
LL
31702013-10-07 Leo Liu <sdl.web@gmail.com>
3171
3172 * register.el (register-preview-delay)
3173 (register-preview-functions): New variables.
3174 (register-read-with-preview, register-preview)
3175 (register-describe-oneline): New functions.
3176 (point-to-register, window-configuration-to-register)
3177 (frame-configuration-to-register, jump-to-register)
3178 (number-to-register, view-register, insert-register)
3179 (copy-to-register, append-to-register, prepend-to-register)
3180 (copy-rectangle-to-register): Use register-read-with-preview to
3181 read register. (Bug#15525)
3182
3986af6c
DS
31832013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3184
3185 * net/network-stream.el (network-stream-open-starttls): Don't add
3186 --insecure if it's already present, because that gnutls-cli
3187 rejects getting that parameter twice.
3188
5cd9cda9
DG
31892013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3190
3191 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3192 keyword, too.
3193
da9ea6d9
DG
31942013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3195
3196 * newcomment.el (comment-use-global-state): Change default value
3197 to t, mark obsolete (Bug#15251).
3198 (comment-beginning): In addition to `comment-to-syntax', check the
3199 value of `comment-use-global-state'.
3200
34d1a133
SM
32012013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3202
3203 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3204 (ruby-comment-column): Follow the global default, by default.
3205 (ruby-smie-grammar): Add assignment syntax.
3206 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3207 open-paren, a comma, or a \.
3208 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3209 and line continuations.
3210 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3211 followed by implicit semi-colons. Add rule for string concatenation
3212 and for indentation at BOB.
3213 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3214
3215 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3216 calling next-sexp, since next-token may have skipped chars which
3217 next-sexp doesn't know should be skipped!
3218
6f6ab820
LL
32192013-10-05 Leo Liu <sdl.web@gmail.com>
3220
34d1a133
SM
3221 * progmodes/octave.el (octave-send-region):
3222 Call compilation-forget-errors.
6f6ab820 3223
34ca0f4c
XF
32242013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3225
3226 * vc/vc-svn.el (vc-svn-find-admin-dir):
3227 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3228 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3229 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3230 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3231
a27c1b72
SM
32322013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3233
3234 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3235
258ab3bc
SM
32362013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * subr.el (read-passwd): Hide chars even when called within a context
3239 where after-change-functions is disabled (bug#15501).
3240 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3241 until we removed ourself from overriding-terminal-local-map.
3242
939fb29c
LL
32432013-10-04 Leo Liu <sdl.web@gmail.com>
3244
258ab3bc
SM
3245 * progmodes/octave.el (inferior-octave-mode):
3246 Call compilation-forget-errors.
939fb29c 3247
63bd7f35
XF
32482013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3249
3250 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3251
9e6229fa
MA
32522013-10-04 Michael Albinus <michael.albinus@gmx.de>
3253
3254 * net/secrets.el (secrets-create-collection): Add optional
3255 argument ALIAS. Use proper Label keyword. Append ALIAS as
3256 dbus-call-method argument. (Bug#15516)
3257
1dab32a3
LL
32582013-10-04 Leo Liu <sdl.web@gmail.com>
3259
3260 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3261 (inferior-octave-compilation-font-lock-keywords): New variables.
3262 (compilation-error-regexp-alist)
3263 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3264 (inferior-octave-mode): Use compilation-shell-minor-mode.
3265
6cad7ba3
JS
32662013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3267
3268 * minibuffer.el (completion--replace): Be careful that `end' might be
3269 a marker.
3270
acbadd00
DU
32712013-10-03 Daiki Ueno <ueno@gnu.org>
3272
3273 Add support for package signature checking.
3274 * emacs-lisp/package.el (url-http-file-exists-p)
3275 (epg-make-context, epg-context-set-home-directory)
3276 (epg-verify-string, epg-context-result-for)
3277 (epg-signature-status, epg-signature-to-string)
3278 (epg-check-configuration, epg-configuration)
3279 (epg-import-keys-from-file): Declare.
3280 (package-check-signature): New user option.
3281 (package-unsigned-archives): New user option.
3282 (package-desc): Add `signed' field.
3283 (package-load-descriptor): Set `signed' field if .signed file exists.
3284 (package--archive-file-exists-p): New function.
3285 (package--check-signature): New function.
3286 (package-install-from-archive): Check package signature.
3287 (package--download-one-archive): Check archive signature.
3288 (package-delete): Remove .signed file.
3289 (package-import-keyring): New command.
3290 (package-refresh-contents): Import default keyring.
3291 (package-desc-status): Add "unsigned" status.
3292 (describe-package-1, package-menu--print-info)
3293 (package-menu-mark-delete, package-menu--find-upgrades)
3294 (package-menu--status-predicate): Support "unsigned" status.
3295
adf2aa61
SM
32962013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3297
3298 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3299 the new compilation scheme using the new byte-codes.
3300
3301 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3302 (byte-pophandler): New byte codes.
3303 (byte-goto-ops): Adjust accordingly.
3304 (byte-compile--use-old-handlers): New var.
3305 (byte-compile-catch): Use new byte codes depending on
3306 byte-compile--use-old-handlers.
3307 (byte-compile-condition-case--old): Rename from
3308 byte-compile-condition-case.
3309 (byte-compile-condition-case--new): New function.
3310 (byte-compile-condition-case): New function that dispatches depending
3311 on byte-compile--use-old-handlers.
3312 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3313 when we can.
3314
3315 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3316 Optimize under `condition-case' and `catch' if
3317 byte-compile--use-old-handlers is nil.
3318 (disassemble-offset): Handle new bytecodes.
3319
328a8179
SM
33202013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * subr.el (error): Use `declare'.
3323 (decode-char, encode-char): Use advertised-calling-convention instead
3324 of the docstring to discourage use of the `restriction' arg.
3325
15a1e936
DU
33262013-10-03 Daiki Ueno <ueno@gnu.org>
3327
3328 * epg.el (epg-verify-file): Add a comment saying that it does not
3329 notify verification error as a return value nor a signal.
3330 (epg-verify-string): Ditto.
3331
376f862a
KR
33322013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3333
3334 * progmodes/compile.el (compilation-start): Try globbing the arg to
3335 `cd' (bug#15417).
3336
a2f93a5f
MA
33372013-10-02 Michael Albinus <michael.albinus@gmx.de>
3338
3339 Sync with Tramp 2.2.8.
3340
3341 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3342 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3343 * net/trampver.el: Update release number.
3344
0daa0804
JD
33452013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3346
3347 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3348 and default-process-coding-system for darwin only.
3349
abd1ae34
SM
33502013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3353
be4e325d
MH
33542013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3355
3356 * vc/vc-git.el (vc-git-grep): Disable pager.
3357
e9155c4a
DG
33582013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3359
494e898b
DG
3360 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3361 Use :url instead of :homepage, as per
3362 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3363
e9155c4a
DG
3364 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3365 non-nil, use `syntax-ppss' (Bug#15251).
3366
481a8e0f
RS
33672013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3368
be4e325d
MH
3369 * progmodes/octave.el (inferior-octave-startup-file):
3370 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3371
056453c6
DG
33722013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3373
be4e325d
MH
3374 * emacs-lisp/package.el (package-desc-from-define):
3375 Accept additional arguments as plist, convert them to an alist and store
3376 them in the `extras' slot.
056453c6
DG
3377 (package-generate-description-file): Convert extras alist back to
3378 plist and append to the `define-package' form arguments.
3379 (package--alist-to-plist): New function.
3380 (package--ac-desc): Add `extras' slot.
3381 (package--add-to-archive-contents): Check if the archive-contents
3382 vector is long enough, and if it is, pass its `extras' slot value
3383 to `package-desc-create'.
3384 (package-buffer-info): Call `lm-homepage', pass the returned value
3385 to `package-desc-from-define'.
3386 (describe-package-1): Render the homepage button (Bug#13291).
3387
be4e325d
MH
3388 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3389 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3390
832966e5
JD
33912013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3392
3393 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3394 and default-process-coding-system to utf-8-unix (Bug#15402).
3395
6cfe977d
XF
33962013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3397
3398 * subr.el (looking-back): Do not recommend using looking-back.
3399
38de11bd
AM
34002013-09-28 Alan Mackenzie <acm@muc.de>
3401
3402 Fix indentation/fontification of Java enum with "implements".
3403
3404 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3405 regexp which matches "implements", etc., in Java.
3406 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3407 specifier clauses coming after "enum".
3408 * progmodes/cc-fonts.el (c-font-lock-declarations)
3409 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3410 after "enum".
3411
1610938f
JD
34122013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3413
3414 * faces.el (region): Change ns_selection_color to
3415 ns_selection_fg_color, add ns_selection_bg_color.
3416
e090f499
LL
34172013-09-28 Leo Liu <sdl.web@gmail.com>
3418
4d2e94d1
LL
3419 * progmodes/octave.el (inferior-octave-completion-table)
3420 (inferior-octave-completion-at-point): Minor tweaks.
3421
e090f499
LL
3422 * textmodes/ispell.el (ispell-lookup-words): Rename from
3423 lookup-words. (Bug#15460)
3424 (lookup-words): Obsolete.
3425 (ispell-complete-word, ispell-command-loop): All uses changed.
3426
7e138a62
RS
34272013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3428
3429 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3430 (octave-mode-menu): Add octave-send-buffer.
3431 (octave-send-buffer): New function.
3432
5af5ed08
RS
34332013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3434
3435 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3436 octave-lookfor.
3437 (octave-mode-menu): Add octave-lookfor.
3438 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3439 octave-lookfor.
3440 (octave-lookfor): New function.
3441
3b7b2692
SM
34422013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * emacs-lisp/cl-macs.el:
3445 (cl--loop-destr-temps): Remove.
3446 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3447 its convention.
3448 (cl--loop-set-iterator-function): New function.
3449 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3450 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3451 Bind `it' with `let' instead of substituting it with `cl-subst'.
3452 (cl--unused-var-p): New function.
3453 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3454 Eliminate some unused variable warnings (bug#15326).
3455
529fb53f
TH
34562013-09-27 Tassilo Horn <tsdh@gnu.org>
3457
3458 * doc-view.el (doc-view-scale-reset): Rename from
3459 `doc-view-reset-zoom-level'.
3460 (doc-view-scale-adjust): New command.
3461 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3462 `doc-view-scale-adjust'.
3463
0550c95a
TH
34642013-09-26 Tassilo Horn <tsdh@gnu.org>
3465
3466 * doc-view.el (doc-view-reset-zoom-level): New command.
3467 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3468 zoom commands (bug#15466).
3469
6950f152
KH
34702013-09-26 Kenichi Handa <handa@gnu.org>
3471
3472 * international/quail.el (quail-help): Make it not a command.
3473
39587580
LL
34742013-09-26 Leo Liu <sdl.web@gmail.com>
3475
3476 * minibuffer.el (completion-all-sorted-completions): Make args
3477 optional as they are.
3478
00578659
DC
34792013-09-25 Daniel Colascione <dancol@dancol.org>
3480
3481 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3482 specs are and that they're not evaluated.
3483
0c173878
SS
34842013-09-24 Sam Steingold <sds@gnu.org>
3485
3486 * midnight.el (clean-buffer-list-kill-regexps)
3487 (clean-buffer-list-kill-buffer-names): Update for the new Man
3488 buffer naming which includes the object name.
3489
84998447
SM
34902013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3493 (eshell-parse-command, eshell-parse-pipeline): Use it since
3494 eshell-separate-commands requires a dynamic scoped var.
3495 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3496
33215353
LL
34972013-09-23 Leo Liu <sdl.web@gmail.com>
3498
3499 * autoinsert.el (auto-insert-alist): Make the value of
3500 lexical-binding match its file setting.
3501
57b16162
JB
35022013-09-23 Juanma Barranquero <lekktu@gmail.com>
3503
c8af4e67
JB
3504 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3505
57b16162
JB
3506 * autoarg.el (autoarg-kp-digit-argument):
3507 * electric.el (Electric-command-loop):
3508 * kmacro.el (kmacro-step-edit-insert):
3509 Do not set universal-argument-num-events.
3510
7186ba60
LL
35112013-09-22 Leo Liu <sdl.web@gmail.com>
3512
3513 * files.el (interpreter-mode-alist): Add octave.
3514
ece15004
AM
35152013-09-21 Alan Mackenzie <acm@muc.de>
3516
3517 C++: fontify identifier in declaration following "public:" correctly.
3518 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3519 to match "public", etc.
3520 (c-decl-prefix-re): Add ":" into the C++ value.
3521 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3522 bit. Add a check for a ":" preceded by "public", etc.
3523
75d83e22
EZ
35242013-09-21 Eli Zaretskii <eliz@gnu.org>
3525
3526 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3527 recognized by GDB 7.5 and later.
3528
d052d3bd
XF
35292013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3530
3531 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3532
31dca772
R
35332013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * subr.el (internal--call-interactively): New const.
3536 (called-interactively-p): Use it (bug#3984).
3537
98ccf24e
XF
35382013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3539
3540 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3541 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3542 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3543
c39cc7d1
SM
35442013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3547 (eshell-ls-orig-insert-directory): Remove.
3548 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3549 (eshell-ls-use-in-dired): Use advice-add/remove.
3550 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3551 Add `orig-fun' arg for use in :around advice.
3552 Make it check (redundantly) eshell-ls-use-in-dired.
3553
9a0289a2
GM
35542013-09-19 Glenn Morris <rgm@gnu.org>
3555
a2c501b8
GM
3556 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3557
c440407a
GM
3558 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3559
9a0289a2
GM
3560 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3561
85e05915
MA
35622013-09-19 Michael Albinus <michael.albinus@gmx.de>
3563
3564 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3565 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3566 (tramp-get-remote-python): New defuns.
3567 (tramp-get-remote-uid-with-perl)
3568 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3569 contributed by yary <not.com@gmail.com> (tiny change).
3570 (tramp-get-remote-uid-with-python)
3571 (tramp-get-remote-gid-with-python): New defuns. Python code
3572 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3573 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3574
ce503312
GM
35752013-09-19 Glenn Morris <rgm@gnu.org>
3576
f7544773
GM
3577 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3578
72fd2877
GM
3579 * eshell/em-unix.el (eshell-remove-entries):
3580 Rename argument to avoid name-clash with global `top-level'.
3581
336b5a56
GM
3582 * eshell/esh-proc.el (eshell-kill-process-function):
3583 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3584 (eshell-reset-after-proc): Remove unused arg `proc'.
3585
57a3a53d
GM
3586 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3587 (directory-files-and-attributes): Mark unused arg.
3588
3261d4af
GM
3589 * eshell/em-unix.el (eshell-remove-entries):
3590 Remove unused arg `path'. Update callers.
3591
8e51b5d0
GM
3592 * eshell/em-hist.el (eshell-hist-parse-arguments):
3593 Remove unused arg `silent'. Update callers.
3594
ce503312
GM
3595 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3596 Fix (f)boundp mix-up.
3597
3598 * eshell/em-smart.el (eshell-smart-scroll-window)
3599 (eshell-disable-after-change):
336b5a56 3600 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3601
ee3ce8a7
AM
36022013-09-18 Alan Mackenzie <acm@muc.de>
3603
3604 Fix fontification of type when followed by "const".
3605 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3606 "known" types from fontification.
3607
ec9177ba
GM
36082013-09-18 Glenn Morris <rgm@gnu.org>
3609
7bb3e768
GM
3610 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3611 (chart-face-list): Drop Emacsen without display-color-p.
3612
5148da15
GM
3613 * net/eww.el (libxml-parse-html-region): Declare.
3614 (eww-display-html): Explicit error if no libxml2 support.
3615
2f68e157
GM
3616 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3617
9019d095
GM
3618 * image.el (image-type-from-buffer, image-multi-frame-p):
3619 Remove --without-x warning/error.
67645389 3620
5f30349b 3621 * mouse.el (mouse-yank-primary):
45069b2e 3622 * term.el (term-mouse-paste):
5f30349b
GM
3623 Reorder to silence --without-x compilation.
3624
cd8edbbe
GM
3625 * mpc.el (doc-view-mode): Silence --without-x compilation.
3626
8a78544e
GM
3627 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3628 Silence --without-x compilation.
3629
12679bfd
GM
3630 * progmodes/gud.el (gud-find-file, gud-mode):
3631 Silence --without-x compilation.
3632 (tooltip-mode): Declare.
30810a05 3633
f0047cb9
GM
3634 * wdired.el (dired-backup-overwrite): Remove declaration.
3635 (wdired-mode-map): Add doc string.
3636
e740f9d2
GM
3637 * custom.el (x-get-resource): Declare.
3638
92d77c89
GM
3639 * eshell/em-glob.el (ange-cache):
3640 * eshell/em-unix.el (ange-cache): Declare.
3641
76e69577
GM
3642 * faces.el (x-display-list, x-open-connection, x-get-resource):
3643 Declare.
7e58af4b
GM
3644
3645 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3646 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3647 Declare.
76e69577 3648
4bd4c0af 3649 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3650
ffb82dbd
GM
3651 * net/gnutls.el (gnutls-log-level): Declare.
3652
986ed135
GM
3653 * net/shr.el (image-size, image-animate): Declare.
3654
e740f9d2
GM
3655 * simple.el (font-info): Declare.
3656
d2f3e9f8
GM
3657 * subr.el (x-popup-dialog): Declare.
3658
047a1a4c
GM
3659 * term/common-win.el (x-select-enable-primary)
3660 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3661 Declare.
3662
f4a1d572
GM
3663 * term/ns-win.el (x-handle-args): Declare.
3664
e843de77
GM
3665 * term/x-win.el (x-select-enable-clipboard): Declare.
3666
5fa89513
GM
3667 * term/w32-win.el (create-default-fontset): Declare.
3668
38702b5b
GM
3669 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3670 Declare.
3671
e740f9d2
GM
3672 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3673 (fit-frame-to-buffer): Explicit error if --without-x.
3674 (mouse-autoselect-window-select): Silence compiler.
3675
49a053fc
GM
3676 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3677
3678 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3679 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3680 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3681 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3682 Remove unused local variables.
3683
3684 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3685
ec9177ba
GM
3686 * textmodes/two-column.el: Make 2C-split work for --without-x.
3687 (scroll-bar-columns): Autoload.
3688 (top-level): Require fringe when compiling.
3689
9f25cb77
LL
36902013-09-18 Leo Liu <sdl.web@gmail.com>
3691
3692 * subr.el (add-hook): Robustify to handle closure as well.
3693
2b42da98
GM
36942013-09-17 Glenn Morris <rgm@gnu.org>
3695
3696 * simple.el (messages-buffer-mode-map): Unbind "g".
3697
e8b66a6a
SM
36982013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3699
9c0ad4f7
SM
3700 * help-mode.el (help-mode-finish): Use derived-mode-p.
3701 Remove obsolete highlighting.
3702
7a806dfb
SM
3703 * play/life.el (life-mode): Use define-derived-mode. Derive from
3704 special-mode.
3705 (life): Let-bind inhibit-read-only.
3706 (life-setup): Avoid `setq'. Use `life-mode'.
3707
96dbf5a8
SM
3708 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3709 which should not be needed any more.
3710 (package-menu-refresh, package-menu-describe-package): Use user-error.
3711
e8b66a6a
SM
3712 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3713 (eshell-post-rewrite-command-hook): Make obsolete.
3714 (eshell-parse-command): Simplify.
3715 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3716 (eshell--cmd): Declare.
3717 (eshell-parse-pipeline): Remove unused var `final-p'.
3718 Pass a dynvar to eshell-post-rewrite-command-hook.
3719 Implement the new eshell-post-rewrite-command-function.
3720 (eshell-invoke-directly): Remove unused arg `input'.
3721 * eshell/esh-io.el (eshell-io-initialize):
3722 Use eshell-post-rewrite-command-function (bug#15399).
3723 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3724 adjust to new calling convention.
3725 (eshell-create-handles): Rename args to avoid clashing with dynvar
3726 `standard-output'.
3727
90582f05
GM
37282013-09-17 Glenn Morris <rgm@gnu.org>
3729
3730 * simple.el (messages-buffer-mode): New major mode.
3731 (messages-buffer): New function.
3732 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3733 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3734 (ert-run-test): Use `messages-buffer' function.
90582f05 3735 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3736 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3737 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3738
39eb0cb5 37392013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3740
3741 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3742
1f1e06e2
SM
3743 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3744
70568a90
SM
37452013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3746
504a0381
SM
3747 * icomplete.el (icomplete-in-buffer): New var.
3748 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3749 vars and replace them with functions.
3750 (icomplete-minibuffer-setup): Adjust accordingly.
3751 (icomplete--completion-table, icomplete--completion-predicate)
3752 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3753 New functions.
3754 (icomplete-forward-completions, icomplete-backward-completions)
3755 (icomplete-simple-completing-p, icomplete-exhibit)
3756 (icomplete-completions): Use them.
3757 (icomplete--in-region-buffer): New var.
3758 (icomplete--in-region-setup): New function.
3759 (icomplete-mode): Use it.
3760
70568a90
SM
3761 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3762 (bug#15379).
3763 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3764 return args and options.
3765 (eshell-eval-using-options): Use the new return value of
3766 eshell--do-opts to set the options's vars in their scope.
3767 (eshell--set-option): Rename from eshell-set-option.
3768 Add arg `opt-vals'.
3769 (eshell--process-option): Rename from eshell-process-option.
3770 Add arg `opt-vals'.
3771 (eshell--process-args): Use an `opt-vals' alist to store the options's
3772 values during their processing and return them additionally to the
3773 remaining args.
3774
578c21bc
DG
37752013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3776
3777 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3778 continuation character an operator, as far as indentation is
3779 concerned (Bug#15369).
3780
c089653d
MR
37812013-09-15 Martin Rudalics <rudalics@gmx.at>
3782
3783 * window.el (window--state-put-2): Don't process buffer state
3784 when buffer doesn't exist any more (Bug#15382).
3785
1e53bb4b
GM
37862013-09-15 Glenn Morris <rgm@gnu.org>
3787
30753242
GM
3788 * eshell/em-unix.el (eshell/rm):
3789 Make -f ignore missing files. (Bug#15373)
3790
1e53bb4b
GM
3791 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3792 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3793 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3794
0d8863b3
GM
37952013-09-14 Glenn Morris <rgm@gnu.org>
3796
3797 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3798
d3fc6549
GM
37992013-09-13 Glenn Morris <rgm@gnu.org>
3800
3801 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3802 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3803
fcd42c11
DA
38042013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3805
3806 * frame.el (x-focus-frame): Mark as declared in frame.c.
3807
7830899f
SM
38082013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3809
3810 * ls-lisp.el: Use advice-add.
3811 (original-insert-directory): Remove.
3812 (ls-lisp--insert-directory): Rename from insert-directory; add
3813 `orig-fun' argument.
3814 (insert-directory): Advise.
3815
84387cd2
EZ
38162013-09-13 Eli Zaretskii <eliz@gnu.org>
3817
3818 * term.el (term-emulate-terminal): Decode the command string
3819 before passing it to term-command-hook. (Bug#15337)
3820
35ffc6ba
GM
38212013-09-13 Glenn Morris <rgm@gnu.org>
3822
5c3f9bcc
GM
3823 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3824
2ada368a
GM
3825 * eshell/esh-ext.el (eshell-search-path): Declare.
3826
fcef2e13
GM
3827 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3828 Otherwise an error occurs if eshell-dirs module not loaded.
3829
35ffc6ba
GM
3830 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3831
35c3d36e
MA
38322013-09-13 Michael Albinus <michael.albinus@gmx.de>
3833
3834 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3835 `tramp-check-proper-host'. Check for a valid method name.
3836
3837 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3838 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3839 * net/tramp-sh.el (tramp-maybe-open-connection):
3840 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3841
3842 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3843 also for hash values.
3844
ae5e4c48
SM
38452013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3846
379add74
SM
3847 * term/ns-win.el (parameters): Don't declare as dynamic.
3848 (before-make-frame-hook): Don't add ineffective function.
3849
ae5e4c48
SM
3850 * eshell/*.el: Use lexical-binding (bug#15231).
3851
b5623270
KH
38522013-09-12 Kenichi Handa <handa@gnu.org>
3853
ae5e4c48 3854 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3855
30213927
GM
38562013-09-12 Glenn Morris <rgm@gnu.org>
3857
be94d713 3858 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3859 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3860
44915370
GM
3861 * subr.el (do-after-load-evaluation): Also give compiler warnings
3862 when obsolete files are used (except by obsolete files).
3863
a6ae021f
GM
3864 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3865 in the status output, assume `filename' is the first. (Bug#15322)
3866
40e64f0c
GM
3867 * vc/vc.el (vc-deduce-fileset): Doc fix.
3868
16d9f896
GM
3869 * calc/calc-help.el (Info-goto-node):
3870 * progmodes/cperl-mode.el (Info-find-node):
3871 * vc/ediff.el (Info-goto-node): Update declarations.
3872
dea01c6e
GM
3873 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3874
759880bf 3875 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3876 (vc-bzr-pull): Require vc-dispatcher.
3877 * vc/vc-git.el (vc-compilation-mode): Declare.
3878 (vc-git-pull): Require vc-dispatcher.
3879
08d66420
GM
3880 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3881
30b626e9
GM
3882 * progmodes/octave.el (help-button-action): Declare.
3883
8c05cb10
GM
3884 * shell.el (shell-directory-tracker): Output error as a message
3885 rather than just returning it as a string.
3886 (shell-process-pushd): Remove useless use of message.
3887
30213927
GM
3888 * dframe.el (dframe-timer-fn):
3889 * files.el (dir-locals-read-from-file):
3890 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3891 (mpc-format):
3892 * reveal.el (reveal-post-command):
3893 * saveplace.el (load-save-place-alist-from-file):
3894 * shell.el (shell-resync-dirs):
3895 * w32-common-fns.el (x-get-selection-value):
3896 * emacs-lisp/copyright.el (copyright-find-copyright):
3897 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3898 * emulation/tpu-edt.el (tpu-copy-keyfile):
3899 * play/bubbles.el (bubbles--mark-neighbourhood):
3900 * progmodes/executable.el
3901 (executable-make-buffer-file-executable-if-script-p):
3902 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3903
d3b049e6
SM
39042013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3905
170266d0
SM
3906 Cleanup Eshell to rely less on dynamic scoping.
3907 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3908 last-value, and ext-command here. Bind `args' closer to `body'.
3909 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3910 (eshell--args): Declare new dynamic var.
3911 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3912 last-value, and ext-command. Pass `args' to `body'.
3913 (eshell-process-args): Bind eshell--args.
3914 (eshell-set-option): Use eshell--args.
3915 * eshell/eshell.el (eshell): Use derived-mode-p.
3916 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3917 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3918 (eshell-glob-function): Declare.
3919 * eshell/esh-util.el: Require cl-lib.
3920 (eshell-read-hosts-file): Avoid add-to-list.
3921 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3922 `err'.
3923 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3924 Declare.
3925 (eshell/diff): Remove unused var `err'.
3926 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3927 `killflag'.
3928 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3929 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3930 first use.
3931 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3932 Move declaration before first use.
3933 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3934 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3935 rely on cl-return.
3936
56834f3b
GM
39372013-09-12 Glenn Morris <rgm@gnu.org>
3938
3939 * term/ns-win.el (global-map): Remove binding for ispell-next,
3940 deleted 1999-05-29. (Bug#15357)
3941
5c91a2b8
GM
39422013-09-11 Glenn Morris <rgm@gnu.org>
3943
da712f22
GM
3944 * echistory.el (electric-command-history): Remove call to deleted func.
3945
512e4cdc
GM
3946 * play/landmark.el (landmark-mode): Fix typos.
3947
d3506ca5
GM
3948 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3949 Check cvs-sort-ignore-file is bound.
3950
5c91a2b8
GM
3951 * savehist.el: No need for cl when compiling on Emacs.
3952
feeff482
SM
39532013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3954
656bd483
SM
3955 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3956 (bug#15338).
d3b049e6
SM
3957 (eshell-self-insert-command, eshell-send-invisible):
3958 Remove unused argument.
656bd483
SM
3959 (eshell-handle-control-codes): Remove unused var `orig'.
3960 Avoid delete-backward-char.
3961
feeff482
SM
3962 * files.el (set-auto-mode): Simplify a bit further.
3963
2a08047a
GM
39642013-09-11 Glenn Morris <rgm@gnu.org>
3965
3966 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3967 (set-auto-mode): Don't regexp-quote elements.
3968 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3969 * progmodes/cc-mode.el (interpreter-mode-alist):
3970 * progmodes/ruby-mode.el (interpreter-mode-alist):
3971 Revert previous change.
3972
34675540
SM
39732013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3974
1b3b87df
SM
3975 * play/snake.el (snake-mode):
3976 * play/mpuz.el (mpuz-mode):
3977 * play/landmark.el (lm-mode):
3978 * play/blackbox.el (blackbox-mode):
3979 * play/5x5.el (5x5-mode):
3980 * obsolete/options.el (Edit-options-mode):
3981 * net/quickurl.el (quickurl-list-mode):
3982 * net/newst-treeview.el (newsticker-treeview-mode):
3983 * mail/rmailsum.el (rmail-summary-mode):
3984 * mail/mspools.el (mspools-mode):
3985 * locate.el (locate-mode):
3986 * ibuffer.el (ibuffer-mode):
3987 * emulation/ws-mode.el (wordstar-mode):
3988 * emacs-lisp/debug.el (debugger-mode):
3989 * array.el (array-mode):
3990 * net/eudc.el (eudc-mode): Use define-derived-mode.
3991 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3992 Move initialization into declaration.
3993 (mairix-searches-mode): Use define-derived-mode.
3994 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3995 (eudc-edit-hotlist): Use dolist.
3996 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3997 (Man-mode): Use define-derived-mode.
3998 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3999 (Info-edit-mode): Use define-derived-mode.
4000 (Info-cease-edit): Use Info-mode.
4001 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4002 into declaration.
4003 (eshell-mode): Use define-derived-mode.
4004 * chistory.el (command-history-mode-map): Rename from
4005 command-history-map.
4006 (command-history-mode): Use define-derived-mode.
da712f22 4007 (Command-history-setup): Remove function.
1b3b87df
SM
4008 * calc/calc.el (calc-trail-mode-map): New var.
4009 (calc-trail-mode): Use define-derived-mode.
4010 (calc-trail-buffer): Set calc-main-buffer manually.
4011 * bookmark.el (bookmark-insert-annotation): New function.
4012 (bookmark-edit-annotation): Use it.
4013 (bookmark-edit-annotation-mode): Make it a proper major mode.
4014 (bookmark-send-edited-annotation): Use derived-mode-p.
4015 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4016 closer to its ideal place. Use \' to match EOS.
4017
34675540
SM
4018 * profiler.el (profiler-calltree-find): Use function-equal.
4019
6a5c15d9
GM
40202013-09-10 Glenn Morris <rgm@gnu.org>
4021
1af4c220
GM
4022 * files.el (interpreter-mode-alist): Convert to regexps.
4023 (set-auto-mode): Adapt for this. (Bug#15306)
4024 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4025 Comment out unused variable.
4026 * progmodes/cc-mode.el (interpreter-mode-alist):
4027 * progmodes/python.el (interpreter-mode-alist):
4028 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4029 * progmodes/sh-script.el (sh-set-shell):
4030 No longer use interpreter-mode-alist to get list of shells.
4031
6a5c15d9
GM
4032 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4033
8c27f5ff
SM
40342013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4035
02ef6c1a 4036 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4037 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4038 Bind switch-frame explicitly. Replace universal-argument-minus with
4039 a conditional binding.
4040 (universal-argument-num-events, saved-overriding-map): Remove.
4041 (restore-overriding-map): Remove.
4042 (universal-argument--mode): Rename from save&set-overriding-map,
4043 and rewrite.
4044 (universal-argument, universal-argument-more, negative-argument)
4045 (digit-argument): Adjust accordingly.
4046 (universal-argument-minus): Remove.
4047 (universal-argument-other-key): Remove.
4048
8c27f5ff
SM
4049 * subr.el (with-demoted-errors): Add `format' argument.
4050
6480194c
MA
40512013-09-10 Michael Albinus <michael.albinus@gmx.de>
4052
4053 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4054 `tramp-cleanup-connection'.
4055
4056 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4057 parameters KEEP-DEBUG and KEEP-PASSWORD.
4058
4059 * net/tramp.el (tramp-file-name-handler):
4060 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4061 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4062 (tramp-maybe-open-connection):
8c27f5ff
SM
4063 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4064 Use `tramp-cleanup-connection'.
6480194c 4065
8c27f5ff
SM
4066 * net/tramp-sh.el (tramp-maybe-open-connection):
4067 Catch 'uname-changed inside the progress reporter.
6480194c 4068
e5e916d8
GM
40692013-09-10 Glenn Morris <rgm@gnu.org>
4070
9a2c9b47
GM
4071 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4072
e5e916d8
GM
4073 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4074 returns "alternate access method" in mode (eg "-rw-r--r--.").
4075
144e38fe
GM
40762013-09-08 Glenn Morris <rgm@gnu.org>
4077
4078 * saveplace.el (load-save-place-alist-from-file):
4079 Demote errors. (Bug#15305)
4080
af9ff9e8
MA
40812013-09-08 Michael Albinus <michael.albinus@gmx.de>
4082
4083 Improve compatibility with older Emacsen, and XEmacs.
4084
4085 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4086 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4087 (with-tramp-progress-reporter): Do not let-bind `result'.
4088 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4089 (tramp-handle-make-auto-save-file-name): New function, moved from
4090 tramp-sh.el.
4091
4092 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4093 for `make-auto-save-file-name'.
8c27f5ff
SM
4094 (tramp-adb--gnu-switches-to-ash):
4095 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4096
4097 * net/tramp-cache.el (tramp-cache-print): Call
4098 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4099
4100 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4101 bound. It isn't for XEmacs.
4102
8c27f5ff
SM
4103 * net/tramp-compat.el (tramp-compat-copy-file):
4104 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4105 (tramp-compat-replace-regexp-in-string): New defun.
4106
4107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4108 for `make-auto-save-file-name'.
4109 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4110 `copy-file'.
4111 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4112 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4113 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4114
8c27f5ff
SM
4115 * net/tramp-gw.el (tramp-gw-open-network-stream):
4116 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4117
8c27f5ff
SM
4118 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4119 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4120 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4121 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4122 (tramp-sh-file-inotifywait-process-filter):
4123 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4124 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4125
4126 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4127 for `make-auto-save-file-name'.
8c27f5ff
SM
4128 (tramp-smb-handle-copy-directory):
4129 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4130 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4131 (tramp-smb-handle-copy-file): Improve error message.
4132 (tramp-smb-handle-rename-file): Rename directly only in case
4133 `newname' does not exist yet. This is a restriction of smbclient.
4134 (tramp-smb-maybe-open-connection): Rerun the function only when
4135 `auth-sources' is non-nil.
4136
0ca754d0
KH
41372013-09-08 Kenichi Handa <handa@gnu.org>
4138
4139 * international/characters.el: Set category "^" (Combining) for
4140 more characters.
4141
e8dd0787
AM
41422013-09-07 Alan Mackenzie <acm@muc.de>
4143
4144 Correctly fontify Java class constructors.
4145 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4146 in Java Mode.
4147 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4148 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4149 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4150 "typeless" declaration there.
4151
f2f248e7
RW
41522013-09-07 Roland Winkler <winkler@gnu.org>
4153
4154 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4155 field subtitle for entry type book.
4156
67982e2b
SM
41572013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 * minibuffer.el: Make minibuffer-complete call completion-in-region
4160 rather than other way around.
4161 (completion--some, completion-pcm--find-all-completions):
4162 Don't delay signals when debugging.
4163 (minibuffer-completion-contents): Beware fields within the
4164 minibuffer contents.
4165 (completion-all-sorted-completions): Use defvar-local.
4166 (completion--do-completion, completion--cache-all-sorted-completions)
4167 (completion-all-sorted-completions, minibuffer-force-complete):
4168 Add args `beg' and `end'.
4169 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4170 (minibuffer-complete): Use completion-in-region.
4171 (completion-complete-and-exit): New fun, extracted from
4172 minibuffer-complete-and-exit.
4173 (minibuffer-complete-and-exit): Use it.
4174 (completion--complete-and-exit): Rename from
4175 minibuffer--complete-and-exit.
4176 (completion-in-region--single-word): New function, extracted from
4177 minibuffer-complete-word.
4178 (minibuffer-complete-word): Use it.
4179 (display-completion-list): Make `common-substring' argument obsolete.
4180 (completion--in-region): Call completion--in-region-1 instead of
4181 minibuffer-complete.
4182 (completion-help-at-point): Pass boundaries to
4183 minibuffer-completion-help as args rather than via an overlay.
4184 (completion-pcm--string->pattern): Use `any-delim'.
4185 (completion-pcm--optimize-pattern): New function.
4186 (completion-pcm--pattern->regex): Handle `any-delim'.
4187 * icomplete.el (icomplete-forward-completions)
4188 (icomplete-backward-completions, icomplete-completions):
4189 Adjust calls to completion-all-sorted-completions and
4190 completion--cache-all-sorted-completions.
4191 (icomplete-with-completion-tables): Default to t.
4192 * emacs-lisp/crm.el (crm--current-element): Rename from
4193 crm--select-current-element. Don't put an overlay but return the
4194 boundaries instead.
4195 (crm--completion-command): Take two new args to bind to the boundaries.
4196 (crm-completion-help): Adjust accordingly.
4197 (crm-complete): Use completion-in-region.
4198 (crm-complete-word): Use completion-in-region--single-word.
4199 (crm-complete-and-exit): Use completion-complete-and-exit.
4200
e17d94a5
SM
42012013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4204 than dynamically.
4205
96727100
JL
42062013-09-06 Juri Linkov <juri@jurta.org>
4207
4208 * info.el (Info-display-images-node): When image file doesn't exist
4209 display text version of the image if it's provided in the Info file.
4210 Otherwise, display the location of missing image from SRC attribute.
4211 Add help-echo text property from ALT attribute. (Bug#15279)
4212
86cf7329
SM
42132013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4216 (edit-abbrevs-mode): Use define-derived-mode.
4217
4218 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4219 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4220 that it's defined.
4221 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4222 Use define-derived-mode.
4223
4224 * epg.el (epg-start-encrypt): Minor CSE simplification.
4225
816244a2
WX
42262013-09-06 William Xu <william.xwl@gmail.com>
4227
4228 * arc-mode.el: Add support for 7za (bug#15264).
4229 (archive-7z-program): New var.
4230 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4231 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4232 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4233
1486fa31
MA
42342013-09-06 Michael Albinus <michael.albinus@gmx.de>
4235
4236 Remove URL syntax.
4237
4238 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4239 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4240 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4241 (tramp-postfix-host-format, tramp-file-name-regexp)
4242 (tramp-completion-file-name-regexp)
4243 (tramp-completion-dissect-file-name)
4244 (tramp-handle-substitute-in-file-name): Remove 'url case.
4245 (tramp-file-name-regexp-url)
4246 (tramp-completion-file-name-regexp-url): Remove constants.
4247
39785324
GM
42482013-09-06 Glenn Morris <rgm@gnu.org>
4249
4250 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4251
1f896cb7
DG
42522013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4253
4254 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4255 keywords" below "here-doc beginnings" (Bug#15270).
4256
c0458e0b
SM
42572013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * subr.el (pop): Use `car-safe'.
4260 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4261 to detect unused `pop' return value.
4262
4263 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4264 var `block-regexp'.
4265 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4266 (python-fill-string): Remove unused var `marker'.
4267 (python-skeleton-add-menu-items): Remove unused var `items'.
4268
4269 * international/mule-cmds.el: Require CL.
4270 (find-coding-systems-for-charsets): Avoid add-to-list.
4271 (sanitize-coding-system-list): New function, extracted from
4272 select-safe-coding-system-interactively.
4273 (select-safe-coding-system-interactively): Use it.
4274 (read-input-method-name): Accept symbols for `default'.
4275
4276 * emacs-lisp/advice.el (defadvice): Add indent rule.
4277
6c42fc3e
DH
42782013-09-05 Daniel Hackney <dan@haxney.org>
4279
4280 * dired-x.el:
4281 * net/ange-ftp.el:
4282 * net/browse-url.el:
4283 * net/dbus.el:
4284 * net/eudc.el:
4285 * net/eudcb-ldap.el:
4286 * net/eww.el:
4287 * net/imap.el:
4288 * printing.el:
4289 * vc/ediff-diff.el:
4290 * vc/ediff-init.el:
4291 * vc/ediff-merg.el:
4292 * vc/ediff-mult.el:
4293 * vc/ediff-util.el:
4294 * vc/ediff-wind.el:
4295 * vc/ediff.el:
4296 * vc/emerge.el:
4297 * vc/pcvs.el:
4298 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4299 byte compiler. Remove some unused let-bound variables.
4300
4c528aab
SM
43012013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4302
4303 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4304 a "ref-cell", since it gets better optimized (bug#14883).
4305
bd15c390
GM
43062013-09-05 Glenn Morris <rgm@gnu.org>
4307
4308 * progmodes/cc-awk.el (c-forward-sws): Declare.
4309
1c3ac2e5
GM
43102013-09-04 Glenn Morris <rgm@gnu.org>
4311
4312 * generic-x.el [rul-generic-mode]: Require cc-mode.
4313 (c++-mode-syntax-table): Declare.
4314 (rul-generic-mode-syntax-table): Init in the defvar.
4315
52b1cc79
SM
43162013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4317
c828af56
SM
4318 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4319 (vc-do-command, vc-set-async-update):
4320 * vc/vc-mtn.el (vc-mtn-dir-status):
4321 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4322 (vc-hg-pull, vc-hg-merge-branch):
4323 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4324 (vc-git-merge-branch):
4325 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4326 (vc-cvs-dir-status-files):
4327 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4328 (vc-bzr-dir-status-files):
4329 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4330 * vc/vc-annotate.el: Use lexical-binding.
4331 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4332 (vc-sentinel-movepoint): Declare.
4333 (vc-annotate): Don't use `goto-line'.
4334 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4335 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4336 (vc-sentinel-movepoint): Declare.
4337 * vc/vc-svn.el: Use lexical-binding.
4338 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4339 * vc/vc-sccs.el:
4340 * vc/vc-rcs.el: Use lexical-binding.
4341
abae272c
SM
4342 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4343 `deleted'. Don't drop errors silently.
4344
52b1cc79
SM
4345 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4346
63191d9f
XF
43472013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4348
4349 * vc/vc.el (vc-ignore): Rewrite.
4350 (vc-default-ignore): New function.
4351 (vc-default-ignore-completion-table): Use find-ignore-file.
4352
4353 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4354 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4355 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4356 Remove. Most code moved to vc.el.
4357
9d3f707c
SM
43582013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4359
abae272c 4360 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4361 * net/tramp-smb.el (tramp-smb-get-file-entries):
4362 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4363 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4364
fde38d49
SM
4365 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4366 Update call to it.
4367 (eww-change-select): Remove unused var `properties'.
4368 (eww-make-unique-file-name): Remove unused var `base'.
4369
4370 * finder.el (finder-compile-keywords): Don't mess with windows.
4371
84032db7
SM
4372 * calculator.el (calculator-funcall): Fix typo in last change.
4373
724f5e41
SM
4374 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4375
14b511d4
SM
4376 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4377 <pkg>-autoloads.el file stop us.
4378
9d3f707c 4379 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4380 warnings, and factor out common code.
9d3f707c 4381
88527bc0
DG
43822013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4383
4384 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4385 two-character operators and whether the character preceding them
4386 changes their meaning (Bug#15208).
4387
96edb677
FEG
43882013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4389
4390 Format code sent to Python shell for robustness.
9d3f707c
SM
4391 * progmodes/python.el (python-shell-buffer-substring):
4392 New function.
96edb677
FEG
4393 (python-shell-send-region, python-shell-send-buffer): Use it.
4394
95beaef3
MA
43952013-09-02 Michael Albinus <michael.albinus@gmx.de>
4396
4397 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4398 * net/tramp.el (tramp-user-error): ... here.
4399 (tramp-find-method, tramp-check-proper-host)
4400 (tramp-dissect-file-name, tramp-debug-message)
4401 (tramp-handle-shell-command):
4402 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4403 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4404
4405 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4406
f167c27b
MR
44072013-09-02 Martin Rudalics <rudalics@gmx.at>
4408
4409 * avoid.el (mouse-avoidance-point-position)
4410 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4411 returns nil.
4412
cd16c5f1
FEG
44132013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4414
4415 * progmodes/python.el (python-shell-completion-get-completions):
4416 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4417 (python-nav-if-name-main): New command.
cd16c5f1 4418
e73c3a0d
GM
44192013-09-01 Glenn Morris <rgm@gnu.org>
4420
f8ccce03
GM
4421 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4422 Avoid leading space in $wins. Otherwise the sed command used by
4423 eg compile-main ends up containing "/*.el". (Bug#15170)
4424
e73c3a0d
GM
4425 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4426
415f808e
GM
44272013-08-30 Glenn Morris <rgm@gnu.org>
4428
4429 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4430 Fix is-this-a-directory logic. (Bug#15220)
4431
f069bba8
SM
44322013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4433
112798c1
SM
4434 * textmodes/css-mode.el: Use SMIE.
4435 (css-smie-grammar): New var.
4436 (css-smie--forward-token, css-smie--backward-token)
4437 (css-smie-rules): New functions.
4438 (css-mode): Use them.
4439 (css-navigation-syntax-table): Remove var.
4440 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4441 (css-indent-calculate, css-indent-line): Remove functions.
4442
4443 Misc changes to reduce use of `(lambda...); and other cleanups.
4444 * cus-edit.el: Use lexical-binding.
4445 (customize-push-and-save, customize-apropos)
4446 (custom-buffer-create-internal): Use closures.
4447 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4448 * progmodes/ada-xref.el: Use setq.
4449 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4450 * dframe.el: Use lexical-binding.
4451 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4452 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4453 * descr-text.el: Use lexical-binding.
4454 (describe-text-widget, describe-text-sexp, describe-property-list):
4455 Use closures.
4456 * comint.el (comint-history-isearch-push-state): Use a closure.
4457 * calculator.el: Use lexical-binding.
4458 (calculator-number-to-string): Make it work with lexical-binding.
4459 (calculator-funcall): Same and use cl-letf.
4460
2da4c3ab
SM
4461 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4462 (lisp--company-doc-string, lisp--company-location): New functions.
4463 (lisp-completion-at-point): Use them to improve Company support.
4464
f069bba8
SM
4465 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4466 params of lambda expressions.
4467 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4468 (ruby-smie--opening-pipe-p): New function.
4469 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4470 symbols and matched |...| for formal params.
4471 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4472 from being treated as hanging. Handle "rescue".
4473
6758b6a8
GM
44742013-08-29 Glenn Morris <rgm@gnu.org>
4475
4476 * progmodes/cc-engine.el (c-pull-open-brace):
4477 Move definition before use.
4478
e8dfd197
SM
44792013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4482 are immutable. Don't use `unsafe' any more.
4483 (cl--defsubst-expand): Don't substitute at the same time as keeping
4484 a residual unused let-binding. Don't use `unsafe' any more.
4485
cc585c96
GM
44862013-08-29 Glenn Morris <rgm@gnu.org>
4487
ba579ea6
GM
4488 * calendar/cal-china.el (calendar-chinese-year-cache):
4489 Recenter on 2015.
4490
8201a87e
GM
4491 * nxml/nxml-util.el (nxml-debug-clear-inside):
4492 Use cl-loop rather than loop.
4493
6ee877c7
GM
4494 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4495
cc585c96
GM
4496 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4497
27be8d39
GM
44982013-08-28 Glenn Morris <rgm@gnu.org>
4499
397440a1
GM
4500 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4501
2bb762d4
GM
4502 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4503
27be8d39
GM
4504 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4505
2d69b99e
SM
45062013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4507
f663baa7
SM
4508 * simple.el (repeat-complex-command--called-interactively-skip):
4509 New function.
4510 (repeat-complex-command): Use it (bug#14136).
4511
dd4f8b74
SM
4512 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4513 (c-define-abbrev-table): Add `doc' argument.
4514 (c-mode-abbrev-table, c++-mode-abbrev-table)
4515 (objc-mode-abbrev-table, java-mode-abbrev-table)
4516 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4517 (awk-mode-abbrev-table): Use it.
4518 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4519 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4520 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4521 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4522 Move initialization into the declaration; and remove any
4523 autoload cookie.
4524
b58969f7
SM
4525 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4526 and dynamic let binding.
4527
4021d6a6
SM
4528 * vc/smerge-mode.el: Remove redundant :group args.
4529
2d69b99e
SM
4530 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4531 to load-path.
4532
274919fd
JL
45332013-08-28 Juri Linkov <juri@jurta.org>
4534
4535 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4536 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4537 (isearch-other-meta-char): Handle an undefined shifted printing
4538 character by downshifting it. (Bug#15200)
4539
121f8c95
JL
45402013-08-28 Juri Linkov <juri@jurta.org>
4541
4542 * isearch.el (isearch-search): Change regexp error message for
4543 non-regexp searches. (Bug#15166)
4544
50b13cde
PE
45452013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4546
4547 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4548 for portability to hosts where /bin/sh has problems.
4549
95888bca
SM
45502013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4553
bbe558f1
JL
45542013-08-27 Juri Linkov <juri@jurta.org>
4555
4556 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4557 in the keyboard macro. (Bug#15126)
4558
26f98a7d
JL
45592013-08-27 Juri Linkov <juri@jurta.org>
4560
4561 * isearch.el (isearch-quote-char): Comment out converting unibyte
4562 to multibyte, thus syncing with its `quoted-insert' counterpart.
4563 (Bug#15166)
4564
7c97d35e
MR
45652013-08-27 Martin Rudalics <rudalics@gmx.at>
4566
4567 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4568 argument in call of get-largest-window (Bug#15185).
4569 Reported by Stephen Leake.
7c97d35e 4570
a0b5606e 45712013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4572
4573 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4574
9e89d835
SM
45752013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4578 from a matcher-function unless there's no more matches (bug#15161).
4579
78fc2530
MA
45802013-08-26 Michael Albinus <michael.albinus@gmx.de>
4581
4582 * minibuffer.el: Revert change from 2013-08-20.
4583
4584 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4585 with text property `tramp-default', if appropriate.
4586 (tramp-check-proper-host): New defun.
4587 (tramp-dissect-file-name): Do not check hostname. Revert change
4588 of 2013-03-18.
4589 (tramp-backtrace): Make VEC-OR-PROC optional.
4590
4591 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4592 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4593 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4594 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4595 Apply `tramp-check-proper-host'.
78fc2530 4596
edca97cd
TH
45972013-08-26 Tassilo Horn <tsdh@gnu.org>
4598
4599 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4600 lambda expression in order to have `describe-variable' display it.
4601
df54bcbd
MA
46022013-08-26 Michael Albinus <michael.albinus@gmx.de>
4603
4604 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4605 BUF can be optional. (Bug#15186)
4606
eed99101
XF
46072013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4608
4609 * progmodes/flymake.el (flymake-get-real-file-name-function):
4610 Fix broken customization. (Bug#15184)
4611
b5eb9035
AM
46122013-08-25 Alan Mackenzie <acm@muc.de>
4613
8a51e842
AM
4614 Improve indentation of bracelists defined by macros (without "=").
4615
4616 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4617 expansion begins with "{", regard it as bracelist when it doesn't
4618 contain a ";".
4619
869455d4
AM
4620 Parse C++ inher-intro when there's a template split over 2 lines.
4621
4622 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4623 rigorously the search for "class" etc. followed by ":".
4624
4625 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4626 random languages a regexp which never matches rather than nil.
4627
b5eb9035
AM
4628 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4629
4630 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4631 (c-awk-regexp-one-line-possibly-open-char-list-re)
4632 (c-awk-one-line-possibly-open-regexp-re)
4633 (c-awk-one-line-non-syn-ws*-re): Remove.
4634 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4635 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4636 (c-awk-space*-unclosed-regexp-/-re): New constants.
4637 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4638 aren't regexp delimiters.
4639
4640 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4641 handling for a rare situation in AWK Mode involving unterminated
4642 strings/regexps.
4643
61611d54
GM
46442013-08-23 Glenn Morris <rgm@gnu.org>
4645
2d85dc34
GM
4646 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4647
cb8d2612
GM
4648 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4649
bb35f42f
GM
4650 * files.el (create-file-buffer): If the result would begin with
4651 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4652
b9808e77
SM
46532013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4654
e3a66363
SM
4655 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4656 text-properties (bug#15155).
4657
b9808e77
SM
4658 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4659 exist any more.
4660 (calc-keypad-redraw): Remove unused var `pad'.
4661 (calc-keypad-press): Remove unused var `menu'.
4662
7fd5f65e
MR
46632013-08-23 Martin Rudalics <rudalics@gmx.at>
4664
b9808e77
SM
4665 * window.el (display-buffer-pop-up-frame):
4666 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4667 use it as the new frame's buffer (Bug#15133).
4668
8352b530
SM
46692013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * calendar/timeclock.el: Minor cleanups.
4672 (timeclock-ask-before-exiting, timeclock-use-display-time):
4673 Use `symbol'.
4674 (timeclock-modeline-display): Define as alias before the
4675 actual definition.
4676 (timeclock-mode-line-display): Use define-minor-mode.
4677 (timeclock-day-list-template): Make it a function, add an argument.
4678 (timeclock-day-list-required, timeclock-day-list-length)
4679 (timeclock-day-list-debt, timeclock-day-list-span)
4680 (timeclock-day-list-break): Adjust calls accordingly.
4681
9f7b1925
SM
46822013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4685 Use read--expression so that completion works again.
4686
6e50e983
SS
46872013-08-21 Sam Steingold <sds@gnu.org>
4688
4689 Add rudimentary inferior shell interaction
4690 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4691 (sh-set-shell): Reset it.
9f7b1925
SM
4692 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4693 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4694
dbb0d350
SM
46952013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4696
4697 * align.el: Use lexical-binding.
4698 (align-region): Simplify accordingly.
4699
c88586a9
MA
47002013-08-20 Michael Albinus <michael.albinus@gmx.de>
4701
4702 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4703
4704 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4705 `non-essential' up.
4706
f95527c8
MA
47072013-08-17 Michael Albinus <michael.albinus@gmx.de>
4708
4709 * net/tramp.el:
4710 * net/tramp-adb.el:
4711 * net/tramp-cmds.el:
4712 * net/tramp-ftp.el:
4713 * net/tramp-gvfs.el:
4714 * net/tramp-gw.el:
4715 * net/tramp-sh.el: Don't wrap external variable declarations by
4716 `eval-when-compile'.
4717
4b5fe4ee
LMI
47182013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4719
4720 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4721 now that Emacs supports ImageMagick animations.
4722
13c366c9
MA
47232013-08-16 Michael Albinus <michael.albinus@gmx.de>
4724
4725 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4726 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4727
3dfc5cd6
MR
47282013-08-16 Martin Rudalics <rudalics@gmx.at>
4729
4730 * window.el (mouse-autoselect-window-select): Do autoselect when
4731 mouse pointer is on margin.
4732
4bbb4381
WP
47332013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4734
4735 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4736
3a2ddc2d
GM
47372013-08-16 Glenn Morris <rgm@gnu.org>
4738
e8bedf5a
GM
4739 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4740 Handle "Remote Directory" response of some clients. (Bug#15058)
4741
58c4682f
GM
4742 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4743 Tweak warning. (Bug#14926)
4744
57953f49
GM
4745 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4746 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4747
3a2ddc2d
GM
4748 * image-mode.el (image-mode-map): Add menu items to reverse,
4749 increase, decrease, reset animation speed.
4750 (image--set-speed, image-increase-speed, image-decrease-speed)
4751 (image-reverse-speed, image-reset-speed): New functions.
4752 (image-mode-map): Add bindings for speed commands.
4753
4754 * image.el (image-animate-get-speed, image-animate-set-speed):
4755 New functions.
4756 (image-animate-timeout): Respect image :speed property.
4757
10fa0ed3
SM
47582013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4761 previous line (bug#15101).
4762 (debugger-eval-expression, debugger-record-expression):
4763 Use read--expression (bug#15102).
4764
5d89d9d2
MA
47652013-08-15 Michael Albinus <michael.albinus@gmx.de>
4766
4767 Remove byte compiler warnings, visible when compiling with
4768 `byte-compile-force-lexical-warnings' set to t.
4769
4770 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4771 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4772 (tramp-handle-unhandled-file-name-directory)
4773 (tramp-handle-file-notify-add-watch, tramp-action-login)
4774 (tramp-action-succeed, tramp-action-permission-denied)
4775 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4776 arguments with "_".
4777
4778 * net/tramp-adb.el (tramp-adb-parse-device-names)
4779 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4780 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4781 (tramp-adb-handle-file-truename): Remove unused arguments.
4782
4783 * net/tramp-cache.el (tramp-flush-directory-property)
4784 (tramp-flush-connection-property, tramp-list-connections)
4785 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4786
10fa0ed3
SM
4787 * net/tramp-compat.el (tramp-compat-make-temp-file):
4788 Rename FILENAME to F.
5d89d9d2
MA
4789
4790 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4791 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4792 (tramp-zeroconf-parse-workstation-device-names)
4793 (tramp-zeroconf-parse-webdav-device-names)
4794 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4795
4796 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4797 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4798
4799 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4800 arguments.
4801 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4802 (tramp-sh-handle-insert-file-contents-literally)
4803 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4804 with "_".
4805 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4806 Remove unused variables.
4807
4808 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4809 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4810 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4811
4812 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4813 Make them a defconst.
4814 (tramp-uuencode-region): Remove unused variable.
4815
62f33bae
JB
48162013-08-14 Juanma Barranquero <lekktu@gmail.com>
4817
4818 * frameset.el (frameset--prop-setter): New function.
4819 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4820 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4821 parameter was already set in FILTERED. Doc fix.
4822 (frameset--record-minibuffer-relationships): Allow saving a
4823 minibufferless frame without its corresponding minibuffer frame.
4824 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4825 frame, if the frame id matches.
4826 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4827 frames before orphaned ones.
4828 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4829
c660a885
MR
48302013-08-14 Martin Rudalics <rudalics@gmx.at>
4831
4832 * window.el (window-make-atom): Don't overwrite parameter
4833 already present.
4834 (display-buffer-in-atom-window): Handle special case where we
4835 split an already atomic window.
4836 (window--major-non-side-window, display-buffer-in-side-window)
4837 (window--side-check): Ignore minibuffer window when walking
4838 window tree.
4839 (window-deletable-p): Return 'frame only if no other frame uses
4840 our minibuffer window.
4841 (record-window-buffer): Run buffer-list-update-hook.
4842 (split-window): Make sure window--check-frame won't destroy an
4843 existing atomic window in case the new window gets nested
4844 inside.
4845 (display-buffer-at-bottom): Ignore minibuffer window when
4846 walking window tree. Don't split a side window.
4847 (pop-to-buffer): Don't set-buffer here, the select-window call
4848 should do that.
4849 (mouse-autoselect-window-select): Autoselect only if we are in the
4850 text portion of the window.
4851
8259030d
LMI
48522013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4853
21c58ae2
LMI
4854 * net/shr.el (shr-parse-image-data): New function to grab both the
4855 data itself and the Content-Type.
4856 (shr-put-image): Use it.
4857
4858 * net/eww.el (eww-display-image): Ditto.
4859
8259030d
LMI
4860 * image.el (image-content-type-suffixes): New variable.
4861
ad756449
FEG
48622013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4863
4864 * progmodes/python.el (python-imenu--build-tree)
4865 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4866
f73f4ce6
XF
48672013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4868
4869 * simple.el (backward-word): Mention the optional argument.
4870
1f585e65
SM
48712013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * frameset.el (frameset--make): Rename constructor from make-frameset.
4874 (frameset-p, frameset-valid-p): Don't autoload.
4875 (frameset-valid-p): Use normal accessors.
4876
af1c6c84
GM
48772013-08-13 Glenn Morris <rgm@gnu.org>
4878
55e47f95
GM
4879 * progmodes/compile.el (compile-command): Tweak example in doc.
4880 * obsolete/scribe.el (scribe-mode):
4881 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4882
f0024d8c
GM
4883 * mail/feedmail.el (feedmail-confirm-outgoing)
4884 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4885
4886 * cus-start.el (truncate-partial-width-windows): Fix type.
4887
4888 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4889
af1c6c84
GM
4890 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4891
5514cc4c
SM
48922013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4893
4894 * emacs-lisp/timer.el (timer--time-setter): New function.
4895 (timer--time): Use it as gv-setter.
4896
4897 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4898 setter is not a symbol.
4899
7997a2f1
GJ
49002013-08-12 Grégoire Jadi <daimrod@gmail.com>
4901
4902 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4903 if sending fails. This makes debugging easier.
4904
01f1a9ab
JB
49052013-08-12 Juanma Barranquero <lekktu@gmail.com>
4906
4907 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4908 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4909 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4910
594a4307
EZ
49112013-08-12 Eli Zaretskii <eliz@gnu.org>
4912
4913 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4914
7a22490f 49152013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4916
4917 * format.el (format-annotate-function):
4918 Handle read-only text properties in the source. (Bug#14887)
4919
3e41a054
LMI
49202013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4921
5514cc4c
SM
4922 * net/eww.el (eww-display-html): Ignore coding system errors.
4923 One web site uses "utf-8lias" as the coding system.
3e41a054 4924
7ec326db
JB
49252013-08-11 Juanma Barranquero <lekktu@gmail.com>
4926
4927 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4928
5660113b
JB
49292013-08-10 Juanma Barranquero <lekktu@gmail.com>
4930
9a4ebc74
JB
4931 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4932 (tutorial--detailed-help): Remove unused local variables.
4933 (tutorial--save-tutorial-to): Use ignore-errors.
4934 (help-with-tutorial): Use looking-at-p.
4935
4936 * view.el (view-buffer-other-window, view-buffer-other-frame):
4937 Mark unused arguments.
4938
4939 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4940 (woman-select-symbol-fonts, woman, woman-find-file)
4941 (woman-insert-file-contents, woman-non-underline-faces):
4942 Use string-match-p.
4943 (woman1-unquote): Move declaration.
4944
4945 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4946 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4947 argument. Remove unused local variable.
4948 (xml-parse-elem-type): Use string-match-p.
4949 (xml-substitute-numeric-entities): Use ignore-errors.
4950
45fdb482
JB
4951 * calculator.el (calculator): Mark unused argument.
4952 (calculator-paste, calculator-quit, calculator-integer-p):
4953 Use ignore-errors.
4954 (calculator-string-to-number, calculator-decimal, calculator-exp)
4955 (calculator-op-or-exp): Use string-match-p.
4956
4957 * dired.el (dired-buffer-more-recently-used-p): Declare.
4958 (dired-insert-set-properties, dired-insert-old-subdirs):
4959 Use ignore-errors.
4960
4961 * dired-aux.el (dired-compress): Use ignore-errors.
4962 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4963 (dired-do-async-shell-command, dired-do-shell-command)
4964 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4965 (dired-insert-subdir-validate): Use string-match-p.
4966 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4967 (dired-add-entry): Use string-match-p, looking-at-p.
4968 (dired-insert-subdir-newpos): Remove unused local variable.
4969
4970 * filenotify.el (file-notify-callback): Remove unused local variable.
4971
4972 * filesets.el (filesets-error): Mark unused argument.
4973 (filesets-which-command-p, filesets-filter-dir-names)
4974 (filesets-directory-files, filesets-get-external-viewer)
4975 (filesets-ingroup-get-data): Use string-match-p.
4976
4977 * find-file.el (ff-other-file-name, ff-other-file-name)
4978 (ff-find-the-other-file, ff-cc-hh-converter):
4979 Remove unused local variables.
4980 (ff-get-file-name): Use string-match-p.
4981 (ff-all-dirs-under): Use ignore-errors.
4982
4983 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4984 (follow-select-if-visible): Remove unused local variable.
4985
4986 * forms.el (read-file-filter): Move declaration.
4987 (forms--make-format, forms--make-parser, forms-insert-record):
4988 Quote function with #'.
4989 (forms--update): Use string-match-p. Quote function with #'.
4990
4991 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4992 (help-make-xrefs): Use looking-at-p.
4993 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4994
4995 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4996 (ibuffer-confirm-operation-on): Use string-match-p.
4997
4998 * msb.el (msb-item-handler, msb-dired-item-handler):
4999 Mark unused arguments.
5000
5001 * ses.el (ses-decode-cell-symbol)
5002 (ses-kill-override): Remove unused local variable.
5003 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5004 (ses-load): Use ignore-errors, looking-at-p.
5005 (ses-jump-safe): Use ignore-errors.
5006 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5007
5008 * tabify.el (untabify, tabify): Mark unused arguments.
5009
5010 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5011 Mark unused argument.
5012 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5013 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5014
c880af52
JB
5015 * emacs-lisp/timer.el (timer--time): Define setter with
5016 gv-define-setter to avoid deprecation warning.
5017
5660113b 5018 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5019 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5020 (cmpl-statistics-block): Remove (body was commented out).
5021 All callers changed.
5022 (add-completions-from-buffer, load-completions-from-file):
5023 Remove unused variables.
5024
156aab80
JB
50252013-08-09 Juanma Barranquero <lekktu@gmail.com>
5026
5c5dee78
JB
5027 * filecache.el (file-cache-delete-file-list):
5028 Print message only when told so.
5029 (file-cache-files-matching): Use #' in mapconcat argument.
5030
156aab80
JB
5031 * ffap.el (ffap-url-at-point): Fix reference to variable
5032 thing-at-point-default-mail-uri-scheme.
5033
ad9dcd70
SM
50342013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5035
54bd972f
SM
5036 * subr.el (define-error): New function.
5037 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5038 error-file-not-found and define with define-error.
5039 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5040 and define with define-error.
5041 * userlock.el (file-locked, file-supersession):
5042 * simple.el (mark-inactive):
5043 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5044 * progmodes/ada-mode.el (ada-mode-errors):
5045 * play/life.el (life-extinct):
5046 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5047 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5048 * nxml/rng-util.el (rng-error):
5049 * nxml/rng-uri.el (rng-uri-error):
5050 * nxml/rng-match.el (rng-compile-error):
5051 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5052 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5053 * nxml/nxml-rap.el (nxml-scan-error):
5054 * nxml/nxml-outln.el (nxml-outline-error):
5055 * net/soap-client.el (soap-error):
5056 * net/gnutls.el (gnutls-error):
5057 * net/ange-ftp.el (ftp-error):
5058 * mpc.el (mpc-proc-error):
5059 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5060 (json-number-format, json-string-escape, json-string-format)
5061 (json-key-format, json-object-format):
5062 * jka-compr.el (compression-error):
5063 * international/quail.el (quail-error):
5064 * international/kkc.el (kkc-error):
5065 * emacs-lisp/ert.el (ert-test-failed):
5066 * calc/calc.el (calc-error, inexact-result, math-overflow)
5067 (math-underflow):
5068 * bookmark.el (bookmark-error-no-filename):
5069 * epg.el (epg-error): Define with define-error.
5070
0ea9e53a
SM
5071 * time.el (display-time-event-handler)
5072 (display-time-next-load-average): Don't call sit-for since it seems
5073 unnecessary (bug#15045).
5074
b0429158
SM
5075 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5076 Use #' instead of ' to quote functions.
5077 (checkdoc-output-mode): Use setq-local.
5078 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5079 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5080 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5081 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5082 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5083 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5084 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5085 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5086
ad9dcd70
SM
5087 * ido.el (ido-completion-help): Fix up compiler warning.
5088
77187e6f
JB
50892013-08-09 Juanma Barranquero <lekktu@gmail.com>
5090
5091 * frameset.el (frameset-p): Add autoload cookie.
5092 (frameset--jump-to-register): New function, based on code moved from
5093 register.el.
5094 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5095
5096 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5097 (frameset-restore, frameset-save, frameset-session-filter-alist):
5098 Remove declarations.
5099 (register-alist): Doc fix.
5100 (frameset-to-register): Move to frameset.el.
5101 (jump-to-register, describe-register-1): Remove frameset-specific code.
5102
9d3aa82c
JB
51032013-08-08 Juanma Barranquero <lekktu@gmail.com>
5104
5105 * allout-widgets.el (allout-widgets-pre-command-business)
5106 (allout-widgets-post-command-business)
5107 (allout-widgets-after-change-handler)
5108 (allout-decorate-item-and-context, allout-set-boundary-marker)
5109 (allout-body-modification-handler)
5110 (allout-graphics-modification-handler): Mark ignored arguments.
5111 (allout-widgets-post-command-business)
5112 (allout-widgets-exposure-change-processor)
5113 (allout-widgets-exposure-undo-processor)
5114 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5115 (allout-parse-item-at-point, allout-decorate-item-guides)
5116 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5117 * allout.el (epa-passphrase-callback-function): Declare.
5118 (allout-overlay-insert-in-front-handler)
5119 (allout-overlay-interior-modification-handler)
5120 (allout-isearch-end-handler, allout-chart-siblings)
5121 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5122 (allout-yank-processing, allout-process-exposed)
5123 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5124 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5125 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5126 (lisp-indent-defform): Mark ignored arguments.
5127 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5128 (calculate-lisp-indent): Remove unused variables.
5129 * international/characters.el (indian-2-column, arabic-2-column)
5130 (tibetan): Mark ignored arguments.
5131 (use-cjk-char-width-table): Mark ignored arguments.
5132 Remove unused variables.
5133 * international/fontset.el (build-default-fontset-data)
5134 (x-compose-font-name, create-fontset-from-fontset-spec):
5135 Mark ignored arguments.
5136 (fontset-plain-name): Remove unused variables.
5137 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5138 (keyboard-coding-system): Mark ignored arguments.
5139 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5140 * help.el (resize-temp-buffer-window):
5141 * window.el (display-buffer-in-major-side-window)
5142 (display-buffer-in-side-window, display-buffer-in-previous-window):
5143 Remove unused variables.
5144 * isearch.el (isearch-forward-symbol):
5145 * version.el (emacs-bzr-version-bzr):
5146 * international/mule-cmds.el (current-language-environment):
5147 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5148 (x-handle-display):
5149 * term/pc-win.el (x-list-fonts, x-display-planes)
5150 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5151 (x-server-version, x-display-screens, x-display-mm-height)
5152 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5153 (x-selection-owner-p, x-own-selection-internal)
5154 (x-disown-selection-internal, x-get-selection-internal)
5155 (msdos-initialize-window-system):
5156 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5157 * term/x-win.el (x-handle-no-bitmap-icon):
5158 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5159 (vc-default-find-file-hook, vc-default-extra-menu):
5160 Mark ignored arguments.
5161
0ca3f70e
SM
51622013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5163
5164 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5165 break-condition in the context of the debugged code (bug#12685).
5166
74c5d24c
CS
51672013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5168
5169 * comint.el:
5170 Do not use an overlay to highlight the last prompt. (Bug#14744)
5171 (comint-mode): Make comint-last-prompt buffer local.
5172 (comint-last-prompt): New variable.
5173 (comint-last-prompt-overlay): Remove. Superseded by
5174 comint-last-prompt.
0ca3f70e
SM
5175 (comint-snapshot-last-prompt, comint-output-filter):
5176 Use comint-last-prompt.
74c5d24c 5177
c03c02ee
JB
51782013-08-08 Juanma Barranquero <lekktu@gmail.com>
5179
a3738d20 5180 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5181 (frameset-save): Check validity of the resulting frameset.
5182
04263d23
XF
51832013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5184
5185 * ido.el (ido-record-command): Add doc string.
5186
76c5e5ab
JB
51872013-08-08 Juanma Barranquero <lekktu@gmail.com>
5188
5189 * frameset.el (frameset): Do not disable creation of the default
5190 frameset-p predicate. Doc fix.
5191 (frameset-valid-p): New function, copied from the old predicate-p.
5192 Add additional checks.
5193 (frameset-restore): Check with frameset-valid-p.
5194 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5195 (frameset-name, frameset-description, frameset-properties)
5196 (frameset-states): Add docstring.
f9dbf1cb
JB
5197 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5198 (frameset-filter-alist): Doc fixes.
76c5e5ab 5199
bd0c3c0b
JB
52002013-08-08 Juanma Barranquero <lekktu@gmail.com>
5201
5202 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5203
c735544c
SM
52042013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5207 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5208 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5209 (byte-compile-normal-call): Remove obsolescence check.
5210
2805a651
JB
52112013-08-08 Juanma Barranquero <lekktu@gmail.com>
5212
3677ffeb
JB
5213 * frameset.el (frameset-restore): Doc fix.
5214
2805a651
JB
5215 * register.el (frameset-frame-id, frameset-frame-with-id)
5216 (frameset-p, frameset-restore, frameset-save): Declare.
5217 (register-alist): Document framesets.
5218 (frameset-session-filter-alist): Declare.
5219 (frameset-to-register): New function.
5220 (jump-to-register): Implement jumping to framesets. Doc fix.
5221 (describe-register-1): Describe framesets.
5222
5223 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5224
a912c016
JB
52252013-08-07 Juanma Barranquero <lekktu@gmail.com>
5226
5227 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5228 Use lexical-binding.
5229
5230 * frameset.el (frameset): Use type vector, not list (incompatible
5231 change). Do not declare a new constructor, use the default one.
5232 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5233 `name' and `description', respectively, and add read-only slot
5234 `timestamp'. Doc fixes.
5235 (frameset-copy, frameset-persistent-filter-alist)
5236 (frameset-filter-alist, frameset-switch-to-gui-p)
5237 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5238 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5239 (frameset-filter-iconified, frameset-keep-original-display-p):
5240 Doc fixes.
5241 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5242 Rename from frameset-filter-(save|restore)-param. All callers changed.
5243 Doc fix.
5244 (frameset-p): Adapt to change to vector and be more thorough.
5245 Change arg name to OBJECT. Doc fix.
5246 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5247 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5248 All callers changed.
5249 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5250 All callers changed.
5251 (frameset--record-minibuffer-relationships): Rename from
5252 frameset--process-minibuffer-frames. All callers changed.
5253 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5254 Use new default constructor (again). Doc fix.
5255 (frameset--find-frame-if): Rename from `frameset--find-frame.
5256 All callers changed.
5257 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5258 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5259 Doc fix.
5260 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5261 PARAMETERS and WINDOW-STATE, respectively.
5262 (frameset-restore): Add new keyword argument PREDICATE.
5263 Reset frameset--target-display to nil. Doc fix.
5264
bb41480a
SM
52652013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5266
f001e98e
SM
5267 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5268 (bat-mode): Use it.
5269 (bat-mode-syntax-table): Mark \n as end-of-comment.
5270 (bat-font-lock-keywords): Remove comment rule.
5271
7679edb1
SM
5272 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5273 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5274
bb41480a
SM
5275 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5276 (byte-compile-callargs-warn): Use `push'.
5277 (byte-compile-arglist-warn): Ignore higher-order "calls".
5278 (byte-compile-file-form-autoload): Use `pcase'.
5279 (byte-compile-function-form): If quoting a symbol, check that it exists.
5280
cdc1ebb9
EZ
52812013-08-07 Eli Zaretskii <eliz@gnu.org>
5282
5283 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5284 and add a few popular commands found in batch files.
5285 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5286 (dos-mode): Doc fixes.
5287
312b1740
SM
52882013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5291 (dos-mode): Use setq-local. Add space after "rem".
5292 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5293 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5294
400a3178
AM
52952013-08-07 Arni Magnusson <arnima@hafro.is>
5296
5297 * progmodes/dos.el: New file.
5298 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5299 dos-mode.
5300
3b5c03d3
GM
53012013-08-06 Glenn Morris <rgm@gnu.org>
5302
5303 * calendar/calendar.el: Add new faces, and day-header-array.
5304 (calendar-weekday-header, calendar-weekend-header)
5305 (calendar-month-header): New faces.
5306 (calendar-day-header-construct): New function.
5307 (calendar-day-header-width): Also :set calendar-day-header-array.
5308 (calendar-american-month-header, calendar-european-month-header)
5309 (calendar-iso-month-header): Use calendar- faces.
5310 (calendar-generate-month):
5311 Use calendar-day-header-array for day headers; apply faces to them.
5312 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5313 (calendar-abbrev-construct): Add optional maxlen argument.
5314 (calendar-day-name-array): Doc fix.
5315 (calendar-day-name-array, calendar-abbrev-length)
5316 (calendar-day-abbrev-array):
5317 Also :set calendar-day-header-array, and maybe redraw.
5318 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5319 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5320 (calendar-day-name): Add option to use header array.
5321
ec6a2d7a
LMI
53222013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5323
5324 * net/shr.el (shr-render-td): Remove debugging.
5325 (shr-render-td): Make width computation consistent by defaulting
5326 all zero-width columns to 10 characters. This may not be optimal,
5327 but it's at least consistent.
2122cb6d
LMI
5328 (shr-make-table-1): Redo last change to fix the real problem in
5329 colspan handling.
ec6a2d7a 5330
ed4fd9c5
DA
53312013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5332
0ca3f70e
SM
5333 * files.el (cache-long-line-scans):
5334 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5335
64e22afe
JB
53362013-08-06 Juanma Barranquero <lekktu@gmail.com>
5337
024b38fc
JB
5338 * frameset.el (frameset, frameset-filter-alist)
5339 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5340 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5341 (frameset-compute-pos): Rename from frameset--compute-pos,
5342 and add docstring.
5343 (frameset-move-onscreen): Use frameset-compute-pos.
5344 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5345
64e22afe
JB
5346 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5347 Fix typos in docstrings.
5348
c8c2aca8
DA
53492013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5350
5351 * frame.el (get-other-frame): Tiny cleanup.
5352
1d237bba
JB
53532013-08-06 Juanma Barranquero <lekktu@gmail.com>
5354
8951efef
JB
5355 * vc/vc.el (vc-default-ignore-completion-table):
5356 Silence byte-compiler warning.
5357
307764cc
JB
5358 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5359 slot , which can indeed be nil.
5360 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5361 Move entry for `left' from persistent to live filter alist.
5362 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5363 Doc fixes.
5364 (frameset-filter-params): When restoring a frame, copy items added to
5365 `filtered', to avoid unwittingly modifying the original parameters.
5366 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5367 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5368
1d237bba
JB
5369 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5370 to use looking-at-p instead of looking-at. (Bug#15028)
5371
dc6c0eda
SM
53722013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5373
5374 Revert introduction of isearch-filter-predicates (bug#14714).
5375 Rely on add-function instead.
5376 * isearch.el (isearch-filter-predicates): Rename it back to
5377 isearch-filter-predicate.
5378 (isearch-message-prefix): Use advice-function-mapc and advice
5379 properties to get the isearch-message-prefix.
5380 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5381 instead of run-hook-with-args-until-failure.
5382 (isearch-filter-visible): Not obsolete any more.
5383 * loadup.el: Preload nadvice.
5384 * replace.el (perform-replace): Revert to funcall
5385 instead of run-hook-with-args-until-failure.
5386 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5387 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5388 dired-isearch-filenames-toggle; make it into a proper minor mode.
5389 Use add/remove-function.
5390 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5391 Call the minor-mode rather than add/remove-hook.
5392 (dired-isearch-filter-filenames):
5393 Remove isearch-message-prefix property.
5394 * info.el (Info--search-loop): New function, extracted from Info-search.
5395 Funcall isearch-filter-predicate instead of
5396 run-hook-with-args-until-failure isearch-filter-predicates.
5397 (Info-search): Use it.
5398 (Info-mode): Use isearch-filter-predicate instead of
5399 isearch-filter-predicates.
5400
290d5b58
DA
54012013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5402
5403 Do not call to `selected-window' where it is assumed by default.
5404 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5405 `window-hscroll', `window-width', `window-height', `window-buffer',
5406 `window-frame', `window-start', `window-point', `next-window'
5407 and `window-display-table'.
5408 * abbrev.el (abbrev--default-expand):
5409 * bs.el (bs--show-with-configuration):
5410 * buff-menu.el (Buffer-menu-mouse-select):
5411 * calc/calc.el (calc):
5412 * calendar/calendar.el (calendar-generate-window):
5413 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5414 (diary-make-entry):
5415 * comint.el (send-invisible, comint-dynamic-complete-filename)
5416 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5417 * completion.el (complete):
5418 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5419 * disp-table.el (describe-current-display-table):
5420 * doc-view.el (doc-view-insert-image):
5421 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5422 * ehelp.el (with-electric-help):
5423 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5424 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5425 * emacs-lisp/helper.el (Helper-help-scroller):
5426 * emulation/cua-base.el (cua--post-command-handler-1):
5427 * eshell/esh-mode.el (eshell-output-filter):
5428 * ffap.el (ffap-gnus-wrapper):
5429 * help-macro.el (make-help-screen):
5430 * hilit-chg.el (highlight-compare-buffers):
5431 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5432 * hl-line.el (global-hl-line-highlight):
5433 * icomplete.el (icomplete-simple-completing-p):
5434 * isearch.el (isearch-done):
5435 * jit-lock.el (jit-lock-stealth-fontify):
5436 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5437 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5438 * mpc.el (mpc-tagbrowser, mpc):
5439 * net/rcirc.el (rcirc-any-buffer):
5440 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5441 * play/landmark.el (landmark-max-width, landmark-max-height):
5442 * play/zone.el (zone):
5443 * progmodes/compile.el (compilation-goto-locus):
5444 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5445 * progmodes/etags.el (find-tag-other-window):
5446 * progmodes/fortran.el (fortran-column-ruler):
5447 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5448 * progmodes/verilog-mode.el (verilog-point-text):
5449 * reposition.el (reposition-window):
5450 * rot13.el (toggle-rot13-mode):
5451 * server.el (server-switch-buffer):
5452 * shell.el (shell-dynamic-complete-command)
5453 (shell-dynamic-complete-environment-variable):
5454 * simple.el (insert-buffer, set-selective-display)
5455 (delete-completion-window):
5456 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5457 (speedbar-recenter):
5458 * startup.el (fancy-splash-head):
5459 * textmodes/ispell.el (ispell-command-loop):
5460 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5461 * tutorial.el (help-with-tutorial):
5462 * vc/add-log.el (add-change-log-entry):
5463 * vc/compare-w.el (compare-windows):
5464 * vc/ediff-help.el (ediff-indent-help-message):
5465 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5466 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5467 (ediff-setup-control-frame):
5468 * vc/emerge.el (emerge-position-region):
5469 * vc/pcvs-util.el (cvs-bury-buffer):
5470 * window.el (walk-windows, mouse-autoselect-window-select):
5471 * winner.el (winner-set-conf, winner-undo): Related users changed.
5472
38276e01
JB
54732013-08-05 Juanma Barranquero <lekktu@gmail.com>
5474
5475 * frameset.el (frameset--set-id): Doc fix.
5476 (frameset-frame-id, frameset-frame-id-equal-p)
5477 (frameset-locate-frame-id): New functions.
5478 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5479 (frameset-restore): Use them.
5480
12b4c0ea
DA
54812013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5482
5483 Do not call to `selected-frame' where it is assumed by default.
5484 Affected functions are `raise-frame', `redraw-frame',
5485 `frame-first-window', `frame-terminal' and `delete-frame'.
5486 * calendar/appt.el (appt-disp-window):
5487 * epg.el (epg-wait-for-completion):
5488 * follow.el (follow-delete-other-windows-and-split)
5489 (follow-avoid-tail-recenter):
5490 * international/mule.el (set-terminal-coding-system):
5491 * mail/rmail.el (rmail-mail-return):
5492 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5493 * progmodes/f90.el (f90-add-imenu-menu):
5494 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5495 * server.el (server-switch-buffer):
5496 * simple.el (delete-completion-window):
5497 * talk.el (talk):
5498 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5499 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5500 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5501 * vc/ediff.el (ediff-documentation): Related users changed.
5502 * frame.el (selected-terminal): Remove the leftover.
5503
17f25e76
GM
55042013-08-05 Glenn Morris <rgm@gnu.org>
5505
5506 * calendar/calendar.el (calendar-generate-month):
5507 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5508 (calendar-generate-month, calendar-font-lock-keywords):
5509 Fix for calendar-day-header-width > length of any day name.
17f25e76 5510
063233c3
JB
55112013-08-05 Juanma Barranquero <lekktu@gmail.com>
5512
5513 * desktop.el (desktop-clear): Use new name of sort predicate.
5514
5515 * frameset.el (frameset): Add docstring. Move :version property to its
5516 own `version' slot.
5517 (frameset-copy): Rename from copy-frameset.
5518 (frameset-p): Check more thoroughly.
5519 (frameset-prop): Do not check for :version, which is no longer a prop.
5520 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5521 Use new :never value instead of t.
5522 (frameset-filter-alist): Expand and clarify docstring.
5523 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5524 (frameset-filter-minibuffer, frameset-filter-save-param)
5525 (frameset-filter-restore-param, frameset-filter-iconified):
5526 Add pointer to docstring of frameset-filter-alist.
5527 (frameset-filter-params): Rename filter values to be more meaningful:
5528 :never instead of t, and reverse the meanings of :save and :restore.
5529 (frameset--process-minibuffer-frames): Clarify error message.
5530 (frameset-save): Avoid unnecessary and confusing call to framep.
5531 Use new BOA constructor for framesets.
5532 (frameset--reuse-list): Doc fix.
5533 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5534 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5535 (frameset-minibufferless-first-p): Doc fix.
5536 Rename from frameset-sort-frames-for-deletion.
5537 (frameset-restore): Doc fixes. Use new function names.
5538 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5539
d5671a82
JB
55402013-08-04 Juanma Barranquero <lekktu@gmail.com>
5541
5542 * desktop.el (desktop-restore-forces-onscreen)
5543 (desktop-restore-reuses-frames): Document :keyword constant values.
5544 (desktop-filter-parameters-alist): Remove, now identical to
5545 frameset-filter-alist.
5546 (desktop--filter-tty*): Remove, moved to frameset.el.
5547 (desktop-save-frameset, desktop-restore-frameset):
5548 Do not pass :filters argument.
5549
5550 * frameset.el (frameset-live-filter-alist)
5551 (frameset-persistent-filter-alist): New variables.
5552 (frameset-filter-alist): Use them. Add autoload cookie.
5553 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5554 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5555 `frameset--id' (it's supposed to be internal to frameset.el).
5556 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5557 (frameset--initial-params): New function.
5558 (frameset--get-frame): Use it. Doc fix.
5559 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5560 Accept :all, not 'all.
5561 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5562 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5563 with fbound symbols. Fix frame id matching, and remove matching ids if
5564 the frame being restored is deleted. Obey :delete.
5565
671d5c16
SM
55662013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * subr.el (macrop): New function.
5569 (text-clone--maintaining): New var.
5570 (text-clone--maintain): Rename from text-clone-maintain. Use it
5571 instead of inhibit-modification-hooks.
5572
5573 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5574 a proxy, so as handle autoloads and redefinitions of the target.
5575 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5576
5577 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5578 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5579 (pcase--mutually-exclusive-p): New function.
5580 (pcase--split-consp): Use it.
5581 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5582 mutually exclusive with the current predicate.
5583
5584 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5585 (edebug-macrop): Remove. Use `macrop' instead.
5586 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5587 (ad-macro-p):
5588 * eshell/esh-cmd.el (eshell-macrop):
5589 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5590
1d44e9dc
SM
55912013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5594 (advice-mapc): New function, using it.
5595 (advice-function-member-p): New function.
5596 (advice--normalize): Store the cdr in advice--saved-rewrite since
5597 that's the part that will be changed.
5598 (advice--symbol-function): New function.
5599 (advice-remove): Handle removal before the function is defined.
5600 Adjust to new advice--saved-rewrite.
5601 (advice-member-p): Use advice-function-member-p and
5602 advice--symbol-function.
5603
5414a283
JB
56042013-08-04 Juanma Barranquero <lekktu@gmail.com>
5605
51d30f2c
JB
5606 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5607 (frameset-filter-minibuffer): Doc fix.
5608 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5609 (frameset--set-id, frameset--process-minibuffer-frames)
5610 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5611 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5612
5414a283
JB
5613 * desktop.el (desktop-clear): Only delete frames when called
5614 interactively and desktop-restore-frames is non-nil. Doc fix.
5615 (desktop-read): Set desktop-saved-frameset to nil.
5616
ab419665
XF
56172013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5618
5619 * vc/vc.el (vc-ignore): Rewrite.
5620 (vc-default-ignore-completion-table):
5621 (vc--read-lines):
5622 (vc--add-line, vc--remove-regexp): New functions.
5623
5624 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5625 (vc-svn-ignore-completion-table): New function.
5626
5627 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5628 (vc-hg-ignore-completion-table):
5629 (vc-hg-find-ignore-file): New functions.
5630
5631 * vc/vc-git.el (vc-git-ignore): Rewrite.
5632 (vc-git-ignore-completion-table):
5633 (vc-git-find-ignore-file): New functions.
5634
5635 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5636
5637 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5638 (vc-bzr-ignore-completion-table):
5639 (vc-bzr-find-ignore-file): New functions.
5640
2613dea2
JB
56412013-08-03 Juanma Barranquero <lekktu@gmail.com>
5642
5643 * frameset.el (frameset-prop): New function and setter.
5644 (frameset-save): Do not modify frame list passed by the caller.
5645
9c959872
SM
56462013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5649
a104f656
SM
56502013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5651
70122acf
SM
5652 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5653 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5654
a104f656
SM
5655 * custom.el (custom-initialize-default, custom-initialize-set)
5656 (custom-initialize-reset, custom-initialize-changed): Affect the
5657 toplevel-default-value (bug#6275, bug#14586).
5658 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5659 for bug#6275.
5660
f078d570
JB
56612013-08-02 Juanma Barranquero <lekktu@gmail.com>
5662
185e3b5a
JB
5663 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5664 Add cl-def* expressions.
5665
f078d570
JB
5666 * frameset.el (frameset-filter-params): Fix order of arguments.
5667
9421876d
JB
56682013-08-02 Juanma Barranquero <lekktu@gmail.com>
5669
5670 Move code related to saving frames to frameset.el.
5671 * desktop.el: Require frameset.
5672 (desktop-restore-frames): Doc fix.
5673 (desktop-restore-reuses-frames): Rename from
5674 desktop-restoring-reuses-frames.
5675 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5676 (desktop-clear): Clear frames too.
5677 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5678 (desktop--filter-tty*, desktop-save, desktop-read):
5679 Use frameset functions.
5680 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5681 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5682 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5683 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5684 (desktop--process-minibuffer-frames, desktop-save-frames)
5685 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5686 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5687 (desktop--sort-states, desktop-restoring-frames-p)
5688 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5689 (desktop-restoring-frameset-p, desktop-restore-frameset)
5690 (desktop--check-dont-save, desktop-save-frameset): New functions.
5691 (desktop--app-id): New constant.
5692 (desktop-first-buffer, desktop-buffer-ok-count)
5693 (desktop-buffer-fail-count): Move before first use.
5694 * frameset.el: New file.
5695
76dc5996
SM
56962013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * files.el: Use lexical-binding.
5699 (dir-locals-read-from-file): Remove unused `err' variable.
5700 (hack-dir-local-variables--warned-coding): New var.
5701 (hack-dir-local-variables): Use it to avoid repeated warnings.
5702 (make-backup-file-name--default-function): New function.
5703 (make-backup-file-name-function): Use it as default.
5704 (buffer-stale--default-function): New function.
5705 (buffer-stale-function): Use it as default.
5706 (revert-buffer-insert-file-contents--default-function): New function.
5707 (revert-buffer-insert-file-contents-function): Use it as default.
5708 (insert-directory): Avoid add-to-list.
5709
5710 * autorevert.el (auto-revert-handler): Simplify.
5711 Use buffer-stale--default-function.
5712
06d36e2b
TH
57132013-08-01 Tassilo Horn <tsdh@gnu.org>
5714
5f648ab4
TH
5715 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5716
06d36e2b
TH
5717 * whitespace.el (whitespace-ensure-local-variables): New function.
5718 (whitespace-cleanup-region): Call it.
5719 (whitespace-turn-on): Call it.
5720
a43dc424
MA
57212013-08-01 Michael Albinus <michael.albinus@gmx.de>
5722
5723 Complete file name handlers.
5724
5725 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5726 (tramp-handle-verify-visited-file-modtime)
5727 (tramp-handle-file-notify-rm-watch): New functions.
5728 (tramp-call-process): Do not bind `default-directory'.
5729
44e18199
JB
5730 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5731 Order alphabetically.
a43dc424
MA
5732 [access-file, add-name-to-file, dired-call-process]:
5733 [dired-compress-file, file-acl, file-notify-rm-watch]:
5734 [file-ownership-preserved-p, file-selinux-context]:
5735 [make-directory-internal, make-symbolic-link, set-file-acl]:
5736 [set-file-selinux-context, set-visited-file-modtime]:
5737 [verify-visited-file-modtime]: Add handler.
5738 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5739
5740 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5741 [file-notify-add-watch, file-notify-rm-watch]:
5742 [set-file-times, set-visited-file-modtime]:
5743 [verify-visited-file-modtime]: Add handler.
5744 (with-tramp-gvfs-error-message)
5745 (tramp-gvfs-handle-set-visited-file-modtime)
5746 (tramp-gvfs-fuse-file-name): Remove.
5747 (tramp-gvfs-handle-file-notify-add-watch)
5748 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5749 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5750
44e18199
JB
5751 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5752 Order alphabetically.
a43dc424
MA
5753 [file-notify-rm-watch ]: Use default Tramp handler.
5754 [executable-find]: Remove private handler.
5755 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5756 `default-directory'.
5757 (tramp-sh-handle-executable-find)
5758 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5759 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5760 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5761 Do not use `format' in `tramp-message'.
5762
5763 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5764 [file-notify-rm-watch, set-visited-file-modtime]:
5765 [verify-visited-file-modtime]: Add handler.
5766 (tramp-smb-call-winexe): Do not bind `default-directory'.
5767
7188b515
XF
57682013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5769
5770 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5771
2412ee1a
DG
57722013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5773
5774 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5775 use it.
5776 (log-view-diff-changeset): Same.
5777 (log-view-diff-common): Call backend command `previous-revision'
5778 to find out the previous revision, in both cases. Swap the
5779 variables `to' and `fr', so that `fr' usually refers to the
5780 earlier revision (Bug#14989).
5781
5002a754
KRC
57822013-07-31 Kan-Ru Chen <kanru@kanru.info>
5783
5784 * ibuf-ext.el (ibuffer-filter-by-filename):
5785 Make it work with dired buffers too.
5786
44e18199 57872013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5788
5789 * emacs-lisp/re-builder.el (reb-color-display-p):
5790 * files.el (save-buffers-kill-terminal):
5791 * net/browse-url.el (browse-url):
5792 * server.el (server-save-buffers-kill-terminal):
5793 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5794 Prefer nil to selected-frame for the first arg of frame-parameter.
5795
aeca3fbb
XF
57962013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5797
5798 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5799
158bc55c
SB
58002013-07-30 Stephen Berman <stephen.berman@gmx.net>
5801
5802 * minibuffer.el (completion--twq-all): Try and preserve each
5803 completion's case choice (bug#14907).
5804
d50fceab
LMI
58052013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5806
ac38e731
LMI
5807 * net/network-stream.el (open-network-stream): Mention the new
5808 :nogreeting parameter.
5809 (network-stream-open-starttls): Use the :nogreeting parameter
5810 (bug#14938).
5811
1211de50
LMI
5812 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5813
997798bf
LMI
5814 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5815 more natural than popping.
5816
d50fceab 5817 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5818 (shr-urlify): Highlight under mouse.
d50fceab 5819
5c09de04
XF
58202013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5821
207d1d04
XF
5822 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5823
5824 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5825
5c09de04
XF
5826 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5827 buffer for output.
5828
3cd51eaa
XF
5829 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5830 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5831
44e18199 5832 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5833 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5834
5835 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5836
5837 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5838 buffer for output.
5839
35a89bdd
EZ
58402013-07-29 Eli Zaretskii <eliz@gnu.org>
5841
5842 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5843 initial frame is minibuffer-less. (Bug#14841)
5844
78822e94
MA
58452013-07-29 Michael Albinus <michael.albinus@gmx.de>
5846
5847 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5848 option.
5849
5850 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5851 (tramp-maybe-open-connection): Use it.
5852
9503c190
JB
58532013-07-28 Juanma Barranquero <lekktu@gmail.com>
5854
5855 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5856 minimal set of parameters passed when creating a frame, because
5857 the minibuffer status of a frame cannot be changed later.
5858
d5a845b4
SB
58592013-07-28 Stephen Berman <stephen.berman@gmx.net>
5860
5861 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5862 replace-regexp-in-string and inadvertent omissions in previous change.
5863 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5864 name of filtered items buffer.
d5a845b4 5865
ddeffb17
JB
58662013-07-28 Juanma Barranquero <lekktu@gmail.com>
5867
5868 * desktop.el: Optionally force offscreen frames back onscreen.
5869 (desktop-restoring-reuses-frames): New option.
5870 (desktop--compute-pos, desktop--move-onscreen): New functions.
5871 (desktop--make-frame): Use desktop--move-onscreen.
5872
f5950f7a
AM
58732013-07-27 Alan Mackenzie <acm@muc.de>
5874
5875 Fontify a Java generic method as a function.
5876 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5877 value to t.
5878
ae43b66a
SB
58792013-07-27 Stephen Berman <stephen.berman@gmx.net>
5880
5881 * calendar/todo-mode.el: Add command to rename todo files.
5882 (todo-rename-file): New command.
5883 (todo-key-bindings-t): Add key binding for it. Change the
5884 bindings of todo-filter-regexp-items(-multifile) to use `x'
5885 instead of `r', since the latter is better suited to the new
5886 renaming command.
5887
5ab78d3d
AM
58882013-07-27 Alan Mackenzie <acm@muc.de>
5889
5890 Make Java try-with-resources statement parse properly.
5891 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5892 (c-block-stmt-1-2-key): New language constants/variables.
5893 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5894 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5895 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5896 with c-block-stmt-1-2-key.
5ab78d3d 5897
d85c4d50
JB
58982013-07-27 Juanma Barranquero <lekktu@gmail.com>
5899
5900 * desktop.el (desktop--make-frame): Apply most frame parameters after
5901 creating the frame to force (partially or totally) offscreen frames to
5902 be restored as such.
5903
e4c467f9
XF
59042013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5905
5906 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5907 (Bug#14948)
e4c467f9 5908
7ced0d04
SM
59092013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5910
5911 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5912 `base' arg of backtrace-frame.
5913
fec92060
EZ
59142013-07-26 Eli Zaretskii <eliz@gnu.org>
5915
5916 * simple.el (list-processes): Doc fix.
5917
d58d31fb
JB
59182013-07-26 Juanma Barranquero <lekktu@gmail.com>
5919
5920 * desktop.el (desktop--select-frame):
d85c4d50 5921 Try harder to reuse existing frames.
d58d31fb 5922
53ff3e77
SM
59232013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5926 (edebug-eval): Use backtrace-eval.
5927 (edebug--display, edebug--recursive-edit): Don't let-bind the
5928 edebug-outer-* vars that keep track of variables we locally let-bind.
5929 (edebug-outside-excursion): Don't restore outside values of locally
5930 let-bound vars.
5931 (edebug--display): Use user-error.
5932 (cl-lexical-debug, cl-debug-env): Remove.
5933
045f7a53
JB
59342013-07-26 Juanma Barranquero <lekktu@gmail.com>
5935
5936 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5937 are restored to be sure that they are visible before deleting any
5938 remaining ones.
5939
59070b32
MM
59402013-07-26 Matthias Meulien <orontee@gmail.com>
5941
742a3501
XF
5942 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5943 vc-print-root-log. (Bug#14948)
59070b32 5944
b1fb3596
RS
59452013-07-26 Richard Stallman <rms@gnu.org>
5946
5947 Add aliases for encrypting mail.
5948 * epa.el (epa-mail-aliases): New option.
5949 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5950 Bind inhibit-read-only so read-only text doesn't ruin everything.
5951 (epa-mail-default-recipients): New subroutine broken out.
5952 Handle epa-mail-aliases.
5953
56ea7291
SM
59542013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5955
5956 Add support for lexical variables to the debugger's `e' command.
5957 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5958 vars, except for debugger-outer-match-data.
5959 (debugger-frame-number): Move check for "on a function call" from
5960 callers into it. Add `skip-base' argument.
5961 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5962 (debugger-env-macro): Only reset the state stored in non-variables,
5963 i.e. current-buffer and match-data.
5964 (debugger-eval-expression): Rewrite using backtrace-eval.
5965 * subr.el (internal--called-interactively-p--get-frame): Remove.
5966 (called-interactively-p):
5967 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5968 `base' arg of backtrace-frame instead.
5969
15ac32d5
GM
59702013-07-26 Glenn Morris <rgm@gnu.org>
5971
8358a09d
GM
5972 * align.el (align-regexp): Doc fix. (Bug#14857)
5973 (align-region): Explicit error if subexpression missing/does not match.
5974
15ac32d5
GM
5975 * simple.el (global-visual-line-mode):
5976 Do not duplicate the mode lighter. (Bug#14858)
5977
f47ad11b
MR
59782013-07-25 Martin Rudalics <rudalics@gmx.at>
5979
5980 * window.el (display-buffer): In display-buffer bind
5981 split-window-keep-point to t, bug#14829.
5982
02530987
JB
59832013-07-25 Juanma Barranquero <lekktu@gmail.com>
5984
5985 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5986 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5987 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5988 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5989 Change accordingly.
f63ebeb5
JB
5990 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5991 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5992
6ccb9cab 59932013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5994
6ccb9cab 5995 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5996
cb3a56d2
JB
59972013-07-25 Juanma Barranquero <lekktu@gmail.com>
5998
5999 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6000 parameter to modify-frame-parameters if the value has not changed;
6001 this is a workaround for bug#14949.
6002 (desktop--make-frame): On cl-delete-if call, check parameter name,
6003 not full parameter.
6004
7aa7fff0
XF
60052013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6006
6007 * vc/vc.el (vc-ignore): New function.
6008
6009 * vc/vc-svn.el (vc-svn-ignore): New function.
6010
6011 * vc/vc-hg.el (vc-hg-ignore): New function.
6012
6013 * vc/vc-git.el (vc-git-ignore): New function.
6014
6015 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6016 (vc-dir-ignore): New function.
6017
6018 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6019 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6020
6021 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6022
6023 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6024
889acc5c
JB
60252013-07-24 Juanma Barranquero <lekktu@gmail.com>
6026
6027 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6028 (desktop-restore-frames): Warn when deleting an existing frame failed.
6029
86c40970
GM
60302013-07-24 Glenn Morris <rgm@gnu.org>
6031
6032 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6033
d5d3c58a
MA
60342013-07-24 Michael Albinus <michael.albinus@gmx.de>
6035
6036 * filenotify.el (file-notify-supported-p):
6037 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6038 Remove functions.
6039
6040 * autorevert.el (auto-revert-use-notify):
6041 (auto-revert-notify-add-watch):
6042 * net/tramp.el (tramp-file-name-for-operation):
6043 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6044 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6045 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6046 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6047 Remove `file-notify-supported-p' entry.
6048
d100084b
GM
60492013-07-24 Glenn Morris <rgm@gnu.org>
6050
6051 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6052 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6053
ac93e56b
SM
60542013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6055
249eea30
SM
6056 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6057 checked with memq (bug#14935).
6058
ac93e56b
SM
6059 * files.el (revert-buffer-function): Use a non-nil default.
6060 (revert-buffer-preserve-modes): Declare var to
6061 provide access to the `preserve-modes' argument.
6062 (revert-buffer): Let-bind it.
6063 (revert-buffer--default): New function, extracted from revert-buffer.
6064
2cdeb903
SM
60652013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * lpr.el: Signal print errors more prominently.
6068 (print-region-function): Don't default to nil.
6069 (lpr-print-region): New function, extracted from print-region-1.
6070 Check lpr's return value and signal an error in case of problem.
6071 (print-region-1): Use it.
6072 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6073 versions instead.
6074 (ps-printer-name): Default to nil.
6075 (ps-printer-name-option): Default to lpr-printer-switch.
6076 (ps-print-region-function): Don't default to nil.
6077 (ps-postscript-code-directory): Simplify default.
6078 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6079 (ps-string-list, ps-eval-switch, ps-flatten-list)
6080 (ps-flatten-list-1): Remove.
6081 (ps-multibyte-buffer): Avoid setq.
6082 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6083 (print-region-function, ps-print-region-function): Don't set them here.
6084
73600831
XF
60852013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6086
0e55c076
XF
6087 * ido.el (ido-fractionp):
6088 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6089 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6090 (ido-max-directory-size, ido-max-dir-file-cache)
6091 (ido-decorations): Doc fix.
6092
73600831
XF
6093 * ansi-color.el: Fix old URL.
6094
3d012865
MM
60952013-07-23 Michael R. Mauger <michael@mauger.com>
6096
e903c210 6097 * progmodes/sql.el: Version 3.3
3d012865
MM
6098 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6099 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6100 (sql-interactive-remove-continuation-prompt): Rewrite, use
6101 functions above. Fix continuation prompt and complete output line
6102 handling.
6103 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6104 redirected output buffer.
6105 (sql-mode): Restore deleted code (Bug#13591).
6106
da77a2e2
JB
61072013-07-23 Juanma Barranquero <lekktu@gmail.com>
6108
6109 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6110
80ff0c71
MA
61112013-07-23 Michael Albinus <michael.albinus@gmx.de>
6112
6113 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6114
6115 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6116 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6117 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6118
b61d71e4
JB
61192013-07-23 Juanma Barranquero <lekktu@gmail.com>
6120
6121 * desktop.el (desktop-clear): Simplify; remove useless checks
6122 against invalid buffer names.
6123 (desktop-list*): Use cl-list*.
6124 (desktop-buffer-info, desktop-create-buffer): Simplify.
6125
c3512092
LL
61262013-07-23 Leo Liu <sdl.web@gmail.com>
6127
6128 * bookmark.el (bookmark-make-record): Restore NAME as a default
6129 value. (Bug#14933)
6130
0ac26976
SM
61312013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6132
7d22ce18
SM
6133 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6134 extracted from autoload--insert-text.
6135 (autoload--insert-text): Remove.
6136 (autoload--print-cookie-text): New function, extracted from
6137 autoload--insert-cookie-text.
6138 (autoload--insert-cookie-text): Remove.
6139 (autoload-generate-file-autoloads): Adjust calls accordingly.
6140
9b2607e8
SM
6141 * winner.el (winner-hook-installed-p): Remove.
6142 (winner-mode): Simplify accordingly.
6143
c43a8618
SM
6144 * subr.el (add-to-list): Fix compiler-macro when `append' is
6145 not constant. Don't use `cl-member' for the base case.
6146
0ac26976
SM
6147 * progmodes/subword.el: Fix boundary case (bug#13758).
6148 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6149 own group.
6150 (subword-backward-regexp): Make it a constant.
6151 (subword-forward-internal): Don't treat a trailing capital as the
6152 beginning of a word.
6153
6874724a
AR
61542013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6155
6156 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6157 global value of tabulated-list-revert-hook (bug#14930).
6158
70f1b5e8
JB
61592013-07-22 Juanma Barranquero <lekktu@gmail.com>
6160
a1c80d9d
JB
6161 * desktop.el: Require 'cl-lib.
6162 (desktop-before-saving-frames-functions): New hook.
6163 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6164 for frames being saved. Rename from desktop--save-minibuffer-frames.
6165 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6166 Do not save frames with non-nil `desktop-dont-save' parameter.
6167 Filter out deleted frames.
a1c80d9d
JB
6168 (desktop--find-frame): Use cl-find-if.
6169 (desktop--select-frame): Use cl-(first|second|third) to access values
6170 of desktop-mini.
6171 (desktop--make-frame): Use cl-delete-if.
6172 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6173 (desktop-restore-frames): Use cl-(first|second|third) to access values
6174 of desktop-mini. Look for visible frame at the end, not while
6175 restoring frames.
6176
70f1b5e8
JB
6177 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6178 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6179 Use string-match-p, looking-at-p (bug#14927).
6180
728dc3cc
JB
61812013-07-21 Juanma Barranquero <lekktu@gmail.com>
6182
56bc453c
JB
6183 * desktop.el (desktop-saved-frame-states):
6184 Rename from desktop--saved-states; all users changed.
6185 (desktop-save-frames): Rename from desktop--save-frames.
6186 Do not save state to desktop file.
6187 (desktop-save): Save desktop-saved-frame-states to desktop file
6188 and reset to nil.
6189 (desktop-restoring-frames-p): New function.
6190 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6191 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6192 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6193
728dc3cc
JB
6194 * desktop.el: Correctly restore iconified frames.
6195 (desktop--filter-iconified-position): New function.
6196 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6197
862f1c9c
GM
61982013-07-20 Glenn Morris <rgm@gnu.org>
6199
c4074c9f
GM
6200 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6201 Let `message' do the formatting.
6202 (def-gdb-preempt-display-buffer): Add explicit format.
6203
d828e5f9
GM
6204 * image-dired.el (image-dired-track-original-file):
6205 Use with-current-buffer.
6206 (image-dired-track-thumbnail): Use with-current-buffer.
6207 Avoid changing point of wrong window.
6208
862f1c9c
GM
6209 * image-dired.el (image-dired-track-original-file):
6210 Avoid changing point of wrong window. (Bug#14909)
6211
f0398ec1 62122013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6213
6214 * progmodes/gdb-mi.el (gdb-done-or-error):
6215 Guard against "%" in gdb output. (Bug#14127)
6216
1451928f
AS
62172013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6218
763a086d
JB
6219 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6220 (Bug#14826)
f7a03897 6221
1451928f
AS
6222 * international/mule.el (coding-system-iso-2022-flags): Fix last
6223 change.
6224
99107004
KH
62252013-07-20 Kenichi Handa <handa@gnu.org>
6226
763a086d
JB
6227 * international/mule.el (coding-system-iso-2022-flags):
6228 Add `8-bit-level-4'. (Bug#8522)
99107004 6229
48494e06
LMI
62302013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6231
8ba8eec5
LMI
6232 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6233 (bug#14815).
6234
dfbc66e3
LMI
6235 * net/eww.el (eww-process-text-input): Allow inputting when the
6236 point is at the start of the line, as the properties aren't
6237 front-sticky.
6238
48494e06
LMI
6239 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6240 degenerate widths.
6241
77c92cb9
RS
62422013-07-19 Richard Stallman <rms@gnu.org>
6243
aec7da77
RS
6244 * epa.el (epa-popup-info-window): Doc fix.
6245
77c92cb9
RS
6246 * subr.el (split-string): New arg TRIM.
6247
945c5bb1
JB
62482013-07-18 Juanma Barranquero <lekktu@gmail.com>
6249
6250 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6251 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6252
e06ec67f
MA
62532013-07-18 Michael Albinus <michael.albinus@gmx.de>
6254
c7064f05 6255 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6256 `file-notify-support'. Do not autoload. Adapt all uses.
6257 (file-notify-supported-p): New defun.
6258
c7064f05
JB
6259 * autorevert.el (auto-revert-use-notify):
6260 Use `file-notify-supported-p' instead of `file-notify-support'.
6261 Adapt docstring.
e06ec67f
MA
6262 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6263
6264 * net/tramp.el (tramp-file-name-for-operation):
6265 Add `file-notify-supported-p'.
6266
6267 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6268 New defun.
6269 (tramp-sh-file-name-handler-alist): Add it as handler for
6270 `file-notify-supported-p '.
6271
6272 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6273 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6274 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6275 Add `ignore' as handler for `file-notify-*' functions.
6276
5dc8a629
EZ
62772013-07-17 Eli Zaretskii <eliz@gnu.org>
6278
6279 * simple.el (line-move-partial, line-move): Don't start vscroll or
6280 scroll-up if the current line is not taller than the window.
6281 (Bug#14881)
6282
77aea2fb
DG
62832013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6284
6285 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6286 highlight question marks in the method names as strings.
ac72c08d
DG
6287 (ruby-block-beg-keywords): Inline.
6288 (ruby-font-lock-keyword-beg-re): Extract from
6289 `ruby-font-lock-keywords'.
77aea2fb 6290
18c26d81
JD
62912013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6292
6293 * frame.el (blink-cursor-blinks): New defcustom.
6294 (blink-cursor-blinks-done): New defvar.
6295 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6296 (blink-cursor-timer-function): Check if number of blinks has been
6297 done on X and NS.
6298 (blink-cursor-suspend, blink-cursor-check): New defuns.
6299
da48522e
GM
63002013-07-15 Glenn Morris <rgm@gnu.org>
6301
6302 * edmacro.el (edmacro-format-keys): Fix previous change.
6303
0463c1ef
PE
63042013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6305
6306 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6307 The hack didn't work outside English locales anyway.
6308
b43f6451
JB
63092013-07-15 Juanma Barranquero <lekktu@gmail.com>
6310
6311 * simple.el (define-alternatives): Rename from alternatives-define,
6312 per RMS' suggestion.
6313
b958c0ad
JB
63142013-07-14 Juanma Barranquero <lekktu@gmail.com>
6315
6316 * desktop.el (desktop-restore-frames): Change default to t.
6317 (desktop-restore-in-current-display): Now offer more options.
6318 (desktop-restoring-reuses-frames): New customization option.
6319 (desktop--saved-states): Doc fix.
6320 (desktop-filter-parameters-alist): New variable, renamed and expanded
6321 from desktop--excluded-frame-parameters.
6322 (desktop--target-display): New variable.
6323 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6324 (desktop--filter-tty*, desktop--filter-*-color)
6325 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6326 (desktop--filter-save-desktop-parm)
6327 (desktop-restore-in-original-display-p): New functions.
6328 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6329 (desktop--save-minibuffer-frames): New function, inspired by a similar
6330 function from Martin Rudalics.
6331 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6332 (desktop--restore-in-this-display-p): Remove.
6333 (desktop--find-frame): Rename from desktop--find-frame-in-display
6334 and add predicate argument.
6335 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6336 (desktop--reuse-list): New variable.
6337 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6338 New functions.
6339 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6340
f6dd8b36
MA
63412013-07-14 Michael Albinus <michael.albinus@gmx.de>
6342
6343 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6344
2ce3c565
DG
63452013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6346
763a086d
JB
6347 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6348 Highlight conversion methods on Kernel.
2ce3c565 6349
2cdb7698
AM
63502013-07-13 Alan Mackenzie <acm@muc.de>
6351
6352 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6353 and comment it out. This out-commenting enables certain C++
6354 declarations to be parsed correctly.
6355
1a67b811
EZ
63562013-07-13 Eli Zaretskii <eliz@gnu.org>
6357
1b796d6b
EZ
6358 * international/mule.el (define-coding-system): Doc fix.
6359
1a67b811
EZ
6360 * simple.el (default-font-height): Don't call font-info if the
6361 frame's default font didn't change since the frame was created.
6362 (Bug#14838)
6363
58fbe886
LL
63642013-07-13 Leo Liu <sdl.web@gmail.com>
6365
6366 * ido.el (ido-read-file-name): Guard against non-symbol value.
6367
1f0480d4
FEG
63682013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6369
6370 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6371 in nested defuns.
6372
97ead0e5
LL
63732013-07-13 Leo Liu <sdl.web@gmail.com>
6374
6375 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6376 ido-set-matches call. (Bug#6852)
6377
0880a952
DG
63782013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6379
6380 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6381 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6382 Ruby 2.0.
6383 (ruby-font-lock-keywords): Distinguish calls to functions with
6384 module-like names from module references. Highlight character
6385 literals.
6386
a7d8babb
SDJ
63872013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6388
6389 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6390 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6391
acfcc8c5
JB
63922013-07-12 Juanma Barranquero <lekktu@gmail.com>
6393
6394 * desktop.el (desktop--v2s): Remove unused local variable.
6395 (desktop-save-buffer): Make defvar-local; adjust docstring.
6396 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6397 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6398
051f2775
AS
63992013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6400
6401 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6402
f24e7572
GM
64032013-07-12 Eli Zaretskii <eliz@gnu.org>
6404
6405 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6406 (Bug#14842)
6407
539a920c
GM
64082013-07-12 Glenn Morris <rgm@gnu.org>
6409
6410 * doc-view.el: Require cl-lib at runtime too.
6411 (doc-view-remove-if): Remove.
6412 (doc-view-search-next-match, doc-view-search-previous-match):
6413 Use cl-remove-if.
6414
6415 * edmacro.el: Require cl-lib at runtime too.
6416 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6417 (edmacro-mismatch, edmacro-subseq): Remove.
6418
6419 * shadowfile.el: Require cl-lib.
6420 (shadow-remove-if): Remove.
6421 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6422 Use cl-remove-if.
6423
6424 * wid-edit.el: Require cl-lib.
6425 (widget-choose): Use cl-remove-if.
6426 (widget-remove-if): Remove.
6427
6428 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6429 (ebrowse-delete-if-not): Remove.
6430 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6431 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6432 Use cl-delete-if-not.
6433
1048af7c
JB
64342013-07-12 Juanma Barranquero <lekktu@gmail.com>
6435
6436 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6437 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6438
6c0674ee
LL
64392013-07-12 Leo Liu <sdl.web@gmail.com>
6440
6441 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6442
a19b3c2d
GM
64432013-07-11 Glenn Morris <rgm@gnu.org>
6444
4582a01c
GM
6445 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6446 (edebug-gensym-index, edebug-gensym):
6447 Remove reimplementation of cl-gensym.
6448 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6449
6450 * thumbs.el: Require cl-lib at run-time too.
6451 (thumbs-gensym-counter, thumbs-gensym):
6452 Remove reimplementation of cl-gensym.
6453 (thumbs-temp-file): Use cl-gensym.
6454
a19b3c2d
GM
6455 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6456 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6457 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6458 (ert--union, ert--gensym-counter, ert--gensym-counter)
6459 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6460 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6461 (ert-make-test-unbound, ert--expand-should-1)
6462 (ert--expand-should, ert--should-error-handle-error)
6463 (should-error, ert--explain-equal-rec)
6464 (ert--plist-difference-explanation, ert-select-tests)
6465 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6466 Use cl-lib functions rather than reimplementations.
6467
88f6a933
MA
64682013-07-11 Michael Albinus <michael.albinus@gmx.de>
6469
6470 * net/tramp.el (tramp-methods): Extend docstring.
6471 (tramp-connection-timeout): New defcustom.
6472 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6473 (with-tramp-progress-reporter): Simplify.
6474 (tramp-process-actions): Improve messages.
6475
6476 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6477 * net/tramp-sh.el (tramp-maybe-open-connection):
6478 Use `tramp-connection-timeout'.
6479 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6480 (Bug#14808)
6481
a43d577e
LL
64822013-07-11 Leo Liu <sdl.web@gmail.com>
6483
6484 * ido.el (ido-read-file-name): Conform to the requirements of
6485 read-file-name. (Bug#11861)
6486 (ido-read-directory-name): Conform to the requirements of
6487 read-directory-name.
6488
d77974bf
JB
64892013-07-11 Juanma Barranquero <lekktu@gmail.com>
6490
6491 * subr.el (delay-warning): New function.
6492
35cb8a3e
EZ
64932013-07-10 Eli Zaretskii <eliz@gnu.org>
6494
6495 * simple.el (default-line-height): New function.
6496 (line-move-partial, line-move): Use it instead of computing the
6497 line height inline.
6498 (line-move-partial): Always compute ROWH. If the last line is
6499 partially-visible, but its text is completely visible, allow
6500 cursor to enter such a partially-visible line.
6501
525c5c77
MA
65022013-07-10 Michael Albinus <michael.albinus@gmx.de>
6503
6504 Improve error messages. (Bug#14808)
6505
6506 * net/tramp.el (tramp-current-connection): New defvar, moved from
6507 tramp-sh.el.
0ac26976 6508 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6509 needed anymore.
0ac26976
SM
6510 (tramp-error-with-buffer): Show message in minibuffer.
6511 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6512 (with-tramp-progress-reporter): Improve messages.
6513 (tramp-process-actions): Use progress reporter. Delete process in
6514 case of error. Improve messages.
6515
763a086d
JB
6516 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6517 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6518 (tramp-current-connection): Remove.
525c5c77
MA
6519 (tramp-maybe-open-connection): The car of
6520 `tramp-current-connection' are the first 3 slots of the vector.
6521
c7a4d368
TZ
65222013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6523
6524 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6525 inside continued strings.
6526
954b166e
PE
65272013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6528
6529 Timestamp fixes for undo (Bug#14824).
6530 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6531
56973319
LL
65322013-07-10 Leo Liu <sdl.web@gmail.com>
6533
6534 * files.el (require-final-newline): Allow safe local value.
6535 (Bug#14834)
6536
5550a72c
LL
65372013-07-09 Leo Liu <sdl.web@gmail.com>
6538
6539 * ido.el (ido-read-directory-name): Handle fallback.
6540 (ido-read-file-name): Update DIR to ido-current-directory.
6541 (Bug#1516)
c28b9050 6542 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6543
70c46b28
DG
65442013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6545
6546 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6547 "autoload". Remove "warn lower camel case" section, previously
6548 commented out. Highlight negation char. Do not highlight the
6549 target in singleton method definitions.
6550
0b64b838
SM
65512013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6552
7fd72e2c
SM
6553 * faces.el (tty-setup-hook): Declare the hook.
6554
0b64b838
SM
6555 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6556 and detect when a guard/pred depends on local vars (bug#14773).
6557 (pcase--u1): Adjust caller.
6558
ab49d60b
EZ
65592013-07-08 Eli Zaretskii <eliz@gnu.org>
6560
6561 * simple.el (line-move-partial, line-move): Account for
6562 line-spacing.
701d79aa
EZ
6563 (line-move-partial): Avoid setting vscroll when the last
6564 partially-visible line in window is of default height.
ab49d60b 6565
2d756ae0
LMI
65662013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6567
6568 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6569 been used a while.
6570
ed095bd7
JB
65712013-07-07 Juanma Barranquero <lekktu@gmail.com>
6572
6573 * subr.el (read-quoted-char): Remove unused local variable `char'.
6574
f1e6674b
MK
65752013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6576
584ee3fc
GM
6577 * ediff.el (ediff-version): Version update.
6578 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6579 (ediff-merge-with-ancestor-command, ediff-directories-command)
6580 (ediff-directories3-command, ediff-merge-directories-command)
6581 (ediff-merge-directories-with-ancestor-command): New functions.
6582 All are command-line interfaces to ediff: to facilitate calling
6583 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6584
6585 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6586 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6587
584ee3fc
GM
6588 * viper.el (viper-version): Version update.
6589 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6590
584ee3fc
GM
65912013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6594 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6595 (viper-intercept-ESC-key): Simplify.
6596 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6597 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6598 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6599 (viper-setup-ESC-to-escape): New functions.
6600 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6601 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6602
9aff9b38
EZ
66032013-07-07 Eli Zaretskii <eliz@gnu.org>
6604
5165d44a
JB
6605 * simple.el (default-font-height, window-screen-lines):
6606 New functions.
9aff9b38
EZ
6607 (line-move, line-move-partial): Use them instead of
6608 frame-char-height and window-text-height. This makes scrolling
6609 text smoother when the buffer's default face uses a font that is
6610 different from the frame's default font.
6611
1afb1d07
JD
66122013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6613
6614 * files.el (write-file): Do not display confirm dialog for NS,
6615 it does its own dialog, which can't be cancelled (Bug#14578).
6616
23de972a
EZ
66172013-07-06 Eli Zaretskii <eliz@gnu.org>
6618
6619 * simple.el (line-move-partial): Adjust the row returned by
6620 posn-at-point for the current window-vscroll. (Bug#14567)
6621
54a42486
MA
66222013-07-06 Michael Albinus <michael.albinus@gmx.de>
6623
6624 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6625 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6626 spaces.
6627
34ada5f4
MR
66282013-07-06 Martin Rudalics <rudalics@gmx.at>
6629
6630 * window.el (window-state-put-stale-windows): New variable.
6631 (window--state-put-2): Save list of windows without matching buffer.
6632 (window-state-put): Remove "bufferless" windows if possible.
6633
11e03d89
JB
66342013-07-06 Juanma Barranquero <lekktu@gmail.com>
6635
6636 * simple.el (alternatives-define): Remove leftover :group keyword.
6637 Tweak docstring.
6638
3504a4be
LL
66392013-07-06 Leo Liu <sdl.web@gmail.com>
6640
6641 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6642 (ido-enable-virtual-buffers): New variable.
6643 (ido-buffer-internal, ido-toggle-virtual-buffers)
6644 (ido-make-buffer-list): Use it.
6645 (ido-exhibit): Support turning on and off virtual buffers
6646 automatically.
6647
61e56e2c
JB
66482013-07-06 Juanma Barranquero <lekktu@gmail.com>
6649
6650 * simple.el (alternatives-define): New macro.
6651
321e1a9c
SM
66522013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * subr.el (read-quoted-char): Use read-key.
6655 (sit-for): Let read-event decode tty input (bug#14782).
6656
d610f6dd
SB
66572013-07-05 Stephen Berman <stephen.berman@gmx.net>
6658
6659 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6660 mode command and externally. Fix various related bugs.
6661 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6662 (todo-delete-file): New command.
6663 (todo-check-file): New function.
6664 (todo-show): Handle external deletion of the file we're trying to
6665 show (bug#14688). Replace called-interactively-p by an optional
6666 prefix argument to avoid problematic interaction with catch form
6667 when byte compiled (bug#14702).
6668 (todo-quit): Handle external deletion of the archive's todo file.
6669 Make sure the buffer that was visiting the archive file is still
6670 live before trying to bury it.
6671 (todo-category-completions): Handle external deletion of any
6672 category completion files.
6673 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6674 of todo files, in case of external deletion.
6675 (todo-add-file): Replace unnecessary setq by let-binding.
6676 (todo-find-archive): Check whether there are any archives.
6677 Replace unnecessary setq by let-binding.
6678 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6679 archive buffer whether or not the archive already exists.
6680 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6681 check if the archive is new; if it is, update list of archives.
6682 (todo-default-todo-file): Allow nil to be a valid value for when
6683 there are no todo files.
6684 (todo-reevaluate-default-file-defcustom): Use corrected definition
6685 of todo-default-todo-file.
6686 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6687 (todo-delete-category, todo-show-categories-table)
6688 (todo-category-number): Clarify comment.
6689 (todo-filter-items): Clarify documentation string.
6690 (todo-show-current-file, todo-display-as-todo-file)
6691 (todo-reset-and-enable-done-separator): Tweak documentation string.
6692 (todo-done-separator): Make separator length window-width, since
6693 bug#2749 is now fixed.
6694
ddbdfd6f
MA
66952013-07-05 Michael Albinus <michael.albinus@gmx.de>
6696
321e1a9c
SM
6697 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6698 Support both "gvfs-monitor-dir" and "inotifywait".
6699 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6700 `tramp-sh-file-notify-process-filter'.
6701 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6702 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6703
96eb829a
LL
67042013-07-05 Leo Liu <sdl.web@gmail.com>
6705
6706 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6707
cf13177e
YM
67082013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6709
6710 * frame.el (display-pixel-height, display-pixel-width)
6711 (display-mm-height, display-mm-width): Mention behavior on
6712 multi-monitor setups in docstrings.
6713 (w32-display-monitor-attributes-list): Declare function.
6714 (display-monitor-attributes-list): Use it.
6715
864c58ca
MA
67162013-07-04 Michael Albinus <michael.albinus@gmx.de>
6717
6718 * filenotify.el: New package.
6719
6720 * autorevert.el (top): Require filenotify.el.
6721 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6722 instead.
6723 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6724 (auto-revert-notify-handler): Use `file-notify-*' functions.
6725
6726 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6727
321e1a9c
SM
6728 * net/tramp.el (tramp-file-name-for-operation):
6729 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6730
6731 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6732 for `file-notify-add-watch' and `file-notify-rm-watch'.
6733 (tramp-process-sentinel): Improve trace.
6734 (tramp-sh-handle-file-notify-add-watch)
6735 (tramp-sh-file-notify-process-filter)
6736 (tramp-sh-handle-file-notify-rm-watch)
6737 (tramp-get-remote-inotifywait): New defuns.
6738
96673afe
JL
67392013-07-03 Juri Linkov <juri@jurta.org>
6740
6741 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6742 call of `occur-read-primary-args' to interactive spec.
6743
6744 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6745 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6746
924494f4
MM
67472013-07-03 Matthias Meulien <orontee@gmail.com>
6748
6749 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6750 `Buffer-menu-multi-occur'. Add it to the menu.
6751 (Buffer-menu-mode): Document it in docstring.
6752 (Buffer-menu-multi-occur): New command. (Bug#14673)
6753
56f75efc
DG
67542013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6755
6756 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6757 keywords and built-ins.
6758
9b057d61
GM
67592013-07-03 Glenn Morris <rgm@gnu.org>
6760
208dee4d
GM
6761 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6762
9b057d61
GM
6763 Make info-xref checks case-sensitive by default
6764 * info.el (Info-find-node, Info-find-in-tag-table)
6765 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6766 Add option for exact case matching of nodes.
6767 * info-xref.el (info-xref): New custom group.
6768 (info-xref-case-fold): New option.
6769 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6770
e01aa29c
LL
67712013-07-03 Leo Liu <sdl.web@gmail.com>
6772
6773 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6774
3086ca2e
DG
67752013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6776
6777 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6778 middle of block statement initially, lower the depth. Remove
6779 FIXME comment, not longer valid. Remove middle of block statement
6780 detection, no need to do that anymore since we've been using
6781 `ruby-parse-region' here.
6782
a3b49114
JD
67832013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6784
6785 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6786
08e5c823 67872013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6788
6789 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6790
2addf922
JB
67912013-07-01 Juanma Barranquero <lekktu@gmail.com>
6792
6793 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6794 (desktop-restore-in-current-display): New customization option.
6795 (desktop--excluded-frame-parameters): Add `font'.
6796 (desktop--save-frames): Rename from desktop--save-windows.
6797 (desktop--restore-in-this-display-p): New function.
6798 (desktop--make-full-frame): Remove unwanted width/height from
6799 full(width|height) frames.
6800 (desktop--restore-frames): Rename from desktop--restore-windows.
6801 Obey desktop-restore-current-display. Do not delete old frames or
6802 select a new frame unless we were able to restore at least one frame.
6803
ef099a94
MN
68042013-06-30 Michal Nazarewicz <mina86@mina86.com>
6805
6806 * files.el (find-file-noselect): Simplify conditional expression.
6807
6808 * remember.el (remember-append-to-file):
6809 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6810
6811 Add `remember-notes' function to store random notes across Emacs
6812 restarts.
6813 * remember.el (remember-data-file): Add :set callback to affect
6814 notes buffer (if any).
6815 (remember-notes): New command.
6816 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6817 New defcustoms for the `remember-notes' function.
6818 (remember-notes-save-and-bury-buffer): New command.
6819 (remember-notes-mode-map): New variable.
6820 (remember-mode): New minor mode.
6821 (remember-notes--kill-buffer-query): New function.
6822 * startup.el (initial-buffer-choice): Add notes to custom type.
6823
0865d506
EZ
68242013-06-30 Eli Zaretskii <eliz@gnu.org>
6825
0ba54312
EZ
6826 * bindings.el (right-char, left-char): Don't call sit-for, this is
6827 no longer needed. Use arithmetic comparison only for numerical
6828 arguments.
6829
ef099a94
MN
6830 * international/mule-cmds.el (select-safe-coding-system):
6831 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6832
2fae38e5
LMI
68332013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6834
6835 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6836 progression on degenerate tables.
ef099a94 6837 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6838
a47cbd64
JB
68392013-06-30 Juanma Barranquero <lekktu@gmail.com>
6840
6841 Some fixes and improvements for desktop frame restoration.
6842 It is still experimental and disabled by default.
6843 * desktop.el (desktop--save-windows): Put the selected frame at
6844 the head of the list.
6845 (desktop--make-full-frame): New function.
6846 (desktop--restore-windows): Try to re-select the frame that was
6847 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6848 just show an error message and continue. Set up maximized frames
6849 so they have default non-maximized dimensions.
a47cbd64 6850
6dbafa30
DG
68512013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6852
ef099a94
MN
6853 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6854 Don't start heredoc inside a string or comment.
6dbafa30 6855
4c672a0f
EZ
68562013-06-29 Eli Zaretskii <eliz@gnu.org>
6857
6858 * bindings.el (visual-order-cursor-movement): New defcustom.
6859 (right-char, left-char): Provide visual-order cursor motion by
6860 calling move-point-visually. Update the doc strings.
6861
50960f36
KH
68622013-06-28 Kenichi Handa <handa@gnu.org>
6863
6864 * international/mule.el (define-coding-system): New coding system
6865 properties :inhibit-null-byte-detection,
6866 :inhibit-iso-escape-detection, and :prefer-utf-8.
6867 (set-buffer-file-coding-system): If :charset-list property of
6868 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6869 appropriate for setting.
6870
c1ea3abf
JB
6871 * international/mule-cmds.el (select-safe-coding-system):
6872 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6873 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6874
6875 * international/mule-conf.el (prefer-utf-8): New coding system.
6876 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6877 files.
6878
75dbaf9d
IK
68792013-06-28 Ivan Kanis <ivan@kanis.fr>
6880
eadb6068
IK
6881 * net/shr.el (shr-render-region): New function.
6882
75dbaf9d
IK
6883 * net/eww.el: Autoload `eww-browse-url'.
6884
9ea5cf9f
DG
68852013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6886
c1ea3abf
JB
6887 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6888 Adapt to `package-desc-version' being a list.
6889 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6890 archive element.
6891
39c0e36f
JB
68922013-06-27 Juanma Barranquero <lekktu@gmail.com>
6893
6894 New experimental feature to save&restore window and frame setup.
6895 * desktop.el (desktop-save-windows): New defcustom.
6896 (desktop--saved-states): New var.
6897 (desktop--excluded-frame-parameters): New defconst.
6898 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6899 (desktop--restore-windows, desktop--save-windows): New functions.
6900 (desktop-save): Call `desktop--save-windows'.
6901 (desktop-read): Call `desktop--restore-windows'.
6902
7f13406b
LMI
69032013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6904
ef099a94 6905 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6906
1e072639
SB
69072013-06-27 Stephen Berman <stephen.berman@gmx.net>
6908
6909 * info.el (Info-try-follow-nearest-node): Move search for footnote
6910 above search for node name to prevent missing a footnote (bug#14717).
6911
f3e2cbde
SB
69122013-06-27 Stephen Berman <stephen.berman@gmx.net>
6913
6914 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6915
99906aa0
LL
69162013-06-27 Leo Liu <sdl.web@gmail.com>
6917
6918 * net/eww.el (eww-read-bookmarks): Check file size.
6919
539f75f4
SM
69202013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6921
6922 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6923 advice--pending if newdef is nil or an autoload (bug#13820).
6924 (advice-mapc): New function.
6925
843571cb
LMI
69262013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6927
6928 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6929 probably.
23a75d7f 6930 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6931 (eww-add-bookmark): New command.
6932 (eww-bookmark-mode): New mode and commands.
a285ce99 6933 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6934 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6935
f2136e1e
GM
69362013-06-26 Glenn Morris <rgm@gnu.org>
6937
eab35f39
GM
6938 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6939 (hfy-size): Handle ttys. (Bug#14668)
6940
f2136e1e
GM
6941 * info-xref.el: Update for Texinfo 5 change in *note format.
6942 (info-xref-node-re, info-xref-note-re): New constants.
6943 (info-xref-check-buffer): Use info-xref-note-re.
6944
a49ff80c
SM
69452013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6946
a343d218
SM
6947 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6948
a49ff80c
SM
6949 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6950 nil terminate the loop (bug#14718).
6951
8308f184
LMI
69522013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6953
6954 * net/eww.el: Rework history traversal. When going forward/back,
6955 put these actions into the history, too, so that they can be
6956 replayed.
26bf2b82 6957 (eww-render): Move the history reset to the correct buffer.
8308f184 6958
ec64c273
JL
69592013-06-25 Juri Linkov <juri@jurta.org>
6960
6961 * files-x.el (modify-dir-local-variable): Change the header comment
6962 in the file with directory local variables. (Bug#14692)
6963
e080a9d7
JL
6964 * files-x.el (read-file-local-variable-value): Add `default'.
6965 (Bug#14710)
6966
bfbc93a1
IK
69672013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6968
6969 * net/eww.el (eww-make-unique-file-name): Create a unique file
6970 name before saving to entering `y' accidentally asynchronously.
6971
69722013-06-25 Ivan Kanis <ivan@kanis.fr>
6973
6974 * net/eww.el (eww-download): New command and keystroke.
6975
16f74f10
LMI
69762013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6977
a49ff80c 6978 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6979
6980 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6981 be more consistent with Info and dired.
6982
6983 * net/eww.el (eww-mode-map): Ditto.
6984
12059709
SM
69852013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6986
6987 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6988 packages from archives.
6989 (package-archive-contents): Change format; include obsolete packages.
6990 (package-desc): Use `dir' to mark builtin packages.
6991 (package--from-builtin): Set the `dir' field to `builtin'.
6992 (generated-autoload-file, version-control): Declare.
6993 (package-compute-transaction): Change first arg and return value to be
6994 lists of package-descs. Adjust to new package-archive-contents format.
6995 (package--add-to-archive-contents): Adjust to new
6996 package-archive-contents format.
6997 (package-download-transaction): Arg is now a list of package-descs.
6998 (package-install): If `pkg' is a package name, pass it as
6999 a requirement, so it is subject to the usual (e.g. disabled) checks.
7000 (describe-package): Accept package-desc as well.
7001 (describe-package-1): Describe a specific package-desc. Add links to
7002 other package-descs for the same package name.
7003 (package-menu-describe-package): Pass the actual package-desc.
7004 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7005 works correctly.
7006 (package-desc-status): New function.
7007 (package-menu--refresh): New function, extracted
7008 from package-menu--generate.
7009 (package-menu--generate): Use it.
7010 (package-delete): Update package-alist.
7011 (package-menu-execute): Don't call package-initialize.
7012
7013 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7014 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7015 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7016 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7017 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7018 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7019
8bbdea0f
MR
70202013-06-25 Martin Rudalics <rudalics@gmx.at>
7021
7022 * window.el (window--state-get-1): Workaround for bug#14527.
7023 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7024
e82b0991
LMI
70252013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7026
7027 * net/eww.el (eww-back-url): Implement the history by stashing all
7028 the data into a list.
d3f0f918 7029 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7030
c763842b
SM
70312013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7032
7033 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7034 for values and use read--expression for expressions (bug#14710).
7035 (read-file-local-variable): Avoid setq.
7036 (read-file-local-variable-mode): Use minor-mode-list.
7037
bceff189
RW
70382013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7039
864c58ca 7040 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7041 for DOI URLs.
7042
45f431c6
RW
70432013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7044
864c58ca 7045 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7046 Update imenu-support when dialect changes.
7047
f42d8237
LL
70482013-06-25 Leo Liu <sdl.web@gmail.com>
7049
7050 * ido.el (ido-read-internal): Allow forward slash on windows.
7051
be549ce6
LMI
70522013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7053
7054 * net/eww.el (eww): Start of strings is \\`, not ^.
7055
71d4c19d
IK
70562013-06-24 Ivan Kanis <ivan@kanis.fr>
7057
5196f88a
IK
7058 * net/shr.el (shr-browse-url): Fix interactive spec.
7059
71d4c19d
IK
7060 * net/eww.el (eww): Add a trailing slash to domain names.
7061
ae36ca55
JB
70622013-06-24 Juanma Barranquero <lekktu@gmail.com>
7063
7064 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7065
0ebd92a3
LMI
70662013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7067
bdaa086b
LMI
7068 * net/shr.el (shr-browse-url): Use an external browser if given a
7069 prefix.
7070
c763842b 7071 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7072
b89fc156
IK
70732013-06-24 Ivan Kanis <ivan@kanis.fr>
7074
7075 * net/eww.el (eww): Work more correctly for file: URLs.
7076 (eww-detect-charset): Allow quoted charsets.
7077 (eww-yank-page-url): New command and keystroke.
7078
18eb4bca
DU
70792013-06-24 Daiki Ueno <ueno@gnu.org>
7080
7081 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7082 file name of gpg executable.
7083 (epg-context-program): New function.
7084 (epg-context-home-directory): New function.
7085 (epg-context-set-program): New function.
7086 (epg-context-set-home-directory): New function.
7087 (epg--start): Use `epg-context-program' instead of
7088 'epg-gpg-program'.
7089 (epg--list-keys-1): Likewise.
7090
6c6268c8
LL
70912013-06-24 Leo Liu <sdl.web@gmail.com>
7092
7093 * ido.el (ido-read-internal): Fix bug#14620.
7094
5e400cb3
JB
70952013-06-23 Juanma Barranquero <lekktu@gmail.com>
7096
7097 * faces.el (face-documentation): Simplify.
7098 (read-face-attribute, tty-find-type, x-resolve-font-name):
7099 Use `string-match-p'.
7100 (list-faces-display): Use `string-match-p'. Simplify.
7101 (face-spec-recalc): Check face to avoid face alias loops.
7102 (read-color): Use `string-match-p' and non-capturing parenthesis.
7103
f3f9606c
LMI
71042013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7105
7106 * net/shr.el (shr-rescale-image): Use the new
7107 :max-width/:max-height functionality.
7108
a3ca09b9
IK
71092013-06-23 Ivan Kanis <ivan@kanis.fr>
7110
7111 * net/eww.el (eww-search-prefix): New variable.
7112 (eww): Use it.
f865b474
IK
7113 (eww-external-browser): New variable.
7114 (eww-mode-map): New keystroke.
7115 (eww-browse-with-external-browser): New command.
a3ca09b9 7116
e854cfc7
IK
7117 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7118
18bb9e21
JB
71192013-06-23 Juanma Barranquero <lekktu@gmail.com>
7120
7121 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7122 Don't skip aligning the next header field when padding is 0;
7123 otherwise, field width is not respected unless the title is as
7124 wide as the field.
7125
5b165ade
SM
71262013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * emacs-lisp/package.el (package-el-version): Remove.
7129 (package-process-define-package): Fix inf-loop.
7130 (package-install): Allow symbols as arguments again.
7131
12adebe9
DG
71322013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7133
7134 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7135 add some more keyword-like methods.
7136 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7137
388573ee
JB
71382013-06-22 Juanma Barranquero <lekktu@gmail.com>
7139
7140 * bs.el (bs-buffer-show-mark): Make defvar-local.
7141 (bs-mode): Use setq-local.
7142
7143 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7144 (emacs-lock--try-unlocking): Make defvar-local.
7145
4582a01c 71462013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7147
2663dd23
GM
7148 * play/cookie1.el (cookie-apropos): Minor simplification.
7149
3d94f3ad
GM
7150 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7151
f72e2fdb
DG
71522013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7153
7154 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7155 `regexp-opt', it breaks the build during dumping.
7156
73eab938
DG
71572013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7158
c763842b
SM
7159 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7160 Highlight keyword-like methods on Kernel and Module with
73eab938 7161 font-lock-builtin-face.
5cf8176d
DG
7162 (auto-mode-alist): Consolidate different entries into one regexp
7163 and add more *file-s.
73eab938 7164
d26255f6
SB
71652013-06-21 Stephen Berman <stephen.berman@gmx.net>
7166
7167 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7168
7169 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7170 (diary-entry): Use it in the action of this button type instead of
7171 diary-goto-entry.
7172
7173 * calendar/todo-mode.el: New version.
7174 (todo-add-category): Append new category to end of file and give
7175 it the highest number, instead of putting it at the beginning and
7176 giving it 0. Incorporate noninteractive functionality.
7177 (todo-forward-category): Adapt to 1-based category numbering.
7178 Allow skipping over archived categories.
7179 (todo-backward-category): Derive from todo-forward-category.
7180 (todo-backward-item, todo-forward-item): Make noninteractive and
7181 delegate interactive part to new commands. Make sensitive to done items.
7182 (todo-categories): Make value an alist of category names and
7183 vectors of item counts.
7184 (todo-category-beg): Make a defconst.
7185 (todo-category-number): Use 1 instead of 0 as initial value.
7186 (todo-category-select): Make sensitive to overlays, optional item
7187 highlighting and done items.
7188 (todo-delete-item): Make sensitive to overlays and marked and done items.
7189 (todo-edit-item): Make sensitive to overlays and editing of
7190 date/time header optional. Add format checks.
7191 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7192 no-op if point is not on an item. Advertise using todo-edit-quit.
7193 (todo-edit-mode): Make sensitive to new format, font-locking, and
7194 multiple todo files.
7195 (todo-insert-item, todo-insert-item-here): Derive from
7196 todo-basic-insert-item and extend functionality.
7197 (todo-item-end, todo-item-start): Make sensitive to done items.
7198 (todo-item-string): Don't return text properties. Restore point.
7199 (todo-jump-to-category): Make sensitive to multiple todo files and
7200 todo archives. Use extended category completion.
7201 (todo-lower-item, todo-raise-item): Rename to *-priority and
7202 derive from todo-set-item-priority.
7203 (todo-mode): Derive from special-mode. Make sensitive to new
7204 format, font-locking and multiple todo files. Make read-only.
7205 (todo-mode-map): Don't suppress digit keys, so they can supply
7206 prefix arguments. Add many new key bindings.
7207 (todo-prefix): Insert as an overlay instead of file text.
7208 Change semantics from diary date expression to purely visual mark.
7209 (todo-print): Rename to todo-print-buffer. Make buffer display
7210 features printable. Remove option to restrict number of items
7211 printed. Add option to print to file.
7212 (todo-print-function): Rename to todo-print-buffer-function.
7213 (todo-quit): Extend to handle exiting new todo modes.
7214 (todo-remove-item): Make sensitive to overlays.
7215 (todo-save): Extend to buffers of filtered items.
7216 (todo-show): Make sensitive to done items, multiple todo files and
7217 new todo modes. Offer to convert legacy todo file before creating
7218 first new todo file.
7219 (todo-show-priorities): Rename to todo-top-priorities.
7220 Change semantics of value 0.
7221 (todo-top-priorities): Rename to todo-filter-top-priorities,
7222 derive from todo-filter-items and extend functionality.
7223 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7224 and extend functionality to other types of filtered items.
7225 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7226 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7227 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7228 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7229 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7230 (todo-edit-mode-hook, todo-entry-prefix-function)
7231 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7232 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7233 (todo-initials, todo-insert-threshold, todo-item-string-start)
7234 (todo-line-string, todo-menu, todo-mode-hook)
7235 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7236 (todo-print-priorities, todo-remove-separator)
7237 (todo-save-top-priorities-too, todo-string-count-lines)
7238 (todo-string-multiline-p, todo-time-string-format)
7239 (todo-tmp-buffer-name): Remove.
7240 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7241 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7242 (todo-edit-category-diary-inclusion)
7243 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7244 (todo-edit-file, todo-edit-item-date-day)
7245 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7246 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7247 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7248 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7249 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7250 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7251 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7252 (todo-filter-top-priorities-multifile, todo-find-archive)
7253 (todo-find-filtered-items-file, todo-go-to-source-item)
7254 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7255 (todo-jump-to-archive-category, todo-lower-category)
7256 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7257 (todo-move-category, todo-move-item, todo-next-button)
7258 (todo-next-item, todo-padded-string, todo-powerset)
7259 (todo-previous-button, todo-previous-item)
7260 (todo-print-buffer-to-file, todo-raise-category)
7261 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7262 (todo-set-category-number, todo-set-item-priority)
7263 (todo-set-top-priorities-in-category)
7264 (todo-set-top-priorities-in-file, todo-show-categories-table)
7265 (todo-sort-categories-alphabetically-or-numerically)
7266 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7267 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7268 (todo-toggle-item-header, todo-toggle-item-highlighting)
7269 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7270 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7271 (todo-unarchive-items, todo-unmark-category): New commands.
7272 (todo-absolute-file-name, todo-add-to-buffer-list)
7273 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7274 (todo-basic-insert-item, todo-category-completions)
7275 (todo-category-number, todo-category-string-matcher-1)
7276 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7277 (todo-check-format, todo-clear-matches)
7278 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7279 (todo-current-category, todo-date-string-matcher)
7280 (todo-define-insertion-command, todo-diary-expired-matcher)
7281 (todo-diary-goto-entry, todo-diary-item-p)
7282 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7283 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7284 (todo-done-item-section-p, todo-done-separator)
7285 (todo-done-string-matcher, todo-files, todo-filter-items)
7286 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7287 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7288 (todo-insert-category-line, todo-insert-item-from-calendar)
7289 (todo-insert-sort-button, todo-insert-with-overlays)
7290 (todo-insertion-command-name, todo-insertion-key-bindings)
7291 (todo-label-to-key, todo-longest-category-name-length)
7292 (todo-make-categories-list, todo-mode-external-set)
7293 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7294 (todo-modes-set-3, todo-multiple-filter-files)
7295 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7296 (todo-read-category, todo-read-date, todo-read-dayname)
7297 (todo-read-file-name, todo-read-time)
7298 (todo-reevaluate-category-completions-files-defcustom)
7299 (todo-reevaluate-default-file-defcustom)
7300 (todo-reevaluate-filelist-defcustoms)
7301 (todo-reevaluate-filter-files-defcustom)
7302 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7303 (todo-reset-done-separator, todo-reset-done-separator-string)
7304 (todo-reset-done-string, todo-reset-global-current-todo-file)
7305 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7306 (todo-reset-prefix, todo-set-categories)
7307 (todo-set-date-from-calendar, todo-set-show-current-file)
7308 (todo-set-top-priorities, todo-short-file-name)
7309 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7310 (todo-total-item-counts, todo-update-buffer-list)
7311 (todo-update-categories-display, todo-update-categories-sexp)
7312 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7313 New functions.
7314 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7315 New major modes.
7316 (todo-categories, todo-display, todo-edit, todo-faces)
7317 (todo-filtered): New defgroups.
7318 (todo-archived-only, todo-button, todo-category-string, todo-date)
7319 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7320 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7321 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7322 (todo-add-item-if-new-category, todo-always-add-time-string)
7323 (todo-categories-align, todo-categories-archived-label)
7324 (todo-categories-category-label, todo-categories-diary-label)
7325 (todo-categories-done-label, todo-categories-number-separator)
7326 (todo-categories-todo-label, todo-categories-totals-label)
7327 (todo-category-completions-files, todo-completion-ignore-case)
7328 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7329 (todo-done-separator-string, todo-done-string)
7330 (todo-files-function, todo-filter-done-items, todo-filter-files)
7331 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7332 (todo-initial-category, todo-initial-file, todo-item-mark)
7333 (todo-legacy-date-time-regexp, todo-mode-line-function)
7334 (todo-nondiary-marker, todo-number-prefix)
7335 (todo-print-buffer-function, todo-show-current-file)
7336 (todo-show-done-only, todo-show-first, todo-show-with-done)
7337 (todo-skip-archived-categories, todo-top-priorities-overrides)
7338 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7339 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7340 New defcustoms.
7341 (todo-category-done, todo-date-pattern, todo-date-string-start)
7342 (todo-diary-items-buffer, todo-done-string-start)
7343 (todo-filtered-items-buffer, todo-item-start)
7344 (todo-month-abbrev-array, todo-month-name-array)
7345 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7346 (todo-top-priorities-buffer): New defconsts.
7347 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7348 (todo-categories-with-marks, todo-category-string-face)
7349 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7350 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7351 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7352 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7353 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7354 (todo-font-lock-keywords, todo-global-current-todo-file)
7355 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7356 (todo-insertion-commands-args)
7357 (todo-insertion-commands-args-genlist)
7358 (todo-insertion-commands-names, todo-insertion-map)
7359 (todo-key-bindings-t, todo-key-bindings-t+a)
7360 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7361 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7362 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7363 (todo-visited): New variables.
7364
cad5d1cb
GM
73652013-06-21 Glenn Morris <rgm@gnu.org>
7366
7367 * play/cookie1.el (cookie-apropos): Add optional display argument.
7368 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7369 (psychoanalyze-pinhead): Use cookie-doctor.
7370
9e277302
JB
73712013-06-21 Juanma Barranquero <lekktu@gmail.com>
7372
7373 * emacs-lisp/package.el (tar-get-file-descriptor)
7374 (tar--extract): Declare.
7375
c5b0993e
EW
73762013-06-21 Eduard Wiebe <usenet@pusto.de>
7377
7378 Extend flymake's warning predicate to be a function (bug#14217).
7379 * progmodes/flymake.el (flymake-warning-predicate): New.
7380 (flymake-parse-line): Use it.
7381 (flymake-warning-re): Make obsolete alias to
7382 `flymake-warning-predicate'.
7383
a7d2d465
SM
73842013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7385
7386 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7387 (package-obsolete-list): Remove.
7388 (package-activate): Remove min-version argument. Add `force' argument.
7389 Adjust to new package-alist format.
7390 (package-mark-obsolete): Remove.
7391 (package-unpack): Force reload of the package's autoloads.
7392 (package-installed-p): Check builtins if the installed package is not
7393 recent enough.
7394 (package-initialize): Don't reset package-obsolete-list.
7395 Don't specify which package version to activate.
7396 (package-process-define-package, describe-package-1)
7397 (package-menu--generate): Adjust to new package-alist format.
7398
cedf5c9d
JB
73992013-06-21 Juanma Barranquero <lekktu@gmail.com>
7400
7401 * allout-widgets.el (allout-widgets-mode-off)
7402 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7403 (allout-widgets-post-command-business)
7404 (allout-widgets-after-copy-or-kill-function)
7405 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7406 (allout-decorate-item-and-context)
7407 (allout-graphics-modification-handler): Fix typos in docstrings.
7408 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7409
7410 * cmuscheme.el (scheme-start-file): Doc fix.
7411 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7412 (scheme-input-filter): Use `string-match-p'.
7413
7414 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7415
7416 * dired-x.el: Use Dired consistently in docstrings.
7417
7418 * dired.el: Use Dired consistently in docstrings.
7419 (dired-readin, dired-mode): Use `setq-local'.
7420 (dired-switches-alist): Make defvar-local.
7421 (dired-buffers-for-dir): Use `zerop'.
7422 (dired-safe-switches-p, dired-switches-escape-p)
7423 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7424 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7425 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7426 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7427 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7428 (dired-toggle-marks, dired-mark-files-containing-regexp)
7429 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7430 (dired-flag-auto-save-files, dired-flag-backup-files):
7431 Use `looking-at-p'.
7432 (dired-mark-files-regexp, dired-build-subdir-alist):
7433 Use `string-match-p', `looking-at-p'.
7434
7435 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7436 (direct-print-region-helper): Use `string-match-p'.
7437
aed838b5
LL
74382013-06-21 Leo Liu <sdl.web@gmail.com>
7439
cedf5c9d
JB
7440 * comint.el (comint-redirect-results-list-from-process):
7441 Fix infinite loop.
aed838b5 7442
d80a808f
LMI
74432013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7444
7445 * net/eww.el (eww-update-header-line-format): Quote % characters.
7446
e7a526e3
GM
74472013-06-21 Glenn Morris <rgm@gnu.org>
7448
7449 * play/cookie1.el (cookie): New custom group.
7450 (cookie-file): New option.
7451 (cookie-check-file): New function.
7452 (cookie): Make it interactive. Make start and end messages optional.
7453 Interactively, display the result. Default to cookie-file.
7454 (cookie-insert): Default to cookie-file.
7455 (cookie-snarf): Make start and end messages optional.
7456 Default to cookie-file. Use with-temp-buffer.
7457 (cookie-read): Rename from read-cookie.
7458 Make start and end messages optional. Default to cookie-file.
7459 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7460 Do not autoload it.
e7a526e3
GM
7461 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7462 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7463
62efb35e
LL
74642013-06-21 Leo Liu <sdl.web@gmail.com>
7465
7466 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7467
21e3f963
GM
74682013-06-21 Glenn Morris <rgm@gnu.org>
7469
7470 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7471
fd846ab4
SM
74722013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7473 Daniel Hackney <dan@haxney.org>
7474
7475 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7476 Consolidate the single-file vs tarball code.
7477 (package-desc-suffix): New function.
7478 (package-desc-full-name): Don't bother inlining it.
7479 (package-load-descriptor): Return the new package-desc.
7480 (package-mark-obsolete): Remove unused arg `package'.
7481 (package-unpack): Make it work for single files as well.
7482 Make it update package-alist.
7483 (package--make-autoloads-and-stuff): Rename from
7484 package--make-autoloads-and-compile. Don't compile any more.
7485 (package--compile): New function.
7486 (package-generate-description-file): New function, extracted from
7487 package-unpack-single.
7488 (package-unpack-single): Remove.
7489 (package--with-work-buffer): Add indentation and debugging info.
7490 (package-download-single): Remove.
7491 (package-install-from-archive): Rename from package-download-tar, make
7492 it take a pkg-desc, and make it work for single files as well.
7493 (package-download-transaction): Simplify.
7494 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7495 external tar program.
7496 (package-install-from-buffer): Remove `pkg-desc' argument.
7497 Use package-tar-file-info for tar-mode buffers.
7498 (package-install-file): Simplify accordingly.
7499 (package-archive-base): Change to take a pkg-desc.
7500 * tar-mode.el (tar--check-descriptor): New function, extracted from
7501 tar-get-descriptor.
7502 (tar-get-descriptor): Use it.
7503 (tar-get-file-descriptor): New function.
7504 (tar--extract): New function, extracted from tar-extract.
7505 (tar--extract): Use it.
7506 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7507 case the summary uses non-ascii. Adjust to new calling convention of
7508 package-tar-file-info.
7509
b7deae5e
LL
75102013-06-21 Leo Liu <sdl.web@gmail.com>
7511
fd846ab4
SM
7512 * comint.el (comint-redirect-results-list-from-process):
7513 Fix random delay. (Bug#14681)
b7deae5e 7514
7a65a0b2
JB
75152013-06-21 Juanma Barranquero <lekktu@gmail.com>
7516
7517 * profiler.el (profiler-format-number): Use log, not log10.
7518
1493c2af
JB
75192013-06-20 Juanma Barranquero <lekktu@gmail.com>
7520
7521 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7522
aff6371e
SM
75232013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7526 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7527 yet available.
7528 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7529 (AUTOGENEL): ... here.
7530 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7531 (cl--defsubst-expand): Use it.
7532
89561f72
PE
75332013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7534
7535 * subr.el (log10): Move here from C code, and declare as obsolete.
7536 All uses of (log10 X) replaced with (log X 10).
7537
47199123
JB
75382013-06-20 Juanma Barranquero <lekktu@gmail.com>
7539
7540 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7541 Declare with `defvar-local'.
7542 (tabulated-list-use-header-line, tabulated-list-entries)
7543 (tabulated-list-padding, tabulated-list-printer)
7544 (tabulated-list-sort-key): Declare with `defvar-local'.
7545 (tabulated-list-init-header, tabulated-list-print-fake-header):
7546 Use `setq-local'.
7547
4a172eab
MA
75482013-06-20 Michael Albinus <michael.albinus@gmx.de>
7549
47199123
JB
7550 * arc-mode.el (archive-mode): Add `archive-write-file' to
7551 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7552
5fc0acc0
JB
75532013-06-20 Juanma Barranquero <lekktu@gmail.com>
7554
d5b27848
JB
7555 * cus-edit.el (custom-commands): Fix typos.
7556 (custom-display): Fix tooltip text.
7557 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7558 Fix typos in docstrings.
7559 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7560 (custom-unlispify-menu-entry, custom-magic-value-create)
7561 (custom-add-see-also, custom-group-value-create): Use ?\s.
7562 (custom-guess-type, customize-apropos, editable-field)
7563 (custom-face-value-create): Use `string-match-p'.
7564 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7565
7566 * custom.el (custom-load-symbol): Use `string-match-p'.
7567
a5c581d8
JB
7568 * ansi-color.el: Convert to lexical binding.
7569 (ansi-colors): Fix URL.
7570 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7571 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7572 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7573
970ad972
G
75742013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7575
7576 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7577
7578 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7579
75802013-06-19 Tom Tromey <tromey@redhat.com>
7581
7582 * net/eww.el (eww-top-url): Remove.
7583 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7584 (eww-render): Set new variables. Don't set eww-top-url.
7585 (eww-handle-link): Handle "prev", "home", and "contents".
7586 Downcase the rel text.
7587 (eww-top-url): Choose best top URL.
7588
75892013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7590
7591 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7592 relying in widget.el. Using widget.el leads to too many
7593 user interface inconsistencies.
7594 (eww-self-insert): Implement entering commands in text fields.
7595 (eww-process-text-input): New function to make text input field editing
7596 work.
7597 (eww-submit): Rewrite to use the new-style form methods.
7598 (eww-select-display): Display the correct selected item.
7599 (eww-change-select): Implement changing the select value.
7600 (eww-toggle-checkbox): Implement radio/checkboxes.
7601 (eww-update-field): Fix compilation error.
7602 (eww-tag-textarea): Implement <textarea>.
7603
7604 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7605 we don't shadow mode-specific bindings.
7606
7607 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7608 nothing to push.
7609
7610 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7611
4582a01c 76122013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7613
7614 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7615
15b263dc
MA
76162013-06-19 Michael Albinus <michael.albinus@gmx.de>
7617
7618 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7619 not needed.
7620
7621 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7622
8f5297f7
LMI
76232013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7624
7625 * net/browse-url.el (browse-url-browser-function):
7626 `eww-browse-url' has the right calling signature, `eww' does not.
7627
011c4552
GM
76282013-06-19 Glenn Morris <rgm@gnu.org>
7629
2285bd27
GM
7630 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7631 Only eval autoloaded macros.
7632 (byte-compile-autoload): Only give the macro warning for macros.
7633
1d653303
GM
7634 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7635 (ps-underlined-faces): Declare.
7636
bdd779ec
GM
7637 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7638 (speedbar-add-supported-extension): Declare.
7639
011c4552
GM
7640 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7641 Don't include a date stamp in the header of the generated file;
7642 it leads to needless differences between output files.
7643
e59dfb0e
MA
76442013-06-19 Michael Albinus <michael.albinus@gmx.de>
7645
c763842b
SM
7646 * net/secrets.el (secrets-struct-secret-content-type):
7647 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7648 Some servers do not offer introspection.
e59dfb0e 7649
102626e2
SM
76502013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7651
7652 * electric.el (electric-pair-mode): Improve interaction with
7653 electric-layout-mode.
7654 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7655 (electric-pair-syntax): Use text-mode-syntax-table in comments
7656 and strings.
7657 (electric-pair--insert): New function.
7658 (electric-pair-post-self-insert-function): Use it and
7659 electric--after-char-pos.
7660
ad528125
LL
76612013-06-19 Leo Liu <sdl.web@gmail.com>
7662
7663 * progmodes/octave.el (octave-help): Fix regexp.
7664
924d6997
G
76652013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7666
7667 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7668 (shr-table-horizontal-line): Allow nil as a value, and change the
7669 default.
7670 (shr-insert-table-ruler): Respect the nil value.
7671
76722013-06-18 Tom Tromey <tromey@barimba>
7673
7674 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7675 New defvars.
7676 (eww-open-file): New defun.
7677 (eww-render): Initialize new variables.
7678 (eww-display-html): Handle "link" and "a".
7679 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7680 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7681 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7682 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7683 New defuns.
924d6997 7684
d1bbba4f
DG
76852013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7686
7687 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7688 Distinguish ternary operator tokens from slash symbol and slash
7689 char literal.
7690
14dd22d2
JB
76912013-06-18 Juanma Barranquero <lekktu@gmail.com>
7692
7693 Convert symbol prettification into minor mode and global minor mode.
7694
7695 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7696 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7697 (prettify-symbols--keywords): Rename from
7698 `prog-prettify-symbols-alist' and make a local defvar.
7699 (prettify-symbols--compose-symbol): Rename from
7700 `prog--prettify-font-lock-compose-symbol'.
7701 (prettify-symbols--make-keywords): Rename from
7702 `prog-prettify-font-lock-symbols-keywords' and simplify.
7703 (prog-prettify-install): Remove.
7704 (prettify-symbols-mode): New minor mode, based on
7705 `prog-prettify-install'.
7706 (turn-on-prettify-symbols-mode): New function.
7707 (global-prettify-symbols-mode): New globalized minor mode.
7708
7709 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7710 * progmodes/cfengine.el (cfengine3-mode):
7711 * progmodes/perl-mode.el (perl-mode): Don't call
7712 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7713
292c880c
JL
77142013-06-18 Juri Linkov <juri@jurta.org>
7715
7716 * files-x.el (modify-file-local-variable-message): New function.
7717 (modify-file-local-variable)
7718 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7719 and call `modify-file-local-variable-message' when it's non-nil.
7720 (add-file-local-variable, delete-file-local-variable)
7721 (add-file-local-variable-prop-line)
7722 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7723 and use it. (Bug#9820)
7724
0950aa27
JL
77252013-06-18 Juri Linkov <juri@jurta.org>
7726
7727 * emulation/vi.el (vi-shell-op):
7728 * emulation/vip.el (vip-execute-com, ex-command):
7729 * emulation/viper-cmd.el (viper-exec-bang):
7730 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7731 the call of `shell-command-on-region'. (Bug#14637)
7732
7733 * simple.el (shell-command-on-region): Doc fix.
7734
8fbcca16
SM
77352013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7736
7737 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7738 (bug#14633).
7739
dd7426ea
GM
77402013-06-18 Glenn Morris <rgm@gnu.org>
7741
4ba54f7d
GM
7742 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7743
dd7426ea
GM
7744 * newcomment.el (comment-search-forward, comment-search-backward):
7745 Doc fix. (Bug#14376)
7746
58aa805b
JB
77472013-06-18 Juanma Barranquero <lekktu@gmail.com>
7748
7749 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7750 (buffer-face-mode-invoke): Doc fix.
7751
9a08a617
MM
77522013-06-18 Matthias Meulien <orontee@gmail.com>
7753
7754 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7755 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7756
f2f426ca
GM
77572013-06-18 Glenn Morris <rgm@gnu.org>
7758
9445f99b
GM
7759 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7760 Replace obsolete function generic-make-keywords with its expansion.
7761
e0df2d14
GM
7762 * progmodes/python.el (ffap-alist): Declare.
7763
f2f426ca
GM
7764 * textmodes/reftex.el (bibtex-mode-map): Declare.
7765
f7f9a720
SM
77662013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7767
7768 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7769 (package-unpack, package-unpack-single): Return the pkg-dir.
7770 (package-download-transaction): Use it to update package-alist.
7771
57ff04e0
LMI
77722013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7773
7774 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7775 possible choice.
7776
c048c022
JL
77772013-06-17 Juri Linkov <juri@jurta.org>
7778
7779 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7780
b5bcaee5
DG
77812013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7782
a020afb9
JB
7783 * emacs-lisp/package.el (package-load-descriptor):
7784 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7785 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7786
551e07e5
JB
77872013-06-17 Juanma Barranquero <lekktu@gmail.com>
7788
7789 * startup.el (command-line): Expand package name returned by
7790 `package--description-file' (bug#14639).
7791
d363bffb
DG
77922013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7793
7794 * emacs-lisp/package.el (package-load-descriptor): Do not call
7795 `emacs-lisp-mode', just use its syntax table.
7796
f612933b
JB
77972013-06-17 Juanma Barranquero <lekktu@gmail.com>
7798
7799 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7800 `font-lock-extra-managed-props' if any prettifying keyword is added.
7801 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7802 (prog-mode): Use `setq-local'.
7803
db3b7db5
SM
78042013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 * international/characters.el (standard-case-table): Set syntax of ?»
7807 and ?« to punctuation.
7808
f3d674df
JB
78092013-06-16 Juanma Barranquero <lekktu@gmail.com>
7810
7811 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7812 Save relevant match data before calling `syntax-ppss' (bug#14595).
7813
31489a32
JL
78142013-06-15 Juri Linkov <juri@jurta.org>
7815
7816 * files-x.el (modify-file-local-variable-prop-line): Add local
7817 variables to the end of the existing comment on the first line.
7818 Use `file-auto-mode-skip' to skip interpreter magic line,
7819 and also skip XML declaration.
7820
66bd25ab
SM
78212013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7822
7823 * startup.el (package--builtin-versions): New var.
7824 (package-subdirectory-regexp): Remove.
7825 (package--description-file): Hard code its value instead.
7826
7827 * emacs-lisp/package.el: Don't activate packages older than builtin.
7828 (package-obsolete-list): Rename from package-obsolete-alist, and make
7829 it into a simple list of package-desc.
7830 (package-strip-version): Remove.
7831 (package-built-in-p): Use package--builtin-versions.
7832 (package-mark-obsolete): Simplify.
7833 (package-process-define-package): Mark it obsolete if older than the
7834 builtin version.
7835 (package-handle-response): Use line-end-position.
7836 (package-read-archive-contents, package--download-one-archive):
7837 Simplify.
7838 (package--add-to-archive-contents): Skip if older than the builtin or
7839 installed version.
7840 (package-menu-describe-package): Fix last change.
7841 (package-list-unversioned): New var.
7842 (package-menu--generate): Use it.
7843
7844 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7845 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7846 (autoload-builtin-package-versions): New variable.
7847 (autoload-generate-file-autoloads): Use them.
7848 Remove the list of autoloaded functions/macros from the
7849 (autoload...) comments.
7850
7851 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7852
9583ec36
EZ
78532013-06-15 Eli Zaretskii <eliz@gnu.org>
7854
7855 * simple.el (line-move-partial): Don't jump to the next screen
7856 line as soon as it becomes visible. Instead, continue enlarging
7857 the vscroll until the portion of a tall screen line that's left on
7858 display is about the height of the frame's default font.
7859 (Bug#14567)
7860
f0100d8a
GM
78612013-06-15 Glenn Morris <rgm@gnu.org>
7862
b86a85ca
GM
7863 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7864 compilation-error-regexp-alist void, or local while let-bound.
7865
f0100d8a
GM
7866 * progmodes/make-mode.el (makefile-mode-syntax-table):
7867 Treat "=" as punctuation. (Bug#14614)
7868
05e7ce90
JB
78692013-06-15 Juanma Barranquero <lekktu@gmail.com>
7870
7871 * help-fns.el (describe-variable):
7872 Add extra line for permanent-local variables.
7873
12e5e86e
SH
78742013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7875
7876 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7877 Add export, import, library. (Bug#9164)
7878 (library): Set indent function.
7879
230dcbaf
GM
78802013-06-14 Glenn Morris <rgm@gnu.org>
7881
7882 * term/xterm.el (xterm--query):
7883 Stop after first matching handler. (Bug#14615)
7884
e36b2d20 78852013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7886
7887 Add support for dired in saveplace.
7888 * dired.el (dired-initial-position-hook): New variable.
7889 (dired-initial-position): Call hook to place cursor position.
7890 * saveplace.el (save-place-to-alist): Add dired position.
7891 (save-place-dired-hook): New function.
7892
0b31660d
SM
78932013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7894
bf1e6ae8
SM
7895 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7896 through a symbol rather than letrec.
7897
1b8dff23
SM
7898 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7899 (package-desc): Add `dir' field.
7900 (package-desc-full-name): New function.
7901 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7902 (package-maybe-load-descriptor): Remove.
7903 (package-load-all-descriptors): Just call package-load-descriptor.
7904 (package--disabled-p): New function.
7905 (package-desc-vers, package-desc-doc): Remove aliases.
7906 (package--dir): Remove function.
7907 (package-activate): Check if a package is disabled.
7908 (package-process-define-package): New function, extracted from
7909 define-package.
7910 (define-package): Turn into a place holder.
7911 (package-unpack-single, package-tar-file-info):
7912 Use package--description-file.
7913 (package-compute-transaction): Use package--disabled-p.
7914 (package-download-transaction): Don't call
7915 package-maybe-load-descriptor since they're all loaded anyway.
7916 (package-install): Change argument to be a pkg-desc.
7917 (package-delete): Use a single pkg-desc argument.
7918 (describe-package-1): Use package-desc-dir instead of package--dir.
7919 Use package-desc property instead of package-symbol.
7920 (package-install-button-action): Adjust accordingly.
7921 (package--push): Rewrite.
7922 (package-menu--print-info): Adjust accordingly. Change the ID format
7923 to be a pkg-desc.
7924 (package-menu-describe-package, package-menu-get-status)
7925 (package-menu--find-upgrades, package-menu-mark-upgrades)
7926 (package-menu-execute, package-menu--name-predicate):
7927 Adjust accordingly.
7928 * startup.el (package--description-file): New function.
7929 (command-line): Use it.
7930 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7931 Use package-desc-version.
7932
0b31660d
SM
7933 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7934 (byte-compile-preprocess): Use it.
7935 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7936 can't quite recognize.
7937 (byte-compile-add-to-list): Remove.
7938 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7939 (cconv-closure-convert): Add assertion.
7940
7941 * emacs-lisp/map-ynp.el: Use lexical-binding.
7942 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7943 Factor out some repeated code.
7944
de0503df
SM
79452013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * subr.el (with-eval-after-load): New macro.
7948 (eval-after-load): Allow form to be a function.
7949 take advantage of lexical-binding.
7950 (do-after-load-evaluation): Use dolist and adjust to new format.
7951 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7952
bc5c8c5a
JL
79532013-06-13 Juri Linkov <juri@jurta.org>
7954
7955 * replace.el (perform-replace): Display "symbol " and other search
7956 modes from `isearch-message-prefix' in the *Help* buffer.
7957
7958 * isearch.el (isearch-query-replace): Add " symbol" and other
7959 possible search modes from `isearch-message-prefix' to the prompt.
7960 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7961 when reading a regexp to collect.
7962
a22289f7
JL
79632013-06-13 Juri Linkov <juri@jurta.org>
7964
7965 * isearch.el (word-search-regexp): Match whitespace if the search
7966 string begins or ends in whitespace. The LAX arg is applied to
7967 both ends of the search string. Use `regexp-quote' and explicit
7968 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7969 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7970 boundaries are replaced with symbol boundaries, and characters
7971 between symbols match non-word non-symbol syntax. (Bug#14602)
7972
cb89acab
JL
79732013-06-13 Juri Linkov <juri@jurta.org>
7974
7975 * isearch.el (isearch-del-char): Don't exceed the length of
7976 `isearch-string' by the prefix arg. (Bug#14563)
7977
6e8cfc81
JL
79782013-06-13 Juri Linkov <juri@jurta.org>
7979
7980 * isearch.el (isearch-yank-word, isearch-yank-line)
7981 (isearch-char-by-name, isearch-quote-char)
7982 (isearch-printing-char, isearch-process-search-char):
7983 Add optional count prefix arg. (Bug#14563)
7984
7985 * international/isearch-x.el
7986 (isearch-process-search-multibyte-characters):
7987 Add optional count prefix arg.
7988
c23d55f4
VS
79892013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7992 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7993 lexical-binding.
7994
79952013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7996
7997 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7998
ba947bc4
GM
79992013-06-13 Glenn Morris <rgm@gnu.org>
8000
8baeb37a
GM
8001 * startup.el (tty-handle-args):
8002 Don't just discard "--" and anything after. (Bug#14608)
8003
ba947bc4
GM
8004 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8005
9abefce4
MA
80062013-06-13 Michael Albinus <michael.albinus@gmx.de>
8007
8008 Implement changes in Secret Service API. Make it backward compatible.
8009 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8010 (secrets-create-item): Use it. Prefix properties with interface.
8011
5755011f
MH
80122013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8013
8014 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8015 (term-emulate-terminal): Respect term-suppress-hard-newline.
8016
1261d2da
S
80172013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8018
8019 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8020 Only remove a `thumb-file' overlay. (Bug#14548)
8021
868490bb
GJ
80222013-06-12 Grégoire Jadi <daimrod@gmail.com>
8023
8024 * mail/reporter.el (reporter-submit-bug-report):
8025 Handle missing package-name. (Bug#14600)
8026
79d7167f
TH
80272013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8028
8029 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8030 (reftex-citation-prompt, reftex-default-bibliography)
8031 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8032 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8033 (reftex-bib-sort-author, reftex-bib-sort-year)
8034 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8035 (reftex-extract-bib-entries-from-thebibliography)
8036 (reftex-get-bibkey-default, reftex-get-bib-names)
8037 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8038 (reftex-format-bib-entry, reftex-parse-bibitem)
8039 (reftex-format-bibitem, reftex-do-citation)
8040 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8041 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8042 (reftex-insert-bib-matches, reftex-format-citation)
8043 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8044 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8045 existing comments into docstrings.
8046
5f9dbd7a
XF
80472013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8048
8049 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8050
94df41ab
AS
80512013-06-12 Andreas Schwab <schwab@suse.de>
8052
8053 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8054 for auto-save files.
8055
a7f3fecc
GM
80562013-06-12 Glenn Morris <rgm@gnu.org>
8057
001809f6
GM
8058 * ido.el (ido-delete-ignored-files): Remove.
8059 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8060 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8061
834b5ded
EL
80622013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8063
08c73ed2
EL
8064 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8065
834b5ded
EL
8066 * ido.el (ido-delete-ignored-files): New function,
8067 split from ido-make-file-list-1.
8068 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8069 (ido-make-file-list-1): Use ido-delete-ignored-files.
8070
daabf15a
LL
80712013-06-12 Leo Liu <sdl.web@gmail.com>
8072
8073 * progmodes/octave.el (inferior-octave-startup)
8074 (inferior-octave-completion-table)
8075 (inferior-octave-track-window-width-change)
8076 (octave-eldoc-function-signatures, octave-help)
8077 (octave-find-definition): Use single quoted strings.
8078 (inferior-octave-startup-args): Change default value.
8079 (inferior-octave-startup): Do not hard code "-i" and
8080 "--no-line-editing".
8081 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8082 (inferior-octave-directory-tracker): Use it.
8083 (octave-goto-function-definition): Robustify.
8084 (octave-help): Support highlighting operators in 'See also'.
8085 (octave-find-definition): Find subfunctions only in Octave mode.
8086
cf4e5178
SM
80872013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8088
8089 * help-fns.el (help-fns--compiler-macro): If the handler function is
8090 named, then put a link to it.
8091 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8092 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8093 (cl-typep): Use it.
8094 (cl-eval-when): Simplify debug spec.
8095 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8096 compiler-macro function instead of setting `compiler-macro-file'.
8097
99c81280 80982013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8099
8100 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8101 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8102
f56be016
SM
81032013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8104 Daniel Hackney <dan@haxney.org>
8105
8106 First part of Daniel Hackney's patch to package.el.
8107 * emacs-lisp/package.el: Use defstruct.
8108 (package-desc): New, main struct.
8109 (package--bi-desc, package--ac-desc): New structs, used to describe the
8110 format in external files.
8111 (package-desc-vers): Replace with package-desc-version accessor.
8112 (package-desc-doc): Replace with package-desc-summary accessor.
8113 (package-activate-1): Remove `package' arg since the pkg-vec now
8114 includes the name.
8115 (define-package): Use package-desc-from-define.
8116 (package-unpack-single): Change file-name arg to be a symbol.
8117 (package--add-to-archive-contents): Use package-desc-create and new
8118 accessor functions to package--ac-desc.
8119 (package-buffer-info, package-tar-file-info): Return a package-desc.
8120 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8121 arg to be a package-desc.
8122 (package-install-file): Adjust accordingly. Use \' to match EOS.
8123 (package--from-builtin): New function.
8124 (describe-package-1, package-menu--generate): Use it.
8125 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8126 (package-generate-autoloads): Idem and return the name of the file.
8127 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8128 Change pkg-info arg to be a package-desc.
8129 Use package-make-ac-desc.
8130 (package-upload-file): Use \' to match EOS.
8131 * finder.el (finder-compile-keywords): Use package-make-builtin.
8132
31119d63
SM
81332013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8134
931a2762
SM
8135 * vc/vc.el (vc-deduce-fileset): Change error message.
8136 (vc-read-backend): New function.
8137 (vc-next-action): Use it.
8138
5a3eb0c6
SM
8139 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8140
e3eb1bb7
SM
8141 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8142 (prolog-font-lock-keywords): Use regexp-opt instead.
8143 Don't manually highlight strings.
8144 (prolog-mode-variables): Simplify comment-start-skip.
8145 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8146
31119d63
SM
8147 * emacs-lisp/generic.el (generic--normalise-comments)
8148 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8149 (generic-mode-set-comments): Use them.
8150 (generic-bracket-support): Use setq-local.
8151 (generic-make-keywords-list): Declare obsolete.
8152
7de135d0
GM
81532013-06-11 Glenn Morris <rgm@gnu.org>
8154
8155 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8156 Prettify after setting font-lock-defaults. (Bug#14574)
8157
fa6bc6fd
JB
81582013-06-11 Juanma Barranquero <lekktu@gmail.com>
8159
8160 * replace.el (query-replace, occur-read-regexp-defaults-function)
8161 (replace-search):
8162 * subr.el (declare-function, number-sequence, local-set-key)
8163 (substitute-key-definition, locate-user-emacs-file)
8164 (with-silent-modifications, split-string, eval-after-load):
8165 Fix typos, remove unneeded backslashes and reflow some docstrings.
8166
cf1f9b9a
SM
81672013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8168
8169 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8170 default for Elisp files.
8171
56602a4b
GM
81722013-06-11 Glenn Morris <rgm@gnu.org>
8173
8174 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8175 although define-derived-mode was doing this anyway. (Bug#14583)
8176
30ae0b2c
JB
81772013-06-10 Juanma Barranquero <lekktu@gmail.com>
8178
8179 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8180 Fix make-variable-buffer-local call to refer to the correct variable.
8181
fa472906
AG
81822013-06-10 Aidan Gauland <aidalgol@amuri.net>
8183
8184 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8185 (eshell-visual-subcommands, eshell-visual-options):
8186 Add summary line to docstrings. Add cross-references.
fa472906 8187
ff4871b9
GM
81882013-06-10 Glenn Morris <rgm@gnu.org>
8189
8190 * epa.el (epa-read-file-name): New function. (Bug#14510)
8191 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8192
04fcf1b0
AG
81932013-06-09 Aidan Gauland <aidalgol@amuri.net>
8194
8195 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8196 output redirection to be ignored with visual commands.
8197
88b00caa
AG
81982013-06-09 Aidan Gauland <aidalgol@amuri.net>
8199
8200 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8201 (eshell-term-initialize): Move long lambda to separate function
8202 eshell-visual-command-p.
e7b41c4c
JB
8203 * eshell/em-dirs.el (eshell-dirs-initialise):
8204 * eshell/em-script.el (eshell-script-initialize):
8205 Add missing #' to lambda.
88b00caa 8206
fda74125
LL
82072013-06-08 Leo Liu <sdl.web@gmail.com>
8208
8209 * progmodes/octave.el (octave-add-log-current-defun): New function.
8210 (octave-mode): Set add-log-current-defun-function.
8211 (octave-goto-function-definition): Do not move point if not found.
8212 (octave-find-definition): Enhance to try subfunctions first.
8213
467f3b33
GM
82142013-06-08 Glenn Morris <rgm@gnu.org>
8215
8216 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8217 (byte-compile-backward-char, byte-compile-backward-word):
8218 Improve previous change, to handle non-explicit nil.
8219
544badc3
SM
82202013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8221
8222 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8223 (smie--opener/closer-at-point): New function.
8224 (smie--matching-block-data): Use it. Don't match from right after an
8225 opener or right before a closer. Obey smie-blink-matching-inners.
8226 Don't signal a mismatch for repeated inners like "switch..case..case".
8227
a175bf33
LL
82282013-06-07 Leo Liu <sdl.web@gmail.com>
8229
8230 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8231 to t. (Bug#14303)
ce8209d4
LL
8232 (octave-function-header-regexp): Fix. (Bug#14570)
8233 (octave-help-mode-finish-hook, octave-help-mode-finish):
8234 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8235
8236 * newcomment.el (comment-search-backward): Revert last change.
8237 (Bug#14434)
8238
8239 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8240
a822acff
EZ
82412013-06-07 Eli Zaretskii <eliz@gnu.org>
8242
8243 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8244 through xargs, to avoid failure due to MS-Windows limitations on
8245 command-line length.
8246
961166f5
GM
82472013-06-06 Glenn Morris <rgm@gnu.org>
8248
d0341459
GM
8249 * font-lock.el (lisp-font-lock-keywords-2):
8250 Treat user-error like error.
8251
961166f5
GM
8252 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8253 (byte-compile-backward-char, byte-compile-backward-word):
8254 Handle explicit nil arguments. (Bug#14565)
8255
80fa505f
AM
82562013-06-05 Alan Mackenzie <acm@muc.de>
8257
8258 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8259 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8260 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8261 (Bug#9706)
80fa505f 8262
fccdc796
SM
82632013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8264
8265 * autorevert.el (auto-revert-notify-handler): Use memq.
8266 Hide assertion failure.
8267
8268 * skeleton.el: Use cl-lib.
8269 (skeleton-further-elements): Use defvar-local.
8270 (skeleton-insert): Use cl-progv.
8271
9bfff84b
TZ
82722013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8273
8274 * progmodes/prog-mode.el (prog-prettify-symbols)
8275 (prog-prettify-install): Update docstrings.
8276
55577e7c
SM
82772013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * simple.el: Move all the prog-mode code to prog-mode.el.
8280 * progmodes/prog-mode.el: New file.
8281 * loadup.el: Add prog-mode.el.
8282
8fc57765
TZ
82832013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8284
8285 * simple.el (prog-prettify-symbols): Add version.
8286 (prog-prettify-install): Add convenience function to prettify symbols.
8287
8288 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8289 (perl--augmented-font-lock-keywords-1)
8290 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8291 variables and use it.
8292
8293 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8294 (cfengine3-mode): Remove unneeded variable and use it.
8295
8296 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8297 (lisp--augmented-font-lock-keywords-1)
8298 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8299 Remove unneeded variables and use it.
8300
650645d5 83012013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8302
8303 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8304 to point when opening the connection. (Bug#14380)
28f5da6d 8305
781b4af6
SM
83062013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8307
8308 * subr.el (load-history-regexp, load-history-filename-element)
8309 (eval-after-load, after-load-functions, do-after-load-evaluation)
8310 (eval-next-after-load, display-delayed-warnings)
8311 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8312 definition of save-match-data.
8313 (overriding-local-map): Remove accidental obsolescence declaration.
8314
8315 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8316
3ca0d0b4
TZ
83172013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8318
8319 Generalize symbol prettify support to prog-mode and implement it
8320 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8321 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8322 (prog--prettify-font-lock-compose-symbol)
8323 (prog-prettify-font-lock-symbols-keywords): New variables and
8324 functions to support symbol prettification.
8325 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8326 (lisp--augmented-font-lock-keywords-1)
8327 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8328 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8329 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8330 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8331 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8332 * progmodes/perl-mode.el (perl-prettify-symbols)
8333 (perl--font-lock-compose-symbol)
8334 (perl--font-lock-symbols-keywords): Move to prog-mode.
8335 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8336 (perl-font-lock-keywords-1)
8337 (perl-font-lock-keywords-2): Remove explicit prettify support.
8338 (perl--augmented-font-lock-keywords)
8339 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8340 (perl--augmented-font-lock-keywords-2, perl-mode):
8341 Implement prettify support.
3ca0d0b4 8342
976cb066
LL
83432013-06-05 Leo Liu <sdl.web@gmail.com>
8344
8345 Re-implement smie matching block highlight using
8346 show-paren-data-function. (Bug#14395)
8347 * emacs-lisp/smie.el (smie-matching-block-highlight)
8348 (smie--highlight-matching-block-overlay)
8349 (smie--highlight-matching-block-lastpos)
8350 (smie-highlight-matching-block)
8351 (smie-highlight-matching-block-mode): Remove.
8352 (smie--matching-block-data-cache): New variable.
8353 (smie--matching-block-data): New function.
8354 (smie-setup): Use smie--matching-block-data for
8355 show-paren-data-function.
8356
8357 * progmodes/octave.el (octave-mode-menu): Fix.
8358 (octave-find-definition): Skip garbage lines.
8359
208d0342
SM
83602013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 Fix compilation error with simultaneous dynamic+lexical scoping.
8363 Add warning when a defvar appears after the first let-binding.
8364 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8365 (byte-compile-close-variables): Initialize it.
8366 (byte-compile--declare-var): New function.
8367 (byte-compile-file-form-defvar)
8368 (byte-compile-file-form-define-abbrev-table)
8369 (byte-compile-file-form-custom-declare-variable): Use it.
8370 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8371 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8372 (byte-compile-bind): Handle dynamic bindings that shadow
8373 lexical bindings.
8374 (byte-compile-unbind): Make arg non-optional.
8375 (byte-compile-let): Simplify.
8376 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8377 (cconv--analyse-function, cconv-analyse-form): Populate it.
8378 Protect byte-compile-bound-variables to limit the scope of defvars.
8379 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8380 Remove unneeded rule for `declare'.
8381
8382 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8383 so as to avoid depending on cl-adjoin at run-time.
8384 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8385
8386 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8387 (macroexp--warn-and-return): Use it.
8388
1ac2891e
GM
83892013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8390
8391 * lisp/subr.el: Convert to lexical binding.
8392 (overriding-local-map): Make obsolete.
8393 (add-to-list): Doc fix. Add compiler macro.
8394 (read-key): Swap values of local maps.
8395
2587b005
LL
83962013-06-05 Leo Liu <sdl.web@gmail.com>
8397
8398 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8399
f1da3c88
LL
84002013-06-04 Leo Liu <sdl.web@gmail.com>
8401
8402 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8403 (compilation-auto-jump): Suppress the "Mark set" message to give
8404 way to exit message.
8405
3caa391f
AM
84062013-06-04 Alan Mackenzie <acm@muc.de>
8407
8408 Remove faulty optimisation from indentation calculation.
8409 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8410 search limit based on 2000 characters back from indent-point.
8411
068922a2
TH
84122013-06-03 Tassilo Horn <tsdh@gnu.org>
8413
8414 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8415
1f8fdd53
SM
84162013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8417
bbcc4d97
SM
8418 * emacs-lisp/lisp.el: Use lexical-binding.
8419 (lisp--local-variables-1, lisp--local-variables): New functions.
8420 (lisp--local-variables-completion-table): New var.
208d0342 8421 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8422
1f8fdd53
SM
8423 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8424 eagerly (bug#14422).
8425
c9628c79
MA
84262013-06-03 Michael Albinus <michael.albinus@gmx.de>
8427
8428 * autorevert.el (auto-revert-notify-enabled)
8429 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8430 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8431 (auto-revert-notify-handler): Handle also gfilenotify.
8432
e7b41c4c 8433 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8434 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8435 Remove.
c9628c79 8436
e5e4a942
JL
84372013-06-03 Juri Linkov <juri@jurta.org>
8438
8439 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8440 `M-s h .'. (Bug#14427)
8441
8442 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8443 command `hi-lock-face-symbol-at-point'.
8444 (hi-lock-face-symbol-at-point): New command.
8445 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8446 (hi-lock-menu): Add `highlight-symbol-at-point'.
8447 (hi-lock-mode): Doc fix.
8448
8449 * isearch.el (isearch-forward-symbol-at-point): New command.
8450 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8451 (isearch-highlight-regexp): Add a regexp which matches
8452 words/symbols for word/symbol mode.
8453
8454 * subr.el (find-tag-default-bounds): New function with the body
8455 mostly moved from `find-tag-default'.
8456 (find-tag-default): Move most code to `find-tag-default-bounds',
8457 call it and apply `buffer-substring-no-properties' afterwards.
8458
26b3353a
TH
84592013-06-03 Tassilo Horn <tsdh@gnu.org>
8460
781b4af6
SM
8461 * eshell/em-term.el (eshell-term-initialize):
8462 Use `cl-intersection' rather than `intersection'.
26b3353a 8463
51b60f53
XF
84642013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8465
fe054b63 8466 * vc/log-view.el: Doc fix.
d3ffe17c 8467 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8468
a0eb10b3 84692013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8470
8471 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8472 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8473 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8474 (eieio-unbound, eieio-default-superclass)
8475 (eieio--define-field-accessors, method-static, method-before)
8476 (method-primary, method-after, method-num-lists)
8477 (method-generic-before, method-generic-primary)
8478 (method-generic-after, method-num-slots)
8479 (eieio-specialized-key-to-generic-key)
8480 (eieio--check-type, class-v, class-p)
8481 (eieio-class-name, define-obsolete-function-alias)
8482 (eieio-class-parents-fast, eieio-class-children-fast)
8483 (same-class-fast-p, class-constructor, generic-p)
8484 (generic-primary-only-p, generic-primary-only-one-p)
8485 (class-option-assoc, class-option, eieio-object-p)
8486 (class-abstract-p, class-method-invocation-order)
8487 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8488 (eieio-class-un-autoload, eieio-defclass)
8489 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8490 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8491 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8492 (eieio-defgeneric-reset-generic-form)
8493 (eieio-defgeneric-form-primary-only)
8494 (eieio-defgeneric-reset-generic-form-primary-only)
8495 (eieio-defgeneric-form-primary-only-one)
8496 (eieio-defgeneric-reset-generic-form-primary-only-one)
8497 (eieio-unbind-method-implementations)
8498 (eieio--defmethod, eieio--typep)
8499 (eieio-perform-slot-validation, eieio-validate-slot-value)
8500 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8501 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8502 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8503 (eieio-slot-name-index, eieio-class-slot-name-index)
8504 (eieio-set-defaults, eieio-initarg-to-attribute)
8505 (eieio-attribute-to-initarg, eieio-c3-candidate)
8506 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8507 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8508 (eieio-class-precedence-list, eieio-generic-call-methodname)
8509 (eieio-generic-call-arglst, eieio-generic-call-key)
8510 (eieio-generic-call-next-method-list)
8511 (eieio-pre-method-execution-functions, eieio-generic-call)
8512 (eieio-generic-call-primary-only, eieiomt-method-list)
8513 (eieiomt-optimizing-obarray, eieiomt-install)
8514 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8515 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8516 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8517 (defclass): Remove `eval-and-compile' from macro.
8518 (call-next-method, shared-initialize): Instead of using
8519 `scoped-class' variable, use new eieio--scoped-class, and
8520 eieio--with-scoped-class.
8521 (initialize-instance): Rename local variable 'scoped-class' to
8522 'this-class' to remove ambiguitity from old global.
8523
8524 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8525 eieio.el.
4f405069
JB
8526 (eieio--scoped-class-stack): New variable.
8527 (eieio--scoped-class): New fcn.
890f7890
DE
8528 (eieio--with-scoped-class): New scoping macro.
8529 (eieio-defclass): Use pushnew instead of add-to-list.
8530 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8531 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8532 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8533 `scoped-class' variable, use new eieio--scoped-class, and
8534 eieio--with-scoped-class.
8535
8536 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8537
d105b0e2
TH
85382013-06-02 Tassilo Horn <tsdh@gnu.org>
8539
8540 * eshell/esh-ext.el (eshell-external-command): Pass args to
8541 `eshell-find-interpreter'.
8542 (eshell-find-interpreter): Add new second parameter ARGS.
8543
8544 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8545 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8546
8547 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8548 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8549
8550 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8551 (eshell-visual-options): New defcustom.
8552 (eshell-escape-control-x): Adapt docstring.
8553 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8554 `eshell-visual-options' in addition to `eshell-visual-commands'.
8555 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8556
f46305c8 85572013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8558
8559 * progmodes/python.el (python-indent-block-enders): Add break,
8560 continue and raise keywords.
8561
d870df21
GM
85622013-06-01 Glenn Morris <rgm@gnu.org>
8563
9133b82e
GM
8564 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8565
02c992ec 8566 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8567 * progmodes/cc-cmds.el (delete-forward-p):
8568 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8569 * progmodes/cc-engine.el (buffer-syntactic-context):
8570 * progmodes/cc-fonts.el (face-property-instance):
8571 * progmodes/cc-mode.el (set-keymap-parents):
8572 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8573 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8574 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8575 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8576 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8577
31e7b090
GM
8578 * progmodes/cc-vars.el (other): Emacs has this widget since
8579 at least 21.1, so don't (re)define it.
8580
d870df21
GM
8581 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8582 Replace the obsolete alias pcomplete-arg-quote-list.
8583
c75c93c7
LL
85842013-06-01 Leo Liu <sdl.web@gmail.com>
8585
8586 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8587 punctuation syntax.
8588 (inferior-octave-minimal-columns)
8589 (inferior-octave-last-column-width): New variables.
8590 (inferior-octave-track-window-width-change): New function.
8591 (inferior-octave-mode): Adjust column width so that Octave output,
8592 for example from 'ls', can fit into the window nicely.
8593
973d1e12
DG
85942013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8595
8596 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8597 Highlight expansions inside regexp literals.
8598
0888c286
GM
85992013-05-31 Glenn Morris <rgm@gnu.org>
8600
e26aac1f
GM
8601 * obsolete/sym-comp.el (symbol-complete):
8602 Replace obsolete completion-annotate-function.
8603
0888c286
GM
8604 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8605
19bb8e62
DG
86062013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8607
781b4af6
SM
8608 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8609 New function, checks if point is inside a literal that allows
19bb8e62
DG
8610 expression expansion.
8611 (ruby-syntax-propertize-expansion): Use it.
8612 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8613 around the body.
8614
01dea85f
JL
86152013-05-30 Juri Linkov <juri@jurta.org>
8616
8617 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8618 to "\M-si".
8619 (isearch-invisible): New variable.
8620 (isearch-forward): Doc fix.
8621 (isearch-mode): Set `isearch-invisible'
8622 to the value of `search-invisible'.
8623 (isearch-toggle-case-fold): Doc fix.
8624 (isearch-toggle-invisible): New command.
8625 (isearch-query-replace): Let-bind `search-invisible'
8626 to the value of `isearch-invisible'.
8627 (isearch-search): Use `isearch-invisible' instead of
8628 `search-invisible'. Let-bind `search-invisible'
8629 to the value of `isearch-invisible'. (Bug#11378)
8630
ab1bdce5
JL
86312013-05-30 Juri Linkov <juri@jurta.org>
8632
8633 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8634 call when `query-flag' is nil and `search-invisible' is non-nil.
8635 (Bug#11746)
8636
d6d236e2
GM
86372013-05-30 Glenn Morris <rgm@gnu.org>
8638
8accd027
GM
8639 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8640
2a8bed1c
GM
8641 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8642 (cc-require): Suppress spurious "noruntime" warnings.
8643 (cc-require-when-compile): Use fboundp, for sake of compiler.
8644
d6d236e2
GM
8645 * progmodes/cc-mode.el: Move load of cc-vars before that of
8646 cc-langs (which in turn loads cc-vars), to quieten compiler.
8647
9190b35b
SM
86482013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8649
8650 * paren.el: Simplify the code.
8651 (show-paren-mode): Always start the timer.
8652 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8653 (show-paren--overlay, show-paren--overlay-1): Rename from
8654 show-paren-overlay and show-paren-overlay-1, and initialize to an
8655 overlay rather than to nil.
8656 (show-paren-function): Misc cleanup and simplifications.
8657
4f8d1cf6
SM
86582013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8659
8660 * paren.el (show-paren-data-function): New hook.
8661 (show-paren--default): New function, extracted from show-paren-function.
8662 (show-paren-function): Use show-paren-data-function.
8663
02d844b5
GM
86642013-05-30 Glenn Morris <rgm@gnu.org>
8665
d209d4a9
GM
8666 * ielm.el (ielm-map, ielm-complete-symbol):
8667 Use completion-at-point rather than obsolete functions.
8668 (inferior-emacs-lisp-mode): Doc fix.
8669 Set completion-at-point-functions, rather than
8670 comint-dynamic-complete-functions.
8671
2082faa6
GM
8672 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8673 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8674 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8675
dd8620de
GM
8676 * image.el (image-animated-p): Tweak definition.
8677
ceca95b1
GM
8678 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8679 (rlogin-process-connection-type): Tweak default. Add set-after.
8680 (rlogin-host): Doc fix.
8681 (rlogin): Tweak prompt.
8682 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8683
ee9f1acc
GM
8684 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8685 * progmodes/tcl.el (inferior-tcl-mode-map):
8686 Use completion-at-point rather than obsolete alias.
8687
45ce222e
GM
8688 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8689
02d844b5
GM
8690 * minibuffer.el (read-file-name-completion-ignore-case):
8691 Move before completion--in-region, for eager macro expansion.
8692
ac44d6c1
JL
86932013-05-29 Juri Linkov <juri@jurta.org>
8694
8695 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8696 for total count of matching lines. Add `global-matches' for total
8697 count of matches. Rename `matches' to `lines' for count of
8698 matching lines. Add `matches' for count of matches.
8699 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8700 to `prev-line' for line number of prev match endpt.
8701 Increment `matches' for every match. Print the number of
8702 matching lines in the header.
8703 (occur-context-lines): Rename `lines' to `curr-line'.
8704 Rename `prev-lines' to `prev-line'. (Bug#14017)
8705
3c9c9d38
JL
87062013-05-29 Juri Linkov <juri@jurta.org>
8707
8708 * replace.el (perform-replace): Add `skip-read-only-count',
8709 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8710 Increment them for corresponding conditions and report the number
8711 of skipped occurrences in the final message. (Bug#11746)
8712 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8713 (replace-string, replace-regexp): Doc fix.
8714
33e249a2
SM
87152013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8716
8e399682
SM
8717 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8718
33e249a2 8719 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8720 prog-mode-map (bug#14504).
33e249a2 8721
f236dd84
LL
87222013-05-29 Leo Liu <sdl.web@gmail.com>
8723
8724 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8725 (octave-help): Small simplification.
8726
8727 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8728 off the highlight first.
8729
3694d13f
GM
87302013-05-29 Glenn Morris <rgm@gnu.org>
8731
03983bdc
GM
8732 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8733 Handle idlwave-last-system-routine-info-cons-cell being nil.
8734
bc74a74a
GM
8735 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8736 (idlwave-write-paths): Simplify via with-temp-buffer.
8737
8b394200
GM
8738 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8739 * emulation/cua-rect.el: Also load cua-base at run time.
8740
3694d13f
GM
8741 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8742 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8743 (cperl-imenu-on-info): Require imenu.
8744
336d7284
AM
87452013-05-28 Alan Mackenzie <acm@muc.de>
8746
8747 Handle "capitalised keywords" correctly.
33e249a2 8748 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8749
cb29c582
AG
87502013-05-28 Aidan Gauland <aidalgol@amuri.net>
8751
781b4af6 8752 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8753
690e44b2
GM
87542013-05-28 Glenn Morris <rgm@gnu.org>
8755
e658d75c
GM
8756 * vc/vc-arch.el (vc-exec-after): Declare.
8757 (vc-switches): Autoload.
8758 * vc/vc-bzr.el: No need to require vc when compiling.
8759 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8760 (vc-resynch-buffer, vc-dir-refresh): Declare.
8761 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8762 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8763 (vc-resynch-buffer): Declare.
8764 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8765 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8766 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8767 (grep-read-regexp, grep-read-files, grep-expand-template)
8768 (vc-dir-refresh): Declare.
8769 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8770 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8771 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8772 * vc/vc-mtn.el (vc-exec-after): Declare.
8773 (vc-switches): Autoload.
8774 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8775 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8776 (vc-file-tree-walk): Declare.
712b9732
GM
8777 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8778 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8779 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8780 * vc/vc-svn.el (vc-exec-after): Declare.
8781 (vc-switches, vc-setup-buffer): Autoload.
8782 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8783 Autoload.
8784 (vc-resynch-buffer): Declare.
8785
98e87fb3
GM
8786 * obsolete/fast-lock.el (byte-compile-warnings):
8787 Don't warn about obsolete features in this obsolete file.
8788
f5379553
GM
8789 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8790 Move definition before use.
8791
7a20ef83
GM
8792 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8793 (dun-unix-verbs): Remove dun-zippy.
8794 (dun-zippy): Remove function.
8795
690e44b2
GM
8796 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8797
3a52ccf7
JL
87982013-05-27 Juri Linkov <juri@jurta.org>
8799
8800 * replace.el (replace-search): New function with code moved out
8801 from `perform-replace'.
8802 (replace-highlight, replace-dehighlight): Move function definitions
8803 up closer to `replace-search'. (Bug#11746)
8804
d289938a
JL
88052013-05-27 Juri Linkov <juri@jurta.org>
8806
8807 * replace.el (perform-replace): Ignore invisible matches.
8808 In addition to checking `query-replace-skip-read-only', also
8809 filter out matches by calling `run-hook-with-args-until-failure'
8810 on `isearch-filter-predicates', and also check `search-invisible'
8811 for t or call `isearch-range-invisible'.
8812 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8813
66fc57e3
JL
88142013-05-27 Juri Linkov <juri@jurta.org>
8815
8816 * isearch.el (isearch-filter-predicates): Rename from
8817 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8818 (isearch-message-prefix): Display text from the property
8819 `isearch-message-prefix' of the currently active filters.
8820 (isearch-search): Don't compare `isearch-filter-predicate' with
8821 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8822 on `isearch-filter-predicates'. Also check `search-invisible' for t
8823 or call `isearch-range-invisible'.
8824 (isearch-filter-visible): Make obsolete.
8825 (isearch-lazy-highlight-search):
8826 Call `run-hook-with-args-until-failure' on
8827 `isearch-filter-predicates' and use `isearch-range-invisible'.
8828
8829 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8830 `isearch-filter-predicates' instead of `funcall'ing
8831 `isearch-filter-predicate'.
8832 (Info-mode): Set `Info-isearch-filter' to
8833 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8834
8835 * dired-aux.el (dired-isearch-filter-predicate-orig):
8836 Remove variable.
8837 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8838 (dired-isearch-filenames-end): Add and remove
8839 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8840 instead of changing the value of `isearch-filter-predicate'.
8841 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8842 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8843 Put property `isearch-message-prefix' to "filename " on
8844 `dired-isearch-filter-filenames'.
8845
8846 * wdired.el (wdired-change-to-wdired-mode):
8847 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8848 locally instead of changing `isearch-filter-predicate'.
8849 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8850
f1a60a0f
DG
88512013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8852
8853 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8854 return the commit hash (Bug#14459). Also set the
8855 `vc-git-detached' property.
8856 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8857 (vc-git-mode-line-string): Use the same help-echo format whether
8858 in detached mode or not, because we know the actual revision now.
8859 When in detached mode, shorten the revision to 7 chars.
8860
7f17cc40
SM
88612013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * emacs-lisp/easy-mmode.el (define-minor-mode):
8864 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8865 mode hook and provide a docstring.
8866
25c8401c
AM
88672013-05-27 Alan Mackenzie <acm@muc.de>
8868
8869 Remove spurious syntax-table text properties inserted by C-y.
8870 * progmodes/cc-mode.el (c-after-change): Also clear hard
8871 syntax-table property with value nil.
8872
dde84790
MA
88732013-05-27 Michael Albinus <michael.albinus@gmx.de>
8874
8875 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8876 when reading the events; the buffer layout shall not be changed.
8877
837fd9af
LL
88782013-05-27 Leo Liu <sdl.web@gmail.com>
8879
8880 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8881 New variable.
8882 (inferior-octave-directory-tracker): Automatically re-sync
8883 default-directory.
8884 (octave-help): Improve handling of 'See also'.
8885
4fd996b3
SM
88862013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8887
416f1802
SM
8888 * doc-view.el: Minor naming convention tweaks.
8889 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8890
4fd996b3
SM
8891 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8892 even if there's no `display' property yet (bug#14435).
8893
a052ef3b
EZ
88942013-05-25 Eli Zaretskii <eliz@gnu.org>
8895
4fd996b3 8896 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8897
8898 * Makefile.in (custom-deps, finder-data, autoloads)
8899 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8900 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8901 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8902
c9023370
SM
89032013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8904
8905 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8906 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8907 Don't burp at EOB.
c9023370 8908
24d699fa
LL
89092013-05-25 Leo Liu <sdl.web@gmail.com>
8910
8911 * comint.el (comint-previous-matching-input): Do not flood the
8912 *Messages* buffer with trivial messages.
8913
17e5c0cc
SM
89142013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * progmodes/flymake.el (flymake-nop): Don't return a string.
8917 (flymake-set-at): Fix typo.
8918
8919 * simple.el (read--expression): New function, extracted from
8920 eval-expression. Set completion-at-point-functions (bug#14465).
8921 (eval-expression, eval-minibuffer): Use it.
8922
5d028165
XF
89232013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8924
8925 * progmodes/flymake.el (flymake-save-buffer-in-file)
8926 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8927 (flymake-selected-frame, flymake-log, flymake-ins-after)
8928 (flymake-set-at, flymake-get-buildfile-from-cache)
8929 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8930 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8931 Refine the doc string.
8932 (flymake-get-file-name-mode-and-masks): Reformat.
8933 (flymake-get-real-file-name-function): Fix a minor bug.
8934
7a1d7ba7
JL
89352013-05-24 Juri Linkov <juri@jurta.org>
8936
8937 * progmodes/grep.el (grep-mode-font-lock-keywords):
8938 Support =linenumber= format used by git-grep for lines with
8939 function names. (Bug#13549)
8940
650cff3d
SM
89412013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8944 0 after a semi-colon; it works better for smie-auto-fill.
8945 (octave--indent-new-comment-line): New function.
8946 (octave-indent-new-comment-line): Use it (indirectly).
8947 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8948 modify comment-line-break-function.
8949
8950 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8951 (smie-setup): Use add-function to set it.
8952
9631677d
SS
89532013-05-24 Sam Steingold <sds@gnu.org>
8954
8955 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8956 argument (before the `interactive' argument).
8957
50105835
SM
89582013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * image-mode.el (image-mode-winprops): Add winprops to
8961 image-mode-winprops-alist before running
8962 image-mode-new-window-functions.
8963 * doc-view.el (doc-view-new-window-function): Don't delay
8964 doc-view-goto-page via timers (bug#14435).
8965
57b9823e
TH
89662013-05-24 Tassilo Horn <tsdh@gnu.org>
8967
8968 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8969 (doc-view-desktop-save-buffer): New function.
8970 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8971 (desktop-buffer-mode-handlers):
8972 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8973 handler.
8974 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8975 `desktop-save-buffer' function.
8976
91aafa16
MA
89772013-05-24 Michael Albinus <michael.albinus@gmx.de>
8978
8979 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8980 (tramp-gvfs-file-name-handler): Raise a user error when
8981 `tramp-gvfs-enabled' is nil.
8982 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8983 Do not raise a user error when loading package. (Bug#14447)
8984
ec076379
MA
8985 * net/xesam.el: Move to obsolete/.
8986
db785726
GM
89872013-05-24 Glenn Morris <rgm@gnu.org>
8988
af5c7606
GM
8989 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8990
e5d1916a
GM
8991 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8992
ded62b08
GM
8993 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8994 (Info-find-node, Man-getpage-in-background): Declare.
8995
9e614a3f
GM
8996 * mail/unrmail.el (unrmail):
8997 Replace obsolete detect-coding-with-priority.
8998
892f8ca3
GM
8999 * net/socks.el (socks-split-string): Use this rather than split-string.
9000 (socks-nslookup-host): Update for above change.
9001 (dynamic-choice, s5-dynamic-choice-match)
9002 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9003 Comment out unused code.
9004
3c291973
GM
9005 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9006 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9007 (gud-tooltip-echo-area): Make obsolete.
9008 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9009
43cc956b
GM
9010 * progmodes/js.el (js--optimize-arglist): Declare.
9011
dab49a3b
GM
9012 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9013
36b9d085
GM
9014 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9015 (ediff-window-C): Declare.
9016
e354ae76
GM
9017 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9018 Tweak requires to silence compiler.
9019
b8e57bf4
GM
9020 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9021 (he-search-string, he-tried-table, he-expand-list)
9022 (he-init-string, he-string-member, he-substitute-string)
9023 (he-reset-string): Declare.
9024
db785726
GM
9025 * obsolete/options.el (list-options): Use custom-variable-p,
9026 rather than obsolete alias.
9027
b3531901
SS
90282013-05-23 Sam Steingold <sds@gnu.org>
9029
9030 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9031 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9032 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9033
bdda4c66
SM
90342013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * emacs-lisp/smie.el (smie-indent-forward-token)
9037 (smie-indent-backward-token): Handle string tokens (bug#14381).
9038
c43d45f9
TH
90392013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9040
fe1eb856
RS
9041 * ielm.el (ielm-menu): New menu.
9042 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9043
fe1eb856
RS
90442013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9045
9046 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9047 Fix deactivate action.
9048
9049 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9050 Add cleveref macros.
074dd971 9051
c43d45f9
TH
9052 * lisp/textmodes/reftex-parse.el
9053 (reftex-locate-bibliography-files): Accept options for
9054 bibliography commands.
9055 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9056 Add addbibresource. Basic Biblatex support.
9057
7764286e
MA
90582013-05-23 Michael Albinus <michael.albinus@gmx.de>
9059
9060 * net/tramp-gvfs.el (top):
9061 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9062 when loading package. (Bug#14447)
9063
d361bc10
GM
90642013-05-23 Glenn Morris <rgm@gnu.org>
9065
8fa23984
GM
9066 * progmodes/js.el: No need to load comint when compiling.
9067 (ring-insert, comint-send-string, comint-send-input)
9068 (comint-last-input-end, ido-chop): Declare.
9069
a5c7df1a
GM
9070 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9071 * vc/ediff-mult.el: Adjust requires.
9072 (ediff-directories-internal, ediff-directory-revisions-internal)
9073 (ediff-patch-file-internal): Declare.
9074 * vc/ediff-ptch.el: Adjust requires.
9075 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9076 (ediff-find-file): Autoload.
9077 * vc/ediff-util.el: No need to load ediff when compiling.
9078 (ediff-regions-internal): Declare.
9079 * vc/ediff-wind.el: Adjust requires.
9080 (ediff-compute-toolbar-width): Define when compiling.
9081 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9082 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9083 (dired-get-filename, dired-get-marked-files)
9084 (ediff-last-dir-patch, ediff-patch-default-directory)
9085 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9086 (ediff-patch-buffer-internal): Declare.
9087
e2aec513
GM
9088 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9089 (ispell-process, ispell-buffer-local-words, lm-summary)
9090 (lm-section-start, lm-section-end): Declare.
9091 (checkdoc-ispell-init): Simplify.
9092
e68bbd7c
GM
9093 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9094 (he-string-member, he-reset-string, he-substitute-string): Declare.
9095
7efe0991
GM
9096 * eshell/em-ls.el: Adjust requires.
9097 (eshell-glob-regexp): Declare.
f87b1284
GM
9098 * eshell/em-tramp.el: Adjust requires.
9099 (eshell-parse-command): Autoload.
9100 * eshell/em-xtra.el: Adjust requires.
9101 (eshell-parse-command): Autoload.
9102 * eshell/esh-ext.el: Adjust requires.
9103 (eshell-parse-command, eshell-close-handles): Autoload.
9104 * eshell/esh-io.el: Adjust requires.
9105 (eshell-output-filter): Autoload.
9106 * eshell/esh-util.el: No need to load tramp when compiling.
9107 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9108 Declare.
9109 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9110 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9111 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9112 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9113 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9114 * eshell/esh-opt.el, eshell/esh-proc.el:
9115 * eshell/esh-var.el: Adjust requires.
9116 * eshell/eshell.el: Do not require esh-util twice.
9117 (eshell-add-input-to-history): Declare.
9118 (eshell-command): Check history module is active before using it.
9119
d361bc10
GM
9120 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9121
85d090a9
LL
91222013-05-22 Leo Liu <sdl.web@gmail.com>
9123
9124 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9125
5d0acd9d
MA
91262013-05-22 Michael Albinus <michael.albinus@gmx.de>
9127
9128 * autorevert.el (auto-revert-notify-add-watch)
9129 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9130 it indicates changes in file modification time.
9131
0cdffd7d
GM
91322013-05-22 Glenn Morris <rgm@gnu.org>
9133
ca5995ec
GM
9134 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9135 Always delete the autoloaded function from the noruntime and
9136 unresolved functions lists.
9137
6450907e
GM
9138 * allout.el: No need to load epa, epg, overlay when compiling.
9139 (epg-context-set-passphrase-callback, epg-list-keys)
9140 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9141 (epg-key-user-id-list): Declare.
9142
9c6906f6
GM
9143 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9144 (viper-set-parsing-style-toggling-macro)
9145 (viper-set-emacs-state-searchstyle-macros):
9146 Use called-interactively-p on Emacs.
9147 (viper-looking-back): Make it an obsolete alias. Update callers.
9148 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9149 Use looking-back rather than viper-looking-back.
9150 (viper-tmp-insert-at-eob, viper-enlarge-region)
9151 (viper-read-string-with-history, viper-register-to-point)
9152 (viper-append-to-register, viper-change-state-to-vi)
9153 (viper-backward-char-carefully, viper-forward-char-carefully)
9154 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9155 (viper-change-state-to-emacs): Declare.
9156 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9157 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9158 * emulation/viper-mous.el: Do not load viper-cmd.
9159 (viper-backward-char-carefully, viper-forward-char-carefully)
9160 (viper-forward-word, viper-adjust-window): Declare.
9161
5f70c169
GM
9162 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9163
b1b7f300
GM
9164 * progmodes/idlw-help.el (idlwave-help-fontify):
9165 Use called-interactively-p.
9166
f6ebbb46
GM
9167 * term/w32console.el (w32-get-console-codepage)
9168 (w32-get-console-output-codepage): Declare.
9169
0cdffd7d
GM
9170 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9171 Remove unnecessary declarations.
9172 (dframe-message): Doc fix.
9173
9174 * info.el (dframe-select-attached-frame, dframe-current-frame):
9175 Declare.
9176
9177 * speedbar.el (speedbar-message): Make it an obsolete alias.
9178 Update all callers.
9179 (speedbar-with-attached-buffer)
9180 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9181 (speedbar-with-writable): Use backquote.
9182 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9183 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9184 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9185 rather than speedbar- aliases.
9186 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9187 (speedbar-make-specialized-keymap, speedbar-insert-button)
9188 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9189 (speedbar-do-function-pointer): Declare.
9190 (rmail-speedbar-button, rmail-speedbar-find-file)
9191 (rmail-speedbar-move-message):
9192 Use dframe-with-attached-buffer rather than speedbar- alias.
9193 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9194 (dframe-message, speedbar-make-specialized-keymap)
9195 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9196 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9197 (speedbar-insert-button, dframe-select-attached-frame)
9198 (dframe-maybee-jump-to-attached-frame)
9199 (speedbar-change-initial-expansion-list)
9200 (speedbar-previously-used-expansion-list-name): Declare.
9201 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9202 Use dframe-message, dframe-with-attached-buffer rather than
9203 speedbar- aliases.
9204 (gud-sentinel): Silence compiler.
9205 * progmodes/vhdl-mode.el (speedbar-refresh)
9206 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9207 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9208 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9209 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9210 (speedbar-file-lists, speedbar-make-tag-line)
9211 (speedbar-line-directory, speedbar-goto-this-file)
9212 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9213 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9214 (speedbar-make-button, speedbar-reset-scanners)
9215 (speedbar-files-item-info, speedbar-line-text)
9216 (speedbar-find-file-in-frame, speedbar-set-timer)
9217 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9218 (speedbar-with-writable): Do not (re)define it.
9219 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9220 rather than speedbar- alias.
9221
ee44b62a
LL
92222013-05-21 Leo Liu <sdl.web@gmail.com>
9223
9224 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9225 menu items.
9226 (octave-mode): Tweak fill-nobreak-predicate.
9227 (inferior-octave-startup): Check process to avoid infinite loop.
9228 (inferior-octave): Pop to buffer first to show abornmal process
9229 exit information.
9230
640f050f
GM
92312013-05-21 Glenn Morris <rgm@gnu.org>
9232
79458038
GM
9233 * printing.el (pr-menu-bar): Define when compiling.
9234
9cc3e83f
LL
92352013-05-21 Leo Liu <sdl.web@gmail.com>
9236
9237 * progmodes/octave.el (octave-auto-fill): Remove.
9238 (octave-indent-new-comment-line): Improve.
9239 (octave-mode): Use auto fill mode through
4f405069 9240 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9241 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9242 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9243 (octave-help): Show parent directory.
9244
f440830d
GM
92452013-05-21 Glenn Morris <rgm@gnu.org>
9246
9247 * files.el (dired-unmark):
9248 * progmodes/gud.el (gdb-input): Update declarations.
9249
9250 * calculator.el (electric, ehelp): No need to load when compiling.
9251 (Electric-command-loop, electric-describe-mode): Declare.
9252
9253 * doc-view.el (doc-view-current-converter-processes): Move before use.
9254
9255 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9256 Move MODE-set-explicitly definition before use.
9257
9258 * international/mule-diag.el (mule-diag):
9259 Don't use obsolete window-system-version.
9260
9261 * mail/feedmail.el (smtpmail): No need to load when compiling.
9262 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9263
9264 * mail/mail-utils.el (rfc822): No need to load when compiling.
9265 (rfc822-addresses): Autoload it.
9266 (mail-strip-quoted-names): Trivial simplification.
9267
9268 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9269 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9270
9271 * net/snmp-mode.el (tempo): Don't duplicate requires.
9272
9273 * progmodes/prolog.el (info): No need to load when compiling.
9274 (comint): Require before shell requires it.
9275 (Info-goto-node): Autoload it.
9276 (Info-follow-nearest-node): Declare.
9277 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9278
9279 * textmodes/artist.el (picture-mode-exit): Declare.
9280
9281 * textmodes/reftex-parse.el (reftex-parse-from-file):
9282 Trivial rewrite so the compiler can parse it better.
9283
b4da2cbb
LL
92842013-05-20 Leo Liu <sdl.web@gmail.com>
9285
9286 * progmodes/octave.el (octave-help-mode-map)
9287 (octave-help-mode-finish-hook): New variables.
9288 (octave-help-mode, octave-help-mode-finish): New functions.
9289 (octave-help): Use octave-help-mode.
9290
33c0f65b
GM
92912013-05-20 Glenn Morris <rgm@gnu.org>
9292
9293 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9294
1a0a0a8a
DG
92952013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9296
9297 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9298 start at point, so that expansion starting right after opening
9299 slash in a regexp is recognized.
9300 (ruby-syntax-before-regexp-re): New defvar, extracted from
9301 ruby-syntax-propertize-function. Since the value of this regexp
9302 is looked up at runtime now, we should be able to turn
9303 `ruby-syntax-methods-before-regexp' into a defcustom later.
9304 (ruby-syntax-propertize-function): Split regexp matching into two
9305 parts, for opening and closing slashes. That allows us to skip
9306 over string interpolations and support multiline regexps.
9307 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9308 for them, which calls `ruby-syntax-propertize-expansion'.
9309 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9310 call to `ruby-syntax-propertize-function'.
9311 (ruby-syntax-propertize-expansion): Extracted from
9312 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9313 (ruby-syntax-propertize-percent-literal): Leave point right after
9314 the percent symbol, so that the expression expansion rule can
9315 propertize the contents.
462388b6
DG
9316 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9317 heredoc openers.
9318 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9319
c1a6c0a4
JL
93202013-05-18 Juri Linkov <juri@jurta.org>
9321
9322 * man.el (Man-default-man-entry): Remove `-' from the end
9323 of the default value. (Bug#14400)
9324
8051fccd
GM
93252013-05-18 Glenn Morris <rgm@gnu.org>
9326
9327 * comint.el (comint-password-prompt-regexp):
9328 Allow "password for XXX" where XXX contains colons (eg https://...).
9329
5e80b74f
LL
93302013-05-18 Leo Liu <sdl.web@gmail.com>
9331
9332 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9333 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9334 (octave-source-directories): Don't check process.
9335 (octave-source-directories, octave-find-definition): Doc fix.
9336
521a54c5
GM
93372013-05-18 Glenn Morris <rgm@gnu.org>
9338
86a94b05
GM
9339 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9340 Remove backspace/delete bindings. (Bug#14392)
9341
521a54c5
GM
9342 * cus-dep.el (custom-make-dependencies): Sort the output.
9343 (custom-versions-load-alist): Convert comment to doc.
9344
42caeb89
LL
93452013-05-17 Leo Liu <sdl.web@gmail.com>
9346
9347 * newcomment.el (comment-search-backward): Stricter in finding
9348 comment start. (Bug#14303)
9349
9350 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9351 (octave-comment-start-skip): Properly anchored.
9352
e219dd97
LL
93532013-05-17 Leo Liu <sdl.web@gmail.com>
9354
fe1eb856
RS
9355 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9356 Clean up when turned off. (Bug#14395)
e219dd97
LL
9357 (smie--highlight-matching-block-overlay): No longer buffer-local.
9358 (smie-highlight-matching-block): Adjust.
9359
dc5dcb4b
PE
93602013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9361
9362 Doc string fix for "nanoseconds" (Bug#14406).
9363 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9364 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9365
1db165f0
JB
93662013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9367
9368 * calc/calc-units.el (math-extract-units): Preserve powers
9369 of units.
9370
c7a8fcac
LL
93712013-05-17 Leo Liu <sdl.web@gmail.com>
9372
9373 * subr.el (delete-consecutive-dups): New function.
9374 * ido.el (ido-set-matches-1): Use it.
9375 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9376 * ido.el (ido-remove-consecutive-dups): Remove.
9377
f678b18a
SM
93782013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9379
9380 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9381 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9382 regexp-opt's `words'.
9383
ebfe68e8
LL
93842013-05-16 Leo Liu <sdl.web@gmail.com>
9385
9386 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9387 (smie--highlight-matching-block-overlay)
9388 (smie--highlight-matching-block-lastpos)
9389 (smie--highlight-matching-block-timer): New variables.
9390 (smie-highlight-matching-block): New function.
9391 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9392 (smie-setup): Conditionally enable smie-blink-matching-open.
9393
bc8bc17d
WS
93942013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9395
9396 Sync with upstream verilog-mode r840.
9397 * progmodes/verilog-mode.el (verilog-mode-version)
9398 (verilog-mode-release-date): Update.
9399 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9400 (verilog-sig-tieoff): Fix string error on
9401 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9402 (verilog-read-decls): Fix parameters confusing
9403 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9404
df065a0b
EZ
94052013-05-16 Eli Zaretskii <eliz@gnu.org>
9406
9407 * subr.el (reveal-filename): New function.
9408
9409 * loadup.el: Compute Emacs executable versions on MS-Windows,
9410 where executables have the .exe extension. Add a hard link
9411 emacs-XX.YY.ZZ.exe on MS-Windows.
9412
9413 * Makefile.in (XARGS_LIMIT): New variable.
9414 (custom-deps, finder-data, autoloads)
9415 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9416 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9417 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9418 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9419
2d4bf34b
LL
94202013-05-16 Leo Liu <sdl.web@gmail.com>
9421
9422 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9423 (octave-mode-menu, octave-mode-map): Remove its uses.
9424
6b9c2d85
RZ
94252013-05-16 Reto Zimmermann <reto@gnu.org>
9426
9427 Sync with upstream vhdl mode v3.34.2.
9428 * progmodes/vhdl-mode.el: Use `push' throughout.
9429 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9430 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9431 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9432 (vhdl-actual-generic-name): New option to derive actual generic name.
9433 (vhdl-port-paste-signals): Replace formal by actual generics.
9434 (vhdl-beautify): New name for old group vhdl-align. Update users.
9435 (vhdl-beautify-options): New option.
9436 (vhdl-last-input-event): New compat alias. Use throughout.
9437 (vhdl-goto-line): Replace user level function `goto-line'.
9438 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9439 vhdl-fix-statement-buffer.
9440 (vhdl-create-mode-menu): Add some entries.
9441 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9442 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9443 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9444 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9445 to force statements on one line.
9446 (vhdl-remove-trailing-spaces-region):
9447 New, split from vhdl-remove-trailing-spaces.
9448 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9449 Respect vhdl-beautify-options.
9450 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9451 (vhdl-update-sensitivity-list): Not add with index if exists without.
9452 Not include array index with signal. Ignore keywords in comments.
9453 (vhdl-get-visible-signals): Regexp tweaks.
9454 (vhdl-template-component-inst): Handle empty library.
9455 (vhdl-template-type): Add template for 'enum' type.
9456 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9457 Use vhdl-replace-string.
9458 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9459 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9460 (vhdl-speedbar-initialize): Update for above name change.
9461 (vhdl-compose-wire-components): Fix in handling of constants.
9462 (vhdl-error-regexp-emacs-alist): New variable.
9463 (vhdl-error-regexp-add-emacs): New function;
9464 adds support for new compile.el (Emacs 22+)
9465 (vhdl-generate-makefile-1): Change target order for single lib. units.
9466 Allow use of absolute file names.
9467
9df4ec5e
LL
94682013-05-16 Leo Liu <sdl.web@gmail.com>
9469
9470 * simple.el (prog-indent-sexp): Indent enclosing defun.
9471
f5ba00a6
GM
94722013-05-15 Glenn Morris <rgm@gnu.org>
9473
ed8be7ff
GM
9474 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9475 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9476 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9477 (whitespace-highlight): Move to whitespace group.
9478
9479 * comint.el (comint-source):
9480 * pcmpl-linux.el (pcmpl-linux):
9481 * shell.el (shell-faces):
9482 * eshell/esh-opt.el (eshell-opt):
9483 * international/ccl.el (ccl): Remove empty custom groups.
9484
9485 * completion.el (dynamic-completion-mode):
9486 * jit-lock.el (jit-lock-debug-mode):
9487 * minibuffer.el (completion-in-region-mode):
9488 * type-break.el (type-break-mode-line-message-mode)
9489 (type-break-query-mode):
9490 * emulation/tpu-edt.el (tpu-edt-mode):
9491 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9492 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9493 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9494
9495 * term/xterm.el (xterm): Change parent group to terminals.
9496
9497 * master.el (master): Remove empty custom group.
9498 (master-mode): Remove unused :group argument.
9499 * textmodes/refill.el (refill): Remove empty custom group.
9500 (refill-mode): Remove unused :group argument.
9501
9502 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9503
82a7c41b
GM
9504 * cus-dep.el: Provide a feature.
9505 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9506 Don't mistakenly ignore files whose basenames match a basename
9507 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9508 Add a fallback method for getting :group.
f5ba00a6 9509
6d65486d
JL
95102013-05-15 Juri Linkov <juri@jurta.org>
9511
da547b32
JL
9512 * isearch.el (isearch-char-by-name): Rename from
9513 `isearch-insert-char-by-name'. Doc fix.
9514 (isearch-forward): Mention `isearch-char-by-name' in
9515 the docstring. (Bug#13348)
9516
6d65486d
JL
9517 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9518 `exit-minibuffer' instead of
9519 `isearch-nonincremental-exit-minibuffer'.
9520 (isearch-edit-string): Remove mention of
9521 `isearch-nonincremental-exit-minibuffer' from docstring.
9522 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9523 (isearch-forward-exit-minibuffer)
9524 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9525
c9990474
SM
95262013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9527
6e911150
SM
9528 * loadup.el: Just use unversioned DOC.
9529
c9990474
SM
9530 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9531 literals as extending to EOB.
9532 (nxml-last-fontify-end): Remove unused variable.
9533 (nxml-after-change1): Use with-silent-modifications.
9534 (nxml-extend-after-change-region): Simplify.
9535 (nxml-extend-after-change-region1): Remove function.
9536 (nxml-after-change1): Don't adjust for dependent regions.
9537 (nxml-fontify-matcher): Simplify.
9538 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9539 (xmltok-add-dependent): Remove function.
9540 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9541 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9542 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9543 unclosed <[[, <?, comment, and other literals as extending to EOB.
9544 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9545 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9546 Remove functions.
9547 (rng-do-some-validation-1): Don't mark dependent regions.
9548 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9549 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9550 (nxml-clear-dependent-regions): Remove functions.
9551 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9552 (nxml-ensure-scan-up-to-date):
9553 Don't clear&mark dependent regions.
9554
e3772e98
LL
95552013-05-15 Leo Liu <sdl.web@gmail.com>
9556
c9990474
SM
9557 * progmodes/octave.el (octave-goto-function-definition):
9558 Improve and fix callers.
e3772e98 9559
5ac2eb34
SM
95602013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9561
c46c57b0
SM
9562 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9563 the setter (bug#14387).
9564
5ac2eb34
SM
9565 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9566 surrounding group (bug#14402).
9567
180ed218
JL
95682013-05-14 Juri Linkov <juri@jurta.org>
9569
9570 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9571 (Bug#14390)
9572
0ac0fecb
GM
95732013-05-14 Glenn Morris <rgm@gnu.org>
9574
9575 * progmodes/f90.el (f90-imenu-generic-expression):
9576 Fix typo in 2013-05-08 change. (Bug#14402)
9577
2e78e6a7
JPG
95782013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9579
5ac2eb34
SM
9580 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9581 Remove signals for which replies are never received.
2e78e6a7 9582
53267cca
JPG
95832013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9584
9585 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9586 (gdb-handler-alist, gdb-handler-number): Remove variables.
9587 (gdb-handler-list): New variable.
9588 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9589 (gdb-pending-handler-p, gdb-handle-reply)
9590 (gdb-remove-all-pending-triggers): New functions.
9591 (gdb-discard-unordered-replies): New defcustom.
9592 (gdb-handler): New defstruct.
9593 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9594 instead of gdb-pending-triggers. Update docstring.
9595 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9596 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9597 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9598 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9599 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9600 (gdb-frame-handler): Pending triggers are now automatically managed.
9601 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9602 Remove argument.
9603 (gdb-input): Automatically handles pending triggers. Update docstring.
9604 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9605 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9606 Update comments.
9607 (gdb-done-or-error): Now use gdb-handle-reply.
9608
d04ce803
JPG
96092013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9610
9611 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9612 gdb-debug-log.
9613
0114073a
GM
96142013-05-14 Glenn Morris <rgm@gnu.org>
9615
9616 * subr.el (user-emacs-directory-warning): New option.
9617 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9618
4d25fd7e
LL
96192013-05-14 Leo Liu <sdl.web@gmail.com>
9620
9621 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9622 during redisplay.
9623 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9624 (octave-font-lock-texinfo-comment): Fix invalid search bound
9625 error: wrong side of point.
4d25fd7e 9626
27c8b6eb
GM
96272013-05-14 Glenn Morris <rgm@gnu.org>
9628
61aaeb01
GM
9629 * progmodes/flymake.el (flymake-xml-program): New option.
9630 (flymake-xml-init): Use it.
9631
5bf90bc5
GM
9632 * term/xterm.el: Provide a feature.
9633
9634 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9635
f4c7dfd2
GM
96362013-05-13 Glenn Morris <rgm@gnu.org>
9637
9638 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9639 Add compat aliases as a hack workaround. (Bug#14384)
9640
2aeb3a1d
LL
96412013-05-13 Leo Liu <sdl.web@gmail.com>
9642
b0e069c2
LL
9643 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9644 ###, and %!.
f5a9432f
LL
9645 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9646 C-M-q.
b0e069c2
LL
9647 (octave-comment-start-skip): Include %!.
9648 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9649
30ea8374
LL
96502013-05-12 Leo Liu <sdl.web@gmail.com>
9651
9652 * progmodes/octave.el (inferior-octave-startup): Store the value
9653 of __octave_srcdir__ for octave-source-directories.
9654 (inferior-octave-check-process): New function refactored out of
9655 inferior-octave-send-list-and-digest.
9656 (octave-source-directories)
9657 (octave-find-definition-filename-function): New variables.
9658 (octave-source-directories)
9659 (octave-find-definition-default-filename): New functions.
9660 (octave-find-definition): Improve to find functions implemented in C++.
9661
472a3834
GM
96622013-05-12 Glenn Morris <rgm@gnu.org>
9663
9664 * calendar/diary-lib.el (diary-outlook-format-1):
9665 Don't include dayname in the output. (Bug#14349)
9666
3191b52f
GM
96672013-05-11 Glenn Morris <rgm@gnu.org>
9668
0060ac73
GM
9669 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9670
3191b52f
GM
9671 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9672 Treat cc-provide like provide.
9673
e065ba74
KR
96742013-05-11 Kevin Ryde <user42@zip.com.au>
9675
9676 * cus-dep.el (custom-make-dependencies):
9677 Use generated-autoload-load-name for the sake of files such
9678 such cedet/semantic/bovine/c.el, where the base file name
9679 is not in load-path. (Bug#5277)
9680
36f84c37
GM
96812013-05-11 Glenn Morris <rgm@gnu.org>
9682
9683 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9684 Provide features.
9685
c8730c3a
LL
96862013-05-11 Leo Liu <sdl.web@gmail.com>
9687
9688 * progmodes/octave.el (octave-indent-comment): Improve.
9689 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9690 (octave-eldoc-function-signatures, octave-eldoc-function):
9691 New functions.
c8730c3a
LL
9692 (octave-mode, inferior-octave-mode): Add eldoc support.
9693
212e29f2
RS
96942013-05-11 Richard Stallman <rms@gnu.org>
9695
9696 * epa.el (epa-decrypt-file): Take output file name as argument
9697 and read it using `interactive'.
9698
083fe0d7
LL
96992013-05-11 Leo Liu <sdl.web@gmail.com>
9700
9701 * progmodes/octave.el (octave-beginning-of-line)
9702 (octave-end-of-line): Check before using up-list because it jumps
9703 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9704 (octave-indent-comment): New function.
9705 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9706 (octave-begin-keywords, octave-end-keywords)
9707 (octave-reserved-words, octave-smie-bnf-table)
9708 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9709
8582e4c4
GM
97102013-05-11 Glenn Morris <rgm@gnu.org>
9711
f20def1f
GM
9712 * faces.el (internal-face-x-get-resource):
9713 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9714 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9715 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9716 Fix declarations.
f20def1f 9717
445f95e2
GM
9718 * calc/calc-menu.el: Make it loadable in isolation.
9719
9720 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9721 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9722 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9723 (eudc-bbdb-query-internal): Require 'bbdb.
9724
99fb2756
GM
9725 * lpr.el (lpr-headers-switches):
9726 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9727
9728 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9729
0da7ad96
GM
9730 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9731
8582e4c4
GM
9732 * term.el (term-set-escape-char): Make it idempotent.
9733
f71c50d0
LL
97342013-05-10 Leo Liu <sdl.web@gmail.com>
9735
5ac2eb34
SM
9736 * progmodes/octave.el (inferior-octave-completion-table):
9737 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9738 completion due to bug#11906.
9739 (octave-beginning-of-defun): Re-write to be more general.
9740
d5837773
GM
97412013-05-10 Glenn Morris <rgm@gnu.org>
9742
9743 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9744
027c0f75
SM
97452013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * comint.el (comint-redirect-send-command-to-process): Use :around
9748 rather than :override for comint-redirect-filter.
9749 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9750 Call it instead of comint-redirect-original-filter-function (which
9751 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9752
4465bfb4
JD
97532013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9754
9755 * frame.el (display-monitor-attributes-list): Add NS case.
9756 (ns-display-monitor-attributes-list): Declare.
9757
2d809ffa 97582013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9759
9760 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9761
e54eeb9b
GM
97622013-05-09 Glenn Morris <rgm@gnu.org>
9763
56cd351d
GM
9764 * international/fontset.el (vertical-centering-font-regexp):
9765 Set standard-value.
9766
d84b6108
GM
9767 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9768
a931698a
GM
9769 * bookmark.el (bookmark-search-delay):
9770 * cus-start.el (vertical-centering-font-regexp):
9771 * ps-mule.el (ps-mule-font-info-database-default):
9772 * ps-print.el (ps-default-fg, ps-default-bg):
9773 * type-break.el (type-break-good-break-interval):
9774 * whitespace.el (whitespace-indentation-regexp)
9775 (whitespace-space-after-tab-regexp):
9776 * emacs-lisp/testcover.el (testcover-1value-functions)
9777 (testcover-noreturn-functions, testcover-progn-functions)
9778 (testcover-prog1-functions):
9779 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9780 * eshell/em-glob.el (eshell-glob-translate-alist):
9781 * play/tetris.el (tetris-tty-colors):
9782 * progmodes/cpp.el (cpp-face-default-list):
9783 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9784 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9785 (idlwave-help-browser-generic-args):
9786 * progmodes/make-mode.el (makefile-special-targets-list):
9787 * progmodes/python.el (python-shell-virtualenv-path):
9788 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9789 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9790 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9791 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9792 * textmodes/reftex-vars.el (reftex-format-label-function):
9793 * textmodes/remember.el (remember-diary-file): Fix custom types.
9794
e54eeb9b
GM
9795 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9796 Add :version.
9797
455851dd
LL
97982013-05-09 Leo Liu <sdl.web@gmail.com>
9799
9800 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9801 Restore file completion. (Bug#14300)
455851dd
LL
9802 (inferior-octave-startup): Fix incorrect highlighting for the
9803 first prompt.
9804
a9e4425b
SM
98052013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * progmodes/ruby-mode.el: First cut at SMIE support.
9808 (ruby-use-smie): New var.
9809 (ruby-smie-grammar): New constant.
9810 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9811 (ruby-smie--forward-token, ruby-smie--backward-token)
9812 (ruby-smie-rules): New functions.
9813 (ruby-mode-variables): Setup SMIE if applicable.
9814
060ca408
EZ
98152013-05-08 Eli Zaretskii <eliz@gnu.org>
9816
9817 * simple.el (line-move-visual): Signal beginning/end of buffer
9818 only if vertical-motion moved less than it was requested. Avoids
9819 silly incorrect error messages when there are display strings with
9820 multiple newlines at EOL.
9821
1d5963cc
SM
98222013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9823
9824 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9825 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9826 (prolog-char-quote-workaround):
9827 * progmodes/cperl-mode.el (cperl-under-as-char):
9828 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9829 Mark as obsolete.
9830 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9831 their declaration.
9832 (vhdl-mode-syntax-table-init): Remove.
9833
c9990474
SM
9834 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9835 last change.
1d5963cc
SM
9836
9837 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9838 syntax for "_".
9839 (ld-script-font-lock-keywords):
9840 Change regexps to use things like \_< and \_>.
9841
9842 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9843 Change all regexps to use things like \_< and \_>.
9844
9845 * progmodes/autoconf.el (autoconf-definition-regexp)
9846 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9847 Handle a _ with symbol syntax.
9848 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9849
c9990474
SM
9850 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9851 Consolidate declaration.
1d5963cc
SM
9852 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9853 the declaration.
9854 (ada-create-syntax-table): Remove.
9855 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9856 already has the right syntax nowadays.
9857 (ada-goto-next-word): Don't change the syntax of "_".
9858
9859 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9860 with-wrapper-hook.
9861
72d3cfca
SS
98622013-05-08 Sam Steingold <sds@gnu.org>
9863
9864 * thingatpt.el (thing-at-point): Accept optional second argument
9865 NO-PROPERTIES to strip the text properties from the return value.
9866 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9867 to `thing-at-point' instead of stripping the properties ourselves.
9868 Also, when `thing-at-point' fails to find a url, prepend "http://"
9869 to the filename at point on the assumption that the user is
9870 pointing at something like gnu.org/gnu.
9871
5cb15713
JB
98722013-05-08 Juanma Barranquero <lekktu@gmail.com>
9873
9874 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9875 * faces.el (crm-separator):
9876 Silence byte-compiler.
9877
9878 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9879 (tool-bar-map): Remove unneeded defvars.
9880
ea78b95b
LL
98812013-05-08 Leo Liu <sdl.web@gmail.com>
9882
9883 Re-work a fix for bug#10994 based on Le Wang's patch.
9884 * ido.el (ido-remove-consecutive-dups): New helper.
9885 (ido-completing-read): Use it.
9886 (ido-chop): Revert fix for bug#10994.
9887
dc7466df
AS
98882013-05-08 Adam Spiers <emacs@adamspiers.org>
9889
9890 * cus-edit.el (custom-save-variables):
9891 Pretty-print long values. (Bug#14187)
9892
9ecf672a
GM
98932013-05-08 Glenn Morris <rgm@gnu.org>
9894
9895 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9896 (m4-mode-syntax-table): Init in the defvar.
9897 (m4-mode-abbrev-table): Let define-derived-mode define it.
9898
3f555be8
TT
98992013-05-08 Tom Tromey <tromey@redhat.com>
9900
9901 * progmodes/m4-mode.el (m4-mode-syntax-table):
9902 Do not treat "_" as word constituent. (Bug#14167)
9903
7cc8ae06
GM
99042013-05-07 Glenn Morris <rgm@gnu.org>
9905
4f58bc06
GM
9906 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9907 Remove explicit eshell-isearch-cancel-map.
9908
7cc8ae06
GM
9909 * progmodes/f90.el (f90-smart-end-names): New option.
9910 (f90-smart-end): Doc fix.
9911 (f90-end-block-optional-name): New constant.
9912 (f90-block-match): Respect f90-smart-end-names.
9913
ceb57e59
SM
99142013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9915
9916 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9917 about implicit semi-colons (bug#14218).
9918
4e3f9230
YM
99192013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9920
9921 * frame.el (display-monitor-attributes-list)
9922 (frame-monitor-attributes): New functions.
9923
203a5572
LL
99242013-05-06 Leo Liu <sdl.web@gmail.com>
9925
9926 * progmodes/octave.el (octave-syntax-propertize-function): Change
9927 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9928 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9929 (octave-completion-at-point): Rename from
203a5572
LL
9930 octave-completion-at-point-function.
9931 (inferior-octave-directory-tracker): Robustify.
9932 (octave-text-functions): Remove and fix its uses. No such things
9933 any more.
9934
ee6cff99
SM
99352013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * emacs-lisp/trace.el (trace--display-buffer): New function.
9938 (trace-make-advice): Use it.
9939
32985194
JL
99402013-05-06 Juri Linkov <juri@jurta.org>
9941
9942 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9943 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9944 Doc fix.
9945 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9946 in the help string. (Bug#12985)
9947
a1c700de
KD
99482013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9949
9950 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9951
c67c0839
SM
99522013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9953
323885fd
SM
9954 * progmodes/perl-mode.el: Add support for here documents.
9955 (perl-syntax-propertize-function): Match here-doc markers.
9956 (perl-syntax-propertize-special-constructs): Find their end.
9957 (perl-imenu-generic-expression): Use [:alnum:].
9958
c67c0839
SM
9959 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9960 (advice--add-function): Refresh the advice if already present
9961 (bug#14317).
9962
d491e7a8
IA
99632013-05-06 Ivan Andrus <darthandrus@gmail.com>
9964
9965 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9966
ddf9925e
GM
99672013-05-06 Glenn Morris <rgm@gnu.org>
9968
7cc3af27
GM
9969 * w32-fns.el (w32-charset-info-alist): Declare.
9970
16e343d6
GM
9971 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9972 of its defcustom properties.
9973 (eshell-cmpl-initialize): No need to load pcomplete.
9974
7d889a47
GM
9975 * generic-x.el: No need to require comint when compiling.
9976
ddf9925e
GM
9977 * net/eudc-export.el: Make it loadable without bbdb.
9978 (top-level): Use require rather than load-library.
9979 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9980 (eudc-batch-export-records-to-bbdb)
9981 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9982 Require bbdb.
9983
1e2c18df
SM
99842013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9985
9986 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9987 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9988 some tweaks, instead.
9989
02502a5f
LL
99902013-05-05 Leo Liu <sdl.web@gmail.com>
9991
9992 * progmodes/octave.el (octave-font-lock-keywords)
9993 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9994 (inferior-octave-send-list-and-digest): Improve error message.
9995 (octave-mode, inferior-octave-mode): Use setq-local.
9996 (octave-help): Set info-lookup-mode.
9997
0dc04f42
RS
99982013-05-05 Richard Stallman <rms@gnu.org>
9999
6c54491c
RS
10000 * vc/compare-w.el (compare-windows-whitespace):
10001 Treat no-break space as whitespace.
10002
0dc04f42
RS
10003 * mail/rmailsum.el (rmail-summary-rmail-update):
10004 Detect empty summary and don't change selected message.
10005 (rmail-summary-goto-msg): Likewise.
10006
df8f35df
RS
10007 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10008 Doc fixes, rename args.
10009
5356e1a3
AM
100102013-05-05 Alan Mackenzie <acm@muc.de>
10011
10012 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10013
d44014cb
JL
100142013-05-05 Juri Linkov <juri@jurta.org>
10015
10016 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10017 to not add the length of the summary segment to the return value.
10018 (Bug#14125)
10019
c129b51f
LL
100202013-05-05 Leo Liu <sdl.web@gmail.com>
10021
10022 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10023 (inferior-octave-output-filter): Remove.
10024 (octave-send-region, inferior-octave-startup): Fix callers.
10025 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10026 (octave-binary-file-extensions): New user variable.
10027 (octave-find-definition): Confirm if opening binary files.
10028 (octave-help-file): Use octave-find-definition to get the binary
10029 confirmation.
10030 (octave-help): Adjust for octave-help-file change.
10031
aa7dab97
SM
100322013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10035 Merge the two entries that handle function definitions.
10036 (pascal--syntax-propertize): New const.
10037 (pascal-mode): Use it. Use setq-local.
10038
fd3a9a6b
GM
100392013-05-04 Glenn Morris <rgm@gnu.org>
10040
10041 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10042 (diary-from-outlook): Respect diary-from-outlook-function.
10043
30c7e542
SM
100442013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10047 Move the declaration from C.
10048 (read-minibuffer, eval-minibuffer): Move from C.
10049 (completion-setup-function): Avoid minibuffer-completion-contents.
10050
b54f978b
LL
100512013-05-03 Leo Liu <sdl.web@gmail.com>
10052
10053 * progmodes/octave.el (octave-font-lock-keywords): Do not
10054 dehighlight 'end' in comments or strings.
30c7e542
SM
10055 (octave-completing-read, octave-goto-function-definition):
10056 New helpers.
d4d0f9b3
LL
10057 (octave-help-buffer): New user variable.
10058 (octave-help-file, octave-help-function): New button types.
10059 (octave-help): New command and bind it to C-h ;.
10060 (octave-find-definition): New command and bind it to M-.
d74a1581 10061 (user-error): Alias to error if not defined.
b54f978b 10062
27135018
LL
100632013-05-02 Leo Liu <sdl.web@gmail.com>
10064
10065 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10066 for \. (bug#14332)
10067 (octave-font-lock-keywords): Include [ and {.
10068
0d634d3a
LL
100692013-05-02 Leo Liu <sdl.web@gmail.com>
10070
10071 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10072 (inferior-octave): Remove calling comint-mode and return the buffer.
10073 (inferior-octave-startup): Cosmetic changes.
10074
b4c8295e
LL
100752013-05-02 Leo Liu <sdl.web@gmail.com>
10076
30c7e542
SM
10077 * progmodes/octave.el (octave-syntax-propertize-function):
10078 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10079
f12ad6ec
GM
100802013-05-02 Glenn Morris <rgm@gnu.org>
10081
10082 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10083 * desktop.el (vc-dir-mode): Just autoload it here.
10084
30cac1e0
AM
100852013-05-02 Alan Mackenzie <acm@muc.de>
10086
10087 Eliminate variable c-standard-font-lock-fontify-region-function.
10088 * progmodes/cc-mode.el
10089 (c-standard-font-lock-fontify-region-function): Remove.
10090 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10091
d8ef28b1
LL
100922013-05-01 Leo Liu <sdl.web@gmail.com>
10093
2640d52e 10094 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10095 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10096 variables were removed from Octave in 2007.
d8ef28b1
LL
10097 (inferior-octave-startup): Fix uses.
10098 (comint-line-beginning-position): Remove compatibility code for
10099 emacs 21.
10100
ac63ec89
JL
101012013-05-01 Juri Linkov <juri@jurta.org>
10102
10103 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10104
9e9be37c
JL
101052013-05-01 Juri Linkov <juri@jurta.org>
10106
10107 * comint.el (comint-previous-matching-input): Don't print message
10108 "History item: %d" when `isearch-mode' is active.
10109 (comint-history-isearch-message): Print message "History item: %d"
10110 when `comint-input-ring-index' is not empty and this function is
10111 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10112
9b92c13b
LL
101132013-05-01 Leo Liu <sdl.web@gmail.com>
10114
10115 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10116 definitions. Use completion-at-point to insert keywords.
10117 (octave-abbrev-start): Remove.
10118 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10119
b12d33d7
LL
101202013-04-30 Leo Liu <sdl.web@gmail.com>
10121
10122 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10123 change.
10124
3d1c39fa
AM
101252013-04-30 Alan Mackenzie <acm@muc.de>
10126
10127 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10128 * progmodes/cc-engine.el (c-back-over-member-initializers):
10129 new function.
3d1c39fa
AM
10130 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10131 (most) member init lists.
10132
5147fc17
RS
101332013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10134
10135 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10136 variable.
10137
5b78d7fc
LL
101382013-04-30 Leo Liu <sdl.web@gmail.com>
10139
10140 * progmodes/octave.el (octave-variables): Remove. No builtin
10141 variables any more. All converted to functions.
10142 (octave-font-lock-keywords, octave-completion-at-point-function):
10143 Fix uses.
10144 (octave-font-lock-texinfo-comment): New user variable.
10145 (octave-texinfo-font-lock-keywords): New variable for texinfo
10146 comment block.
10147 (octave-function-comment-block): New face.
10148 (octave-font-lock-texinfo-comment): New function.
10149 (octave-mode): Font lock texinfo comment block.
10150
38d8527b
LL
101512013-04-29 Leo Liu <sdl.web@gmail.com>
10152
10153 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10154 indexing expression.
10155 (octave-continuation-string): Do not use \.
10156 (inferior-octave-complete-impossible): Remove.
10157 (inferior-octave-completion-table)
10158 (inferior-octave-completion-at-point): Remove its uses.
10159 (inferior-octave-startup): completion_matches was introduced to
10160 Octave in 1996 so safe to assume it.
10161 (octave-function-file-comment): Improve to follow how Octave does it.
10162 (octave-update-function-file-comment): Tweak.
10163
2ec12cb0
LL
101642013-04-29 Leo Liu <sdl.web@gmail.com>
10165
10166 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10167 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10168 (octave-function-file-comment): Fix typo.
10169 (octave-sync-function-file-names): Use read-char-choice.
10170
6eaed048
JB
101712013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10172
10173 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10174 to t for the less important warnings.
10175
3ffa2d4f
DH
101762013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10177
10178 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10179
685c9501
GM
101802013-04-27 Glenn Morris <rgm@gnu.org>
10181
10182 * vc/log-view.el (log-view-current-entry):
10183 Treat "---" separator lines as part of the following rev. (Bug#14169)
10184
0208ede7
JL
101852013-04-27 Juri Linkov <juri@jurta.org>
10186
10187 * subr.el (read-number): Doc fix about using it by interactive
10188 code letter `n'. (Bug#14254)
10189
5db9dace
JL
101902013-04-27 Juri Linkov <juri@jurta.org>
10191
10192 * desktop.el (desktop-auto-save-timeout): New option.
10193 (desktop-file-checksum): New variable.
10194 (desktop-save): Add optional arg `auto-save' and don't auto-save
10195 if nothing changed.
10196 (desktop-auto-save-timer): New variable.
10197 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10198 (after-init-hook): Call `desktop-auto-save-set-timer'.
10199 Suggested by Reuben Thomas <rrt@sc3d.org> in
10200 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10201
b7260dd4
LL
102022013-04-27 Leo Liu <sdl.web@gmail.com>
10203
10204 * progmodes/octave.el (octave-function-file-p)
10205 (octave-skip-comment-forward, octave-function-file-comment)
10206 (octave-update-function-file-comment): New functions.
10207 (octave-mode-map): Bind C-c ; to
10208 octave-update-function-file-comment.
10209 (octave-mode-menu): Add octave-update-function-file-comment.
10210 (octave-mode, inferior-octave-mode): Fix doc-string.
10211 (octave-insert-defun): Conform to Octave's coding convention.
10212 (Bug#14285)
10213
10214 * files.el (basic-save-buffer): Don't let errors in
10215 before-save-hook prevent saving buffer.
10216
c46da669
RW
102172013-04-20 Roland Winkler <winkler@gnu.org>
10218
10219 * faces.el (read-face-name): Use completing-read if arg multiple
10220 is nil.
10221
a81ee1eb
IL
102222013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10223
10224 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10225 displayed, move point to after the totals line.
10226 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10227 for the details.
10228
4fac34ce
SM
102292013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10232 Add current dir to the load-path.
10233 (package-generate-autoloads): Don't rely on
10234 autoload-ensure-default-file.
10235
f6bfc063
RT
102362013-04-26 Reuben Thomas <rrt@sc3d.org>
10237
d40ab5cf
BG
10238 * textmodes/remember.el (remember-store-in-files): Document that
10239 the file name format is passed to `format-time-string'.
f6bfc063 10240
e55d3b04
LL
102412013-04-26 Leo Liu <sdl.web@gmail.com>
10242
10243 * progmodes/octave.el (octave-sync-function-file-names): New function.
10244 (octave-mode): Use it in before-save-hook.
10245
e53052d3
SM
102462013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10247
140ef50c
SM
10248 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10249 (bug#14274).
10250
e53052d3
SM
10251 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10252 \n and comment, even if it's not an implicit ; (bug#14218).
10253
af80458d 102542013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10255
10256 * subr.el (read-number): Once more use `read' rather than
10257 `string-to-number', to trap non-numeric input. (Bug#14254)
10258
af80458d 102592013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10260
10261 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10262 Use `syntax-multiline' text property consistently instead of
8a621d53 10263 `font-lock-multiline'. (Bug#14237)
70203c2e 10264
e6ea1f6c
GM
102652013-04-26 Glenn Morris <rgm@gnu.org>
10266
10267 * emacs-lisp/shadow.el (list-load-path-shadows):
10268 No longer necessary to check for duplicate simple.el, since
10269 2012-07-07 change to init_lread to not include installation lisp
10270 directories in load-path when running uninstalled. (Bug#14270)
10271
070ccca4
LL
102722013-04-26 Leo Liu <sdl.web@gmail.com>
10273
10274 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10275 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10276 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10277 octave-in-string-or-comment-p.
10278 (octave-in-comment-p, octave-in-string-p)
10279 (octave-in-string-or-comment-p): Replace defsubst with defun.
10280
9d1c5fb6
PE
102812013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10282
10283 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10284
c034abda
BG
102852013-04-25 Bastien Guerry <bzg@gnu.org>
10286
10287 * textmodes/remember.el (remember-data-directory)
10288 (remember-directory-file-name-format): Fix custom types.
10289
584ea277
LL
102902013-04-25 Leo Liu <sdl.web@gmail.com>
10291
e53052d3
SM
10292 * progmodes/octave.el (octave-completion-at-point-function):
10293 Make use of inferior octave process.
584ea277
LL
10294 (octave-initialize-completions): Remove.
10295 (inferior-octave-completion-table): New function.
10296 (inferior-octave-completion-at-point): Use it.
10297 (octave-completion-alist): Remove.
10298
1693b06a
SM
102992013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10302 (opascal-mode-syntax-table): New var.
10303 (opascal-literal-kind, opascal-is-literal-end)
10304 (opascal-literal-token-at): Rewrite.
10305 (opascal--literal-start-re, opascal-font-lock-keywords)
10306 (opascal--syntax-propertize): New constants.
10307 (opascal-font-lock-defaults): Adjust.
10308 (opascal-mode): Use them. Set comment-<foo> variables as well.
10309 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10310 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10311 (delphi-other-face, opascal-other-face): Remove face variables.
10312 (opascal-save-state): Remove macro.
10313 (opascal-fontifying-progress-step): Remove constant.
10314 (opascal--ignore-changes): Remove var.
10315 (opascal-set-token-property, opascal-parse-next-literal)
10316 (opascal-is-stable-literal, opascal-complete-literal)
10317 (opascal-is-literal-start, opascal-face-of)
10318 (opascal-parse-region, opascal-parse-region-until-stable)
10319 (opascal-fontify-region, opascal-after-change)
10320 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10321 (opascal-debug-parse-region, opascal-debug-parse-window)
10322 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10323 (opascal-debug-fontify-buffer): Remove.
10324 (opascal-debug-mode-map): Adjust accordingly.
10325
be64c05d
LL
103262013-04-25 Leo Liu <sdl.web@gmail.com>
10327
10328 Merge octave-mod.el and octave-inf.el into octave.el with some
10329 cleanups.
10330 * progmodes/octave.el: New file renamed from octave-mod.el.
10331 * progmodes/octave-inf.el: Merged into octave.el.
10332 * progmodes/octave-mod.el: Renamed to octave.el.
10333
d79d37bd
TH
103342013-04-25 Tassilo Horn <tsdh@gnu.org>
10335
10336 * textmodes/reftex-vars.el
10337 (reftex-label-ignored-macros-and-environments): New defcustom.
10338
10339 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10340
ced3fc5d
SM
103412013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10344 (smie-indent-keyword): Improve the check to ensure that the next
10345 comment is really on the same line.
10346 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10347
10348 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10349 semi-colons if the line is not otherwise empty (bug#14218).
10350
1c141dad
GM
103512013-04-25 Glenn Morris <rgm@gnu.org>
10352
10353 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10354
5058062a
SM
103552013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10356
10357 * progmodes/opascal.el (opascal-set-token-property): Rename from
10358 opascal-set-text-properties and only set `token' (bug#14134).
10359 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10360 (opascal-literal-text-properties): Remove.
10361 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10362 Adjust callers.
10363
5db9dace 103642013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10365
10366 * textmodes/remember.el (remember-handler-functions): Add an
10367 option for a new handler `remember-store-in-files'.
10368 (remember-data-directory, remember-directory-file-name-format):
10369 New options.
10370 (remember-store-in-files): New function to store remember notes
10371 as separate files within a directory.
10372
4391916c
MH
103732013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10374
10375 * progmodes/compile.el (compilation-next-error-function):
10376 Pass "formats" to compilation-find-file (bug#11777).
10377
bb7cdf58
GM
103782013-04-24 Glenn Morris <rgm@gnu.org>
10379
3b8fe752 10380 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10381 * vc/vc-hg.el (vc-hg-print-log):
10382 * vc/vc-svn.el (vc-svn-print-log):
10383 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10384
bb7cdf58
GM
10385 * vc/vc-bzr.el (vc-bzr-print-log):
10386 * vc/vc-cvs.el (vc-cvs-print-log):
10387 * vc/vc-git.el (vc-git-print-log):
10388 * vc/vc-hg.el (vc-hg-print-log):
10389 * vc/vc-mtn.el (vc-mtn-print-log):
10390 * vc/vc-rcs.el (vc-rcs-print-log):
10391 * vc/vc-sccs.el (vc-sccs-print-log):
10392 * vc/vc-svn.el (vc-svn-print-log):
10393 * vc/vc.el (vc-print-log-internal): Doc fixes.
10394
b46a056e
GM
103952013-04-23 Glenn Morris <rgm@gnu.org>
10396
10397 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10398 Remove venerable code attempting to avoid substitute-command-keys.
10399
0aecf718
TH
104002013-04-23 Tassilo Horn <tsdh@gnu.org>
10401
4391916c
MH
10402 * textmodes/reftex-vars.el (reftex-label-regexps):
10403 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10404
117f94cf
SM
104052013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10406
4391916c 10407 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10408 Use lexical-binding.
10409 (jit-lock-force-redisplay): Use markers, check buffer's continued
10410 existence and beware narrowed buffers.
10411 (jit-lock-fontify-now): Adjust call accordingly.
10412
1d829c64
SM
104132013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10416 to avoid misleading the user.
10417
72d548a9
LL
104182013-04-22 Leo Liu <sdl.web@gmail.com>
10419
10420 * info-look.el: Prefer latex2e.info. (Bug#14240)
10421
d0853629
MA
104222013-04-22 Michael Albinus <michael.albinus@gmx.de>
10423
10424 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10425
10426 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10427 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10428 (tramp-set-completion-function, tramp-parse-putty):
10429 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10430 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10431 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10432 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10433 (tramp-call-local-coding-command): Use `tramp-call-process'
10434 instead of `tramp-compat-call-process'.
10435
10436 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10437 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10438 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10439 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10440 (tramp-maybe-send-script): Check for Perl binary.
10441 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10442
38cc0210
DU
104432013-04-22 Daiki Ueno <ueno@gnu.org>
10444
10445 * epg.el (epg-context-pinentry-mode): New function.
10446 (epg-context-set-pinentry-mode): New function.
10447 (epg--start): Pass --pinentry-mode option to gpg command.
10448
cc641ee1
XF
104492013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10450
02d844b5 10451 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10452 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10453 `completion-at-point'. (Bug#13774)
5d4e5c31 10454
cc641ee1
XF
10455 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10456 default key binding for `describe-distribution' has been moved to
10457 `C-h C-o'. (Bug#13970)
10458
1b42ee43
GM
104592013-04-21 Glenn Morris <rgm@gnu.org>
10460
10461 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10462 Add doc strings.
10463 (vc-print-log): Clarify interactive prompt.
10464
a6d63d97
GM
104652013-04-20 Glenn Morris <rgm@gnu.org>
10466
10467 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10468 No longer include timestamp etc information.
10469
d7f5c16f
RW
104702013-04-20 Roland Winkler <winkler@gnu.org>
10471
10472 * faces.el (read-face-name): Bug fix, return just one face if arg
10473 multiple is nil. (Bug#14209)
10474
bcd7a0a4
SM
104752013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10478 (remove-function): Autoload.
10479
10480 * comint.el (comint-redirect-original-filter-function): Remove.
10481 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10482 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10483 (vc-cvs-annotate-command):
bcd7a0a4
SM
10484 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10485 * progmodes/prolog.el (prolog-consult-compile):
10486 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10487 Use add/remove-function instead.
10488 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10489 (gud-tooltip-process-output, gud-tooltip-tips):
10490 Use add/remove-function instead.
10491 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10492 (scheme-interaction-mode, exit-scheme-interaction-mode):
10493 Use add/remove-function instead.
10494
10495 * vc/vc-dispatcher.el: Use lexical-binding.
10496 (vc--process-sentinel): Rename from vc-process-sentinel.
10497 Change last arg to be the code to run. Don't use vc-previous-sentinel
10498 and vc-sentinel-commands any more.
10499 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10500 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10501
e36b2d20 105022013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10503
bcd7a0a4 10504 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10505 Handle function names with a single character. (Bug#14111)
4d3268ba 10506
781b4af6 105072013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10508
10509 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10510 for subroutines defined in an eval (bug#14182).
10511
7d688336
TV
105122013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10513
10514 * bookmark.el (bookmark-completing-read): Improve handling of empty
10515 string (bug#14176).
10516
31dcede0
SM
105172013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10518
10519 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10520
adc31213
FEG
105212013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10522
10523 New faster Imenu implementation (bug#14058).
10524 * progmodes/python.el:
10525 (python-imenu-prev-index-position):
10526 (python-imenu-format-item-label-function)
10527 (python-imenu-format-parent-item-label-function)
10528 (python-imenu-format-parent-item-jump-label-function):
10529 New vars.
10530 (python-imenu-format-item-label)
10531 (python-imenu-format-parent-item-label)
10532 (python-imenu-format-parent-item-jump-label)
10533 (python-imenu--put-parent, python-imenu--build-tree)
10534 (python-imenu-create-index, python-imenu-create-flat-index)
10535 (python-util-popn): New functions.
10536 (python-mode): Set imenu-create-index-function to
10537 python-imenu-create-index.
10538
cdca8255
SM
105392013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * winner.el (winner-active-region): Use region-active-p, activate-mark
10542 and deactivate-mark (bug#14225).
10543
10544 * simple.el (deactivate-mark): Don't inline it.
10545
beb42340
MA
105462013-04-18 Michael Albinus <michael.albinus@gmx.de>
10547
10548 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10549
fc7f4d7e
TH
105502013-04-18 Tassilo Horn <tsdh@gnu.org>
10551
10552 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10553 file extensions from the archive-mode entry in order to prefer
10554 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10555
29f47822
LL
105562013-04-18 Leo Liu <sdl.web@gmail.com>
10557
10558 * bindings.el (help-event-list): Add ?\?.
10559
d36ed1c8
SM
105602013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10561
10562 * subr.el (with-wrapper-hook): Declare obsolete.
10563 * simple.el (filter-buffer-substring-function): New hook.
10564 (filter-buffer-substring): Use it.
10565 (filter-buffer-substring-functions): Mark obsolete.
10566 * minibuffer.el (completion-in-region-function): New hook.
10567 (completion-in-region): Use it.
10568 (completion-in-region-functions): Mark obsolete.
10569 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10570 * abbrev.el (abbrev-expand-function): New hook.
10571 (expand-abbrev): Use it.
10572 (abbrev-expand-functions): Mark obsolete.
10573 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10574 and :filter-return.
10575
04754d36
FEG
105762013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10577
10578 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10579 and do not care about match data.
10580
dd8791e9
SM
105812013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10582
10583 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10584 completion tables when completing error conditions and
10585 `declare' arguments.
10586 (lisp-complete-symbol, field-complete): Mark as obsolete.
10587 (check-parens): Unmatched parens are user errors.
10588 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10589
ffe54a13
AM
105902013-04-17 Michal Nazarewicz <mina86@mina86.com>
10591
dd8791e9
SM
10592 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10593 command changed buffer (ie. `flyspell-pre-buffer' is not current
10594 buffer), which prevents making decisions based on invalid value of
10595 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10596 cause an error when `flyspell-pre-point' was nil after switching
10597 buffers.
10598 (flyspell-post-command-hook): No longer needs to change buffers when
10599 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10600
ec7e39f2
AM
106012013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10602
10603 * textmodes/ispell.el (ispell-add-per-file-word-list):
10604 Fix `flyspell-correct-word-before-point' error when accepting
10605 words and `coment-padding' is an integer by using
10606 `comment-normalize-vars' (Bug #14214).
10607
083850a6
FEG
106082013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10609
10610 New defun movement commands.
10611 * progmodes/python.el (python-nav--syntactically)
10612 (python-nav--forward-defun, python-nav-backward-defun)
10613 (python-nav-forward-defun): New functions.
10614
619ed6e1
FEG
106152013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10616
10617 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10618 (python-syntax-context): Use named compiler-macro for backwards
10619 compatibility with Emacs 24.x.
10620
7a1beb6c
LL
106212013-04-17 Leo Liu <sdl.web@gmail.com>
10622
10623 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10624 octave-hide-process-buffer.
10625
2d3fa3e5
SM
106262013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10627
10628 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10629 (bug#14216).
10630
7ce5be54
JPG
106312013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10632
10633 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10634 Fix adjustment of offset when receiving incomplete responses from GDB
10635 (bug#14129).
10636
351edece
SM
106372013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10638
10639 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10640 python-mode-abbrev-table.
10641 (python-skeleton-define): Adjust accordingly.
10642 (python-mode-abbrev-table): New table that inherits from it so that
10643 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10644
10645 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10646 (abbrev-symbol): Use it.
10647 (abbrev--before-point): Use it since we already handle inheritance.
10648
613f9481
LL
106492013-04-16 Leo Liu <sdl.web@gmail.com>
10650
10651 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10652 binding to info-lookup-symbol.
10653
51646b62
JB
106542013-04-16 Juanma Barranquero <lekktu@gmail.com>
10655
10656 * minibuffer.el (completion--twq-all):
10657 * term/ns-win.el (ns-initialize-window-system):
10658 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10659
efb3f01d
SM
106602013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10661
36c0a301
SM
10662 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10663 global bindings.
10664
efb3f01d
SM
10665 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10666
fb549d64
DG
106672013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10668
10669 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10670 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10671 to nil.
10672 (ruby-end-of-defun): Remove the unused arg, change the docstring
10673 to reflect that this function is only used as the value of
10674 `end-of-defun-function'.
10675 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10676 to reflect an earlier change that beginning/end-of-defun functions
10677 jump between methods in a class definition, as well as top-level
10678 functions.
10679
21e8fe2f
SM
106802013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10681
10682 * minibuffer.el (minibuffer-complete): Don't just scroll
10683 a *Completions* that's been iconified.
10684 (minibuffer-force-complete): Make sure repetitions do cycle when going
10685 through completion-in-region -> minibuffer-complete.
10686
20e527d0
AM
106872013-04-15 Alan Mackenzie <acm@muc.de>
10688
10689 Correct the placement of c-cpp-delimiters when there're #s not at
10690 col 0.
10691
10692 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10693 place a submatch around the #.
21e8fe2f
SM
10694 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10695 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10696 on the #, not BOL.
10697
dabefae5
SM
106982013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10699
10700 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10701 (advice--member-p): New arg `name'.
10702 (advice--add-function, advice-member-p): Use it (bug#14202).
10703
85c9ab64
AM
107042013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10705
10706 Reformulate java imenu-generic-expression.
10707 The old expression contained ill formed regexps.
10708
10709 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10710 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10711 (cc-imenu-java-method-arg-regexp): New defconsts.
10712 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10713 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10714 handling of spaces in the regexp.
10715
0f821d99
AM
107162013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10717
10718 * textmodes/ispell.el (ispell-command-loop): Remove
10719 flyspell highlight of a word when ispell accepts it (bug #14178).
10720
eb922adf
MA
107212013-04-15 Michael Albinus <michael.albinus@gmx.de>
10722
10723 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10724 uses code from the previous `ange-ftp-run-real-handler'.
10725 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10726 only in case that function exist. This is needed for proper
10727 unloading of Tramp.
10728
4d9a0979
TH
107292013-04-15 Tassilo Horn <tsdh@gnu.org>
10730
10731 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10732
10733 * textmodes/reftex.el (reftex-compile-variables): Use it.
10734
a829b0dc
SM
107352013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10736
91e8293c
SM
10737 * files.el (normal-mode): Only use default major-mode if no other mode
10738 was specified.
10739
830aed4d
SM
10740 * emacs-lisp/trace.el (trace-values): New function.
10741
a829b0dc
SM
10742 * files.el: Allow : in local variables (bug#14089).
10743 (hack-local-variable-regexp): New var.
10744 (hack-local-variables-prop-line, hack-local-variables): Use it.
10745
7ae9f0fb
RW
107462013-04-13 Roland Winkler <winkler@gnu.org>
10747
10748 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10749 data before it gets modified by bibtex-beginning-of-entry.
10750
6646e848
RW
107512013-04-13 Roland Winkler <winkler@gnu.org>
10752
10753 * textmodes/bibtex.el (bibtex-url): Doc fix.
10754
107552013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10756
10757 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10758 does not visit a BibTeX file, exclude it from the list of buffers
10759 returned by bibtex-initialize.
10760
0aa3616e
SB
107612013-04-13 Stephen Berman <stephen.berman@gmx.net>
10762
10763 * window.el (split-window): Remove interactive form, since as a
10764 command this function is a special case of split-window-below.
10765 Correct doc string.
10766
011cddd6
RW
107672013-04-12 Roland Winkler <winkler@gnu.org>
10768
10769 * faces.el (read-face-name): Do not override value of arg default.
10770 Allow single faces and strings as default values. Remove those
10771 elements from return value that are not faces.
10772 (describe-face): Simplify.
10773 (face-at-point): New optional args thing and multiple so that this
10774 function can provide the same functionality previously provided by
10775 read-face-name.
10776 (make-face-bold, make-face-unbold, make-face-italic)
10777 (make-face-unitalic, make-face-bold-italic, invert-face)
10778 (modify-face, read-face-and-attribute): Use face-at-point.
10779
10780 * cus-edit.el (customize-face, customize-face-other-window)
10781 * cus-theme.el (custom-theme-add-face)
10782 * face-remap.el (buffer-face-set)
10783 * facemenu.el (facemenu-set-face): Use face-at-point.
10784
f24e0036
MA
107852013-04-12 Michael Albinus <michael.albinus@gmx.de>
10786
10787 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10788
da3cda2d
TH
107892013-04-10 Tassilo Horn <tsdh@gnu.org>
10790
10791 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10792 off leading { and trailing } from field values.
10793
15e54145
SM
107942013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10795
78ce603d
SM
10796 * emacs-lisp/timer.el (timer--check): New function.
10797 (timer--time, timer-set-function, timer-event-handler): Use it.
10798 (timer-set-idle-time): Simplify.
10799 (timer--activate): CSE.
10800 (timer-event-handler): Give more info in error message.
10801 (internal-timer-start-idle): New function, moved from C.
10802
15e54145
SM
10803 * mpc.el (mpc-proc): Add `restart' argument.
10804 (mpc-proc-cmd): Use it.
10805 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10806 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10807 less often.
10808
7144c627
MY
108092013-04-10 Masatake YAMATO <yamato@redhat.com>
10810
10811 * progmodes/sh-script.el: Implement `sh-mode' own
10812 `add-log-current-defun-function' (bug#14112).
10813 (sh-current-defun-name): New function.
10814 (sh-mode): Use the function.
10815
b39792eb
BG
108162013-04-09 Bastien Guerry <bzg@gnu.org>
10817
10818 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10819
8acdeb71
SM
108202013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10821
6fcdab68
SM
10822 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10823
8acdeb71
SM
10824 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10825 timer (bug#14156).
10826
e3e7b504
NF
108272013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10828
10829 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10830 declaration.
10831
201bb296
LL
108322013-04-07 Leo Liu <sdl.web@gmail.com>
10833
10834 * pcmpl-x.el: New file.
10835
ebb19708
DA
108362013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10837
10838 Do not set x-display-name until X connection is established.
10839 This is needed to prevent from weird situation described at
10840 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10841 * frame.el (make-frame): Set x-display-name after call to
10842 window system initialization function, not before.
10843 * term/x-win.el (x-initialize-window-system): Add optional
10844 display argument and use it.
10845 * term/w32-win.el (w32-initialize-window-system):
10846 * term/ns-win.el (ns-initialize-window-system):
10847 * term/pc-win.el (msdos-initialize-window-system):
10848 Add compatible optional display argument.
10849
33bb237a
EZ
108502013-04-06 Eli Zaretskii <eliz@gnu.org>
10851
10852 * files.el (normal-backup-enable-predicate): On MS-Windows and
10853 MS-DOS compare truenames of temporary-file-directory and of the
10854 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10855 don't fail comparison by compare-strings. Also, compare file
10856 names case-insensitively on MS-Windows and MS-DOS.
10857
134abf1f
SM
108582013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10859
10860 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10861 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10862
d695cb94
DG
108632013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10864
e3e7b504
NF
10865 * whitespace.el (whitespace-color-on, whitespace-color-off):
10866 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10867
f4ad7ea1 108682013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10869
10870 * ispell.el (ispell-set-spellchecker-params):
10871 Really set `ispell-args' for all equivs.
10872
632556e4
SM
108732013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10874
10875 * ido.el (ido-completions): Use extra elements of ido-decorations
10876 (bug#14143).
10877 (ido-decorations): Update docstring.
10878
2a417372
MA
108792013-04-05 Michael Albinus <michael.albinus@gmx.de>
10880
10881 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10882 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10883 nil during initialization, in order not to miss changes since the
10884 file was opened. (Bug#14140)
10885
fc164b0c
LL
108862013-04-05 Leo Liu <sdl.web@gmail.com>
10887
10888 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10889
0ccecc08
JB
108902013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10891
10892 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10893
51af1aa2
GM
108942013-04-04 Glenn Morris <rgm@gnu.org>
10895
10896 * electric.el (electric-pair-inhibit-predicate): Add :version.
10897
b208ebc6
SM
108982013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10899
10900 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10901 when a package is required several times (bug#14082).
10902
f3d3eaf0
RW
109032013-04-04 Roland Winkler <winkler@gnu.org>
10904
10905 * faces.el (read-face-name): Behave as promised by the docstring.
10906 Assume that arg default is a list of faces.
10907 (describe-face): Call read-face-name with list of default faces.
10908
2575da50
TV
109092013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10910
10911 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10912 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10913 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10914 the header.
10915 (bookmark-exit-hook-internal): Save even if list is empty.
10916
397703b4
YH
109172013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10918
10919 * emacs-lisp/package.el (package-pinned-packages): New var.
10920 (package--add-to-archive-contents): Obey it (bug#14118).
10921
691e26ae
AM
109222013-04-03 Alan Mackenzie <acm@muc.de>
10923
8a621d53
JB
10924 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10925 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10926
10927 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10928 parameter `not-in-delimiter'. Handle being inside comment opener.
10929 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10930 character in case we're typing a '*' after a '/'.
10931 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10932 instead by passing the parameter to c-state-pp-to-literal.
10933
10934 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10935 for elt. 7 of a parse state.
10936
4b725a70
PE
109372013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10938
10939 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10940 * international/latin1-disp.el, international/mule-util.el:
10941 * language/cyril-util.el, language/european.el, language/ind-util.el:
10942 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10943 * language/tibetan.el, language/viet-util.el:
10944 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10945
15c579f0
SM
109462013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10949 (electric-pair-post-self-insert-function): Use it.
10950 (electric-pair-default-inhibit): New function, extracted from
10951 electric-pair-post-self-insert-function.
10952
a77e2924
RW
109532013-03-31 Roland Winkler <winkler@gnu.org>
10954
10955 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10956
2bd8a4a8
SM
109572013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10958
10959 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10960
8d3655be 109612013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10962
10963 Un-indent after "pass" and "return" statements (Bug#13888)
10964 * progmodes/python.el (python-indent-block-enders): New var.
10965 (python-indent-calculate-indentation): Use it.
10966
8d3655be 109672013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10968
10969 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10970 defun. Defining it as defalias could introduce too eager
10971 byte-compiler optimization. (Bug#14030)
10972
8d3655be 109732013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10974
10975 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10976
0b1619da
LL
109772013-03-30 Leo Liu <sdl.web@gmail.com>
10978
10979 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10980 (kmacro-execute-from-register): Pass the keyboard macro to
10981 kmacro-call-macro or repeating won't work correctly.
10982
0b938190
TZ
109832013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10984
10985 * progmodes/subword.el: Back to using `forward-symbol'.
10986
10987 * subr.el (forward-whitespace, forward-symbol)
10988 (forward-same-syntax): Move from thingatpt.el.
10989
35710234
LL
109902013-03-29 Leo Liu <sdl.web@gmail.com>
10991
10992 * kmacro.el (kmacro-to-register): New command.
10993 (kmacro-execute-from-register): New function.
10994 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10995
efc0bb73
SM
109962013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * mpc.el: Use defvar-local and setq-local.
10999 (mpc--proc-connect): Connection failures are not bugs.
11000 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11001 (mpc-volume-map): Bind to the up-events.
11002
75a2f981
TZ
110032013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11004
11005 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11006 instead of `forward-symbol'.
11007
17c781d1
SM
110082013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11009
11010 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11011 (edebug--recursive-edit): Use it.
11012 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11013 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11014
f67bfbcf
LL
110152013-03-28 Leo Liu <sdl.web@gmail.com>
11016
11017 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11018
b59f639d
EZ
110192013-03-27 Eli Zaretskii <eliz@gnu.org>
11020
11021 * facemenu.el (list-colors-callback): New defvar.
11022 (list-colors-redisplay): New function.
11023 (list-colors-display): Install list-colors-redisplay as the
11024 revert-buffer-function. (Bug#14063)
11025
f557c1b1
SM
110262013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11027
b1da2957
SM
11028 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11029 and suffixes don't overlap (bug#14061).
11030
f557c1b1
SM
11031 * case-table.el: Use lexical-binding.
11032 (case-table-get-table): New function.
11033 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11034
002668e1
TZ
110352013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11036
11037 * progmodes/subword.el: Add `superword-mode' to do word motion
11038 over symbol_words (parallels and leverages `subword-mode' which
11039 does word motion inside MixedCaseWords).
11040
73572c72
AG
110412013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11042
78b8f320 11043 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11044 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11045
69b2c07e
SM
110462013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11047
11048 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11049 Change return value to be a sexp. Delay `get-buffer' to after
11050 restoring the desktop (bug#13951).
11051
08bb5ee2
LL
110522013-03-26 Leo Liu <sdl.web@gmail.com>
11053
11054 * register.el: Move semantic tag handling back to
11055 cedet/semantic/senator.el. (Bug#14052)
11056
8d4c974e
SM
110572013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11060 into the prompt either (bug#13963).
11061
b234d92c
SM
110622013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11063
11064 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11065 part of "(error-foo)".
11066
ddfa3cb4
JL
110672013-03-24 Juri Linkov <juri@jurta.org>
11068
11069 * replace.el (list-matching-lines-prefix-face): New defcustom.
11070 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11071 `occur-engine' if `face-differs-from-default-p' returns t.
11072 (occur-engine): Add `,' inside backquote construct to evaluate
11073 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11074 Pass `prefix-face' to the functions `occur-context-lines' and
11075 `occur-engine-add-prefix'.
11076 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11077 `prefix-face' and propertize the prefix with `prefix-face'.
11078 (Bug#14017)
11079
7b0e2f85
LL
110802013-03-24 Leo Liu <sdl.web@gmail.com>
11081
11082 * nxml/rng-valid.el (rng-validate-while-idle)
11083 (rng-validate-quick-while-idle): Guard against deleted buffer.
11084 (Bug#13999)
11085
11086 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11087 is the last entry in kill-buffer-hook.
11088
11089 * files.el (kill-buffer-hook): Doc fix.
11090
b3082f49
DG
110912013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11092
b234d92c
SM
11093 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11094 Make it safe-local.
bde73d27 11095
b3082f49
DG
11096 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11097
a320a2db
LL
110982013-03-23 Leo Liu <sdl.web@gmail.com>
11099
7e74b0fb
LL
11100 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11101 Remove.
11102
11103 * nxml/rng-valid.el (rng-validate-mode)
11104 (rng-after-change-function, rng-do-some-validation):
11105 * nxml/rng-maint.el (rng-validate-buffer):
11106 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11107 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11108 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11109 (nxml-extend-after-change-region): Use with-silent-modifications.
11110
a320a2db
LL
11111 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11112 timer-idle-list.
11113
11114 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11115 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11116 timer-idle-list. (Bug#13999)
11117
e38e6780
JL
111182013-03-23 Juri Linkov <juri@jurta.org>
11119
11120 * info.el (info-index-match): New face.
11121 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11122 main pattern and add text properties with the new face to matches
11123 in index entries relative to the beginning of the index entry.
11124 (Bug#14015)
11125
e8cc7880
DE
111262013-03-21 Eric Ludlam <zappo@gnu.org>
11127
11128 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11129 Inhibit read only while inserting objects.
11130
9bb0d822
TZ
111312013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11132
11133 * progmodes/cfengine.el: Update docs to mention
11134 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11135 symbol motion. Remove "_" from the word syntax.
11136
aa703640
TZ
111372013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11138
11139 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11140 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11141
afff09d0
JL
111422013-03-20 Juri Linkov <juri@jurta.org>
11143
11144 * info.el (Info-next-reference-or-link)
11145 (Info-prev-reference-or-link): New functions.
11146 (Info-next-reference, Info-prev-reference): Use them.
11147 (Info-try-follow-nearest-node): Handle footnote navigation.
11148 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11149
9a1ff164
SM
111502013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11151
11152 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11153 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11154
2667d15d
PE
111552013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11156
11157 Suppress unnecessary non-ASCII chatter during build process.
11158 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11159 (batch-skkdic-convert): Suppress most of the chatter.
11160 It's not needed so much now that machines are faster,
11161 and its non-ASCII component was confusing; see Dmitry Gutov in
11162 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11163
438b0579
LL
111642013-03-20 Leo Liu <sdl.web@gmail.com>
11165
11166 * ido.el (ido-chop): Fix bug#10994.
11167
c128ab07
DG
111682013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11169
11170 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11171 Remove vars.
9a1ff164
SM
11172 (whitespace-color-on, whitespace-color-off):
11173 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11174
0e6008c5
SM
111752013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11176
11177 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11178 remapping in mode-line.
11179 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11180
627b52b0
DG
111812013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11182
11183 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11184 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11185 (whitespace-font-lock-keywords): Change description.
11186 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11187 the constructed keywords instead.
11188 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11189
50c3a20b
LL
111902013-03-19 Leo Liu <sdl.web@gmail.com>
11191
11192 * progmodes/compile.el (compilation-display-error): New command.
11193 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11194 C-o. (Bug#13992)
11195
2aa2157b
PE
111962013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11197
11198 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11199
e477dbfa
JD
112002013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11201
11202 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11203
64ab82d1
MA
112042013-03-18 Michael Albinus <michael.albinus@gmx.de>
11205
11206 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11207
11208 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11209 * net/tramp-gvfs.el (top):
11210 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11211 (tramp-handle-shell-command): Use it.
11212 (tramp-dissect-file-name): Raise an error when hostname is a
11213 method name, and neither method nor user is specified.
11214
11215 * net/trampver.el: Update release number.
11216
33cef733
LL
112172013-03-18 Leo Liu <sdl.web@gmail.com>
11218
11219 Make sure eldoc can be turned off properly.
11220 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11221 eldoc-mode.
11222 (eldoc-display-message-p): Revert last change.
11223 (eldoc-display-message-no-interference-p)
11224 (eldoc-print-current-symbol-info): Tweak.
11225
2167b7b2
TH
112262013-03-18 Tassilo Horn <tsdh@gnu.org>
11227
11228 * doc-view.el (doc-view-new-window-function): Check the new window
11229 overlay's display property instead the char property of the
11230 buffer's first char. Use `with-selected-window' instead of
11231 `save-window-excursion' with `select-window'.
11232 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11233 display property instead the char property of the buffer's first char.
2167b7b2 11234
982efbcd
PE
112352013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11236
11237 Automate the build of ja-dic.el (Bug#13984).
11238 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11239 from the input, rather than assume that it's been done for us by the
11240 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11241 the current date into a ja-dic.el comment, as that complicates
11242 regression testing.
11243
2fcc7665
SM
112442013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11245
11246 * whitespace.el: Fix double evaluation.
11247 (whitespace-space, whitespace-hspace, whitespace-tab)
11248 (whitespace-newline, whitespace-trailing, whitespace-line)
11249 (whitespace-space-before-tab, whitespace-indentation)
11250 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11251 obsolete defvars.
11252 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11253 (whitespace-color-on): Use a single font-lock-add-keywords call.
11254 Fix double-evaluation of face variables.
11255
67c0a6e6
MA
112562013-03-17 Michael Albinus <michael.albinus@gmx.de>
11257
2fcc7665
SM
11258 * net/tramp-adb.el (tramp-adb-parse-device-names):
11259 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11260 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11261
69489f1d
LL
112622013-03-17 Leo Liu <sdl.web@gmail.com>
11263
11264 Extend eldoc to display info in the mode-line. (Bug#13978)
11265 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11266 (eldoc-mode-line-string): New variable.
11267 (eldoc-minibuffer-message): New function.
11268 (eldoc-message-function): New variable.
11269 (eldoc-message): Use it.
11270 (eldoc-display-message-p)
2fcc7665
SM
11271 (eldoc-display-message-no-interference-p):
11272 Support eldoc-post-insert-mode.
69489f1d
LL
11273
11274 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11275 (eval-expression): Run it.
11276
9c44569e
RW
112772013-03-17 Roland Winkler <winkler@gnu.org>
11278
11279 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11280 strings in the list of return values.
11281
327f1f6f
JB
112822013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11283
11284 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11285 radix before checking for HMS forms.
11286
67ed8fcd
LL
112872013-03-16 Leo Liu <sdl.web@gmail.com>
11288
11289 * progmodes/scheme.el: Add indentation and font-locking for λ.
11290 (Bug#13975)
11291
78be8b64 112922013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11293
11294 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11295 token before point (bug#13942).
11296
78be8b64 112972013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11298
95b43468 11299 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11300
98e775e6
EZ
113012013-03-16 Eli Zaretskii <eliz@gnu.org>
11302
11303 * startup.el (command-line-normalize-file-name): Fix handling of
11304 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11305 <xfq.free@gmail.com> in
11306 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11307
2edd6029
MA
113082013-03-15 Michael Albinus <michael.albinus@gmx.de>
11309
11310 Sync with Tramp 2.2.7.
11311
11312 * net/trampver.el: Update release number.
11313
d35f5864
TH
113142013-03-14 Tassilo Horn <tsdh@gnu.org>
11315
e903c210 11316 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11317 (doc-view-insert-image): Don't modify overlay associated to
11318 non-live windows, and implement horizontal centering of image in
11319 case it's smaller than the window.
11320 (doc-view-new-window-function): Force redisplay of new windows on
11321 doc-view buffers.
d35f5864 11322
1c4a85ed
KF
113232013-03-13 Karl Fogel <kfogel@red-bean.com>
11324
11325 * saveplace.el (save-place-alist-to-file): Don't sort
11326 `save-place-alist', just pretty-print it (bug#13882).
11327
85b66a21
MA
113282013-03-13 Michael Albinus <michael.albinus@gmx.de>
11329
a020afb9
JB
11330 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11331 Check whether `default-file-name-coding-system' is bound.
11332 It isn't in XEmacs.
85b66a21 11333
175600da
SM
113342013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11335
e7f7cb1a
SM
11336 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11337 backquotes for `obsolete' (bug#13929).
11338
175600da
SM
11339 * international/mule.el (find-auto-coding): Include file name in
11340 obsolescence warning (bug#13922).
11341
ca68a22e
TZ
113422013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11343
11344 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11345 for CFEngine 3-specific indentation.
11346 (cfengine3-indent-line): Use it. Fix up category regex.
11347 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11348
940e5099
SM
113492013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * type-break.el (type-break-file-name):
11352 * textmodes/remember.el (remember-data-file):
11353 * strokes.el (strokes-file):
11354 * shadowfile.el (shadow-initialize):
11355 * saveplace.el (save-place-file):
11356 * ps-bdf.el (bdf-cache-file):
11357 * progmodes/idlwave.el (idlwave-config-directory):
11358 * net/quickurl.el (quickurl-url-file):
11359 * international/kkc.el (kkc-init-file-name):
11360 * ido.el (ido-save-directory-list-file):
11361 * emulation/viper.el (viper-custom-file-name):
11362 * emulation/vip.el (vip-startup-file):
11363 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11364 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11365
cc725808
PE
113662013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11367
11368 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11369 * language/thai-word.el: Switch to UTF-8.
11370
a020afb9 11371See ChangeLog.16 for earlier changes.
e3d51b27
MR
11372
11373;; Local Variables:
11374;; coding: utf-8
e3d51b27
MR
11375;; End:
11376
ab422c4d 11377 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11378
11379 This file is part of GNU Emacs.
11380
11381 GNU Emacs is free software: you can redistribute it and/or modify
11382 it under the terms of the GNU General Public License as published by
11383 the Free Software Foundation, either version 3 of the License, or
11384 (at your option) any later version.
11385
11386 GNU Emacs is distributed in the hope that it will be useful,
11387 but WITHOUT ANY WARRANTY; without even the implied warranty of
11388 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11389 GNU General Public License for more details.
11390
11391 You should have received a copy of the GNU General Public License
11392 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.