* lisp/replace.el (occur-engine): Use `add-face-text-property'
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
501158bc
JL
12013-12-20 Juri Linkov <juri@jurta.org>
2
3 * replace.el (occur-engine): Use `add-face-text-property'
4 to add the face property to matches and titles. (Bug#14645)
5
6 * hi-lock.el (hi-green): Use lighter color "light green" closer to
7 the palette of other hi-lock colors.
8 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
9
50ab1da6
JL
102013-12-19 Juri Linkov <juri@jurta.org>
11
12 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
13 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14 (minibuffer-history-symbol): Move variable declaration closer to
15 its usage.
16
17 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
18 (Bug#14785)
19
3d6e95e7
JL
202013-12-19 Juri Linkov <juri@jurta.org>
21
22 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
23 New function.
24 (log-edit-hook): Add it to :options. (Bug#16170)
25
b41594fd
JL
262013-12-19 Juri Linkov <juri@jurta.org>
27
28 * simple.el (eval-expression-print-format): Don't check for
29 command names and the last command. Always display additional
30 formats of the integer result in the echo area, and insert them
31 to the current buffer only with a zero prefix arg.
32 Display character when char-displayable-p is non-nil.
33 (eval-expression): With a zero prefix arg, set `print-length' and
34 `print-level' to nil, and insert the integer values from
35 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
36
37 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
38 `eval-last-sexp-arg-internal'. Doc fix.
39 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
40 `eval-last-sexp-print-value'. Doc fix.
41 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
42 Set `print-length' and `print-level' to nil when arg is zero.
43 (eval-last-sexp): Doc fix.
44 (eval-defun-2): Print the integer values from
45 `eval-expression-print-format' at the end.
46
47 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
48 values from `eval-expression-print-format' at the end.
49
50 * ielm.el (ielm-eval-input): Print the integer
51 values from `eval-expression-print-format' at the end.
52
8f2be364
TZ
532013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
54
55 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
56 2013-12-11T19:01:44Z!tzz@lifelogs.com.
57
2230a6e3
SM
582013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
59
60 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
61 (hl-line-highlight, global-hl-line-highlight): Use it.
62 (hl-line-overlay): Use defvar-local.
63
1269a680
JD
642013-12-19 Jan Djärv <jan.h.d@swipnet.se>
65
66 * term/ns-win.el: Require dnd.
67 (global-map): Remove drag items.
68 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
69 (ns-set-background-at-mouse):
70 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
71 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
72 New functions.
1269a680 73
049638ad
GM
742013-12-19 Glenn Morris <rgm@gnu.org>
75
76 * emacs-lisp/ert.el (ert-select-tests):
77 Fix string/symbol mixup. (Bug#16121)
78
ce41edb4
DG
792013-12-19 Dmitry Gutov <dgutov@yandex.ru>
80
81 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
82 keywords to their parent.
83
7e1549c9
DG
842013-12-19 Dmitry Gutov <dgutov@yandex.ru>
85
86 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
87 first arg to be a string (fixed dead code), or an operator symbol.
88 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
89 operator symbols.
90 (ruby-smie-rules): Remove parent token check in the `.' clause, it
91 did nothing. Don't respond to `(:after ".")', it will be called
92 with :before anyway. Remove the ` @ ' rule, it didn't seem to
93 change anything. Only return indentation for binary operators
94 when they are hanging. De-dent opening paren when its parent is
95 `.', otherwise it looks bad when the dot is not at bol or eol
96 (bug#16182).
97
3ee4cd64
JL
982013-12-19 Juri Linkov <juri@jurta.org>
99
100 * replace.el (query-replace-read-args): Split a non-negative arg
101 and a negative arg into separate elements.
102 (query-replace, query-replace-regexp, replace-string)
103 (replace-regexp): Add arg `backward'. Doc fix.
104 (replace-match-maybe-edit): When new arg `backward' is non-nil,
105 move point to the beginning of the match.
106 (replace-search, replace-highlight): Use new arg `backward'
107 to set the value of `isearch-forward'.
108 (perform-replace): Add arg `backward' and use it to perform
109 replacement backward. (Bug#14979)
110
111 * isearch.el (isearch-query-replace): Use a negative prefix arg
112 to call `perform-replace' with a non-nil arg `backward'.
113
0cda6b7b
JL
1142013-12-18 Juri Linkov <juri@jurta.org>
115
116 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
117 to the default list. Move `log-edit-show-files' to the end.
118 Add more available functions to options.
119 (log-edit): Move default specific settings to
120 `log-edit-insert-message-template'. Don't move point.
121 (log-edit-insert-message-template): New function.
122 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
123 (Bug#16170)
124
b216f0a6
JL
1252013-12-18 Juri Linkov <juri@jurta.org>
126
127 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
128 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
129
1d1c55dc
LL
1302013-12-18 Leo Liu <sdl.web@gmail.com>
131
132 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
133
64e4c76e
EZ
1342013-12-18 Eli Zaretskii <eliz@gnu.org>
135
136 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
137 formats for displaying file sizes when the -s switch is given.
138 Instead, compute a separate format for displaying the size in
139 blocks, which is displayed in addition to the "regular" size.
140 When -h is given in addition to -s, produce size in blocks in
141 human-readable form as well. (Bug#16179)
142
b2984e39
TH
1432013-12-18 Tassilo Horn <tsdh@gnu.org>
144
2230a6e3
SM
145 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
146 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 147
50ff2e06
CY
1482013-12-18 Chong Yidong <cyd@gnu.org>
149
0081bc84
CY
150 * cus-edit.el (custom-magic-alist): Fix "themed" description
151 (Bug#14348).
152
a7ee9424
CY
153 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
154 is non-nil, do not create a new entry in the symbol's theme-value
155 or theme-face property; update theme-settings only (Bug#14664).
18874304 156 (custom-available-themes): Doc fix.
a7ee9424 157
8f942537
CY
158 * cus-theme.el (custom-new-theme-mode-map): Add bindings
159 (Bug#15674).
160
50ff2e06
CY
161 * replace.el (occur-engine): Avoid infloop (Bug#7593).
162
83c60f60
KI
1632013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
164
165 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
166 (Bug#13914).
167
ba874b64
SF
1682013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
169
170 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
171
1f41ee56
GM
1722013-12-18 Glenn Morris <rgm@gnu.org>
173
174 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 175 * cus-start.el (load-prefer-newer): New option.
1f41ee56 176
e82134b1
LW
1772013-12-18 Le Wang <l26wang@gmail.com>
178
2230a6e3
SM
179 * comint.el (comint-previous-matching-input-from-input):
180 Retain point (Bug#13404).
e82134b1 181
33f5d4c1
CY
1822013-12-18 Chong Yidong <cyd@gnu.org>
183
184 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
185
ccc9f6dc
GM
1862013-12-18 Glenn Morris <rgm@gnu.org>
187
188 * mail/emacsbug.el (report-emacs-bug):
189 Only mention enable-multibyte-characters if non-standard.
190
33dd8e95
JL
1912013-12-17 Juri Linkov <juri@jurta.org>
192
193 * arc-mode.el (archive-extract-by-file): Check if directory exists
194 before deletion to not show irrelevant errors if it doesn't exist.
195
7a409b30
JL
1962013-12-17 Juri Linkov <juri@jurta.org>
197
198 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
199 (Bug#14751)
200
201 * net/eww.el (browse-web): Add alias to `eww'.
202 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
203 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
204
205 * net/browse-url.el (browse-url-browser-function): Move `eww'
206 closer to similar functions.
207
208 * startup.el (fancy-startup-screen, fancy-about-screen):
209 Set browse-url-browser-function to eww-browse-url locally.
210 (Bug#14751)
211
2d6b6005
SM
2122013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * window.el (window--pixel-to-total): Remove unused `mini' var.
215 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
216 (split-window): Remove unused `new' var.
217 (window--display-buffer): Remove unused `frame' and `delta' vars.
218 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
219 and display-width'.
220
cf2b7efc
MR
2212013-12-17 Martin Rudalics <rudalics@gmx.at>
222
223 * dired.el (dired-mark-pop-up):
224 * register.el (register-preview): Don't bind
225 split-height-threshold here since it's now done in
226 display-buffer-below-selected.
227
ed3af8a7 2282013-12-17 oblique <psyberbits@gmail.com> (tiny change)
229
230 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
231 xterm-rgb-convert-to-16bit.
232 (rxvt-register-default-colors): Standardize with
233 xterm-register-default-colors (Bug#14078).
234
76da3455
DK
2352013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
236
237 * simple.el (kill-region): Pass mark first, then point, so that
238 kill-append works right (Bug#12819).
239 (copy-region-as-kill, kill-ring-save): Likewise.
240
2b84d763
LL
2412013-12-17 Leo Liu <sdl.web@gmail.com>
242
243 * net/rcirc.el (rcirc-add-face):
244 * eshell/em-prompt.el (eshell-emit-prompt):
245 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
246 (Bug#16167)
247
e2f6a0bc
CY
2482013-12-17 Chong Yidong <cyd@gnu.org>
249
250 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
251 Suggested by Xue Fuqiao.
252
35b249a6
DG
2532013-12-17 Dmitry Gutov <dgutov@yandex.ru>
254
255 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
256
e9145444
SM
2572013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * net/shr.el (shr-insert-document): Remove unused var
260 `shr-preliminary-table-render'.
261 (shr-rescale-image): Remove unused arg `force'.
262 (shr-put-image): Update calls accordingly.
263 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
264
5556c0ce
DG
2652013-12-17 Dmitry Gutov <dgutov@yandex.ru>
266
267 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
268 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
269 :close-all, to see which indentation method to use (Bug#16116).
270 (smie-rules-function): Document the method :close-all.
271
11bade0a
LMI
2722013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
273
1c4b1e61
LMI
274 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
275
11bade0a
LMI
276 * net/eww.el (eww-display-html): If we can't find the anchor we're
277 looking for, then go to point-min.
278
8fb8c4f3
PE
2792013-12-16 Paul Eggert <eggert@cs.ucla.edu>
280
281 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
282 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
283 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
284 Expand dir too, in case it's relative.
285
6c8e0ae6
JL
2862013-12-16 Juri Linkov <juri@jurta.org>
287
288 * desktop.el (desktop-auto-save-timeout): Change default to
289 `auto-save-timeout'. Doc fix.
290 (desktop-save): Skip the timestamp in desktop-saved-frameset
291 when checking for auto-save changes.
292 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
293 `desktop-auto-save' is called repeatedly by the idle timer.
294 (desktop-auto-save-set-timer): Replace `run-with-timer' with
295 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
296 (Bug#15331)
297
2178e858
JL
2982013-12-16 Juri Linkov <juri@jurta.org>
299
300 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
301 (Bug#16035)
302 (isearch-pre-command-hook): Check `this-command' for symbolp.
303
39cb42c6
SM
3042013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
307
5b9b750a
TZ
3082013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
309
310 * progmodes/cfengine.el (cfengine3--current-word): Remove.
311 (cfengine3--current-function): Bring in the current-function
312 functionality from `cfengine3--current-word'.
313 (cfengine3-completion-function): Bring in the
314 bounds-of-current-word functionality from
315 `cfengine3--current-word'.
316
d144ef06
MR
3172013-12-16 Martin Rudalics <rudalics@gmx.at>
318
39cb42c6
SM
319 * window.el (display-buffer-below-selected):
320 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 321
a8bbe298
LL
3222013-12-16 Leo Liu <sdl.web@gmail.com>
323
324 * progmodes/compile.el (compile-goto-error): Do not push-mark.
325 Remove NOMSG arg and all uses changed.
326
2013a2f9
SM
3272013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
330 (cua--deactivate-rectangle): Don't deactivate the mark.
331 (cua-set-rectangle-mark): Don't set mark-active since
332 cua--activate-rectangle already does it for us.
333 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
334 non-rectangular region.
335
336 * emulation/cua-base.el (cua-repeat-replace-region):
337 Use with-current-buffer.
338
339 * net/gnutls.el: Use cl-lib.
340 (gnutls-negotiate): `mapcan' -> cl-mapcan.
341
5ae811dd
TZ
3422013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
343
344 * emacs-lisp/package.el (package-built-in-p): Support both
345 built-in and the package.el converted package descriptions.
346 (package-show-package-list): Allow keywords.
347 (package-keyword-button-action): Use it instead of
348 `finder-list-matches'.
349 (package-menu-filter-interactive): Interactive filtering (by
350 keyword) function.
351 (package-menu--generate): Support keywords and change keymappings
352 and headers when they are given.
353 (package--has-keyword-p): Helper function.
354 (package-menu--refresh): Use it.
355 (package--mapc): Helper function.
356 (package-all-keywords): Use it.
357 (package-menu-mode-map): Set up menu items and keybindings to
358 provide a filtering UI.
359
31b4827e
TZ
3602013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
361
362 * net/gnutls.el (gnutls-verify-error): New defcustom to control
363 the behavior when a certificate fails validation. Defaults to
364 old behavior: never abort, just warn.
365 (gnutls-negotiate): Use it.
366
f93cc74f
MR
3672013-12-14 Martin Rudalics <rudalics@gmx.at>
368
369 * window.el (display-buffer-below-selected): Never split window
370 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
371
f77d7d17
TW
3722013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
373
374 * emacs-lisp/package.el (package--prepare-dependencies): New function.
375 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
376
377 * icomplete.el (icomplete-completions): Make sure the prefix is already
378 displayed elsewhere before hiding it.
379
276bc333
DG
3802013-12-14 Dmitry Gutov <dgutov@yandex.ru>
381
382 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
383 open-paren tokens when preceded by a open-paren, too.
384 (ruby-smie-rules): Handle virtual indentation after open-paren
385 tokens specially. If there is code between it and eol, return the
386 column where is starts (Bug#16118).
387
d43957f3
TZ
3882013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
389
a5c1ac0c 390 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 391 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
392 (cfengine3--current-word): Fix parameters.
393 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
394 (cfengine3-completion-function, cfengine3--current-function):
395 Use `assq' for symbols.
d43957f3
TZ
396 (cfengine3--current-function): Fix `cfengine3--current-word' call.
397
06a4f110
GM
3982013-12-13 Glenn Morris <rgm@gnu.org>
399
400 * loadup.el (load-path): Warn if site-load or site-init changes it.
401 No more need to reset it when bootstrapping.
402
978a5fda
TZ
4032013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
404
405 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
406 locations for cf-promises.
407 (cfengine-mode-syntax-functions-regex): New caching variable.
408 (cfengine3-fallback-syntax): Fallback syntax for cases where
409 cf-promises doesn't run.
410 (cfengine3--current-word): Reimplement using
411 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
412 (cfengine3-completion-function, cfengine3--current-function):
413 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
414 (cfengine3-clear-syntax-cache): New function.
415 (cfengine3-make-syntax-cache): Simplify and create
416 `cfengine-mode-syntax-functions-regex' on demand.
417 (cfengine3-format-function-docstring): Don't call
418 `cfengine3-make-syntax-cache' explicitly.
419
71e6691e
MR
4202013-12-13 Martin Rudalics <rudalics@gmx.at>
421
422 Fix windmove-find-other-window broken after pixelwise resizing
423 (Bug#16017).
424 * windmove.el (windmove-other-window-loc): Revert change from
425 2013-12-04.
426 (windmove-find-other-window): Call window-in-direction.
427 * window.el (window-in-direction): New arguments SIGN, WRAP and
428 MINI to emulate original windmove-find-other-window behavior.
429
84c73ba0
DG
4302013-12-13 Dmitry Gutov <dgutov@yandex.ru>
431
432 * simple.el (blink-matching--overlay): New variable.
433 (blink-matching-open): Instead of moving point, highlight the
434 matching paren with an overlay
435 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
436
437 * faces.el (paren-showing-faces, show-paren-match)
438 (show-paren-mismatch): Move from paren.el.
439
b9e20952
LL
4402013-12-13 Leo Liu <sdl.web@gmail.com>
441
442 * indent.el (indent-region): Disable progress reporter in
443 minibuffer. (Bug#16108)
444
445 * bindings.el (visual-order-cursor-movement): Fix version.
446
ce030451
FEG
4472013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
448
449 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
450 Also match after beginning of line.
451 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
452 files. Thanks to Russell Sim. (Bug#15378)
453
4a9c6865
JL
4542013-12-13 Juri Linkov <juri@jurta.org>
455
456 * simple.el <Keypad support>: Remove key bindings duplicated
457 with bindings.el. (Bug#14397)
458
2bc170c3
JL
4592013-12-13 Juri Linkov <juri@jurta.org>
460
461 * comint.el (comint-mode-map): Replace `delete-char' with
462 `delete-forward-char'. (Bug#16109)
463
bc9222c9
FEG
4642013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
465
aa2bddd7
SM
466 * progmodes/python.el (python-indent-calculate-indentation):
467 Fix de-denters cornercase. (Bug#15731)
bc9222c9 468
cb3a1380
SM
4692013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
470
471 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
472 (advice--make): Pay attention to `depth'.
473 (advice--make-1): Don't autoload commands eagerly.
474 * emacs-lisp/elp.el (elp-instrument-function):
475 * emacs-lisp/trace.el (trace-function-internal):
476 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
477
478 * iswitchb.el (iswitchb-mode): Don't belittle ido.
479
01633a17
EZ
4802013-12-12 Eli Zaretskii <eliz@gnu.org>
481
482 * term/w32-win.el (w32-handle-dropped-file):
483 * startup.el (normal-top-level):
484 * net/browse-url.el (browse-url-file-url):
485 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
486 decode file names using 'utf-8' rather than
487 file-name-coding-system.
488
09faee72
FEG
4892013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
490
491 * progmodes/python.el (python-indent-context)
492 (python-indent-calculate-indentation): Fix auto-identation
493 behavior for comment blocks. (Bug#15916)
494
f4f84024 4952013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 496
cb3a1380
SM
497 * progmodes/python.el (python-indent-calculate-indentation):
498 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
499 operators when they are just string constituents. (Bug#15812)
500
d5ccb7be
JL
5012013-12-12 Juri Linkov <juri@jurta.org>
502
503 * uniquify.el (uniquify-buffer-name-style): Change default to
504 `post-forward-angle-brackets'.
505
506 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
507 `uniquify'. Change default to `post-forward-angle-brackets'.
508
7b3f5679
GM
5092013-12-11 Glenn Morris <rgm@gnu.org>
510
511 * emacs-lisp/package.el (finder-list-matches):
512 Autoload rather than falsely declaring.
513
f4fe8fdd
TZ
5142013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
515
516 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
517 (eww-mode-map): Use them.
518
3c29190f
MR
5192013-12-11 Martin Rudalics <rudalics@gmx.at>
520
521 * window.el (display-buffer-in-side-window): Fix doc-string
522 (Bug#16115).
523
0cd616a2
JB
5242013-12-11 Juanma Barranquero <lekktu@gmail.com>
525
526 * vc/vc-git.el: Silence byte-compiler warnings.
527 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
528 (log-edit-set-header): Declare.
529
3ef8e0d1
EZ
5302013-12-11 Eli Zaretskii <eliz@gnu.org>
531
532 * Makefile.in (custom-deps, finder-data): Run output file names
533 through unmsys--file-name. (Bug#16099)
534
afdadaf7
SM
5352013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
536
7ae3ae39 537 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 538 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 539
5b4f37ab
SM
540 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
541 instead of deleting the selection "by hand" (bug#16098).
542 Rely on insert-for-yank to yank rectangles.
543 (cua-highlight-region-shift-only): Mark obsolete.
544 (cua-mode): Don't enable/disable transient-mark-mode,
545 shift-select-mode (cua-mode works both with and without them), and
546 pc-selection-mode (obsolete).
547 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
548 (cua--deactivate-rectangle): Deactivate it.
549
4b72c12b
SM
550 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
551 (delete-selection-helper): Make sure yank starts at the top of the
552 deleted region.
553 (minibuffer-keyboard-quit): Use region-active-p.
554
e82af72d
SM
555 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
556
afdadaf7
SM
557 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
558 to `delete' (bug#16109).
559
ed4bc201
RS
5602013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
561
562 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
563 info manual and show keybindings and set `:group' keyword.
564
bb8097b9
JL
5652013-12-11 Juri Linkov <juri@jurta.org>
566
567 * delsel.el (delete-active-region): Let-bind `this-command'
568 to prevent `kill-region' from changing its original value.
569 (delete-selection-helper): Handle `overwrite-mode' for the type
570 `kill' exactly the same way as for the type `t'.
571 (insert-char, quoted-insert, reindent-then-newline-and-indent):
572 Support more commands. (Bug#13312)
573
c1916ff5
JL
5742013-12-11 Juri Linkov <juri@jurta.org>
575
576 * bindings.el: Map kp keys to non-kp keys systematically
577 with basic modifiers control, meta and shift. (Bug#14397)
578
b68cf43c
KN
5792013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
580
581 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
582 "Close browser" menu items. Fix wrong function of "List
583 bookmarks".
584
4cc51eaf
JL
5852013-12-11 Juri Linkov <juri@jurta.org>
586
587 * misearch.el (multi-isearch-buffers): Set the value of
588 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
589 arg of isearch-forward to t.
590 (multi-isearch-buffers-regexp): Set the value of
591 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
592 arg of isearch-forward-regexp to t.
593 (multi-isearch-files): Set the value of
594 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
595 arg of isearch-forward to t.
596 (multi-isearch-files-regexp): Set the value of
597 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
598 arg of isearch-forward-regexp to t. (Bug#16035)
599
600 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
601 arg of isearch-forward to t.
602 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
603 arg of isearch-forward-regexp to t.
604 (dired-isearch-filter-filenames): Remove unnecessary check for
605 `dired-isearch-filenames'.
606
607 * comint.el (comint-history-isearch-backward):
608 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
609 (comint-history-isearch-backward-regexp):
610 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
611
ceac12b7
EZ
6122013-12-10 Eli Zaretskii <eliz@gnu.org>
613
614 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
615 unmsys--file-name. (Bug#16099)
616
5a565782
TZ
6172013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
618
cb3a1380
SM
619 * emacs-lisp/package.el (package-keyword-button-action):
620 Remove finder.el require dependency.
5a565782 621
a81fc7ba
TZ
6222013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
623
624 * emacs-lisp/package.el: Require finder.el.
625 (describe-package-1): Add keyword buttons.
626 (package-make-button): New convenience function.
627 (package-keyword-button-action): Keyword button action using
628 `finder-list-matches'
629
6aaca951
EZ
6302013-12-09 Eli Zaretskii <eliz@gnu.org>
631
632 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
633 last commit.
634
a1099a91
MA
6352013-12-09 Michael Albinus <michael.albinus@gmx.de>
636
637 * autorevert.el (auto-revert-notify-add-watch): Do not handle
638 symlinked files.
639
8212d9c0
DG
6402013-12-09 Dmitry Gutov <dgutov@yandex.ru>
641
642 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
643 after the end of a percent literal.
644
8f48d131
CD
6452013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
646
cb3a1380
SM
647 * progmodes/ruby-mode.el (ruby-forward-string): Document.
648 Handle caret-delimited strings (Bug#16079).
8f48d131 649
ff8c9764
DG
6502013-12-09 Dmitry Gutov <dgutov@yandex.ru>
651
cb3a1380
SM
652 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
653 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
654 `ruby-parse-partial' (Bug#16078).
655
d64643b4
LL
6562013-12-09 Leo Liu <sdl.web@gmail.com>
657
658 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
659
47e59c66
DG
6602013-12-08 Dmitry Gutov <dgutov@yandex.ru>
661
662 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
663 (js-switch-indent-offset): New option.
664 (js--proper-indentation): Use it. And handle the case when
665 "default" is actually a key in an object literal.
666 (js--same-line): New function.
667 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
668 (js--indent-in-array-comp, js--array-comp-indentation):
669 New functions.
47e59c66
DG
670 (js--proper-indentation): Use them, to handle array comprehension
671 continuations.
672
974ebc9c
LL
6732013-12-08 Leo Liu <sdl.web@gmail.com>
674
675 * progmodes/flymake.el (flymake-highlight-line): Re-write.
676 (flymake-make-overlay): Remove arg MOUSE-FACE.
677 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
678
27262e39
SM
6792013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
682 New function.
683 (redisplay-highlight-region-function): Use it.
684
685 * emulation/cua-base.el (cua--explicit-region-start)
686 (cua--last-region-shifted): Remove.
687 (cua--deactivate): Use deactivate-mark.
688 (cua--pre-command-handler-1): Don't handle shift-selection.
689 (cua--post-command-handler-1): Don't change transient-mark-mode.
690 (cua--select-keymaps): Use region-active-p rather than
691 cua--explicit-region-start or cua--last-region-shifted.
692 (cua-mode): Enable shift-select-mode.
693
6407822c
LL
6942013-12-08 Leo Liu <sdl.web@gmail.com>
695
27262e39
SM
696 * progmodes/flymake.el (flymake-popup-current-error-menu):
697 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
698 (flymake-posn-at-point-as-event, flymake-popup-menu)
699 (flymake-make-emacs-menu): Remove. (Bug#16077)
700
00a2b823
SM
7012013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
702
02033d49
SM
703 * rect.el (rectangle-mark-mode): Activate mark even if
704 transient-mark-mode is off (bug#16066).
705 (rectangle--highlight-for-redisplay): Fix boundary condition when point
706 is > mark and at bolp.
707
6f8dfccf
SM
708 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
709 (region-extract-function): Use it.
710 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
711 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
712 Delete functions.
713 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
714 kill-ring-save, kill-region, delete-char, delete-forward-char.
715 Ignore self-insert-iso.
716
717 * emulation/cua-gmrk.el (cua--init-global-mark):
718 Ignore `self-insert-iso'.
719
720 * emulation/cua-base.el (cua--prefix-copy-handler)
721 (cua--prefix-cut-handler): Rely on region-extract-function rather than
722 checking cua--rectangle.
723 (cua-delete-region): Use region-extract-function.
724 (cua-replace-region): Delete function.
725 (cua-copy-region, cua-cut-region): Obey region-extract-function.
726 (cua--pre-command-handler-1): Don't do the delete-selection thing.
727 (cua--self-insert-char-p): Ignore `self-insert-iso'.
728 (cua--init-keymaps): Don't remap delete-selection commands.
729 (cua-mode): Use delete-selection-mode instead of rolling our own
730 (bug#16085).
731
732 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
733 Obey region-extract-function.
734
00a2b823
SM
735 Make registers and delete-selection-mode work on rectangles.
736 * register.el (describe-register-1): Don't modify the register's value.
737 (copy-to-register): Obey region-extract-function.
738 * delsel.el (delete-active-region): Obey region-extract-function.
739
a92fa5f1
LL
7402013-12-08 Leo Liu <sdl.web@gmail.com>
741
742 * progmodes/flymake.el (flymake, flymake-error-bitmap)
743 (flymake-warning-bitmap, flymake-fringe-indicator-position)
744 (flymake-compilation-prevents-syntax-check)
745 (flymake-start-syntax-check-on-newline)
746 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
747 (flymake-start-syntax-check-on-find-file, flymake-log-level)
748 (flymake-xml-program, flymake-master-file-dirs)
749 (flymake-master-file-count-limit)
750 (flymake-allowed-file-name-masks): Relocate.
751 (flymake-makehash, flymake-float-time)
752 (flymake-replace-regexp-in-string, flymake-split-string)
753 (flymake-get-temp-dir): Remove.
754 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
755 (flymake-current-row, flymake-selected-frame)
756 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
757 related functions. (Bug#16077)
758
73c8ceea
BB
7592013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
760
761 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
762
faec28d9
TH
7632013-12-07 Tassilo Horn <tsdh@gnu.org>
764
765 * help-fns.el (describe-function-1): Use new advice-* functions
766 rather than old ad-* functions. Fix function type description and
767 source links for advised functions and subrs.
768
e330b646
LMI
7692013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
770
00a2b823 771 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 772
4803595d
MA
7732013-12-06 Michael Albinus <michael.albinus@gmx.de>
774
775 * progmodes/compile.el (compilation-start):
776 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
777
778 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
779 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
780
fa834a93
DG
7812013-12-06 Dmitry Gutov <dgutov@yandex.ru>
782
00a2b823
SM
783 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
784 Touch up the last change.
fa834a93 785
b2856a6f
LL
7862013-12-06 Leo Liu <sdl.web@gmail.com>
787
788 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
789 (inferior-octave-startup): Always use "octave> " for prompt.
790 (octave-goto-function-definition)
791 (octave-sync-function-file-names)
792 (octave-find-definition-default-filename): Remove redundant backquotes.
793
af67e79a
DG
7942013-12-06 Dmitry Gutov <dgutov@yandex.ru>
795
796 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
797 syntax for `?'.
798 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
799 where appropriate already.
800 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
801 end of method names (Bug#15874).
802
bf093209
JL
8032013-12-06 Juri Linkov <juri@jurta.org>
804
805 * isearch.el (isearch--saved-overriding-local-map):
806 New internal variable.
807 (isearch-mode): Set it to the initial value of
808 `overriding-terminal-local-map'.
809 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
810 with `isearch--saved-overriding-local-map'. (Bug#16035)
811
16588fad
DG
8122013-12-06 Dmitry Gutov <dgutov@yandex.ru>
813
00a2b823
SM
814 * progmodes/octave.el (inferior-octave-completion-table):
815 Turn back into function, use `completion-table-with-cache'
16588fad
DG
816 (Bug#11906). Update all references.
817
818 * minibuffer.el (completion-table-with-cache): New function.
819
bf4906d7
CD
8202013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
821
822 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
823
ff69c18f
TZ
8242013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
825
826 * net/eww.el (eww-current-source): New variable to store page
827 source.
828 (eww-display-html, eww-mode, eww-save-history)
829 (eww-restore-history): Use it.
830 (eww-view-source): New command to view page source.
831 Opportunistically uses `html-mode' to highlight the buffer.
832 (eww-mode-map): Install it.
833
b85eff45
MA
8342013-12-05 Michael Albinus <michael.albinus@gmx.de>
835
836 * net/dbus.el (dbus-unregister-service)
837 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
838 Fix docstring.
839 (dbus-unregister-service): Skip :serial entries in
840 `dbus-registered-objects-table'.
841 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
842
39eb0899
TZ
8432013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
844
845 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
846 around keywords with extra `split-string' argument.
847
456760a5
MR
8482013-12-04 Martin Rudalics <rudalics@gmx.at>
849
850 * windmove.el (windmove-other-window-loc): Handle navigation
851 between windows (excluding the minibuffer window - Bug#16017).
852
81961e4c
MA
8532013-12-04 Michael Albinus <michael.albinus@gmx.de>
854
855 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
856 in D-Bus type syntax.
857 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
858 preserve unibyte strings. (Bug#16048)
859
8497f938
SM
8602013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
863 Call force-mode-line-update is the proper buffer (bug#16042).
864
dda61916
DG
8652013-12-04 Dmitry Gutov <dgutov@yandex.ru>
866
867 * vc/log-edit.el (log-edit-add-new-comment): Rename to
868 `log-edit-remember-comment', make argument optional. Adjust all
869 callers.
870 (log-edit-mode): Add `log-edit-remember-comment' to
871 `kill-buffer-hook' locally.
872 (log-edit-kill-buffer): Don't remember comment explicitly since
873 the buffer is killed anyway.
874
c085e5b9
JL
8752013-12-04 Juri Linkov <juri@jurta.org>
876
877 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
878 add-hook and remove-hook for multi-buffer search. (Bug#16035)
879
d6f2380e
TR
8802013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
881
882 * notifications.el (notifications-close-notification): Call the
81961e4c 883 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 884
39fa32d6
KY
8852013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
886
887 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
888
9139632a
JL
8892013-12-03 Juri Linkov <juri@jurta.org>
890
891 * progmodes/compile.el (compilation-start): Rename window alist
892 entry `no-display-ok' to `allow-no-window'.
893
894 * simple.el (shell-command): Add window alist entry
895 `allow-no-window' to `display-buffer'.
896 (async-shell-command): Doc fix.
897
898 * window.el (display-buffer-no-window): New action function.
899 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
900
0f457a37
DG
9012013-12-02 Dmitry Gutov <dgutov@yandex.ru>
902
903 * vc/log-edit.el (log-edit-set-header): Extract from
904 `log-edit-toggle-header'.
905 (log-edit-extract-headers): Separate the summary, when extracted
906 from header, from the rest of the message with an empty line.
907
908 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
909 line, if present, to the Summary header.
910
0962f376
SM
9112013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
914 in current-buffer (bug#16029).
915
f345395c
HE
9162013-12-02 Helmut Eller <eller.helmut@gmail.com>
917
918 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
919 (debugger-mode-map): Bind it.
920 (debugger--backtrace-base): New function.
921 (debugger-eval-expression): Use it.
922 (debugger-frame-number): Skip local vars when present.
923 (debugger--locals-visible-p, debugger--insert-locals)
924 (debugger--show-locals, debugger--hide-locals): New functions.
925
a8a15d9d
MA
9262013-12-02 Michael Albinus <michael.albinus@gmx.de>
927
928 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
929 "LC_ALL".
930 (tramp-get-remote-locale): New defun.
931 (tramp-open-connection-setup-interactive-shell): Use it.
932
0518b057
LL
9332013-12-02 Leo Liu <sdl.web@gmail.com>
934
935 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
936
937 * progmodes/sh-script.el (sh-shell-process):
938 * progmodes/octave.el (inferior-octave-process-live-p):
939 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
940 (gdb-inferior-io-sentinel):
941 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
942
3adc9c6d
DG
9432013-12-02 Dmitry Gutov <dgutov@yandex.ru>
944
945 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
946 `save-selected-window' to `log-edit-hide-buf'. This makes
947 `log-edit-show-files' idempotent.
948 (log-edit-show-files): Mark the new window as dedicated.
949
47e8b74e
DG
9502013-12-02 Dmitry Gutov <dgutov@yandex.ru>
951
952 * vc/log-edit.el (log-edit-mode-map): Add binding for
953 `log-edit-kill-biffer'.
954 (log-edit-hide-buf): Add a FIXME comment.
955 (log-edit-add-new-comment): New function, extracted from
956 `log-edit-done'.
957 (log-edit-done, log-edit-add-to-changelog): Use it.
958 (log-edit-kill-buffer): New command.
959
1f6e1bb0
LMI
9602013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
961
962 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
963 instead of killing the buffer.
964
fb651d15
SM
9652013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
968
8feacce0
RS
9692013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
970
fb651d15 971 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 972 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
973 (eww-form-checkbox, eww-toggle-checkbox):
974 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
975
976 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
977 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
978 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
979 no :src tag was specified.
980
fb651d15 981 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
982 (eww-render): Handle `eww-use-external-browser-for-content-type'.
983 Use \\` to match beginning of string instead of ^.
984 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 985 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 986
177948a5
RS
987 * net/shr.el (shr-tag-video): Display content for video if no
988 poster is available.
eb2dd24d 989 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
990
991 * net/eww.el (eww-text-input-types): : New const.
992 (eww-process-text-input): Treat input types in
993 `eww-text-input-types' as text.
994
8feacce0
RS
995 * net/shr.el (shr-tag-table): Fix comment typo.
996
513562a1
LMI
9972013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
998
999 * net/eww.el (eww-follow-link): New command to avoid reloading
1000 pages when we follow #target links (bug#15243).
de8a5633 1001 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1002
9dd99753
KN
10032013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1004
1005 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1006 forms.
1007
3e9876de
LMI
10082013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1009
1010 * net/eww.el (eww-restore-history): Update the window title after
1011 moving in the history.
ab6dea82 1012 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1013
52789f7f
DG
10142013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1015
1016 * vc/log-edit.el (log-edit-mode-map): Add binding for
1017 `log-edit-beginning-of-line'.
1018 (log-edit-setup-add-author): New user option.
1019 (log-edit-beginning-of-line): New command.
1020 (log-edit): Move major mode call above the contents setup so that
1021 the local variable values are already applied.
1022 (log-edit): Only insert "Author: " when
1023 `log-edit-setup-add-author' is non-nil.
1024 (log-edit): When SETUP is non-nil, position point after ": "
1025 instead of point-min.
1026
2e6710c3
GM
10272013-12-01 Glenn Morris <rgm@gnu.org>
1028
1029 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1030
fadec31f
EZ
10312013-11-30 Eli Zaretskii <eliz@gnu.org>
1032
1033 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1034 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1035 visible. (Bug#16014)
1036
10634b40 10372013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1038
1039 Support resizing frames and windows pixelwise.
1040 * cus-start.el (frame-resize-pixelwise)
1041 (window-resize-pixelwise): New entries.
1042 * emacs-lisp/debug.el (debug): Use window-total-height instead
1043 of window-total-size.
1044 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1045 * help.el (describe-bindings-internal): Call help-buffer
1046 (temp-buffer-max-width): New option.
1047 (resize-temp-buffer-window, help-window-setup)
1048 (with-help-window): Rewrite.
1049 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1050 dragging dividers.
1051 * window.el (frame-char-size, window-min-pixel-height)
1052 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1053 (window-min-pixel-width, window-safe-min-pixel-size)
1054 (window-combination-p, window-safe-min-size)
1055 (window-resizable-p, window--size-to-pixel)
1056 (window--pixel-to-size, window--resize-apply-p): New functions.
1057 (window-safe-min-height): Fix doc-string.
1058 (window-size, window-min-size, window--min-size-1)
1059 (window-sizable, window-sizable-p, window--min-delta-1)
1060 (window-min-delta, window--max-delta-1, window-max-delta)
1061 (window--resizable, window--resizable-p, window-resizable)
1062 (window-full-height-p, window-full-width-p, window-at-side-p)
1063 (window--in-direction-2, window-in-direction)
1064 (window--resize-reset-1, window--resize-mini-window)
1065 (window-resize, window-resize-no-error)
1066 (window--resize-child-windows-normal)
1067 (window--resize-child-windows, window--resize-siblings)
1068 (window--resize-this-window, window--resize-root-window)
1069 (window--resize-root-window-vertically)
1070 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1071 (maximize-window, minimize-window, delete-window)
1072 (quit-restore-window, window-split-min-size, split-window)
1073 (balance-windows-2, balance-windows)
1074 (balance-windows-area-adjust, balance-windows-area)
1075 (window--state-get-1, window-state-get, window--state-put-1)
1076 (window--state-put-2, window-state-put)
fb651d15
SM
1077 (display-buffer-record-window, window--display-buffer):
1078 Make functions handle pixelwise sizing of windows.
880e6158 1079 (display-buffer--action-function-custom-type)
fb651d15
SM
1080 (display-buffer-fallback-action):
1081 Add display-buffer-in-previous-window.
880e6158
MR
1082 (display-buffer-use-some-window): Resize window to height it had
1083 before.
1084 (fit-window-to-buffer-horizontally): New option.
1085 (fit-frame-to-buffer): Describe new values.
1086 (fit-frame-to-buffer-bottom-margin): Replace with
1087 fit-frame-to-buffer-margins.
1088 (window--sanitize-margin): New function.
1089 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1090 using window-text-pixel-size.
1091
f9b697dd
GM
10922013-11-30 Glenn Morris <rgm@gnu.org>
1093
3e2fb4db
GM
1094 * emacs-lisp/bytecomp.el (byte-compile-form):
1095 Make the `interactive-only' warning like the `obsolete' one.
1096 * comint.el (comint-run):
1097 * files.el (insert-file-literally, insert-file):
1098 * replace.el (replace-string, replace-regexp):
1099 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1100 (goto-line, insert-buffer, next-line, previous-line):
1101 Tweak `interactive-only' spec.
1102
f9b697dd
GM
1103 Stop keeping (most) generated cedet grammar files in the repository.
1104 * Makefile.in (semantic): New.
1105 (compile-main): Depend on semantic.
1106
da048127
SM
11072013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1108
7784b779
SM
1109 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1110 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1111
4e36a6a6
SM
1112 * uniquify.el (uniquify-buffer-name-style): Change default.
1113
1114 * loadup.el: Preload "uniquify".
1115
e0ba1308
SM
1116 * time.el (display-time-update): Update all mode lines (bug#15999).
1117
da048127
SM
1118 * electric.el (electric-indent-mode): Enable by default.
1119 * loadup.el: Preload "electric".
1120
015b3b3e
BB
11212013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1122
1123 * emacs-lisp/helpers.el (string-empty-p): New function.
1124 (string-blank-p): New function.
1125
7efb806d
AP
11262013-11-29 Andreas Politz <politza@hochschule-trier.de>
1127
1128 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1129 (Bug#14029).
1130
c8f0efc2
AP
11312013-11-29 Andreas Politz <politza@fh-trier.de>
1132 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1133 allow non-lambda lists as functions.
1134 (imenu--in-alist): Don't recurse into non-subalists.
1135 (imenu): Don't pass function itself as an argument (Bug#14029).
1136
bd15d9d1
SM
11372013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * progmodes/python.el (python-mode-map): Remove binding for ":".
1140 (python-indent-electric-colon): Remove command.
1141 (python-indent-post-self-insert-function): Integrate the previous code
1142 of python-indent-electric-colon. Make it conditional on
1143 electric-indent-mode.
1144 (python-mode): Add ?: to electric-indent-chars.
1145 Move python-indent-post-self-insert-function to the end of
1146 post-self-insert-hook.
1147
1b10adb6
SM
11482013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1149
655ab9a3
SM
1150 * doc-view.el (doc-view-goto-page): Update mode-line.
1151
1b10adb6
SM
1152 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1153
7e3bf78c
GM
11542013-11-27 Glenn Morris <rgm@gnu.org>
1155
1156 * international/charprop.el, international/uni-bidi.el:
1157 * international/uni-category.el, international/uni-combining.el:
1158 * international/uni-comment.el, international/uni-decimal.el:
1159 * international/uni-decomposition.el, international/uni-digit.el:
1160 * international/uni-lowercase.el, international/uni-mirrored.el:
1161 * international/uni-name.el, international/uni-numeric.el:
1162 * international/uni-old-name.el, international/uni-titlecase.el:
1163 * international/uni-uppercase.el:
1164 Remove generated files from VCS repository.
1165
fb6a5d68
EZ
11662013-11-27 Eli Zaretskii <eliz@gnu.org>
1167
1168 * filenotify.el (file-notify-add-watch): Don't special-case
1169 w32notify when computing the directory to watch.
1170
cb6c95a3
GM
11712013-11-27 Glenn Morris <rgm@gnu.org>
1172
20372d0c
GM
1173 Make bootstrap without generated uni-*.el files possible again.
1174 * loadup.el: Update command-line-args checking for unidata-gen.
1175 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1176 * composite.el, international/characters.el:
1177 Handle unicode tables being undefined.
1178
52d6635f 1179 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1180 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1181 (compile-main): Depend on leim rule.
1182 (leim): New rule.
1183 * loadup.el: Move leim-list.el to leim/ subdirectory.
1184 * startup.el (normal-top-level): No more leim directory.
1185 * international/ja-dic-cnv.el (skkdic-convert):
1186 Disable version-control and autoloads in output files.
1187 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1188 Disable version-control and autoloads in output files.
1189 * leim/quail: Move here from ../leim.
1190 * leim/quail/hangul.el (hangul-input-method-activate):
1191 Add autoload cookie.
1192 (generated-autoload-load-name): Set file-local value.
1193 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1194 (generated-autoload-load-name): Set file-local value.
1195
0449d6cd 11962013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
1197
1198 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1199 (eww-add-bookmark): ask confirmation when add to bookmarks
1200 (eww-quit): ask confirmation before quitting eww
1201
0e2c793f
EZ
12022013-11-26 Eli Zaretskii <eliz@gnu.org>
1203
1204 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1205 reading output from Diff on MS-Windows and MS-DOS.
1206
447bdcb8
BB
12072013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1208
1209 * emacs-lisp/helpers.el (string-reverse): New function.
1210
5fbf6856
MA
12112013-11-26 Michael Albinus <michael.albinus@gmx.de>
1212
1213 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1214 names on MS Windows, like "/[::1]:".
1215
1216 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1217 SWITCHES.
1218
624780f0
GM
12192013-11-26 Glenn Morris <rgm@gnu.org>
1220
0bf3f0fa
GM
1221 * progmodes/python.el (python-indent-guess-indent-offset):
1222 Avoid corner-case error. (Bug#15975)
1223
624780f0
GM
1224 Preload leim-list.el. (Bug#4789)
1225 * loadup.el: Load leim-list.el when found.
1226 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1227
4301875e 12282013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1229
1230 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1231
4301875e
BB
1232 * emacs-lisp/helpers.el (string-join): New function.
1233
1633a815 12342013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1235
1236 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1237 Mark as obsolete and replace it with a symbol property.
1238 (byte-compile-form): Use new 'interactive-only property.
1239 * comint.el, files.el, replace.el, simple.el:
1240 Apply new 'interactive-only properly.
1241
00139435
MR
12422013-11-25 Martin Rudalics <rudalics@gmx.at>
1243
1244 * window.el (display-buffer-at-bottom): Make sure that
1245 split-window-sensibly creates the new window on bottom
1246 (Bug#15961).
1247
5f5b128d
DK
12482013-11-23 David Kastrup <dak@gnu.org>
1249
1250 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1251 on the conflict markers when available.
1252 (smerge--get-marker): New function.
1253 (smerge-end-re, smerge-base-re): Add subgroup.
1254
623891e5
SM
12552013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * frame.el (handle-focus-in, handle-focus-out): Add missing
1258 interactive spec.
1259
05ca27d8
MA
12602013-11-25 Michael Albinus <michael.albinus@gmx.de>
1261
1262 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1263 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1264
511fa0d3
SM
12652013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1266
e82ad66c
SM
1267 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1268 (gomoku--last-pos): New var.
1269 (gomoku--intangible-chars): New const.
1270 (gomoku--intangible): New function.
1271 (gomoku-mode): Use it. Derive from special-mode.
1272 (gomoku-move-up): Adjust line count.
1273 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1274 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1275 Simplify accordingly.
1276
511fa0d3
SM
1277 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1278 Remove blink-cursor code.
1279 (blink-cursor-timer-function, blink-cursor-suspend):
1280 Don't special-case GUIs.
1281 (blink-cursor-mode): Use focus-in/out-hook.
1282
6f20dd03
DG
12832013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1284
1285 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1286 work when annotation is invisible (Bug#13886).
1287
431dec31 12882013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1289
1290 * json.el (json-alist-p): Only return non-nil if the alist has
1291 simple keys (Bug#13518).
1292
431dec31 12932013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1294
1295 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1296 when control-statement is the first statement in a buffer (Bug#15956).
1297
ee4f0261
DG
12982013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1299
1300 * imenu.el (imenu-generic-skip-comments-and-strings):
1301 New option (Bug#15560).
1302 (imenu--generic-function): Use it.
1303
c484f866
JS
13042013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1305
1306 * minibuffer.el (completion--in-region-1): Scroll the correct
1307 window. (Bug#13898)
1308
41ce6f70
BB
13092013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1310
b55aea38
BB
1311 * emacs-lisp/helpers.el: Add some string helpers.
1312 (string-trim-left): Removes leading whitespace.
1313 (string-trim-right): Removes trailing whitespace.
1314 (string-trim): Removes leading and trailing whitespace.
1315
41ce6f70
BB
1316 * subr.el (string-suffix-p): New function.
1317
3cfb6af3
GM
13182013-11-23 Glenn Morris <rgm@gnu.org>
1319
1320 * progmodes/python.el (python-shell-send-file):
1321 Add option to delete file when done. (Bug#15647)
1322 (python-shell-send-string, python-shell-send-region): Use it.
1323
c27924b7
IS
13242013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1325
e1b01c7f
IS
1326 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1327 to set buffer-read-only to t, never to nil. (Bug#15938)
1328
c27924b7
IS
1329 * textmodes/tex-mode.el (latex-noindent-environments):
1330 Add safe-local-variable property. (Bug#15936)
1331
17e0445b
GM
13322013-11-23 Glenn Morris <rgm@gnu.org>
1333
92f78ea3
GM
1334 * textmodes/enriched.el (enriched-mode): Doc fix.
1335 * emacs-lisp/authors.el (authors-renamed-files-alist):
1336 Add enriched.doc -> enriched.txt.
1337
17e0445b
GM
1338 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1339
965bb23a
LL
13402013-11-22 Leo Liu <sdl.web@gmail.com>
1341
1342 * progmodes/octave.el (inferior-octave-startup): Spit out error
1343 message.
1344
d19ffd64
BB
13452013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1346
1347 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1348 Improve docstring.
15ba2182
BB
1349 Add :version.
1350 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1351
7a7567d2
LL
13522013-11-22 Leo Liu <sdl.web@gmail.com>
1353
1354 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1355 (Bug#15076)
8c09f64b
LL
1356 (octave-help-mode): Adapt to change to help-mode-finish to use
1357 derived-mode-p on 2013-09-17.
1358 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1359 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1360
724bc265
LL
13612013-11-22 Leo Liu <sdl.web@gmail.com>
1362
1363 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1364 (inferior-octave-startup, inferior-octave-check-process)
1365 (inferior-octave-track-window-width-change)
1366 (octave-completion-at-point, octave-eldoc-function): Use it.
1367 (octave-kill-process): Provide confirmation. (Bug#10564)
1368
38637cca
LL
13692013-11-21 Leo Liu <sdl.web@gmail.com>
1370
511fa0d3
SM
1371 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1372 Fix obsolete variable comment-use-global-state.
38637cca 1373
06e752b4
RS
13742013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1375
511fa0d3
SM
1376 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1377 Add `octave-source-file'.
06e752b4
RS
1378 (octave-source-file): New function. (Bug#15935)
1379
0449d6cd 13802013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1381
1382 * net/eww.el (eww-local-regex): New variable.
1383 (eww): Use it to detect localhost and similar.
1384
b6ffa04a
LL
13852013-11-21 Leo Liu <sdl.web@gmail.com>
1386
1387 Add completion for command `ag'.
2021a200
LL
1388 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1389 (pcomplete/ag): New function.
1390 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1391
d1a6bccc
SM
13922013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1395 (bug#14646).
1396 (make-obsolete): Remove interactive spec.
1397
2df10228
GM
13982013-11-21 Glenn Morris <rgm@gnu.org>
1399
1400 * startup.el (command-line-1): Use path-separator with -L.
1401
86fd16b6
TZ
14022013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1403
1404 * emacs-lisp/package.el (describe-package-1): Add package archive
1405 to shown fields.
1406
0449d6cd 14072013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1408
1409 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1410 Change default to "# encoding: %s" to differentiate it from the
1411 default Ruby encoding comment template.
1412
dc7e8c17 14132013-11-20 era eriksson <era+emacsbugs@iki.fi>
1414
1415 * ses.el (ses-mode): Doc fix. (Bug#14748)
1416
f0cfa5fe
LL
14172013-11-20 Leo Liu <sdl.web@gmail.com>
1418
1419 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1420
826dc7b6
DN
14212013-11-19 Dan Nicolaescu <dann@gnu.org>
1422
1423 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1424 when rebase or bisect are in progress.
1425
a6e3a5d5
XF
14262013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1427
1428 * filenotify.el (file-notify-add-watch): Doc fix.
1429
f130cb76
LL
14302013-11-19 Leo Liu <sdl.web@gmail.com>
1431
e0855d7d
LL
1432 * obsolete/rcompile.el: Mark obsolete.
1433
f130cb76 1434 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1435 (compilation-goto-locus, compilation-find-file):
1436 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1437 (Bug#13594)
1438
1439 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1440 new parameter no-display-ok. Return either a window or nil
1441 but never a non-window value.
f130cb76 1442
1f35d401
SM
14432013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1444
25158c76
SM
1445 * electric.el (electric-indent-mode-map): Remove.
1446 (electric-indent-mode): Change the global-map instead (bug#15915).
1447
1448 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1449 Use add-function.
1f35d401 1450
9bc67baa
SM
14512013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1452
986545b5
SM
1453 * emacs-lisp/nadvice.el (remove-function): Align with
1454 add-function's behavior.
1455
9bc67baa
SM
1456 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1457 (gdb--string-regexp): New constant.
1458 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1459 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1460 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1461 submatch 1.
1462 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1463 Adjust use accordingly.
1464 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1465
56cd894e
AS
14662013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1467
1468 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1469 interpolation curlies (Bug#15914).
1470
014690de
JB
14712013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1472
1473 * calc/calc.el (calc-context-sensitive-enter): New variable.
1474 (calc-enter): Use `calc-context-sensitive-enter'.
1475
7e26a6c3
TZ
14762013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1477
1478 * progmodes/cfengine.el: Version bump.
1479 (cfengine-cf-promises): New defcustom to locate cf-promises.
1480 (cfengine3-vartypes): Add new "data" type.
1481 (cfengine3--current-word): New function to get current name-like
1482 word or its bounds.
1483 (cfengine3--current-function): New function to look up a CFEngine
1484 function's definition.
1485 (cfengine3-format-function-docstring): New function.
1486 (cfengine3-make-syntax-cache): New function.
1487 (cfengine3-documentation-function): New function: ElDoc glue.
1488 (cfengine3-completion-function): New function: completion glue.
1489 (cfengine3-mode): Set `compile-command',
1490 `eldoc-documentation-function', and add to
1491 `completion-at-point-functions'.
1492
355204dd
MA
14932013-11-16 Michael Albinus <michael.albinus@gmx.de>
1494
1495 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1496 `tramp-current-connection'.
1497
43cebc23
DG
14982013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1499
1500 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1501 nil/self/true/false with "end of symbol".
1502
a3fed6ff
BB
15032013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1504
1505 * subr.el (version-regexp-alist): Fix a typo.
1506
e675b3e4
MA
15072013-11-15 Michael Albinus <michael.albinus@gmx.de>
1508
1509 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1510 "en_US.utf8" and "LC_CTYPE" to "".
1511 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1512 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1513
a1f03e89
LL
15142013-11-15 Leo Liu <sdl.web@gmail.com>
1515
1516 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1517
5d9d9451
SM
15182013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1519
58362662
CS
1520 * progmodes/gud.el (ctl-x-map):
1521 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1522 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1523
6c1bf086
BB
15242013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1525
0d5363c4
BB
1526 * subr.el (version-regexp-alist):
1527 Recognize hg, svn and darcs versions as snapshot versions.
1528
4e9fc48c
BB
1529 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1530 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1531 (ruby--encoding-comment-required-p): Extract from
1532 `ruby-mode-set-encoding'.
1533 (ruby-mode-set-encoding): Add the ability to always insert an
1534 utf-8 encoding comment. Fix and simplify coding comment update
1535 logic.
6c1bf086 1536
2f7e72f8
MA
15372013-11-14 Michael Albinus <michael.albinus@gmx.de>
1538
1539 * net/tramp-gvfs.el (top): Run init code only when
1540 `tramp-gvfs-enabled' is not nil.
1541 (tramp-gvfs-enabled): Check also :system bus.
1542
0f137a73
SM
15432013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 Sync with upstream verilog-mode revision 78e66ba.
1546 * progmodes/verilog-mode.el (verilog-end-of-defun)
1547 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1548 (verilog-get-end-of-defun): Remove unused argument.
1549 (verilog-comment-depth): Remove unused local `e'.
1550 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1551 Don't pass arg to verilog-get-end-of-defun.
1552
1c276bdd
GM
15532013-11-14 Glenn Morris <rgm@gnu.org>
1554
1555 * obsolete/assoc.el (aget): Prefix dynamic variable.
1556
1557 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1558
ff6ec81d
SM
15592013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * widget.el, hfy-cmap.el: Remove bogus package version number.
1562
75f777b6
GM
15632013-11-13 Glenn Morris <rgm@gnu.org>
1564
1d43dba1
GM
1565 * replace.el (replace-eval-replacement):
1566 Try to give more helpful error message. (Bug#15836)
1567
ff4b7bd5
GM
1568 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1569 (archive-7z-update): Avoid custom type mismatches.
1570
75f777b6
GM
1571 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1572
11151a06
MA
15732013-11-13 Michael Albinus <michael.albinus@gmx.de>
1574
e675b3e4 1575 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1576 address can be empty.
1577
1578 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1579 Accept nil SWITCHES.
1580 (tramp-gvfs-handle-write-region): Implement APPEND.
1581
7b08f97e
DG
15822013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1583
1584 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1585 binary "|" operator and closing block args delimiter.
1586 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1587 (ruby-smie--implicit-semi-p): Not after "|" operator.
1588 (ruby-smie--closing-pipe-p): New function.
1589 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1590 (ruby-smie-rules): Indent after "|".
1591
f201cf3a
GM
15922013-11-12 Glenn Morris <rgm@gnu.org>
1593
1594 * ps-print.el (ps-face-attribute-list):
1595 Handle anonymous faces. (Bug#15827)
1596
e6f759f9
MR
15972013-11-12 Martin Rudalics <rudalics@gmx.at>
1598
1599 * window.el (display-buffer-other-frame): Fix doc-string.
1600 (Bug#15868)
1601
ecda65d4
SM
16022013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1603
1604 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1605
7ce8fcc3
MA
16062013-11-11 Michael Albinus <michael.albinus@gmx.de>
1607
1608 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1609 (tramp-sh-handle-file-local-copy): Don't write a message when
1610 saving temporary files.
1611
1612 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1613 both directories are remote.
1614 (tramp-smb-handle-directory-files): Do not return double entries.
1615 Do not expand full file names.
1616 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1617 (tramp-smb-handle-write-region): Implement APPEND.
1618 (tramp-smb-get-stat-capability): Fix a stupid bug.
1619
7818df11
SM
16202013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1623
608c2085
NT
16242013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1625
1626 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1627 throwing error over malformed let/let* (bug#15814).
1628
122a7e46
SM
16292013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1630
1631 * iswitchb.el (iswitchb-mode): Mark obsolete.
1632
766284d9
GM
16332013-11-11 Glenn Morris <rgm@gnu.org>
1634
1635 * international/uni-bidi.el, international/uni-category.el:
1636 * international/uni-name.el, international/uni-numeric.el:
1637 Regenerate for Unicode 6.3.0.
1638
7072a4e9
MA
16392013-11-10 Michael Albinus <michael.albinus@gmx.de>
1640
1641 * net/tramp.el (tramp-methods):
1642 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1643 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1644
c9df215b
AS
16452013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1646
608c2085
NT
1647 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1648 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1649
fa47d796
DG
16502013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1651
1652 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1653 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1654 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1655 (ispell-complete-word): Call `ispell-lookup-words' with the value
1656 independent of `ispell-look-p'.
1657
1629a329
DG
16582013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1659
1660 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1661 Not after "||".
1662 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1663 their parent.
1664
ad16897c
SM
16652013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1668 (ruby-font-lock-keywords): Use backquote.
1669
ffa2df72
DG
16702013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1671
1672 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1673 (ruby-smie--backward-token): Only consider full-string matches.
1674
5b97b4c0
JD
16752013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1676
1677 * faces.el (describe-face): Add distant-foreground.
1678
71731c03
BB
16792013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1680
4e9fc48c
BB
1681 * progmodes/ruby-mode.el: Improve encoding comment handling.
1682 (ruby-encoding-magic-comment-style): New option.
1683 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1684 (ruby--insert-coding-comment, ruby--detect-encoding):
1685 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1686 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1687 to control the style of the auto-inserted encoding comment.
71731c03 1688
da3b328d
DG
16892013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1690
ad16897c
SM
1691 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1692 Use `smie-backward-sexp' with token argument.
da3b328d 1693
1606c2d3
MA
16942013-11-08 Michael Albinus <michael.albinus@gmx.de>
1695
1696 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1697 Remove instrumentation code.
1698
b0f4c320
GM
16992013-11-08 Glenn Morris <rgm@gnu.org>
1700
1701 * progmodes/autoconf.el (autoconf-mode):
1702 Tweak comment-start-skip. (Bug#15822)
1703
43668fb1
SM
17042013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1705
1706 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1707 at bobp (bug#15826).
1708 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1709
daddb3fd
DH
17102013-11-08 Darren Hoo <darren.hoo@gmail.com>
1711
1712 * man.el (Man-start-calling): New macro, extracted from
1713 Man-getpage-in-background.
1714 (Man-getpage-in-background): Use it.
1715 (Man-update-manpage): New command.
1716 (Man-mode-map): Bind it.
1717
1f923923
DG
17182013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1719
1720 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1721 of "and", "or", "&&" and "||".
1722 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1723 argument. Prohibit opening curly brace because it could only be a
1724 block opener in that position.
daddb3fd
DH
1725 (ruby-smie--forward-token, ruby-smie--backward-token):
1726 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1727 arguments.
1728 (ruby-smie--indent-to-stmt): New function, seeks the end of
1729 previous statement or beginning of buffer.
1730 (ruby-smie-rules): Use it.
1731 (ruby-smie-rules): Check if there's a ":" before a curly block
1732 opener candidate; if there is, it's a hash.
1733
3220d527
SM
17342013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1737 (cl--block-wrapper): Fix last accidental change.
1738
1eb1f9e0
MA
17392013-11-07 Michael Albinus <michael.albinus@gmx.de>
1740
1741 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1742 Instrument, in order to hunt failure on hydra.
1743
e6e4db3c
NT
17442013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1745
1746 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1747 malformed bindings form (bug#15814).
1748
b420ccfc
DG
17492013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1750
1751 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1752 "." compared to " @ ". This incidentally fixes some indentation
1753 examples with "do".
e6e4db3c 1754 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1755 (ruby-smie-grammar): New tokens: "and" and "or".
1756 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1757 Exclude "and" and "or". Remove "do" in order to work around token
1758 priorities.
1759 (ruby-smie-rules): Add all infix tokens. Handle the case of
1760 beginning-of-buffer.
b420ccfc 1761
6b4ac03e
GM
17622013-11-06 Glenn Morris <rgm@gnu.org>
1763
1764 * Makefile.in (setwins_almost, setwins_for_subdirs):
1765 Avoid accidental matches.
1766
5ca114d1
SM
17672013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * menu-bar.el (popup-menu): Use key-binding.
1770
f72552bd
EZ
17712013-11-06 Eli Zaretskii <eliz@gnu.org>
1772
1773 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1774 menus, support also the menus produced by minor modes.
1775 (Bug#15817)
1776
5d5c701e
LL
17772013-11-06 Leo Liu <sdl.web@gmail.com>
1778
1779 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1780 DISTANCE to bound the search. All uses changed. (Bug#15808)
1781
0a8b75e2
GM
17822013-11-06 Glenn Morris <rgm@gnu.org>
1783
1784 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1785 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1786 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1787
a35287ea
SM
17882013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1789
feca4e2d
SM
1790 * electric.el (electric-indent-just-newline): New command.
1791 (electric-indent-mode-map): New keymap.
1792 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1793 Re-add :group which weren't redundant.
1794
a35287ea
SM
1795 * electric.el (electric-indent-local-mode): New minor mode.
1796 (electric-indent-functions-without-reindent): New var.
1797 (electric-indent-post-self-insert-function): Use it.
1798 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1799
375761b2
EZ
18002013-11-05 Eli Zaretskii <eliz@gnu.org>
1801
9a6ad735
EZ
1802 * international/quail.el (quail-help): Be more explicit about the
1803 meaning of the labels shown on the keys. (Bug#15800)
1804
375761b2
EZ
1805 * startup.el (normal-top-level): Load the subdirs.el files before
1806 setting the locale environment. (Bug#15805)
1807
520a6e4a
SM
18082013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1809
0acfafef
SM
1810 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1811 via arguments so as to get the right ones (bug#15418).
1812
520a6e4a
SM
1813 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1814
15826261
MA
18152013-11-05 Michael Albinus <michael.albinus@gmx.de>
1816
1817 Fix problems found while writing a test suite.
1818
1819 * net/tramp-compat.el (tramp-compat-load): New defun.
1820 * net/tramp.el (tramp-handle-load): Use it.
1821
1822 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1823 "(numberp ok-if-already-exists)" correctly.
1824
d35f31a4
XF
18252013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1826
1827 * international/characters.el (glyphless-char-display-control):
1828 Add usage note.
1829
ae93bc74
BB
18302013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1831
520a6e4a
SM
1832 * progmodes/python.el (python-mode):
1833 * progmodes/scheme.el (scheme-mode):
1834 * progmodes/prolog.el (prolog-mode):
1835 * progmodes/ruby-mode.el (ruby-mode):
1836 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1837 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1838
0ade65b5
SM
18392013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1840
a0d5f7a4
SM
1841 * rect.el (rectangle--highlight-for-redisplay):
1842 * emacs-lisp/smie.el (smie--next-indent-change):
1843 Use buffer-chars-modified-tick.
1844
c93f3f5c
SM
1845 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1846
0ade65b5
SM
1847 * electric.el (electric-indent-post-self-insert-function):
1848 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1849
ef9dd188
HE
18502013-11-04 Helmut Eller <eller.helmut@gmail.com>
1851
1852 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1853
306e7308
NT
18542013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1855
1856 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1857 (bug#15786).
1858
e5afbcac
SM
18592013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1d01ad41
SM
1861 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1862
e5afbcac
SM
1863 * progmodes/python.el: Fix up last change.
1864 (python-shell--save-temp-file): New function.
1865 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1866 `string' comes from the current buffer.
1867 (python-shell-send-string-no-output): Remove `msg' arg.
1868 (python--use-fake-loc): New var.
1869 (python-shell-buffer-substring): Obey it. Try to compensate for the
1870 extra coding line added by python-shell--save-temp-file.
1871 (python-shell-send-region): Use python-shell--save-temp-file and
1872 python-shell-send-file directly. Add `nomain' argument.
1873 (python-shell-send-buffer): Use python-shell-send-region.
1874 (python-electric-pair-string-delimiter): New function.
1875 (python-mode): Use it.
1876
d0065ff1
EZ
18772013-11-04 Eli Zaretskii <eliz@gnu.org>
1878
1879 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1880 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1881 environment and decoding all of the default-directory's to here
1882 from command-line.
1883 (command-line): Decode also argv[0].
1884
1885 * loadup.el: Error out if default-directory is a multibyte string
1886 when we are dumping.
1887
1888 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1889
7397c587
TZ
18902013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1891
1892 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1893 (package-menu--print-info, package-menu--archive-predicate):
1894 Add Archive column to package list.
7397c587 1895
b27cc9fc
MA
18962013-11-04 Michael Albinus <michael.albinus@gmx.de>
1897
1898 Fix problems found while writing a test suite.
1899
1900 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1901 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1902 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1903 to nil when running original file name handler. Otherwise,
1904 there are problems with constructs like "$$FOO".
1905
1906 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1907 for `localname'.
1908
d8c4f18a
BB
19092013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1910
7b530552
BB
1911 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1912
1913 * subr.el (version<, version<=, version=):
1914 Update docstrings with information for snapshot versions.
1915
d8c4f18a
BB
1916 * helpers.el: New library for misc helper functions.
1917 (hash-table-keys): New function returning a list of hash keys.
1918 (hash-table-values): New function returning a list of hash values.
1919
dca01b09
DG
19202013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1921
1922 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1923 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1924
0a749fa0
MN
19252013-11-04 Michal Nazarewicz <mina86@mina86.com>
1926
1927 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1928 checking whether point is after a 1-letter word.
1929
19302013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1931
1932 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1933 Don't infloop when expanding region over `multiline' syntax-type that
1934 begins a line (bug#15778).
1935
4aca7145
SM
19362013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1939 Make it into a proper minor mode.
1940 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1941 (rectangle-mark-mode-map): New keymap.
1942 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1943
a0833f62
GM
19442013-11-04 Glenn Morris <rgm@gnu.org>
1945
1946 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1947
e61845c1
SM
19482013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1951 (ruby-smie-rules): Use smie-rule-parent instead.
1952
1953 * emacs-lisp/smie.el (smie-rule-parent): Always call
1954 smie-indent-virtual rather than only for hanging tokens.
1955 (smie--next-indent-change): New helper command.
1956
62942f89
GM
19572013-11-03 Glenn Morris <rgm@gnu.org>
1958
1959 * Makefile.in (abs_srcdir): Remove.
1960 (emacs): Unset EMACSLOADPATH.
1961
b0b9e592
GM
19622013-11-02 Glenn Morris <rgm@gnu.org>
1963
18ba6a33 1964 * Makefile.in (EMACS): Use a relative filename.
8061810d 1965 (abs_top_builddir): Remove.
18ba6a33
GM
1966 (custom-deps, finder-data, autoloads): Use --chdir.
1967
6a8b929e
GM
1968 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1969
c617f3d0
GM
1970 Use relative filenames in TAGS files.
1971 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1972 (lisptagsfiles4, TAGS): Use relative file names.
1973 (TAGS-LISP): Remove.
1974 (maintainer-clean): No more TAGS-LISP file.
1975
b0b9e592
GM
1976 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1977 (lisptagsfiles4): Use absolute filenames again.
1978 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1979 Remove all *loaddefs files, not just the first. Remove esh-groups.
1980 (maintainer-clean): Delete TAGS, TAGS-LISP.
1981
d1c0ea6a
BB
19822013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1983
e61845c1
SM
1984 * emacs-lisp/package.el (package-version-join):
1985 Recognize snapshot versions.
d1c0ea6a 1986
684d71c6
BB
19872013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1988
1989 * subr.el (version-regexp-alist): Add support for snapshot versions.
1990
3d42b968
DG
19912013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1992
e61845c1
SM
1993 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1994 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
1995 skip over our direct parent if it's an assignment token..
1996 (ruby-smie-rules): Use it.
1997
7ffd3721
DG
19982013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1999
2000 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2001 unconditionally. Remove now unnecessary forward declarations.
2002 Remove XEmacs-specific setup.
2003 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2004 (ruby-font-lock-syntactic-keywords)
2005 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2006 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2007 (ruby-here-doc-end-syntax): Remove.
2008 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2009 defined as function.
2010
a3996a2e
BB
20112013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2012
2013 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2014
6f9260e8
BB
20152013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2016
2017 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2018 table and abbrev table, `define-derived-mode' does that for us
2019 anyway.
2020
6014de84
GM
20212013-11-01 Glenn Morris <rgm@gnu.org>
2022
2023 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2024 files is atomic for some time, so no parallel compilation issues).
2025
3c334c14
JD
20262013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2027
2028 * faces.el (face-x-resources): Add :distant-foreground.
2029 (region): Use :distant-foreground for gtk and ns.
2030
9bc236c8
TH
20312013-11-01 Tassilo Horn <tsdh@gnu.org>
2032
5246583b 2033 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2034 BibTeX.
2035 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2036 (reftex-locate-bibliography-files): Us it.
2037
d14c81ee
CB
20382013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2039
0e7690de
CB
2040 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2041 allow comments in pbm files.
2042
d14c81ee
CB
2043 * term/w32-win.el (dynamic-library-alist): Support newer versions
2044 of libjpeg starting with v7: look only for the DLL from the
2045 version against which Emacs was built.
ac1bf374 2046 Support versions of libpng beyond 1.4.x.
019c8218 2047 Support libtiff v4.x.
d14c81ee 2048
983d0df5
BB
20492013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2050
2051 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2052 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2053 Add property :safe.
2054 (ruby-deep-arglist): Add property :type.
2055
47f58d85
GM
20562013-10-31 Glenn Morris <rgm@gnu.org>
2057
2058 * Makefile.in (custom-deps, finder-data): No need to setq the target
2059 variables, we are in the right directory and the defaults work fine.
2060
4f85b479
GM
20612013-10-30 Glenn Morris <rgm@gnu.org>
2062
ca7dd4cd
GM
2063 * Makefile.in (autoloads): Do not use abs_lisp.
2064
4f85b479
GM
2065 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2066 `newline' does not respect `standard-output', so use `princ'.
2067
cf59e41c
AA
20682013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2069
2070 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2071 * buff-menu.el (Buffer-menu--unmark): New function.
2072 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2073
74cf04fb
GM
20742013-10-30 Glenn Morris <rgm@gnu.org>
2075
b040b60e
GM
2076 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2077
f53d3815
GM
2078 * emacs-lisp/package.el (lm-homepage): Declare.
2079
5413d873
GM
2080 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2081 Fix doc typos.
2082
cecedb36
GM
2083 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2084
74cf04fb
GM
2085 * Makefile.in (finder-data, autoloads, update-subdirs)
2086 (compile-main, compile-clean, compile-always, bootstrap-clean):
2087 Check return value of cd.
2088 (compile-calc): Remove.
2089
195ee2f0
SM
20902013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2091
ae4002ce
SM
2092 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2093
2094 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2095 (byte-compile-and-folded): New function.
2096 (=, <, >, <=, >=): Use it.
2097
2098 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2099 (path-separator, null-device, buffer-file-coding-system)
2100 (lpr-headers-switches): Check system-type before modifying them.
2101 (find-buffer-file-type-coding-system): Mark obsolete.
2102 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2103 find-file-not-found-set-buffer-file-coding-system.
2104 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2105 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2106 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2107 (w32-direct-print-region-helper, w32-direct-print-region-function)
2108 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2109 * startup.el (normal-top-level-add-subdirs-to-load-path):
2110 * ps-print.el (ps-print-region-function):
2111 * lpr.el (print-region-function): Use new name.
2112
53b39e89
SM
2113 * subr.el (custom-declare-variable-early): Remove function.
2114 (custom-declare-variable-list): Remove var.
2115 (error, user-error): Remove `while' loop.
2116 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2117 (user-emacs-directory-warning, locate-user-emacs-file):
2118 Move to files.el.
2119 * simple.el (read-quoted-char-radix, read-quoted-char):
2120 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2121 Move from subr.el.
2122 * custom.el (custom-declare-variable-list): Don't process
2123 custom-declare-variable-list.
2124
195ee2f0
SM
2125 * progmodes/python.el (python-shell-get-buffer): New function.
2126 (python-shell-get-process): Use it.
2127 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2128 Python which encoding was used. Don't split-string since we only care
2129 about the first line. Return the temp-file, if applicable.
2130 (python-shell-send-region): Tell compile.el how to turn locations in
2131 the temp-file into locations in the source buffer.
2132
7e3561ee
SM
21332013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2134
4c9797cb
SM
2135 * subr.el (undefined): Add missing behavior from the C code for
2136 unbound keys.
2137
3472b6c6
SM
2138 * rect.el: Use lexical-binding. Add new rectangular region support.
2139 (rectangle-mark): New command.
2140 (rectangle--region): New var.
2141 (deactivate-mark-hook): Reset rectangle--region.
2142 (rectangle--extract-region, rectangle--insert-for-yank)
2143 (rectangle--highlight-for-redisplay)
2144 (rectangle--unhighlight-for-redisplay): New functions.
2145 (region-extract-function, redisplay-unhighlight-region-function)
2146 (redisplay-highlight-region-function): Use them to handle
2147 rectangular region.
2148 * simple.el (region-extract-function): New var.
2149 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2150 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2151 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2152 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2153 (redisplay-unhighlight-region-function)
2154 (redisplay-highlight-region-function): New vars.
2155 (redisplay--update-region-highlight): New function.
2156 (pre-redisplay-function): Use it.
2157 (exchange-point-and-mark): Don't deactivate the mark before
2158 reactivate-it anyway.
2159 * comint.el (comint-kill-region): Remove yank-handler argument.
2160 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2161 (delete-char): Remove property, since it's now part of their
2162 default behavior.
2163 (self-insert-iso): Remove property since this command doesn't exist.
2164
7e3561ee
SM
2165 * emacs-lisp/package.el (package--download-one-archive)
2166 (describe-package-1): Don't query the user about final newline.
2167
b9bef71f
DC
21682013-10-29 Daniel Colascione <dancol@dancol.org>
2169
2170 * net/tramp.el (tramp-methods): Document new functionality.
2171 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2172 tramp-hostname-checker if method provides one instead of scanning
2173 argument list for "%h" to decide hostname acceptability.
2174
4efc33f0
MA
21752013-10-28 Michael Albinus <michael.albinus@gmx.de>
2176
2177 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2178 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2179 Handle COPY-CONTENTS. (Bug#15737)
2180
ed42a877
DU
21812013-10-28 Daiki Ueno <ueno@gnu.org>
2182
2183 * epa-file.el
7e3561ee
SM
2184 (epa-file-cache-passphrase-for-symmetric-encryption):
2185 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2186
18c9f8a2
XF
21872013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2188
7a4bc7be
XF
2189 * image.el (defimage):
2190 (image-load-path): Doc fixes.
18c9f8a2 2191
b1e8e010
AM
21922013-10-27 Alan Mackenzie <acm@muc.de>
2193
2194 Indent statements in macros following "##" correctly.
7e3561ee
SM
2195 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2196 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2197
73d40d1e 21982013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2199
2200 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2201
c8c605ac
DG
22022013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2203
2204 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2205 after `=' is probably a new expression.
2206
ca7e59d4
RS
22072013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2208
2209 * man.el (man-imenu-title): New option.
2210 (Man-mode-map): Add menu. (Bug#15722)
2211 (Man-mode): Add imenu to menu.
2212
bae91342
DG
22132013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2214
2215 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2216 specific in what the first arg can be: a non-keyword word,
2217 string/regexp/percent literal opener, opening paren, or unary
2218 operator followed directly by word.
2219
eb89dc14
SM
22202013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2223 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2224 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2225 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2226 Remove vars, they do not apply any more.
2227 (prolog-mode-abbrev-table): Remove redundant declaration.
2228 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2229 (prolog-use-smie): Remove.
2230 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2231 supported by prolog-electric-if-then-else-flag.
2232 (prolog-mode-variables, prolog-menu): Use setq-local.
2233 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2234 Remove binding to `Backspace' since this key doesn't exist anyway.
2235 Remove bindings for electric self-inserting keys.
2236 (prog-mode): Assume it's defined.
2237 (prolog-post-self-insert): New function.
2238 (prolog-mode): Use it.
2239 (prolog-indent-line, prolog-indent-level)
2240 (prolog-find-indent-of-matching-paren)
2241 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2242 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2243 (prolog-goto-next-paren, prolog-in-string-or-comment)
2244 (prolog-tokenize, prolog-inside-mline-comment)
2245 (prolog-find-start-of-mline-comment): Remove functions.
2246 (prolog-find-unmatched-paren, prolog-clause-end)
2247 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2248 (prolog-electric--if-then-else): Rename from
2249 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2250 (prolog-tokenize-searchkey): Remove const.
2251 (prolog-clause-info): Use forward-sexp.
2252 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2253 (prolog-electric-if-then-else): Remove commands.
2254 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2255 for use in post-self-insert-hook.
2256 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2257 for use in post-self-insert-hook.
2258 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2259 for use in post-self-insert-hook.
2260 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2261 adapt it for use in post-self-insert-hook.
2262
3dab0a83
MA
22632013-10-25 Michael Albinus <michael.albinus@gmx.de>
2264
2265 * emacs-lisp/ert.el (ert-run-tests-interactively):
2266 Use `completing-read'. (Bug#9756)
2267
fbfd0e1d
EZ
22682013-10-25 Eli Zaretskii <eliz@gnu.org>
2269
2270 * simple.el (line-move): Call line-move-1 instead of
2271 line-move-visual when the current window hscroll is zero, but
2272 temporary-goal-column indicates we will need to hscroll as result
2273 of the movement. (Bug#15712)
2274
963ce636
DG
22752013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2276
2277 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2278 capitalization. Use :visible instead of :active.
2279 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2280 commands that are used with SMIE.
2281 (ruby-do-end-to-brace): Insert space after `{'.
2282
a0be396a
JA
22832013-10-25 John Anthony <john@jo.hnanthony.com>
2284
f73754c9
JA
2285 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2286
2287 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2288
f5bf77df
GM
22892013-10-25 Glenn Morris <rgm@gnu.org>
2290
2291 * vc/vc.el (vc-print-log): Don't use a working revision unless
2292 one was explicitly specified. (Bug#15322)
2293
37241f62
SM
22942013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * subr.el (add-to-list): Preserve return value in compiler-macro
2297 (bug#15692).
2298
6408a65d
RS
22992013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2300
2301 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2302 result. Ask user to retry using '-all' flag. (Bug#15701)
2303
71e3276b
SM
23042013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * emacs-lisp/smie.el: New smie-config system.
2307 (smie-config): New defcustom.
2308 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2309 (smie-config-guess, smie-config-save): New commands.
2310 (smie-config--mode-local, smie-config--buffer-local)
2311 (smie-config--trace, smie-config--modefuns): New vars.
2312 (smie-config--advice, smie-config--mode-hook)
2313 (smie-config--setter, smie-config-local, smie-config--get-trace)
2314 (smie-config--guess-value, smie-config--guess): New functions.
2315 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2316 text properties. Treat "string fence" syntax like string syntax.
2317
2318 * progmodes/sh-script.el (sh-use-smie): Change default.
2319 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2320 (sh-var-value): Simplify by CSE.
2321 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2322 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2323 is used.
2324 (sh-guess-basic-offset): Use cl-incf.
2325 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2326
60db713e
HE
23272013-10-24 Helmut Eller <eller.helmut@gmail.com>
2328
2329 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2330 (bug#15699).
2331
8b251df6
GM
23322013-10-24 Glenn Morris <rgm@gnu.org>
2333
2334 * Makefile.in (abs_top_srcdir): Remove.
2335 (update-subdirs): Use relative path to update-subdirs.
2336
6be0e22b
EZ
23372013-10-24 Eli Zaretskii <eliz@gnu.org>
2338
2339 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2340 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2341 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2342 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2343
50b5b857
MA
23442013-10-24 Michael Albinus <michael.albinus@gmx.de>
2345
2346 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2347 (ert-test-skipped): New error.
2348 (ert-skip, ert-stats-skipped): New defuns.
2349 (ert--skip-unless): New macro.
2350 (ert-test-skipped): New struct.
2351 (ert--run-test-debugger, ert-test-result-type-p)
2352 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2353 (ert--stats-set-test-and-result, ert-char-for-test-result)
2354 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2355 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2356 Handle skipped tests. (Bug#9803)
50b5b857 2357
6f317c2f
GM
23582013-10-24 Glenn Morris <rgm@gnu.org>
2359
e43817c1
GM
2360 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2361
6f317c2f
GM
2362 * Makefile.in (abs_top_srcdir): New, set by configure.
2363 (update-subdirs): Correct build-aux location.
2364
369bbf71
DG
23652013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2366
8297b2cf
DG
2367 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2368 value, whether we could auto-deduce `backend', or not.
2369
369bbf71
DG
2370 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2371 with parameters" example. Simplify the "is it block or is it
2372 hash" check, but also make it more thorough.
2373
d5f1282f
MF
23742013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2375
2376 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2377
bc4aaa31
SM
23782013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2379
03d44565
SM
2380 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2381 { if it is hanging.
2382
bc4aaa31
SM
2383 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2384 :before ";".
2385
f493ff19
JB
23862013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2387
2388 * progmodes/compile.el (compilation-directory-matcher)
2389 (compilation-page-delimiter):
2390 Support GNU Make-4.0 directory quoting. (Bug#15678)
2391
c744a3b9
LL
23922013-10-23 Leo Liu <sdl.web@gmail.com>
2393
2394 * ido.el (ido-tidy): Handle read-only text.
2395
b8e3b0a9
GM
23962013-10-23 Glenn Morris <rgm@gnu.org>
2397
2398 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2399 (emacs, compile, compile-always):
2400 Quote entities that might contain whitespace.
2401 (custom-deps, finder-data, autoloads): Use abs_lisp.
2402 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2403 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2404 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2405
ee4282cd
DG
24062013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2407
bc4aaa31
SM
2408 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2409 Use `following-char'.
7790a270 2410
ee4282cd 24112013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2412
2413 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2414 * progmodes/ruby-mode.el (ruby-smie-rules):
2415 Remove corresponding workaround. Fix indentation rule of ";" so it
2416 also applies when ";" is the parent.
2417
d40a46d7
XF
24182013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2419
2420 * frame.el (display-screens, display-pixel-height)
2421 (display-pixel-width, display-mm-width, display-backing-store)
2422 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2423 (display-visual-class, display-monitor-attributes-list):
2424 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2425
a0f143c9
MG
24262013-10-22 Michael Gauland <mikelygee@amuri.net>
2427
2428 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2429 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2430
18cacc39
DG
24312013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2432
2433 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2434 TODO. Add "." after " @ ".
2435 (ruby-smie--at-dot-call): New function. Checks if point at method
2436 call with explicit target.
2437 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2438 to the method name tokens when it precedes them.
2439 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2440 (ruby-smie-rules): Add rule for indentation before and after "."
2441 token.
2442
df74c4be
SM
24432013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2444
c6dab55f
SM
2445 * textmodes/remember.el (remember-diary-extract-entries):
2446 Avoid add-to-list.
2447
df74c4be
SM
2448 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2449 an instruction.
2450
8c1ae481
DG
24512013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2452
cfef16c0
DG
2453 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2454 (ruby-smie--implicit-semi-p): Add new operator chars.
2455
8c1ae481
DG
2456 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2457 `smie-down-list'.
2458 (ruby-smie--args-separator-p): Check that there's no newline
2459 between method call and its arguments.
2460
87756ca9
AM
24612013-10-20 Alan Mackenzie <acm@muc.de>
2462
2463 Allow comma separated lists after Java "implements".
2464
df74c4be
SM
2465 * progmodes/cc-engine.el (c-backward-over-enum-header):
2466 Parse commas.
87756ca9
AM
2467 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2468 from a "disallowed" list in enum fontification.
2469
c25f8957
JB
24702013-10-20 Johan Bockgård <bojohan@gnu.org>
2471
df74c4be 2472 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2473
c25f8957
JB
2474 * progmodes/verilog-mode.el (verilog-mode): Don't set
2475 comment-indent-function globally.
2476
aca5fcdc
JD
24772013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2478
5f161884
JD
2479 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2480 Move Info menu item creation to ns-win.el.
2481
2482 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2483 in menu bar.
2484
aca5fcdc
JD
2485 * menu-bar.el: Move GNUStep specific menus...
2486
2487 * term/ns-win.el (ns-initialize-window-system): ... to here.
2488
914b7f98
SM
24892013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * simple.el (newline): Only run post-self-insert-hook when
2492 called interactively.
2493
846ffe77
JB
24942013-10-19 Johan Bockgård <bojohan@gnu.org>
2495
2496 * icomplete.el (icomplete-with-completion-tables): Add :version.
2497
033f22dd
AM
24982013-10-19 Alan Mackenzie <acm@muc.de>
2499
2500 Fix fontification bugs with constructors and const.
2501
2502 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2503 CASE 2) Remove the check for the absence of a suffix construct
2504 after a function declaration with only types (no identifiers) in
2505 the parentheses. Also, accept a function declaration with just a
2506 type inside the parentheses, if this type can be positively
2507 recognised as such, or if a prefix keyword like "explicit" nails
2508 down the construct as a declaration.
2509
58ce0cfc
EZ
25102013-10-19 Eli Zaretskii <eliz@gnu.org>
2511
2512 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2513 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2514 the problem whereby selecting a menu item that leads to a
2515 minibuffer prompt moves the cursor out of the minibuffer window,
2516 making it hard to type at the prompt. Suggested by Stefan Monnier
2517 <monnier@iro.umontreal.ca>.
2518
50e28e7d
JD
25192013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2520
2521 * menu-bar.el: Don't make Services menu.
2522
7deed4bf
RS
25232013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2524
2525 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2526 (ffap-alist): Use ffap-c++-mode for c++-mode.
2527 (ffap-c++-path): New variable.
2528 (ffap-c++-mode): New function.
2529
7bcb455b
JVJ
25302013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2531
2532 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2533
f0ff1cd5
MA
25342013-10-18 Michael Albinus <michael.albinus@gmx.de>
2535
2536 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2537 introduced on 2013-09-08, which results in an infinite loop
2538 requesting a password.
2539
d64da4b7
GM
25402013-10-18 Glenn Morris <rgm@gnu.org>
2541
2542 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2543
ea89ff08
WS
25442013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2545
2546 Sync with upstream verilog-mode revision 1a6ecec7.
2547 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2548 (verilog-mode-release-date): Remove.
2549 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2550 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2551 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2552 (verilog-auto-tieoff-ignore-regexp)
2553 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2554 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2555 (verilog-signals-with, verilog-dir-cache-preserving)
2556 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2557 Doc fixes.
2558 (verilog-case-fold): New option, to control case folding in
2559 regexp searches, bug597.
2560 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2561 (verilog-string-match-fold, verilog-in-paren-count)
2562 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2563 (verilog-at-close-struct-p): New functions.
2564 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2565 (verilog-forward-sexp, verilog-set-auto-endcomments):
2566 (verilog-leap-to-case-head): Handle "unique0" case.
2567 (verilog-in-constraint-re): New constant.
2568 (verilog-keywords, verilog-type-font-keywords):
2569 Add some SystemVerilog 1800-2012 keywords.
2570 (verilog-label-be): Remove unimplemented argument, bug669.
2571 (verilog-batch-execute-func): When batch expanding clear
2572 create-lockfiles to prevent spurious user locks when a file ends
2573 up not changing.
2574 (verilog-calculate-indent, verilog-calc-1)
2575 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2576 (verilog-do-indent): Fix indentation of nested constraints
2577 and structures.
2578 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2579 (verilog-auto-inst-param): Use verilog-string-match-fold.
2580 (verilog-read-inst-module-matcher):
2581 Fix AUTOINST on gate primitives with #1.
2582 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2583 Reads all user-defined typed variables.
2584 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2585 (verilog-signals-matching-regexp)
2586 (verilog-signals-not-matching-regexp, verilog-auto):
2587 Respect verilog-case-fold.
2588 (verilog-diff-report): Fix line count.
2589 (verilog-auto-assign-modport): Remove unused local `modi'.
2590 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2591 better handle multidimensional arrays.
2592 Fix packed array ports misadding bit index in AUTOINST, bug637.
2593 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2594 to not double-declare existing outputs and inputs, respectively.
2595 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2596 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2597 (verilog-sk-uvm-component): New skeleton.
2598 (verilog-submit-bug-report): Add verilog-case-fold,
2599 remove verilog-mode-release-date.
2600
ef566920
BR
26012013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2602
2603 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2604 as before.
2605
29df8a0b
RT
26062013-10-18 Reuben Thomas <rrt@sc3d.org>
2607
2608 * textmodes/remember.el (remember): set buffer-offer-save in
2609 remember buffers (bug#13566).
2610
04a19a79
DC
26112013-10-18 Daniel Colascione <dancol@dancol.org>
2612
2613 When evaluating forms in ielm, direct standard output to ielm
2614 buffer. Add new ielm-return-for-effect command. Remove trailing
2615 whitespace throughout.
2616
2617 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2618 (ielm-return-for-effect): New command.
2619 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2620 (ielm-eval-input): Accept optional `for-effect' parameter.
2621 Bind `standard-output' to stream we create using
04a19a79
DC
2622 `ielm-standard-output-impl'. Suppress printing result when
2623 `for-effect'.
2624 (ielm-standard-output-impl): New function.
2625 (inferior-emacs-lisp-mode): Explain new features in documentation.
2626
4c1f03ef
MA
26272013-10-17 Michael Albinus <michael.albinus@gmx.de>
2628
2629 Code cleanup.
2630
2631 * net/tramp.el (tramp-debug-message): Do not check for connection
2632 buffer.
2633 (tramp-message): Use "vector" connection property.
2634
2635 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2636 (tramp-equal-remote, tramp-eshell-directory-change)
2637 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2638 (tramp-adb-handle-rename-file)
2639 * net/tramp-cmds.el (tramp-list-remote-buffers)
2640 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2641 * net/tramp-compat.el (tramp-compat-process-running-p)
2642 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2643 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2644 (tramp-gvfs-handle-rename-file)
2645 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2646 (tramp-set-file-uid-gid)
2647 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2648 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2649 of `file-remote-p'.
2650
2651 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2652 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2653 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2654 (tramp-gw-open-network-stream): Suppress unrelated traces.
2655
2656 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2657 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2658 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2659 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2660 connection property.
2661
2662 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2663 persistency file.
4c1f03ef
MA
2664
2665 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2666 Refactor common code. Improve debug message.
2667 (tramp-maybe-open-connection)
2668 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2669 connection buffer too early.
2670
2671 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2672 from `tramp-smb-actions-with-acl'.
2673 (tramp-smb-actions-set-acl): New defconst.
2674 (tramp-smb-handle-copy-directory)
2675 (tramp-smb-action-get-acl): New defun, renamed from
2676 `tramp-smb-action-with-acl'.
2677 (tramp-smb-action-set-acl): New defun.
2678 (tramp-smb-handle-set-file-acl): Rewrite.
2679
642eb8b6
GM
26802013-10-17 Glenn Morris <rgm@gnu.org>
2681
2682 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2683
85527ff3
SM
26842013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2685
921c1d62
SM
2686 * skeleton.el (skeleton-newline): Remove.
2687 (skeleton-internal-1): Use (insert "\n") instead.
2688
e333fb10
SM
2689 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2690 let-bindings.
2691
85527ff3
SM
2692 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2693 forward-sexp-function while we redo its job (bug#15613).
2694
c8722a97
JB
26952013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2696
2697 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2698 represented by lists.
2699
7a550bbb
GM
27002013-10-16 Glenn Morris <rgm@gnu.org>
2701
2702 * tmm.el (tmm--history): New dynamic variable.
2703 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2704
f19da8ad
MA
27052013-10-16 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2708 (tramp-smb-errors): Add error messages.
2709 (tramp-smb-actions-with-acl): New defconst.
2710 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2711 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2712 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2713 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2714 (tramp-smb-get-stat-capability): Fix tests.
2715
a24b9961
DK
27162013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2717
2718 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2719 (bug#15580).
2720
62ad85e6
GM
27212013-10-16 Glenn Morris <rgm@gnu.org>
2722
0283d6b0
GM
2723 * ansi-color.el (ansi-color-drop-regexp):
2724 Add 1J, 1K, 2K. (Bug#15617)
2725
012e2f9f
GM
2726 * files.el (hack-local-variables--warned-lexical): New.
2727 (hack-local-variables):
2728 Warn about misplaced lexical-binding. (Bug#15616)
2729
62ad85e6
GM
2730 * net/eww.el (eww-render): Always set eww-current-url,
2731 and update header line. (Bug#15622)
2732 (eww-display-html): ... Rather than just doing it here.
2733
6456c0ea
EZ
27342013-10-15 Eli Zaretskii <eliz@gnu.org>
2735
2736 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2737 menu navigations commands.
2738
c2de5588
DK
27392013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2740
2741 * progmodes/subword.el (subword-capitalize): Be careful when
2742 the search for [[:alpha:]] fails (bug#15580).
2743
ccd4a783
EZ
27442013-10-14 Eli Zaretskii <eliz@gnu.org>
2745
2746 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2747 to commands that scroll the menu.
2748
1eda1d8d
DG
27492013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2750
c2de5588
DK
2751 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2752 Handle methods ending with `?' and `!'.
1eda1d8d 2753
e70181b8
AM
27542013-10-14 Akinori MUSHA <knu@iDaemons.org>
2755
2756 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2757 `japanese-cp932' to `cp932' to fix the problem where saving a
2758 source file written in Shift_JIS twice would end up having
2759 `coding: japanese-cp932' which Ruby could not recognize.
2760 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2761 in `ruby-encoding-map'.
2762 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2763 doesn't need to be explicitly declared in magic comment.
2764 (ruby-encoding-map): Add type declaration for better customize UI.
2765
9148ee92
GM
27662013-10-13 Glenn Morris <rgm@gnu.org>
2767
a5d38e34
GM
2768 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2769 Occur buffers are read-only. http://bugs.debian.org/720775
2770
9148ee92
GM
2771 * emacs-lisp/authors.el (authors-fixed-entries):
2772 Comment out old alpha stuff.
2773
a9ba094b
DG
27742013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2775
2776 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2777 to `after-save-hook' instead of `before-save-hook'.
2778 (ruby-mode-set-encoding): Use the value of coding system used to
2779 write the file. Call `basic-save-buffer-1' after modifying the
2780 buffer.
2781
7a068717
AM
27822013-10-13 Alan Mackenzie <acm@muc.de>
2783
2784 Fix indentation/fontification of Java enum with
2785 "implements"/generic.
2786
c2de5588
DK
2787 * progmodes/cc-engine.el (c-backward-over-enum-header):
2788 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2789 (c-inside-bracelist-p): Uses new function above.
2790 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2791 function above.
2792 (c-font-lock-enum-tail): Uses new function above.
2793
85b64f02
KH
27942013-10-13 Kenichi Handa <handa@gnu.org>
2795
2796 * international/mule-cmds.el (select-safe-coding-system): Remove a
2797 superfluous condition in chekcing whether a coding system is safe
2798 or not.
2799
fc7f501b
OK
28002013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2801
2802 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2803
fdcb2049
AP
28042013-10-13 Andreas Politz <politza@hochschule-trier.de>
2805
2806 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2807
8c106d17
GM
28082013-10-13 Glenn Morris <rgm@gnu.org>
2809
feab892d
GM
2810 * menu-bar.el (menu-bar-update-buffers):
2811 Unify Buffers menu prompt string. (Bug#15576)
2812
b22d0686
GM
2813 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2814
8c106d17
GM
2815 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2816 Add some entries.
2817 (authors-fixed-entries): Use accented form of name.
2818
1b12c797
SM
28192013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2820
650fa7bf 2821 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2822 method calls (bug#15594).
650fa7bf
SM
2823 (ruby-smie--args-separator-p): New function.
2824 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2825 recognize paren-free method calls.
2826
1b12c797
SM
2827 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2828 internals of universal-argument.
2829
029619c8
EZ
28302013-10-11 Eli Zaretskii <eliz@gnu.org>
2831
2832 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2833 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2834 dropped menu on second mouse click on the menu bar.
029619c8 2835
dd070019
SM
28362013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2837
2838 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2839 (explicit-shell-file-name): Declare.
2840 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2841 (sh-completion-at-point-function): New function.
2842 (sh-mode): Use it.
2843 (sh-smie--keyword-p): Remove unused argument.
2844 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2845 vars.
2846 (sh-set-shell): Always setup SMIE, even if we use the
2847 old indentation code.
2848
0922b826
DG
28492013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2850
b68e2926
DG
2851 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2852 cases of ? and =.
2853 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2854 predicate would return nil are almost non-existent.
2855 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2856
0922b826
DG
2857 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2858 cache also after commands that modify the buffer but don't move
2859 point.
2860
ee041f2d
SM
28612013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * env.el (substitute-env-in-file-name): New function.
2864 (substitute-env-vars): Extend the meaning of the optional arg.
2865
a5dab159
EZ
28662013-10-10 Eli Zaretskii <eliz@gnu.org>
2867
2868 * term/w32-win.el (dynamic-library-alist): Define separate lists
2869 of GIF DLLs for versions before and after 5.0.0 of giflib.
2870 (Bug#15531)
2871
0449d6cd 28722013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2873
2874 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2875 not locked, use last revision and current source as
2876 defaults. (Bug#15569)
2877
2f6e161e
MY
28782013-10-10 Masatake YAMATO <yamato@redhat.com>
2879
2880 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2881 menu-bar is hidden.
2882
6c8413fc
MR
28832013-10-10 Martin Rudalics <rudalics@gmx.at>
2884
2885 * window.el (pop-to-buffer-same-window): Fix doc-string.
2886 (Bug#15492)
2887
20832de0
SM
28882013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2889
2890 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2891
c6e8ae77
AC
28922013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2893
2894 * calendar/icalendar.el (icalendar-import-file):
2895 Fix interactive spec. (Bug#15482)
2896
9db13baf
GM
28972013-10-10 Glenn Morris <rgm@gnu.org>
2898
9271e90e
GM
2899 * desktop.el (desktop-save): Default to saving in .emacs.d,
2900 since PWD is no longer in desktop-path by default. (Bug#15319)
2901
9db13baf
GM
2902 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2903 now that text mode has a menu with the same entry.
2904 (menu-bar-text-mode-auto-fill): Remove now unused func.
2905 * textmodes/text-mode.el (text-mode-map):
2906 Use auto-fill help text from menu-bar.el.
2907
a0be396a 29082013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2909
2910 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2911
2edcd3c7
JL
29122013-10-09 Juri Linkov <juri@jurta.org>
2913
2914 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2915 instead of this-command-keys. Add universal-argument-more and
2916 universal-argument-minus to the list of prefix commands. (Bug#15568)
2917
574411d0
GM
29182013-10-09 Glenn Morris <rgm@gnu.org>
2919
14afa541
GM
2920 * vc/vc-svn.el (vc-svn-create-repo):
2921 Expand paths in file://... url. (Bug#15446)
2922
574411d0
GM
2923 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2924 Add some entries.
2925 (authors): Remove unused local variables.
2926
79804536
SM
29272013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * profiler.el: Create a more coherent calltree from partial backtraces.
2930 (profiler-format): Hide the tail with `invisible' so that C-s can still
2931 find the hidden elements.
2932 (profiler-calltree-depth): Don't recurse so enthusiastically.
2933 (profiler-function-equal): New hash-table-test.
2934 (profiler-calltree-build-unified): New function.
2935 (profiler-calltree-build): Use it.
2936 (profiler-report-make-name-part): Indent the calltree less.
2937 (profiler-report-mode): Add visibility specs for profiler-format.
2938 (profiler-report-expand-entry, profiler-report-toggle-entry):
2939 Expand the whole subtree when provided with a prefix arg.
2940
238150c8
DG
29412013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2942
2943 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2944 iuwu-mod token.
2945 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2946 hanging iuwu-mod token.
2947 (ruby-smie--forward-token): Do not include a dot after a token in
2948 that token.
2949 (ruby-smie--backward-token): Likewise.
2950
b0949cc4
JL
29512013-10-08 Juri Linkov <juri@jurta.org>
2952
2953 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2954 to isearch-other-control-char.
2955 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2956 and isearch-post-command-hook to post-command-hook.
2957 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2958 and isearch-post-command-hook from post-command-hook.
2959 (isearch-unread-key-sequence)
2960 (isearch-reread-key-sequence-naturally)
2961 (isearch-lookup-scroll-key, isearch-other-control-char)
2962 (isearch-other-meta-char): Remove functions.
2963 (isearch-pre-command-hook, isearch-post-command-hook):
2964 New functions based on isearch-other-meta-char rewritten
2965 relying on the new behavior of overriding-terminal-local-map
2966 that does not replace the local keymaps any more. (Bug#15200)
2967
4ed77415
EZ
29682013-10-08 Eli Zaretskii <eliz@gnu.org>
2969
2970 Support menus on text-mode terminals.
2971 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2972 functionality.
2973
2974 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2975
c2de5588
DK
2976 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2977 Move here from mouse.el.
4ed77415
EZ
2978 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2979 and arrow keys.
2980 (tty-menu-navigation-map): New map for TTY menu navigation.
2981
2982 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2983
2984 * frame.el (display-mouse-p): Report text-mode mouse as available
2985 on w32.
2986 (display-popup-menus-p): Report availability if mouse is
2987 available; don't condition on window-system.
2988
2989 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2990 (tty-menu-selected-face): New faces.
2991
b7d5bd82
TL
29922013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2993
06286513
SM
2994 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2995 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2996 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2997 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2998 New constants.
2999 (lisp-mode-variables): New `elisp' argument.
3000 (emacs-lisp-mode): Use it.
3001 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3002 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3003
b7d5bd82
TL
3004 * indent.el: Use lexical-binding.
3005 (indent-region): Add progress reporter.
3006 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3007 last step.
3008 (indent--next-tab-stop): New function to implement this behavior.
3009 (tab-to-tab-stop, move-to-tab-stop): Use it.
3010
30112013-10-08 Teemu Likonen <tlikonen@iki.fi>
3012
3013 * indent.el (indent-rigidly--current-indentation): New function.
3014 (indent-rigidly-map): New var.
3015 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3016
5ea75d23
BG
30172013-10-08 Bastien Guerry <bzg@gnu.org>
3018
3019 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3020
cc5da1ec
SM
30212013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3022
8ffa1a0b
SM
3023 * progmodes/perl-mode.el: Use lexical-binding.
3024 Remove redundant :group args.
3025 (perl-nochange): Change default to be closer to other major modes's
3026 standard behavior.
3027 (perl-indent-line): Don't consider text on current line as a
3028 valid beginning of function from which to indent.
3029
f2223371
SM
3030 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3031 with more than one argument (bug#15538).
3032
44256060
SM
3033 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3034
cc5da1ec
SM
3035 * vc/pcvs.el: Use lexical-binding.
3036 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3037 environment of `eval'.
3038 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3039 than a list of expressions. Adjust callers.
3040 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3041
0ea1599d
DG
30422013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3043
3044 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3045 case of the dot in a chained method call being on the following line.
0ea1599d 3046
da3e5ebb
SM
30472013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3048
2abb4e65
SM
3049 * electric.el (electric-indent-inhibit): New var.
3050 (electric-indent-post-self-insert-function): Use it.
3051 * progmodes/python.el (python-mode): Set it.
3052
d2e0e795
SM
3053 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3054 open braces.
3055
3056 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3057
bdc6b4c8
SM
3058 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3059 (css-mode): Use electric-indent-chars.
3060
da3e5ebb
SM
3061 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3062 (font-lock-beg, font-lock-end): Move before first use.
3063 (nxml-mode): Use syntax-propertize-function.
3064 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3065 (nxml-extend-after-change-region): Remove.
3066 * nxml/xmltok.el: Use lexical-binding.
3067 (xmltok-save): Use `declare'.
3068 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3069 * nxml/nxml-util.el: Use lexical-binding.
3070 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3071 Use `declare'.
3072 * nxml/nxml-ns.el: Use lexical-binding.
3073 (nxml-ns-save): Use `declare'.
3074 (nxml-ns-prefixes-for): Avoid add-to-list.
3075 * nxml/rng-match.el: Use lexical-binding.
3076 (rng--ipattern): Use cl-defstruct.
3077 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3078 (rng-cons-group-after, rng-subst-group-after)
3079 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3080 Use closures instead of `(lambda...).
3081
f8f91d5d
MA
30822013-10-07 Michael Albinus <michael.albinus@gmx.de>
3083
3084 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3085 of BEG and END.
3086
da3e5ebb
SM
3087 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3088 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3089 (tramp-gvfs-handle-insert-file-contents): Remove function.
3090
da3e5ebb
SM
3091 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3092 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3093
3094 * net/trampver.el: Update release number.
3095
7ccae3b1
SM
30962013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3097
55ca2c0d
SM
3098 * progmodes/compile.el (compilation-parse-errors):
3099 Use compilation--put-prop.
3100 (compilation--ensure-parse): Check compilation-multiline.
3101
731fc3ae
SM
3102 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3103
da3e5ebb
SM
3104 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3105 lexical-binding.
a5833280 3106
2e7ba2c2
SM
3107 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3108
7ccae3b1
SM
3109 * progmodes/ruby-mode.el: Fix recently added tests.
3110 (ruby-smie-grammar): Add - and +.
3111 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3112 (ruby-smie--backward-id): New functions.
3113 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3114 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3115 any more.
3116
85698d63
LL
31172013-10-07 Leo Liu <sdl.web@gmail.com>
3118
3119 * register.el (register-preview-delay)
3120 (register-preview-functions): New variables.
3121 (register-read-with-preview, register-preview)
3122 (register-describe-oneline): New functions.
3123 (point-to-register, window-configuration-to-register)
3124 (frame-configuration-to-register, jump-to-register)
3125 (number-to-register, view-register, insert-register)
3126 (copy-to-register, append-to-register, prepend-to-register)
3127 (copy-rectangle-to-register): Use register-read-with-preview to
3128 read register. (Bug#15525)
3129
3986af6c
DS
31302013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3131
3132 * net/network-stream.el (network-stream-open-starttls): Don't add
3133 --insecure if it's already present, because that gnutls-cli
3134 rejects getting that parameter twice.
3135
5cd9cda9
DG
31362013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3137
3138 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3139 keyword, too.
3140
da9ea6d9
DG
31412013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3142
3143 * newcomment.el (comment-use-global-state): Change default value
3144 to t, mark obsolete (Bug#15251).
3145 (comment-beginning): In addition to `comment-to-syntax', check the
3146 value of `comment-use-global-state'.
3147
34d1a133
SM
31482013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3151 (ruby-comment-column): Follow the global default, by default.
3152 (ruby-smie-grammar): Add assignment syntax.
3153 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3154 open-paren, a comma, or a \.
3155 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3156 and line continuations.
3157 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3158 followed by implicit semi-colons. Add rule for string concatenation
3159 and for indentation at BOB.
3160 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3161
3162 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3163 calling next-sexp, since next-token may have skipped chars which
3164 next-sexp doesn't know should be skipped!
3165
6f6ab820
LL
31662013-10-05 Leo Liu <sdl.web@gmail.com>
3167
34d1a133
SM
3168 * progmodes/octave.el (octave-send-region):
3169 Call compilation-forget-errors.
6f6ab820 3170
34ca0f4c
XF
31712013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3172
3173 * vc/vc-svn.el (vc-svn-find-admin-dir):
3174 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3175 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3176 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3177 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3178
a27c1b72
SM
31792013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3182
258ab3bc
SM
31832013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * subr.el (read-passwd): Hide chars even when called within a context
3186 where after-change-functions is disabled (bug#15501).
3187 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3188 until we removed ourself from overriding-terminal-local-map.
3189
939fb29c
LL
31902013-10-04 Leo Liu <sdl.web@gmail.com>
3191
258ab3bc
SM
3192 * progmodes/octave.el (inferior-octave-mode):
3193 Call compilation-forget-errors.
939fb29c 3194
63bd7f35
XF
31952013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3196
3197 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3198
9e6229fa
MA
31992013-10-04 Michael Albinus <michael.albinus@gmx.de>
3200
3201 * net/secrets.el (secrets-create-collection): Add optional
3202 argument ALIAS. Use proper Label keyword. Append ALIAS as
3203 dbus-call-method argument. (Bug#15516)
3204
1dab32a3
LL
32052013-10-04 Leo Liu <sdl.web@gmail.com>
3206
3207 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3208 (inferior-octave-compilation-font-lock-keywords): New variables.
3209 (compilation-error-regexp-alist)
3210 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3211 (inferior-octave-mode): Use compilation-shell-minor-mode.
3212
6cad7ba3
JS
32132013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3214
3215 * minibuffer.el (completion--replace): Be careful that `end' might be
3216 a marker.
3217
acbadd00
DU
32182013-10-03 Daiki Ueno <ueno@gnu.org>
3219
3220 Add support for package signature checking.
3221 * emacs-lisp/package.el (url-http-file-exists-p)
3222 (epg-make-context, epg-context-set-home-directory)
3223 (epg-verify-string, epg-context-result-for)
3224 (epg-signature-status, epg-signature-to-string)
3225 (epg-check-configuration, epg-configuration)
3226 (epg-import-keys-from-file): Declare.
3227 (package-check-signature): New user option.
3228 (package-unsigned-archives): New user option.
3229 (package-desc): Add `signed' field.
3230 (package-load-descriptor): Set `signed' field if .signed file exists.
3231 (package--archive-file-exists-p): New function.
3232 (package--check-signature): New function.
3233 (package-install-from-archive): Check package signature.
3234 (package--download-one-archive): Check archive signature.
3235 (package-delete): Remove .signed file.
3236 (package-import-keyring): New command.
3237 (package-refresh-contents): Import default keyring.
3238 (package-desc-status): Add "unsigned" status.
3239 (describe-package-1, package-menu--print-info)
3240 (package-menu-mark-delete, package-menu--find-upgrades)
3241 (package-menu--status-predicate): Support "unsigned" status.
3242
adf2aa61
SM
32432013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3246 the new compilation scheme using the new byte-codes.
3247
3248 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3249 (byte-pophandler): New byte codes.
3250 (byte-goto-ops): Adjust accordingly.
3251 (byte-compile--use-old-handlers): New var.
3252 (byte-compile-catch): Use new byte codes depending on
3253 byte-compile--use-old-handlers.
3254 (byte-compile-condition-case--old): Rename from
3255 byte-compile-condition-case.
3256 (byte-compile-condition-case--new): New function.
3257 (byte-compile-condition-case): New function that dispatches depending
3258 on byte-compile--use-old-handlers.
3259 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3260 when we can.
3261
3262 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3263 Optimize under `condition-case' and `catch' if
3264 byte-compile--use-old-handlers is nil.
3265 (disassemble-offset): Handle new bytecodes.
3266
328a8179
SM
32672013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3268
3269 * subr.el (error): Use `declare'.
3270 (decode-char, encode-char): Use advertised-calling-convention instead
3271 of the docstring to discourage use of the `restriction' arg.
3272
15a1e936
DU
32732013-10-03 Daiki Ueno <ueno@gnu.org>
3274
3275 * epg.el (epg-verify-file): Add a comment saying that it does not
3276 notify verification error as a return value nor a signal.
3277 (epg-verify-string): Ditto.
3278
376f862a
KR
32792013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3280
3281 * progmodes/compile.el (compilation-start): Try globbing the arg to
3282 `cd' (bug#15417).
3283
a2f93a5f
MA
32842013-10-02 Michael Albinus <michael.albinus@gmx.de>
3285
3286 Sync with Tramp 2.2.8.
3287
3288 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3289 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3290 * net/trampver.el: Update release number.
3291
0daa0804
JD
32922013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3293
3294 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3295 and default-process-coding-system for darwin only.
3296
abd1ae34
SM
32972013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3298
3299 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3300
be4e325d
MH
33012013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3302
3303 * vc/vc-git.el (vc-git-grep): Disable pager.
3304
e9155c4a
DG
33052013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3306
494e898b
DG
3307 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3308 Use :url instead of :homepage, as per
3309 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3310
e9155c4a
DG
3311 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3312 non-nil, use `syntax-ppss' (Bug#15251).
3313
481a8e0f
RS
33142013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3315
be4e325d
MH
3316 * progmodes/octave.el (inferior-octave-startup-file):
3317 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3318
056453c6
DG
33192013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3320
be4e325d
MH
3321 * emacs-lisp/package.el (package-desc-from-define):
3322 Accept additional arguments as plist, convert them to an alist and store
3323 them in the `extras' slot.
056453c6
DG
3324 (package-generate-description-file): Convert extras alist back to
3325 plist and append to the `define-package' form arguments.
3326 (package--alist-to-plist): New function.
3327 (package--ac-desc): Add `extras' slot.
3328 (package--add-to-archive-contents): Check if the archive-contents
3329 vector is long enough, and if it is, pass its `extras' slot value
3330 to `package-desc-create'.
3331 (package-buffer-info): Call `lm-homepage', pass the returned value
3332 to `package-desc-from-define'.
3333 (describe-package-1): Render the homepage button (Bug#13291).
3334
be4e325d
MH
3335 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3336 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3337
832966e5
JD
33382013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3339
3340 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3341 and default-process-coding-system to utf-8-unix (Bug#15402).
3342
6cfe977d
XF
33432013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3344
3345 * subr.el (looking-back): Do not recommend using looking-back.
3346
38de11bd
AM
33472013-09-28 Alan Mackenzie <acm@muc.de>
3348
3349 Fix indentation/fontification of Java enum with "implements".
3350
3351 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3352 regexp which matches "implements", etc., in Java.
3353 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3354 specifier clauses coming after "enum".
3355 * progmodes/cc-fonts.el (c-font-lock-declarations)
3356 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3357 after "enum".
3358
1610938f
JD
33592013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3360
3361 * faces.el (region): Change ns_selection_color to
3362 ns_selection_fg_color, add ns_selection_bg_color.
3363
e090f499
LL
33642013-09-28 Leo Liu <sdl.web@gmail.com>
3365
4d2e94d1
LL
3366 * progmodes/octave.el (inferior-octave-completion-table)
3367 (inferior-octave-completion-at-point): Minor tweaks.
3368
e090f499
LL
3369 * textmodes/ispell.el (ispell-lookup-words): Rename from
3370 lookup-words. (Bug#15460)
3371 (lookup-words): Obsolete.
3372 (ispell-complete-word, ispell-command-loop): All uses changed.
3373
7e138a62
RS
33742013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3375
3376 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3377 (octave-mode-menu): Add octave-send-buffer.
3378 (octave-send-buffer): New function.
3379
5af5ed08
RS
33802013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3381
3382 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3383 octave-lookfor.
3384 (octave-mode-menu): Add octave-lookfor.
3385 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3386 octave-lookfor.
3387 (octave-lookfor): New function.
3388
3b7b2692
SM
33892013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * emacs-lisp/cl-macs.el:
3392 (cl--loop-destr-temps): Remove.
3393 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3394 its convention.
3395 (cl--loop-set-iterator-function): New function.
3396 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3397 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3398 Bind `it' with `let' instead of substituting it with `cl-subst'.
3399 (cl--unused-var-p): New function.
3400 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3401 Eliminate some unused variable warnings (bug#15326).
3402
529fb53f
TH
34032013-09-27 Tassilo Horn <tsdh@gnu.org>
3404
3405 * doc-view.el (doc-view-scale-reset): Rename from
3406 `doc-view-reset-zoom-level'.
3407 (doc-view-scale-adjust): New command.
3408 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3409 `doc-view-scale-adjust'.
3410
0550c95a
TH
34112013-09-26 Tassilo Horn <tsdh@gnu.org>
3412
3413 * doc-view.el (doc-view-reset-zoom-level): New command.
3414 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3415 zoom commands (bug#15466).
3416
6950f152
KH
34172013-09-26 Kenichi Handa <handa@gnu.org>
3418
3419 * international/quail.el (quail-help): Make it not a command.
3420
39587580
LL
34212013-09-26 Leo Liu <sdl.web@gmail.com>
3422
3423 * minibuffer.el (completion-all-sorted-completions): Make args
3424 optional as they are.
3425
00578659
DC
34262013-09-25 Daniel Colascione <dancol@dancol.org>
3427
3428 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3429 specs are and that they're not evaluated.
3430
0c173878
SS
34312013-09-24 Sam Steingold <sds@gnu.org>
3432
3433 * midnight.el (clean-buffer-list-kill-regexps)
3434 (clean-buffer-list-kill-buffer-names): Update for the new Man
3435 buffer naming which includes the object name.
3436
84998447
SM
34372013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3438
3439 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3440 (eshell-parse-command, eshell-parse-pipeline): Use it since
3441 eshell-separate-commands requires a dynamic scoped var.
3442 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3443
33215353
LL
34442013-09-23 Leo Liu <sdl.web@gmail.com>
3445
3446 * autoinsert.el (auto-insert-alist): Make the value of
3447 lexical-binding match its file setting.
3448
57b16162
JB
34492013-09-23 Juanma Barranquero <lekktu@gmail.com>
3450
c8af4e67
JB
3451 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3452
57b16162
JB
3453 * autoarg.el (autoarg-kp-digit-argument):
3454 * electric.el (Electric-command-loop):
3455 * kmacro.el (kmacro-step-edit-insert):
3456 Do not set universal-argument-num-events.
3457
7186ba60
LL
34582013-09-22 Leo Liu <sdl.web@gmail.com>
3459
3460 * files.el (interpreter-mode-alist): Add octave.
3461
ece15004
AM
34622013-09-21 Alan Mackenzie <acm@muc.de>
3463
3464 C++: fontify identifier in declaration following "public:" correctly.
3465 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3466 to match "public", etc.
3467 (c-decl-prefix-re): Add ":" into the C++ value.
3468 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3469 bit. Add a check for a ":" preceded by "public", etc.
3470
75d83e22
EZ
34712013-09-21 Eli Zaretskii <eliz@gnu.org>
3472
3473 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3474 recognized by GDB 7.5 and later.
3475
d052d3bd
XF
34762013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3477
3478 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3479
31dca772
R
34802013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3481
3482 * subr.el (internal--call-interactively): New const.
3483 (called-interactively-p): Use it (bug#3984).
3484
98ccf24e
XF
34852013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3486
3487 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3488 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3489 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3490
c39cc7d1
SM
34912013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3494 (eshell-ls-orig-insert-directory): Remove.
3495 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3496 (eshell-ls-use-in-dired): Use advice-add/remove.
3497 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3498 Add `orig-fun' arg for use in :around advice.
3499 Make it check (redundantly) eshell-ls-use-in-dired.
3500
9a0289a2
GM
35012013-09-19 Glenn Morris <rgm@gnu.org>
3502
a2c501b8
GM
3503 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3504
c440407a
GM
3505 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3506
9a0289a2
GM
3507 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3508
85e05915
MA
35092013-09-19 Michael Albinus <michael.albinus@gmx.de>
3510
3511 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3512 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3513 (tramp-get-remote-python): New defuns.
3514 (tramp-get-remote-uid-with-perl)
3515 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3516 contributed by yary <not.com@gmail.com> (tiny change).
3517 (tramp-get-remote-uid-with-python)
3518 (tramp-get-remote-gid-with-python): New defuns. Python code
3519 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3520 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3521
ce503312
GM
35222013-09-19 Glenn Morris <rgm@gnu.org>
3523
f7544773
GM
3524 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3525
72fd2877
GM
3526 * eshell/em-unix.el (eshell-remove-entries):
3527 Rename argument to avoid name-clash with global `top-level'.
3528
336b5a56
GM
3529 * eshell/esh-proc.el (eshell-kill-process-function):
3530 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3531 (eshell-reset-after-proc): Remove unused arg `proc'.
3532
57a3a53d
GM
3533 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3534 (directory-files-and-attributes): Mark unused arg.
3535
3261d4af
GM
3536 * eshell/em-unix.el (eshell-remove-entries):
3537 Remove unused arg `path'. Update callers.
3538
8e51b5d0
GM
3539 * eshell/em-hist.el (eshell-hist-parse-arguments):
3540 Remove unused arg `silent'. Update callers.
3541
ce503312
GM
3542 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3543 Fix (f)boundp mix-up.
3544
3545 * eshell/em-smart.el (eshell-smart-scroll-window)
3546 (eshell-disable-after-change):
336b5a56 3547 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3548
ee3ce8a7
AM
35492013-09-18 Alan Mackenzie <acm@muc.de>
3550
3551 Fix fontification of type when followed by "const".
3552 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3553 "known" types from fontification.
3554
ec9177ba
GM
35552013-09-18 Glenn Morris <rgm@gnu.org>
3556
7bb3e768
GM
3557 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3558 (chart-face-list): Drop Emacsen without display-color-p.
3559
5148da15
GM
3560 * net/eww.el (libxml-parse-html-region): Declare.
3561 (eww-display-html): Explicit error if no libxml2 support.
3562
2f68e157
GM
3563 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3564
9019d095
GM
3565 * image.el (image-type-from-buffer, image-multi-frame-p):
3566 Remove --without-x warning/error.
67645389 3567
5f30349b 3568 * mouse.el (mouse-yank-primary):
45069b2e 3569 * term.el (term-mouse-paste):
5f30349b
GM
3570 Reorder to silence --without-x compilation.
3571
cd8edbbe
GM
3572 * mpc.el (doc-view-mode): Silence --without-x compilation.
3573
8a78544e
GM
3574 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3575 Silence --without-x compilation.
3576
12679bfd
GM
3577 * progmodes/gud.el (gud-find-file, gud-mode):
3578 Silence --without-x compilation.
3579 (tooltip-mode): Declare.
30810a05 3580
f0047cb9
GM
3581 * wdired.el (dired-backup-overwrite): Remove declaration.
3582 (wdired-mode-map): Add doc string.
3583
e740f9d2
GM
3584 * custom.el (x-get-resource): Declare.
3585
92d77c89
GM
3586 * eshell/em-glob.el (ange-cache):
3587 * eshell/em-unix.el (ange-cache): Declare.
3588
76e69577
GM
3589 * faces.el (x-display-list, x-open-connection, x-get-resource):
3590 Declare.
7e58af4b
GM
3591
3592 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3593 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3594 Declare.
76e69577 3595
4bd4c0af 3596 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3597
ffb82dbd
GM
3598 * net/gnutls.el (gnutls-log-level): Declare.
3599
986ed135
GM
3600 * net/shr.el (image-size, image-animate): Declare.
3601
e740f9d2
GM
3602 * simple.el (font-info): Declare.
3603
d2f3e9f8
GM
3604 * subr.el (x-popup-dialog): Declare.
3605
047a1a4c
GM
3606 * term/common-win.el (x-select-enable-primary)
3607 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3608 Declare.
3609
f4a1d572
GM
3610 * term/ns-win.el (x-handle-args): Declare.
3611
e843de77
GM
3612 * term/x-win.el (x-select-enable-clipboard): Declare.
3613
5fa89513
GM
3614 * term/w32-win.el (create-default-fontset): Declare.
3615
38702b5b
GM
3616 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3617 Declare.
3618
e740f9d2
GM
3619 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3620 (fit-frame-to-buffer): Explicit error if --without-x.
3621 (mouse-autoselect-window-select): Silence compiler.
3622
49a053fc
GM
3623 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3624
3625 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3626 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3627 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3628 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3629 Remove unused local variables.
3630
3631 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3632
ec9177ba
GM
3633 * textmodes/two-column.el: Make 2C-split work for --without-x.
3634 (scroll-bar-columns): Autoload.
3635 (top-level): Require fringe when compiling.
3636
9f25cb77
LL
36372013-09-18 Leo Liu <sdl.web@gmail.com>
3638
3639 * subr.el (add-hook): Robustify to handle closure as well.
3640
2b42da98
GM
36412013-09-17 Glenn Morris <rgm@gnu.org>
3642
3643 * simple.el (messages-buffer-mode-map): Unbind "g".
3644
e8b66a6a
SM
36452013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3646
9c0ad4f7
SM
3647 * help-mode.el (help-mode-finish): Use derived-mode-p.
3648 Remove obsolete highlighting.
3649
7a806dfb
SM
3650 * play/life.el (life-mode): Use define-derived-mode. Derive from
3651 special-mode.
3652 (life): Let-bind inhibit-read-only.
3653 (life-setup): Avoid `setq'. Use `life-mode'.
3654
96dbf5a8
SM
3655 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3656 which should not be needed any more.
3657 (package-menu-refresh, package-menu-describe-package): Use user-error.
3658
e8b66a6a
SM
3659 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3660 (eshell-post-rewrite-command-hook): Make obsolete.
3661 (eshell-parse-command): Simplify.
3662 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3663 (eshell--cmd): Declare.
3664 (eshell-parse-pipeline): Remove unused var `final-p'.
3665 Pass a dynvar to eshell-post-rewrite-command-hook.
3666 Implement the new eshell-post-rewrite-command-function.
3667 (eshell-invoke-directly): Remove unused arg `input'.
3668 * eshell/esh-io.el (eshell-io-initialize):
3669 Use eshell-post-rewrite-command-function (bug#15399).
3670 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3671 adjust to new calling convention.
3672 (eshell-create-handles): Rename args to avoid clashing with dynvar
3673 `standard-output'.
3674
90582f05
GM
36752013-09-17 Glenn Morris <rgm@gnu.org>
3676
3677 * simple.el (messages-buffer-mode): New major mode.
3678 (messages-buffer): New function.
3679 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3680 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3681 (ert-run-test): Use `messages-buffer' function.
90582f05 3682 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3683 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3684 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3685
39eb0cb5 36862013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3687
3688 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3689
1f1e06e2
SM
3690 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3691
70568a90
SM
36922013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3693
504a0381
SM
3694 * icomplete.el (icomplete-in-buffer): New var.
3695 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3696 vars and replace them with functions.
3697 (icomplete-minibuffer-setup): Adjust accordingly.
3698 (icomplete--completion-table, icomplete--completion-predicate)
3699 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3700 New functions.
3701 (icomplete-forward-completions, icomplete-backward-completions)
3702 (icomplete-simple-completing-p, icomplete-exhibit)
3703 (icomplete-completions): Use them.
3704 (icomplete--in-region-buffer): New var.
3705 (icomplete--in-region-setup): New function.
3706 (icomplete-mode): Use it.
3707
70568a90
SM
3708 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3709 (bug#15379).
3710 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3711 return args and options.
3712 (eshell-eval-using-options): Use the new return value of
3713 eshell--do-opts to set the options's vars in their scope.
3714 (eshell--set-option): Rename from eshell-set-option.
3715 Add arg `opt-vals'.
3716 (eshell--process-option): Rename from eshell-process-option.
3717 Add arg `opt-vals'.
3718 (eshell--process-args): Use an `opt-vals' alist to store the options's
3719 values during their processing and return them additionally to the
3720 remaining args.
3721
578c21bc
DG
37222013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3723
3724 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3725 continuation character an operator, as far as indentation is
3726 concerned (Bug#15369).
3727
c089653d
MR
37282013-09-15 Martin Rudalics <rudalics@gmx.at>
3729
3730 * window.el (window--state-put-2): Don't process buffer state
3731 when buffer doesn't exist any more (Bug#15382).
3732
1e53bb4b
GM
37332013-09-15 Glenn Morris <rgm@gnu.org>
3734
30753242
GM
3735 * eshell/em-unix.el (eshell/rm):
3736 Make -f ignore missing files. (Bug#15373)
3737
1e53bb4b
GM
3738 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3739 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3740 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3741
0d8863b3
GM
37422013-09-14 Glenn Morris <rgm@gnu.org>
3743
3744 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3745
d3fc6549
GM
37462013-09-13 Glenn Morris <rgm@gnu.org>
3747
3748 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3749 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3750
fcd42c11
DA
37512013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3752
3753 * frame.el (x-focus-frame): Mark as declared in frame.c.
3754
7830899f
SM
37552013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * ls-lisp.el: Use advice-add.
3758 (original-insert-directory): Remove.
3759 (ls-lisp--insert-directory): Rename from insert-directory; add
3760 `orig-fun' argument.
3761 (insert-directory): Advise.
3762
84387cd2
EZ
37632013-09-13 Eli Zaretskii <eliz@gnu.org>
3764
3765 * term.el (term-emulate-terminal): Decode the command string
3766 before passing it to term-command-hook. (Bug#15337)
3767
35ffc6ba
GM
37682013-09-13 Glenn Morris <rgm@gnu.org>
3769
5c3f9bcc
GM
3770 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3771
2ada368a
GM
3772 * eshell/esh-ext.el (eshell-search-path): Declare.
3773
fcef2e13
GM
3774 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3775 Otherwise an error occurs if eshell-dirs module not loaded.
3776
35ffc6ba
GM
3777 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3778
35c3d36e
MA
37792013-09-13 Michael Albinus <michael.albinus@gmx.de>
3780
3781 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3782 `tramp-check-proper-host'. Check for a valid method name.
3783
3784 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3785 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3786 * net/tramp-sh.el (tramp-maybe-open-connection):
3787 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3788
3789 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3790 also for hash values.
3791
ae5e4c48
SM
37922013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3793
379add74
SM
3794 * term/ns-win.el (parameters): Don't declare as dynamic.
3795 (before-make-frame-hook): Don't add ineffective function.
3796
ae5e4c48
SM
3797 * eshell/*.el: Use lexical-binding (bug#15231).
3798
b5623270
KH
37992013-09-12 Kenichi Handa <handa@gnu.org>
3800
ae5e4c48 3801 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3802
30213927
GM
38032013-09-12 Glenn Morris <rgm@gnu.org>
3804
be94d713 3805 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3806 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3807
44915370
GM
3808 * subr.el (do-after-load-evaluation): Also give compiler warnings
3809 when obsolete files are used (except by obsolete files).
3810
a6ae021f
GM
3811 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3812 in the status output, assume `filename' is the first. (Bug#15322)
3813
40e64f0c
GM
3814 * vc/vc.el (vc-deduce-fileset): Doc fix.
3815
16d9f896
GM
3816 * calc/calc-help.el (Info-goto-node):
3817 * progmodes/cperl-mode.el (Info-find-node):
3818 * vc/ediff.el (Info-goto-node): Update declarations.
3819
dea01c6e
GM
3820 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3821
759880bf 3822 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3823 (vc-bzr-pull): Require vc-dispatcher.
3824 * vc/vc-git.el (vc-compilation-mode): Declare.
3825 (vc-git-pull): Require vc-dispatcher.
3826
08d66420
GM
3827 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3828
30b626e9
GM
3829 * progmodes/octave.el (help-button-action): Declare.
3830
8c05cb10
GM
3831 * shell.el (shell-directory-tracker): Output error as a message
3832 rather than just returning it as a string.
3833 (shell-process-pushd): Remove useless use of message.
3834
30213927
GM
3835 * dframe.el (dframe-timer-fn):
3836 * files.el (dir-locals-read-from-file):
3837 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3838 (mpc-format):
3839 * reveal.el (reveal-post-command):
3840 * saveplace.el (load-save-place-alist-from-file):
3841 * shell.el (shell-resync-dirs):
3842 * w32-common-fns.el (x-get-selection-value):
3843 * emacs-lisp/copyright.el (copyright-find-copyright):
3844 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3845 * emulation/tpu-edt.el (tpu-copy-keyfile):
3846 * play/bubbles.el (bubbles--mark-neighbourhood):
3847 * progmodes/executable.el
3848 (executable-make-buffer-file-executable-if-script-p):
3849 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3850
d3b049e6
SM
38512013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3852
170266d0
SM
3853 Cleanup Eshell to rely less on dynamic scoping.
3854 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3855 last-value, and ext-command here. Bind `args' closer to `body'.
3856 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3857 (eshell--args): Declare new dynamic var.
3858 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3859 last-value, and ext-command. Pass `args' to `body'.
3860 (eshell-process-args): Bind eshell--args.
3861 (eshell-set-option): Use eshell--args.
3862 * eshell/eshell.el (eshell): Use derived-mode-p.
3863 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3864 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3865 (eshell-glob-function): Declare.
3866 * eshell/esh-util.el: Require cl-lib.
3867 (eshell-read-hosts-file): Avoid add-to-list.
3868 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3869 `err'.
3870 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3871 Declare.
3872 (eshell/diff): Remove unused var `err'.
3873 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3874 `killflag'.
3875 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3876 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3877 first use.
3878 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3879 Move declaration before first use.
3880 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3881 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3882 rely on cl-return.
3883
56834f3b
GM
38842013-09-12 Glenn Morris <rgm@gnu.org>
3885
3886 * term/ns-win.el (global-map): Remove binding for ispell-next,
3887 deleted 1999-05-29. (Bug#15357)
3888
5c91a2b8
GM
38892013-09-11 Glenn Morris <rgm@gnu.org>
3890
da712f22
GM
3891 * echistory.el (electric-command-history): Remove call to deleted func.
3892
512e4cdc
GM
3893 * play/landmark.el (landmark-mode): Fix typos.
3894
d3506ca5
GM
3895 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3896 Check cvs-sort-ignore-file is bound.
3897
5c91a2b8
GM
3898 * savehist.el: No need for cl when compiling on Emacs.
3899
feeff482
SM
39002013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3901
656bd483
SM
3902 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3903 (bug#15338).
d3b049e6
SM
3904 (eshell-self-insert-command, eshell-send-invisible):
3905 Remove unused argument.
656bd483
SM
3906 (eshell-handle-control-codes): Remove unused var `orig'.
3907 Avoid delete-backward-char.
3908
feeff482
SM
3909 * files.el (set-auto-mode): Simplify a bit further.
3910
2a08047a
GM
39112013-09-11 Glenn Morris <rgm@gnu.org>
3912
3913 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3914 (set-auto-mode): Don't regexp-quote elements.
3915 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3916 * progmodes/cc-mode.el (interpreter-mode-alist):
3917 * progmodes/ruby-mode.el (interpreter-mode-alist):
3918 Revert previous change.
3919
34675540
SM
39202013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3921
1b3b87df
SM
3922 * play/snake.el (snake-mode):
3923 * play/mpuz.el (mpuz-mode):
3924 * play/landmark.el (lm-mode):
3925 * play/blackbox.el (blackbox-mode):
3926 * play/5x5.el (5x5-mode):
3927 * obsolete/options.el (Edit-options-mode):
3928 * net/quickurl.el (quickurl-list-mode):
3929 * net/newst-treeview.el (newsticker-treeview-mode):
3930 * mail/rmailsum.el (rmail-summary-mode):
3931 * mail/mspools.el (mspools-mode):
3932 * locate.el (locate-mode):
3933 * ibuffer.el (ibuffer-mode):
3934 * emulation/ws-mode.el (wordstar-mode):
3935 * emacs-lisp/debug.el (debugger-mode):
3936 * array.el (array-mode):
3937 * net/eudc.el (eudc-mode): Use define-derived-mode.
3938 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3939 Move initialization into declaration.
3940 (mairix-searches-mode): Use define-derived-mode.
3941 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3942 (eudc-edit-hotlist): Use dolist.
3943 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3944 (Man-mode): Use define-derived-mode.
3945 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3946 (Info-edit-mode): Use define-derived-mode.
3947 (Info-cease-edit): Use Info-mode.
3948 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3949 into declaration.
3950 (eshell-mode): Use define-derived-mode.
3951 * chistory.el (command-history-mode-map): Rename from
3952 command-history-map.
3953 (command-history-mode): Use define-derived-mode.
da712f22 3954 (Command-history-setup): Remove function.
1b3b87df
SM
3955 * calc/calc.el (calc-trail-mode-map): New var.
3956 (calc-trail-mode): Use define-derived-mode.
3957 (calc-trail-buffer): Set calc-main-buffer manually.
3958 * bookmark.el (bookmark-insert-annotation): New function.
3959 (bookmark-edit-annotation): Use it.
3960 (bookmark-edit-annotation-mode): Make it a proper major mode.
3961 (bookmark-send-edited-annotation): Use derived-mode-p.
3962 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3963 closer to its ideal place. Use \' to match EOS.
3964
34675540
SM
3965 * profiler.el (profiler-calltree-find): Use function-equal.
3966
6a5c15d9
GM
39672013-09-10 Glenn Morris <rgm@gnu.org>
3968
1af4c220
GM
3969 * files.el (interpreter-mode-alist): Convert to regexps.
3970 (set-auto-mode): Adapt for this. (Bug#15306)
3971 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3972 Comment out unused variable.
3973 * progmodes/cc-mode.el (interpreter-mode-alist):
3974 * progmodes/python.el (interpreter-mode-alist):
3975 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3976 * progmodes/sh-script.el (sh-set-shell):
3977 No longer use interpreter-mode-alist to get list of shells.
3978
6a5c15d9
GM
3979 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3980
8c27f5ff
SM
39812013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3982
02ef6c1a 3983 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3984 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3985 Bind switch-frame explicitly. Replace universal-argument-minus with
3986 a conditional binding.
3987 (universal-argument-num-events, saved-overriding-map): Remove.
3988 (restore-overriding-map): Remove.
3989 (universal-argument--mode): Rename from save&set-overriding-map,
3990 and rewrite.
3991 (universal-argument, universal-argument-more, negative-argument)
3992 (digit-argument): Adjust accordingly.
3993 (universal-argument-minus): Remove.
3994 (universal-argument-other-key): Remove.
3995
8c27f5ff
SM
3996 * subr.el (with-demoted-errors): Add `format' argument.
3997
6480194c
MA
39982013-09-10 Michael Albinus <michael.albinus@gmx.de>
3999
4000 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4001 `tramp-cleanup-connection'.
4002
4003 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4004 parameters KEEP-DEBUG and KEEP-PASSWORD.
4005
4006 * net/tramp.el (tramp-file-name-handler):
4007 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4008 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4009 (tramp-maybe-open-connection):
8c27f5ff
SM
4010 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4011 Use `tramp-cleanup-connection'.
6480194c 4012
8c27f5ff
SM
4013 * net/tramp-sh.el (tramp-maybe-open-connection):
4014 Catch 'uname-changed inside the progress reporter.
6480194c 4015
e5e916d8
GM
40162013-09-10 Glenn Morris <rgm@gnu.org>
4017
9a2c9b47
GM
4018 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4019
e5e916d8
GM
4020 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4021 returns "alternate access method" in mode (eg "-rw-r--r--.").
4022
144e38fe
GM
40232013-09-08 Glenn Morris <rgm@gnu.org>
4024
4025 * saveplace.el (load-save-place-alist-from-file):
4026 Demote errors. (Bug#15305)
4027
af9ff9e8
MA
40282013-09-08 Michael Albinus <michael.albinus@gmx.de>
4029
4030 Improve compatibility with older Emacsen, and XEmacs.
4031
4032 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4033 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4034 (with-tramp-progress-reporter): Do not let-bind `result'.
4035 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4036 (tramp-handle-make-auto-save-file-name): New function, moved from
4037 tramp-sh.el.
4038
4039 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4040 for `make-auto-save-file-name'.
8c27f5ff
SM
4041 (tramp-adb--gnu-switches-to-ash):
4042 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4043
4044 * net/tramp-cache.el (tramp-cache-print): Call
4045 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4046
4047 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4048 bound. It isn't for XEmacs.
4049
8c27f5ff
SM
4050 * net/tramp-compat.el (tramp-compat-copy-file):
4051 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4052 (tramp-compat-replace-regexp-in-string): New defun.
4053
4054 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4055 for `make-auto-save-file-name'.
4056 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4057 `copy-file'.
4058 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4059 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4060 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4061
8c27f5ff
SM
4062 * net/tramp-gw.el (tramp-gw-open-network-stream):
4063 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4064
8c27f5ff
SM
4065 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4066 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4067 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4068 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4069 (tramp-sh-file-inotifywait-process-filter):
4070 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4071 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4072
4073 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4074 for `make-auto-save-file-name'.
8c27f5ff
SM
4075 (tramp-smb-handle-copy-directory):
4076 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4077 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4078 (tramp-smb-handle-copy-file): Improve error message.
4079 (tramp-smb-handle-rename-file): Rename directly only in case
4080 `newname' does not exist yet. This is a restriction of smbclient.
4081 (tramp-smb-maybe-open-connection): Rerun the function only when
4082 `auth-sources' is non-nil.
4083
0ca754d0
KH
40842013-09-08 Kenichi Handa <handa@gnu.org>
4085
4086 * international/characters.el: Set category "^" (Combining) for
4087 more characters.
4088
e8dd0787
AM
40892013-09-07 Alan Mackenzie <acm@muc.de>
4090
4091 Correctly fontify Java class constructors.
4092 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4093 in Java Mode.
4094 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4095 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4096 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4097 "typeless" declaration there.
4098
f2f248e7
RW
40992013-09-07 Roland Winkler <winkler@gnu.org>
4100
4101 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4102 field subtitle for entry type book.
4103
67982e2b
SM
41042013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * minibuffer.el: Make minibuffer-complete call completion-in-region
4107 rather than other way around.
4108 (completion--some, completion-pcm--find-all-completions):
4109 Don't delay signals when debugging.
4110 (minibuffer-completion-contents): Beware fields within the
4111 minibuffer contents.
4112 (completion-all-sorted-completions): Use defvar-local.
4113 (completion--do-completion, completion--cache-all-sorted-completions)
4114 (completion-all-sorted-completions, minibuffer-force-complete):
4115 Add args `beg' and `end'.
4116 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4117 (minibuffer-complete): Use completion-in-region.
4118 (completion-complete-and-exit): New fun, extracted from
4119 minibuffer-complete-and-exit.
4120 (minibuffer-complete-and-exit): Use it.
4121 (completion--complete-and-exit): Rename from
4122 minibuffer--complete-and-exit.
4123 (completion-in-region--single-word): New function, extracted from
4124 minibuffer-complete-word.
4125 (minibuffer-complete-word): Use it.
4126 (display-completion-list): Make `common-substring' argument obsolete.
4127 (completion--in-region): Call completion--in-region-1 instead of
4128 minibuffer-complete.
4129 (completion-help-at-point): Pass boundaries to
4130 minibuffer-completion-help as args rather than via an overlay.
4131 (completion-pcm--string->pattern): Use `any-delim'.
4132 (completion-pcm--optimize-pattern): New function.
4133 (completion-pcm--pattern->regex): Handle `any-delim'.
4134 * icomplete.el (icomplete-forward-completions)
4135 (icomplete-backward-completions, icomplete-completions):
4136 Adjust calls to completion-all-sorted-completions and
4137 completion--cache-all-sorted-completions.
4138 (icomplete-with-completion-tables): Default to t.
4139 * emacs-lisp/crm.el (crm--current-element): Rename from
4140 crm--select-current-element. Don't put an overlay but return the
4141 boundaries instead.
4142 (crm--completion-command): Take two new args to bind to the boundaries.
4143 (crm-completion-help): Adjust accordingly.
4144 (crm-complete): Use completion-in-region.
4145 (crm-complete-word): Use completion-in-region--single-word.
4146 (crm-complete-and-exit): Use completion-complete-and-exit.
4147
e17d94a5
SM
41482013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4151 than dynamically.
4152
96727100
JL
41532013-09-06 Juri Linkov <juri@jurta.org>
4154
4155 * info.el (Info-display-images-node): When image file doesn't exist
4156 display text version of the image if it's provided in the Info file.
4157 Otherwise, display the location of missing image from SRC attribute.
4158 Add help-echo text property from ALT attribute. (Bug#15279)
4159
86cf7329
SM
41602013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4163 (edit-abbrevs-mode): Use define-derived-mode.
4164
4165 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4166 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4167 that it's defined.
4168 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4169 Use define-derived-mode.
4170
4171 * epg.el (epg-start-encrypt): Minor CSE simplification.
4172
816244a2
WX
41732013-09-06 William Xu <william.xwl@gmail.com>
4174
4175 * arc-mode.el: Add support for 7za (bug#15264).
4176 (archive-7z-program): New var.
4177 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4178 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4179 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4180
1486fa31
MA
41812013-09-06 Michael Albinus <michael.albinus@gmx.de>
4182
4183 Remove URL syntax.
4184
4185 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4186 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4187 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4188 (tramp-postfix-host-format, tramp-file-name-regexp)
4189 (tramp-completion-file-name-regexp)
4190 (tramp-completion-dissect-file-name)
4191 (tramp-handle-substitute-in-file-name): Remove 'url case.
4192 (tramp-file-name-regexp-url)
4193 (tramp-completion-file-name-regexp-url): Remove constants.
4194
39785324
GM
41952013-09-06 Glenn Morris <rgm@gnu.org>
4196
4197 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4198
1f896cb7
DG
41992013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4200
4201 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4202 keywords" below "here-doc beginnings" (Bug#15270).
4203
c0458e0b
SM
42042013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * subr.el (pop): Use `car-safe'.
4207 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4208 to detect unused `pop' return value.
4209
4210 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4211 var `block-regexp'.
4212 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4213 (python-fill-string): Remove unused var `marker'.
4214 (python-skeleton-add-menu-items): Remove unused var `items'.
4215
4216 * international/mule-cmds.el: Require CL.
4217 (find-coding-systems-for-charsets): Avoid add-to-list.
4218 (sanitize-coding-system-list): New function, extracted from
4219 select-safe-coding-system-interactively.
4220 (select-safe-coding-system-interactively): Use it.
4221 (read-input-method-name): Accept symbols for `default'.
4222
4223 * emacs-lisp/advice.el (defadvice): Add indent rule.
4224
6c42fc3e
DH
42252013-09-05 Daniel Hackney <dan@haxney.org>
4226
4227 * dired-x.el:
4228 * net/ange-ftp.el:
4229 * net/browse-url.el:
4230 * net/dbus.el:
4231 * net/eudc.el:
4232 * net/eudcb-ldap.el:
4233 * net/eww.el:
4234 * net/imap.el:
4235 * printing.el:
4236 * vc/ediff-diff.el:
4237 * vc/ediff-init.el:
4238 * vc/ediff-merg.el:
4239 * vc/ediff-mult.el:
4240 * vc/ediff-util.el:
4241 * vc/ediff-wind.el:
4242 * vc/ediff.el:
4243 * vc/emerge.el:
4244 * vc/pcvs.el:
4245 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4246 byte compiler. Remove some unused let-bound variables.
4247
4c528aab
SM
42482013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4249
4250 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4251 a "ref-cell", since it gets better optimized (bug#14883).
4252
bd15c390
GM
42532013-09-05 Glenn Morris <rgm@gnu.org>
4254
4255 * progmodes/cc-awk.el (c-forward-sws): Declare.
4256
1c3ac2e5
GM
42572013-09-04 Glenn Morris <rgm@gnu.org>
4258
4259 * generic-x.el [rul-generic-mode]: Require cc-mode.
4260 (c++-mode-syntax-table): Declare.
4261 (rul-generic-mode-syntax-table): Init in the defvar.
4262
52b1cc79
SM
42632013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4264
c828af56
SM
4265 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4266 (vc-do-command, vc-set-async-update):
4267 * vc/vc-mtn.el (vc-mtn-dir-status):
4268 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4269 (vc-hg-pull, vc-hg-merge-branch):
4270 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4271 (vc-git-merge-branch):
4272 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4273 (vc-cvs-dir-status-files):
4274 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4275 (vc-bzr-dir-status-files):
4276 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4277 * vc/vc-annotate.el: Use lexical-binding.
4278 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4279 (vc-sentinel-movepoint): Declare.
4280 (vc-annotate): Don't use `goto-line'.
4281 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4282 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4283 (vc-sentinel-movepoint): Declare.
4284 * vc/vc-svn.el: Use lexical-binding.
4285 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4286 * vc/vc-sccs.el:
4287 * vc/vc-rcs.el: Use lexical-binding.
4288
abae272c
SM
4289 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4290 `deleted'. Don't drop errors silently.
4291
52b1cc79
SM
4292 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4293
63191d9f
XF
42942013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4295
4296 * vc/vc.el (vc-ignore): Rewrite.
4297 (vc-default-ignore): New function.
4298 (vc-default-ignore-completion-table): Use find-ignore-file.
4299
4300 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4301 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4302 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4303 Remove. Most code moved to vc.el.
4304
9d3f707c
SM
43052013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4306
abae272c 4307 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4308 * net/tramp-smb.el (tramp-smb-get-file-entries):
4309 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4310 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4311
fde38d49
SM
4312 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4313 Update call to it.
4314 (eww-change-select): Remove unused var `properties'.
4315 (eww-make-unique-file-name): Remove unused var `base'.
4316
4317 * finder.el (finder-compile-keywords): Don't mess with windows.
4318
84032db7
SM
4319 * calculator.el (calculator-funcall): Fix typo in last change.
4320
724f5e41
SM
4321 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4322
14b511d4
SM
4323 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4324 <pkg>-autoloads.el file stop us.
4325
9d3f707c 4326 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4327 warnings, and factor out common code.
9d3f707c 4328
88527bc0
DG
43292013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4330
4331 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4332 two-character operators and whether the character preceding them
4333 changes their meaning (Bug#15208).
4334
96edb677
FEG
43352013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4336
4337 Format code sent to Python shell for robustness.
9d3f707c
SM
4338 * progmodes/python.el (python-shell-buffer-substring):
4339 New function.
96edb677
FEG
4340 (python-shell-send-region, python-shell-send-buffer): Use it.
4341
95beaef3
MA
43422013-09-02 Michael Albinus <michael.albinus@gmx.de>
4343
4344 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4345 * net/tramp.el (tramp-user-error): ... here.
4346 (tramp-find-method, tramp-check-proper-host)
4347 (tramp-dissect-file-name, tramp-debug-message)
4348 (tramp-handle-shell-command):
4349 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4350 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4351
4352 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4353
f167c27b
MR
43542013-09-02 Martin Rudalics <rudalics@gmx.at>
4355
4356 * avoid.el (mouse-avoidance-point-position)
4357 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4358 returns nil.
4359
cd16c5f1
FEG
43602013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4361
4362 * progmodes/python.el (python-shell-completion-get-completions):
4363 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4364 (python-nav-if-name-main): New command.
cd16c5f1 4365
e73c3a0d
GM
43662013-09-01 Glenn Morris <rgm@gnu.org>
4367
f8ccce03
GM
4368 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4369 Avoid leading space in $wins. Otherwise the sed command used by
4370 eg compile-main ends up containing "/*.el". (Bug#15170)
4371
e73c3a0d
GM
4372 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4373
415f808e
GM
43742013-08-30 Glenn Morris <rgm@gnu.org>
4375
4376 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4377 Fix is-this-a-directory logic. (Bug#15220)
4378
f069bba8
SM
43792013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4380
112798c1
SM
4381 * textmodes/css-mode.el: Use SMIE.
4382 (css-smie-grammar): New var.
4383 (css-smie--forward-token, css-smie--backward-token)
4384 (css-smie-rules): New functions.
4385 (css-mode): Use them.
4386 (css-navigation-syntax-table): Remove var.
4387 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4388 (css-indent-calculate, css-indent-line): Remove functions.
4389
4390 Misc changes to reduce use of `(lambda...); and other cleanups.
4391 * cus-edit.el: Use lexical-binding.
4392 (customize-push-and-save, customize-apropos)
4393 (custom-buffer-create-internal): Use closures.
4394 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4395 * progmodes/ada-xref.el: Use setq.
4396 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4397 * dframe.el: Use lexical-binding.
4398 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4399 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4400 * descr-text.el: Use lexical-binding.
4401 (describe-text-widget, describe-text-sexp, describe-property-list):
4402 Use closures.
4403 * comint.el (comint-history-isearch-push-state): Use a closure.
4404 * calculator.el: Use lexical-binding.
4405 (calculator-number-to-string): Make it work with lexical-binding.
4406 (calculator-funcall): Same and use cl-letf.
4407
2da4c3ab
SM
4408 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4409 (lisp--company-doc-string, lisp--company-location): New functions.
4410 (lisp-completion-at-point): Use them to improve Company support.
4411
f069bba8
SM
4412 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4413 params of lambda expressions.
4414 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4415 (ruby-smie--opening-pipe-p): New function.
4416 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4417 symbols and matched |...| for formal params.
4418 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4419 from being treated as hanging. Handle "rescue".
4420
6758b6a8
GM
44212013-08-29 Glenn Morris <rgm@gnu.org>
4422
4423 * progmodes/cc-engine.el (c-pull-open-brace):
4424 Move definition before use.
4425
e8dfd197
SM
44262013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4429 are immutable. Don't use `unsafe' any more.
4430 (cl--defsubst-expand): Don't substitute at the same time as keeping
4431 a residual unused let-binding. Don't use `unsafe' any more.
4432
cc585c96
GM
44332013-08-29 Glenn Morris <rgm@gnu.org>
4434
ba579ea6
GM
4435 * calendar/cal-china.el (calendar-chinese-year-cache):
4436 Recenter on 2015.
4437
8201a87e
GM
4438 * nxml/nxml-util.el (nxml-debug-clear-inside):
4439 Use cl-loop rather than loop.
4440
6ee877c7
GM
4441 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4442
cc585c96
GM
4443 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4444
27be8d39
GM
44452013-08-28 Glenn Morris <rgm@gnu.org>
4446
397440a1
GM
4447 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4448
2bb762d4
GM
4449 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4450
27be8d39
GM
4451 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4452
2d69b99e
SM
44532013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4454
f663baa7
SM
4455 * simple.el (repeat-complex-command--called-interactively-skip):
4456 New function.
4457 (repeat-complex-command): Use it (bug#14136).
4458
dd4f8b74
SM
4459 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4460 (c-define-abbrev-table): Add `doc' argument.
4461 (c-mode-abbrev-table, c++-mode-abbrev-table)
4462 (objc-mode-abbrev-table, java-mode-abbrev-table)
4463 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4464 (awk-mode-abbrev-table): Use it.
4465 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4466 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4467 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4468 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4469 Move initialization into the declaration; and remove any
4470 autoload cookie.
4471
b58969f7
SM
4472 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4473 and dynamic let binding.
4474
4021d6a6
SM
4475 * vc/smerge-mode.el: Remove redundant :group args.
4476
2d69b99e
SM
4477 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4478 to load-path.
4479
274919fd
JL
44802013-08-28 Juri Linkov <juri@jurta.org>
4481
4482 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4483 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4484 (isearch-other-meta-char): Handle an undefined shifted printing
4485 character by downshifting it. (Bug#15200)
4486
121f8c95
JL
44872013-08-28 Juri Linkov <juri@jurta.org>
4488
4489 * isearch.el (isearch-search): Change regexp error message for
4490 non-regexp searches. (Bug#15166)
4491
50b13cde
PE
44922013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4493
4494 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4495 for portability to hosts where /bin/sh has problems.
4496
95888bca
SM
44972013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4500
bbe558f1
JL
45012013-08-27 Juri Linkov <juri@jurta.org>
4502
4503 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4504 in the keyboard macro. (Bug#15126)
4505
26f98a7d
JL
45062013-08-27 Juri Linkov <juri@jurta.org>
4507
4508 * isearch.el (isearch-quote-char): Comment out converting unibyte
4509 to multibyte, thus syncing with its `quoted-insert' counterpart.
4510 (Bug#15166)
4511
7c97d35e
MR
45122013-08-27 Martin Rudalics <rudalics@gmx.at>
4513
4514 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4515 argument in call of get-largest-window (Bug#15185).
4516 Reported by Stephen Leake.
7c97d35e 4517
a0b5606e 45182013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4519
4520 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4521
9e89d835
SM
45222013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4525 from a matcher-function unless there's no more matches (bug#15161).
4526
78fc2530
MA
45272013-08-26 Michael Albinus <michael.albinus@gmx.de>
4528
4529 * minibuffer.el: Revert change from 2013-08-20.
4530
4531 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4532 with text property `tramp-default', if appropriate.
4533 (tramp-check-proper-host): New defun.
4534 (tramp-dissect-file-name): Do not check hostname. Revert change
4535 of 2013-03-18.
4536 (tramp-backtrace): Make VEC-OR-PROC optional.
4537
4538 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4539 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4540 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4541 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4542 Apply `tramp-check-proper-host'.
78fc2530 4543
edca97cd
TH
45442013-08-26 Tassilo Horn <tsdh@gnu.org>
4545
4546 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4547 lambda expression in order to have `describe-variable' display it.
4548
df54bcbd
MA
45492013-08-26 Michael Albinus <michael.albinus@gmx.de>
4550
4551 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4552 BUF can be optional. (Bug#15186)
4553
eed99101
XF
45542013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4555
4556 * progmodes/flymake.el (flymake-get-real-file-name-function):
4557 Fix broken customization. (Bug#15184)
4558
b5eb9035
AM
45592013-08-25 Alan Mackenzie <acm@muc.de>
4560
8a51e842
AM
4561 Improve indentation of bracelists defined by macros (without "=").
4562
4563 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4564 expansion begins with "{", regard it as bracelist when it doesn't
4565 contain a ";".
4566
869455d4
AM
4567 Parse C++ inher-intro when there's a template split over 2 lines.
4568
4569 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4570 rigorously the search for "class" etc. followed by ":".
4571
4572 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4573 random languages a regexp which never matches rather than nil.
4574
b5eb9035
AM
4575 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4576
4577 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4578 (c-awk-regexp-one-line-possibly-open-char-list-re)
4579 (c-awk-one-line-possibly-open-regexp-re)
4580 (c-awk-one-line-non-syn-ws*-re): Remove.
4581 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4582 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4583 (c-awk-space*-unclosed-regexp-/-re): New constants.
4584 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4585 aren't regexp delimiters.
4586
4587 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4588 handling for a rare situation in AWK Mode involving unterminated
4589 strings/regexps.
4590
61611d54
GM
45912013-08-23 Glenn Morris <rgm@gnu.org>
4592
2d85dc34
GM
4593 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4594
cb8d2612
GM
4595 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4596
bb35f42f
GM
4597 * files.el (create-file-buffer): If the result would begin with
4598 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4599
b9808e77
SM
46002013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4601
e3a66363
SM
4602 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4603 text-properties (bug#15155).
4604
b9808e77
SM
4605 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4606 exist any more.
4607 (calc-keypad-redraw): Remove unused var `pad'.
4608 (calc-keypad-press): Remove unused var `menu'.
4609
7fd5f65e
MR
46102013-08-23 Martin Rudalics <rudalics@gmx.at>
4611
b9808e77
SM
4612 * window.el (display-buffer-pop-up-frame):
4613 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4614 use it as the new frame's buffer (Bug#15133).
4615
8352b530
SM
46162013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4617
4618 * calendar/timeclock.el: Minor cleanups.
4619 (timeclock-ask-before-exiting, timeclock-use-display-time):
4620 Use `symbol'.
4621 (timeclock-modeline-display): Define as alias before the
4622 actual definition.
4623 (timeclock-mode-line-display): Use define-minor-mode.
4624 (timeclock-day-list-template): Make it a function, add an argument.
4625 (timeclock-day-list-required, timeclock-day-list-length)
4626 (timeclock-day-list-debt, timeclock-day-list-span)
4627 (timeclock-day-list-break): Adjust calls accordingly.
4628
9f7b1925
SM
46292013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4632 Use read--expression so that completion works again.
4633
6e50e983
SS
46342013-08-21 Sam Steingold <sds@gnu.org>
4635
4636 Add rudimentary inferior shell interaction
4637 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4638 (sh-set-shell): Reset it.
9f7b1925
SM
4639 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4640 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4641
dbb0d350
SM
46422013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4643
4644 * align.el: Use lexical-binding.
4645 (align-region): Simplify accordingly.
4646
c88586a9
MA
46472013-08-20 Michael Albinus <michael.albinus@gmx.de>
4648
4649 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4650
4651 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4652 `non-essential' up.
4653
f95527c8
MA
46542013-08-17 Michael Albinus <michael.albinus@gmx.de>
4655
4656 * net/tramp.el:
4657 * net/tramp-adb.el:
4658 * net/tramp-cmds.el:
4659 * net/tramp-ftp.el:
4660 * net/tramp-gvfs.el:
4661 * net/tramp-gw.el:
4662 * net/tramp-sh.el: Don't wrap external variable declarations by
4663 `eval-when-compile'.
4664
4b5fe4ee
LMI
46652013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4666
4667 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4668 now that Emacs supports ImageMagick animations.
4669
13c366c9
MA
46702013-08-16 Michael Albinus <michael.albinus@gmx.de>
4671
4672 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4673 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4674
3dfc5cd6
MR
46752013-08-16 Martin Rudalics <rudalics@gmx.at>
4676
4677 * window.el (mouse-autoselect-window-select): Do autoselect when
4678 mouse pointer is on margin.
4679
4bbb4381
WP
46802013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4681
4682 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4683
3a2ddc2d
GM
46842013-08-16 Glenn Morris <rgm@gnu.org>
4685
e8bedf5a
GM
4686 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4687 Handle "Remote Directory" response of some clients. (Bug#15058)
4688
58c4682f
GM
4689 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4690 Tweak warning. (Bug#14926)
4691
57953f49
GM
4692 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4693 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4694
3a2ddc2d
GM
4695 * image-mode.el (image-mode-map): Add menu items to reverse,
4696 increase, decrease, reset animation speed.
4697 (image--set-speed, image-increase-speed, image-decrease-speed)
4698 (image-reverse-speed, image-reset-speed): New functions.
4699 (image-mode-map): Add bindings for speed commands.
4700
4701 * image.el (image-animate-get-speed, image-animate-set-speed):
4702 New functions.
4703 (image-animate-timeout): Respect image :speed property.
4704
10fa0ed3
SM
47052013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4708 previous line (bug#15101).
4709 (debugger-eval-expression, debugger-record-expression):
4710 Use read--expression (bug#15102).
4711
5d89d9d2
MA
47122013-08-15 Michael Albinus <michael.albinus@gmx.de>
4713
4714 Remove byte compiler warnings, visible when compiling with
4715 `byte-compile-force-lexical-warnings' set to t.
4716
4717 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4718 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4719 (tramp-handle-unhandled-file-name-directory)
4720 (tramp-handle-file-notify-add-watch, tramp-action-login)
4721 (tramp-action-succeed, tramp-action-permission-denied)
4722 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4723 arguments with "_".
4724
4725 * net/tramp-adb.el (tramp-adb-parse-device-names)
4726 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4727 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4728 (tramp-adb-handle-file-truename): Remove unused arguments.
4729
4730 * net/tramp-cache.el (tramp-flush-directory-property)
4731 (tramp-flush-connection-property, tramp-list-connections)
4732 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4733
10fa0ed3
SM
4734 * net/tramp-compat.el (tramp-compat-make-temp-file):
4735 Rename FILENAME to F.
5d89d9d2
MA
4736
4737 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4738 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4739 (tramp-zeroconf-parse-workstation-device-names)
4740 (tramp-zeroconf-parse-webdav-device-names)
4741 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4742
4743 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4744 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4745
4746 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4747 arguments.
4748 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4749 (tramp-sh-handle-insert-file-contents-literally)
4750 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4751 with "_".
4752 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4753 Remove unused variables.
4754
4755 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4756 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4757 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4758
4759 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4760 Make them a defconst.
4761 (tramp-uuencode-region): Remove unused variable.
4762
62f33bae
JB
47632013-08-14 Juanma Barranquero <lekktu@gmail.com>
4764
4765 * frameset.el (frameset--prop-setter): New function.
4766 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4767 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4768 parameter was already set in FILTERED. Doc fix.
4769 (frameset--record-minibuffer-relationships): Allow saving a
4770 minibufferless frame without its corresponding minibuffer frame.
4771 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4772 frame, if the frame id matches.
4773 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4774 frames before orphaned ones.
4775 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4776
c660a885
MR
47772013-08-14 Martin Rudalics <rudalics@gmx.at>
4778
4779 * window.el (window-make-atom): Don't overwrite parameter
4780 already present.
4781 (display-buffer-in-atom-window): Handle special case where we
4782 split an already atomic window.
4783 (window--major-non-side-window, display-buffer-in-side-window)
4784 (window--side-check): Ignore minibuffer window when walking
4785 window tree.
4786 (window-deletable-p): Return 'frame only if no other frame uses
4787 our minibuffer window.
4788 (record-window-buffer): Run buffer-list-update-hook.
4789 (split-window): Make sure window--check-frame won't destroy an
4790 existing atomic window in case the new window gets nested
4791 inside.
4792 (display-buffer-at-bottom): Ignore minibuffer window when
4793 walking window tree. Don't split a side window.
4794 (pop-to-buffer): Don't set-buffer here, the select-window call
4795 should do that.
4796 (mouse-autoselect-window-select): Autoselect only if we are in the
4797 text portion of the window.
4798
8259030d
LMI
47992013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4800
21c58ae2
LMI
4801 * net/shr.el (shr-parse-image-data): New function to grab both the
4802 data itself and the Content-Type.
4803 (shr-put-image): Use it.
4804
4805 * net/eww.el (eww-display-image): Ditto.
4806
8259030d
LMI
4807 * image.el (image-content-type-suffixes): New variable.
4808
ad756449
FEG
48092013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4810
4811 * progmodes/python.el (python-imenu--build-tree)
4812 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4813
f73f4ce6
XF
48142013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4815
4816 * simple.el (backward-word): Mention the optional argument.
4817
1f585e65
SM
48182013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4819
4820 * frameset.el (frameset--make): Rename constructor from make-frameset.
4821 (frameset-p, frameset-valid-p): Don't autoload.
4822 (frameset-valid-p): Use normal accessors.
4823
af1c6c84
GM
48242013-08-13 Glenn Morris <rgm@gnu.org>
4825
55e47f95
GM
4826 * progmodes/compile.el (compile-command): Tweak example in doc.
4827 * obsolete/scribe.el (scribe-mode):
4828 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4829
f0024d8c
GM
4830 * mail/feedmail.el (feedmail-confirm-outgoing)
4831 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4832
4833 * cus-start.el (truncate-partial-width-windows): Fix type.
4834
4835 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4836
af1c6c84
GM
4837 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4838
5514cc4c
SM
48392013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4840
4841 * emacs-lisp/timer.el (timer--time-setter): New function.
4842 (timer--time): Use it as gv-setter.
4843
4844 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4845 setter is not a symbol.
4846
7997a2f1
GJ
48472013-08-12 Grégoire Jadi <daimrod@gmail.com>
4848
4849 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4850 if sending fails. This makes debugging easier.
4851
01f1a9ab
JB
48522013-08-12 Juanma Barranquero <lekktu@gmail.com>
4853
4854 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4855 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4856 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4857
594a4307
EZ
48582013-08-12 Eli Zaretskii <eliz@gnu.org>
4859
4860 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4861
7a22490f 48622013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4863
4864 * format.el (format-annotate-function):
4865 Handle read-only text properties in the source. (Bug#14887)
4866
3e41a054
LMI
48672013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4868
5514cc4c
SM
4869 * net/eww.el (eww-display-html): Ignore coding system errors.
4870 One web site uses "utf-8lias" as the coding system.
3e41a054 4871
7ec326db
JB
48722013-08-11 Juanma Barranquero <lekktu@gmail.com>
4873
4874 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4875
5660113b
JB
48762013-08-10 Juanma Barranquero <lekktu@gmail.com>
4877
9a4ebc74
JB
4878 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4879 (tutorial--detailed-help): Remove unused local variables.
4880 (tutorial--save-tutorial-to): Use ignore-errors.
4881 (help-with-tutorial): Use looking-at-p.
4882
4883 * view.el (view-buffer-other-window, view-buffer-other-frame):
4884 Mark unused arguments.
4885
4886 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4887 (woman-select-symbol-fonts, woman, woman-find-file)
4888 (woman-insert-file-contents, woman-non-underline-faces):
4889 Use string-match-p.
4890 (woman1-unquote): Move declaration.
4891
4892 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4893 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4894 argument. Remove unused local variable.
4895 (xml-parse-elem-type): Use string-match-p.
4896 (xml-substitute-numeric-entities): Use ignore-errors.
4897
45fdb482
JB
4898 * calculator.el (calculator): Mark unused argument.
4899 (calculator-paste, calculator-quit, calculator-integer-p):
4900 Use ignore-errors.
4901 (calculator-string-to-number, calculator-decimal, calculator-exp)
4902 (calculator-op-or-exp): Use string-match-p.
4903
4904 * dired.el (dired-buffer-more-recently-used-p): Declare.
4905 (dired-insert-set-properties, dired-insert-old-subdirs):
4906 Use ignore-errors.
4907
4908 * dired-aux.el (dired-compress): Use ignore-errors.
4909 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4910 (dired-do-async-shell-command, dired-do-shell-command)
4911 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4912 (dired-insert-subdir-validate): Use string-match-p.
4913 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4914 (dired-add-entry): Use string-match-p, looking-at-p.
4915 (dired-insert-subdir-newpos): Remove unused local variable.
4916
4917 * filenotify.el (file-notify-callback): Remove unused local variable.
4918
4919 * filesets.el (filesets-error): Mark unused argument.
4920 (filesets-which-command-p, filesets-filter-dir-names)
4921 (filesets-directory-files, filesets-get-external-viewer)
4922 (filesets-ingroup-get-data): Use string-match-p.
4923
4924 * find-file.el (ff-other-file-name, ff-other-file-name)
4925 (ff-find-the-other-file, ff-cc-hh-converter):
4926 Remove unused local variables.
4927 (ff-get-file-name): Use string-match-p.
4928 (ff-all-dirs-under): Use ignore-errors.
4929
4930 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4931 (follow-select-if-visible): Remove unused local variable.
4932
4933 * forms.el (read-file-filter): Move declaration.
4934 (forms--make-format, forms--make-parser, forms-insert-record):
4935 Quote function with #'.
4936 (forms--update): Use string-match-p. Quote function with #'.
4937
4938 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4939 (help-make-xrefs): Use looking-at-p.
4940 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4941
4942 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4943 (ibuffer-confirm-operation-on): Use string-match-p.
4944
4945 * msb.el (msb-item-handler, msb-dired-item-handler):
4946 Mark unused arguments.
4947
4948 * ses.el (ses-decode-cell-symbol)
4949 (ses-kill-override): Remove unused local variable.
4950 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4951 (ses-load): Use ignore-errors, looking-at-p.
4952 (ses-jump-safe): Use ignore-errors.
4953 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4954
4955 * tabify.el (untabify, tabify): Mark unused arguments.
4956
4957 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4958 Mark unused argument.
4959 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4960 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4961
c880af52
JB
4962 * emacs-lisp/timer.el (timer--time): Define setter with
4963 gv-define-setter to avoid deprecation warning.
4964
5660113b 4965 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4966 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4967 (cmpl-statistics-block): Remove (body was commented out).
4968 All callers changed.
4969 (add-completions-from-buffer, load-completions-from-file):
4970 Remove unused variables.
4971
156aab80
JB
49722013-08-09 Juanma Barranquero <lekktu@gmail.com>
4973
5c5dee78
JB
4974 * filecache.el (file-cache-delete-file-list):
4975 Print message only when told so.
4976 (file-cache-files-matching): Use #' in mapconcat argument.
4977
156aab80
JB
4978 * ffap.el (ffap-url-at-point): Fix reference to variable
4979 thing-at-point-default-mail-uri-scheme.
4980
ad9dcd70
SM
49812013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4982
54bd972f
SM
4983 * subr.el (define-error): New function.
4984 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4985 error-file-not-found and define with define-error.
4986 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4987 and define with define-error.
4988 * userlock.el (file-locked, file-supersession):
4989 * simple.el (mark-inactive):
4990 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4991 * progmodes/ada-mode.el (ada-mode-errors):
4992 * play/life.el (life-extinct):
4993 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4994 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4995 * nxml/rng-util.el (rng-error):
4996 * nxml/rng-uri.el (rng-uri-error):
4997 * nxml/rng-match.el (rng-compile-error):
4998 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4999 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5000 * nxml/nxml-rap.el (nxml-scan-error):
5001 * nxml/nxml-outln.el (nxml-outline-error):
5002 * net/soap-client.el (soap-error):
5003 * net/gnutls.el (gnutls-error):
5004 * net/ange-ftp.el (ftp-error):
5005 * mpc.el (mpc-proc-error):
5006 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5007 (json-number-format, json-string-escape, json-string-format)
5008 (json-key-format, json-object-format):
5009 * jka-compr.el (compression-error):
5010 * international/quail.el (quail-error):
5011 * international/kkc.el (kkc-error):
5012 * emacs-lisp/ert.el (ert-test-failed):
5013 * calc/calc.el (calc-error, inexact-result, math-overflow)
5014 (math-underflow):
5015 * bookmark.el (bookmark-error-no-filename):
5016 * epg.el (epg-error): Define with define-error.
5017
0ea9e53a
SM
5018 * time.el (display-time-event-handler)
5019 (display-time-next-load-average): Don't call sit-for since it seems
5020 unnecessary (bug#15045).
5021
b0429158
SM
5022 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5023 Use #' instead of ' to quote functions.
5024 (checkdoc-output-mode): Use setq-local.
5025 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5026 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5027 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5028 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5029 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5030 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5031 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5032 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5033
ad9dcd70
SM
5034 * ido.el (ido-completion-help): Fix up compiler warning.
5035
77187e6f
JB
50362013-08-09 Juanma Barranquero <lekktu@gmail.com>
5037
5038 * frameset.el (frameset-p): Add autoload cookie.
5039 (frameset--jump-to-register): New function, based on code moved from
5040 register.el.
5041 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5042
5043 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5044 (frameset-restore, frameset-save, frameset-session-filter-alist):
5045 Remove declarations.
5046 (register-alist): Doc fix.
5047 (frameset-to-register): Move to frameset.el.
5048 (jump-to-register, describe-register-1): Remove frameset-specific code.
5049
9d3aa82c
JB
50502013-08-08 Juanma Barranquero <lekktu@gmail.com>
5051
5052 * allout-widgets.el (allout-widgets-pre-command-business)
5053 (allout-widgets-post-command-business)
5054 (allout-widgets-after-change-handler)
5055 (allout-decorate-item-and-context, allout-set-boundary-marker)
5056 (allout-body-modification-handler)
5057 (allout-graphics-modification-handler): Mark ignored arguments.
5058 (allout-widgets-post-command-business)
5059 (allout-widgets-exposure-change-processor)
5060 (allout-widgets-exposure-undo-processor)
5061 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5062 (allout-parse-item-at-point, allout-decorate-item-guides)
5063 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5064 * allout.el (epa-passphrase-callback-function): Declare.
5065 (allout-overlay-insert-in-front-handler)
5066 (allout-overlay-interior-modification-handler)
5067 (allout-isearch-end-handler, allout-chart-siblings)
5068 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5069 (allout-yank-processing, allout-process-exposed)
5070 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5071 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5072 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5073 (lisp-indent-defform): Mark ignored arguments.
5074 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5075 (calculate-lisp-indent): Remove unused variables.
5076 * international/characters.el (indian-2-column, arabic-2-column)
5077 (tibetan): Mark ignored arguments.
5078 (use-cjk-char-width-table): Mark ignored arguments.
5079 Remove unused variables.
5080 * international/fontset.el (build-default-fontset-data)
5081 (x-compose-font-name, create-fontset-from-fontset-spec):
5082 Mark ignored arguments.
5083 (fontset-plain-name): Remove unused variables.
5084 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5085 (keyboard-coding-system): Mark ignored arguments.
5086 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5087 * help.el (resize-temp-buffer-window):
5088 * window.el (display-buffer-in-major-side-window)
5089 (display-buffer-in-side-window, display-buffer-in-previous-window):
5090 Remove unused variables.
5091 * isearch.el (isearch-forward-symbol):
5092 * version.el (emacs-bzr-version-bzr):
5093 * international/mule-cmds.el (current-language-environment):
5094 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5095 (x-handle-display):
5096 * term/pc-win.el (x-list-fonts, x-display-planes)
5097 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5098 (x-server-version, x-display-screens, x-display-mm-height)
5099 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5100 (x-selection-owner-p, x-own-selection-internal)
5101 (x-disown-selection-internal, x-get-selection-internal)
5102 (msdos-initialize-window-system):
5103 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5104 * term/x-win.el (x-handle-no-bitmap-icon):
5105 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5106 (vc-default-find-file-hook, vc-default-extra-menu):
5107 Mark ignored arguments.
5108
0ca3f70e
SM
51092013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5110
5111 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5112 break-condition in the context of the debugged code (bug#12685).
5113
74c5d24c
CS
51142013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5115
5116 * comint.el:
5117 Do not use an overlay to highlight the last prompt. (Bug#14744)
5118 (comint-mode): Make comint-last-prompt buffer local.
5119 (comint-last-prompt): New variable.
5120 (comint-last-prompt-overlay): Remove. Superseded by
5121 comint-last-prompt.
0ca3f70e
SM
5122 (comint-snapshot-last-prompt, comint-output-filter):
5123 Use comint-last-prompt.
74c5d24c 5124
c03c02ee
JB
51252013-08-08 Juanma Barranquero <lekktu@gmail.com>
5126
a3738d20 5127 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5128 (frameset-save): Check validity of the resulting frameset.
5129
04263d23
XF
51302013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5131
5132 * ido.el (ido-record-command): Add doc string.
5133
76c5e5ab
JB
51342013-08-08 Juanma Barranquero <lekktu@gmail.com>
5135
5136 * frameset.el (frameset): Do not disable creation of the default
5137 frameset-p predicate. Doc fix.
5138 (frameset-valid-p): New function, copied from the old predicate-p.
5139 Add additional checks.
5140 (frameset-restore): Check with frameset-valid-p.
5141 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5142 (frameset-name, frameset-description, frameset-properties)
5143 (frameset-states): Add docstring.
f9dbf1cb
JB
5144 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5145 (frameset-filter-alist): Doc fixes.
76c5e5ab 5146
bd0c3c0b
JB
51472013-08-08 Juanma Barranquero <lekktu@gmail.com>
5148
5149 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5150
c735544c
SM
51512013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5154 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5155 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5156 (byte-compile-normal-call): Remove obsolescence check.
5157
2805a651
JB
51582013-08-08 Juanma Barranquero <lekktu@gmail.com>
5159
3677ffeb
JB
5160 * frameset.el (frameset-restore): Doc fix.
5161
2805a651
JB
5162 * register.el (frameset-frame-id, frameset-frame-with-id)
5163 (frameset-p, frameset-restore, frameset-save): Declare.
5164 (register-alist): Document framesets.
5165 (frameset-session-filter-alist): Declare.
5166 (frameset-to-register): New function.
5167 (jump-to-register): Implement jumping to framesets. Doc fix.
5168 (describe-register-1): Describe framesets.
5169
5170 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5171
a912c016
JB
51722013-08-07 Juanma Barranquero <lekktu@gmail.com>
5173
5174 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5175 Use lexical-binding.
5176
5177 * frameset.el (frameset): Use type vector, not list (incompatible
5178 change). Do not declare a new constructor, use the default one.
5179 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5180 `name' and `description', respectively, and add read-only slot
5181 `timestamp'. Doc fixes.
5182 (frameset-copy, frameset-persistent-filter-alist)
5183 (frameset-filter-alist, frameset-switch-to-gui-p)
5184 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5185 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5186 (frameset-filter-iconified, frameset-keep-original-display-p):
5187 Doc fixes.
5188 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5189 Rename from frameset-filter-(save|restore)-param. All callers changed.
5190 Doc fix.
5191 (frameset-p): Adapt to change to vector and be more thorough.
5192 Change arg name to OBJECT. Doc fix.
5193 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5194 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5195 All callers changed.
5196 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5197 All callers changed.
5198 (frameset--record-minibuffer-relationships): Rename from
5199 frameset--process-minibuffer-frames. All callers changed.
5200 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5201 Use new default constructor (again). Doc fix.
5202 (frameset--find-frame-if): Rename from `frameset--find-frame.
5203 All callers changed.
5204 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5205 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5206 Doc fix.
5207 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5208 PARAMETERS and WINDOW-STATE, respectively.
5209 (frameset-restore): Add new keyword argument PREDICATE.
5210 Reset frameset--target-display to nil. Doc fix.
5211
bb41480a
SM
52122013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5213
f001e98e
SM
5214 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5215 (bat-mode): Use it.
5216 (bat-mode-syntax-table): Mark \n as end-of-comment.
5217 (bat-font-lock-keywords): Remove comment rule.
5218
7679edb1
SM
5219 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5220 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5221
bb41480a
SM
5222 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5223 (byte-compile-callargs-warn): Use `push'.
5224 (byte-compile-arglist-warn): Ignore higher-order "calls".
5225 (byte-compile-file-form-autoload): Use `pcase'.
5226 (byte-compile-function-form): If quoting a symbol, check that it exists.
5227
cdc1ebb9
EZ
52282013-08-07 Eli Zaretskii <eliz@gnu.org>
5229
5230 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5231 and add a few popular commands found in batch files.
5232 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5233 (dos-mode): Doc fixes.
5234
312b1740
SM
52352013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5236
5237 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5238 (dos-mode): Use setq-local. Add space after "rem".
5239 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5240 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5241
400a3178
AM
52422013-08-07 Arni Magnusson <arnima@hafro.is>
5243
5244 * progmodes/dos.el: New file.
5245 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5246 dos-mode.
5247
3b5c03d3
GM
52482013-08-06 Glenn Morris <rgm@gnu.org>
5249
5250 * calendar/calendar.el: Add new faces, and day-header-array.
5251 (calendar-weekday-header, calendar-weekend-header)
5252 (calendar-month-header): New faces.
5253 (calendar-day-header-construct): New function.
5254 (calendar-day-header-width): Also :set calendar-day-header-array.
5255 (calendar-american-month-header, calendar-european-month-header)
5256 (calendar-iso-month-header): Use calendar- faces.
5257 (calendar-generate-month):
5258 Use calendar-day-header-array for day headers; apply faces to them.
5259 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5260 (calendar-abbrev-construct): Add optional maxlen argument.
5261 (calendar-day-name-array): Doc fix.
5262 (calendar-day-name-array, calendar-abbrev-length)
5263 (calendar-day-abbrev-array):
5264 Also :set calendar-day-header-array, and maybe redraw.
5265 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5266 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5267 (calendar-day-name): Add option to use header array.
5268
ec6a2d7a
LMI
52692013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5270
5271 * net/shr.el (shr-render-td): Remove debugging.
5272 (shr-render-td): Make width computation consistent by defaulting
5273 all zero-width columns to 10 characters. This may not be optimal,
5274 but it's at least consistent.
2122cb6d
LMI
5275 (shr-make-table-1): Redo last change to fix the real problem in
5276 colspan handling.
ec6a2d7a 5277
ed4fd9c5
DA
52782013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5279
0ca3f70e
SM
5280 * files.el (cache-long-line-scans):
5281 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5282
64e22afe
JB
52832013-08-06 Juanma Barranquero <lekktu@gmail.com>
5284
024b38fc
JB
5285 * frameset.el (frameset, frameset-filter-alist)
5286 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5287 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5288 (frameset-compute-pos): Rename from frameset--compute-pos,
5289 and add docstring.
5290 (frameset-move-onscreen): Use frameset-compute-pos.
5291 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5292
64e22afe
JB
5293 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5294 Fix typos in docstrings.
5295
c8c2aca8
DA
52962013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5297
5298 * frame.el (get-other-frame): Tiny cleanup.
5299
1d237bba
JB
53002013-08-06 Juanma Barranquero <lekktu@gmail.com>
5301
8951efef
JB
5302 * vc/vc.el (vc-default-ignore-completion-table):
5303 Silence byte-compiler warning.
5304
307764cc
JB
5305 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5306 slot , which can indeed be nil.
5307 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5308 Move entry for `left' from persistent to live filter alist.
5309 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5310 Doc fixes.
5311 (frameset-filter-params): When restoring a frame, copy items added to
5312 `filtered', to avoid unwittingly modifying the original parameters.
5313 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5314 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5315
1d237bba
JB
5316 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5317 to use looking-at-p instead of looking-at. (Bug#15028)
5318
dc6c0eda
SM
53192013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5320
5321 Revert introduction of isearch-filter-predicates (bug#14714).
5322 Rely on add-function instead.
5323 * isearch.el (isearch-filter-predicates): Rename it back to
5324 isearch-filter-predicate.
5325 (isearch-message-prefix): Use advice-function-mapc and advice
5326 properties to get the isearch-message-prefix.
5327 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5328 instead of run-hook-with-args-until-failure.
5329 (isearch-filter-visible): Not obsolete any more.
5330 * loadup.el: Preload nadvice.
5331 * replace.el (perform-replace): Revert to funcall
5332 instead of run-hook-with-args-until-failure.
5333 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5334 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5335 dired-isearch-filenames-toggle; make it into a proper minor mode.
5336 Use add/remove-function.
5337 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5338 Call the minor-mode rather than add/remove-hook.
5339 (dired-isearch-filter-filenames):
5340 Remove isearch-message-prefix property.
5341 * info.el (Info--search-loop): New function, extracted from Info-search.
5342 Funcall isearch-filter-predicate instead of
5343 run-hook-with-args-until-failure isearch-filter-predicates.
5344 (Info-search): Use it.
5345 (Info-mode): Use isearch-filter-predicate instead of
5346 isearch-filter-predicates.
5347
290d5b58
DA
53482013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5349
5350 Do not call to `selected-window' where it is assumed by default.
5351 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5352 `window-hscroll', `window-width', `window-height', `window-buffer',
5353 `window-frame', `window-start', `window-point', `next-window'
5354 and `window-display-table'.
5355 * abbrev.el (abbrev--default-expand):
5356 * bs.el (bs--show-with-configuration):
5357 * buff-menu.el (Buffer-menu-mouse-select):
5358 * calc/calc.el (calc):
5359 * calendar/calendar.el (calendar-generate-window):
5360 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5361 (diary-make-entry):
5362 * comint.el (send-invisible, comint-dynamic-complete-filename)
5363 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5364 * completion.el (complete):
5365 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5366 * disp-table.el (describe-current-display-table):
5367 * doc-view.el (doc-view-insert-image):
5368 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5369 * ehelp.el (with-electric-help):
5370 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5371 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5372 * emacs-lisp/helper.el (Helper-help-scroller):
5373 * emulation/cua-base.el (cua--post-command-handler-1):
5374 * eshell/esh-mode.el (eshell-output-filter):
5375 * ffap.el (ffap-gnus-wrapper):
5376 * help-macro.el (make-help-screen):
5377 * hilit-chg.el (highlight-compare-buffers):
5378 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5379 * hl-line.el (global-hl-line-highlight):
5380 * icomplete.el (icomplete-simple-completing-p):
5381 * isearch.el (isearch-done):
5382 * jit-lock.el (jit-lock-stealth-fontify):
5383 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5384 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5385 * mpc.el (mpc-tagbrowser, mpc):
5386 * net/rcirc.el (rcirc-any-buffer):
5387 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5388 * play/landmark.el (landmark-max-width, landmark-max-height):
5389 * play/zone.el (zone):
5390 * progmodes/compile.el (compilation-goto-locus):
5391 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5392 * progmodes/etags.el (find-tag-other-window):
5393 * progmodes/fortran.el (fortran-column-ruler):
5394 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5395 * progmodes/verilog-mode.el (verilog-point-text):
5396 * reposition.el (reposition-window):
5397 * rot13.el (toggle-rot13-mode):
5398 * server.el (server-switch-buffer):
5399 * shell.el (shell-dynamic-complete-command)
5400 (shell-dynamic-complete-environment-variable):
5401 * simple.el (insert-buffer, set-selective-display)
5402 (delete-completion-window):
5403 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5404 (speedbar-recenter):
5405 * startup.el (fancy-splash-head):
5406 * textmodes/ispell.el (ispell-command-loop):
5407 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5408 * tutorial.el (help-with-tutorial):
5409 * vc/add-log.el (add-change-log-entry):
5410 * vc/compare-w.el (compare-windows):
5411 * vc/ediff-help.el (ediff-indent-help-message):
5412 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5413 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5414 (ediff-setup-control-frame):
5415 * vc/emerge.el (emerge-position-region):
5416 * vc/pcvs-util.el (cvs-bury-buffer):
5417 * window.el (walk-windows, mouse-autoselect-window-select):
5418 * winner.el (winner-set-conf, winner-undo): Related users changed.
5419
38276e01
JB
54202013-08-05 Juanma Barranquero <lekktu@gmail.com>
5421
5422 * frameset.el (frameset--set-id): Doc fix.
5423 (frameset-frame-id, frameset-frame-id-equal-p)
5424 (frameset-locate-frame-id): New functions.
5425 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5426 (frameset-restore): Use them.
5427
12b4c0ea
DA
54282013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5429
5430 Do not call to `selected-frame' where it is assumed by default.
5431 Affected functions are `raise-frame', `redraw-frame',
5432 `frame-first-window', `frame-terminal' and `delete-frame'.
5433 * calendar/appt.el (appt-disp-window):
5434 * epg.el (epg-wait-for-completion):
5435 * follow.el (follow-delete-other-windows-and-split)
5436 (follow-avoid-tail-recenter):
5437 * international/mule.el (set-terminal-coding-system):
5438 * mail/rmail.el (rmail-mail-return):
5439 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5440 * progmodes/f90.el (f90-add-imenu-menu):
5441 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5442 * server.el (server-switch-buffer):
5443 * simple.el (delete-completion-window):
5444 * talk.el (talk):
5445 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5446 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5447 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5448 * vc/ediff.el (ediff-documentation): Related users changed.
5449 * frame.el (selected-terminal): Remove the leftover.
5450
17f25e76
GM
54512013-08-05 Glenn Morris <rgm@gnu.org>
5452
5453 * calendar/calendar.el (calendar-generate-month):
5454 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5455 (calendar-generate-month, calendar-font-lock-keywords):
5456 Fix for calendar-day-header-width > length of any day name.
17f25e76 5457
063233c3
JB
54582013-08-05 Juanma Barranquero <lekktu@gmail.com>
5459
5460 * desktop.el (desktop-clear): Use new name of sort predicate.
5461
5462 * frameset.el (frameset): Add docstring. Move :version property to its
5463 own `version' slot.
5464 (frameset-copy): Rename from copy-frameset.
5465 (frameset-p): Check more thoroughly.
5466 (frameset-prop): Do not check for :version, which is no longer a prop.
5467 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5468 Use new :never value instead of t.
5469 (frameset-filter-alist): Expand and clarify docstring.
5470 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5471 (frameset-filter-minibuffer, frameset-filter-save-param)
5472 (frameset-filter-restore-param, frameset-filter-iconified):
5473 Add pointer to docstring of frameset-filter-alist.
5474 (frameset-filter-params): Rename filter values to be more meaningful:
5475 :never instead of t, and reverse the meanings of :save and :restore.
5476 (frameset--process-minibuffer-frames): Clarify error message.
5477 (frameset-save): Avoid unnecessary and confusing call to framep.
5478 Use new BOA constructor for framesets.
5479 (frameset--reuse-list): Doc fix.
5480 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5481 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5482 (frameset-minibufferless-first-p): Doc fix.
5483 Rename from frameset-sort-frames-for-deletion.
5484 (frameset-restore): Doc fixes. Use new function names.
5485 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5486
d5671a82
JB
54872013-08-04 Juanma Barranquero <lekktu@gmail.com>
5488
5489 * desktop.el (desktop-restore-forces-onscreen)
5490 (desktop-restore-reuses-frames): Document :keyword constant values.
5491 (desktop-filter-parameters-alist): Remove, now identical to
5492 frameset-filter-alist.
5493 (desktop--filter-tty*): Remove, moved to frameset.el.
5494 (desktop-save-frameset, desktop-restore-frameset):
5495 Do not pass :filters argument.
5496
5497 * frameset.el (frameset-live-filter-alist)
5498 (frameset-persistent-filter-alist): New variables.
5499 (frameset-filter-alist): Use them. Add autoload cookie.
5500 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5501 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5502 `frameset--id' (it's supposed to be internal to frameset.el).
5503 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5504 (frameset--initial-params): New function.
5505 (frameset--get-frame): Use it. Doc fix.
5506 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5507 Accept :all, not 'all.
5508 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5509 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5510 with fbound symbols. Fix frame id matching, and remove matching ids if
5511 the frame being restored is deleted. Obey :delete.
5512
671d5c16
SM
55132013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5514
5515 * subr.el (macrop): New function.
5516 (text-clone--maintaining): New var.
5517 (text-clone--maintain): Rename from text-clone-maintain. Use it
5518 instead of inhibit-modification-hooks.
5519
5520 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5521 a proxy, so as handle autoloads and redefinitions of the target.
5522 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5523
5524 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5525 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5526 (pcase--mutually-exclusive-p): New function.
5527 (pcase--split-consp): Use it.
5528 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5529 mutually exclusive with the current predicate.
5530
5531 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5532 (edebug-macrop): Remove. Use `macrop' instead.
5533 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5534 (ad-macro-p):
5535 * eshell/esh-cmd.el (eshell-macrop):
5536 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5537
1d44e9dc
SM
55382013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5539
5540 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5541 (advice-mapc): New function, using it.
5542 (advice-function-member-p): New function.
5543 (advice--normalize): Store the cdr in advice--saved-rewrite since
5544 that's the part that will be changed.
5545 (advice--symbol-function): New function.
5546 (advice-remove): Handle removal before the function is defined.
5547 Adjust to new advice--saved-rewrite.
5548 (advice-member-p): Use advice-function-member-p and
5549 advice--symbol-function.
5550
5414a283
JB
55512013-08-04 Juanma Barranquero <lekktu@gmail.com>
5552
51d30f2c
JB
5553 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5554 (frameset-filter-minibuffer): Doc fix.
5555 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5556 (frameset--set-id, frameset--process-minibuffer-frames)
5557 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5558 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5559
5414a283
JB
5560 * desktop.el (desktop-clear): Only delete frames when called
5561 interactively and desktop-restore-frames is non-nil. Doc fix.
5562 (desktop-read): Set desktop-saved-frameset to nil.
5563
ab419665
XF
55642013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5565
5566 * vc/vc.el (vc-ignore): Rewrite.
5567 (vc-default-ignore-completion-table):
5568 (vc--read-lines):
5569 (vc--add-line, vc--remove-regexp): New functions.
5570
5571 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5572 (vc-svn-ignore-completion-table): New function.
5573
5574 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5575 (vc-hg-ignore-completion-table):
5576 (vc-hg-find-ignore-file): New functions.
5577
5578 * vc/vc-git.el (vc-git-ignore): Rewrite.
5579 (vc-git-ignore-completion-table):
5580 (vc-git-find-ignore-file): New functions.
5581
5582 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5583
5584 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5585 (vc-bzr-ignore-completion-table):
5586 (vc-bzr-find-ignore-file): New functions.
5587
2613dea2
JB
55882013-08-03 Juanma Barranquero <lekktu@gmail.com>
5589
5590 * frameset.el (frameset-prop): New function and setter.
5591 (frameset-save): Do not modify frame list passed by the caller.
5592
9c959872
SM
55932013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5596
a104f656
SM
55972013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5598
70122acf
SM
5599 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5600 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5601
a104f656
SM
5602 * custom.el (custom-initialize-default, custom-initialize-set)
5603 (custom-initialize-reset, custom-initialize-changed): Affect the
5604 toplevel-default-value (bug#6275, bug#14586).
5605 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5606 for bug#6275.
5607
f078d570
JB
56082013-08-02 Juanma Barranquero <lekktu@gmail.com>
5609
185e3b5a
JB
5610 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5611 Add cl-def* expressions.
5612
f078d570
JB
5613 * frameset.el (frameset-filter-params): Fix order of arguments.
5614
9421876d
JB
56152013-08-02 Juanma Barranquero <lekktu@gmail.com>
5616
5617 Move code related to saving frames to frameset.el.
5618 * desktop.el: Require frameset.
5619 (desktop-restore-frames): Doc fix.
5620 (desktop-restore-reuses-frames): Rename from
5621 desktop-restoring-reuses-frames.
5622 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5623 (desktop-clear): Clear frames too.
5624 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5625 (desktop--filter-tty*, desktop-save, desktop-read):
5626 Use frameset functions.
5627 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5628 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5629 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5630 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5631 (desktop--process-minibuffer-frames, desktop-save-frames)
5632 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5633 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5634 (desktop--sort-states, desktop-restoring-frames-p)
5635 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5636 (desktop-restoring-frameset-p, desktop-restore-frameset)
5637 (desktop--check-dont-save, desktop-save-frameset): New functions.
5638 (desktop--app-id): New constant.
5639 (desktop-first-buffer, desktop-buffer-ok-count)
5640 (desktop-buffer-fail-count): Move before first use.
5641 * frameset.el: New file.
5642
76dc5996
SM
56432013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5645 * files.el: Use lexical-binding.
5646 (dir-locals-read-from-file): Remove unused `err' variable.
5647 (hack-dir-local-variables--warned-coding): New var.
5648 (hack-dir-local-variables): Use it to avoid repeated warnings.
5649 (make-backup-file-name--default-function): New function.
5650 (make-backup-file-name-function): Use it as default.
5651 (buffer-stale--default-function): New function.
5652 (buffer-stale-function): Use it as default.
5653 (revert-buffer-insert-file-contents--default-function): New function.
5654 (revert-buffer-insert-file-contents-function): Use it as default.
5655 (insert-directory): Avoid add-to-list.
5656
5657 * autorevert.el (auto-revert-handler): Simplify.
5658 Use buffer-stale--default-function.
5659
06d36e2b
TH
56602013-08-01 Tassilo Horn <tsdh@gnu.org>
5661
5f648ab4
TH
5662 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5663
06d36e2b
TH
5664 * whitespace.el (whitespace-ensure-local-variables): New function.
5665 (whitespace-cleanup-region): Call it.
5666 (whitespace-turn-on): Call it.
5667
a43dc424
MA
56682013-08-01 Michael Albinus <michael.albinus@gmx.de>
5669
5670 Complete file name handlers.
5671
5672 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5673 (tramp-handle-verify-visited-file-modtime)
5674 (tramp-handle-file-notify-rm-watch): New functions.
5675 (tramp-call-process): Do not bind `default-directory'.
5676
44e18199
JB
5677 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5678 Order alphabetically.
a43dc424
MA
5679 [access-file, add-name-to-file, dired-call-process]:
5680 [dired-compress-file, file-acl, file-notify-rm-watch]:
5681 [file-ownership-preserved-p, file-selinux-context]:
5682 [make-directory-internal, make-symbolic-link, set-file-acl]:
5683 [set-file-selinux-context, set-visited-file-modtime]:
5684 [verify-visited-file-modtime]: Add handler.
5685 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5686
5687 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5688 [file-notify-add-watch, file-notify-rm-watch]:
5689 [set-file-times, set-visited-file-modtime]:
5690 [verify-visited-file-modtime]: Add handler.
5691 (with-tramp-gvfs-error-message)
5692 (tramp-gvfs-handle-set-visited-file-modtime)
5693 (tramp-gvfs-fuse-file-name): Remove.
5694 (tramp-gvfs-handle-file-notify-add-watch)
5695 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5696 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5697
44e18199
JB
5698 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5699 Order alphabetically.
a43dc424
MA
5700 [file-notify-rm-watch ]: Use default Tramp handler.
5701 [executable-find]: Remove private handler.
5702 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5703 `default-directory'.
5704 (tramp-sh-handle-executable-find)
5705 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5706 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5707 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5708 Do not use `format' in `tramp-message'.
5709
5710 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5711 [file-notify-rm-watch, set-visited-file-modtime]:
5712 [verify-visited-file-modtime]: Add handler.
5713 (tramp-smb-call-winexe): Do not bind `default-directory'.
5714
7188b515
XF
57152013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5716
5717 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5718
2412ee1a
DG
57192013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5720
5721 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5722 use it.
5723 (log-view-diff-changeset): Same.
5724 (log-view-diff-common): Call backend command `previous-revision'
5725 to find out the previous revision, in both cases. Swap the
5726 variables `to' and `fr', so that `fr' usually refers to the
5727 earlier revision (Bug#14989).
5728
5002a754
KRC
57292013-07-31 Kan-Ru Chen <kanru@kanru.info>
5730
5731 * ibuf-ext.el (ibuffer-filter-by-filename):
5732 Make it work with dired buffers too.
5733
44e18199 57342013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5735
5736 * emacs-lisp/re-builder.el (reb-color-display-p):
5737 * files.el (save-buffers-kill-terminal):
5738 * net/browse-url.el (browse-url):
5739 * server.el (server-save-buffers-kill-terminal):
5740 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5741 Prefer nil to selected-frame for the first arg of frame-parameter.
5742
aeca3fbb
XF
57432013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5744
5745 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5746
158bc55c
SB
57472013-07-30 Stephen Berman <stephen.berman@gmx.net>
5748
5749 * minibuffer.el (completion--twq-all): Try and preserve each
5750 completion's case choice (bug#14907).
5751
d50fceab
LMI
57522013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5753
ac38e731
LMI
5754 * net/network-stream.el (open-network-stream): Mention the new
5755 :nogreeting parameter.
5756 (network-stream-open-starttls): Use the :nogreeting parameter
5757 (bug#14938).
5758
1211de50
LMI
5759 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5760
997798bf
LMI
5761 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5762 more natural than popping.
5763
d50fceab 5764 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5765 (shr-urlify): Highlight under mouse.
d50fceab 5766
5c09de04
XF
57672013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5768
207d1d04
XF
5769 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5770
5771 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5772
5c09de04
XF
5773 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5774 buffer for output.
5775
3cd51eaa
XF
5776 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5777 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5778
44e18199 5779 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5780 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5781
5782 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5783
5784 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5785 buffer for output.
5786
35a89bdd
EZ
57872013-07-29 Eli Zaretskii <eliz@gnu.org>
5788
5789 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5790 initial frame is minibuffer-less. (Bug#14841)
5791
78822e94
MA
57922013-07-29 Michael Albinus <michael.albinus@gmx.de>
5793
5794 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5795 option.
5796
5797 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5798 (tramp-maybe-open-connection): Use it.
5799
9503c190
JB
58002013-07-28 Juanma Barranquero <lekktu@gmail.com>
5801
5802 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5803 minimal set of parameters passed when creating a frame, because
5804 the minibuffer status of a frame cannot be changed later.
5805
d5a845b4
SB
58062013-07-28 Stephen Berman <stephen.berman@gmx.net>
5807
5808 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5809 replace-regexp-in-string and inadvertent omissions in previous change.
5810 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5811 name of filtered items buffer.
d5a845b4 5812
ddeffb17
JB
58132013-07-28 Juanma Barranquero <lekktu@gmail.com>
5814
5815 * desktop.el: Optionally force offscreen frames back onscreen.
5816 (desktop-restoring-reuses-frames): New option.
5817 (desktop--compute-pos, desktop--move-onscreen): New functions.
5818 (desktop--make-frame): Use desktop--move-onscreen.
5819
f5950f7a
AM
58202013-07-27 Alan Mackenzie <acm@muc.de>
5821
5822 Fontify a Java generic method as a function.
5823 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5824 value to t.
5825
ae43b66a
SB
58262013-07-27 Stephen Berman <stephen.berman@gmx.net>
5827
5828 * calendar/todo-mode.el: Add command to rename todo files.
5829 (todo-rename-file): New command.
5830 (todo-key-bindings-t): Add key binding for it. Change the
5831 bindings of todo-filter-regexp-items(-multifile) to use `x'
5832 instead of `r', since the latter is better suited to the new
5833 renaming command.
5834
5ab78d3d
AM
58352013-07-27 Alan Mackenzie <acm@muc.de>
5836
5837 Make Java try-with-resources statement parse properly.
5838 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5839 (c-block-stmt-1-2-key): New language constants/variables.
5840 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5841 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5842 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5843 with c-block-stmt-1-2-key.
5ab78d3d 5844
d85c4d50
JB
58452013-07-27 Juanma Barranquero <lekktu@gmail.com>
5846
5847 * desktop.el (desktop--make-frame): Apply most frame parameters after
5848 creating the frame to force (partially or totally) offscreen frames to
5849 be restored as such.
5850
e4c467f9
XF
58512013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5852
5853 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5854 (Bug#14948)
e4c467f9 5855
7ced0d04
SM
58562013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5859 `base' arg of backtrace-frame.
5860
fec92060
EZ
58612013-07-26 Eli Zaretskii <eliz@gnu.org>
5862
5863 * simple.el (list-processes): Doc fix.
5864
d58d31fb
JB
58652013-07-26 Juanma Barranquero <lekktu@gmail.com>
5866
5867 * desktop.el (desktop--select-frame):
d85c4d50 5868 Try harder to reuse existing frames.
d58d31fb 5869
53ff3e77
SM
58702013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5873 (edebug-eval): Use backtrace-eval.
5874 (edebug--display, edebug--recursive-edit): Don't let-bind the
5875 edebug-outer-* vars that keep track of variables we locally let-bind.
5876 (edebug-outside-excursion): Don't restore outside values of locally
5877 let-bound vars.
5878 (edebug--display): Use user-error.
5879 (cl-lexical-debug, cl-debug-env): Remove.
5880
045f7a53
JB
58812013-07-26 Juanma Barranquero <lekktu@gmail.com>
5882
5883 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5884 are restored to be sure that they are visible before deleting any
5885 remaining ones.
5886
59070b32
MM
58872013-07-26 Matthias Meulien <orontee@gmail.com>
5888
742a3501
XF
5889 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5890 vc-print-root-log. (Bug#14948)
59070b32 5891
b1fb3596
RS
58922013-07-26 Richard Stallman <rms@gnu.org>
5893
5894 Add aliases for encrypting mail.
5895 * epa.el (epa-mail-aliases): New option.
5896 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5897 Bind inhibit-read-only so read-only text doesn't ruin everything.
5898 (epa-mail-default-recipients): New subroutine broken out.
5899 Handle epa-mail-aliases.
5900
56ea7291
SM
59012013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 Add support for lexical variables to the debugger's `e' command.
5904 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5905 vars, except for debugger-outer-match-data.
5906 (debugger-frame-number): Move check for "on a function call" from
5907 callers into it. Add `skip-base' argument.
5908 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5909 (debugger-env-macro): Only reset the state stored in non-variables,
5910 i.e. current-buffer and match-data.
5911 (debugger-eval-expression): Rewrite using backtrace-eval.
5912 * subr.el (internal--called-interactively-p--get-frame): Remove.
5913 (called-interactively-p):
5914 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5915 `base' arg of backtrace-frame instead.
5916
15ac32d5
GM
59172013-07-26 Glenn Morris <rgm@gnu.org>
5918
8358a09d
GM
5919 * align.el (align-regexp): Doc fix. (Bug#14857)
5920 (align-region): Explicit error if subexpression missing/does not match.
5921
15ac32d5
GM
5922 * simple.el (global-visual-line-mode):
5923 Do not duplicate the mode lighter. (Bug#14858)
5924
f47ad11b
MR
59252013-07-25 Martin Rudalics <rudalics@gmx.at>
5926
5927 * window.el (display-buffer): In display-buffer bind
5928 split-window-keep-point to t, bug#14829.
5929
02530987
JB
59302013-07-25 Juanma Barranquero <lekktu@gmail.com>
5931
5932 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5933 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5934 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5935 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5936 Change accordingly.
f63ebeb5
JB
5937 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5938 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5939
6ccb9cab 59402013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5941
6ccb9cab 5942 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5943
cb3a56d2
JB
59442013-07-25 Juanma Barranquero <lekktu@gmail.com>
5945
5946 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5947 parameter to modify-frame-parameters if the value has not changed;
5948 this is a workaround for bug#14949.
5949 (desktop--make-frame): On cl-delete-if call, check parameter name,
5950 not full parameter.
5951
7aa7fff0
XF
59522013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5953
5954 * vc/vc.el (vc-ignore): New function.
5955
5956 * vc/vc-svn.el (vc-svn-ignore): New function.
5957
5958 * vc/vc-hg.el (vc-hg-ignore): New function.
5959
5960 * vc/vc-git.el (vc-git-ignore): New function.
5961
5962 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5963 (vc-dir-ignore): New function.
5964
5965 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5966 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5967
5968 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5969
5970 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5971
889acc5c
JB
59722013-07-24 Juanma Barranquero <lekktu@gmail.com>
5973
5974 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5975 (desktop-restore-frames): Warn when deleting an existing frame failed.
5976
86c40970
GM
59772013-07-24 Glenn Morris <rgm@gnu.org>
5978
5979 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5980
d5d3c58a
MA
59812013-07-24 Michael Albinus <michael.albinus@gmx.de>
5982
5983 * filenotify.el (file-notify-supported-p):
5984 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5985 Remove functions.
5986
5987 * autorevert.el (auto-revert-use-notify):
5988 (auto-revert-notify-add-watch):
5989 * net/tramp.el (tramp-file-name-for-operation):
5990 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5991 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5992 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5993 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5994 Remove `file-notify-supported-p' entry.
5995
d100084b
GM
59962013-07-24 Glenn Morris <rgm@gnu.org>
5997
5998 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 5999 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6000
ac93e56b
SM
60012013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6002
249eea30
SM
6003 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6004 checked with memq (bug#14935).
6005
ac93e56b
SM
6006 * files.el (revert-buffer-function): Use a non-nil default.
6007 (revert-buffer-preserve-modes): Declare var to
6008 provide access to the `preserve-modes' argument.
6009 (revert-buffer): Let-bind it.
6010 (revert-buffer--default): New function, extracted from revert-buffer.
6011
2cdeb903
SM
60122013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6013
6014 * lpr.el: Signal print errors more prominently.
6015 (print-region-function): Don't default to nil.
6016 (lpr-print-region): New function, extracted from print-region-1.
6017 Check lpr's return value and signal an error in case of problem.
6018 (print-region-1): Use it.
6019 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6020 versions instead.
6021 (ps-printer-name): Default to nil.
6022 (ps-printer-name-option): Default to lpr-printer-switch.
6023 (ps-print-region-function): Don't default to nil.
6024 (ps-postscript-code-directory): Simplify default.
6025 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6026 (ps-string-list, ps-eval-switch, ps-flatten-list)
6027 (ps-flatten-list-1): Remove.
6028 (ps-multibyte-buffer): Avoid setq.
6029 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6030 (print-region-function, ps-print-region-function): Don't set them here.
6031
73600831
XF
60322013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6033
0e55c076
XF
6034 * ido.el (ido-fractionp):
6035 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6036 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6037 (ido-max-directory-size, ido-max-dir-file-cache)
6038 (ido-decorations): Doc fix.
6039
73600831
XF
6040 * ansi-color.el: Fix old URL.
6041
3d012865
MM
60422013-07-23 Michael R. Mauger <michael@mauger.com>
6043
e903c210 6044 * progmodes/sql.el: Version 3.3
3d012865
MM
6045 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6046 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6047 (sql-interactive-remove-continuation-prompt): Rewrite, use
6048 functions above. Fix continuation prompt and complete output line
6049 handling.
6050 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6051 redirected output buffer.
6052 (sql-mode): Restore deleted code (Bug#13591).
6053
da77a2e2
JB
60542013-07-23 Juanma Barranquero <lekktu@gmail.com>
6055
6056 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6057
80ff0c71
MA
60582013-07-23 Michael Albinus <michael.albinus@gmx.de>
6059
6060 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6061
6062 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6063 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6064 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6065
b61d71e4
JB
60662013-07-23 Juanma Barranquero <lekktu@gmail.com>
6067
6068 * desktop.el (desktop-clear): Simplify; remove useless checks
6069 against invalid buffer names.
6070 (desktop-list*): Use cl-list*.
6071 (desktop-buffer-info, desktop-create-buffer): Simplify.
6072
c3512092
LL
60732013-07-23 Leo Liu <sdl.web@gmail.com>
6074
6075 * bookmark.el (bookmark-make-record): Restore NAME as a default
6076 value. (Bug#14933)
6077
0ac26976
SM
60782013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6079
7d22ce18
SM
6080 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6081 extracted from autoload--insert-text.
6082 (autoload--insert-text): Remove.
6083 (autoload--print-cookie-text): New function, extracted from
6084 autoload--insert-cookie-text.
6085 (autoload--insert-cookie-text): Remove.
6086 (autoload-generate-file-autoloads): Adjust calls accordingly.
6087
9b2607e8
SM
6088 * winner.el (winner-hook-installed-p): Remove.
6089 (winner-mode): Simplify accordingly.
6090
c43a8618
SM
6091 * subr.el (add-to-list): Fix compiler-macro when `append' is
6092 not constant. Don't use `cl-member' for the base case.
6093
0ac26976
SM
6094 * progmodes/subword.el: Fix boundary case (bug#13758).
6095 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6096 own group.
6097 (subword-backward-regexp): Make it a constant.
6098 (subword-forward-internal): Don't treat a trailing capital as the
6099 beginning of a word.
6100
6874724a
AR
61012013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6102
6103 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6104 global value of tabulated-list-revert-hook (bug#14930).
6105
70f1b5e8
JB
61062013-07-22 Juanma Barranquero <lekktu@gmail.com>
6107
a1c80d9d
JB
6108 * desktop.el: Require 'cl-lib.
6109 (desktop-before-saving-frames-functions): New hook.
6110 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6111 for frames being saved. Rename from desktop--save-minibuffer-frames.
6112 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6113 Do not save frames with non-nil `desktop-dont-save' parameter.
6114 Filter out deleted frames.
a1c80d9d
JB
6115 (desktop--find-frame): Use cl-find-if.
6116 (desktop--select-frame): Use cl-(first|second|third) to access values
6117 of desktop-mini.
6118 (desktop--make-frame): Use cl-delete-if.
6119 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6120 (desktop-restore-frames): Use cl-(first|second|third) to access values
6121 of desktop-mini. Look for visible frame at the end, not while
6122 restoring frames.
6123
70f1b5e8
JB
6124 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6125 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6126 Use string-match-p, looking-at-p (bug#14927).
6127
728dc3cc
JB
61282013-07-21 Juanma Barranquero <lekktu@gmail.com>
6129
56bc453c
JB
6130 * desktop.el (desktop-saved-frame-states):
6131 Rename from desktop--saved-states; all users changed.
6132 (desktop-save-frames): Rename from desktop--save-frames.
6133 Do not save state to desktop file.
6134 (desktop-save): Save desktop-saved-frame-states to desktop file
6135 and reset to nil.
6136 (desktop-restoring-frames-p): New function.
6137 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6138 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6139 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6140
728dc3cc
JB
6141 * desktop.el: Correctly restore iconified frames.
6142 (desktop--filter-iconified-position): New function.
6143 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6144
862f1c9c
GM
61452013-07-20 Glenn Morris <rgm@gnu.org>
6146
c4074c9f
GM
6147 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6148 Let `message' do the formatting.
6149 (def-gdb-preempt-display-buffer): Add explicit format.
6150
d828e5f9
GM
6151 * image-dired.el (image-dired-track-original-file):
6152 Use with-current-buffer.
6153 (image-dired-track-thumbnail): Use with-current-buffer.
6154 Avoid changing point of wrong window.
6155
862f1c9c
GM
6156 * image-dired.el (image-dired-track-original-file):
6157 Avoid changing point of wrong window. (Bug#14909)
6158
f0398ec1 61592013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6160
6161 * progmodes/gdb-mi.el (gdb-done-or-error):
6162 Guard against "%" in gdb output. (Bug#14127)
6163
1451928f
AS
61642013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6165
763a086d
JB
6166 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6167 (Bug#14826)
f7a03897 6168
1451928f
AS
6169 * international/mule.el (coding-system-iso-2022-flags): Fix last
6170 change.
6171
99107004
KH
61722013-07-20 Kenichi Handa <handa@gnu.org>
6173
763a086d
JB
6174 * international/mule.el (coding-system-iso-2022-flags):
6175 Add `8-bit-level-4'. (Bug#8522)
99107004 6176
48494e06
LMI
61772013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6178
8ba8eec5
LMI
6179 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6180 (bug#14815).
6181
dfbc66e3
LMI
6182 * net/eww.el (eww-process-text-input): Allow inputting when the
6183 point is at the start of the line, as the properties aren't
6184 front-sticky.
6185
48494e06
LMI
6186 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6187 degenerate widths.
6188
77c92cb9
RS
61892013-07-19 Richard Stallman <rms@gnu.org>
6190
aec7da77
RS
6191 * epa.el (epa-popup-info-window): Doc fix.
6192
77c92cb9
RS
6193 * subr.el (split-string): New arg TRIM.
6194
945c5bb1
JB
61952013-07-18 Juanma Barranquero <lekktu@gmail.com>
6196
6197 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6198 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6199
e06ec67f
MA
62002013-07-18 Michael Albinus <michael.albinus@gmx.de>
6201
c7064f05 6202 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6203 `file-notify-support'. Do not autoload. Adapt all uses.
6204 (file-notify-supported-p): New defun.
6205
c7064f05
JB
6206 * autorevert.el (auto-revert-use-notify):
6207 Use `file-notify-supported-p' instead of `file-notify-support'.
6208 Adapt docstring.
e06ec67f
MA
6209 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6210
6211 * net/tramp.el (tramp-file-name-for-operation):
6212 Add `file-notify-supported-p'.
6213
6214 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6215 New defun.
6216 (tramp-sh-file-name-handler-alist): Add it as handler for
6217 `file-notify-supported-p '.
6218
6219 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6220 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6221 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6222 Add `ignore' as handler for `file-notify-*' functions.
6223
5dc8a629
EZ
62242013-07-17 Eli Zaretskii <eliz@gnu.org>
6225
6226 * simple.el (line-move-partial, line-move): Don't start vscroll or
6227 scroll-up if the current line is not taller than the window.
6228 (Bug#14881)
6229
77aea2fb
DG
62302013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6231
6232 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6233 highlight question marks in the method names as strings.
ac72c08d
DG
6234 (ruby-block-beg-keywords): Inline.
6235 (ruby-font-lock-keyword-beg-re): Extract from
6236 `ruby-font-lock-keywords'.
77aea2fb 6237
18c26d81
JD
62382013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6239
6240 * frame.el (blink-cursor-blinks): New defcustom.
6241 (blink-cursor-blinks-done): New defvar.
6242 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6243 (blink-cursor-timer-function): Check if number of blinks has been
6244 done on X and NS.
6245 (blink-cursor-suspend, blink-cursor-check): New defuns.
6246
da48522e
GM
62472013-07-15 Glenn Morris <rgm@gnu.org>
6248
6249 * edmacro.el (edmacro-format-keys): Fix previous change.
6250
0463c1ef
PE
62512013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6252
6253 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6254 The hack didn't work outside English locales anyway.
6255
b43f6451
JB
62562013-07-15 Juanma Barranquero <lekktu@gmail.com>
6257
6258 * simple.el (define-alternatives): Rename from alternatives-define,
6259 per RMS' suggestion.
6260
b958c0ad
JB
62612013-07-14 Juanma Barranquero <lekktu@gmail.com>
6262
6263 * desktop.el (desktop-restore-frames): Change default to t.
6264 (desktop-restore-in-current-display): Now offer more options.
6265 (desktop-restoring-reuses-frames): New customization option.
6266 (desktop--saved-states): Doc fix.
6267 (desktop-filter-parameters-alist): New variable, renamed and expanded
6268 from desktop--excluded-frame-parameters.
6269 (desktop--target-display): New variable.
6270 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6271 (desktop--filter-tty*, desktop--filter-*-color)
6272 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6273 (desktop--filter-save-desktop-parm)
6274 (desktop-restore-in-original-display-p): New functions.
6275 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6276 (desktop--save-minibuffer-frames): New function, inspired by a similar
6277 function from Martin Rudalics.
6278 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6279 (desktop--restore-in-this-display-p): Remove.
6280 (desktop--find-frame): Rename from desktop--find-frame-in-display
6281 and add predicate argument.
6282 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6283 (desktop--reuse-list): New variable.
6284 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6285 New functions.
6286 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6287
f6dd8b36
MA
62882013-07-14 Michael Albinus <michael.albinus@gmx.de>
6289
6290 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6291
2ce3c565
DG
62922013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6293
763a086d
JB
6294 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6295 Highlight conversion methods on Kernel.
2ce3c565 6296
2cdb7698
AM
62972013-07-13 Alan Mackenzie <acm@muc.de>
6298
6299 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6300 and comment it out. This out-commenting enables certain C++
6301 declarations to be parsed correctly.
6302
1a67b811
EZ
63032013-07-13 Eli Zaretskii <eliz@gnu.org>
6304
1b796d6b
EZ
6305 * international/mule.el (define-coding-system): Doc fix.
6306
1a67b811
EZ
6307 * simple.el (default-font-height): Don't call font-info if the
6308 frame's default font didn't change since the frame was created.
6309 (Bug#14838)
6310
58fbe886
LL
63112013-07-13 Leo Liu <sdl.web@gmail.com>
6312
6313 * ido.el (ido-read-file-name): Guard against non-symbol value.
6314
1f0480d4
FEG
63152013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6316
6317 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6318 in nested defuns.
6319
97ead0e5
LL
63202013-07-13 Leo Liu <sdl.web@gmail.com>
6321
6322 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6323 ido-set-matches call. (Bug#6852)
6324
0880a952
DG
63252013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6326
6327 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6328 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6329 Ruby 2.0.
6330 (ruby-font-lock-keywords): Distinguish calls to functions with
6331 module-like names from module references. Highlight character
6332 literals.
6333
a7d8babb
SDJ
63342013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6335
6336 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6337 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6338
acfcc8c5
JB
63392013-07-12 Juanma Barranquero <lekktu@gmail.com>
6340
6341 * desktop.el (desktop--v2s): Remove unused local variable.
6342 (desktop-save-buffer): Make defvar-local; adjust docstring.
6343 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6344 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6345
051f2775
AS
63462013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6347
6348 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6349
f24e7572
GM
63502013-07-12 Eli Zaretskii <eliz@gnu.org>
6351
6352 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6353 (Bug#14842)
6354
539a920c
GM
63552013-07-12 Glenn Morris <rgm@gnu.org>
6356
6357 * doc-view.el: Require cl-lib at runtime too.
6358 (doc-view-remove-if): Remove.
6359 (doc-view-search-next-match, doc-view-search-previous-match):
6360 Use cl-remove-if.
6361
6362 * edmacro.el: Require cl-lib at runtime too.
6363 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6364 (edmacro-mismatch, edmacro-subseq): Remove.
6365
6366 * shadowfile.el: Require cl-lib.
6367 (shadow-remove-if): Remove.
6368 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6369 Use cl-remove-if.
6370
6371 * wid-edit.el: Require cl-lib.
6372 (widget-choose): Use cl-remove-if.
6373 (widget-remove-if): Remove.
6374
6375 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6376 (ebrowse-delete-if-not): Remove.
6377 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6378 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6379 Use cl-delete-if-not.
6380
1048af7c
JB
63812013-07-12 Juanma Barranquero <lekktu@gmail.com>
6382
6383 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6384 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6385
6c0674ee
LL
63862013-07-12 Leo Liu <sdl.web@gmail.com>
6387
6388 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6389
a19b3c2d
GM
63902013-07-11 Glenn Morris <rgm@gnu.org>
6391
4582a01c
GM
6392 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6393 (edebug-gensym-index, edebug-gensym):
6394 Remove reimplementation of cl-gensym.
6395 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6396
6397 * thumbs.el: Require cl-lib at run-time too.
6398 (thumbs-gensym-counter, thumbs-gensym):
6399 Remove reimplementation of cl-gensym.
6400 (thumbs-temp-file): Use cl-gensym.
6401
a19b3c2d
GM
6402 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6403 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6404 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6405 (ert--union, ert--gensym-counter, ert--gensym-counter)
6406 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6407 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6408 (ert-make-test-unbound, ert--expand-should-1)
6409 (ert--expand-should, ert--should-error-handle-error)
6410 (should-error, ert--explain-equal-rec)
6411 (ert--plist-difference-explanation, ert-select-tests)
6412 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6413 Use cl-lib functions rather than reimplementations.
6414
88f6a933
MA
64152013-07-11 Michael Albinus <michael.albinus@gmx.de>
6416
6417 * net/tramp.el (tramp-methods): Extend docstring.
6418 (tramp-connection-timeout): New defcustom.
6419 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6420 (with-tramp-progress-reporter): Simplify.
6421 (tramp-process-actions): Improve messages.
6422
6423 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6424 * net/tramp-sh.el (tramp-maybe-open-connection):
6425 Use `tramp-connection-timeout'.
6426 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6427 (Bug#14808)
6428
a43d577e
LL
64292013-07-11 Leo Liu <sdl.web@gmail.com>
6430
6431 * ido.el (ido-read-file-name): Conform to the requirements of
6432 read-file-name. (Bug#11861)
6433 (ido-read-directory-name): Conform to the requirements of
6434 read-directory-name.
6435
d77974bf
JB
64362013-07-11 Juanma Barranquero <lekktu@gmail.com>
6437
6438 * subr.el (delay-warning): New function.
6439
35cb8a3e
EZ
64402013-07-10 Eli Zaretskii <eliz@gnu.org>
6441
6442 * simple.el (default-line-height): New function.
6443 (line-move-partial, line-move): Use it instead of computing the
6444 line height inline.
6445 (line-move-partial): Always compute ROWH. If the last line is
6446 partially-visible, but its text is completely visible, allow
6447 cursor to enter such a partially-visible line.
6448
525c5c77
MA
64492013-07-10 Michael Albinus <michael.albinus@gmx.de>
6450
6451 Improve error messages. (Bug#14808)
6452
6453 * net/tramp.el (tramp-current-connection): New defvar, moved from
6454 tramp-sh.el.
0ac26976 6455 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6456 needed anymore.
0ac26976
SM
6457 (tramp-error-with-buffer): Show message in minibuffer.
6458 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6459 (with-tramp-progress-reporter): Improve messages.
6460 (tramp-process-actions): Use progress reporter. Delete process in
6461 case of error. Improve messages.
6462
763a086d
JB
6463 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6464 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6465 (tramp-current-connection): Remove.
525c5c77
MA
6466 (tramp-maybe-open-connection): The car of
6467 `tramp-current-connection' are the first 3 slots of the vector.
6468
c7a4d368
TZ
64692013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6470
6471 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6472 inside continued strings.
6473
954b166e
PE
64742013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6475
6476 Timestamp fixes for undo (Bug#14824).
6477 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6478
56973319
LL
64792013-07-10 Leo Liu <sdl.web@gmail.com>
6480
6481 * files.el (require-final-newline): Allow safe local value.
6482 (Bug#14834)
6483
5550a72c
LL
64842013-07-09 Leo Liu <sdl.web@gmail.com>
6485
6486 * ido.el (ido-read-directory-name): Handle fallback.
6487 (ido-read-file-name): Update DIR to ido-current-directory.
6488 (Bug#1516)
c28b9050 6489 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6490
70c46b28
DG
64912013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6492
6493 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6494 "autoload". Remove "warn lower camel case" section, previously
6495 commented out. Highlight negation char. Do not highlight the
6496 target in singleton method definitions.
6497
0b64b838
SM
64982013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6499
7fd72e2c
SM
6500 * faces.el (tty-setup-hook): Declare the hook.
6501
0b64b838
SM
6502 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6503 and detect when a guard/pred depends on local vars (bug#14773).
6504 (pcase--u1): Adjust caller.
6505
ab49d60b
EZ
65062013-07-08 Eli Zaretskii <eliz@gnu.org>
6507
6508 * simple.el (line-move-partial, line-move): Account for
6509 line-spacing.
701d79aa
EZ
6510 (line-move-partial): Avoid setting vscroll when the last
6511 partially-visible line in window is of default height.
ab49d60b 6512
2d756ae0
LMI
65132013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6514
6515 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6516 been used a while.
6517
ed095bd7
JB
65182013-07-07 Juanma Barranquero <lekktu@gmail.com>
6519
6520 * subr.el (read-quoted-char): Remove unused local variable `char'.
6521
f1e6674b
MK
65222013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6523
584ee3fc
GM
6524 * ediff.el (ediff-version): Version update.
6525 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6526 (ediff-merge-with-ancestor-command, ediff-directories-command)
6527 (ediff-directories3-command, ediff-merge-directories-command)
6528 (ediff-merge-directories-with-ancestor-command): New functions.
6529 All are command-line interfaces to ediff: to facilitate calling
6530 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6531
6532 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6533 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6534
584ee3fc
GM
6535 * viper.el (viper-version): Version update.
6536 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6537
584ee3fc
GM
65382013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6541 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6542 (viper-intercept-ESC-key): Simplify.
6543 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6544 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6545 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6546 (viper-setup-ESC-to-escape): New functions.
6547 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6548 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6549
9aff9b38
EZ
65502013-07-07 Eli Zaretskii <eliz@gnu.org>
6551
5165d44a
JB
6552 * simple.el (default-font-height, window-screen-lines):
6553 New functions.
9aff9b38
EZ
6554 (line-move, line-move-partial): Use them instead of
6555 frame-char-height and window-text-height. This makes scrolling
6556 text smoother when the buffer's default face uses a font that is
6557 different from the frame's default font.
6558
1afb1d07
JD
65592013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6560
6561 * files.el (write-file): Do not display confirm dialog for NS,
6562 it does its own dialog, which can't be cancelled (Bug#14578).
6563
23de972a
EZ
65642013-07-06 Eli Zaretskii <eliz@gnu.org>
6565
6566 * simple.el (line-move-partial): Adjust the row returned by
6567 posn-at-point for the current window-vscroll. (Bug#14567)
6568
54a42486
MA
65692013-07-06 Michael Albinus <michael.albinus@gmx.de>
6570
6571 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6572 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6573 spaces.
6574
34ada5f4
MR
65752013-07-06 Martin Rudalics <rudalics@gmx.at>
6576
6577 * window.el (window-state-put-stale-windows): New variable.
6578 (window--state-put-2): Save list of windows without matching buffer.
6579 (window-state-put): Remove "bufferless" windows if possible.
6580
11e03d89
JB
65812013-07-06 Juanma Barranquero <lekktu@gmail.com>
6582
6583 * simple.el (alternatives-define): Remove leftover :group keyword.
6584 Tweak docstring.
6585
3504a4be
LL
65862013-07-06 Leo Liu <sdl.web@gmail.com>
6587
6588 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6589 (ido-enable-virtual-buffers): New variable.
6590 (ido-buffer-internal, ido-toggle-virtual-buffers)
6591 (ido-make-buffer-list): Use it.
6592 (ido-exhibit): Support turning on and off virtual buffers
6593 automatically.
6594
61e56e2c
JB
65952013-07-06 Juanma Barranquero <lekktu@gmail.com>
6596
6597 * simple.el (alternatives-define): New macro.
6598
321e1a9c
SM
65992013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * subr.el (read-quoted-char): Use read-key.
6602 (sit-for): Let read-event decode tty input (bug#14782).
6603
d610f6dd
SB
66042013-07-05 Stephen Berman <stephen.berman@gmx.net>
6605
6606 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6607 mode command and externally. Fix various related bugs.
6608 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6609 (todo-delete-file): New command.
6610 (todo-check-file): New function.
6611 (todo-show): Handle external deletion of the file we're trying to
6612 show (bug#14688). Replace called-interactively-p by an optional
6613 prefix argument to avoid problematic interaction with catch form
6614 when byte compiled (bug#14702).
6615 (todo-quit): Handle external deletion of the archive's todo file.
6616 Make sure the buffer that was visiting the archive file is still
6617 live before trying to bury it.
6618 (todo-category-completions): Handle external deletion of any
6619 category completion files.
6620 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6621 of todo files, in case of external deletion.
6622 (todo-add-file): Replace unnecessary setq by let-binding.
6623 (todo-find-archive): Check whether there are any archives.
6624 Replace unnecessary setq by let-binding.
6625 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6626 archive buffer whether or not the archive already exists.
6627 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6628 check if the archive is new; if it is, update list of archives.
6629 (todo-default-todo-file): Allow nil to be a valid value for when
6630 there are no todo files.
6631 (todo-reevaluate-default-file-defcustom): Use corrected definition
6632 of todo-default-todo-file.
6633 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6634 (todo-delete-category, todo-show-categories-table)
6635 (todo-category-number): Clarify comment.
6636 (todo-filter-items): Clarify documentation string.
6637 (todo-show-current-file, todo-display-as-todo-file)
6638 (todo-reset-and-enable-done-separator): Tweak documentation string.
6639 (todo-done-separator): Make separator length window-width, since
6640 bug#2749 is now fixed.
6641
ddbdfd6f
MA
66422013-07-05 Michael Albinus <michael.albinus@gmx.de>
6643
321e1a9c
SM
6644 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6645 Support both "gvfs-monitor-dir" and "inotifywait".
6646 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6647 `tramp-sh-file-notify-process-filter'.
6648 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6649 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6650
96eb829a
LL
66512013-07-05 Leo Liu <sdl.web@gmail.com>
6652
6653 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6654
cf13177e
YM
66552013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6656
6657 * frame.el (display-pixel-height, display-pixel-width)
6658 (display-mm-height, display-mm-width): Mention behavior on
6659 multi-monitor setups in docstrings.
6660 (w32-display-monitor-attributes-list): Declare function.
6661 (display-monitor-attributes-list): Use it.
6662
864c58ca
MA
66632013-07-04 Michael Albinus <michael.albinus@gmx.de>
6664
6665 * filenotify.el: New package.
6666
6667 * autorevert.el (top): Require filenotify.el.
6668 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6669 instead.
6670 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6671 (auto-revert-notify-handler): Use `file-notify-*' functions.
6672
6673 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6674
321e1a9c
SM
6675 * net/tramp.el (tramp-file-name-for-operation):
6676 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6677
6678 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6679 for `file-notify-add-watch' and `file-notify-rm-watch'.
6680 (tramp-process-sentinel): Improve trace.
6681 (tramp-sh-handle-file-notify-add-watch)
6682 (tramp-sh-file-notify-process-filter)
6683 (tramp-sh-handle-file-notify-rm-watch)
6684 (tramp-get-remote-inotifywait): New defuns.
6685
96673afe
JL
66862013-07-03 Juri Linkov <juri@jurta.org>
6687
6688 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6689 call of `occur-read-primary-args' to interactive spec.
6690
6691 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6692 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6693
924494f4
MM
66942013-07-03 Matthias Meulien <orontee@gmail.com>
6695
6696 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6697 `Buffer-menu-multi-occur'. Add it to the menu.
6698 (Buffer-menu-mode): Document it in docstring.
6699 (Buffer-menu-multi-occur): New command. (Bug#14673)
6700
56f75efc
DG
67012013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6702
6703 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6704 keywords and built-ins.
6705
9b057d61
GM
67062013-07-03 Glenn Morris <rgm@gnu.org>
6707
208dee4d
GM
6708 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6709
9b057d61
GM
6710 Make info-xref checks case-sensitive by default
6711 * info.el (Info-find-node, Info-find-in-tag-table)
6712 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6713 Add option for exact case matching of nodes.
6714 * info-xref.el (info-xref): New custom group.
6715 (info-xref-case-fold): New option.
6716 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6717
e01aa29c
LL
67182013-07-03 Leo Liu <sdl.web@gmail.com>
6719
6720 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6721
3086ca2e
DG
67222013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6723
6724 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6725 middle of block statement initially, lower the depth. Remove
6726 FIXME comment, not longer valid. Remove middle of block statement
6727 detection, no need to do that anymore since we've been using
6728 `ruby-parse-region' here.
6729
a3b49114
JD
67302013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6731
6732 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6733
08e5c823 67342013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6735
6736 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6737
2addf922
JB
67382013-07-01 Juanma Barranquero <lekktu@gmail.com>
6739
6740 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6741 (desktop-restore-in-current-display): New customization option.
6742 (desktop--excluded-frame-parameters): Add `font'.
6743 (desktop--save-frames): Rename from desktop--save-windows.
6744 (desktop--restore-in-this-display-p): New function.
6745 (desktop--make-full-frame): Remove unwanted width/height from
6746 full(width|height) frames.
6747 (desktop--restore-frames): Rename from desktop--restore-windows.
6748 Obey desktop-restore-current-display. Do not delete old frames or
6749 select a new frame unless we were able to restore at least one frame.
6750
ef099a94
MN
67512013-06-30 Michal Nazarewicz <mina86@mina86.com>
6752
6753 * files.el (find-file-noselect): Simplify conditional expression.
6754
6755 * remember.el (remember-append-to-file):
6756 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6757
6758 Add `remember-notes' function to store random notes across Emacs
6759 restarts.
6760 * remember.el (remember-data-file): Add :set callback to affect
6761 notes buffer (if any).
6762 (remember-notes): New command.
6763 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6764 New defcustoms for the `remember-notes' function.
6765 (remember-notes-save-and-bury-buffer): New command.
6766 (remember-notes-mode-map): New variable.
6767 (remember-mode): New minor mode.
6768 (remember-notes--kill-buffer-query): New function.
6769 * startup.el (initial-buffer-choice): Add notes to custom type.
6770
0865d506
EZ
67712013-06-30 Eli Zaretskii <eliz@gnu.org>
6772
0ba54312
EZ
6773 * bindings.el (right-char, left-char): Don't call sit-for, this is
6774 no longer needed. Use arithmetic comparison only for numerical
6775 arguments.
6776
ef099a94
MN
6777 * international/mule-cmds.el (select-safe-coding-system):
6778 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6779
2fae38e5
LMI
67802013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6781
6782 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6783 progression on degenerate tables.
ef099a94 6784 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6785
a47cbd64
JB
67862013-06-30 Juanma Barranquero <lekktu@gmail.com>
6787
6788 Some fixes and improvements for desktop frame restoration.
6789 It is still experimental and disabled by default.
6790 * desktop.el (desktop--save-windows): Put the selected frame at
6791 the head of the list.
6792 (desktop--make-full-frame): New function.
6793 (desktop--restore-windows): Try to re-select the frame that was
6794 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6795 just show an error message and continue. Set up maximized frames
6796 so they have default non-maximized dimensions.
a47cbd64 6797
6dbafa30
DG
67982013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6799
ef099a94
MN
6800 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6801 Don't start heredoc inside a string or comment.
6dbafa30 6802
4c672a0f
EZ
68032013-06-29 Eli Zaretskii <eliz@gnu.org>
6804
6805 * bindings.el (visual-order-cursor-movement): New defcustom.
6806 (right-char, left-char): Provide visual-order cursor motion by
6807 calling move-point-visually. Update the doc strings.
6808
50960f36
KH
68092013-06-28 Kenichi Handa <handa@gnu.org>
6810
6811 * international/mule.el (define-coding-system): New coding system
6812 properties :inhibit-null-byte-detection,
6813 :inhibit-iso-escape-detection, and :prefer-utf-8.
6814 (set-buffer-file-coding-system): If :charset-list property of
6815 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6816 appropriate for setting.
6817
c1ea3abf
JB
6818 * international/mule-cmds.el (select-safe-coding-system):
6819 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6820 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6821
6822 * international/mule-conf.el (prefer-utf-8): New coding system.
6823 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6824 files.
6825
75dbaf9d
IK
68262013-06-28 Ivan Kanis <ivan@kanis.fr>
6827
eadb6068
IK
6828 * net/shr.el (shr-render-region): New function.
6829
75dbaf9d
IK
6830 * net/eww.el: Autoload `eww-browse-url'.
6831
9ea5cf9f
DG
68322013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6833
c1ea3abf
JB
6834 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6835 Adapt to `package-desc-version' being a list.
6836 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6837 archive element.
6838
39c0e36f
JB
68392013-06-27 Juanma Barranquero <lekktu@gmail.com>
6840
6841 New experimental feature to save&restore window and frame setup.
6842 * desktop.el (desktop-save-windows): New defcustom.
6843 (desktop--saved-states): New var.
6844 (desktop--excluded-frame-parameters): New defconst.
6845 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6846 (desktop--restore-windows, desktop--save-windows): New functions.
6847 (desktop-save): Call `desktop--save-windows'.
6848 (desktop-read): Call `desktop--restore-windows'.
6849
7f13406b
LMI
68502013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6851
ef099a94 6852 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6853
1e072639
SB
68542013-06-27 Stephen Berman <stephen.berman@gmx.net>
6855
6856 * info.el (Info-try-follow-nearest-node): Move search for footnote
6857 above search for node name to prevent missing a footnote (bug#14717).
6858
f3e2cbde
SB
68592013-06-27 Stephen Berman <stephen.berman@gmx.net>
6860
6861 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6862
99906aa0
LL
68632013-06-27 Leo Liu <sdl.web@gmail.com>
6864
6865 * net/eww.el (eww-read-bookmarks): Check file size.
6866
539f75f4
SM
68672013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6870 advice--pending if newdef is nil or an autoload (bug#13820).
6871 (advice-mapc): New function.
6872
843571cb
LMI
68732013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6874
6875 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6876 probably.
23a75d7f 6877 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6878 (eww-add-bookmark): New command.
6879 (eww-bookmark-mode): New mode and commands.
a285ce99 6880 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6881 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6882
f2136e1e
GM
68832013-06-26 Glenn Morris <rgm@gnu.org>
6884
eab35f39
GM
6885 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6886 (hfy-size): Handle ttys. (Bug#14668)
6887
f2136e1e
GM
6888 * info-xref.el: Update for Texinfo 5 change in *note format.
6889 (info-xref-node-re, info-xref-note-re): New constants.
6890 (info-xref-check-buffer): Use info-xref-note-re.
6891
a49ff80c
SM
68922013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6893
a343d218
SM
6894 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6895
a49ff80c
SM
6896 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6897 nil terminate the loop (bug#14718).
6898
8308f184
LMI
68992013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6900
6901 * net/eww.el: Rework history traversal. When going forward/back,
6902 put these actions into the history, too, so that they can be
6903 replayed.
26bf2b82 6904 (eww-render): Move the history reset to the correct buffer.
8308f184 6905
ec64c273
JL
69062013-06-25 Juri Linkov <juri@jurta.org>
6907
6908 * files-x.el (modify-dir-local-variable): Change the header comment
6909 in the file with directory local variables. (Bug#14692)
6910
e080a9d7
JL
6911 * files-x.el (read-file-local-variable-value): Add `default'.
6912 (Bug#14710)
6913
bfbc93a1
IK
69142013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6915
6916 * net/eww.el (eww-make-unique-file-name): Create a unique file
6917 name before saving to entering `y' accidentally asynchronously.
6918
69192013-06-25 Ivan Kanis <ivan@kanis.fr>
6920
6921 * net/eww.el (eww-download): New command and keystroke.
6922
16f74f10
LMI
69232013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6924
a49ff80c 6925 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6926
6927 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6928 be more consistent with Info and dired.
6929
6930 * net/eww.el (eww-mode-map): Ditto.
6931
12059709
SM
69322013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6935 packages from archives.
6936 (package-archive-contents): Change format; include obsolete packages.
6937 (package-desc): Use `dir' to mark builtin packages.
6938 (package--from-builtin): Set the `dir' field to `builtin'.
6939 (generated-autoload-file, version-control): Declare.
6940 (package-compute-transaction): Change first arg and return value to be
6941 lists of package-descs. Adjust to new package-archive-contents format.
6942 (package--add-to-archive-contents): Adjust to new
6943 package-archive-contents format.
6944 (package-download-transaction): Arg is now a list of package-descs.
6945 (package-install): If `pkg' is a package name, pass it as
6946 a requirement, so it is subject to the usual (e.g. disabled) checks.
6947 (describe-package): Accept package-desc as well.
6948 (describe-package-1): Describe a specific package-desc. Add links to
6949 other package-descs for the same package name.
6950 (package-menu-describe-package): Pass the actual package-desc.
6951 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6952 works correctly.
6953 (package-desc-status): New function.
6954 (package-menu--refresh): New function, extracted
6955 from package-menu--generate.
6956 (package-menu--generate): Use it.
6957 (package-delete): Update package-alist.
6958 (package-menu-execute): Don't call package-initialize.
6959
6960 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6961 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6962 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6963 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6964 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6965 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6966
8bbdea0f
MR
69672013-06-25 Martin Rudalics <rudalics@gmx.at>
6968
6969 * window.el (window--state-get-1): Workaround for bug#14527.
6970 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6971
e82b0991
LMI
69722013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6973
6974 * net/eww.el (eww-back-url): Implement the history by stashing all
6975 the data into a list.
d3f0f918 6976 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6977
c763842b
SM
69782013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6981 for values and use read--expression for expressions (bug#14710).
6982 (read-file-local-variable): Avoid setq.
6983 (read-file-local-variable-mode): Use minor-mode-list.
6984
bceff189
RW
69852013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6986
864c58ca 6987 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6988 for DOI URLs.
6989
45f431c6
RW
69902013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6991
864c58ca 6992 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6993 Update imenu-support when dialect changes.
6994
f42d8237
LL
69952013-06-25 Leo Liu <sdl.web@gmail.com>
6996
6997 * ido.el (ido-read-internal): Allow forward slash on windows.
6998
be549ce6
LMI
69992013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7000
7001 * net/eww.el (eww): Start of strings is \\`, not ^.
7002
71d4c19d
IK
70032013-06-24 Ivan Kanis <ivan@kanis.fr>
7004
5196f88a
IK
7005 * net/shr.el (shr-browse-url): Fix interactive spec.
7006
71d4c19d
IK
7007 * net/eww.el (eww): Add a trailing slash to domain names.
7008
ae36ca55
JB
70092013-06-24 Juanma Barranquero <lekktu@gmail.com>
7010
7011 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7012
0ebd92a3
LMI
70132013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7014
bdaa086b
LMI
7015 * net/shr.el (shr-browse-url): Use an external browser if given a
7016 prefix.
7017
c763842b 7018 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7019
b89fc156
IK
70202013-06-24 Ivan Kanis <ivan@kanis.fr>
7021
7022 * net/eww.el (eww): Work more correctly for file: URLs.
7023 (eww-detect-charset): Allow quoted charsets.
7024 (eww-yank-page-url): New command and keystroke.
7025
18eb4bca
DU
70262013-06-24 Daiki Ueno <ueno@gnu.org>
7027
7028 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7029 file name of gpg executable.
7030 (epg-context-program): New function.
7031 (epg-context-home-directory): New function.
7032 (epg-context-set-program): New function.
7033 (epg-context-set-home-directory): New function.
7034 (epg--start): Use `epg-context-program' instead of
7035 'epg-gpg-program'.
7036 (epg--list-keys-1): Likewise.
7037
6c6268c8
LL
70382013-06-24 Leo Liu <sdl.web@gmail.com>
7039
7040 * ido.el (ido-read-internal): Fix bug#14620.
7041
5e400cb3
JB
70422013-06-23 Juanma Barranquero <lekktu@gmail.com>
7043
7044 * faces.el (face-documentation): Simplify.
7045 (read-face-attribute, tty-find-type, x-resolve-font-name):
7046 Use `string-match-p'.
7047 (list-faces-display): Use `string-match-p'. Simplify.
7048 (face-spec-recalc): Check face to avoid face alias loops.
7049 (read-color): Use `string-match-p' and non-capturing parenthesis.
7050
f3f9606c
LMI
70512013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7052
7053 * net/shr.el (shr-rescale-image): Use the new
7054 :max-width/:max-height functionality.
7055
a3ca09b9
IK
70562013-06-23 Ivan Kanis <ivan@kanis.fr>
7057
7058 * net/eww.el (eww-search-prefix): New variable.
7059 (eww): Use it.
f865b474
IK
7060 (eww-external-browser): New variable.
7061 (eww-mode-map): New keystroke.
7062 (eww-browse-with-external-browser): New command.
a3ca09b9 7063
e854cfc7
IK
7064 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7065
18bb9e21
JB
70662013-06-23 Juanma Barranquero <lekktu@gmail.com>
7067
7068 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7069 Don't skip aligning the next header field when padding is 0;
7070 otherwise, field width is not respected unless the title is as
7071 wide as the field.
7072
5b165ade
SM
70732013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * emacs-lisp/package.el (package-el-version): Remove.
7076 (package-process-define-package): Fix inf-loop.
7077 (package-install): Allow symbols as arguments again.
7078
12adebe9
DG
70792013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7080
7081 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7082 add some more keyword-like methods.
7083 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7084
388573ee
JB
70852013-06-22 Juanma Barranquero <lekktu@gmail.com>
7086
7087 * bs.el (bs-buffer-show-mark): Make defvar-local.
7088 (bs-mode): Use setq-local.
7089
7090 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7091 (emacs-lock--try-unlocking): Make defvar-local.
7092
4582a01c 70932013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7094
2663dd23
GM
7095 * play/cookie1.el (cookie-apropos): Minor simplification.
7096
3d94f3ad
GM
7097 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7098
f72e2fdb
DG
70992013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7100
7101 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7102 `regexp-opt', it breaks the build during dumping.
7103
73eab938
DG
71042013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7105
c763842b
SM
7106 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7107 Highlight keyword-like methods on Kernel and Module with
73eab938 7108 font-lock-builtin-face.
5cf8176d
DG
7109 (auto-mode-alist): Consolidate different entries into one regexp
7110 and add more *file-s.
73eab938 7111
d26255f6
SB
71122013-06-21 Stephen Berman <stephen.berman@gmx.net>
7113
7114 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7115
7116 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7117 (diary-entry): Use it in the action of this button type instead of
7118 diary-goto-entry.
7119
7120 * calendar/todo-mode.el: New version.
7121 (todo-add-category): Append new category to end of file and give
7122 it the highest number, instead of putting it at the beginning and
7123 giving it 0. Incorporate noninteractive functionality.
7124 (todo-forward-category): Adapt to 1-based category numbering.
7125 Allow skipping over archived categories.
7126 (todo-backward-category): Derive from todo-forward-category.
7127 (todo-backward-item, todo-forward-item): Make noninteractive and
7128 delegate interactive part to new commands. Make sensitive to done items.
7129 (todo-categories): Make value an alist of category names and
7130 vectors of item counts.
7131 (todo-category-beg): Make a defconst.
7132 (todo-category-number): Use 1 instead of 0 as initial value.
7133 (todo-category-select): Make sensitive to overlays, optional item
7134 highlighting and done items.
7135 (todo-delete-item): Make sensitive to overlays and marked and done items.
7136 (todo-edit-item): Make sensitive to overlays and editing of
7137 date/time header optional. Add format checks.
7138 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7139 no-op if point is not on an item. Advertise using todo-edit-quit.
7140 (todo-edit-mode): Make sensitive to new format, font-locking, and
7141 multiple todo files.
7142 (todo-insert-item, todo-insert-item-here): Derive from
7143 todo-basic-insert-item and extend functionality.
7144 (todo-item-end, todo-item-start): Make sensitive to done items.
7145 (todo-item-string): Don't return text properties. Restore point.
7146 (todo-jump-to-category): Make sensitive to multiple todo files and
7147 todo archives. Use extended category completion.
7148 (todo-lower-item, todo-raise-item): Rename to *-priority and
7149 derive from todo-set-item-priority.
7150 (todo-mode): Derive from special-mode. Make sensitive to new
7151 format, font-locking and multiple todo files. Make read-only.
7152 (todo-mode-map): Don't suppress digit keys, so they can supply
7153 prefix arguments. Add many new key bindings.
7154 (todo-prefix): Insert as an overlay instead of file text.
7155 Change semantics from diary date expression to purely visual mark.
7156 (todo-print): Rename to todo-print-buffer. Make buffer display
7157 features printable. Remove option to restrict number of items
7158 printed. Add option to print to file.
7159 (todo-print-function): Rename to todo-print-buffer-function.
7160 (todo-quit): Extend to handle exiting new todo modes.
7161 (todo-remove-item): Make sensitive to overlays.
7162 (todo-save): Extend to buffers of filtered items.
7163 (todo-show): Make sensitive to done items, multiple todo files and
7164 new todo modes. Offer to convert legacy todo file before creating
7165 first new todo file.
7166 (todo-show-priorities): Rename to todo-top-priorities.
7167 Change semantics of value 0.
7168 (todo-top-priorities): Rename to todo-filter-top-priorities,
7169 derive from todo-filter-items and extend functionality.
7170 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7171 and extend functionality to other types of filtered items.
7172 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7173 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7174 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7175 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7176 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7177 (todo-edit-mode-hook, todo-entry-prefix-function)
7178 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7179 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7180 (todo-initials, todo-insert-threshold, todo-item-string-start)
7181 (todo-line-string, todo-menu, todo-mode-hook)
7182 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7183 (todo-print-priorities, todo-remove-separator)
7184 (todo-save-top-priorities-too, todo-string-count-lines)
7185 (todo-string-multiline-p, todo-time-string-format)
7186 (todo-tmp-buffer-name): Remove.
7187 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7188 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7189 (todo-edit-category-diary-inclusion)
7190 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7191 (todo-edit-file, todo-edit-item-date-day)
7192 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7193 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7194 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7195 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7196 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7197 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7198 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7199 (todo-filter-top-priorities-multifile, todo-find-archive)
7200 (todo-find-filtered-items-file, todo-go-to-source-item)
7201 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7202 (todo-jump-to-archive-category, todo-lower-category)
7203 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7204 (todo-move-category, todo-move-item, todo-next-button)
7205 (todo-next-item, todo-padded-string, todo-powerset)
7206 (todo-previous-button, todo-previous-item)
7207 (todo-print-buffer-to-file, todo-raise-category)
7208 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7209 (todo-set-category-number, todo-set-item-priority)
7210 (todo-set-top-priorities-in-category)
7211 (todo-set-top-priorities-in-file, todo-show-categories-table)
7212 (todo-sort-categories-alphabetically-or-numerically)
7213 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7214 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7215 (todo-toggle-item-header, todo-toggle-item-highlighting)
7216 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7217 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7218 (todo-unarchive-items, todo-unmark-category): New commands.
7219 (todo-absolute-file-name, todo-add-to-buffer-list)
7220 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7221 (todo-basic-insert-item, todo-category-completions)
7222 (todo-category-number, todo-category-string-matcher-1)
7223 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7224 (todo-check-format, todo-clear-matches)
7225 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7226 (todo-current-category, todo-date-string-matcher)
7227 (todo-define-insertion-command, todo-diary-expired-matcher)
7228 (todo-diary-goto-entry, todo-diary-item-p)
7229 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7230 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7231 (todo-done-item-section-p, todo-done-separator)
7232 (todo-done-string-matcher, todo-files, todo-filter-items)
7233 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7234 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7235 (todo-insert-category-line, todo-insert-item-from-calendar)
7236 (todo-insert-sort-button, todo-insert-with-overlays)
7237 (todo-insertion-command-name, todo-insertion-key-bindings)
7238 (todo-label-to-key, todo-longest-category-name-length)
7239 (todo-make-categories-list, todo-mode-external-set)
7240 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7241 (todo-modes-set-3, todo-multiple-filter-files)
7242 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7243 (todo-read-category, todo-read-date, todo-read-dayname)
7244 (todo-read-file-name, todo-read-time)
7245 (todo-reevaluate-category-completions-files-defcustom)
7246 (todo-reevaluate-default-file-defcustom)
7247 (todo-reevaluate-filelist-defcustoms)
7248 (todo-reevaluate-filter-files-defcustom)
7249 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7250 (todo-reset-done-separator, todo-reset-done-separator-string)
7251 (todo-reset-done-string, todo-reset-global-current-todo-file)
7252 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7253 (todo-reset-prefix, todo-set-categories)
7254 (todo-set-date-from-calendar, todo-set-show-current-file)
7255 (todo-set-top-priorities, todo-short-file-name)
7256 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7257 (todo-total-item-counts, todo-update-buffer-list)
7258 (todo-update-categories-display, todo-update-categories-sexp)
7259 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7260 New functions.
7261 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7262 New major modes.
7263 (todo-categories, todo-display, todo-edit, todo-faces)
7264 (todo-filtered): New defgroups.
7265 (todo-archived-only, todo-button, todo-category-string, todo-date)
7266 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7267 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7268 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7269 (todo-add-item-if-new-category, todo-always-add-time-string)
7270 (todo-categories-align, todo-categories-archived-label)
7271 (todo-categories-category-label, todo-categories-diary-label)
7272 (todo-categories-done-label, todo-categories-number-separator)
7273 (todo-categories-todo-label, todo-categories-totals-label)
7274 (todo-category-completions-files, todo-completion-ignore-case)
7275 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7276 (todo-done-separator-string, todo-done-string)
7277 (todo-files-function, todo-filter-done-items, todo-filter-files)
7278 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7279 (todo-initial-category, todo-initial-file, todo-item-mark)
7280 (todo-legacy-date-time-regexp, todo-mode-line-function)
7281 (todo-nondiary-marker, todo-number-prefix)
7282 (todo-print-buffer-function, todo-show-current-file)
7283 (todo-show-done-only, todo-show-first, todo-show-with-done)
7284 (todo-skip-archived-categories, todo-top-priorities-overrides)
7285 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7286 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7287 New defcustoms.
7288 (todo-category-done, todo-date-pattern, todo-date-string-start)
7289 (todo-diary-items-buffer, todo-done-string-start)
7290 (todo-filtered-items-buffer, todo-item-start)
7291 (todo-month-abbrev-array, todo-month-name-array)
7292 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7293 (todo-top-priorities-buffer): New defconsts.
7294 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7295 (todo-categories-with-marks, todo-category-string-face)
7296 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7297 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7298 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7299 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7300 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7301 (todo-font-lock-keywords, todo-global-current-todo-file)
7302 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7303 (todo-insertion-commands-args)
7304 (todo-insertion-commands-args-genlist)
7305 (todo-insertion-commands-names, todo-insertion-map)
7306 (todo-key-bindings-t, todo-key-bindings-t+a)
7307 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7308 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7309 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7310 (todo-visited): New variables.
7311
cad5d1cb
GM
73122013-06-21 Glenn Morris <rgm@gnu.org>
7313
7314 * play/cookie1.el (cookie-apropos): Add optional display argument.
7315 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7316 (psychoanalyze-pinhead): Use cookie-doctor.
7317
9e277302
JB
73182013-06-21 Juanma Barranquero <lekktu@gmail.com>
7319
7320 * emacs-lisp/package.el (tar-get-file-descriptor)
7321 (tar--extract): Declare.
7322
c5b0993e
EW
73232013-06-21 Eduard Wiebe <usenet@pusto.de>
7324
7325 Extend flymake's warning predicate to be a function (bug#14217).
7326 * progmodes/flymake.el (flymake-warning-predicate): New.
7327 (flymake-parse-line): Use it.
7328 (flymake-warning-re): Make obsolete alias to
7329 `flymake-warning-predicate'.
7330
a7d2d465
SM
73312013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7334 (package-obsolete-list): Remove.
7335 (package-activate): Remove min-version argument. Add `force' argument.
7336 Adjust to new package-alist format.
7337 (package-mark-obsolete): Remove.
7338 (package-unpack): Force reload of the package's autoloads.
7339 (package-installed-p): Check builtins if the installed package is not
7340 recent enough.
7341 (package-initialize): Don't reset package-obsolete-list.
7342 Don't specify which package version to activate.
7343 (package-process-define-package, describe-package-1)
7344 (package-menu--generate): Adjust to new package-alist format.
7345
cedf5c9d
JB
73462013-06-21 Juanma Barranquero <lekktu@gmail.com>
7347
7348 * allout-widgets.el (allout-widgets-mode-off)
7349 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7350 (allout-widgets-post-command-business)
7351 (allout-widgets-after-copy-or-kill-function)
7352 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7353 (allout-decorate-item-and-context)
7354 (allout-graphics-modification-handler): Fix typos in docstrings.
7355 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7356
7357 * cmuscheme.el (scheme-start-file): Doc fix.
7358 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7359 (scheme-input-filter): Use `string-match-p'.
7360
7361 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7362
7363 * dired-x.el: Use Dired consistently in docstrings.
7364
7365 * dired.el: Use Dired consistently in docstrings.
7366 (dired-readin, dired-mode): Use `setq-local'.
7367 (dired-switches-alist): Make defvar-local.
7368 (dired-buffers-for-dir): Use `zerop'.
7369 (dired-safe-switches-p, dired-switches-escape-p)
7370 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7371 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7372 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7373 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7374 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7375 (dired-toggle-marks, dired-mark-files-containing-regexp)
7376 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7377 (dired-flag-auto-save-files, dired-flag-backup-files):
7378 Use `looking-at-p'.
7379 (dired-mark-files-regexp, dired-build-subdir-alist):
7380 Use `string-match-p', `looking-at-p'.
7381
7382 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7383 (direct-print-region-helper): Use `string-match-p'.
7384
aed838b5
LL
73852013-06-21 Leo Liu <sdl.web@gmail.com>
7386
cedf5c9d
JB
7387 * comint.el (comint-redirect-results-list-from-process):
7388 Fix infinite loop.
aed838b5 7389
d80a808f
LMI
73902013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7391
7392 * net/eww.el (eww-update-header-line-format): Quote % characters.
7393
e7a526e3
GM
73942013-06-21 Glenn Morris <rgm@gnu.org>
7395
7396 * play/cookie1.el (cookie): New custom group.
7397 (cookie-file): New option.
7398 (cookie-check-file): New function.
7399 (cookie): Make it interactive. Make start and end messages optional.
7400 Interactively, display the result. Default to cookie-file.
7401 (cookie-insert): Default to cookie-file.
7402 (cookie-snarf): Make start and end messages optional.
7403 Default to cookie-file. Use with-temp-buffer.
7404 (cookie-read): Rename from read-cookie.
7405 Make start and end messages optional. Default to cookie-file.
7406 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7407 Do not autoload it.
e7a526e3
GM
7408 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7409 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7410
62efb35e
LL
74112013-06-21 Leo Liu <sdl.web@gmail.com>
7412
7413 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7414
21e3f963
GM
74152013-06-21 Glenn Morris <rgm@gnu.org>
7416
7417 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7418
fd846ab4
SM
74192013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7420 Daniel Hackney <dan@haxney.org>
7421
7422 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7423 Consolidate the single-file vs tarball code.
7424 (package-desc-suffix): New function.
7425 (package-desc-full-name): Don't bother inlining it.
7426 (package-load-descriptor): Return the new package-desc.
7427 (package-mark-obsolete): Remove unused arg `package'.
7428 (package-unpack): Make it work for single files as well.
7429 Make it update package-alist.
7430 (package--make-autoloads-and-stuff): Rename from
7431 package--make-autoloads-and-compile. Don't compile any more.
7432 (package--compile): New function.
7433 (package-generate-description-file): New function, extracted from
7434 package-unpack-single.
7435 (package-unpack-single): Remove.
7436 (package--with-work-buffer): Add indentation and debugging info.
7437 (package-download-single): Remove.
7438 (package-install-from-archive): Rename from package-download-tar, make
7439 it take a pkg-desc, and make it work for single files as well.
7440 (package-download-transaction): Simplify.
7441 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7442 external tar program.
7443 (package-install-from-buffer): Remove `pkg-desc' argument.
7444 Use package-tar-file-info for tar-mode buffers.
7445 (package-install-file): Simplify accordingly.
7446 (package-archive-base): Change to take a pkg-desc.
7447 * tar-mode.el (tar--check-descriptor): New function, extracted from
7448 tar-get-descriptor.
7449 (tar-get-descriptor): Use it.
7450 (tar-get-file-descriptor): New function.
7451 (tar--extract): New function, extracted from tar-extract.
7452 (tar--extract): Use it.
7453 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7454 case the summary uses non-ascii. Adjust to new calling convention of
7455 package-tar-file-info.
7456
b7deae5e
LL
74572013-06-21 Leo Liu <sdl.web@gmail.com>
7458
fd846ab4
SM
7459 * comint.el (comint-redirect-results-list-from-process):
7460 Fix random delay. (Bug#14681)
b7deae5e 7461
7a65a0b2
JB
74622013-06-21 Juanma Barranquero <lekktu@gmail.com>
7463
7464 * profiler.el (profiler-format-number): Use log, not log10.
7465
1493c2af
JB
74662013-06-20 Juanma Barranquero <lekktu@gmail.com>
7467
7468 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7469
aff6371e
SM
74702013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7471
7472 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7473 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7474 yet available.
7475 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7476 (AUTOGENEL): ... here.
7477 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7478 (cl--defsubst-expand): Use it.
7479
89561f72
PE
74802013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7481
7482 * subr.el (log10): Move here from C code, and declare as obsolete.
7483 All uses of (log10 X) replaced with (log X 10).
7484
47199123
JB
74852013-06-20 Juanma Barranquero <lekktu@gmail.com>
7486
7487 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7488 Declare with `defvar-local'.
7489 (tabulated-list-use-header-line, tabulated-list-entries)
7490 (tabulated-list-padding, tabulated-list-printer)
7491 (tabulated-list-sort-key): Declare with `defvar-local'.
7492 (tabulated-list-init-header, tabulated-list-print-fake-header):
7493 Use `setq-local'.
7494
4a172eab
MA
74952013-06-20 Michael Albinus <michael.albinus@gmx.de>
7496
47199123
JB
7497 * arc-mode.el (archive-mode): Add `archive-write-file' to
7498 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7499
5fc0acc0
JB
75002013-06-20 Juanma Barranquero <lekktu@gmail.com>
7501
d5b27848
JB
7502 * cus-edit.el (custom-commands): Fix typos.
7503 (custom-display): Fix tooltip text.
7504 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7505 Fix typos in docstrings.
7506 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7507 (custom-unlispify-menu-entry, custom-magic-value-create)
7508 (custom-add-see-also, custom-group-value-create): Use ?\s.
7509 (custom-guess-type, customize-apropos, editable-field)
7510 (custom-face-value-create): Use `string-match-p'.
7511 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7512
7513 * custom.el (custom-load-symbol): Use `string-match-p'.
7514
a5c581d8
JB
7515 * ansi-color.el: Convert to lexical binding.
7516 (ansi-colors): Fix URL.
7517 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7518 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7519 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7520
970ad972
G
75212013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7522
7523 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7524
7525 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7526
75272013-06-19 Tom Tromey <tromey@redhat.com>
7528
7529 * net/eww.el (eww-top-url): Remove.
7530 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7531 (eww-render): Set new variables. Don't set eww-top-url.
7532 (eww-handle-link): Handle "prev", "home", and "contents".
7533 Downcase the rel text.
7534 (eww-top-url): Choose best top URL.
7535
75362013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7537
7538 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7539 relying in widget.el. Using widget.el leads to too many
7540 user interface inconsistencies.
7541 (eww-self-insert): Implement entering commands in text fields.
7542 (eww-process-text-input): New function to make text input field editing
7543 work.
7544 (eww-submit): Rewrite to use the new-style form methods.
7545 (eww-select-display): Display the correct selected item.
7546 (eww-change-select): Implement changing the select value.
7547 (eww-toggle-checkbox): Implement radio/checkboxes.
7548 (eww-update-field): Fix compilation error.
7549 (eww-tag-textarea): Implement <textarea>.
7550
7551 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7552 we don't shadow mode-specific bindings.
7553
7554 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7555 nothing to push.
7556
7557 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7558
4582a01c 75592013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7560
7561 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7562
15b263dc
MA
75632013-06-19 Michael Albinus <michael.albinus@gmx.de>
7564
7565 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7566 not needed.
7567
7568 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7569
8f5297f7
LMI
75702013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7571
7572 * net/browse-url.el (browse-url-browser-function):
7573 `eww-browse-url' has the right calling signature, `eww' does not.
7574
011c4552
GM
75752013-06-19 Glenn Morris <rgm@gnu.org>
7576
2285bd27
GM
7577 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7578 Only eval autoloaded macros.
7579 (byte-compile-autoload): Only give the macro warning for macros.
7580
1d653303
GM
7581 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7582 (ps-underlined-faces): Declare.
7583
bdd779ec
GM
7584 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7585 (speedbar-add-supported-extension): Declare.
7586
011c4552
GM
7587 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7588 Don't include a date stamp in the header of the generated file;
7589 it leads to needless differences between output files.
7590
e59dfb0e
MA
75912013-06-19 Michael Albinus <michael.albinus@gmx.de>
7592
c763842b
SM
7593 * net/secrets.el (secrets-struct-secret-content-type):
7594 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7595 Some servers do not offer introspection.
e59dfb0e 7596
102626e2
SM
75972013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * electric.el (electric-pair-mode): Improve interaction with
7600 electric-layout-mode.
7601 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7602 (electric-pair-syntax): Use text-mode-syntax-table in comments
7603 and strings.
7604 (electric-pair--insert): New function.
7605 (electric-pair-post-self-insert-function): Use it and
7606 electric--after-char-pos.
7607
ad528125
LL
76082013-06-19 Leo Liu <sdl.web@gmail.com>
7609
7610 * progmodes/octave.el (octave-help): Fix regexp.
7611
924d6997
G
76122013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7613
7614 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7615 (shr-table-horizontal-line): Allow nil as a value, and change the
7616 default.
7617 (shr-insert-table-ruler): Respect the nil value.
7618
76192013-06-18 Tom Tromey <tromey@barimba>
7620
7621 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7622 New defvars.
7623 (eww-open-file): New defun.
7624 (eww-render): Initialize new variables.
7625 (eww-display-html): Handle "link" and "a".
7626 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7627 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7628 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7629 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7630 New defuns.
924d6997 7631
d1bbba4f
DG
76322013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7633
7634 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7635 Distinguish ternary operator tokens from slash symbol and slash
7636 char literal.
7637
14dd22d2
JB
76382013-06-18 Juanma Barranquero <lekktu@gmail.com>
7639
7640 Convert symbol prettification into minor mode and global minor mode.
7641
7642 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7643 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7644 (prettify-symbols--keywords): Rename from
7645 `prog-prettify-symbols-alist' and make a local defvar.
7646 (prettify-symbols--compose-symbol): Rename from
7647 `prog--prettify-font-lock-compose-symbol'.
7648 (prettify-symbols--make-keywords): Rename from
7649 `prog-prettify-font-lock-symbols-keywords' and simplify.
7650 (prog-prettify-install): Remove.
7651 (prettify-symbols-mode): New minor mode, based on
7652 `prog-prettify-install'.
7653 (turn-on-prettify-symbols-mode): New function.
7654 (global-prettify-symbols-mode): New globalized minor mode.
7655
7656 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7657 * progmodes/cfengine.el (cfengine3-mode):
7658 * progmodes/perl-mode.el (perl-mode): Don't call
7659 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7660
292c880c
JL
76612013-06-18 Juri Linkov <juri@jurta.org>
7662
7663 * files-x.el (modify-file-local-variable-message): New function.
7664 (modify-file-local-variable)
7665 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7666 and call `modify-file-local-variable-message' when it's non-nil.
7667 (add-file-local-variable, delete-file-local-variable)
7668 (add-file-local-variable-prop-line)
7669 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7670 and use it. (Bug#9820)
7671
0950aa27
JL
76722013-06-18 Juri Linkov <juri@jurta.org>
7673
7674 * emulation/vi.el (vi-shell-op):
7675 * emulation/vip.el (vip-execute-com, ex-command):
7676 * emulation/viper-cmd.el (viper-exec-bang):
7677 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7678 the call of `shell-command-on-region'. (Bug#14637)
7679
7680 * simple.el (shell-command-on-region): Doc fix.
7681
8fbcca16
SM
76822013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7683
7684 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7685 (bug#14633).
7686
dd7426ea
GM
76872013-06-18 Glenn Morris <rgm@gnu.org>
7688
4ba54f7d
GM
7689 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7690
dd7426ea
GM
7691 * newcomment.el (comment-search-forward, comment-search-backward):
7692 Doc fix. (Bug#14376)
7693
58aa805b
JB
76942013-06-18 Juanma Barranquero <lekktu@gmail.com>
7695
7696 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7697 (buffer-face-mode-invoke): Doc fix.
7698
9a08a617
MM
76992013-06-18 Matthias Meulien <orontee@gmail.com>
7700
7701 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7702 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7703
f2f426ca
GM
77042013-06-18 Glenn Morris <rgm@gnu.org>
7705
9445f99b
GM
7706 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7707 Replace obsolete function generic-make-keywords with its expansion.
7708
e0df2d14
GM
7709 * progmodes/python.el (ffap-alist): Declare.
7710
f2f426ca
GM
7711 * textmodes/reftex.el (bibtex-mode-map): Declare.
7712
f7f9a720
SM
77132013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7716 (package-unpack, package-unpack-single): Return the pkg-dir.
7717 (package-download-transaction): Use it to update package-alist.
7718
57ff04e0
LMI
77192013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7720
7721 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7722 possible choice.
7723
c048c022
JL
77242013-06-17 Juri Linkov <juri@jurta.org>
7725
7726 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7727
b5bcaee5
DG
77282013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7729
a020afb9
JB
7730 * emacs-lisp/package.el (package-load-descriptor):
7731 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7732 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7733
551e07e5
JB
77342013-06-17 Juanma Barranquero <lekktu@gmail.com>
7735
7736 * startup.el (command-line): Expand package name returned by
7737 `package--description-file' (bug#14639).
7738
d363bffb
DG
77392013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7740
7741 * emacs-lisp/package.el (package-load-descriptor): Do not call
7742 `emacs-lisp-mode', just use its syntax table.
7743
f612933b
JB
77442013-06-17 Juanma Barranquero <lekktu@gmail.com>
7745
7746 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7747 `font-lock-extra-managed-props' if any prettifying keyword is added.
7748 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7749 (prog-mode): Use `setq-local'.
7750
db3b7db5
SM
77512013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * international/characters.el (standard-case-table): Set syntax of ?»
7754 and ?« to punctuation.
7755
f3d674df
JB
77562013-06-16 Juanma Barranquero <lekktu@gmail.com>
7757
7758 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7759 Save relevant match data before calling `syntax-ppss' (bug#14595).
7760
31489a32
JL
77612013-06-15 Juri Linkov <juri@jurta.org>
7762
7763 * files-x.el (modify-file-local-variable-prop-line): Add local
7764 variables to the end of the existing comment on the first line.
7765 Use `file-auto-mode-skip' to skip interpreter magic line,
7766 and also skip XML declaration.
7767
66bd25ab
SM
77682013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7769
7770 * startup.el (package--builtin-versions): New var.
7771 (package-subdirectory-regexp): Remove.
7772 (package--description-file): Hard code its value instead.
7773
7774 * emacs-lisp/package.el: Don't activate packages older than builtin.
7775 (package-obsolete-list): Rename from package-obsolete-alist, and make
7776 it into a simple list of package-desc.
7777 (package-strip-version): Remove.
7778 (package-built-in-p): Use package--builtin-versions.
7779 (package-mark-obsolete): Simplify.
7780 (package-process-define-package): Mark it obsolete if older than the
7781 builtin version.
7782 (package-handle-response): Use line-end-position.
7783 (package-read-archive-contents, package--download-one-archive):
7784 Simplify.
7785 (package--add-to-archive-contents): Skip if older than the builtin or
7786 installed version.
7787 (package-menu-describe-package): Fix last change.
7788 (package-list-unversioned): New var.
7789 (package-menu--generate): Use it.
7790
7791 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7792 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7793 (autoload-builtin-package-versions): New variable.
7794 (autoload-generate-file-autoloads): Use them.
7795 Remove the list of autoloaded functions/macros from the
7796 (autoload...) comments.
7797
7798 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7799
9583ec36
EZ
78002013-06-15 Eli Zaretskii <eliz@gnu.org>
7801
7802 * simple.el (line-move-partial): Don't jump to the next screen
7803 line as soon as it becomes visible. Instead, continue enlarging
7804 the vscroll until the portion of a tall screen line that's left on
7805 display is about the height of the frame's default font.
7806 (Bug#14567)
7807
f0100d8a
GM
78082013-06-15 Glenn Morris <rgm@gnu.org>
7809
b86a85ca
GM
7810 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7811 compilation-error-regexp-alist void, or local while let-bound.
7812
f0100d8a
GM
7813 * progmodes/make-mode.el (makefile-mode-syntax-table):
7814 Treat "=" as punctuation. (Bug#14614)
7815
05e7ce90
JB
78162013-06-15 Juanma Barranquero <lekktu@gmail.com>
7817
7818 * help-fns.el (describe-variable):
7819 Add extra line for permanent-local variables.
7820
12e5e86e
SH
78212013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7822
7823 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7824 Add export, import, library. (Bug#9164)
7825 (library): Set indent function.
7826
230dcbaf
GM
78272013-06-14 Glenn Morris <rgm@gnu.org>
7828
7829 * term/xterm.el (xterm--query):
7830 Stop after first matching handler. (Bug#14615)
7831
e36b2d20 78322013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7833
7834 Add support for dired in saveplace.
7835 * dired.el (dired-initial-position-hook): New variable.
7836 (dired-initial-position): Call hook to place cursor position.
7837 * saveplace.el (save-place-to-alist): Add dired position.
7838 (save-place-dired-hook): New function.
7839
0b31660d
SM
78402013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7841
bf1e6ae8
SM
7842 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7843 through a symbol rather than letrec.
7844
1b8dff23
SM
7845 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7846 (package-desc): Add `dir' field.
7847 (package-desc-full-name): New function.
7848 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7849 (package-maybe-load-descriptor): Remove.
7850 (package-load-all-descriptors): Just call package-load-descriptor.
7851 (package--disabled-p): New function.
7852 (package-desc-vers, package-desc-doc): Remove aliases.
7853 (package--dir): Remove function.
7854 (package-activate): Check if a package is disabled.
7855 (package-process-define-package): New function, extracted from
7856 define-package.
7857 (define-package): Turn into a place holder.
7858 (package-unpack-single, package-tar-file-info):
7859 Use package--description-file.
7860 (package-compute-transaction): Use package--disabled-p.
7861 (package-download-transaction): Don't call
7862 package-maybe-load-descriptor since they're all loaded anyway.
7863 (package-install): Change argument to be a pkg-desc.
7864 (package-delete): Use a single pkg-desc argument.
7865 (describe-package-1): Use package-desc-dir instead of package--dir.
7866 Use package-desc property instead of package-symbol.
7867 (package-install-button-action): Adjust accordingly.
7868 (package--push): Rewrite.
7869 (package-menu--print-info): Adjust accordingly. Change the ID format
7870 to be a pkg-desc.
7871 (package-menu-describe-package, package-menu-get-status)
7872 (package-menu--find-upgrades, package-menu-mark-upgrades)
7873 (package-menu-execute, package-menu--name-predicate):
7874 Adjust accordingly.
7875 * startup.el (package--description-file): New function.
7876 (command-line): Use it.
7877 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7878 Use package-desc-version.
7879
0b31660d
SM
7880 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7881 (byte-compile-preprocess): Use it.
7882 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7883 can't quite recognize.
7884 (byte-compile-add-to-list): Remove.
7885 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7886 (cconv-closure-convert): Add assertion.
7887
7888 * emacs-lisp/map-ynp.el: Use lexical-binding.
7889 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7890 Factor out some repeated code.
7891
de0503df
SM
78922013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * subr.el (with-eval-after-load): New macro.
7895 (eval-after-load): Allow form to be a function.
7896 take advantage of lexical-binding.
7897 (do-after-load-evaluation): Use dolist and adjust to new format.
7898 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7899
bc5c8c5a
JL
79002013-06-13 Juri Linkov <juri@jurta.org>
7901
7902 * replace.el (perform-replace): Display "symbol " and other search
7903 modes from `isearch-message-prefix' in the *Help* buffer.
7904
7905 * isearch.el (isearch-query-replace): Add " symbol" and other
7906 possible search modes from `isearch-message-prefix' to the prompt.
7907 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7908 when reading a regexp to collect.
7909
a22289f7
JL
79102013-06-13 Juri Linkov <juri@jurta.org>
7911
7912 * isearch.el (word-search-regexp): Match whitespace if the search
7913 string begins or ends in whitespace. The LAX arg is applied to
7914 both ends of the search string. Use `regexp-quote' and explicit
7915 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7916 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7917 boundaries are replaced with symbol boundaries, and characters
7918 between symbols match non-word non-symbol syntax. (Bug#14602)
7919
cb89acab
JL
79202013-06-13 Juri Linkov <juri@jurta.org>
7921
7922 * isearch.el (isearch-del-char): Don't exceed the length of
7923 `isearch-string' by the prefix arg. (Bug#14563)
7924
6e8cfc81
JL
79252013-06-13 Juri Linkov <juri@jurta.org>
7926
7927 * isearch.el (isearch-yank-word, isearch-yank-line)
7928 (isearch-char-by-name, isearch-quote-char)
7929 (isearch-printing-char, isearch-process-search-char):
7930 Add optional count prefix arg. (Bug#14563)
7931
7932 * international/isearch-x.el
7933 (isearch-process-search-multibyte-characters):
7934 Add optional count prefix arg.
7935
c23d55f4
VS
79362013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7939 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7940 lexical-binding.
7941
79422013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7943
7944 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7945
ba947bc4
GM
79462013-06-13 Glenn Morris <rgm@gnu.org>
7947
8baeb37a
GM
7948 * startup.el (tty-handle-args):
7949 Don't just discard "--" and anything after. (Bug#14608)
7950
ba947bc4
GM
7951 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7952
9abefce4
MA
79532013-06-13 Michael Albinus <michael.albinus@gmx.de>
7954
7955 Implement changes in Secret Service API. Make it backward compatible.
7956 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7957 (secrets-create-item): Use it. Prefix properties with interface.
7958
5755011f
MH
79592013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7960
7961 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7962 (term-emulate-terminal): Respect term-suppress-hard-newline.
7963
1261d2da
S
79642013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7965
7966 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7967 Only remove a `thumb-file' overlay. (Bug#14548)
7968
868490bb
GJ
79692013-06-12 Grégoire Jadi <daimrod@gmail.com>
7970
7971 * mail/reporter.el (reporter-submit-bug-report):
7972 Handle missing package-name. (Bug#14600)
7973
79d7167f
TH
79742013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7975
7976 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7977 (reftex-citation-prompt, reftex-default-bibliography)
7978 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7979 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7980 (reftex-bib-sort-author, reftex-bib-sort-year)
7981 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7982 (reftex-extract-bib-entries-from-thebibliography)
7983 (reftex-get-bibkey-default, reftex-get-bib-names)
7984 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7985 (reftex-format-bib-entry, reftex-parse-bibitem)
7986 (reftex-format-bibitem, reftex-do-citation)
7987 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7988 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7989 (reftex-insert-bib-matches, reftex-format-citation)
7990 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7991 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7992 existing comments into docstrings.
7993
5f9dbd7a
XF
79942013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7995
7996 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7997
94df41ab
AS
79982013-06-12 Andreas Schwab <schwab@suse.de>
7999
8000 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8001 for auto-save files.
8002
a7f3fecc
GM
80032013-06-12 Glenn Morris <rgm@gnu.org>
8004
001809f6
GM
8005 * ido.el (ido-delete-ignored-files): Remove.
8006 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8007 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8008
834b5ded
EL
80092013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8010
08c73ed2
EL
8011 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8012
834b5ded
EL
8013 * ido.el (ido-delete-ignored-files): New function,
8014 split from ido-make-file-list-1.
8015 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8016 (ido-make-file-list-1): Use ido-delete-ignored-files.
8017
daabf15a
LL
80182013-06-12 Leo Liu <sdl.web@gmail.com>
8019
8020 * progmodes/octave.el (inferior-octave-startup)
8021 (inferior-octave-completion-table)
8022 (inferior-octave-track-window-width-change)
8023 (octave-eldoc-function-signatures, octave-help)
8024 (octave-find-definition): Use single quoted strings.
8025 (inferior-octave-startup-args): Change default value.
8026 (inferior-octave-startup): Do not hard code "-i" and
8027 "--no-line-editing".
8028 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8029 (inferior-octave-directory-tracker): Use it.
8030 (octave-goto-function-definition): Robustify.
8031 (octave-help): Support highlighting operators in 'See also'.
8032 (octave-find-definition): Find subfunctions only in Octave mode.
8033
cf4e5178
SM
80342013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8035
8036 * help-fns.el (help-fns--compiler-macro): If the handler function is
8037 named, then put a link to it.
8038 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8039 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8040 (cl-typep): Use it.
8041 (cl-eval-when): Simplify debug spec.
8042 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8043 compiler-macro function instead of setting `compiler-macro-file'.
8044
99c81280 80452013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8046
8047 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8048 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8049
f56be016
SM
80502013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8051 Daniel Hackney <dan@haxney.org>
8052
8053 First part of Daniel Hackney's patch to package.el.
8054 * emacs-lisp/package.el: Use defstruct.
8055 (package-desc): New, main struct.
8056 (package--bi-desc, package--ac-desc): New structs, used to describe the
8057 format in external files.
8058 (package-desc-vers): Replace with package-desc-version accessor.
8059 (package-desc-doc): Replace with package-desc-summary accessor.
8060 (package-activate-1): Remove `package' arg since the pkg-vec now
8061 includes the name.
8062 (define-package): Use package-desc-from-define.
8063 (package-unpack-single): Change file-name arg to be a symbol.
8064 (package--add-to-archive-contents): Use package-desc-create and new
8065 accessor functions to package--ac-desc.
8066 (package-buffer-info, package-tar-file-info): Return a package-desc.
8067 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8068 arg to be a package-desc.
8069 (package-install-file): Adjust accordingly. Use \' to match EOS.
8070 (package--from-builtin): New function.
8071 (describe-package-1, package-menu--generate): Use it.
8072 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8073 (package-generate-autoloads): Idem and return the name of the file.
8074 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8075 Change pkg-info arg to be a package-desc.
8076 Use package-make-ac-desc.
8077 (package-upload-file): Use \' to match EOS.
8078 * finder.el (finder-compile-keywords): Use package-make-builtin.
8079
31119d63
SM
80802013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8081
931a2762
SM
8082 * vc/vc.el (vc-deduce-fileset): Change error message.
8083 (vc-read-backend): New function.
8084 (vc-next-action): Use it.
8085
5a3eb0c6
SM
8086 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8087
e3eb1bb7
SM
8088 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8089 (prolog-font-lock-keywords): Use regexp-opt instead.
8090 Don't manually highlight strings.
8091 (prolog-mode-variables): Simplify comment-start-skip.
8092 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8093
31119d63
SM
8094 * emacs-lisp/generic.el (generic--normalise-comments)
8095 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8096 (generic-mode-set-comments): Use them.
8097 (generic-bracket-support): Use setq-local.
8098 (generic-make-keywords-list): Declare obsolete.
8099
7de135d0
GM
81002013-06-11 Glenn Morris <rgm@gnu.org>
8101
8102 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8103 Prettify after setting font-lock-defaults. (Bug#14574)
8104
fa6bc6fd
JB
81052013-06-11 Juanma Barranquero <lekktu@gmail.com>
8106
8107 * replace.el (query-replace, occur-read-regexp-defaults-function)
8108 (replace-search):
8109 * subr.el (declare-function, number-sequence, local-set-key)
8110 (substitute-key-definition, locate-user-emacs-file)
8111 (with-silent-modifications, split-string, eval-after-load):
8112 Fix typos, remove unneeded backslashes and reflow some docstrings.
8113
cf1f9b9a
SM
81142013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8117 default for Elisp files.
8118
56602a4b
GM
81192013-06-11 Glenn Morris <rgm@gnu.org>
8120
8121 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8122 although define-derived-mode was doing this anyway. (Bug#14583)
8123
30ae0b2c
JB
81242013-06-10 Juanma Barranquero <lekktu@gmail.com>
8125
8126 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8127 Fix make-variable-buffer-local call to refer to the correct variable.
8128
fa472906
AG
81292013-06-10 Aidan Gauland <aidalgol@amuri.net>
8130
8131 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8132 (eshell-visual-subcommands, eshell-visual-options):
8133 Add summary line to docstrings. Add cross-references.
fa472906 8134
ff4871b9
GM
81352013-06-10 Glenn Morris <rgm@gnu.org>
8136
8137 * epa.el (epa-read-file-name): New function. (Bug#14510)
8138 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8139
04fcf1b0
AG
81402013-06-09 Aidan Gauland <aidalgol@amuri.net>
8141
8142 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8143 output redirection to be ignored with visual commands.
8144
88b00caa
AG
81452013-06-09 Aidan Gauland <aidalgol@amuri.net>
8146
8147 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8148 (eshell-term-initialize): Move long lambda to separate function
8149 eshell-visual-command-p.
e7b41c4c
JB
8150 * eshell/em-dirs.el (eshell-dirs-initialise):
8151 * eshell/em-script.el (eshell-script-initialize):
8152 Add missing #' to lambda.
88b00caa 8153
fda74125
LL
81542013-06-08 Leo Liu <sdl.web@gmail.com>
8155
8156 * progmodes/octave.el (octave-add-log-current-defun): New function.
8157 (octave-mode): Set add-log-current-defun-function.
8158 (octave-goto-function-definition): Do not move point if not found.
8159 (octave-find-definition): Enhance to try subfunctions first.
8160
467f3b33
GM
81612013-06-08 Glenn Morris <rgm@gnu.org>
8162
8163 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8164 (byte-compile-backward-char, byte-compile-backward-word):
8165 Improve previous change, to handle non-explicit nil.
8166
544badc3
SM
81672013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8168
8169 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8170 (smie--opener/closer-at-point): New function.
8171 (smie--matching-block-data): Use it. Don't match from right after an
8172 opener or right before a closer. Obey smie-blink-matching-inners.
8173 Don't signal a mismatch for repeated inners like "switch..case..case".
8174
a175bf33
LL
81752013-06-07 Leo Liu <sdl.web@gmail.com>
8176
8177 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8178 to t. (Bug#14303)
ce8209d4
LL
8179 (octave-function-header-regexp): Fix. (Bug#14570)
8180 (octave-help-mode-finish-hook, octave-help-mode-finish):
8181 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8182
8183 * newcomment.el (comment-search-backward): Revert last change.
8184 (Bug#14434)
8185
8186 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8187
a822acff
EZ
81882013-06-07 Eli Zaretskii <eliz@gnu.org>
8189
8190 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8191 through xargs, to avoid failure due to MS-Windows limitations on
8192 command-line length.
8193
961166f5
GM
81942013-06-06 Glenn Morris <rgm@gnu.org>
8195
d0341459
GM
8196 * font-lock.el (lisp-font-lock-keywords-2):
8197 Treat user-error like error.
8198
961166f5
GM
8199 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8200 (byte-compile-backward-char, byte-compile-backward-word):
8201 Handle explicit nil arguments. (Bug#14565)
8202
80fa505f
AM
82032013-06-05 Alan Mackenzie <acm@muc.de>
8204
8205 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8206 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8207 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8208 (Bug#9706)
80fa505f 8209
fccdc796
SM
82102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8211
8212 * autorevert.el (auto-revert-notify-handler): Use memq.
8213 Hide assertion failure.
8214
8215 * skeleton.el: Use cl-lib.
8216 (skeleton-further-elements): Use defvar-local.
8217 (skeleton-insert): Use cl-progv.
8218
9bfff84b
TZ
82192013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8220
8221 * progmodes/prog-mode.el (prog-prettify-symbols)
8222 (prog-prettify-install): Update docstrings.
8223
55577e7c
SM
82242013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8225
8226 * simple.el: Move all the prog-mode code to prog-mode.el.
8227 * progmodes/prog-mode.el: New file.
8228 * loadup.el: Add prog-mode.el.
8229
8fc57765
TZ
82302013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8231
8232 * simple.el (prog-prettify-symbols): Add version.
8233 (prog-prettify-install): Add convenience function to prettify symbols.
8234
8235 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8236 (perl--augmented-font-lock-keywords-1)
8237 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8238 variables and use it.
8239
8240 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8241 (cfengine3-mode): Remove unneeded variable and use it.
8242
8243 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8244 (lisp--augmented-font-lock-keywords-1)
8245 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8246 Remove unneeded variables and use it.
8247
650645d5 82482013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8249
8250 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8251 to point when opening the connection. (Bug#14380)
28f5da6d 8252
781b4af6
SM
82532013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * subr.el (load-history-regexp, load-history-filename-element)
8256 (eval-after-load, after-load-functions, do-after-load-evaluation)
8257 (eval-next-after-load, display-delayed-warnings)
8258 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8259 definition of save-match-data.
8260 (overriding-local-map): Remove accidental obsolescence declaration.
8261
8262 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8263
3ca0d0b4
TZ
82642013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8265
8266 Generalize symbol prettify support to prog-mode and implement it
8267 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8268 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8269 (prog--prettify-font-lock-compose-symbol)
8270 (prog-prettify-font-lock-symbols-keywords): New variables and
8271 functions to support symbol prettification.
8272 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8273 (lisp--augmented-font-lock-keywords-1)
8274 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8275 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8276 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8277 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8278 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8279 * progmodes/perl-mode.el (perl-prettify-symbols)
8280 (perl--font-lock-compose-symbol)
8281 (perl--font-lock-symbols-keywords): Move to prog-mode.
8282 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8283 (perl-font-lock-keywords-1)
8284 (perl-font-lock-keywords-2): Remove explicit prettify support.
8285 (perl--augmented-font-lock-keywords)
8286 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8287 (perl--augmented-font-lock-keywords-2, perl-mode):
8288 Implement prettify support.
3ca0d0b4 8289
976cb066
LL
82902013-06-05 Leo Liu <sdl.web@gmail.com>
8291
8292 Re-implement smie matching block highlight using
8293 show-paren-data-function. (Bug#14395)
8294 * emacs-lisp/smie.el (smie-matching-block-highlight)
8295 (smie--highlight-matching-block-overlay)
8296 (smie--highlight-matching-block-lastpos)
8297 (smie-highlight-matching-block)
8298 (smie-highlight-matching-block-mode): Remove.
8299 (smie--matching-block-data-cache): New variable.
8300 (smie--matching-block-data): New function.
8301 (smie-setup): Use smie--matching-block-data for
8302 show-paren-data-function.
8303
8304 * progmodes/octave.el (octave-mode-menu): Fix.
8305 (octave-find-definition): Skip garbage lines.
8306
208d0342
SM
83072013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8308
8309 Fix compilation error with simultaneous dynamic+lexical scoping.
8310 Add warning when a defvar appears after the first let-binding.
8311 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8312 (byte-compile-close-variables): Initialize it.
8313 (byte-compile--declare-var): New function.
8314 (byte-compile-file-form-defvar)
8315 (byte-compile-file-form-define-abbrev-table)
8316 (byte-compile-file-form-custom-declare-variable): Use it.
8317 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8318 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8319 (byte-compile-bind): Handle dynamic bindings that shadow
8320 lexical bindings.
8321 (byte-compile-unbind): Make arg non-optional.
8322 (byte-compile-let): Simplify.
8323 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8324 (cconv--analyse-function, cconv-analyse-form): Populate it.
8325 Protect byte-compile-bound-variables to limit the scope of defvars.
8326 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8327 Remove unneeded rule for `declare'.
8328
8329 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8330 so as to avoid depending on cl-adjoin at run-time.
8331 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8332
8333 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8334 (macroexp--warn-and-return): Use it.
8335
1ac2891e
GM
83362013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8337
8338 * lisp/subr.el: Convert to lexical binding.
8339 (overriding-local-map): Make obsolete.
8340 (add-to-list): Doc fix. Add compiler macro.
8341 (read-key): Swap values of local maps.
8342
2587b005
LL
83432013-06-05 Leo Liu <sdl.web@gmail.com>
8344
8345 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8346
f1da3c88
LL
83472013-06-04 Leo Liu <sdl.web@gmail.com>
8348
8349 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8350 (compilation-auto-jump): Suppress the "Mark set" message to give
8351 way to exit message.
8352
3caa391f
AM
83532013-06-04 Alan Mackenzie <acm@muc.de>
8354
8355 Remove faulty optimisation from indentation calculation.
8356 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8357 search limit based on 2000 characters back from indent-point.
8358
068922a2
TH
83592013-06-03 Tassilo Horn <tsdh@gnu.org>
8360
8361 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8362
1f8fdd53
SM
83632013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8364
bbcc4d97
SM
8365 * emacs-lisp/lisp.el: Use lexical-binding.
8366 (lisp--local-variables-1, lisp--local-variables): New functions.
8367 (lisp--local-variables-completion-table): New var.
208d0342 8368 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8369
1f8fdd53
SM
8370 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8371 eagerly (bug#14422).
8372
c9628c79
MA
83732013-06-03 Michael Albinus <michael.albinus@gmx.de>
8374
8375 * autorevert.el (auto-revert-notify-enabled)
8376 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8377 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8378 (auto-revert-notify-handler): Handle also gfilenotify.
8379
e7b41c4c 8380 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8381 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8382 Remove.
c9628c79 8383
e5e4a942
JL
83842013-06-03 Juri Linkov <juri@jurta.org>
8385
8386 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8387 `M-s h .'. (Bug#14427)
8388
8389 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8390 command `hi-lock-face-symbol-at-point'.
8391 (hi-lock-face-symbol-at-point): New command.
8392 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8393 (hi-lock-menu): Add `highlight-symbol-at-point'.
8394 (hi-lock-mode): Doc fix.
8395
8396 * isearch.el (isearch-forward-symbol-at-point): New command.
8397 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8398 (isearch-highlight-regexp): Add a regexp which matches
8399 words/symbols for word/symbol mode.
8400
8401 * subr.el (find-tag-default-bounds): New function with the body
8402 mostly moved from `find-tag-default'.
8403 (find-tag-default): Move most code to `find-tag-default-bounds',
8404 call it and apply `buffer-substring-no-properties' afterwards.
8405
26b3353a
TH
84062013-06-03 Tassilo Horn <tsdh@gnu.org>
8407
781b4af6
SM
8408 * eshell/em-term.el (eshell-term-initialize):
8409 Use `cl-intersection' rather than `intersection'.
26b3353a 8410
51b60f53
XF
84112013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8412
fe054b63 8413 * vc/log-view.el: Doc fix.
d3ffe17c 8414 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8415
a0eb10b3 84162013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8417
8418 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8419 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8420 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8421 (eieio-unbound, eieio-default-superclass)
8422 (eieio--define-field-accessors, method-static, method-before)
8423 (method-primary, method-after, method-num-lists)
8424 (method-generic-before, method-generic-primary)
8425 (method-generic-after, method-num-slots)
8426 (eieio-specialized-key-to-generic-key)
8427 (eieio--check-type, class-v, class-p)
8428 (eieio-class-name, define-obsolete-function-alias)
8429 (eieio-class-parents-fast, eieio-class-children-fast)
8430 (same-class-fast-p, class-constructor, generic-p)
8431 (generic-primary-only-p, generic-primary-only-one-p)
8432 (class-option-assoc, class-option, eieio-object-p)
8433 (class-abstract-p, class-method-invocation-order)
8434 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8435 (eieio-class-un-autoload, eieio-defclass)
8436 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8437 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8438 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8439 (eieio-defgeneric-reset-generic-form)
8440 (eieio-defgeneric-form-primary-only)
8441 (eieio-defgeneric-reset-generic-form-primary-only)
8442 (eieio-defgeneric-form-primary-only-one)
8443 (eieio-defgeneric-reset-generic-form-primary-only-one)
8444 (eieio-unbind-method-implementations)
8445 (eieio--defmethod, eieio--typep)
8446 (eieio-perform-slot-validation, eieio-validate-slot-value)
8447 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8448 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8449 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8450 (eieio-slot-name-index, eieio-class-slot-name-index)
8451 (eieio-set-defaults, eieio-initarg-to-attribute)
8452 (eieio-attribute-to-initarg, eieio-c3-candidate)
8453 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8454 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8455 (eieio-class-precedence-list, eieio-generic-call-methodname)
8456 (eieio-generic-call-arglst, eieio-generic-call-key)
8457 (eieio-generic-call-next-method-list)
8458 (eieio-pre-method-execution-functions, eieio-generic-call)
8459 (eieio-generic-call-primary-only, eieiomt-method-list)
8460 (eieiomt-optimizing-obarray, eieiomt-install)
8461 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8462 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8463 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8464 (defclass): Remove `eval-and-compile' from macro.
8465 (call-next-method, shared-initialize): Instead of using
8466 `scoped-class' variable, use new eieio--scoped-class, and
8467 eieio--with-scoped-class.
8468 (initialize-instance): Rename local variable 'scoped-class' to
8469 'this-class' to remove ambiguitity from old global.
8470
8471 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8472 eieio.el.
4f405069
JB
8473 (eieio--scoped-class-stack): New variable.
8474 (eieio--scoped-class): New fcn.
890f7890
DE
8475 (eieio--with-scoped-class): New scoping macro.
8476 (eieio-defclass): Use pushnew instead of add-to-list.
8477 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8478 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8479 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8480 `scoped-class' variable, use new eieio--scoped-class, and
8481 eieio--with-scoped-class.
8482
8483 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8484
d105b0e2
TH
84852013-06-02 Tassilo Horn <tsdh@gnu.org>
8486
8487 * eshell/esh-ext.el (eshell-external-command): Pass args to
8488 `eshell-find-interpreter'.
8489 (eshell-find-interpreter): Add new second parameter ARGS.
8490
8491 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8492 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8493
8494 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8495 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8496
8497 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8498 (eshell-visual-options): New defcustom.
8499 (eshell-escape-control-x): Adapt docstring.
8500 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8501 `eshell-visual-options' in addition to `eshell-visual-commands'.
8502 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8503
f46305c8 85042013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8505
8506 * progmodes/python.el (python-indent-block-enders): Add break,
8507 continue and raise keywords.
8508
d870df21
GM
85092013-06-01 Glenn Morris <rgm@gnu.org>
8510
9133b82e
GM
8511 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8512
02c992ec 8513 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8514 * progmodes/cc-cmds.el (delete-forward-p):
8515 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8516 * progmodes/cc-engine.el (buffer-syntactic-context):
8517 * progmodes/cc-fonts.el (face-property-instance):
8518 * progmodes/cc-mode.el (set-keymap-parents):
8519 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8520 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8521 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8522 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8523 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8524
31e7b090
GM
8525 * progmodes/cc-vars.el (other): Emacs has this widget since
8526 at least 21.1, so don't (re)define it.
8527
d870df21
GM
8528 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8529 Replace the obsolete alias pcomplete-arg-quote-list.
8530
c75c93c7
LL
85312013-06-01 Leo Liu <sdl.web@gmail.com>
8532
8533 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8534 punctuation syntax.
8535 (inferior-octave-minimal-columns)
8536 (inferior-octave-last-column-width): New variables.
8537 (inferior-octave-track-window-width-change): New function.
8538 (inferior-octave-mode): Adjust column width so that Octave output,
8539 for example from 'ls', can fit into the window nicely.
8540
973d1e12
DG
85412013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8542
8543 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8544 Highlight expansions inside regexp literals.
8545
0888c286
GM
85462013-05-31 Glenn Morris <rgm@gnu.org>
8547
e26aac1f
GM
8548 * obsolete/sym-comp.el (symbol-complete):
8549 Replace obsolete completion-annotate-function.
8550
0888c286
GM
8551 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8552
19bb8e62
DG
85532013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8554
781b4af6
SM
8555 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8556 New function, checks if point is inside a literal that allows
19bb8e62
DG
8557 expression expansion.
8558 (ruby-syntax-propertize-expansion): Use it.
8559 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8560 around the body.
8561
01dea85f
JL
85622013-05-30 Juri Linkov <juri@jurta.org>
8563
8564 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8565 to "\M-si".
8566 (isearch-invisible): New variable.
8567 (isearch-forward): Doc fix.
8568 (isearch-mode): Set `isearch-invisible'
8569 to the value of `search-invisible'.
8570 (isearch-toggle-case-fold): Doc fix.
8571 (isearch-toggle-invisible): New command.
8572 (isearch-query-replace): Let-bind `search-invisible'
8573 to the value of `isearch-invisible'.
8574 (isearch-search): Use `isearch-invisible' instead of
8575 `search-invisible'. Let-bind `search-invisible'
8576 to the value of `isearch-invisible'. (Bug#11378)
8577
ab1bdce5
JL
85782013-05-30 Juri Linkov <juri@jurta.org>
8579
8580 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8581 call when `query-flag' is nil and `search-invisible' is non-nil.
8582 (Bug#11746)
8583
d6d236e2
GM
85842013-05-30 Glenn Morris <rgm@gnu.org>
8585
8accd027
GM
8586 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8587
2a8bed1c
GM
8588 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8589 (cc-require): Suppress spurious "noruntime" warnings.
8590 (cc-require-when-compile): Use fboundp, for sake of compiler.
8591
d6d236e2
GM
8592 * progmodes/cc-mode.el: Move load of cc-vars before that of
8593 cc-langs (which in turn loads cc-vars), to quieten compiler.
8594
9190b35b
SM
85952013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8596
8597 * paren.el: Simplify the code.
8598 (show-paren-mode): Always start the timer.
8599 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8600 (show-paren--overlay, show-paren--overlay-1): Rename from
8601 show-paren-overlay and show-paren-overlay-1, and initialize to an
8602 overlay rather than to nil.
8603 (show-paren-function): Misc cleanup and simplifications.
8604
4f8d1cf6
SM
86052013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 * paren.el (show-paren-data-function): New hook.
8608 (show-paren--default): New function, extracted from show-paren-function.
8609 (show-paren-function): Use show-paren-data-function.
8610
02d844b5
GM
86112013-05-30 Glenn Morris <rgm@gnu.org>
8612
d209d4a9
GM
8613 * ielm.el (ielm-map, ielm-complete-symbol):
8614 Use completion-at-point rather than obsolete functions.
8615 (inferior-emacs-lisp-mode): Doc fix.
8616 Set completion-at-point-functions, rather than
8617 comint-dynamic-complete-functions.
8618
2082faa6
GM
8619 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8620 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8621 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8622
dd8620de
GM
8623 * image.el (image-animated-p): Tweak definition.
8624
ceca95b1
GM
8625 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8626 (rlogin-process-connection-type): Tweak default. Add set-after.
8627 (rlogin-host): Doc fix.
8628 (rlogin): Tweak prompt.
8629 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8630
ee9f1acc
GM
8631 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8632 * progmodes/tcl.el (inferior-tcl-mode-map):
8633 Use completion-at-point rather than obsolete alias.
8634
45ce222e
GM
8635 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8636
02d844b5
GM
8637 * minibuffer.el (read-file-name-completion-ignore-case):
8638 Move before completion--in-region, for eager macro expansion.
8639
ac44d6c1
JL
86402013-05-29 Juri Linkov <juri@jurta.org>
8641
8642 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8643 for total count of matching lines. Add `global-matches' for total
8644 count of matches. Rename `matches' to `lines' for count of
8645 matching lines. Add `matches' for count of matches.
8646 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8647 to `prev-line' for line number of prev match endpt.
8648 Increment `matches' for every match. Print the number of
8649 matching lines in the header.
8650 (occur-context-lines): Rename `lines' to `curr-line'.
8651 Rename `prev-lines' to `prev-line'. (Bug#14017)
8652
3c9c9d38
JL
86532013-05-29 Juri Linkov <juri@jurta.org>
8654
8655 * replace.el (perform-replace): Add `skip-read-only-count',
8656 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8657 Increment them for corresponding conditions and report the number
8658 of skipped occurrences in the final message. (Bug#11746)
8659 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8660 (replace-string, replace-regexp): Doc fix.
8661
33e249a2
SM
86622013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8663
8e399682
SM
8664 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8665
33e249a2 8666 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8667 prog-mode-map (bug#14504).
33e249a2 8668
f236dd84
LL
86692013-05-29 Leo Liu <sdl.web@gmail.com>
8670
8671 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8672 (octave-help): Small simplification.
8673
8674 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8675 off the highlight first.
8676
3694d13f
GM
86772013-05-29 Glenn Morris <rgm@gnu.org>
8678
03983bdc
GM
8679 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8680 Handle idlwave-last-system-routine-info-cons-cell being nil.
8681
bc74a74a
GM
8682 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8683 (idlwave-write-paths): Simplify via with-temp-buffer.
8684
8b394200
GM
8685 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8686 * emulation/cua-rect.el: Also load cua-base at run time.
8687
3694d13f
GM
8688 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8689 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8690 (cperl-imenu-on-info): Require imenu.
8691
336d7284
AM
86922013-05-28 Alan Mackenzie <acm@muc.de>
8693
8694 Handle "capitalised keywords" correctly.
33e249a2 8695 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8696
cb29c582
AG
86972013-05-28 Aidan Gauland <aidalgol@amuri.net>
8698
781b4af6 8699 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8700
690e44b2
GM
87012013-05-28 Glenn Morris <rgm@gnu.org>
8702
e658d75c
GM
8703 * vc/vc-arch.el (vc-exec-after): Declare.
8704 (vc-switches): Autoload.
8705 * vc/vc-bzr.el: No need to require vc when compiling.
8706 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8707 (vc-resynch-buffer, vc-dir-refresh): Declare.
8708 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8709 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8710 (vc-resynch-buffer): Declare.
8711 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8712 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8713 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8714 (grep-read-regexp, grep-read-files, grep-expand-template)
8715 (vc-dir-refresh): Declare.
8716 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8717 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8718 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8719 * vc/vc-mtn.el (vc-exec-after): Declare.
8720 (vc-switches): Autoload.
8721 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8722 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8723 (vc-file-tree-walk): Declare.
712b9732
GM
8724 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8725 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8726 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8727 * vc/vc-svn.el (vc-exec-after): Declare.
8728 (vc-switches, vc-setup-buffer): Autoload.
8729 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8730 Autoload.
8731 (vc-resynch-buffer): Declare.
8732
98e87fb3
GM
8733 * obsolete/fast-lock.el (byte-compile-warnings):
8734 Don't warn about obsolete features in this obsolete file.
8735
f5379553
GM
8736 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8737 Move definition before use.
8738
7a20ef83
GM
8739 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8740 (dun-unix-verbs): Remove dun-zippy.
8741 (dun-zippy): Remove function.
8742
690e44b2
GM
8743 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8744
3a52ccf7
JL
87452013-05-27 Juri Linkov <juri@jurta.org>
8746
8747 * replace.el (replace-search): New function with code moved out
8748 from `perform-replace'.
8749 (replace-highlight, replace-dehighlight): Move function definitions
8750 up closer to `replace-search'. (Bug#11746)
8751
d289938a
JL
87522013-05-27 Juri Linkov <juri@jurta.org>
8753
8754 * replace.el (perform-replace): Ignore invisible matches.
8755 In addition to checking `query-replace-skip-read-only', also
8756 filter out matches by calling `run-hook-with-args-until-failure'
8757 on `isearch-filter-predicates', and also check `search-invisible'
8758 for t or call `isearch-range-invisible'.
8759 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8760
66fc57e3
JL
87612013-05-27 Juri Linkov <juri@jurta.org>
8762
8763 * isearch.el (isearch-filter-predicates): Rename from
8764 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8765 (isearch-message-prefix): Display text from the property
8766 `isearch-message-prefix' of the currently active filters.
8767 (isearch-search): Don't compare `isearch-filter-predicate' with
8768 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8769 on `isearch-filter-predicates'. Also check `search-invisible' for t
8770 or call `isearch-range-invisible'.
8771 (isearch-filter-visible): Make obsolete.
8772 (isearch-lazy-highlight-search):
8773 Call `run-hook-with-args-until-failure' on
8774 `isearch-filter-predicates' and use `isearch-range-invisible'.
8775
8776 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8777 `isearch-filter-predicates' instead of `funcall'ing
8778 `isearch-filter-predicate'.
8779 (Info-mode): Set `Info-isearch-filter' to
8780 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8781
8782 * dired-aux.el (dired-isearch-filter-predicate-orig):
8783 Remove variable.
8784 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8785 (dired-isearch-filenames-end): Add and remove
8786 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8787 instead of changing the value of `isearch-filter-predicate'.
8788 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8789 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8790 Put property `isearch-message-prefix' to "filename " on
8791 `dired-isearch-filter-filenames'.
8792
8793 * wdired.el (wdired-change-to-wdired-mode):
8794 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8795 locally instead of changing `isearch-filter-predicate'.
8796 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8797
f1a60a0f
DG
87982013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8799
8800 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8801 return the commit hash (Bug#14459). Also set the
8802 `vc-git-detached' property.
8803 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8804 (vc-git-mode-line-string): Use the same help-echo format whether
8805 in detached mode or not, because we know the actual revision now.
8806 When in detached mode, shorten the revision to 7 chars.
8807
7f17cc40
SM
88082013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * emacs-lisp/easy-mmode.el (define-minor-mode):
8811 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8812 mode hook and provide a docstring.
8813
25c8401c
AM
88142013-05-27 Alan Mackenzie <acm@muc.de>
8815
8816 Remove spurious syntax-table text properties inserted by C-y.
8817 * progmodes/cc-mode.el (c-after-change): Also clear hard
8818 syntax-table property with value nil.
8819
dde84790
MA
88202013-05-27 Michael Albinus <michael.albinus@gmx.de>
8821
8822 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8823 when reading the events; the buffer layout shall not be changed.
8824
837fd9af
LL
88252013-05-27 Leo Liu <sdl.web@gmail.com>
8826
8827 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8828 New variable.
8829 (inferior-octave-directory-tracker): Automatically re-sync
8830 default-directory.
8831 (octave-help): Improve handling of 'See also'.
8832
4fd996b3
SM
88332013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8834
416f1802
SM
8835 * doc-view.el: Minor naming convention tweaks.
8836 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8837
4fd996b3
SM
8838 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8839 even if there's no `display' property yet (bug#14435).
8840
a052ef3b
EZ
88412013-05-25 Eli Zaretskii <eliz@gnu.org>
8842
4fd996b3 8843 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8844
8845 * Makefile.in (custom-deps, finder-data, autoloads)
8846 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8847 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8848 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8849
c9023370
SM
88502013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8851
8852 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8853 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8854 Don't burp at EOB.
c9023370 8855
24d699fa
LL
88562013-05-25 Leo Liu <sdl.web@gmail.com>
8857
8858 * comint.el (comint-previous-matching-input): Do not flood the
8859 *Messages* buffer with trivial messages.
8860
17e5c0cc
SM
88612013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * progmodes/flymake.el (flymake-nop): Don't return a string.
8864 (flymake-set-at): Fix typo.
8865
8866 * simple.el (read--expression): New function, extracted from
8867 eval-expression. Set completion-at-point-functions (bug#14465).
8868 (eval-expression, eval-minibuffer): Use it.
8869
5d028165
XF
88702013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8871
8872 * progmodes/flymake.el (flymake-save-buffer-in-file)
8873 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8874 (flymake-selected-frame, flymake-log, flymake-ins-after)
8875 (flymake-set-at, flymake-get-buildfile-from-cache)
8876 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8877 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8878 Refine the doc string.
8879 (flymake-get-file-name-mode-and-masks): Reformat.
8880 (flymake-get-real-file-name-function): Fix a minor bug.
8881
7a1d7ba7
JL
88822013-05-24 Juri Linkov <juri@jurta.org>
8883
8884 * progmodes/grep.el (grep-mode-font-lock-keywords):
8885 Support =linenumber= format used by git-grep for lines with
8886 function names. (Bug#13549)
8887
650cff3d
SM
88882013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8891 0 after a semi-colon; it works better for smie-auto-fill.
8892 (octave--indent-new-comment-line): New function.
8893 (octave-indent-new-comment-line): Use it (indirectly).
8894 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8895 modify comment-line-break-function.
8896
8897 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8898 (smie-setup): Use add-function to set it.
8899
9631677d
SS
89002013-05-24 Sam Steingold <sds@gnu.org>
8901
8902 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8903 argument (before the `interactive' argument).
8904
50105835
SM
89052013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 * image-mode.el (image-mode-winprops): Add winprops to
8908 image-mode-winprops-alist before running
8909 image-mode-new-window-functions.
8910 * doc-view.el (doc-view-new-window-function): Don't delay
8911 doc-view-goto-page via timers (bug#14435).
8912
57b9823e
TH
89132013-05-24 Tassilo Horn <tsdh@gnu.org>
8914
8915 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8916 (doc-view-desktop-save-buffer): New function.
8917 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8918 (desktop-buffer-mode-handlers):
8919 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8920 handler.
8921 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8922 `desktop-save-buffer' function.
8923
91aafa16
MA
89242013-05-24 Michael Albinus <michael.albinus@gmx.de>
8925
8926 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8927 (tramp-gvfs-file-name-handler): Raise a user error when
8928 `tramp-gvfs-enabled' is nil.
8929 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8930 Do not raise a user error when loading package. (Bug#14447)
8931
ec076379
MA
8932 * net/xesam.el: Move to obsolete/.
8933
db785726
GM
89342013-05-24 Glenn Morris <rgm@gnu.org>
8935
af5c7606
GM
8936 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8937
e5d1916a
GM
8938 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8939
ded62b08
GM
8940 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8941 (Info-find-node, Man-getpage-in-background): Declare.
8942
9e614a3f
GM
8943 * mail/unrmail.el (unrmail):
8944 Replace obsolete detect-coding-with-priority.
8945
892f8ca3
GM
8946 * net/socks.el (socks-split-string): Use this rather than split-string.
8947 (socks-nslookup-host): Update for above change.
8948 (dynamic-choice, s5-dynamic-choice-match)
8949 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8950 Comment out unused code.
8951
3c291973
GM
8952 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8953 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8954 (gud-tooltip-echo-area): Make obsolete.
8955 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8956
43cc956b
GM
8957 * progmodes/js.el (js--optimize-arglist): Declare.
8958
dab49a3b
GM
8959 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8960
36b9d085
GM
8961 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8962 (ediff-window-C): Declare.
8963
e354ae76
GM
8964 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8965 Tweak requires to silence compiler.
8966
b8e57bf4
GM
8967 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8968 (he-search-string, he-tried-table, he-expand-list)
8969 (he-init-string, he-string-member, he-substitute-string)
8970 (he-reset-string): Declare.
8971
db785726
GM
8972 * obsolete/options.el (list-options): Use custom-variable-p,
8973 rather than obsolete alias.
8974
b3531901
SS
89752013-05-23 Sam Steingold <sds@gnu.org>
8976
8977 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8978 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8979 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8980
bdda4c66
SM
89812013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8982
8983 * emacs-lisp/smie.el (smie-indent-forward-token)
8984 (smie-indent-backward-token): Handle string tokens (bug#14381).
8985
c43d45f9
TH
89862013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8987
fe1eb856
RS
8988 * ielm.el (ielm-menu): New menu.
8989 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8990
fe1eb856
RS
89912013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8992
8993 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8994 Fix deactivate action.
8995
8996 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8997 Add cleveref macros.
074dd971 8998
c43d45f9
TH
8999 * lisp/textmodes/reftex-parse.el
9000 (reftex-locate-bibliography-files): Accept options for
9001 bibliography commands.
9002 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9003 Add addbibresource. Basic Biblatex support.
9004
7764286e
MA
90052013-05-23 Michael Albinus <michael.albinus@gmx.de>
9006
9007 * net/tramp-gvfs.el (top):
9008 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9009 when loading package. (Bug#14447)
9010
d361bc10
GM
90112013-05-23 Glenn Morris <rgm@gnu.org>
9012
8fa23984
GM
9013 * progmodes/js.el: No need to load comint when compiling.
9014 (ring-insert, comint-send-string, comint-send-input)
9015 (comint-last-input-end, ido-chop): Declare.
9016
a5c7df1a
GM
9017 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9018 * vc/ediff-mult.el: Adjust requires.
9019 (ediff-directories-internal, ediff-directory-revisions-internal)
9020 (ediff-patch-file-internal): Declare.
9021 * vc/ediff-ptch.el: Adjust requires.
9022 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9023 (ediff-find-file): Autoload.
9024 * vc/ediff-util.el: No need to load ediff when compiling.
9025 (ediff-regions-internal): Declare.
9026 * vc/ediff-wind.el: Adjust requires.
9027 (ediff-compute-toolbar-width): Define when compiling.
9028 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9029 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9030 (dired-get-filename, dired-get-marked-files)
9031 (ediff-last-dir-patch, ediff-patch-default-directory)
9032 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9033 (ediff-patch-buffer-internal): Declare.
9034
e2aec513
GM
9035 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9036 (ispell-process, ispell-buffer-local-words, lm-summary)
9037 (lm-section-start, lm-section-end): Declare.
9038 (checkdoc-ispell-init): Simplify.
9039
e68bbd7c
GM
9040 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9041 (he-string-member, he-reset-string, he-substitute-string): Declare.
9042
7efe0991
GM
9043 * eshell/em-ls.el: Adjust requires.
9044 (eshell-glob-regexp): Declare.
f87b1284
GM
9045 * eshell/em-tramp.el: Adjust requires.
9046 (eshell-parse-command): Autoload.
9047 * eshell/em-xtra.el: Adjust requires.
9048 (eshell-parse-command): Autoload.
9049 * eshell/esh-ext.el: Adjust requires.
9050 (eshell-parse-command, eshell-close-handles): Autoload.
9051 * eshell/esh-io.el: Adjust requires.
9052 (eshell-output-filter): Autoload.
9053 * eshell/esh-util.el: No need to load tramp when compiling.
9054 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9055 Declare.
9056 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9057 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9058 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9059 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9060 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9061 * eshell/esh-opt.el, eshell/esh-proc.el:
9062 * eshell/esh-var.el: Adjust requires.
9063 * eshell/eshell.el: Do not require esh-util twice.
9064 (eshell-add-input-to-history): Declare.
9065 (eshell-command): Check history module is active before using it.
9066
d361bc10
GM
9067 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9068
85d090a9
LL
90692013-05-22 Leo Liu <sdl.web@gmail.com>
9070
9071 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9072
5d0acd9d
MA
90732013-05-22 Michael Albinus <michael.albinus@gmx.de>
9074
9075 * autorevert.el (auto-revert-notify-add-watch)
9076 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9077 it indicates changes in file modification time.
9078
0cdffd7d
GM
90792013-05-22 Glenn Morris <rgm@gnu.org>
9080
ca5995ec
GM
9081 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9082 Always delete the autoloaded function from the noruntime and
9083 unresolved functions lists.
9084
6450907e
GM
9085 * allout.el: No need to load epa, epg, overlay when compiling.
9086 (epg-context-set-passphrase-callback, epg-list-keys)
9087 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9088 (epg-key-user-id-list): Declare.
9089
9c6906f6
GM
9090 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9091 (viper-set-parsing-style-toggling-macro)
9092 (viper-set-emacs-state-searchstyle-macros):
9093 Use called-interactively-p on Emacs.
9094 (viper-looking-back): Make it an obsolete alias. Update callers.
9095 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9096 Use looking-back rather than viper-looking-back.
9097 (viper-tmp-insert-at-eob, viper-enlarge-region)
9098 (viper-read-string-with-history, viper-register-to-point)
9099 (viper-append-to-register, viper-change-state-to-vi)
9100 (viper-backward-char-carefully, viper-forward-char-carefully)
9101 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9102 (viper-change-state-to-emacs): Declare.
9103 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9104 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9105 * emulation/viper-mous.el: Do not load viper-cmd.
9106 (viper-backward-char-carefully, viper-forward-char-carefully)
9107 (viper-forward-word, viper-adjust-window): Declare.
9108
5f70c169
GM
9109 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9110
b1b7f300
GM
9111 * progmodes/idlw-help.el (idlwave-help-fontify):
9112 Use called-interactively-p.
9113
f6ebbb46
GM
9114 * term/w32console.el (w32-get-console-codepage)
9115 (w32-get-console-output-codepage): Declare.
9116
0cdffd7d
GM
9117 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9118 Remove unnecessary declarations.
9119 (dframe-message): Doc fix.
9120
9121 * info.el (dframe-select-attached-frame, dframe-current-frame):
9122 Declare.
9123
9124 * speedbar.el (speedbar-message): Make it an obsolete alias.
9125 Update all callers.
9126 (speedbar-with-attached-buffer)
9127 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9128 (speedbar-with-writable): Use backquote.
9129 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9130 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9131 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9132 rather than speedbar- aliases.
9133 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9134 (speedbar-make-specialized-keymap, speedbar-insert-button)
9135 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9136 (speedbar-do-function-pointer): Declare.
9137 (rmail-speedbar-button, rmail-speedbar-find-file)
9138 (rmail-speedbar-move-message):
9139 Use dframe-with-attached-buffer rather than speedbar- alias.
9140 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9141 (dframe-message, speedbar-make-specialized-keymap)
9142 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9143 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9144 (speedbar-insert-button, dframe-select-attached-frame)
9145 (dframe-maybee-jump-to-attached-frame)
9146 (speedbar-change-initial-expansion-list)
9147 (speedbar-previously-used-expansion-list-name): Declare.
9148 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9149 Use dframe-message, dframe-with-attached-buffer rather than
9150 speedbar- aliases.
9151 (gud-sentinel): Silence compiler.
9152 * progmodes/vhdl-mode.el (speedbar-refresh)
9153 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9154 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9155 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9156 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9157 (speedbar-file-lists, speedbar-make-tag-line)
9158 (speedbar-line-directory, speedbar-goto-this-file)
9159 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9160 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9161 (speedbar-make-button, speedbar-reset-scanners)
9162 (speedbar-files-item-info, speedbar-line-text)
9163 (speedbar-find-file-in-frame, speedbar-set-timer)
9164 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9165 (speedbar-with-writable): Do not (re)define it.
9166 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9167 rather than speedbar- alias.
9168
ee44b62a
LL
91692013-05-21 Leo Liu <sdl.web@gmail.com>
9170
9171 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9172 menu items.
9173 (octave-mode): Tweak fill-nobreak-predicate.
9174 (inferior-octave-startup): Check process to avoid infinite loop.
9175 (inferior-octave): Pop to buffer first to show abornmal process
9176 exit information.
9177
640f050f
GM
91782013-05-21 Glenn Morris <rgm@gnu.org>
9179
79458038
GM
9180 * printing.el (pr-menu-bar): Define when compiling.
9181
9cc3e83f
LL
91822013-05-21 Leo Liu <sdl.web@gmail.com>
9183
9184 * progmodes/octave.el (octave-auto-fill): Remove.
9185 (octave-indent-new-comment-line): Improve.
9186 (octave-mode): Use auto fill mode through
4f405069 9187 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9188 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9189 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9190 (octave-help): Show parent directory.
9191
f440830d
GM
91922013-05-21 Glenn Morris <rgm@gnu.org>
9193
9194 * files.el (dired-unmark):
9195 * progmodes/gud.el (gdb-input): Update declarations.
9196
9197 * calculator.el (electric, ehelp): No need to load when compiling.
9198 (Electric-command-loop, electric-describe-mode): Declare.
9199
9200 * doc-view.el (doc-view-current-converter-processes): Move before use.
9201
9202 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9203 Move MODE-set-explicitly definition before use.
9204
9205 * international/mule-diag.el (mule-diag):
9206 Don't use obsolete window-system-version.
9207
9208 * mail/feedmail.el (smtpmail): No need to load when compiling.
9209 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9210
9211 * mail/mail-utils.el (rfc822): No need to load when compiling.
9212 (rfc822-addresses): Autoload it.
9213 (mail-strip-quoted-names): Trivial simplification.
9214
9215 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9216 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9217
9218 * net/snmp-mode.el (tempo): Don't duplicate requires.
9219
9220 * progmodes/prolog.el (info): No need to load when compiling.
9221 (comint): Require before shell requires it.
9222 (Info-goto-node): Autoload it.
9223 (Info-follow-nearest-node): Declare.
9224 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9225
9226 * textmodes/artist.el (picture-mode-exit): Declare.
9227
9228 * textmodes/reftex-parse.el (reftex-parse-from-file):
9229 Trivial rewrite so the compiler can parse it better.
9230
b4da2cbb
LL
92312013-05-20 Leo Liu <sdl.web@gmail.com>
9232
9233 * progmodes/octave.el (octave-help-mode-map)
9234 (octave-help-mode-finish-hook): New variables.
9235 (octave-help-mode, octave-help-mode-finish): New functions.
9236 (octave-help): Use octave-help-mode.
9237
33c0f65b
GM
92382013-05-20 Glenn Morris <rgm@gnu.org>
9239
9240 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9241
1a0a0a8a
DG
92422013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9243
9244 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9245 start at point, so that expansion starting right after opening
9246 slash in a regexp is recognized.
9247 (ruby-syntax-before-regexp-re): New defvar, extracted from
9248 ruby-syntax-propertize-function. Since the value of this regexp
9249 is looked up at runtime now, we should be able to turn
9250 `ruby-syntax-methods-before-regexp' into a defcustom later.
9251 (ruby-syntax-propertize-function): Split regexp matching into two
9252 parts, for opening and closing slashes. That allows us to skip
9253 over string interpolations and support multiline regexps.
9254 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9255 for them, which calls `ruby-syntax-propertize-expansion'.
9256 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9257 call to `ruby-syntax-propertize-function'.
9258 (ruby-syntax-propertize-expansion): Extracted from
9259 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9260 (ruby-syntax-propertize-percent-literal): Leave point right after
9261 the percent symbol, so that the expression expansion rule can
9262 propertize the contents.
462388b6
DG
9263 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9264 heredoc openers.
9265 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9266
c1a6c0a4
JL
92672013-05-18 Juri Linkov <juri@jurta.org>
9268
9269 * man.el (Man-default-man-entry): Remove `-' from the end
9270 of the default value. (Bug#14400)
9271
8051fccd
GM
92722013-05-18 Glenn Morris <rgm@gnu.org>
9273
9274 * comint.el (comint-password-prompt-regexp):
9275 Allow "password for XXX" where XXX contains colons (eg https://...).
9276
5e80b74f
LL
92772013-05-18 Leo Liu <sdl.web@gmail.com>
9278
9279 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9280 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9281 (octave-source-directories): Don't check process.
9282 (octave-source-directories, octave-find-definition): Doc fix.
9283
521a54c5
GM
92842013-05-18 Glenn Morris <rgm@gnu.org>
9285
86a94b05
GM
9286 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9287 Remove backspace/delete bindings. (Bug#14392)
9288
521a54c5
GM
9289 * cus-dep.el (custom-make-dependencies): Sort the output.
9290 (custom-versions-load-alist): Convert comment to doc.
9291
42caeb89
LL
92922013-05-17 Leo Liu <sdl.web@gmail.com>
9293
9294 * newcomment.el (comment-search-backward): Stricter in finding
9295 comment start. (Bug#14303)
9296
9297 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9298 (octave-comment-start-skip): Properly anchored.
9299
e219dd97
LL
93002013-05-17 Leo Liu <sdl.web@gmail.com>
9301
fe1eb856
RS
9302 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9303 Clean up when turned off. (Bug#14395)
e219dd97
LL
9304 (smie--highlight-matching-block-overlay): No longer buffer-local.
9305 (smie-highlight-matching-block): Adjust.
9306
dc5dcb4b
PE
93072013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9308
9309 Doc string fix for "nanoseconds" (Bug#14406).
9310 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9311 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9312
1db165f0
JB
93132013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9314
9315 * calc/calc-units.el (math-extract-units): Preserve powers
9316 of units.
9317
c7a8fcac
LL
93182013-05-17 Leo Liu <sdl.web@gmail.com>
9319
9320 * subr.el (delete-consecutive-dups): New function.
9321 * ido.el (ido-set-matches-1): Use it.
9322 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9323 * ido.el (ido-remove-consecutive-dups): Remove.
9324
f678b18a
SM
93252013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9326
9327 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9328 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9329 regexp-opt's `words'.
9330
ebfe68e8
LL
93312013-05-16 Leo Liu <sdl.web@gmail.com>
9332
9333 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9334 (smie--highlight-matching-block-overlay)
9335 (smie--highlight-matching-block-lastpos)
9336 (smie--highlight-matching-block-timer): New variables.
9337 (smie-highlight-matching-block): New function.
9338 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9339 (smie-setup): Conditionally enable smie-blink-matching-open.
9340
bc8bc17d
WS
93412013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9342
9343 Sync with upstream verilog-mode r840.
9344 * progmodes/verilog-mode.el (verilog-mode-version)
9345 (verilog-mode-release-date): Update.
9346 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9347 (verilog-sig-tieoff): Fix string error on
9348 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9349 (verilog-read-decls): Fix parameters confusing
9350 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9351
df065a0b
EZ
93522013-05-16 Eli Zaretskii <eliz@gnu.org>
9353
9354 * subr.el (reveal-filename): New function.
9355
9356 * loadup.el: Compute Emacs executable versions on MS-Windows,
9357 where executables have the .exe extension. Add a hard link
9358 emacs-XX.YY.ZZ.exe on MS-Windows.
9359
9360 * Makefile.in (XARGS_LIMIT): New variable.
9361 (custom-deps, finder-data, autoloads)
9362 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9363 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9364 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9365 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9366
2d4bf34b
LL
93672013-05-16 Leo Liu <sdl.web@gmail.com>
9368
9369 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9370 (octave-mode-menu, octave-mode-map): Remove its uses.
9371
6b9c2d85
RZ
93722013-05-16 Reto Zimmermann <reto@gnu.org>
9373
9374 Sync with upstream vhdl mode v3.34.2.
9375 * progmodes/vhdl-mode.el: Use `push' throughout.
9376 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9377 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9378 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9379 (vhdl-actual-generic-name): New option to derive actual generic name.
9380 (vhdl-port-paste-signals): Replace formal by actual generics.
9381 (vhdl-beautify): New name for old group vhdl-align. Update users.
9382 (vhdl-beautify-options): New option.
9383 (vhdl-last-input-event): New compat alias. Use throughout.
9384 (vhdl-goto-line): Replace user level function `goto-line'.
9385 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9386 vhdl-fix-statement-buffer.
9387 (vhdl-create-mode-menu): Add some entries.
9388 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9389 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9390 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9391 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9392 to force statements on one line.
9393 (vhdl-remove-trailing-spaces-region):
9394 New, split from vhdl-remove-trailing-spaces.
9395 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9396 Respect vhdl-beautify-options.
9397 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9398 (vhdl-update-sensitivity-list): Not add with index if exists without.
9399 Not include array index with signal. Ignore keywords in comments.
9400 (vhdl-get-visible-signals): Regexp tweaks.
9401 (vhdl-template-component-inst): Handle empty library.
9402 (vhdl-template-type): Add template for 'enum' type.
9403 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9404 Use vhdl-replace-string.
9405 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9406 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9407 (vhdl-speedbar-initialize): Update for above name change.
9408 (vhdl-compose-wire-components): Fix in handling of constants.
9409 (vhdl-error-regexp-emacs-alist): New variable.
9410 (vhdl-error-regexp-add-emacs): New function;
9411 adds support for new compile.el (Emacs 22+)
9412 (vhdl-generate-makefile-1): Change target order for single lib. units.
9413 Allow use of absolute file names.
9414
9df4ec5e
LL
94152013-05-16 Leo Liu <sdl.web@gmail.com>
9416
9417 * simple.el (prog-indent-sexp): Indent enclosing defun.
9418
f5ba00a6
GM
94192013-05-15 Glenn Morris <rgm@gnu.org>
9420
ed8be7ff
GM
9421 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9422 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9423 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9424 (whitespace-highlight): Move to whitespace group.
9425
9426 * comint.el (comint-source):
9427 * pcmpl-linux.el (pcmpl-linux):
9428 * shell.el (shell-faces):
9429 * eshell/esh-opt.el (eshell-opt):
9430 * international/ccl.el (ccl): Remove empty custom groups.
9431
9432 * completion.el (dynamic-completion-mode):
9433 * jit-lock.el (jit-lock-debug-mode):
9434 * minibuffer.el (completion-in-region-mode):
9435 * type-break.el (type-break-mode-line-message-mode)
9436 (type-break-query-mode):
9437 * emulation/tpu-edt.el (tpu-edt-mode):
9438 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9439 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9440 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9441
9442 * term/xterm.el (xterm): Change parent group to terminals.
9443
9444 * master.el (master): Remove empty custom group.
9445 (master-mode): Remove unused :group argument.
9446 * textmodes/refill.el (refill): Remove empty custom group.
9447 (refill-mode): Remove unused :group argument.
9448
9449 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9450
82a7c41b
GM
9451 * cus-dep.el: Provide a feature.
9452 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9453 Don't mistakenly ignore files whose basenames match a basename
9454 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9455 Add a fallback method for getting :group.
f5ba00a6 9456
6d65486d
JL
94572013-05-15 Juri Linkov <juri@jurta.org>
9458
da547b32
JL
9459 * isearch.el (isearch-char-by-name): Rename from
9460 `isearch-insert-char-by-name'. Doc fix.
9461 (isearch-forward): Mention `isearch-char-by-name' in
9462 the docstring. (Bug#13348)
9463
6d65486d
JL
9464 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9465 `exit-minibuffer' instead of
9466 `isearch-nonincremental-exit-minibuffer'.
9467 (isearch-edit-string): Remove mention of
9468 `isearch-nonincremental-exit-minibuffer' from docstring.
9469 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9470 (isearch-forward-exit-minibuffer)
9471 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9472
c9990474
SM
94732013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9474
6e911150
SM
9475 * loadup.el: Just use unversioned DOC.
9476
c9990474
SM
9477 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9478 literals as extending to EOB.
9479 (nxml-last-fontify-end): Remove unused variable.
9480 (nxml-after-change1): Use with-silent-modifications.
9481 (nxml-extend-after-change-region): Simplify.
9482 (nxml-extend-after-change-region1): Remove function.
9483 (nxml-after-change1): Don't adjust for dependent regions.
9484 (nxml-fontify-matcher): Simplify.
9485 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9486 (xmltok-add-dependent): Remove function.
9487 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9488 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9489 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9490 unclosed <[[, <?, comment, and other literals as extending to EOB.
9491 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9492 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9493 Remove functions.
9494 (rng-do-some-validation-1): Don't mark dependent regions.
9495 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9496 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9497 (nxml-clear-dependent-regions): Remove functions.
9498 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9499 (nxml-ensure-scan-up-to-date):
9500 Don't clear&mark dependent regions.
9501
e3772e98
LL
95022013-05-15 Leo Liu <sdl.web@gmail.com>
9503
c9990474
SM
9504 * progmodes/octave.el (octave-goto-function-definition):
9505 Improve and fix callers.
e3772e98 9506
5ac2eb34
SM
95072013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9508
c46c57b0
SM
9509 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9510 the setter (bug#14387).
9511
5ac2eb34
SM
9512 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9513 surrounding group (bug#14402).
9514
180ed218
JL
95152013-05-14 Juri Linkov <juri@jurta.org>
9516
9517 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9518 (Bug#14390)
9519
0ac0fecb
GM
95202013-05-14 Glenn Morris <rgm@gnu.org>
9521
9522 * progmodes/f90.el (f90-imenu-generic-expression):
9523 Fix typo in 2013-05-08 change. (Bug#14402)
9524
2e78e6a7
JPG
95252013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9526
5ac2eb34
SM
9527 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9528 Remove signals for which replies are never received.
2e78e6a7 9529
53267cca
JPG
95302013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9531
9532 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9533 (gdb-handler-alist, gdb-handler-number): Remove variables.
9534 (gdb-handler-list): New variable.
9535 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9536 (gdb-pending-handler-p, gdb-handle-reply)
9537 (gdb-remove-all-pending-triggers): New functions.
9538 (gdb-discard-unordered-replies): New defcustom.
9539 (gdb-handler): New defstruct.
9540 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9541 instead of gdb-pending-triggers. Update docstring.
9542 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9543 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9544 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9545 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9546 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9547 (gdb-frame-handler): Pending triggers are now automatically managed.
9548 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9549 Remove argument.
9550 (gdb-input): Automatically handles pending triggers. Update docstring.
9551 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9552 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9553 Update comments.
9554 (gdb-done-or-error): Now use gdb-handle-reply.
9555
d04ce803
JPG
95562013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9557
9558 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9559 gdb-debug-log.
9560
0114073a
GM
95612013-05-14 Glenn Morris <rgm@gnu.org>
9562
9563 * subr.el (user-emacs-directory-warning): New option.
9564 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9565
4d25fd7e
LL
95662013-05-14 Leo Liu <sdl.web@gmail.com>
9567
9568 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9569 during redisplay.
9570 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9571 (octave-font-lock-texinfo-comment): Fix invalid search bound
9572 error: wrong side of point.
4d25fd7e 9573
27c8b6eb
GM
95742013-05-14 Glenn Morris <rgm@gnu.org>
9575
61aaeb01
GM
9576 * progmodes/flymake.el (flymake-xml-program): New option.
9577 (flymake-xml-init): Use it.
9578
5bf90bc5
GM
9579 * term/xterm.el: Provide a feature.
9580
9581 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9582
f4c7dfd2
GM
95832013-05-13 Glenn Morris <rgm@gnu.org>
9584
9585 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9586 Add compat aliases as a hack workaround. (Bug#14384)
9587
2aeb3a1d
LL
95882013-05-13 Leo Liu <sdl.web@gmail.com>
9589
b0e069c2
LL
9590 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9591 ###, and %!.
f5a9432f
LL
9592 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9593 C-M-q.
b0e069c2
LL
9594 (octave-comment-start-skip): Include %!.
9595 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9596
30ea8374
LL
95972013-05-12 Leo Liu <sdl.web@gmail.com>
9598
9599 * progmodes/octave.el (inferior-octave-startup): Store the value
9600 of __octave_srcdir__ for octave-source-directories.
9601 (inferior-octave-check-process): New function refactored out of
9602 inferior-octave-send-list-and-digest.
9603 (octave-source-directories)
9604 (octave-find-definition-filename-function): New variables.
9605 (octave-source-directories)
9606 (octave-find-definition-default-filename): New functions.
9607 (octave-find-definition): Improve to find functions implemented in C++.
9608
472a3834
GM
96092013-05-12 Glenn Morris <rgm@gnu.org>
9610
9611 * calendar/diary-lib.el (diary-outlook-format-1):
9612 Don't include dayname in the output. (Bug#14349)
9613
3191b52f
GM
96142013-05-11 Glenn Morris <rgm@gnu.org>
9615
0060ac73
GM
9616 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9617
3191b52f
GM
9618 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9619 Treat cc-provide like provide.
9620
e065ba74
KR
96212013-05-11 Kevin Ryde <user42@zip.com.au>
9622
9623 * cus-dep.el (custom-make-dependencies):
9624 Use generated-autoload-load-name for the sake of files such
9625 such cedet/semantic/bovine/c.el, where the base file name
9626 is not in load-path. (Bug#5277)
9627
36f84c37
GM
96282013-05-11 Glenn Morris <rgm@gnu.org>
9629
9630 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9631 Provide features.
9632
c8730c3a
LL
96332013-05-11 Leo Liu <sdl.web@gmail.com>
9634
9635 * progmodes/octave.el (octave-indent-comment): Improve.
9636 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9637 (octave-eldoc-function-signatures, octave-eldoc-function):
9638 New functions.
c8730c3a
LL
9639 (octave-mode, inferior-octave-mode): Add eldoc support.
9640
212e29f2
RS
96412013-05-11 Richard Stallman <rms@gnu.org>
9642
9643 * epa.el (epa-decrypt-file): Take output file name as argument
9644 and read it using `interactive'.
9645
083fe0d7
LL
96462013-05-11 Leo Liu <sdl.web@gmail.com>
9647
9648 * progmodes/octave.el (octave-beginning-of-line)
9649 (octave-end-of-line): Check before using up-list because it jumps
9650 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9651 (octave-indent-comment): New function.
9652 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9653 (octave-begin-keywords, octave-end-keywords)
9654 (octave-reserved-words, octave-smie-bnf-table)
9655 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9656
8582e4c4
GM
96572013-05-11 Glenn Morris <rgm@gnu.org>
9658
f20def1f
GM
9659 * faces.el (internal-face-x-get-resource):
9660 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9661 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9662 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9663 Fix declarations.
f20def1f 9664
445f95e2
GM
9665 * calc/calc-menu.el: Make it loadable in isolation.
9666
9667 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9668 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9669 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9670 (eudc-bbdb-query-internal): Require 'bbdb.
9671
99fb2756
GM
9672 * lpr.el (lpr-headers-switches):
9673 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9674
9675 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9676
0da7ad96
GM
9677 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9678
8582e4c4
GM
9679 * term.el (term-set-escape-char): Make it idempotent.
9680
f71c50d0
LL
96812013-05-10 Leo Liu <sdl.web@gmail.com>
9682
5ac2eb34
SM
9683 * progmodes/octave.el (inferior-octave-completion-table):
9684 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9685 completion due to bug#11906.
9686 (octave-beginning-of-defun): Re-write to be more general.
9687
d5837773
GM
96882013-05-10 Glenn Morris <rgm@gnu.org>
9689
9690 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9691
027c0f75
SM
96922013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9693
9694 * comint.el (comint-redirect-send-command-to-process): Use :around
9695 rather than :override for comint-redirect-filter.
9696 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9697 Call it instead of comint-redirect-original-filter-function (which
9698 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9699
4465bfb4
JD
97002013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9701
9702 * frame.el (display-monitor-attributes-list): Add NS case.
9703 (ns-display-monitor-attributes-list): Declare.
9704
2d809ffa 97052013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9706
9707 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9708
e54eeb9b
GM
97092013-05-09 Glenn Morris <rgm@gnu.org>
9710
56cd351d
GM
9711 * international/fontset.el (vertical-centering-font-regexp):
9712 Set standard-value.
9713
d84b6108
GM
9714 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9715
a931698a
GM
9716 * bookmark.el (bookmark-search-delay):
9717 * cus-start.el (vertical-centering-font-regexp):
9718 * ps-mule.el (ps-mule-font-info-database-default):
9719 * ps-print.el (ps-default-fg, ps-default-bg):
9720 * type-break.el (type-break-good-break-interval):
9721 * whitespace.el (whitespace-indentation-regexp)
9722 (whitespace-space-after-tab-regexp):
9723 * emacs-lisp/testcover.el (testcover-1value-functions)
9724 (testcover-noreturn-functions, testcover-progn-functions)
9725 (testcover-prog1-functions):
9726 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9727 * eshell/em-glob.el (eshell-glob-translate-alist):
9728 * play/tetris.el (tetris-tty-colors):
9729 * progmodes/cpp.el (cpp-face-default-list):
9730 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9731 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9732 (idlwave-help-browser-generic-args):
9733 * progmodes/make-mode.el (makefile-special-targets-list):
9734 * progmodes/python.el (python-shell-virtualenv-path):
9735 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9736 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9737 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9738 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9739 * textmodes/reftex-vars.el (reftex-format-label-function):
9740 * textmodes/remember.el (remember-diary-file): Fix custom types.
9741
e54eeb9b
GM
9742 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9743 Add :version.
9744
455851dd
LL
97452013-05-09 Leo Liu <sdl.web@gmail.com>
9746
9747 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9748 Restore file completion. (Bug#14300)
455851dd
LL
9749 (inferior-octave-startup): Fix incorrect highlighting for the
9750 first prompt.
9751
a9e4425b
SM
97522013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * progmodes/ruby-mode.el: First cut at SMIE support.
9755 (ruby-use-smie): New var.
9756 (ruby-smie-grammar): New constant.
9757 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9758 (ruby-smie--forward-token, ruby-smie--backward-token)
9759 (ruby-smie-rules): New functions.
9760 (ruby-mode-variables): Setup SMIE if applicable.
9761
060ca408
EZ
97622013-05-08 Eli Zaretskii <eliz@gnu.org>
9763
9764 * simple.el (line-move-visual): Signal beginning/end of buffer
9765 only if vertical-motion moved less than it was requested. Avoids
9766 silly incorrect error messages when there are display strings with
9767 multiple newlines at EOL.
9768
1d5963cc
SM
97692013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9772 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9773 (prolog-char-quote-workaround):
9774 * progmodes/cperl-mode.el (cperl-under-as-char):
9775 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9776 Mark as obsolete.
9777 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9778 their declaration.
9779 (vhdl-mode-syntax-table-init): Remove.
9780
c9990474
SM
9781 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9782 last change.
1d5963cc
SM
9783
9784 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9785 syntax for "_".
9786 (ld-script-font-lock-keywords):
9787 Change regexps to use things like \_< and \_>.
9788
9789 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9790 Change all regexps to use things like \_< and \_>.
9791
9792 * progmodes/autoconf.el (autoconf-definition-regexp)
9793 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9794 Handle a _ with symbol syntax.
9795 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9796
c9990474
SM
9797 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9798 Consolidate declaration.
1d5963cc
SM
9799 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9800 the declaration.
9801 (ada-create-syntax-table): Remove.
9802 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9803 already has the right syntax nowadays.
9804 (ada-goto-next-word): Don't change the syntax of "_".
9805
9806 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9807 with-wrapper-hook.
9808
72d3cfca
SS
98092013-05-08 Sam Steingold <sds@gnu.org>
9810
9811 * thingatpt.el (thing-at-point): Accept optional second argument
9812 NO-PROPERTIES to strip the text properties from the return value.
9813 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9814 to `thing-at-point' instead of stripping the properties ourselves.
9815 Also, when `thing-at-point' fails to find a url, prepend "http://"
9816 to the filename at point on the assumption that the user is
9817 pointing at something like gnu.org/gnu.
9818
5cb15713
JB
98192013-05-08 Juanma Barranquero <lekktu@gmail.com>
9820
9821 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9822 * faces.el (crm-separator):
9823 Silence byte-compiler.
9824
9825 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9826 (tool-bar-map): Remove unneeded defvars.
9827
ea78b95b
LL
98282013-05-08 Leo Liu <sdl.web@gmail.com>
9829
9830 Re-work a fix for bug#10994 based on Le Wang's patch.
9831 * ido.el (ido-remove-consecutive-dups): New helper.
9832 (ido-completing-read): Use it.
9833 (ido-chop): Revert fix for bug#10994.
9834
dc7466df
AS
98352013-05-08 Adam Spiers <emacs@adamspiers.org>
9836
9837 * cus-edit.el (custom-save-variables):
9838 Pretty-print long values. (Bug#14187)
9839
9ecf672a
GM
98402013-05-08 Glenn Morris <rgm@gnu.org>
9841
9842 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9843 (m4-mode-syntax-table): Init in the defvar.
9844 (m4-mode-abbrev-table): Let define-derived-mode define it.
9845
3f555be8
TT
98462013-05-08 Tom Tromey <tromey@redhat.com>
9847
9848 * progmodes/m4-mode.el (m4-mode-syntax-table):
9849 Do not treat "_" as word constituent. (Bug#14167)
9850
7cc8ae06
GM
98512013-05-07 Glenn Morris <rgm@gnu.org>
9852
4f58bc06
GM
9853 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9854 Remove explicit eshell-isearch-cancel-map.
9855
7cc8ae06
GM
9856 * progmodes/f90.el (f90-smart-end-names): New option.
9857 (f90-smart-end): Doc fix.
9858 (f90-end-block-optional-name): New constant.
9859 (f90-block-match): Respect f90-smart-end-names.
9860
ceb57e59
SM
98612013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9864 about implicit semi-colons (bug#14218).
9865
4e3f9230
YM
98662013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9867
9868 * frame.el (display-monitor-attributes-list)
9869 (frame-monitor-attributes): New functions.
9870
203a5572
LL
98712013-05-06 Leo Liu <sdl.web@gmail.com>
9872
9873 * progmodes/octave.el (octave-syntax-propertize-function): Change
9874 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9875 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9876 (octave-completion-at-point): Rename from
203a5572
LL
9877 octave-completion-at-point-function.
9878 (inferior-octave-directory-tracker): Robustify.
9879 (octave-text-functions): Remove and fix its uses. No such things
9880 any more.
9881
ee6cff99
SM
98822013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9883
9884 * emacs-lisp/trace.el (trace--display-buffer): New function.
9885 (trace-make-advice): Use it.
9886
32985194
JL
98872013-05-06 Juri Linkov <juri@jurta.org>
9888
9889 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9890 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9891 Doc fix.
9892 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9893 in the help string. (Bug#12985)
9894
a1c700de
KD
98952013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9896
9897 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9898
c67c0839
SM
98992013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9900
323885fd
SM
9901 * progmodes/perl-mode.el: Add support for here documents.
9902 (perl-syntax-propertize-function): Match here-doc markers.
9903 (perl-syntax-propertize-special-constructs): Find their end.
9904 (perl-imenu-generic-expression): Use [:alnum:].
9905
c67c0839
SM
9906 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9907 (advice--add-function): Refresh the advice if already present
9908 (bug#14317).
9909
d491e7a8
IA
99102013-05-06 Ivan Andrus <darthandrus@gmail.com>
9911
9912 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9913
ddf9925e
GM
99142013-05-06 Glenn Morris <rgm@gnu.org>
9915
7cc3af27
GM
9916 * w32-fns.el (w32-charset-info-alist): Declare.
9917
16e343d6
GM
9918 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9919 of its defcustom properties.
9920 (eshell-cmpl-initialize): No need to load pcomplete.
9921
7d889a47
GM
9922 * generic-x.el: No need to require comint when compiling.
9923
ddf9925e
GM
9924 * net/eudc-export.el: Make it loadable without bbdb.
9925 (top-level): Use require rather than load-library.
9926 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9927 (eudc-batch-export-records-to-bbdb)
9928 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9929 Require bbdb.
9930
1e2c18df
SM
99312013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9932
9933 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9934 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9935 some tweaks, instead.
9936
02502a5f
LL
99372013-05-05 Leo Liu <sdl.web@gmail.com>
9938
9939 * progmodes/octave.el (octave-font-lock-keywords)
9940 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9941 (inferior-octave-send-list-and-digest): Improve error message.
9942 (octave-mode, inferior-octave-mode): Use setq-local.
9943 (octave-help): Set info-lookup-mode.
9944
0dc04f42
RS
99452013-05-05 Richard Stallman <rms@gnu.org>
9946
6c54491c
RS
9947 * vc/compare-w.el (compare-windows-whitespace):
9948 Treat no-break space as whitespace.
9949
0dc04f42
RS
9950 * mail/rmailsum.el (rmail-summary-rmail-update):
9951 Detect empty summary and don't change selected message.
9952 (rmail-summary-goto-msg): Likewise.
9953
df8f35df
RS
9954 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9955 Doc fixes, rename args.
9956
5356e1a3
AM
99572013-05-05 Alan Mackenzie <acm@muc.de>
9958
9959 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9960
d44014cb
JL
99612013-05-05 Juri Linkov <juri@jurta.org>
9962
9963 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9964 to not add the length of the summary segment to the return value.
9965 (Bug#14125)
9966
c129b51f
LL
99672013-05-05 Leo Liu <sdl.web@gmail.com>
9968
9969 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9970 (inferior-octave-output-filter): Remove.
9971 (octave-send-region, inferior-octave-startup): Fix callers.
9972 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9973 (octave-binary-file-extensions): New user variable.
9974 (octave-find-definition): Confirm if opening binary files.
9975 (octave-help-file): Use octave-find-definition to get the binary
9976 confirmation.
9977 (octave-help): Adjust for octave-help-file change.
9978
aa7dab97
SM
99792013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9980
9981 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9982 Merge the two entries that handle function definitions.
9983 (pascal--syntax-propertize): New const.
9984 (pascal-mode): Use it. Use setq-local.
9985
fd3a9a6b
GM
99862013-05-04 Glenn Morris <rgm@gnu.org>
9987
9988 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9989 (diary-from-outlook): Respect diary-from-outlook-function.
9990
30c7e542
SM
99912013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9994 Move the declaration from C.
9995 (read-minibuffer, eval-minibuffer): Move from C.
9996 (completion-setup-function): Avoid minibuffer-completion-contents.
9997
b54f978b
LL
99982013-05-03 Leo Liu <sdl.web@gmail.com>
9999
10000 * progmodes/octave.el (octave-font-lock-keywords): Do not
10001 dehighlight 'end' in comments or strings.
30c7e542
SM
10002 (octave-completing-read, octave-goto-function-definition):
10003 New helpers.
d4d0f9b3
LL
10004 (octave-help-buffer): New user variable.
10005 (octave-help-file, octave-help-function): New button types.
10006 (octave-help): New command and bind it to C-h ;.
10007 (octave-find-definition): New command and bind it to M-.
d74a1581 10008 (user-error): Alias to error if not defined.
b54f978b 10009
27135018
LL
100102013-05-02 Leo Liu <sdl.web@gmail.com>
10011
10012 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10013 for \. (bug#14332)
10014 (octave-font-lock-keywords): Include [ and {.
10015
0d634d3a
LL
100162013-05-02 Leo Liu <sdl.web@gmail.com>
10017
10018 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10019 (inferior-octave): Remove calling comint-mode and return the buffer.
10020 (inferior-octave-startup): Cosmetic changes.
10021
b4c8295e
LL
100222013-05-02 Leo Liu <sdl.web@gmail.com>
10023
30c7e542
SM
10024 * progmodes/octave.el (octave-syntax-propertize-function):
10025 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10026
f12ad6ec
GM
100272013-05-02 Glenn Morris <rgm@gnu.org>
10028
10029 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10030 * desktop.el (vc-dir-mode): Just autoload it here.
10031
30cac1e0
AM
100322013-05-02 Alan Mackenzie <acm@muc.de>
10033
10034 Eliminate variable c-standard-font-lock-fontify-region-function.
10035 * progmodes/cc-mode.el
10036 (c-standard-font-lock-fontify-region-function): Remove.
10037 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10038
d8ef28b1
LL
100392013-05-01 Leo Liu <sdl.web@gmail.com>
10040
2640d52e 10041 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10042 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10043 variables were removed from Octave in 2007.
d8ef28b1
LL
10044 (inferior-octave-startup): Fix uses.
10045 (comint-line-beginning-position): Remove compatibility code for
10046 emacs 21.
10047
ac63ec89
JL
100482013-05-01 Juri Linkov <juri@jurta.org>
10049
10050 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10051
9e9be37c
JL
100522013-05-01 Juri Linkov <juri@jurta.org>
10053
10054 * comint.el (comint-previous-matching-input): Don't print message
10055 "History item: %d" when `isearch-mode' is active.
10056 (comint-history-isearch-message): Print message "History item: %d"
10057 when `comint-input-ring-index' is not empty and this function is
10058 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10059
9b92c13b
LL
100602013-05-01 Leo Liu <sdl.web@gmail.com>
10061
10062 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10063 definitions. Use completion-at-point to insert keywords.
10064 (octave-abbrev-start): Remove.
10065 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10066
b12d33d7
LL
100672013-04-30 Leo Liu <sdl.web@gmail.com>
10068
10069 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10070 change.
10071
3d1c39fa
AM
100722013-04-30 Alan Mackenzie <acm@muc.de>
10073
10074 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10075 * progmodes/cc-engine.el (c-back-over-member-initializers):
10076 new function.
3d1c39fa
AM
10077 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10078 (most) member init lists.
10079
5147fc17
RS
100802013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10081
10082 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10083 variable.
10084
5b78d7fc
LL
100852013-04-30 Leo Liu <sdl.web@gmail.com>
10086
10087 * progmodes/octave.el (octave-variables): Remove. No builtin
10088 variables any more. All converted to functions.
10089 (octave-font-lock-keywords, octave-completion-at-point-function):
10090 Fix uses.
10091 (octave-font-lock-texinfo-comment): New user variable.
10092 (octave-texinfo-font-lock-keywords): New variable for texinfo
10093 comment block.
10094 (octave-function-comment-block): New face.
10095 (octave-font-lock-texinfo-comment): New function.
10096 (octave-mode): Font lock texinfo comment block.
10097
38d8527b
LL
100982013-04-29 Leo Liu <sdl.web@gmail.com>
10099
10100 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10101 indexing expression.
10102 (octave-continuation-string): Do not use \.
10103 (inferior-octave-complete-impossible): Remove.
10104 (inferior-octave-completion-table)
10105 (inferior-octave-completion-at-point): Remove its uses.
10106 (inferior-octave-startup): completion_matches was introduced to
10107 Octave in 1996 so safe to assume it.
10108 (octave-function-file-comment): Improve to follow how Octave does it.
10109 (octave-update-function-file-comment): Tweak.
10110
2ec12cb0
LL
101112013-04-29 Leo Liu <sdl.web@gmail.com>
10112
10113 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10114 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10115 (octave-function-file-comment): Fix typo.
10116 (octave-sync-function-file-names): Use read-char-choice.
10117
6eaed048
JB
101182013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10119
10120 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10121 to t for the less important warnings.
10122
3ffa2d4f
DH
101232013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10124
10125 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10126
685c9501
GM
101272013-04-27 Glenn Morris <rgm@gnu.org>
10128
10129 * vc/log-view.el (log-view-current-entry):
10130 Treat "---" separator lines as part of the following rev. (Bug#14169)
10131
0208ede7
JL
101322013-04-27 Juri Linkov <juri@jurta.org>
10133
10134 * subr.el (read-number): Doc fix about using it by interactive
10135 code letter `n'. (Bug#14254)
10136
5db9dace
JL
101372013-04-27 Juri Linkov <juri@jurta.org>
10138
10139 * desktop.el (desktop-auto-save-timeout): New option.
10140 (desktop-file-checksum): New variable.
10141 (desktop-save): Add optional arg `auto-save' and don't auto-save
10142 if nothing changed.
10143 (desktop-auto-save-timer): New variable.
10144 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10145 (after-init-hook): Call `desktop-auto-save-set-timer'.
10146 Suggested by Reuben Thomas <rrt@sc3d.org> in
10147 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10148
b7260dd4
LL
101492013-04-27 Leo Liu <sdl.web@gmail.com>
10150
10151 * progmodes/octave.el (octave-function-file-p)
10152 (octave-skip-comment-forward, octave-function-file-comment)
10153 (octave-update-function-file-comment): New functions.
10154 (octave-mode-map): Bind C-c ; to
10155 octave-update-function-file-comment.
10156 (octave-mode-menu): Add octave-update-function-file-comment.
10157 (octave-mode, inferior-octave-mode): Fix doc-string.
10158 (octave-insert-defun): Conform to Octave's coding convention.
10159 (Bug#14285)
10160
10161 * files.el (basic-save-buffer): Don't let errors in
10162 before-save-hook prevent saving buffer.
10163
c46da669
RW
101642013-04-20 Roland Winkler <winkler@gnu.org>
10165
10166 * faces.el (read-face-name): Use completing-read if arg multiple
10167 is nil.
10168
a81ee1eb
IL
101692013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10170
10171 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10172 displayed, move point to after the totals line.
10173 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10174 for the details.
10175
4fac34ce
SM
101762013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10179 Add current dir to the load-path.
10180 (package-generate-autoloads): Don't rely on
10181 autoload-ensure-default-file.
10182
f6bfc063
RT
101832013-04-26 Reuben Thomas <rrt@sc3d.org>
10184
d40ab5cf
BG
10185 * textmodes/remember.el (remember-store-in-files): Document that
10186 the file name format is passed to `format-time-string'.
f6bfc063 10187
e55d3b04
LL
101882013-04-26 Leo Liu <sdl.web@gmail.com>
10189
10190 * progmodes/octave.el (octave-sync-function-file-names): New function.
10191 (octave-mode): Use it in before-save-hook.
10192
e53052d3
SM
101932013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10194
140ef50c
SM
10195 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10196 (bug#14274).
10197
e53052d3
SM
10198 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10199 \n and comment, even if it's not an implicit ; (bug#14218).
10200
af80458d 102012013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10202
10203 * subr.el (read-number): Once more use `read' rather than
10204 `string-to-number', to trap non-numeric input. (Bug#14254)
10205
af80458d 102062013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10207
10208 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10209 Use `syntax-multiline' text property consistently instead of
8a621d53 10210 `font-lock-multiline'. (Bug#14237)
70203c2e 10211
e6ea1f6c
GM
102122013-04-26 Glenn Morris <rgm@gnu.org>
10213
10214 * emacs-lisp/shadow.el (list-load-path-shadows):
10215 No longer necessary to check for duplicate simple.el, since
10216 2012-07-07 change to init_lread to not include installation lisp
10217 directories in load-path when running uninstalled. (Bug#14270)
10218
070ccca4
LL
102192013-04-26 Leo Liu <sdl.web@gmail.com>
10220
10221 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10222 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10223 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10224 octave-in-string-or-comment-p.
10225 (octave-in-comment-p, octave-in-string-p)
10226 (octave-in-string-or-comment-p): Replace defsubst with defun.
10227
9d1c5fb6
PE
102282013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10229
10230 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10231
c034abda
BG
102322013-04-25 Bastien Guerry <bzg@gnu.org>
10233
10234 * textmodes/remember.el (remember-data-directory)
10235 (remember-directory-file-name-format): Fix custom types.
10236
584ea277
LL
102372013-04-25 Leo Liu <sdl.web@gmail.com>
10238
e53052d3
SM
10239 * progmodes/octave.el (octave-completion-at-point-function):
10240 Make use of inferior octave process.
584ea277
LL
10241 (octave-initialize-completions): Remove.
10242 (inferior-octave-completion-table): New function.
10243 (inferior-octave-completion-at-point): Use it.
10244 (octave-completion-alist): Remove.
10245
1693b06a
SM
102462013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10249 (opascal-mode-syntax-table): New var.
10250 (opascal-literal-kind, opascal-is-literal-end)
10251 (opascal-literal-token-at): Rewrite.
10252 (opascal--literal-start-re, opascal-font-lock-keywords)
10253 (opascal--syntax-propertize): New constants.
10254 (opascal-font-lock-defaults): Adjust.
10255 (opascal-mode): Use them. Set comment-<foo> variables as well.
10256 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10257 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10258 (delphi-other-face, opascal-other-face): Remove face variables.
10259 (opascal-save-state): Remove macro.
10260 (opascal-fontifying-progress-step): Remove constant.
10261 (opascal--ignore-changes): Remove var.
10262 (opascal-set-token-property, opascal-parse-next-literal)
10263 (opascal-is-stable-literal, opascal-complete-literal)
10264 (opascal-is-literal-start, opascal-face-of)
10265 (opascal-parse-region, opascal-parse-region-until-stable)
10266 (opascal-fontify-region, opascal-after-change)
10267 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10268 (opascal-debug-parse-region, opascal-debug-parse-window)
10269 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10270 (opascal-debug-fontify-buffer): Remove.
10271 (opascal-debug-mode-map): Adjust accordingly.
10272
be64c05d
LL
102732013-04-25 Leo Liu <sdl.web@gmail.com>
10274
10275 Merge octave-mod.el and octave-inf.el into octave.el with some
10276 cleanups.
10277 * progmodes/octave.el: New file renamed from octave-mod.el.
10278 * progmodes/octave-inf.el: Merged into octave.el.
10279 * progmodes/octave-mod.el: Renamed to octave.el.
10280
d79d37bd
TH
102812013-04-25 Tassilo Horn <tsdh@gnu.org>
10282
10283 * textmodes/reftex-vars.el
10284 (reftex-label-ignored-macros-and-environments): New defcustom.
10285
10286 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10287
ced3fc5d
SM
102882013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10289
10290 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10291 (smie-indent-keyword): Improve the check to ensure that the next
10292 comment is really on the same line.
10293 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10294
10295 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10296 semi-colons if the line is not otherwise empty (bug#14218).
10297
1c141dad
GM
102982013-04-25 Glenn Morris <rgm@gnu.org>
10299
10300 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10301
5058062a
SM
103022013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * progmodes/opascal.el (opascal-set-token-property): Rename from
10305 opascal-set-text-properties and only set `token' (bug#14134).
10306 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10307 (opascal-literal-text-properties): Remove.
10308 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10309 Adjust callers.
10310
5db9dace 103112013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10312
10313 * textmodes/remember.el (remember-handler-functions): Add an
10314 option for a new handler `remember-store-in-files'.
10315 (remember-data-directory, remember-directory-file-name-format):
10316 New options.
10317 (remember-store-in-files): New function to store remember notes
10318 as separate files within a directory.
10319
4391916c
MH
103202013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10321
10322 * progmodes/compile.el (compilation-next-error-function):
10323 Pass "formats" to compilation-find-file (bug#11777).
10324
bb7cdf58
GM
103252013-04-24 Glenn Morris <rgm@gnu.org>
10326
3b8fe752 10327 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10328 * vc/vc-hg.el (vc-hg-print-log):
10329 * vc/vc-svn.el (vc-svn-print-log):
10330 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10331
bb7cdf58
GM
10332 * vc/vc-bzr.el (vc-bzr-print-log):
10333 * vc/vc-cvs.el (vc-cvs-print-log):
10334 * vc/vc-git.el (vc-git-print-log):
10335 * vc/vc-hg.el (vc-hg-print-log):
10336 * vc/vc-mtn.el (vc-mtn-print-log):
10337 * vc/vc-rcs.el (vc-rcs-print-log):
10338 * vc/vc-sccs.el (vc-sccs-print-log):
10339 * vc/vc-svn.el (vc-svn-print-log):
10340 * vc/vc.el (vc-print-log-internal): Doc fixes.
10341
b46a056e
GM
103422013-04-23 Glenn Morris <rgm@gnu.org>
10343
10344 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10345 Remove venerable code attempting to avoid substitute-command-keys.
10346
0aecf718
TH
103472013-04-23 Tassilo Horn <tsdh@gnu.org>
10348
4391916c
MH
10349 * textmodes/reftex-vars.el (reftex-label-regexps):
10350 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10351
117f94cf
SM
103522013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10353
4391916c 10354 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10355 Use lexical-binding.
10356 (jit-lock-force-redisplay): Use markers, check buffer's continued
10357 existence and beware narrowed buffers.
10358 (jit-lock-fontify-now): Adjust call accordingly.
10359
1d829c64
SM
103602013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10361
10362 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10363 to avoid misleading the user.
10364
72d548a9
LL
103652013-04-22 Leo Liu <sdl.web@gmail.com>
10366
10367 * info-look.el: Prefer latex2e.info. (Bug#14240)
10368
d0853629
MA
103692013-04-22 Michael Albinus <michael.albinus@gmx.de>
10370
10371 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10372
10373 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10374 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10375 (tramp-set-completion-function, tramp-parse-putty):
10376 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10377 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10378 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10379 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10380 (tramp-call-local-coding-command): Use `tramp-call-process'
10381 instead of `tramp-compat-call-process'.
10382
10383 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10384 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10385 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10386 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10387 (tramp-maybe-send-script): Check for Perl binary.
10388 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10389
38cc0210
DU
103902013-04-22 Daiki Ueno <ueno@gnu.org>
10391
10392 * epg.el (epg-context-pinentry-mode): New function.
10393 (epg-context-set-pinentry-mode): New function.
10394 (epg--start): Pass --pinentry-mode option to gpg command.
10395
cc641ee1
XF
103962013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10397
02d844b5 10398 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10399 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10400 `completion-at-point'. (Bug#13774)
5d4e5c31 10401
cc641ee1
XF
10402 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10403 default key binding for `describe-distribution' has been moved to
10404 `C-h C-o'. (Bug#13970)
10405
1b42ee43
GM
104062013-04-21 Glenn Morris <rgm@gnu.org>
10407
10408 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10409 Add doc strings.
10410 (vc-print-log): Clarify interactive prompt.
10411
a6d63d97
GM
104122013-04-20 Glenn Morris <rgm@gnu.org>
10413
10414 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10415 No longer include timestamp etc information.
10416
d7f5c16f
RW
104172013-04-20 Roland Winkler <winkler@gnu.org>
10418
10419 * faces.el (read-face-name): Bug fix, return just one face if arg
10420 multiple is nil. (Bug#14209)
10421
bcd7a0a4
SM
104222013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10423
10424 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10425 (remove-function): Autoload.
10426
10427 * comint.el (comint-redirect-original-filter-function): Remove.
10428 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10429 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10430 (vc-cvs-annotate-command):
bcd7a0a4
SM
10431 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10432 * progmodes/prolog.el (prolog-consult-compile):
10433 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10434 Use add/remove-function instead.
10435 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10436 (gud-tooltip-process-output, gud-tooltip-tips):
10437 Use add/remove-function instead.
10438 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10439 (scheme-interaction-mode, exit-scheme-interaction-mode):
10440 Use add/remove-function instead.
10441
10442 * vc/vc-dispatcher.el: Use lexical-binding.
10443 (vc--process-sentinel): Rename from vc-process-sentinel.
10444 Change last arg to be the code to run. Don't use vc-previous-sentinel
10445 and vc-sentinel-commands any more.
10446 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10447 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10448
e36b2d20 104492013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10450
bcd7a0a4 10451 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10452 Handle function names with a single character. (Bug#14111)
4d3268ba 10453
781b4af6 104542013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10455
10456 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10457 for subroutines defined in an eval (bug#14182).
10458
7d688336
TV
104592013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10460
10461 * bookmark.el (bookmark-completing-read): Improve handling of empty
10462 string (bug#14176).
10463
31dcede0
SM
104642013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10467
adc31213
FEG
104682013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10469
10470 New faster Imenu implementation (bug#14058).
10471 * progmodes/python.el:
10472 (python-imenu-prev-index-position):
10473 (python-imenu-format-item-label-function)
10474 (python-imenu-format-parent-item-label-function)
10475 (python-imenu-format-parent-item-jump-label-function):
10476 New vars.
10477 (python-imenu-format-item-label)
10478 (python-imenu-format-parent-item-label)
10479 (python-imenu-format-parent-item-jump-label)
10480 (python-imenu--put-parent, python-imenu--build-tree)
10481 (python-imenu-create-index, python-imenu-create-flat-index)
10482 (python-util-popn): New functions.
10483 (python-mode): Set imenu-create-index-function to
10484 python-imenu-create-index.
10485
cdca8255
SM
104862013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * winner.el (winner-active-region): Use region-active-p, activate-mark
10489 and deactivate-mark (bug#14225).
10490
10491 * simple.el (deactivate-mark): Don't inline it.
10492
beb42340
MA
104932013-04-18 Michael Albinus <michael.albinus@gmx.de>
10494
10495 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10496
fc7f4d7e
TH
104972013-04-18 Tassilo Horn <tsdh@gnu.org>
10498
10499 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10500 file extensions from the archive-mode entry in order to prefer
10501 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10502
29f47822
LL
105032013-04-18 Leo Liu <sdl.web@gmail.com>
10504
10505 * bindings.el (help-event-list): Add ?\?.
10506
d36ed1c8
SM
105072013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * subr.el (with-wrapper-hook): Declare obsolete.
10510 * simple.el (filter-buffer-substring-function): New hook.
10511 (filter-buffer-substring): Use it.
10512 (filter-buffer-substring-functions): Mark obsolete.
10513 * minibuffer.el (completion-in-region-function): New hook.
10514 (completion-in-region): Use it.
10515 (completion-in-region-functions): Mark obsolete.
10516 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10517 * abbrev.el (abbrev-expand-function): New hook.
10518 (expand-abbrev): Use it.
10519 (abbrev-expand-functions): Mark obsolete.
10520 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10521 and :filter-return.
10522
04754d36
FEG
105232013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10524
10525 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10526 and do not care about match data.
10527
dd8791e9
SM
105282013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10529
10530 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10531 completion tables when completing error conditions and
10532 `declare' arguments.
10533 (lisp-complete-symbol, field-complete): Mark as obsolete.
10534 (check-parens): Unmatched parens are user errors.
10535 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10536
ffe54a13
AM
105372013-04-17 Michal Nazarewicz <mina86@mina86.com>
10538
dd8791e9
SM
10539 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10540 command changed buffer (ie. `flyspell-pre-buffer' is not current
10541 buffer), which prevents making decisions based on invalid value of
10542 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10543 cause an error when `flyspell-pre-point' was nil after switching
10544 buffers.
10545 (flyspell-post-command-hook): No longer needs to change buffers when
10546 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10547
ec7e39f2
AM
105482013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10549
10550 * textmodes/ispell.el (ispell-add-per-file-word-list):
10551 Fix `flyspell-correct-word-before-point' error when accepting
10552 words and `coment-padding' is an integer by using
10553 `comment-normalize-vars' (Bug #14214).
10554
083850a6
FEG
105552013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10556
10557 New defun movement commands.
10558 * progmodes/python.el (python-nav--syntactically)
10559 (python-nav--forward-defun, python-nav-backward-defun)
10560 (python-nav-forward-defun): New functions.
10561
619ed6e1
FEG
105622013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10563
10564 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10565 (python-syntax-context): Use named compiler-macro for backwards
10566 compatibility with Emacs 24.x.
10567
7a1beb6c
LL
105682013-04-17 Leo Liu <sdl.web@gmail.com>
10569
10570 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10571 octave-hide-process-buffer.
10572
2d3fa3e5
SM
105732013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10574
10575 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10576 (bug#14216).
10577
7ce5be54
JPG
105782013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10579
10580 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10581 Fix adjustment of offset when receiving incomplete responses from GDB
10582 (bug#14129).
10583
351edece
SM
105842013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10585
10586 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10587 python-mode-abbrev-table.
10588 (python-skeleton-define): Adjust accordingly.
10589 (python-mode-abbrev-table): New table that inherits from it so that
10590 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10591
10592 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10593 (abbrev-symbol): Use it.
10594 (abbrev--before-point): Use it since we already handle inheritance.
10595
613f9481
LL
105962013-04-16 Leo Liu <sdl.web@gmail.com>
10597
10598 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10599 binding to info-lookup-symbol.
10600
51646b62
JB
106012013-04-16 Juanma Barranquero <lekktu@gmail.com>
10602
10603 * minibuffer.el (completion--twq-all):
10604 * term/ns-win.el (ns-initialize-window-system):
10605 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10606
efb3f01d
SM
106072013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10608
36c0a301
SM
10609 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10610 global bindings.
10611
efb3f01d
SM
10612 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10613
fb549d64
DG
106142013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10615
10616 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10617 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10618 to nil.
10619 (ruby-end-of-defun): Remove the unused arg, change the docstring
10620 to reflect that this function is only used as the value of
10621 `end-of-defun-function'.
10622 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10623 to reflect an earlier change that beginning/end-of-defun functions
10624 jump between methods in a class definition, as well as top-level
10625 functions.
10626
21e8fe2f
SM
106272013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10628
10629 * minibuffer.el (minibuffer-complete): Don't just scroll
10630 a *Completions* that's been iconified.
10631 (minibuffer-force-complete): Make sure repetitions do cycle when going
10632 through completion-in-region -> minibuffer-complete.
10633
20e527d0
AM
106342013-04-15 Alan Mackenzie <acm@muc.de>
10635
10636 Correct the placement of c-cpp-delimiters when there're #s not at
10637 col 0.
10638
10639 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10640 place a submatch around the #.
21e8fe2f
SM
10641 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10642 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10643 on the #, not BOL.
10644
dabefae5
SM
106452013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10646
10647 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10648 (advice--member-p): New arg `name'.
10649 (advice--add-function, advice-member-p): Use it (bug#14202).
10650
85c9ab64
AM
106512013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10652
10653 Reformulate java imenu-generic-expression.
10654 The old expression contained ill formed regexps.
10655
10656 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10657 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10658 (cc-imenu-java-method-arg-regexp): New defconsts.
10659 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10660 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10661 handling of spaces in the regexp.
10662
0f821d99
AM
106632013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10664
10665 * textmodes/ispell.el (ispell-command-loop): Remove
10666 flyspell highlight of a word when ispell accepts it (bug #14178).
10667
eb922adf
MA
106682013-04-15 Michael Albinus <michael.albinus@gmx.de>
10669
10670 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10671 uses code from the previous `ange-ftp-run-real-handler'.
10672 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10673 only in case that function exist. This is needed for proper
10674 unloading of Tramp.
10675
4d9a0979
TH
106762013-04-15 Tassilo Horn <tsdh@gnu.org>
10677
10678 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10679
10680 * textmodes/reftex.el (reftex-compile-variables): Use it.
10681
a829b0dc
SM
106822013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10683
91e8293c
SM
10684 * files.el (normal-mode): Only use default major-mode if no other mode
10685 was specified.
10686
830aed4d
SM
10687 * emacs-lisp/trace.el (trace-values): New function.
10688
a829b0dc
SM
10689 * files.el: Allow : in local variables (bug#14089).
10690 (hack-local-variable-regexp): New var.
10691 (hack-local-variables-prop-line, hack-local-variables): Use it.
10692
7ae9f0fb
RW
106932013-04-13 Roland Winkler <winkler@gnu.org>
10694
10695 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10696 data before it gets modified by bibtex-beginning-of-entry.
10697
6646e848
RW
106982013-04-13 Roland Winkler <winkler@gnu.org>
10699
10700 * textmodes/bibtex.el (bibtex-url): Doc fix.
10701
107022013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10703
10704 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10705 does not visit a BibTeX file, exclude it from the list of buffers
10706 returned by bibtex-initialize.
10707
0aa3616e
SB
107082013-04-13 Stephen Berman <stephen.berman@gmx.net>
10709
10710 * window.el (split-window): Remove interactive form, since as a
10711 command this function is a special case of split-window-below.
10712 Correct doc string.
10713
011cddd6
RW
107142013-04-12 Roland Winkler <winkler@gnu.org>
10715
10716 * faces.el (read-face-name): Do not override value of arg default.
10717 Allow single faces and strings as default values. Remove those
10718 elements from return value that are not faces.
10719 (describe-face): Simplify.
10720 (face-at-point): New optional args thing and multiple so that this
10721 function can provide the same functionality previously provided by
10722 read-face-name.
10723 (make-face-bold, make-face-unbold, make-face-italic)
10724 (make-face-unitalic, make-face-bold-italic, invert-face)
10725 (modify-face, read-face-and-attribute): Use face-at-point.
10726
10727 * cus-edit.el (customize-face, customize-face-other-window)
10728 * cus-theme.el (custom-theme-add-face)
10729 * face-remap.el (buffer-face-set)
10730 * facemenu.el (facemenu-set-face): Use face-at-point.
10731
f24e0036
MA
107322013-04-12 Michael Albinus <michael.albinus@gmx.de>
10733
10734 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10735
da3cda2d
TH
107362013-04-10 Tassilo Horn <tsdh@gnu.org>
10737
10738 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10739 off leading { and trailing } from field values.
10740
15e54145
SM
107412013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10742
78ce603d
SM
10743 * emacs-lisp/timer.el (timer--check): New function.
10744 (timer--time, timer-set-function, timer-event-handler): Use it.
10745 (timer-set-idle-time): Simplify.
10746 (timer--activate): CSE.
10747 (timer-event-handler): Give more info in error message.
10748 (internal-timer-start-idle): New function, moved from C.
10749
15e54145
SM
10750 * mpc.el (mpc-proc): Add `restart' argument.
10751 (mpc-proc-cmd): Use it.
10752 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10753 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10754 less often.
10755
7144c627
MY
107562013-04-10 Masatake YAMATO <yamato@redhat.com>
10757
10758 * progmodes/sh-script.el: Implement `sh-mode' own
10759 `add-log-current-defun-function' (bug#14112).
10760 (sh-current-defun-name): New function.
10761 (sh-mode): Use the function.
10762
b39792eb
BG
107632013-04-09 Bastien Guerry <bzg@gnu.org>
10764
10765 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10766
8acdeb71
SM
107672013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10768
6fcdab68
SM
10769 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10770
8acdeb71
SM
10771 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10772 timer (bug#14156).
10773
e3e7b504
NF
107742013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10775
10776 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10777 declaration.
10778
201bb296
LL
107792013-04-07 Leo Liu <sdl.web@gmail.com>
10780
10781 * pcmpl-x.el: New file.
10782
ebb19708
DA
107832013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10784
10785 Do not set x-display-name until X connection is established.
10786 This is needed to prevent from weird situation described at
10787 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10788 * frame.el (make-frame): Set x-display-name after call to
10789 window system initialization function, not before.
10790 * term/x-win.el (x-initialize-window-system): Add optional
10791 display argument and use it.
10792 * term/w32-win.el (w32-initialize-window-system):
10793 * term/ns-win.el (ns-initialize-window-system):
10794 * term/pc-win.el (msdos-initialize-window-system):
10795 Add compatible optional display argument.
10796
33bb237a
EZ
107972013-04-06 Eli Zaretskii <eliz@gnu.org>
10798
10799 * files.el (normal-backup-enable-predicate): On MS-Windows and
10800 MS-DOS compare truenames of temporary-file-directory and of the
10801 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10802 don't fail comparison by compare-strings. Also, compare file
10803 names case-insensitively on MS-Windows and MS-DOS.
10804
134abf1f
SM
108052013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10806
10807 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10808 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10809
d695cb94
DG
108102013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10811
e3e7b504
NF
10812 * whitespace.el (whitespace-color-on, whitespace-color-off):
10813 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10814
f4ad7ea1 108152013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10816
10817 * ispell.el (ispell-set-spellchecker-params):
10818 Really set `ispell-args' for all equivs.
10819
632556e4
SM
108202013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10821
10822 * ido.el (ido-completions): Use extra elements of ido-decorations
10823 (bug#14143).
10824 (ido-decorations): Update docstring.
10825
2a417372
MA
108262013-04-05 Michael Albinus <michael.albinus@gmx.de>
10827
10828 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10829 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10830 nil during initialization, in order not to miss changes since the
10831 file was opened. (Bug#14140)
10832
fc164b0c
LL
108332013-04-05 Leo Liu <sdl.web@gmail.com>
10834
10835 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10836
0ccecc08
JB
108372013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10838
10839 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10840
51af1aa2
GM
108412013-04-04 Glenn Morris <rgm@gnu.org>
10842
10843 * electric.el (electric-pair-inhibit-predicate): Add :version.
10844
b208ebc6
SM
108452013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10848 when a package is required several times (bug#14082).
10849
f3d3eaf0
RW
108502013-04-04 Roland Winkler <winkler@gnu.org>
10851
10852 * faces.el (read-face-name): Behave as promised by the docstring.
10853 Assume that arg default is a list of faces.
10854 (describe-face): Call read-face-name with list of default faces.
10855
2575da50
TV
108562013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10857
10858 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10859 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10860 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10861 the header.
10862 (bookmark-exit-hook-internal): Save even if list is empty.
10863
397703b4
YH
108642013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10865
10866 * emacs-lisp/package.el (package-pinned-packages): New var.
10867 (package--add-to-archive-contents): Obey it (bug#14118).
10868
691e26ae
AM
108692013-04-03 Alan Mackenzie <acm@muc.de>
10870
8a621d53
JB
10871 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10872 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10873
10874 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10875 parameter `not-in-delimiter'. Handle being inside comment opener.
10876 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10877 character in case we're typing a '*' after a '/'.
10878 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10879 instead by passing the parameter to c-state-pp-to-literal.
10880
10881 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10882 for elt. 7 of a parse state.
10883
4b725a70
PE
108842013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10885
10886 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10887 * international/latin1-disp.el, international/mule-util.el:
10888 * language/cyril-util.el, language/european.el, language/ind-util.el:
10889 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10890 * language/tibetan.el, language/viet-util.el:
10891 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10892
15c579f0
SM
108932013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10896 (electric-pair-post-self-insert-function): Use it.
10897 (electric-pair-default-inhibit): New function, extracted from
10898 electric-pair-post-self-insert-function.
10899
a77e2924
RW
109002013-03-31 Roland Winkler <winkler@gnu.org>
10901
10902 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10903
2bd8a4a8
SM
109042013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10907
8d3655be 109082013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10909
10910 Un-indent after "pass" and "return" statements (Bug#13888)
10911 * progmodes/python.el (python-indent-block-enders): New var.
10912 (python-indent-calculate-indentation): Use it.
10913
8d3655be 109142013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10915
10916 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10917 defun. Defining it as defalias could introduce too eager
10918 byte-compiler optimization. (Bug#14030)
10919
8d3655be 109202013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10921
10922 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10923
0b1619da
LL
109242013-03-30 Leo Liu <sdl.web@gmail.com>
10925
10926 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10927 (kmacro-execute-from-register): Pass the keyboard macro to
10928 kmacro-call-macro or repeating won't work correctly.
10929
0b938190
TZ
109302013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10931
10932 * progmodes/subword.el: Back to using `forward-symbol'.
10933
10934 * subr.el (forward-whitespace, forward-symbol)
10935 (forward-same-syntax): Move from thingatpt.el.
10936
35710234
LL
109372013-03-29 Leo Liu <sdl.web@gmail.com>
10938
10939 * kmacro.el (kmacro-to-register): New command.
10940 (kmacro-execute-from-register): New function.
10941 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10942
efc0bb73
SM
109432013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 * mpc.el: Use defvar-local and setq-local.
10946 (mpc--proc-connect): Connection failures are not bugs.
10947 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10948 (mpc-volume-map): Bind to the up-events.
10949
75a2f981
TZ
109502013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10951
10952 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10953 instead of `forward-symbol'.
10954
17c781d1
SM
109552013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10958 (edebug--recursive-edit): Use it.
10959 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10960 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10961
f67bfbcf
LL
109622013-03-28 Leo Liu <sdl.web@gmail.com>
10963
10964 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10965
b59f639d
EZ
109662013-03-27 Eli Zaretskii <eliz@gnu.org>
10967
10968 * facemenu.el (list-colors-callback): New defvar.
10969 (list-colors-redisplay): New function.
10970 (list-colors-display): Install list-colors-redisplay as the
10971 revert-buffer-function. (Bug#14063)
10972
f557c1b1
SM
109732013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10974
b1da2957
SM
10975 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10976 and suffixes don't overlap (bug#14061).
10977
f557c1b1
SM
10978 * case-table.el: Use lexical-binding.
10979 (case-table-get-table): New function.
10980 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10981
002668e1
TZ
109822013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10983
10984 * progmodes/subword.el: Add `superword-mode' to do word motion
10985 over symbol_words (parallels and leverages `subword-mode' which
10986 does word motion inside MixedCaseWords).
10987
73572c72
AG
109882013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10989
78b8f320 10990 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10991 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10992
69b2c07e
SM
109932013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10994
10995 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10996 Change return value to be a sexp. Delay `get-buffer' to after
10997 restoring the desktop (bug#13951).
10998
08bb5ee2
LL
109992013-03-26 Leo Liu <sdl.web@gmail.com>
11000
11001 * register.el: Move semantic tag handling back to
11002 cedet/semantic/senator.el. (Bug#14052)
11003
8d4c974e
SM
110042013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11005
11006 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11007 into the prompt either (bug#13963).
11008
b234d92c
SM
110092013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11012 part of "(error-foo)".
11013
ddfa3cb4
JL
110142013-03-24 Juri Linkov <juri@jurta.org>
11015
11016 * replace.el (list-matching-lines-prefix-face): New defcustom.
11017 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11018 `occur-engine' if `face-differs-from-default-p' returns t.
11019 (occur-engine): Add `,' inside backquote construct to evaluate
11020 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11021 Pass `prefix-face' to the functions `occur-context-lines' and
11022 `occur-engine-add-prefix'.
11023 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11024 `prefix-face' and propertize the prefix with `prefix-face'.
11025 (Bug#14017)
11026
7b0e2f85
LL
110272013-03-24 Leo Liu <sdl.web@gmail.com>
11028
11029 * nxml/rng-valid.el (rng-validate-while-idle)
11030 (rng-validate-quick-while-idle): Guard against deleted buffer.
11031 (Bug#13999)
11032
11033 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11034 is the last entry in kill-buffer-hook.
11035
11036 * files.el (kill-buffer-hook): Doc fix.
11037
b3082f49
DG
110382013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11039
b234d92c
SM
11040 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11041 Make it safe-local.
bde73d27 11042
b3082f49
DG
11043 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11044
a320a2db
LL
110452013-03-23 Leo Liu <sdl.web@gmail.com>
11046
7e74b0fb
LL
11047 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11048 Remove.
11049
11050 * nxml/rng-valid.el (rng-validate-mode)
11051 (rng-after-change-function, rng-do-some-validation):
11052 * nxml/rng-maint.el (rng-validate-buffer):
11053 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11054 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11055 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11056 (nxml-extend-after-change-region): Use with-silent-modifications.
11057
a320a2db
LL
11058 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11059 timer-idle-list.
11060
11061 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11062 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11063 timer-idle-list. (Bug#13999)
11064
e38e6780
JL
110652013-03-23 Juri Linkov <juri@jurta.org>
11066
11067 * info.el (info-index-match): New face.
11068 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11069 main pattern and add text properties with the new face to matches
11070 in index entries relative to the beginning of the index entry.
11071 (Bug#14015)
11072
e8cc7880
DE
110732013-03-21 Eric Ludlam <zappo@gnu.org>
11074
11075 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11076 Inhibit read only while inserting objects.
11077
9bb0d822
TZ
110782013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11079
11080 * progmodes/cfengine.el: Update docs to mention
11081 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11082 symbol motion. Remove "_" from the word syntax.
11083
aa703640
TZ
110842013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11085
11086 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11087 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11088
afff09d0
JL
110892013-03-20 Juri Linkov <juri@jurta.org>
11090
11091 * info.el (Info-next-reference-or-link)
11092 (Info-prev-reference-or-link): New functions.
11093 (Info-next-reference, Info-prev-reference): Use them.
11094 (Info-try-follow-nearest-node): Handle footnote navigation.
11095 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11096
9a1ff164
SM
110972013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11098
11099 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11100 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11101
2667d15d
PE
111022013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11103
11104 Suppress unnecessary non-ASCII chatter during build process.
11105 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11106 (batch-skkdic-convert): Suppress most of the chatter.
11107 It's not needed so much now that machines are faster,
11108 and its non-ASCII component was confusing; see Dmitry Gutov in
11109 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11110
438b0579
LL
111112013-03-20 Leo Liu <sdl.web@gmail.com>
11112
11113 * ido.el (ido-chop): Fix bug#10994.
11114
c128ab07
DG
111152013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11116
11117 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11118 Remove vars.
9a1ff164
SM
11119 (whitespace-color-on, whitespace-color-off):
11120 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11121
0e6008c5
SM
111222013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11123
11124 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11125 remapping in mode-line.
11126 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11127
627b52b0
DG
111282013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11129
11130 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11131 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11132 (whitespace-font-lock-keywords): Change description.
11133 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11134 the constructed keywords instead.
11135 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11136
50c3a20b
LL
111372013-03-19 Leo Liu <sdl.web@gmail.com>
11138
11139 * progmodes/compile.el (compilation-display-error): New command.
11140 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11141 C-o. (Bug#13992)
11142
2aa2157b
PE
111432013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11144
11145 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11146
e477dbfa
JD
111472013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11148
11149 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11150
64ab82d1
MA
111512013-03-18 Michael Albinus <michael.albinus@gmx.de>
11152
11153 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11154
11155 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11156 * net/tramp-gvfs.el (top):
11157 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11158 (tramp-handle-shell-command): Use it.
11159 (tramp-dissect-file-name): Raise an error when hostname is a
11160 method name, and neither method nor user is specified.
11161
11162 * net/trampver.el: Update release number.
11163
33cef733
LL
111642013-03-18 Leo Liu <sdl.web@gmail.com>
11165
11166 Make sure eldoc can be turned off properly.
11167 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11168 eldoc-mode.
11169 (eldoc-display-message-p): Revert last change.
11170 (eldoc-display-message-no-interference-p)
11171 (eldoc-print-current-symbol-info): Tweak.
11172
2167b7b2
TH
111732013-03-18 Tassilo Horn <tsdh@gnu.org>
11174
11175 * doc-view.el (doc-view-new-window-function): Check the new window
11176 overlay's display property instead the char property of the
11177 buffer's first char. Use `with-selected-window' instead of
11178 `save-window-excursion' with `select-window'.
11179 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11180 display property instead the char property of the buffer's first char.
2167b7b2 11181
982efbcd
PE
111822013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11183
11184 Automate the build of ja-dic.el (Bug#13984).
11185 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11186 from the input, rather than assume that it's been done for us by the
11187 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11188 the current date into a ja-dic.el comment, as that complicates
11189 regression testing.
11190
2fcc7665
SM
111912013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11192
11193 * whitespace.el: Fix double evaluation.
11194 (whitespace-space, whitespace-hspace, whitespace-tab)
11195 (whitespace-newline, whitespace-trailing, whitespace-line)
11196 (whitespace-space-before-tab, whitespace-indentation)
11197 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11198 obsolete defvars.
11199 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11200 (whitespace-color-on): Use a single font-lock-add-keywords call.
11201 Fix double-evaluation of face variables.
11202
67c0a6e6
MA
112032013-03-17 Michael Albinus <michael.albinus@gmx.de>
11204
2fcc7665
SM
11205 * net/tramp-adb.el (tramp-adb-parse-device-names):
11206 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11207 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11208
69489f1d
LL
112092013-03-17 Leo Liu <sdl.web@gmail.com>
11210
11211 Extend eldoc to display info in the mode-line. (Bug#13978)
11212 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11213 (eldoc-mode-line-string): New variable.
11214 (eldoc-minibuffer-message): New function.
11215 (eldoc-message-function): New variable.
11216 (eldoc-message): Use it.
11217 (eldoc-display-message-p)
2fcc7665
SM
11218 (eldoc-display-message-no-interference-p):
11219 Support eldoc-post-insert-mode.
69489f1d
LL
11220
11221 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11222 (eval-expression): Run it.
11223
9c44569e
RW
112242013-03-17 Roland Winkler <winkler@gnu.org>
11225
11226 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11227 strings in the list of return values.
11228
327f1f6f
JB
112292013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11230
11231 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11232 radix before checking for HMS forms.
11233
67ed8fcd
LL
112342013-03-16 Leo Liu <sdl.web@gmail.com>
11235
11236 * progmodes/scheme.el: Add indentation and font-locking for λ.
11237 (Bug#13975)
11238
78be8b64 112392013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11240
11241 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11242 token before point (bug#13942).
11243
78be8b64 112442013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11245
95b43468 11246 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11247
98e775e6
EZ
112482013-03-16 Eli Zaretskii <eliz@gnu.org>
11249
11250 * startup.el (command-line-normalize-file-name): Fix handling of
11251 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11252 <xfq.free@gmail.com> in
11253 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11254
2edd6029
MA
112552013-03-15 Michael Albinus <michael.albinus@gmx.de>
11256
11257 Sync with Tramp 2.2.7.
11258
11259 * net/trampver.el: Update release number.
11260
d35f5864
TH
112612013-03-14 Tassilo Horn <tsdh@gnu.org>
11262
e903c210 11263 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11264 (doc-view-insert-image): Don't modify overlay associated to
11265 non-live windows, and implement horizontal centering of image in
11266 case it's smaller than the window.
11267 (doc-view-new-window-function): Force redisplay of new windows on
11268 doc-view buffers.
d35f5864 11269
1c4a85ed
KF
112702013-03-13 Karl Fogel <kfogel@red-bean.com>
11271
11272 * saveplace.el (save-place-alist-to-file): Don't sort
11273 `save-place-alist', just pretty-print it (bug#13882).
11274
85b66a21
MA
112752013-03-13 Michael Albinus <michael.albinus@gmx.de>
11276
a020afb9
JB
11277 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11278 Check whether `default-file-name-coding-system' is bound.
11279 It isn't in XEmacs.
85b66a21 11280
175600da
SM
112812013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11282
e7f7cb1a
SM
11283 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11284 backquotes for `obsolete' (bug#13929).
11285
175600da
SM
11286 * international/mule.el (find-auto-coding): Include file name in
11287 obsolescence warning (bug#13922).
11288
ca68a22e
TZ
112892013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11290
11291 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11292 for CFEngine 3-specific indentation.
11293 (cfengine3-indent-line): Use it. Fix up category regex.
11294 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11295
940e5099
SM
112962013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11297
11298 * type-break.el (type-break-file-name):
11299 * textmodes/remember.el (remember-data-file):
11300 * strokes.el (strokes-file):
11301 * shadowfile.el (shadow-initialize):
11302 * saveplace.el (save-place-file):
11303 * ps-bdf.el (bdf-cache-file):
11304 * progmodes/idlwave.el (idlwave-config-directory):
11305 * net/quickurl.el (quickurl-url-file):
11306 * international/kkc.el (kkc-init-file-name):
11307 * ido.el (ido-save-directory-list-file):
11308 * emulation/viper.el (viper-custom-file-name):
11309 * emulation/vip.el (vip-startup-file):
11310 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11311 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11312
cc725808
PE
113132013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11314
11315 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11316 * language/thai-word.el: Switch to UTF-8.
11317
a020afb9 11318See ChangeLog.16 for earlier changes.
e3d51b27
MR
11319
11320;; Local Variables:
11321;; coding: utf-8
e3d51b27
MR
11322;; End:
11323
ab422c4d 11324 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11325
11326 This file is part of GNU Emacs.
11327
11328 GNU Emacs is free software: you can redistribute it and/or modify
11329 it under the terms of the GNU General Public License as published by
11330 the Free Software Foundation, either version 3 of the License, or
11331 (at your option) any later version.
11332
11333 GNU Emacs is distributed in the hope that it will be useful,
11334 but WITHOUT ANY WARRANTY; without even the implied warranty of
11335 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11336 GNU General Public License for more details.
11337
11338 You should have received a copy of the GNU General Public License
11339 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.